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

memory_in_gbs

Gets the memory_in_gbs of this PipelineShapeConfigDetails.

memory_in_gbs_parameterized

Gets the memory_in_gbs_parameterized of this PipelineShapeConfigDetails.

ocpus

Gets the ocpus of this PipelineShapeConfigDetails.

ocpus_parameterized

Gets the ocpus_parameterized 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’.

  • ocpus_parameterized (str) – The value to assign to the ocpus_parameterized property of this PipelineShapeConfigDetails.

  • memory_in_gbs_parameterized (str) – The value to assign to the memory_in_gbs_parameterized property of this PipelineShapeConfigDetails.

property 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

property memory_in_gbs

Gets the memory_in_gbs of this PipelineShapeConfigDetails. The total amount of memory available to the pipeline step run instance GBs.

Returns

The memory_in_gbs of this PipelineShapeConfigDetails.

Return type

float

property memory_in_gbs_parameterized

Gets the memory_in_gbs_parameterized of this PipelineShapeConfigDetails. The total amount of memory available to the pipeline step run instance in GBs specified as a parameter. This overrides the memoryInGBs value. The request will fail if the parameters used are null or invalid.

Returns

The memory_in_gbs_parameterized of this PipelineShapeConfigDetails.

Return type

str

property ocpus

Gets the ocpus of this PipelineShapeConfigDetails. The total number of OCPUs available to the pipeline step run instance.

Returns

The ocpus of this PipelineShapeConfigDetails.

Return type

float

property ocpus_parameterized

Gets the ocpus_parameterized of this PipelineShapeConfigDetails. The total number of OCPUs available to the pipeline step run instance specified as a parameter. This overrides the ocpus value. The request will fail if the parameters used are null or invalid.

Returns

The ocpus_parameterized of this PipelineShapeConfigDetails.

Return type

str