slb template link-cost¶
Server Link-Cost Template
link-cost Specification¶
Parameter
Value
Type
Collection
Object Key(s)
name
Collection Name
Collection URI
/axapi/v3/slb/template/link-cost
Element Name
link-cost
Element URI
/axapi/v3/slb/template/link-cost/{name}
Element Attributes
link-cost_attributes
Partition Visibility
shared
Schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/slb/template/link-cost | ||
Create List | POST | /axapi/v3/slb/template/link-cost | ||
Get Object | GET | /axapi/v3/slb/template/link-cost/{name} | ||
Get List | GET | /axapi/v3/slb/template/link-cost | ||
Modify Object | POST | /axapi/v3/slb/template/link-cost/{name} | ||
Replace Object | PUT | /axapi/v3/slb/template/link-cost/{name} | ||
Replace List | PUT | /axapi/v3/slb/template/link-cost | ||
Delete Object | DELETE | /axapi/v3/slb/template/link-cost/{name} | ||
link-cost-list¶
link-cost-list is JSON List of link-cost attributes
link-cost-list : [
]
link-cost attributes¶
bandwidth-interval
Description Interval duration in seconds
Type: number
Range: 1-60
Default: 5
name
Description Server Link-Cost Template Name
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
overage-bandwidth-cost
Description Configure overage bandwidth cost on real server (Overage bandwidth cost per Mbpi)
Type: number
Range: 0-4294967295
Default: 0
prepaid-bandwidth
Description Configure prepaid bandwidth on real server (Prepaid Bandwidth in Mbpi)
Type: number
Range: 0-4294967295
Default: 0
sampling-enable
Type: List
user-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; ‘link_total_fwd_bytes’: Total bytes fwd for link; ‘interval_fwd_bytes’: Link Cost bytes processed in forward direction per interval; ‘link_total_conn’: Link Cost total connection; ‘interval_avg_throughput’: Link Cost average throughput per interval; ‘interval_max_throughput’: Link Cost max throughput per interval;
Type: string
Supported Values: all, link_total_fwd_bytes, interval_fwd_bytes, link_total_conn, interval_avg_throughput, interval_max_throughput