Create a VirtualMachines.
Reference to the service client.
Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Capture Virtual Machine operation.
Promise<msRestAzure.LROPoller>
Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
The name of the resource group.
The name of the virtual machine.
Promise<msRestAzure.LROPoller>
The operation to create or update a virtual machine.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Create Virtual Machine operation.
Promise<msRestAzure.LROPoller>
Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
The name of the resource group.
The name of the virtual machine.
Promise<msRestAzure.LROPoller>
The operation to delete a virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<msRestAzure.LROPoller>
The operation to perform maintenance on a virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<msRestAzure.LROPoller>
The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<msRestAzure.LROPoller>
The operation to redeploy a virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<msRestAzure.LROPoller>
The operation to restart a virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<msRestAzure.LROPoller>
The operation to start a virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<msRestAzure.LROPoller>
The operation to update a virtual machine.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Update Virtual Machine operation.
Promise<msRestAzure.LROPoller>
Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Capture Virtual Machine operation.
Promise<Models.VirtualMachinesCaptureResponse>
Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
The name of the resource group.
The name of the virtual machine.
Promise<Models.VirtualMachinesConvertToManagedDisksResponse>
The operation to create or update a virtual machine.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Create Virtual Machine operation.
Promise<Models.VirtualMachinesCreateOrUpdateResponse>
Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
The name of the resource group.
The name of the virtual machine.
Promise<Models.VirtualMachinesDeallocateResponse>
The operation to delete a virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<Models.VirtualMachinesDeleteMethodResponse>
Sets the state of the virtual machine to generalized.
The name of the resource group.
The name of the virtual machine.
Promise<Models.VirtualMachinesGeneralizeResponse>
The name of the resource group.
The name of the virtual machine.
The callback
The name of the resource group.
The name of the virtual machine.
The optional parameters
The callback
Retrieves information about the model view or the instance view of a virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<Models.VirtualMachinesGetResponse>
The name of the resource group.
The name of the virtual machine.
The callback
The name of the resource group.
The name of the virtual machine.
The optional parameters
The callback
The operation to get all extensions of a Virtual Machine.
The name of the resource group.
The name of the virtual machine containing the extension.
Promise<Models.VirtualMachinesGetExtensionsResponse>
The name of the resource group.
The name of the virtual machine containing the extension.
The callback
The name of the resource group.
The name of the virtual machine containing the extension.
The optional parameters
The callback
Retrieves information about the run-time state of a virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<Models.VirtualMachinesInstanceViewResponse>
The name of the resource group.
The name of the virtual machine.
The callback
The name of the resource group.
The name of the virtual machine.
The optional parameters
The callback
Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines.
The name of the resource group.
Promise<Models.VirtualMachinesListResponse>
The name of the resource group.
The callback
The name of the resource group.
The optional parameters
The callback
Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.
Promise<Models.VirtualMachinesListAllResponse>
The callback
The optional parameters
The callback
Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.
The NextLink from the previous successful call to List operation.
Promise<Models.VirtualMachinesListAllNextResponse>
The NextLink from the previous successful call to List operation.
The callback
The NextLink from the previous successful call to List operation.
The optional parameters
The callback
Lists all available virtual machine sizes to which the specified virtual machine can be resized.
The name of the resource group.
The name of the virtual machine.
Promise<Models.VirtualMachinesListAvailableSizesResponse>
The name of the resource group.
The name of the virtual machine.
The callback
The name of the resource group.
The name of the virtual machine.
The optional parameters
The callback
Gets all the virtual machines under the specified subscription for the specified location.
The location for which virtual machines under the subscription are queried.
Promise<Models.VirtualMachinesListByLocationResponse>
The location for which virtual machines under the subscription are queried.
The callback
The location for which virtual machines under the subscription are queried.
The optional parameters
The callback
Gets all the virtual machines under the specified subscription for the specified location.
The NextLink from the previous successful call to List operation.
Promise<Models.VirtualMachinesListByLocationNextResponse>
The NextLink from the previous successful call to List operation.
The callback
The NextLink from the previous successful call to List operation.
The optional parameters
The callback
Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines.
The NextLink from the previous successful call to List operation.
Promise<Models.VirtualMachinesListNextResponse>
The NextLink from the previous successful call to List operation.
The callback
The NextLink from the previous successful call to List operation.
The optional parameters
The callback
The operation to perform maintenance on a virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<Models.VirtualMachinesPerformMaintenanceResponse>
The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<Models.VirtualMachinesPowerOffResponse>
The operation to redeploy a virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<Models.VirtualMachinesRedeployResponse>
The operation to restart a virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<Models.VirtualMachinesRestartResponse>
The operation to start a virtual machine.
The name of the resource group.
The name of the virtual machine.
Promise<Models.VirtualMachinesStartResponse>
The operation to update a virtual machine.
The name of the resource group.
The name of the virtual machine.
Parameters supplied to the Update Virtual Machine operation.
Promise<Models.VirtualMachinesUpdateResponse>
Generated using TypeDoc
Class representing a VirtualMachines.