
Get a list of information for all virtual private endpoint gateways - curl
Get a list of information for all virtual private endpoint gateways.
GET /v1/{service_instance_guid}/virtual_private_endpoint_gateway
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: |
| Query parameters | |
|---|---|
startstring |
A server-provided token determining what resource to start the page on. Possible values: 1 ≤ length ≤ 4096, Value must match regular expression Example: |
limitinteger
|
The numbers of resources to return. Possible values: 0 ≤ value ≤ 100 Default: |
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?start=r010-ebab3c08-c9a8-40c4-8869-61c09ddf7b44"
Response
| Response Body VirtualPrivateEndpointGatewayDetailsCollection
|
A list of virtual private endpoint gateway summaries |
|---|---|
limitAlways included*
integer |
Results per page, same for all collections. Possible values: value ≤ 50 |
firstAlways included*
|
Link to first page of results. |
|
|
virtual_private_endpoint_gatewaysAlways included*
|
List of virtual private endpoint gateways Possible values: 0 ≤ number of items ≤ 50 |
|
|
|
|
|
|
|
|
|
|
nextAlways included*
|
Link to next page of results. |
|
| Status | |
|---|---|
| 200 | An object with information of all virtual_private_endpoint_gateways in a service instance |
| 301 | URI has permanently Moved |
| 400 | Bad Request |
| 401 | Unauthorized |
| 429 | Service Is Overused |
| 500 | Internal Server Error |
Example response
Success 200
{
"limit": 25,
"first": {
"href": "https://api.private.eu-de.mq2.cloud.ibm.com/v1/a2b4d4bc-dadb-4637-bcec-9b7d1e723af8/virtual_private_endpoint_gateway?limit=25"
},
"next": {
"href": "https://api.private.eu-de.mq2.cloud.ibm.com/v1/a2b4d4bc-dadb-4637-bcec-9b7d1e723af8/virtual_private_endpoint_gateway?start=r010-ebab3c08-c9a8-40c4-8869-61c09ddf7b44&limit=25"
},
"virtual_private_endpoint_gateways": [
{
"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:region:a/5d5ff2a9001c4055ab1408e9bf185f48:a2b4d4bc-dadb-4637-bcec-9b7d1e723af8::",
"status": "approved"
}
]
}