VirtualMachinesOperationsExtensions Class

Definition

Extension methods for VirtualMachinesOperations.

public static class VirtualMachinesOperationsExtensions
type VirtualMachinesOperationsExtensions = class
Public Module VirtualMachinesOperationsExtensions
Inheritance
System.Object
VirtualMachinesOperationsExtensions

Methods

BeginConvertToManagedDisksAsync(IVirtualMachinesOperations, String, String, CancellationToken)

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

BeginCreateOrUpdateAsync(IVirtualMachinesOperations, String, String, VirtualMachineInner, CancellationToken)

The operation to create or update a virtual machine.

BeginDeallocateAsync(IVirtualMachinesOperations, String, String, CancellationToken)

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

BeginPerformMaintenanceAsync(IVirtualMachinesOperations, String, String, CancellationToken)
BeginRedeployAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to redeploy a virtual machine.

BeginRestartAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to restart a virtual machine.

BeginStartAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to start a virtual machine.

ConvertToManagedDisksAsync(IVirtualMachinesOperations, String, String, CancellationToken)

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

CreateOrUpdateAsync(IVirtualMachinesOperations, String, String, VirtualMachineInner, CancellationToken)

The operation to create or update a virtual machine.

DeallocateAsync(IVirtualMachinesOperations, String, String, CancellationToken)

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

GeneralizeAsync(IVirtualMachinesOperations, String, String, CancellationToken)

Sets the state of the virtual machine to generalized.

GetAsync(IVirtualMachinesOperations, String, String, Nullable<InstanceViewTypes>, CancellationToken)

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

InstanceViewAsync(IVirtualMachinesOperations, String, String, CancellationToken)
ListAllNextAsync(IVirtualMachinesOperations, String, CancellationToken)

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.

ListAsync(IVirtualMachinesOperations, String, CancellationToken)

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.

ListAvailableSizesAsync(IVirtualMachinesOperations, String, String, CancellationToken)

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

ListNextAsync(IVirtualMachinesOperations, String, CancellationToken)

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.

PerformMaintenanceAsync(IVirtualMachinesOperations, String, String, CancellationToken)
RedeployAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to redeploy a virtual machine.

RestartAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to restart a virtual machine.

StartAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to start a virtual machine.

Applies to