Condividi tramite


ManagedClusterJwtAuthenticatorCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/jwtAuthenticators/{jwtAuthenticatorName}.
  • Operation Id. : JWTAuthenticators_Get.
  • Default Api Version. : 2026-01-02-preview.
public virtual Azure.NullableResponse<Azure.ResourceManager.ContainerService.ManagedClusterJwtAuthenticatorResource> GetIfExists(string jwtAuthenticatorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ContainerService.ManagedClusterJwtAuthenticatorResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ContainerService.ManagedClusterJwtAuthenticatorResource>
Public Overridable Function GetIfExists (jwtAuthenticatorName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(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