CreateGatewayIntranetLinkedVpc
Creates an internal access endpoint for a private gateway.
Operation description
Before calling this operation, make sure that you fully understand the billing methods and pricing of EAS.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:CreateGatewayIntranetLinkedVpc |
create |
*Gateway
|
None | None |
Request syntax
POST /api/v2/gateways/{ClusterId}/{GatewayId}/intranet_endpoint_linked_vpc HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The region of the private gateway. |
cn-wulanchabu |
| GatewayId |
string |
Yes |
The ID of the private gateway. To obtain the private gateway ID, refer to the private_gateway_id field in the response of the ListResources operation. |
gw-1uhcqmsc7x22****** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VpcId |
string |
No |
The ID of the VPC. To obtain the VPC ID, refer to DescribeVpcs. |
vpc-uf66uio7md**** |
| VSwitchId |
string |
No |
The ID of the vSwitch. To obtain the vSwitch ID, refer to DescribeVpcs. |
vsw-8vbqn2at0kljjxxxx**** |
| EnableAuthoritativeDns |
boolean |
No |
Specifies whether to enable authoritative DNS resolution. Default value: false. |
true |
| AccountId |
string |
No |
The Alibaba Cloud account ID to which the VPC belongs. |
19*****10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The ID of the request. |
40325405-579C-4D82**** |
| GatewayId |
string |
The ID of the private gateway. |
gw-1uhcqmsc7x22****** |
| Message |
string |
The message returned in the response. |
Successfully add intranet linked vpc for gateway |
Examples
Success response
JSON format
{
"RequestId": "40325405-579C-4D82****",
"GatewayId": "gw-1uhcqmsc7x22******",
"Message": "Successfully add intranet linked vpc for gateway"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.