gslb zone service dns-srv-record

Specify DNS SRV Record

dns-srv-record Specification

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

Operations Allowed:

Operation Method URI Payload

Create Object

POST

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

dns-srv-record Attributes

Create List

POST

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

dns-srv-record Attributes

Get Object

GET

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

dns-srv-record Attributes

Get List

GET

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

dns-srv-record-list

Modify Object

POST

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

dns-srv-record Attributes

Replace Object

PUT

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

dns-srv-record Attributes

Replace List

PUT

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

dns-srv-record-list

Delete Object

DELETE

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

dns-srv-record Attributes

Get Stats

GET

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

stats data

dns-srv-record-list

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

dns-srv-record-list : [

dns-srv-record Attributes

port

Description: Specify Port (Port Number)

Type: number

Range: 0-65534

Required: Yes

priority

Description: Specify Priority

Type: number

Range: 0-65535

sampling-enable

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

Type: List

srv-name

Description: Specify Domain Name

Type: string

Required: Yes

ttl

Description: Specify TTL

Type: number

Range: 0-2147483647

uuid

Description: uuid of the object

Type: string

weight

Description: Specify Weight, default is 10

Type: number

Range: 1-100

Default: 10

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