cgnv6 template dns class-list lid

Limit ID.

lid Specification

Type Collection
Object Key(s) lidnum
Collection Name lid-list
Collection URI /axapi/v3/cgnv6/template/dns/{name}/class-list/lid/
Element Name lid
Element URI /axapi/v3/cgnv6/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/cgnv6/template/dns/{name}/class-list/lid/

lid Attributes

Create List

POST

/axapi/v3/cgnv6/template/dns/{name}/class-list/lid/

lid Attributes

Get Object

GET

/axapi/v3/cgnv6/template/dns/{name}/class-list/lid/{lidnum}

lid Attributes

Get List

GET

/axapi/v3/cgnv6/template/dns/{name}/class-list/lid/

lid-list

Modify Object

POST

/axapi/v3/cgnv6/template/dns/{name}/class-list/lid/{lidnum}

lid Attributes

Replace Object

PUT

/axapi/v3/cgnv6/template/dns/{name}/class-list/lid/{lidnum}

lid Attributes

Replace List

PUT

/axapi/v3/cgnv6/template/dns/{name}/class-list/lid/

lid-list

Delete Object

DELETE

/axapi/v3/cgnv6/template/dns/{name}/class-list/lid/{lidnum}

lid Attributes

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-31

Required: Yes

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

uuid

Description: uuid of the object

Type: string

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

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