PipelineShapeConfigDetails

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

Bases: object

Details for the pipeline step run shape configuration. Specify only when a flex shape is selected.

Attributes

CPU_BASELINE_BASELINE_1_1 A constant which can be used with the cpu_baseline property of a PipelineShapeConfigDetails.
CPU_BASELINE_BASELINE_1_2 A constant which can be used with the cpu_baseline property of a PipelineShapeConfigDetails.
CPU_BASELINE_BASELINE_1_8 A constant which can be used with the cpu_baseline property of a PipelineShapeConfigDetails.
cpu_baseline Gets the cpu_baseline of this PipelineShapeConfigDetails.
memory_in_gbs Gets the memory_in_gbs of this PipelineShapeConfigDetails.
ocpus Gets the ocpus of this PipelineShapeConfigDetails.

Methods

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

__init__(**kwargs)

Initializes a new PipelineShapeConfigDetails 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 PipelineShapeConfigDetails.
  • memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this PipelineShapeConfigDetails.
  • cpu_baseline (str) – The value to assign to the cpu_baseline property of this PipelineShapeConfigDetails. 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’.
cpu_baseline

Gets the cpu_baseline of this PipelineShapeConfigDetails. The baseline OCPU utilization for a subcore burstable VM instance. If this attribute is left blank, 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 PipelineShapeConfigDetails.
Return type:str
memory_in_gbs

Gets the memory_in_gbs of this PipelineShapeConfigDetails. A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs.

Returns:The memory_in_gbs of this PipelineShapeConfigDetails.
Return type:float
ocpus

Gets the ocpus of this PipelineShapeConfigDetails. A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified.

Returns:The ocpus of this PipelineShapeConfigDetails.
Return type:float