Microsoft.DeviceRegistry schemaRegistries

Bicep resource definition

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

resource symbolicname 'Microsoft.DeviceRegistry/schemaRegistries@2026-11-02-preview' = {
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    description: 'string'
    displayName: 'string'
    namespace: 'string'
    outboundIdentity: {
      type: 'string'
      userAssignedIdentity: 'string'
    }
    storageAccountContainerUrl: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.DeviceRegistry/schemaRegistries

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. SchemaRegistryProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

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

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

SchemaRegistryProperties

Name Description Value
description Human-readable description of the schema registry. string
displayName Human-readable display name. string
namespace Schema registry namespace. Uniquely identifies a schema registry within a tenant. string

Constraints:
Max length = 32
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
outboundIdentity The identity used for outbound calls from the ADR schema registry. If not specified and the schema registry has a system-assigned identity enabled, the system-assigned identity is used by default. OutboundIdentity
storageAccountContainerUrl The Storage Account's Container URL where schemas will be stored. string (required)

TrackedResourceTags

Name Description Value

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

ARM template resource definition

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

Usage Examples

Resource format

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

{
  "type": "Microsoft.DeviceRegistry/schemaRegistries",
  "apiVersion": "2026-11-02-preview",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "description": "string",
    "displayName": "string",
    "namespace": "string",
    "outboundIdentity": {
      "type": "string",
      "userAssignedIdentity": "string"
    },
    "storageAccountContainerUrl": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.DeviceRegistry/schemaRegistries

Name Description Value
apiVersion The api version '2026-11-02-preview'
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. SchemaRegistryProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.DeviceRegistry/schemaRegistries'

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

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

SchemaRegistryProperties

Name Description Value
description Human-readable description of the schema registry. string
displayName Human-readable display name. string
namespace Schema registry namespace. Uniquely identifies a schema registry within a tenant. string

Constraints:
Max length = 32
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
outboundIdentity The identity used for outbound calls from the ADR schema registry. If not specified and the schema registry has a system-assigned identity enabled, the system-assigned identity is used by default. OutboundIdentity
storageAccountContainerUrl The Storage Account's Container URL where schemas will be stored. string (required)

TrackedResourceTags

Name Description Value

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DeviceRegistry/schemaRegistries@2026-11-02-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      description = "string"
      displayName = "string"
      namespace = "string"
      outboundIdentity = {
        type = "string"
        userAssignedIdentity = "string"
      }
      storageAccountContainerUrl = "string"
    }
  }
}

Property Values

Microsoft.DeviceRegistry/schemaRegistries

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. SchemaRegistryProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.DeviceRegistry/schemaRegistries@2026-11-02-preview"

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

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

SchemaRegistryProperties

Name Description Value
description Human-readable description of the schema registry. string
displayName Human-readable display name. string
namespace Schema registry namespace. Uniquely identifies a schema registry within a tenant. string

Constraints:
Max length = 32
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
outboundIdentity The identity used for outbound calls from the ADR schema registry. If not specified and the schema registry has a system-assigned identity enabled, the system-assigned identity is used by default. OutboundIdentity
storageAccountContainerUrl The Storage Account's Container URL where schemas will be stored. string (required)

TrackedResourceTags

Name Description Value

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value