Microsoft.DeviceRegistry namespaces 2025-11-01-preview

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.

Resource format

To create a Microsoft.DeviceRegistry/namespaces resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.DeviceRegistry/namespaces@2025-11-01-preview' = {
  identity: {
    type: 'string'
  }
  location: 'string'
  name: 'string'
  properties: {
    messaging: {
      endpoints: {
        {customized property}: {
          address: 'string'
          endpointType: 'string'
          resourceId: 'string'
        }
      }
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.DeviceRegistry/namespaces

Name Description Value
identity The managed service identities assigned to this resource. SystemAssignedServiceIdentity
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

Messaging

Name Description Value
endpoints Dictionary of messaging endpoints. MessagingEndpoints

MessagingEndpoint

Name Description Value
address The endpoint address to connect to. string (required)
endpointType Type of connection used for messaging endpoint. string
resourceId The messaging endpoint Azure resource Id. string

MessagingEndpoints

Name Description Value

NamespaceProperties

Name Description Value
messaging Assigned and unassigned messaging endpoints. Messaging

SystemAssignedServiceIdentity

Name Description Value
type Type of managed service identity (either system assigned, or none). 'None'
'SystemAssigned' (required)

TrackedResourceTags

Name Description Value

ARM template resource definition

The namespaces resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.DeviceRegistry/namespaces resource, add the following JSON to your template.

{
  "type": "Microsoft.DeviceRegistry/namespaces",
  "apiVersion": "2025-11-01-preview",
  "name": "string",
  "identity": {
    "type": "string"
  },
  "location": "string",
  "properties": {
    "messaging": {
      "endpoints": {
        "{customized property}": {
          "address": "string",
          "endpointType": "string",
          "resourceId": "string"
        }
      }
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.DeviceRegistry/namespaces

Name Description Value
apiVersion The api version '2025-11-01-preview'
identity The managed service identities assigned to this resource. SystemAssignedServiceIdentity
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'

Messaging

Name Description Value
endpoints Dictionary of messaging endpoints. MessagingEndpoints

MessagingEndpoint

Name Description Value
address The endpoint address to connect to. string (required)
endpointType Type of connection used for messaging endpoint. string
resourceId The messaging endpoint Azure resource Id. string

MessagingEndpoints

Name Description Value

NamespaceProperties

Name Description Value
messaging Assigned and unassigned messaging endpoints. Messaging

SystemAssignedServiceIdentity

Name Description Value
type Type of managed service identity (either system assigned, or none). 'None'
'SystemAssigned' (required)

TrackedResourceTags

Name Description Value

Terraform (AzAPI provider) resource definition

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.

Resource format

To create a Microsoft.DeviceRegistry/namespaces resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DeviceRegistry/namespaces@2025-11-01-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      messaging = {
        endpoints = {
          {customized property} = {
            address = "string"
            endpointType = "string"
            resourceId = "string"
          }
        }
      }
    }
  }
}

Property Values

Microsoft.DeviceRegistry/namespaces

Name Description Value
identity The managed service identities assigned to this resource. SystemAssignedServiceIdentity
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@2025-11-01-preview"

Messaging

Name Description Value
endpoints Dictionary of messaging endpoints. MessagingEndpoints

MessagingEndpoint

Name Description Value
address The endpoint address to connect to. string (required)
endpointType Type of connection used for messaging endpoint. string
resourceId The messaging endpoint Azure resource Id. string

MessagingEndpoints

Name Description Value

NamespaceProperties

Name Description Value
messaging Assigned and unassigned messaging endpoints. Messaging

SystemAssignedServiceIdentity

Name Description Value
type Type of managed service identity (either system assigned, or none). 'None'
'SystemAssigned' (required)

TrackedResourceTags

Name Description Value