DescribeHaVips
目前該API介面已標記為棄用,推薦使用替代API:Vpc(2016-04-28) - DescribeHaVips。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
vpc:DescribeHaVips |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
||
| PageNumber |
integer |
否 |
||
| PageSize |
integer |
否 |
||
| Filter |
array<object> |
是 |
||
|
object |
否 |
|||
| Key |
string |
否 |
||
| Value |
array |
否 |
||
|
string |
否 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| PageSize |
integer |
||
| RequestId |
string |
||
| PageNumber |
integer |
||
| TotalCount |
integer |
||
| HaVips |
object |
||
| HaVip |
array<object> |
||
|
array<object> |
|||
| Status |
string |
||
| VpcId |
string |
||
| VSwitchId |
string |
||
| IpAddress |
string |
||
| Description |
string |
||
| HaVipId |
string |
||
| CreateTime |
string |
||
| MasterInstanceId |
string |
||
| RegionId |
string |
||
| AssociatedEipAddresses |
object |
||
| associatedEipAddresse |
array |
||
|
string |
|||
| AssociatedInstances |
object |
||
| associatedInstance |
array |
||
|
string |
樣本
正常返回樣本
JSON格式
{
"PageSize": 0,
"RequestId": "",
"PageNumber": 0,
"TotalCount": 0,
"HaVips": {
"HaVip": [
{
"Status": "",
"VpcId": "",
"VSwitchId": "",
"IpAddress": "",
"Description": "",
"HaVipId": "",
"CreateTime": "",
"MasterInstanceId": "",
"RegionId": "",
"AssociatedEipAddresses": {
"associatedEipAddresse": [
""
]
},
"AssociatedInstances": {
"associatedInstance": [
""
]
}
}
]
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Forbidden.HaVip | No permissions to perform operations on HAVIPs. Please apply for privilege--vpc_privilege_allow_buy_havip_instance. | 操作HaVip沒有許可權,請到配額中心申請許可權。 |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | 地區資訊錯誤 |
| 404 | InvalidFilterKey.ValueNotSupported | Specified filter key is not supported: Filter.X.key |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。