Udostępnij za pośrednictwem


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

Parameters

operations
IManagedClustersOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.

Applies to