Compartir a través de


ContainerAppResource.GetAuthConfigAsync(String, CancellationToken) Método

Definición

Obtiene un AuthConfig de una aplicación contenedora. Ruta de acceso de solicitud: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/authConfigs/{authConfigName} Identificador de operación: ContainerAppsAuthConfigs_Get

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

Parámetros

authConfigName
String

Nombre de Container App AuthConfig.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

authConfigName es una cadena vacía y se espera que no esté vacía.

authConfigName es null.

Se aplica a