slb template dns rpz¶
Response Policy Zone File
rpz Specification¶
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 Schema rpz schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/slb/template/dns/{name}/rpz | ||
Create List | POST | /axapi/v3/slb/template/dns/{name}/rpz | ||
Get Object | GET | /axapi/v3/slb/template/dns/{name}/rpz/{seq-id} | ||
Get List | GET | /axapi/v3/slb/template/dns/{name}/rpz | ||
Modify Object | POST | /axapi/v3/slb/template/dns/{name}/rpz/{seq-id} | ||
Replace Object | PUT | /axapi/v3/slb/template/dns/{name}/rpz/{seq-id} | ||
Replace List | PUT | /axapi/v3/slb/template/dns/{name}/rpz | ||
Delete Object | DELETE | /axapi/v3/slb/template/dns/{name}/rpz/{seq-id} |
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 Type object enable
Description Log RPZ triggered action
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rpz-action
Type: Listuuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
logging_rpz-action¶
Specification 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