From f04a797ef62844b4769267efd98812d73cb739b2 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 25 Dec 2024 16:37:19 +0800 Subject: [PATCH] add commands --- .../sig/image-definition/_list-community.md | 16 +++ .../sig/image-definition/_show-community.md | 9 ++ Commands/sig/image-definition/_update.md | 26 +++- Commands/sig/image-definition/readme.md | 8 +- Commands/tree.json | 114 +++++++++++++--- .../2023-07-03.json | 1 + .../2023-07-03.xml | 122 ++++++++++++++++++ .../2023-07-03.json | 1 + .../2023-07-03.xml | 121 +++++++++++++++++ .../2019-12-01.json | 2 +- .../2019-12-01.xml | 12 +- .../2021-10-01.json | 2 +- .../2021-10-01.xml | 4 +- 13 files changed, 409 insertions(+), 29 deletions(-) create mode 100644 Commands/sig/image-definition/_list-community.md create mode 100644 Commands/sig/image-definition/_show-community.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2Vz/2023-07-03.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2Vz/2023-07-03.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2VzL3t9/2023-07-03.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2VzL3t9/2023-07-03.xml diff --git a/Commands/sig/image-definition/_list-community.md b/Commands/sig/image-definition/_list-community.md new file mode 100644 index 000000000..397d8b221 --- /dev/null +++ b/Commands/sig/image-definition/_list-community.md @@ -0,0 +1,16 @@ +# [Command] _sig image-definition list-community_ + +List VM Image definitions in a gallery community + +## Versions + +### [2023-07-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2Vz/2023-07-03.xml) **Stable** + + + +#### examples + +- List an image versions in a gallery community. + ```bash + sig image-version list-community --public-gallery-name publicGalleryName --gallery-image-definition MyImage --location myLocation + ``` diff --git a/Commands/sig/image-definition/_show-community.md b/Commands/sig/image-definition/_show-community.md new file mode 100644 index 000000000..3a9da29cd --- /dev/null +++ b/Commands/sig/image-definition/_show-community.md @@ -0,0 +1,9 @@ +# [Command] _sig image-definition show-community_ + +Get a community gallery image. + +## Versions + +### [2023-07-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2VzL3t9/2023-07-03.xml) **Stable** + + diff --git a/Commands/sig/image-definition/_update.md b/Commands/sig/image-definition/_update.md index 187253786..5f711aa64 100644 --- a/Commands/sig/image-definition/_update.md +++ b/Commands/sig/image-definition/_update.md @@ -1,6 +1,6 @@ # [Command] _sig image-definition update_ -Update a gallery image definition. +Update a VM Image definition. ## Versions @@ -8,6 +8,30 @@ Update a gallery image definition. +#### examples + +- Change the shared image definition's recommended configuration + ```bash + sig image-definition update --resource-group MyResourceGroup --gallery-name MyGallery --gallery-image-definition MyImage --resource-group MyResourceGroup --set recommended.vCpUs.min=myNewvCpUsMin recommended.vCpUs.max=myNewvCpUsMax recommended.memory.min=myNewMemoryMin recommended.memory.max=myNewMemoryMax description="newDescription" + ``` + +- Remove a shared image definition's configuration property + ```bash + sig image-definition update --resource-group MyResourceGroup --gallery-name MyGallery --gallery-image-definition MyImage --resource-group MyResourceGroup --remove recommended.vCpUs.min + ``` + ### [2021-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2021-10-01.xml) **Stable** + +#### examples + +- Change the shared image definition's recommended configuration + ```bash + sig image-definition update --resource-group MyResourceGroup --gallery-name MyGallery --gallery-image-definition MyImage --resource-group MyResourceGroup --set recommended.vCpUs.min=myNewvCpUsMin recommended.vCpUs.max=myNewvCpUsMax recommended.memory.min=myNewMemoryMin recommended.memory.max=myNewMemoryMax description="newDescription" + ``` + +- Remove a shared image definition's configuration property + ```bash + sig image-definition update --resource-group MyResourceGroup --gallery-name MyGallery --gallery-image-definition MyImage --resource-group MyResourceGroup --remove recommended.vCpUs.min + ``` diff --git a/Commands/sig/image-definition/readme.md b/Commands/sig/image-definition/readme.md index cdc478033..586ed9295 100644 --- a/Commands/sig/image-definition/readme.md +++ b/Commands/sig/image-definition/readme.md @@ -13,11 +13,17 @@ Manage shared gallery image with VM - [list](/Commands/sig/image-definition/_list.md) : List gallery image definitions in a gallery. +- [list-community](/Commands/sig/image-definition/_list-community.md) +: List VM Image definitions in a gallery community + - [show](/Commands/sig/image-definition/_show.md) : Get information about a gallery image definition. +- [show-community](/Commands/sig/image-definition/_show-community.md) +: Get a community gallery image. + - [show-shared](/Commands/sig/image-definition/_show-shared.md) : Get a shared gallery image - [update](/Commands/sig/image-definition/_update.md) -: Update a gallery image definition. +: Update a VM Image definition. diff --git a/Commands/tree.json b/Commands/tree.json index 092c807ee..1cdcce267 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -208034,22 +208034,22 @@ ], "versions": [ { - "name": "2019-12-01", + "name": "2021-10-01", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "plane": "mgmt-plane", - "version": "2019-12-01" + "version": "2021-10-01" } ] }, { - "name": "2021-10-01", + "name": "2019-12-01", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "plane": "mgmt-plane", - "version": "2021-10-01" + "version": "2019-12-01" } ] } @@ -208066,22 +208066,22 @@ ], "versions": [ { - "name": "2019-12-01", + "name": "2021-10-01", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "plane": "mgmt-plane", - "version": "2019-12-01" + "version": "2021-10-01" } ] }, { - "name": "2021-10-01", + "name": "2019-12-01", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "plane": "mgmt-plane", - "version": "2021-10-01" + "version": "2019-12-01" } ] } @@ -208119,6 +208119,36 @@ } ] }, + "list-community": { + "help": { + "short": "List VM Image definitions in a gallery community" + }, + "names": [ + "sig", + "image-definition", + "list-community" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "sig image-version list-community --public-gallery-name publicGalleryName --gallery-image-definition MyImage --location myLocation" + ], + "name": "List an image versions in a gallery community." + } + ], + "name": "2023-07-03", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{}/images", + "plane": "mgmt-plane", + "version": "2023-07-03" + } + ] + } + ] + }, "show": { "help": { "short": "Get information about a gallery image definition." @@ -208130,22 +208160,44 @@ ], "versions": [ { - "name": "2019-12-01", + "name": "2021-10-01", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "plane": "mgmt-plane", - "version": "2019-12-01" + "version": "2021-10-01" } ] }, { - "name": "2021-10-01", + "name": "2019-12-01", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "plane": "mgmt-plane", - "version": "2021-10-01" + "version": "2019-12-01" + } + ] + } + ] + }, + "show-community": { + "help": { + "short": "Get a community gallery image." + }, + "names": [ + "sig", + "image-definition", + "show-community" + ], + "versions": [ + { + "name": "2023-07-03", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{}/images/{}", + "plane": "mgmt-plane", + "version": "2023-07-03" } ] } @@ -208186,7 +208238,7 @@ }, "update": { "help": { - "short": "Update a gallery image definition." + "short": "Update a VM Image definition." }, "names": [ "sig", @@ -208195,22 +208247,50 @@ ], "versions": [ { - "name": "2019-12-01", + "examples": [ + { + "commands": [ + "sig image-definition update --resource-group MyResourceGroup --gallery-name MyGallery --gallery-image-definition MyImage --resource-group MyResourceGroup --set recommended.vCpUs.min=myNewvCpUsMin recommended.vCpUs.max=myNewvCpUsMax recommended.memory.min=myNewMemoryMin recommended.memory.max=myNewMemoryMax description=\"newDescription\"" + ], + "name": "Change the shared image definition's recommended configuration" + }, + { + "commands": [ + "sig image-definition update --resource-group MyResourceGroup --gallery-name MyGallery --gallery-image-definition MyImage --resource-group MyResourceGroup --remove recommended.vCpUs.min" + ], + "name": "Remove a shared image definition's configuration property" + } + ], + "name": "2021-10-01", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "plane": "mgmt-plane", - "version": "2019-12-01" + "version": "2021-10-01" } ] }, { - "name": "2021-10-01", + "examples": [ + { + "commands": [ + "sig image-definition update --resource-group MyResourceGroup --gallery-name MyGallery --gallery-image-definition MyImage --resource-group MyResourceGroup --set recommended.vCpUs.min=myNewvCpUsMin recommended.vCpUs.max=myNewvCpUsMax recommended.memory.min=myNewMemoryMin recommended.memory.max=myNewMemoryMax description=\"newDescription\"" + ], + "name": "Change the shared image definition's recommended configuration" + }, + { + "commands": [ + "sig image-definition update --resource-group MyResourceGroup --gallery-name MyGallery --gallery-image-definition MyImage --resource-group MyResourceGroup --remove recommended.vCpUs.min" + ], + "name": "Remove a shared image definition's configuration property" + } + ], + "name": "2019-12-01", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "plane": "mgmt-plane", - "version": "2021-10-01" + "version": "2019-12-01" } ] } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2Vz/2023-07-03.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2Vz/2023-07-03.json new file mode 100644 index 000000000..7240bf429 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2Vz/2023-07-03.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{}/images", "version": "2023-07-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY29tbXVuaXR5R2FsbGVyaWVzL3twdWJsaWNHYWxsZXJ5TmFtZX0vaW1hZ2Vz/V/MjAyMy0wNy0wMw=="}], "commandGroups": [{"name": "sig image-definition", "commands": [{"name": "list-community", "version": "2023-07-03", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{}/images", "version": "2023-07-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY29tbXVuaXR5R2FsbGVyaWVzL3twdWJsaWNHYWxsZXJ5TmFtZX0vaW1hZ2Vz/V/MjAyMy0wNy0wMw=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "string", "var": "$Path.publicGalleryName", "options": ["public-gallery-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The public name of the community gallery."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "CommunityGalleryImages_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true}, {"type": "string", "name": "publicGalleryName", "arg": "$Path.publicGalleryName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-07-03"}, "type": "string", "name": "api-version", "required": true}]}}, "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": [{"type": "object", "name": "identifier", "props": [{"type": "string", "name": "uniqueId"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "object", "name": "artifactTags", "additionalProps": {"item": {"type": "string"}}}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "string", "name": "disclaimer"}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"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": "identifier", "required": true, "props": [{"type": "string", "name": "offer"}, {"type": "string", "name": "publisher"}, {"type": "string", "name": "sku"}]}, {"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": "string", "name": "privacyStatementUri"}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2Vz/2023-07-03.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2Vz/2023-07-03.xml new file mode 100644 index 000000000..cfd719e2c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2Vz/2023-07-03.xml @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2VzL3t9/2023-07-03.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2VzL3t9/2023-07-03.json new file mode 100644 index 000000000..717b260f7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2VzL3t9/2023-07-03.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{}/images/{}", "version": "2023-07-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY29tbXVuaXR5R2FsbGVyaWVzL3twdWJsaWNHYWxsZXJ5TmFtZX0vaW1hZ2VzL3tnYWxsZXJ5SW1hZ2VOYW1lfQ==/V/MjAyMy0wNy0wMw=="}], "commandGroups": [{"name": "sig image-definition", "commands": [{"name": "show-community", "version": "2023-07-03", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{}/images/{}", "version": "2023-07-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vY29tbXVuaXR5R2FsbGVyaWVzL3twdWJsaWNHYWxsZXJ5TmFtZX0vaW1hZ2VzL3tnYWxsZXJ5SW1hZ2VOYW1lfQ==/V/MjAyMy0wNy0wMw=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["i", "gallery-image-definition"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the community gallery image definition from which the image versions are to be listed."}}, {"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "string", "var": "$Path.publicGalleryName", "options": ["public-gallery-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The public name of the community gallery."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "CommunityGalleryImages_Get", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "location", "arg": "$Path.location", "required": true}, {"type": "string", "name": "publicGalleryName", "arg": "$Path.publicGalleryName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-07-03"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "identifier", "props": [{"type": "string", "name": "uniqueId"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "object", "name": "artifactTags", "additionalProps": {"item": {"type": "string"}}}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "string", "name": "disclaimer"}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"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": "identifier", "required": true, "props": [{"type": "string", "name": "offer"}, {"type": "string", "name": "publisher"}, {"type": "string", "name": "sku"}]}, {"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": "string", "name": "privacyStatementUri"}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2VzL3t9/2023-07-03.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2VzL3t9/2023-07-03.xml new file mode 100644 index 000000000..d37d978ee --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9jb21tdW5pdHlnYWxsZXJpZXMve30vaW1hZ2VzL3t9/2023-07-03.xml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2019-12-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2019-12-01.json index a85d6533f..59c2d6485 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2019-12-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2019-12-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2019-12-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAxOS0xMi0wMQ=="}], "commandGroups": [{"name": "sig image-definition", "commands": [{"name": "show", "version": "2019-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2019-12-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAxOS0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["i", "gallery-image-name", "gallery-image-definition"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be retrieved."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery from which the Image Definitions are to be retrieved."}}, {"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": [{"operationId": "GalleryImages_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2019-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"type": "string", "name": "hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "required": true, "props": [{"type": "string", "name": "offer", "required": true}, {"type": "string", "name": "publisher", "required": true}, {"type": "string", "name": "sku", "required": true}]}, {"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": "string", "name": "privacyStatementUri"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}, {"type": "string", "name": "releaseNoteUri"}], "clientFlatten": true}, {"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": "2019-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2019-12-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAxOS0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["i", "gallery-image-name", "gallery-image-definition"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be deleted."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery in which the Image Definition is to be deleted."}}, {"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": "azure-async-operation"}, "operationId": "GalleryImages_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2019-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2019-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2019-12-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAxOS0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["n", "name", "gallery-image-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters."}}, {"type": "string", "var": "$Path.galleryName", "options": ["gallery-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Shared Image Gallery in which the Image Definition is to be created."}}, {"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": "GalleryImage", "args": [{"type": "ResourceLocation", "var": "$galleryImage.location", "options": ["l", "location"], "required": true, "group": "GalleryImage", "help": {"short": "Resource location"}}, {"type": "object", "var": "$galleryImage.tags", "options": ["tags"], "group": "GalleryImage", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$galleryImage.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of this gallery image definition resource. This property is updatable."}}, {"type": "object", "var": "$galleryImage.properties.disallowed", "options": ["disallowed"], "group": "Properties", "help": {"short": "Describes the disallowed disk types."}, "args": [{"type": "array", "var": "$galleryImage.properties.disallowed.diskTypes", "options": ["disk-types"], "help": {"short": "A list of disk types."}, "item": {"type": "string"}}]}, {"type": "dateTime", "var": "$galleryImage.properties.endOfLifeDate", "options": ["end-of-life-date"], "group": "Properties", "help": {"short": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable."}}, {"type": "string", "var": "$galleryImage.properties.eula", "options": ["eula"], "group": "Properties", "help": {"short": "The Eula agreement for the gallery image definition."}}, {"type": "string", "var": "$galleryImage.properties.hyperVGeneration", "options": ["hyper-v-generation"], "group": "Properties", "help": {"short": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only."}, "enum": {"items": [{"name": "V1", "value": "V1"}, {"name": "V2", "value": "V2"}]}}, {"type": "object", "var": "$galleryImage.properties.identifier", "options": ["identifier"], "group": "Properties", "help": {"short": "This is the gallery image definition identifier."}, "args": [{"type": "string", "var": "$galleryImage.properties.identifier.offer", "options": ["offer"], "required": true, "help": {"short": "The name of the gallery image definition offer."}}, {"type": "string", "var": "$galleryImage.properties.identifier.publisher", "options": ["publisher"], "required": true, "help": {"short": "The name of the gallery image definition publisher."}}, {"type": "string", "var": "$galleryImage.properties.identifier.sku", "options": ["sku"], "required": true, "help": {"short": "The name of the gallery image definition SKU."}}]}, {"type": "string", "var": "$galleryImage.properties.osState", "options": ["os-state"], "group": "Properties", "help": {"short": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'."}, "enum": {"items": [{"name": "Generalized", "value": "Generalized"}, {"name": "Specialized", "value": "Specialized"}]}}, {"type": "string", "var": "$galleryImage.properties.osType", "options": ["os-type"], "group": "Properties", "help": {"short": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux**"}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"type": "string", "var": "$galleryImage.properties.privacyStatementUri", "options": ["privacy-statement-uri"], "group": "Properties", "help": {"short": "The privacy statement uri."}}, {"type": "object", "var": "$galleryImage.properties.purchasePlan", "options": ["purchase-plan"], "group": "Properties", "help": {"short": "Describes the gallery image definition purchase plan. This is used by marketplace images."}, "args": [{"type": "string", "var": "$galleryImage.properties.purchasePlan.name", "options": ["name"], "help": {"short": "The plan ID."}}, {"type": "string", "var": "$galleryImage.properties.purchasePlan.product", "options": ["product"], "help": {"short": "The product ID."}}, {"type": "string", "var": "$galleryImage.properties.purchasePlan.publisher", "options": ["publisher"], "help": {"short": "The publisher ID."}}]}, {"type": "object", "var": "$galleryImage.properties.recommended", "options": ["recommended"], "group": "Properties", "help": {"short": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable."}, "args": [{"type": "@ResourceRange_create", "var": "$galleryImage.properties.recommended.memory", "options": ["memory"]}, {"type": "object", "var": "$galleryImage.properties.recommended.vCPUs", "options": ["v-cp-us"], "help": {"short": "Describes the resource range."}, "args": [{"type": "integer32", "var": "@ResourceRange_create.max", "options": ["max"], "help": {"short": "The maximum number of the resource."}}, {"type": "integer32", "var": "@ResourceRange_create.min", "options": ["min"], "help": {"short": "The minimum number of the resource."}}], "cls": "ResourceRange_create"}]}, {"type": "string", "var": "$galleryImage.properties.releaseNoteUri", "options": ["release-note-uri"], "group": "Properties", "help": {"short": "The release note uri."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "GalleryImages_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2019-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "galleryImage", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$galleryImage.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description", "arg": "$galleryImage.properties.description"}, {"type": "object", "name": "disallowed", "arg": "$galleryImage.properties.disallowed", "props": [{"type": "array", "name": "diskTypes", "arg": "$galleryImage.properties.disallowed.diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate", "arg": "$galleryImage.properties.endOfLifeDate"}, {"type": "string", "name": "eula", "arg": "$galleryImage.properties.eula"}, {"type": "string", "name": "hyperVGeneration", "arg": "$galleryImage.properties.hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "arg": "$galleryImage.properties.identifier", "required": true, "props": [{"type": "string", "name": "offer", "arg": "$galleryImage.properties.identifier.offer", "required": true}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.identifier.publisher", "required": true}, {"type": "string", "name": "sku", "arg": "$galleryImage.properties.identifier.sku", "required": true}]}, {"type": "string", "name": "osState", "arg": "$galleryImage.properties.osState", "required": true, "enum": {"items": [{"value": "Generalized"}, {"value": "Specialized"}]}}, {"type": "string", "name": "osType", "arg": "$galleryImage.properties.osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "string", "name": "privacyStatementUri", "arg": "$galleryImage.properties.privacyStatementUri"}, {"type": "object", "name": "purchasePlan", "arg": "$galleryImage.properties.purchasePlan", "props": [{"type": "string", "name": "name", "arg": "$galleryImage.properties.purchasePlan.name"}, {"type": "string", "name": "product", "arg": "$galleryImage.properties.purchasePlan.product"}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.purchasePlan.publisher"}]}, {"type": "object", "name": "recommended", "arg": "$galleryImage.properties.recommended", "props": [{"type": "@ResourceRange_create", "name": "memory", "arg": "$galleryImage.properties.recommended.memory"}, {"type": "object", "name": "vCPUs", "arg": "$galleryImage.properties.recommended.vCPUs", "props": [{"type": "integer32", "name": "max", "arg": "@ResourceRange_create.max"}, {"type": "integer32", "name": "min", "arg": "@ResourceRange_create.min"}], "cls": "ResourceRange_create"}]}, {"type": "string", "name": "releaseNoteUri", "arg": "$galleryImage.properties.releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$galleryImage.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/galleries/{}/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"type": "string", "name": "hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "required": true, "props": [{"type": "string", "name": "offer", "required": true}, {"type": "string", "name": "publisher", "required": true}, {"type": "string", "name": "sku", "required": true}]}, {"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": "string", "name": "privacyStatementUri"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}, {"type": "string", "name": "releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "GalleryImage_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@GalleryImage_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2019-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2019-12-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAxOS0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["n", "name", "gallery-image-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be retrieved."}}, {"type": "string", "var": "$Path.galleryName", "options": ["gallery-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Shared Image Gallery from which the Image Definitions are to be retrieved."}}, {"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": "GalleryImage", "args": [{"type": "ResourceLocation", "var": "$galleryImage.location", "options": ["l", "location"], "group": "GalleryImage", "help": {"short": "Resource location"}}, {"nullable": true, "type": "object", "var": "$galleryImage.tags", "options": ["tags"], "group": "GalleryImage", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$galleryImage.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of this gallery image definition resource. This property is updatable."}}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.disallowed", "options": ["disallowed"], "group": "Properties", "help": {"short": "Describes the disallowed disk types."}, "args": [{"nullable": true, "type": "array", "var": "$galleryImage.properties.disallowed.diskTypes", "options": ["disk-types"], "help": {"short": "A list of disk types."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "dateTime", "var": "$galleryImage.properties.endOfLifeDate", "options": ["end-of-life-date"], "group": "Properties", "help": {"short": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.eula", "options": ["eula"], "group": "Properties", "help": {"short": "The Eula agreement for the gallery image definition."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.hyperVGeneration", "options": ["hyper-v-generation"], "group": "Properties", "help": {"short": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only."}, "enum": {"items": [{"name": "V1", "value": "V1"}, {"name": "V2", "value": "V2"}]}}, {"type": "object", "var": "$galleryImage.properties.identifier", "options": ["identifier"], "group": "Properties", "help": {"short": "This is the gallery image definition identifier."}, "args": [{"type": "string", "var": "$galleryImage.properties.identifier.offer", "options": ["offer"], "help": {"short": "The name of the gallery image definition offer."}}, {"type": "string", "var": "$galleryImage.properties.identifier.publisher", "options": ["publisher"], "help": {"short": "The name of the gallery image definition publisher."}}, {"type": "string", "var": "$galleryImage.properties.identifier.sku", "options": ["sku"], "help": {"short": "The name of the gallery image definition SKU."}}]}, {"type": "string", "var": "$galleryImage.properties.osState", "options": ["os-state"], "group": "Properties", "help": {"short": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'."}, "enum": {"items": [{"name": "Generalized", "value": "Generalized"}, {"name": "Specialized", "value": "Specialized"}]}}, {"type": "string", "var": "$galleryImage.properties.osType", "options": ["os-type"], "group": "Properties", "help": {"short": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux**"}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.privacyStatementUri", "options": ["privacy-statement-uri"], "group": "Properties", "help": {"short": "The privacy statement uri."}}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.purchasePlan", "options": ["purchase-plan"], "group": "Properties", "help": {"short": "Describes the gallery image definition purchase plan. This is used by marketplace images."}, "args": [{"nullable": true, "type": "string", "var": "$galleryImage.properties.purchasePlan.name", "options": ["name"], "help": {"short": "The plan ID."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.purchasePlan.product", "options": ["product"], "help": {"short": "The product ID."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.purchasePlan.publisher", "options": ["publisher"], "help": {"short": "The publisher ID."}}]}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.recommended", "options": ["recommended"], "group": "Properties", "help": {"short": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable."}, "args": [{"nullable": true, "type": "@ResourceRange_update", "var": "$galleryImage.properties.recommended.memory", "options": ["memory"]}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.recommended.vCPUs", "options": ["v-cp-us"], "help": {"short": "Describes the resource range."}, "args": [{"nullable": true, "type": "integer32", "var": "@ResourceRange_update.max", "options": ["max"], "help": {"short": "The maximum number of the resource."}}, {"nullable": true, "type": "integer32", "var": "@ResourceRange_update.min", "options": ["min"], "help": {"short": "The minimum number of the resource."}}], "cls": "ResourceRange_update"}]}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.releaseNoteUri", "options": ["release-note-uri"], "group": "Properties", "help": {"short": "The release note uri."}}]}], "operations": [{"operationId": "GalleryImages_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2019-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"type": "string", "name": "hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "required": true, "props": [{"type": "string", "name": "offer", "required": true}, {"type": "string", "name": "publisher", "required": true}, {"type": "string", "name": "sku", "required": true}]}, {"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": "string", "name": "privacyStatementUri"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}, {"type": "string", "name": "releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "GalleryImage_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "galleryImage", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$galleryImage.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description", "arg": "$galleryImage.properties.description"}, {"type": "object", "name": "disallowed", "arg": "$galleryImage.properties.disallowed", "props": [{"type": "array", "name": "diskTypes", "arg": "$galleryImage.properties.disallowed.diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate", "arg": "$galleryImage.properties.endOfLifeDate"}, {"type": "string", "name": "eula", "arg": "$galleryImage.properties.eula"}, {"type": "string", "name": "hyperVGeneration", "arg": "$galleryImage.properties.hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "arg": "$galleryImage.properties.identifier", "required": true, "props": [{"type": "string", "name": "offer", "arg": "$galleryImage.properties.identifier.offer", "required": true}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.identifier.publisher", "required": true}, {"type": "string", "name": "sku", "arg": "$galleryImage.properties.identifier.sku", "required": true}]}, {"type": "string", "name": "osState", "arg": "$galleryImage.properties.osState", "required": true, "enum": {"items": [{"value": "Generalized"}, {"value": "Specialized"}]}}, {"type": "string", "name": "osType", "arg": "$galleryImage.properties.osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "string", "name": "privacyStatementUri", "arg": "$galleryImage.properties.privacyStatementUri"}, {"type": "object", "name": "purchasePlan", "arg": "$galleryImage.properties.purchasePlan", "props": [{"type": "string", "name": "name", "arg": "$galleryImage.properties.purchasePlan.name"}, {"type": "string", "name": "product", "arg": "$galleryImage.properties.purchasePlan.product"}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.purchasePlan.publisher"}]}, {"type": "object", "name": "recommended", "arg": "$galleryImage.properties.recommended", "props": [{"type": "@ResourceRange_update", "name": "memory", "arg": "$galleryImage.properties.recommended.memory"}, {"type": "object", "name": "vCPUs", "arg": "$galleryImage.properties.recommended.vCPUs", "props": [{"type": "integer32", "name": "max", "arg": "@ResourceRange_update.max"}, {"type": "integer32", "name": "min", "arg": "@ResourceRange_update.min"}], "cls": "ResourceRange_update"}]}, {"type": "string", "name": "releaseNoteUri", "arg": "$galleryImage.properties.releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$galleryImage.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "GalleryImages_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2019-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@GalleryImage_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@GalleryImage_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2019-12-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAxOS0xMi0wMQ=="}], "commandGroups": [{"name": "sig image-definition", "commands": [{"name": "show", "version": "2019-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2019-12-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAxOS0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["i", "gallery-image-name", "gallery-image-definition"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be retrieved."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery from which the Image Definitions are to be retrieved."}}, {"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": [{"operationId": "GalleryImages_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2019-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"type": "string", "name": "hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "required": true, "props": [{"type": "string", "name": "offer", "required": true}, {"type": "string", "name": "publisher", "required": true}, {"type": "string", "name": "sku", "required": true}]}, {"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": "string", "name": "privacyStatementUri"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}, {"type": "string", "name": "releaseNoteUri"}], "clientFlatten": true}, {"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": "2019-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2019-12-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAxOS0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["i", "gallery-image-name", "gallery-image-definition"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be deleted."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery in which the Image Definition is to be deleted."}}, {"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": "azure-async-operation"}, "operationId": "GalleryImages_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2019-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2019-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2019-12-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAxOS0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["n", "name", "gallery-image-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery in which the Image Definition resides."}}, {"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": "GalleryImage", "args": [{"type": "ResourceLocation", "var": "$galleryImage.location", "options": ["l", "location"], "required": true, "group": "GalleryImage", "help": {"short": "Resource location"}}, {"type": "object", "var": "$galleryImage.tags", "options": ["tags"], "group": "GalleryImage", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$galleryImage.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of this gallery image definition resource. This property is updatable."}}, {"type": "object", "var": "$galleryImage.properties.disallowed", "options": ["disallowed"], "group": "Properties", "help": {"short": "Describes the disallowed disk types."}, "args": [{"type": "array", "var": "$galleryImage.properties.disallowed.diskTypes", "options": ["disk-types"], "help": {"short": "A list of disk types."}, "item": {"type": "string"}}]}, {"type": "dateTime", "var": "$galleryImage.properties.endOfLifeDate", "options": ["end-of-life-date"], "group": "Properties", "help": {"short": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable."}}, {"type": "string", "var": "$galleryImage.properties.eula", "options": ["eula"], "group": "Properties", "help": {"short": "The Eula agreement for the gallery image definition."}}, {"type": "string", "var": "$galleryImage.properties.hyperVGeneration", "options": ["hyper-v-generation"], "group": "Properties", "help": {"short": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only."}, "enum": {"items": [{"name": "V1", "value": "V1"}, {"name": "V2", "value": "V2"}]}}, {"type": "object", "var": "$galleryImage.properties.identifier", "options": ["identifier"], "group": "Properties", "help": {"short": "This is the gallery image definition identifier."}, "args": [{"type": "string", "var": "$galleryImage.properties.identifier.offer", "options": ["offer"], "required": true, "help": {"short": "The name of the gallery image definition offer."}}, {"type": "string", "var": "$galleryImage.properties.identifier.publisher", "options": ["publisher"], "required": true, "help": {"short": "The name of the gallery image definition publisher."}}, {"type": "string", "var": "$galleryImage.properties.identifier.sku", "options": ["sku"], "required": true, "help": {"short": "The name of the gallery image definition SKU."}}]}, {"type": "string", "var": "$galleryImage.properties.osState", "options": ["os-state"], "group": "Properties", "help": {"short": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'."}, "enum": {"items": [{"name": "Generalized", "value": "Generalized"}, {"name": "Specialized", "value": "Specialized"}]}}, {"type": "string", "var": "$galleryImage.properties.osType", "options": ["os-type"], "group": "Properties", "help": {"short": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux**"}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"type": "string", "var": "$galleryImage.properties.privacyStatementUri", "options": ["privacy-statement-uri"], "group": "Properties", "help": {"short": "The privacy statement uri."}}, {"type": "object", "var": "$galleryImage.properties.purchasePlan", "options": ["purchase-plan"], "group": "Properties", "help": {"short": "Describes the gallery image definition purchase plan. This is used by marketplace images."}, "args": [{"type": "string", "var": "$galleryImage.properties.purchasePlan.name", "options": ["name"], "help": {"short": "The plan ID."}}, {"type": "string", "var": "$galleryImage.properties.purchasePlan.product", "options": ["product"], "help": {"short": "The product ID."}}, {"type": "string", "var": "$galleryImage.properties.purchasePlan.publisher", "options": ["publisher"], "help": {"short": "The publisher ID."}}]}, {"type": "object", "var": "$galleryImage.properties.recommended", "options": ["recommended"], "group": "Properties", "help": {"short": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable."}, "args": [{"type": "@ResourceRange_create", "var": "$galleryImage.properties.recommended.memory", "options": ["memory"]}, {"type": "object", "var": "$galleryImage.properties.recommended.vCPUs", "options": ["v-cp-us"], "help": {"short": "Describes the resource range."}, "args": [{"type": "integer32", "var": "@ResourceRange_create.max", "options": ["max"], "help": {"short": "The maximum number of the resource."}}, {"type": "integer32", "var": "@ResourceRange_create.min", "options": ["min"], "help": {"short": "The minimum number of the resource."}}], "cls": "ResourceRange_create"}]}, {"type": "string", "var": "$galleryImage.properties.releaseNoteUri", "options": ["release-note-uri"], "group": "Properties", "help": {"short": "The release note uri."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "GalleryImages_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2019-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "galleryImage", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$galleryImage.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description", "arg": "$galleryImage.properties.description"}, {"type": "object", "name": "disallowed", "arg": "$galleryImage.properties.disallowed", "props": [{"type": "array", "name": "diskTypes", "arg": "$galleryImage.properties.disallowed.diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate", "arg": "$galleryImage.properties.endOfLifeDate"}, {"type": "string", "name": "eula", "arg": "$galleryImage.properties.eula"}, {"type": "string", "name": "hyperVGeneration", "arg": "$galleryImage.properties.hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "arg": "$galleryImage.properties.identifier", "required": true, "props": [{"type": "string", "name": "offer", "arg": "$galleryImage.properties.identifier.offer", "required": true}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.identifier.publisher", "required": true}, {"type": "string", "name": "sku", "arg": "$galleryImage.properties.identifier.sku", "required": true}]}, {"type": "string", "name": "osState", "arg": "$galleryImage.properties.osState", "required": true, "enum": {"items": [{"value": "Generalized"}, {"value": "Specialized"}]}}, {"type": "string", "name": "osType", "arg": "$galleryImage.properties.osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "string", "name": "privacyStatementUri", "arg": "$galleryImage.properties.privacyStatementUri"}, {"type": "object", "name": "purchasePlan", "arg": "$galleryImage.properties.purchasePlan", "props": [{"type": "string", "name": "name", "arg": "$galleryImage.properties.purchasePlan.name"}, {"type": "string", "name": "product", "arg": "$galleryImage.properties.purchasePlan.product"}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.purchasePlan.publisher"}]}, {"type": "object", "name": "recommended", "arg": "$galleryImage.properties.recommended", "props": [{"type": "@ResourceRange_create", "name": "memory", "arg": "$galleryImage.properties.recommended.memory"}, {"type": "object", "name": "vCPUs", "arg": "$galleryImage.properties.recommended.vCPUs", "props": [{"type": "integer32", "name": "max", "arg": "@ResourceRange_create.max"}, {"type": "integer32", "name": "min", "arg": "@ResourceRange_create.min"}], "cls": "ResourceRange_create"}]}, {"type": "string", "name": "releaseNoteUri", "arg": "$galleryImage.properties.releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$galleryImage.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/galleries/{}/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"type": "string", "name": "hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "required": true, "props": [{"type": "string", "name": "offer", "required": true}, {"type": "string", "name": "publisher", "required": true}, {"type": "string", "name": "sku", "required": true}]}, {"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": "string", "name": "privacyStatementUri"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}, {"type": "string", "name": "releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "GalleryImage_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@GalleryImage_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2019-12-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2019-12-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAxOS0xMi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["i", "gallery-image-definition"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be retrieved."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery in which the Image Definition resides."}}, {"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": "GalleryImage", "args": [{"type": "ResourceLocation", "var": "$galleryImage.location", "options": ["l", "location"], "group": "GalleryImage", "help": {"short": "Resource location"}}, {"nullable": true, "type": "object", "var": "$galleryImage.tags", "options": ["tags"], "group": "GalleryImage", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$galleryImage.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of this gallery image definition resource. This property is updatable."}}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.disallowed", "options": ["disallowed"], "group": "Properties", "help": {"short": "Describes the disallowed disk types."}, "args": [{"nullable": true, "type": "array", "var": "$galleryImage.properties.disallowed.diskTypes", "options": ["disk-types"], "help": {"short": "A list of disk types."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "dateTime", "var": "$galleryImage.properties.endOfLifeDate", "options": ["end-of-life-date"], "group": "Properties", "help": {"short": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.eula", "options": ["eula"], "group": "Properties", "help": {"short": "The Eula agreement for the gallery image definition."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.hyperVGeneration", "options": ["hyper-v-generation"], "group": "Properties", "help": {"short": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only."}, "enum": {"items": [{"name": "V1", "value": "V1"}, {"name": "V2", "value": "V2"}]}}, {"type": "object", "var": "$galleryImage.properties.identifier", "options": ["identifier"], "group": "Properties", "help": {"short": "This is the gallery image definition identifier."}, "args": [{"type": "string", "var": "$galleryImage.properties.identifier.offer", "options": ["offer"], "help": {"short": "The name of the gallery image definition offer."}}, {"type": "string", "var": "$galleryImage.properties.identifier.publisher", "options": ["publisher"], "help": {"short": "The name of the gallery image definition publisher."}}, {"type": "string", "var": "$galleryImage.properties.identifier.sku", "options": ["sku"], "help": {"short": "The name of the gallery image definition SKU."}}]}, {"type": "string", "var": "$galleryImage.properties.osState", "options": ["os-state"], "group": "Properties", "help": {"short": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'."}, "enum": {"items": [{"name": "Generalized", "value": "Generalized"}, {"name": "Specialized", "value": "Specialized"}]}}, {"type": "string", "var": "$galleryImage.properties.osType", "options": ["os-type"], "group": "Properties", "help": {"short": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux**"}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.privacyStatementUri", "options": ["privacy-statement-uri"], "group": "Properties", "help": {"short": "The privacy statement uri."}}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.purchasePlan", "options": ["purchase-plan"], "group": "Properties", "help": {"short": "Describes the gallery image definition purchase plan. This is used by marketplace images."}, "args": [{"nullable": true, "type": "string", "var": "$galleryImage.properties.purchasePlan.name", "options": ["name"], "help": {"short": "The plan ID."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.purchasePlan.product", "options": ["product"], "help": {"short": "The product ID."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.purchasePlan.publisher", "options": ["publisher"], "help": {"short": "The publisher ID."}}]}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.recommended", "options": ["recommended"], "group": "Properties", "help": {"short": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable."}, "args": [{"nullable": true, "type": "@ResourceRange_update", "var": "$galleryImage.properties.recommended.memory", "options": ["memory"]}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.recommended.vCPUs", "options": ["v-cp-us"], "help": {"short": "Describes the resource range."}, "args": [{"nullable": true, "type": "integer32", "var": "@ResourceRange_update.max", "options": ["max"], "help": {"short": "The maximum number of the resource."}}, {"nullable": true, "type": "integer32", "var": "@ResourceRange_update.min", "options": ["min"], "help": {"short": "The minimum number of the resource."}}], "cls": "ResourceRange_update"}]}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.releaseNoteUri", "options": ["release-note-uri"], "group": "Properties", "help": {"short": "The release note uri."}}]}], "operations": [{"operationId": "GalleryImages_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2019-12-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"type": "string", "name": "hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "required": true, "props": [{"type": "string", "name": "offer", "required": true}, {"type": "string", "name": "publisher", "required": true}, {"type": "string", "name": "sku", "required": true}]}, {"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": "string", "name": "privacyStatementUri"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}, {"type": "string", "name": "releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "GalleryImage_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "galleryImage", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$galleryImage.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description", "arg": "$galleryImage.properties.description"}, {"type": "object", "name": "disallowed", "arg": "$galleryImage.properties.disallowed", "props": [{"type": "array", "name": "diskTypes", "arg": "$galleryImage.properties.disallowed.diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate", "arg": "$galleryImage.properties.endOfLifeDate"}, {"type": "string", "name": "eula", "arg": "$galleryImage.properties.eula"}, {"type": "string", "name": "hyperVGeneration", "arg": "$galleryImage.properties.hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "arg": "$galleryImage.properties.identifier", "required": true, "props": [{"type": "string", "name": "offer", "arg": "$galleryImage.properties.identifier.offer", "required": true}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.identifier.publisher", "required": true}, {"type": "string", "name": "sku", "arg": "$galleryImage.properties.identifier.sku", "required": true}]}, {"type": "string", "name": "osState", "arg": "$galleryImage.properties.osState", "required": true, "enum": {"items": [{"value": "Generalized"}, {"value": "Specialized"}]}}, {"type": "string", "name": "osType", "arg": "$galleryImage.properties.osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "string", "name": "privacyStatementUri", "arg": "$galleryImage.properties.privacyStatementUri"}, {"type": "object", "name": "purchasePlan", "arg": "$galleryImage.properties.purchasePlan", "props": [{"type": "string", "name": "name", "arg": "$galleryImage.properties.purchasePlan.name"}, {"type": "string", "name": "product", "arg": "$galleryImage.properties.purchasePlan.product"}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.purchasePlan.publisher"}]}, {"type": "object", "name": "recommended", "arg": "$galleryImage.properties.recommended", "props": [{"type": "@ResourceRange_update", "name": "memory", "arg": "$galleryImage.properties.recommended.memory"}, {"type": "object", "name": "vCPUs", "arg": "$galleryImage.properties.recommended.vCPUs", "props": [{"type": "integer32", "name": "max", "arg": "@ResourceRange_update.max"}, {"type": "integer32", "name": "min", "arg": "@ResourceRange_update.min"}], "cls": "ResourceRange_update"}]}, {"type": "string", "name": "releaseNoteUri", "arg": "$galleryImage.properties.releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$galleryImage.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "GalleryImages_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2019-12-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@GalleryImage_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@GalleryImage_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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2019-12-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2019-12-01.xml index 5111576b5..a18640457 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2019-12-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2019-12-01.xml @@ -163,8 +163,8 @@ - - + + @@ -431,14 +431,14 @@ - + - + - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2021-10-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2021-10-01.json index 993a38205..a6c50f344 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2021-10-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2021-10-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2021-10-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAyMS0xMC0wMQ=="}], "commandGroups": [{"name": "sig image-definition", "commands": [{"name": "show", "version": "2021-10-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2021-10-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAyMS0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["i", "gallery-image-name", "gallery-image-definition"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be retrieved."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery from which the Image Definitions are to be retrieved."}}, {"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": [{"operationId": "GalleryImages_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"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": "identifier", "required": true, "props": [{"type": "string", "name": "offer", "required": true}, {"type": "string", "name": "publisher", "required": true}, {"type": "string", "name": "sku", "required": true}]}, {"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": "string", "name": "privacyStatementUri"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}, {"type": "string", "name": "releaseNoteUri"}], "clientFlatten": true}, {"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": "2021-10-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2021-10-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAyMS0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["i", "gallery-image-name", "gallery-image-definition"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be deleted."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery in which the Image Definition is to be deleted."}}, {"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": "azure-async-operation"}, "operationId": "GalleryImages_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2021-10-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2021-10-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAyMS0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["n", "name", "gallery-image-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery in which the Image Definition resides."}}, {"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": "GalleryImage", "args": [{"type": "ResourceLocation", "var": "$galleryImage.location", "options": ["l", "location"], "required": true, "group": "GalleryImage", "help": {"short": "Resource location"}}, {"type": "object", "var": "$galleryImage.tags", "options": ["tags"], "group": "GalleryImage", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$galleryImage.properties.architecture", "options": ["architecture"], "group": "Properties", "help": {"short": "The architecture of the image. Applicable to OS disks only."}, "enum": {"items": [{"name": "Arm64", "value": "Arm64"}, {"name": "x64", "value": "x64"}]}}, {"type": "string", "var": "$galleryImage.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of this gallery image definition resource. This property is updatable."}}, {"type": "object", "var": "$galleryImage.properties.disallowed", "options": ["disallowed"], "group": "Properties", "help": {"short": "Describes the disallowed disk types."}, "args": [{"type": "array", "var": "$galleryImage.properties.disallowed.diskTypes", "options": ["disk-types"], "help": {"short": "A list of disk types."}, "item": {"type": "string"}}]}, {"type": "dateTime", "var": "$galleryImage.properties.endOfLifeDate", "options": ["end-of-life-date"], "group": "Properties", "help": {"short": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable."}}, {"type": "string", "var": "$galleryImage.properties.eula", "options": ["eula"], "group": "Properties", "help": {"short": "The Eula agreement for the gallery image definition."}}, {"type": "array", "var": "$galleryImage.properties.features", "options": ["features"], "group": "Properties", "help": {"short": "A list of gallery image features."}, "item": {"type": "object", "args": [{"type": "string", "var": "$galleryImage.properties.features[].name", "options": ["name"], "help": {"short": "The name of the gallery image feature."}}, {"type": "string", "var": "$galleryImage.properties.features[].value", "options": ["value"], "help": {"short": "The value of the gallery image feature."}}]}}, {"type": "string", "var": "$galleryImage.properties.hyperVGeneration", "options": ["hyper-v-generation"], "group": "Properties", "help": {"short": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only."}, "enum": {"items": [{"name": "V1", "value": "V1"}, {"name": "V2", "value": "V2"}]}}, {"type": "object", "var": "$galleryImage.properties.identifier", "options": ["identifier"], "group": "Properties", "help": {"short": "This is the gallery image definition identifier."}, "args": [{"type": "string", "var": "$galleryImage.properties.identifier.offer", "options": ["offer"], "required": true, "help": {"short": "The name of the gallery image definition offer."}}, {"type": "string", "var": "$galleryImage.properties.identifier.publisher", "options": ["publisher"], "required": true, "help": {"short": "The name of the gallery image definition publisher."}}, {"type": "string", "var": "$galleryImage.properties.identifier.sku", "options": ["sku"], "required": true, "help": {"short": "The name of the gallery image definition SKU."}}]}, {"type": "string", "var": "$galleryImage.properties.osState", "options": ["os-state"], "group": "Properties", "help": {"short": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'."}, "enum": {"items": [{"name": "Generalized", "value": "Generalized"}, {"name": "Specialized", "value": "Specialized"}]}}, {"type": "string", "var": "$galleryImage.properties.osType", "options": ["os-type"], "group": "Properties", "help": {"short": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux**"}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"type": "string", "var": "$galleryImage.properties.privacyStatementUri", "options": ["privacy-statement-uri"], "group": "Properties", "help": {"short": "The privacy statement uri."}}, {"type": "object", "var": "$galleryImage.properties.purchasePlan", "options": ["purchase-plan"], "group": "Properties", "help": {"short": "Describes the gallery image definition purchase plan. This is used by marketplace images."}, "args": [{"type": "string", "var": "$galleryImage.properties.purchasePlan.name", "options": ["name"], "help": {"short": "The plan ID."}}, {"type": "string", "var": "$galleryImage.properties.purchasePlan.product", "options": ["product"], "help": {"short": "The product ID."}}, {"type": "string", "var": "$galleryImage.properties.purchasePlan.publisher", "options": ["publisher"], "help": {"short": "The publisher ID."}}]}, {"type": "object", "var": "$galleryImage.properties.recommended", "options": ["recommended"], "group": "Properties", "help": {"short": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable."}, "args": [{"type": "@ResourceRange_create", "var": "$galleryImage.properties.recommended.memory", "options": ["memory"]}, {"type": "object", "var": "$galleryImage.properties.recommended.vCPUs", "options": ["v-cp-us"], "help": {"short": "Describes the resource range."}, "args": [{"type": "integer32", "var": "@ResourceRange_create.max", "options": ["max"], "help": {"short": "The maximum number of the resource."}}, {"type": "integer32", "var": "@ResourceRange_create.min", "options": ["min"], "help": {"short": "The minimum number of the resource."}}], "cls": "ResourceRange_create"}]}, {"type": "string", "var": "$galleryImage.properties.releaseNoteUri", "options": ["release-note-uri"], "group": "Properties", "help": {"short": "The release note uri."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "GalleryImages_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "galleryImage", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$galleryImage.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "arg": "$galleryImage.properties.architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "string", "name": "description", "arg": "$galleryImage.properties.description"}, {"type": "object", "name": "disallowed", "arg": "$galleryImage.properties.disallowed", "props": [{"type": "array", "name": "diskTypes", "arg": "$galleryImage.properties.disallowed.diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate", "arg": "$galleryImage.properties.endOfLifeDate"}, {"type": "string", "name": "eula", "arg": "$galleryImage.properties.eula"}, {"type": "array", "name": "features", "arg": "$galleryImage.properties.features", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$galleryImage.properties.features[].name"}, {"type": "string", "name": "value", "arg": "$galleryImage.properties.features[].value"}]}, "identifiers": ["name"]}, {"type": "string", "name": "hyperVGeneration", "arg": "$galleryImage.properties.hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "arg": "$galleryImage.properties.identifier", "required": true, "props": [{"type": "string", "name": "offer", "arg": "$galleryImage.properties.identifier.offer", "required": true}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.identifier.publisher", "required": true}, {"type": "string", "name": "sku", "arg": "$galleryImage.properties.identifier.sku", "required": true}]}, {"type": "string", "name": "osState", "arg": "$galleryImage.properties.osState", "required": true, "enum": {"items": [{"value": "Generalized"}, {"value": "Specialized"}]}}, {"type": "string", "name": "osType", "arg": "$galleryImage.properties.osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "string", "name": "privacyStatementUri", "arg": "$galleryImage.properties.privacyStatementUri"}, {"type": "object", "name": "purchasePlan", "arg": "$galleryImage.properties.purchasePlan", "props": [{"type": "string", "name": "name", "arg": "$galleryImage.properties.purchasePlan.name"}, {"type": "string", "name": "product", "arg": "$galleryImage.properties.purchasePlan.product"}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.purchasePlan.publisher"}]}, {"type": "object", "name": "recommended", "arg": "$galleryImage.properties.recommended", "props": [{"type": "@ResourceRange_create", "name": "memory", "arg": "$galleryImage.properties.recommended.memory"}, {"type": "object", "name": "vCPUs", "arg": "$galleryImage.properties.recommended.vCPUs", "props": [{"type": "integer32", "name": "max", "arg": "@ResourceRange_create.max"}, {"type": "integer32", "name": "min", "arg": "@ResourceRange_create.min"}], "cls": "ResourceRange_create"}]}, {"type": "string", "name": "releaseNoteUri", "arg": "$galleryImage.properties.releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$galleryImage.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/galleries/{}/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"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": "identifier", "required": true, "props": [{"type": "string", "name": "offer", "required": true}, {"type": "string", "name": "publisher", "required": true}, {"type": "string", "name": "sku", "required": true}]}, {"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": "string", "name": "privacyStatementUri"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}, {"type": "string", "name": "releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "GalleryImage_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@GalleryImage_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2021-10-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2021-10-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAyMS0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["n", "name", "gallery-image-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be retrieved."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery in which the Image Definition resides."}}, {"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": "GalleryImage", "args": [{"type": "ResourceLocation", "var": "$galleryImage.location", "options": ["l", "location"], "group": "GalleryImage", "help": {"short": "Resource location"}}, {"nullable": true, "type": "object", "var": "$galleryImage.tags", "options": ["tags"], "group": "GalleryImage", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$galleryImage.properties.architecture", "options": ["architecture"], "group": "Properties", "help": {"short": "The architecture of the image. Applicable to OS disks only."}, "enum": {"items": [{"name": "Arm64", "value": "Arm64"}, {"name": "x64", "value": "x64"}]}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of this gallery image definition resource. This property is updatable."}}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.disallowed", "options": ["disallowed"], "group": "Properties", "help": {"short": "Describes the disallowed disk types."}, "args": [{"nullable": true, "type": "array", "var": "$galleryImage.properties.disallowed.diskTypes", "options": ["disk-types"], "help": {"short": "A list of disk types."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "dateTime", "var": "$galleryImage.properties.endOfLifeDate", "options": ["end-of-life-date"], "group": "Properties", "help": {"short": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.eula", "options": ["eula"], "group": "Properties", "help": {"short": "The Eula agreement for the gallery image definition."}}, {"nullable": true, "type": "array", "var": "$galleryImage.properties.features", "options": ["features"], "group": "Properties", "help": {"short": "A list of gallery image features."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$galleryImage.properties.features[].name", "options": ["name"], "help": {"short": "The name of the gallery image feature."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.features[].value", "options": ["value"], "help": {"short": "The value of the gallery image feature."}}]}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.hyperVGeneration", "options": ["hyper-v-generation"], "group": "Properties", "help": {"short": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only."}, "enum": {"items": [{"name": "V1", "value": "V1"}, {"name": "V2", "value": "V2"}]}}, {"type": "object", "var": "$galleryImage.properties.identifier", "options": ["identifier"], "group": "Properties", "help": {"short": "This is the gallery image definition identifier."}, "args": [{"type": "string", "var": "$galleryImage.properties.identifier.offer", "options": ["offer"], "help": {"short": "The name of the gallery image definition offer."}}, {"type": "string", "var": "$galleryImage.properties.identifier.publisher", "options": ["publisher"], "help": {"short": "The name of the gallery image definition publisher."}}, {"type": "string", "var": "$galleryImage.properties.identifier.sku", "options": ["sku"], "help": {"short": "The name of the gallery image definition SKU."}}]}, {"type": "string", "var": "$galleryImage.properties.osState", "options": ["os-state"], "group": "Properties", "help": {"short": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'."}, "enum": {"items": [{"name": "Generalized", "value": "Generalized"}, {"name": "Specialized", "value": "Specialized"}]}}, {"type": "string", "var": "$galleryImage.properties.osType", "options": ["os-type"], "group": "Properties", "help": {"short": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux**"}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.privacyStatementUri", "options": ["privacy-statement-uri"], "group": "Properties", "help": {"short": "The privacy statement uri."}}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.purchasePlan", "options": ["purchase-plan"], "group": "Properties", "help": {"short": "Describes the gallery image definition purchase plan. This is used by marketplace images."}, "args": [{"nullable": true, "type": "string", "var": "$galleryImage.properties.purchasePlan.name", "options": ["name"], "help": {"short": "The plan ID."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.purchasePlan.product", "options": ["product"], "help": {"short": "The product ID."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.purchasePlan.publisher", "options": ["publisher"], "help": {"short": "The publisher ID."}}]}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.recommended", "options": ["recommended"], "group": "Properties", "help": {"short": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable."}, "args": [{"nullable": true, "type": "@ResourceRange_update", "var": "$galleryImage.properties.recommended.memory", "options": ["memory"]}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.recommended.vCPUs", "options": ["v-cp-us"], "help": {"short": "Describes the resource range."}, "args": [{"nullable": true, "type": "integer32", "var": "@ResourceRange_update.max", "options": ["max"], "help": {"short": "The maximum number of the resource."}}, {"nullable": true, "type": "integer32", "var": "@ResourceRange_update.min", "options": ["min"], "help": {"short": "The minimum number of the resource."}}], "cls": "ResourceRange_update"}]}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.releaseNoteUri", "options": ["release-note-uri"], "group": "Properties", "help": {"short": "The release note uri."}}]}], "operations": [{"operationId": "GalleryImages_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"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": "identifier", "required": true, "props": [{"type": "string", "name": "offer", "required": true}, {"type": "string", "name": "publisher", "required": true}, {"type": "string", "name": "sku", "required": true}]}, {"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": "string", "name": "privacyStatementUri"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}, {"type": "string", "name": "releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "GalleryImage_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "galleryImage", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$galleryImage.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "arg": "$galleryImage.properties.architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "string", "name": "description", "arg": "$galleryImage.properties.description"}, {"type": "object", "name": "disallowed", "arg": "$galleryImage.properties.disallowed", "props": [{"type": "array", "name": "diskTypes", "arg": "$galleryImage.properties.disallowed.diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate", "arg": "$galleryImage.properties.endOfLifeDate"}, {"type": "string", "name": "eula", "arg": "$galleryImage.properties.eula"}, {"type": "array", "name": "features", "arg": "$galleryImage.properties.features", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$galleryImage.properties.features[].name"}, {"type": "string", "name": "value", "arg": "$galleryImage.properties.features[].value"}]}, "identifiers": ["name"]}, {"type": "string", "name": "hyperVGeneration", "arg": "$galleryImage.properties.hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "arg": "$galleryImage.properties.identifier", "required": true, "props": [{"type": "string", "name": "offer", "arg": "$galleryImage.properties.identifier.offer", "required": true}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.identifier.publisher", "required": true}, {"type": "string", "name": "sku", "arg": "$galleryImage.properties.identifier.sku", "required": true}]}, {"type": "string", "name": "osState", "arg": "$galleryImage.properties.osState", "required": true, "enum": {"items": [{"value": "Generalized"}, {"value": "Specialized"}]}}, {"type": "string", "name": "osType", "arg": "$galleryImage.properties.osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "string", "name": "privacyStatementUri", "arg": "$galleryImage.properties.privacyStatementUri"}, {"type": "object", "name": "purchasePlan", "arg": "$galleryImage.properties.purchasePlan", "props": [{"type": "string", "name": "name", "arg": "$galleryImage.properties.purchasePlan.name"}, {"type": "string", "name": "product", "arg": "$galleryImage.properties.purchasePlan.product"}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.purchasePlan.publisher"}]}, {"type": "object", "name": "recommended", "arg": "$galleryImage.properties.recommended", "props": [{"type": "@ResourceRange_update", "name": "memory", "arg": "$galleryImage.properties.recommended.memory"}, {"type": "object", "name": "vCPUs", "arg": "$galleryImage.properties.recommended.vCPUs", "props": [{"type": "integer32", "name": "max", "arg": "@ResourceRange_update.max"}, {"type": "integer32", "name": "min", "arg": "@ResourceRange_update.min"}], "cls": "ResourceRange_update"}]}, {"type": "string", "name": "releaseNoteUri", "arg": "$galleryImage.properties.releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$galleryImage.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "GalleryImages_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@GalleryImage_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@GalleryImage_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2021-10-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAyMS0xMC0wMQ=="}], "commandGroups": [{"name": "sig image-definition", "commands": [{"name": "show", "version": "2021-10-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2021-10-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAyMS0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["i", "gallery-image-name", "gallery-image-definition"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be retrieved."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery from which the Image Definitions are to be retrieved."}}, {"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": [{"operationId": "GalleryImages_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"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": "identifier", "required": true, "props": [{"type": "string", "name": "offer", "required": true}, {"type": "string", "name": "publisher", "required": true}, {"type": "string", "name": "sku", "required": true}]}, {"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": "string", "name": "privacyStatementUri"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}, {"type": "string", "name": "releaseNoteUri"}], "clientFlatten": true}, {"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": "2021-10-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2021-10-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAyMS0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["i", "gallery-image-name", "gallery-image-definition"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be deleted."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery in which the Image Definition is to be deleted."}}, {"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": "azure-async-operation"}, "operationId": "GalleryImages_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2021-10-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2021-10-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAyMS0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["n", "name", "gallery-image-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery in which the Image Definition resides."}}, {"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": "GalleryImage", "args": [{"type": "ResourceLocation", "var": "$galleryImage.location", "options": ["l", "location"], "required": true, "group": "GalleryImage", "help": {"short": "Resource location"}}, {"type": "object", "var": "$galleryImage.tags", "options": ["tags"], "group": "GalleryImage", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$galleryImage.properties.architecture", "options": ["architecture"], "group": "Properties", "help": {"short": "The architecture of the image. Applicable to OS disks only."}, "enum": {"items": [{"name": "Arm64", "value": "Arm64"}, {"name": "x64", "value": "x64"}]}}, {"type": "string", "var": "$galleryImage.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of this gallery image definition resource. This property is updatable."}}, {"type": "object", "var": "$galleryImage.properties.disallowed", "options": ["disallowed"], "group": "Properties", "help": {"short": "Describes the disallowed disk types."}, "args": [{"type": "array", "var": "$galleryImage.properties.disallowed.diskTypes", "options": ["disk-types"], "help": {"short": "A list of disk types."}, "item": {"type": "string"}}]}, {"type": "dateTime", "var": "$galleryImage.properties.endOfLifeDate", "options": ["end-of-life-date"], "group": "Properties", "help": {"short": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable."}}, {"type": "string", "var": "$galleryImage.properties.eula", "options": ["eula"], "group": "Properties", "help": {"short": "The Eula agreement for the gallery image definition."}}, {"type": "array", "var": "$galleryImage.properties.features", "options": ["features"], "group": "Properties", "help": {"short": "A list of gallery image features."}, "item": {"type": "object", "args": [{"type": "string", "var": "$galleryImage.properties.features[].name", "options": ["name"], "help": {"short": "The name of the gallery image feature."}}, {"type": "string", "var": "$galleryImage.properties.features[].value", "options": ["value"], "help": {"short": "The value of the gallery image feature."}}]}}, {"type": "string", "var": "$galleryImage.properties.hyperVGeneration", "options": ["hyper-v-generation"], "group": "Properties", "help": {"short": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only."}, "enum": {"items": [{"name": "V1", "value": "V1"}, {"name": "V2", "value": "V2"}]}}, {"type": "object", "var": "$galleryImage.properties.identifier", "options": ["identifier"], "group": "Properties", "help": {"short": "This is the gallery image definition identifier."}, "args": [{"type": "string", "var": "$galleryImage.properties.identifier.offer", "options": ["offer"], "required": true, "help": {"short": "The name of the gallery image definition offer."}}, {"type": "string", "var": "$galleryImage.properties.identifier.publisher", "options": ["publisher"], "required": true, "help": {"short": "The name of the gallery image definition publisher."}}, {"type": "string", "var": "$galleryImage.properties.identifier.sku", "options": ["sku"], "required": true, "help": {"short": "The name of the gallery image definition SKU."}}]}, {"type": "string", "var": "$galleryImage.properties.osState", "options": ["os-state"], "group": "Properties", "help": {"short": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'."}, "enum": {"items": [{"name": "Generalized", "value": "Generalized"}, {"name": "Specialized", "value": "Specialized"}]}}, {"type": "string", "var": "$galleryImage.properties.osType", "options": ["os-type"], "group": "Properties", "help": {"short": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux**"}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"type": "string", "var": "$galleryImage.properties.privacyStatementUri", "options": ["privacy-statement-uri"], "group": "Properties", "help": {"short": "The privacy statement uri."}}, {"type": "object", "var": "$galleryImage.properties.purchasePlan", "options": ["purchase-plan"], "group": "Properties", "help": {"short": "Describes the gallery image definition purchase plan. This is used by marketplace images."}, "args": [{"type": "string", "var": "$galleryImage.properties.purchasePlan.name", "options": ["name"], "help": {"short": "The plan ID."}}, {"type": "string", "var": "$galleryImage.properties.purchasePlan.product", "options": ["product"], "help": {"short": "The product ID."}}, {"type": "string", "var": "$galleryImage.properties.purchasePlan.publisher", "options": ["publisher"], "help": {"short": "The publisher ID."}}]}, {"type": "object", "var": "$galleryImage.properties.recommended", "options": ["recommended"], "group": "Properties", "help": {"short": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable."}, "args": [{"type": "@ResourceRange_create", "var": "$galleryImage.properties.recommended.memory", "options": ["memory"]}, {"type": "object", "var": "$galleryImage.properties.recommended.vCPUs", "options": ["v-cp-us"], "help": {"short": "Describes the resource range."}, "args": [{"type": "integer32", "var": "@ResourceRange_create.max", "options": ["max"], "help": {"short": "The maximum number of the resource."}}, {"type": "integer32", "var": "@ResourceRange_create.min", "options": ["min"], "help": {"short": "The minimum number of the resource."}}], "cls": "ResourceRange_create"}]}, {"type": "string", "var": "$galleryImage.properties.releaseNoteUri", "options": ["release-note-uri"], "group": "Properties", "help": {"short": "The release note uri."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "GalleryImages_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "galleryImage", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$galleryImage.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "arg": "$galleryImage.properties.architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "string", "name": "description", "arg": "$galleryImage.properties.description"}, {"type": "object", "name": "disallowed", "arg": "$galleryImage.properties.disallowed", "props": [{"type": "array", "name": "diskTypes", "arg": "$galleryImage.properties.disallowed.diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate", "arg": "$galleryImage.properties.endOfLifeDate"}, {"type": "string", "name": "eula", "arg": "$galleryImage.properties.eula"}, {"type": "array", "name": "features", "arg": "$galleryImage.properties.features", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$galleryImage.properties.features[].name"}, {"type": "string", "name": "value", "arg": "$galleryImage.properties.features[].value"}]}, "identifiers": ["name"]}, {"type": "string", "name": "hyperVGeneration", "arg": "$galleryImage.properties.hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "arg": "$galleryImage.properties.identifier", "required": true, "props": [{"type": "string", "name": "offer", "arg": "$galleryImage.properties.identifier.offer", "required": true}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.identifier.publisher", "required": true}, {"type": "string", "name": "sku", "arg": "$galleryImage.properties.identifier.sku", "required": true}]}, {"type": "string", "name": "osState", "arg": "$galleryImage.properties.osState", "required": true, "enum": {"items": [{"value": "Generalized"}, {"value": "Specialized"}]}}, {"type": "string", "name": "osType", "arg": "$galleryImage.properties.osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "string", "name": "privacyStatementUri", "arg": "$galleryImage.properties.privacyStatementUri"}, {"type": "object", "name": "purchasePlan", "arg": "$galleryImage.properties.purchasePlan", "props": [{"type": "string", "name": "name", "arg": "$galleryImage.properties.purchasePlan.name"}, {"type": "string", "name": "product", "arg": "$galleryImage.properties.purchasePlan.product"}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.purchasePlan.publisher"}]}, {"type": "object", "name": "recommended", "arg": "$galleryImage.properties.recommended", "props": [{"type": "@ResourceRange_create", "name": "memory", "arg": "$galleryImage.properties.recommended.memory"}, {"type": "object", "name": "vCPUs", "arg": "$galleryImage.properties.recommended.vCPUs", "props": [{"type": "integer32", "name": "max", "arg": "@ResourceRange_create.max"}, {"type": "integer32", "name": "min", "arg": "@ResourceRange_create.min"}], "cls": "ResourceRange_create"}]}, {"type": "string", "name": "releaseNoteUri", "arg": "$galleryImage.properties.releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$galleryImage.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/galleries/{}/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"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": "identifier", "required": true, "props": [{"type": "string", "name": "offer", "required": true}, {"type": "string", "name": "publisher", "required": true}, {"type": "string", "name": "sku", "required": true}]}, {"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": "string", "name": "privacyStatementUri"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}, {"type": "string", "name": "releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "GalleryImage_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@GalleryImage_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2021-10-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}", "version": "2021-10-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXMve2dhbGxlcnlOYW1lfS9pbWFnZXMve2dhbGxlcnlJbWFnZU5hbWV9/V/MjAyMS0xMC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.galleryImageName", "options": ["i", "gallery-image-definition"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the gallery image definition to be retrieved."}}, {"type": "string", "var": "$Path.galleryName", "options": ["r", "gallery-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the Shared Image Gallery in which the Image Definition resides."}}, {"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": "GalleryImage", "args": [{"type": "ResourceLocation", "var": "$galleryImage.location", "options": ["l", "location"], "group": "GalleryImage", "help": {"short": "Resource location"}}, {"nullable": true, "type": "object", "var": "$galleryImage.tags", "options": ["tags"], "group": "GalleryImage", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$galleryImage.properties.architecture", "options": ["architecture"], "group": "Properties", "help": {"short": "The architecture of the image. Applicable to OS disks only."}, "enum": {"items": [{"name": "Arm64", "value": "Arm64"}, {"name": "x64", "value": "x64"}]}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of this gallery image definition resource. This property is updatable."}}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.disallowed", "options": ["disallowed"], "group": "Properties", "help": {"short": "Describes the disallowed disk types."}, "args": [{"nullable": true, "type": "array", "var": "$galleryImage.properties.disallowed.diskTypes", "options": ["disk-types"], "help": {"short": "A list of disk types."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "dateTime", "var": "$galleryImage.properties.endOfLifeDate", "options": ["end-of-life-date"], "group": "Properties", "help": {"short": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.eula", "options": ["eula"], "group": "Properties", "help": {"short": "The Eula agreement for the gallery image definition."}}, {"nullable": true, "type": "array", "var": "$galleryImage.properties.features", "options": ["features"], "group": "Properties", "help": {"short": "A list of gallery image features."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$galleryImage.properties.features[].name", "options": ["name"], "help": {"short": "The name of the gallery image feature."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.features[].value", "options": ["value"], "help": {"short": "The value of the gallery image feature."}}]}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.hyperVGeneration", "options": ["hyper-v-generation"], "group": "Properties", "help": {"short": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only."}, "enum": {"items": [{"name": "V1", "value": "V1"}, {"name": "V2", "value": "V2"}]}}, {"type": "object", "var": "$galleryImage.properties.identifier", "options": ["identifier"], "group": "Properties", "help": {"short": "This is the gallery image definition identifier."}, "args": [{"type": "string", "var": "$galleryImage.properties.identifier.offer", "options": ["offer"], "help": {"short": "The name of the gallery image definition offer."}}, {"type": "string", "var": "$galleryImage.properties.identifier.publisher", "options": ["publisher"], "help": {"short": "The name of the gallery image definition publisher."}}, {"type": "string", "var": "$galleryImage.properties.identifier.sku", "options": ["sku"], "help": {"short": "The name of the gallery image definition SKU."}}]}, {"type": "string", "var": "$galleryImage.properties.osState", "options": ["os-state"], "group": "Properties", "help": {"short": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'."}, "enum": {"items": [{"name": "Generalized", "value": "Generalized"}, {"name": "Specialized", "value": "Specialized"}]}}, {"type": "string", "var": "$galleryImage.properties.osType", "options": ["os-type"], "group": "Properties", "help": {"short": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

Possible values are:

**Windows**

**Linux**"}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.privacyStatementUri", "options": ["privacy-statement-uri"], "group": "Properties", "help": {"short": "The privacy statement uri."}}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.purchasePlan", "options": ["purchase-plan"], "group": "Properties", "help": {"short": "Describes the gallery image definition purchase plan. This is used by marketplace images."}, "args": [{"nullable": true, "type": "string", "var": "$galleryImage.properties.purchasePlan.name", "options": ["name"], "help": {"short": "The plan ID."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.purchasePlan.product", "options": ["product"], "help": {"short": "The product ID."}}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.purchasePlan.publisher", "options": ["publisher"], "help": {"short": "The publisher ID."}}]}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.recommended", "options": ["recommended"], "group": "Properties", "help": {"short": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable."}, "args": [{"nullable": true, "type": "@ResourceRange_update", "var": "$galleryImage.properties.recommended.memory", "options": ["memory"]}, {"nullable": true, "type": "object", "var": "$galleryImage.properties.recommended.vCPUs", "options": ["v-cp-us"], "help": {"short": "Describes the resource range."}, "args": [{"nullable": true, "type": "integer32", "var": "@ResourceRange_update.max", "options": ["max"], "help": {"short": "The maximum number of the resource."}}, {"nullable": true, "type": "integer32", "var": "@ResourceRange_update.min", "options": ["min"], "help": {"short": "The minimum number of the resource."}}], "cls": "ResourceRange_update"}]}, {"nullable": true, "type": "string", "var": "$galleryImage.properties.releaseNoteUri", "options": ["release-note-uri"], "group": "Properties", "help": {"short": "The release note uri."}}]}], "operations": [{"operationId": "GalleryImages_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}/images/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "disallowed", "props": [{"type": "array", "name": "diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate"}, {"type": "string", "name": "eula"}, {"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": "identifier", "required": true, "props": [{"type": "string", "name": "offer", "required": true}, {"type": "string", "name": "publisher", "required": true}, {"type": "string", "name": "sku", "required": true}]}, {"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": "string", "name": "privacyStatementUri"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "purchasePlan", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "product"}, {"type": "string", "name": "publisher"}]}, {"type": "object", "name": "recommended", "props": [{"type": "@ResourceRange_read", "name": "memory"}, {"type": "object", "name": "vCPUs", "props": [{"type": "integer32", "name": "max"}, {"type": "integer32", "name": "min"}], "cls": "ResourceRange_read"}]}, {"type": "string", "name": "releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "GalleryImage_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "galleryImage", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$galleryImage.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "architecture", "arg": "$galleryImage.properties.architecture", "enum": {"items": [{"value": "Arm64"}, {"value": "x64"}]}}, {"type": "string", "name": "description", "arg": "$galleryImage.properties.description"}, {"type": "object", "name": "disallowed", "arg": "$galleryImage.properties.disallowed", "props": [{"type": "array", "name": "diskTypes", "arg": "$galleryImage.properties.disallowed.diskTypes", "item": {"type": "string"}}]}, {"type": "dateTime", "name": "endOfLifeDate", "arg": "$galleryImage.properties.endOfLifeDate"}, {"type": "string", "name": "eula", "arg": "$galleryImage.properties.eula"}, {"type": "array", "name": "features", "arg": "$galleryImage.properties.features", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$galleryImage.properties.features[].name"}, {"type": "string", "name": "value", "arg": "$galleryImage.properties.features[].value"}]}, "identifiers": ["name"]}, {"type": "string", "name": "hyperVGeneration", "arg": "$galleryImage.properties.hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "identifier", "arg": "$galleryImage.properties.identifier", "required": true, "props": [{"type": "string", "name": "offer", "arg": "$galleryImage.properties.identifier.offer", "required": true}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.identifier.publisher", "required": true}, {"type": "string", "name": "sku", "arg": "$galleryImage.properties.identifier.sku", "required": true}]}, {"type": "string", "name": "osState", "arg": "$galleryImage.properties.osState", "required": true, "enum": {"items": [{"value": "Generalized"}, {"value": "Specialized"}]}}, {"type": "string", "name": "osType", "arg": "$galleryImage.properties.osType", "required": true, "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "string", "name": "privacyStatementUri", "arg": "$galleryImage.properties.privacyStatementUri"}, {"type": "object", "name": "purchasePlan", "arg": "$galleryImage.properties.purchasePlan", "props": [{"type": "string", "name": "name", "arg": "$galleryImage.properties.purchasePlan.name"}, {"type": "string", "name": "product", "arg": "$galleryImage.properties.purchasePlan.product"}, {"type": "string", "name": "publisher", "arg": "$galleryImage.properties.purchasePlan.publisher"}]}, {"type": "object", "name": "recommended", "arg": "$galleryImage.properties.recommended", "props": [{"type": "@ResourceRange_update", "name": "memory", "arg": "$galleryImage.properties.recommended.memory"}, {"type": "object", "name": "vCPUs", "arg": "$galleryImage.properties.recommended.vCPUs", "props": [{"type": "integer32", "name": "max", "arg": "@ResourceRange_update.max"}, {"type": "integer32", "name": "min", "arg": "@ResourceRange_update.min"}], "cls": "ResourceRange_update"}]}, {"type": "string", "name": "releaseNoteUri", "arg": "$galleryImage.properties.releaseNoteUri"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$galleryImage.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "GalleryImages_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "galleryImageName", "arg": "$Path.galleryImageName", "required": true}, {"type": "string", "name": "galleryName", "arg": "$Path.galleryName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@GalleryImage_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@GalleryImage_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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2021-10-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2021-10-01.xml index 3e2cffb6a..8d715ab45 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2021-10-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9pbWFnZXMve30=/2021-10-01.xml @@ -485,10 +485,10 @@ - + - +