From cc1e3475c3f9ebf77ab784f42896ad966bfa2981 Mon Sep 17 00:00:00 2001 From: Jian Hui Date: Wed, 21 Jan 2026 11:08:20 +0800 Subject: [PATCH] feat: migrate vm avset create to aaz --- Commands/vm/availability-set/_create.md | 7 +++++++ .../2024-07-01.json | 2 +- .../2024-07-01.xml | 8 ++++++-- .../2024-07-01.json | 2 +- .../2024-07-01.xml | 12 +++++++++--- 5 files changed, 24 insertions(+), 7 deletions(-) diff --git a/Commands/vm/availability-set/_create.md b/Commands/vm/availability-set/_create.md index 9f07c29aa..3c7304311 100644 --- a/Commands/vm/availability-set/_create.md +++ b/Commands/vm/availability-set/_create.md @@ -24,6 +24,13 @@ Create an availability set. +#### examples + +- Create an availability set. + ```bash + vm availability-set create -g myRG -n myAvailabilitySet -l westus --platform-fault-domain-count 2 --platform-update-domain-count 20 + ``` + ### [2025-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHMve30=/2025-04-01.xml) **Stable** diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHM=/2024-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHM=/2024-07-01.json index 8029cc5cb..9b8574bc9 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHM=/2024-07-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHM=/2024-07-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/availabilitysets", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvYXZhaWxhYmlsaXR5U2V0cw==/V/MjAyNC0wNy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRz/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "vm availability-set", "commands": [{"name": "list", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/availabilitysets", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvYXZhaWxhYmlsaXR5U2V0cw==/V/MjAyNC0wNy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRz/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'."}}]}], "conditions": [{"var": "$Condition_AvailabilitySets_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_AvailabilitySets_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_AvailabilitySets_ListBySubscription"], "operationId": "AvailabilitySets_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "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": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/availabilitySets/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount"}, {"type": "@SubResource_read", "name": "proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}]}, {"readOnly": true, "type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time"}]}}, {"type": "array", "name": "virtualMachines", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer64", "name": "capacity"}, {"type": "string", "name": "name"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_AvailabilitySets_List"], "operationId": "AvailabilitySets_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets", "request": {"method": "get", "path": {"params": [{"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": "2024-07-01"}, "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": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/availabilitySets/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount"}, {"type": "@SubResource_read", "name": "proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}]}, {"readOnly": true, "type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time"}]}}, {"type": "array<@SubResource_read>", "name": "virtualMachines", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer64", "name": "capacity"}, {"type": "string", "name": "name"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/availabilitysets", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvYXZhaWxhYmlsaXR5U2V0cw==/V/MjAyNC0wNy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRz/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "vm availability-set", "commands": [{"name": "list", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/availabilitysets", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvYXZhaWxhYmlsaXR5U2V0cw==/V/MjAyNC0wNy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRz/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "The expand expression to apply to the operation. Allowed values are 'virtualMachines/$ref'."}}]}], "conditions": [{"var": "$Condition_AvailabilitySets_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_AvailabilitySets_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_AvailabilitySets_ListBySubscription"], "operationId": "AvailabilitySets_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "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": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/availabilitySets/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount"}, {"type": "@SubResource_read", "name": "proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}]}, {"readOnly": true, "type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time", "format": {"protocol": "iso"}}]}}, {"type": "array", "name": "virtualMachines", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer64", "name": "capacity"}, {"type": "string", "name": "name"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_AvailabilitySets_List"], "operationId": "AvailabilitySets_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets", "request": {"method": "get", "path": {"params": [{"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": "2024-07-01"}, "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": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/availabilitySets/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount"}, {"type": "@SubResource_read", "name": "proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}]}, {"readOnly": true, "type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time", "format": {"protocol": "iso"}}]}}, {"type": "array<@SubResource_read>", "name": "virtualMachines", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer64", "name": "capacity"}, {"type": "string", "name": "name"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHM=/2024-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHM=/2024-07-01.xml index 88766f0b0..4bbe403c6 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHM=/2024-07-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHM=/2024-07-01.xml @@ -81,7 +81,9 @@ - + + + @@ -170,7 +172,9 @@ - + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHMve30=/2024-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHMve30=/2024-07-01.json index 32778636d..fee7bf6b1 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHMve30=/2024-07-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHMve30=/2024-07-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets/{}", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRzL3thdmFpbGFiaWxpdHlTZXROYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "vm availability-set", "commands": [{"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets/{}", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRzL3thdmFpbGFiaWxpdHlTZXROYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.availabilitySetName", "options": ["n", "name", "availability-set-name"], "required": true, "idPart": "name", "help": {"short": "The name of the availability set."}}, {"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": "AvailabilitySets_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "availabilitySetName", "arg": "$Path.availabilitySetName", "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": "2024-07-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/availabilitySets/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount"}, {"type": "@SubResource_read", "name": "proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}]}, {"readOnly": true, "type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time"}]}}, {"type": "array", "name": "virtualMachines", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer64", "name": "capacity"}, {"type": "string", "name": "name"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets/{}", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRzL3thdmFpbGFiaWxpdHlTZXROYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.availabilitySetName", "options": ["n", "name", "availability-set-name"], "required": true, "idPart": "name", "help": {"short": "The name of the availability set."}}, {"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": "AvailabilitySets_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "availabilitySetName", "arg": "$Path.availabilitySetName", "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": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets/{}", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRzL3thdmFpbGFiaWxpdHlTZXROYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.availabilitySetName", "options": ["n", "name", "availability-set-name"], "required": true, "idPart": "name", "help": {"short": "The name of the availability set."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "", "help": {"short": "Resource location"}}, {"type": "integer32", "var": "$parameters.properties.platformFaultDomainCount", "options": ["platform-fault-domain-count"], "group": "", "help": {"short": "Fault Domain count."}}, {"type": "integer32", "var": "$parameters.properties.platformUpdateDomainCount", "options": ["platform-update-domain-count"], "group": "", "help": {"short": "Update Domain count. If unspecified, the server will pick the most optimal number like 5."}}, {"type": "@SubResource_create", "var": "$parameters.properties.proximityPlacementGroup", "options": ["proximity-placement-group"], "group": "", "help": {"short": "Specifies information about the proximity placement group that the availability set should be assigned to.

Minimum api-version: 2018-04-01."}}, {"type": "boolean", "var": "$parameters.properties.scheduledEventsPolicy.scheduledEventsAdditionalPublishingTargets.eventGridAndResourceGraph.enable", "options": ["additional-events", "additional-scheduled-events"], "group": "", "help": {"short": "The configuration parameter used while creating event grid and resource graph scheduled event setting."}}, {"type": "boolean", "var": "$parameters.properties.scheduledEventsPolicy.userInitiatedReboot.automaticallyApprove", "options": ["enable-reboot", "enable-user-reboot-scheduled-events"], "group": "", "help": {"short": "The configuration parameter used while publishing scheduled events additional publishing targets."}}, {"type": "boolean", "var": "$parameters.properties.scheduledEventsPolicy.userInitiatedRedeploy.automaticallyApprove", "options": ["enable-redeploy", "enable-user-redeploy-scheduled-events"], "group": "", "help": {"short": "The configuration parameter used while creating user initiated redeploy scheduled event setting creation."}}, {"type": "object", "var": "$parameters.sku", "options": ["sku"], "group": "", "help": {"short": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'."}, "args": [{"type": "integer64", "var": "$parameters.sku.capacity", "options": ["capacity"], "help": {"short": "Specifies the number of virtual machines in the scale set."}}, {"type": "string", "var": "$parameters.sku.name", "options": ["name"], "help": {"short": "The sku name."}}, {"type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "help": {"short": "Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic**"}}]}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.virtualMachines", "options": ["virtual-machines"], "hide": true, "group": "Properties", "help": {"short": "A list of references to all virtual machines in the availability set."}, "item": {"type": "object", "args": [{"type": "string", "var": "@SubResource_create.id", "options": ["id"], "help": {"short": "Resource Id"}}], "cls": "SubResource_create"}}]}], "operations": [{"operationId": "AvailabilitySets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "availabilitySetName", "arg": "$Path.availabilitySetName", "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": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount", "arg": "$parameters.properties.platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount", "arg": "$parameters.properties.platformUpdateDomainCount"}, {"type": "@SubResource_create", "name": "proximityPlacementGroup", "arg": "$parameters.properties.proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable", "arg": "$parameters.properties.scheduledEventsPolicy.scheduledEventsAdditionalPublishingTargets.eventGridAndResourceGraph.enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove", "arg": "$parameters.properties.scheduledEventsPolicy.userInitiatedReboot.automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove", "arg": "$parameters.properties.scheduledEventsPolicy.userInitiatedRedeploy.automaticallyApprove"}]}]}, {"type": "array", "name": "virtualMachines", "arg": "$parameters.properties.virtualMachines", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "@SubResource_create.id"}], "cls": "SubResource_create"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$parameters.sku", "props": [{"type": "integer64", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": 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/availabilitySets/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount"}, {"type": "@SubResource_read", "name": "proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}]}, {"readOnly": true, "type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time"}]}}, {"type": "array", "name": "virtualMachines", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer64", "name": "capacity"}, {"type": "string", "name": "name"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets/{}", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRzL3thdmFpbGFiaWxpdHlTZXROYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.availabilitySetName", "options": ["n", "name", "availability-set-name"], "required": true, "idPart": "name", "help": {"short": "The name of the availability set."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "hide": true, "group": "", "help": {"short": "Resource location"}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.platformFaultDomainCount", "options": ["platform-fault-domain-count"], "group": "", "help": {"short": "Fault Domain count."}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.platformUpdateDomainCount", "options": ["platform-update-domain-count"], "hide": true, "group": "", "help": {"short": "Update Domain count."}}, {"nullable": true, "type": "@SubResource_update", "var": "$parameters.properties.proximityPlacementGroup", "options": ["proximity-placement-group"], "group": "", "help": {"short": "Specifies information about the proximity placement group that the availability set should be assigned to.

Minimum api-version: 2018-04-01."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.scheduledEventsPolicy.scheduledEventsAdditionalPublishingTargets.eventGridAndResourceGraph.enable", "options": ["additional-events", "additional-scheduled-events"], "group": "", "help": {"short": "The configuration parameter used while creating event grid and resource graph scheduled event setting."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.scheduledEventsPolicy.userInitiatedReboot.automaticallyApprove", "options": ["enable-reboot", "enable-user-reboot-scheduled-events"], "group": "", "help": {"short": "The configuration parameter used while publishing scheduled events additional publishing targets."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.scheduledEventsPolicy.userInitiatedRedeploy.automaticallyApprove", "options": ["enable-redeploy", "enable-user-redeploy-scheduled-events"], "group": "", "help": {"short": "The configuration parameter used while creating user initiated redeploy scheduled event setting creation."}}, {"nullable": true, "type": "object", "var": "$parameters.sku", "options": ["sku"], "group": "", "help": {"short": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'."}, "args": [{"nullable": true, "type": "integer64", "var": "$parameters.sku.capacity", "options": ["capacity"], "help": {"short": "Specifies the number of virtual machines in the scale set."}}, {"nullable": true, "type": "string", "var": "$parameters.sku.name", "options": ["name"], "help": {"short": "The sku name."}}, {"nullable": true, "type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "help": {"short": "Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic**"}}]}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "hide": true, "group": "", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.virtualMachines", "options": ["virtual-machines"], "hide": true, "group": "Properties", "help": {"short": "A list of references to all virtual machines in the availability set."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource Id"}}], "cls": "SubResource_update"}}]}], "operations": [{"operationId": "AvailabilitySets_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "availabilitySetName", "arg": "$Path.availabilitySetName", "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": "2024-07-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/availabilitySets/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount"}, {"type": "@SubResource_read", "name": "proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}]}, {"readOnly": true, "type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time"}]}}, {"type": "array", "name": "virtualMachines", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer64", "name": "capacity"}, {"type": "string", "name": "name"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "AvailabilitySet_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount", "arg": "$parameters.properties.platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount", "arg": "$parameters.properties.platformUpdateDomainCount"}, {"type": "@SubResource_update", "name": "proximityPlacementGroup", "arg": "$parameters.properties.proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable", "arg": "$parameters.properties.scheduledEventsPolicy.scheduledEventsAdditionalPublishingTargets.eventGridAndResourceGraph.enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove", "arg": "$parameters.properties.scheduledEventsPolicy.userInitiatedReboot.automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove", "arg": "$parameters.properties.scheduledEventsPolicy.userInitiatedRedeploy.automaticallyApprove"}]}]}, {"type": "array", "name": "virtualMachines", "arg": "$parameters.properties.virtualMachines", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$parameters.sku", "props": [{"type": "integer64", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "AvailabilitySets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "availabilitySetName", "arg": "$Path.availabilitySetName", "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": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@AvailabilitySet_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets/{}", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRzL3thdmFpbGFiaWxpdHlTZXROYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "vm availability-set", "commands": [{"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets/{}", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRzL3thdmFpbGFiaWxpdHlTZXROYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.availabilitySetName", "options": ["n", "name", "availability-set-name"], "required": true, "idPart": "name", "help": {"short": "The name of the availability set."}}, {"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": "AvailabilitySets_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "availabilitySetName", "arg": "$Path.availabilitySetName", "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": "2024-07-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/availabilitySets/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount"}, {"type": "@SubResource_read", "name": "proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}]}, {"readOnly": true, "type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time", "format": {"protocol": "iso"}}]}}, {"type": "array", "name": "virtualMachines", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer64", "name": "capacity"}, {"type": "string", "name": "name"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets/{}", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRzL3thdmFpbGFiaWxpdHlTZXROYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.availabilitySetName", "options": ["n", "name", "availability-set-name"], "required": true, "idPart": "name", "help": {"short": "The name of the availability set."}}, {"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": "AvailabilitySets_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "availabilitySetName", "arg": "$Path.availabilitySetName", "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": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets/{}", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRzL3thdmFpbGFiaWxpdHlTZXROYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.availabilitySetName", "options": ["n", "name", "availability-set-name"], "required": true, "idPart": "name", "help": {"short": "The name of the availability set."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "", "help": {"short": "Resource location"}}, {"type": "integer32", "var": "$parameters.properties.platformFaultDomainCount", "options": ["platform-fault-domain-count"], "group": "", "help": {"short": "Fault Domain count."}}, {"type": "integer32", "var": "$parameters.properties.platformUpdateDomainCount", "options": ["platform-update-domain-count"], "group": "", "help": {"short": "Update Domain count. If unspecified, the server will pick the most optimal number like 5."}}, {"type": "@SubResource_create", "var": "$parameters.properties.proximityPlacementGroup", "options": ["proximity-placement-group"], "group": "", "help": {"short": "Specifies information about the proximity placement group that the availability set should be assigned to.

Minimum api-version: 2018-04-01."}}, {"type": "boolean", "var": "$parameters.properties.scheduledEventsPolicy.scheduledEventsAdditionalPublishingTargets.eventGridAndResourceGraph.enable", "options": ["additional-events", "additional-scheduled-events"], "group": "", "help": {"short": "The configuration parameter used while creating event grid and resource graph scheduled event setting."}}, {"type": "boolean", "var": "$parameters.properties.scheduledEventsPolicy.userInitiatedReboot.automaticallyApprove", "options": ["enable-reboot", "enable-user-reboot-scheduled-events"], "group": "", "help": {"short": "The configuration parameter used while publishing scheduled events additional publishing targets."}}, {"type": "boolean", "var": "$parameters.properties.scheduledEventsPolicy.userInitiatedRedeploy.automaticallyApprove", "options": ["enable-redeploy", "enable-user-redeploy-scheduled-events"], "group": "", "help": {"short": "The configuration parameter used while creating user initiated redeploy scheduled event setting creation."}}, {"type": "object", "var": "$parameters.sku", "options": ["sku"], "group": "", "help": {"short": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'."}, "args": [{"type": "integer64", "var": "$parameters.sku.capacity", "options": ["capacity"], "help": {"short": "Specifies the number of virtual machines in the scale set."}}, {"type": "string", "var": "$parameters.sku.name", "options": ["name"], "help": {"short": "The sku name."}}, {"type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "help": {"short": "Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic**"}}]}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.virtualMachines", "options": ["virtual-machines"], "hide": true, "group": "Properties", "help": {"short": "A list of references to all virtual machines in the availability set."}, "item": {"type": "object", "args": [{"type": "string", "var": "@SubResource_create.id", "options": ["id"], "help": {"short": "Resource Id"}}], "cls": "SubResource_create"}}]}], "operations": [{"operationId": "AvailabilitySets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "availabilitySetName", "arg": "$Path.availabilitySetName", "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": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount", "arg": "$parameters.properties.platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount", "arg": "$parameters.properties.platformUpdateDomainCount"}, {"type": "@SubResource_create", "name": "proximityPlacementGroup", "arg": "$parameters.properties.proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable", "arg": "$parameters.properties.scheduledEventsPolicy.scheduledEventsAdditionalPublishingTargets.eventGridAndResourceGraph.enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove", "arg": "$parameters.properties.scheduledEventsPolicy.userInitiatedReboot.automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove", "arg": "$parameters.properties.scheduledEventsPolicy.userInitiatedRedeploy.automaticallyApprove"}]}]}, {"type": "array", "name": "virtualMachines", "arg": "$parameters.properties.virtualMachines", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "@SubResource_create.id"}], "cls": "SubResource_create"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$parameters.sku", "props": [{"type": "integer64", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": 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/availabilitySets/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount"}, {"type": "@SubResource_read", "name": "proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}]}, {"readOnly": true, "type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time", "format": {"protocol": "iso"}}]}}, {"type": "array", "name": "virtualMachines", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer64", "name": "capacity"}, {"type": "string", "name": "name"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/availabilitysets/{}", "version": "2024-07-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9hdmFpbGFiaWxpdHlTZXRzL3thdmFpbGFiaWxpdHlTZXROYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.availabilitySetName", "options": ["n", "name", "availability-set-name"], "required": true, "idPart": "name", "help": {"short": "The name of the availability set."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "hide": true, "group": "", "help": {"short": "Resource location"}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.platformFaultDomainCount", "options": ["platform-fault-domain-count"], "group": "", "help": {"short": "Fault Domain count."}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.platformUpdateDomainCount", "options": ["platform-update-domain-count"], "hide": true, "group": "", "help": {"short": "Update Domain count."}}, {"nullable": true, "type": "@SubResource_update", "var": "$parameters.properties.proximityPlacementGroup", "options": ["proximity-placement-group"], "group": "", "help": {"short": "Specifies information about the proximity placement group that the availability set should be assigned to.

Minimum api-version: 2018-04-01."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.scheduledEventsPolicy.scheduledEventsAdditionalPublishingTargets.eventGridAndResourceGraph.enable", "options": ["additional-events", "additional-scheduled-events"], "group": "", "help": {"short": "The configuration parameter used while creating event grid and resource graph scheduled event setting."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.scheduledEventsPolicy.userInitiatedReboot.automaticallyApprove", "options": ["enable-reboot", "enable-user-reboot-scheduled-events"], "group": "", "help": {"short": "The configuration parameter used while publishing scheduled events additional publishing targets."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.scheduledEventsPolicy.userInitiatedRedeploy.automaticallyApprove", "options": ["enable-redeploy", "enable-user-redeploy-scheduled-events"], "group": "", "help": {"short": "The configuration parameter used while creating user initiated redeploy scheduled event setting creation."}}, {"nullable": true, "type": "object", "var": "$parameters.sku", "options": ["sku"], "group": "", "help": {"short": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'."}, "args": [{"nullable": true, "type": "integer64", "var": "$parameters.sku.capacity", "options": ["capacity"], "help": {"short": "Specifies the number of virtual machines in the scale set."}}, {"nullable": true, "type": "string", "var": "$parameters.sku.name", "options": ["name"], "help": {"short": "The sku name."}}, {"nullable": true, "type": "string", "var": "$parameters.sku.tier", "options": ["tier"], "help": {"short": "Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic**"}}]}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "hide": true, "group": "", "help": {"short": "Resource tags"}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.virtualMachines", "options": ["virtual-machines"], "hide": true, "group": "Properties", "help": {"short": "A list of references to all virtual machines in the availability set."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource Id"}}], "cls": "SubResource_update"}}]}], "operations": [{"operationId": "AvailabilitySets_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "availabilitySetName", "arg": "$Path.availabilitySetName", "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": "2024-07-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/availabilitySets/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount"}, {"type": "@SubResource_read", "name": "proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove"}]}]}, {"readOnly": true, "type": "array", "name": "statuses", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time", "format": {"protocol": "iso"}}]}}, {"type": "array", "name": "virtualMachines", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "integer64", "name": "capacity"}, {"type": "string", "name": "name"}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "AvailabilitySet_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$parameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "integer32", "name": "platformFaultDomainCount", "arg": "$parameters.properties.platformFaultDomainCount"}, {"type": "integer32", "name": "platformUpdateDomainCount", "arg": "$parameters.properties.platformUpdateDomainCount"}, {"type": "@SubResource_update", "name": "proximityPlacementGroup", "arg": "$parameters.properties.proximityPlacementGroup"}, {"type": "object", "name": "scheduledEventsPolicy", "props": [{"type": "object", "name": "scheduledEventsAdditionalPublishingTargets", "props": [{"type": "object", "name": "eventGridAndResourceGraph", "props": [{"type": "boolean", "name": "enable", "arg": "$parameters.properties.scheduledEventsPolicy.scheduledEventsAdditionalPublishingTargets.eventGridAndResourceGraph.enable"}]}]}, {"type": "object", "name": "userInitiatedReboot", "props": [{"type": "boolean", "name": "automaticallyApprove", "arg": "$parameters.properties.scheduledEventsPolicy.userInitiatedReboot.automaticallyApprove"}]}, {"type": "object", "name": "userInitiatedRedeploy", "props": [{"type": "boolean", "name": "automaticallyApprove", "arg": "$parameters.properties.scheduledEventsPolicy.userInitiatedRedeploy.automaticallyApprove"}]}]}, {"type": "array", "name": "virtualMachines", "arg": "$parameters.properties.virtualMachines", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$parameters.sku", "props": [{"type": "integer64", "name": "capacity", "arg": "$parameters.sku.capacity"}, {"type": "string", "name": "name", "arg": "$parameters.sku.name"}, {"type": "string", "name": "tier", "arg": "$parameters.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "AvailabilitySets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "availabilitySetName", "arg": "$Path.availabilitySetName", "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": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@AvailabilitySet_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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHMve30=/2024-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHMve30=/2024-07-01.xml index e99a99fee..242fddfa1 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHMve30=/2024-07-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2F2YWlsYWJpbGl0eXNldHMve30=/2024-07-01.xml @@ -63,7 +63,9 @@ - + + + @@ -283,7 +285,9 @@ - + + + @@ -428,7 +432,9 @@ - + + +