All Products
Search
Document Center

Cloud Firewall:ModifyObjectGroupOperation

Last Updated:Sep 02, 2024

Modifies information about an operation on an object group.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-cloudfirewall:ModifyObjectGroupOperationupdate
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

123.xxx.251.60
LangstringNo

The language of the content within the response. Valid values:

  • zh (default)
  • en
zh
ObjectOperationstringYes

The operation. Valid values:

  • ignore: adds the operation object to the whitelist.
  • cancelIgnore: removes the operation object from the whitelist.
  • subscribe: follows the operation object.
  • unsubscribe: unfollows the operation object.
ignore
ObjectTypestringYes

The type of the operation object.

Valid values:

  • assetsIp: the asset IP address.
  • destinationIp: the destination IP address.
  • destinationPort: the destination port.
  • destinationDomain: the destination domain name.
destinationDomain
DirectionstringYes

The direction of the traffic to which the access control policy applies.

Valid values:

  • in: inbound.
  • out: outbound.
out
ObjectListarrayYes

The operation objects.

stringYes

The operation object.

8.25.xxx.55
CommentstringNo

The remarks of the operation.

test

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

CB32593D************775F41D6ED84

Examples

Sample success responses

JSONformat

{
  "RequestId": "CB32593D************775F41D6ED84"
}

Error codes

HTTP status codeError codeError messageDescription
400ErrorOutgoingIgnoredReachLimitoutgoing ignored list reach limitThe number of the whitelists for outbound connections reaches the upper limit.
400ErrorSourceCodeErrorThe source code is invalid.The source code is invalid.
400ErrorAliUidAliuid invalid.The aliuid is invalid.
400ErrorObjectOperationThe objectOperation is invalid.The objectOperation is invalid.
400ErrorDirectionErrorThe direction is invalid.The direction is invalid.
400ErrorObjectTypeThe objectType is invalid.The objectType is invalid.
400ErrorObjectListThe objectList is invalid.The objectList is invalid.
400ErrorDBSelectErrorA database select error occurred.The error message returned because an internal error has occurred in querying the database.
400ErrorDBInsertErrorA database insert error occurred.An error occurred while performing an insert operation in the database.
400ErrorDBDeleteErrorA database delete error occurred.An error occurred while deleting the database.

For a list of error codes, visit the Service error codes.