VirtualMachinesOperationsExtensions.Get(IVirtualMachinesOperations, String, String, Nullable<InstanceViewTypes>) Method

Definition

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

public static Microsoft.Azure.Management.Compute.Models.VirtualMachine Get (this Microsoft.Azure.Management.Compute.IVirtualMachinesOperations operations, string resourceGroupName, string vmName, Nullable<Microsoft.Azure.Management.Compute.Models.InstanceViewTypes> expand = null);
static member Get : Microsoft.Azure.Management.Compute.IVirtualMachinesOperations * string * string * Nullable<Microsoft.Azure.Management.Compute.Models.InstanceViewTypes> -> Microsoft.Azure.Management.Compute.Models.VirtualMachine
<Extension()>
Public Function Get (operations As IVirtualMachinesOperations, resourceGroupName As String, vmName As String, Optional expand As Nullable(Of InstanceViewTypes) = null) As VirtualMachine

Parameters

operations
IVirtualMachinesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmName
String

The name of the virtual machine.

expand
Nullable<InstanceViewTypes>

The expand expression to apply on the operation. Possible values include: 'instanceView'

Returns

Applies to