SharedGalleryImageVersionsOperationsExtensions.List Method

Definition

List shared gallery image versions by subscription id or tenant id.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.SharedGalleryImageVersion> List (this Microsoft.Azure.Management.Compute.ISharedGalleryImageVersionsOperations operations, string location, string galleryUniqueName, string galleryImageName, string sharedTo = default);
static member List : Microsoft.Azure.Management.Compute.ISharedGalleryImageVersionsOperations * string * string * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.SharedGalleryImageVersion>
<Extension()>
Public Function List (operations As ISharedGalleryImageVersionsOperations, location As String, galleryUniqueName As String, galleryImageName As String, Optional sharedTo As String = Nothing) As IPage(Of SharedGalleryImageVersion)

Parameters

operations
ISharedGalleryImageVersionsOperations

The operations group for this extension method.

location
String

Resource location.

galleryUniqueName
String

The unique name of the Shared Gallery.

galleryImageName
String

The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.

sharedTo
String

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

Returns

Applies to