oci logo
Oracle Cloud Infrastructure v0.6.0, Jan 23 23

oci.DataScience.NotebookSession

This resource provides the Notebook Session resource in Oracle Cloud Infrastructure Data Science service.

Creates a new notebook session.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testNotebookSession = new Oci.DataScience.NotebookSession("testNotebookSession", new()
    {
        CompartmentId = @var.Compartment_id,
        ProjectId = oci_datascience_project.Test_project.Id,
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        DisplayName = @var.Notebook_session_display_name,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
        NotebookSessionConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigDetailsArgs
        {
            Shape = @var.Notebook_session_notebook_session_config_details_shape,
            BlockStorageSizeInGbs = @var.Notebook_session_notebook_session_config_details_block_storage_size_in_gbs,
            NotebookSessionShapeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs
            {
                MemoryInGbs = @var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs,
                Ocpus = @var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus,
            },
            SubnetId = oci_core_subnet.Test_subnet.Id,
        },
        NotebookSessionConfigurationDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigurationDetailsArgs
        {
            Shape = @var.Notebook_session_notebook_session_configuration_details_shape,
            SubnetId = oci_core_subnet.Test_subnet.Id,
            BlockStorageSizeInGbs = @var.Notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs,
            NotebookSessionShapeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs
            {
                MemoryInGbs = @var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs,
                Ocpus = @var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus,
            },
        },
        NotebookSessionRuntimeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs
        {
            CustomEnvironmentVariables = @var.Notebook_session_notebook_session_runtime_config_details_custom_environment_variables,
            NotebookSessionGitConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs
            {
                NotebookSessionGitRepoConfigCollections = new[]
                {
                    new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs
                    {
                        Url = @var.Notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url,
                    },
                },
            },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DataScience.NewNotebookSession(ctx, "testNotebookSession", &DataScience.NotebookSessionArgs{
			CompartmentId: pulumi.Any(_var.Compartment_id),
			ProjectId:     pulumi.Any(oci_datascience_project.Test_project.Id),
			DefinedTags: pulumi.AnyMap{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			DisplayName: pulumi.Any(_var.Notebook_session_display_name),
			FreeformTags: pulumi.AnyMap{
				"Department": pulumi.Any("Finance"),
			},
			NotebookSessionConfigDetails: &datascience.NotebookSessionNotebookSessionConfigDetailsArgs{
				Shape:                 pulumi.Any(_var.Notebook_session_notebook_session_config_details_shape),
				BlockStorageSizeInGbs: pulumi.Any(_var.Notebook_session_notebook_session_config_details_block_storage_size_in_gbs),
				NotebookSessionShapeConfigDetails: &datascience.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs{
					MemoryInGbs: pulumi.Any(_var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs),
					Ocpus:       pulumi.Any(_var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus),
				},
				SubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id),
			},
			NotebookSessionConfigurationDetails: &datascience.NotebookSessionNotebookSessionConfigurationDetailsArgs{
				Shape:                 pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_shape),
				SubnetId:              pulumi.Any(oci_core_subnet.Test_subnet.Id),
				BlockStorageSizeInGbs: pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs),
				NotebookSessionShapeConfigDetails: &datascience.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs{
					MemoryInGbs: pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs),
					Ocpus:       pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus),
				},
			},
			NotebookSessionRuntimeConfigDetails: &datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs{
				CustomEnvironmentVariables: pulumi.Any(_var.Notebook_session_notebook_session_runtime_config_details_custom_environment_variables),
				NotebookSessionGitConfigDetails: &datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs{
					NotebookSessionGitRepoConfigCollections: datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArray{
						&datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs{
							Url: pulumi.Any(_var.Notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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 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(var_.compartment_id())
            .projectId(oci_datascience_project.test_project().id())
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .displayName(var_.notebook_session_display_name())
            .freeformTags(Map.of("Department", "Finance"))
            .notebookSessionConfigDetails(NotebookSessionNotebookSessionConfigDetailsArgs.builder()
                .shape(var_.notebook_session_notebook_session_config_details_shape())
                .blockStorageSizeInGbs(var_.notebook_session_notebook_session_config_details_block_storage_size_in_gbs())
                .notebookSessionShapeConfigDetails(NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs.builder()
                    .memoryInGbs(var_.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs())
                    .ocpus(var_.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus())
                    .build())
                .subnetId(oci_core_subnet.test_subnet().id())
                .build())
            .notebookSessionConfigurationDetails(NotebookSessionNotebookSessionConfigurationDetailsArgs.builder()
                .shape(var_.notebook_session_notebook_session_configuration_details_shape())
                .subnetId(oci_core_subnet.test_subnet().id())
                .blockStorageSizeInGbs(var_.notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs())
                .notebookSessionShapeConfigDetails(NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs.builder()
                    .memoryInGbs(var_.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs())
                    .ocpus(var_.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus())
                    .build())
                .build())
            .notebookSessionRuntimeConfigDetails(NotebookSessionNotebookSessionRuntimeConfigDetailsArgs.builder()
                .customEnvironmentVariables(var_.notebook_session_notebook_session_runtime_config_details_custom_environment_variables())
                .notebookSessionGitConfigDetails(NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs.builder()
                    .notebookSessionGitRepoConfigCollections(NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs.builder()
                        .url(var_.notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url())
                        .build())
                    .build())
                .build())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_notebook_session = oci.data_science.NotebookSession("testNotebookSession",
    compartment_id=var["compartment_id"],
    project_id=oci_datascience_project["test_project"]["id"],
    defined_tags={
        "Operations.CostCenter": "42",
    },
    display_name=var["notebook_session_display_name"],
    freeform_tags={
        "Department": "Finance",
    },
    notebook_session_config_details=oci.data_science.NotebookSessionNotebookSessionConfigDetailsArgs(
        shape=var["notebook_session_notebook_session_config_details_shape"],
        block_storage_size_in_gbs=var["notebook_session_notebook_session_config_details_block_storage_size_in_gbs"],
        notebook_session_shape_config_details=oci.data_science.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs(
            memory_in_gbs=var["notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs"],
            ocpus=var["notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus"],
        ),
        subnet_id=oci_core_subnet["test_subnet"]["id"],
    ),
    notebook_session_configuration_details=oci.data_science.NotebookSessionNotebookSessionConfigurationDetailsArgs(
        shape=var["notebook_session_notebook_session_configuration_details_shape"],
        subnet_id=oci_core_subnet["test_subnet"]["id"],
        block_storage_size_in_gbs=var["notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs"],
        notebook_session_shape_config_details=oci.data_science.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs(
            memory_in_gbs=var["notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs"],
            ocpus=var["notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus"],
        ),
    ),
    notebook_session_runtime_config_details=oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs(
        custom_environment_variables=var["notebook_session_notebook_session_runtime_config_details_custom_environment_variables"],
        notebook_session_git_config_details=oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs(
            notebook_session_git_repo_config_collections=[oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs(
                url=var["notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url"],
            )],
        ),
    ))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testNotebookSession = new oci.datascience.NotebookSession("testNotebookSession", {
    compartmentId: _var.compartment_id,
    projectId: oci_datascience_project.test_project.id,
    definedTags: {
        "Operations.CostCenter": "42",
    },
    displayName: _var.notebook_session_display_name,
    freeformTags: {
        Department: "Finance",
    },
    notebookSessionConfigDetails: {
        shape: _var.notebook_session_notebook_session_config_details_shape,
        blockStorageSizeInGbs: _var.notebook_session_notebook_session_config_details_block_storage_size_in_gbs,
        notebookSessionShapeConfigDetails: {
            memoryInGbs: _var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs,
            ocpus: _var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus,
        },
        subnetId: oci_core_subnet.test_subnet.id,
    },
    notebookSessionConfigurationDetails: {
        shape: _var.notebook_session_notebook_session_configuration_details_shape,
        subnetId: oci_core_subnet.test_subnet.id,
        blockStorageSizeInGbs: _var.notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs,
        notebookSessionShapeConfigDetails: {
            memoryInGbs: _var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs,
            ocpus: _var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus,
        },
    },
    notebookSessionRuntimeConfigDetails: {
        customEnvironmentVariables: _var.notebook_session_notebook_session_runtime_config_details_custom_environment_variables,
        notebookSessionGitConfigDetails: {
            notebookSessionGitRepoConfigCollections: [{
                url: _var.notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url,
            }],
        },
    },
});
resources:
  testNotebookSession:
    type: oci:DataScience:NotebookSession
    properties:
      #Required
      compartmentId: ${var.compartment_id}
      projectId: ${oci_datascience_project.test_project.id}
      #Optional
      definedTags:
        Operations.CostCenter: '42'
      displayName: ${var.notebook_session_display_name}
      freeformTags:
        Department: Finance
      notebookSessionConfigDetails:
        shape: ${var.notebook_session_notebook_session_config_details_shape}
        blockStorageSizeInGbs: ${var.notebook_session_notebook_session_config_details_block_storage_size_in_gbs}
        notebookSessionShapeConfigDetails:
          memoryInGbs: ${var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs}
          ocpus: ${var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus}
        subnetId: ${oci_core_subnet.test_subnet.id}
      notebookSessionConfigurationDetails:
        shape: ${var.notebook_session_notebook_session_configuration_details_shape}
        subnetId: ${oci_core_subnet.test_subnet.id}
        blockStorageSizeInGbs: ${var.notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs}
        notebookSessionShapeConfigDetails:
          memoryInGbs: ${var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs}
          ocpus: ${var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus}
      notebookSessionRuntimeConfigDetails:
        customEnvironmentVariables: ${var.notebook_session_notebook_session_runtime_config_details_custom_environment_variables}
        notebookSessionGitConfigDetails:
          notebookSessionGitRepoConfigCollections:
            - url: ${var.notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url}

Create NotebookSession Resource

new NotebookSession(name: string, args: NotebookSessionArgs, opts?: CustomResourceOptions);
@overload
def NotebookSession(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    compartment_id: Optional[str] = None,
                    defined_tags: Optional[Mapping[str, Any]] = None,
                    display_name: Optional[str] = None,
                    freeform_tags: Optional[Mapping[str, Any]] = 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,
                    project_id: Optional[str] = None,
                    state: Optional[str] = None)
@overload
def NotebookSession(resource_name: str,
                    args: NotebookSessionArgs,
                    opts: Optional[ResourceOptions] = 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.

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.

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.

DefinedTags Dictionary<string, object>

(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, object>

(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.

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.

DefinedTags map[string]interface{}

(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]interface{}

(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.

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.

definedTags Map<String,Object>

(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,Object>

(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.

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.

definedTags {[key: string]: any}

(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]: any}

(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.

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.

defined_tags Mapping[str, Any]

(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, Any]

(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 NotebookSessionNotebookSessionConfigDetailsArgs

Details for the notebook session configuration.

notebook_session_configuration_details NotebookSessionNotebookSessionConfigurationDetailsArgs

(Updatable) Details for the notebook session configuration.

notebook_session_runtime_config_details NotebookSessionNotebookSessionRuntimeConfigDetailsArgs

(Updatable) Notebook Session runtime configuration details.

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.

definedTags Map<Any>

(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<Any>

(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.

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, Any]] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = 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_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, object>

(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, object>

(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.

NotebookSessionUrl string

The URL to interact with the notebook session.

ProjectId string

The OCID of the project to associate with the notebook session.

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]interface{}

(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]interface{}

(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.

NotebookSessionUrl string

The URL to interact with the notebook session.

ProjectId string

The OCID of the project to associate with the notebook session.

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,Object>

(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,Object>

(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.

notebookSessionUrl String

The URL to interact with the notebook session.

projectId String

The OCID of the project to associate with the notebook session.

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]: any}

(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]: any}

(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.

notebookSessionUrl string

The URL to interact with the notebook session.

projectId string

The OCID of the project to associate with the notebook session.

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, Any]

(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, Any]

(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 NotebookSessionNotebookSessionConfigDetailsArgs

Details for the notebook session configuration.

notebook_session_configuration_details NotebookSessionNotebookSessionConfigurationDetailsArgs

(Updatable) Details for the notebook session configuration.

notebook_session_runtime_config_details NotebookSessionNotebookSessionRuntimeConfigDetailsArgs

(Updatable) Notebook Session runtime configuration details.

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.

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<Any>

(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<Any>

(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.

notebookSessionUrl String

The URL to interact with the notebook session.

projectId String

The OCID of the project to associate with the notebook session.

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

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.

BlockStorageSizeInGbs int

(Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.

NotebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails

(Updatable) Details for the notebook session shape configuration.

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.

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.

BlockStorageSizeInGbs int

(Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.

NotebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails

(Updatable) Details for the notebook session shape configuration.

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.

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.

blockStorageSizeInGbs Integer

(Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.

notebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails

(Updatable) Details for the notebook session shape configuration.

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.

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.

blockStorageSizeInGbs number

(Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.

notebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails

(Updatable) Details for the notebook session shape configuration.

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.

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.

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 NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails

(Updatable) Details for the notebook session shape configuration.

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.

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.

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.

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.

NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails

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.

NotebookSessionNotebookSessionConfigurationDetails

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.

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.

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.

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.

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 NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails

(Updatable) Details for the notebook session shape configuration.

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.

NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails

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

CustomEnvironmentVariables Dictionary<string, object>

(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]interface{}

(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,Object>

(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]: any}

(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, Any]

(Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions.

notebook_session_git_config_details NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetails

(Updatable) Git configuration Details.

customEnvironmentVariables Map<Any>

(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

notebookSessionGitRepoConfigCollections List<Property Map>

(Updatable) A collection of Git repository configurations.

NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollection

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

Import

NotebookSessions can be imported using the id, e.g.

 $ pulumi import oci:DataScience/notebookSession:NotebookSession test_notebook_session "id"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.