ConnectedClusterResource.GetClusterUserCredentialAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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))
Parameters
- properties
- ListClusterUserCredentialProperties
ListClusterUserCredential properties.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
properties
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET