Skip to content

Commit a157351

Browse files
LoadBearingBeanvukelich
authored andcommitted
Add x-ms-identifiers to resources/resource-manager. (Azure#17766)
Co-authored-by: Steven Vukelich <[email protected]>
1 parent 4f85fc0 commit a157351

File tree

13 files changed

+107
-5
lines changed

13 files changed

+107
-5
lines changed

specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/locks.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,9 @@
10751075
"items": {
10761076
"$ref": "#/definitions/ManagementLockOwner"
10771077
},
1078+
"x-ms-identifiers": [
1079+
"applicationId"
1080+
],
10781081
"description": "The owners of the lock."
10791082
}
10801083
},
@@ -1167,6 +1170,7 @@
11671170
"items": {
11681171
"$ref": "#/definitions/Operation"
11691172
},
1173+
"x-ms-identifiers": [],
11701174
"description": "List of Microsoft.Authorization operations."
11711175
},
11721176
"nextLink": {

specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/dataPolicyManifests.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@
167167
"items": {
168168
"$ref": "#/definitions/DataManifestCustomResourceFunctionDefinition"
169169
},
170+
"x-ms-identifiers": [
171+
"name",
172+
"fullyQualifiedResourceType"
173+
],
170174
"description": "An array of data manifest custom resource definition."
171175
}
172176
},
@@ -196,6 +200,9 @@
196200
"items": {
197201
"$ref": "../../../Microsoft.Resources/stable/2020-06-01/resources.json#/definitions/Alias"
198202
},
203+
"x-ms-identifiers": [
204+
"name"
205+
],
199206
"description": "The aliases for property names."
200207
}
201208
},
@@ -223,13 +230,19 @@
223230
"items": {
224231
"$ref": "#/definitions/ResourceTypeAliases"
225232
},
233+
"x-ms-identifiers": [
234+
"resourceType"
235+
],
226236
"description": "An array of resource type aliases."
227237
},
228238
"effects": {
229239
"type": "array",
230240
"items": {
231241
"$ref": "#/definitions/DataEffect"
232242
},
243+
"x-ms-identifiers": [
244+
"name"
245+
],
233246
"description": "The effect definition."
234247
},
235248
"fieldValues": {

specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/policyAssignments.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,10 @@
765765
"items": {
766766
"$ref": "#/definitions/NonComplianceMessage"
767767
},
768+
"x-ms-identifiers": [
769+
"message",
770+
"policyDefinitionReferenceId"
771+
],
768772
"description": "The messages that describe why a resource is non-compliant with the policy."
769773
}
770774
},

specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/policyDefinitions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,7 @@
566566
"items": {
567567
"type": "object"
568568
},
569+
"x-ms-identifiers": [],
569570
"description": "The allowed values for the parameter."
570571
},
571572
"defaultValue": {

specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/policySetDefinitions.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,13 +550,19 @@
550550
"items": {
551551
"$ref": "#/definitions/PolicyDefinitionReference"
552552
},
553+
"x-ms-identifiers": [
554+
"policyDefinitionReferenceId"
555+
],
553556
"description": "An array of policy definition references."
554557
},
555558
"policyDefinitionGroups": {
556559
"type": "array",
557560
"items": {
558561
"$ref": "#/definitions/PolicyDefinitionGroup"
559562
},
563+
"x-ms-identifiers": [
564+
"name"
565+
],
560566
"description": "The metadata describing groups of policy definition references within the policy set definition."
561567
}
562568
},

specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/features.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,9 @@
395395
"items": {
396396
"$ref": "#/definitions/Operation"
397397
},
398+
"x-ms-identifiers": [
399+
"name"
400+
],
398401
"description": "List of Microsoft.Features operations."
399402
},
400403
"nextLink": {
@@ -432,7 +435,8 @@
432435
"type": "array",
433436
"items": {
434437
"$ref": "#/definitions/ErrorDefinition"
435-
}
438+
},
439+
"x-ms-identifiers": []
436440
}
437441
}
438442
}

specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/links.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,9 @@
363363
"items": {
364364
"$ref": "#/definitions/Operation"
365365
},
366+
"x-ms-identifiers": [
367+
"name"
368+
],
366369
"description": "List of Microsoft.Resources operations."
367370
},
368371
"nextLink": {

specification/resources/resource-manager/Microsoft.Resources/stable/2020-06-01/resources.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4781,6 +4781,7 @@
47814781
"items": {
47824782
"$ref": "#/definitions/AliasPath"
47834783
},
4784+
"x-ms-identifiers": [],
47844785
"description": "The paths for an alias."
47854786
},
47864787
"type": {

specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/deploymentScripts.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,10 @@
593593
"type": "array",
594594
"items": {
595595
"$ref": "#/definitions/EnvironmentVariable"
596-
}
596+
},
597+
"x-ms-identifiers": [
598+
"name"
599+
]
597600
},
598601
"forceUpdateTag": {
599602
"type": "string",

specification/resources/resource-manager/Microsoft.Resources/stable/2021-01-01/subscriptions.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,9 @@
474474
"items": {
475475
"$ref": "#/definitions/ManagedByTenant"
476476
},
477+
"x-ms-identifiers": [
478+
"tenantId"
479+
],
477480
"description": "An array containing the tenants managing the subscription."
478481
},
479482
"tags": {
@@ -722,6 +725,9 @@
722725
"items": {
723726
"$ref": "#/definitions/Operation"
724727
},
728+
"x-ms-identifiers": [
729+
"name"
730+
],
725731
"description": "List of Microsoft.Resources operations."
726732
},
727733
"nextLink": {
@@ -765,6 +771,9 @@
765771
"items": {
766772
"$ref": "#/definitions/AvailabilityZonePeers"
767773
},
774+
"x-ms-identifiers": [
775+
"availabilityZone"
776+
],
768777
"description": "The Availability Zones shared by the subscriptions."
769778
}
770779
}
@@ -782,6 +791,10 @@
782791
"items": {
783792
"$ref": "#/definitions/Peers"
784793
},
794+
"x-ms-identifiers": [
795+
"availabilityZone",
796+
"subscriptionId"
797+
],
785798
"description": "Details of shared availability zone."
786799
}
787800
},

0 commit comments

Comments
 (0)