HciClusterOfferCollection Class

Definition

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

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

Constructors

HciClusterOfferCollection()

Initializes a new instance of the HciClusterOfferCollection 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}
  • Operation Id: Offers_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterOfferResource
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}
  • Operation Id: Offers_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterOfferResource
Get(String, String, CancellationToken)

Get Offer resource details within a publisher of HCI Cluster.

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

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
GetAllAsync(String, CancellationToken)

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
GetAsync(String, String, CancellationToken)

Get Offer resource details within a publisher of HCI Cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}
  • Operation Id: Offers_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterOfferResource
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}
  • Operation Id: Offers_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterOfferResource
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}
  • Operation Id: Offers_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterOfferResource
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<HciClusterOfferResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HciClusterOfferResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to