ddos template icmp-v6 type¶
Specify ICMP type
type Specification¶
Type
Collection
Object Key(s)
type-number
Collection Name
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
Schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type | ||
Create List | POST | /axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type | ||
Get Object | GET | /axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type/{type-number} | ||
Get List | GET | /axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type | ||
Modify Object | POST | /axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type/{type-number} | ||
Replace Object | PUT | /axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type/{type-number} | ||
Replace List | PUT | /axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type | ||
Delete Object | DELETE | /axapi/v3/ddos/template/icmp-v6/{icmp-tmpl-name}/type/{type-number} |
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
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
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