Freigeben über


VirtualMachineScaleSetCollection.GetAllAsync(CancellationToken) Methode

Definition

Ruft eine Liste aller VM-Skalierungsgruppen unter einer Ressourcengruppe ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets
  • Vorgang IdVirtualMachineScaleSets_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineScaleSetResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineScaleSetResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineScaleSetResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualMachineScaleSetResource)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Sammlung von, bei der VirtualMachineScaleSetResource mehrere Dienstanforderungen zum Durchlaufen verwendet werden können.

Gilt für: