NotebookSessionConfigDetails¶
- class oci.data_science.models.NotebookSessionConfigDetails(**kwargs)¶
Bases:
objectDetails for the notebook session configuration.
Methods:
__init__(**kwargs)Initializes a new NotebookSessionConfigDetails object with values from keyword arguments.
Attributes:
Gets the block_storage_size_in_gbs of this NotebookSessionConfigDetails.
Gets the capacity_reservation_id of this NotebookSessionConfigDetails.
Gets the notebook_session_shape_config_details of this NotebookSessionConfigDetails.
Gets the private_endpoint_id of this NotebookSessionConfigDetails.
[Required] Gets the shape of this NotebookSessionConfigDetails.
Gets the subnet_id of this NotebookSessionConfigDetails.
- __init__(**kwargs)¶
Initializes a new NotebookSessionConfigDetails 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 NotebookSessionConfigDetails.
block_storage_size_in_gbs (int) – The value to assign to the block_storage_size_in_gbs property of this NotebookSessionConfigDetails.
subnet_id (str) – The value to assign to the subnet_id property of this NotebookSessionConfigDetails.
private_endpoint_id (str) – The value to assign to the private_endpoint_id property of this NotebookSessionConfigDetails.
capacity_reservation_id (str) – The value to assign to the capacity_reservation_id property of this NotebookSessionConfigDetails.
notebook_session_shape_config_details (oci.data_science.models.NotebookSessionShapeConfigDetails) – The value to assign to the notebook_session_shape_config_details property of this NotebookSessionConfigDetails.
- property block_storage_size_in_gbs¶
Gets the block_storage_size_in_gbs of this NotebookSessionConfigDetails. 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 NotebookSessionConfigDetails.
- Return type
int
- property capacity_reservation_id¶
Gets the capacity_reservation_id of this NotebookSessionConfigDetails. This specifies the OCID of the customer-managed compute capacity reservation to be used for launching notebook sessions.
- Returns
The capacity_reservation_id of this NotebookSessionConfigDetails.
- Return type
str
- property notebook_session_shape_config_details¶
Gets the notebook_session_shape_config_details of this NotebookSessionConfigDetails.
- Returns
The notebook_session_shape_config_details of this NotebookSessionConfigDetails.
- Return type
- property private_endpoint_id¶
Gets the private_endpoint_id of this NotebookSessionConfigDetails. The OCID of a Data Science private endpoint.
- Returns
The private_endpoint_id of this NotebookSessionConfigDetails.
- Return type
str
- property shape¶
[Required] Gets the shape of this NotebookSessionConfigDetails. The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the ListNotebookSessionShapes endpoint.
- Returns
The shape of this NotebookSessionConfigDetails.
- Return type
str
- property subnet_id¶
Gets the subnet_id of this NotebookSessionConfigDetails. 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 NotebookSessionConfigDetails.
- Return type
str