Partilhar via


AuthConfigCollection.GetAsync(String, CancellationToken) Método

Definição

Obtenha um AuthConfig de um Aplicativo de Contêiner. Caminho da Solicitação: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/authConfigs/{authConfigName} Operation Id: ContainerAppsAuthConfigs_Get

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

Parâmetros

authConfigName
String

Nome do Aplicativo de Contêiner AuthConfig.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

authConfigName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

authConfigName é nulo.

Aplica-se a