Freigeben über


SharedGalleriesOperationsExtensions.ListAsync Methode

Definition

Listet freigegebene Kataloge nach Abonnement-ID oder Mandanten-ID auf.

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))

Parameter

operations
ISharedGalleriesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

location
String

Ressourcenspeicherort

sharedTo
String

Der Abfrageparameter, um zu entscheiden, welche freigegebenen Kataloge beim Ausführen von Auflistungsvorgängen abgerufen werden sollen. Mögliche Werte: "mandant"

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: