共用方式為


HciClusterOfferCollection.GetAll(String, CancellationToken) Method

Definition

List Offers available for a publisher within the HCI Cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers
  • Operation Id: Offers_ListByPublisher
  • Default Api Version: 2024-04-01
  • Resource: HciClusterOfferResource
public virtual Azure.Pageable<Azure.ResourceManager.Hci.HciClusterOfferResource> GetAll (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.HciClusterOfferResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.HciClusterOfferResource>
Public Overridable Function GetAll (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Applies to