Iot Hub Resource - Get Valid Skus
Haal de lijst met geldige SKU's voor een IoT-hub op.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/skus?api-version=2023-06-30
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
De naam van de resourcegroep die de IoT-hub bevat. |
resource
|
path | True |
string |
De naam van de IoT-hub. |
subscription
|
path | True |
string |
De abonnements-id. |
api-version
|
query | True |
string |
De versie van de API. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
Dit is een synchrone bewerking. De hoofdtekst bevat een JSON-geserialiseerde matrix van de geldige SKU's voor deze IoT-hub. |
|
Other Status Codes |
DefaultErrorResponse |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
IotHubResource_GetValidSkus
Voorbeeldaanvraag
Voorbeeldrespons
{
"value": [
{
"resourceType": "Microsoft.Devices/IotHubs",
"sku": {
"name": "S1",
"tier": "Standard"
},
"capacity": {
"default": 1,
"scaleType": "Manual"
}
},
{
"resourceType": "Microsoft.Devices/IotHubs",
"sku": {
"name": "S2",
"tier": "Standard"
},
"capacity": {
"minimum": 1,
"maximum": 200,
"default": 1,
"scaleType": "Manual"
}
},
{
"resourceType": "Microsoft.Devices/IotHubs",
"sku": {
"name": "S3",
"tier": "Standard"
},
"capacity": {
"minimum": 1,
"maximum": 10,
"default": 1,
"scaleType": "Manual"
}
}
]
}
Definities
Name | Description |
---|---|
Error |
Foutdetails. |
Iot |
IoT Hub capaciteitsgegevens. |
Iot |
Het type van de ingeschakelde schaalaanpassing. |
Iot |
De naam van de SKU. |
Iot |
SKU-eigenschappen. |
Iot |
De JSON-geserialiseerde matrix van IotHubSkuDescription-objecten met een volgende koppeling. |
Iot |
Informatie over de SKU van de IoT-hub. |
Iot |
De factureringslaag voor de IoT-hub. |
ErrorDetails
Foutdetails.
Name | Type | Description |
---|---|---|
code |
string |
De foutcode. |
details |
string |
De foutdetails. |
httpStatusCode |
string |
De HTTP-statuscode. |
message |
string |
Het foutbericht. |
IotHubCapacity
IoT Hub capaciteitsgegevens.
Name | Type | Description |
---|---|---|
default |
integer |
Het standaardaantal eenheden. |
maximum |
integer |
Het maximum aantal eenheden. |
minimum |
integer |
Het minimum aantal eenheden. |
scaleType |
Het type van de ingeschakelde schaalaanpassing. |
IotHubScaleType
Het type van de ingeschakelde schaalaanpassing.
Name | Type | Description |
---|---|---|
Automatic |
string |
|
Manual |
string |
|
None |
string |
IotHubSku
De naam van de SKU.
Name | Type | Description |
---|---|---|
B1 |
string |
|
B2 |
string |
|
B3 |
string |
|
F1 |
string |
|
S1 |
string |
|
S2 |
string |
|
S3 |
string |
IotHubSkuDescription
SKU-eigenschappen.
Name | Type | Description |
---|---|---|
capacity |
IotHub-capaciteit |
|
resourceType |
string |
Het type resource. |
sku |
Het type resource. |
IotHubSkuDescriptionListResult
De JSON-geserialiseerde matrix van IotHubSkuDescription-objecten met een volgende koppeling.
Name | Type | Description |
---|---|---|
nextLink |
string |
De volgende koppeling. |
value |
De matrix van IotHubSkuDescription. |
IotHubSkuInfo
Informatie over de SKU van de IoT-hub.
Name | Type | Description |
---|---|---|
capacity |
integer |
Het aantal ingerichte IoT Hub eenheden. Zie: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. |
name |
De naam van de SKU. |
|
tier |
De factureringslaag voor de IoT-hub. |
IotHubSkuTier
De factureringslaag voor de IoT-hub.
Name | Type | Description |
---|---|---|
Basic |
string |
|
Free |
string |
|
Standard |
string |