IVirtualMachinesOperations Interface

Definition

VirtualMachinesOperations operations.

public interface IVirtualMachinesOperations
type IVirtualMachinesOperations = interface
Public Interface IVirtualMachinesOperations

Methods

AssessPatchesWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Assess patches on the VM.

BeginAssessPatchesWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Assess patches on the VM.

BeginCaptureWithHttpMessagesAsync(String, String, VirtualMachineCaptureParameters, Dictionary<String,List<String>>, CancellationToken)

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

BeginConvertToManagedDisksWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

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

BeginCreateOrUpdateWithHttpMessagesAsync(String, String, VirtualMachineInner, Dictionary<String,List<String>>, CancellationToken)

The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.

BeginDeallocateWithHttpMessagesAsync(String, String, Dictionary<String,List<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.

BeginDeleteWithHttpMessagesAsync(String, String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

The operation to delete a virtual machine.

BeginPerformMaintenanceWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

The operation to perform maintenance on a virtual machine.

BeginPowerOffWithHttpMessagesAsync(String, String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

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.

BeginReapplyWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

The operation to reapply a virtual machine's state.

BeginRedeployWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

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

BeginReimageWithHttpMessagesAsync(String, String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Reimages the virtual machine which has an ephemeral OS disk back to its initial state.

BeginRestartWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

The operation to restart a virtual machine.

BeginRunCommandWithHttpMessagesAsync(String, String, RunCommandInput, Dictionary<String,List<String>>, CancellationToken)

Run command on the VM.

BeginStartWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

The operation to start a virtual machine.

BeginUpdateWithHttpMessagesAsync(String, String, VirtualMachineUpdate, Dictionary<String,List<String>>, CancellationToken)

The operation to update a virtual machine.

CaptureWithHttpMessagesAsync(String, String, VirtualMachineCaptureParameters, Dictionary<String,List<String>>, CancellationToken)

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

ConvertToManagedDisksWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

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

CreateOrUpdateWithHttpMessagesAsync(String, String, VirtualMachineInner, Dictionary<String,List<String>>, CancellationToken)

The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.

DeallocateWithHttpMessagesAsync(String, String, Dictionary<String,List<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.

DeleteWithHttpMessagesAsync(String, String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

The operation to delete a virtual machine.

GeneralizeWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation. <br>For Windows, please refer to Create a managed image of a generalized VM in Azure.<br>For Linux, please refer to How to create an image of a virtual machine or VHD.

GetWithHttpMessagesAsync(String, String, Nullable<InstanceViewTypes>, Dictionary<String,List<String>>, CancellationToken)

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

InstanceViewWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

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

ListAllNextWithHttpMessagesAsync(String, Dictionary<String,List<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.

ListAllWithHttpMessagesAsync(String, Dictionary<String,List<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.

ListAvailableSizesWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

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

ListByLocationNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

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

ListByLocationWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

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

ListNextWithHttpMessagesAsync(String, Dictionary<String,List<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.

ListWithHttpMessagesAsync(String, Dictionary<String,List<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.

PerformMaintenanceWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

The operation to perform maintenance on a virtual machine.

PowerOffWithHttpMessagesAsync(String, String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

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.

ReapplyWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

The operation to reapply a virtual machine's state.

RedeployWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

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

ReimageWithHttpMessagesAsync(String, String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Reimages the virtual machine which has an ephemeral OS disk back to its initial state.

RestartWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

The operation to restart a virtual machine.

RetrieveBootDiagnosticsDataWithHttpMessagesAsync(String, String, Nullable<Int32>, Dictionary<String,List<String>>, CancellationToken)

The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.

RunCommandWithHttpMessagesAsync(String, String, RunCommandInput, Dictionary<String,List<String>>, CancellationToken)

Run command on the VM.

SimulateEvictionWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

The operation to simulate the eviction of spot virtual machine.

StartWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

The operation to start a virtual machine.

UpdateWithHttpMessagesAsync(String, String, VirtualMachineUpdate, Dictionary<String,List<String>>, CancellationToken)

The operation to update a virtual machine.

Extension Methods

AssessPatchesAsync(IVirtualMachinesOperations, String, String, CancellationToken)

Assess patches on the VM.

BeginAssessPatchesAsync(IVirtualMachinesOperations, String, String, CancellationToken)

Assess patches on the VM.

BeginCaptureAsync(IVirtualMachinesOperations, String, String, VirtualMachineCaptureParameters, CancellationToken)

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

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. Please note some properties can be set only during virtual machine creation.

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.

BeginDeleteAsync(IVirtualMachinesOperations, String, String, Nullable<Boolean>, CancellationToken)

The operation to delete a virtual machine.

BeginPerformMaintenanceAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to perform maintenance on a virtual machine.

BeginPowerOffAsync(IVirtualMachinesOperations, String, String, Nullable<Boolean>, CancellationToken)

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.

BeginReapplyAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to reapply a virtual machine's state.

BeginRedeployAsync(IVirtualMachinesOperations, String, String, CancellationToken)

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

BeginReimageAsync(IVirtualMachinesOperations, String, String, Nullable<Boolean>, CancellationToken)

Reimages the virtual machine which has an ephemeral OS disk back to its initial state.

BeginRestartAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to restart a virtual machine.

BeginRunCommandAsync(IVirtualMachinesOperations, String, String, RunCommandInput, CancellationToken)

Run command on the VM.

BeginStartAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to start a virtual machine.

BeginUpdateAsync(IVirtualMachinesOperations, String, String, VirtualMachineUpdate, CancellationToken)

The operation to update a virtual machine.

CaptureAsync(IVirtualMachinesOperations, String, String, VirtualMachineCaptureParameters, CancellationToken)

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

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. Please note some properties can be set only during virtual machine creation.

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.

DeleteAsync(IVirtualMachinesOperations, String, String, Nullable<Boolean>, CancellationToken)

The operation to delete a virtual machine.

GeneralizeAsync(IVirtualMachinesOperations, String, String, CancellationToken)

Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation. <br>For Windows, please refer to Create a managed image of a generalized VM in Azure.<br>For Linux, please refer to How to create an image of a virtual machine or VHD.

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)

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

ListAllAsync(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.

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.

ListByLocationAsync(IVirtualMachinesOperations, String, CancellationToken)

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

ListByLocationNextAsync(IVirtualMachinesOperations, String, CancellationToken)

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

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)

The operation to perform maintenance on a virtual machine.

PowerOffAsync(IVirtualMachinesOperations, String, String, Nullable<Boolean>, CancellationToken)

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.

ReapplyAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to reapply a virtual machine's state.

RedeployAsync(IVirtualMachinesOperations, String, String, CancellationToken)

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

ReimageAsync(IVirtualMachinesOperations, String, String, Nullable<Boolean>, CancellationToken)

Reimages the virtual machine which has an ephemeral OS disk back to its initial state.

RestartAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to restart a virtual machine.

RetrieveBootDiagnosticsDataAsync(IVirtualMachinesOperations, String, String, Nullable<Int32>, CancellationToken)

The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.

RunCommandAsync(IVirtualMachinesOperations, String, String, RunCommandInput, CancellationToken)

Run command on the VM.

SimulateEvictionAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to simulate the eviction of spot virtual machine.

StartAsync(IVirtualMachinesOperations, String, String, CancellationToken)

The operation to start a virtual machine.

UpdateAsync(IVirtualMachinesOperations, String, String, VirtualMachineUpdate, CancellationToken)

The operation to update a virtual machine.

Applies to