Adds IP addresses to an Anti-DDoS Origin instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-antiddosbag:AddIp |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IpList |
string |
Yes |
The list of IP addresses to add to the Anti-DDoS Origin instance for protection. The value is a string that is converted from a JSON array. Each element in the JSON array is a struct that contains the following fields:
|
[{"ip":"121.41.XX.XX"},{"ip":"121.42.XX.XX"}] |
| InstanceId |
string |
Yes |
The ID of the Anti-DDoS Origin instance to manage. Note
Call DescribeInstanceList to query the IDs of all Anti-DDoS Origin instances. |
ddosbgp-cn-npk1z7t9**** |
| RegionId |
string |
No |
The region ID of the Anti-DDoS Origin instance. Note
Call DescribeRegions to query information about all regions that Anti-DDoS Origin supports. |
cn-hangzhou |
ResourceGroupId
deprecated
|
string |
No |
The ID of the resource group in Resource Management to which the Anti-DDoS Origin instance belongs. If you leave this parameter empty, the instance is added to the default resource group. For more information about resource groups, see Create a resource group. |
rg-acfm2pz25js**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E |
Examples
Success response
JSON format
{
"RequestId": "C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.