Partilhar via


SharedGalleryCollection.GetAllAsync 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.AsyncPageable<Azure.ResourceManager.Compute.SharedGalleryResource> 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.SharedGalleryResource>
override this.GetAllAsync : Nullable<Azure.ResourceManager.Compute.Models.SharedToValue> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.SharedGalleryResource>
Public Overridable Function GetAllAsync (Optional sharedTo As Nullable(Of SharedToValue) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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 assíncrona de SharedGalleryResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a