diff --git a/Commands/image/_create.md b/Commands/image/_create.md index 30b9df247..261886b69 100644 --- a/Commands/image/_create.md +++ b/Commands/image/_create.md @@ -71,3 +71,19 @@ Create a custom Virtual Machine Image from managed disks or snapshots. ```bash image create -g MyResourceGroup -n image1 --source MyVm1 ``` + +### [2024-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2ltYWdlcy97fQ==/2024-11-01.xml) **Stable** + + + +#### examples + +- Create an image from an existing disk. + ```bash + image create -g MyResourceGroup -n image1 --os-type Linux --source /subscriptions/db5eb68e-73e2-4fa8-b18a-0123456789999/resourceGroups/rg1/providers/Microsoft.Compute/snapshots/s1 + ``` + +- Create an image by capturing an existing generalized virtual machine in the same resource group. + ```bash + image create -g MyResourceGroup -n image1 --source MyVm1 + ``` diff --git a/Commands/image/_delete.md b/Commands/image/_delete.md index 447b598fa..3c0324b30 100644 --- a/Commands/image/_delete.md +++ b/Commands/image/_delete.md @@ -23,3 +23,14 @@ Delete an Image. ### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2ltYWdlcy97fQ==/2024-07-01.xml) **Stable** + +### [2024-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2ltYWdlcy97fQ==/2024-11-01.xml) **Stable** + + + +#### examples + +- Image_Delete_MaximumSet_Gen + ```bash + image delete --resource-group rgcompute --image-name aaaaaaaaaaaaaaaaaaaaaaaaaaa + ``` diff --git a/Commands/image/_show.md b/Commands/image/_show.md index 003e32dcd..2a8115e54 100644 --- a/Commands/image/_show.md +++ b/Commands/image/_show.md @@ -23,3 +23,14 @@ Get an image. ### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2ltYWdlcy97fQ==/2024-07-01.xml) **Stable** + +### [2024-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2ltYWdlcy97fQ==/2024-11-01.xml) **Stable** + + + +#### examples + +- Get information about a virtual machine image. + ```bash + image show --resource-group myResourceGroup --image-name myImage + ``` diff --git a/Commands/image/_update.md b/Commands/image/_update.md index da4ca03d5..cf2f7a016 100644 --- a/Commands/image/_update.md +++ b/Commands/image/_update.md @@ -71,3 +71,19 @@ Update custom VM images. ```bash image update -n ImageName -g resourceGroup --tags ``` + +### [2024-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2ltYWdlcy97fQ==/2024-11-01.xml) **Stable** + + + +#### examples + +- Add or update tags. + ```bash + image update -n ImageName -g ResourceGroup --tags tag1=val1 tag2=val2 + ``` + +- Remove all tags. + ```bash + image update -n ImageName -g resourceGroup --tags + ``` diff --git a/Commands/readme.md b/Commands/readme.md index 21af835cd..4551c1def 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -341,6 +341,9 @@ - [sql](/Commands/sql/readme.md) : Manage Azure SQL Databases and Data Warehouses. +- [sshkey](/Commands/sshkey/readme.md) +: Manage Ssh Public Key + - [stack-hci](/Commands/stack-hci/readme.md) : Manage Azure Stack HCI. diff --git a/Commands/sshkey/_create.md b/Commands/sshkey/_create.md new file mode 100644 index 000000000..a82791501 --- /dev/null +++ b/Commands/sshkey/_create.md @@ -0,0 +1,16 @@ +# [Command] _sshkey create_ + +Create a new SSH public key resource. + +## Versions + +### [2025-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXMve30=/2025-04-01.xml) **Stable** + + + +#### examples + +- Create a new SSH public key resource. + ```bash + sshkey create --resource-group myResourceGroup --ssh-public-key-name mySshPublicKeyName --location westus --public-key {ssh-rsa public key} + ``` diff --git a/Commands/sshkey/_delete.md b/Commands/sshkey/_delete.md new file mode 100644 index 000000000..923a122aa --- /dev/null +++ b/Commands/sshkey/_delete.md @@ -0,0 +1,16 @@ +# [Command] _sshkey delete_ + +Delete a SSH public key. + +## Versions + +### [2025-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXMve30=/2025-04-01.xml) **Stable** + + + +#### examples + +- SshPublicKey_Delete_MaximumSet_Gen + ```bash + sshkey delete --resource-group rgcompute --ssh-public-key-name aaaaaaaaaa + ``` diff --git a/Commands/sshkey/_list.md b/Commands/sshkey/_list.md new file mode 100644 index 000000000..f22197fc8 --- /dev/null +++ b/Commands/sshkey/_list.md @@ -0,0 +1,17 @@ +# [Command] _sshkey list_ + +List all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys. + +## Versions + +### [2025-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXM=/2025-04-01.xml) **Stable** + + + + +#### examples + +- SshPublicKey_ListBySubscription_MaximumSet_Gen + ```bash + sshkey list + ``` diff --git a/Commands/sshkey/_show.md b/Commands/sshkey/_show.md new file mode 100644 index 000000000..1de156373 --- /dev/null +++ b/Commands/sshkey/_show.md @@ -0,0 +1,16 @@ +# [Command] _sshkey show_ + +Get information about a SSH public key. + +## Versions + +### [2025-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXMve30=/2025-04-01.xml) **Stable** + + + +#### examples + +- Get a ssh public key. + ```bash + sshkey show --resource-group myResourceGroup --ssh-public-key-name mySshPublicKeyName + ``` diff --git a/Commands/sshkey/_update.md b/Commands/sshkey/_update.md new file mode 100644 index 000000000..9a4fb73b4 --- /dev/null +++ b/Commands/sshkey/_update.md @@ -0,0 +1,16 @@ +# [Command] _sshkey update_ + +Update a SSH public key resource. + +## Versions + +### [2025-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXMve30=/2025-04-01.xml) **Stable** + + + +#### examples + +- Update a SSH public key resource. + ```bash + sshkey update --resource-group myResourceGroup --ssh-public-key-name mySshPublicKeyName --public-key {ssh-rsa public key} + ``` diff --git a/Commands/sshkey/readme.md b/Commands/sshkey/readme.md new file mode 100644 index 000000000..eee1d7387 --- /dev/null +++ b/Commands/sshkey/readme.md @@ -0,0 +1,20 @@ +# [Group] _sshkey_ + +Manage Ssh Public Key + +## Commands + +- [create](/Commands/sshkey/_create.md) +: Create a new SSH public key resource. + +- [delete](/Commands/sshkey/_delete.md) +: Delete a SSH public key. + +- [list](/Commands/sshkey/_list.md) +: List all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys. + +- [show](/Commands/sshkey/_show.md) +: Get information about a SSH public key. + +- [update](/Commands/sshkey/_update.md) +: Update a SSH public key resource. diff --git a/Commands/vm/image/_list.md b/Commands/vm/image/_list.md index fbe413534..64774f998 100644 --- a/Commands/vm/image/_list.md +++ b/Commands/vm/image/_list.md @@ -19,3 +19,7 @@ List a list of all virtual machine image versions for the specified location, pu ### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucw==/2024-07-01.xml) **Stable** + +### [2024-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucw==/2024-11-01.xml) **Stable** + + diff --git a/Commands/vm/image/_show.md b/Commands/vm/image/_show.md index 6f20fc5a8..3bf1e8d60 100644 --- a/Commands/vm/image/_show.md +++ b/Commands/vm/image/_show.md @@ -55,3 +55,14 @@ Get a virtual machine image. ### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucy97fQ==/2024-07-01.xml) **Stable** + +### [2024-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucy97fQ==/2024-11-01.xml) **Stable** + + + +#### examples + +- VirtualMachineImage_Get_MaximumSet_Gen + ```bash + vm image show --location aaaaaa --publisher aaa --offer aaaaaaaaaaaaaaaaaaaaaaaaaaaaa --sku aaaaaaaaaaaaaaaaaaaaaaaaaaa --version aaaaaaaaaaaaaaaaaaa + ``` diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucw==/2024-11-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucw==/2024-11-01.json new file mode 100644 index 000000000..a8f298b99 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucw==/2024-11-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/publishers/{}/artifacttypes/vmimage/offers/{}/skus/{}/versions", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcHVibGlzaGVycy97cHVibGlzaGVyTmFtZX0vYXJ0aWZhY3R0eXBlcy92bWltYWdlL29mZmVycy97b2ZmZXJ9L3NrdXMve3NrdXN9L3ZlcnNpb25z/V/MjAyNC0xMS0wMQ=="}], "commandGroups": [{"name": "vm image", "commands": [{"name": "list", "version": "2024-11-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/publishers/{}/artifacttypes/vmimage/offers/{}/skus/{}/versions", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcHVibGlzaGVycy97cHVibGlzaGVyTmFtZX0vYXJ0aWZhY3R0eXBlcy92bWltYWdlL29mZmVycy97b2ZmZXJ9L3NrdXMve3NrdXN9L3ZlcnNpb25z/V/MjAyNC0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "string", "var": "$Path.offer", "options": ["f", "offer"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "A valid image publisher offer."}}, {"type": "string", "var": "$Path.publisherName", "options": ["p", "publisher"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "A valid image publisher."}}, {"type": "string", "var": "$Path.skus", "options": ["s", "sku"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "A valid image SKU."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "required": true, "group": "", "help": {"short": "The expand expression to apply on the operation."}, "default": {"value": "properties"}}, {"type": "string", "var": "$Query.orderby", "options": ["orderby"]}, {"type": "integer32", "var": "$Query.top", "options": ["top"]}]}], "operations": [{"operationId": "VirtualMachineImages_ListWithProperties", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "offer", "arg": "$Path.offer", "required": true}, {"type": "string", "name": "publisherName", "arg": "$Path.publisherName", "required": true}, {"type": "string", "name": "skus", "arg": "$Path.skus", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand", "required": true}, {"type": "string", "name": "$orderby", "arg": "$Query.orderby"}, {"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "array", "item": {"type": "object", "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "string", "name": "id"}, {"type": "string", "name": "location", "required": true}, {"type": "string", "name": "name", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "object", "name": "automaticOSUpgradeProperties", "props": [{"type": "boolean", "name": "automaticOSUpgradeSupported", "required": true}]}, {"type": "array", "name": "dataDiskImages", "item": {"type": "object", "props": [{"readOnly": true, "type": "integer32", "name": "lun"}]}, "identifiers": ["lun"]}, {"type": "object", "name": "disallowed", "props": [{"type": "string", "name": "vmDiskType", "enum": {"items": [{"value": "None"}, {"value": "Unmanaged"}]}}]}, {"type": "array", "name": "features", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}, "identifiers": ["name"]}, {"type": "string", "name": "hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "imageDeprecationStatus", "props": [{"type": "object", "name": "alternativeOption", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "Offer"}, {"value": "Plan"}]}}, {"type": "string", "name": "value"}]}, {"type": "string", "name": "imageState", "enum": {"items": [{"value": "Active"}, {"value": "Deprecated"}, {"value": "ScheduledForDeprecation"}]}}, {"type": "dateTime", "name": "scheduledDeprecationTime", "format": {"protocol": "iso"}}]}, {"type": "object", "name": "osDiskImage", "props": [{"type": "string", "name": "operatingSystem", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}]}, {"type": "object", "name": "plan", "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "product", "required": true}, {"type": "string", "name": "publisher", "required": true}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucw==/2024-11-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucw==/2024-11-01.xml new file mode 100644 index 000000000..77f22dd5d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucw==/2024-11-01.xml @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucy97fQ==/2024-11-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucy97fQ==/2024-11-01.json new file mode 100644 index 000000000..604da4e5a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucy97fQ==/2024-11-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/publishers/{}/artifacttypes/vmimage/offers/{}/skus/{}/versions/{}", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcHVibGlzaGVycy97cHVibGlzaGVyTmFtZX0vYXJ0aWZhY3R0eXBlcy92bWltYWdlL29mZmVycy97b2ZmZXJ9L3NrdXMve3NrdXN9L3ZlcnNpb25zL3t2ZXJzaW9ufQ==/V/MjAyNC0xMS0wMQ=="}], "commandGroups": [{"name": "vm image", "commands": [{"name": "show", "version": "2024-11-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/publishers/{}/artifacttypes/vmimage/offers/{}/skus/{}/versions/{}", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcHVibGlzaGVycy97cHVibGlzaGVyTmFtZX0vYXJ0aWZhY3R0eXBlcy92bWltYWdlL29mZmVycy97b2ZmZXJ9L3NrdXMve3NrdXN9L3ZlcnNpb25zL3t2ZXJzaW9ufQ==/V/MjAyNC0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "string", "var": "$Path.offer", "options": ["f", "offer"], "required": true, "group": "", "idPart": "child_name_3", "help": {"short": "A valid image publisher offer."}}, {"type": "string", "var": "$Path.publisherName", "options": ["p", "publisher"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "A valid image publisher."}}, {"type": "string", "var": "$Path.skus", "options": ["s", "sku"], "required": true, "group": "", "idPart": "child_name_4", "help": {"short": "A valid image SKU."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.version", "options": ["version"], "required": true, "group": "", "idPart": "child_name_5", "help": {"short": "A valid image SKU version."}}]}], "operations": [{"operationId": "VirtualMachineImages_Get", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "offer", "arg": "$Path.offer", "required": true}, {"type": "string", "name": "publisherName", "arg": "$Path.publisherName", "required": true}, {"type": "string", "name": "skus", "arg": "$Path.skus", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "version", "arg": "$Path.version", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "string", "name": "id"}, {"type": "string", "name": "location", "required": true}, {"type": "string", "name": "name", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "object", "name": "automaticOSUpgradeProperties", "props": [{"type": "boolean", "name": "automaticOSUpgradeSupported", "required": true}]}, {"type": "array", "name": "dataDiskImages", "item": {"type": "object", "props": [{"readOnly": true, "type": "integer32", "name": "lun"}]}, "identifiers": ["lun"]}, {"type": "object", "name": "disallowed", "props": [{"type": "string", "name": "vmDiskType", "enum": {"items": [{"value": "None"}, {"value": "Unmanaged"}]}}]}, {"type": "array", "name": "features", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "value"}]}, "identifiers": ["name"]}, {"type": "string", "name": "hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "imageDeprecationStatus", "props": [{"type": "object", "name": "alternativeOption", "props": [{"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "Offer"}, {"value": "Plan"}]}}, {"type": "string", "name": "value"}]}, {"type": "string", "name": "imageState", "enum": {"items": [{"value": "Active"}, {"value": "Deprecated"}, {"value": "ScheduledForDeprecation"}]}}, {"type": "dateTime", "name": "scheduledDeprecationTime", "format": {"protocol": "iso"}}]}, {"type": "object", "name": "osDiskImage", "props": [{"type": "string", "name": "operatingSystem", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}]}, {"type": "object", "name": "plan", "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "product", "required": true}, {"type": "string", "name": "publisher", "required": true}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucy97fQ==/2024-11-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucy97fQ==/2024-11-01.xml new file mode 100644 index 000000000..b3d6e4361 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wdWJsaXNoZXJzL3t9L2FydGlmYWN0dHlwZXMvdm1pbWFnZS9vZmZlcnMve30vc2t1cy97fS92ZXJzaW9ucy97fQ==/2024-11-01.xml @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXM=/2025-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXM=/2025-04-01.json new file mode 100644 index 000000000..7a72b8073 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXM=/2025-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/sshpublickeys", "version": "2025-04-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvc3NoUHVibGljS2V5cw==/V/MjAyNS0wNC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/sshpublickeys", "version": "2025-04-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9zc2hQdWJsaWNLZXlz/V/MjAyNS0wNC0wMQ=="}], "commandGroups": [{"name": "sshkey", "commands": [{"name": "list", "version": "2025-04-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/sshpublickeys", "version": "2025-04-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvc3NoUHVibGljS2V5cw==/V/MjAyNS0wNC0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/sshpublickeys", "version": "2025-04-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9zc2hQdWJsaWNLZXlz/V/MjAyNS0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_SshPublicKeys_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_SshPublicKeys_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_SshPublicKeys_ListBySubscription"], "operationId": "SshPublicKeys_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/sshPublicKeys/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "publicKey"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_SshPublicKeys_ListByResourceGroup"], "operationId": "SshPublicKeys_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/sshPublicKeys/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "publicKey"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXM=/2025-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXM=/2025-04-01.xml new file mode 100644 index 000000000..82eefcd80 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXM=/2025-04-01.xml @@ -0,0 +1,187 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2ltYWdlcy97fQ==/2024-11-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2ltYWdlcy97fQ==/2024-11-01.json new file mode 100644 index 000000000..0e6d730c3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2ltYWdlcy97fQ==/2024-11-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9pbWFnZXMve2ltYWdlTmFtZX0=/V/MjAyNC0xMS0wMQ=="}], "commandGroups": [{"name": "image", "commands": [{"name": "show", "version": "2024-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9pbWFnZXMve2ltYWdlTmFtZX0=/V/MjAyNC0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.imageName", "options": ["n", "name", "image-name"], "required": true, "idPart": "name", "help": {"short": "The name of the image."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "The expand expression to apply on the operation."}}]}], "operations": [{"operationId": "Images_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "imageName", "arg": "$Path.imageName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "object", "name": "sourceVirtualMachine", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "storageProfile", "props": [{"type": "array", "name": "dataDisks", "item": {"type": "object", "props": [{"type": "string", "name": "blobUri"}, {"type": "string", "name": "caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "@DiskEncryptionSetParameters_read", "name": "diskEncryptionSet"}, {"type": "integer32", "name": "diskSizeGB"}, {"type": "integer32", "name": "lun", "required": true}, {"type": "@SubResource_read", "name": "managedDisk"}, {"type": "@SubResource_read", "name": "snapshot"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "PremiumV2_LRS"}, {"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}, {"value": "UltraSSD_LRS"}]}}]}, "identifiers": ["lun"]}, {"type": "object", "name": "osDisk", "props": [{"type": "string", "name": "blobUri"}, {"type": "string", "name": "caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "object", "name": "diskEncryptionSet", "props": [{"type": "string", "name": "id"}], "cls": "DiskEncryptionSetParameters_read"}, {"type": "integer32", "name": "diskSizeGB"}, {"type": "@SubResource_read", "name": "managedDisk"}, {"type": "string", "name": "osState", "required": true, "enum": {"items": [{"value": "Generalized"}, {"value": "Specialized"}]}}, {"type": "string", "name": "osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "@SubResource_read", "name": "snapshot"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "PremiumV2_LRS"}, {"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}, {"value": "UltraSSD_LRS"}]}}]}, {"type": "boolean", "name": "zoneResilient"}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9pbWFnZXMve2ltYWdlTmFtZX0=/V/MjAyNC0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.imageName", "options": ["n", "name", "image-name"], "required": true, "idPart": "name", "help": {"short": "The name of the image."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Images_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "imageName", "arg": "$Path.imageName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2024-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9pbWFnZXMve2ltYWdlTmFtZX0=/V/MjAyNC0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.imageName", "options": ["n", "name", "image-name"], "required": true, "idPart": "name", "help": {"short": "The name of the image."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "object", "var": "$parameters.extendedLocation", "options": ["extended-location"], "group": "Parameters", "help": {"short": "The extended location of the Image."}, "args": [{"type": "string", "var": "$parameters.extendedLocation.name", "options": ["name"], "help": {"short": "The name of the extended location."}}, {"type": "string", "var": "$parameters.extendedLocation.type", "options": ["type"], "help": {"short": "The type of the extended location."}, "enum": {"items": [{"name": "EdgeZone", "value": "EdgeZone"}]}}]}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "Resource location"}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.hyperVGeneration", "options": ["hyper-v-generation"], "group": "Properties", "help": {"short": "The hypervisor generation of the Virtual Machine created from the image."}, "default": {"value": "V1"}, "enum": {"items": [{"name": "V1", "value": "V1"}, {"name": "V2", "value": "V2"}]}}, {"type": "object", "var": "$parameters.properties.sourceVirtualMachine", "options": ["source-virtual-machine"], "group": "Properties", "help": {"short": "The source virtual machine from which Image is created."}, "args": [{"type": "string", "var": "$parameters.properties.sourceVirtualMachine.id", "options": ["id"], "help": {"short": "Resource Id"}}]}, {"type": "object", "var": "$parameters.properties.storageProfile", "options": ["storage-profile"], "group": "Properties", "help": {"short": "Specifies the storage settings for the virtual machine disks."}, "args": [{"type": "array", "var": "$parameters.properties.storageProfile.dataDisks", "options": ["data-disks"], "group": "", "help": {"short": "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://learn.microsoft.com/azure/virtual-machines/managed-disks-overview)."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.storageProfile.dataDisks[].blobUri", "options": ["blob-uri"], "help": {"short": "The Virtual Hard Disk."}}, {"type": "string", "var": "$parameters.properties.storageProfile.dataDisks[].caching", "options": ["caching"], "help": {"short": "Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage**"}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadOnly", "value": "ReadOnly"}, {"name": "ReadWrite", "value": "ReadWrite"}]}}, {"type": "@DiskEncryptionSetParameters_create", "var": "$parameters.properties.storageProfile.dataDisks[].diskEncryptionSet", "options": ["disk-encryption-set"], "help": {"short": "Specifies the customer managed disk encryption set resource id for the managed image disk."}}, {"type": "integer32", "var": "$parameters.properties.storageProfile.dataDisks[].diskSizeGB", "options": ["disk-size-gb"], "help": {"short": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.

This value cannot be larger than 1023 GB"}}, {"type": "integer32", "var": "$parameters.properties.storageProfile.dataDisks[].lun", "options": ["lun"], "required": true, "help": {"short": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM."}}, {"type": "object", "var": "$parameters.properties.storageProfile.dataDisks[].managedDisk", "options": ["managed-disk"], "help": {"short": "The managedDisk."}, "args": [{"type": "string", "var": "$parameters.properties.storageProfile.dataDisks[].managedDisk.id", "options": ["id"], "help": {"short": "Resource Id"}}]}, {"type": "object", "var": "$parameters.properties.storageProfile.dataDisks[].snapshot", "options": ["snapshot"], "help": {"short": "The snapshot."}, "args": [{"type": "string", "var": "$parameters.properties.storageProfile.dataDisks[].snapshot.id", "options": ["id"], "help": {"short": "Resource Id"}}]}, {"type": "string", "var": "$parameters.properties.storageProfile.dataDisks[].storageAccountType", "options": ["storage-account-type"], "help": {"short": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk."}, "enum": {"items": [{"name": "PremiumV2_LRS", "value": "PremiumV2_LRS"}, {"name": "Premium_LRS", "value": "Premium_LRS"}, {"name": "Premium_ZRS", "value": "Premium_ZRS"}, {"name": "StandardSSD_LRS", "value": "StandardSSD_LRS"}, {"name": "StandardSSD_ZRS", "value": "StandardSSD_ZRS"}, {"name": "Standard_LRS", "value": "Standard_LRS"}, {"name": "UltraSSD_LRS", "value": "UltraSSD_LRS"}]}}]}}, {"type": "object", "var": "$parameters.properties.storageProfile.osDisk", "options": ["os-disk"], "group": "", "help": {"short": "Specifies information about the operating system disk used by the virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://learn.microsoft.com/azure/virtual-machines/managed-disks-overview)."}, "args": [{"type": "string", "var": "$parameters.properties.storageProfile.osDisk.blobUri", "options": ["blob-uri"], "help": {"short": "The Virtual Hard Disk."}}, {"type": "string", "var": "$parameters.properties.storageProfile.osDisk.caching", "options": ["caching"], "help": {"short": "Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage**"}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadOnly", "value": "ReadOnly"}, {"name": "ReadWrite", "value": "ReadWrite"}]}}, {"type": "object", "var": "$parameters.properties.storageProfile.osDisk.diskEncryptionSet", "options": ["disk-encryption-set"], "help": {"short": "Specifies the customer managed disk encryption set resource id for the managed image disk."}, "args": [{"type": "string", "var": "@DiskEncryptionSetParameters_create.id", "options": ["id"], "help": {"short": "Resource Id"}}], "cls": "DiskEncryptionSetParameters_create"}, {"type": "integer32", "var": "$parameters.properties.storageProfile.osDisk.diskSizeGB", "options": ["disk-size-gb"], "help": {"short": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.

This value cannot be larger than 1023 GB"}}, {"type": "object", "var": "$parameters.properties.storageProfile.osDisk.managedDisk", "options": ["managed-disk"], "help": {"short": "The managedDisk."}, "args": [{"type": "string", "var": "@SubResource_create.id", "options": ["id"], "help": {"short": "Resource Id"}}], "cls": "SubResource_create"}, {"type": "string", "var": "$parameters.properties.storageProfile.osDisk.osState", "options": ["os-state"], "required": true, "help": {"short": "The OS State. For managed images, use Generalized."}, "enum": {"items": [{"name": "Generalized", "value": "Generalized"}, {"name": "Specialized", "value": "Specialized"}]}}, {"type": "string", "var": "$parameters.properties.storageProfile.osDisk.osType", "options": ["os-type"], "required": true, "help": {"short": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.

Possible values are:

**Windows**

**Linux**"}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"type": "object", "var": "$parameters.properties.storageProfile.osDisk.snapshot", "options": ["snapshot"], "help": {"short": "The snapshot."}, "args": [{"type": "string", "var": "$parameters.properties.storageProfile.osDisk.snapshot.id", "options": ["id"], "help": {"short": "Resource Id"}}]}, {"type": "string", "var": "$parameters.properties.storageProfile.osDisk.storageAccountType", "options": ["storage-account-type"], "help": {"short": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk."}, "enum": {"items": [{"name": "PremiumV2_LRS", "value": "PremiumV2_LRS"}, {"name": "Premium_LRS", "value": "Premium_LRS"}, {"name": "Premium_ZRS", "value": "Premium_ZRS"}, {"name": "StandardSSD_LRS", "value": "StandardSSD_LRS"}, {"name": "StandardSSD_ZRS", "value": "StandardSSD_ZRS"}, {"name": "Standard_LRS", "value": "Standard_LRS"}, {"name": "UltraSSD_LRS", "value": "UltraSSD_LRS"}]}}]}, {"type": "boolean", "var": "$parameters.properties.storageProfile.zoneResilient", "options": ["zone-resilient"], "help": {"short": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS)."}}]}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Images_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "imageName", "arg": "$Path.imageName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "extendedLocation", "arg": "$parameters.extendedLocation", "props": [{"type": "string", "name": "name", "arg": "$parameters.extendedLocation.name"}, {"type": "string", "name": "type", "arg": "$parameters.extendedLocation.type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "hyperVGeneration", "arg": "$parameters.properties.hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "sourceVirtualMachine", "arg": "$parameters.properties.sourceVirtualMachine", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.sourceVirtualMachine.id"}]}, {"type": "object", "name": "storageProfile", "arg": "$parameters.properties.storageProfile", "props": [{"type": "array", "name": "dataDisks", "arg": "$parameters.properties.storageProfile.dataDisks", "item": {"type": "object", "props": [{"type": "string", "name": "blobUri", "arg": "$parameters.properties.storageProfile.dataDisks[].blobUri"}, {"type": "string", "name": "caching", "arg": "$parameters.properties.storageProfile.dataDisks[].caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "@DiskEncryptionSetParameters_create", "name": "diskEncryptionSet", "arg": "$parameters.properties.storageProfile.dataDisks[].diskEncryptionSet"}, {"type": "integer32", "name": "diskSizeGB", "arg": "$parameters.properties.storageProfile.dataDisks[].diskSizeGB"}, {"type": "integer32", "name": "lun", "arg": "$parameters.properties.storageProfile.dataDisks[].lun", "required": true}, {"type": "object", "name": "managedDisk", "arg": "$parameters.properties.storageProfile.dataDisks[].managedDisk", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.storageProfile.dataDisks[].managedDisk.id"}]}, {"type": "object", "name": "snapshot", "arg": "$parameters.properties.storageProfile.dataDisks[].snapshot", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.storageProfile.dataDisks[].snapshot.id"}]}, {"type": "string", "name": "storageAccountType", "arg": "$parameters.properties.storageProfile.dataDisks[].storageAccountType", "enum": {"items": [{"value": "PremiumV2_LRS"}, {"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}, {"value": "UltraSSD_LRS"}]}}]}, "identifiers": ["lun"]}, {"type": "object", "name": "osDisk", "arg": "$parameters.properties.storageProfile.osDisk", "props": [{"type": "string", "name": "blobUri", "arg": "$parameters.properties.storageProfile.osDisk.blobUri"}, {"type": "string", "name": "caching", "arg": "$parameters.properties.storageProfile.osDisk.caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "object", "name": "diskEncryptionSet", "arg": "$parameters.properties.storageProfile.osDisk.diskEncryptionSet", "props": [{"type": "string", "name": "id", "arg": "@DiskEncryptionSetParameters_create.id"}], "cls": "DiskEncryptionSetParameters_create"}, {"type": "integer32", "name": "diskSizeGB", "arg": "$parameters.properties.storageProfile.osDisk.diskSizeGB"}, {"type": "object", "name": "managedDisk", "arg": "$parameters.properties.storageProfile.osDisk.managedDisk", "props": [{"type": "string", "name": "id", "arg": "@SubResource_create.id"}], "cls": "SubResource_create"}, {"type": "string", "name": "osState", "arg": "$parameters.properties.storageProfile.osDisk.osState", "required": true, "enum": {"items": [{"value": "Generalized"}, {"value": "Specialized"}]}}, {"type": "string", "name": "osType", "arg": "$parameters.properties.storageProfile.osDisk.osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "object", "name": "snapshot", "arg": "$parameters.properties.storageProfile.osDisk.snapshot", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.storageProfile.osDisk.snapshot.id"}]}, {"type": "string", "name": "storageAccountType", "arg": "$parameters.properties.storageProfile.osDisk.storageAccountType", "enum": {"items": [{"value": "PremiumV2_LRS"}, {"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}, {"value": "UltraSSD_LRS"}]}}]}, {"type": "boolean", "name": "zoneResilient", "arg": "$parameters.properties.storageProfile.zoneResilient"}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "object", "name": "sourceVirtualMachine", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "storageProfile", "props": [{"type": "array", "name": "dataDisks", "item": {"type": "object", "props": [{"type": "string", "name": "blobUri"}, {"type": "string", "name": "caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "@DiskEncryptionSetParameters_read", "name": "diskEncryptionSet"}, {"type": "integer32", "name": "diskSizeGB"}, {"type": "integer32", "name": "lun", "required": true}, {"type": "@SubResource_read", "name": "managedDisk"}, {"type": "@SubResource_read", "name": "snapshot"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "PremiumV2_LRS"}, {"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}, {"value": "UltraSSD_LRS"}]}}]}, "identifiers": ["lun"]}, {"type": "object", "name": "osDisk", "props": [{"type": "string", "name": "blobUri"}, {"type": "string", "name": "caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "object", "name": "diskEncryptionSet", "props": [{"type": "string", "name": "id"}], "cls": "DiskEncryptionSetParameters_read"}, {"type": "integer32", "name": "diskSizeGB"}, {"type": "@SubResource_read", "name": "managedDisk"}, {"type": "string", "name": "osState", "required": true, "enum": {"items": [{"value": "Generalized"}, {"value": "Specialized"}]}}, {"type": "string", "name": "osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "@SubResource_read", "name": "snapshot"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "PremiumV2_LRS"}, {"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}, {"value": "UltraSSD_LRS"}]}}]}, {"type": "boolean", "name": "zoneResilient"}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9pbWFnZXMve2ltYWdlTmFtZX0=/V/MjAyNC0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.imageName", "options": ["n", "name", "image-name"], "required": true, "idPart": "name", "help": {"short": "The name of the image."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "object", "var": "$parameters.extendedLocation", "options": ["extended-location"], "hide": true, "group": "Parameters", "help": {"short": "The extended location of the Image."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.extendedLocation.name", "options": ["name"], "help": {"short": "The name of the extended location."}}, {"nullable": true, "type": "string", "var": "$parameters.extendedLocation.type", "options": ["type"], "help": {"short": "The type of the extended location."}, "enum": {"items": [{"name": "EdgeZone", "value": "EdgeZone"}]}}]}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.hyperVGeneration", "options": ["hyper-v-generation"], "hide": true, "group": "Properties", "help": {"short": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource."}, "enum": {"items": [{"name": "V1", "value": "V1"}, {"name": "V2", "value": "V2"}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.sourceVirtualMachine", "options": ["source-virtual-machine"], "hide": true, "group": "Properties", "help": {"short": "The source virtual machine from which Image is created."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.sourceVirtualMachine.id", "options": ["id"], "help": {"short": "Resource Id"}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.storageProfile", "options": ["storage-profile"], "hide": true, "group": "Properties", "help": {"short": "Specifies the storage settings for the virtual machine disks."}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.storageProfile.dataDisks", "options": ["data-disks"], "help": {"short": "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)."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.storageProfile.dataDisks[].blobUri", "options": ["blob-uri"], "help": {"short": "The Virtual Hard Disk."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.storageProfile.dataDisks[].caching", "options": ["caching"], "help": {"short": "Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage**"}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadOnly", "value": "ReadOnly"}, {"name": "ReadWrite", "value": "ReadWrite"}]}}, {"nullable": true, "type": "@DiskEncryptionSetParameters_update", "var": "$parameters.properties.storageProfile.dataDisks[].diskEncryptionSet", "options": ["disk-encryption-set"], "help": {"short": "Specifies the customer managed disk encryption set resource id for the managed image disk."}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.storageProfile.dataDisks[].diskSizeGB", "options": ["disk-size-gb"], "help": {"short": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.

This value cannot be larger than 1023 GB"}}, {"type": "integer32", "var": "$parameters.properties.storageProfile.dataDisks[].lun", "options": ["lun"], "help": {"short": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM."}}, {"nullable": true, "type": "object", "var": "$parameters.properties.storageProfile.dataDisks[].managedDisk", "options": ["managed-disk"], "help": {"short": "The managedDisk."}, "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource Id"}}], "cls": "SubResource_update"}, {"nullable": true, "type": "@SubResource_update", "var": "$parameters.properties.storageProfile.dataDisks[].snapshot", "options": ["snapshot"], "help": {"short": "The snapshot."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.storageProfile.dataDisks[].storageAccountType", "options": ["storage-account-type"], "help": {"short": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk."}, "enum": {"items": [{"name": "PremiumV2_LRS", "value": "PremiumV2_LRS"}, {"name": "Premium_LRS", "value": "Premium_LRS"}, {"name": "Premium_ZRS", "value": "Premium_ZRS"}, {"name": "StandardSSD_LRS", "value": "StandardSSD_LRS"}, {"name": "StandardSSD_ZRS", "value": "StandardSSD_ZRS"}, {"name": "Standard_LRS", "value": "Standard_LRS"}, {"name": "UltraSSD_LRS", "value": "UltraSSD_LRS"}]}}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.storageProfile.osDisk", "options": ["os-disk"], "help": {"short": "Specifies information about the operating system disk used by the 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)."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.storageProfile.osDisk.blobUri", "options": ["blob-uri"], "help": {"short": "The Virtual Hard Disk."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.storageProfile.osDisk.caching", "options": ["caching"], "help": {"short": "Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage**"}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadOnly", "value": "ReadOnly"}, {"name": "ReadWrite", "value": "ReadWrite"}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.storageProfile.osDisk.diskEncryptionSet", "options": ["disk-encryption-set"], "help": {"short": "Specifies the customer managed disk encryption set resource id for the managed image disk."}, "args": [{"nullable": true, "type": "string", "var": "@DiskEncryptionSetParameters_update.id", "options": ["id"], "help": {"short": "Resource Id"}}], "cls": "DiskEncryptionSetParameters_update"}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.storageProfile.osDisk.diskSizeGB", "options": ["disk-size-gb"], "help": {"short": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.

This value cannot be larger than 1023 GB"}}, {"nullable": true, "type": "@SubResource_update", "var": "$parameters.properties.storageProfile.osDisk.managedDisk", "options": ["managed-disk"], "help": {"short": "The managedDisk."}}, {"type": "string", "var": "$parameters.properties.storageProfile.osDisk.osState", "options": ["os-state"], "help": {"short": "The OS State. For managed images, use Generalized."}, "enum": {"items": [{"name": "Generalized", "value": "Generalized"}, {"name": "Specialized", "value": "Specialized"}]}}, {"type": "string", "var": "$parameters.properties.storageProfile.osDisk.osType", "options": ["os-type"], "help": {"short": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.

Possible values are:

**Windows**

**Linux**"}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"nullable": true, "type": "@SubResource_update", "var": "$parameters.properties.storageProfile.osDisk.snapshot", "options": ["snapshot"], "help": {"short": "The snapshot."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.storageProfile.osDisk.storageAccountType", "options": ["storage-account-type"], "help": {"short": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk."}, "enum": {"items": [{"name": "PremiumV2_LRS", "value": "PremiumV2_LRS"}, {"name": "Premium_LRS", "value": "Premium_LRS"}, {"name": "Premium_ZRS", "value": "Premium_ZRS"}, {"name": "StandardSSD_LRS", "value": "StandardSSD_LRS"}, {"name": "StandardSSD_ZRS", "value": "StandardSSD_ZRS"}, {"name": "Standard_LRS", "value": "Standard_LRS"}, {"name": "UltraSSD_LRS", "value": "UltraSSD_LRS"}]}}]}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.storageProfile.zoneResilient", "options": ["zone-resilient"], "help": {"short": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS)."}}]}]}], "operations": [{"operationId": "Images_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "imageName", "arg": "$Path.imageName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"type": "object", "name": "sourceVirtualMachine", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "object", "name": "storageProfile", "props": [{"type": "array", "name": "dataDisks", "item": {"type": "object", "props": [{"type": "string", "name": "blobUri"}, {"type": "string", "name": "caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "@DiskEncryptionSetParameters_read", "name": "diskEncryptionSet"}, {"type": "integer32", "name": "diskSizeGB"}, {"type": "integer32", "name": "lun", "required": true}, {"type": "@SubResource_read", "name": "managedDisk"}, {"type": "@SubResource_read", "name": "snapshot"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "PremiumV2_LRS"}, {"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}, {"value": "UltraSSD_LRS"}]}}]}, "identifiers": ["lun"]}, {"type": "object", "name": "osDisk", "props": [{"type": "string", "name": "blobUri"}, {"type": "string", "name": "caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "object", "name": "diskEncryptionSet", "props": [{"type": "string", "name": "id"}], "cls": "DiskEncryptionSetParameters_read"}, {"type": "integer32", "name": "diskSizeGB"}, {"type": "@SubResource_read", "name": "managedDisk"}, {"type": "string", "name": "osState", "required": true, "enum": {"items": [{"value": "Generalized"}, {"value": "Specialized"}]}}, {"type": "string", "name": "osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "@SubResource_read", "name": "snapshot"}, {"type": "string", "name": "storageAccountType", "enum": {"items": [{"value": "PremiumV2_LRS"}, {"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}, {"value": "UltraSSD_LRS"}]}}]}, {"type": "boolean", "name": "zoneResilient"}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Image_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "extendedLocation", "arg": "$parameters.extendedLocation", "props": [{"type": "string", "name": "name", "arg": "$parameters.extendedLocation.name"}, {"type": "string", "name": "type", "arg": "$parameters.extendedLocation.type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "hyperVGeneration", "arg": "$parameters.properties.hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "sourceVirtualMachine", "arg": "$parameters.properties.sourceVirtualMachine", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.sourceVirtualMachine.id"}]}, {"type": "object", "name": "storageProfile", "arg": "$parameters.properties.storageProfile", "props": [{"type": "array", "name": "dataDisks", "arg": "$parameters.properties.storageProfile.dataDisks", "item": {"type": "object", "props": [{"type": "string", "name": "blobUri", "arg": "$parameters.properties.storageProfile.dataDisks[].blobUri"}, {"type": "string", "name": "caching", "arg": "$parameters.properties.storageProfile.dataDisks[].caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "@DiskEncryptionSetParameters_update", "name": "diskEncryptionSet", "arg": "$parameters.properties.storageProfile.dataDisks[].diskEncryptionSet"}, {"type": "integer32", "name": "diskSizeGB", "arg": "$parameters.properties.storageProfile.dataDisks[].diskSizeGB"}, {"type": "integer32", "name": "lun", "arg": "$parameters.properties.storageProfile.dataDisks[].lun", "required": true}, {"type": "object", "name": "managedDisk", "arg": "$parameters.properties.storageProfile.dataDisks[].managedDisk", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}, {"type": "@SubResource_update", "name": "snapshot", "arg": "$parameters.properties.storageProfile.dataDisks[].snapshot"}, {"type": "string", "name": "storageAccountType", "arg": "$parameters.properties.storageProfile.dataDisks[].storageAccountType", "enum": {"items": [{"value": "PremiumV2_LRS"}, {"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}, {"value": "UltraSSD_LRS"}]}}]}, "identifiers": ["lun"]}, {"type": "object", "name": "osDisk", "arg": "$parameters.properties.storageProfile.osDisk", "props": [{"type": "string", "name": "blobUri", "arg": "$parameters.properties.storageProfile.osDisk.blobUri"}, {"type": "string", "name": "caching", "arg": "$parameters.properties.storageProfile.osDisk.caching", "enum": {"items": [{"value": "None"}, {"value": "ReadOnly"}, {"value": "ReadWrite"}]}}, {"type": "object", "name": "diskEncryptionSet", "arg": "$parameters.properties.storageProfile.osDisk.diskEncryptionSet", "props": [{"type": "string", "name": "id", "arg": "@DiskEncryptionSetParameters_update.id"}], "cls": "DiskEncryptionSetParameters_update"}, {"type": "integer32", "name": "diskSizeGB", "arg": "$parameters.properties.storageProfile.osDisk.diskSizeGB"}, {"type": "@SubResource_update", "name": "managedDisk", "arg": "$parameters.properties.storageProfile.osDisk.managedDisk"}, {"type": "string", "name": "osState", "arg": "$parameters.properties.storageProfile.osDisk.osState", "required": true, "enum": {"items": [{"value": "Generalized"}, {"value": "Specialized"}]}}, {"type": "string", "name": "osType", "arg": "$parameters.properties.storageProfile.osDisk.osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "@SubResource_update", "name": "snapshot", "arg": "$parameters.properties.storageProfile.osDisk.snapshot"}, {"type": "string", "name": "storageAccountType", "arg": "$parameters.properties.storageProfile.osDisk.storageAccountType", "enum": {"items": [{"value": "PremiumV2_LRS"}, {"value": "Premium_LRS"}, {"value": "Premium_ZRS"}, {"value": "StandardSSD_LRS"}, {"value": "StandardSSD_ZRS"}, {"value": "Standard_LRS"}, {"value": "UltraSSD_LRS"}]}}]}, {"type": "boolean", "name": "zoneResilient", "arg": "$parameters.properties.storageProfile.zoneResilient"}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "location"}, "operationId": "Images_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "imageName", "arg": "$Path.imageName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Image_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2ltYWdlcy97fQ==/2024-11-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2ltYWdlcy97fQ==/2024-11-01.xml new file mode 100644 index 000000000..69ad0eb27 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2ltYWdlcy97fQ==/2024-11-01.xml @@ -0,0 +1,1129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXM=/2025-04-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXM=/2025-04-01.md new file mode 100644 index 000000000..0b3810e0a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXM=/2025-04-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.compute/sshpublickeys 2025-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXM=/2025-04-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXMve30=/2025-04-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXMve30=/2025-04-01.json new file mode 100644 index 000000000..61fdf834b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXMve30=/2025-04-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/sshpublickeys/{}", "version": "2025-04-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9zc2hQdWJsaWNLZXlzL3tzc2hQdWJsaWNLZXlOYW1lfQ==/V/MjAyNS0wNC0wMQ=="}], "commandGroups": [{"name": "sshkey", "commands": [{"name": "show", "version": "2025-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/sshpublickeys/{}", "version": "2025-04-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9zc2hQdWJsaWNLZXlzL3tzc2hQdWJsaWNLZXlOYW1lfQ==/V/MjAyNS0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.sshPublicKeyName", "options": ["n", "name", "ssh-public-key-name"], "required": true, "idPart": "name", "help": {"short": "The name of the SSH public key."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "SshPublicKeys_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "sshPublicKeyName", "arg": "$Path.sshPublicKeyName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/sshPublicKeys/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "publicKey"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2025-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/sshpublickeys/{}", "version": "2025-04-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9zc2hQdWJsaWNLZXlzL3tzc2hQdWJsaWNLZXlOYW1lfQ==/V/MjAyNS0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.sshPublicKeyName", "options": ["n", "name", "ssh-public-key-name"], "required": true, "idPart": "name", "help": {"short": "The name of the SSH public key."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "SshPublicKeys_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "sshPublicKeyName", "arg": "$Path.sshPublicKeyName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2025-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/sshpublickeys/{}", "version": "2025-04-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9zc2hQdWJsaWNLZXlzL3tzc2hQdWJsaWNLZXlOYW1lfQ==/V/MjAyNS0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.sshPublicKeyName", "options": ["n", "name", "ssh-public-key-name"], "required": true, "idPart": "name", "help": {"short": "The name of the SSH public key."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.properties.publicKey", "options": ["public-key"], "group": "Properties", "help": {"short": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format."}}]}], "operations": [{"operationId": "SshPublicKeys_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "sshPublicKeyName", "arg": "$Path.sshPublicKeyName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "publicKey", "arg": "$parameters.properties.publicKey"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/sshPublicKeys/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "publicKey"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2025-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/sshpublickeys/{}", "version": "2025-04-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9zc2hQdWJsaWNLZXlzL3tzc2hQdWJsaWNLZXlOYW1lfQ==/V/MjAyNS0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.sshPublicKeyName", "options": ["n", "name", "ssh-public-key-name"], "required": true, "idPart": "name", "help": {"short": "The name of the SSH public key."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.publicKey", "options": ["public-key"], "group": "Properties", "help": {"short": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format."}}]}], "operations": [{"operationId": "SshPublicKeys_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "sshPublicKeyName", "arg": "$Path.sshPublicKeyName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/sshPublicKeys/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "publicKey"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SshPublicKeyResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "publicKey", "arg": "$parameters.properties.publicKey"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "SshPublicKeys_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "sshPublicKeyName", "arg": "$Path.sshPublicKeyName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-04-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@SshPublicKeyResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXMve30=/2025-04-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXMve30=/2025-04-01.xml new file mode 100644 index 000000000..f7407d822 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NzaHB1YmxpY2tleXMve30=/2025-04-01.xml @@ -0,0 +1,405 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +