VirtualMachineOperationsExtensions.GetAsync Method (IVirtualMachineOperations, String, String, String)

 

Asynchronously retrieves information about the specified Virtual Machine.

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

<ExtensionAttribute>
Public Shared Function GetAsync (
	operations As IVirtualMachineOperations,
	serviceName As String,
	deploymentName As String,
	virtualMachineName As String
) As Task(Of VirtualMachineGetResponse)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOperations

The IVirtualMachineOperations object that specifies the operations for managing Virtual Machines.

serviceName
Type: System.String

The name of the cloud service that contains the Virtual Machine.

deploymentName
Type: System.String

The name of the deployment.

virtualMachineName
Type: System.String

The name of the Virtual Machine from which the information should be retrieved.

Return Value

Type: System.Threading.Tasks.Task(Of VirtualMachineGetResponse)

The VirtualMachineGetResponse object that contains the information about the Virtual Machine.

For more information about retrieving Virtual Machine information, see the following resources:

Return to top
Show: