Microsoft.DeviceRegistry namespaces/certificateAuthorities/certificatePolicies

Bicep resource definition

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

resource symbolicname 'Microsoft.DeviceRegistry/namespaces/certificateAuthorities/certificatePolicies@2026-11-02-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    certificate: {
      validityPeriodInDays: int
    }
  }
}

Property Values

Microsoft.DeviceRegistry/namespaces/certificateAuthorities/certificatePolicies

Name Description Value
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/certificateAuthorities
properties The resource-specific properties for this resource. CertificatePolicyProperties

CertificatePolicyConfiguration

Name Description Value
validityPeriodInDays The validity period in days. int (required)

CertificatePolicyProperties

Name Description Value
certificate The certificate configuration. CertificatePolicyConfiguration

ARM template resource definition

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

Usage Examples

Resource format

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

{
  "type": "Microsoft.DeviceRegistry/namespaces/certificateAuthorities/certificatePolicies",
  "apiVersion": "2026-11-02-preview",
  "name": "string",
  "properties": {
    "certificate": {
      "validityPeriodInDays": "int"
    }
  }
}

Property Values

Microsoft.DeviceRegistry/namespaces/certificateAuthorities/certificatePolicies

Name Description Value
apiVersion The api version '2026-11-02-preview'
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. CertificatePolicyProperties
type The resource type 'Microsoft.DeviceRegistry/namespaces/certificateAuthorities/certificatePolicies'

CertificatePolicyConfiguration

Name Description Value
validityPeriodInDays The validity period in days. int (required)

CertificatePolicyProperties

Name Description Value
certificate The certificate configuration. CertificatePolicyConfiguration

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DeviceRegistry/namespaces/certificateAuthorities/certificatePolicies@2026-11-02-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      certificate = {
        validityPeriodInDays = int
      }
    }
  }
}

Property Values

Microsoft.DeviceRegistry/namespaces/certificateAuthorities/certificatePolicies

Name Description Value
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/certificateAuthorities
properties The resource-specific properties for this resource. CertificatePolicyProperties
type The resource type "Microsoft.DeviceRegistry/namespaces/certificateAuthorities/certificatePolicies@2026-11-02-preview"

CertificatePolicyConfiguration

Name Description Value
validityPeriodInDays The validity period in days. int (required)

CertificatePolicyProperties

Name Description Value
certificate The certificate configuration. CertificatePolicyConfiguration