offers
Creates, updates, deletes, gets or lists an offers
resource.
Overview
Name | offers |
Type | Resource |
Id | azure_stack.azure_stack_hci.offers |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_publisher
- list_by_cluster
Name | Datatype | Description |
---|---|---|
properties | object | Offer properties. |
Name | Datatype | Description |
---|---|---|
properties | object | Offer properties. |
Name | Datatype | Description |
---|---|---|
properties | object | Offer properties. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , clusterName , publisherName , offerName | $expand | Get Offer resource details within a publisher of HCI Cluster. |
list_by_publisher | select | subscriptionId , resourceGroupName , clusterName , publisherName | $expand | List Offers available for a publisher within the HCI Cluster. |
list_by_cluster | select | subscriptionId , resourceGroupName , clusterName | $expand | List 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.
Name | Datatype | Description |
---|---|---|
clusterName | string | The name of the cluster. |
offerName | string | The name of the offer available within HCI cluster. |
publisherName | string | The name of the publisher available within HCI cluster. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
$expand | string | Specify $expand=content,contentVersion to populate additional fields related to the marketplace offer. |
SELECT
examples
- get
- list_by_publisher
- list_by_cluster
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 }}'
;
List Offers available for a publisher within the 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 $expand = '{{ $expand }}'
;
List Offers available across publishers for the HCI Cluster.
SELECT
properties
FROM azure_stack.azure_stack_hci.offers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND $expand = '{{ $expand }}'
;