ListNetworkAccessEndpoints
Queries the network access endpoints of 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 pagination token. Set this parameter to the value of NextToken returned from the previous API call. Leave this parameter empty for the first call. |
NTxxxxxexample |
| MaxResults |
integer |
No |
The number of entries per page for paging in a paged query. The maximum value is 100. |
20 |
| NetworkAccessEndpointType |
string |
No |
The type of the network access endpoint. Valid values:
Default value: private. |
private |
| VpcId |
string |
No |
The ID of the VPC to which the private network access endpoint is connected. This parameter does not take effect when NetworkAccessEndpointType is set to shared. |
vpc-examplexxx |
| VpcRegionId |
string |
No |
The region of the VPC to which the private network access endpoint is connected. The region must be 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 access endpoint. Valid values:
This filter 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 returned. |
100 |
| NextToken |
string |
The pagination token returned for the current call. |
NTxxxexample |
| NetworkAccessEndpoints |
array<object> |
The network access endpoints. |
|
|
array<object> |
The network access endpoint information. |
||
| InstanceId |
string |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NetworkAccessEndpointId |
string |
The ID of the network access endpoint. |
nae_examplexxx |
| NetworkAccessEndpointName |
string |
The name of the network access endpoint, such as xx business VPC access endpoint. |
VPC access endpoint for xx service |
| VpcId |
string |
The ID of the VPC to which the private network access endpoint is connected. |
vpc-examplexxx |
| VpcRegionId |
string |
The region of the VPC to which the private network access endpoint is connected. |
cn-hangzhou |
| VSwitchIds |
array |
The vSwitches to which the private network access endpoint is connected. |
["vsw-examplexxx"] |
|
string |
The vSwitch ID. |
vsw-2vc8z0f90z4k6xxxxx |
|
| SecurityGroupId |
string |
The ID of the security group used by the private network access endpoint. |
sg-examplexxx |
| Status |
string |
The status of the network access endpoint. Valid values:
|
running |
| NetworkAccessEndpointType |
string |
The type of the network access endpoint. Valid values:
|
private |
| CreateTime |
integer |
The time when the network access endpoint was created. The time is displayed as a UNIX timestamp in milliseconds. |
1649830226000 |
| UpdateTime |
integer |
The time when the network access endpoint was last updated. The time is displayed as a UNIX timestamp in milliseconds. |
1649830226000 |
| BackupVpcEndpoint |
object |
The VPC configurations of the backup network access endpoint. |
|
| BackupVpcRegionId |
string |
The region of the VPC for the backup network access endpoint. |
cn-beijing |
| BackupVpcId |
string |
The ID of the VPC for the backup network access endpoint. |
vpc-examplexxx |
| BackupVSwitchIds |
array |
The vSwitches for the backup network access endpoint. |
|
|
string |
The ID of the vSwitch for the backup network access endpoint. |
vsw-wz94gvcxxxxx |
|
| BackupSecurityGroupId |
string |
The ID of the security group for the backup network access endpoint. |
sg-examplexxx |
| BackupEgressPublicIpAddresses |
array |
The public egress IP addresses of the backup network access endpoint. |
|
|
string |
The public egress IP address of the backup network access endpoint. Important No value is returned. You must go to the VPC console to query the IP address of the NAT gateway. |
"" |
|
| BackupEgressPrivateIpAddresses |
array |
The private egress IP addresses of the backup network access endpoint. |
|
|
string |
The private egress IP address of the backup network access endpoint. |
172.16.x.x |
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,
"BackupVpcEndpoint": {
"BackupVpcRegionId": "cn-beijing",
"BackupVpcId": "vpc-examplexxx",
"BackupVSwitchIds": [
"vsw-wz94gvcxxxxx"
],
"BackupSecurityGroupId": "sg-examplexxx",
"BackupEgressPublicIpAddresses": [
"\"\""
],
"BackupEgressPrivateIpAddresses": [
"172.16.x.x"
]
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.