Compartilhar via


ConnectedClusterResource.GetClusterUserCredential 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
  • Operação IdConnectedCluster_ListClusterUserCredential
public virtual Azure.Response<Azure.ResourceManager.Kubernetes.Models.CredentialResults> GetClusterUserCredential (Azure.ResourceManager.Kubernetes.Models.ListClusterUserCredentialProperties properties, System.Threading.CancellationToken cancellationToken = default);
abstract member GetClusterUserCredential : Azure.ResourceManager.Kubernetes.Models.ListClusterUserCredentialProperties * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Kubernetes.Models.CredentialResults>
override this.GetClusterUserCredential : Azure.ResourceManager.Kubernetes.Models.ListClusterUserCredentialProperties * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Kubernetes.Models.CredentialResults>
Public Overridable Function GetClusterUserCredential (properties As ListClusterUserCredentialProperties, Optional cancellationToken As CancellationToken = Nothing) As 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