1. Packages
  2. Azure Classic
  3. API Docs
  4. communication
  5. EmailServiceDomain

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.communication.EmailServiceDomain

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Manages an Email Communication Service Domain.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleEmailService = new azure.communication.EmailService("example", {
        name: "example-emailcommunicationservice",
        resourceGroupName: example.name,
        dataLocation: "United States",
    });
    const exampleEmailServiceDomain = new azure.communication.EmailServiceDomain("example", {
        name: "AzureManagedDomain",
        emailServiceId: exampleEmailService.id,
        domainManagement: "AzureManaged",
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_email_service = azure.communication.EmailService("example",
        name="example-emailcommunicationservice",
        resource_group_name=example.name,
        data_location="United States")
    example_email_service_domain = azure.communication.EmailServiceDomain("example",
        name="AzureManagedDomain",
        email_service_id=example_email_service.id,
        domain_management="AzureManaged")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/communication"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleEmailService, err := communication.NewEmailService(ctx, "example", &communication.EmailServiceArgs{
    			Name:              pulumi.String("example-emailcommunicationservice"),
    			ResourceGroupName: example.Name,
    			DataLocation:      pulumi.String("United States"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = communication.NewEmailServiceDomain(ctx, "example", &communication.EmailServiceDomainArgs{
    			Name:             pulumi.String("AzureManagedDomain"),
    			EmailServiceId:   exampleEmailService.ID(),
    			DomainManagement: pulumi.String("AzureManaged"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleEmailService = new Azure.Communication.EmailService("example", new()
        {
            Name = "example-emailcommunicationservice",
            ResourceGroupName = example.Name,
            DataLocation = "United States",
        });
    
        var exampleEmailServiceDomain = new Azure.Communication.EmailServiceDomain("example", new()
        {
            Name = "AzureManagedDomain",
            EmailServiceId = exampleEmailService.Id,
            DomainManagement = "AzureManaged",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.communication.EmailService;
    import com.pulumi.azure.communication.EmailServiceArgs;
    import com.pulumi.azure.communication.EmailServiceDomain;
    import com.pulumi.azure.communication.EmailServiceDomainArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleEmailService = new EmailService("exampleEmailService", EmailServiceArgs.builder()
                .name("example-emailcommunicationservice")
                .resourceGroupName(example.name())
                .dataLocation("United States")
                .build());
    
            var exampleEmailServiceDomain = new EmailServiceDomain("exampleEmailServiceDomain", EmailServiceDomainArgs.builder()
                .name("AzureManagedDomain")
                .emailServiceId(exampleEmailService.id())
                .domainManagement("AzureManaged")
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleEmailService:
        type: azure:communication:EmailService
        name: example
        properties:
          name: example-emailcommunicationservice
          resourceGroupName: ${example.name}
          dataLocation: United States
      exampleEmailServiceDomain:
        type: azure:communication:EmailServiceDomain
        name: example
        properties:
          name: AzureManagedDomain
          emailServiceId: ${exampleEmailService.id}
          domainManagement: AzureManaged
    

    Create EmailServiceDomain Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EmailServiceDomain(name: string, args: EmailServiceDomainArgs, opts?: CustomResourceOptions);
    @overload
    def EmailServiceDomain(resource_name: str,
                           args: EmailServiceDomainArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def EmailServiceDomain(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           domain_management: Optional[str] = None,
                           email_service_id: Optional[str] = None,
                           name: Optional[str] = None,
                           tags: Optional[Mapping[str, str]] = None,
                           user_engagement_tracking_enabled: Optional[bool] = None)
    func NewEmailServiceDomain(ctx *Context, name string, args EmailServiceDomainArgs, opts ...ResourceOption) (*EmailServiceDomain, error)
    public EmailServiceDomain(string name, EmailServiceDomainArgs args, CustomResourceOptions? opts = null)
    public EmailServiceDomain(String name, EmailServiceDomainArgs args)
    public EmailServiceDomain(String name, EmailServiceDomainArgs args, CustomResourceOptions options)
    
    type: azure:communication:EmailServiceDomain
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EmailServiceDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EmailServiceDomainArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EmailServiceDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EmailServiceDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EmailServiceDomainArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var emailServiceDomainResource = new Azure.Communication.EmailServiceDomain("emailServiceDomainResource", new()
    {
        DomainManagement = "string",
        EmailServiceId = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
        UserEngagementTrackingEnabled = false,
    });
    
    example, err := communication.NewEmailServiceDomain(ctx, "emailServiceDomainResource", &communication.EmailServiceDomainArgs{
    	DomainManagement: pulumi.String("string"),
    	EmailServiceId:   pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	UserEngagementTrackingEnabled: pulumi.Bool(false),
    })
    
    var emailServiceDomainResource = new EmailServiceDomain("emailServiceDomainResource", EmailServiceDomainArgs.builder()
        .domainManagement("string")
        .emailServiceId("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .userEngagementTrackingEnabled(false)
        .build());
    
    email_service_domain_resource = azure.communication.EmailServiceDomain("emailServiceDomainResource",
        domain_management="string",
        email_service_id="string",
        name="string",
        tags={
            "string": "string",
        },
        user_engagement_tracking_enabled=False)
    
    const emailServiceDomainResource = new azure.communication.EmailServiceDomain("emailServiceDomainResource", {
        domainManagement: "string",
        emailServiceId: "string",
        name: "string",
        tags: {
            string: "string",
        },
        userEngagementTrackingEnabled: false,
    });
    
    type: azure:communication:EmailServiceDomain
    properties:
        domainManagement: string
        emailServiceId: string
        name: string
        tags:
            string: string
        userEngagementTrackingEnabled: false
    

    EmailServiceDomain Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EmailServiceDomain resource accepts the following input properties:

    DomainManagement string
    Describes how a Domains resource is being managed. Possible values are AzureManaged, CustomerManaged, CustomerManagedInExchangeOnline. Changing this forces a new Email Communication Service to be created.
    EmailServiceId string
    The resource ID of the Email Communication Service where the Domain belongs to. Changing this forces a new Email Communication Service to be created.
    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Email Communication Service.
    UserEngagementTrackingEnabled bool
    Describes user engagement tracking is enabled or disabled. Defaults to false.
    DomainManagement string
    Describes how a Domains resource is being managed. Possible values are AzureManaged, CustomerManaged, CustomerManagedInExchangeOnline. Changing this forces a new Email Communication Service to be created.
    EmailServiceId string
    The resource ID of the Email Communication Service where the Domain belongs to. Changing this forces a new Email Communication Service to be created.
    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Email Communication Service.
    UserEngagementTrackingEnabled bool
    Describes user engagement tracking is enabled or disabled. Defaults to false.
    domainManagement String
    Describes how a Domains resource is being managed. Possible values are AzureManaged, CustomerManaged, CustomerManagedInExchangeOnline. Changing this forces a new Email Communication Service to be created.
    emailServiceId String
    The resource ID of the Email Communication Service where the Domain belongs to. Changing this forces a new Email Communication Service to be created.
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Email Communication Service.
    userEngagementTrackingEnabled Boolean
    Describes user engagement tracking is enabled or disabled. Defaults to false.
    domainManagement string
    Describes how a Domains resource is being managed. Possible values are AzureManaged, CustomerManaged, CustomerManagedInExchangeOnline. Changing this forces a new Email Communication Service to be created.
    emailServiceId string
    The resource ID of the Email Communication Service where the Domain belongs to. Changing this forces a new Email Communication Service to be created.
    name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Email Communication Service.
    userEngagementTrackingEnabled boolean
    Describes user engagement tracking is enabled or disabled. Defaults to false.
    domain_management str
    Describes how a Domains resource is being managed. Possible values are AzureManaged, CustomerManaged, CustomerManagedInExchangeOnline. Changing this forces a new Email Communication Service to be created.
    email_service_id str
    The resource ID of the Email Communication Service where the Domain belongs to. Changing this forces a new Email Communication Service to be created.
    name str
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Email Communication Service.
    user_engagement_tracking_enabled bool
    Describes user engagement tracking is enabled or disabled. Defaults to false.
    domainManagement String
    Describes how a Domains resource is being managed. Possible values are AzureManaged, CustomerManaged, CustomerManagedInExchangeOnline. Changing this forces a new Email Communication Service to be created.
    emailServiceId String
    The resource ID of the Email Communication Service where the Domain belongs to. Changing this forces a new Email Communication Service to be created.
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Email Communication Service.
    userEngagementTrackingEnabled Boolean
    Describes user engagement tracking is enabled or disabled. Defaults to false.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EmailServiceDomain resource produces the following output properties:

    FromSenderDomain string
    P2 sender domain that is displayed to the email recipients [RFC 5322].
    Id string
    The provider-assigned unique ID for this managed resource.
    MailFromSenderDomain string
    P1 sender domain that is present on the email envelope [RFC 5321].
    VerificationRecords List<EmailServiceDomainVerificationRecord>
    (Optional) An verification_records block as defined below.
    FromSenderDomain string
    P2 sender domain that is displayed to the email recipients [RFC 5322].
    Id string
    The provider-assigned unique ID for this managed resource.
    MailFromSenderDomain string
    P1 sender domain that is present on the email envelope [RFC 5321].
    VerificationRecords []EmailServiceDomainVerificationRecord
    (Optional) An verification_records block as defined below.
    fromSenderDomain String
    P2 sender domain that is displayed to the email recipients [RFC 5322].
    id String
    The provider-assigned unique ID for this managed resource.
    mailFromSenderDomain String
    P1 sender domain that is present on the email envelope [RFC 5321].
    verificationRecords List<EmailServiceDomainVerificationRecord>
    (Optional) An verification_records block as defined below.
    fromSenderDomain string
    P2 sender domain that is displayed to the email recipients [RFC 5322].
    id string
    The provider-assigned unique ID for this managed resource.
    mailFromSenderDomain string
    P1 sender domain that is present on the email envelope [RFC 5321].
    verificationRecords EmailServiceDomainVerificationRecord[]
    (Optional) An verification_records block as defined below.
    from_sender_domain str
    P2 sender domain that is displayed to the email recipients [RFC 5322].
    id str
    The provider-assigned unique ID for this managed resource.
    mail_from_sender_domain str
    P1 sender domain that is present on the email envelope [RFC 5321].
    verification_records Sequence[EmailServiceDomainVerificationRecord]
    (Optional) An verification_records block as defined below.
    fromSenderDomain String
    P2 sender domain that is displayed to the email recipients [RFC 5322].
    id String
    The provider-assigned unique ID for this managed resource.
    mailFromSenderDomain String
    P1 sender domain that is present on the email envelope [RFC 5321].
    verificationRecords List<Property Map>
    (Optional) An verification_records block as defined below.

    Look up Existing EmailServiceDomain Resource

    Get an existing EmailServiceDomain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EmailServiceDomainState, opts?: CustomResourceOptions): EmailServiceDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            domain_management: Optional[str] = None,
            email_service_id: Optional[str] = None,
            from_sender_domain: Optional[str] = None,
            mail_from_sender_domain: Optional[str] = None,
            name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            user_engagement_tracking_enabled: Optional[bool] = None,
            verification_records: Optional[Sequence[EmailServiceDomainVerificationRecordArgs]] = None) -> EmailServiceDomain
    func GetEmailServiceDomain(ctx *Context, name string, id IDInput, state *EmailServiceDomainState, opts ...ResourceOption) (*EmailServiceDomain, error)
    public static EmailServiceDomain Get(string name, Input<string> id, EmailServiceDomainState? state, CustomResourceOptions? opts = null)
    public static EmailServiceDomain get(String name, Output<String> id, EmailServiceDomainState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DomainManagement string
    Describes how a Domains resource is being managed. Possible values are AzureManaged, CustomerManaged, CustomerManagedInExchangeOnline. Changing this forces a new Email Communication Service to be created.
    EmailServiceId string
    The resource ID of the Email Communication Service where the Domain belongs to. Changing this forces a new Email Communication Service to be created.
    FromSenderDomain string
    P2 sender domain that is displayed to the email recipients [RFC 5322].
    MailFromSenderDomain string
    P1 sender domain that is present on the email envelope [RFC 5321].
    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Email Communication Service.
    UserEngagementTrackingEnabled bool
    Describes user engagement tracking is enabled or disabled. Defaults to false.
    VerificationRecords List<EmailServiceDomainVerificationRecord>
    (Optional) An verification_records block as defined below.
    DomainManagement string
    Describes how a Domains resource is being managed. Possible values are AzureManaged, CustomerManaged, CustomerManagedInExchangeOnline. Changing this forces a new Email Communication Service to be created.
    EmailServiceId string
    The resource ID of the Email Communication Service where the Domain belongs to. Changing this forces a new Email Communication Service to be created.
    FromSenderDomain string
    P2 sender domain that is displayed to the email recipients [RFC 5322].
    MailFromSenderDomain string
    P1 sender domain that is present on the email envelope [RFC 5321].
    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Email Communication Service.
    UserEngagementTrackingEnabled bool
    Describes user engagement tracking is enabled or disabled. Defaults to false.
    VerificationRecords []EmailServiceDomainVerificationRecordArgs
    (Optional) An verification_records block as defined below.
    domainManagement String
    Describes how a Domains resource is being managed. Possible values are AzureManaged, CustomerManaged, CustomerManagedInExchangeOnline. Changing this forces a new Email Communication Service to be created.
    emailServiceId String
    The resource ID of the Email Communication Service where the Domain belongs to. Changing this forces a new Email Communication Service to be created.
    fromSenderDomain String
    P2 sender domain that is displayed to the email recipients [RFC 5322].
    mailFromSenderDomain String
    P1 sender domain that is present on the email envelope [RFC 5321].
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Email Communication Service.
    userEngagementTrackingEnabled Boolean
    Describes user engagement tracking is enabled or disabled. Defaults to false.
    verificationRecords List<EmailServiceDomainVerificationRecord>
    (Optional) An verification_records block as defined below.
    domainManagement string
    Describes how a Domains resource is being managed. Possible values are AzureManaged, CustomerManaged, CustomerManagedInExchangeOnline. Changing this forces a new Email Communication Service to be created.
    emailServiceId string
    The resource ID of the Email Communication Service where the Domain belongs to. Changing this forces a new Email Communication Service to be created.
    fromSenderDomain string
    P2 sender domain that is displayed to the email recipients [RFC 5322].
    mailFromSenderDomain string
    P1 sender domain that is present on the email envelope [RFC 5321].
    name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Email Communication Service.
    userEngagementTrackingEnabled boolean
    Describes user engagement tracking is enabled or disabled. Defaults to false.
    verificationRecords EmailServiceDomainVerificationRecord[]
    (Optional) An verification_records block as defined below.
    domain_management str
    Describes how a Domains resource is being managed. Possible values are AzureManaged, CustomerManaged, CustomerManagedInExchangeOnline. Changing this forces a new Email Communication Service to be created.
    email_service_id str
    The resource ID of the Email Communication Service where the Domain belongs to. Changing this forces a new Email Communication Service to be created.
    from_sender_domain str
    P2 sender domain that is displayed to the email recipients [RFC 5322].
    mail_from_sender_domain str
    P1 sender domain that is present on the email envelope [RFC 5321].
    name str
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Email Communication Service.
    user_engagement_tracking_enabled bool
    Describes user engagement tracking is enabled or disabled. Defaults to false.
    verification_records Sequence[EmailServiceDomainVerificationRecordArgs]
    (Optional) An verification_records block as defined below.
    domainManagement String
    Describes how a Domains resource is being managed. Possible values are AzureManaged, CustomerManaged, CustomerManagedInExchangeOnline. Changing this forces a new Email Communication Service to be created.
    emailServiceId String
    The resource ID of the Email Communication Service where the Domain belongs to. Changing this forces a new Email Communication Service to be created.
    fromSenderDomain String
    P2 sender domain that is displayed to the email recipients [RFC 5322].
    mailFromSenderDomain String
    P1 sender domain that is present on the email envelope [RFC 5321].
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Email Communication Service.
    userEngagementTrackingEnabled Boolean
    Describes user engagement tracking is enabled or disabled. Defaults to false.
    verificationRecords List<Property Map>
    (Optional) An verification_records block as defined below.

    Supporting Types

    EmailServiceDomainVerificationRecord, EmailServiceDomainVerificationRecordArgs

    Dkim2s List<EmailServiceDomainVerificationRecordDkim2>
    (Optional) An dkim2 block as defined below.
    Dkims List<EmailServiceDomainVerificationRecordDkim>
    (Optional) An dkim block as defined below.
    Dmarcs List<EmailServiceDomainVerificationRecordDmarc>
    (Optional) An dmarc block as defined below.
    Domains List<EmailServiceDomainVerificationRecordDomain>
    (Optional) An domain block as defined below.
    Spfs List<EmailServiceDomainVerificationRecordSpf>
    (Optional) An spf block as defined below.
    Dkim2s []EmailServiceDomainVerificationRecordDkim2
    (Optional) An dkim2 block as defined below.
    Dkims []EmailServiceDomainVerificationRecordDkim
    (Optional) An dkim block as defined below.
    Dmarcs []EmailServiceDomainVerificationRecordDmarc
    (Optional) An dmarc block as defined below.
    Domains []EmailServiceDomainVerificationRecordDomain
    (Optional) An domain block as defined below.
    Spfs []EmailServiceDomainVerificationRecordSpf
    (Optional) An spf block as defined below.
    dkim2s List<EmailServiceDomainVerificationRecordDkim2>
    (Optional) An dkim2 block as defined below.
    dkims List<EmailServiceDomainVerificationRecordDkim>
    (Optional) An dkim block as defined below.
    dmarcs List<EmailServiceDomainVerificationRecordDmarc>
    (Optional) An dmarc block as defined below.
    domains List<EmailServiceDomainVerificationRecordDomain>
    (Optional) An domain block as defined below.
    spfs List<EmailServiceDomainVerificationRecordSpf>
    (Optional) An spf block as defined below.
    dkim2s EmailServiceDomainVerificationRecordDkim2[]
    (Optional) An dkim2 block as defined below.
    dkims EmailServiceDomainVerificationRecordDkim[]
    (Optional) An dkim block as defined below.
    dmarcs EmailServiceDomainVerificationRecordDmarc[]
    (Optional) An dmarc block as defined below.
    domains EmailServiceDomainVerificationRecordDomain[]
    (Optional) An domain block as defined below.
    spfs EmailServiceDomainVerificationRecordSpf[]
    (Optional) An spf block as defined below.
    dkim2s Sequence[EmailServiceDomainVerificationRecordDkim2]
    (Optional) An dkim2 block as defined below.
    dkims Sequence[EmailServiceDomainVerificationRecordDkim]
    (Optional) An dkim block as defined below.
    dmarcs Sequence[EmailServiceDomainVerificationRecordDmarc]
    (Optional) An dmarc block as defined below.
    domains Sequence[EmailServiceDomainVerificationRecordDomain]
    (Optional) An domain block as defined below.
    spfs Sequence[EmailServiceDomainVerificationRecordSpf]
    (Optional) An spf block as defined below.
    dkim2s List<Property Map>
    (Optional) An dkim2 block as defined below.
    dkims List<Property Map>
    (Optional) An dkim block as defined below.
    dmarcs List<Property Map>
    (Optional) An dmarc block as defined below.
    domains List<Property Map>
    (Optional) An domain block as defined below.
    spfs List<Property Map>
    (Optional) An spf block as defined below.

    EmailServiceDomainVerificationRecordDkim, EmailServiceDomainVerificationRecordDkimArgs

    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    Type string
    Type of the DNS record. Example: TXT
    Value string
    Value of the DNS record.
    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    Type string
    Type of the DNS record. Example: TXT
    Value string
    Value of the DNS record.
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl Integer
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type String
    Type of the DNS record. Example: TXT
    value String
    Value of the DNS record.
    name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl number
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type string
    Type of the DNS record. Example: TXT
    value string
    Value of the DNS record.
    name str
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type str
    Type of the DNS record. Example: TXT
    value str
    Value of the DNS record.
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl Number
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type String
    Type of the DNS record. Example: TXT
    value String
    Value of the DNS record.

    EmailServiceDomainVerificationRecordDkim2, EmailServiceDomainVerificationRecordDkim2Args

    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    Type string
    Type of the DNS record. Example: TXT
    Value string
    Value of the DNS record.
    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    Type string
    Type of the DNS record. Example: TXT
    Value string
    Value of the DNS record.
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl Integer
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type String
    Type of the DNS record. Example: TXT
    value String
    Value of the DNS record.
    name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl number
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type string
    Type of the DNS record. Example: TXT
    value string
    Value of the DNS record.
    name str
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type str
    Type of the DNS record. Example: TXT
    value str
    Value of the DNS record.
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl Number
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type String
    Type of the DNS record. Example: TXT
    value String
    Value of the DNS record.

    EmailServiceDomainVerificationRecordDmarc, EmailServiceDomainVerificationRecordDmarcArgs

    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    Type string
    Type of the DNS record. Example: TXT
    Value string
    Value of the DNS record.
    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    Type string
    Type of the DNS record. Example: TXT
    Value string
    Value of the DNS record.
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl Integer
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type String
    Type of the DNS record. Example: TXT
    value String
    Value of the DNS record.
    name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl number
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type string
    Type of the DNS record. Example: TXT
    value string
    Value of the DNS record.
    name str
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type str
    Type of the DNS record. Example: TXT
    value str
    Value of the DNS record.
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl Number
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type String
    Type of the DNS record. Example: TXT
    value String
    Value of the DNS record.

    EmailServiceDomainVerificationRecordDomain, EmailServiceDomainVerificationRecordDomainArgs

    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    Type string
    Type of the DNS record. Example: TXT
    Value string
    Value of the DNS record.
    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    Type string
    Type of the DNS record. Example: TXT
    Value string
    Value of the DNS record.
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl Integer
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type String
    Type of the DNS record. Example: TXT
    value String
    Value of the DNS record.
    name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl number
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type string
    Type of the DNS record. Example: TXT
    value string
    Value of the DNS record.
    name str
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type str
    Type of the DNS record. Example: TXT
    value str
    Value of the DNS record.
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl Number
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type String
    Type of the DNS record. Example: TXT
    value String
    Value of the DNS record.

    EmailServiceDomainVerificationRecordSpf, EmailServiceDomainVerificationRecordSpfArgs

    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    Type string
    Type of the DNS record. Example: TXT
    Value string
    Value of the DNS record.
    Name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    Ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    Type string
    Type of the DNS record. Example: TXT
    Value string
    Value of the DNS record.
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl Integer
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type String
    Type of the DNS record. Example: TXT
    value String
    Value of the DNS record.
    name string
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl number
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type string
    Type of the DNS record. Example: TXT
    value string
    Value of the DNS record.
    name str
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl int
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type str
    Type of the DNS record. Example: TXT
    value str
    Value of the DNS record.
    name String
    The name of the Email Communication Service resource. If domain_management is AzureManaged, the name must be AzureManagedDomain. Changing this forces a new Email Communication Service to be created.
    ttl Number
    Represents an expiry time in seconds to represent how long this entry can be cached by the resolver, default = 3600sec.
    type String
    Type of the DNS record. Example: TXT
    value String
    Value of the DNS record.

    Import

    Communication Services can be imported using the resource id, e.g.

    $ pulumi import azure:communication/emailServiceDomain:EmailServiceDomain example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Communication/emailServices/emailCommunicationService1/domains/domain1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi