Freigeben über


IVirtualMachineScaleSetVMsBeta.GetInstanceAsync Methode

Definition

Rufen Sie den angegebenen virtuellen Computer instance aus der Skalierungsgruppe ab.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetVM> GetInstanceAsync (string instanceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetInstanceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetVM>
Public Function GetInstanceAsync (instanceId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IVirtualMachineScaleSetVM)

Parameter

instanceId
String

Die Instanz-ID der VM-Skalierungsgruppe instance abgerufen werden soll.

cancellationToken
CancellationToken

Gibt zurück

Die VM-Skalierungsgruppe instance.

Gilt für: