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
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
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-srv-record | ||
Create List | POST | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-srv-record | ||
Get Object | GET | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-srv-record/{srv-name}+{port} | ||
Get List | GET | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-srv-record | ||
Modify Object | POST | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-srv-record/{srv-name}+{port} | ||
Replace Object | PUT | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-srv-record/{srv-name}+{port} | ||
Replace List | PUT | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-srv-record | ||
Delete Object | DELETE | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-srv-record/{srv-name}+{port} |
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
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