Freigeben über


AuthConfigCollection.GetAsync(String, CancellationToken) Methode

Definition

Rufen Sie eine AuthConfig einer Container-App ab. Anforderungspfad: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/authConfigs/{authConfigName} Vorgangs-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))

Parameter

authConfigName
String

Name der Container App AuthConfig.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

authConfigName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

authConfigName ist NULL.

Gilt für: