Skip to main content

skus

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

Overview

Nameskus
TypeResource
Idazure_stack.azure_stack_hci.skus

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the SKU. E.g. P3. It is typically a letter+number code
capacityinteger (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.
familystringIf the service has different generations of hardware, for the same SKU, then that can be captured here.
sizestringThe SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tierstringThis 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:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, clusterName, publisherName, offerName, skuName$expandGet SKU resource details within a offer of HCI Cluster.
list_by_offerselectsubscriptionId, resourceGroupName, clusterName, publisherName, offerName$expandList 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.

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.
skuNamestringThe name of the SKU available within HCI cluster.
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 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 }}'
;