Skip to content

ZoneRecordProps

Properties for defining a ZoneRecord.

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

Initializer

import { ZoneRecordProps } from '@alicloud/ros-cdk-pvtz'
const zoneRecordProps: ZoneRecordProps = { ... }

Properties

Name Type Description
rr string | @alicloud/ros-cdk-core.IResolvable Property rr: Host record, if you want to resolve @.exmaple.com, the host record should fill in "@" instead of empty.
status string | @alicloud/ros-cdk-core.IResolvable Property status: Allowed values: [ENABLE, DISABLE].
type string | @alicloud/ros-cdk-core.IResolvable Property type: Analyze record type, currently only supports A, AAAA, CNAME, TXT, MX, PTR, SRV.
value string | @alicloud/ros-cdk-core.IResolvable Property value: Record value.
zoneId string | @alicloud/ros-cdk-core.IResolvable Property zoneId: Zone Id.
priority number | @alicloud/ros-cdk-core.IResolvable Property priority: MX record priority, value range [1,99].
ttl number | @alicloud/ros-cdk-core.IResolvable Property ttl: Survival time, default is 60.

rrRequired

public readonly rr: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


statusRequired

public readonly status: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


typeRequired

public readonly type: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


valueRequired

public readonly value: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property value: Record value.


zoneIdRequired

public readonly zoneId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property zoneId: Zone Id.


priorityOptional

public readonly priority: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

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

Default to 10.


ttlOptional

public readonly ttl: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property ttl: Survival time, default is 60.