Share via


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.ServiceFabric.Models.ManagedCluster>> ListBySubscriptionAsync (this Microsoft.Azure.Management.ServiceFabric.IManagedClustersOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.ServiceFabric.IManagedClustersOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ServiceFabric.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