ddos template icmp-v6 type

Specify ICMP type

type Specification

Parameter Value
Type Collection
Object Key(s) type-number
Collection Name type-list
Collection URI /axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type
Element Name type
Element URI /axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type/{type-number}
Element Attributes type_attributes
Partition Visibility shared
Schema type schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type

type attributes

Create List

POST

/axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type

type attributes

Get Object

GET

/axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type/{type-number}

type attributes

Get List

GET

/axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type

type-list

Modify Object

POST

/axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type/{type-number}

type attributes

Replace Object

PUT

/axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type/{type-number}

type attributes

Replace List

PUT

/axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type

type-list

Delete Object

DELETE

/axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type/{type-number}

type attributes

type-list

type-list is JSON List of type attributes

type-list : [

type attributes

code

Type: List

code-other

Description: code-other is a JSON Block. Please see below for code-other

Type: Object

type-deny

Description Reject this ICMP type

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: type-deny, type-rate, and code-other-rate are mutually exclusive

type-number

Description Specify ICMP type number

Type: number

Range: 0-255

type-rate

Description Specify the whole rate with this type

Type: number

Range: 1-16000000

Mutual Exclusion: type-rate and type-deny are mutually exclusive

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

code

Specification Value
Type list
Block object keys  

code-number

Description Specify the ICMP code

Type: number

Range: 0-255

code-rate

Description Specify the rate with the code

Type: number

Range: 1-16000000

code-other

Specification Value
Type object

code-other-rate

Description Specify rate with other code

Type: number

Range: 1-16000000

Mutual Exclusion: code-other-rate and type-deny are mutually exclusive