Udostępnij za pośrednictwem


HciExtensions.GetGalleryImages Method

Definition

Overloads

GetGalleryImages(ResourceGroupResource)

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

GetGalleryImages(SubscriptionResource, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/galleryImages
  • Operation Id: GalleryImages_ListAll

GetGalleryImages(ResourceGroupResource)

Source:
HciExtensions.cs

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

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of GalleryImageResources and their operations over a GalleryImageResource.

Exceptions

resourceGroupResource is null.

Applies to

GetGalleryImages(SubscriptionResource, CancellationToken)

Source:
HciExtensions.cs

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

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to