ModifyObjectGroupOperation
Modifies object group operations.
Operation description
Before you begin
Before you call this operation, you must activate Cloud Firewall.
You can call DescribeUserBuyVersion to query the activation status. The UserStatus field in the response indicates whether the Cloud Firewall instance is valid. A value of false indicates that the instance is invalid or not activated.
- Activate Cloud Firewall:
China site: https://common-buy.aliyun.com/?commodityCode=cfw_sub_public_cn
International site: https://common-buy-intl.alibabacloud.com/?commodityCode=cfw_sub_public_intl
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:ModifyObjectGroupOperation |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the requester. |
123.xxx.251.60 |
| Lang |
string |
No |
The language of the response message. Valid values:
|
zh |
| ObjectOperation |
string |
Yes |
Specifies the operation to perform on the object, such as adding to the whitelist, removing from the whitelist, following, or unfollowing. Valid values:
|
ignore |
| ObjectType |
string |
Yes |
The type of the object to add to the outbound connections whitelist or follow. Valid values:
|
destinationDomain |
| Direction |
string |
Yes |
The traffic direction controlled by the access control policy. Valid values:
|
out |
| ObjectList |
array |
Yes |
The list of objects to operate on. |
|
|
string |
No |
The list of objects to operate on. |
8.25.xxx.55 |
|
| Comment |
string |
No |
The remark for the operation. |
Remark for batch whitelisting |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
CB32593D************775F41D6ED84 |
Examples
Success response
JSON format
{
"RequestId": "CB32593D************775F41D6ED84"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorOutgoingIgnoredReachLimit | outgoing ignored list reach limit | The number of the whitelists for outbound connections reaches the upper limit. |
| 400 | ErrorSourceCodeError | The source code is invalid. | The source code is invalid. |
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorObjectOperation | The objectOperation is invalid. | The objectOperation is invalid. |
| 400 | ErrorDirectionError | The direction is invalid. | The direction is invalid. |
| 400 | ErrorObjectType | The objectType is invalid. | The objectType is invalid. |
| 400 | ErrorObjectList | The objectList is invalid. | The objectList is invalid. |
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | ErrorDBInsertError | A database insert error occurred. | An error occurred while performing an insert operation in the database. |
| 400 | ErrorDBDeleteError | A database delete error occurred. | An error occurred while deleting the database. |
| 400 | ErrorNotBuyUser | Not buy user. | Your account has not activated the Cloud Firewall and cannot call the API. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.