Freigeben über


GalleryApplicationVersionCollection.GetAsync Methode

Definition

Ruft Informationen zu einer Kataloganwendungsversion ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}
  • Vorgangs-IdGalleryApplicationVersions_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryApplicationVersionResource>> GetAsync (string galleryApplicationVersionName, Azure.ResourceManager.Compute.Models.ReplicationStatusType? expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * Nullable<Azure.ResourceManager.Compute.Models.ReplicationStatusType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryApplicationVersionResource>>
override this.GetAsync : string * Nullable<Azure.ResourceManager.Compute.Models.ReplicationStatusType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.GalleryApplicationVersionResource>>
Public Overridable Function GetAsync (galleryApplicationVersionName As String, Optional expand As Nullable(Of ReplicationStatusType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GalleryApplicationVersionResource))

Parameter

galleryApplicationVersionName
String

Der Name der abzurufenden Anwendungsversion des Katalogs.

expand
Nullable<ReplicationStatusType>

Der expand-Ausdruck, der auf den Vorgang angewendet werden soll.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

galleryApplicationVersionName ist NULL.

Gilt für: