gslb zone service dns-cname-record

Configures DNS Canonical Name (CNAME) records for the service.

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

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 the administrative preference. If using the Alias Admin Preference metric, then the DNS CNAME record with the highest administratively set preference is selected.

Type: number

Range: 0-255

Default: 100

alias-name

Description: Specify the alias name

Type: string

Required: Yes

as-backup

Description: Specifies that the record is a backup record.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

uuid

Description: uuid of the object

Type: string

weight

Description: Specify the weight. If using the Weighted Alias metric, then the DNS CNAME record with the highest weight is selected.

Type: number

Range: 1-100

Default: 1