Create a new resource pool

post

/api/pools/

When you create a new resource pool, you provide the properties of the new resource pool in the body of the request.

Request

Supported Media Types
Body ()
Body parameters
Root Schema : schema
Type: object
Show Source
Security
Back to Top

Response

Supported Media Types

200 Response

200 Response
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : resources
Type: object
Show Source

Default Response

Error Payload
Body ()
Root Schema : schema
Type: array
Show Source
Back to Top

Examples

The following example shows how to create a new Oracle Container Cloud Service resource pool by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL.

cURL Command

curl -sk 
     -X "POST" 
     -H "Authorization: Bearer 53e024fb32c05723" 
     -H "Content-Type: application/json" "https://rest_server_url/api/pools/"
     -d '{"id":"mypool_id","name":"new_mypool_name","description":"description"}'
Back to Top