Iot Dps Resource - list Valid Skus

Get the list of valid SKUs for a provisioning service.
Gets the list of valid SKUs and tiers for a provisioning service.

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

URI Parameters

Name In Required Type Description
provisioningServiceName
path True

string

Name of provisioning service.

resourceGroupName
path True

string

Name of resource group.

subscriptionId
path True

string

The subscription identifier.

api-version
query True

string

The version of the API.

Responses

Name Type Description
200 OK

IotDpsSkuDefinitionListResult

This is a synchronous operation. The body contains a JSON-serialized array of the valid SKUs for this provisioning service.

Other Status Codes

ErrorDetails

Default error response.

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

DPSGetValidSku

Sample request

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

Sample response

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

Definitions

Name Description
ErrorDetails

Error details.

IotDpsSku

Sku name.

IotDpsSkuDefinition

Available SKUs of tier and units.

IotDpsSkuDefinitionListResult

List of available SKUs.

ErrorDetails

Error details.

Name Type Description
code

integer

The error code.

details

string

The error details.

httpStatusCode

string

The HTTP status code.

message

string

The error message.

IotDpsSku

Sku name.

Name Type Description
S1

string

IotDpsSkuDefinition

Available SKUs of tier and units.

Name Type Description
name

IotDpsSku

Sku name.

IotDpsSkuDefinitionListResult

List of available SKUs.

Name Type Description
nextLink

string

The next link.

value

IotDpsSkuDefinition[]

The list of SKUs