Compartilhar via


VirtualMachineScaleSetsOperationsExtensions.GetInstanceViewAsync Método

Definição

Obtém o status de uma instância do conjunto de dimensionamento de VMs.

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

Parâmetros

operations
IVirtualMachineScaleSetsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

vmScaleSetName
String

O nome do conjunto de dimensionamento de VMs.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a