共用方式為


ContainerServicesOperationsExtensions.ListAsync Method

Definition

Gets a list of container services in the specified subscription.

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

Parameters

operations
IContainerServicesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Gets a list of container services in the specified subscription. The operation returns properties of each container service including state, orchestrator, number of masters and agents, and FQDNs of masters and agents.

Applies to