Condividi tramite


ContainerServiceManagedClusterResource.GetManagedClusterJwtAuthenticatorAsync Method

Definition

Gets the specified JWT authenticator of a managed cluster.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterJwtAuthenticatorResource>> GetManagedClusterJwtAuthenticatorAsync(string jwtAuthenticatorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedClusterJwtAuthenticatorAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterJwtAuthenticatorResource>>
override this.GetManagedClusterJwtAuthenticatorAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterJwtAuthenticatorResource>>
Public Overridable Function GetManagedClusterJwtAuthenticatorAsync (jwtAuthenticatorName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedClusterJwtAuthenticatorResource))

Parameters

jwtAuthenticatorName
String

The name of the JWT authenticator.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

jwtAuthenticatorName is null.

jwtAuthenticatorName is an empty string, and was expected to be non-empty.

Applies to