dns

package
v2.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DdosBgpInstance deprecated

type DdosBgpInstance struct {
	pulumi.CustomResourceState

	// Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
	BaseBandwidth pulumi.IntPtrOutput `pulumi:"baseBandwidth"`
	// IP count of the instance. Valid values: 100.
	IpCount pulumi.IntOutput `pulumi:"ipCount"`
	// IP version of the instance. Valid values: IPv4,IPv6.
	IpType pulumi.StringOutput `pulumi:"ipType"`
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// The duration that you will buy Ddosbgp instance (in month). Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Type of the instance. Valid values: Enterprise,Professional. Default to `Enterprise`
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

Anti-DDoS Advanced instance resource. "Ddosbgp" is the short term of this product.

> **NOTE:** The endpoint of bssopenapi used only support "business.aliyuncs.com" at present.

> **NOTE:** Available in 1.57.0+ .

Deprecated: alicloud.dns.DdosBgpInstance has been deprecated in favour of alicloud.ddos.DdosBgpInstance

func GetDdosBgpInstance

func GetDdosBgpInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DdosBgpInstanceState, opts ...pulumi.ResourceOption) (*DdosBgpInstance, error)

GetDdosBgpInstance gets an existing DdosBgpInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDdosBgpInstance

func NewDdosBgpInstance(ctx *pulumi.Context,
	name string, args *DdosBgpInstanceArgs, opts ...pulumi.ResourceOption) (*DdosBgpInstance, error)

NewDdosBgpInstance registers a new resource with the given unique name, arguments, and options.

type DdosBgpInstanceArgs

type DdosBgpInstanceArgs struct {
	// Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.
	Bandwidth pulumi.IntInput
	// Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
	BaseBandwidth pulumi.IntPtrInput
	// IP count of the instance. Valid values: 100.
	IpCount pulumi.IntInput
	// IP version of the instance. Valid values: IPv4,IPv6.
	IpType pulumi.StringInput
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringPtrInput
	// The duration that you will buy Ddosbgp instance (in month). Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".
	Period pulumi.IntPtrInput
	// Type of the instance. Valid values: Enterprise,Professional. Default to `Enterprise`
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a DdosBgpInstance resource.

func (DdosBgpInstanceArgs) ElementType

func (DdosBgpInstanceArgs) ElementType() reflect.Type

type DdosBgpInstanceState

type DdosBgpInstanceState struct {
	// Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 51,91,101,201,301. The unit is Gbps.
	Bandwidth pulumi.IntPtrInput
	// Base defend bandwidth of the instance. Valid values: 20. The unit is Gbps. Default to `20`.
	BaseBandwidth pulumi.IntPtrInput
	// IP count of the instance. Valid values: 100.
	IpCount pulumi.IntPtrInput
	// IP version of the instance. Valid values: IPv4,IPv6.
	IpType pulumi.StringPtrInput
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringPtrInput
	// The duration that you will buy Ddosbgp instance (in month). Valid values: [1~9], 12, 24, 36. Default to 12. At present, the provider does not support modify "period".
	Period pulumi.IntPtrInput
	// Type of the instance. Valid values: Enterprise,Professional. Default to `Enterprise`
	Type pulumi.StringPtrInput
}

func (DdosBgpInstanceState) ElementType

func (DdosBgpInstanceState) ElementType() reflect.Type

type DdosCooInstance deprecated

type DdosCooInstance struct {
	pulumi.CustomResourceState

	// Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.
	Bandwidth pulumi.StringOutput `pulumi:"bandwidth"`
	// Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.
	BaseBandwidth pulumi.StringOutput `pulumi:"baseBandwidth"`
	// Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	DomainCount pulumi.StringOutput `pulumi:"domainCount"`
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// The duration that you will buy Ddoscoo instance (in month). Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify "period".
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	PortCount pulumi.StringOutput `pulumi:"portCount"`
	// Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade.
	ServiceBandwidth pulumi.StringOutput `pulumi:"serviceBandwidth"`
}

BGP-Line Anti-DDoS instance resource. "Ddoscoo" is the short term of this product. See [What is Anti-DDoS Pro](https://www.alibabacloud.com/help/doc-detail/69319.htm).

> **NOTE:** The product region only support cn-hangzhou.

> **NOTE:** The endpoint of bssopenapi used only support "business.aliyuncs.com" at present.

> **NOTE:** Available in 1.37.0+ .

Deprecated: alicloud.dns.DdosCooInstance has been deprecated in favour of alicloud.ddos.DdosCooInstance

func GetDdosCooInstance

func GetDdosCooInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DdosCooInstanceState, opts ...pulumi.ResourceOption) (*DdosCooInstance, error)

GetDdosCooInstance gets an existing DdosCooInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDdosCooInstance

func NewDdosCooInstance(ctx *pulumi.Context,
	name string, args *DdosCooInstanceArgs, opts ...pulumi.ResourceOption) (*DdosCooInstance, error)

NewDdosCooInstance registers a new resource with the given unique name, arguments, and options.

type DdosCooInstanceArgs

type DdosCooInstanceArgs struct {
	// Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.
	Bandwidth pulumi.StringInput
	// Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.
	BaseBandwidth pulumi.StringInput
	// Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	DomainCount pulumi.StringInput
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringPtrInput
	// The duration that you will buy Ddoscoo instance (in month). Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify "period".
	Period pulumi.IntPtrInput
	// Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	PortCount pulumi.StringInput
	// Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade.
	ServiceBandwidth pulumi.StringInput
}

The set of arguments for constructing a DdosCooInstance resource.

func (DdosCooInstanceArgs) ElementType

func (DdosCooInstanceArgs) ElementType() reflect.Type

type DdosCooInstanceState

type DdosCooInstanceState struct {
	// Elastic defend bandwidth of the instance. This value must be larger than the base defend bandwidth. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.
	Bandwidth pulumi.StringPtrInput
	// Base defend bandwidth of the instance. Valid values: 30, 60, 100, 300, 400, 500, 600. The unit is Gbps. Only support upgrade.
	BaseBandwidth pulumi.StringPtrInput
	// Domain retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	DomainCount pulumi.StringPtrInput
	// Name of the instance. This name can have a string of 1 to 63 characters.
	Name pulumi.StringPtrInput
	// The duration that you will buy Ddoscoo instance (in month). Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify "period".
	Period pulumi.IntPtrInput
	// Port retransmission rule count of the instance. At least 50. Increase 5 per step, such as 55, 60, 65. Only support upgrade.
	PortCount pulumi.StringPtrInput
	// Business bandwidth of the instance. At leaset 100. Increased 100 per step, such as 100, 200, 300. The unit is Mbps. Only support upgrade.
	ServiceBandwidth pulumi.StringPtrInput
}

func (DdosCooInstanceState) ElementType

func (DdosCooInstanceState) ElementType() reflect.Type

type DnsDomain added in v2.3.3

type DnsDomain struct {
	pulumi.CustomResourceState

	DnsServers pulumi.StringArrayOutput `pulumi:"dnsServers"`
	// The domain ID.
	DomainId pulumi.StringOutput `pulumi:"domainId"`
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId pulumi.StringPtrOutput `pulumi:"groupId"`
	// User language.
	Lang pulumi.StringPtrOutput `pulumi:"lang"`
	// Remarks information for your domain name.
	Remark pulumi.StringPtrOutput `pulumi:"remark"`
	// The Id of resource group which the dns domain belongs.
	ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"`
	// A mapping of tags to assign to the resource.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a DNS domain resource.

> **NOTE:** The domain name which you want to add must be already registered and had not added by another account. Every domain name can only exist in a unique group.

> **NOTE:** Available in v1.81.0+.

func GetDnsDomain added in v2.3.3

func GetDnsDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DnsDomainState, opts ...pulumi.ResourceOption) (*DnsDomain, error)

GetDnsDomain gets an existing DnsDomain resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDnsDomain added in v2.3.3

func NewDnsDomain(ctx *pulumi.Context,
	name string, args *DnsDomainArgs, opts ...pulumi.ResourceOption) (*DnsDomain, error)

NewDnsDomain registers a new resource with the given unique name, arguments, and options.

type DnsDomainArgs added in v2.3.3

type DnsDomainArgs struct {
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	DomainName pulumi.StringInput
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId pulumi.StringPtrInput
	// User language.
	Lang pulumi.StringPtrInput
	// Remarks information for your domain name.
	Remark pulumi.StringPtrInput
	// The Id of resource group which the dns domain belongs.
	ResourceGroupId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
	Tags pulumi.MapInput
}

The set of arguments for constructing a DnsDomain resource.

func (DnsDomainArgs) ElementType added in v2.3.3

func (DnsDomainArgs) ElementType() reflect.Type

type DnsDomainState added in v2.3.3

type DnsDomainState struct {
	DnsServers pulumi.StringArrayInput
	// The domain ID.
	DomainId pulumi.StringPtrInput
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters(domain name subject, excluding suffix), must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	DomainName pulumi.StringPtrInput
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId pulumi.StringPtrInput
	// User language.
	Lang pulumi.StringPtrInput
	// Remarks information for your domain name.
	Remark pulumi.StringPtrInput
	// The Id of resource group which the dns domain belongs.
	ResourceGroupId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	// - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
	// - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
	Tags pulumi.MapInput
}

func (DnsDomainState) ElementType added in v2.3.3

func (DnsDomainState) ElementType() reflect.Type

type Domain deprecated

type Domain struct {
	pulumi.CustomResourceState

	// A list of the dns server name.
	DnsServers pulumi.StringArrayOutput `pulumi:"dnsServers"`
	// The domain ID.
	DomainId pulumi.StringOutput `pulumi:"domainId"`
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId pulumi.StringPtrOutput `pulumi:"groupId"`
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"`
}

Deprecated: This resource has been deprecated in favour of DnsDomain

func GetDomain

func GetDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainState, opts ...pulumi.ResourceOption) (*Domain, error)

GetDomain gets an existing Domain resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDomain

func NewDomain(ctx *pulumi.Context,
	name string, args *DomainArgs, opts ...pulumi.ResourceOption) (*Domain, error)

NewDomain registers a new resource with the given unique name, arguments, and options.

type DomainArgs

type DomainArgs struct {
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId pulumi.StringPtrInput
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	Name pulumi.StringPtrInput
	// The Id of resource group which the dns belongs.
	ResourceGroupId pulumi.StringPtrInput
}

The set of arguments for constructing a Domain resource.

func (DomainArgs) ElementType

func (DomainArgs) ElementType() reflect.Type

type DomainAttachment added in v2.1.0

type DomainAttachment struct {
	pulumi.CustomResourceState

	// The domain names bound to the DNS instance.
	DomainNames pulumi.StringArrayOutput `pulumi:"domainNames"`
	// The id of the DNS instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
}

Provides bind the domain name to the DNS instance resource.

> **NOTE:** Available in v1.80.0+.

func GetDomainAttachment added in v2.1.0

func GetDomainAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainAttachmentState, opts ...pulumi.ResourceOption) (*DomainAttachment, error)

GetDomainAttachment gets an existing DomainAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDomainAttachment added in v2.1.0

func NewDomainAttachment(ctx *pulumi.Context,
	name string, args *DomainAttachmentArgs, opts ...pulumi.ResourceOption) (*DomainAttachment, error)

NewDomainAttachment registers a new resource with the given unique name, arguments, and options.

type DomainAttachmentArgs added in v2.1.0

type DomainAttachmentArgs struct {
	// The domain names bound to the DNS instance.
	DomainNames pulumi.StringArrayInput
	// The id of the DNS instance.
	InstanceId pulumi.StringInput
}

The set of arguments for constructing a DomainAttachment resource.

func (DomainAttachmentArgs) ElementType added in v2.1.0

func (DomainAttachmentArgs) ElementType() reflect.Type

type DomainAttachmentState added in v2.1.0

type DomainAttachmentState struct {
	// The domain names bound to the DNS instance.
	DomainNames pulumi.StringArrayInput
	// The id of the DNS instance.
	InstanceId pulumi.StringPtrInput
}

func (DomainAttachmentState) ElementType added in v2.1.0

func (DomainAttachmentState) ElementType() reflect.Type

type DomainState

type DomainState struct {
	// A list of the dns server name.
	DnsServers pulumi.StringArrayInput
	// The domain ID.
	DomainId pulumi.StringPtrInput
	// Id of the group in which the domain will add. If not supplied, then use default group.
	GroupId pulumi.StringPtrInput
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	Name pulumi.StringPtrInput
	// The Id of resource group which the dns belongs.
	ResourceGroupId pulumi.StringPtrInput
}

func (DomainState) ElementType

func (DomainState) ElementType() reflect.Type

type GetDomainGroupsArgs

type GetDomainGroupsArgs struct {
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of arguments for invoking getDomainGroups.

type GetDomainGroupsGroup

type GetDomainGroupsGroup struct {
	GroupId   string `pulumi:"groupId"`
	GroupName string `pulumi:"groupName"`
}

type GetDomainGroupsGroupArgs

type GetDomainGroupsGroupArgs struct {
	GroupId   pulumi.StringInput `pulumi:"groupId"`
	GroupName pulumi.StringInput `pulumi:"groupName"`
}

func (GetDomainGroupsGroupArgs) ElementType

func (GetDomainGroupsGroupArgs) ElementType() reflect.Type

func (GetDomainGroupsGroupArgs) ToGetDomainGroupsGroupOutput

func (i GetDomainGroupsGroupArgs) ToGetDomainGroupsGroupOutput() GetDomainGroupsGroupOutput

func (GetDomainGroupsGroupArgs) ToGetDomainGroupsGroupOutputWithContext

func (i GetDomainGroupsGroupArgs) ToGetDomainGroupsGroupOutputWithContext(ctx context.Context) GetDomainGroupsGroupOutput

type GetDomainGroupsGroupArray

type GetDomainGroupsGroupArray []GetDomainGroupsGroupInput

func (GetDomainGroupsGroupArray) ElementType

func (GetDomainGroupsGroupArray) ElementType() reflect.Type

func (GetDomainGroupsGroupArray) ToGetDomainGroupsGroupArrayOutput

func (i GetDomainGroupsGroupArray) ToGetDomainGroupsGroupArrayOutput() GetDomainGroupsGroupArrayOutput

func (GetDomainGroupsGroupArray) ToGetDomainGroupsGroupArrayOutputWithContext

func (i GetDomainGroupsGroupArray) ToGetDomainGroupsGroupArrayOutputWithContext(ctx context.Context) GetDomainGroupsGroupArrayOutput

type GetDomainGroupsGroupArrayInput

type GetDomainGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetDomainGroupsGroupArrayOutput() GetDomainGroupsGroupArrayOutput
	ToGetDomainGroupsGroupArrayOutputWithContext(context.Context) GetDomainGroupsGroupArrayOutput
}

GetDomainGroupsGroupArrayInput is an input type that accepts GetDomainGroupsGroupArray and GetDomainGroupsGroupArrayOutput values. You can construct a concrete instance of `GetDomainGroupsGroupArrayInput` via:

GetDomainGroupsGroupArray{ GetDomainGroupsGroupArgs{...} }

type GetDomainGroupsGroupArrayOutput

type GetDomainGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetDomainGroupsGroupArrayOutput) ElementType

func (GetDomainGroupsGroupArrayOutput) Index

func (GetDomainGroupsGroupArrayOutput) ToGetDomainGroupsGroupArrayOutput

func (o GetDomainGroupsGroupArrayOutput) ToGetDomainGroupsGroupArrayOutput() GetDomainGroupsGroupArrayOutput

func (GetDomainGroupsGroupArrayOutput) ToGetDomainGroupsGroupArrayOutputWithContext

func (o GetDomainGroupsGroupArrayOutput) ToGetDomainGroupsGroupArrayOutputWithContext(ctx context.Context) GetDomainGroupsGroupArrayOutput

type GetDomainGroupsGroupInput

type GetDomainGroupsGroupInput interface {
	pulumi.Input

	ToGetDomainGroupsGroupOutput() GetDomainGroupsGroupOutput
	ToGetDomainGroupsGroupOutputWithContext(context.Context) GetDomainGroupsGroupOutput
}

GetDomainGroupsGroupInput is an input type that accepts GetDomainGroupsGroupArgs and GetDomainGroupsGroupOutput values. You can construct a concrete instance of `GetDomainGroupsGroupInput` via:

GetDomainGroupsGroupArgs{...}

type GetDomainGroupsGroupOutput

type GetDomainGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetDomainGroupsGroupOutput) ElementType

func (GetDomainGroupsGroupOutput) ElementType() reflect.Type

func (GetDomainGroupsGroupOutput) GroupId

func (GetDomainGroupsGroupOutput) GroupName

func (GetDomainGroupsGroupOutput) ToGetDomainGroupsGroupOutput

func (o GetDomainGroupsGroupOutput) ToGetDomainGroupsGroupOutput() GetDomainGroupsGroupOutput

func (GetDomainGroupsGroupOutput) ToGetDomainGroupsGroupOutputWithContext

func (o GetDomainGroupsGroupOutput) ToGetDomainGroupsGroupOutputWithContext(ctx context.Context) GetDomainGroupsGroupOutput

type GetDomainGroupsResult

type GetDomainGroupsResult struct {
	Groups []GetDomainGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getDomainGroups.

func GetDomainGroups

func GetDomainGroups(ctx *pulumi.Context, args *GetDomainGroupsArgs, opts ...pulumi.InvokeOption) (*GetDomainGroupsResult, error)

type GetDomainRecordsArgs

type GetDomainRecordsArgs struct {
	DomainName      string   `pulumi:"domainName"`
	HostRecordRegex *string  `pulumi:"hostRecordRegex"`
	Ids             []string `pulumi:"ids"`
	IsLocked        *bool    `pulumi:"isLocked"`
	Line            *string  `pulumi:"line"`
	OutputFile      *string  `pulumi:"outputFile"`
	Status          *string  `pulumi:"status"`
	Type            *string  `pulumi:"type"`
	ValueRegex      *string  `pulumi:"valueRegex"`
}

A collection of arguments for invoking getDomainRecords.

type GetDomainRecordsRecord

type GetDomainRecordsRecord struct {
	DomainName string  `pulumi:"domainName"`
	HostRecord string  `pulumi:"hostRecord"`
	Line       string  `pulumi:"line"`
	Locked     bool    `pulumi:"locked"`
	Priority   int     `pulumi:"priority"`
	RecordId   string  `pulumi:"recordId"`
	Status     string  `pulumi:"status"`
	Ttl        float64 `pulumi:"ttl"`
	Type       string  `pulumi:"type"`
	Value      string  `pulumi:"value"`
}

type GetDomainRecordsRecordArgs

type GetDomainRecordsRecordArgs struct {
	DomainName pulumi.StringInput  `pulumi:"domainName"`
	HostRecord pulumi.StringInput  `pulumi:"hostRecord"`
	Line       pulumi.StringInput  `pulumi:"line"`
	Locked     pulumi.BoolInput    `pulumi:"locked"`
	Priority   pulumi.IntInput     `pulumi:"priority"`
	RecordId   pulumi.StringInput  `pulumi:"recordId"`
	Status     pulumi.StringInput  `pulumi:"status"`
	Ttl        pulumi.Float64Input `pulumi:"ttl"`
	Type       pulumi.StringInput  `pulumi:"type"`
	Value      pulumi.StringInput  `pulumi:"value"`
}

func (GetDomainRecordsRecordArgs) ElementType

func (GetDomainRecordsRecordArgs) ElementType() reflect.Type

func (GetDomainRecordsRecordArgs) ToGetDomainRecordsRecordOutput

func (i GetDomainRecordsRecordArgs) ToGetDomainRecordsRecordOutput() GetDomainRecordsRecordOutput

func (GetDomainRecordsRecordArgs) ToGetDomainRecordsRecordOutputWithContext

func (i GetDomainRecordsRecordArgs) ToGetDomainRecordsRecordOutputWithContext(ctx context.Context) GetDomainRecordsRecordOutput

type GetDomainRecordsRecordArray

type GetDomainRecordsRecordArray []GetDomainRecordsRecordInput

func (GetDomainRecordsRecordArray) ElementType

func (GetDomainRecordsRecordArray) ToGetDomainRecordsRecordArrayOutput

func (i GetDomainRecordsRecordArray) ToGetDomainRecordsRecordArrayOutput() GetDomainRecordsRecordArrayOutput

func (GetDomainRecordsRecordArray) ToGetDomainRecordsRecordArrayOutputWithContext

func (i GetDomainRecordsRecordArray) ToGetDomainRecordsRecordArrayOutputWithContext(ctx context.Context) GetDomainRecordsRecordArrayOutput

type GetDomainRecordsRecordArrayInput

type GetDomainRecordsRecordArrayInput interface {
	pulumi.Input

	ToGetDomainRecordsRecordArrayOutput() GetDomainRecordsRecordArrayOutput
	ToGetDomainRecordsRecordArrayOutputWithContext(context.Context) GetDomainRecordsRecordArrayOutput
}

GetDomainRecordsRecordArrayInput is an input type that accepts GetDomainRecordsRecordArray and GetDomainRecordsRecordArrayOutput values. You can construct a concrete instance of `GetDomainRecordsRecordArrayInput` via:

GetDomainRecordsRecordArray{ GetDomainRecordsRecordArgs{...} }

type GetDomainRecordsRecordArrayOutput

type GetDomainRecordsRecordArrayOutput struct{ *pulumi.OutputState }

func (GetDomainRecordsRecordArrayOutput) ElementType

func (GetDomainRecordsRecordArrayOutput) Index

func (GetDomainRecordsRecordArrayOutput) ToGetDomainRecordsRecordArrayOutput

func (o GetDomainRecordsRecordArrayOutput) ToGetDomainRecordsRecordArrayOutput() GetDomainRecordsRecordArrayOutput

func (GetDomainRecordsRecordArrayOutput) ToGetDomainRecordsRecordArrayOutputWithContext

func (o GetDomainRecordsRecordArrayOutput) ToGetDomainRecordsRecordArrayOutputWithContext(ctx context.Context) GetDomainRecordsRecordArrayOutput

type GetDomainRecordsRecordInput

type GetDomainRecordsRecordInput interface {
	pulumi.Input

	ToGetDomainRecordsRecordOutput() GetDomainRecordsRecordOutput
	ToGetDomainRecordsRecordOutputWithContext(context.Context) GetDomainRecordsRecordOutput
}

GetDomainRecordsRecordInput is an input type that accepts GetDomainRecordsRecordArgs and GetDomainRecordsRecordOutput values. You can construct a concrete instance of `GetDomainRecordsRecordInput` via:

GetDomainRecordsRecordArgs{...}

type GetDomainRecordsRecordOutput

type GetDomainRecordsRecordOutput struct{ *pulumi.OutputState }

func (GetDomainRecordsRecordOutput) DomainName

func (GetDomainRecordsRecordOutput) ElementType

func (GetDomainRecordsRecordOutput) HostRecord

func (GetDomainRecordsRecordOutput) Line

func (GetDomainRecordsRecordOutput) Locked

func (GetDomainRecordsRecordOutput) Priority

func (GetDomainRecordsRecordOutput) RecordId

func (GetDomainRecordsRecordOutput) Status

func (GetDomainRecordsRecordOutput) ToGetDomainRecordsRecordOutput

func (o GetDomainRecordsRecordOutput) ToGetDomainRecordsRecordOutput() GetDomainRecordsRecordOutput

func (GetDomainRecordsRecordOutput) ToGetDomainRecordsRecordOutputWithContext

func (o GetDomainRecordsRecordOutput) ToGetDomainRecordsRecordOutputWithContext(ctx context.Context) GetDomainRecordsRecordOutput

func (GetDomainRecordsRecordOutput) Ttl

func (GetDomainRecordsRecordOutput) Type

func (GetDomainRecordsRecordOutput) Value

type GetDomainRecordsResult

type GetDomainRecordsResult struct {
	DomainName      string  `pulumi:"domainName"`
	HostRecordRegex *string `pulumi:"hostRecordRegex"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                   `pulumi:"id"`
	Ids        []string                 `pulumi:"ids"`
	IsLocked   *bool                    `pulumi:"isLocked"`
	Line       *string                  `pulumi:"line"`
	OutputFile *string                  `pulumi:"outputFile"`
	Records    []GetDomainRecordsRecord `pulumi:"records"`
	Status     *string                  `pulumi:"status"`
	Type       *string                  `pulumi:"type"`
	Urls       []string                 `pulumi:"urls"`
	ValueRegex *string                  `pulumi:"valueRegex"`
}

A collection of values returned by getDomainRecords.

type GetDomainTxtGuidArgs added in v2.1.0

type GetDomainTxtGuidArgs struct {
	// Verified domain name.
	DomainName string `pulumi:"domainName"`
	// User language.
	Lang       *string `pulumi:"lang"`
	OutputFile *string `pulumi:"outputFile"`
	// Txt verification function. Value:`ADD_SUB_DOMAIN`, `RETRIEVAL`.
	Type string `pulumi:"type"`
}

A collection of arguments for invoking getDomainTxtGuid.

type GetDomainTxtGuidResult added in v2.1.0

type GetDomainTxtGuidResult struct {
	DomainName string `pulumi:"domainName"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	Lang       *string `pulumi:"lang"`
	OutputFile *string `pulumi:"outputFile"`
	// Host record.
	Rr   string `pulumi:"rr"`
	Type string `pulumi:"type"`
	// Record the value.
	Value string `pulumi:"value"`
}

A collection of values returned by getDomainTxtGuid.

func GetDomainTxtGuid added in v2.1.0

func GetDomainTxtGuid(ctx *pulumi.Context, args *GetDomainTxtGuidArgs, opts ...pulumi.InvokeOption) (*GetDomainTxtGuidResult, error)

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

> **NOTE:** Available in v1.80.0+.

type GetDomainsArgs

type GetDomainsArgs struct {
	// Specifies whether the domain is from Alibaba Cloud or not.
	AliDomain *bool `pulumi:"aliDomain"`
	// A regex string to filter results by the domain name.
	DomainNameRegex *string `pulumi:"domainNameRegex"`
	// A regex string to filter results by the group name.
	GroupNameRegex *string `pulumi:"groupNameRegex"`
	// - A list of domain IDs.
	Ids []string `pulumi:"ids"`
	// Cloud analysis product ID.
	InstanceId *string `pulumi:"instanceId"`
	OutputFile *string `pulumi:"outputFile"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	// Cloud analysis version code.
	VersionCode *string `pulumi:"versionCode"`
}

A collection of arguments for invoking getDomains.

type GetDomainsDomain

type GetDomainsDomain struct {
	// Specifies whether the domain is from Alibaba Cloud or not.
	AliDomain bool `pulumi:"aliDomain"`
	// DNS list of the domain in the analysis system.
	DnsServers []string `pulumi:"dnsServers"`
	// ID of the domain.
	DomainId string `pulumi:"domainId"`
	// Name of the domain.
	DomainName string `pulumi:"domainName"`
	// Id of group that contains the domain.
	GroupId string `pulumi:"groupId"`
	// Name of group that contains the domain.
	GroupName string `pulumi:"groupName"`
	// Cloud analysis product ID.
	InstanceId string `pulumi:"instanceId"`
	// Punycode of the Chinese domain.
	PunyCode string `pulumi:"punyCode"`
	// Cloud analysis version code.
	VersionCode string `pulumi:"versionCode"`
}

type GetDomainsDomainArgs

type GetDomainsDomainArgs struct {
	// Specifies whether the domain is from Alibaba Cloud or not.
	AliDomain pulumi.BoolInput `pulumi:"aliDomain"`
	// DNS list of the domain in the analysis system.
	DnsServers pulumi.StringArrayInput `pulumi:"dnsServers"`
	// ID of the domain.
	DomainId pulumi.StringInput `pulumi:"domainId"`
	// Name of the domain.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// Id of group that contains the domain.
	GroupId pulumi.StringInput `pulumi:"groupId"`
	// Name of group that contains the domain.
	GroupName pulumi.StringInput `pulumi:"groupName"`
	// Cloud analysis product ID.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Punycode of the Chinese domain.
	PunyCode pulumi.StringInput `pulumi:"punyCode"`
	// Cloud analysis version code.
	VersionCode pulumi.StringInput `pulumi:"versionCode"`
}

func (GetDomainsDomainArgs) ElementType

func (GetDomainsDomainArgs) ElementType() reflect.Type

func (GetDomainsDomainArgs) ToGetDomainsDomainOutput

func (i GetDomainsDomainArgs) ToGetDomainsDomainOutput() GetDomainsDomainOutput

func (GetDomainsDomainArgs) ToGetDomainsDomainOutputWithContext

func (i GetDomainsDomainArgs) ToGetDomainsDomainOutputWithContext(ctx context.Context) GetDomainsDomainOutput

type GetDomainsDomainArray

type GetDomainsDomainArray []GetDomainsDomainInput

func (GetDomainsDomainArray) ElementType

func (GetDomainsDomainArray) ElementType() reflect.Type

func (GetDomainsDomainArray) ToGetDomainsDomainArrayOutput

func (i GetDomainsDomainArray) ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput

func (GetDomainsDomainArray) ToGetDomainsDomainArrayOutputWithContext

func (i GetDomainsDomainArray) ToGetDomainsDomainArrayOutputWithContext(ctx context.Context) GetDomainsDomainArrayOutput

type GetDomainsDomainArrayInput

type GetDomainsDomainArrayInput interface {
	pulumi.Input

	ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput
	ToGetDomainsDomainArrayOutputWithContext(context.Context) GetDomainsDomainArrayOutput
}

GetDomainsDomainArrayInput is an input type that accepts GetDomainsDomainArray and GetDomainsDomainArrayOutput values. You can construct a concrete instance of `GetDomainsDomainArrayInput` via:

GetDomainsDomainArray{ GetDomainsDomainArgs{...} }

type GetDomainsDomainArrayOutput

type GetDomainsDomainArrayOutput struct{ *pulumi.OutputState }

func (GetDomainsDomainArrayOutput) ElementType

func (GetDomainsDomainArrayOutput) Index

func (GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutput

func (o GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput

func (GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutputWithContext

func (o GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutputWithContext(ctx context.Context) GetDomainsDomainArrayOutput

type GetDomainsDomainInput

type GetDomainsDomainInput interface {
	pulumi.Input

	ToGetDomainsDomainOutput() GetDomainsDomainOutput
	ToGetDomainsDomainOutputWithContext(context.Context) GetDomainsDomainOutput
}

GetDomainsDomainInput is an input type that accepts GetDomainsDomainArgs and GetDomainsDomainOutput values. You can construct a concrete instance of `GetDomainsDomainInput` via:

GetDomainsDomainArgs{...}

type GetDomainsDomainOutput

type GetDomainsDomainOutput struct{ *pulumi.OutputState }

func (GetDomainsDomainOutput) AliDomain

Specifies whether the domain is from Alibaba Cloud or not.

func (GetDomainsDomainOutput) DnsServers

DNS list of the domain in the analysis system.

func (GetDomainsDomainOutput) DomainId

ID of the domain.

func (GetDomainsDomainOutput) DomainName

Name of the domain.

func (GetDomainsDomainOutput) ElementType

func (GetDomainsDomainOutput) ElementType() reflect.Type

func (GetDomainsDomainOutput) GroupId

Id of group that contains the domain.

func (GetDomainsDomainOutput) GroupName

Name of group that contains the domain.

func (GetDomainsDomainOutput) InstanceId

Cloud analysis product ID.

func (GetDomainsDomainOutput) PunyCode

Punycode of the Chinese domain.

func (GetDomainsDomainOutput) ToGetDomainsDomainOutput

func (o GetDomainsDomainOutput) ToGetDomainsDomainOutput() GetDomainsDomainOutput

func (GetDomainsDomainOutput) ToGetDomainsDomainOutputWithContext

func (o GetDomainsDomainOutput) ToGetDomainsDomainOutputWithContext(ctx context.Context) GetDomainsDomainOutput

func (GetDomainsDomainOutput) VersionCode

func (o GetDomainsDomainOutput) VersionCode() pulumi.StringOutput

Cloud analysis version code.

type GetDomainsResult

type GetDomainsResult struct {
	// Indicates whether the domain is an Alibaba Cloud domain.
	AliDomain       *bool   `pulumi:"aliDomain"`
	DomainNameRegex *string `pulumi:"domainNameRegex"`
	// A list of domains. Each element contains the following attributes:
	Domains        []GetDomainsDomain `pulumi:"domains"`
	GroupNameRegex *string            `pulumi:"groupNameRegex"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of domain IDs.
	Ids []string `pulumi:"ids"`
	// Cloud analysis product ID of the domain.
	InstanceId *string `pulumi:"instanceId"`
	// A list of domain names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// The Id of resource group which the dns belongs.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	// Cloud analysis version code of the domain.
	VersionCode *string `pulumi:"versionCode"`
}

A collection of values returned by getDomains.

func GetDomains

func GetDomains(ctx *pulumi.Context, args *GetDomainsArgs, opts ...pulumi.InvokeOption) (*GetDomainsResult, error)

This data source provides a list of DNS Domains in an Alibaba Cloud account according to the specified filters.

type GetGroupsArgs

type GetGroupsArgs struct {
	// A list of group IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by group name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getGroups.

type GetGroupsGroup

type GetGroupsGroup struct {
	// Id of the group.
	GroupId string `pulumi:"groupId"`
	// Name of the group.
	GroupName string `pulumi:"groupName"`
}

type GetGroupsGroupArgs

type GetGroupsGroupArgs struct {
	// Id of the group.
	GroupId pulumi.StringInput `pulumi:"groupId"`
	// Name of the group.
	GroupName pulumi.StringInput `pulumi:"groupName"`
}

func (GetGroupsGroupArgs) ElementType

func (GetGroupsGroupArgs) ElementType() reflect.Type

func (GetGroupsGroupArgs) ToGetGroupsGroupOutput

func (i GetGroupsGroupArgs) ToGetGroupsGroupOutput() GetGroupsGroupOutput

func (GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext

func (i GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput

type GetGroupsGroupArray

type GetGroupsGroupArray []GetGroupsGroupInput

func (GetGroupsGroupArray) ElementType

func (GetGroupsGroupArray) ElementType() reflect.Type

func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutput

func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput

func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext

func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput

type GetGroupsGroupArrayInput

type GetGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput
	ToGetGroupsGroupArrayOutputWithContext(context.Context) GetGroupsGroupArrayOutput
}

GetGroupsGroupArrayInput is an input type that accepts GetGroupsGroupArray and GetGroupsGroupArrayOutput values. You can construct a concrete instance of `GetGroupsGroupArrayInput` via:

GetGroupsGroupArray{ GetGroupsGroupArgs{...} }

type GetGroupsGroupArrayOutput

type GetGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetGroupsGroupArrayOutput) ElementType

func (GetGroupsGroupArrayOutput) ElementType() reflect.Type

func (GetGroupsGroupArrayOutput) Index

func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput

func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput

func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext

func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput

type GetGroupsGroupInput

type GetGroupsGroupInput interface {
	pulumi.Input

	ToGetGroupsGroupOutput() GetGroupsGroupOutput
	ToGetGroupsGroupOutputWithContext(context.Context) GetGroupsGroupOutput
}

GetGroupsGroupInput is an input type that accepts GetGroupsGroupArgs and GetGroupsGroupOutput values. You can construct a concrete instance of `GetGroupsGroupInput` via:

GetGroupsGroupArgs{...}

type GetGroupsGroupOutput

type GetGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetGroupsGroupOutput) ElementType

func (GetGroupsGroupOutput) ElementType() reflect.Type

func (GetGroupsGroupOutput) GroupId

Id of the group.

func (GetGroupsGroupOutput) GroupName

Name of the group.

func (GetGroupsGroupOutput) ToGetGroupsGroupOutput

func (o GetGroupsGroupOutput) ToGetGroupsGroupOutput() GetGroupsGroupOutput

func (GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext

func (o GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput

type GetGroupsResult

type GetGroupsResult struct {
	// A list of groups. Each element contains the following attributes:
	Groups []GetGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of group IDs.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of group names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getGroups.

func GetGroups

func GetGroups(ctx *pulumi.Context, args *GetGroupsArgs, opts ...pulumi.InvokeOption) (*GetGroupsResult, error)

This data source provides a list of DNS Domain Groups in an Alibaba Cloud account according to the specified filters.

type GetRecordsArgs

type GetRecordsArgs struct {
	// The domain name associated to the records.
	DomainName string `pulumi:"domainName"`
	// Host record regex.
	HostRecordRegex *string `pulumi:"hostRecordRegex"`
	// A list of record IDs.
	Ids []string `pulumi:"ids"`
	// Whether the record is locked or not.
	IsLocked *bool `pulumi:"isLocked"`
	// ISP line. Valid items are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)
	Line       *string `pulumi:"line"`
	OutputFile *string `pulumi:"outputFile"`
	// Record status. Valid items are `ENABLE` and `DISABLE`.
	Status *string `pulumi:"status"`
	// Record type. Valid items are `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .
	Type *string `pulumi:"type"`
	// Host record value regex.
	ValueRegex *string `pulumi:"valueRegex"`
}

A collection of arguments for invoking getRecords.

type GetRecordsRecord

type GetRecordsRecord struct {
	// The domain name associated to the records.
	DomainName string `pulumi:"domainName"`
	// Host record of the domain.
	HostRecord string `pulumi:"hostRecord"`
	// ISP line. Valid items are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)
	Line string `pulumi:"line"`
	// Indicates whether the record is locked.
	Locked bool `pulumi:"locked"`
	// Priority of the `MX` record.
	Priority int `pulumi:"priority"`
	// ID of the record.
	RecordId string `pulumi:"recordId"`
	// Record status. Valid items are `ENABLE` and `DISABLE`.
	Status string `pulumi:"status"`
	// TTL of the record.
	Ttl float64 `pulumi:"ttl"`
	// Record type. Valid items are `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .
	Type string `pulumi:"type"`
	// Host record value of the domain.
	Value string `pulumi:"value"`
}

type GetRecordsRecordArgs

type GetRecordsRecordArgs struct {
	// The domain name associated to the records.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// Host record of the domain.
	HostRecord pulumi.StringInput `pulumi:"hostRecord"`
	// ISP line. Valid items are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)
	Line pulumi.StringInput `pulumi:"line"`
	// Indicates whether the record is locked.
	Locked pulumi.BoolInput `pulumi:"locked"`
	// Priority of the `MX` record.
	Priority pulumi.IntInput `pulumi:"priority"`
	// ID of the record.
	RecordId pulumi.StringInput `pulumi:"recordId"`
	// Record status. Valid items are `ENABLE` and `DISABLE`.
	Status pulumi.StringInput `pulumi:"status"`
	// TTL of the record.
	Ttl pulumi.Float64Input `pulumi:"ttl"`
	// Record type. Valid items are `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .
	Type pulumi.StringInput `pulumi:"type"`
	// Host record value of the domain.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetRecordsRecordArgs) ElementType

func (GetRecordsRecordArgs) ElementType() reflect.Type

func (GetRecordsRecordArgs) ToGetRecordsRecordOutput

func (i GetRecordsRecordArgs) ToGetRecordsRecordOutput() GetRecordsRecordOutput

func (GetRecordsRecordArgs) ToGetRecordsRecordOutputWithContext

func (i GetRecordsRecordArgs) ToGetRecordsRecordOutputWithContext(ctx context.Context) GetRecordsRecordOutput

type GetRecordsRecordArray

type GetRecordsRecordArray []GetRecordsRecordInput

func (GetRecordsRecordArray) ElementType

func (GetRecordsRecordArray) ElementType() reflect.Type

func (GetRecordsRecordArray) ToGetRecordsRecordArrayOutput

func (i GetRecordsRecordArray) ToGetRecordsRecordArrayOutput() GetRecordsRecordArrayOutput

func (GetRecordsRecordArray) ToGetRecordsRecordArrayOutputWithContext

func (i GetRecordsRecordArray) ToGetRecordsRecordArrayOutputWithContext(ctx context.Context) GetRecordsRecordArrayOutput

type GetRecordsRecordArrayInput

type GetRecordsRecordArrayInput interface {
	pulumi.Input

	ToGetRecordsRecordArrayOutput() GetRecordsRecordArrayOutput
	ToGetRecordsRecordArrayOutputWithContext(context.Context) GetRecordsRecordArrayOutput
}

GetRecordsRecordArrayInput is an input type that accepts GetRecordsRecordArray and GetRecordsRecordArrayOutput values. You can construct a concrete instance of `GetRecordsRecordArrayInput` via:

GetRecordsRecordArray{ GetRecordsRecordArgs{...} }

type GetRecordsRecordArrayOutput

type GetRecordsRecordArrayOutput struct{ *pulumi.OutputState }

func (GetRecordsRecordArrayOutput) ElementType

func (GetRecordsRecordArrayOutput) Index

func (GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutput

func (o GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutput() GetRecordsRecordArrayOutput

func (GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutputWithContext

func (o GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutputWithContext(ctx context.Context) GetRecordsRecordArrayOutput

type GetRecordsRecordInput

type GetRecordsRecordInput interface {
	pulumi.Input

	ToGetRecordsRecordOutput() GetRecordsRecordOutput
	ToGetRecordsRecordOutputWithContext(context.Context) GetRecordsRecordOutput
}

GetRecordsRecordInput is an input type that accepts GetRecordsRecordArgs and GetRecordsRecordOutput values. You can construct a concrete instance of `GetRecordsRecordInput` via:

GetRecordsRecordArgs{...}

type GetRecordsRecordOutput

type GetRecordsRecordOutput struct{ *pulumi.OutputState }

func (GetRecordsRecordOutput) DomainName

The domain name associated to the records.

func (GetRecordsRecordOutput) ElementType

func (GetRecordsRecordOutput) ElementType() reflect.Type

func (GetRecordsRecordOutput) HostRecord

Host record of the domain.

func (GetRecordsRecordOutput) Line

ISP line. Valid items are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm)

func (GetRecordsRecordOutput) Locked

Indicates whether the record is locked.

func (GetRecordsRecordOutput) Priority

Priority of the `MX` record.

func (GetRecordsRecordOutput) RecordId

ID of the record.

func (GetRecordsRecordOutput) Status

Record status. Valid items are `ENABLE` and `DISABLE`.

func (GetRecordsRecordOutput) ToGetRecordsRecordOutput

func (o GetRecordsRecordOutput) ToGetRecordsRecordOutput() GetRecordsRecordOutput

func (GetRecordsRecordOutput) ToGetRecordsRecordOutputWithContext

func (o GetRecordsRecordOutput) ToGetRecordsRecordOutputWithContext(ctx context.Context) GetRecordsRecordOutput

func (GetRecordsRecordOutput) Ttl

TTL of the record.

func (GetRecordsRecordOutput) Type

Record type. Valid items are `A`, `NS`, `MX`, `TXT`, `CNAME`, `SRV`, `AAAA`, `REDIRECT_URL`, `FORWORD_URL` .

func (GetRecordsRecordOutput) Value

Host record value of the domain.

type GetRecordsResult

type GetRecordsResult struct {
	// Name of the domain the record belongs to.
	DomainName      string  `pulumi:"domainName"`
	HostRecordRegex *string `pulumi:"hostRecordRegex"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of record IDs.
	Ids      []string `pulumi:"ids"`
	IsLocked *bool    `pulumi:"isLocked"`
	// ISP line of the record.
	Line       *string `pulumi:"line"`
	OutputFile *string `pulumi:"outputFile"`
	// A list of records. Each element contains the following attributes:
	Records []GetRecordsRecord `pulumi:"records"`
	// Status of the record.
	Status *string `pulumi:"status"`
	// Type of the record.
	Type *string `pulumi:"type"`
	// A list of entire URLs. Each item format as `<host_record>.<domain_name>`.
	Urls       []string `pulumi:"urls"`
	ValueRegex *string  `pulumi:"valueRegex"`
}

A collection of values returned by getRecords.

func GetRecords

func GetRecords(ctx *pulumi.Context, args *GetRecordsArgs, opts ...pulumi.InvokeOption) (*GetRecordsResult, error)

This data source provides a list of DNS Domain Records in an Alibaba Cloud account according to the specified filters.

type GetResolutionLinesArgs

type GetResolutionLinesArgs struct {
	// Domain Name.
	DomainName *string `pulumi:"domainName"`
	// language.
	Lang *string `pulumi:"lang"`
	// A list of lines codes.
	LineCodes []string `pulumi:"lineCodes"`
	// A list of line display names.
	LineDisplayNames []string `pulumi:"lineDisplayNames"`
	LineNames        []string `pulumi:"lineNames"`
	OutputFile       *string  `pulumi:"outputFile"`
	// The ip of user client.
	UserClientIp *string `pulumi:"userClientIp"`
}

A collection of arguments for invoking getResolutionLines.

type GetResolutionLinesLine

type GetResolutionLinesLine struct {
	LineCode string `pulumi:"lineCode"`
	// Line display name.
	LineDisplayName string `pulumi:"lineDisplayName"`
	// Line name.
	LineName string `pulumi:"lineName"`
}

type GetResolutionLinesLineArgs

type GetResolutionLinesLineArgs struct {
	LineCode pulumi.StringInput `pulumi:"lineCode"`
	// Line display name.
	LineDisplayName pulumi.StringInput `pulumi:"lineDisplayName"`
	// Line name.
	LineName pulumi.StringInput `pulumi:"lineName"`
}

func (GetResolutionLinesLineArgs) ElementType

func (GetResolutionLinesLineArgs) ElementType() reflect.Type

func (GetResolutionLinesLineArgs) ToGetResolutionLinesLineOutput

func (i GetResolutionLinesLineArgs) ToGetResolutionLinesLineOutput() GetResolutionLinesLineOutput

func (GetResolutionLinesLineArgs) ToGetResolutionLinesLineOutputWithContext

func (i GetResolutionLinesLineArgs) ToGetResolutionLinesLineOutputWithContext(ctx context.Context) GetResolutionLinesLineOutput

type GetResolutionLinesLineArray

type GetResolutionLinesLineArray []GetResolutionLinesLineInput

func (GetResolutionLinesLineArray) ElementType

func (GetResolutionLinesLineArray) ToGetResolutionLinesLineArrayOutput

func (i GetResolutionLinesLineArray) ToGetResolutionLinesLineArrayOutput() GetResolutionLinesLineArrayOutput

func (GetResolutionLinesLineArray) ToGetResolutionLinesLineArrayOutputWithContext

func (i GetResolutionLinesLineArray) ToGetResolutionLinesLineArrayOutputWithContext(ctx context.Context) GetResolutionLinesLineArrayOutput

type GetResolutionLinesLineArrayInput

type GetResolutionLinesLineArrayInput interface {
	pulumi.Input

	ToGetResolutionLinesLineArrayOutput() GetResolutionLinesLineArrayOutput
	ToGetResolutionLinesLineArrayOutputWithContext(context.Context) GetResolutionLinesLineArrayOutput
}

GetResolutionLinesLineArrayInput is an input type that accepts GetResolutionLinesLineArray and GetResolutionLinesLineArrayOutput values. You can construct a concrete instance of `GetResolutionLinesLineArrayInput` via:

GetResolutionLinesLineArray{ GetResolutionLinesLineArgs{...} }

type GetResolutionLinesLineArrayOutput

type GetResolutionLinesLineArrayOutput struct{ *pulumi.OutputState }

func (GetResolutionLinesLineArrayOutput) ElementType

func (GetResolutionLinesLineArrayOutput) Index

func (GetResolutionLinesLineArrayOutput) ToGetResolutionLinesLineArrayOutput

func (o GetResolutionLinesLineArrayOutput) ToGetResolutionLinesLineArrayOutput() GetResolutionLinesLineArrayOutput

func (GetResolutionLinesLineArrayOutput) ToGetResolutionLinesLineArrayOutputWithContext

func (o GetResolutionLinesLineArrayOutput) ToGetResolutionLinesLineArrayOutputWithContext(ctx context.Context) GetResolutionLinesLineArrayOutput

type GetResolutionLinesLineInput

type GetResolutionLinesLineInput interface {
	pulumi.Input

	ToGetResolutionLinesLineOutput() GetResolutionLinesLineOutput
	ToGetResolutionLinesLineOutputWithContext(context.Context) GetResolutionLinesLineOutput
}

GetResolutionLinesLineInput is an input type that accepts GetResolutionLinesLineArgs and GetResolutionLinesLineOutput values. You can construct a concrete instance of `GetResolutionLinesLineInput` via:

GetResolutionLinesLineArgs{...}

type GetResolutionLinesLineOutput

type GetResolutionLinesLineOutput struct{ *pulumi.OutputState }

func (GetResolutionLinesLineOutput) ElementType

func (GetResolutionLinesLineOutput) LineCode

func (GetResolutionLinesLineOutput) LineDisplayName

func (o GetResolutionLinesLineOutput) LineDisplayName() pulumi.StringOutput

Line display name.

func (GetResolutionLinesLineOutput) LineName

Line name.

func (GetResolutionLinesLineOutput) ToGetResolutionLinesLineOutput

func (o GetResolutionLinesLineOutput) ToGetResolutionLinesLineOutput() GetResolutionLinesLineOutput

func (GetResolutionLinesLineOutput) ToGetResolutionLinesLineOutputWithContext

func (o GetResolutionLinesLineOutput) ToGetResolutionLinesLineOutputWithContext(ctx context.Context) GetResolutionLinesLineOutput

type GetResolutionLinesResult

type GetResolutionLinesResult struct {
	DomainName *string `pulumi:"domainName"`
	// The provider-assigned unique ID for this managed resource.
	Id   string  `pulumi:"id"`
	Lang *string `pulumi:"lang"`
	// Line code.
	LineCodes []string `pulumi:"lineCodes"`
	// A list of line display names.
	LineDisplayNames []string `pulumi:"lineDisplayNames"`
	LineNames        []string `pulumi:"lineNames"`
	// A list of cloud resolution line. Each element contains the following attributes:
	Lines        []GetResolutionLinesLine `pulumi:"lines"`
	OutputFile   *string                  `pulumi:"outputFile"`
	UserClientIp *string                  `pulumi:"userClientIp"`
}

A collection of values returned by getResolutionLines.

func GetResolutionLines

func GetResolutionLines(ctx *pulumi.Context, args *GetResolutionLinesArgs, opts ...pulumi.InvokeOption) (*GetResolutionLinesResult, error)

This data source provides a list of DNS Resolution Lines in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in 1.60.0.

type Group

type Group struct {
	pulumi.CustomResourceState

	// Name of the domain group.
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides a DNS Group resource.

func GetGroup

func GetGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)

GetGroup gets an existing Group resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroup

func NewGroup(ctx *pulumi.Context,
	name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)

NewGroup registers a new resource with the given unique name, arguments, and options.

type GroupArgs

type GroupArgs struct {
	// Name of the domain group.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Group resource.

func (GroupArgs) ElementType

func (GroupArgs) ElementType() reflect.Type

type GroupState

type GroupState struct {
	// Name of the domain group.
	Name pulumi.StringPtrInput
}

func (GroupState) ElementType

func (GroupState) ElementType() reflect.Type

type Instance added in v2.1.0

type Instance struct {
	pulumi.CustomResourceState

	// DNS security level. Valid values: `no`, `basic`, `advanced`.
	DnsSecurity pulumi.StringOutput `pulumi:"dnsSecurity"`
	// Number of domain names bound.
	DomainNumbers pulumi.StringOutput `pulumi:"domainNumbers"`
	// Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Automatic renewal period, the unit is month. When setting RenewalStatus to AutoRenewal, it must be set.
	RenewPeriod pulumi.IntPtrOutput `pulumi:"renewPeriod"`
	// Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`, default to `ManualRenewal`.
	RenewalStatus pulumi.StringPtrOutput `pulumi:"renewalStatus"`
	// Paid package version. Valid values: `versionPersonal`, `versionEnterpriseBasic`, `versionEnterpriseAdvanced`.
	VersionCode pulumi.StringOutput `pulumi:"versionCode"`
	// Paid package version name.
	VersionName pulumi.StringOutput `pulumi:"versionName"`
}

Create an DNS Instance resource.

> **NOTE:** Available in v1.80.0+.

func GetInstance added in v2.1.0

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstance added in v2.1.0

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

NewInstance registers a new resource with the given unique name, arguments, and options.

type InstanceArgs added in v2.1.0

type InstanceArgs struct {
	// DNS security level. Valid values: `no`, `basic`, `advanced`.
	DnsSecurity pulumi.StringInput
	// Number of domain names bound.
	DomainNumbers pulumi.StringInput
	// Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.
	Period pulumi.IntPtrInput
	// Automatic renewal period, the unit is month. When setting RenewalStatus to AutoRenewal, it must be set.
	RenewPeriod pulumi.IntPtrInput
	// Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`, default to `ManualRenewal`.
	RenewalStatus pulumi.StringPtrInput
	// Paid package version. Valid values: `versionPersonal`, `versionEnterpriseBasic`, `versionEnterpriseAdvanced`.
	VersionCode pulumi.StringInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType added in v2.1.0

func (InstanceArgs) ElementType() reflect.Type

type InstanceState added in v2.1.0

type InstanceState struct {
	// DNS security level. Valid values: `no`, `basic`, `advanced`.
	DnsSecurity pulumi.StringPtrInput
	// Number of domain names bound.
	DomainNumbers pulumi.StringPtrInput
	// Creating a pre-paid instance, it must be set, the unit is month, please enter an integer multiple of 12 for annually paid products.
	Period pulumi.IntPtrInput
	// Automatic renewal period, the unit is month. When setting RenewalStatus to AutoRenewal, it must be set.
	RenewPeriod pulumi.IntPtrInput
	// Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`, default to `ManualRenewal`.
	RenewalStatus pulumi.StringPtrInput
	// Paid package version. Valid values: `versionPersonal`, `versionEnterpriseBasic`, `versionEnterpriseAdvanced`.
	VersionCode pulumi.StringPtrInput
	// Paid package version name.
	VersionName pulumi.StringPtrInput
}

func (InstanceState) ElementType added in v2.1.0

func (InstanceState) ElementType() reflect.Type

type Record

type Record struct {
	pulumi.CustomResourceState

	// Host record for the domain record. This hostRecord can have at most 253 characters, and each part split with "." can have at most 63 characters, and must contain only alphanumeric characters or hyphens, such as "-",".","*","@",  and must not begin or end with "-".
	HostRecord pulumi.StringOutput `pulumi:"hostRecord"`
	Locked     pulumi.BoolOutput   `pulumi:"locked"`
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	Name pulumi.StringOutput `pulumi:"name"`
	// The priority of domain record. Valid values are `[1-10]`. When the `type` is `MX`, this parameter is required.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The resolution line of domain record. Valid values are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. When the `type` is `FORWORD_URL`, this parameter must be `default`. Default value is `default`. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm) or using dns.getResolutionLines in data source to get the value.
	Routing pulumi.StringPtrOutput `pulumi:"routing"`
	// The record status. `Enable` or `Disable`.
	Status pulumi.StringOutput `pulumi:"status"`
	// The effective time of domain record. Its scope depends on the edition of the cloud resolution. Free is `[600, 86400]`, Basic is `[120, 86400]`, Standard is `[60, 86400]`, Ultimate is `[10, 86400]`, Exclusive is `[1, 86400]`. Default value is `600`.
	Ttl pulumi.IntPtrOutput `pulumi:"ttl"`
	// The type of domain record. Valid values are `A`,`NS`,`MX`,`TXT`,`CNAME`,`SRV`,`AAAA`,`CAA`, `REDIRECT_URL` and `FORWORD_URL`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The value of domain record, When the `type` is `MX`,`NS`,`CNAME`,`SRV`, the server will treat the `value` as a fully qualified domain name, so it's no need to add a `.` at the end.
	Value pulumi.StringOutput `pulumi:"value"`
}

Provides a DNS Record resource.

> **NOTE:** When the site is an international site, the `type` neither supports `REDIRECT_URL` nor `REDIRECT_URL`

func GetRecord

func GetRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RecordState, opts ...pulumi.ResourceOption) (*Record, error)

GetRecord gets an existing Record resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRecord

func NewRecord(ctx *pulumi.Context,
	name string, args *RecordArgs, opts ...pulumi.ResourceOption) (*Record, error)

NewRecord registers a new resource with the given unique name, arguments, and options.

type RecordArgs

type RecordArgs struct {
	// Host record for the domain record. This hostRecord can have at most 253 characters, and each part split with "." can have at most 63 characters, and must contain only alphanumeric characters or hyphens, such as "-",".","*","@",  and must not begin or end with "-".
	HostRecord pulumi.StringInput
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	Name pulumi.StringPtrInput
	// The priority of domain record. Valid values are `[1-10]`. When the `type` is `MX`, this parameter is required.
	Priority pulumi.IntPtrInput
	// The resolution line of domain record. Valid values are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. When the `type` is `FORWORD_URL`, this parameter must be `default`. Default value is `default`. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm) or using dns.getResolutionLines in data source to get the value.
	Routing pulumi.StringPtrInput
	// The effective time of domain record. Its scope depends on the edition of the cloud resolution. Free is `[600, 86400]`, Basic is `[120, 86400]`, Standard is `[60, 86400]`, Ultimate is `[10, 86400]`, Exclusive is `[1, 86400]`. Default value is `600`.
	Ttl pulumi.IntPtrInput
	// The type of domain record. Valid values are `A`,`NS`,`MX`,`TXT`,`CNAME`,`SRV`,`AAAA`,`CAA`, `REDIRECT_URL` and `FORWORD_URL`.
	Type pulumi.StringInput
	// The value of domain record, When the `type` is `MX`,`NS`,`CNAME`,`SRV`, the server will treat the `value` as a fully qualified domain name, so it's no need to add a `.` at the end.
	Value pulumi.StringInput
}

The set of arguments for constructing a Record resource.

func (RecordArgs) ElementType

func (RecordArgs) ElementType() reflect.Type

type RecordState

type RecordState struct {
	// Host record for the domain record. This hostRecord can have at most 253 characters, and each part split with "." can have at most 63 characters, and must contain only alphanumeric characters or hyphens, such as "-",".","*","@",  and must not begin or end with "-".
	HostRecord pulumi.StringPtrInput
	Locked     pulumi.BoolPtrInput
	// Name of the domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
	Name pulumi.StringPtrInput
	// The priority of domain record. Valid values are `[1-10]`. When the `type` is `MX`, this parameter is required.
	Priority pulumi.IntPtrInput
	// The resolution line of domain record. Valid values are `default`, `telecom`, `unicom`, `mobile`, `oversea`, `edu`, `drpeng`, `btvn`, .etc. When the `type` is `FORWORD_URL`, this parameter must be `default`. Default value is `default`. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/doc-detail/34339.htm) or using dns.getResolutionLines in data source to get the value.
	Routing pulumi.StringPtrInput
	// The record status. `Enable` or `Disable`.
	Status pulumi.StringPtrInput
	// The effective time of domain record. Its scope depends on the edition of the cloud resolution. Free is `[600, 86400]`, Basic is `[120, 86400]`, Standard is `[60, 86400]`, Ultimate is `[10, 86400]`, Exclusive is `[1, 86400]`. Default value is `600`.
	Ttl pulumi.IntPtrInput
	// The type of domain record. Valid values are `A`,`NS`,`MX`,`TXT`,`CNAME`,`SRV`,`AAAA`,`CAA`, `REDIRECT_URL` and `FORWORD_URL`.
	Type pulumi.StringPtrInput
	// The value of domain record, When the `type` is `MX`,`NS`,`CNAME`,`SRV`, the server will treat the `value` as a fully qualified domain name, so it's no need to add a `.` at the end.
	Value pulumi.StringPtrInput
}

func (RecordState) ElementType

func (RecordState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL