ManagedClustersOperationsExtensions.ListAsync Method

Definition

Gets a list of managed clusters in the specified subscription.

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

Applies to