Memperbarui konfigurasi koneksi langsung virtual private cloud (VPC) untuk kelompok sumber daya khusus.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:UpdateResourceDLink |
update |
*Resource
|
None | None |
Sintaks permintaan
PUT /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-w1ttszneb9n994**** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
Badan permintaan. |
|
| VSwitchId |
string |
Yes |
The ID of the peer primary vSwitch. After this parameter is specified, an elastic network interface (ENI) is created in the VSwitch. |
vpc-uf66uio7md**** |
| SecurityGroupId |
string |
Yes |
The ID of the security group to which the Elastic Compute Service (ECS) instance belongs. |
sg-bp149cedsfx2rfs**** |
| VSwitchIdList |
array |
No |
The vSwitches of the clients that you want to connect to. After this parameter is specified, the CIDR blocks of these vSwitches are added to the back-to-origin route of the server. |
|
|
string |
No |
The vSwitch ID. |
["vsw-8ersw98sgmlgkxxxxxx","vsw-4dsgg2at0kljjxxxxxxxx"] |
|
| DestinationCIDRs |
string |
No |
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 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
40325405-579C-4D82**** |
| Message |
string |
The returned message. |
Network interfaces are updating |
Contoh
Respons sukses
JSONformat
{
"RequestId": "40325405-579C-4D82****",
"Message": "Network interfaces are updating"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.