Partilhar via


SharedGalleriesOperationsExtensions.GetAsync Método

Definição

Obtenha uma galeria compartilhada por ID de assinatura ou ID de locatário.

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

Parâmetros

operations
ISharedGalleriesOperations

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

location
String

Local do recurso.

galleryUniqueName
String

O nome exclusivo da Galeria Compartilhada.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a