GetDomainTxtGuid

Provides the generation of txt records to realize the retrieval and verification of domain names.

NOTE: Available in v1.80.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var @this = Output.Create(AliCloud.Dns.GetDomainTxtGuid.InvokeAsync(new AliCloud.Dns.GetDomainTxtGuidArgs
        {
            DomainName = "test111.abc",
            Type = "ADD_SUB_DOMAIN",
        }));
        this.Rr = @this.Apply(@this => @this.Rr);
        this.Value = @this.Apply(@this => @this.Value);
    }

    [Output("rr")]
    public Output<string> Rr { get; set; }
    [Output("value")]
    public Output<string> Value { get; set; }
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

this = alicloud.dns.get_domain_txt_guid(domain_name="test111.abc",
    type="ADD_SUB_DOMAIN")
pulumi.export("rr", this.rr)
pulumi.export("value", this.value)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const thisDomainTxtGuid = pulumi.output(alicloud.dns.getDomainTxtGuid({
    domainName: "test111.abc",
    type: "ADD_SUB_DOMAIN",
}, { async: true }));

export const rr = thisDomainTxtGuid.rr;
export const value = thisDomainTxtGuid.value;

Using GetDomainTxtGuid

function getDomainTxtGuid(args: GetDomainTxtGuidArgs, opts?: InvokeOptions): Promise<GetDomainTxtGuidResult>
function  get_domain_txt_guid(domain_name=None, lang=None, output_file=None, type=None, opts=None)
func GetDomainTxtGuid(ctx *Context, args *GetDomainTxtGuidArgs, opts ...InvokeOption) (*GetDomainTxtGuidResult, error)
public static class GetDomainTxtGuid {
    public static Task<GetDomainTxtGuidResult> InvokeAsync(GetDomainTxtGuidArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

DomainName string

Verified domain name.

Type string

Txt verification function. Value:ADD_SUB_DOMAIN, RETRIEVAL.

Lang string

User language.

OutputFile string
DomainName string

Verified domain name.

Type string

Txt verification function. Value:ADD_SUB_DOMAIN, RETRIEVAL.

Lang string

User language.

OutputFile string
domainName string

Verified domain name.

type string

Txt verification function. Value:ADD_SUB_DOMAIN, RETRIEVAL.

lang string

User language.

outputFile string
domain_name str

Verified domain name.

type str

Txt verification function. Value:ADD_SUB_DOMAIN, RETRIEVAL.

lang str

User language.

output_file str

GetDomainTxtGuid Result

The following output properties are available:

DomainName string
Id string

The provider-assigned unique ID for this managed resource.

Rr string

Host record.

Type string
Value string

Record the value.

Lang string
OutputFile string
DomainName string
Id string

The provider-assigned unique ID for this managed resource.

Rr string

Host record.

Type string
Value string

Record the value.

Lang string
OutputFile string
domainName string
id string

The provider-assigned unique ID for this managed resource.

rr string

Host record.

type string
value string

Record the value.

lang string
outputFile string
domain_name str
id str

The provider-assigned unique ID for this managed resource.

rr str

Host record.

type str
value str

Record the value.

lang str
output_file str

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.