다음을 통해 공유


ManagedClustersOperationsExtensions.ListClusterUserCredentialsAsync Method

Definition

Gets cluster user credential of a managed cluster.

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

Parameters

operations
IManagedClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

resourceName
String

The name of the managed cluster resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Gets cluster user credential of the managed cluster with a specified resource group and name.

Applies to