oci.DataScience.NotebookSession
Explore with Pulumi AI
This resource provides the Notebook Session resource in Oracle Cloud Infrastructure Data Science service.
Creates a new notebook session.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNotebookSession = new oci.datascience.NotebookSession("test_notebook_session", {
    compartmentId: compartmentId,
    projectId: testProject.id,
    definedTags: {
        "Operations.CostCenter": "42",
    },
    displayName: notebookSessionDisplayName,
    freeformTags: {
        Department: "Finance",
    },
    notebookSessionConfigDetails: {
        shape: notebookSessionNotebookSessionConfigDetailsShape,
        blockStorageSizeInGbs: notebookSessionNotebookSessionConfigDetailsBlockStorageSizeInGbs,
        notebookSessionShapeConfigDetails: {
            memoryInGbs: notebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsMemoryInGbs,
            ocpus: notebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsOcpus,
        },
        privateEndpointId: testPrivateEndpoint.id,
        subnetId: testSubnet.id,
    },
    notebookSessionConfigurationDetails: {
        shape: notebookSessionNotebookSessionConfigurationDetailsShape,
        subnetId: testSubnet.id,
        blockStorageSizeInGbs: notebookSessionNotebookSessionConfigurationDetailsBlockStorageSizeInGbs,
        notebookSessionShapeConfigDetails: {
            memoryInGbs: notebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsMemoryInGbs,
            ocpus: notebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsOcpus,
        },
        privateEndpointId: testPrivateEndpoint.id,
    },
    notebookSessionRuntimeConfigDetails: {
        customEnvironmentVariables: notebookSessionNotebookSessionRuntimeConfigDetailsCustomEnvironmentVariables,
        notebookSessionGitConfigDetails: {
            notebookSessionGitRepoConfigCollections: [{
                url: notebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionUrl,
            }],
        },
    },
    notebookSessionStorageMountConfigurationDetailsLists: [{
        destinationDirectoryName: notebookSessionNotebookSessionStorageMountConfigurationDetailsListDestinationDirectoryName,
        storageType: notebookSessionNotebookSessionStorageMountConfigurationDetailsListStorageType,
        bucket: notebookSessionNotebookSessionStorageMountConfigurationDetailsListBucket,
        destinationPath: notebookSessionNotebookSessionStorageMountConfigurationDetailsListDestinationPath,
        exportId: testExport.id,
        mountTargetId: testMountTarget.id,
        namespace: notebookSessionNotebookSessionStorageMountConfigurationDetailsListNamespace,
        prefix: notebookSessionNotebookSessionStorageMountConfigurationDetailsListPrefix,
    }],
});
import pulumi
import pulumi_oci as oci
test_notebook_session = oci.data_science.NotebookSession("test_notebook_session",
    compartment_id=compartment_id,
    project_id=test_project["id"],
    defined_tags={
        "Operations.CostCenter": "42",
    },
    display_name=notebook_session_display_name,
    freeform_tags={
        "Department": "Finance",
    },
    notebook_session_config_details={
        "shape": notebook_session_notebook_session_config_details_shape,
        "block_storage_size_in_gbs": notebook_session_notebook_session_config_details_block_storage_size_in_gbs,
        "notebook_session_shape_config_details": {
            "memory_in_gbs": notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs,
            "ocpus": notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus,
        },
        "private_endpoint_id": test_private_endpoint["id"],
        "subnet_id": test_subnet["id"],
    },
    notebook_session_configuration_details={
        "shape": notebook_session_notebook_session_configuration_details_shape,
        "subnet_id": test_subnet["id"],
        "block_storage_size_in_gbs": notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs,
        "notebook_session_shape_config_details": {
            "memory_in_gbs": notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs,
            "ocpus": notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus,
        },
        "private_endpoint_id": test_private_endpoint["id"],
    },
    notebook_session_runtime_config_details={
        "custom_environment_variables": notebook_session_notebook_session_runtime_config_details_custom_environment_variables,
        "notebook_session_git_config_details": {
            "notebook_session_git_repo_config_collections": [{
                "url": notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url,
            }],
        },
    },
    notebook_session_storage_mount_configuration_details_lists=[{
        "destination_directory_name": notebook_session_notebook_session_storage_mount_configuration_details_list_destination_directory_name,
        "storage_type": notebook_session_notebook_session_storage_mount_configuration_details_list_storage_type,
        "bucket": notebook_session_notebook_session_storage_mount_configuration_details_list_bucket,
        "destination_path": notebook_session_notebook_session_storage_mount_configuration_details_list_destination_path,
        "export_id": test_export["id"],
        "mount_target_id": test_mount_target["id"],
        "namespace": notebook_session_notebook_session_storage_mount_configuration_details_list_namespace,
        "prefix": notebook_session_notebook_session_storage_mount_configuration_details_list_prefix,
    }])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/datascience"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datascience.NewNotebookSession(ctx, "test_notebook_session", &datascience.NotebookSessionArgs{
			CompartmentId: pulumi.Any(compartmentId),
			ProjectId:     pulumi.Any(testProject.Id),
			DefinedTags: pulumi.StringMap{
				"Operations.CostCenter": pulumi.String("42"),
			},
			DisplayName: pulumi.Any(notebookSessionDisplayName),
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
			NotebookSessionConfigDetails: &datascience.NotebookSessionNotebookSessionConfigDetailsArgs{
				Shape:                 pulumi.Any(notebookSessionNotebookSessionConfigDetailsShape),
				BlockStorageSizeInGbs: pulumi.Any(notebookSessionNotebookSessionConfigDetailsBlockStorageSizeInGbs),
				NotebookSessionShapeConfigDetails: &datascience.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs{
					MemoryInGbs: pulumi.Any(notebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsMemoryInGbs),
					Ocpus:       pulumi.Any(notebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsOcpus),
				},
				PrivateEndpointId: pulumi.Any(testPrivateEndpoint.Id),
				SubnetId:          pulumi.Any(testSubnet.Id),
			},
			NotebookSessionConfigurationDetails: &datascience.NotebookSessionNotebookSessionConfigurationDetailsArgs{
				Shape:                 pulumi.Any(notebookSessionNotebookSessionConfigurationDetailsShape),
				SubnetId:              pulumi.Any(testSubnet.Id),
				BlockStorageSizeInGbs: pulumi.Any(notebookSessionNotebookSessionConfigurationDetailsBlockStorageSizeInGbs),
				NotebookSessionShapeConfigDetails: &datascience.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs{
					MemoryInGbs: pulumi.Any(notebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsMemoryInGbs),
					Ocpus:       pulumi.Any(notebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsOcpus),
				},
				PrivateEndpointId: pulumi.Any(testPrivateEndpoint.Id),
			},
			NotebookSessionRuntimeConfigDetails: &datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs{
				CustomEnvironmentVariables: pulumi.Any(notebookSessionNotebookSessionRuntimeConfigDetailsCustomEnvironmentVariables),
				NotebookSessionGitConfigDetails: &datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs{
					NotebookSessionGitRepoConfigCollections: datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArray{
						&datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs{
							Url: pulumi.Any(notebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionUrl),
						},
					},
				},
			},
			NotebookSessionStorageMountConfigurationDetailsLists: datascience.NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArray{
				&datascience.NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs{
					DestinationDirectoryName: pulumi.Any(notebookSessionNotebookSessionStorageMountConfigurationDetailsListDestinationDirectoryName),
					StorageType:              pulumi.Any(notebookSessionNotebookSessionStorageMountConfigurationDetailsListStorageType),
					Bucket:                   pulumi.Any(notebookSessionNotebookSessionStorageMountConfigurationDetailsListBucket),
					DestinationPath:          pulumi.Any(notebookSessionNotebookSessionStorageMountConfigurationDetailsListDestinationPath),
					ExportId:                 pulumi.Any(testExport.Id),
					MountTargetId:            pulumi.Any(testMountTarget.Id),
					Namespace:                pulumi.Any(notebookSessionNotebookSessionStorageMountConfigurationDetailsListNamespace),
					Prefix:                   pulumi.Any(notebookSessionNotebookSessionStorageMountConfigurationDetailsListPrefix),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testNotebookSession = new Oci.DataScience.NotebookSession("test_notebook_session", new()
    {
        CompartmentId = compartmentId,
        ProjectId = testProject.Id,
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        DisplayName = notebookSessionDisplayName,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
        NotebookSessionConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigDetailsArgs
        {
            Shape = notebookSessionNotebookSessionConfigDetailsShape,
            BlockStorageSizeInGbs = notebookSessionNotebookSessionConfigDetailsBlockStorageSizeInGbs,
            NotebookSessionShapeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs
            {
                MemoryInGbs = notebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsMemoryInGbs,
                Ocpus = notebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsOcpus,
            },
            PrivateEndpointId = testPrivateEndpoint.Id,
            SubnetId = testSubnet.Id,
        },
        NotebookSessionConfigurationDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigurationDetailsArgs
        {
            Shape = notebookSessionNotebookSessionConfigurationDetailsShape,
            SubnetId = testSubnet.Id,
            BlockStorageSizeInGbs = notebookSessionNotebookSessionConfigurationDetailsBlockStorageSizeInGbs,
            NotebookSessionShapeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs
            {
                MemoryInGbs = notebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsMemoryInGbs,
                Ocpus = notebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsOcpus,
            },
            PrivateEndpointId = testPrivateEndpoint.Id,
        },
        NotebookSessionRuntimeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs
        {
            CustomEnvironmentVariables = notebookSessionNotebookSessionRuntimeConfigDetailsCustomEnvironmentVariables,
            NotebookSessionGitConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs
            {
                NotebookSessionGitRepoConfigCollections = new[]
                {
                    new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs
                    {
                        Url = notebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionUrl,
                    },
                },
            },
        },
        NotebookSessionStorageMountConfigurationDetailsLists = new[]
        {
            new Oci.DataScience.Inputs.NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs
            {
                DestinationDirectoryName = notebookSessionNotebookSessionStorageMountConfigurationDetailsListDestinationDirectoryName,
                StorageType = notebookSessionNotebookSessionStorageMountConfigurationDetailsListStorageType,
                Bucket = notebookSessionNotebookSessionStorageMountConfigurationDetailsListBucket,
                DestinationPath = notebookSessionNotebookSessionStorageMountConfigurationDetailsListDestinationPath,
                ExportId = testExport.Id,
                MountTargetId = testMountTarget.Id,
                Namespace = notebookSessionNotebookSessionStorageMountConfigurationDetailsListNamespace,
                Prefix = notebookSessionNotebookSessionStorageMountConfigurationDetailsListPrefix,
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataScience.NotebookSession;
import com.pulumi.oci.DataScience.NotebookSessionArgs;
import com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionConfigDetailsArgs;
import com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs;
import com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionConfigurationDetailsArgs;
import com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs;
import com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs;
import com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs;
import com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var testNotebookSession = new NotebookSession("testNotebookSession", NotebookSessionArgs.builder()
            .compartmentId(compartmentId)
            .projectId(testProject.id())
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .displayName(notebookSessionDisplayName)
            .freeformTags(Map.of("Department", "Finance"))
            .notebookSessionConfigDetails(NotebookSessionNotebookSessionConfigDetailsArgs.builder()
                .shape(notebookSessionNotebookSessionConfigDetailsShape)
                .blockStorageSizeInGbs(notebookSessionNotebookSessionConfigDetailsBlockStorageSizeInGbs)
                .notebookSessionShapeConfigDetails(NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs.builder()
                    .memoryInGbs(notebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsMemoryInGbs)
                    .ocpus(notebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsOcpus)
                    .build())
                .privateEndpointId(testPrivateEndpoint.id())
                .subnetId(testSubnet.id())
                .build())
            .notebookSessionConfigurationDetails(NotebookSessionNotebookSessionConfigurationDetailsArgs.builder()
                .shape(notebookSessionNotebookSessionConfigurationDetailsShape)
                .subnetId(testSubnet.id())
                .blockStorageSizeInGbs(notebookSessionNotebookSessionConfigurationDetailsBlockStorageSizeInGbs)
                .notebookSessionShapeConfigDetails(NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs.builder()
                    .memoryInGbs(notebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsMemoryInGbs)
                    .ocpus(notebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsOcpus)
                    .build())
                .privateEndpointId(testPrivateEndpoint.id())
                .build())
            .notebookSessionRuntimeConfigDetails(NotebookSessionNotebookSessionRuntimeConfigDetailsArgs.builder()
                .customEnvironmentVariables(notebookSessionNotebookSessionRuntimeConfigDetailsCustomEnvironmentVariables)
                .notebookSessionGitConfigDetails(NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs.builder()
                    .notebookSessionGitRepoConfigCollections(NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs.builder()
                        .url(notebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionUrl)
                        .build())
                    .build())
                .build())
            .notebookSessionStorageMountConfigurationDetailsLists(NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs.builder()
                .destinationDirectoryName(notebookSessionNotebookSessionStorageMountConfigurationDetailsListDestinationDirectoryName)
                .storageType(notebookSessionNotebookSessionStorageMountConfigurationDetailsListStorageType)
                .bucket(notebookSessionNotebookSessionStorageMountConfigurationDetailsListBucket)
                .destinationPath(notebookSessionNotebookSessionStorageMountConfigurationDetailsListDestinationPath)
                .exportId(testExport.id())
                .mountTargetId(testMountTarget.id())
                .namespace(notebookSessionNotebookSessionStorageMountConfigurationDetailsListNamespace)
                .prefix(notebookSessionNotebookSessionStorageMountConfigurationDetailsListPrefix)
                .build())
            .build());
    }
}
resources:
  testNotebookSession:
    type: oci:DataScience:NotebookSession
    name: test_notebook_session
    properties:
      compartmentId: ${compartmentId}
      projectId: ${testProject.id}
      definedTags:
        Operations.CostCenter: '42'
      displayName: ${notebookSessionDisplayName}
      freeformTags:
        Department: Finance
      notebookSessionConfigDetails:
        shape: ${notebookSessionNotebookSessionConfigDetailsShape}
        blockStorageSizeInGbs: ${notebookSessionNotebookSessionConfigDetailsBlockStorageSizeInGbs}
        notebookSessionShapeConfigDetails:
          memoryInGbs: ${notebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsMemoryInGbs}
          ocpus: ${notebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsOcpus}
        privateEndpointId: ${testPrivateEndpoint.id}
        subnetId: ${testSubnet.id}
      notebookSessionConfigurationDetails:
        shape: ${notebookSessionNotebookSessionConfigurationDetailsShape}
        subnetId: ${testSubnet.id}
        blockStorageSizeInGbs: ${notebookSessionNotebookSessionConfigurationDetailsBlockStorageSizeInGbs}
        notebookSessionShapeConfigDetails:
          memoryInGbs: ${notebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsMemoryInGbs}
          ocpus: ${notebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsOcpus}
        privateEndpointId: ${testPrivateEndpoint.id}
      notebookSessionRuntimeConfigDetails:
        customEnvironmentVariables: ${notebookSessionNotebookSessionRuntimeConfigDetailsCustomEnvironmentVariables}
        notebookSessionGitConfigDetails:
          notebookSessionGitRepoConfigCollections:
            - url: ${notebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionUrl}
      notebookSessionStorageMountConfigurationDetailsLists:
        - destinationDirectoryName: ${notebookSessionNotebookSessionStorageMountConfigurationDetailsListDestinationDirectoryName}
          storageType: ${notebookSessionNotebookSessionStorageMountConfigurationDetailsListStorageType}
          bucket: ${notebookSessionNotebookSessionStorageMountConfigurationDetailsListBucket}
          destinationPath: ${notebookSessionNotebookSessionStorageMountConfigurationDetailsListDestinationPath}
          exportId: ${testExport.id}
          mountTargetId: ${testMountTarget.id}
          namespace: ${notebookSessionNotebookSessionStorageMountConfigurationDetailsListNamespace}
          prefix: ${notebookSessionNotebookSessionStorageMountConfigurationDetailsListPrefix}
Create NotebookSession Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NotebookSession(name: string, args: NotebookSessionArgs, opts?: CustomResourceOptions);@overload
def NotebookSession(resource_name: str,
                    args: NotebookSessionArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def NotebookSession(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    compartment_id: Optional[str] = None,
                    project_id: Optional[str] = None,
                    defined_tags: Optional[Mapping[str, str]] = None,
                    display_name: Optional[str] = None,
                    freeform_tags: Optional[Mapping[str, str]] = None,
                    notebook_session_config_details: Optional[NotebookSessionNotebookSessionConfigDetailsArgs] = None,
                    notebook_session_configuration_details: Optional[NotebookSessionNotebookSessionConfigurationDetailsArgs] = None,
                    notebook_session_runtime_config_details: Optional[NotebookSessionNotebookSessionRuntimeConfigDetailsArgs] = None,
                    notebook_session_storage_mount_configuration_details_lists: Optional[Sequence[NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs]] = None,
                    state: Optional[str] = None)func NewNotebookSession(ctx *Context, name string, args NotebookSessionArgs, opts ...ResourceOption) (*NotebookSession, error)public NotebookSession(string name, NotebookSessionArgs args, CustomResourceOptions? opts = null)
public NotebookSession(String name, NotebookSessionArgs args)
public NotebookSession(String name, NotebookSessionArgs args, CustomResourceOptions options)
type: oci:DataScience:NotebookSession
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NotebookSessionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NotebookSessionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NotebookSessionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NotebookSessionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NotebookSessionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var notebookSessionResource = new Oci.DataScience.NotebookSession("notebookSessionResource", new()
{
    CompartmentId = "string",
    ProjectId = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    DisplayName = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
    NotebookSessionConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigDetailsArgs
    {
        Shape = "string",
        BlockStorageSizeInGbs = 0,
        NotebookSessionShapeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs
        {
            MemoryInGbs = 0,
            Ocpus = 0,
        },
        PrivateEndpointId = "string",
        SubnetId = "string",
    },
    NotebookSessionConfigurationDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigurationDetailsArgs
    {
        Shape = "string",
        SubnetId = "string",
        BlockStorageSizeInGbs = 0,
        NotebookSessionShapeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs
        {
            MemoryInGbs = 0,
            Ocpus = 0,
        },
        PrivateEndpointId = "string",
    },
    NotebookSessionRuntimeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs
    {
        CustomEnvironmentVariables = 
        {
            { "string", "string" },
        },
        NotebookSessionGitConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs
        {
            NotebookSessionGitRepoConfigCollections = new[]
            {
                new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs
                {
                    Url = "string",
                },
            },
        },
    },
    NotebookSessionStorageMountConfigurationDetailsLists = new[]
    {
        new Oci.DataScience.Inputs.NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs
        {
            DestinationDirectoryName = "string",
            StorageType = "string",
            Bucket = "string",
            DestinationPath = "string",
            ExportId = "string",
            MountTargetId = "string",
            Namespace = "string",
            Prefix = "string",
        },
    },
    State = "string",
});
example, err := datascience.NewNotebookSession(ctx, "notebookSessionResource", &datascience.NotebookSessionArgs{
	CompartmentId: pulumi.String("string"),
	ProjectId:     pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DisplayName: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	NotebookSessionConfigDetails: &datascience.NotebookSessionNotebookSessionConfigDetailsArgs{
		Shape:                 pulumi.String("string"),
		BlockStorageSizeInGbs: pulumi.Int(0),
		NotebookSessionShapeConfigDetails: &datascience.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs{
			MemoryInGbs: pulumi.Float64(0),
			Ocpus:       pulumi.Float64(0),
		},
		PrivateEndpointId: pulumi.String("string"),
		SubnetId:          pulumi.String("string"),
	},
	NotebookSessionConfigurationDetails: &datascience.NotebookSessionNotebookSessionConfigurationDetailsArgs{
		Shape:                 pulumi.String("string"),
		SubnetId:              pulumi.String("string"),
		BlockStorageSizeInGbs: pulumi.Int(0),
		NotebookSessionShapeConfigDetails: &datascience.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs{
			MemoryInGbs: pulumi.Float64(0),
			Ocpus:       pulumi.Float64(0),
		},
		PrivateEndpointId: pulumi.String("string"),
	},
	NotebookSessionRuntimeConfigDetails: &datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs{
		CustomEnvironmentVariables: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		NotebookSessionGitConfigDetails: &datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs{
			NotebookSessionGitRepoConfigCollections: datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArray{
				&datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs{
					Url: pulumi.String("string"),
				},
			},
		},
	},
	NotebookSessionStorageMountConfigurationDetailsLists: datascience.NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArray{
		&datascience.NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs{
			DestinationDirectoryName: pulumi.String("string"),
			StorageType:              pulumi.String("string"),
			Bucket:                   pulumi.String("string"),
			DestinationPath:          pulumi.String("string"),
			ExportId:                 pulumi.String("string"),
			MountTargetId:            pulumi.String("string"),
			Namespace:                pulumi.String("string"),
			Prefix:                   pulumi.String("string"),
		},
	},
	State: pulumi.String("string"),
})
var notebookSessionResource = new NotebookSession("notebookSessionResource", NotebookSessionArgs.builder()
    .compartmentId("string")
    .projectId("string")
    .definedTags(Map.of("string", "string"))
    .displayName("string")
    .freeformTags(Map.of("string", "string"))
    .notebookSessionConfigDetails(NotebookSessionNotebookSessionConfigDetailsArgs.builder()
        .shape("string")
        .blockStorageSizeInGbs(0)
        .notebookSessionShapeConfigDetails(NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs.builder()
            .memoryInGbs(0.0)
            .ocpus(0.0)
            .build())
        .privateEndpointId("string")
        .subnetId("string")
        .build())
    .notebookSessionConfigurationDetails(NotebookSessionNotebookSessionConfigurationDetailsArgs.builder()
        .shape("string")
        .subnetId("string")
        .blockStorageSizeInGbs(0)
        .notebookSessionShapeConfigDetails(NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs.builder()
            .memoryInGbs(0.0)
            .ocpus(0.0)
            .build())
        .privateEndpointId("string")
        .build())
    .notebookSessionRuntimeConfigDetails(NotebookSessionNotebookSessionRuntimeConfigDetailsArgs.builder()
        .customEnvironmentVariables(Map.of("string", "string"))
        .notebookSessionGitConfigDetails(NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs.builder()
            .notebookSessionGitRepoConfigCollections(NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs.builder()
                .url("string")
                .build())
            .build())
        .build())
    .notebookSessionStorageMountConfigurationDetailsLists(NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs.builder()
        .destinationDirectoryName("string")
        .storageType("string")
        .bucket("string")
        .destinationPath("string")
        .exportId("string")
        .mountTargetId("string")
        .namespace("string")
        .prefix("string")
        .build())
    .state("string")
    .build());
notebook_session_resource = oci.data_science.NotebookSession("notebookSessionResource",
    compartment_id="string",
    project_id="string",
    defined_tags={
        "string": "string",
    },
    display_name="string",
    freeform_tags={
        "string": "string",
    },
    notebook_session_config_details={
        "shape": "string",
        "block_storage_size_in_gbs": 0,
        "notebook_session_shape_config_details": {
            "memory_in_gbs": 0,
            "ocpus": 0,
        },
        "private_endpoint_id": "string",
        "subnet_id": "string",
    },
    notebook_session_configuration_details={
        "shape": "string",
        "subnet_id": "string",
        "block_storage_size_in_gbs": 0,
        "notebook_session_shape_config_details": {
            "memory_in_gbs": 0,
            "ocpus": 0,
        },
        "private_endpoint_id": "string",
    },
    notebook_session_runtime_config_details={
        "custom_environment_variables": {
            "string": "string",
        },
        "notebook_session_git_config_details": {
            "notebook_session_git_repo_config_collections": [{
                "url": "string",
            }],
        },
    },
    notebook_session_storage_mount_configuration_details_lists=[{
        "destination_directory_name": "string",
        "storage_type": "string",
        "bucket": "string",
        "destination_path": "string",
        "export_id": "string",
        "mount_target_id": "string",
        "namespace": "string",
        "prefix": "string",
    }],
    state="string")
const notebookSessionResource = new oci.datascience.NotebookSession("notebookSessionResource", {
    compartmentId: "string",
    projectId: "string",
    definedTags: {
        string: "string",
    },
    displayName: "string",
    freeformTags: {
        string: "string",
    },
    notebookSessionConfigDetails: {
        shape: "string",
        blockStorageSizeInGbs: 0,
        notebookSessionShapeConfigDetails: {
            memoryInGbs: 0,
            ocpus: 0,
        },
        privateEndpointId: "string",
        subnetId: "string",
    },
    notebookSessionConfigurationDetails: {
        shape: "string",
        subnetId: "string",
        blockStorageSizeInGbs: 0,
        notebookSessionShapeConfigDetails: {
            memoryInGbs: 0,
            ocpus: 0,
        },
        privateEndpointId: "string",
    },
    notebookSessionRuntimeConfigDetails: {
        customEnvironmentVariables: {
            string: "string",
        },
        notebookSessionGitConfigDetails: {
            notebookSessionGitRepoConfigCollections: [{
                url: "string",
            }],
        },
    },
    notebookSessionStorageMountConfigurationDetailsLists: [{
        destinationDirectoryName: "string",
        storageType: "string",
        bucket: "string",
        destinationPath: "string",
        exportId: "string",
        mountTargetId: "string",
        namespace: "string",
        prefix: "string",
    }],
    state: "string",
});
type: oci:DataScience:NotebookSession
properties:
    compartmentId: string
    definedTags:
        string: string
    displayName: string
    freeformTags:
        string: string
    notebookSessionConfigDetails:
        blockStorageSizeInGbs: 0
        notebookSessionShapeConfigDetails:
            memoryInGbs: 0
            ocpus: 0
        privateEndpointId: string
        shape: string
        subnetId: string
    notebookSessionConfigurationDetails:
        blockStorageSizeInGbs: 0
        notebookSessionShapeConfigDetails:
            memoryInGbs: 0
            ocpus: 0
        privateEndpointId: string
        shape: string
        subnetId: string
    notebookSessionRuntimeConfigDetails:
        customEnvironmentVariables:
            string: string
        notebookSessionGitConfigDetails:
            notebookSessionGitRepoConfigCollections:
                - url: string
    notebookSessionStorageMountConfigurationDetailsLists:
        - bucket: string
          destinationDirectoryName: string
          destinationPath: string
          exportId: string
          mountTargetId: string
          namespace: string
          prefix: string
          storageType: string
    projectId: string
    state: string
NotebookSession Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NotebookSession resource accepts the following input properties:
- CompartmentId string
- (Updatable) The OCID of the compartment where you want to create the notebook session.
- ProjectId string
- The OCID of the project to associate with the notebook session. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
- DisplayName string
- (Updatable) 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
- Dictionary<string, string>
- (Updatable) 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"}
- NotebookSession NotebookConfig Details Session Notebook Session Config Details 
- Details for the notebook session configuration.
- NotebookSession NotebookConfiguration Details Session Notebook Session Configuration Details 
- (Updatable) Details for the notebook session configuration.
- NotebookSession NotebookRuntime Config Details Session Notebook Session Runtime Config Details 
- (Updatable) Notebook Session runtime configuration details.
- NotebookSession List<NotebookStorage Mount Configuration Details Lists Session Notebook Session Storage Mount Configuration Details List> 
- (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
- State string
- The state of the notebook session.
- CompartmentId string
- (Updatable) The OCID of the compartment where you want to create the notebook session.
- ProjectId string
- The OCID of the project to associate with the notebook session. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
- DisplayName string
- (Updatable) 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
- map[string]string
- (Updatable) 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"}
- NotebookSession NotebookConfig Details Session Notebook Session Config Details Args 
- Details for the notebook session configuration.
- NotebookSession NotebookConfiguration Details Session Notebook Session Configuration Details Args 
- (Updatable) Details for the notebook session configuration.
- NotebookSession NotebookRuntime Config Details Session Notebook Session Runtime Config Details Args 
- (Updatable) Notebook Session runtime configuration details.
- NotebookSession []NotebookStorage Mount Configuration Details Lists Session Notebook Session Storage Mount Configuration Details List Args 
- (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
- State string
- The state of the notebook session.
- compartmentId String
- (Updatable) The OCID of the compartment where you want to create the notebook session.
- projectId String
- The OCID of the project to associate with the notebook session. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName String
- (Updatable) 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
- Map<String,String>
- (Updatable) 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"}
- notebookSession NotebookConfig Details Session Notebook Session Config Details 
- Details for the notebook session configuration.
- notebookSession NotebookConfiguration Details Session Notebook Session Configuration Details 
- (Updatable) Details for the notebook session configuration.
- notebookSession NotebookRuntime Config Details Session Notebook Session Runtime Config Details 
- (Updatable) Notebook Session runtime configuration details.
- notebookSession List<NotebookStorage Mount Configuration Details Lists Session Notebook Session Storage Mount Configuration Details List> 
- (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
- state String
- The state of the notebook session.
- compartmentId string
- (Updatable) The OCID of the compartment where you want to create the notebook session.
- projectId string
- The OCID of the project to associate with the notebook session. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName string
- (Updatable) 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
- {[key: string]: string}
- (Updatable) 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"}
- notebookSession NotebookConfig Details Session Notebook Session Config Details 
- Details for the notebook session configuration.
- notebookSession NotebookConfiguration Details Session Notebook Session Configuration Details 
- (Updatable) Details for the notebook session configuration.
- notebookSession NotebookRuntime Config Details Session Notebook Session Runtime Config Details 
- (Updatable) Notebook Session runtime configuration details.
- notebookSession NotebookStorage Mount Configuration Details Lists Session Notebook Session Storage Mount Configuration Details List[] 
- (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
- state string
- The state of the notebook session.
- compartment_id str
- (Updatable) The OCID of the compartment where you want to create the notebook session.
- project_id str
- The OCID of the project to associate with the notebook session. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
- display_name str
- (Updatable) 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
- Mapping[str, str]
- (Updatable) 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"}
- notebook_session_ Notebookconfig_ details Session Notebook Session Config Details Args 
- Details for the notebook session configuration.
- notebook_session_ Notebookconfiguration_ details Session Notebook Session Configuration Details Args 
- (Updatable) Details for the notebook session configuration.
- notebook_session_ Notebookruntime_ config_ details Session Notebook Session Runtime Config Details Args 
- (Updatable) Notebook Session runtime configuration details.
- notebook_session_ Sequence[Notebookstorage_ mount_ configuration_ details_ lists Session Notebook Session Storage Mount Configuration Details List Args] 
- (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
- state str
- The state of the notebook session.
- compartmentId String
- (Updatable) The OCID of the compartment where you want to create the notebook session.
- projectId String
- The OCID of the project to associate with the notebook session. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName String
- (Updatable) 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
- Map<String>
- (Updatable) 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"}
- notebookSession Property MapConfig Details 
- Details for the notebook session configuration.
- notebookSession Property MapConfiguration Details 
- (Updatable) Details for the notebook session configuration.
- notebookSession Property MapRuntime Config Details 
- (Updatable) Notebook Session runtime configuration details.
- notebookSession List<Property Map>Storage Mount Configuration Details Lists 
- (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
- state String
- The state of the notebook session.
Outputs
All input properties are implicitly available as output properties. Additionally, the NotebookSession resource produces the following output properties:
- CreatedBy string
- The OCID of the user who created the notebook session.
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails string
- Details about the state of the notebook session.
- NotebookSession stringUrl 
- The URL to interact with the notebook session.
- TimeCreated string
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- CreatedBy string
- The OCID of the user who created the notebook session.
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails string
- Details about the state of the notebook session.
- NotebookSession stringUrl 
- The URL to interact with the notebook session.
- TimeCreated string
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- createdBy String
- The OCID of the user who created the notebook session.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails String
- Details about the state of the notebook session.
- notebookSession StringUrl 
- The URL to interact with the notebook session.
- timeCreated String
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- createdBy string
- The OCID of the user who created the notebook session.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails string
- Details about the state of the notebook session.
- notebookSession stringUrl 
- The URL to interact with the notebook session.
- timeCreated string
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- created_by str
- The OCID of the user who created the notebook session.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_details str
- Details about the state of the notebook session.
- notebook_session_ strurl 
- The URL to interact with the notebook session.
- time_created str
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- createdBy String
- The OCID of the user who created the notebook session.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails String
- Details about the state of the notebook session.
- notebookSession StringUrl 
- The URL to interact with the notebook session.
- timeCreated String
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
Look up Existing NotebookSession Resource
Get an existing NotebookSession resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NotebookSessionState, opts?: CustomResourceOptions): NotebookSession@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        created_by: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        lifecycle_details: Optional[str] = None,
        notebook_session_config_details: Optional[NotebookSessionNotebookSessionConfigDetailsArgs] = None,
        notebook_session_configuration_details: Optional[NotebookSessionNotebookSessionConfigurationDetailsArgs] = None,
        notebook_session_runtime_config_details: Optional[NotebookSessionNotebookSessionRuntimeConfigDetailsArgs] = None,
        notebook_session_storage_mount_configuration_details_lists: Optional[Sequence[NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs]] = None,
        notebook_session_url: Optional[str] = None,
        project_id: Optional[str] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None) -> NotebookSessionfunc GetNotebookSession(ctx *Context, name string, id IDInput, state *NotebookSessionState, opts ...ResourceOption) (*NotebookSession, error)public static NotebookSession Get(string name, Input<string> id, NotebookSessionState? state, CustomResourceOptions? opts = null)public static NotebookSession get(String name, Output<String> id, NotebookSessionState state, CustomResourceOptions options)resources:  _:    type: oci:DataScience:NotebookSession    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CompartmentId string
- (Updatable) The OCID of the compartment where you want to create the notebook session.
- CreatedBy string
- The OCID of the user who created the notebook session.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
- DisplayName string
- (Updatable) 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
- Dictionary<string, string>
- (Updatable) 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"}
- LifecycleDetails string
- Details about the state of the notebook session.
- NotebookSession NotebookConfig Details Session Notebook Session Config Details 
- Details for the notebook session configuration.
- NotebookSession NotebookConfiguration Details Session Notebook Session Configuration Details 
- (Updatable) Details for the notebook session configuration.
- NotebookSession NotebookRuntime Config Details Session Notebook Session Runtime Config Details 
- (Updatable) Notebook Session runtime configuration details.
- NotebookSession List<NotebookStorage Mount Configuration Details Lists Session Notebook Session Storage Mount Configuration Details List> 
- (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
- NotebookSession stringUrl 
- The URL to interact with the notebook session.
- ProjectId string
- The OCID of the project to associate with the notebook session. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- State string
- The state of the notebook session.
- TimeCreated string
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- CompartmentId string
- (Updatable) The OCID of the compartment where you want to create the notebook session.
- CreatedBy string
- The OCID of the user who created the notebook session.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
- DisplayName string
- (Updatable) 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
- map[string]string
- (Updatable) 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"}
- LifecycleDetails string
- Details about the state of the notebook session.
- NotebookSession NotebookConfig Details Session Notebook Session Config Details Args 
- Details for the notebook session configuration.
- NotebookSession NotebookConfiguration Details Session Notebook Session Configuration Details Args 
- (Updatable) Details for the notebook session configuration.
- NotebookSession NotebookRuntime Config Details Session Notebook Session Runtime Config Details Args 
- (Updatable) Notebook Session runtime configuration details.
- NotebookSession []NotebookStorage Mount Configuration Details Lists Session Notebook Session Storage Mount Configuration Details List Args 
- (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
- NotebookSession stringUrl 
- The URL to interact with the notebook session.
- ProjectId string
- The OCID of the project to associate with the notebook session. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- State string
- The state of the notebook session.
- TimeCreated string
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- compartmentId String
- (Updatable) The OCID of the compartment where you want to create the notebook session.
- createdBy String
- The OCID of the user who created the notebook session.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName String
- (Updatable) 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
- Map<String,String>
- (Updatable) 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"}
- lifecycleDetails String
- Details about the state of the notebook session.
- notebookSession NotebookConfig Details Session Notebook Session Config Details 
- Details for the notebook session configuration.
- notebookSession NotebookConfiguration Details Session Notebook Session Configuration Details 
- (Updatable) Details for the notebook session configuration.
- notebookSession NotebookRuntime Config Details Session Notebook Session Runtime Config Details 
- (Updatable) Notebook Session runtime configuration details.
- notebookSession List<NotebookStorage Mount Configuration Details Lists Session Notebook Session Storage Mount Configuration Details List> 
- (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
- notebookSession StringUrl 
- The URL to interact with the notebook session.
- projectId String
- The OCID of the project to associate with the notebook session. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state String
- The state of the notebook session.
- timeCreated String
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- compartmentId string
- (Updatable) The OCID of the compartment where you want to create the notebook session.
- createdBy string
- The OCID of the user who created the notebook session.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName string
- (Updatable) 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
- {[key: string]: string}
- (Updatable) 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"}
- lifecycleDetails string
- Details about the state of the notebook session.
- notebookSession NotebookConfig Details Session Notebook Session Config Details 
- Details for the notebook session configuration.
- notebookSession NotebookConfiguration Details Session Notebook Session Configuration Details 
- (Updatable) Details for the notebook session configuration.
- notebookSession NotebookRuntime Config Details Session Notebook Session Runtime Config Details 
- (Updatable) Notebook Session runtime configuration details.
- notebookSession NotebookStorage Mount Configuration Details Lists Session Notebook Session Storage Mount Configuration Details List[] 
- (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
- notebookSession stringUrl 
- The URL to interact with the notebook session.
- projectId string
- The OCID of the project to associate with the notebook session. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state string
- The state of the notebook session.
- timeCreated string
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- compartment_id str
- (Updatable) The OCID of the compartment where you want to create the notebook session.
- created_by str
- The OCID of the user who created the notebook session.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
- display_name str
- (Updatable) 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
- Mapping[str, str]
- (Updatable) 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"}
- lifecycle_details str
- Details about the state of the notebook session.
- notebook_session_ Notebookconfig_ details Session Notebook Session Config Details Args 
- Details for the notebook session configuration.
- notebook_session_ Notebookconfiguration_ details Session Notebook Session Configuration Details Args 
- (Updatable) Details for the notebook session configuration.
- notebook_session_ Notebookruntime_ config_ details Session Notebook Session Runtime Config Details Args 
- (Updatable) Notebook Session runtime configuration details.
- notebook_session_ Sequence[Notebookstorage_ mount_ configuration_ details_ lists Session Notebook Session Storage Mount Configuration Details List Args] 
- (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
- notebook_session_ strurl 
- The URL to interact with the notebook session.
- project_id str
- The OCID of the project to associate with the notebook session. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state str
- The state of the notebook session.
- time_created str
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- compartmentId String
- (Updatable) The OCID of the compartment where you want to create the notebook session.
- createdBy String
- The OCID of the user who created the notebook session.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName String
- (Updatable) 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
- Map<String>
- (Updatable) 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"}
- lifecycleDetails String
- Details about the state of the notebook session.
- notebookSession Property MapConfig Details 
- Details for the notebook session configuration.
- notebookSession Property MapConfiguration Details 
- (Updatable) Details for the notebook session configuration.
- notebookSession Property MapRuntime Config Details 
- (Updatable) Notebook Session runtime configuration details.
- notebookSession List<Property Map>Storage Mount Configuration Details Lists 
- (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
- notebookSession StringUrl 
- The URL to interact with the notebook session.
- projectId String
- The OCID of the project to associate with the notebook session. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state String
- The state of the notebook session.
- timeCreated String
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
Supporting Types
NotebookSessionNotebookSessionConfigDetails, NotebookSessionNotebookSessionConfigDetailsArgs            
- Shape string
- The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the ListNotebookSessionShapesendpoint.
- BlockStorage intSize In Gbs 
- A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
- NotebookSession NotebookShape Config Details Session Notebook Session Config Details Notebook Session Shape Config Details 
- Details for the notebook session shape configuration.
- PrivateEndpoint stringId 
- The OCID of a Data Science private endpoint.
- SubnetId string
- 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.
- Shape string
- The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the ListNotebookSessionShapesendpoint.
- BlockStorage intSize In Gbs 
- A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
- NotebookSession NotebookShape Config Details Session Notebook Session Config Details Notebook Session Shape Config Details 
- Details for the notebook session shape configuration.
- PrivateEndpoint stringId 
- The OCID of a Data Science private endpoint.
- SubnetId string
- 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.
- shape String
- The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the ListNotebookSessionShapesendpoint.
- blockStorage IntegerSize In Gbs 
- A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
- notebookSession NotebookShape Config Details Session Notebook Session Config Details Notebook Session Shape Config Details 
- Details for the notebook session shape configuration.
- privateEndpoint StringId 
- The OCID of a Data Science private endpoint.
- subnetId String
- 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.
- shape string
- The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the ListNotebookSessionShapesendpoint.
- blockStorage numberSize In Gbs 
- A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
- notebookSession NotebookShape Config Details Session Notebook Session Config Details Notebook Session Shape Config Details 
- Details for the notebook session shape configuration.
- privateEndpoint stringId 
- The OCID of a Data Science private endpoint.
- subnetId string
- 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.
- shape str
- The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the ListNotebookSessionShapesendpoint.
- block_storage_ intsize_ in_ gbs 
- A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
- notebook_session_ Notebookshape_ config_ details Session Notebook Session Config Details Notebook Session Shape Config Details 
- Details for the notebook session shape configuration.
- private_endpoint_ strid 
- The OCID of a Data Science private endpoint.
- subnet_id str
- 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.
- shape String
- The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the ListNotebookSessionShapesendpoint.
- blockStorage NumberSize In Gbs 
- A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
- notebookSession Property MapShape Config Details 
- Details for the notebook session shape configuration.
- privateEndpoint StringId 
- The OCID of a Data Science private endpoint.
- subnetId String
- 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.
NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails, NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs                      
- MemoryIn doubleGbs 
- The total amount of memory available to the notebook session instance, in gigabytes.
- Ocpus double
- The total number of OCPUs available to the notebook session instance.
- MemoryIn float64Gbs 
- The total amount of memory available to the notebook session instance, in gigabytes.
- Ocpus float64
- The total number of OCPUs available to the notebook session instance.
- memoryIn DoubleGbs 
- The total amount of memory available to the notebook session instance, in gigabytes.
- ocpus Double
- The total number of OCPUs available to the notebook session instance.
- memoryIn numberGbs 
- The total amount of memory available to the notebook session instance, in gigabytes.
- ocpus number
- The total number of OCPUs available to the notebook session instance.
- memory_in_ floatgbs 
- The total amount of memory available to the notebook session instance, in gigabytes.
- ocpus float
- The total number of OCPUs available to the notebook session instance.
- memoryIn NumberGbs 
- The total amount of memory available to the notebook session instance, in gigabytes.
- ocpus Number
- The total number of OCPUs available to the notebook session instance.
NotebookSessionNotebookSessionConfigurationDetails, NotebookSessionNotebookSessionConfigurationDetailsArgs            
- Shape string
- (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the ListNotebookSessionShapesendpoint.
- SubnetId string
- (Updatable) 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.
- BlockStorage intSize In Gbs 
- (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
- NotebookSession NotebookShape Config Details Session Notebook Session Configuration Details Notebook Session Shape Config Details 
- (Updatable) Details for the notebook session shape configuration.
- PrivateEndpoint stringId 
- (Updatable) The OCID of a Data Science private endpoint.
- Shape string
- (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the ListNotebookSessionShapesendpoint.
- SubnetId string
- (Updatable) 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.
- BlockStorage intSize In Gbs 
- (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
- NotebookSession NotebookShape Config Details Session Notebook Session Configuration Details Notebook Session Shape Config Details 
- (Updatable) Details for the notebook session shape configuration.
- PrivateEndpoint stringId 
- (Updatable) The OCID of a Data Science private endpoint.
- shape String
- (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the ListNotebookSessionShapesendpoint.
- subnetId String
- (Updatable) 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.
- blockStorage IntegerSize In Gbs 
- (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
- notebookSession NotebookShape Config Details Session Notebook Session Configuration Details Notebook Session Shape Config Details 
- (Updatable) Details for the notebook session shape configuration.
- privateEndpoint StringId 
- (Updatable) The OCID of a Data Science private endpoint.
- shape string
- (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the ListNotebookSessionShapesendpoint.
- subnetId string
- (Updatable) 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.
- blockStorage numberSize In Gbs 
- (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
- notebookSession NotebookShape Config Details Session Notebook Session Configuration Details Notebook Session Shape Config Details 
- (Updatable) Details for the notebook session shape configuration.
- privateEndpoint stringId 
- (Updatable) The OCID of a Data Science private endpoint.
- shape str
- (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the ListNotebookSessionShapesendpoint.
- subnet_id str
- (Updatable) 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.
- block_storage_ intsize_ in_ gbs 
- (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
- notebook_session_ Notebookshape_ config_ details Session Notebook Session Configuration Details Notebook Session Shape Config Details 
- (Updatable) Details for the notebook session shape configuration.
- private_endpoint_ strid 
- (Updatable) The OCID of a Data Science private endpoint.
- shape String
- (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the ListNotebookSessionShapesendpoint.
- subnetId String
- (Updatable) 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.
- blockStorage NumberSize In Gbs 
- (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
- notebookSession Property MapShape Config Details 
- (Updatable) Details for the notebook session shape configuration.
- privateEndpoint StringId 
- (Updatable) The OCID of a Data Science private endpoint.
NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails, NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs                      
- MemoryIn doubleGbs 
- (Updatable) The total amount of memory available to the notebook session instance, in gigabytes.
- Ocpus double
- (Updatable) The total number of OCPUs available to the notebook session instance.
- MemoryIn float64Gbs 
- (Updatable) The total amount of memory available to the notebook session instance, in gigabytes.
- Ocpus float64
- (Updatable) The total number of OCPUs available to the notebook session instance.
- memoryIn DoubleGbs 
- (Updatable) The total amount of memory available to the notebook session instance, in gigabytes.
- ocpus Double
- (Updatable) The total number of OCPUs available to the notebook session instance.
- memoryIn numberGbs 
- (Updatable) The total amount of memory available to the notebook session instance, in gigabytes.
- ocpus number
- (Updatable) The total number of OCPUs available to the notebook session instance.
- memory_in_ floatgbs 
- (Updatable) The total amount of memory available to the notebook session instance, in gigabytes.
- ocpus float
- (Updatable) The total number of OCPUs available to the notebook session instance.
- memoryIn NumberGbs 
- (Updatable) The total amount of memory available to the notebook session instance, in gigabytes.
- ocpus Number
- (Updatable) The total number of OCPUs available to the notebook session instance.
NotebookSessionNotebookSessionRuntimeConfigDetails, NotebookSessionNotebookSessionRuntimeConfigDetailsArgs              
- CustomEnvironment Dictionary<string, string>Variables 
- (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.
- NotebookSession NotebookGit Config Details Session Notebook Session Runtime Config Details Notebook Session Git Config Details 
- (Updatable) Git configuration Details.
- CustomEnvironment map[string]stringVariables 
- (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.
- NotebookSession NotebookGit Config Details Session Notebook Session Runtime Config Details Notebook Session Git Config Details 
- (Updatable) Git configuration Details.
- customEnvironment Map<String,String>Variables 
- (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.
- notebookSession NotebookGit Config Details Session Notebook Session Runtime Config Details Notebook Session Git Config Details 
- (Updatable) Git configuration Details.
- customEnvironment {[key: string]: string}Variables 
- (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.
- notebookSession NotebookGit Config Details Session Notebook Session Runtime Config Details Notebook Session Git Config Details 
- (Updatable) Git configuration Details.
- custom_environment_ Mapping[str, str]variables 
- (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.
- notebook_session_ Notebookgit_ config_ details Session Notebook Session Runtime Config Details Notebook Session Git Config Details 
- (Updatable) Git configuration Details.
- customEnvironment Map<String>Variables 
- (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.
- notebookSession Property MapGit Config Details 
- (Updatable) Git configuration Details.
NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetails, NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs                        
- NotebookSession List<NotebookGit Repo Config Collections Session Notebook Session Runtime Config Details Notebook Session Git Config Details Notebook Session Git Repo Config Collection> 
- (Updatable) A collection of Git repository configurations.
- NotebookSession []NotebookGit Repo Config Collections Session Notebook Session Runtime Config Details Notebook Session Git Config Details Notebook Session Git Repo Config Collection 
- (Updatable) A collection of Git repository configurations.
- notebookSession List<NotebookGit Repo Config Collections Session Notebook Session Runtime Config Details Notebook Session Git Config Details Notebook Session Git Repo Config Collection> 
- (Updatable) A collection of Git repository configurations.
- notebookSession NotebookGit Repo Config Collections Session Notebook Session Runtime Config Details Notebook Session Git Config Details Notebook Session Git Repo Config Collection[] 
- (Updatable) A collection of Git repository configurations.
- notebook_session_ Sequence[Notebookgit_ repo_ config_ collections Session Notebook Session Runtime Config Details Notebook Session Git Config Details Notebook Session Git Repo Config Collection] 
- (Updatable) A collection of Git repository configurations.
- notebookSession List<Property Map>Git Repo Config Collections 
- (Updatable) A collection of Git repository configurations.
NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollection, NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs                                    
- Url string
- (Updatable) The repository URL
- Url string
- (Updatable) The repository URL
- url String
- (Updatable) The repository URL
- url string
- (Updatable) The repository URL
- url str
- (Updatable) The repository URL
- url String
- (Updatable) The repository URL
NotebookSessionNotebookSessionStorageMountConfigurationDetailsList, NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs                  
- DestinationDirectory stringName 
- (Updatable) The local directory name to be mounted
- StorageType string
- (Updatable) The type of storage.
- Bucket string
- (Updatable) The object storage bucket
- DestinationPath string
- (Updatable) The local path of the mounted directory, excluding directory name.
- ExportId string
- (Updatable) OCID of the export
- MountTarget stringId 
- (Updatable) OCID of the mount target
- Namespace string
- (Updatable) The object storage namespace
- Prefix string
- (Updatable) Prefix in the bucket to mount
- DestinationDirectory stringName 
- (Updatable) The local directory name to be mounted
- StorageType string
- (Updatable) The type of storage.
- Bucket string
- (Updatable) The object storage bucket
- DestinationPath string
- (Updatable) The local path of the mounted directory, excluding directory name.
- ExportId string
- (Updatable) OCID of the export
- MountTarget stringId 
- (Updatable) OCID of the mount target
- Namespace string
- (Updatable) The object storage namespace
- Prefix string
- (Updatable) Prefix in the bucket to mount
- destinationDirectory StringName 
- (Updatable) The local directory name to be mounted
- storageType String
- (Updatable) The type of storage.
- bucket String
- (Updatable) The object storage bucket
- destinationPath String
- (Updatable) The local path of the mounted directory, excluding directory name.
- exportId String
- (Updatable) OCID of the export
- mountTarget StringId 
- (Updatable) OCID of the mount target
- namespace String
- (Updatable) The object storage namespace
- prefix String
- (Updatable) Prefix in the bucket to mount
- destinationDirectory stringName 
- (Updatable) The local directory name to be mounted
- storageType string
- (Updatable) The type of storage.
- bucket string
- (Updatable) The object storage bucket
- destinationPath string
- (Updatable) The local path of the mounted directory, excluding directory name.
- exportId string
- (Updatable) OCID of the export
- mountTarget stringId 
- (Updatable) OCID of the mount target
- namespace string
- (Updatable) The object storage namespace
- prefix string
- (Updatable) Prefix in the bucket to mount
- destination_directory_ strname 
- (Updatable) The local directory name to be mounted
- storage_type str
- (Updatable) The type of storage.
- bucket str
- (Updatable) The object storage bucket
- destination_path str
- (Updatable) The local path of the mounted directory, excluding directory name.
- export_id str
- (Updatable) OCID of the export
- mount_target_ strid 
- (Updatable) OCID of the mount target
- namespace str
- (Updatable) The object storage namespace
- prefix str
- (Updatable) Prefix in the bucket to mount
- destinationDirectory StringName 
- (Updatable) The local directory name to be mounted
- storageType String
- (Updatable) The type of storage.
- bucket String
- (Updatable) The object storage bucket
- destinationPath String
- (Updatable) The local path of the mounted directory, excluding directory name.
- exportId String
- (Updatable) OCID of the export
- mountTarget StringId 
- (Updatable) OCID of the mount target
- namespace String
- (Updatable) The object storage namespace
- prefix String
- (Updatable) Prefix in the bucket to mount
Import
NotebookSessions can be imported using the id, e.g.
$ pulumi import oci:DataScience/notebookSession:NotebookSession test_notebook_session "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.