Bicep resource definition
The namespaces resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.DeviceRegistry/namespaces resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.DeviceRegistry/namespaces@2026-11-01' = {
identity: {
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
location: 'string'
name: 'string'
properties: {
management: {
endpoints: {
{customized property}: {
address: 'string'
endpointType: 'string'
resourceId: 'string'
scopeId: 'string'
}
}
}
messaging: {
endpoints: {
{customized property}: {
address: 'string'
endpointType: 'string'
inboundCallerIdentity: {
type: 'string'
userAssignedIdentity: 'string'
}
provisioning: {
allocationWeight: int
availability: 'string'
}
resourceId: 'string'
}
}
}
outboundIdentity: {
type: 'string'
userAssignedIdentity: 'string'
}
provisioning: {
endpoints: {
{customized property}: {
endpointType: 'string'
inboundCallerIdentity: {
type: 'string'
userAssignedIdentity: 'string'
}
resourceId: 'string'
}
}
}
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.DeviceRegistry/namespaces
| Name |
Description |
Value |
| identity |
The managed service identities assigned to this resource. |
ManagedServiceIdentity |
| location |
The geo-location where the resource lives |
string (required) |
| name |
The resource name |
string
Constraints: Min length = 3 Max length = 64 Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required) |
| properties |
The resource-specific properties for this resource. |
NamespaceProperties |
| tags |
Resource tags |
Dictionary of tag names and values. See Tags in templates |
InboundCallerIdentity
| Name |
Description |
Value |
| type |
The identity type. |
'SystemAssigned' 'UserAssigned' (required) |
| userAssignedIdentity |
The resource ID of the user-assigned managed identity. Required when type is UserAssigned. |
string |
ManagedServiceIdentity
| Name |
Description |
Value |
| type |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
| userAssignedIdentities |
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. |
UserAssignedIdentities |
Management
ManagementEndpoint
| Name |
Description |
Value |
| address |
The endpoint address to connect to. |
string (required) |
| endpointType |
Type of connection used for management endpoint. |
string (required) |
| resourceId |
The messaging endpoint Azure resource Id. |
string (required) |
| scopeId |
The scope ID for the management endpoint. |
string (required) |
ManagementEndpoints
Messaging
MessagingEndpoint
| Name |
Description |
Value |
| address |
The endpoint address to connect to. |
string |
| endpointType |
Type of connection used for messaging endpoint. |
string |
| inboundCallerIdentity |
The identity the linked resource uses to call the ADR namespace. |
InboundCallerIdentity |
| provisioning |
The provisioning configuration for this messaging endpoint. |
MessagingEndpointProvisioning |
| resourceId |
The messaging endpoint Azure resource Id. |
string |
MessagingEndpointProvisioning
| Name |
Description |
Value |
| allocationWeight |
The allocation weight for this messaging endpoint. |
int |
| availability |
The availability status of the messaging endpoint. |
'Available' 'Disabled' |
MessagingEndpoints
NamespaceProperties
| Name |
Description |
Value |
| management |
Assigned and unassigned management endpoints. |
Management |
| messaging |
Assigned and unassigned messaging endpoints. |
Messaging |
| outboundIdentity |
The identity used for outbound calls from the ADR namespace. If not specified and the namespace has a system-assigned identity enabled, the system-assigned identity is used by default. |
OutboundIdentity |
| provisioning |
The provisioning endpoints associated with this namespace. |
NamespaceProvisioning |
NamespaceProvisioning
NamespaceProvisioningEndpoints
OutboundIdentity
| Name |
Description |
Value |
| type |
The identity type. |
'SystemAssigned' 'UserAssigned' (required) |
| userAssignedIdentity |
The resource ID of the user-assigned managed identity. Required when type is UserAssigned. |
string |
ProvisioningEndpoint
| Name |
Description |
Value |
| endpointType |
Type of provisioning resource. |
'Microsoft.Devices/provisioningServices' (required) |
| inboundCallerIdentity |
The identity the linked resource uses to call the ADR namespace. |
InboundCallerIdentity (required) |
| resourceId |
The provisioning endpoint Azure resource Id. |
string (required) |
UserAssignedIdentities
UserAssignedIdentity
ARM template resource definition
The namespaces resource type can be deployed with operations that target:
Usage Examples
To create a Microsoft.DeviceRegistry/namespaces resource, add the following JSON to your template.
{
"type": "Microsoft.DeviceRegistry/namespaces",
"apiVersion": "2026-11-01",
"name": "string",
"identity": {
"type": "string",
"userAssignedIdentities": {
"{customized property}": {
}
}
},
"location": "string",
"properties": {
"management": {
"endpoints": {
"{customized property}": {
"address": "string",
"endpointType": "string",
"resourceId": "string",
"scopeId": "string"
}
}
},
"messaging": {
"endpoints": {
"{customized property}": {
"address": "string",
"endpointType": "string",
"inboundCallerIdentity": {
"type": "string",
"userAssignedIdentity": "string"
},
"provisioning": {
"allocationWeight": "int",
"availability": "string"
},
"resourceId": "string"
}
}
},
"outboundIdentity": {
"type": "string",
"userAssignedIdentity": "string"
},
"provisioning": {
"endpoints": {
"{customized property}": {
"endpointType": "string",
"inboundCallerIdentity": {
"type": "string",
"userAssignedIdentity": "string"
},
"resourceId": "string"
}
}
}
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.DeviceRegistry/namespaces
| Name |
Description |
Value |
| apiVersion |
The api version |
'2026-11-01' |
| identity |
The managed service identities assigned to this resource. |
ManagedServiceIdentity |
| location |
The geo-location where the resource lives |
string (required) |
| name |
The resource name |
string
Constraints: Min length = 3 Max length = 64 Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required) |
| properties |
The resource-specific properties for this resource. |
NamespaceProperties |
| tags |
Resource tags |
Dictionary of tag names and values. See Tags in templates |
| type |
The resource type |
'Microsoft.DeviceRegistry/namespaces' |
InboundCallerIdentity
| Name |
Description |
Value |
| type |
The identity type. |
'SystemAssigned' 'UserAssigned' (required) |
| userAssignedIdentity |
The resource ID of the user-assigned managed identity. Required when type is UserAssigned. |
string |
ManagedServiceIdentity
| Name |
Description |
Value |
| type |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
| userAssignedIdentities |
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. |
UserAssignedIdentities |
Management
ManagementEndpoint
| Name |
Description |
Value |
| address |
The endpoint address to connect to. |
string (required) |
| endpointType |
Type of connection used for management endpoint. |
string (required) |
| resourceId |
The messaging endpoint Azure resource Id. |
string (required) |
| scopeId |
The scope ID for the management endpoint. |
string (required) |
ManagementEndpoints
Messaging
MessagingEndpoint
| Name |
Description |
Value |
| address |
The endpoint address to connect to. |
string |
| endpointType |
Type of connection used for messaging endpoint. |
string |
| inboundCallerIdentity |
The identity the linked resource uses to call the ADR namespace. |
InboundCallerIdentity |
| provisioning |
The provisioning configuration for this messaging endpoint. |
MessagingEndpointProvisioning |
| resourceId |
The messaging endpoint Azure resource Id. |
string |
MessagingEndpointProvisioning
| Name |
Description |
Value |
| allocationWeight |
The allocation weight for this messaging endpoint. |
int |
| availability |
The availability status of the messaging endpoint. |
'Available' 'Disabled' |
MessagingEndpoints
NamespaceProperties
| Name |
Description |
Value |
| management |
Assigned and unassigned management endpoints. |
Management |
| messaging |
Assigned and unassigned messaging endpoints. |
Messaging |
| outboundIdentity |
The identity used for outbound calls from the ADR namespace. If not specified and the namespace has a system-assigned identity enabled, the system-assigned identity is used by default. |
OutboundIdentity |
| provisioning |
The provisioning endpoints associated with this namespace. |
NamespaceProvisioning |
NamespaceProvisioning
NamespaceProvisioningEndpoints
OutboundIdentity
| Name |
Description |
Value |
| type |
The identity type. |
'SystemAssigned' 'UserAssigned' (required) |
| userAssignedIdentity |
The resource ID of the user-assigned managed identity. Required when type is UserAssigned. |
string |
ProvisioningEndpoint
| Name |
Description |
Value |
| endpointType |
Type of provisioning resource. |
'Microsoft.Devices/provisioningServices' (required) |
| inboundCallerIdentity |
The identity the linked resource uses to call the ADR namespace. |
InboundCallerIdentity (required) |
| resourceId |
The provisioning endpoint Azure resource Id. |
string (required) |
UserAssignedIdentities
UserAssignedIdentity
The namespaces resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
To create a Microsoft.DeviceRegistry/namespaces resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DeviceRegistry/namespaces@2026-11-01"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
management = {
endpoints = {
{customized property} = {
address = "string"
endpointType = "string"
resourceId = "string"
scopeId = "string"
}
}
}
messaging = {
endpoints = {
{customized property} = {
address = "string"
endpointType = "string"
inboundCallerIdentity = {
type = "string"
userAssignedIdentity = "string"
}
provisioning = {
allocationWeight = int
availability = "string"
}
resourceId = "string"
}
}
}
outboundIdentity = {
type = "string"
userAssignedIdentity = "string"
}
provisioning = {
endpoints = {
{customized property} = {
endpointType = "string"
inboundCallerIdentity = {
type = "string"
userAssignedIdentity = "string"
}
resourceId = "string"
}
}
}
}
}
}
Property Values
Microsoft.DeviceRegistry/namespaces
| Name |
Description |
Value |
| identity |
The managed service identities assigned to this resource. |
ManagedServiceIdentity |
| location |
The geo-location where the resource lives |
string (required) |
| name |
The resource name |
string
Constraints: Min length = 3 Max length = 64 Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required) |
| properties |
The resource-specific properties for this resource. |
NamespaceProperties |
| tags |
Resource tags |
Dictionary of tag names and values. |
| type |
The resource type |
"Microsoft.DeviceRegistry/namespaces@2026-11-01" |
InboundCallerIdentity
| Name |
Description |
Value |
| type |
The identity type. |
'SystemAssigned' 'UserAssigned' (required) |
| userAssignedIdentity |
The resource ID of the user-assigned managed identity. Required when type is UserAssigned. |
string |
ManagedServiceIdentity
| Name |
Description |
Value |
| type |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
| userAssignedIdentities |
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. |
UserAssignedIdentities |
Management
ManagementEndpoint
| Name |
Description |
Value |
| address |
The endpoint address to connect to. |
string (required) |
| endpointType |
Type of connection used for management endpoint. |
string (required) |
| resourceId |
The messaging endpoint Azure resource Id. |
string (required) |
| scopeId |
The scope ID for the management endpoint. |
string (required) |
ManagementEndpoints
Messaging
MessagingEndpoint
| Name |
Description |
Value |
| address |
The endpoint address to connect to. |
string |
| endpointType |
Type of connection used for messaging endpoint. |
string |
| inboundCallerIdentity |
The identity the linked resource uses to call the ADR namespace. |
InboundCallerIdentity |
| provisioning |
The provisioning configuration for this messaging endpoint. |
MessagingEndpointProvisioning |
| resourceId |
The messaging endpoint Azure resource Id. |
string |
MessagingEndpointProvisioning
| Name |
Description |
Value |
| allocationWeight |
The allocation weight for this messaging endpoint. |
int |
| availability |
The availability status of the messaging endpoint. |
'Available' 'Disabled' |
MessagingEndpoints
NamespaceProperties
| Name |
Description |
Value |
| management |
Assigned and unassigned management endpoints. |
Management |
| messaging |
Assigned and unassigned messaging endpoints. |
Messaging |
| outboundIdentity |
The identity used for outbound calls from the ADR namespace. If not specified and the namespace has a system-assigned identity enabled, the system-assigned identity is used by default. |
OutboundIdentity |
| provisioning |
The provisioning endpoints associated with this namespace. |
NamespaceProvisioning |
NamespaceProvisioning
NamespaceProvisioningEndpoints
OutboundIdentity
| Name |
Description |
Value |
| type |
The identity type. |
'SystemAssigned' 'UserAssigned' (required) |
| userAssignedIdentity |
The resource ID of the user-assigned managed identity. Required when type is UserAssigned. |
string |
ProvisioningEndpoint
| Name |
Description |
Value |
| endpointType |
Type of provisioning resource. |
'Microsoft.Devices/provisioningServices' (required) |
| inboundCallerIdentity |
The identity the linked resource uses to call the ADR namespace. |
InboundCallerIdentity (required) |
| resourceId |
The provisioning endpoint Azure resource Id. |
string (required) |
UserAssignedIdentities
UserAssignedIdentity