ClustersOperationsExtensions.ListAsync Method

Definition

Lists all the HDInsight clusters under the subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.HDInsight.Models.Cluster>> ListAsync (this Microsoft.Azure.Management.HDInsight.IClustersOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.HDInsight.IClustersOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.HDInsight.Models.Cluster>>
<Extension()>
Public Function ListAsync (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