diff --git a/Commands/compute/readme.md b/Commands/compute/readme.md index 7bedb9a7a..511dc898f 100644 --- a/Commands/compute/readme.md +++ b/Commands/compute/readme.md @@ -1,11 +1,3 @@ # [Group] _compute_ Mange azure compute vm config - -## Subgroups - -- [virtual-machine](/Commands/compute/virtual-machine/readme.md) -: Manage Virtual Machine - -- [virtual-machine-scale-set](/Commands/compute/virtual-machine-scale-set/readme.md) -: Manage Virtual Machine Scale Set diff --git a/Commands/compute/virtual-machine-scale-set/readme.md b/Commands/compute/virtual-machine-scale-set/readme.md deleted file mode 100644 index 808b50dd3..000000000 --- a/Commands/compute/virtual-machine-scale-set/readme.md +++ /dev/null @@ -1,8 +0,0 @@ -# [Group] _compute virtual-machine-scale-set_ - -Manage Virtual Machine Scale Set - -## Commands - -- [manualupgrade](/Commands/compute/virtual-machine-scale-set/_manualupgrade.md) -: Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. diff --git a/Commands/compute/virtual-machine/_restart.md b/Commands/compute/virtual-machine/_restart.md deleted file mode 100644 index 4f35cf8f2..000000000 --- a/Commands/compute/virtual-machine/_restart.md +++ /dev/null @@ -1,9 +0,0 @@ -# [Command] _compute virtual-machine restart_ - -The operation to restart a virtual machine. - -## Versions - -### [2016-03-30](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2016-03-30.xml) **Stable** - - diff --git a/Commands/compute/virtual-machine/readme.md b/Commands/compute/virtual-machine/readme.md deleted file mode 100644 index bea9a4da8..000000000 --- a/Commands/compute/virtual-machine/readme.md +++ /dev/null @@ -1,8 +0,0 @@ -# [Group] _compute virtual-machine_ - -Manage Virtual Machine - -## Commands - -- [restart](/Commands/compute/virtual-machine/_restart.md) -: The operation to restart a virtual machine. diff --git a/Commands/disk/_update-patch.md b/Commands/disk/_update-patch.md deleted file mode 100644 index c1fe2fbee..000000000 --- a/Commands/disk/_update-patch.md +++ /dev/null @@ -1,3 +0,0 @@ -# [Command] _disk update-patch_ - -Update/Patch a managed disk. diff --git a/Commands/disk/readme.md b/Commands/disk/readme.md index e3d765eca..598a9aec4 100644 --- a/Commands/disk/readme.md +++ b/Commands/disk/readme.md @@ -27,6 +27,3 @@ Azure Unmanaged Data Disks have a maximum size of 4095 GB. To use disks larger t - [update](/Commands/disk/_update.md) : Update a managed disk. - -- [update-patch](/Commands/disk/_update-patch.md) -: Update/Patch a managed disk. diff --git a/Commands/vm/_patch.md b/Commands/vm/_patch.md deleted file mode 100644 index 56a986079..000000000 --- a/Commands/vm/_patch.md +++ /dev/null @@ -1,3 +0,0 @@ -# [Command] _vm patch - -Patch a virtual machine. diff --git a/Commands/vm/_restart.md b/Commands/vm/_restart.md new file mode 100644 index 000000000..f42a466f7 --- /dev/null +++ b/Commands/vm/_restart.md @@ -0,0 +1,9 @@ +# [Command] _vm restart_ + +The operation to restart a virtual machine. + +## Versions + +### [2022-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2022-11-01.xml) **Stable** + + diff --git a/Commands/vm/readme.md b/Commands/vm/readme.md index f1e6121ed..a3fe4df41 100644 --- a/Commands/vm/readme.md +++ b/Commands/vm/readme.md @@ -84,6 +84,9 @@ Manage Linux or Windows virtual machines. - [reimage](/Commands/vm/_reimage.md) : Reimage (upgrade the operating system) a virtual machine. +- [restart](/Commands/vm/_restart.md) +: The operation to restart a virtual machine. + - [show](/Commands/vm/_show.md) : Get information about the model view or the instance view of a virtual machine. @@ -95,6 +98,3 @@ Manage Linux or Windows virtual machines. - [update](/Commands/vm/_update.md) : Update operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. - -- [patch](/Commands/vm/_patch.md) -: Patch operation to patch a virtual machine. diff --git a/Commands/compute/virtual-machine-scale-set/_manualupgrade.md b/Commands/vmss/_manualupgrade.md similarity index 87% rename from Commands/compute/virtual-machine-scale-set/_manualupgrade.md rename to Commands/vmss/_manualupgrade.md index 922f807c5..c6bc5ec83 100644 --- a/Commands/compute/virtual-machine-scale-set/_manualupgrade.md +++ b/Commands/vmss/_manualupgrade.md @@ -1,4 +1,4 @@ -# [Command] _compute virtual-machine-scale-set manualupgrade_ +# [Command] _vmss manualupgrade_ Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. diff --git a/Commands/vmss/_patch.md b/Commands/vmss/_patch.md deleted file mode 100644 index 1cf163db9..000000000 --- a/Commands/vmss/_patch.md +++ /dev/null @@ -1,3 +0,0 @@ -# [Command] _vmss patch - -Patch a VM scale set. diff --git a/Commands/vmss/readme.md b/Commands/vmss/readme.md index 43b516d08..5571309d8 100644 --- a/Commands/vmss/readme.md +++ b/Commands/vmss/readme.md @@ -54,6 +54,9 @@ Manage groupings of virtual machines in an Azure Virtual Machine Scale Set (VMSS - [list-skus](/Commands/vmss/_list-skus.md) : List SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU. +- [manualupgrade](/Commands/vmss/_manualupgrade.md) +: Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. + - [perform-maintenance](/Commands/vmss/_perform-maintenance.md) : Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://learn.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications @@ -63,12 +66,12 @@ Manage groupings of virtual machines in an Azure Virtual Machine Scale Set (VMSS - [reimageall](/Commands/vmss/_reimageall.md) : Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. -- [set-orchestration-service-state](/Commands/vmss/_set-orchestration-service-state.md) -: Changes ServiceState property for a given service - - [restart](/Commands/vmss/_restart.md) : Restarts one or more virtual machines in a VM scale set. +- [set-orchestration-service-state](/Commands/vmss/_set-orchestration-service-state.md) +: Changes ServiceState property for a given service + - [show](/Commands/vmss/_show.md) : Get information about a virtual machine scale set. @@ -86,6 +89,3 @@ Manage groupings of virtual machines in an Azure Virtual Machine Scale Set (VMSS - [update-domain-walk](/Commands/vmss/_update-domain-walk.md) : Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set. - -- [patch](/Commands/vmss/_patch.md) -: Patch a VM scale set. diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L21hbnVhbHVwZ3JhZGU=/2024-11-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L21hbnVhbHVwZ3JhZGU=/2024-11-01.json index a3cf6f513..9945bc99b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L21hbnVhbHVwZ3JhZGU=/2024-11-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L21hbnVhbHVwZ3JhZGU=/2024-11-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/manualupgrade", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L21hbnVhbHVwZ3JhZGU=/V/MjAyNC0xMS0wMQ=="}], "commandGroups": [{"name": "compute virtual-machine-scale-set", "commands": [{"name": "manualupgrade", "version": "2024-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/manualupgrade", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L21hbnVhbHVwZ3JhZGU=/V/MjAyNC0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"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": "$Path.vmScaleSetName", "options": ["vm-scale-set-name"], "required": true, "idPart": "name", "help": {"short": "The name of the VM scale set."}}]}, {"name": "VmInstanceIDs", "args": [{"type": "array", "var": "$vmInstanceIDs.instanceIds", "options": ["instance-ids"], "required": true, "group": "VmInstanceIDs", "help": {"short": "The virtual machine scale set instance ids."}, "item": {"type": "string"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualMachineScaleSets_UpdateInstances", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "vmScaleSetName", "arg": "$Path.vmScaleSetName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "vmInstanceIDs", "required": true, "props": [{"type": "array", "name": "instanceIds", "arg": "$vmInstanceIDs.instanceIds", "required": true, "item": {"type": "string"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/manualupgrade", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L21hbnVhbHVwZ3JhZGU=/V/MjAyNC0xMS0wMQ=="}], "commandGroups": [{"name": "vmss", "commands": [{"name": "manualupgrade", "version": "2024-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/manualupgrade", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L21hbnVhbHVwZ3JhZGU=/V/MjAyNC0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"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": "$Path.vmScaleSetName", "options": ["vm-scale-set-name"], "required": true, "idPart": "name", "help": {"short": "The name of the VM scale set."}}]}, {"name": "VmInstanceIDs", "args": [{"type": "array", "var": "$vmInstanceIDs.instanceIds", "options": ["instance-ids"], "required": true, "group": "VmInstanceIDs", "help": {"short": "The virtual machine scale set instance ids."}, "item": {"type": "string"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualMachineScaleSets_UpdateInstances", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "vmScaleSetName", "arg": "$Path.vmScaleSetName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "vmInstanceIDs", "required": true, "props": [{"type": "array", "name": "instanceIds", "arg": "$vmInstanceIDs.instanceIds", "required": true, "item": {"type": "string"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200]}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L21hbnVhbHVwZ3JhZGU=/2024-11-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L21hbnVhbHVwZ3JhZGU=/2024-11-01.xml index 3bb6bedd8..d8776a070 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L21hbnVhbHVwZ3JhZGU=/2024-11-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L21hbnVhbHVwZ3JhZGU=/2024-11-01.xml @@ -1,8 +1,8 @@ - - + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2016-03-30.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2016-03-30.json deleted file mode 100644 index 7bbd72ca2..000000000 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2016-03-30.json +++ /dev/null @@ -1 +0,0 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{}/restart", "version": "2016-03-30", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMve3ZtTmFtZX0vcmVzdGFydA==/V/MjAxNi0wMy0zMA=="}], "commandGroups": [{"name": "compute virtual-machine", "commands": [{"name": "restart", "version": "2016-03-30", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{}/restart", "version": "2016-03-30", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMve3ZtTmFtZX0vcmVzdGFydA==/V/MjAxNi0wMy0zMA=="}], "argGroups": [{"name": "", "args": [{"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": "$Path.vmName", "options": ["vm-name"], "required": true, "idPart": "name", "help": {"short": "The name of the virtual machine."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualMachines_Restart", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vmName", "arg": "$Path.vmName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2016-03-30"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "dateTime", "name": "endTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "object", "name": "error", "props": [{"type": "string", "name": "code"}, {"type": "array", "name": "details", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}]}}, {"type": "object", "name": "innererror", "props": [{"type": "string", "name": "errordetail"}, {"type": "string", "name": "exceptiontype"}]}, {"type": "string", "name": "message"}, {"type": "string", "name": "target"}]}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "dateTime", "name": "startTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "status"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2022-11-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2022-11-01.json new file mode 100644 index 000000000..64b36aa87 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2022-11-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{}/restart", "version": "2022-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMve3ZtTmFtZX0vcmVzdGFydA==/V/MjAyMi0xMS0wMQ=="}], "commandGroups": [{"name": "vm", "commands": [{"name": "restart", "version": "2022-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachines/{}/restart", "version": "2022-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMve3ZtTmFtZX0vcmVzdGFydA==/V/MjAyMi0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"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": "$Path.vmName", "options": ["vm-name"], "required": true, "idPart": "name", "help": {"short": "The name of the virtual machine."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualMachines_Restart", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/restart", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "vmName", "arg": "$Path.vmName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2022-11-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2022-11-01.xml new file mode 100644 index 000000000..6020f7fff --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2022-11-01.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +