1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. directmail
  5. getDomains
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.directmail.getDomains

Explore with Pulumi AI

Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

This data source provides the Direct Mail Domains of the current Alibaba Cloud user.

NOTE: Available since v1.134.0.

Example Usage

Basic Usage

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

const config = new pulumi.Config();
const name = config.get("name") || "terraform-example.pop.com";
const _default = new alicloud.directmail.Domain("default", {domainName: name});
const ids = alicloud.directmail.getDomainsOutput({
    ids: [_default.id],
});
export const directMailDomainsId0 = ids.apply(ids => ids.domains?.[0]?.id);
Copy
import pulumi
import pulumi_alicloud as alicloud

config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "terraform-example.pop.com"
default = alicloud.directmail.Domain("default", domain_name=name)
ids = alicloud.directmail.get_domains_output(ids=[default.id])
pulumi.export("directMailDomainsId0", ids.domains[0].id)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/directmail"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example.pop.com"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := directmail.NewDomain(ctx, "default", &directmail.DomainArgs{
			DomainName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		ids := directmail.GetDomainsOutput(ctx, directmail.GetDomainsOutputArgs{
			Ids: pulumi.StringArray{
				_default.ID(),
			},
		}, nil)
		ctx.Export("directMailDomainsId0", ids.ApplyT(func(ids directmail.GetDomainsResult) (*string, error) {
			return &ids.Domains[0].Id, nil
		}).(pulumi.StringPtrOutput))
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "terraform-example.pop.com";
    var @default = new AliCloud.DirectMail.Domain("default", new()
    {
        DomainName = name,
    });

    var ids = AliCloud.DirectMail.GetDomains.Invoke(new()
    {
        Ids = new[]
        {
            @default.Id,
        },
    });

    return new Dictionary<string, object?>
    {
        ["directMailDomainsId0"] = ids.Apply(getDomainsResult => getDomainsResult.Domains[0]?.Id),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.directmail.Domain;
import com.pulumi.alicloud.directmail.DomainArgs;
import com.pulumi.alicloud.directmail.DirectmailFunctions;
import com.pulumi.alicloud.directmail.inputs.GetDomainsArgs;
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) {
        final var config = ctx.config();
        final var name = config.get("name").orElse("terraform-example.pop.com");
        var default_ = new Domain("default", DomainArgs.builder()
            .domainName(name)
            .build());

        final var ids = DirectmailFunctions.getDomains(GetDomainsArgs.builder()
            .ids(default_.id())
            .build());

        ctx.export("directMailDomainsId0", ids.applyValue(getDomainsResult -> getDomainsResult).applyValue(ids -> ids.applyValue(getDomainsResult -> getDomainsResult.domains()[0].id())));
    }
}
Copy
configuration:
  name:
    type: string
    default: terraform-example.pop.com
resources:
  default:
    type: alicloud:directmail:Domain
    properties:
      domainName: ${name}
variables:
  ids:
    fn::invoke:
      function: alicloud:directmail:getDomains
      arguments:
        ids:
          - ${default.id}
outputs:
  directMailDomainsId0: ${ids.domains[0].id}
Copy

Using getDomains

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDomains(args: GetDomainsArgs, opts?: InvokeOptions): Promise<GetDomainsResult>
function getDomainsOutput(args: GetDomainsOutputArgs, opts?: InvokeOptions): Output<GetDomainsResult>
Copy
def get_domains(enable_details: Optional[bool] = None,
                ids: Optional[Sequence[str]] = None,
                key_word: Optional[str] = None,
                name_regex: Optional[str] = None,
                output_file: Optional[str] = None,
                status: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetDomainsResult
def get_domains_output(enable_details: Optional[pulumi.Input[bool]] = None,
                ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                key_word: Optional[pulumi.Input[str]] = None,
                name_regex: Optional[pulumi.Input[str]] = None,
                output_file: Optional[pulumi.Input[str]] = None,
                status: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetDomainsResult]
Copy
func GetDomains(ctx *Context, args *GetDomainsArgs, opts ...InvokeOption) (*GetDomainsResult, error)
func GetDomainsOutput(ctx *Context, args *GetDomainsOutputArgs, opts ...InvokeOption) GetDomainsResultOutput
Copy

> Note: This function is named GetDomains in the Go SDK.

public static class GetDomains 
{
    public static Task<GetDomainsResult> InvokeAsync(GetDomainsArgs args, InvokeOptions? opts = null)
    public static Output<GetDomainsResult> Invoke(GetDomainsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDomainsResult> getDomains(GetDomainsArgs args, InvokeOptions options)
public static Output<GetDomainsResult> getDomains(GetDomainsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:directmail/getDomains:getDomains
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

EnableDetails bool
Whether to query the detailed list of resource attributes. Default value: false.
Ids Changes to this property will trigger replacement. List<string>
A list of Domain IDs.
KeyWord Changes to this property will trigger replacement. string
The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Domain name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. string
The status of the domain name. Valid values:
EnableDetails bool
Whether to query the detailed list of resource attributes. Default value: false.
Ids Changes to this property will trigger replacement. []string
A list of Domain IDs.
KeyWord Changes to this property will trigger replacement. string
The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Domain name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. string
The status of the domain name. Valid values:
enableDetails Boolean
Whether to query the detailed list of resource attributes. Default value: false.
ids Changes to this property will trigger replacement. List<String>
A list of Domain IDs.
keyWord Changes to this property will trigger replacement. String
The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by Domain name.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. String
The status of the domain name. Valid values:
enableDetails boolean
Whether to query the detailed list of resource attributes. Default value: false.
ids Changes to this property will trigger replacement. string[]
A list of Domain IDs.
keyWord Changes to this property will trigger replacement. string
The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
nameRegex Changes to this property will trigger replacement. string
A regex string to filter results by Domain name.
outputFile string
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. string
The status of the domain name. Valid values:
enable_details bool
Whether to query the detailed list of resource attributes. Default value: false.
ids Changes to this property will trigger replacement. Sequence[str]
A list of Domain IDs.
key_word Changes to this property will trigger replacement. str
The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
name_regex Changes to this property will trigger replacement. str
A regex string to filter results by Domain name.
output_file str
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. str
The status of the domain name. Valid values:
enableDetails Boolean
Whether to query the detailed list of resource attributes. Default value: false.
ids Changes to this property will trigger replacement. List<String>
A list of Domain IDs.
keyWord Changes to this property will trigger replacement. String
The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by Domain name.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. String
The status of the domain name. Valid values:

getDomains Result

The following output properties are available:

Domains List<Pulumi.AliCloud.DirectMail.Outputs.GetDomainsDomain>
A list of Domains. Each element contains the following attributes:
Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
Names List<string>
A list of Domain names.
EnableDetails bool
KeyWord string
NameRegex string
OutputFile string
Status string
The status of the domain name.
Domains []GetDomainsDomain
A list of Domains. Each element contains the following attributes:
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
Names []string
A list of Domain names.
EnableDetails bool
KeyWord string
NameRegex string
OutputFile string
Status string
The status of the domain name.
domains List<GetDomainsDomain>
A list of Domains. Each element contains the following attributes:
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
names List<String>
A list of Domain names.
enableDetails Boolean
keyWord String
nameRegex String
outputFile String
status String
The status of the domain name.
domains GetDomainsDomain[]
A list of Domains. Each element contains the following attributes:
id string
The provider-assigned unique ID for this managed resource.
ids string[]
names string[]
A list of Domain names.
enableDetails boolean
keyWord string
nameRegex string
outputFile string
status string
The status of the domain name.
domains Sequence[GetDomainsDomain]
A list of Domains. Each element contains the following attributes:
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
names Sequence[str]
A list of Domain names.
enable_details bool
key_word str
name_regex str
output_file str
status str
The status of the domain name.
domains List<Property Map>
A list of Domains. Each element contains the following attributes:
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
names List<String>
A list of Domain names.
enableDetails Boolean
keyWord String
nameRegex String
outputFile String
status String
The status of the domain name.

Supporting Types

GetDomainsDomain

CnameAuthStatus This property is required. string
Indicates whether your ownership of the domain is verified.
CnameConfirmStatus This property is required. string
Indicates whether the CNAME record is successfully verified. Note: cname_confirm_status takes effect only if enable_details is set to true.
CnameRecord This property is required. string
The value of the CNAME record. Note: cname_record takes effect only if enable_details is set to true.
CreateTime This property is required. string
The time when the DNS record was created.
DefaultDomain This property is required. string
The default domain name. Note: default_domain takes effect only if enable_details is set to true.
DkimAuthStatus This property is required. string
(Available since v1.227.1) The DKIM validation flag. Note: dkim_auth_status takes effect only if enable_details is set to true.
DkimPublicKey This property is required. string
(Available since v1.227.1) The DKIM public key. Note: dkim_public_key takes effect only if enable_details is set to true.
DkimRr This property is required. string
(Available since v1.227.1) The DKIM Host Record. Note: dkim_rr takes effect only if enable_details is set to true.
DmarcAuthStatus This property is required. string
(Available since v1.227.1) The DMARC validation flag. Note: dmarc_auth_status takes effect only if enable_details is set to true.
DmarcHostRecord This property is required. string
(Available since v1.227.1) The DMARC Host Record. Note: dmarc_host_record takes effect only if enable_details is set to true.
DmarcRecord This property is required. string
(Available since v1.227.1) The DMARC record. Note: dmarc_record takes effect only if enable_details is set to true.
DnsDmarc This property is required. string
(Available since v1.227.1) The DMARC record value resolved through public DNS. Note: dns_dmarc takes effect only if enable_details is set to true.
DnsMx This property is required. string
The MX record value resolved through public DNS. Note: dns_mx takes effect only if enable_details is set to true.
DnsSpf This property is required. string
The SPF record value resolved through public DNS. Note: dns_spf takes effect only if enable_details is set to true.
DnsTxt This property is required. string
The TXT record value resolved through public DNS. Note: dns_txt takes effect only if enable_details is set to true.
DomainId This property is required. string
The ID of the domain name.
DomainName This property is required. string
The domain name.
DomainRecord This property is required. string
(Available since v1.227.1) The value of the Domain record.
DomainType This property is required. string
The type of the domain. Note: domain_type takes effect only if enable_details is set to true.
HostRecord This property is required. string
(Available since v1.227.1) The value of the host record. Note: host_record takes effect only if enable_details is set to true.
IcpStatus This property is required. string
The status of ICP filing.
Id This property is required. string
The ID of the Domain.
MxAuthStatus This property is required. string
Indicates whether the MX record is successfully verified.
MxRecord This property is required. string
The MX verification record provided by the Direct Mail console. Note: mx_record takes effect only if enable_details is set to true.
SpfAuthStatus This property is required. string
Indicates whether the SPF record is successfully verified.
SpfRecord This property is required. string
The SPF verification record provided by the Direct Mail console. Note: spf_record takes effect only if enable_details is set to true.
Status This property is required. string
The status of the domain name. Valid values:
TlDomainName This property is required. string
The primary domain name. Note: tl_domain_name takes effect only if enable_details is set to true.
TracefRecord This property is required. string
The CNAME verification record provided by the Direct Mail console. Note: tracef_record takes effect only if enable_details is set to true.
CnameAuthStatus This property is required. string
Indicates whether your ownership of the domain is verified.
CnameConfirmStatus This property is required. string
Indicates whether the CNAME record is successfully verified. Note: cname_confirm_status takes effect only if enable_details is set to true.
CnameRecord This property is required. string
The value of the CNAME record. Note: cname_record takes effect only if enable_details is set to true.
CreateTime This property is required. string
The time when the DNS record was created.
DefaultDomain This property is required. string
The default domain name. Note: default_domain takes effect only if enable_details is set to true.
DkimAuthStatus This property is required. string
(Available since v1.227.1) The DKIM validation flag. Note: dkim_auth_status takes effect only if enable_details is set to true.
DkimPublicKey This property is required. string
(Available since v1.227.1) The DKIM public key. Note: dkim_public_key takes effect only if enable_details is set to true.
DkimRr This property is required. string
(Available since v1.227.1) The DKIM Host Record. Note: dkim_rr takes effect only if enable_details is set to true.
DmarcAuthStatus This property is required. string
(Available since v1.227.1) The DMARC validation flag. Note: dmarc_auth_status takes effect only if enable_details is set to true.
DmarcHostRecord This property is required. string
(Available since v1.227.1) The DMARC Host Record. Note: dmarc_host_record takes effect only if enable_details is set to true.
DmarcRecord This property is required. string
(Available since v1.227.1) The DMARC record. Note: dmarc_record takes effect only if enable_details is set to true.
DnsDmarc This property is required. string
(Available since v1.227.1) The DMARC record value resolved through public DNS. Note: dns_dmarc takes effect only if enable_details is set to true.
DnsMx This property is required. string
The MX record value resolved through public DNS. Note: dns_mx takes effect only if enable_details is set to true.
DnsSpf This property is required. string
The SPF record value resolved through public DNS. Note: dns_spf takes effect only if enable_details is set to true.
DnsTxt This property is required. string
The TXT record value resolved through public DNS. Note: dns_txt takes effect only if enable_details is set to true.
DomainId This property is required. string
The ID of the domain name.
DomainName This property is required. string
The domain name.
DomainRecord This property is required. string
(Available since v1.227.1) The value of the Domain record.
DomainType This property is required. string
The type of the domain. Note: domain_type takes effect only if enable_details is set to true.
HostRecord This property is required. string
(Available since v1.227.1) The value of the host record. Note: host_record takes effect only if enable_details is set to true.
IcpStatus This property is required. string
The status of ICP filing.
Id This property is required. string
The ID of the Domain.
MxAuthStatus This property is required. string
Indicates whether the MX record is successfully verified.
MxRecord This property is required. string
The MX verification record provided by the Direct Mail console. Note: mx_record takes effect only if enable_details is set to true.
SpfAuthStatus This property is required. string
Indicates whether the SPF record is successfully verified.
SpfRecord This property is required. string
The SPF verification record provided by the Direct Mail console. Note: spf_record takes effect only if enable_details is set to true.
Status This property is required. string
The status of the domain name. Valid values:
TlDomainName This property is required. string
The primary domain name. Note: tl_domain_name takes effect only if enable_details is set to true.
TracefRecord This property is required. string
The CNAME verification record provided by the Direct Mail console. Note: tracef_record takes effect only if enable_details is set to true.
cnameAuthStatus This property is required. String
Indicates whether your ownership of the domain is verified.
cnameConfirmStatus This property is required. String
Indicates whether the CNAME record is successfully verified. Note: cname_confirm_status takes effect only if enable_details is set to true.
cnameRecord This property is required. String
The value of the CNAME record. Note: cname_record takes effect only if enable_details is set to true.
createTime This property is required. String
The time when the DNS record was created.
defaultDomain This property is required. String
The default domain name. Note: default_domain takes effect only if enable_details is set to true.
dkimAuthStatus This property is required. String
(Available since v1.227.1) The DKIM validation flag. Note: dkim_auth_status takes effect only if enable_details is set to true.
dkimPublicKey This property is required. String
(Available since v1.227.1) The DKIM public key. Note: dkim_public_key takes effect only if enable_details is set to true.
dkimRr This property is required. String
(Available since v1.227.1) The DKIM Host Record. Note: dkim_rr takes effect only if enable_details is set to true.
dmarcAuthStatus This property is required. String
(Available since v1.227.1) The DMARC validation flag. Note: dmarc_auth_status takes effect only if enable_details is set to true.
dmarcHostRecord This property is required. String
(Available since v1.227.1) The DMARC Host Record. Note: dmarc_host_record takes effect only if enable_details is set to true.
dmarcRecord This property is required. String
(Available since v1.227.1) The DMARC record. Note: dmarc_record takes effect only if enable_details is set to true.
dnsDmarc This property is required. String
(Available since v1.227.1) The DMARC record value resolved through public DNS. Note: dns_dmarc takes effect only if enable_details is set to true.
dnsMx This property is required. String
The MX record value resolved through public DNS. Note: dns_mx takes effect only if enable_details is set to true.
dnsSpf This property is required. String
The SPF record value resolved through public DNS. Note: dns_spf takes effect only if enable_details is set to true.
dnsTxt This property is required. String
The TXT record value resolved through public DNS. Note: dns_txt takes effect only if enable_details is set to true.
domainId This property is required. String
The ID of the domain name.
domainName This property is required. String
The domain name.
domainRecord This property is required. String
(Available since v1.227.1) The value of the Domain record.
domainType This property is required. String
The type of the domain. Note: domain_type takes effect only if enable_details is set to true.
hostRecord This property is required. String
(Available since v1.227.1) The value of the host record. Note: host_record takes effect only if enable_details is set to true.
icpStatus This property is required. String
The status of ICP filing.
id This property is required. String
The ID of the Domain.
mxAuthStatus This property is required. String
Indicates whether the MX record is successfully verified.
mxRecord This property is required. String
The MX verification record provided by the Direct Mail console. Note: mx_record takes effect only if enable_details is set to true.
spfAuthStatus This property is required. String
Indicates whether the SPF record is successfully verified.
spfRecord This property is required. String
The SPF verification record provided by the Direct Mail console. Note: spf_record takes effect only if enable_details is set to true.
status This property is required. String
The status of the domain name. Valid values:
tlDomainName This property is required. String
The primary domain name. Note: tl_domain_name takes effect only if enable_details is set to true.
tracefRecord This property is required. String
The CNAME verification record provided by the Direct Mail console. Note: tracef_record takes effect only if enable_details is set to true.
cnameAuthStatus This property is required. string
Indicates whether your ownership of the domain is verified.
cnameConfirmStatus This property is required. string
Indicates whether the CNAME record is successfully verified. Note: cname_confirm_status takes effect only if enable_details is set to true.
cnameRecord This property is required. string
The value of the CNAME record. Note: cname_record takes effect only if enable_details is set to true.
createTime This property is required. string
The time when the DNS record was created.
defaultDomain This property is required. string
The default domain name. Note: default_domain takes effect only if enable_details is set to true.
dkimAuthStatus This property is required. string
(Available since v1.227.1) The DKIM validation flag. Note: dkim_auth_status takes effect only if enable_details is set to true.
dkimPublicKey This property is required. string
(Available since v1.227.1) The DKIM public key. Note: dkim_public_key takes effect only if enable_details is set to true.
dkimRr This property is required. string
(Available since v1.227.1) The DKIM Host Record. Note: dkim_rr takes effect only if enable_details is set to true.
dmarcAuthStatus This property is required. string
(Available since v1.227.1) The DMARC validation flag. Note: dmarc_auth_status takes effect only if enable_details is set to true.
dmarcHostRecord This property is required. string
(Available since v1.227.1) The DMARC Host Record. Note: dmarc_host_record takes effect only if enable_details is set to true.
dmarcRecord This property is required. string
(Available since v1.227.1) The DMARC record. Note: dmarc_record takes effect only if enable_details is set to true.
dnsDmarc This property is required. string
(Available since v1.227.1) The DMARC record value resolved through public DNS. Note: dns_dmarc takes effect only if enable_details is set to true.
dnsMx This property is required. string
The MX record value resolved through public DNS. Note: dns_mx takes effect only if enable_details is set to true.
dnsSpf This property is required. string
The SPF record value resolved through public DNS. Note: dns_spf takes effect only if enable_details is set to true.
dnsTxt This property is required. string
The TXT record value resolved through public DNS. Note: dns_txt takes effect only if enable_details is set to true.
domainId This property is required. string
The ID of the domain name.
domainName This property is required. string
The domain name.
domainRecord This property is required. string
(Available since v1.227.1) The value of the Domain record.
domainType This property is required. string
The type of the domain. Note: domain_type takes effect only if enable_details is set to true.
hostRecord This property is required. string
(Available since v1.227.1) The value of the host record. Note: host_record takes effect only if enable_details is set to true.
icpStatus This property is required. string
The status of ICP filing.
id This property is required. string
The ID of the Domain.
mxAuthStatus This property is required. string
Indicates whether the MX record is successfully verified.
mxRecord This property is required. string
The MX verification record provided by the Direct Mail console. Note: mx_record takes effect only if enable_details is set to true.
spfAuthStatus This property is required. string
Indicates whether the SPF record is successfully verified.
spfRecord This property is required. string
The SPF verification record provided by the Direct Mail console. Note: spf_record takes effect only if enable_details is set to true.
status This property is required. string
The status of the domain name. Valid values:
tlDomainName This property is required. string
The primary domain name. Note: tl_domain_name takes effect only if enable_details is set to true.
tracefRecord This property is required. string
The CNAME verification record provided by the Direct Mail console. Note: tracef_record takes effect only if enable_details is set to true.
cname_auth_status This property is required. str
Indicates whether your ownership of the domain is verified.
cname_confirm_status This property is required. str
Indicates whether the CNAME record is successfully verified. Note: cname_confirm_status takes effect only if enable_details is set to true.
cname_record This property is required. str
The value of the CNAME record. Note: cname_record takes effect only if enable_details is set to true.
create_time This property is required. str
The time when the DNS record was created.
default_domain This property is required. str
The default domain name. Note: default_domain takes effect only if enable_details is set to true.
dkim_auth_status This property is required. str
(Available since v1.227.1) The DKIM validation flag. Note: dkim_auth_status takes effect only if enable_details is set to true.
dkim_public_key This property is required. str
(Available since v1.227.1) The DKIM public key. Note: dkim_public_key takes effect only if enable_details is set to true.
dkim_rr This property is required. str
(Available since v1.227.1) The DKIM Host Record. Note: dkim_rr takes effect only if enable_details is set to true.
dmarc_auth_status This property is required. str
(Available since v1.227.1) The DMARC validation flag. Note: dmarc_auth_status takes effect only if enable_details is set to true.
dmarc_host_record This property is required. str
(Available since v1.227.1) The DMARC Host Record. Note: dmarc_host_record takes effect only if enable_details is set to true.
dmarc_record This property is required. str
(Available since v1.227.1) The DMARC record. Note: dmarc_record takes effect only if enable_details is set to true.
dns_dmarc This property is required. str
(Available since v1.227.1) The DMARC record value resolved through public DNS. Note: dns_dmarc takes effect only if enable_details is set to true.
dns_mx This property is required. str
The MX record value resolved through public DNS. Note: dns_mx takes effect only if enable_details is set to true.
dns_spf This property is required. str
The SPF record value resolved through public DNS. Note: dns_spf takes effect only if enable_details is set to true.
dns_txt This property is required. str
The TXT record value resolved through public DNS. Note: dns_txt takes effect only if enable_details is set to true.
domain_id This property is required. str
The ID of the domain name.
domain_name This property is required. str
The domain name.
domain_record This property is required. str
(Available since v1.227.1) The value of the Domain record.
domain_type This property is required. str
The type of the domain. Note: domain_type takes effect only if enable_details is set to true.
host_record This property is required. str
(Available since v1.227.1) The value of the host record. Note: host_record takes effect only if enable_details is set to true.
icp_status This property is required. str
The status of ICP filing.
id This property is required. str
The ID of the Domain.
mx_auth_status This property is required. str
Indicates whether the MX record is successfully verified.
mx_record This property is required. str
The MX verification record provided by the Direct Mail console. Note: mx_record takes effect only if enable_details is set to true.
spf_auth_status This property is required. str
Indicates whether the SPF record is successfully verified.
spf_record This property is required. str
The SPF verification record provided by the Direct Mail console. Note: spf_record takes effect only if enable_details is set to true.
status This property is required. str
The status of the domain name. Valid values:
tl_domain_name This property is required. str
The primary domain name. Note: tl_domain_name takes effect only if enable_details is set to true.
tracef_record This property is required. str
The CNAME verification record provided by the Direct Mail console. Note: tracef_record takes effect only if enable_details is set to true.
cnameAuthStatus This property is required. String
Indicates whether your ownership of the domain is verified.
cnameConfirmStatus This property is required. String
Indicates whether the CNAME record is successfully verified. Note: cname_confirm_status takes effect only if enable_details is set to true.
cnameRecord This property is required. String
The value of the CNAME record. Note: cname_record takes effect only if enable_details is set to true.
createTime This property is required. String
The time when the DNS record was created.
defaultDomain This property is required. String
The default domain name. Note: default_domain takes effect only if enable_details is set to true.
dkimAuthStatus This property is required. String
(Available since v1.227.1) The DKIM validation flag. Note: dkim_auth_status takes effect only if enable_details is set to true.
dkimPublicKey This property is required. String
(Available since v1.227.1) The DKIM public key. Note: dkim_public_key takes effect only if enable_details is set to true.
dkimRr This property is required. String
(Available since v1.227.1) The DKIM Host Record. Note: dkim_rr takes effect only if enable_details is set to true.
dmarcAuthStatus This property is required. String
(Available since v1.227.1) The DMARC validation flag. Note: dmarc_auth_status takes effect only if enable_details is set to true.
dmarcHostRecord This property is required. String
(Available since v1.227.1) The DMARC Host Record. Note: dmarc_host_record takes effect only if enable_details is set to true.
dmarcRecord This property is required. String
(Available since v1.227.1) The DMARC record. Note: dmarc_record takes effect only if enable_details is set to true.
dnsDmarc This property is required. String
(Available since v1.227.1) The DMARC record value resolved through public DNS. Note: dns_dmarc takes effect only if enable_details is set to true.
dnsMx This property is required. String
The MX record value resolved through public DNS. Note: dns_mx takes effect only if enable_details is set to true.
dnsSpf This property is required. String
The SPF record value resolved through public DNS. Note: dns_spf takes effect only if enable_details is set to true.
dnsTxt This property is required. String
The TXT record value resolved through public DNS. Note: dns_txt takes effect only if enable_details is set to true.
domainId This property is required. String
The ID of the domain name.
domainName This property is required. String
The domain name.
domainRecord This property is required. String
(Available since v1.227.1) The value of the Domain record.
domainType This property is required. String
The type of the domain. Note: domain_type takes effect only if enable_details is set to true.
hostRecord This property is required. String
(Available since v1.227.1) The value of the host record. Note: host_record takes effect only if enable_details is set to true.
icpStatus This property is required. String
The status of ICP filing.
id This property is required. String
The ID of the Domain.
mxAuthStatus This property is required. String
Indicates whether the MX record is successfully verified.
mxRecord This property is required. String
The MX verification record provided by the Direct Mail console. Note: mx_record takes effect only if enable_details is set to true.
spfAuthStatus This property is required. String
Indicates whether the SPF record is successfully verified.
spfRecord This property is required. String
The SPF verification record provided by the Direct Mail console. Note: spf_record takes effect only if enable_details is set to true.
status This property is required. String
The status of the domain name. Valid values:
tlDomainName This property is required. String
The primary domain name. Note: tl_domain_name takes effect only if enable_details is set to true.
tracefRecord This property is required. String
The CNAME verification record provided by the Direct Mail console. Note: tracef_record takes effect only if enable_details is set to true.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi