Skip to content

DomainRecordProps

Properties for defining a DomainRecord.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-domainrecord

Initializer

using AlibabaCloud.SDK.ROS.CDK.Dns;
new DomainRecordProps {
    object DomainName,
    object Rr,
    object Type,
    object Value,
    object Line = null,
    object Priority = null,
    object Ttl = null
};

Properties

Name Type Description
DomainName object Property domainName: Domain name.
Rr object Property rr: Host record, if you want to resolve @.exmaple.com, the host record should fill in "@" instead of empty.
Type object Property type: Parse record type, see parsing record type format.
Value object Property value: Record value.
Line object Property line: Parse the line, the default is default.
Priority object Property priority: The priority of the MX record, the value range [1,10], when the record type is MX record, this parameter must be.
Ttl object Property ttl: The resolution time is valid.

DomainNameRequired

public object DomainName { get; set; }
  • Type: object

Property domainName: Domain name.


RrRequired

public object Rr { get; set; }
  • Type: object

Property rr: Host record, if you want to resolve @.exmaple.com, the host record should fill in "@" instead of empty.


TypeRequired

public object Type { get; set; }
  • Type: object

Property type: Parse record type, see parsing record type format.


ValueRequired

public object Value { get; set; }
  • Type: object

Property value: Record value.


LineOptional

public object Line { get; set; }
  • Type: object

Property line: Parse the line, the default is default.

See parsing line enumeration


PriorityOptional

public object Priority { get; set; }
  • Type: object

Property priority: The priority of the MX record, the value range [1,10], when the record type is MX record, this parameter must be.


TtlOptional

public object Ttl { get; set; }
  • Type: object

Property ttl: The resolution time is valid.

The default is 600 seconds (10 minutes). See the TTL definition.