Share via


ClustersOperationsExtensions.ListBySubscriptionAsync Method

Definition

List all HCI clusters in a subscription.

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

Parameters

operations
IClustersOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to