Microsoft.DeviceRegistry namespaces/registryDevices 2026-11-01

Bicep resource definition

The namespaces/registryDevices 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/registryDevices resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.DeviceRegistry/namespaces/registryDevices@2026-11-01' = {
  parent: resourceSymbolicName
  location: 'string'
  name: 'string'
  properties: {
    enablementState: 'string'
    externalDeviceId: 'string'
    hardwareRevision: 'string'
    manufacturer: 'string'
    model: 'string'
    softwareRevision: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.DeviceRegistry/namespaces/registryDevices

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 63
Pattern = ^[0-9a-zA-Z][a-zA-Z0-9-]*$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: namespaces
properties The resource-specific properties for this resource. RegistryDeviceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

RegistryDeviceProperties

Name Description Value
enablementState Whether the device is enabled or disabled. A disabled device cannot send messages, be updated, or reprovision. 'Disabled'
'Enabled' (required)
externalDeviceId A Device ID provided by the customer. string
hardwareRevision Device hardware revision. string
manufacturer Device manufacturer. string
model Device model. string
softwareRevision Device software revision. string

TrackedResourceTags

Name Description Value

ARM template resource definition

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

Usage Examples

Resource format

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

{
  "type": "Microsoft.DeviceRegistry/namespaces/registryDevices",
  "apiVersion": "2026-11-01",
  "name": "string",
  "location": "string",
  "properties": {
    "enablementState": "string",
    "externalDeviceId": "string",
    "hardwareRevision": "string",
    "manufacturer": "string",
    "model": "string",
    "softwareRevision": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.DeviceRegistry/namespaces/registryDevices

Name Description Value
apiVersion The api version '2026-11-01'
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 63
Pattern = ^[0-9a-zA-Z][a-zA-Z0-9-]*$ (required)
properties The resource-specific properties for this resource. RegistryDeviceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.DeviceRegistry/namespaces/registryDevices'

RegistryDeviceProperties

Name Description Value
enablementState Whether the device is enabled or disabled. A disabled device cannot send messages, be updated, or reprovision. 'Disabled'
'Enabled' (required)
externalDeviceId A Device ID provided by the customer. string
hardwareRevision Device hardware revision. string
manufacturer Device manufacturer. string
model Device model. string
softwareRevision Device software revision. string

TrackedResourceTags

Name Description Value

Terraform (AzAPI provider) resource definition

The namespaces/registryDevices 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/registryDevices resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DeviceRegistry/namespaces/registryDevices@2026-11-01"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      enablementState = "string"
      externalDeviceId = "string"
      hardwareRevision = "string"
      manufacturer = "string"
      model = "string"
      softwareRevision = "string"
    }
  }
}

Property Values

Microsoft.DeviceRegistry/namespaces/registryDevices

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 63
Pattern = ^[0-9a-zA-Z][a-zA-Z0-9-]*$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: namespaces
properties The resource-specific properties for this resource. RegistryDeviceProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.DeviceRegistry/namespaces/registryDevices@2026-11-01"

RegistryDeviceProperties

Name Description Value
enablementState Whether the device is enabled or disabled. A disabled device cannot send messages, be updated, or reprovision. 'Disabled'
'Enabled' (required)
externalDeviceId A Device ID provided by the customer. string
hardwareRevision Device hardware revision. string
manufacturer Device manufacturer. string
model Device model. string
softwareRevision Device software revision. string

TrackedResourceTags

Name Description Value