Partilhar via


SharedGalleryImageResource.GetAsync(CancellationToken) Método

Definição

Obtenha uma imagem da galeria compartilhada por ID de assinatura ou ID de locatário.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}
  • Operação IdSharedGalleryImages_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.SharedGalleryImageResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.SharedGalleryImageResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.SharedGalleryImageResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SharedGalleryImageResource))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a