Bagikan melalui


HciSkuCollection.GetAllAsync(String, CancellationToken) Method

Definition

List Skus available for a offer within the HCI Cluster.

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

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 HciSkuResource that may take multiple service requests to iterate over.

Applies to