Modifies the whitelist of a specified ApsaraDB for HBase instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyIpWhitelist

The operation that you want to perform. Set the value to ModifyIpWhitelist.

ClusterId String Yes ld-bp1uoihlf82e8****

The ID of the ApsaraDB for HBase instance. You can call the DescribeInstances operation to query the instance ID.

GroupName String Yes group_01

The name of the whitelist. You can call the DescribeIpWhitelist operation to query whitelists.

IpList String Yes 42.120.XX.XX

The IP addresses that you want to add to the whitelist. Separate IP addresses with commas (,).

IpVersion String Yes 4

The type of the IP address. Valid values:

  • 4: an IPv4 address
  • 6: an IPv6 address

Response parameters

Parameter Type Example Description
RequestId String 101CFA8A-FB88-5014-A10C-3A0DA9AD8B0B

The ID of the request.

Examples

Sample requests

http(s)://hbase.aliyuncs.com/?Action=ModifyIpWhitelist
&ClusterId=ld-bp1uoihlf82e8****
&GroupName=group_01
&IpList=42.120.XX.XX
&IpVersion=4
&<Common request parameters>

Sample success responses

XML format

<ModifyIpWhitelistResponse>
  <RequestId>101CFA8A-FB88-5014-A10C-3A0DA9AD8B0B</RequestId>
</ModifyIpWhitelistResponse>

JSON format

{
    "RequestId":"101CFA8A-FB88-5014-A10C-3A0DA9AD8B0B"
}

Error codes

For a list of error codes, visit the API Error Center.