Delen via


Iot Dps Resource - list Valid Skus

Haal de lijst met geldige SKU's voor een inrichtingsservice op.
Hiermee haalt u de lijst met geldige SKU's en lagen voor een inrichtingsservice op.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/skus?api-version=2022-12-12

URI-parameters

Name In Vereist Type Description
provisioningServiceName
path True

string

Naam van de inrichtingsservice.

resourceGroupName
path True

string

De naam van de resourcegroep.

subscriptionId
path True

string

De abonnements-id.

api-version
query True

string

De versie van de API.

Antwoorden

Name Type Description
200 OK

IotDpsSkuDefinitionListResult

Dit is een synchrone bewerking. De hoofdtekst bevat een JSON-geserialiseerde matrix van de geldige SKU's voor deze inrichtingsservice.

Other Status Codes

ErrorDetails

Standaardfoutantwoord.

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

DPSGetValidSku

Voorbeeldaanvraag

GET https://management.azure.com/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/provisioningServices/myFirstProvisioningService/skus?api-version=2022-12-12

Voorbeeldrespons

{
  "value": [
    {
      "name": "S1"
    }
  ]
}

Definities

Name Description
ErrorDetails

Foutdetails.

IotDpsSku

SKU-naam.

IotDpsSkuDefinition

Beschikbare SKU's van lagen en eenheden.

IotDpsSkuDefinitionListResult

Lijst met beschikbare SKU's.

ErrorDetails

Foutdetails.

Name Type Description
code

integer

De foutcode.

details

string

De foutdetails.

httpStatusCode

string

De HTTP-statuscode.

message

string

Het foutbericht.

IotDpsSku

SKU-naam.

Name Type Description
S1

string

IotDpsSkuDefinition

Beschikbare SKU's van lagen en eenheden.

Name Type Description
name

IotDpsSku

SKU-naam.

IotDpsSkuDefinitionListResult

Lijst met beschikbare SKU's.

Name Type Description
nextLink

string

De volgende koppeling.

value

IotDpsSkuDefinition[]

De lijst met SKU's