slb template dns rpz

Response Policy Zone File

rpz Specification

Parameter Value
Type Collection
Object Key(s) seq-id
Collection Name rpz-list
Collection URI /axapi/v3/slb/template/dns/{name}/rpz
Element Name rpz
Element URI /axapi/v3/slb/template/dns/{name}/rpz/{seq-id}
Element Attributes rpz_attributes
Partition Visibility shared
Schema rpz schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/slb/template/dns/{name}/rpz

rpz attributes

Create List

POST

/axapi/v3/slb/template/dns/{name}/rpz

rpz attributes

Get Object

GET

/axapi/v3/slb/template/dns/{name}/rpz/{seq-id}

rpz attributes

Get List

GET

/axapi/v3/slb/template/dns/{name}/rpz

rpz-list

Modify Object

POST

/axapi/v3/slb/template/dns/{name}/rpz/{seq-id}

rpz attributes

Replace Object

PUT

/axapi/v3/slb/template/dns/{name}/rpz/{seq-id}

rpz attributes

Replace List

PUT

/axapi/v3/slb/template/dns/{name}/rpz

rpz-list

Delete Object

DELETE

/axapi/v3/slb/template/dns/{name}/rpz/{seq-id}

rpz attributes

rpz-list

rpz-list is JSON List of rpz attributes

rpz-list : [

]

rpz attributes

logging

Description: logging is a JSON Block. Please see below for logging

Type: Object

Reference Object: /axapi/v3/slb/template/dns/{name}/rpz/{seq-id}/logging

name

Description Specify a Response Policy Zone name

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

seq-id

Description sequential id of RPZ

Type: number

Range: 1-8

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

logging

Specification Value
Type object

enable

Description Log RPZ triggered action

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

rpz-action

Type: List

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

logging_rpz-action

Specification Value
Type list
Block object keys  

str-rpz-action

Description ‘drop’: Log RPZ due to drop action; ‘pass-thru’: Log RPZ due to pass-thru action; ‘nxdomain’: Log RPZ due to nxdomain action; ‘nodata’: Log RPZ due to nodata action; ‘tcp-only’: Log RPZ due to tcp-only action; ‘local-data’: Log RPZ due to local-data action;

Type: string

Supported Values: drop, pass-thru, nxdomain, nodata, tcp-only, local-data