Share via


MockableComputeSubscriptionResource.GetGalleriesAsync Method

Definition

List galleries under a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries
  • Operation Id: Galleries_List
  • Default Api Version: 2023-07-03
  • Resource: GalleryResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.GalleryResource> GetGalleriesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetGalleriesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.GalleryResource>
override this.GetGalleriesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.GalleryResource>
Public Overridable Function GetGalleriesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of GalleryResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of GalleryResource that may take multiple service requests to iterate over.

Applies to