ManagedClustersOperationsExtensions.ListClusterUserCredentialsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists the user credentials of a managed cluster.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.CredentialResults> ListClusterUserCredentialsAsync (this Microsoft.Azure.Management.ContainerService.IManagedClustersOperations operations, string resourceGroupName, string resourceName, string serverFqdn = default, string format = default, System.Threading.CancellationToken cancellationToken = default);
static member ListClusterUserCredentialsAsync : Microsoft.Azure.Management.ContainerService.IManagedClustersOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.CredentialResults>
<Extension()>
Public Function ListClusterUserCredentialsAsync (operations As IManagedClustersOperations, resourceGroupName As String, resourceName As String, Optional serverFqdn As String = Nothing, Optional format 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
- 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.
- cancellationToken
- CancellationToken
The cancellation token.