Share via


Microsoft.Communication emailServices/domains/suppressionLists

Bicep resource definition

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

resource symbolicname 'Microsoft.Communication/emailServices/domains/suppressionLists@2025-09-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    listName: 'string'
  }
}

Property Values

Microsoft.Communication/emailServices/domains/suppressionLists

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 253
Pattern = ^[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: emailServices/domains
properties The properties of a SuppressionList resource. SuppressionListProperties

SuppressionListProperties

Name Description Value
listName The name of the suppression list. This value must match one of the valid sender usernames of the sending domain. string

ARM template resource definition

The emailServices/domains/suppressionLists 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.Communication/emailServices/domains/suppressionLists resource, add the following JSON to your template.

{
  "type": "Microsoft.Communication/emailServices/domains/suppressionLists",
  "apiVersion": "2025-09-01",
  "name": "string",
  "properties": {
    "listName": "string"
  }
}

Property Values

Microsoft.Communication/emailServices/domains/suppressionLists

Name Description Value
apiVersion The api version '2025-09-01'
name The resource name string

Constraints:
Min length = 1
Max length = 253
Pattern = ^[a-zA-Z0-9-]+$ (required)
properties The properties of a SuppressionList resource. SuppressionListProperties
type The resource type 'Microsoft.Communication/emailServices/domains/suppressionLists'

SuppressionListProperties

Name Description Value
listName The name of the suppression list. This value must match one of the valid sender usernames of the sending domain. string

Usage Examples

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Communication/emailServices/domains/suppressionLists@2025-09-01"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      listName = "string"
    }
  }
}

Property Values

Microsoft.Communication/emailServices/domains/suppressionLists

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 253
Pattern = ^[a-zA-Z0-9-]+$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: emailServices/domains
properties The properties of a SuppressionList resource. SuppressionListProperties
type The resource type "Microsoft.Communication/emailServices/domains/suppressionLists@2025-09-01"

SuppressionListProperties

Name Description Value
listName The name of the suppression list. This value must match one of the valid sender usernames of the sending domain. string