共用方式為


HciClusterResource.GetHciClusterOffersAsync(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
  • Default Api Version: 2024-04-01
  • Resource: HciClusterOfferResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Hci.HciClusterOfferResource> GetHciClusterOffersAsync (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHciClusterOffersAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Hci.HciClusterOfferResource>
override this.GetHciClusterOffersAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Hci.HciClusterOfferResource>
Public Overridable Function GetHciClusterOffersAsync (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HciClusterOfferResource)

Parameters

expand
String

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to