Membuat titik akhir internal untuk gerbang privat.
Deskripsi operasi
Make sure that you understand the billing methods and pricing of Elastic Algorithm Service (EAS) before you use this operation.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:CreateGatewayIntranetLinkedVpc |
create |
*Gateway
|
None | None |
Sintaks permintaan
POST /api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
Wilayah tempat gerbang privat berada. |
cn-wulanchabu |
| GatewayId |
string |
Yes |
ID gerbang privat. Untuk informasi selengkapnya, lihat bidang private_gateway_id pada tanggapan operasi ListResources. |
gw-1uhcqmsc7x22****** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| VpcId |
string |
No |
ID virtual private cloud (VPC). Untuk informasi selengkapnya, lihat DescribeVpcs. |
vpc-uf66uio7md**** |
| VSwitchId |
string |
No |
ID vSwitch. Untuk informasi selengkapnya, lihat DescribeVpcs. |
vsw-8vbqn2at0kljjxxxx**** |
| EnableAuthoritativeDns |
boolean |
No |
Apakah akan mengaktifkan resolusi DNS otoritatif. Nilai default: false. |
true |
| AccountId |
string |
No |
ID akun Alibaba Cloud tempat VPC berada. |
19*****10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
40325405-579C-4D82**** |
| GatewayId |
string |
The ID of the private gateway. |
gw-1uhcqmsc7x22****** |
| Message |
string |
The message returned for the request. |
Successfully add intranet linked vpc for gateway |
Contoh
Respons sukses
JSONformat
{
"RequestId": "40325405-579C-4D82****",
"GatewayId": "gw-1uhcqmsc7x22******",
"Message": "Successfully add intranet linked vpc for gateway"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.