Configures blocked locations for an Anti-DDoS Proxy instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. Note
You can call the DescribeInstanceIds operation to query the IDs of all instances. |
ddoscoo-cn-mp91j1ao**** |
| Config |
string |
Yes |
The details of the configurations of blocked locations. This parameter is a JSON string. The value consists of the following fields:
|
{"RegionBlockSwitch":"on","Countries":[],"Provinces":[11,12,13,14,15,21,22,23,31,32,33,34,35,36,37,41,42,43,44,45,46,50,51,52,53,54,61,62,63,64,65,71,81,82]} |
All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.
For more information about sample requests, see the Examples section of this topic.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
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.