Freigeben über


ServiceFabricManagedClustersExtensions.GetServiceFabricManagedClustersAsync Methode

Definition

Ruft alle Service Fabric-Clusterressourcen ab, die im Abonnement erstellt oder erstellt werden.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.ServiceFabric/managedClusters
  • Vorgangs-IdManagedClusters_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedClusterResource> GetServiceFabricManagedClustersAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetServiceFabricManagedClustersAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceFabricManagedClusters.ServiceFabricManagedClusterResource>
<Extension()>
Public Function GetServiceFabricManagedClustersAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServiceFabricManagedClusterResource)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von ServiceFabricManagedClusterResource , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: