查看專屬資源群組VPC直連配置詳情。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
eas:DescribeResourceDLink |
get |
*Resource
|
無 | 無 |
請求文法
GET /api/v2/resources/{ClusterId}/{ResourceId}/dlink HTTP/1.1
路徑參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ClusterId |
string |
是 |
資源群組所在的地區 ID。 |
cn-shanghai |
| ResourceId |
string |
是 |
資源群組的 ID。如何查詢資源群組 ID,請參見 ListResources 。 |
eas-r-adfabas**** |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
當前API無需請求參數
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回結果。 |
||
| RequestId |
string |
請求 ID。 |
40325405-579C-4D82**** |
| VpcId |
string |
已打通直連的 VPC ID。 |
vpc-uf66uio7m****1 |
| VSwitchId |
string |
已打通直連的主 VSwitch ID。 |
vsw-8vbqn2at0kljjxxxx**** |
| SecurityGroupId |
string |
已打通直連的安全性群組。 |
sg-bp1j1z7297hcink9d**** |
| AuxVSwitchList |
array |
已打通直連的副 VSwitch ID。 |
|
|
string |
VSwitch ID。 |
[" vsw-8ersw98sgmlgkxxxxxx", " vsw-4dsgg2at0kljjxxxxxxxx"] |
|
| DestinationCIDRs |
string |
要打通的用戶端的網段資訊,會將該網段加入到服務端的回包路由中。 |
172.16.0.0/16 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "40325405-579C-4D82****",
"VpcId": "vpc-uf66uio7m****1",
"VSwitchId": "vsw-8vbqn2at0kljjxxxx****",
"SecurityGroupId": "sg-bp1j1z7297hcink9d****",
"AuxVSwitchList": [
"[\" vsw-8ersw98sgmlgkxxxxxx\", \" vsw-4dsgg2at0kljjxxxxxxxx\"]"
],
"DestinationCIDRs": "172.16.0.0/16"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。