gslb service-ip service¶
Service Port
service Specification¶
Parameter Value Type Collection Object Key(s) port-num, port-proto, label Collection Name service-list Collection URI /axapi/v3/gslb/service-ip/{node-name}/service Element Name service Element URI /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label} Element Attributes service_attributes Partition Visibility shared Statistics Data URI /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label}/stats Operational Data URI /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label}/oper Schema service schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/gslb/service-ip/{node-name}/service | ||
Create List | POST | /axapi/v3/gslb/service-ip/{node-name}/service | ||
Get Object | GET | /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label} | ||
Get List | GET | /axapi/v3/gslb/service-ip/{node-name}/service | ||
Modify Object | POST | /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label} | ||
Replace Object | PUT | /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label} | ||
Replace List | PUT | /axapi/v3/gslb/service-ip/{node-name}/service | ||
Delete Object | DELETE | /axapi/v3/gslb/service-ip/{node-name}/service/{port-num}+{port-proto}+{label} |
service-list¶
service-list is JSON List of service attributes
service-list : [
]
service attributes¶
action
Description ‘enable’: Enable this GSLB server port; ‘disable’: Disable this GSLB server port;
Type: string
Supported Values: enable, disable
Default: enable
health-check
Description Health Check Monitor (Monitor Name)
Type: string
Maximum Length: 63 characters
Maximum Length: 1 characters
Mutual Exclusion: health-check and health-check-disable are mutually exclusive
Reference Object: /axapi/v3/health/monitor
health-check-disable
Description Disable Health Check Monitor
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: health-check-disable and health-check are mutually exclusive
health-check-protocol-disable
Description Disable GSLB Protocol Health Monitor
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
label
Description Service Label
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
port-num
Description Port Number
Type: number
Range: 0-65534
port-proto
Description ‘tcp’: TCP Port; ‘udp’: UDP Port;
Type: string
Supported Values: tcp, udp
sampling-enable
Type: Listuser-tag
Description Customized tag
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
sampling-enable¶
Specification Value Type list Block object keys counters1
Description ‘all’: all; ‘active’: Active Servers; ‘current’: Current Connections;
Type: string
Supported Values: all, active, current