Freigeben über


CommunityGalleriesOperationsExtensions.GetAsync Methode

Definition

Rufen Sie einen Communitykatalog nach öffentlichem Katalognamen ab.

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)

Parameter

operations
ICommunityGalleriesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

location
String

Ressourcenspeicherort

publicGalleryName
String

Der öffentliche Name des Communitykatalogs.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: