Compartilhar via


GalleryApplicationVersionCollection.ExistsAsync Método

Definição

Verifica se o recurso existe no azure.

  • 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<bool>> ExistsAsync (string galleryApplicationVersionName, Azure.ResourceManager.Compute.Models.ReplicationStatusType? expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * Nullable<Azure.ResourceManager.Compute.Models.ReplicationStatusType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * Nullable<Azure.ResourceManager.Compute.Models.ReplicationStatusType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (galleryApplicationVersionName As String, Optional expand As Nullable(Of ReplicationStatusType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

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