Partilhar via


CommunityGalleriesOperationsExtensions.GetAsync Método

Definição

Obtenha uma galeria da comunidade por nome público da galeria.

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

Parâmetros

operations
ICommunityGalleriesOperations

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

location
String

Local do recurso.

publicGalleryName
String

O nome público da galeria da comunidade.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a