Data Source: oci_datascience_notebook_sessions
This data source provides the list of Notebook Sessions in Oracle Cloud Infrastructure Data Science service.
Lists the notebook sessions in the specified compartment.
Example Usage
data "oci_datascience_notebook_sessions" "test_notebook_sessions" {
#Required
compartment_id = var.compartment_id
#Optional
created_by = var.notebook_session_created_by
display_name = var.notebook_session_display_name
id = var.notebook_session_id
project_id = oci_datascience_project.test_project.id
state = var.notebook_session_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) Filter results by the OCID of the compartment.created_by
- (Optional) Filter results by the OCID of the user who created the resource.display_name
- (Optional) Filter results by its user-friendly name.id
- (Optional) Filter results by OCID. Must be an OCID of the correct type for the resource type.project_id
- (Optional) Filter results by the OCID of the project.state
- (Optional) Filter results by the specified lifecycle state. Must be a valid state for the resource type.
Attributes Reference
The following attributes are exported:
notebook_sessions
- The list of notebook_sessions.
NotebookSession Reference
The following attributes are exported:
compartment_id
- The OCID of the notebook session’s compartment.created_by
- The OCID of the user who created the notebook session.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:{"Operations.CostCenter": "42"}
display_name
- A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example:My NotebookSession
freeform_tags
- 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"}
id
- The OCID of the notebook session.lifecycle_details
- Details about the state of the notebook session.notebook_session_config_details
- Details for the notebook session configuration.block_storage_size_in_gbs
- A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.notebook_session_shape_config_details
- Details for the notebook session shape configuration.memory_in_gbs
- The total amount of memory available to the notebook session instance, in gigabytes.ocpus
- The total number of OCPUs available to the notebook session instance.
private_endpoint_id
- The OCID of a Data Science private endpoint.shape
- The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using theListNotebookSessionShapes
endpoint.subnet_id
- 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.
notebook_session_configuration_details
- Details for the notebook session configuration.block_storage_size_in_gbs
- A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.notebook_session_shape_config_details
- Details for the notebook session shape configuration.memory_in_gbs
- The total amount of memory available to the notebook session instance, in gigabytes.ocpus
- The total number of OCPUs available to the notebook session instance.
private_endpoint_id
- The OCID of a Data Science private endpoint.shape
- The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using theListNotebookSessionShapes
endpoint.subnet_id
- 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.
notebook_session_runtime_config_details
- Notebook Session runtime configuration details.custom_environment_variables
- Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.notebook_session_git_config_details
- Git configuration Details.notebook_session_git_repo_config_collection
- A collection of Git repository configurations.url
- The repository URL
notebook_session_storage_mount_configuration_details_list
- Collection of NotebookSessionStorageMountConfigurationDetails.bucket
- The object storage bucketdestination_directory_name
- The local directory name to be mounteddestination_path
- The local path of the mounted directory, excluding directory name.export_id
- OCID of the exportmount_target_id
- OCID of the mount targetnamespace
- The object storage namespaceprefix
- Prefix in the bucket to mountstorage_type
- The type of storage.
notebook_session_url
- The URL to interact with the notebook session.project_id
- The OCID of the project associated with the notebook session.state
- The state of the notebook session.time_created
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z