1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. directmail
  5. getDomains
Alibaba Cloud v3.59.1 published on Thursday, Jul 25, 2024 by Pulumi

alicloud.directmail.getDomains

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.59.1 published on Thursday, Jul 25, 2024 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);
    
    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)
    
    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
    		}
    		_, 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
    	})
    }
    
    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),
        };
    });
    
    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())));
        }
    }
    
    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}
    

    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>
    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]
    func GetDomains(ctx *Context, args *GetDomainsArgs, opts ...InvokeOption) (*GetDomainsResult, error)
    func GetDomainsOutput(ctx *Context, args *GetDomainsOutputArgs, opts ...InvokeOption) GetDomainsResultOutput

    > 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)
    }
    public static CompletableFuture<GetDomainsResult> getDomains(GetDomainsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:directmail/getDomains:getDomains
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EnableDetails bool
    Whether to query the detailed list of resource attributes. Default value: false.
    Ids List<string>
    A list of Domain IDs.
    KeyWord string
    The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
    NameRegex 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 string
    The status of the domain name. Valid values:
    EnableDetails bool
    Whether to query the detailed list of resource attributes. Default value: false.
    Ids []string
    A list of Domain IDs.
    KeyWord string
    The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
    NameRegex 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 string
    The status of the domain name. Valid values:
    enableDetails Boolean
    Whether to query the detailed list of resource attributes. Default value: false.
    ids List<String>
    A list of Domain IDs.
    keyWord String
    The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
    nameRegex 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 String
    The status of the domain name. Valid values:
    enableDetails boolean
    Whether to query the detailed list of resource attributes. Default value: false.
    ids string[]
    A list of Domain IDs.
    keyWord string
    The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
    nameRegex 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 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 Sequence[str]
    A list of Domain IDs.
    key_word str
    The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
    name_regex 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 str
    The status of the domain name. Valid values:
    enableDetails Boolean
    Whether to query the detailed list of resource attributes. Default value: false.
    ids List<String>
    A list of Domain IDs.
    keyWord String
    The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
    nameRegex 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 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 string
    Indicates whether your ownership of the domain is verified.
    CnameConfirmStatus string
    Indicates whether the CNAME record is successfully verified. Note: cname_confirm_status takes effect only if enable_details is set to true.
    CnameRecord string
    The value of the CNAME record. Note: cname_record takes effect only if enable_details is set to true.
    CreateTime string
    The time when the DNS record was created.
    DefaultDomain string
    The default domain name. Note: default_domain takes effect only if enable_details is set to true.
    DkimAuthStatus 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 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 string
    (Available since v1.227.1) The DKIM Host Record. Note: dkim_rr takes effect only if enable_details is set to true.
    DmarcAuthStatus 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 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 string
    (Available since v1.227.1) The DMARC record. Note: dmarc_record takes effect only if enable_details is set to true.
    DnsDmarc 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 string
    The MX record value resolved through public DNS. Note: dns_mx takes effect only if enable_details is set to true.
    DnsSpf string
    The SPF record value resolved through public DNS. Note: dns_spf takes effect only if enable_details is set to true.
    DnsTxt string
    The TXT record value resolved through public DNS. Note: dns_txt takes effect only if enable_details is set to true.
    DomainId string
    The ID of the domain name.
    DomainName string
    The domain name.
    DomainRecord string
    (Available since v1.227.1) The value of the Domain record.
    DomainType string
    The type of the domain. Note: domain_type takes effect only if enable_details is set to true.
    HostRecord 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 string
    The status of ICP filing.
    Id string
    The ID of the Domain.
    MxAuthStatus string
    Indicates whether the MX record is successfully verified.
    MxRecord 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 string
    Indicates whether the SPF record is successfully verified.
    SpfRecord 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 string
    The status of the domain name. Valid values:
    TlDomainName string
    The primary domain name. Note: tl_domain_name takes effect only if enable_details is set to true.
    TracefRecord 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 string
    Indicates whether your ownership of the domain is verified.
    CnameConfirmStatus string
    Indicates whether the CNAME record is successfully verified. Note: cname_confirm_status takes effect only if enable_details is set to true.
    CnameRecord string
    The value of the CNAME record. Note: cname_record takes effect only if enable_details is set to true.
    CreateTime string
    The time when the DNS record was created.
    DefaultDomain string
    The default domain name. Note: default_domain takes effect only if enable_details is set to true.
    DkimAuthStatus 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 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 string
    (Available since v1.227.1) The DKIM Host Record. Note: dkim_rr takes effect only if enable_details is set to true.
    DmarcAuthStatus 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 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 string
    (Available since v1.227.1) The DMARC record. Note: dmarc_record takes effect only if enable_details is set to true.
    DnsDmarc 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 string
    The MX record value resolved through public DNS. Note: dns_mx takes effect only if enable_details is set to true.
    DnsSpf string
    The SPF record value resolved through public DNS. Note: dns_spf takes effect only if enable_details is set to true.
    DnsTxt string
    The TXT record value resolved through public DNS. Note: dns_txt takes effect only if enable_details is set to true.
    DomainId string
    The ID of the domain name.
    DomainName string
    The domain name.
    DomainRecord string
    (Available since v1.227.1) The value of the Domain record.
    DomainType string
    The type of the domain. Note: domain_type takes effect only if enable_details is set to true.
    HostRecord 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 string
    The status of ICP filing.
    Id string
    The ID of the Domain.
    MxAuthStatus string
    Indicates whether the MX record is successfully verified.
    MxRecord 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 string
    Indicates whether the SPF record is successfully verified.
    SpfRecord 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 string
    The status of the domain name. Valid values:
    TlDomainName string
    The primary domain name. Note: tl_domain_name takes effect only if enable_details is set to true.
    TracefRecord 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 String
    Indicates whether your ownership of the domain is verified.
    cnameConfirmStatus String
    Indicates whether the CNAME record is successfully verified. Note: cname_confirm_status takes effect only if enable_details is set to true.
    cnameRecord String
    The value of the CNAME record. Note: cname_record takes effect only if enable_details is set to true.
    createTime String
    The time when the DNS record was created.
    defaultDomain String
    The default domain name. Note: default_domain takes effect only if enable_details is set to true.
    dkimAuthStatus 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 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 String
    (Available since v1.227.1) The DKIM Host Record. Note: dkim_rr takes effect only if enable_details is set to true.
    dmarcAuthStatus 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 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 String
    (Available since v1.227.1) The DMARC record. Note: dmarc_record takes effect only if enable_details is set to true.
    dnsDmarc 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 String
    The MX record value resolved through public DNS. Note: dns_mx takes effect only if enable_details is set to true.
    dnsSpf String
    The SPF record value resolved through public DNS. Note: dns_spf takes effect only if enable_details is set to true.
    dnsTxt String
    The TXT record value resolved through public DNS. Note: dns_txt takes effect only if enable_details is set to true.
    domainId String
    The ID of the domain name.
    domainName String
    The domain name.
    domainRecord String
    (Available since v1.227.1) The value of the Domain record.
    domainType String
    The type of the domain. Note: domain_type takes effect only if enable_details is set to true.
    hostRecord 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 String
    The status of ICP filing.
    id String
    The ID of the Domain.
    mxAuthStatus String
    Indicates whether the MX record is successfully verified.
    mxRecord 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 String
    Indicates whether the SPF record is successfully verified.
    spfRecord 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 String
    The status of the domain name. Valid values:
    tlDomainName String
    The primary domain name. Note: tl_domain_name takes effect only if enable_details is set to true.
    tracefRecord 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 string
    Indicates whether your ownership of the domain is verified.
    cnameConfirmStatus string
    Indicates whether the CNAME record is successfully verified. Note: cname_confirm_status takes effect only if enable_details is set to true.
    cnameRecord string
    The value of the CNAME record. Note: cname_record takes effect only if enable_details is set to true.
    createTime string
    The time when the DNS record was created.
    defaultDomain string
    The default domain name. Note: default_domain takes effect only if enable_details is set to true.
    dkimAuthStatus 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 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 string
    (Available since v1.227.1) The DKIM Host Record. Note: dkim_rr takes effect only if enable_details is set to true.
    dmarcAuthStatus 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 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 string
    (Available since v1.227.1) The DMARC record. Note: dmarc_record takes effect only if enable_details is set to true.
    dnsDmarc 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 string
    The MX record value resolved through public DNS. Note: dns_mx takes effect only if enable_details is set to true.
    dnsSpf string
    The SPF record value resolved through public DNS. Note: dns_spf takes effect only if enable_details is set to true.
    dnsTxt string
    The TXT record value resolved through public DNS. Note: dns_txt takes effect only if enable_details is set to true.
    domainId string
    The ID of the domain name.
    domainName string
    The domain name.
    domainRecord string
    (Available since v1.227.1) The value of the Domain record.
    domainType string
    The type of the domain. Note: domain_type takes effect only if enable_details is set to true.
    hostRecord 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 string
    The status of ICP filing.
    id string
    The ID of the Domain.
    mxAuthStatus string
    Indicates whether the MX record is successfully verified.
    mxRecord 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 string
    Indicates whether the SPF record is successfully verified.
    spfRecord 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 string
    The status of the domain name. Valid values:
    tlDomainName string
    The primary domain name. Note: tl_domain_name takes effect only if enable_details is set to true.
    tracefRecord 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 str
    Indicates whether your ownership of the domain is verified.
    cname_confirm_status 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 str
    The value of the CNAME record. Note: cname_record takes effect only if enable_details is set to true.
    create_time str
    The time when the DNS record was created.
    default_domain str
    The default domain name. Note: default_domain takes effect only if enable_details is set to true.
    dkim_auth_status 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 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 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 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 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 str
    (Available since v1.227.1) The DMARC record. Note: dmarc_record takes effect only if enable_details is set to true.
    dns_dmarc 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 str
    The MX record value resolved through public DNS. Note: dns_mx takes effect only if enable_details is set to true.
    dns_spf str
    The SPF record value resolved through public DNS. Note: dns_spf takes effect only if enable_details is set to true.
    dns_txt str
    The TXT record value resolved through public DNS. Note: dns_txt takes effect only if enable_details is set to true.
    domain_id str
    The ID of the domain name.
    domain_name str
    The domain name.
    domain_record str
    (Available since v1.227.1) The value of the Domain record.
    domain_type str
    The type of the domain. Note: domain_type takes effect only if enable_details is set to true.
    host_record 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 str
    The status of ICP filing.
    id str
    The ID of the Domain.
    mx_auth_status str
    Indicates whether the MX record is successfully verified.
    mx_record 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 str
    Indicates whether the SPF record is successfully verified.
    spf_record 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 str
    The status of the domain name. Valid values:
    tl_domain_name str
    The primary domain name. Note: tl_domain_name takes effect only if enable_details is set to true.
    tracef_record 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 String
    Indicates whether your ownership of the domain is verified.
    cnameConfirmStatus String
    Indicates whether the CNAME record is successfully verified. Note: cname_confirm_status takes effect only if enable_details is set to true.
    cnameRecord String
    The value of the CNAME record. Note: cname_record takes effect only if enable_details is set to true.
    createTime String
    The time when the DNS record was created.
    defaultDomain String
    The default domain name. Note: default_domain takes effect only if enable_details is set to true.
    dkimAuthStatus 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 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 String
    (Available since v1.227.1) The DKIM Host Record. Note: dkim_rr takes effect only if enable_details is set to true.
    dmarcAuthStatus 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 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 String
    (Available since v1.227.1) The DMARC record. Note: dmarc_record takes effect only if enable_details is set to true.
    dnsDmarc 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 String
    The MX record value resolved through public DNS. Note: dns_mx takes effect only if enable_details is set to true.
    dnsSpf String
    The SPF record value resolved through public DNS. Note: dns_spf takes effect only if enable_details is set to true.
    dnsTxt String
    The TXT record value resolved through public DNS. Note: dns_txt takes effect only if enable_details is set to true.
    domainId String
    The ID of the domain name.
    domainName String
    The domain name.
    domainRecord String
    (Available since v1.227.1) The value of the Domain record.
    domainType String
    The type of the domain. Note: domain_type takes effect only if enable_details is set to true.
    hostRecord 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 String
    The status of ICP filing.
    id String
    The ID of the Domain.
    mxAuthStatus String
    Indicates whether the MX record is successfully verified.
    mxRecord 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 String
    Indicates whether the SPF record is successfully verified.
    spfRecord 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 String
    The status of the domain name. Valid values:
    tlDomainName String
    The primary domain name. Note: tl_domain_name takes effect only if enable_details is set to true.
    tracefRecord 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.
    alicloud logo
    Alibaba Cloud v3.59.1 published on Thursday, Jul 25, 2024 by Pulumi