Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 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
}
_, 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:
- Enable
Details bool - Whether to query the detailed list of resource attributes. Default value:
false
. - Ids List<string>
- A list of Domain IDs.
- Key
Word string - The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
- Name
Regex string - 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 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 []string
- A list of Domain IDs.
- Key
Word string - The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
- Name
Regex string - 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 string
- The status of the domain name. Valid values:
- enable
Details Boolean - Whether to query the detailed list of resource attributes. Default value:
false
. - ids List<String>
- A list of Domain IDs.
- key
Word String - The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
- name
Regex String - 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 String
- The status of the domain name. Valid values:
- enable
Details boolean - Whether to query the detailed list of resource attributes. Default value:
false
. - ids string[]
- A list of Domain IDs.
- key
Word string - The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
- name
Regex string - 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 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:
- enable
Details Boolean - Whether to query the detailed list of resource attributes. Default value:
false
. - ids List<String>
- A list of Domain IDs.
- key
Word String - The domain name. It must be 1 to 50 characters in length and can contain digits, letters, periods (.), and hyphens (-).
- name
Regex String - 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 String
- 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 stringStatus - Indicates whether your ownership of the domain is verified.
- Cname
Confirm stringStatus - Indicates whether the CNAME record is successfully verified. Note:
cname_confirm_status
takes effect only ifenable_details
is set totrue
. - Cname
Record string - The value of the CNAME record. Note:
cname_record
takes effect only ifenable_details
is set totrue
. - Create
Time string - The time when the DNS record was created.
- Default
Domain string - The default domain name. Note:
default_domain
takes effect only ifenable_details
is set totrue
. - Dkim
Auth stringStatus - (Available since v1.227.1) The DKIM validation flag. Note:
dkim_auth_status
takes effect only ifenable_details
is set totrue
. - Dkim
Public stringKey - (Available since v1.227.1) The DKIM public key. Note:
dkim_public_key
takes effect only ifenable_details
is set totrue
. - Dkim
Rr string - (Available since v1.227.1) The DKIM Host Record. Note:
dkim_rr
takes effect only ifenable_details
is set totrue
. - Dmarc
Auth stringStatus - (Available since v1.227.1) The DMARC validation flag. Note:
dmarc_auth_status
takes effect only ifenable_details
is set totrue
. - Dmarc
Host stringRecord - (Available since v1.227.1) The DMARC Host Record. Note:
dmarc_host_record
takes effect only ifenable_details
is set totrue
. - Dmarc
Record string - (Available since v1.227.1) The DMARC record. Note:
dmarc_record
takes effect only ifenable_details
is set totrue
. - Dns
Dmarc 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 string - The MX record value resolved through public DNS. Note:
dns_mx
takes effect only ifenable_details
is set totrue
. - Dns
Spf string - The SPF record value resolved through public DNS. Note:
dns_spf
takes effect only ifenable_details
is set totrue
. - Dns
Txt string - The TXT record value resolved through public DNS. Note:
dns_txt
takes effect only ifenable_details
is set totrue
. - Domain
Id string - The ID of the domain name.
- Domain
Name string - The domain name.
- Domain
Record string - (Available since v1.227.1) The value of the Domain record.
- Domain
Type string - The type of the domain. Note:
domain_type
takes effect only ifenable_details
is set totrue
. - Host
Record 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 string - The status of ICP filing.
- Id string
- The ID of the Domain.
- Mx
Auth stringStatus - Indicates whether the MX record is successfully verified.
- Mx
Record string - The MX verification record provided by the Direct Mail console. Note:
mx_record
takes effect only ifenable_details
is set totrue
. - Spf
Auth stringStatus - Indicates whether the SPF record is successfully verified.
- Spf
Record string - The SPF verification record provided by the Direct Mail console. Note:
spf_record
takes effect only ifenable_details
is set totrue
. - Status string
- The status of the domain name. Valid values:
- Tl
Domain stringName - The primary domain name. Note:
tl_domain_name
takes effect only ifenable_details
is set totrue
. - Tracef
Record string - The CNAME verification record provided by the Direct Mail console. Note:
tracef_record
takes effect only ifenable_details
is set totrue
.
- Cname
Auth stringStatus - Indicates whether your ownership of the domain is verified.
- Cname
Confirm stringStatus - Indicates whether the CNAME record is successfully verified. Note:
cname_confirm_status
takes effect only ifenable_details
is set totrue
. - Cname
Record string - The value of the CNAME record. Note:
cname_record
takes effect only ifenable_details
is set totrue
. - Create
Time string - The time when the DNS record was created.
- Default
Domain string - The default domain name. Note:
default_domain
takes effect only ifenable_details
is set totrue
. - Dkim
Auth stringStatus - (Available since v1.227.1) The DKIM validation flag. Note:
dkim_auth_status
takes effect only ifenable_details
is set totrue
. - Dkim
Public stringKey - (Available since v1.227.1) The DKIM public key. Note:
dkim_public_key
takes effect only ifenable_details
is set totrue
. - Dkim
Rr string - (Available since v1.227.1) The DKIM Host Record. Note:
dkim_rr
takes effect only ifenable_details
is set totrue
. - Dmarc
Auth stringStatus - (Available since v1.227.1) The DMARC validation flag. Note:
dmarc_auth_status
takes effect only ifenable_details
is set totrue
. - Dmarc
Host stringRecord - (Available since v1.227.1) The DMARC Host Record. Note:
dmarc_host_record
takes effect only ifenable_details
is set totrue
. - Dmarc
Record string - (Available since v1.227.1) The DMARC record. Note:
dmarc_record
takes effect only ifenable_details
is set totrue
. - Dns
Dmarc 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 string - The MX record value resolved through public DNS. Note:
dns_mx
takes effect only ifenable_details
is set totrue
. - Dns
Spf string - The SPF record value resolved through public DNS. Note:
dns_spf
takes effect only ifenable_details
is set totrue
. - Dns
Txt string - The TXT record value resolved through public DNS. Note:
dns_txt
takes effect only ifenable_details
is set totrue
. - Domain
Id string - The ID of the domain name.
- Domain
Name string - The domain name.
- Domain
Record string - (Available since v1.227.1) The value of the Domain record.
- Domain
Type string - The type of the domain. Note:
domain_type
takes effect only ifenable_details
is set totrue
. - Host
Record 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 string - The status of ICP filing.
- Id string
- The ID of the Domain.
- Mx
Auth stringStatus - Indicates whether the MX record is successfully verified.
- Mx
Record string - The MX verification record provided by the Direct Mail console. Note:
mx_record
takes effect only ifenable_details
is set totrue
. - Spf
Auth stringStatus - Indicates whether the SPF record is successfully verified.
- Spf
Record string - The SPF verification record provided by the Direct Mail console. Note:
spf_record
takes effect only ifenable_details
is set totrue
. - Status string
- The status of the domain name. Valid values:
- Tl
Domain stringName - The primary domain name. Note:
tl_domain_name
takes effect only ifenable_details
is set totrue
. - Tracef
Record string - The CNAME verification record provided by the Direct Mail console. Note:
tracef_record
takes effect only ifenable_details
is set totrue
.
- cname
Auth StringStatus - Indicates whether your ownership of the domain is verified.
- cname
Confirm StringStatus - Indicates whether the CNAME record is successfully verified. Note:
cname_confirm_status
takes effect only ifenable_details
is set totrue
. - cname
Record String - The value of the CNAME record. Note:
cname_record
takes effect only ifenable_details
is set totrue
. - create
Time String - The time when the DNS record was created.
- default
Domain String - The default domain name. Note:
default_domain
takes effect only ifenable_details
is set totrue
. - dkim
Auth StringStatus - (Available since v1.227.1) The DKIM validation flag. Note:
dkim_auth_status
takes effect only ifenable_details
is set totrue
. - dkim
Public StringKey - (Available since v1.227.1) The DKIM public key. Note:
dkim_public_key
takes effect only ifenable_details
is set totrue
. - dkim
Rr String - (Available since v1.227.1) The DKIM Host Record. Note:
dkim_rr
takes effect only ifenable_details
is set totrue
. - dmarc
Auth StringStatus - (Available since v1.227.1) The DMARC validation flag. Note:
dmarc_auth_status
takes effect only ifenable_details
is set totrue
. - dmarc
Host StringRecord - (Available since v1.227.1) The DMARC Host Record. Note:
dmarc_host_record
takes effect only ifenable_details
is set totrue
. - dmarc
Record String - (Available since v1.227.1) The DMARC record. Note:
dmarc_record
takes effect only ifenable_details
is set totrue
. - dns
Dmarc 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 String - The MX record value resolved through public DNS. Note:
dns_mx
takes effect only ifenable_details
is set totrue
. - dns
Spf String - The SPF record value resolved through public DNS. Note:
dns_spf
takes effect only ifenable_details
is set totrue
. - dns
Txt String - The TXT record value resolved through public DNS. Note:
dns_txt
takes effect only ifenable_details
is set totrue
. - domain
Id String - The ID of the domain name.
- domain
Name String - The domain name.
- domain
Record String - (Available since v1.227.1) The value of the Domain record.
- domain
Type String - The type of the domain. Note:
domain_type
takes effect only ifenable_details
is set totrue
. - host
Record 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 String - The status of ICP filing.
- id String
- The ID of the Domain.
- mx
Auth StringStatus - Indicates whether the MX record is successfully verified.
- mx
Record String - The MX verification record provided by the Direct Mail console. Note:
mx_record
takes effect only ifenable_details
is set totrue
. - spf
Auth StringStatus - Indicates whether the SPF record is successfully verified.
- spf
Record String - The SPF verification record provided by the Direct Mail console. Note:
spf_record
takes effect only ifenable_details
is set totrue
. - status String
- The status of the domain name. Valid values:
- tl
Domain StringName - The primary domain name. Note:
tl_domain_name
takes effect only ifenable_details
is set totrue
. - tracef
Record String - The CNAME verification record provided by the Direct Mail console. Note:
tracef_record
takes effect only ifenable_details
is set totrue
.
- cname
Auth stringStatus - Indicates whether your ownership of the domain is verified.
- cname
Confirm stringStatus - Indicates whether the CNAME record is successfully verified. Note:
cname_confirm_status
takes effect only ifenable_details
is set totrue
. - cname
Record string - The value of the CNAME record. Note:
cname_record
takes effect only ifenable_details
is set totrue
. - create
Time string - The time when the DNS record was created.
- default
Domain string - The default domain name. Note:
default_domain
takes effect only ifenable_details
is set totrue
. - dkim
Auth stringStatus - (Available since v1.227.1) The DKIM validation flag. Note:
dkim_auth_status
takes effect only ifenable_details
is set totrue
. - dkim
Public stringKey - (Available since v1.227.1) The DKIM public key. Note:
dkim_public_key
takes effect only ifenable_details
is set totrue
. - dkim
Rr string - (Available since v1.227.1) The DKIM Host Record. Note:
dkim_rr
takes effect only ifenable_details
is set totrue
. - dmarc
Auth stringStatus - (Available since v1.227.1) The DMARC validation flag. Note:
dmarc_auth_status
takes effect only ifenable_details
is set totrue
. - dmarc
Host stringRecord - (Available since v1.227.1) The DMARC Host Record. Note:
dmarc_host_record
takes effect only ifenable_details
is set totrue
. - dmarc
Record string - (Available since v1.227.1) The DMARC record. Note:
dmarc_record
takes effect only ifenable_details
is set totrue
. - dns
Dmarc 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 string - The MX record value resolved through public DNS. Note:
dns_mx
takes effect only ifenable_details
is set totrue
. - dns
Spf string - The SPF record value resolved through public DNS. Note:
dns_spf
takes effect only ifenable_details
is set totrue
. - dns
Txt string - The TXT record value resolved through public DNS. Note:
dns_txt
takes effect only ifenable_details
is set totrue
. - domain
Id string - The ID of the domain name.
- domain
Name string - The domain name.
- domain
Record string - (Available since v1.227.1) The value of the Domain record.
- domain
Type string - The type of the domain. Note:
domain_type
takes effect only ifenable_details
is set totrue
. - host
Record 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 string - The status of ICP filing.
- id string
- The ID of the Domain.
- mx
Auth stringStatus - Indicates whether the MX record is successfully verified.
- mx
Record string - The MX verification record provided by the Direct Mail console. Note:
mx_record
takes effect only ifenable_details
is set totrue
. - spf
Auth stringStatus - Indicates whether the SPF record is successfully verified.
- spf
Record string - The SPF verification record provided by the Direct Mail console. Note:
spf_record
takes effect only ifenable_details
is set totrue
. - status string
- The status of the domain name. Valid values:
- tl
Domain stringName - The primary domain name. Note:
tl_domain_name
takes effect only ifenable_details
is set totrue
. - tracef
Record string - The CNAME verification record provided by the Direct Mail console. Note:
tracef_record
takes effect only ifenable_details
is set totrue
.
- cname_
auth_ strstatus - Indicates whether your ownership of the domain is verified.
- cname_
confirm_ strstatus - Indicates whether the CNAME record is successfully verified. Note:
cname_confirm_status
takes effect only ifenable_details
is set totrue
. - cname_
record str - The value of the CNAME record. Note:
cname_record
takes effect only ifenable_details
is set totrue
. - create_
time str - The time when the DNS record was created.
- default_
domain str - The default domain name. Note:
default_domain
takes effect only ifenable_details
is set totrue
. - dkim_
auth_ strstatus - (Available since v1.227.1) The DKIM validation flag. Note:
dkim_auth_status
takes effect only ifenable_details
is set totrue
. - dkim_
public_ strkey - (Available since v1.227.1) The DKIM public key. Note:
dkim_public_key
takes effect only ifenable_details
is set totrue
. - dkim_
rr str - (Available since v1.227.1) The DKIM Host Record. Note:
dkim_rr
takes effect only ifenable_details
is set totrue
. - dmarc_
auth_ strstatus - (Available since v1.227.1) The DMARC validation flag. Note:
dmarc_auth_status
takes effect only ifenable_details
is set totrue
. - dmarc_
host_ strrecord - (Available since v1.227.1) The DMARC Host Record. Note:
dmarc_host_record
takes effect only ifenable_details
is set totrue
. - dmarc_
record str - (Available since v1.227.1) The DMARC record. Note:
dmarc_record
takes effect only ifenable_details
is set totrue
. - dns_
dmarc 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 str - The MX record value resolved through public DNS. Note:
dns_mx
takes effect only ifenable_details
is set totrue
. - dns_
spf str - The SPF record value resolved through public DNS. Note:
dns_spf
takes effect only ifenable_details
is set totrue
. - dns_
txt str - The TXT record value resolved through public DNS. Note:
dns_txt
takes effect only ifenable_details
is set totrue
. - 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 ifenable_details
is set totrue
. - host_
record 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 str - The status of ICP filing.
- id str
- The ID of the Domain.
- mx_
auth_ strstatus - 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 ifenable_details
is set totrue
. - spf_
auth_ strstatus - 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 ifenable_details
is set totrue
. - status str
- The status of the domain name. Valid values:
- tl_
domain_ strname - The primary domain name. Note:
tl_domain_name
takes effect only ifenable_details
is set totrue
. - tracef_
record str - The CNAME verification record provided by the Direct Mail console. Note:
tracef_record
takes effect only ifenable_details
is set totrue
.
- cname
Auth StringStatus - Indicates whether your ownership of the domain is verified.
- cname
Confirm StringStatus - Indicates whether the CNAME record is successfully verified. Note:
cname_confirm_status
takes effect only ifenable_details
is set totrue
. - cname
Record String - The value of the CNAME record. Note:
cname_record
takes effect only ifenable_details
is set totrue
. - create
Time String - The time when the DNS record was created.
- default
Domain String - The default domain name. Note:
default_domain
takes effect only ifenable_details
is set totrue
. - dkim
Auth StringStatus - (Available since v1.227.1) The DKIM validation flag. Note:
dkim_auth_status
takes effect only ifenable_details
is set totrue
. - dkim
Public StringKey - (Available since v1.227.1) The DKIM public key. Note:
dkim_public_key
takes effect only ifenable_details
is set totrue
. - dkim
Rr String - (Available since v1.227.1) The DKIM Host Record. Note:
dkim_rr
takes effect only ifenable_details
is set totrue
. - dmarc
Auth StringStatus - (Available since v1.227.1) The DMARC validation flag. Note:
dmarc_auth_status
takes effect only ifenable_details
is set totrue
. - dmarc
Host StringRecord - (Available since v1.227.1) The DMARC Host Record. Note:
dmarc_host_record
takes effect only ifenable_details
is set totrue
. - dmarc
Record String - (Available since v1.227.1) The DMARC record. Note:
dmarc_record
takes effect only ifenable_details
is set totrue
. - dns
Dmarc 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 String - The MX record value resolved through public DNS. Note:
dns_mx
takes effect only ifenable_details
is set totrue
. - dns
Spf String - The SPF record value resolved through public DNS. Note:
dns_spf
takes effect only ifenable_details
is set totrue
. - dns
Txt String - The TXT record value resolved through public DNS. Note:
dns_txt
takes effect only ifenable_details
is set totrue
. - domain
Id String - The ID of the domain name.
- domain
Name String - The domain name.
- domain
Record String - (Available since v1.227.1) The value of the Domain record.
- domain
Type String - The type of the domain. Note:
domain_type
takes effect only ifenable_details
is set totrue
. - host
Record 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 String - The status of ICP filing.
- id String
- The ID of the Domain.
- mx
Auth StringStatus - Indicates whether the MX record is successfully verified.
- mx
Record String - The MX verification record provided by the Direct Mail console. Note:
mx_record
takes effect only ifenable_details
is set totrue
. - spf
Auth StringStatus - Indicates whether the SPF record is successfully verified.
- spf
Record String - The SPF verification record provided by the Direct Mail console. Note:
spf_record
takes effect only ifenable_details
is set totrue
. - status String
- The status of the domain name. Valid values:
- tl
Domain StringName - The primary domain name. Note:
tl_domain_name
takes effect only ifenable_details
is set totrue
. - tracef
Record 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.