Sdílet prostřednictvím


ManagedClustersOperationsExtensions.ListByResourceGroupAsync Method

Definition

Lists managed clusters in the specified subscription and resource group.

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

Parameters

operations
IManagedClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.

Applies to