Iot Hub Resource - Get Valid Skus
Get the list of valid SKUs for an IoT hub.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/skus?api-version={api-version}
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
subscriptionId
|
path | True |
|
The subscription identifier. |
|
resourceGroupName
|
path | True |
|
The name of the resource group that contains the IoT hub. |
|
resourceName
|
path | True |
|
The name of the IoT hub. |
|
api-version
|
query | True |
|
The version of the API. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
This is a synchronous operation. The body contains a JSON-serialized array of the valid SKUs for this IoT hub. |
|
| Other Status Codes |
DefaultErrorResponse |
Definitions
| ErrorDetails | |
| IotHubCapacity |
IoT Hub capacity information. |
| IotHubSkuDescription |
SKU properties. |
| IotHubSkuDescriptionListResult | |
| IotHubSkuInfo |
Information about the SKU of the IoT hub. |
| Name | Type | Description |
|---|---|---|
| Code |
|
The error code. |
| Details |
|
The error details. |
| HttpStatusCode |
|
The HTTP status code. |
| Message |
|
The error message. |
IoT Hub capacity information.
| Name | Type | Description |
|---|---|---|
| default |
|
The default number of units. |
| maximum |
|
The maximum number of units. |
| minimum |
|
The minimum number of units. |
| scaleType |
|
The type of the scaling enabled. |
SKU properties.
| Name | Type | Description |
|---|---|---|
| capacity |
IoT Hub capacity information. |
|
| resourceType |
|
The type of the resource. |
| sku |
Information about the SKU of the IoT hub. |
| Name | Type | Description |
|---|---|---|
| nextLink |
|
The next link. |
| value |
The array of IotHubSkuDescription. |
Information about the SKU of the IoT hub.
| Name | Type | Description |
|---|---|---|
| capacity |
|
The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. |
| name |
|
The name of the SKU. |
| tier |
|
The billing tier for the IoT hub. |