1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataScience
  5. NotebookSession
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.DataScience.NotebookSession

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    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[_datascience.NotebookSessionNotebookSessionConfigDetailsArgs] = None,
                        notebook_session_configuration_details: Optional[_datascience.NotebookSessionNotebookSessionConfigurationDetailsArgs] = None,
                        notebook_session_runtime_config_details: Optional[_datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs] = None,
                        notebook_session_storage_mount_configuration_details_lists: Optional[Sequence[_datascience.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)
                .ocpus(0)
                .build())
            .privateEndpointId("string")
            .subnetId("string")
            .build())
        .notebookSessionConfigurationDetails(NotebookSessionNotebookSessionConfigurationDetailsArgs.builder()
            .shape("string")
            .subnetId("string")
            .blockStorageSizeInGbs(0)
            .notebookSessionShapeConfigDetails(NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs.builder()
                .memoryInGbs(0)
                .ocpus(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=oci.data_science.NotebookSessionNotebookSessionConfigDetailsArgs(
            shape="string",
            block_storage_size_in_gbs=0,
            notebook_session_shape_config_details=oci.data_science.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs(
                memory_in_gbs=0,
                ocpus=0,
            ),
            private_endpoint_id="string",
            subnet_id="string",
        ),
        notebook_session_configuration_details=oci.data_science.NotebookSessionNotebookSessionConfigurationDetailsArgs(
            shape="string",
            subnet_id="string",
            block_storage_size_in_gbs=0,
            notebook_session_shape_config_details=oci.data_science.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs(
                memory_in_gbs=0,
                ocpus=0,
            ),
            private_endpoint_id="string",
        ),
        notebook_session_runtime_config_details=oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs(
            custom_environment_variables={
                "string": "string",
            },
            notebook_session_git_config_details=oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs(
                notebook_session_git_repo_config_collections=[oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs(
                    url="string",
                )],
            ),
        ),
        notebook_session_storage_mount_configuration_details_lists=[oci.data_science.NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs(
            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

    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

    DefinedTags 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
    FreeformTags 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"}
    NotebookSessionConfigDetails NotebookSessionNotebookSessionConfigDetails
    Details for the notebook session configuration.
    NotebookSessionConfigurationDetails NotebookSessionNotebookSessionConfigurationDetails
    (Updatable) Details for the notebook session configuration.
    NotebookSessionRuntimeConfigDetails NotebookSessionNotebookSessionRuntimeConfigDetails
    (Updatable) Notebook Session runtime configuration details.
    NotebookSessionStorageMountConfigurationDetailsLists List<NotebookSessionNotebookSessionStorageMountConfigurationDetailsList>
    (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

    DefinedTags 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
    FreeformTags 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"}
    NotebookSessionConfigDetails NotebookSessionNotebookSessionConfigDetailsArgs
    Details for the notebook session configuration.
    NotebookSessionConfigurationDetails NotebookSessionNotebookSessionConfigurationDetailsArgs
    (Updatable) Details for the notebook session configuration.
    NotebookSessionRuntimeConfigDetails NotebookSessionNotebookSessionRuntimeConfigDetailsArgs
    (Updatable) Notebook Session runtime configuration details.
    NotebookSessionStorageMountConfigurationDetailsLists []NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs
    (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

    definedTags 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
    freeformTags 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"}
    notebookSessionConfigDetails NotebookSessionNotebookSessionConfigDetails
    Details for the notebook session configuration.
    notebookSessionConfigurationDetails NotebookSessionNotebookSessionConfigurationDetails
    (Updatable) Details for the notebook session configuration.
    notebookSessionRuntimeConfigDetails NotebookSessionNotebookSessionRuntimeConfigDetails
    (Updatable) Notebook Session runtime configuration details.
    notebookSessionStorageMountConfigurationDetailsLists List<NotebookSessionNotebookSessionStorageMountConfigurationDetailsList>
    (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

    definedTags {[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
    freeformTags {[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"}
    notebookSessionConfigDetails NotebookSessionNotebookSessionConfigDetails
    Details for the notebook session configuration.
    notebookSessionConfigurationDetails NotebookSessionNotebookSessionConfigurationDetails
    (Updatable) Details for the notebook session configuration.
    notebookSessionRuntimeConfigDetails NotebookSessionNotebookSessionRuntimeConfigDetails
    (Updatable) Notebook Session runtime configuration details.
    notebookSessionStorageMountConfigurationDetailsLists NotebookSessionNotebookSessionStorageMountConfigurationDetailsList[]
    (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

    defined_tags 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
    freeform_tags 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_config_details datascience.NotebookSessionNotebookSessionConfigDetailsArgs
    Details for the notebook session configuration.
    notebook_session_configuration_details datascience.NotebookSessionNotebookSessionConfigurationDetailsArgs
    (Updatable) Details for the notebook session configuration.
    notebook_session_runtime_config_details datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs
    (Updatable) Notebook Session runtime configuration details.
    notebook_session_storage_mount_configuration_details_lists Sequence[datascience.NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs]
    (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

    definedTags 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
    freeformTags 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"}
    notebookSessionConfigDetails Property Map
    Details for the notebook session configuration.
    notebookSessionConfigurationDetails Property Map
    (Updatable) Details for the notebook session configuration.
    notebookSessionRuntimeConfigDetails Property Map
    (Updatable) Notebook Session runtime configuration details.
    notebookSessionStorageMountConfigurationDetailsLists List<Property Map>
    (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.
    NotebookSessionUrl string
    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.
    NotebookSessionUrl string
    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.
    notebookSessionUrl String
    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.
    notebookSessionUrl string
    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_url str
    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.
    notebookSessionUrl String
    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[_datascience.NotebookSessionNotebookSessionConfigDetailsArgs] = None,
            notebook_session_configuration_details: Optional[_datascience.NotebookSessionNotebookSessionConfigurationDetailsArgs] = None,
            notebook_session_runtime_config_details: Optional[_datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs] = None,
            notebook_session_storage_mount_configuration_details_lists: Optional[Sequence[_datascience.NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs]] = None,
            notebook_session_url: Optional[str] = None,
            project_id: Optional[str] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None) -> NotebookSession
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    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.
    DefinedTags 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
    FreeformTags 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.
    NotebookSessionConfigDetails NotebookSessionNotebookSessionConfigDetails
    Details for the notebook session configuration.
    NotebookSessionConfigurationDetails NotebookSessionNotebookSessionConfigurationDetails
    (Updatable) Details for the notebook session configuration.
    NotebookSessionRuntimeConfigDetails NotebookSessionNotebookSessionRuntimeConfigDetails
    (Updatable) Notebook Session runtime configuration details.
    NotebookSessionStorageMountConfigurationDetailsLists List<NotebookSessionNotebookSessionStorageMountConfigurationDetailsList>
    (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
    NotebookSessionUrl string
    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.
    DefinedTags 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
    FreeformTags 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.
    NotebookSessionConfigDetails NotebookSessionNotebookSessionConfigDetailsArgs
    Details for the notebook session configuration.
    NotebookSessionConfigurationDetails NotebookSessionNotebookSessionConfigurationDetailsArgs
    (Updatable) Details for the notebook session configuration.
    NotebookSessionRuntimeConfigDetails NotebookSessionNotebookSessionRuntimeConfigDetailsArgs
    (Updatable) Notebook Session runtime configuration details.
    NotebookSessionStorageMountConfigurationDetailsLists []NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs
    (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
    NotebookSessionUrl string
    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.
    definedTags 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
    freeformTags 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.
    notebookSessionConfigDetails NotebookSessionNotebookSessionConfigDetails
    Details for the notebook session configuration.
    notebookSessionConfigurationDetails NotebookSessionNotebookSessionConfigurationDetails
    (Updatable) Details for the notebook session configuration.
    notebookSessionRuntimeConfigDetails NotebookSessionNotebookSessionRuntimeConfigDetails
    (Updatable) Notebook Session runtime configuration details.
    notebookSessionStorageMountConfigurationDetailsLists List<NotebookSessionNotebookSessionStorageMountConfigurationDetailsList>
    (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
    notebookSessionUrl String
    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.
    definedTags {[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
    freeformTags {[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.
    notebookSessionConfigDetails NotebookSessionNotebookSessionConfigDetails
    Details for the notebook session configuration.
    notebookSessionConfigurationDetails NotebookSessionNotebookSessionConfigurationDetails
    (Updatable) Details for the notebook session configuration.
    notebookSessionRuntimeConfigDetails NotebookSessionNotebookSessionRuntimeConfigDetails
    (Updatable) Notebook Session runtime configuration details.
    notebookSessionStorageMountConfigurationDetailsLists NotebookSessionNotebookSessionStorageMountConfigurationDetailsList[]
    (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
    notebookSessionUrl string
    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.
    defined_tags 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
    freeform_tags 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_config_details datascience.NotebookSessionNotebookSessionConfigDetailsArgs
    Details for the notebook session configuration.
    notebook_session_configuration_details datascience.NotebookSessionNotebookSessionConfigurationDetailsArgs
    (Updatable) Details for the notebook session configuration.
    notebook_session_runtime_config_details datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs
    (Updatable) Notebook Session runtime configuration details.
    notebook_session_storage_mount_configuration_details_lists Sequence[datascience.NotebookSessionNotebookSessionStorageMountConfigurationDetailsListArgs]
    (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
    notebook_session_url str
    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.
    definedTags 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
    freeformTags 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.
    notebookSessionConfigDetails Property Map
    Details for the notebook session configuration.
    notebookSessionConfigurationDetails Property Map
    (Updatable) Details for the notebook session configuration.
    notebookSessionRuntimeConfigDetails Property Map
    (Updatable) Notebook Session runtime configuration details.
    notebookSessionStorageMountConfigurationDetailsLists List<Property Map>
    (Updatable) Collection of NotebookSessionStorageMountConfigurationDetails.
    notebookSessionUrl String
    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 ListNotebookSessionShapes endpoint.
    BlockStorageSizeInGbs int
    A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
    NotebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails
    Details for the notebook session shape configuration.
    PrivateEndpointId string
    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 ListNotebookSessionShapes endpoint.
    BlockStorageSizeInGbs int
    A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
    NotebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails
    Details for the notebook session shape configuration.
    PrivateEndpointId string
    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 ListNotebookSessionShapes endpoint.
    blockStorageSizeInGbs Integer
    A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
    notebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails
    Details for the notebook session shape configuration.
    privateEndpointId String
    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 ListNotebookSessionShapes endpoint.
    blockStorageSizeInGbs number
    A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
    notebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails
    Details for the notebook session shape configuration.
    privateEndpointId string
    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 ListNotebookSessionShapes endpoint.
    block_storage_size_in_gbs int
    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 datascience.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails
    Details for the notebook session shape configuration.
    private_endpoint_id str
    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 ListNotebookSessionShapes endpoint.
    blockStorageSizeInGbs Number
    A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
    notebookSessionShapeConfigDetails Property Map
    Details for the notebook session shape configuration.
    privateEndpointId String
    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

    MemoryInGbs double
    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.
    MemoryInGbs float64
    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.
    memoryInGbs Double
    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.
    memoryInGbs number
    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_gbs float
    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.
    memoryInGbs Number
    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 ListNotebookSessionShapes endpoint.
    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.
    BlockStorageSizeInGbs int
    (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
    NotebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails
    (Updatable) Details for the notebook session shape configuration.
    PrivateEndpointId string
    (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 ListNotebookSessionShapes endpoint.
    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.
    BlockStorageSizeInGbs int
    (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
    NotebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails
    (Updatable) Details for the notebook session shape configuration.
    PrivateEndpointId string
    (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 ListNotebookSessionShapes endpoint.
    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.
    blockStorageSizeInGbs Integer
    (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
    notebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails
    (Updatable) Details for the notebook session shape configuration.
    privateEndpointId String
    (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 ListNotebookSessionShapes endpoint.
    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.
    blockStorageSizeInGbs number
    (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
    notebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails
    (Updatable) Details for the notebook session shape configuration.
    privateEndpointId string
    (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 ListNotebookSessionShapes endpoint.
    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_size_in_gbs int
    (Updatable) 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 datascience.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails
    (Updatable) Details for the notebook session shape configuration.
    private_endpoint_id str
    (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 ListNotebookSessionShapes endpoint.
    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.
    blockStorageSizeInGbs Number
    (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
    notebookSessionShapeConfigDetails Property Map
    (Updatable) Details for the notebook session shape configuration.
    privateEndpointId String
    (Updatable) The OCID of a Data Science private endpoint.

    NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails, NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs

    MemoryInGbs double
    (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.
    MemoryInGbs float64
    (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.
    memoryInGbs Double
    (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.
    memoryInGbs number
    (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_gbs float
    (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.
    memoryInGbs Number
    (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

    CustomEnvironmentVariables Dictionary<string, string>
    (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.
    NotebookSessionGitConfigDetails NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetails
    (Updatable) Git configuration Details.
    CustomEnvironmentVariables map[string]string
    (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.
    NotebookSessionGitConfigDetails NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetails
    (Updatable) Git configuration Details.
    customEnvironmentVariables Map<String,String>
    (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.
    notebookSessionGitConfigDetails NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetails
    (Updatable) Git configuration Details.
    customEnvironmentVariables {[key: string]: string}
    (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.
    notebookSessionGitConfigDetails NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetails
    (Updatable) Git configuration Details.
    custom_environment_variables Mapping[str, str]
    (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.
    notebook_session_git_config_details datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetails
    (Updatable) Git configuration Details.
    customEnvironmentVariables Map<String>
    (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.
    notebookSessionGitConfigDetails Property Map
    (Updatable) Git configuration Details.

    NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetails, NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs

    notebookSessionGitRepoConfigCollections List<Property Map>
    (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

    DestinationDirectoryName string
    (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
    MountTargetId string
    (Updatable) OCID of the mount target
    Namespace string
    (Updatable) The object storage namespace
    Prefix string
    (Updatable) Prefix in the bucket to mount
    DestinationDirectoryName string
    (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
    MountTargetId string
    (Updatable) OCID of the mount target
    Namespace string
    (Updatable) The object storage namespace
    Prefix string
    (Updatable) Prefix in the bucket to mount
    destinationDirectoryName String
    (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
    mountTargetId String
    (Updatable) OCID of the mount target
    namespace String
    (Updatable) The object storage namespace
    prefix String
    (Updatable) Prefix in the bucket to mount
    destinationDirectoryName string
    (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
    mountTargetId string
    (Updatable) OCID of the mount target
    namespace string
    (Updatable) The object storage namespace
    prefix string
    (Updatable) Prefix in the bucket to mount
    destination_directory_name str
    (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_id str
    (Updatable) OCID of the mount target
    namespace str
    (Updatable) The object storage namespace
    prefix str
    (Updatable) Prefix in the bucket to mount
    destinationDirectoryName String
    (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
    mountTargetId String
    (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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi