All Products
Search
Document Center

Cloud Firewall:ModifyVpcFirewallIPSWhitelist

Last Updated:Sep 02, 2024

Modifies the IPS whitelist of a virtual private cloud (VPC) firewall.

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:ModifyVpcFirewallIPSWhitelistupdate
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

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

  • zh (default): Chinese
  • en: English
zh
MemberUidlongNo

The UID of the member that is managed by your Alibaba Cloud account.

1415189284827022
VpcFirewallIdstringYes

The instance ID of the VPC firewall.

vfw-d7b8ce273791475b9b0b
WhiteTypelongYes

The type of the whitelist. Valid values:

  • 1: destination
  • 2: source
1
ListTypelongYes

The type of the list. Valid values:

  • 1: user-defined
  • 2: address book
1
ListValuestringNo

The entry in the list.

10.130.0.0/20,10.130.17.11/32

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

F2E8D49A-E5AA-5FF8-8822-25282DCF4BE8

Examples

Sample success responses

JSONformat

{
  "RequestId": "F2E8D49A-E5AA-5FF8-8822-25282DCF4BE8"
}

Error codes

HTTP status codeError codeError messageDescription
400ErrorParametersUidThe aliUid parameter is invalid.The aliUid parameter is invalid.
400ErrorParametersFirewallIdInvalid VPC firewall ID.The VPC firewall ID is invalid.
400ErrorParametersParameters error.Parameter error.
400ErrorDBSelectAn error occurred while querying database.An error occurred while querying database.
400ErrorAddressCountExceedThe maximum number of addresses is exceeded.The maximum number of address is exceeded.
400ErrorDBDeleteAn error occurred while deleting the database.An error occurred while deleting the database.
400ErrorDBInsertAn error occurred while performing an insert operation in the database.An error occurred while performing an insert operation in the database.
400ErrorParametersWhitelistIPInvalid whitelistIp.The IP address is invalid.
400ErrorRecordLogupdate operation log error.-
400ErrorMarshalJSONinternal error: marshal json.An error occurred. Try again later.

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

Change history

Change timeSummary of changesOperation
2024-08-29The Error code has changedView Change Details
2024-07-30The Error code has changedView Change Details