Share via


OpenShiftManagedClustersOperationsExtensions.ListAsync Method

Definition

Gets a list of OpenShift managed clusters in the specified subscription.

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

Parameters

operations
IOpenShiftManagedClustersOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to