NotebookSessionConfigurationDetails

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

Bases: object

Details for the notebook session configuration.

Methods

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

Attributes

block_storage_size_in_gbs Gets the block_storage_size_in_gbs of this NotebookSessionConfigurationDetails.
shape [Required] Gets the shape of this NotebookSessionConfigurationDetails.
subnet_id [Required] Gets the subnet_id of this NotebookSessionConfigurationDetails.
__init__(**kwargs)

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

Parameters:
  • shape (str) – The value to assign to the shape property of this NotebookSessionConfigurationDetails.
  • block_storage_size_in_gbs (int) – The value to assign to the block_storage_size_in_gbs property of this NotebookSessionConfigurationDetails.
  • subnet_id (str) – The value to assign to the subnet_id property of this NotebookSessionConfigurationDetails.
block_storage_size_in_gbs

Gets the block_storage_size_in_gbs of this NotebookSessionConfigurationDetails. A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.

Returns:The block_storage_size_in_gbs of this NotebookSessionConfigurationDetails.
Return type:int
shape

[Required] Gets the shape of this NotebookSessionConfigurationDetails. The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved from the ListNotebookSessionShapes endpoint.

Returns:The shape of this NotebookSessionConfigurationDetails.
Return type:str
subnet_id

[Required] Gets the subnet_id of this NotebookSessionConfigurationDetails. A notebook session instance is provided with a VNIC for network access. This specifies the OCID of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet.

Returns:The subnet_id of this NotebookSessionConfigurationDetails.
Return type:str