View All Managed Servers

get

/api/v1.1/instances/{identityId}/{serviceId}/servers

Returns a list of managed servers for a service.

Request

There are no request parameters for this operation.

Response

Supported Media Types
  • application/json
  • text/plain
202 Response
Ok
Body
Root Schema : ViewManagedServerResponse
Nested Schema : serverInProgress
Type: array
Groups all servers that are in the process of being created, with the status of In Progress.
Nested Schema : servers
Type: array
Groups all servers defined for the service instance.
Nested Schema : allservers

Examples

The following example shows how to view information about all Managed Servers for an Oracle SOA Cloud Service instance by submitting a GET request on the REST resource using cURL. For more information, see Use cURL.

See also Scaling an Oracle SOA Cloud Service Instance.

cURL Command

curl -i -X GET -u joe@example.com:Welcome1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://api-host/paas/service/soa/api/v1.1/instances/ExampleIdentityDomain/ExampleInstance/servers
Note:: This example uses the URL prefix for the United States ( soacs). For information about the URL prefixes for other regions of the world, see Send Requests.

Example of Response Header

The following shows an example of the response header:

HTTP/1.1 200 OK
Date: Tue, 02 Sep 2014 12:52:22 GMT
Transfer-Encoding: chunked
Content-Type: application/json

Example of Response Body

The following shows an example of the response body:

{
   "servers":[
      {
         "clusterName":"ExampleI_cluster",
         "name":"ExampleI_server_1",
         "shape":"oc3m",
         "nodeType":"WLS",
         "isAdmin":true,
         "hostname":"123.45.6.78",
         "status":"Ready",
         "reservedIp":"",
         "storageAllocated":47000,
         "creationDate":"Jun 3, 2014 8:19:08 AM"
      },
      {
         "clusterName":"ExampleI_cluster"",
         "name":"ExampleI_server_2",
         "shape":"oc3m",
         "nodeType":"WLS",
         "isAdmin":false,
         "hostname":"ExampleI-wls-2",
         "status":"Ready",
         "reservedIp":"",
         "storageAllocated":27000,
         "creationDate":"Jun 3, 2014 8:19:30 AM"
      },
      {
         "clusterName":"ExampleI_cluster",
         "name":"ExampleI_server_3",
         "shape":"oc3m",
         "nodeType":"WLS",
         "isAdmin":false,
         "hostname":"ExampleI-wls-3",
         "status":"Ready",
         "reservedIp":"",
         "jobId":"17",
         "storageAllocated":27000,
         "creationDate":"Jun 3, 2014 9:04:15 AM"
      }],
   "serverInProgress":[
      {
         "clusterName":"MyCluster",
         "name":"ExampleI_server_4",
         "shape":"oc3m",
         "nodeType":"WLS",
         "isAdmin":false,
         "hostname":"myfirstinstance-wls-2",
         "status":"Preparing_VM",
         "reservedIp":"",
         "jobId":"705",
         "storageAllocated":28672,
         "creationDate":"Jan 29, 2015 8:27:45 PM"
      }
   ]
}