다음을 통해 공유


HciExtensions.GetMarketplaceGalleryImagesAsync Method

Definition

Lists all of the marketplace gallery images in the specified subscription. Use the nextLink property in the response to get the next page of marketplace gallery images.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages
  • Operation Id: MarketplaceGalleryImages_ListAll
public static Azure.AsyncPageable<Azure.ResourceManager.Hci.MarketplaceGalleryImageResource> GetMarketplaceGalleryImagesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMarketplaceGalleryImagesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Hci.MarketplaceGalleryImageResource>
<Extension()>
Public Function GetMarketplaceGalleryImagesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MarketplaceGalleryImageResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to