gslb zone service dns-txt-record

Specify the use of DNS TXT resource records to carry multiple pieces of DNS TXT data within one TXT record.

dns-txt-record Specification

Type Collection
Object Key(s) record-name
Collection Name dns-txt-record-list
Collection URI /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/
Element Name dns-txt-record
Element URI /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/{record-name}
Element Attributes dns-txt-record_attributes
Statistics Data URI /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/{record-name}/stats
Schema dns-txt-record schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/

dns-txt-record Attributes

Create List

POST

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/

dns-txt-record Attributes

Get Object

GET

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/{record-name}

dns-txt-record Attributes

Get List

GET

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/

dns-txt-record-list

Modify Object

POST

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/{record-name}

dns-txt-record Attributes

Replace Object

PUT

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/{record-name}

dns-txt-record Attributes

Replace List

PUT

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/

dns-txt-record-list

Delete Object

DELETE

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/{record-name}

dns-txt-record Attributes

Get Stats

GET

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/{record-name}/stats

stats data

dns-txt-record-list

dns-txt-record-list is JSON List of dns-txt-record Attributes

dns-txt-record-list : [

dns-txt-record Attributes

record-name

Description: Specify the Object Name for TXT Data

Type: string

Required: Yes

sampling-enable

Description: sampling-enable is a JSON List . Please see below for sampling-enable

Type: List

ttl

Description: Specifies the time to live for the DNS record in second. Typically DNS records take 24-48 hours to propagate.

Type: number

Range: 0-2147483647

Default: 0

txt-data

Description: Specifies the DNS TXXT data that you want to input in the TXT record.

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

sampling-enable

Specification
Type list
Block object keys

counters1

Description: ‘all’: all; ‘hits’: Number of times the record has been used;

Type: string

Supported Values: all, hits

stats data

Counter Size Description
hits 8 Number of times the record has been used