Skip to main content

offers

Creates, updates, deletes, gets or lists a offers resource.

Overview

Nameoffers
TypeResource
Idazure_stack.azure_stack_hci.offers

Fields

NameDatatypeDescription
clusterNametextfield from the properties object
contenttextfield from the properties object
content_versiontextfield from the properties object
offerNametextfield from the properties object
provisioning_statetextfield from the properties object
publisherNametextfield from the properties object
publisher_idtextfield from the properties object
resourceGroupNametextfield from the properties object
sku_mappingstextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTclusterName, offerName, publisherName, resourceGroupName, subscriptionIdGet Offer resource details within a publisher of HCI Cluster.
list_by_clusterSELECTclusterName, resourceGroupName, subscriptionIdList Offers available across publishers for the HCI Cluster.
list_by_publisherSELECTclusterName, publisherName, resourceGroupName, subscriptionIdList Offers available for a publisher within the HCI Cluster.

SELECT examples

List Offers available across publishers for the HCI Cluster.

SELECT
clusterName,
content,
content_version,
offerName,
provisioning_state,
publisherName,
publisher_id,
resourceGroupName,
sku_mappings,
subscriptionId
FROM azure_stack.azure_stack_hci.vw_offers
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';