Queries the virtual private cloud (VPC) direct connection configuration of a dedicated resource group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:DescribeResourceDLink |
get |
*Resource
|
None | None |
Request syntax
GET /api/v2/resources/{ClusterId}/{ResourceId}/dlink HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The ID of the region to which the resource group belongs. |
cn-shanghai |
| ResourceId |
string |
Yes |
The ID of the resource group. For more information about how to query the ID of a resource group, see ListResources. |
eas-r-adfabas**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
40325405-579C-4D82**** |
| VpcId |
string |
The ID of the directly connected VPC. |
vpc-uf66uio7m****1 |
| VSwitchId |
string |
The ID of the directly connected primary vSwitch. |
vsw-8vbqn2at0kljjxxxx**** |
| SecurityGroupId |
string |
The ID of the directly connected security group. |
sg-bp1j1z7297hcink9d**** |
| AuxVSwitchList |
array |
The IDs of the directly connected secondary vSwitches. |
|
|
string |
The ID of the secondary vSwitch. |
[" vsw-8ersw98sgmlgkxxxxxx", " vsw-4dsgg2at0kljjxxxxxxxx"] |
|
| DestinationCIDRs |
string |
The CIDR blocks of the clients to connect. When specified, these CIDR blocks are added to the back-to-origin route of the server. You can use either this parameter or VSwitchIdList to specify CIDR blocks. |
172.16.0.0/16 |
Examples
Success response
JSON format
{
"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"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.