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
- application/json
Body parameters
Security
-
Authorization: apiKey
Type:
apiKey
Response
Supported Media Types
- application/json
200 Response
200 Response
Default Response
Error Payload
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"}'