From 7216b2fbcedeff4791ea1995fa627a887e57b446 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 27 Nov 2024 14:22:08 +0800 Subject: [PATCH] remove redundant spaces in examples --- Commands/capacity/reservation/group/_list.md | 2 +- Commands/tree.json | 2 +- .../2024-03-01.json | 2 +- .../2024-03-01.xml | 4 ++-- .../2022-08-01.json | 2 +- .../2022-08-01.xml | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Commands/capacity/reservation/group/_list.md b/Commands/capacity/reservation/group/_list.md index 02e5a198c..dadda0072 100644 --- a/Commands/capacity/reservation/group/_list.md +++ b/Commands/capacity/reservation/group/_list.md @@ -16,7 +16,7 @@ List the capacity reservation groups. capacity reservation group list -g rg ``` -- List the capacity reservation groups containing VM instances and VMSS instance which are associated to capacity reservation group +- List the capacity reservation groups containing VM instances and VMSS instance which are associated to capacity reservation group ```bash capacity reservation group list -g rg --vm-instance --vmss-instance ``` diff --git a/Commands/tree.json b/Commands/tree.json index 6bd868c56..93f3b4c8e 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -15152,7 +15152,7 @@ "commands": [ "capacity reservation group list -g rg --vm-instance --vmss-instance" ], - "name": "List the capacity reservation groups containing VM instances and VMSS instance which are associated to capacity reservation group" + "name": "List the capacity reservation groups containing VM instances and VMSS instance which are associated to capacity reservation group" } ], "name": "2024-03-01", diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHM=/2024-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHM=/2024-03-01.json index 58dd43143..bc73580bd 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHM=/2024-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHM=/2024-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/capacityreservationgroups", "version": "2024-03-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvY2FwYWNpdHlSZXNlcnZhdGlvbkdyb3Vwcw==/V/MjAyNC0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/capacityreservationgroups", "version": "2024-03-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBz/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "capacity reservation group", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/capacityreservationgroups", "version": "2024-03-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvY2FwYWNpdHlSZXNlcnZhdGlvbkdyb3Vwcw==/V/MjAyNC0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/capacityreservationgroups", "version": "2024-03-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBz/V/MjAyNC0wMy0wMQ=="}], "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 on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response."}, "enum": {"items": [{"name": "virtualMachineScaleSetVMs/$ref", "value": "virtualMachineScaleSetVMs/$ref"}, {"name": "virtualMachines/$ref", "value": "virtualMachines/$ref"}]}}, {"type": "string", "var": "$Query.resourceIdsOnly", "options": ["resource-ids-only"], "group": "", "help": {"short": "The query option to fetch capacity reservation group resource Ids. 'CreatedInSubscription' enables fetching resource Ids for all capacity reservation group resources created in the subscription. 'SharedWithSubscription' enables fetching resource Ids for all capacity reservation group resources shared with the subscription. 'All' enables fetching resource Ids for all capacity reservation group resources shared with the subscription and created in the subscription."}, "enum": {"items": [{"name": "All", "value": "All"}, {"name": "CreatedInSubscription", "value": "CreatedInSubscription"}, {"name": "SharedWithSubscription", "value": "SharedWithSubscription"}]}}]}], "conditions": [{"var": "$Condition_CapacityReservationGroups_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_CapacityReservationGroups_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_CapacityReservationGroups_ListBySubscription"], "operationId": "CapacityReservationGroups_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/capacityReservationGroups", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand", "enum": {"items": [{"value": "virtualMachineScaleSetVMs/$ref"}, {"value": "virtualMachines/$ref"}]}}, {"type": "string", "name": "resourceIdsOnly", "arg": "$Query.resourceIdsOnly", "enum": {"items": [{"value": "All"}, {"value": "CreatedInSubscription"}, {"value": "SharedWithSubscription"}]}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-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/capacityReservationGroups/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "capacityReservations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}], "cls": "SubResourceReadOnly_read"}}, {"type": "object", "name": "instanceView", "props": [{"readOnly": true, "type": "array", "name": "capacityReservations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "name"}, {"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": "object", "name": "utilizationInfo", "props": [{"readOnly": true, "type": "integer32", "name": "currentCapacity"}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAllocated", "item": {"type": "@SubResourceReadOnly_read"}}]}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "sharedSubscriptionIds", "item": {"type": "@SubResourceReadOnly_read"}, "identifiers": ["id"]}]}, {"type": "object", "name": "sharingProfile", "props": [{"type": "array", "name": "subscriptionIds", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}]}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAssociated", "item": {"type": "@SubResourceReadOnly_read"}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_CapacityReservationGroups_ListByResourceGroup"], "operationId": "CapacityReservationGroups_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand", "enum": {"items": [{"value": "virtualMachineScaleSetVMs/$ref"}, {"value": "virtualMachines/$ref"}]}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-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/capacityReservationGroups/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "capacityReservations", "item": {"type": "@SubResourceReadOnly_read"}}, {"type": "object", "name": "instanceView", "props": [{"readOnly": true, "type": "array", "name": "capacityReservations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "name"}, {"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": "object", "name": "utilizationInfo", "props": [{"readOnly": true, "type": "integer32", "name": "currentCapacity"}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAllocated", "item": {"type": "@SubResourceReadOnly_read"}}]}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "sharedSubscriptionIds", "item": {"type": "@SubResourceReadOnly_read"}, "identifiers": ["id"]}]}, {"type": "object", "name": "sharingProfile", "props": [{"type": "array", "name": "subscriptionIds", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}]}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAssociated", "item": {"type": "@SubResourceReadOnly_read"}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}}]}}}}, {"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/capacityreservationgroups", "version": "2024-03-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvY2FwYWNpdHlSZXNlcnZhdGlvbkdyb3Vwcw==/V/MjAyNC0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/capacityreservationgroups", "version": "2024-03-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBz/V/MjAyNC0wMy0wMQ=="}], "commandGroups": [{"name": "capacity reservation group", "commands": [{"name": "list", "version": "2024-03-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/capacityreservationgroups", "version": "2024-03-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvY2FwYWNpdHlSZXNlcnZhdGlvbkdyb3Vwcw==/V/MjAyNC0wMy0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/capacityreservationgroups", "version": "2024-03-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBz/V/MjAyNC0wMy0wMQ=="}], "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 on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response."}, "enum": {"items": [{"name": "virtualMachineScaleSetVMs/$ref", "value": "virtualMachineScaleSetVMs/$ref"}, {"name": "virtualMachines/$ref", "value": "virtualMachines/$ref"}]}}, {"type": "string", "var": "$Query.resourceIdsOnly", "options": ["resource-ids-only"], "group": "", "help": {"short": "The query option to fetch capacity reservation group resource Ids. 'CreatedInSubscription' enables fetching resource Ids for all capacity reservation group resources created in the subscription. 'SharedWithSubscription' enables fetching resource Ids for all capacity reservation group resources shared with the subscription. 'All' enables fetching resource Ids for all capacity reservation group resources shared with the subscription and created in the subscription."}, "enum": {"items": [{"name": "All", "value": "All"}, {"name": "CreatedInSubscription", "value": "CreatedInSubscription"}, {"name": "SharedWithSubscription", "value": "SharedWithSubscription"}]}}]}], "conditions": [{"var": "$Condition_CapacityReservationGroups_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_CapacityReservationGroups_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_CapacityReservationGroups_ListBySubscription"], "operationId": "CapacityReservationGroups_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/capacityReservationGroups", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand", "enum": {"items": [{"value": "virtualMachineScaleSetVMs/$ref"}, {"value": "virtualMachines/$ref"}]}}, {"type": "string", "name": "resourceIdsOnly", "arg": "$Query.resourceIdsOnly", "enum": {"items": [{"value": "All"}, {"value": "CreatedInSubscription"}, {"value": "SharedWithSubscription"}]}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-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/capacityReservationGroups/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array", "name": "capacityReservations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}], "cls": "SubResourceReadOnly_read"}}, {"readOnly": true, "type": "object", "name": "instanceView", "props": [{"readOnly": true, "type": "array", "name": "capacityReservations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "name"}, {"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": "object", "name": "utilizationInfo", "props": [{"readOnly": true, "type": "integer32", "name": "currentCapacity"}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAllocated", "item": {"type": "@SubResourceReadOnly_read"}}]}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "sharedSubscriptionIds", "item": {"type": "@SubResourceReadOnly_read"}, "identifiers": ["id"]}]}, {"type": "object", "name": "sharingProfile", "props": [{"type": "array", "name": "subscriptionIds", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}]}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAssociated", "item": {"type": "@SubResourceReadOnly_read"}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_CapacityReservationGroups_ListByResourceGroup"], "operationId": "CapacityReservationGroups_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand", "enum": {"items": [{"value": "virtualMachineScaleSetVMs/$ref"}, {"value": "virtualMachines/$ref"}]}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-03-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/capacityReservationGroups/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "capacityReservations", "item": {"type": "@SubResourceReadOnly_read"}}, {"readOnly": true, "type": "object", "name": "instanceView", "props": [{"readOnly": true, "type": "array", "name": "capacityReservations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "name"}, {"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": "object", "name": "utilizationInfo", "props": [{"readOnly": true, "type": "integer32", "name": "currentCapacity"}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAllocated", "item": {"type": "@SubResourceReadOnly_read"}}]}]}, "identifiers": ["name"]}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "sharedSubscriptionIds", "item": {"type": "@SubResourceReadOnly_read"}, "identifiers": ["id"]}]}, {"type": "object", "name": "sharingProfile", "props": [{"type": "array", "name": "subscriptionIds", "item": {"type": "object", "props": [{"type": "string", "name": "id"}]}}]}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAssociated", "item": {"type": "@SubResourceReadOnly_read"}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}}]}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHM=/2024-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHM=/2024-03-01.xml index 92b764995..c7363cd92 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHM=/2024-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHM=/2024-03-01.xml @@ -82,7 +82,7 @@ - + @@ -183,7 +183,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHMve30vY2FwYWNpdHlyZXNlcnZhdGlvbnMve30=/2022-08-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHMve30vY2FwYWNpdHlyZXNlcnZhdGlvbnMve30=/2022-08-01.json index 11bbe3801..2ffeb4ac8 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHMve30vY2FwYWNpdHlyZXNlcnZhdGlvbnMve30=/2022-08-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHMve30vY2FwYWNpdHlyZXNlcnZhdGlvbnMve30=/2022-08-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/capacityreservationgroups/{}/capacityreservations/{}", "version": "2022-08-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBzL3tjYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBOYW1lfS9jYXBhY2l0eVJlc2VydmF0aW9ucy97Y2FwYWNpdHlSZXNlcnZhdGlvbk5hbWV9/V/MjAyMi0wOC0wMQ=="}], "commandGroups": [{"name": "capacity reservation", "commands": [{"name": "show", "version": "2022-08-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/capacityreservationgroups/{}/capacityreservations/{}", "version": "2022-08-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBzL3tjYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBOYW1lfS9jYXBhY2l0eVJlc2VydmF0aW9ucy97Y2FwYWNpdHlSZXNlcnZhdGlvbk5hbWV9/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.capacityReservationGroupName", "options": ["c", "capacity-reservation-group", "capacity-reservation-group-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the capacity reservation group."}}, {"type": "string", "var": "$Path.capacityReservationName", "options": ["n", "capacity-reservation-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the capacity reservation."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations."}, "enum": {"items": [{"name": "instanceView", "value": "instanceView"}]}}]}], "operations": [{"operationId": "CapacityReservations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "capacityReservationGroupName", "arg": "$Path.capacityReservationGroupName", "required": true}, {"type": "string", "name": "capacityReservationName", "arg": "$Path.capacityReservationName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand", "enum": {"items": [{"value": "instanceView"}]}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-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/capacityReservationGroups/{}/capacityReservations/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "instanceView", "props": [{"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": "object", "name": "utilizationInfo", "props": [{"readOnly": true, "type": "integer32", "name": "currentCapacity"}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAllocated", "item": {"type": "@SubResourceReadOnly_read"}}]}]}, {"readOnly": true, "type": "integer32", "name": "platformFaultDomainCount"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "dateTime", "name": "provisioningTime"}, {"readOnly": true, "type": "string", "name": "reservationId"}, {"readOnly": true, "type": "dateTime", "name": "timeCreated"}, {"readOnly": true, "type": "array", "name": "virtualMachinesAssociated", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}], "cls": "SubResourceReadOnly_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "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"}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-08-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/capacityreservationgroups/{}/capacityreservations/{}", "version": "2022-08-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBzL3tjYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBOYW1lfS9jYXBhY2l0eVJlc2VydmF0aW9ucy97Y2FwYWNpdHlSZXNlcnZhdGlvbk5hbWV9/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.capacityReservationGroupName", "options": ["c", "capacity-reservation-group", "capacity-reservation-group-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the capacity reservation group."}}, {"type": "string", "var": "$Path.capacityReservationName", "options": ["n", "capacity-reservation-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the capacity reservation."}}, {"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": "CapacityReservations_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "capacityReservationGroupName", "arg": "$Path.capacityReservationGroupName", "required": true}, {"type": "string", "name": "capacityReservationName", "arg": "$Path.capacityReservationName", "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": "2022-08-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-08-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/capacityreservationgroups/{}/capacityreservations/{}", "version": "2022-08-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBzL3tjYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBOYW1lfS9jYXBhY2l0eVJlc2VydmF0aW9ucy97Y2FwYWNpdHlSZXNlcnZhdGlvbk5hbWV9/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.capacityReservationGroupName", "options": ["c", "capacity-reservation-group", "capacity-reservation-group-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the capacity reservation group."}}, {"type": "string", "var": "$Path.capacityReservationName", "options": ["n", "capacity-reservation-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the capacity reservation."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "Resource location"}}, {"type": "object", "var": "$parameters.sku", "options": ["sku"], "required": true, "group": "Parameters", "help": {"short": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://learn.microsoft.com/rest/api/compute/resourceskus/list) for supported values."}, "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": "Parameters", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]."}, "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "var": "$parameters.zones", "options": ["zones"], "group": "Parameters", "help": {"short": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone."}, "item": {"type": "string"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "CapacityReservations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "capacityReservationGroupName", "arg": "$Path.capacityReservationGroupName", "required": true}, {"type": "string", "name": "capacityReservationName", "arg": "$Path.capacityReservationName", "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": "2022-08-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": "sku", "arg": "$parameters.sku", "required": true, "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"}}}, {"type": "array", "name": "zones", "arg": "$parameters.zones", "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/capacityReservationGroups/{}/capacityReservations/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "instanceView", "props": [{"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": "object", "name": "utilizationInfo", "props": [{"readOnly": true, "type": "integer32", "name": "currentCapacity"}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAllocated", "item": {"type": "@SubResourceReadOnly_read"}}]}]}, {"readOnly": true, "type": "integer32", "name": "platformFaultDomainCount"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "dateTime", "name": "provisioningTime"}, {"readOnly": true, "type": "string", "name": "reservationId"}, {"readOnly": true, "type": "dateTime", "name": "timeCreated"}, {"readOnly": true, "type": "array", "name": "virtualMachinesAssociated", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}], "cls": "SubResourceReadOnly_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "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"}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2022-08-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/capacityreservationgroups/{}/capacityreservations/{}", "version": "2022-08-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBzL3tjYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBOYW1lfS9jYXBhY2l0eVJlc2VydmF0aW9ucy97Y2FwYWNpdHlSZXNlcnZhdGlvbk5hbWV9/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.capacityReservationGroupName", "options": ["c", "capacity-reservation-group", "capacity-reservation-group-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the capacity reservation group."}}, {"type": "string", "var": "$Path.capacityReservationName", "options": ["n", "capacity-reservation-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the capacity reservation."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location"}}, {"type": "object", "var": "$parameters.sku", "options": ["sku"], "group": "Parameters", "help": {"short": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://learn.microsoft.com/rest/api/compute/resourceskus/list) for supported values."}, "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"], "group": "Parameters", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}, {"nullable": true, "type": "array", "var": "$parameters.zones", "options": ["zones"], "group": "Parameters", "help": {"short": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone."}, "item": {"nullable": true, "type": "string"}}]}], "operations": [{"operationId": "CapacityReservations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "capacityReservationGroupName", "arg": "$Path.capacityReservationGroupName", "required": true}, {"type": "string", "name": "capacityReservationName", "arg": "$Path.capacityReservationName", "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": "2022-08-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/capacityReservationGroups/{}/capacityReservations/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "instanceView", "props": [{"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": "object", "name": "utilizationInfo", "props": [{"readOnly": true, "type": "integer32", "name": "currentCapacity"}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAllocated", "item": {"type": "@SubResourceReadOnly_read"}}]}]}, {"readOnly": true, "type": "integer32", "name": "platformFaultDomainCount"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "dateTime", "name": "provisioningTime"}, {"readOnly": true, "type": "string", "name": "reservationId"}, {"readOnly": true, "type": "dateTime", "name": "timeCreated"}, {"readOnly": true, "type": "array", "name": "virtualMachinesAssociated", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}], "cls": "SubResourceReadOnly_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "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"}, {"type": "array", "name": "zones", "item": {"type": "string"}}], "cls": "CapacityReservation_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": "sku", "arg": "$parameters.sku", "required": true, "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"}}}, {"type": "array", "name": "zones", "arg": "$parameters.zones", "item": {"type": "string"}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "CapacityReservations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "capacityReservationGroupName", "arg": "$Path.capacityReservationGroupName", "required": true}, {"type": "string", "name": "capacityReservationName", "arg": "$Path.capacityReservationName", "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": "2022-08-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@CapacityReservation_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/capacityreservationgroups/{}/capacityreservations/{}", "version": "2022-08-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBzL3tjYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBOYW1lfS9jYXBhY2l0eVJlc2VydmF0aW9ucy97Y2FwYWNpdHlSZXNlcnZhdGlvbk5hbWV9/V/MjAyMi0wOC0wMQ=="}], "commandGroups": [{"name": "capacity reservation", "commands": [{"name": "show", "version": "2022-08-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/capacityreservationgroups/{}/capacityreservations/{}", "version": "2022-08-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBzL3tjYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBOYW1lfS9jYXBhY2l0eVJlc2VydmF0aW9ucy97Y2FwYWNpdHlSZXNlcnZhdGlvbk5hbWV9/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.capacityReservationGroupName", "options": ["c", "capacity-reservation-group", "capacity-reservation-group-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the capacity reservation group."}}, {"type": "string", "var": "$Path.capacityReservationName", "options": ["n", "capacity-reservation-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the capacity reservation."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations."}, "enum": {"items": [{"name": "instanceView", "value": "instanceView"}]}}]}], "operations": [{"operationId": "CapacityReservations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "capacityReservationGroupName", "arg": "$Path.capacityReservationGroupName", "required": true}, {"type": "string", "name": "capacityReservationName", "arg": "$Path.capacityReservationName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand", "enum": {"items": [{"value": "instanceView"}]}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2022-08-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/capacityReservationGroups/{}/capacityReservations/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "instanceView", "props": [{"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": "object", "name": "utilizationInfo", "props": [{"readOnly": true, "type": "integer32", "name": "currentCapacity"}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAllocated", "item": {"type": "@SubResourceReadOnly_read"}}]}]}, {"readOnly": true, "type": "integer32", "name": "platformFaultDomainCount"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "dateTime", "name": "provisioningTime"}, {"readOnly": true, "type": "string", "name": "reservationId"}, {"readOnly": true, "type": "dateTime", "name": "timeCreated"}, {"readOnly": true, "type": "array", "name": "virtualMachinesAssociated", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}], "cls": "SubResourceReadOnly_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "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"}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-08-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/capacityreservationgroups/{}/capacityreservations/{}", "version": "2022-08-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBzL3tjYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBOYW1lfS9jYXBhY2l0eVJlc2VydmF0aW9ucy97Y2FwYWNpdHlSZXNlcnZhdGlvbk5hbWV9/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.capacityReservationGroupName", "options": ["c", "capacity-reservation-group", "capacity-reservation-group-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the capacity reservation group."}}, {"type": "string", "var": "$Path.capacityReservationName", "options": ["n", "capacity-reservation-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the capacity reservation."}}, {"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": "CapacityReservations_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "capacityReservationGroupName", "arg": "$Path.capacityReservationGroupName", "required": true}, {"type": "string", "name": "capacityReservationName", "arg": "$Path.capacityReservationName", "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": "2022-08-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-08-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/capacityreservationgroups/{}/capacityreservations/{}", "version": "2022-08-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBzL3tjYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBOYW1lfS9jYXBhY2l0eVJlc2VydmF0aW9ucy97Y2FwYWNpdHlSZXNlcnZhdGlvbk5hbWV9/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.capacityReservationGroupName", "options": ["c", "capacity-reservation-group", "capacity-reservation-group-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the capacity reservation group."}}, {"type": "string", "var": "$Path.capacityReservationName", "options": ["n", "capacity-reservation-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the capacity reservation."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "required": true, "group": "Parameters", "help": {"short": "Resource location"}}, {"type": "object", "var": "$parameters.sku", "options": ["sku"], "required": true, "group": "Parameters", "help": {"short": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values."}, "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": "Parameters", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]."}, "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "var": "$parameters.zones", "options": ["zones"], "group": "Parameters", "help": {"short": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone."}, "item": {"type": "string"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "CapacityReservations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "capacityReservationGroupName", "arg": "$Path.capacityReservationGroupName", "required": true}, {"type": "string", "name": "capacityReservationName", "arg": "$Path.capacityReservationName", "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": "2022-08-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": "sku", "arg": "$parameters.sku", "required": true, "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"}}}, {"type": "array", "name": "zones", "arg": "$parameters.zones", "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/capacityReservationGroups/{}/capacityReservations/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "instanceView", "props": [{"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": "object", "name": "utilizationInfo", "props": [{"readOnly": true, "type": "integer32", "name": "currentCapacity"}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAllocated", "item": {"type": "@SubResourceReadOnly_read"}}]}]}, {"readOnly": true, "type": "integer32", "name": "platformFaultDomainCount"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "dateTime", "name": "provisioningTime"}, {"readOnly": true, "type": "string", "name": "reservationId"}, {"readOnly": true, "type": "dateTime", "name": "timeCreated"}, {"readOnly": true, "type": "array", "name": "virtualMachinesAssociated", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}], "cls": "SubResourceReadOnly_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "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"}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2022-08-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/capacityreservationgroups/{}/capacityreservations/{}", "version": "2022-08-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9jYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBzL3tjYXBhY2l0eVJlc2VydmF0aW9uR3JvdXBOYW1lfS9jYXBhY2l0eVJlc2VydmF0aW9ucy97Y2FwYWNpdHlSZXNlcnZhdGlvbk5hbWV9/V/MjAyMi0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.capacityReservationGroupName", "options": ["c", "capacity-reservation-group", "capacity-reservation-group-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the capacity reservation group."}}, {"type": "string", "var": "$Path.capacityReservationName", "options": ["n", "capacity-reservation-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The name of the capacity reservation."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location"}}, {"type": "object", "var": "$parameters.sku", "options": ["sku"], "group": "Parameters", "help": {"short": "SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values."}, "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"], "group": "Parameters", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}, {"nullable": true, "type": "array", "var": "$parameters.zones", "options": ["zones"], "group": "Parameters", "help": {"short": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone."}, "item": {"nullable": true, "type": "string"}}]}], "operations": [{"operationId": "CapacityReservations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "capacityReservationGroupName", "arg": "$Path.capacityReservationGroupName", "required": true}, {"type": "string", "name": "capacityReservationName", "arg": "$Path.capacityReservationName", "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": "2022-08-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/capacityReservationGroups/{}/capacityReservations/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "instanceView", "props": [{"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": "object", "name": "utilizationInfo", "props": [{"readOnly": true, "type": "integer32", "name": "currentCapacity"}, {"readOnly": true, "type": "array<@SubResourceReadOnly_read>", "name": "virtualMachinesAllocated", "item": {"type": "@SubResourceReadOnly_read"}}]}]}, {"readOnly": true, "type": "integer32", "name": "platformFaultDomainCount"}, {"readOnly": true, "type": "string", "name": "provisioningState"}, {"readOnly": true, "type": "dateTime", "name": "provisioningTime"}, {"readOnly": true, "type": "string", "name": "reservationId"}, {"readOnly": true, "type": "dateTime", "name": "timeCreated"}, {"readOnly": true, "type": "array", "name": "virtualMachinesAssociated", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}], "cls": "SubResourceReadOnly_read"}}], "clientFlatten": true}, {"type": "object", "name": "sku", "required": true, "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"}, {"type": "array", "name": "zones", "item": {"type": "string"}}], "cls": "CapacityReservation_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": "sku", "arg": "$parameters.sku", "required": true, "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"}}}, {"type": "array", "name": "zones", "arg": "$parameters.zones", "item": {"type": "string"}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "CapacityReservations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "capacityReservationGroupName", "arg": "$Path.capacityReservationGroupName", "required": true}, {"type": "string", "name": "capacityReservationName", "arg": "$Path.capacityReservationName", "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": "2022-08-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@CapacityReservation_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHMve30vY2FwYWNpdHlyZXNlcnZhdGlvbnMve30=/2022-08-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHMve30vY2FwYWNpdHlyZXNlcnZhdGlvbnMve30=/2022-08-01.xml index 9d92445b2..1c2973f10 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHMve30vY2FwYWNpdHlyZXNlcnZhdGlvbnMve30=/2022-08-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2NhcGFjaXR5cmVzZXJ2YXRpb25ncm91cHMve30vY2FwYWNpdHlyZXNlcnZhdGlvbnMve30=/2022-08-01.xml @@ -171,7 +171,7 @@ - + @@ -319,7 +319,7 @@ - +