
Display the information for a specific virtual private endpoint gateway - curl
Display the information for a specific virtual private endpoint gateway.
GET /v1/{service_instance_guid}/virtual_private_endpoint_gateway/{virtual_private_endpoint_gateway_guid}
Request
| Custom Headers | |
|---|---|
Accept-Languagestring
|
The acceptable list of languages supported in the client. Possible values: 1 ≤ length ≤ 256, Value must match regular expression
Example: |
Trusted-Profilestring
|
The CRN of the trusted profile to assume for this request. This can only be retrieved using the
CLI using Possible values: 9 ≤ length ≤ 512, Value must match regular expression
Example:
|
| Path Parameters | |
|---|---|
service_instance_guidRequired*
string |
The GUID that uniquely identifies the IBM® MQ as a Service instance. Possible values: length = 36, Value must match regular expression
Example: |
virtual_private_endpoint_gateway_guidRequired*
string |
The id of the virtual private endpoint gateway Possible values: length = 41, Value must match regular expression
Example: |
Example request
curl -X GET --location --header "Authorization: Bearer ${iam_token}" --header "Accept: application/json" "${base_url}/v1/${service_instance_guid}/virtual_private_endpoint_gateway/${virtual_private_endpoint_gateway_guid}"
Response
| Response Body VirtualPrivateEndpointGatewayDetails
|
The details of a specific Virtual Private Endpoint Gateway |
|---|---|
hrefAlways included*
integer |
URL for the details of the virtual private endpoint gateway Possible values: 10 ≤ length ≤ 8000, Value must match regular expression
|
idAlways included*
string |
The ID of the virtual private endpoint gateway which was allocated on creation. Possible values: length = 41, Value must match regular expression
|
name
Always included*
string |
The name of the virtual private endpoint gateway, created by the user. Possible values: 1 ≤ length ≤ 63, Value must match regular expression
|
target_crnAlways included*
string |
The CRN of the virtual private endpoint gateway the user is trying to connect to. Possible values: 9 ≤ length ≤ 512, Value must match regular expression
|
statusAlways included*
string |
The lifecycle state of this virtual privage endpoint. Possible values: 2 ≤ length ≤ 12, Value must match regular expression
|
| Status | |
|---|---|
| 200 | Summary of the returned applications |
| 301 | URI has permanently Moved |
| 400 | Bad Request |
| 401 | Unauthorized |
| 404 | Resource not found |
| 429 | Service Is Overused |
| 500 | Internal Server Error |
Example response
Success 200
{
"href": "https://api.private.eu-de.mq2.cloud.ibm.com/v1/a2b4d4bc-dadb-4637-bcec-9b7d1e723af8/virtual_private_endpoint_gateway/r010-ebab3c08-c9a8-40c4-8869-61c09ddf7b44",
"id": "r010-ebab3c08-c9a8-40c4-8869-61c09ddf7b44",
"name": "vpe-gateway1-to-vpe-gateway2",
"target_crn": "crn:v1:bluemix:public:mqcloud:eu-de:a/account-id:reserved-capacity-guid::",
"status": "approved"
}