Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.directmail.getDomains
Explore with Pulumi AI
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
}
_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
})
}
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)
public static Output<GetDomainsResult> getDomains(GetDomainsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:directmail/getDomains:getDomains
arguments:
# arguments dictionary
The following arguments are supported:
- Enable
Details bool - Whether to query the detailed list of resource attributes. Default value:
false
. - Ids
Changes to this property will trigger replacement.
- A list of Domain IDs.
- Key
Word Changes to this property will trigger replacement.
- 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.
- A regex string to filter results by Domain name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status
Changes to this property will trigger replacement.
- 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.
- A list of Domain IDs.
- Key
Word Changes to this property will trigger replacement.
- 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.
- A regex string to filter results by Domain name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status
Changes to this property will trigger replacement.
- The status of the domain name. Valid values:
- enable
Details Boolean - Whether to query the detailed list of resource attributes. Default value:
false
. - ids
Changes to this property will trigger replacement.
- A list of Domain IDs.
- key
Word Changes to this property will trigger replacement.
- 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.
- A regex string to filter results by Domain name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of the domain name. Valid values:
- enable
Details boolean - Whether to query the detailed list of resource attributes. Default value:
false
. - ids
Changes to this property will trigger replacement.
- A list of Domain IDs.
- key
Word Changes to this property will trigger replacement.
- 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.
- A regex string to filter results by Domain name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- 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.
- A list of Domain IDs.
- key_
word Changes to this property will trigger replacement.
- 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.
- 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.
- The status of the domain name. Valid values:
- enable
Details Boolean - Whether to query the detailed list of resource attributes. Default value:
false
. - ids
Changes to this property will trigger replacement.
- A list of Domain IDs.
- key
Word Changes to this property will trigger replacement.
- 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.
- A regex string to filter results by Domain name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of the domain name. Valid values:
getDomains Result
The following output properties are available:
- Domains
List<Pulumi.
Ali Cloud. Direct Mail. Outputs. Get Domains Domain> - 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.
- Enable
Details bool - Key
Word string - Name
Regex string - Output
File string - Status string
- The status of the domain name.
- Domains
[]Get
Domains Domain - 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.
- Enable
Details bool - Key
Word string - Name
Regex string - Output
File string - Status string
- The status of the domain name.
- domains
List<Get
Domains Domain> - 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.
- enable
Details Boolean - key
Word String - name
Regex String - output
File String - status String
- The status of the domain name.
- domains
Get
Domains Domain[] - 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.
- enable
Details boolean - key
Word string - name
Regex string - output
File string - status string
- The status of the domain name.
- domains
Sequence[Get
Domains Domain] - 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.
- enable
Details Boolean - key
Word String - name
Regex String - output
File String - status String
- The status of the domain name.
Supporting Types
GetDomainsDomain
- Cname
Auth Status This property is required. string - Indicates whether your ownership of the domain is verified.
- Cname
Confirm Status This property is required. string - Indicates whether the CNAME record is successfully verified. Note:
cname_confirm_status
takes effect only ifenable_details
is set totrue
. - Cname
Record This property is required. string - The value of the CNAME record. Note:
cname_record
takes effect only ifenable_details
is set totrue
. - Create
Time This property is required. string - The time when the DNS record was created.
- Default
Domain This property is required. string - The default domain name. Note:
default_domain
takes effect only ifenable_details
is set totrue
. - Dkim
Auth Status This property is required. string - (Available since v1.227.1) The DKIM validation flag. Note:
dkim_auth_status
takes effect only ifenable_details
is set totrue
. - Dkim
Public Key This property is required. string - (Available since v1.227.1) The DKIM public key. Note:
dkim_public_key
takes effect only ifenable_details
is set totrue
. - Dkim
Rr This property is required. string - (Available since v1.227.1) The DKIM Host Record. Note:
dkim_rr
takes effect only ifenable_details
is set totrue
. - Dmarc
Auth Status This property is required. string - (Available since v1.227.1) The DMARC validation flag. Note:
dmarc_auth_status
takes effect only ifenable_details
is set totrue
. - Dmarc
Host Record This property is required. string - (Available since v1.227.1) The DMARC Host Record. Note:
dmarc_host_record
takes effect only ifenable_details
is set totrue
. - Dmarc
Record This property is required. string - (Available since v1.227.1) The DMARC record. Note:
dmarc_record
takes effect only ifenable_details
is set totrue
. - Dns
Dmarc This property is required. string - (Available since v1.227.1) The DMARC record value resolved through public DNS. Note:
dns_dmarc
takes effect only ifenable_details
is set totrue
. - Dns
Mx This property is required. string - The MX record value resolved through public DNS. Note:
dns_mx
takes effect only ifenable_details
is set totrue
. - Dns
Spf This property is required. string - The SPF record value resolved through public DNS. Note:
dns_spf
takes effect only ifenable_details
is set totrue
. - Dns
Txt This property is required. string - The TXT record value resolved through public DNS. Note:
dns_txt
takes effect only ifenable_details
is set totrue
. - Domain
Id This property is required. string - The ID of the domain name.
- Domain
Name This property is required. string - The domain name.
- Domain
Record This property is required. string - (Available since v1.227.1) The value of the Domain record.
- Domain
Type This property is required. string - The type of the domain. Note:
domain_type
takes effect only ifenable_details
is set totrue
. - Host
Record This property is required. string - (Available since v1.227.1) The value of the host record. Note:
host_record
takes effect only ifenable_details
is set totrue
. - Icp
Status This property is required. string - The status of ICP filing.
- Id
This property is required. string - The ID of the Domain.
- Mx
Auth Status This property is required. string - Indicates whether the MX record is successfully verified.
- Mx
Record This property is required. string - The MX verification record provided by the Direct Mail console. Note:
mx_record
takes effect only ifenable_details
is set totrue
. - Spf
Auth Status This property is required. string - Indicates whether the SPF record is successfully verified.
- Spf
Record This property is required. string - The SPF verification record provided by the Direct Mail console. Note:
spf_record
takes effect only ifenable_details
is set totrue
. - Status
This property is required. string - The status of the domain name. Valid values:
- Tl
Domain Name This property is required. string - The primary domain name. Note:
tl_domain_name
takes effect only ifenable_details
is set totrue
. - Tracef
Record This property is required. string - The CNAME verification record provided by the Direct Mail console. Note:
tracef_record
takes effect only ifenable_details
is set totrue
.
- Cname
Auth Status This property is required. string - Indicates whether your ownership of the domain is verified.
- Cname
Confirm Status This property is required. string - Indicates whether the CNAME record is successfully verified. Note:
cname_confirm_status
takes effect only ifenable_details
is set totrue
. - Cname
Record This property is required. string - The value of the CNAME record. Note:
cname_record
takes effect only ifenable_details
is set totrue
. - Create
Time This property is required. string - The time when the DNS record was created.
- Default
Domain This property is required. string - The default domain name. Note:
default_domain
takes effect only ifenable_details
is set totrue
. - Dkim
Auth Status This property is required. string - (Available since v1.227.1) The DKIM validation flag. Note:
dkim_auth_status
takes effect only ifenable_details
is set totrue
. - Dkim
Public Key This property is required. string - (Available since v1.227.1) The DKIM public key. Note:
dkim_public_key
takes effect only ifenable_details
is set totrue
. - Dkim
Rr This property is required. string - (Available since v1.227.1) The DKIM Host Record. Note:
dkim_rr
takes effect only ifenable_details
is set totrue
. - Dmarc
Auth Status This property is required. string - (Available since v1.227.1) The DMARC validation flag. Note:
dmarc_auth_status
takes effect only ifenable_details
is set totrue
. - Dmarc
Host Record This property is required. string - (Available since v1.227.1) The DMARC Host Record. Note:
dmarc_host_record
takes effect only ifenable_details
is set totrue
. - Dmarc
Record This property is required. string - (Available since v1.227.1) The DMARC record. Note:
dmarc_record
takes effect only ifenable_details
is set totrue
. - Dns
Dmarc This property is required. string - (Available since v1.227.1) The DMARC record value resolved through public DNS. Note:
dns_dmarc
takes effect only ifenable_details
is set totrue
. - Dns
Mx This property is required. string - The MX record value resolved through public DNS. Note:
dns_mx
takes effect only ifenable_details
is set totrue
. - Dns
Spf This property is required. string - The SPF record value resolved through public DNS. Note:
dns_spf
takes effect only ifenable_details
is set totrue
. - Dns
Txt This property is required. string - The TXT record value resolved through public DNS. Note:
dns_txt
takes effect only ifenable_details
is set totrue
. - Domain
Id This property is required. string - The ID of the domain name.
- Domain
Name This property is required. string - The domain name.
- Domain
Record This property is required. string - (Available since v1.227.1) The value of the Domain record.
- Domain
Type This property is required. string - The type of the domain. Note:
domain_type
takes effect only ifenable_details
is set totrue
. - Host
Record This property is required. string - (Available since v1.227.1) The value of the host record. Note:
host_record
takes effect only ifenable_details
is set totrue
. - Icp
Status This property is required. string - The status of ICP filing.
- Id
This property is required. string - The ID of the Domain.
- Mx
Auth Status This property is required. string - Indicates whether the MX record is successfully verified.
- Mx
Record This property is required. string - The MX verification record provided by the Direct Mail console. Note:
mx_record
takes effect only ifenable_details
is set totrue
. - Spf
Auth Status This property is required. string - Indicates whether the SPF record is successfully verified.
- Spf
Record This property is required. string - The SPF verification record provided by the Direct Mail console. Note:
spf_record
takes effect only ifenable_details
is set totrue
. - Status
This property is required. string - The status of the domain name. Valid values:
- Tl
Domain Name This property is required. string - The primary domain name. Note:
tl_domain_name
takes effect only ifenable_details
is set totrue
. - Tracef
Record This property is required. string - The CNAME verification record provided by the Direct Mail console. Note:
tracef_record
takes effect only ifenable_details
is set totrue
.
- cname
Auth Status This property is required. String - Indicates whether your ownership of the domain is verified.
- cname
Confirm Status This property is required. String - Indicates whether the CNAME record is successfully verified. Note:
cname_confirm_status
takes effect only ifenable_details
is set totrue
. - cname
Record This property is required. String - The value of the CNAME record. Note:
cname_record
takes effect only ifenable_details
is set totrue
. - create
Time This property is required. String - The time when the DNS record was created.
- default
Domain This property is required. String - The default domain name. Note:
default_domain
takes effect only ifenable_details
is set totrue
. - dkim
Auth Status This property is required. String - (Available since v1.227.1) The DKIM validation flag. Note:
dkim_auth_status
takes effect only ifenable_details
is set totrue
. - dkim
Public Key This property is required. String - (Available since v1.227.1) The DKIM public key. Note:
dkim_public_key
takes effect only ifenable_details
is set totrue
. - dkim
Rr This property is required. String - (Available since v1.227.1) The DKIM Host Record. Note:
dkim_rr
takes effect only ifenable_details
is set totrue
. - dmarc
Auth Status This property is required. String - (Available since v1.227.1) The DMARC validation flag. Note:
dmarc_auth_status
takes effect only ifenable_details
is set totrue
. - dmarc
Host Record This property is required. String - (Available since v1.227.1) The DMARC Host Record. Note:
dmarc_host_record
takes effect only ifenable_details
is set totrue
. - dmarc
Record This property is required. String - (Available since v1.227.1) The DMARC record. Note:
dmarc_record
takes effect only ifenable_details
is set totrue
. - dns
Dmarc This property is required. String - (Available since v1.227.1) The DMARC record value resolved through public DNS. Note:
dns_dmarc
takes effect only ifenable_details
is set totrue
. - dns
Mx This property is required. String - The MX record value resolved through public DNS. Note:
dns_mx
takes effect only ifenable_details
is set totrue
. - dns
Spf This property is required. String - The SPF record value resolved through public DNS. Note:
dns_spf
takes effect only ifenable_details
is set totrue
. - dns
Txt This property is required. String - The TXT record value resolved through public DNS. Note:
dns_txt
takes effect only ifenable_details
is set totrue
. - domain
Id This property is required. String - The ID of the domain name.
- domain
Name This property is required. String - The domain name.
- domain
Record This property is required. String - (Available since v1.227.1) The value of the Domain record.
- domain
Type This property is required. String - The type of the domain. Note:
domain_type
takes effect only ifenable_details
is set totrue
. - host
Record This property is required. String - (Available since v1.227.1) The value of the host record. Note:
host_record
takes effect only ifenable_details
is set totrue
. - icp
Status This property is required. String - The status of ICP filing.
- id
This property is required. String - The ID of the Domain.
- mx
Auth Status This property is required. String - Indicates whether the MX record is successfully verified.
- mx
Record This property is required. String - The MX verification record provided by the Direct Mail console. Note:
mx_record
takes effect only ifenable_details
is set totrue
. - spf
Auth Status This property is required. String - Indicates whether the SPF record is successfully verified.
- spf
Record This property is required. String - The SPF verification record provided by the Direct Mail console. Note:
spf_record
takes effect only ifenable_details
is set totrue
. - status
This property is required. String - The status of the domain name. Valid values:
- tl
Domain Name This property is required. String - The primary domain name. Note:
tl_domain_name
takes effect only ifenable_details
is set totrue
. - tracef
Record This property is required. String - The CNAME verification record provided by the Direct Mail console. Note:
tracef_record
takes effect only ifenable_details
is set totrue
.
- cname
Auth Status This property is required. string - Indicates whether your ownership of the domain is verified.
- cname
Confirm Status This property is required. string - Indicates whether the CNAME record is successfully verified. Note:
cname_confirm_status
takes effect only ifenable_details
is set totrue
. - cname
Record This property is required. string - The value of the CNAME record. Note:
cname_record
takes effect only ifenable_details
is set totrue
. - create
Time This property is required. string - The time when the DNS record was created.
- default
Domain This property is required. string - The default domain name. Note:
default_domain
takes effect only ifenable_details
is set totrue
. - dkim
Auth Status This property is required. string - (Available since v1.227.1) The DKIM validation flag. Note:
dkim_auth_status
takes effect only ifenable_details
is set totrue
. - dkim
Public Key This property is required. string - (Available since v1.227.1) The DKIM public key. Note:
dkim_public_key
takes effect only ifenable_details
is set totrue
. - dkim
Rr This property is required. string - (Available since v1.227.1) The DKIM Host Record. Note:
dkim_rr
takes effect only ifenable_details
is set totrue
. - dmarc
Auth Status This property is required. string - (Available since v1.227.1) The DMARC validation flag. Note:
dmarc_auth_status
takes effect only ifenable_details
is set totrue
. - dmarc
Host Record This property is required. string - (Available since v1.227.1) The DMARC Host Record. Note:
dmarc_host_record
takes effect only ifenable_details
is set totrue
. - dmarc
Record This property is required. string - (Available since v1.227.1) The DMARC record. Note:
dmarc_record
takes effect only ifenable_details
is set totrue
. - dns
Dmarc This property is required. string - (Available since v1.227.1) The DMARC record value resolved through public DNS. Note:
dns_dmarc
takes effect only ifenable_details
is set totrue
. - dns
Mx This property is required. string - The MX record value resolved through public DNS. Note:
dns_mx
takes effect only ifenable_details
is set totrue
. - dns
Spf This property is required. string - The SPF record value resolved through public DNS. Note:
dns_spf
takes effect only ifenable_details
is set totrue
. - dns
Txt This property is required. string - The TXT record value resolved through public DNS. Note:
dns_txt
takes effect only ifenable_details
is set totrue
. - domain
Id This property is required. string - The ID of the domain name.
- domain
Name This property is required. string - The domain name.
- domain
Record This property is required. string - (Available since v1.227.1) The value of the Domain record.
- domain
Type This property is required. string - The type of the domain. Note:
domain_type
takes effect only ifenable_details
is set totrue
. - host
Record This property is required. string - (Available since v1.227.1) The value of the host record. Note:
host_record
takes effect only ifenable_details
is set totrue
. - icp
Status This property is required. string - The status of ICP filing.
- id
This property is required. string - The ID of the Domain.
- mx
Auth Status This property is required. string - Indicates whether the MX record is successfully verified.
- mx
Record This property is required. string - The MX verification record provided by the Direct Mail console. Note:
mx_record
takes effect only ifenable_details
is set totrue
. - spf
Auth Status This property is required. string - Indicates whether the SPF record is successfully verified.
- spf
Record This property is required. string - The SPF verification record provided by the Direct Mail console. Note:
spf_record
takes effect only ifenable_details
is set totrue
. - status
This property is required. string - The status of the domain name. Valid values:
- tl
Domain Name This property is required. string - The primary domain name. Note:
tl_domain_name
takes effect only ifenable_details
is set totrue
. - tracef
Record This property is required. string - The CNAME verification record provided by the Direct Mail console. Note:
tracef_record
takes effect only ifenable_details
is set totrue
.
- 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 ifenable_details
is set totrue
. - cname_
record This property is required. str - The value of the CNAME record. Note:
cname_record
takes effect only ifenable_details
is set totrue
. - 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 ifenable_details
is set totrue
. - dkim_
auth_ status This property is required. str - (Available since v1.227.1) The DKIM validation flag. Note:
dkim_auth_status
takes effect only ifenable_details
is set totrue
. - dkim_
public_ key This property is required. str - (Available since v1.227.1) The DKIM public key. Note:
dkim_public_key
takes effect only ifenable_details
is set totrue
. - dkim_
rr This property is required. str - (Available since v1.227.1) The DKIM Host Record. Note:
dkim_rr
takes effect only ifenable_details
is set totrue
. - dmarc_
auth_ status This property is required. str - (Available since v1.227.1) The DMARC validation flag. Note:
dmarc_auth_status
takes effect only ifenable_details
is set totrue
. - dmarc_
host_ record This property is required. str - (Available since v1.227.1) The DMARC Host Record. Note:
dmarc_host_record
takes effect only ifenable_details
is set totrue
. - dmarc_
record This property is required. str - (Available since v1.227.1) The DMARC record. Note:
dmarc_record
takes effect only ifenable_details
is set totrue
. - 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 ifenable_details
is set totrue
. - dns_
mx This property is required. str - The MX record value resolved through public DNS. Note:
dns_mx
takes effect only ifenable_details
is set totrue
. - dns_
spf This property is required. str - The SPF record value resolved through public DNS. Note:
dns_spf
takes effect only ifenable_details
is set totrue
. - dns_
txt This property is required. str - The TXT record value resolved through public DNS. Note:
dns_txt
takes effect only ifenable_details
is set totrue
. - 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 ifenable_details
is set totrue
. - host_
record This property is required. str - (Available since v1.227.1) The value of the host record. Note:
host_record
takes effect only ifenable_details
is set totrue
. - 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 ifenable_details
is set totrue
. - 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 ifenable_details
is set totrue
. - 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 ifenable_details
is set totrue
. - tracef_
record This property is required. str - The CNAME verification record provided by the Direct Mail console. Note:
tracef_record
takes effect only ifenable_details
is set totrue
.
- cname
Auth Status This property is required. String - Indicates whether your ownership of the domain is verified.
- cname
Confirm Status This property is required. String - Indicates whether the CNAME record is successfully verified. Note:
cname_confirm_status
takes effect only ifenable_details
is set totrue
. - cname
Record This property is required. String - The value of the CNAME record. Note:
cname_record
takes effect only ifenable_details
is set totrue
. - create
Time This property is required. String - The time when the DNS record was created.
- default
Domain This property is required. String - The default domain name. Note:
default_domain
takes effect only ifenable_details
is set totrue
. - dkim
Auth Status This property is required. String - (Available since v1.227.1) The DKIM validation flag. Note:
dkim_auth_status
takes effect only ifenable_details
is set totrue
. - dkim
Public Key This property is required. String - (Available since v1.227.1) The DKIM public key. Note:
dkim_public_key
takes effect only ifenable_details
is set totrue
. - dkim
Rr This property is required. String - (Available since v1.227.1) The DKIM Host Record. Note:
dkim_rr
takes effect only ifenable_details
is set totrue
. - dmarc
Auth Status This property is required. String - (Available since v1.227.1) The DMARC validation flag. Note:
dmarc_auth_status
takes effect only ifenable_details
is set totrue
. - dmarc
Host Record This property is required. String - (Available since v1.227.1) The DMARC Host Record. Note:
dmarc_host_record
takes effect only ifenable_details
is set totrue
. - dmarc
Record This property is required. String - (Available since v1.227.1) The DMARC record. Note:
dmarc_record
takes effect only ifenable_details
is set totrue
. - dns
Dmarc This property is required. String - (Available since v1.227.1) The DMARC record value resolved through public DNS. Note:
dns_dmarc
takes effect only ifenable_details
is set totrue
. - dns
Mx This property is required. String - The MX record value resolved through public DNS. Note:
dns_mx
takes effect only ifenable_details
is set totrue
. - dns
Spf This property is required. String - The SPF record value resolved through public DNS. Note:
dns_spf
takes effect only ifenable_details
is set totrue
. - dns
Txt This property is required. String - The TXT record value resolved through public DNS. Note:
dns_txt
takes effect only ifenable_details
is set totrue
. - domain
Id This property is required. String - The ID of the domain name.
- domain
Name This property is required. String - The domain name.
- domain
Record This property is required. String - (Available since v1.227.1) The value of the Domain record.
- domain
Type This property is required. String - The type of the domain. Note:
domain_type
takes effect only ifenable_details
is set totrue
. - host
Record This property is required. String - (Available since v1.227.1) The value of the host record. Note:
host_record
takes effect only ifenable_details
is set totrue
. - icp
Status This property is required. String - The status of ICP filing.
- id
This property is required. String - The ID of the Domain.
- mx
Auth Status This property is required. String - Indicates whether the MX record is successfully verified.
- mx
Record This property is required. String - The MX verification record provided by the Direct Mail console. Note:
mx_record
takes effect only ifenable_details
is set totrue
. - spf
Auth Status This property is required. String - Indicates whether the SPF record is successfully verified.
- spf
Record This property is required. String - The SPF verification record provided by the Direct Mail console. Note:
spf_record
takes effect only ifenable_details
is set totrue
. - status
This property is required. String - The status of the domain name. Valid values:
- tl
Domain Name This property is required. String - The primary domain name. Note:
tl_domain_name
takes effect only ifenable_details
is set totrue
. - tracef
Record This property is required. String - The CNAME verification record provided by the Direct Mail console. Note:
tracef_record
takes effect only ifenable_details
is set totrue
.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.