Compartir a través de


ContainerServiceManagedClusterResource.GetClusterAdminCredentialsAsync Método

Definición

Enumera las credenciales de administrador de un clúster administrado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential
  • IdManagedClusters_ListClusterAdminCredentials de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.Models.ManagedClusterCredentials>> GetClusterAdminCredentialsAsync (string serverFqdn = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetClusterAdminCredentialsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.Models.ManagedClusterCredentials>>
override this.GetClusterAdminCredentialsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.Models.ManagedClusterCredentials>>
Public Overridable Function GetClusterAdminCredentialsAsync (Optional serverFqdn As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedClusterCredentials))

Parámetros

serverFqdn
String

tipo fqdn de servidor para las credenciales que se van a devolver.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a