Compartilhar via


ConnectedClusterResource.GetClusterUserCredentialAsync Método

Definição

Obtém as credenciais de usuário do cluster conectado com um grupo de recursos e um nome especificados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}/listClusterUserCredential
  • IdConnectedCluster_ListClusterUserCredential de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kubernetes.Models.CredentialResults>> GetClusterUserCredentialAsync (Azure.ResourceManager.Kubernetes.Models.ListClusterUserCredentialProperties properties, System.Threading.CancellationToken cancellationToken = default);
abstract member GetClusterUserCredentialAsync : Azure.ResourceManager.Kubernetes.Models.ListClusterUserCredentialProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kubernetes.Models.CredentialResults>>
override this.GetClusterUserCredentialAsync : Azure.ResourceManager.Kubernetes.Models.ListClusterUserCredentialProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kubernetes.Models.CredentialResults>>
Public Overridable Function GetClusterUserCredentialAsync (properties As ListClusterUserCredentialProperties, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CredentialResults))

Parâmetros

properties
ListClusterUserCredentialProperties

Propriedades ListClusterUserCredential.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

properties é nulo.

Aplica-se a