JobShapeSummary

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

Bases: object

The compute shape used to launch a job compute instance.

Attributes

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

Methods

__init__(**kwargs) Initializes a new JobShapeSummary 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 JobShapeSummary. This constant has a value of “AMD_ROME”

SHAPE_SERIES_INTEL_SKYLAKE = 'INTEL_SKYLAKE'

A constant which can be used with the shape_series property of a JobShapeSummary. 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 JobShapeSummary. 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 JobShapeSummary. This constant has a value of “NVIDIA_GPU”

__init__(**kwargs)

Initializes a new JobShapeSummary 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 JobShapeSummary.
  • core_count (int) – The value to assign to the core_count property of this JobShapeSummary.
  • memory_in_gbs (int) – The value to assign to the memory_in_gbs property of this JobShapeSummary.
  • shape_series (str) – The value to assign to the shape_series property of this JobShapeSummary. Allowed values for this property are: “AMD_ROME”, “INTEL_SKYLAKE”, “NVIDIA_GPU”, “LEGACY”, ‘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 JobShapeSummary. The number of cores associated with this job run shape.

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

[Required] Gets the memory_in_gbs of this JobShapeSummary. The number of cores associated with this job shape.

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

[Required] Gets the name of this JobShapeSummary. The name of the job shape.

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

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

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

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