Skip to content

Commit

Permalink
Rp saa s master (#3687)
Browse files Browse the repository at this point in the history
* fixing case

* using generic systemData

Co-authored-by: Ajay Sainy <ajsainy@microsoft.com>
  • Loading branch information
ajay-sainy and Ajay Sainy authored May 1, 2021
1 parent 6fe5d77 commit bd753ce
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
"id": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"name": "stresstest1",
"type": "Microsoft.ProviderHubDevTest/stressTests",
"location": "East US",
"tags": {},
"properties": {
"firstName": "FirstName",
"lastName": "lastName"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
"id": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"name": "stresstest1",
"type": "Microsoft.ProviderHubDevTest/stressTests",
"location": "East US",
"tags": {},
"properties": {
"firstName": "FirstName",
"lastName": "lastName"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
"id": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"name": "stresstest1",
"type": "Microsoft.ProviderHubDevTest/stressTests",
"location": "East US",
"tags": {},
"properties": {
"firstName": "FirstName",
"lastName": "lastName"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
"id": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"name": "stresstest1",
"type": "Microsoft.ProviderHubDevTest/stressTests",
"location": "East US",
"tags": {},
"properties": {
"firstName": "FirstName",
"lastName": "lastName"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"properties": {
"firstName": "firstname",
"lastName": "lastname"
},
"location": "eastus"
}
}
},
"responses": {
Expand All @@ -18,8 +17,6 @@
"id": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"name": "stresstest1",
"type": "Microsoft.ProviderHubDevTest/stressTests",
"location": "East US",
"tags": {},
"properties": {
"firstName": "FirstName",
"lastName": "lastName"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@
"description": "An Azure resource.",
"properties": {
"systemData": {
"$ref": "#/definitions/SystemData",
"readOnly": true,
"description": "Read only system data"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
"readOnly": true,
"description": "Read only system data"
},
"id": {
"description": "Azure resource Id.",
Expand Down Expand Up @@ -463,53 +463,7 @@
"readOnly": true
}
}
},
"SystemData": {
"description": "Read only system data",
"type": "object",
"readOnly": true,
"properties": {
"createdBy": {
"type": "string",
"description": "An identifier for the identity that created the resource"
},
"createdByType": {
"$ref": "#/definitions/IdentityType",
"description": "The type of identity that created the resource"
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp of resource creation (UTC)"
},
"lastModifiedBy": {
"type": "string",
"description": "An identifier for the identity that last modified the resource"
},
"lastModifiedByType": {
"$ref": "#/definitions/IdentityType",
"description": "The type of identity that last modified the resource"
},
"lastModifiedAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp of resource last modification (UTC)"
}
}},
"IdentityType": {
"description": "The type of identity that creates/modifies resources",
"type": "string",
"enum": [
"User",
"Application",
"ManagedIdentity",
"Key"
],
"x-ms-enum": {
"name": "IdentityType",
"modelAsString": true
}
}
}
},
"parameters": {
"SubscriptionIdParameter": {
Expand Down

0 comments on commit bd753ce

Please sign in to comment.