IVirtualMachineOperations Interface

 

Represents the interface for the operations that are used to manage the Virtual Machines in a subscription.

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Syntax

public interface IVirtualMachineOperations
public interface class IVirtualMachineOperations
type IVirtualMachineOperations = interface end
Public Interface IVirtualMachineOperations

Methods

Name Description
System_CAPS_pubmethod BeginCapturingOSImageAsync(String, String, String, VirtualMachineCaptureOSImageParameters, CancellationToken)

The Begin Capturing Role operation creates a copy of the operating system virtual hard disk (VHD) that is deployed in the virtual machine, saves the VHD copy in the same storage location as the operating system VHD, and registers the copy as an image in your image gallery. From the captured image, you can create additional customized virtual machines. For more information about images and disks, see Manage Disks and Images at https://msdn.microsoft.com/library/windowsazure/jj672979.aspx. For more information about capturing images, see How to Capture an Image of a Virtual Machine Running Windows Server 2008 R2 at https://www.windowsazure.com/documentation/articles/virtual-machines-capture-image-windows-server/ or How to Capture an Image of a Virtual Machine Running Linux at https://www.windowsazure.com/documentation/articles/virtual-machines-linux-capture-image/. (see https://msdn.microsoft.com/library/windowsazure/jj157201.aspx for more information)

System_CAPS_pubmethod BeginCapturingVMImageAsync(String, String, String, VirtualMachineCaptureVMImageParameters, CancellationToken)

Begin capturing role as VM template.

System_CAPS_pubmethod BeginCreatingAsync(String, String, VirtualMachineCreateParameters, CancellationToken)

Asynchronously initiates the addition a Virtual Machine to an existing deployment.

System_CAPS_pubmethod BeginCreatingDeploymentAsync(String, VirtualMachineCreateDeploymentParameters, CancellationToken)

Asynchronously initiates the creation of a new Virtual Machine deployment.

System_CAPS_pubmethod BeginDeletingAsync(String, String, String, Boolean, CancellationToken)

The Begin Deleting Role operation deletes the specified virtual machine. (see https://msdn.microsoft.com/library/windowsazure/jj157184.aspx for more information)

System_CAPS_pubmethod BeginRestartingAsync(String, String, String, CancellationToken)

Asynchronously initiates the restart of the specified Virtual Machine.

System_CAPS_pubmethod BeginShutdownAsync(String, String, String, VirtualMachineShutdownParameters, CancellationToken)

Asynchronously initiates a shutdown of the specified Virtual Machine.

System_CAPS_pubmethod BeginShuttingDownRolesAsync(String, String, VirtualMachineShutdownRolesParameters, CancellationToken)

Asynchronously initiates a shutdown of multiple Virtual Machines.

System_CAPS_pubmethod BeginStartingAsync(String, String, String, CancellationToken)

Asynchronously initiates the starting of the specified Virtual Machine.

System_CAPS_pubmethod BeginStartingRolesAsync(String, String, VirtualMachineStartRolesParameters, CancellationToken)

Asynchronously initiates the starting of multiple Virtual Machines.

System_CAPS_pubmethod BeginUpdatingAsync(String, String, String, VirtualMachineUpdateParameters, CancellationToken)

Asynchronously initiates an update of the configuration of the specified Virtual Machine.

System_CAPS_pubmethod BeginUpdatingLoadBalancedEndpointSetAsync(String, String, VirtualMachineUpdateLoadBalancedSetParameters, CancellationToken)

Asynchronously initiates an update of the specified load-balanced input endpoints on all Virtual Machines in a deployment.

System_CAPS_pubmethod CaptureOSImageAsync(String, String, String, VirtualMachineCaptureOSImageParameters, CancellationToken)

The Capture Role operation creates a copy of the operating system virtual hard disk (VHD) that is deployed in the virtual machine, saves the VHD copy in the same storage location as the operating system VHD, and registers the copy as an image in your image gallery. From the captured image, you can create additional customized virtual machines. For more information about images and disks, see Manage Disks and Images at https://msdn.microsoft.com/library/windowsazure/jj672979.aspx. For more information about capturing images, see How to Capture an Image of a Virtual Machine Running Windows Server 2008 R2 at https://www.windowsazure.com/documentation/articles/virtual-machines-capture-image-windows-server/ or How to Capture an Image of a Virtual Machine Running Linux at https://www.windowsazure.com/documentation/articles/virtual-machines-linux-capture-image/. (see https://msdn.microsoft.com/library/windowsazure/jj157201.aspx for more information)

System_CAPS_pubmethod CaptureVMImageAsync(String, String, String, VirtualMachineCaptureVMImageParameters, CancellationToken)

Capture role as VM template.

System_CAPS_pubmethod CreateAsync(String, String, VirtualMachineCreateParameters, CancellationToken)

Asynchronously adds a Virtual Machine to an existing deployment.

System_CAPS_pubmethod CreateDeploymentAsync(String, VirtualMachineCreateDeploymentParameters, CancellationToken)

Asynchronously creates or a new Virtual Machine deployment.

System_CAPS_pubmethod DeleteAsync(String, String, String, Boolean, CancellationToken)

The Delete Role operation deletes the specified virtual machine. (see https://msdn.microsoft.com/library/windowsazure/jj157184.aspx for more information)

System_CAPS_pubmethod GetAsync(String, String, String, CancellationToken)

Asynchronously retrieves information about the specified Virtual Machine.

System_CAPS_pubmethod GetRemoteDesktopFileAsync(String, String, String, CancellationToken)

Asynchronously retrieves the Remote Desktop Protocol configuration file from the specified Virtual Machine.

System_CAPS_pubmethod RestartAsync(String, String, String, CancellationToken)

Asynchronously restarts the specified Virtual Machine.

System_CAPS_pubmethod ShutdownAsync(String, String, String, VirtualMachineShutdownParameters, CancellationToken)

Asynchronously shuts down the specified Virtual Machine.

System_CAPS_pubmethod ShutdownRolesAsync(String, String, VirtualMachineShutdownRolesParameters, CancellationToken)

Asynchronously shuts down multiple Virtual Machines.

System_CAPS_pubmethod StartAsync(String, String, String, CancellationToken)

Asynchronously starts the specified Virtual Machine.

System_CAPS_pubmethod StartRolesAsync(String, String, VirtualMachineStartRolesParameters, CancellationToken)

Asynchronously starts multiple Virtual Machines.

System_CAPS_pubmethod UpdateAsync(String, String, String, VirtualMachineUpdateParameters, CancellationToken)

Asynchronously updates the configuration of the specified Virtual Machine.

System_CAPS_pubmethod UpdateLoadBalancedEndpointSetAsync(String, String, VirtualMachineUpdateLoadBalancedSetParameters, CancellationToken)

Asynchronously updates the specified load-balanced input endpoints on all Virtual Machines in a deployment.

Extension Methods

Name Description
System_CAPS_pubmethod BeginCapturingOSImage(String, String, String, VirtualMachineCaptureOSImageParameters)

The Begin Capturing Role operation creates a copy of the operating system virtual hard disk (VHD) that is deployed in the virtual machine, saves the VHD copy in the same storage location as the operating system VHD, and registers the copy as an image in your image gallery. From the captured image, you can create additional customized virtual machines. For more information about images and disks, see Manage Disks and Images at https://msdn.microsoft.com/library/windowsazure/jj672979.aspx. For more information about capturing images, see How to Capture an Image of a Virtual Machine Running Windows Server 2008 R2 at https://www.windowsazure.com/documentation/articles/virtual-machines-capture-image-windows-server/ or How to Capture an Image of a Virtual Machine Running Linux at https://www.windowsazure.com/documentation/articles/virtual-machines-linux-capture-image/. (see https://msdn.microsoft.com/library/windowsazure/jj157201.aspx for more information)(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginCapturingOSImageAsync(String, String, String, VirtualMachineCaptureOSImageParameters)

The Begin Capturing Role operation creates a copy of the operating system virtual hard disk (VHD) that is deployed in the virtual machine, saves the VHD copy in the same storage location as the operating system VHD, and registers the copy as an image in your image gallery. From the captured image, you can create additional customized virtual machines. For more information about images and disks, see Manage Disks and Images at https://msdn.microsoft.com/library/windowsazure/jj672979.aspx. For more information about capturing images, see How to Capture an Image of a Virtual Machine Running Windows Server 2008 R2 at https://www.windowsazure.com/documentation/articles/virtual-machines-capture-image-windows-server/ or How to Capture an Image of a Virtual Machine Running Linux at https://www.windowsazure.com/documentation/articles/virtual-machines-linux-capture-image/. (see https://msdn.microsoft.com/library/windowsazure/jj157201.aspx for more information)(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginCapturingVMImage(String, String, String, VirtualMachineCaptureVMImageParameters)

Begin capturing role as VM template.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginCapturingVMImageAsync(String, String, String, VirtualMachineCaptureVMImageParameters)

Begin capturing role as VM template.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginCreating(String, String, VirtualMachineCreateParameters)

Initiates the addition a Virtual Machine to an existing deployment.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginCreatingAsync(String, String, VirtualMachineCreateParameters)

Asynchronously initiates the addition a Virtual Machine to an existing deployment.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginCreatingDeployment(String, VirtualMachineCreateDeploymentParameters)

Initiates the creation or a new Virtual Machine deployment.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginCreatingDeploymentAsync(String, VirtualMachineCreateDeploymentParameters)

Asynchronously initiates the creation or a new Virtual Machine deployment.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginDeleting(String, String, String, Boolean)

The Begin Deleting Role operation deletes the specified virtual machine. (see https://msdn.microsoft.com/library/windowsazure/jj157184.aspx for more information)(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginDeletingAsync(String, String, String, Boolean)

The Begin Deleting Role operation deletes the specified virtual machine. (see https://msdn.microsoft.com/library/windowsazure/jj157184.aspx for more information)(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginRestarting(String, String, String)

Initiates the restart of the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginRestartingAsync(String, String, String)

Asynchronously initiates the restart of the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginShutdown(String, String, String, VirtualMachineShutdownParameters)

Initiates a shutdown of the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginShutdownAsync(String, String, String, VirtualMachineShutdownParameters)

Asynchronously initiates a shutdown of the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginShuttingDownRoles(String, String, VirtualMachineShutdownRolesParameters)

Initiates a shutdown of multiple Virtual Machines.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginShuttingDownRolesAsync(String, String, VirtualMachineShutdownRolesParameters)

Asynchronously initiates a shutdown of multiple Virtual Machines.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginStarting(String, String, String)

Initiates the starting of the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginStartingAsync(String, String, String)

Asynchronously initiates the starting of the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginStartingRoles(String, String, VirtualMachineStartRolesParameters)

Initiates the starting of multiple Virtual Machines.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginStartingRolesAsync(String, String, VirtualMachineStartRolesParameters)

Asynchronously initiates the starting of multiple Virtual Machines.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginUpdating(String, String, String, VirtualMachineUpdateParameters)

Initiates an update of the configuration of the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginUpdatingAsync(String, String, String, VirtualMachineUpdateParameters)

Asynchronously initiates an update of the configuration of the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginUpdatingLoadBalancedEndpointSet(String, String, VirtualMachineUpdateLoadBalancedSetParameters)

Initiates the updating of the specified load-balanced input endpoints on all Virtual Machines in a deployment.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod BeginUpdatingLoadBalancedEndpointSetAsync(String, String, VirtualMachineUpdateLoadBalancedSetParameters)

Asynchronously initiates the updating the specified load-balanced input endpoints on all Virtual Machines in a deployment.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod CaptureOSImage(String, String, String, VirtualMachineCaptureOSImageParameters)

The Capture Role operation creates a copy of the operating system virtual hard disk (VHD) that is deployed in the virtual machine, saves the VHD copy in the same storage location as the operating system VHD, and registers the copy as an image in your image gallery. From the captured image, you can create additional customized virtual machines. For more information about images and disks, see Manage Disks and Images at https://msdn.microsoft.com/library/windowsazure/jj672979.aspx. For more information about capturing images, see How to Capture an Image of a Virtual Machine Running Windows Server 2008 R2 at https://www.windowsazure.com/documentation/articles/virtual-machines-capture-image-windows-server/ or How to Capture an Image of a Virtual Machine Running Linux at https://www.windowsazure.com/documentation/articles/virtual-machines-linux-capture-image/. (see https://msdn.microsoft.com/library/windowsazure/jj157201.aspx for more information)(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod CaptureOSImageAsync(String, String, String, VirtualMachineCaptureOSImageParameters)

The Capture Role operation creates a copy of the operating system virtual hard disk (VHD) that is deployed in the virtual machine, saves the VHD copy in the same storage location as the operating system VHD, and registers the copy as an image in your image gallery. From the captured image, you can create additional customized virtual machines. For more information about images and disks, see Manage Disks and Images at https://msdn.microsoft.com/library/windowsazure/jj672979.aspx. For more information about capturing images, see How to Capture an Image of a Virtual Machine Running Windows Server 2008 R2 at https://www.windowsazure.com/documentation/articles/virtual-machines-capture-image-windows-server/ or How to Capture an Image of a Virtual Machine Running Linux at https://www.windowsazure.com/documentation/articles/virtual-machines-linux-capture-image/. (see https://msdn.microsoft.com/library/windowsazure/jj157201.aspx for more information)(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod CaptureVMImage(String, String, String, VirtualMachineCaptureVMImageParameters)

Capture role as VM template.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod CaptureVMImageAsync(String, String, String, VirtualMachineCaptureVMImageParameters)

Capture role as VM template.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod Create(String, String, VirtualMachineCreateParameters)

Adds a Virtual Machine to an existing deployment.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod CreateAsync(String, String, VirtualMachineCreateParameters)

Asynchronously adds a Virtual Machine to an existing deployment.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod CreateDeployment(String, VirtualMachineCreateDeploymentParameters)

Creates or a new Virtual Machine deployment.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod CreateDeploymentAsync(String, VirtualMachineCreateDeploymentParameters)

Asynchronously creates or a new Virtual Machine deployment.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod Delete(String, String, String, Boolean)

The Delete Role operation deletes the specified virtual machine. (see https://msdn.microsoft.com/library/windowsazure/jj157184.aspx for more information)(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod DeleteAsync(String, String, String, Boolean)

The Delete Role operation deletes the specified virtual machine. (see https://msdn.microsoft.com/library/windowsazure/jj157184.aspx for more information)(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod Get(String, String, String)

Retrieves information about the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod GetAsync(String, String, String)

Asynchronously retrieves information about the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod GetRemoteDesktopFile(String, String, String)

Retrieves the Remote Desktop Protocol (RDP) file from the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod GetRemoteDesktopFileAsync(String, String, String)

Asynchronously retrieves the Remote Desktop Protocol configuration file from the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod Restart(String, String, String)

Restarts the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod RestartAsync(String, String, String)

Asynchronously restarts the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod Shutdown(String, String, String, VirtualMachineShutdownParameters)

Shuts down the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod ShutdownAsync(String, String, String, VirtualMachineShutdownParameters)

Asynchronously shuts down the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod ShutdownRoles(String, String, VirtualMachineShutdownRolesParameters)

Shuts down multiple Virtual Machines.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod ShutdownRolesAsync(String, String, VirtualMachineShutdownRolesParameters)

Asynchronously shuts down multiple Virtual Machines.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod Start(String, String, String)

Starts the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod StartAsync(String, String, String)

Asynchronously starts the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod StartRoles(String, String, VirtualMachineStartRolesParameters)

Starts multiple Virtual Machines.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod StartRolesAsync(String, String, VirtualMachineStartRolesParameters)

Asynchronously starts multiple Virtual Machines.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod Update(String, String, String, VirtualMachineUpdateParameters)

Updates the configuration of the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod UpdateAsync(String, String, String, VirtualMachineUpdateParameters)

Asynchronously updates the configuration of the specified Virtual Machine.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod UpdateLoadBalancedEndpointSet(String, String, VirtualMachineUpdateLoadBalancedSetParameters)

Updates the specified load-balanced input endpoints on all Virtual Machines in a deployment.(Defined by VirtualMachineOperationsExtensions.)

System_CAPS_pubmethod UpdateLoadBalancedEndpointSetAsync(String, String, VirtualMachineUpdateLoadBalancedSetParameters)

Asynchronously updates the specified load-balanced input endpoints on all Virtual Machines in a deployment.(Defined by VirtualMachineOperationsExtensions.)

Remarks

For more information about managing Virtual Machines, see the following resources:

See Also

Microsoft.WindowsAzure.Management.Compute Namespace

Return to top