Get External Load Balancer Port Mapping

get

/api/v1/blockchainPlatforms/instances/{id}/lbrportmapping

Get the external load balancer port mapping for an instance.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : LBRPortMappingWrapper
Type: object
External load balancer port mapping list wrapper
Show Source
Nested Schema : portMapping
Type: array
List of external load balancer Port mapping
Show Source
Nested Schema : LBRPortMapping
Type: object
External load balancer port mapping
Show Source

401 Response

Unauthorized
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Nested Schema : errors
Type: array
list of errors
Show Source
Nested Schema : warnings
Type: array
list of warnings
Show Source

404 Response

Not Found
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Nested Schema : errors
Type: array
list of errors
Show Source
Nested Schema : warnings
Type: array
list of warnings
Show Source

500 Response

Internal Server Error
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Nested Schema : errors
Type: array
list of errors
Show Source
Nested Schema : warnings
Type: array
list of warnings
Show Source
Back to Top

Examples

This endpoint is used to get the External Loadbalancer port mapping for a particular Blockchain Platform instance.

The following example shows how to start a particular Blockchain Platform instance by submitting a GET request on the REST resource using cURL.

curl -X GET \
  http://<hostname>:<port>/api/v1/blockchainPlatforms/instances/e1f7bcfe-cc7e-4d19-97fb-772b231fcf99/lbrportmapping \
  -H 'Authorization: Basic b2JwdXNlcjpXZWxjb21lMQ==' \
  -H 'Content-Type: application/json'
  

Example of the Response Body

The following example shows the contents of the response body in JSON format:

{
  "portMapping": [
    {
      "serviceName": "e1f7bcfe-cc7e-4d19-97fb-772b231fcf44-restproxy",
      "externalPort": 10001,
      "externalHost": "myvm.oracle.com",
      "internalPort": 10001,
      "internalHost": ""
    },
    {
      "serviceName": "e1f7bcfe-cc7e-4d19-97fb-772b231fcf44-ca",
      "externalPort": 10002,
      "externalHost": "myvm.oracle.com",
      "internalPort": 10002,
      "internalHost": ""
    },
    {
      "serviceName": "e1f7bcfe-cc7e-4d19-97fb-772b231fcf44-prometheus",
      "externalPort": 10003,
      "externalHost": "myvm.oracle.com",
      "internalPort": 10003,
      "internalHost": ""
    },
    {
      "serviceName": "e1f7bcfe-cc7e-4d19-97fb-772b231fcf44-console0",
      "externalPort": 10000,
      "externalHost": "myvm.oracle.com",
      "internalPort": 10000,
      "internalHost": ""
    },
    {
      "serviceName": "e1f7bcfe-cc7e-4d19-97fb-772b231fcf44-orderer0",
      "externalPort": 10004,
      "externalHost": "myvm.oracle.com",
      "internalPort": 10004,
      "internalHost": ""
    },
    {
      "serviceName": "e1f7bcfe-cc7e-4d19-97fb-772b231fcf44-orderer0",
      "externalPort": 10005,
      "externalHost": "myvm.oracle.com",
      "internalPort": 10005,
      "internalHost": ""
    },
    {
      "serviceName": "e1f7bcfe-cc7e-4d19-97fb-772b231fcf44-orderer1",
      "externalPort": 10006,
      "externalHost": "myvm.oracle.com",
      "internalPort": 10006,
      "internalHost": ""
    },
    {
      "serviceName": "e1f7bcfe-cc7e-4d19-97fb-772b231fcf44-orderer1",
      "externalPort": 10007,
      "externalHost": "myvm.oracle.com",
      "internalPort": 10007,
      "internalHost": ""
    },
    {
      "serviceName": "e1f7bcfe-cc7e-4d19-97fb-772b231fcf44-peer0",
      "externalPort": 10036,
      "externalHost": "myvm.oracle.com",
      "internalPort": 10036,
      "internalHost": ""
    }
  ]
}
Back to Top