VirtualMachineScaleSetVMsOperationsExtensions.GetInstanceViewAsync Método

Definição

Obtém o status de uma máquina virtual de um conjunto de dimensionamento de VM.

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

Parâmetros

operations
IVirtualMachineScaleSetVMsOperations

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 da VM.

instanceId
String

A ID da instância da máquina virtual.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a