View the Whitelist
Last Updated:2021-08-06
Request Structure
GET /v{version}/instance/{instanceId}/securityIp HTTP/1.1
HOST: rds.bj.baidubce.com
Authorization: authorization string
Request header field
No other special header fields are available, except for common header fields.
Request Parameter
Parameter Name | Type | Required? | Parameter Position | Description |
---|---|---|---|---|
version | string | Yes | URL parameter | API Version Number |
instanceId | string | 是 | URL parameter | Instance ID |
Return a header field
Parameter Name | Type | Description |
---|---|---|
ETag | string | For the current version number, the current ETag needs to be passed back via header when modifying. |
Return Parameter
Parameter name | Type | Description |
---|---|---|
securityIps | List String | The array that consists of IPs must meet the CIDR format. For details, refer to the IP format. |
Request Example
GET /v1/instance/r-modkurfj/securityIp HTTP/1.1
HOST: rds.bj.baidubce.com
Authorization: bce-auth-v1/rdsak/2016-07-03T06:13:13Z/1800/x-bce-date/{signature}
Return Example
HTTP/1.1 200 OK
x-bce-request-id: 7869616F-7A68-6977-656E-406261696475
ETag:xxx-xxx-xxx
Content-Type: application/json
Content-Length: 567
{
"securityIps": [
"127.0.0.1", "%", "192.168.0.1/24"
]
}