Compartilhar via


ContainerServiceManagedClusterResource.GetClusterAdminCredentialsAsync Método

Definição

Lista as credenciais de administrador de um cluster gerenciado.

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

Parâmetros

serverFqdn
String

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a