Skip to main content

offers

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

Overview

Nameoffers
TypeResource
Idazure_stack.azure_stack_hci.offers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
propertiesobjectOffer properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, clusterName, publisherName, offerName$expandGet Offer resource details within a publisher of HCI Cluster.
list_by_publisherselectsubscriptionId, resourceGroupName, clusterName, publisherName$expandList Offers available for a publisher within the HCI Cluster.
list_by_clusterselectsubscriptionId, resourceGroupName, clusterName$expandList Offers available across publishers for the HCI Cluster.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
clusterNamestringThe name of the cluster.
offerNamestringThe name of the offer available within HCI cluster.
publisherNamestringThe name of the publisher available within HCI cluster.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
$expandstringSpecify $expand=content,contentVersion to populate additional fields related to the marketplace offer.

SELECT examples

Get Offer resource details within a publisher of HCI Cluster.

SELECT
properties
FROM azure_stack.azure_stack_hci.offers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND publisherName = '{{ publisherName }}' -- required
AND offerName = '{{ offerName }}' -- required
AND $expand = '{{ $expand }}'
;