功能介绍:查询实例IP白名单,只有集群版适用。
GET https://[endpoint].ctapi.ctyun.cn/v1/securityMgrServant/describeSecurityIps
Content-Type:application/ form-data
URI参数说明:
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
prodInstId | 873780530431132672 | String | 是 | 实例ID |
返回参数说明:
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
code | core.ok | String | 响应码描述 |
returnObj | Object | 响应对象,详见returnObj |
returnObj:
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
total | 2 | int | 数量 |
rows | ["192.168.3.143","192.168.3.14] | List |
白名单集合 |
请求示例:
GEThttps://dcs2-global.ctapi.ctyun.cn/v1/securityMgrServant/describeSecurityIps?prodInstId=865194359228728320
返回示例:
{
"code": "core.ok",
"returnObj": {
"total": 2,
"rows": [
"192.168.3.143",
"192.168.3.144"
]
},
"message": "success",
"statusCode": 800
}