Compartilhar via


SharedGalleryImageCollection.GetAll 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.Pageable<Azure.ResourceManager.Compute.SharedGalleryImageResource> GetAll (Azure.ResourceManager.Compute.Models.SharedToValue? sharedTo = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<Azure.ResourceManager.Compute.Models.SharedToValue> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.SharedGalleryImageResource>
override this.GetAll : Nullable<Azure.ResourceManager.Compute.Models.SharedToValue> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.SharedGalleryImageResource>
Public Overridable Function GetAll (Optional sharedTo As Nullable(Of SharedToValue) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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 de SharedGalleryImageResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a