Share via


ConnectedClusterResource.GetClusterUserCredential Method

Definition

Gets cluster user credentials of the connected cluster with a specified resource group and name.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}/listClusterUserCredential
  • Operation Id: ConnectedCluster_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)

Parameters

properties
ListClusterUserCredentialProperties

ListClusterUserCredential properties.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

properties is null.

Applies to