From 905de826028b22d3f16b66a7068508cba56d43c0 Mon Sep 17 00:00:00 2001
From: agalerrotaru <86316103+agalerrotaru@users.noreply.github.com>
Date: Fri, 18 Feb 2022 06:52:19 +0100
Subject: [PATCH] Adding xms-ids for Compute (#17633)
* Adding xms-ids for Compute
* porting changes to a newer gallery version
---
.../stable/2021-03-01/cloudService.json | 397 ++++++++++--------
.../stable/2021-03-01/runCommands.json | 14 +
.../stable/2021-07-01/communityGallery.json | 7 +
.../stable/2021-07-01/sharedGallery.json | 12 +
.../stable/2021-07-01/skus.json | 18 +
.../stable/2021-08-01/disk.json | 13 +
.../stable/2021-10-01/gallery.json | 28 ++
.../stable/2021-11-01/compute.json | 128 +++++-
.../stable/2021-11-01/runCommands.json | 19 +
9 files changed, 447 insertions(+), 189 deletions(-)
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/cloudService.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/cloudService.json
index 44de229cd1d6..21a6ed40b08c 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/cloudService.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/cloudService.json
@@ -45,12 +45,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK"
},
@@ -59,6 +53,12 @@
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -116,17 +116,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/RoleInstance"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -171,17 +171,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/RoleInstanceInstanceView"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -233,17 +233,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/RoleInstanceListResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -291,17 +291,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK"
},
"202": {
"description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -347,17 +347,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK"
},
"202": {
"description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -403,17 +403,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK"
},
"202": {
"description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -462,18 +462,18 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"format": "binary",
"type": "file"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
}
}
@@ -513,17 +513,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CloudServiceRole"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -561,17 +561,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CloudServiceRoleListResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -622,12 +622,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
@@ -639,6 +633,12 @@
"schema": {
"$ref": "#/definitions/CloudService"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -694,17 +694,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CloudService"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -743,12 +743,6 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK"
},
@@ -757,6 +751,12 @@
},
"204": {
"description": "No Content"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -795,17 +795,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CloudService"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -845,17 +845,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CloudServiceInstanceView"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -881,17 +881,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CloudServiceListResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -927,17 +927,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CloudServiceListResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -980,17 +980,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK"
},
"202": {
"description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -1031,17 +1031,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK"
},
"202": {
"description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -1090,17 +1090,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK"
},
"202": {
"description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -1149,17 +1149,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK"
},
"202": {
"description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -1208,17 +1208,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK"
},
"202": {
"description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -1267,17 +1267,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK"
},
"202": {
"description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -1334,17 +1334,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK"
},
"202": {
"description": "Accepted"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -1391,17 +1391,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/UpdateDomain"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -1441,17 +1441,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/UpdateDomainListResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -1494,17 +1494,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/OSVersion"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -1537,17 +1537,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/OSVersionListResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -1590,17 +1590,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/OSFamily"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -1633,17 +1633,17 @@
}
],
"responses": {
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- },
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/OSFamilyListResult"
}
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
}
},
"x-ms-examples": {
@@ -1699,7 +1699,11 @@
"type": "array",
"items": {
"$ref": "#/definitions/ApiErrorBase"
- }
+ },
+ "x-ms-identifiers": [
+ "message",
+ "target"
+ ]
},
"innererror": {
"$ref": "#/definitions/InnerError",
@@ -1834,6 +1838,7 @@
"items": {
"$ref": "#/definitions/ResourceInstanceViewStatus"
},
+ "x-ms-identifiers": [],
"readOnly": true
}
}
@@ -2019,7 +2024,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/CloudServiceRoleProfileProperties"
- }
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
}
}
},
@@ -2046,7 +2054,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/CloudServiceVaultCertificate"
- }
+ },
+ "x-ms-identifiers": [
+ "certificateUrl"
+ ]
}
}
},
@@ -2059,7 +2070,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/CloudServiceVaultSecretGroup"
- }
+ },
+ "x-ms-identifiers": [
+ "sourceVault/id"
+ ]
}
}
},
@@ -2106,7 +2120,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/LoadBalancerFrontendIPConfiguration"
- }
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
}
},
"required": [
@@ -2234,7 +2251,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/Extension"
- }
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
}
}
},
@@ -2365,6 +2385,7 @@
"items": {
"$ref": "#/definitions/StatusCodeCount"
},
+ "x-ms-identifiers": [],
"readOnly": true
}
}
@@ -2394,6 +2415,7 @@
"items": {
"$ref": "#/definitions/ResourceInstanceViewStatus"
},
+ "x-ms-identifiers": [],
"readOnly": true
}
}
@@ -2592,6 +2614,9 @@
"items": {
"$ref": "#/definitions/OSVersionPropertiesBase"
},
+ "x-ms-identifiers": [
+ "version"
+ ],
"readOnly": true
}
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/runCommands.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/runCommands.json
index 09fef5bae540..80f3608b48a6 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/runCommands.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/runCommands.json
@@ -959,6 +959,9 @@
"items": {
"$ref": "#/definitions/RunCommandInputParameter"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "The run command parameters."
}
},
@@ -1052,6 +1055,10 @@
"items": {
"$ref": "#/definitions/RunCommandParameterDefinition"
},
+ "x-ms-identifiers": [
+ "name",
+ "type"
+ ],
"description": "The parameters used by the script."
}
},
@@ -1121,6 +1128,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "Run command operation response."
}
}
@@ -1209,6 +1217,9 @@
"items": {
"$ref": "#/definitions/RunCommandInputParameter"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "The parameters used by the script."
},
"protectedParameters": {
@@ -1216,6 +1227,9 @@
"items": {
"$ref": "#/definitions/RunCommandInputParameter"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "The parameters used by the script."
},
"asyncExecution": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/communityGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/communityGallery.json
index 711cf2ecd43e..905915f4ffd2 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/communityGallery.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/communityGallery.json
@@ -284,6 +284,9 @@
"items": {
"$ref": "#/definitions/GalleryImageFeature"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "A list of gallery image features."
},
"purchasePlan": {
@@ -432,6 +435,10 @@
"items": {
"$ref": "#/definitions/ApiErrorBase"
},
+ "x-ms-identifiers": [
+ "message",
+ "target"
+ ],
"description": "The Api error details"
},
"innererror": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/sharedGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/sharedGallery.json
index 118c66bc77b3..8da93b87410c 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/sharedGallery.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/sharedGallery.json
@@ -430,6 +430,9 @@
"items": {
"$ref": "#/definitions/SharedGallery"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "A list of shared galleries."
},
"nextLink": {
@@ -458,6 +461,7 @@
"items": {
"$ref": "#/definitions/SharedGalleryImage"
},
+ "x-ms-identifiers": [],
"description": "A list of shared gallery images."
},
"nextLink": {
@@ -540,6 +544,9 @@
"items": {
"$ref": "#/definitions/GalleryImageFeature"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "A list of gallery image features."
},
"purchasePlan": {
@@ -651,6 +658,7 @@
"items": {
"$ref": "#/definitions/SharedGalleryImageVersion"
},
+ "x-ms-identifiers": [],
"description": "A list of shared gallery images versions."
},
"nextLink": {
@@ -707,6 +715,10 @@
"items": {
"$ref": "#/definitions/ApiErrorBase"
},
+ "x-ms-identifiers": [
+ "message",
+ "target"
+ ],
"description": "The Api error details"
},
"innererror": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/skus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/skus.json
index 464b5e4cbb13..e02c038d486d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/skus.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/skus.json
@@ -175,6 +175,9 @@
"items": {
"$ref": "#/definitions/ResourceSkuCapabilities"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "A list of capabilities that are available for the SKU in the specified list of zones."
}
},
@@ -275,6 +278,9 @@
"items": {
"$ref": "#/definitions/ResourceSkuLocationInfo"
},
+ "x-ms-identifiers": [
+ "location"
+ ],
"description": "A list of locations and availability zones in those locations where the SKU is available."
},
"apiVersions": {
@@ -291,6 +297,7 @@
"items": {
"$ref": "#/definitions/ResourceSkuCosts"
},
+ "x-ms-identifiers": [],
"description": "Metadata for retrieving price info."
},
"capabilities": {
@@ -299,6 +306,9 @@
"items": {
"$ref": "#/definitions/ResourceSkuCapabilities"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "A name value pair to describe the capability."
},
"restrictions": {
@@ -307,6 +317,7 @@
"items": {
"$ref": "#/definitions/ResourceSkuRestrictions"
},
+ "x-ms-identifiers": [],
"description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions."
}
},
@@ -333,6 +344,9 @@
"items": {
"$ref": "#/definitions/ResourceSkuZoneDetails"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "Details of capabilities available to a SKU in specific zones."
},
"extendedLocations": {
@@ -386,6 +400,10 @@
"items": {
"$ref": "#/definitions/ResourceSku"
},
+ "x-ms-identifiers": [
+ "name",
+ "resourceType"
+ ],
"description": "The list of skus available for the subscription."
},
"nextLink": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-08-01/disk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-08-01/disk.json
index ab4f5933d5ca..f6e60a1f664a 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-08-01/disk.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-08-01/disk.json
@@ -2180,6 +2180,9 @@
"items": {
"$ref": "#/definitions/ShareInfoElement"
},
+ "x-ms-identifiers": [
+ "vmUri"
+ ],
"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."
},
"networkAccessPolicy": {
@@ -2356,6 +2359,9 @@
"items": {
"$ref": "#/definitions/KeyForDiskEncryptionSet"
},
+ "x-ms-identifiers": [
+ "sourceVault/id"
+ ],
"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."
},
"provisioningState": {
@@ -2391,6 +2397,9 @@
"items": {
"$ref": "#/definitions/EncryptionSettingsElement"
},
+ "x-ms-identifiers": [
+ "diskEncryptionKey/sourceVault/id"
+ ],
"description": "A collection of encryption settings, one for each disk volume."
},
"encryptionSettingsVersion": {
@@ -3614,6 +3623,10 @@
"items": {
"$ref": "#/definitions/ApiErrorBase"
},
+ "x-ms-identifiers": [
+ "message",
+ "target"
+ ],
"description": "The Api error details"
},
"innererror": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-10-01/gallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-10-01/gallery.json
index f78cde43939c..6ea8b84eaf44 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-10-01/gallery.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-10-01/gallery.json
@@ -1827,6 +1827,7 @@
"items": {
"$ref": "#/definitions/SharingProfileGroup"
},
+ "x-ms-identifiers": [],
"description": "A list of sharing profile groups."
},
"communityGalleryInfo": {
@@ -1920,6 +1921,9 @@
"items": {
"$ref": "#/definitions/RegionalSharingStatus"
},
+ "x-ms-identifiers": [
+ "region"
+ ],
"description": "Summary of all regional sharing status."
}
},
@@ -2263,6 +2267,9 @@
"items": {
"$ref": "#/definitions/GalleryImageFeature"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "A list of gallery image features."
}
},
@@ -2430,6 +2437,9 @@
"items": {
"$ref": "#/definitions/TargetRegion"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "The target regions where the Image Version is going to be replicated to. This property is updatable."
},
"replicaCount": {
@@ -2482,6 +2492,10 @@
"items": {
"$ref": "#/definitions/GalleryTargetExtendedLocation"
},
+ "x-ms-identifiers": [
+ "name",
+ "extendedLocation/name"
+ ],
"description": "The target extended locations where the Image Version is going to be replicated to. This property is updatable."
}
},
@@ -2587,6 +2601,9 @@
"items": {
"$ref": "#/definitions/DataDiskImageEncryption"
},
+ "x-ms-identifiers": [
+ "lun"
+ ],
"description": "A list of encryption specifications for data disk images."
}
},
@@ -2702,6 +2719,9 @@
"items": {
"$ref": "#/definitions/GalleryDataDiskImage"
},
+ "x-ms-identifiers": [
+ "lun"
+ ],
"description": "A list of data disk images."
}
},
@@ -2796,6 +2816,9 @@
"items": {
"$ref": "#/definitions/RegionalReplicationStatus"
},
+ "x-ms-identifiers": [
+ "region"
+ ],
"description": "This is a summary of replication status for each region."
}
},
@@ -2948,6 +2971,10 @@
"items": {
"$ref": "#/definitions/ApiErrorBase"
},
+ "x-ms-identifiers": [
+ "message",
+ "target"
+ ],
"description": "The Api error details"
},
"innererror": {
@@ -3084,6 +3111,7 @@
"items": {
"$ref": "#/definitions/SharingProfileGroup"
},
+ "x-ms-identifiers": [],
"description": "A list of sharing profile groups."
}
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/compute.json
index 1e8a59ffdc11..ad1df0ff9e54 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/compute.json
@@ -9829,6 +9829,9 @@
"items": {
"$ref": "#/definitions/RestorePointSourceVMDataDisk"
},
+ "x-ms-identifiers": [
+ "lun"
+ ],
"description": "Gets the data disks of the VM captured at the time of the restore point creation."
}
},
@@ -9936,6 +9939,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "The resource status information."
}
},
@@ -10030,6 +10034,9 @@
"items": {
"$ref": "#/definitions/ComputeOperationValue"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "The list of compute operations"
}
},
@@ -10187,6 +10194,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "The resource status information."
}
},
@@ -10366,6 +10374,9 @@
"items": {
"$ref": "#/definitions/DedicatedHostInstanceViewWithName"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "List of instance view of the dedicated hosts under the dedicated host group."
}
}
@@ -10496,6 +10507,7 @@
"items": {
"$ref": "#/definitions/DedicatedHostAllocatableVM"
},
+ "x-ms-identifiers": [],
"description": "The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host."
}
},
@@ -10517,6 +10529,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "The resource status information."
}
},
@@ -10653,6 +10666,9 @@
"items": {
"$ref": "#/definitions/CapacityReservationInstanceViewWithName"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"readOnly": true,
"description": "List of instance view of the capacity reservations under the capacity reservation group."
}
@@ -10754,6 +10770,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "The resource status information."
}
},
@@ -11019,6 +11036,9 @@
"items": {
"$ref": "#/definitions/VirtualMachineSize"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "The list of virtual machine sizes."
}
},
@@ -11124,6 +11144,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "The resource status information."
},
"statuses": {
@@ -11131,6 +11152,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "The resource status information."
}
},
@@ -11466,6 +11488,9 @@
"x-ms-client-flatten": true,
"$ref": "#/definitions/VirtualMachineSoftwarePatchProperties"
},
+ "x-ms-identifiers": [
+ "patchId"
+ ],
"description": "The list of patches that have been detected as available for installation."
},
"error": {
@@ -11679,6 +11704,9 @@
"x-ms-client-flatten": true,
"$ref": "#/definitions/PatchInstallationDetail"
},
+ "x-ms-identifiers": [
+ "patchId"
+ ],
"description": "The patches that were installed during the operation."
},
"startDateTime": {
@@ -11835,7 +11863,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/DataDiskImage"
- }
+ },
+ "x-ms-identifiers": [
+ "lun"
+ ]
},
"automaticOSUpgradeProperties": {
"$ref": "#/definitions/AutomaticOSUpgradeProperties"
@@ -11851,7 +11882,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/VirtualMachineImageFeature"
- }
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
}
},
"description": "Describes the properties of a Virtual Machine Image."
@@ -11930,6 +11964,7 @@
"items": {
"$ref": "#/definitions/Usage"
},
+ "x-ms-identifiers": [],
"description": "The list of compute resource usages."
},
"nextLink": {
@@ -11997,6 +12032,7 @@
"type": "object",
"description": "resource item"
},
+ "x-ms-identifiers": [],
"description": "a list of resource items of the captured virtual machine"
}
},
@@ -12642,6 +12678,9 @@
"items": {
"$ref": "#/definitions/DataDisk"
},
+ "x-ms-identifiers": [
+ "lun"
+ ],
"description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)."
}
},
@@ -12719,6 +12758,9 @@
"items": {
"$ref": "#/definitions/VMGalleryApplication"
},
+ "x-ms-identifiers": [
+ "packageReferenceId"
+ ],
"description": "Specifies the gallery applications that should be made available to the VM/VMSS"
}
},
@@ -12818,6 +12860,7 @@
"items": {
"$ref": "#/definitions/WinRMListener"
},
+ "x-ms-identifiers": [],
"description": "The list of Windows Remote Management listeners"
}
},
@@ -12842,6 +12885,7 @@
"items": {
"$ref": "#/definitions/AdditionalUnattendContent"
},
+ "x-ms-identifiers": [],
"description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup."
},
"patchSettings": {
@@ -12875,6 +12919,9 @@
"items": {
"$ref": "#/definitions/SshPublicKey"
},
+ "x-ms-identifiers": [
+ "path"
+ ],
"description": "The list of SSH public keys used to authenticate with linux based VMs."
}
},
@@ -12925,6 +12972,9 @@
"items": {
"$ref": "#/definitions/VaultCertificate"
},
+ "x-ms-identifiers": [
+ "certificateUrl"
+ ],
"description": "The list of key vault references in SourceVault which contain certificates."
}
},
@@ -12961,6 +13011,9 @@
"items": {
"$ref": "#/definitions/VaultSecretGroup"
},
+ "x-ms-identifiers": [
+ "sourceVault/id"
+ ],
"description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)."
},
"allowExtensionOperations": {
@@ -13088,6 +13141,7 @@
"items": {
"$ref": "#/definitions/VirtualMachineIpTag"
},
+ "x-ms-identifiers": [],
"description": "The list of IP tags associated with the public IP address."
},
"publicIPPrefix": {
@@ -13290,6 +13344,9 @@
"items": {
"$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "Specifies the IP configurations of the network interface."
},
"dscpConfiguration": {
@@ -13342,6 +13399,9 @@
"items": {
"$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "Specifies the networking configurations that will be used to create the virtual machine networking resources."
}
},
@@ -13432,6 +13492,7 @@
"items": {
"$ref": "#/definitions/VirtualMachineExtensionHandlerInstanceView"
},
+ "x-ms-identifiers": [],
"description": "The virtual machine extension handler instance view."
},
"statuses": {
@@ -13439,6 +13500,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "The resource status information."
}
},
@@ -13455,6 +13517,9 @@
"items": {
"$ref": "#/definitions/DiskEncryptionSettings"
},
+ "x-ms-identifiers": [
+ "diskEncryptionKey/sourceVault/id"
+ ],
"description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15"
},
"statuses": {
@@ -13462,6 +13527,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "The resource status information."
}
},
@@ -13636,6 +13702,9 @@
"items": {
"$ref": "#/definitions/DiskInstanceView"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "The virtual machine disk information."
},
"extensions": {
@@ -13643,6 +13712,10 @@
"items": {
"$ref": "#/definitions/VirtualMachineExtensionInstanceView"
},
+ "x-ms-identifiers": [
+ "name",
+ "type"
+ ],
"description": "The extensions information."
},
"vmHealth": {
@@ -13664,6 +13737,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "The resource status information."
},
"patchStatus": {
@@ -14143,6 +14217,9 @@
"items": {
"$ref": "#/definitions/ImageDataDisk"
},
+ "x-ms-identifiers": [
+ "lun"
+ ],
"description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)."
},
"zoneResilient": {
@@ -14305,6 +14382,9 @@
"items": {
"$ref": "#/definitions/VaultSecretGroup"
},
+ "x-ms-identifiers": [
+ "sourceVault/id"
+ ],
"description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)."
},
"allowExtensionOperations": {
@@ -14333,6 +14413,9 @@
"items": {
"$ref": "#/definitions/VaultSecretGroup"
},
+ "x-ms-identifiers": [
+ "sourceVault/id"
+ ],
"description": "The List of certificates for addition to the VM."
}
},
@@ -14512,6 +14595,10 @@
"items": {
"$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
},
+ "x-ms-identifiers": [
+ "name",
+ "lun"
+ ],
"description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)."
}
},
@@ -14532,6 +14619,10 @@
"items": {
"$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
},
+ "x-ms-identifiers": [
+ "name",
+ "lun"
+ ],
"description": "The data disks."
}
},
@@ -14922,6 +15013,7 @@
"items": {
"$ref": "#/definitions/VirtualMachineScaleSetIpTag"
},
+ "x-ms-identifiers": [],
"description": "The list of IP tags associated with the public IP address."
},
"publicIPPrefix": {
@@ -15546,6 +15638,7 @@
"items": {
"$ref": "#/definitions/VirtualMachineStatusCodeCount"
},
+ "x-ms-identifiers": [],
"description": "The extensions information."
}
},
@@ -15564,6 +15657,7 @@
"items": {
"$ref": "#/definitions/VirtualMachineStatusCodeCount"
},
+ "x-ms-identifiers": [],
"description": "The extensions information."
}
},
@@ -15613,6 +15707,9 @@
"items": {
"$ref": "#/definitions/VirtualMachineScaleSetVMExtensionsSummary"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "The extensions information."
},
"statuses": {
@@ -15620,6 +15717,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "The resource status information."
},
"orchestrationServices": {
@@ -15628,6 +15726,9 @@
"items": {
"$ref": "#/definitions/OrchestrationServiceSummary"
},
+ "x-ms-identifiers": [
+ "serviceName"
+ ],
"description": "The orchestration services information."
}
},
@@ -15734,6 +15835,10 @@
"items": {
"$ref": "#/definitions/VirtualMachineScaleSetSku"
},
+ "x-ms-identifiers": [
+ "resourceType",
+ "sku/name"
+ ],
"description": "The list of skus available for the virtual machine scale set."
},
"nextLink": {
@@ -15871,6 +15976,10 @@
"items": {
"$ref": "#/definitions/UpgradeOperationHistoricalStatusInfo"
},
+ "x-ms-identifiers": [
+ "type",
+ "location"
+ ],
"description": "The list of OS upgrades performed on the virtual machine scale set."
},
"nextLink": {
@@ -16034,6 +16143,9 @@
"items": {
"$ref": "#/definitions/DiskInstanceView"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "The disks information."
},
"extensions": {
@@ -16041,6 +16153,10 @@
"items": {
"$ref": "#/definitions/VirtualMachineExtensionInstanceView"
},
+ "x-ms-identifiers": [
+ "name",
+ "type"
+ ],
"description": "The extensions information."
},
"vmHealth": {
@@ -16057,6 +16173,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "The resource status information."
},
"assignedHost": {
@@ -16306,6 +16423,10 @@
"items": {
"$ref": "#/definitions/ApiErrorBase"
},
+ "x-ms-identifiers": [
+ "message",
+ "target"
+ ],
"description": "The Api error details"
},
"innererror": {
@@ -16671,7 +16792,8 @@
"type": "array",
"items": {
"$ref": "#/definitions/InstanceViewStatus"
- }
+ },
+ "x-ms-identifiers": []
}
},
"description": "The status of virtual machine patch operations."
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/runCommands.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/runCommands.json
index 940900927102..5e9a4f366a99 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/runCommands.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/runCommands.json
@@ -959,6 +959,9 @@
"items": {
"$ref": "#/definitions/RunCommandInputParameter"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "The run command parameters."
}
},
@@ -1052,6 +1055,10 @@
"items": {
"$ref": "#/definitions/RunCommandParameterDefinition"
},
+ "x-ms-identifiers": [
+ "name",
+ "type"
+ ],
"description": "The parameters used by the script."
}
},
@@ -1121,6 +1128,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "Run command operation response."
}
}
@@ -1176,6 +1184,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
+ "x-ms-identifiers": [],
"description": "The resource status information."
}
},
@@ -1209,6 +1218,9 @@
"items": {
"$ref": "#/definitions/RunCommandInputParameter"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "The parameters used by the script."
},
"protectedParameters": {
@@ -1216,6 +1228,9 @@
"items": {
"$ref": "#/definitions/RunCommandInputParameter"
},
+ "x-ms-identifiers": [
+ "name"
+ ],
"description": "The parameters used by the script."
},
"asyncExecution": {
@@ -1350,6 +1365,10 @@
"items": {
"$ref": "#/definitions/ApiErrorBase"
},
+ "x-ms-identifiers": [
+ "message",
+ "target"
+ ],
"description": "The Api error details"
},
"innererror": {