GalleryApplicationsOperations.ListByGalleryAsync(String, String, CancellationToken) Method

Definition

List gallery Application Definitions in a gallery.

public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.GalleryApplication> ListByGalleryAsync (string resourceGroupName, string galleryName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByGalleryAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.GalleryApplication>
override this.ListByGalleryAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.GalleryApplication>
Public Overridable Function ListByGalleryAsync (resourceGroupName As String, galleryName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of GalleryApplication)

Parameters

resourceGroupName
System.String

The name of the resource group.

galleryName
System.String

The name of the Shared Application Gallery from which Application Definitions are to be listed.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

AsyncPageable<GalleryApplication>

Exceptions

System.ArgumentNullException

resourceGroupName or galleryName is null.

Applies to