Freigeben über


ContainerAppAuthConfigCollection.GetAsync(String, CancellationToken) Methode

Definition

Rufen Sie eine AuthConfig einer Container-App ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/authConfigs/{authConfigName}
  • Vorgang IdContainerAppsAuthConfigs_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppAuthConfigResource>> GetAsync (string authConfigName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppAuthConfigResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppAuthConfigResource>>
Public Overridable Function GetAsync (authConfigName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppAuthConfigResource))

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: