GalleryImagesOperationsExtensions.ListByGalleryAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
List gallery image definitions in a gallery.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.GalleryImage>> ListByGalleryAsync (this Microsoft.Azure.Management.Compute.IGalleryImagesOperations operations, string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default);
static member ListByGalleryAsync : Microsoft.Azure.Management.Compute.IGalleryImagesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.GalleryImage>>
<Extension()>
Public Function ListByGalleryAsync (operations As IGalleryImagesOperations, resourceGroupName As String, galleryName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of GalleryImage))
Parameters
- operations
- IGalleryImagesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- galleryName
- String
The name of the Shared Image Gallery from which Image Definitions are to be listed.
- cancellationToken
- CancellationToken
The cancellation token.