Compartilhar via


SharedGalleryImageCollection.GetAllAsync Método

Definição

Listar imagens compartilhadas da galeria por ID de assinatura ou ID de locatário.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images
  • Operação IdSharedGalleryImages_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.SharedGalleryImageResource> 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.SharedGalleryImageResource>
override this.GetAllAsync : Nullable<Azure.ResourceManager.Compute.Models.SharedToValue> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.SharedGalleryImageResource>
Public Overridable Function GetAllAsync (Optional sharedTo As Nullable(Of SharedToValue) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SharedGalleryImageResource)

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 SharedGalleryImageResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a