| Description | : List all the provisioning services for a given subscription id. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "IotDpsResource_ListBySubscription",
"$responses": {
"200": {
"$properties": {
"value": {
"$properties": {
"properties": [
{
"iotHubs": {
"$properties": [
{
"#name": "connectionString",
"Required": {
"new": true,
"old": false
}
},
{
"@removed_3385887f37de41cabac4f955380c02ec": {
"#name": "authenticationType",
"Description": "IotHub MI authentication type: KeyBased, UserAssigned, SystemAssigned.",
"Enum": [
[
"KeyBased",
""
],
[
"UserAssigned",
""
],
[
"SystemAssigned",
""
]
],
"Required": false,
"Type": "string"
}
},
{
"@removed_41625f2e5d15483f9f51f767ede8cae0": {
"#name": "selectedUserAssignedIdentityResourceId",
"Description": "The selected user-assigned identity resource Id associated with IoT Hub. This is required when authenticationType is UserAssigned.",
"Format": "arm-id",
"Required": false,
"Type": "string"
}
}
]
}
},
{
"@added_f728765468c742c181456f756b6e35b3": {
"#name": "deviceRegistryNamespace",
"Description": "The Device Registry namespace that is linked to the provisioning service.",
"Required": false,
"Type": "object",
"$properties": [
{
"#name": "resourceId",
"Description": "The ARM resource ID of the Device Registry namespace.",
"Format": "arm-id",
"Required": true,
"Type": "string"
},
{
"#name": "authenticationType",
"Description": "Device Registry Namespace MI authentication type: UserAssigned, SystemAssigned.",
"Enum": [
[
"UserAssigned",
"User assigned authentication type."
],
[
"SystemAssigned",
"System assigned authentication type."
]
],
"Required": true,
"Type": "string"
},
{
"#name": "selectedUserAssignedIdentityResourceId",
"Description": "The selected user-assigned identity resource Id associated with Device Registry namespace. This is required when authenticationType is UserAssigned.",
"Format": "arm-id",
"Required": false,
"Type": "string"
}
]
}
}
]
}
}
}
}
}
}
⚼ Request
GET:
/subscriptions/{subscriptionId}/providers/Microsoft.Devices/provisioningServices
{
api-version:
string
,
subscriptionId:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
etag:
string
,
resourcegroup:
string
,
subscriptionid:
string
,
properties:
{
,
state:
enum
,
publicNetworkAccess:
enum
,
ipFilterRules:
[
]
,
{
,
filterName:
string
,
action:
enum
,
ipMask:
string
,
target:
enum
,
}
privateEndpointConnections:
[
]
,
{
,
properties:
}
{
,
privateEndpoint:
{
,
id:
string
,
}
privateLinkServiceConnectionState:
}
{
,
status:
enum
,
description:
string
,
actionsRequired:
string
,
}
provisioningState:
string
,
iotHubs:
[
]
,
{
,
applyAllocationPolicy:
boolean
,
allocationWeight:
integer
,
name:
string
,
connectionString:
string
,
location:
string
,
}
deviceRegistryNamespace:
{
,
resourceId:
string
,
authenticationType:
enum
,
selectedUserAssignedIdentityResourceId:
string
,
}
allocationPolicy:
enum
,
serviceOperationsHostName:
string
,
deviceProvisioningHostName:
string
,
idScope:
string
,
authorizationPolicies:
[
]
,
{
,
keyName:
string
,
primaryKey:
string
,
secondaryKey:
string
,
rights:
enum
,
}
enableDataResidency:
boolean
,
portalOperationsHostName:
string
,
}
sku:
{
,
name:
enum
,
tier:
string
,
capacity:
integer
,
}
identity:
}
{
,
principalId:
string
,
tenantId:
string
,
type:
enum
,
userAssignedIdentities:
object
,
}
nextLink:
string
,
}
⚐ Response (default)
{
code:
integer
,
httpStatusCode:
string
,
message:
string
,
details:
string
,
}