skus
Creates, updates, deletes, gets or lists a skus
resource.
Overview
Name | skus |
Type | Resource |
Id | azure_stack.azure_stack_hci.skus |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_offer
Name | Datatype | Description |
---|---|---|
name | string | The name of the SKU. E.g. P3. It is typically a letter+number code |
capacity | integer (int32) | If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. |
family | string | If the service has different generations of hardware, for the same SKU, then that can be captured here. |
size | string | The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. |
tier | string | This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. |
Name | Datatype | Description |
---|---|---|
name | string | The name of the SKU. E.g. P3. It is typically a letter+number code |
capacity | integer (int32) | If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. |
family | string | If the service has different generations of hardware, for the same SKU, then that can be captured here. |
size | string | The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. |
tier | string | This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , clusterName , publisherName , offerName , skuName | $expand | Get SKU resource details within a offer of HCI Cluster. |
list_by_offer | select | subscriptionId , resourceGroupName , clusterName , publisherName , offerName | $expand | List Skus available for a offer within 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. |
skuName | string | The name of the SKU available within HCI cluster. |
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_offer
Get SKU resource details within a offer of HCI Cluster.
SELECT
name,
capacity,
family,
size,
tier
FROM azure_stack.azure_stack_hci.skus
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND publisherName = '{{ publisherName }}' -- required
AND offerName = '{{ offerName }}' -- required
AND skuName = '{{ skuName }}' -- required
AND $expand = '{{ $expand }}'
;
List Skus available for a offer within the HCI Cluster.
SELECT
name,
capacity,
family,
size,
tier
FROM azure_stack.azure_stack_hci.skus
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND publisherName = '{{ publisherName }}' -- required
AND offerName = '{{ offerName }}' -- required
AND $expand = '{{ $expand }}'
;