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 abonnement-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 door 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 |
Informatie over ioT Hub-capaciteit. |
Iot |
Het type schaalaanpassing ingeschakeld. |
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
Informatie over ioT Hub-capaciteit.
Name | Type | Description |
---|---|---|
default |
integer (int64) |
Het standaardaantal eenheden. |
maximum |
integer (int64) |
Het maximum aantal eenheden. |
minimum |
integer (int64) minimum: 1maximum: 1 |
Het minimum aantal eenheden. |
scaleType |
Het type schaalaanpassing ingeschakeld. |
IotHubScaleType
Het type schaalaanpassing ingeschakeld.
Waarde | Description |
---|---|
Automatic | |
Manual | |
None |
IotHubSku
De naam van de SKU.
Waarde | Description |
---|---|
B1 | |
B2 | |
B3 | |
F1 | |
S1 | |
S2 | |
S3 |
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 (int64) |
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.
Waarde | Description |
---|---|
Basic | |
Free | |
Standard |