Partager via


ManagedClustersOperationsExtensions.ListClusterUserCredentials Method

Definition

Lists the user credentials of a managed cluster.

public static Microsoft.Azure.Management.ContainerService.Models.CredentialResults ListClusterUserCredentials (this Microsoft.Azure.Management.ContainerService.IManagedClustersOperations operations, string resourceGroupName, string resourceName, string serverFqdn = default, string format = default);
static member ListClusterUserCredentials : Microsoft.Azure.Management.ContainerService.IManagedClustersOperations * string * string * string * string -> Microsoft.Azure.Management.ContainerService.Models.CredentialResults
<Extension()>
Public Function ListClusterUserCredentials (operations As IManagedClustersOperations, resourceGroupName As String, resourceName As String, Optional serverFqdn As String = Nothing, Optional format As String = Nothing) As 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

format
String

Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.

Returns

Applies to