Class AlidnsRecordArgs
Inherited Members
Namespace: Pulumi.AliCloud.Dns
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class AlidnsRecordArgs : ResourceArgs
Constructors
View SourceAlidnsRecordArgs()
Declaration
public AlidnsRecordArgs()
Properties
View SourceDomainName
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.
Declaration
public Input<string> DomainName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Lang
User language.
Declaration
public Input<string> Lang { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Line
The resolution line of domain record. Valid values: default, telecom, unicom, mobile, oversea, edu, drpeng, btvn. 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 or using alicloud.dns.getResolutionLines in data source to get the value.
Declaration
public Input<string> Line { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Priority
The priority of domain record. Valid values: [1-10]. When the type is MX, this parameter is required.
Declaration
public Input<int> Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Remark
The remark of the domain record.
Declaration
public Input<string> Remark { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Rr
Host record for the domain record. This host_record 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 -.
Declaration
public Input<string> Rr { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Status
The status of the domain record. Valid values: ENABLE,DISABLE.
Declaration
public Input<string> Status { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Ttl
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.
Declaration
public Input<int> Ttl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Type
The type of domain record. Valid values: A,NS,MX,TXT,CNAME,SRV,AAAA,CAA, REDIRECT_URL and FORWORD_URL.
Declaration
public Input<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
UserClientIp
The IP address of the client.
Declaration
public Input<string> UserClientIp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Value
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.
Declaration
public Input<string> Value { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |