查詢雲資料庫 Tair(相容 Redis)執行個體的IP白名單。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
kvstore:DescribeSecurityIps |
get |
*DBInstance
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| InstanceId |
string |
是 |
執行個體 ID。 |
r-bp1zxszhcgatnx**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
EFC9161F-15E3-4A6E-8A99-C09916D1**** |
| SecurityIpGroups |
object |
||
| SecurityIpGroup |
array<object> |
執行個體的 IP 白名單分組資訊。 |
|
|
object |
執行個體的 IP 白名單分組資訊。 |
||
| SecurityIpGroupAttribute |
string |
IP 白名單分組屬性,預設為空白。 說明
hidden 分組表示經使用者授權後,系統(DAS、DMS、DTS 等)自動產生的白名單分組,此類白名單分組不支援修改、刪除操作。 |
hidden |
| SecurityIpList |
string |
IP 白名單分組下的 IP 列表,最多 1000 個。 |
100.100.202.***/24,10.10.10.*** |
| SecurityIpGroupName |
string |
IP 白名單分組的名稱。 |
default |
樣本
正常返回樣本
JSON格式
{
"RequestId": "EFC9161F-15E3-4A6E-8A99-C09916D1****",
"SecurityIpGroups": {
"SecurityIpGroup": [
{
"SecurityIpGroupAttribute": "hidden",
"SecurityIpList": "100.100.202.***/24,10.10.10.***",
"SecurityIpGroupName": "default"
}
]
}
}
異常返回樣本
JSON格式
{
"SecurityIpGroups":{
"SecurityIpGroup":[{
"SecurityIpList":"127.0.0.1",
"SecurityIpGroupAttribute":"",
"SecurityIpGroupName":"default"
},{
"SecurityIpList":"11.xxx.xxx.xxx,10.xxx.xxx.xxx",
"SecurityIpGroupAttribute":"hidden",
"SecurityIpGroupName":"rds_replica_group"
}]
},
"RequestId":"EFC9161F-15E3-4A6E-8A99-C09916D1F464"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 404 | InvalidInstanceId.NotFound | The InstanceId provided does not exist in our records. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。