Skip to content

Commit c731fa1

Browse files
authored
Adding xms-ids for Compute (Azure#17633)
* Adding xms-ids for Compute * porting changes to a newer gallery version
1 parent 5e440bd commit c731fa1

File tree

9 files changed

+447
-189
lines changed

9 files changed

+447
-189
lines changed

specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/cloudService.json

Lines changed: 211 additions & 186 deletions
Large diffs are not rendered by default.

specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/runCommands.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,9 @@
959959
"items": {
960960
"$ref": "#/definitions/RunCommandInputParameter"
961961
},
962+
"x-ms-identifiers": [
963+
"name"
964+
],
962965
"description": "The run command parameters."
963966
}
964967
},
@@ -1052,6 +1055,10 @@
10521055
"items": {
10531056
"$ref": "#/definitions/RunCommandParameterDefinition"
10541057
},
1058+
"x-ms-identifiers": [
1059+
"name",
1060+
"type"
1061+
],
10551062
"description": "The parameters used by the script."
10561063
}
10571064
},
@@ -1121,6 +1128,7 @@
11211128
"items": {
11221129
"$ref": "#/definitions/InstanceViewStatus"
11231130
},
1131+
"x-ms-identifiers": [],
11241132
"description": "Run command operation response."
11251133
}
11261134
}
@@ -1209,13 +1217,19 @@
12091217
"items": {
12101218
"$ref": "#/definitions/RunCommandInputParameter"
12111219
},
1220+
"x-ms-identifiers": [
1221+
"name"
1222+
],
12121223
"description": "The parameters used by the script."
12131224
},
12141225
"protectedParameters": {
12151226
"type": "array",
12161227
"items": {
12171228
"$ref": "#/definitions/RunCommandInputParameter"
12181229
},
1230+
"x-ms-identifiers": [
1231+
"name"
1232+
],
12191233
"description": "The parameters used by the script."
12201234
},
12211235
"asyncExecution": {

specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/communityGallery.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,9 @@
284284
"items": {
285285
"$ref": "#/definitions/GalleryImageFeature"
286286
},
287+
"x-ms-identifiers": [
288+
"name"
289+
],
287290
"description": "A list of gallery image features."
288291
},
289292
"purchasePlan": {
@@ -432,6 +435,10 @@
432435
"items": {
433436
"$ref": "#/definitions/ApiErrorBase"
434437
},
438+
"x-ms-identifiers": [
439+
"message",
440+
"target"
441+
],
435442
"description": "The Api error details"
436443
},
437444
"innererror": {

specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/sharedGallery.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,9 @@
430430
"items": {
431431
"$ref": "#/definitions/SharedGallery"
432432
},
433+
"x-ms-identifiers": [
434+
"name"
435+
],
433436
"description": "A list of shared galleries."
434437
},
435438
"nextLink": {
@@ -458,6 +461,7 @@
458461
"items": {
459462
"$ref": "#/definitions/SharedGalleryImage"
460463
},
464+
"x-ms-identifiers": [],
461465
"description": "A list of shared gallery images."
462466
},
463467
"nextLink": {
@@ -540,6 +544,9 @@
540544
"items": {
541545
"$ref": "#/definitions/GalleryImageFeature"
542546
},
547+
"x-ms-identifiers": [
548+
"name"
549+
],
543550
"description": "A list of gallery image features."
544551
},
545552
"purchasePlan": {
@@ -651,6 +658,7 @@
651658
"items": {
652659
"$ref": "#/definitions/SharedGalleryImageVersion"
653660
},
661+
"x-ms-identifiers": [],
654662
"description": "A list of shared gallery images versions."
655663
},
656664
"nextLink": {
@@ -707,6 +715,10 @@
707715
"items": {
708716
"$ref": "#/definitions/ApiErrorBase"
709717
},
718+
"x-ms-identifiers": [
719+
"message",
720+
"target"
721+
],
710722
"description": "The Api error details"
711723
},
712724
"innererror": {

specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/skus.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@
175175
"items": {
176176
"$ref": "#/definitions/ResourceSkuCapabilities"
177177
},
178+
"x-ms-identifiers": [
179+
"name"
180+
],
178181
"description": "A list of capabilities that are available for the SKU in the specified list of zones."
179182
}
180183
},
@@ -275,6 +278,9 @@
275278
"items": {
276279
"$ref": "#/definitions/ResourceSkuLocationInfo"
277280
},
281+
"x-ms-identifiers": [
282+
"location"
283+
],
278284
"description": "A list of locations and availability zones in those locations where the SKU is available."
279285
},
280286
"apiVersions": {
@@ -291,6 +297,7 @@
291297
"items": {
292298
"$ref": "#/definitions/ResourceSkuCosts"
293299
},
300+
"x-ms-identifiers": [],
294301
"description": "Metadata for retrieving price info."
295302
},
296303
"capabilities": {
@@ -299,6 +306,9 @@
299306
"items": {
300307
"$ref": "#/definitions/ResourceSkuCapabilities"
301308
},
309+
"x-ms-identifiers": [
310+
"name"
311+
],
302312
"description": "A name value pair to describe the capability."
303313
},
304314
"restrictions": {
@@ -307,6 +317,7 @@
307317
"items": {
308318
"$ref": "#/definitions/ResourceSkuRestrictions"
309319
},
320+
"x-ms-identifiers": [],
310321
"description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions."
311322
}
312323
},
@@ -333,6 +344,9 @@
333344
"items": {
334345
"$ref": "#/definitions/ResourceSkuZoneDetails"
335346
},
347+
"x-ms-identifiers": [
348+
"name"
349+
],
336350
"description": "Details of capabilities available to a SKU in specific zones."
337351
},
338352
"extendedLocations": {
@@ -386,6 +400,10 @@
386400
"items": {
387401
"$ref": "#/definitions/ResourceSku"
388402
},
403+
"x-ms-identifiers": [
404+
"name",
405+
"resourceType"
406+
],
389407
"description": "The list of skus available for the subscription."
390408
},
391409
"nextLink": {

specification/compute/resource-manager/Microsoft.Compute/stable/2021-08-01/disk.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2180,6 +2180,9 @@
21802180
"items": {
21812181
"$ref": "#/definitions/ShareInfoElement"
21822182
},
2183+
"x-ms-identifiers": [
2184+
"vmUri"
2185+
],
21832186
"description": "Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs."
21842187
},
21852188
"networkAccessPolicy": {
@@ -2356,6 +2359,9 @@
23562359
"items": {
23572360
"$ref": "#/definitions/KeyForDiskEncryptionSet"
23582361
},
2362+
"x-ms-identifiers": [
2363+
"sourceVault/id"
2364+
],
23592365
"description": "A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation."
23602366
},
23612367
"provisioningState": {
@@ -2391,6 +2397,9 @@
23912397
"items": {
23922398
"$ref": "#/definitions/EncryptionSettingsElement"
23932399
},
2400+
"x-ms-identifiers": [
2401+
"diskEncryptionKey/sourceVault/id"
2402+
],
23942403
"description": "A collection of encryption settings, one for each disk volume."
23952404
},
23962405
"encryptionSettingsVersion": {
@@ -3614,6 +3623,10 @@
36143623
"items": {
36153624
"$ref": "#/definitions/ApiErrorBase"
36163625
},
3626+
"x-ms-identifiers": [
3627+
"message",
3628+
"target"
3629+
],
36173630
"description": "The Api error details"
36183631
},
36193632
"innererror": {

specification/compute/resource-manager/Microsoft.Compute/stable/2021-10-01/gallery.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,6 +1827,7 @@
18271827
"items": {
18281828
"$ref": "#/definitions/SharingProfileGroup"
18291829
},
1830+
"x-ms-identifiers": [],
18301831
"description": "A list of sharing profile groups."
18311832
},
18321833
"communityGalleryInfo": {
@@ -1920,6 +1921,9 @@
19201921
"items": {
19211922
"$ref": "#/definitions/RegionalSharingStatus"
19221923
},
1924+
"x-ms-identifiers": [
1925+
"region"
1926+
],
19231927
"description": "Summary of all regional sharing status."
19241928
}
19251929
},
@@ -2263,6 +2267,9 @@
22632267
"items": {
22642268
"$ref": "#/definitions/GalleryImageFeature"
22652269
},
2270+
"x-ms-identifiers": [
2271+
"name"
2272+
],
22662273
"description": "A list of gallery image features."
22672274
}
22682275
},
@@ -2430,6 +2437,9 @@
24302437
"items": {
24312438
"$ref": "#/definitions/TargetRegion"
24322439
},
2440+
"x-ms-identifiers": [
2441+
"name"
2442+
],
24332443
"description": "The target regions where the Image Version is going to be replicated to. This property is updatable."
24342444
},
24352445
"replicaCount": {
@@ -2482,6 +2492,10 @@
24822492
"items": {
24832493
"$ref": "#/definitions/GalleryTargetExtendedLocation"
24842494
},
2495+
"x-ms-identifiers": [
2496+
"name",
2497+
"extendedLocation/name"
2498+
],
24852499
"description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable."
24862500
}
24872501
},
@@ -2587,6 +2601,9 @@
25872601
"items": {
25882602
"$ref": "#/definitions/DataDiskImageEncryption"
25892603
},
2604+
"x-ms-identifiers": [
2605+
"lun"
2606+
],
25902607
"description": "A list of encryption specifications for data disk images."
25912608
}
25922609
},
@@ -2702,6 +2719,9 @@
27022719
"items": {
27032720
"$ref": "#/definitions/GalleryDataDiskImage"
27042721
},
2722+
"x-ms-identifiers": [
2723+
"lun"
2724+
],
27052725
"description": "A list of data disk images."
27062726
}
27072727
},
@@ -2796,6 +2816,9 @@
27962816
"items": {
27972817
"$ref": "#/definitions/RegionalReplicationStatus"
27982818
},
2819+
"x-ms-identifiers": [
2820+
"region"
2821+
],
27992822
"description": "This is a summary of replication status for each region."
28002823
}
28012824
},
@@ -2948,6 +2971,10 @@
29482971
"items": {
29492972
"$ref": "#/definitions/ApiErrorBase"
29502973
},
2974+
"x-ms-identifiers": [
2975+
"message",
2976+
"target"
2977+
],
29512978
"description": "The Api error details"
29522979
},
29532980
"innererror": {
@@ -3084,6 +3111,7 @@
30843111
"items": {
30853112
"$ref": "#/definitions/SharingProfileGroup"
30863113
},
3114+
"x-ms-identifiers": [],
30873115
"description": "A list of sharing profile groups."
30883116
}
30893117
},

0 commit comments

Comments
 (0)