共用方式為


HciSkuCollection Class

Definition

A class representing a collection of HciSkuResource and their operations. Each HciSkuResource in the collection will belong to the same instance of HciClusterOfferResource. To get a HciSkuCollection instance call the GetHciSkus method from an instance of HciClusterOfferResource.

public class HciSkuCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Hci.HciSkuResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Hci.HciSkuResource>
type HciSkuCollection = class
    inherit ArmCollection
    interface seq<HciSkuResource>
    interface IEnumerable
    interface IAsyncEnumerable<HciSkuResource>
Public Class HciSkuCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of HciSkuResource), IEnumerable(Of HciSkuResource)
Inheritance
HciSkuCollection
Implements

Constructors

HciSkuCollection()

Initializes a new instance of the HciSkuCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}/skus/{skuName}
  • Operation Id: Skus_Get
  • Default Api Version: 2024-04-01
  • Resource: HciSkuResource
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}/skus/{skuName}
  • Operation Id: Skus_Get
  • Default Api Version: 2024-04-01
  • Resource: HciSkuResource
Get(String, String, CancellationToken)

Get SKU resource details within a offer of HCI Cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}/skus/{skuName}
  • Operation Id: Skus_Get
  • Default Api Version: 2024-04-01
  • Resource: HciSkuResource
GetAll(String, CancellationToken)

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
  • Default Api Version: 2024-04-01
  • Resource: HciSkuResource
GetAllAsync(String, CancellationToken)

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
  • Default Api Version: 2024-04-01
  • Resource: HciSkuResource
GetAsync(String, String, CancellationToken)

Get SKU resource details within a offer of HCI Cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}/skus/{skuName}
  • Operation Id: Skus_Get
  • Default Api Version: 2024-04-01
  • Resource: HciSkuResource
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}/skus/{skuName}
  • Operation Id: Skus_Get
  • Default Api Version: 2024-04-01
  • Resource: HciSkuResource
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}/skus/{skuName}
  • Operation Id: Skus_Get
  • Default Api Version: 2024-04-01
  • Resource: HciSkuResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<HciSkuResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HciSkuResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to