共用方式為


OpenShiftManagedClustersOperationsExtensions.ListByResourceGroupAsync Method

Definition

Lists OpenShift 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.OpenShiftManagedClusterInner>> ListByResourceGroupAsync (this Microsoft.Azure.Management.ContainerService.Fluent.IOpenShiftManagedClustersOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.ContainerService.Fluent.IOpenShiftManagedClustersOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerService.Fluent.Models.OpenShiftManagedClusterInner>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IOpenShiftManagedClustersOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of OpenShiftManagedClusterInner))

Parameters

operations
IOpenShiftManagedClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to