Skip to content

Commit

Permalink
Adding xms-ids for Compute (#17633)
Browse files Browse the repository at this point in the history
* Adding xms-ids for Compute

* porting changes to a newer gallery version
  • Loading branch information
agalerrotaru authored Feb 18, 2022
1 parent 5e440bd commit c731fa1
Show file tree
Hide file tree
Showing 9 changed files with 447 additions and 189 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,9 @@
"items": {
"$ref": "#/definitions/RunCommandInputParameter"
},
"x-ms-identifiers": [
"name"
],
"description": "The run command parameters."
}
},
Expand Down Expand Up @@ -1052,6 +1055,10 @@
"items": {
"$ref": "#/definitions/RunCommandParameterDefinition"
},
"x-ms-identifiers": [
"name",
"type"
],
"description": "The parameters used by the script."
}
},
Expand Down Expand Up @@ -1121,6 +1128,7 @@
"items": {
"$ref": "#/definitions/InstanceViewStatus"
},
"x-ms-identifiers": [],
"description": "Run command operation response."
}
}
Expand Down Expand Up @@ -1209,13 +1217,19 @@
"items": {
"$ref": "#/definitions/RunCommandInputParameter"
},
"x-ms-identifiers": [
"name"
],
"description": "The parameters used by the script."
},
"protectedParameters": {
"type": "array",
"items": {
"$ref": "#/definitions/RunCommandInputParameter"
},
"x-ms-identifiers": [
"name"
],
"description": "The parameters used by the script."
},
"asyncExecution": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,9 @@
"items": {
"$ref": "#/definitions/GalleryImageFeature"
},
"x-ms-identifiers": [
"name"
],
"description": "A list of gallery image features."
},
"purchasePlan": {
Expand Down Expand Up @@ -432,6 +435,10 @@
"items": {
"$ref": "#/definitions/ApiErrorBase"
},
"x-ms-identifiers": [
"message",
"target"
],
"description": "The Api error details"
},
"innererror": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,9 @@
"items": {
"$ref": "#/definitions/SharedGallery"
},
"x-ms-identifiers": [
"name"
],
"description": "A list of shared galleries."
},
"nextLink": {
Expand Down Expand Up @@ -458,6 +461,7 @@
"items": {
"$ref": "#/definitions/SharedGalleryImage"
},
"x-ms-identifiers": [],
"description": "A list of shared gallery images."
},
"nextLink": {
Expand Down Expand Up @@ -540,6 +544,9 @@
"items": {
"$ref": "#/definitions/GalleryImageFeature"
},
"x-ms-identifiers": [
"name"
],
"description": "A list of gallery image features."
},
"purchasePlan": {
Expand Down Expand Up @@ -651,6 +658,7 @@
"items": {
"$ref": "#/definitions/SharedGalleryImageVersion"
},
"x-ms-identifiers": [],
"description": "A list of shared gallery images versions."
},
"nextLink": {
Expand Down Expand Up @@ -707,6 +715,10 @@
"items": {
"$ref": "#/definitions/ApiErrorBase"
},
"x-ms-identifiers": [
"message",
"target"
],
"description": "The Api error details"
},
"innererror": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
},
Expand Down Expand Up @@ -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": {
Expand All @@ -291,6 +297,7 @@
"items": {
"$ref": "#/definitions/ResourceSkuCosts"
},
"x-ms-identifiers": [],
"description": "Metadata for retrieving price info."
},
"capabilities": {
Expand All @@ -299,6 +306,9 @@
"items": {
"$ref": "#/definitions/ResourceSkuCapabilities"
},
"x-ms-identifiers": [
"name"
],
"description": "A name value pair to describe the capability."
},
"restrictions": {
Expand All @@ -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."
}
},
Expand All @@ -333,6 +344,9 @@
"items": {
"$ref": "#/definitions/ResourceSkuZoneDetails"
},
"x-ms-identifiers": [
"name"
],
"description": "Details of capabilities available to a SKU in specific zones."
},
"extendedLocations": {
Expand Down Expand Up @@ -386,6 +400,10 @@
"items": {
"$ref": "#/definitions/ResourceSku"
},
"x-ms-identifiers": [
"name",
"resourceType"
],
"description": "The list of skus available for the subscription."
},
"nextLink": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -3614,6 +3623,10 @@
"items": {
"$ref": "#/definitions/ApiErrorBase"
},
"x-ms-identifiers": [
"message",
"target"
],
"description": "The Api error details"
},
"innererror": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1827,6 +1827,7 @@
"items": {
"$ref": "#/definitions/SharingProfileGroup"
},
"x-ms-identifiers": [],
"description": "A list of sharing profile groups."
},
"communityGalleryInfo": {
Expand Down Expand Up @@ -1920,6 +1921,9 @@
"items": {
"$ref": "#/definitions/RegionalSharingStatus"
},
"x-ms-identifiers": [
"region"
],
"description": "Summary of all regional sharing status."
}
},
Expand Down Expand Up @@ -2263,6 +2267,9 @@
"items": {
"$ref": "#/definitions/GalleryImageFeature"
},
"x-ms-identifiers": [
"name"
],
"description": "A list of gallery image features."
}
},
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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."
}
},
Expand Down Expand Up @@ -2587,6 +2601,9 @@
"items": {
"$ref": "#/definitions/DataDiskImageEncryption"
},
"x-ms-identifiers": [
"lun"
],
"description": "A list of encryption specifications for data disk images."
}
},
Expand Down Expand Up @@ -2702,6 +2719,9 @@
"items": {
"$ref": "#/definitions/GalleryDataDiskImage"
},
"x-ms-identifiers": [
"lun"
],
"description": "A list of data disk images."
}
},
Expand Down Expand Up @@ -2796,6 +2816,9 @@
"items": {
"$ref": "#/definitions/RegionalReplicationStatus"
},
"x-ms-identifiers": [
"region"
],
"description": "This is a summary of replication status for each region."
}
},
Expand Down Expand Up @@ -2948,6 +2971,10 @@
"items": {
"$ref": "#/definitions/ApiErrorBase"
},
"x-ms-identifiers": [
"message",
"target"
],
"description": "The Api error details"
},
"innererror": {
Expand Down Expand Up @@ -3084,6 +3111,7 @@
"items": {
"$ref": "#/definitions/SharingProfileGroup"
},
"x-ms-identifiers": [],
"description": "A list of sharing profile groups."
}
},
Expand Down
Loading

0 comments on commit c731fa1

Please sign in to comment.