Freigeben über


GalleryResource.GetGalleryApplicationAsync(String, CancellationToken) Methode

Definition

Ruft Informationen zu einer Kataloganwendungsdefinition ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}
  • Vorgang IdGalleryApplications_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryApplicationResource>> GetGalleryApplicationAsync (string galleryApplicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGalleryApplicationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryApplicationResource>>
override this.GetGalleryApplicationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryApplicationResource>>
Public Overridable Function GetGalleryApplicationAsync (galleryApplicationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GalleryApplicationResource))

Parameter

galleryApplicationName
String

Der Name der abzurufenden Anwendungsdefinition des Katalogs.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

galleryApplicationName ist NULL.

Gilt für: