共用方式為


SharedGalleriesOperationsExtensions.ListAsync Method

Definition

List shared galleries by subscription id or tenant id.

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

Parameters

operations
ISharedGalleriesOperations

The operations group for this extension method.

location
String

Resource location.

sharedTo
String

The query parameter to decide what shared galleries to fetch when doing listing operations. Possible values include: 'tenant'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to