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

KeyDatatypeRequiredDescription
if-matchstringFor 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-idstringUnique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID.
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(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"}