All Products
Search
Document Center

ApsaraDB for OceanBase:CreateSecurityIpGroup

Last Updated:Oct 23, 2024

You can call this operation to create an IP address whitelist group.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the OceanBase cluster.

ob317v4uif****
SecurityIpsstringYes

The return result of the request.

{"192.168.1.1","192.168.0.0.1/8"}
SecurityIpGroupNamestringYes

The name of the whitelist group.

pay_online

Response parameters

ParameterTypeDescriptionExample
object

The ID of the region.

RequestIdstring

The IP addresses or CIDR blocks in the IP address whitelist group.
The return values of SecurityIps are strings that are separated with commas (,).

EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C
SecurityIpGroupobject

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

InstanceIdstring
http(s)://[Endpoint]/?Action=CreateSecurityIpGroup
&InstanceId=ob317v4uif****
&SecurityIps=192.168.1.1,192.168.0.0.1/8
&SecurityIpGroupName=pay_online
&Common request parameters
ob317v4uif****
SecurityIpGroupNamestring

You can call this operation to create an IP address whitelist group.

pay_online

Examples

Sample success responses

JSONformat

{
  "RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C",
  "SecurityIpGroup": {
    "InstanceId": "ob317v4uif****",
    "SecurityIpGroupName": "pay_online",
    "SecurityIps": "192.168.1.1,192.168.0.0.1/8"
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history