Share via


HciExtensions.GetMarketplaceGalleryImages Method

Definition

Overloads

GetMarketplaceGalleryImages(ResourceGroupResource)

Gets a collection of MarketplaceGalleryImageResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMarketplaceGalleryImages() instead.

GetMarketplaceGalleryImages(SubscriptionResource, CancellationToken)

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

GetMarketplaceGalleryImages(ResourceGroupResource)

Source:
HciExtensions.cs

Gets a collection of MarketplaceGalleryImageResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMarketplaceGalleryImages() instead.

public static Azure.ResourceManager.Hci.MarketplaceGalleryImageCollection GetMarketplaceGalleryImages (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetMarketplaceGalleryImages : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Hci.MarketplaceGalleryImageCollection
<Extension()>
Public Function GetMarketplaceGalleryImages (resourceGroupResource As ResourceGroupResource) As MarketplaceGalleryImageCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of MarketplaceGalleryImageResources and their operations over a MarketplaceGalleryImageResource.

Exceptions

resourceGroupResource is null.

Applies to

GetMarketplaceGalleryImages(SubscriptionResource, CancellationToken)

Source:
HciExtensions.cs

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.Pageable<Azure.ResourceManager.Hci.MarketplaceGalleryImageResource> GetMarketplaceGalleryImages (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMarketplaceGalleryImages : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.MarketplaceGalleryImageResource>
<Extension()>
Public Function GetMarketplaceGalleryImages (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MarketplaceGalleryImageResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to