rack_skus
Creates, updates, deletes, gets or lists a rack_skus resource.
Overview
| Name | rack_skus |
| Type | Resource |
| Id | azure_extras.network_cloud.rack_skus |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_subscription
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
computeMachines | array | The list of machine SKUs and associated rack slot for the compute-dedicated machines in this rack model. |
controllerMachines | array | The list of machine SKUs and associated rack slot for the control-plane dedicated machines in this rack model. |
deploymentType | string | The deployment type supported by the rack SKU. Known values are: "Nexus" and "AzureLocal". (Nexus, AzureLocal) |
description | string | The free-form text describing the rack. |
maxClusterSlots | integer | The maximum number of compute racks supported by an aggregator rack. 0 if this is a compute rack or a rack for a single rack cluster(rackType="Single"). |
provisioningState | string | The provisioning state of the rack SKU resource. Known values are: "Canceled", "Failed", and "Succeeded". (Canceled, Failed, Succeeded) |
rackType | string | The type of the rack. Known values are: "Aggregator", "Compute", and "Single". (Aggregator, Compute, Single) |
storageAppliances | array | The list of appliance SKUs and associated rack slot for the storage appliance(s) in this rack model. |
supportedRackSkuIds | array | The list of supported SKUs if the rack is an aggregator. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
computeMachines | array | The list of machine SKUs and associated rack slot for the compute-dedicated machines in this rack model. |
controllerMachines | array | The list of machine SKUs and associated rack slot for the control-plane dedicated machines in this rack model. |
deploymentType | string | The deployment type supported by the rack SKU. Known values are: "Nexus" and "AzureLocal". (Nexus, AzureLocal) |
description | string | The free-form text describing the rack. |
maxClusterSlots | integer | The maximum number of compute racks supported by an aggregator rack. 0 if this is a compute rack or a rack for a single rack cluster(rackType="Single"). |
provisioningState | string | The provisioning state of the rack SKU resource. Known values are: "Canceled", "Failed", and "Succeeded". (Canceled, Failed, Succeeded) |
rackType | string | The type of the rack. Known values are: "Aggregator", "Compute", and "Single". (Aggregator, Compute, Single) |
storageAppliances | array | The list of appliance SKUs and associated rack slot for the storage appliance(s) in this rack model. |
supportedRackSkuIds | array | The list of supported SKUs if the rack is an aggregator. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | rack_sku_name, subscription_id | Get the properties of the provided rack SKU. | |
list_by_subscription | select | subscription_id | Get a list of rack SKUs in the provided subscription. |
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 |
|---|---|---|
rack_sku_name | string | The name of the rack SKU. Required. |
subscription_id | string |
SELECT examples
- get
- list_by_subscription
Get the properties of the provided rack SKU.
SELECT
id,
name,
computeMachines,
controllerMachines,
deploymentType,
description,
maxClusterSlots,
provisioningState,
rackType,
storageAppliances,
supportedRackSkuIds,
systemData,
type
FROM azure_extras.network_cloud.rack_skus
WHERE rack_sku_name = '{{ rack_sku_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Get a list of rack SKUs in the provided subscription.
SELECT
id,
name,
computeMachines,
controllerMachines,
deploymentType,
description,
maxClusterSlots,
provisioningState,
rackType,
storageAppliances,
supportedRackSkuIds,
systemData,
type
FROM azure_extras.network_cloud.rack_skus
WHERE subscription_id = '{{ subscription_id }}' -- required
;