Share via


Microsoft.Communication emailServices 2023-04-01-preview

Bicep resource definition

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

resource symbolicname 'Microsoft.Communication/emailServices@2023-04-01-preview' = {
  location: 'string'
  name: 'string'
  properties: {
    dataLocation: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.Communication/emailServices

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

Constraints:
Min length = 1
Max length = 63
Pattern = ^[a-zA-Z0-9-]+$ (required)
properties The properties of the service. EmailServiceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

EmailServiceProperties

Name Description Value
dataLocation The location where the email service stores its data at rest. string (required)

TrackedResourceTags

Name Description Value

Usage Examples

Azure Verified Modules

The following Azure Verified Modules can be used to deploy this resource type.

Module Description
Email Communication Service AVM Resource Module for Email Communication Service

ARM template resource definition

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

{
  "type": "Microsoft.Communication/emailServices",
  "apiVersion": "2023-04-01-preview",
  "name": "string",
  "location": "string",
  "properties": {
    "dataLocation": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.Communication/emailServices

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

Constraints:
Min length = 1
Max length = 63
Pattern = ^[a-zA-Z0-9-]+$ (required)
properties The properties of the service. EmailServiceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Communication/emailServices'

EmailServiceProperties

Name Description Value
dataLocation The location where the email service stores its data at rest. string (required)

TrackedResourceTags

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Communication/emailServices@2023-04-01-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      dataLocation = "string"
    }
  }
}

Property Values

Microsoft.Communication/emailServices

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

Constraints:
Min length = 1
Max length = 63
Pattern = ^[a-zA-Z0-9-]+$ (required)
properties The properties of the service. EmailServiceProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Communication/emailServices@2023-04-01-preview"

EmailServiceProperties

Name Description Value
dataLocation The location where the email service stores its data at rest. string (required)

TrackedResourceTags

Name Description Value