slb template dns class-list lid¶
Limit ID
lid Specification¶
Type Collection Object Key(s) lidnum Collection Name lid-list Collection URI /axapi/v3/slb/template/dns/{name}/class-list/lid Element Name lid Element URI /axapi/v3/slb/template/dns/{name}/class-list/lid/{lidnum} Element Attributes lid_attributes Schema lid schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/slb/template/dns/{name}/class-list/lid | ||
Create List | POST | /axapi/v3/slb/template/dns/{name}/class-list/lid | ||
Get Object | GET | /axapi/v3/slb/template/dns/{name}/class-list/lid/{lidnum} | ||
Get List | GET | /axapi/v3/slb/template/dns/{name}/class-list/lid | ||
Modify Object | POST | /axapi/v3/slb/template/dns/{name}/class-list/lid/{lidnum} | ||
Replace Object | PUT | /axapi/v3/slb/template/dns/{name}/class-list/lid/{lidnum} | ||
Replace List | PUT | /axapi/v3/slb/template/dns/{name}/class-list/lid | ||
Delete Object | DELETE | /axapi/v3/slb/template/dns/{name}/class-list/lid/{lidnum} |
lid-list¶
lid-list is JSON List of lid attributes
lid-list : [
]
lid attributes¶
action-value
Description ‘dns-cache-disable’: Disable DNS cache when it exceeds limit; ‘dns-cache-enable’: Enable DNS cache when it exceeds limit; ‘forward’: Forward the traffic even it exceeds limit;
Type: string
Supported Values: dns-cache-disable, dns-cache-enable, forward
conn-rate-limit
Description Connection rate limit
Type: number
Range: 1-2147483647
dns
Description: dns is a JSON Block. Please see below for dns
Type: Object
lidnum
Description Specify a limit ID
Type: number
Range: 1-1023
lockout
Description Don’t accept any new connection for certain time (Lockout duration in minutes)
Type: number
Range: 1-1023
log
Description Log a message
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
log-interval
Description Log interval (minute, by default system will log every over limit instance)
Type: number
Range: 1-255
over-limit-action
Description Action when exceeds limit
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
per
Description Per (Number of 100ms)
Type: number
Range: 1-65535
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
dns¶
Specification Type object cache-action
Description ‘cache-disable’: Disable dns cache; ‘cache-enable’: Enable dns cache;
Type: string
Supported Values: cache-disable, cache-enable
Default: cache-disable
honor-server-response-ttl
Description Honor the server reponse TTL
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ttl
Description TTL for cache entry (TTL in seconds)
Type: number
Range: 1-65535
weight
Description Weight for cache entry
Type: number
Range: 1-7