Lists the network endpoints for an IDaaS EIAM instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:ListNetworkAccessEndpoints |
get |
*NetworkAccessEndpoint
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NextToken |
string |
No |
The token used for the next query. Set this parameter to the NextToken value returned from the previous API call. Leave this parameter empty for the first query. |
NTxxxxxexample |
| MaxResults |
integer |
No |
The number of entries to return on each page. The maximum value is 100. |
20 |
| NetworkAccessEndpointType |
string |
No |
The type of the network endpoint. Valid values:
The default value is private. |
private |
| VpcId |
string |
No |
The ID of the VPC to which the private network endpoint is connected. This parameter does not take effect when NetworkAccessEndpointType is set to shared. |
vpc-examplexxx |
| VpcRegionId |
string |
No |
The region ID of the VPC to which the private network endpoint is connected. The value of this parameter must be a region returned by the ListNetworkAccessEndpointAvailableRegions operation. This parameter does not take effect when NetworkAccessEndpointType is set to shared. |
cn-hangzhou |
| NetworkAccessEndpointStatus |
string |
No |
The status of the network endpoint. Valid values:
This parameter does not take effect when NetworkAccessEndpointType is set to shared. |
running |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
The total number of entries. |
100 |
| NextToken |
string |
The token returned for the next query. |
NTxxxexample |
| NetworkAccessEndpoints |
array<object> |
A collection of network endpoints. |
|
|
object |
The network endpoint information. |
||
| InstanceId |
string |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NetworkAccessEndpointId |
string |
The network endpoint ID. |
nae_examplexxx |
| NetworkAccessEndpointName |
string |
The name of the network endpoint. |
VPC access endpoint for xx service |
| VpcId |
string |
The ID of the VPC to which the private network endpoint is connected. |
vpc-examplexxx |
| VpcRegionId |
string |
The region ID of the VPC to which the private network endpoint is connected. |
cn-hangzhou |
| VSwitchIds |
array |
A list of vSwitches to which the private network endpoint is connected. |
vsw-examplexxx |
|
string |
The vSwitch ID. |
vsw-2vc8z0f90z4k6xxxxx |
|
| SecurityGroupId |
string |
The ID of the security group used by the private network endpoint. |
sg-examplexxx |
| Status |
string |
The status of the network endpoint. Valid values:
|
running |
| NetworkAccessEndpointType |
string |
The type of the network endpoint. Valid values:
|
private |
| CreateTime |
integer |
The time when the network endpoint was created. This value is a UNIX timestamp. Unit: milliseconds. |
1649830226000 |
| UpdateTime |
integer |
The time when the network endpoint was last updated. This value is a UNIX timestamp. Unit: milliseconds. |
1649830226000 |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"NextToken": "NTxxxexample",
"NetworkAccessEndpoints": [
{
"InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"NetworkAccessEndpointId": "nae_examplexxx",
"NetworkAccessEndpointName": "VPC access endpoint for xx service",
"VpcId": "vpc-examplexxx",
"VpcRegionId": "cn-hangzhou",
"VSwitchIds": [
"vsw-2vc8z0f90z4k6xxxxx"
],
"SecurityGroupId": "sg-examplexxx",
"Status": "running",
"NetworkAccessEndpointType": "private",
"CreateTime": 1649830226000,
"UpdateTime": 1649830226000
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.