Creates a mitigation policy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-antiddosbag:CreatePolicy |
create |
*Policy
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the policy. |
test |
| Type |
string |
Yes |
The type of the policy. Valid values:
Valid values:
|
l3 |
| PortVersion |
string |
No |
The version of the port-specific mitigation policy. Valid values:
Note
This parameter is supported only for port-specific mitigation policies. |
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
864FE2F4-CB2E-4024-B9EF-D59FD08A**** |
| Id |
string |
The ID of the policy. |
83967609-7ea5-4f6d-a6ea-380b09e**** |
Examples
Success response
JSON format
{
"RequestId": "864FE2F4-CB2E-4024-B9EF-D59FD08A****",
"Id": "83967609-7ea5-4f6d-a6ea-380b09e****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.