Creates a file protection rule.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BlockUuids |
array |
No |
The list of servers for which tamper-proofing is enabled. |
|
|
string |
No |
The UUID of the tamper-proofing server. |
6fa24967-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
|
| AlertUuids |
array |
No |
The list of servers for which the alert protection level is enabled. |
|
|
string |
No |
The UUID of the alert server. |
6fa24967-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
|
| NoneUuids |
array |
No |
The list of servers for which file protection is disabled. |
|
|
string |
No |
The UUID of the server for which file protection is disabled. |
6fa24967-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
6673D49C-A9AB-40DD-B4A2-B92306701AE7 |
Examples
Success response
JSON format
{
"RequestId": "6673D49C-A9AB-40DD-B4A2-B92306701AE7"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParameter | Illegal parameter, please check the param. | Parameter error, please check the input parameters. |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.