1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. EmailRoutingDns
Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi

cloudflare.EmailRoutingDns

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const exampleEmailRoutingDns = new cloudflare.EmailRoutingDns("example_email_routing_dns", {
    zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
    name: "example.net",
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_email_routing_dns = cloudflare.EmailRoutingDns("example_email_routing_dns",
    zone_id="023e105f4ecef8ad9ca31a8372d0c353",
    name="example.net")
Copy
package main

import (
	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudflare.NewEmailRoutingDns(ctx, "example_email_routing_dns", &cloudflare.EmailRoutingDnsArgs{
			ZoneId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
			Name:   pulumi.String("example.net"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

return await Deployment.RunAsync(() => 
{
    var exampleEmailRoutingDns = new Cloudflare.EmailRoutingDns("example_email_routing_dns", new()
    {
        ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
        Name = "example.net",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.EmailRoutingDns;
import com.pulumi.cloudflare.EmailRoutingDnsArgs;
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 exampleEmailRoutingDns = new EmailRoutingDns("exampleEmailRoutingDns", EmailRoutingDnsArgs.builder()
            .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
            .name("example.net")
            .build());

    }
}
Copy
resources:
  exampleEmailRoutingDns:
    type: cloudflare:EmailRoutingDns
    name: example_email_routing_dns
    properties:
      zoneId: 023e105f4ecef8ad9ca31a8372d0c353
      name: example.net
Copy

Create EmailRoutingDns Resource

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

Constructor syntax

new EmailRoutingDns(name: string, args: EmailRoutingDnsArgs, opts?: CustomResourceOptions);
@overload
def EmailRoutingDns(resource_name: str,
                    args: EmailRoutingDnsArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def EmailRoutingDns(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    name: Optional[str] = None,
                    zone_id: Optional[str] = None)
func NewEmailRoutingDns(ctx *Context, name string, args EmailRoutingDnsArgs, opts ...ResourceOption) (*EmailRoutingDns, error)
public EmailRoutingDns(string name, EmailRoutingDnsArgs args, CustomResourceOptions? opts = null)
public EmailRoutingDns(String name, EmailRoutingDnsArgs args)
public EmailRoutingDns(String name, EmailRoutingDnsArgs args, CustomResourceOptions options)
type: cloudflare:EmailRoutingDns
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. EmailRoutingDnsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. EmailRoutingDnsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. EmailRoutingDnsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. EmailRoutingDnsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. EmailRoutingDnsArgs
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 emailRoutingDnsResource = new Cloudflare.EmailRoutingDns("emailRoutingDnsResource", new()
{
    Name = "string",
    ZoneId = "string",
});
Copy
example, err := cloudflare.NewEmailRoutingDns(ctx, "emailRoutingDnsResource", &cloudflare.EmailRoutingDnsArgs{
	Name:   pulumi.String("string"),
	ZoneId: pulumi.String("string"),
})
Copy
var emailRoutingDnsResource = new EmailRoutingDns("emailRoutingDnsResource", EmailRoutingDnsArgs.builder()
    .name("string")
    .zoneId("string")
    .build());
Copy
email_routing_dns_resource = cloudflare.EmailRoutingDns("emailRoutingDnsResource",
    name="string",
    zone_id="string")
Copy
const emailRoutingDnsResource = new cloudflare.EmailRoutingDns("emailRoutingDnsResource", {
    name: "string",
    zoneId: "string",
});
Copy
type: cloudflare:EmailRoutingDns
properties:
    name: string
    zoneId: string
Copy

EmailRoutingDns 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 EmailRoutingDns resource accepts the following input properties:

Name This property is required. string
Domain of your zone.
ZoneId This property is required. string
Identifier
Name This property is required. string
Domain of your zone.
ZoneId This property is required. string
Identifier
name This property is required. String
Domain of your zone.
zoneId This property is required. String
Identifier
name This property is required. string
Domain of your zone.
zoneId This property is required. string
Identifier
name This property is required. str
Domain of your zone.
zone_id This property is required. str
Identifier
name This property is required. String
Domain of your zone.
zoneId This property is required. String
Identifier

Outputs

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

Created string
The date and time the settings have been created.
Enabled bool
State of the zone settings for Email Routing.
Errors List<EmailRoutingDnsError>
Id string
The provider-assigned unique ID for this managed resource.
Messages List<EmailRoutingDnsMessage>
Modified string
The date and time the settings have been modified.
Result EmailRoutingDnsResult
ResultInfo EmailRoutingDnsResultInfo
SkipWizard bool
Flag to check if the user skipped the configuration wizard.
Status string
Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
Success bool
Whether the API call was successful
Tag string
Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
Created string
The date and time the settings have been created.
Enabled bool
State of the zone settings for Email Routing.
Errors []EmailRoutingDnsError
Id string
The provider-assigned unique ID for this managed resource.
Messages []EmailRoutingDnsMessage
Modified string
The date and time the settings have been modified.
Result EmailRoutingDnsResult
ResultInfo EmailRoutingDnsResultInfo
SkipWizard bool
Flag to check if the user skipped the configuration wizard.
Status string
Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
Success bool
Whether the API call was successful
Tag string
Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
created String
The date and time the settings have been created.
enabled Boolean
State of the zone settings for Email Routing.
errors List<EmailRoutingDnsError>
id String
The provider-assigned unique ID for this managed resource.
messages List<EmailRoutingDnsMessage>
modified String
The date and time the settings have been modified.
result EmailRoutingDnsResult
resultInfo EmailRoutingDnsResultInfo
skipWizard Boolean
Flag to check if the user skipped the configuration wizard.
status String
Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
success Boolean
Whether the API call was successful
tag String
Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
created string
The date and time the settings have been created.
enabled boolean
State of the zone settings for Email Routing.
errors EmailRoutingDnsError[]
id string
The provider-assigned unique ID for this managed resource.
messages EmailRoutingDnsMessage[]
modified string
The date and time the settings have been modified.
result EmailRoutingDnsResult
resultInfo EmailRoutingDnsResultInfo
skipWizard boolean
Flag to check if the user skipped the configuration wizard.
status string
Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
success boolean
Whether the API call was successful
tag string
Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
created str
The date and time the settings have been created.
enabled bool
State of the zone settings for Email Routing.
errors Sequence[EmailRoutingDnsError]
id str
The provider-assigned unique ID for this managed resource.
messages Sequence[EmailRoutingDnsMessage]
modified str
The date and time the settings have been modified.
result EmailRoutingDnsResult
result_info EmailRoutingDnsResultInfo
skip_wizard bool
Flag to check if the user skipped the configuration wizard.
status str
Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
success bool
Whether the API call was successful
tag str
Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
created String
The date and time the settings have been created.
enabled Boolean
State of the zone settings for Email Routing.
errors List<Property Map>
id String
The provider-assigned unique ID for this managed resource.
messages List<Property Map>
modified String
The date and time the settings have been modified.
result Property Map
resultInfo Property Map
skipWizard Boolean
Flag to check if the user skipped the configuration wizard.
status String
Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
success Boolean
Whether the API call was successful
tag String
Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)

Look up Existing EmailRoutingDns Resource

Get an existing EmailRoutingDns 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?: EmailRoutingDnsState, opts?: CustomResourceOptions): EmailRoutingDns
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created: Optional[str] = None,
        enabled: Optional[bool] = None,
        errors: Optional[Sequence[EmailRoutingDnsErrorArgs]] = None,
        messages: Optional[Sequence[EmailRoutingDnsMessageArgs]] = None,
        modified: Optional[str] = None,
        name: Optional[str] = None,
        result: Optional[EmailRoutingDnsResultArgs] = None,
        result_info: Optional[EmailRoutingDnsResultInfoArgs] = None,
        skip_wizard: Optional[bool] = None,
        status: Optional[str] = None,
        success: Optional[bool] = None,
        tag: Optional[str] = None,
        zone_id: Optional[str] = None) -> EmailRoutingDns
func GetEmailRoutingDns(ctx *Context, name string, id IDInput, state *EmailRoutingDnsState, opts ...ResourceOption) (*EmailRoutingDns, error)
public static EmailRoutingDns Get(string name, Input<string> id, EmailRoutingDnsState? state, CustomResourceOptions? opts = null)
public static EmailRoutingDns get(String name, Output<String> id, EmailRoutingDnsState state, CustomResourceOptions options)
resources:  _:    type: cloudflare:EmailRoutingDns    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Created string
The date and time the settings have been created.
Enabled bool
State of the zone settings for Email Routing.
Errors List<EmailRoutingDnsError>
Messages List<EmailRoutingDnsMessage>
Modified string
The date and time the settings have been modified.
Name string
Domain of your zone.
Result EmailRoutingDnsResult
ResultInfo EmailRoutingDnsResultInfo
SkipWizard bool
Flag to check if the user skipped the configuration wizard.
Status string
Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
Success bool
Whether the API call was successful
Tag string
Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
ZoneId string
Identifier
Created string
The date and time the settings have been created.
Enabled bool
State of the zone settings for Email Routing.
Errors []EmailRoutingDnsErrorArgs
Messages []EmailRoutingDnsMessageArgs
Modified string
The date and time the settings have been modified.
Name string
Domain of your zone.
Result EmailRoutingDnsResultArgs
ResultInfo EmailRoutingDnsResultInfoArgs
SkipWizard bool
Flag to check if the user skipped the configuration wizard.
Status string
Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
Success bool
Whether the API call was successful
Tag string
Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
ZoneId string
Identifier
created String
The date and time the settings have been created.
enabled Boolean
State of the zone settings for Email Routing.
errors List<EmailRoutingDnsError>
messages List<EmailRoutingDnsMessage>
modified String
The date and time the settings have been modified.
name String
Domain of your zone.
result EmailRoutingDnsResult
resultInfo EmailRoutingDnsResultInfo
skipWizard Boolean
Flag to check if the user skipped the configuration wizard.
status String
Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
success Boolean
Whether the API call was successful
tag String
Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
zoneId String
Identifier
created string
The date and time the settings have been created.
enabled boolean
State of the zone settings for Email Routing.
errors EmailRoutingDnsError[]
messages EmailRoutingDnsMessage[]
modified string
The date and time the settings have been modified.
name string
Domain of your zone.
result EmailRoutingDnsResult
resultInfo EmailRoutingDnsResultInfo
skipWizard boolean
Flag to check if the user skipped the configuration wizard.
status string
Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
success boolean
Whether the API call was successful
tag string
Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
zoneId string
Identifier
created str
The date and time the settings have been created.
enabled bool
State of the zone settings for Email Routing.
errors Sequence[EmailRoutingDnsErrorArgs]
messages Sequence[EmailRoutingDnsMessageArgs]
modified str
The date and time the settings have been modified.
name str
Domain of your zone.
result EmailRoutingDnsResultArgs
result_info EmailRoutingDnsResultInfoArgs
skip_wizard bool
Flag to check if the user skipped the configuration wizard.
status str
Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
success bool
Whether the API call was successful
tag str
Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
zone_id str
Identifier
created String
The date and time the settings have been created.
enabled Boolean
State of the zone settings for Email Routing.
errors List<Property Map>
messages List<Property Map>
modified String
The date and time the settings have been modified.
name String
Domain of your zone.
result Property Map
resultInfo Property Map
skipWizard Boolean
Flag to check if the user skipped the configuration wizard.
status String
Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
success Boolean
Whether the API call was successful
tag String
Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
zoneId String
Identifier

Supporting Types

EmailRoutingDnsError
, EmailRoutingDnsErrorArgs

Code int
Message string
Code int
Message string
code Integer
message String
code number
message string
code int
message str
code Number
message String

EmailRoutingDnsMessage
, EmailRoutingDnsMessageArgs

Code int
Message string
Code int
Message string
code Integer
message String
code number
message string
code int
message str
code Number
message String

EmailRoutingDnsResult
, EmailRoutingDnsResultArgs

Content string
DNS record content.
Errors List<EmailRoutingDnsResultError>
Name string
DNS record name (or @ for the zone apex).
Priority double
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
Records List<EmailRoutingDnsResultRecord>
Ttl double
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
Type string
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
Content string
DNS record content.
Errors []EmailRoutingDnsResultError
Name string
DNS record name (or @ for the zone apex).
Priority float64
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
Records []EmailRoutingDnsResultRecord
Ttl float64
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
Type string
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
content String
DNS record content.
errors List<EmailRoutingDnsResultError>
name String
DNS record name (or @ for the zone apex).
priority Double
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
records List<EmailRoutingDnsResultRecord>
ttl Double
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
type String
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
content string
DNS record content.
errors EmailRoutingDnsResultError[]
name string
DNS record name (or @ for the zone apex).
priority number
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
records EmailRoutingDnsResultRecord[]
ttl number
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
type string
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
content str
DNS record content.
errors Sequence[EmailRoutingDnsResultError]
name str
DNS record name (or @ for the zone apex).
priority float
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
records Sequence[EmailRoutingDnsResultRecord]
ttl float
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
type str
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
content String
DNS record content.
errors List<Property Map>
name String
DNS record name (or @ for the zone apex).
priority Number
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
records List<Property Map>
ttl Number
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
type String
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".

EmailRoutingDnsResultError
, EmailRoutingDnsResultErrorArgs

Code string
Missing EmailRoutingDnsResultErrorMissing
List of records needed to enable an Email Routing zone.
Code string
Missing EmailRoutingDnsResultErrorMissing
List of records needed to enable an Email Routing zone.
code String
missing EmailRoutingDnsResultErrorMissing
List of records needed to enable an Email Routing zone.
code string
missing EmailRoutingDnsResultErrorMissing
List of records needed to enable an Email Routing zone.
code str
missing EmailRoutingDnsResultErrorMissing
List of records needed to enable an Email Routing zone.
code String
missing Property Map
List of records needed to enable an Email Routing zone.

EmailRoutingDnsResultErrorMissing
, EmailRoutingDnsResultErrorMissingArgs

Content string
DNS record content.
Name string
DNS record name (or @ for the zone apex).
Priority double
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
Ttl double
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
Type string
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
Content string
DNS record content.
Name string
DNS record name (or @ for the zone apex).
Priority float64
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
Ttl float64
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
Type string
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
content String
DNS record content.
name String
DNS record name (or @ for the zone apex).
priority Double
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
ttl Double
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
type String
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
content string
DNS record content.
name string
DNS record name (or @ for the zone apex).
priority number
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
ttl number
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
type string
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
content str
DNS record content.
name str
DNS record name (or @ for the zone apex).
priority float
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
ttl float
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
type str
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
content String
DNS record content.
name String
DNS record name (or @ for the zone apex).
priority Number
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
ttl Number
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
type String
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".

EmailRoutingDnsResultInfo
, EmailRoutingDnsResultInfoArgs

Count double
Total number of results for the requested service
Page double
Current page within paginated list of results
PerPage double
Number of results per page of results
TotalCount double
Total results available without any search parameters
Count float64
Total number of results for the requested service
Page float64
Current page within paginated list of results
PerPage float64
Number of results per page of results
TotalCount float64
Total results available without any search parameters
count Double
Total number of results for the requested service
page Double
Current page within paginated list of results
perPage Double
Number of results per page of results
totalCount Double
Total results available without any search parameters
count number
Total number of results for the requested service
page number
Current page within paginated list of results
perPage number
Number of results per page of results
totalCount number
Total results available without any search parameters
count float
Total number of results for the requested service
page float
Current page within paginated list of results
per_page float
Number of results per page of results
total_count float
Total results available without any search parameters
count Number
Total number of results for the requested service
page Number
Current page within paginated list of results
perPage Number
Number of results per page of results
totalCount Number
Total results available without any search parameters

EmailRoutingDnsResultRecord
, EmailRoutingDnsResultRecordArgs

Content string
DNS record content.
Name string
DNS record name (or @ for the zone apex).
Priority double
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
Ttl double
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
Type string
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
Content string
DNS record content.
Name string
DNS record name (or @ for the zone apex).
Priority float64
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
Ttl float64
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
Type string
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
content String
DNS record content.
name String
DNS record name (or @ for the zone apex).
priority Double
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
ttl Double
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
type String
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
content string
DNS record content.
name string
DNS record name (or @ for the zone apex).
priority number
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
ttl number
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
type string
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
content str
DNS record content.
name str
DNS record name (or @ for the zone apex).
priority float
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
ttl float
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
type str
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".
content String
DNS record content.
name String
DNS record name (or @ for the zone apex).
priority Number
Required for MX, SRV and URI records. Unused by other record types. Records with lower priorities are preferred.
ttl Number
Time to live, in seconds, of the DNS record. Must be between 60 and 86400, or 1 for 'automatic'.
type String
DNS record type. Available values: "A", "AAAA", "CNAME", "HTTPS", "TXT", "SRV", "LOC", "MX", "NS", "CERT", "DNSKEY", "DS", "NAPTR", "SMIMEA", "SSHFP", "SVCB", "TLSA", "URI".

Import

$ pulumi import cloudflare:index/emailRoutingDns:EmailRoutingDns example '<zone_id>'
Copy

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

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.