Skip to content

Commit bd753ce

Browse files
ajay-sainyAjay Sainy
andauthored
Rp saa s master (#3687)
* fixing case * using generic systemData Co-authored-by: Ajay Sainy <[email protected]>
1 parent 6fe5d77 commit bd753ce

File tree

6 files changed

+5
-62
lines changed

6 files changed

+5
-62
lines changed

specification/providerhubdevtest/resource-manager/Microsoft.ProviderHubDevTest/preview/2021-01-03-preview/examples/StressTestDeleteExample.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
"id": "72f988bf-86f1-41af-91ab-2d7cd011db47",
1212
"name": "stresstest1",
1313
"type": "Microsoft.ProviderHubDevTest/stressTests",
14-
"location": "East US",
15-
"tags": {},
1614
"properties": {
1715
"firstName": "FirstName",
1816
"lastName": "lastName"

specification/providerhubdevtest/resource-manager/Microsoft.ProviderHubDevTest/preview/2021-01-03-preview/examples/StressTestGetExample.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
"id": "72f988bf-86f1-41af-91ab-2d7cd011db47",
1212
"name": "stresstest1",
1313
"type": "Microsoft.ProviderHubDevTest/stressTests",
14-
"location": "East US",
15-
"tags": {},
1614
"properties": {
1715
"firstName": "FirstName",
1816
"lastName": "lastName"

specification/providerhubdevtest/resource-manager/Microsoft.ProviderHubDevTest/preview/2021-01-03-preview/examples/StressTestListBySubscriptionExample.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
"id": "72f988bf-86f1-41af-91ab-2d7cd011db47",
1212
"name": "stresstest1",
1313
"type": "Microsoft.ProviderHubDevTest/stressTests",
14-
"location": "East US",
15-
"tags": {},
1614
"properties": {
1715
"firstName": "FirstName",
1816
"lastName": "lastName"

specification/providerhubdevtest/resource-manager/Microsoft.ProviderHubDevTest/preview/2021-01-03-preview/examples/StressTestListExample.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
"id": "72f988bf-86f1-41af-91ab-2d7cd011db47",
1313
"name": "stresstest1",
1414
"type": "Microsoft.ProviderHubDevTest/stressTests",
15-
"location": "East US",
16-
"tags": {},
1715
"properties": {
1816
"firstName": "FirstName",
1917
"lastName": "lastName"

specification/providerhubdevtest/resource-manager/Microsoft.ProviderHubDevTest/preview/2021-01-03-preview/examples/StressTestPutExample.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"properties": {
99
"firstName": "firstname",
1010
"lastName": "lastname"
11-
},
12-
"location": "eastus"
11+
}
1312
}
1413
},
1514
"responses": {
@@ -18,8 +17,6 @@
1817
"id": "72f988bf-86f1-41af-91ab-2d7cd011db47",
1918
"name": "stresstest1",
2019
"type": "Microsoft.ProviderHubDevTest/stressTests",
21-
"location": "East US",
22-
"tags": {},
2320
"properties": {
2421
"firstName": "FirstName",
2522
"lastName": "lastName"

specification/providerhubdevtest/resource-manager/Microsoft.ProviderHubDevTest/preview/2021-01-03-preview/spec.json

Lines changed: 4 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@
273273
"description": "An Azure resource.",
274274
"properties": {
275275
"systemData": {
276-
"$ref": "#/definitions/SystemData",
277-
"readOnly": true,
278-
"description": "Read only system data"
276+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
277+
"readOnly": true,
278+
"description": "Read only system data"
279279
},
280280
"id": {
281281
"description": "Azure resource Id.",
@@ -463,53 +463,7 @@
463463
"readOnly": true
464464
}
465465
}
466-
},
467-
"SystemData": {
468-
"description": "Read only system data",
469-
"type": "object",
470-
"readOnly": true,
471-
"properties": {
472-
"createdBy": {
473-
"type": "string",
474-
"description": "An identifier for the identity that created the resource"
475-
},
476-
"createdByType": {
477-
"$ref": "#/definitions/IdentityType",
478-
"description": "The type of identity that created the resource"
479-
},
480-
"createdAt": {
481-
"type": "string",
482-
"format": "date-time",
483-
"description": "The timestamp of resource creation (UTC)"
484-
},
485-
"lastModifiedBy": {
486-
"type": "string",
487-
"description": "An identifier for the identity that last modified the resource"
488-
},
489-
"lastModifiedByType": {
490-
"$ref": "#/definitions/IdentityType",
491-
"description": "The type of identity that last modified the resource"
492-
},
493-
"lastModifiedAt": {
494-
"type": "string",
495-
"format": "date-time",
496-
"description": "The timestamp of resource last modification (UTC)"
497-
}
498-
}},
499-
"IdentityType": {
500-
"description": "The type of identity that creates/modifies resources",
501-
"type": "string",
502-
"enum": [
503-
"User",
504-
"Application",
505-
"ManagedIdentity",
506-
"Key"
507-
],
508-
"x-ms-enum": {
509-
"name": "IdentityType",
510-
"modelAsString": true
511-
}
512-
}
466+
}
513467
},
514468
"parameters": {
515469
"SubscriptionIdParameter": {

0 commit comments

Comments
 (0)