Partager via


ManagedClustersOperationsExtensions.ListClusterAdminCredentialsAsync Method

Definition

Lists the admin credentials of a managed cluster.

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

Parameters

operations
IManagedClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the managed cluster resource.

serverFqdn
String

server fqdn type for credentials to be returned

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to