Freigeben über


ContainerAppCollection.GetAsync(String, CancellationToken) Methode

Definition

Rufen Sie die Eigenschaften einer Container-App ab. Anforderungspfad: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName} Vorgangs-ID: ContainerApps_Get

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

Parameter

containerAppName
String

Name der Container-App.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

containerAppName ist NULL.

Gilt für: