Udostępnij za pośrednictwem


HciClusterResource.GetOffers(String, CancellationToken) Method

Definition

List Offers available across publishers for the HCI Cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/offers
  • Operation Id: Offers_ListByCluster
public virtual Azure.Pageable<Azure.ResourceManager.Hci.OfferResource> GetOffers (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOffers : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.OfferResource>
override this.GetOffers : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.OfferResource>
Public Overridable Function GetOffers (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of OfferResource)

Parameters

expand
String

Specify $expand=content,contentVersion to populate additional fields related to the marketplace offer.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to