Enables the automatic configuration of anti-ransomware policies for servers in the managed anti-ransomware feature. You can call this operation only after you purchase the managed anti-ransomware feature.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| MaxBatchSize | integer | No | The number of servers specified in a batch of anti-ransomware policies that are automatically generated by the managed anti-ransomware feature. Note
The maximum value is 50. If the number of specified servers exceeds 50, the value 50 is used.
| 20 |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "ADE57832-9666-511C-9A80-B87DE2E8****"
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
| 500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
