gslb zone service dns-cname-record

Specify DNS CNAME Record

dns-cname-record Specification

Parameter Value
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
Partition Visibility shared
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:

OperationMethodURIPayload

Create Object

POST

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

dns-cname-record attributes

Create List

POST

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

dns-cname-record attributes

Get Object

GET

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

dns-cname-record attributes

Get List

GET

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

dns-cname-record-list

Modify Object

POST

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

dns-cname-record attributes

Replace Object

PUT

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

dns-cname-record attributes

Replace List

PUT

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

dns-cname-record-list

Delete Object

DELETE

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

dns-cname-record attributes

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: List

uuid

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 Value
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