Udostępnij za pośrednictwem


ManagedClustersOperationsExtensions.ListBySubscriptionAsync Method

Definition

Gets the list of Service Fabric cluster resources created in the specified subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedCluster>> ListBySubscriptionAsync (this Microsoft.Azure.Management.ServiceFabricManagedClusters.IManagedClustersOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.ServiceFabricManagedClusters.IManagedClustersOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedCluster>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As IManagedClustersOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ManagedCluster))

Parameters

operations
IManagedClustersOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Gets all Service Fabric cluster resources created or in the process of being created in the subscription.

Applies to