diff --git a/Commands/compute/readme.md b/Commands/compute/readme.md index 511dc898f..ece9589b7 100644 --- a/Commands/compute/readme.md +++ b/Commands/compute/readme.md @@ -1,3 +1,8 @@ # [Group] _compute_ Mange azure compute vm config + +## Subgroups + +- [virtual-machine](/Commands/compute/virtual-machine/readme.md) +: Manage Virtual Machine diff --git a/Commands/compute/virtual-machine/_restart.md b/Commands/compute/virtual-machine/_restart.md new file mode 100644 index 000000000..4f35cf8f2 --- /dev/null +++ b/Commands/compute/virtual-machine/_restart.md @@ -0,0 +1,9 @@ +# [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 new file mode 100644 index 000000000..bea9a4da8 --- /dev/null +++ b/Commands/compute/virtual-machine/readme.md @@ -0,0 +1,8 @@ +# [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 new file mode 100644 index 000000000..c1fe2fbee --- /dev/null +++ b/Commands/disk/_update-patch.md @@ -0,0 +1,3 @@ +# [Command] _disk update-patch_ + +Update/Patch a managed disk. diff --git a/Commands/disk/readme.md b/Commands/disk/readme.md index 598a9aec4..e3d765eca 100644 --- a/Commands/disk/readme.md +++ b/Commands/disk/readme.md @@ -27,3 +27,6 @@ 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 new file mode 100644 index 000000000..56a986079 --- /dev/null +++ b/Commands/vm/_patch.md @@ -0,0 +1,3 @@ +# [Command] _vm patch + +Patch a virtual machine. diff --git a/Commands/vm/readme.md b/Commands/vm/readme.md index e313c32b4..873a85a34 100644 --- a/Commands/vm/readme.md +++ b/Commands/vm/readme.md @@ -92,3 +92,6 @@ 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/vmss/_patch.md b/Commands/vmss/_patch.md new file mode 100644 index 000000000..1cf163db9 --- /dev/null +++ b/Commands/vmss/_patch.md @@ -0,0 +1,3 @@ +# [Command] _vmss patch + +Patch a VM scale set. diff --git a/Commands/vmss/readme.md b/Commands/vmss/readme.md index f43866164..dd74f3e8e 100644 --- a/Commands/vmss/readme.md +++ b/Commands/vmss/readme.md @@ -68,3 +68,6 @@ 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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2016-03-30.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2016-03-30.json new file mode 100644 index 000000000..7bbd72ca2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2016-03-30.json @@ -0,0 +1 @@ +{"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/2016-03-30.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2016-03-30.xml new file mode 100644 index 000000000..638b15de3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lcy97fS9yZXN0YXJ0/2016-03-30.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +