Share via


Virtual Machines

Operations

Capture

Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.

Convert To Managed Disks

Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.

Create Or Update

The operation to create or update a virtual machine.

Deallocate

Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.

Delete

The operation to delete a virtual machine.

Generalize

Sets the state of the virtual machine to generalized.

Get

Retrieves information about the model view or the instance view of a virtual machine.

Get Extensions

The operation to get all extensions of a Virtual Machine.

Instance View

Retrieves information about the run-time state of a virtual machine.

List

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.

List All

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.

List Available Sizes

Lists all available virtual machine sizes to which the specified virtual machine can be resized.

List By Location

Gets all the virtual machines under the specified subscription for the specified location.

Perform Maintenance

The operation to perform maintenance on a virtual machine.

Power Off

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 vi...

Redeploy

Shuts down the virtual machine, moves it to a new node, and powers it back on.

Restart

The operation to restart a virtual machine.

Run Command

Run command on the VM.

Start

The operation to start a virtual machine.