gslb zone service dns-srv-record

Specify DNS SRV Record

dns-srv-record Specification

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

OperationMethodURIPayload

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

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

priority

Description Specify Priority

Type: number

Range: 0-65535

sampling-enable

Type: List

srv-name

Description Specify Domain Name

Type: string

Maximum Length: 127 characters

Maximum Length: 1 characters

ttl

Description Specify TTL

Type: number

Range: 0-2147483647

Default: 0

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

weight

Description Specify Weight, default is 10

Type: number

Range: 0-65535

Default: 10

sampling-enable

Specification Value
Type list
Block object keys  

counters1

Description ‘all’: all; ‘hits’: Number of times the record has been used;

Type: string

Supported Values: all, hits