resource_valid_skus
Creates, updates, deletes, gets or lists a resource_valid_skus
resource.
Overview
Name | resource_valid_skus |
Type | Resource |
Id | azure.iot_hub.resource_valid_skus |
Fields
The following fields are returned by SELECT
queries:
- get
This is a synchronous operation. The body contains a JSON-serialized array of the valid SKUs for this IoT hub.
Name | Datatype | Description |
---|---|---|
capacity | object | IotHub capacity |
resourceType | string | The type of the resource. |
sku | object | The type of the resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , resourceName | api-version | Get the list of valid SKUs for an IoT hub. |
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 |
---|---|---|
resourceGroupName | string | The name of the resource group that contains the IoT hub. |
resourceName | string | The name of the IoT hub. |
subscriptionId | string | The subscription identifier. |
api-version | string | The version of the API. |
SELECT
examples
- get
Get the list of valid SKUs for an IoT hub.
SELECT
capacity,
resourceType,
sku
FROM azure.iot_hub.resource_valid_skus
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND resourceName = '{{ resourceName }}' -- required
AND api-version = '{{ api-version }}'
;