file policy¶
WAF Policy file information and management commands
policy Specification¶
Parameter Value Type operational Element Name policy Element URI /axapi/v3/file/policy Element Attributes policy_attributes Partition Visibility shared Operational Data URI /axapi/v3/file/policy/oper Schema policy schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
EXECUTE Object | POST | /axapi/v3/file/policy |
policy attributes¶
action
Description ‘create’: create; ‘import’: import; ‘export’: export; ‘copy’: copy; ‘rename’: rename; ‘check’: check; ‘replace’: replace; ‘delete’: delete;
Type: string
Supported Values: create, import, export, copy, rename, check, replace, delete
dst-file
Description destination file name for copy and rename action
Type: string
Maximum Length: 63 characters
Maximum Length: 1 characters
file
Description Policy local file name
Type: string
Maximum Length: 63 characters
Maximum Length: 1 characters
file-handle
Description full path of the uploaded file
Type: string
Format: string-rlx
Maximum Length: 255 characters
Maximum Length: 1 characters
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters