NotebookSessionShapeSummary

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

Bases: object

The compute shape used to launch a notebook session compute instance.

Attributes

SHAPE_SERIES_AMD_ROME A constant which can be used with the shape_series property of a NotebookSessionShapeSummary.
SHAPE_SERIES_ARM A constant which can be used with the shape_series property of a NotebookSessionShapeSummary.
SHAPE_SERIES_GENERIC A constant which can be used with the shape_series property of a NotebookSessionShapeSummary.
SHAPE_SERIES_INTEL_SKYLAKE A constant which can be used with the shape_series property of a NotebookSessionShapeSummary.
SHAPE_SERIES_LEGACY A constant which can be used with the shape_series property of a NotebookSessionShapeSummary.
SHAPE_SERIES_NVIDIA_GPU A constant which can be used with the shape_series property of a NotebookSessionShapeSummary.
core_count [Required] Gets the core_count of this NotebookSessionShapeSummary.
memory_in_gbs [Required] Gets the memory_in_gbs of this NotebookSessionShapeSummary.
name [Required] Gets the name of this NotebookSessionShapeSummary.
shape_series [Required] Gets the shape_series of this NotebookSessionShapeSummary.

Methods

__init__(**kwargs) Initializes a new NotebookSessionShapeSummary object with values from keyword arguments.
SHAPE_SERIES_AMD_ROME = 'AMD_ROME'

A constant which can be used with the shape_series property of a NotebookSessionShapeSummary. This constant has a value of “AMD_ROME”

SHAPE_SERIES_ARM = 'ARM'

A constant which can be used with the shape_series property of a NotebookSessionShapeSummary. This constant has a value of “ARM”

SHAPE_SERIES_GENERIC = 'GENERIC'

A constant which can be used with the shape_series property of a NotebookSessionShapeSummary. This constant has a value of “GENERIC”

SHAPE_SERIES_INTEL_SKYLAKE = 'INTEL_SKYLAKE'

A constant which can be used with the shape_series property of a NotebookSessionShapeSummary. This constant has a value of “INTEL_SKYLAKE”

SHAPE_SERIES_LEGACY = 'LEGACY'

A constant which can be used with the shape_series property of a NotebookSessionShapeSummary. This constant has a value of “LEGACY”

SHAPE_SERIES_NVIDIA_GPU = 'NVIDIA_GPU'

A constant which can be used with the shape_series property of a NotebookSessionShapeSummary. This constant has a value of “NVIDIA_GPU”

__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this NotebookSessionShapeSummary.
  • core_count (int) – The value to assign to the core_count property of this NotebookSessionShapeSummary.
  • memory_in_gbs (int) – The value to assign to the memory_in_gbs property of this NotebookSessionShapeSummary.
  • shape_series (str) – The value to assign to the shape_series property of this NotebookSessionShapeSummary. Allowed values for this property are: “AMD_ROME”, “INTEL_SKYLAKE”, “NVIDIA_GPU”, “GENERIC”, “LEGACY”, “ARM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
core_count

[Required] Gets the core_count of this NotebookSessionShapeSummary. The number of cores associated with this notebook session shape.

Returns:The core_count of this NotebookSessionShapeSummary.
Return type:int
memory_in_gbs

[Required] Gets the memory_in_gbs of this NotebookSessionShapeSummary. The amount of memory in GBs associated with this notebook session shape.

Returns:The memory_in_gbs of this NotebookSessionShapeSummary.
Return type:int
name

[Required] Gets the name of this NotebookSessionShapeSummary. The name of the notebook session shape.

Returns:The name of this NotebookSessionShapeSummary.
Return type:str
shape_series

[Required] Gets the shape_series of this NotebookSessionShapeSummary. The family that the compute shape belongs to.

Allowed values for this property are: “AMD_ROME”, “INTEL_SKYLAKE”, “NVIDIA_GPU”, “GENERIC”, “LEGACY”, “ARM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The shape_series of this NotebookSessionShapeSummary.
Return type:str