Mengkueri konfigurasi detail koneksi langsung virtual private cloud (VPC) dari kelompok sumber daya spesifikasi khusus.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:DescribeResourceDLink |
get |
*Resource
|
None | None |
Sintaks permintaan
GET /api/v2/resources/{ClusterId}/{ResourceId}/dlink HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
ID wilayah tempat kelompok sumber daya berada. |
cn-shanghai |
| ResourceId |
string |
Yes |
ID kelompok sumber daya. Untuk informasi selengkapnya tentang cara mengkueri ID kelompok sumber daya, lihat ListResources. |
eas-r-adfabas**** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
40325405-579C-4D82**** |
| VpcId |
string |
The ID of the VPC that is directly connected. |
vpc-uf66uio7m****1 |
| VSwitchId |
string |
The ID of the primary vSwitch that is directly connected. |
vsw-8vbqn2at0kljjxxxx**** |
| SecurityGroupId |
string |
The ID of the security group that is directly connected. |
sg-bp1j1z7297hcink9d**** |
| AuxVSwitchList |
array |
The IDs of the secondary vSwitches that are directly connected. |
|
|
string |
The ID of the secondary vSwitch. |
[" vsw-8ersw98sgmlgkxxxxxx", " vsw-4dsgg2at0kljjxxxxxxxx"] |
|
| DestinationCIDRs |
string |
The CIDR blocks of the clients that you want to connect to. After this parameter is specified, the CIDR blocks are added to the back-to-origin route of the server. Either this parameter or the VSwitchIdList parameter can be used to determine CIDR blocks. |
172.16.0.0/16 |
Contoh
Respons sukses
JSONformat
{
"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"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.