Skip to content

DomainRecordProps

Properties for defining a DomainRecord.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdns"
&alicloudroscdkdns.DomainRecordProps {
    DomainName: interface{},
    Rr: interface{},
    Type: interface{},
    Value: interface{},
    Line: interface{},
    Priority: interface{},
    Ttl: interface{},
}

Properties

Name Type Description
DomainName interface{} Property domainName: Domain name.
Rr interface{} Property rr: Host record, if you want to resolve @.exmaple.com, the host record should fill in "@" instead of empty.
Type interface{} Property type: Parse record type, see parsing record type format.
Value interface{} Property value: Record value.
Line interface{} Property line: Parse the line, the default is default.
Priority interface{} 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 interface{} Property ttl: The resolution time is valid.

DomainNameRequired

DomainName interface{}
  • Type: interface{}

Property domainName: Domain name.


RrRequired

Rr interface{}
  • Type: interface{}

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


TypeRequired

Type interface{}
  • Type: interface{}

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


ValueRequired

Value interface{}
  • Type: interface{}

Property value: Record value.


LineOptional

Line interface{}
  • Type: interface{}

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

See parsing line enumeration


PriorityOptional

Priority interface{}
  • Type: interface{}

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

Ttl interface{}
  • Type: interface{}

Property ttl: The resolution time is valid.

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