All Products
Search
Document Center

GetAllowIP

Last Updated: Mar 05, 2019

Description

You can call this operation to retrieve the classic network whitelist. If no classic network whitelist is set, no value is returned for AllowIP.

Request parameters

Name Type Required Description
Action String Yes The operation that you want to perform. Set the value to GetAllowIP.
RegionID String Yes The ID of the region where you make the request. For more information, see DLA regions in Appendix.
NetworkType String Yes The network type. Fixed value: classic_jdbc.

Response parameters

Name Type Description
Common response parameters - For more information, see Common parameters.
RequestId String The GUID generated by Alibaba Cloud for the request.
RegionId String The ID of the region where you make the request.
AllowIP String The IP address whitelist.

Sample requests

  1. http://openanalytics.cn-hangzhou.aliyuncs.com/?Action=GetAllowIP
  2. &RegionID=<RegionID>, for example, cn-hangzhou
  3. &NetworkType=classic_jdbc
  4. &<Common request parameters>

Sample responses

XML format

  1. <GetAllowIPResponse>
  2. <RequestId>A0FE6204-EBAF-4CF8-A0C0-1E8DFD995A37</RequestId>
  3. <RegionId>cn-hangzhou</RegionId>
  4. <AllowIP>0.0.0.0/0</AllowIP>
  5. </GetAllowIPResponse>

JSON format

  1. {
  2. "RegionId": "cn-hangzhou",
  3. "RequestId": "A0FE6204-EBAF-4CF8-A0C0-1E8DFD995A37",
  4. "AllowIP": "0.0.0.0/0"
  5. }