Partilhar via


SharedGalleryCollection.GetAll Método

Definição

Listar galerias compartilhadas por ID de assinatura ou ID de locatário.

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

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

Aplica-se a