NotebookSessionShapeConfigDetails

class oci.data_science.models.NotebookSessionShapeConfigDetails(**kwargs)

Bases: object

Details for the notebook session shape configuration.

Attributes:

CPU_BASELINE_BASELINE_1_1

A constant which can be used with the cpu_baseline property of a NotebookSessionShapeConfigDetails.

CPU_BASELINE_BASELINE_1_2

A constant which can be used with the cpu_baseline property of a NotebookSessionShapeConfigDetails.

CPU_BASELINE_BASELINE_1_8

A constant which can be used with the cpu_baseline property of a NotebookSessionShapeConfigDetails.

cpu_baseline

Gets the cpu_baseline of this NotebookSessionShapeConfigDetails. The baseline OCPU utilization for a subcore burstable VM instance. If this attribute is left bank, it will default to BASELINE_1_1. The following values are supported: BASELINE_1_8 - baseline usage is 1/8 of an OCPU. BASELINE_1_2 - baseline usage is 1/2 of an OCPU. BASELINE_1_1 - baseline usage is an entire OCPU. This represents a non-burstable instance.

memory_in_gbs

Gets the memory_in_gbs of this NotebookSessionShapeConfigDetails.

ocpus

Gets the ocpus of this NotebookSessionShapeConfigDetails.

Methods:

__init__(**kwargs)

Initializes a new NotebookSessionShapeConfigDetails object with values from keyword arguments.

CPU_BASELINE_BASELINE_1_1 = 'BASELINE_1_1'

A constant which can be used with the cpu_baseline property of a NotebookSessionShapeConfigDetails. This constant has a value of “BASELINE_1_1”

CPU_BASELINE_BASELINE_1_2 = 'BASELINE_1_2'

A constant which can be used with the cpu_baseline property of a NotebookSessionShapeConfigDetails. This constant has a value of “BASELINE_1_2”

CPU_BASELINE_BASELINE_1_8 = 'BASELINE_1_8'

A constant which can be used with the cpu_baseline property of a NotebookSessionShapeConfigDetails. This constant has a value of “BASELINE_1_8”

__init__(**kwargs)

Initializes a new NotebookSessionShapeConfigDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • ocpus (float) – The value to assign to the ocpus property of this NotebookSessionShapeConfigDetails.

  • memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this NotebookSessionShapeConfigDetails.

  • cpu_baseline (str) – The value to assign to the cpu_baseline property of this NotebookSessionShapeConfigDetails. Allowed values for this property are: “BASELINE_1_8”, “BASELINE_1_2”, “BASELINE_1_1”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property cpu_baseline

Gets the cpu_baseline of this NotebookSessionShapeConfigDetails. The baseline OCPU utilization for a subcore burstable VM instance. If this attribute is left bank, it will default to BASELINE_1_1. The following values are supported:

BASELINE_1_8 - baseline usage is 1/8 of an OCPU. BASELINE_1_2 - baseline usage is 1/2 of an OCPU. BASELINE_1_1 - baseline usage is an entire OCPU. This represents a non-burstable instance.

Allowed values for this property are: “BASELINE_1_8”, “BASELINE_1_2”, “BASELINE_1_1”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The cpu_baseline of this NotebookSessionShapeConfigDetails.

Return type

str

property memory_in_gbs

Gets the memory_in_gbs of this NotebookSessionShapeConfigDetails. The total amount of memory available to the notebook session instance, in gigabytes.

Returns

The memory_in_gbs of this NotebookSessionShapeConfigDetails.

Return type

float

property ocpus

Gets the ocpus of this NotebookSessionShapeConfigDetails. The total number of OCPUs available to the notebook session instance.

Returns

The ocpus of this NotebookSessionShapeConfigDetails.

Return type

float