Viewing details of an endpoint gateway
You can view details about a specific endpoint gateway, or see a summary of endpoint gateways for VPC by using the UI, CLI, or API.
Only services that support Virtual Private Endpoints for VPC show up in the list of endpoint gateway targets.
Viewing details of an endpoint gateway using the UI
To view details of an endpoint gateway by using the IBM Cloud® console, follow these steps:
-
From the IBM Cloud console, select the Navigation Menu , then click Infrastructure > Network > Virtual private endpoint gateways.
The Virtual private endpoint gateways for VPC page shows all endpoint gateways for all VPCs in the region.
-
To view the details of a specific gateway, click an individual gateway name.
From the details page, you can view additional information about the endpoint gateway, view its bound reserved IPs and their subnets, delete an endpoint gateway, attach a security group, and more.
Descriptions of the fields for the virtual endpoint gateway details page are:
Field | Description |
---|---|
Name | The name of the endpoint gateway. Click the Edit icon to update the name. |
Resource group | The resource group of the endpoint gateway. |
Virtual private cloud | The VPC where the endpoint gateway is located. Click to see the VPC's details. |
Subnets | The bound reserved IP addresses' subnets to this endpoint gateway. Click to see the subnet's details. |
Service name | The service offering name of the target for this endpoint gateway. |
Service instance name | The service instance name of the service target for this endpoint gateway. |
Service endpoint | The fully qualified domain name for the target service. |
Target CRN | The service instance's target CRN value. |
From the Attached resources section, you can select to view either Reserved IP or Security groups. Click Manage attached resources to switch to the Attached resources view.
The Reserved IPs table shows all bound, reserved IPs to this endpoint gateway. Descriptions of the fields in the Reserved IPs table are:
Field | Description |
---|---|
Name | The reserved IP name. |
Subnet | The subnet name of the reserved IP. Click to see the subnet's details. |
Location | The reserved IP's location and subnet. |
IP address | The IP address value of the reserved IP. Click to copy it. |
Auto delete | Move the Auto Delete switch to enable or disable deletion for the reserved IP. If it is enabled (green), this reserved IP is deleted automatically when the target is deleted. |
Actions | Click the Actions menu to display a menu of context-specific actions that you can take. There are 4 actions in the menu (Rename, Release, Unbind and Copy UUID for this reserved IP). |
Scroll to the Security groups section to view attached security groups. You can click Attach to attach a security group, or click the Actions menu to edit rules, or detach a security group.
At least one security group must be attached.
Viewing details of an endpoint gateway using the CLI
Before you begin, set up your CLI environment.
To view details of an endpoint gateway from the CLI, enter the following command:
ibmcloud is endpoint-gateway ENDPOINT_GATEWAY [--json]
Where:
- ENDPOINT_GATEWAY is the ID of the endpoint gateway.
- --json formats the output in JSON format.
Viewing details of an endpoint gateway using the API
To view details of an endpoint gateway with the API, follow these steps:
-
Set up your API environment.
-
Store the following values in variables to be used in the API command:
export EndpointGatewayId=<endpoint_gateway_id>
-
When the variables are initiated, view details of the endpoint gateway:
curl -sH "Authorization:${iam_token}" "$vpc_api_endpoint/v1/endpoint_gateways/$EndpointGatewayId?version=$api_version&generation=2"