Compartilhar via


ContainerServiceManagedClusterResource.GetClusterUserCredentials Método

Definição

Lista as credenciais de usuário de um cluster gerenciado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential
  • IdManagedClusters_ListClusterUserCredentials de operação
public virtual Azure.Response<Azure.ResourceManager.ContainerService.Models.ManagedClusterCredentials> GetClusterUserCredentials (string serverFqdn = default, Azure.ResourceManager.ContainerService.Models.KubeConfigFormat? format = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetClusterUserCredentials : string * Nullable<Azure.ResourceManager.ContainerService.Models.KubeConfigFormat> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.Models.ManagedClusterCredentials>
override this.GetClusterUserCredentials : string * Nullable<Azure.ResourceManager.ContainerService.Models.KubeConfigFormat> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.Models.ManagedClusterCredentials>
Public Overridable Function GetClusterUserCredentials (Optional serverFqdn As String = Nothing, Optional format As Nullable(Of KubeConfigFormat) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ManagedClusterCredentials)

Parâmetros

serverFqdn
String

tipo de fqdn do servidor para que as credenciais sejam retornadas.

format
Nullable<KubeConfigFormat>

Aplica-se somente a clusters do AAD, especifica o formato do kubeconfig retornado. O formato 'azure' retornará azure auth-provider kubeconfig; O formato 'exec' retornará o formato exec kubeconfig, que requer o binário kubelogin no caminho.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a