Partilhar via


GalleryApplicationResource.GetGalleryApplicationVersionAsync Método

Definição

Recupera informações sobre uma versão do aplicativo da galeria.

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

Parâmetros

galleryApplicationVersionName
String

O nome da versão do aplicativo da galeria a ser recuperada.

expand
Nullable<ReplicationStatusType>

A expressão de expansão a ser aplicada na operação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

galleryApplicationVersionName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

galleryApplicationVersionName é nulo.

Aplica-se a