CreateNetworkAccessEndpoint
Creates a dedicated network endpoint.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:CreateNetworkAccessEndpoint |
create |
*NetworkAccessEndpoint
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NetworkAccessEndpointName |
string |
Yes |
The name of the dedicated network endpoint. |
XX business VPC access endpoint |
| VpcId |
string |
Yes |
The ID of the VPC to which the dedicated network endpoint is connected. |
vpc-examplexxx |
| VpcRegionId |
string |
Yes |
The region of the VPC to which the dedicated network endpoint is connected. |
cn-hangzhou |
| VSwitchIds |
array |
No |
The list of specified vSwitches to which the dedicated network endpoint is connected. |
["vsw-examplexxx"] |
|
string |
No |
The vSwitch ID. |
vsw-2vc8z0f90z4k6xxxxx |
|
| ClientToken |
string |
No |
Ensures the idempotence of the request. You can generate a parameter value on your client to ensure that the value is unique across different requests. The ClientToken parameter supports only ASCII characters and cannot exceed 64 characters in length. For more information, see References: How to ensure idempotence. |
client-token-example |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| NetworkAccessEndpointId |
string |
The network endpoint ID. |
nae_examplexxxx |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"NetworkAccessEndpointId": "nae_examplexxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.