gslb zone service dns-cname-record¶
Specify DNS CNAME Record
dns-cname-record Specification¶
Type Collection Object Key(s) alias-name Collection Name dns-cname-record-list Collection URI /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-cname-record Element Name dns-cname-record Element URI /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-cname-record/{alias-name} Element Attributes dns-cname-record_attributes Statistics Data URI /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-cname-record/{alias-name}/stats Schema dns-cname-record schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-cname-record | ||
Create List | POST | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-cname-record | ||
Get Object | GET | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-cname-record/{alias-name} | ||
Get List | GET | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-cname-record | ||
Modify Object | POST | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-cname-record/{alias-name} | ||
Replace Object | PUT | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-cname-record/{alias-name} | ||
Replace List | PUT | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-cname-record | ||
Delete Object | DELETE | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-cname-record/{alias-name} |
dns-cname-record-list¶
dns-cname-record-list is JSON List of dns-cname-record attributes
dns-cname-record-list : [
]
dns-cname-record attributes¶
admin-preference
Description Specify Administrative Preference, default is 100
Type: number
Range: 0-255
Default: 100
alias-name
Description Specify the alias name
Type: string
Maximum Length: 127 characters
Maximum Length: 1 characters
as-backup
Description As backup when fail
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
sampling-enable
Type: Listuuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
weight
Description Specify Weight, default is 1
Type: number
Range: 1-100
Default: 1
sampling-enable¶
Specification Type list Block object keys counters1
Description ‘all’: all; ‘cname-hits’: Number of times the CNAME has been used;
Type: string
Supported Values: all, cname-hits
stats data¶
Counter | Size | Description | |
---|---|---|---|
cname-hits | 8 | Number of times the CNAME has been used |