Skip to content

ZoneRecordProps

Properties for defining a ZoneRecord.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pvtz-zonerecord

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpvtz"
&alicloudroscdkpvtz.ZoneRecordProps {
    Rr: interface{},
    Status: interface{},
    Type: interface{},
    Value: interface{},
    ZoneId: interface{},
    Priority: interface{},
    Ttl: interface{},
}

Properties

Name Type Description
Rr interface{} Property rr: Host record, if you want to resolve @.exmaple.com, the host record should fill in "@" instead of empty.
Status interface{} Property status: Allowed values: [ENABLE, DISABLE].
Type interface{} Property type: Analyze record type, currently only supports A, AAAA, CNAME, TXT, MX, PTR, SRV.
Value interface{} Property value: Record value.
ZoneId interface{} Property zoneId: Zone Id.
Priority interface{} Property priority: MX record priority, value range [1,99].
Ttl interface{} Property ttl: Survival time, default is 60.

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.


StatusRequired

Status interface{}
  • Type: interface{}

Property status: Allowed values: [ENABLE, DISABLE].


TypeRequired

Type interface{}
  • Type: interface{}

Property type: Analyze record type, currently only supports A, AAAA, CNAME, TXT, MX, PTR, SRV.


ValueRequired

Value interface{}
  • Type: interface{}

Property value: Record value.


ZoneIdRequired

ZoneId interface{}
  • Type: interface{}

Property zoneId: Zone Id.


PriorityOptional

Priority interface{}
  • Type: interface{}

Property priority: MX record priority, value range [1,99].

Default to 10.


TtlOptional

Ttl interface{}
  • Type: interface{}

Property ttl: Survival time, default is 60.