CreateNotebookSessionDetails

class oci.data_science.models.CreateNotebookSessionDetails(**kwargs)

Bases: object

Parameters needed to create a new notebook session. Notebook sessions are interactive coding environments for data scientists.

Methods

__init__(**kwargs) Initializes a new CreateNotebookSessionDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateNotebookSessionDetails.
defined_tags Gets the defined_tags of this CreateNotebookSessionDetails.
display_name Gets the display_name of this CreateNotebookSessionDetails.
freeform_tags Gets the freeform_tags of this CreateNotebookSessionDetails.
notebook_session_configuration_details [Required] Gets the notebook_session_configuration_details of this CreateNotebookSessionDetails.
project_id [Required] Gets the project_id of this CreateNotebookSessionDetails.
__init__(**kwargs)

Initializes a new CreateNotebookSessionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateNotebookSessionDetails.
  • project_id (str) – The value to assign to the project_id property of this CreateNotebookSessionDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateNotebookSessionDetails.
  • notebook_session_configuration_details (NotebookSessionConfigurationDetails) – The value to assign to the notebook_session_configuration_details property of this CreateNotebookSessionDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateNotebookSessionDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateNotebookSessionDetails.
compartment_id

[Required] Gets the compartment_id of this CreateNotebookSessionDetails. The OCID of the compartment where you want to create the notebook session.

Returns:The compartment_id of this CreateNotebookSessionDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateNotebookSessionDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateNotebookSessionDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateNotebookSessionDetails. A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. Example: My NotebookSession

Returns:The display_name of this CreateNotebookSessionDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateNotebookSessionDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this CreateNotebookSessionDetails.
Return type:dict(str, str)
notebook_session_configuration_details

[Required] Gets the notebook_session_configuration_details of this CreateNotebookSessionDetails.

Returns:The notebook_session_configuration_details of this CreateNotebookSessionDetails.
Return type:NotebookSessionConfigurationDetails
project_id

[Required] Gets the project_id of this CreateNotebookSessionDetails. The OCID of the project to associate with the notebook session.

Returns:The project_id of this CreateNotebookSessionDetails.
Return type:str