Partilhar via


SharedGalleriesOperationsExtensions.ListAsync Método

Definição

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

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.SharedGallery>> ListAsync (this Microsoft.Azure.Management.Compute.ISharedGalleriesOperations operations, string location, string sharedTo = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Compute.ISharedGalleriesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.SharedGallery>>
<Extension()>
Public Function ListAsync (operations As ISharedGalleriesOperations, location As String, Optional sharedTo As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SharedGallery))

Parâmetros

operations
ISharedGalleriesOperations

O grupo de operações para esse método de extensão.

location
String

Local do recurso.

sharedTo
String

O parâmetro de consulta para decidir quais galerias compartilhadas buscar ao fazer operações de listagem. Os valores possíveis incluem: 'tenant'

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a