Skip to content

Commit

Permalink
add vm
Browse files Browse the repository at this point in the history
  • Loading branch information
AllyW committed Dec 18, 2024
1 parent 2ce9803 commit 60b8a81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/sharedgalleries/{}/images/{}/versions/{}", "version": "2022-01-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vc2hhcmVkR2FsbGVyaWVzL3tnYWxsZXJ5VW5pcXVlTmFtZX0vaW1hZ2VzL3tnYWxsZXJ5SW1hZ2VOYW1lfS92ZXJzaW9ucy97Z2FsbGVyeUltYWdlVmVyc2lvbk5hbWV9/V/MjAyMi0wMS0wMw=="}], "commandGroups": [{"name": "sig image-version", "commands": [{"name": "show-shared", "version": "2022-01-03", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/sharedgalleries/{}/images/{}/versions/{}", "version": "2022-01-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vc2hhcmVkR2FsbGVyaWVzL3tnYWxsZXJ5VW5pcXVlTmFtZX0vaW1hZ2VzL3tnYWxsZXJ5SW1hZ2VOYW1lfS92ZXJzaW9ucy97Z2FsbGVyeUltYWdlVmVyc2lvbk5hbWV9/V/MjAyMi0wMS0wMw=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["i", "gallery-image-name", "gallery-image-definition"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the Shared Gallery Image Definition from which the Image Versions are to be listed."}}, {"type": "string", "var": "$Path.galleryImageVersionName", "options": ["e", "gallery-image-version", "gallery-image-version-name"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>"}}, {"type": "string", "var": "$Path.galleryUniqueName", "options": ["gallery-unique-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The unique name of the Shared Gallery."}}, {"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "SharedGalleryImageVersions_Get", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryImageVersionName", "arg": "$Path.galleryImageVersionName", "required": true}, {"type": "string", "name": "galleryUniqueName", "arg": "$Path.galleryUniqueName", "required": true}, {"type": "string", "name": "location", "arg": "$Path.location", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-03"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "identifier", "props": [{"type": "string", "name": "uniqueId"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "endOfLifeDate"}, {"type": "boolean", "name": "excludeFromLatest"}, {"type": "dateTime", "name": "publishedDate"}, {"type": "object", "name": "storageProfile", "props": [{"type": "array<object>", "name": "dataDiskImages", "item": {"type": "object", "props": [{"readOnly": true, "type": "integer32", "name": "diskSizeGB"}, {"type": "string", "name": "hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "integer32", "name": "lun", "required": true}]}, "identifiers": ["lun"]}, {"type": "object", "name": "osDiskImage", "props": [{"readOnly": true, "type": "integer32", "name": "diskSizeGB"}, {"type": "string", "name": "hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}]}], "clientFlatten": true}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/sharedgalleries/{}/images/{}/versions/{}", "version": "2022-01-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vc2hhcmVkR2FsbGVyaWVzL3tnYWxsZXJ5VW5pcXVlTmFtZX0vaW1hZ2VzL3tnYWxsZXJ5SW1hZ2VOYW1lfS92ZXJzaW9ucy97Z2FsbGVyeUltYWdlVmVyc2lvbk5hbWV9/V/MjAyMi0wMS0wMw=="}], "commandGroups": [{"name": "sig image-version", "commands": [{"name": "show-shared", "version": "2022-01-03", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/sharedgalleries/{}/images/{}/versions/{}", "version": "2022-01-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vc2hhcmVkR2FsbGVyaWVzL3tnYWxsZXJ5VW5pcXVlTmFtZX0vaW1hZ2VzL3tnYWxsZXJ5SW1hZ2VOYW1lfS92ZXJzaW9ucy97Z2FsbGVyeUltYWdlVmVyc2lvbk5hbWV9/V/MjAyMi0wMS0wMw=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["i", "gallery-image-name", "gallery-image-definition"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the Shared Gallery Image Definition from which the Image Versions are to be listed."}}, {"type": "string", "var": "$Path.galleryImageVersionName", "options": ["e", "gallery-image-version", "gallery-image-version-name"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: `<MajorVersion>.<MinorVersion>.<Patch>`"}}, {"type": "string", "var": "$Path.galleryUniqueName", "options": ["gallery-unique-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The unique name of the Shared Gallery."}}, {"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "SharedGalleryImageVersions_Get", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryImageVersionName", "arg": "$Path.galleryImageVersionName", "required": true}, {"type": "string", "name": "galleryUniqueName", "arg": "$Path.galleryUniqueName", "required": true}, {"type": "string", "name": "location", "arg": "$Path.location", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-03"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "identifier", "props": [{"type": "string", "name": "uniqueId"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "dateTime", "name": "endOfLifeDate"}, {"type": "boolean", "name": "excludeFromLatest"}, {"type": "dateTime", "name": "publishedDate"}, {"type": "object", "name": "storageProfile", "props": [{"type": "array<object>", "name": "dataDiskImages", "item": {"type": "object", "props": [{"readOnly": true, "type": "integer32", "name": "diskSizeGB"}, {"type": "string", "name": "hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "integer32", "name": "lun", "required": true}]}, "identifiers": ["lun"]}, {"type": "object", "name": "osDiskImage", "props": [{"readOnly": true, "type": "integer32", "name": "diskSizeGB"}, {"type": "string", "name": "hostCaching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}]}]}], "clientFlatten": true}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<help short="The name of the Shared Gallery Image Definition from which the Image Versions are to be listed."/>
</arg>
<arg type="string" var="$Path.galleryImageVersionName" options="gallery-image-version-name gallery-image-version e" required="True" group="" idPart="child_name_3">
<help short="The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>"/>
<help short="The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: `<MajorVersion>.<MinorVersion>.<Patch>`"/>
</arg>
<arg type="string" var="$Path.galleryUniqueName" options="gallery-unique-name" required="True" idPart="child_name_1">
<help short="The unique name of the Shared Gallery."/>
Expand Down

0 comments on commit 60b8a81

Please sign in to comment.