Compartilhar via


SharedGalleryImageVersionCollection.GetAllAsync Método

Definição

Listar versões de 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}/versions
  • Operação IdSharedGalleryImageVersions_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.SharedGalleryImageVersionResource> GetAllAsync (Azure.ResourceManager.Compute.Models.SharedToValue? sharedTo = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<Azure.ResourceManager.Compute.Models.SharedToValue> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.SharedGalleryImageVersionResource>
override this.GetAllAsync : Nullable<Azure.ResourceManager.Compute.Models.SharedToValue> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.SharedGalleryImageVersionResource>
Public Overridable Function GetAllAsync (Optional sharedTo As Nullable(Of SharedToValue) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SharedGalleryImageVersionResource)

Parâmetros

sharedTo
Nullable<SharedToValue>

O parâmetro de consulta para decidir quais galerias compartilhadas buscar ao fazer operações de listagem.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de SharedGalleryImageVersionResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a