共用方式為


ContainerServiceManagedClusterResource.GetClusterMonitoringUserCredentialsAsync Method

Definition

Lists the cluster monitoring user credentials of a managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterMonitoringUserCredential
  • Operation Id: ManagedClusters_ListClusterMonitoringUserCredentials
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.Models.ManagedClusterCredentials>> GetClusterMonitoringUserCredentialsAsync (string serverFqdn = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetClusterMonitoringUserCredentialsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.Models.ManagedClusterCredentials>>
override this.GetClusterMonitoringUserCredentialsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.Models.ManagedClusterCredentials>>
Public Overridable Function GetClusterMonitoringUserCredentialsAsync (Optional serverFqdn As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedClusterCredentials))

Parameters

serverFqdn
String

server fqdn type for credentials to be returned.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to