Update resource pool

put

/api/pools/{poolID}

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

Request

Supported Media Types
Path Parameters
Body ()
Body parameters
Root Schema : schema
Type: object
Show Source
Nested Schema : tags
Type: array
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 update an existing Oracle Container Cloud Service resource pool by submitting a PUT request on the REST resource using cURL. For more information about cURL, see Use cURL.

Note: The command in this example uses the URL structure https://rest_server_url/resource-path, where rest_server_url is the manager node for the Oracle Cloud Container instance. See Send Requests for the appropriate URL structure to use for Oracle Public Cloud.

cURL Command

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