gslb zone service dns-txt-record¶
Specify DNS 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 | ||
Create List | POST | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record | ||
Get Object | GET | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/{record-name} | ||
Get List | GET | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record | ||
Modify Object | POST | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/{record-name} | ||
Replace Object | PUT | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/{record-name} | ||
Replace List | PUT | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record | ||
Delete Object | DELETE | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-txt-record/{record-name} |
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
Maximum Length: 63 characters
Maximum Length: 1 characters
sampling-enable
Type: Listttl
Description Specify TTL
Type: number
Range: 0-2147483647
Default: 0
txt-data
Description Specify TXT Data
Type: string
Format: string-rlx
Maximum Length: 1000 characters
Maximum Length: 1 characters
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
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 |