Aracılığıyla paylaş


VirtualMachineScaleSetsOperationsExtensions.GetAsync Method

Definition

Overloads

GetAsync(IVirtualMachineScaleSetsOperations, String, String, String, CancellationToken)

Display information about a virtual machine scale set.

GetAsync(IVirtualMachineScaleSetsOperations, String, String, CancellationToken)

Display information about a virtual machine scale set.

GetAsync(IVirtualMachineScaleSetsOperations, String, String)

Display information about a virtual machine scale set.

GetAsync(IVirtualMachineScaleSetsOperations, String, String, String, CancellationToken)

Display information about a virtual machine scale set.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSet> GetAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations operations, string resourceGroupName, string vmScaleSetName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSet>
<Extension()>
Public Function GetAsync (operations As IVirtualMachineScaleSetsOperations, resourceGroupName As String, vmScaleSetName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualMachineScaleSet)

Parameters

operations
IVirtualMachineScaleSetsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmScaleSetName
String

The name of the VM scale set.

expand
String

The expand expression to apply on the operation. 'UserData' retrieves the UserData property of the VM scale set that was provided by the user during the VM scale set Create/Update operation. Possible values include: 'userData'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to

GetAsync(IVirtualMachineScaleSetsOperations, String, String, CancellationToken)

Display information about a virtual machine scale set.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSet> GetAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations operations, string resourceGroupName, string vmScaleSetName, System.Threading.CancellationToken cancellationToken);
static member GetAsync : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSet>
<Extension()>
Public Function GetAsync (operations As IVirtualMachineScaleSetsOperations, resourceGroupName As String, vmScaleSetName As String, cancellationToken As CancellationToken) As Task(Of VirtualMachineScaleSet)

Parameters

operations
IVirtualMachineScaleSetsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmScaleSetName
String

The name of the VM scale set.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to

GetAsync(IVirtualMachineScaleSetsOperations, String, String)

Display information about a virtual machine scale set.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSet> GetAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations operations, string resourceGroupName, string vmScaleSetName);
static member GetAsync : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSet>
<Extension()>
Public Function GetAsync (operations As IVirtualMachineScaleSetsOperations, resourceGroupName As String, vmScaleSetName As String) As Task(Of VirtualMachineScaleSet)

Parameters

operations
IVirtualMachineScaleSetsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmScaleSetName
String

The name of the VM scale set.

Returns

Applies to