UpdateNotebookSession
PUT {{baseUrl}}/notebookSessions/:notebookSessionId
Updates the properties of a notebook session. You can update the displayName
, freeformTags
, and definedTags
properties.
When the notebook session is in the INACTIVE lifecycle state, you can update notebookSessionConfigurationDetails
and change shape
, subnetId
, and blockStorageSizeInGBs
.
Changes to the notebookSessionConfigurationDetails
take effect the next time the ActivateNotebookSession
action is invoked on the notebook session resource.
Request Body
{"displayName"=>"ullamco aliqua veniam Duis et", "notebookSessionConfigurationDetails"=>{"shape"=>"VM.Standard.E3.Flex", "subnetId"=>"id consectetur", "blockStorageSizeInGBs"=>1024, "notebookSessionShapeConfigDetails"=>{"memoryInGBs"=>15, "ocpus"=>1}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | For optimistic concurrency control. In the PUT or DELETE call | |
for a resource, set the if-match parameter to the value of the | |||
etag from a previous GET or POST response for that resource. | |||
The resource is updated or deleted only if the etag you | |||
provide matches the resource's current etag value. | |||
opc-request-id | string | Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID. | |
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: OK
{"id":"exercitation anim occae","timeCreated":"2014-09-22T19:03:14.150Z","displayName":"sunt veniam in","projectId":"aute enim","createdBy":"Excepteur amet id sint","compartmentId":"aliqua","lifecycleState":"CREATING","definedTags":{},"freeformTags":{},"lifecycleDetails":"waiting for SSH","notebookSessionConfigurationDetails":{"shape":"VM.Standard.E3.Flex","subnetId":"ipsum enim anim magna","blockStorageSizeInGBs":1024,"notebookSessionShapeConfigDetails":{"memoryInGBs":15,"ocpus":1}},"notebookSessionUrl":"in cillum"}