ContainerAppCollection.GetAsync(String, CancellationToken) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtenez les propriétés d’une application conteneur. Chemin de la demande : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName} ID d’opération : 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))
Paramètres
- containerAppName
- String
Nom de l’application conteneur.
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.
Retours
Exceptions
containerAppName
est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.
containerAppName
a la valeur null.
S’applique à
Azure SDK for .NET