JobShapeConfigDetails¶
-
class
oci.data_science.models.
JobShapeConfigDetails
(**kwargs)¶ Bases:
object
Details for the job 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 JobShapeConfigDetails. CPU_BASELINE_BASELINE_1_2
A constant which can be used with the cpu_baseline property of a JobShapeConfigDetails. CPU_BASELINE_BASELINE_1_8
A constant which can be used with the cpu_baseline property of a JobShapeConfigDetails. cpu_baseline
Gets the cpu_baseline of this JobShapeConfigDetails. memory_in_gbs
Gets the memory_in_gbs of this JobShapeConfigDetails. ocpus
Gets the ocpus of this JobShapeConfigDetails. Methods
__init__
(**kwargs)Initializes a new JobShapeConfigDetails 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 JobShapeConfigDetails. 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 JobShapeConfigDetails. 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 JobShapeConfigDetails. This constant has a value of “BASELINE_1_8”
-
__init__
(**kwargs)¶ Initializes a new JobShapeConfigDetails 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 JobShapeConfigDetails.
- memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this JobShapeConfigDetails.
- cpu_baseline (str) – The value to assign to the cpu_baseline property of this JobShapeConfigDetails. 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 JobShapeConfigDetails. 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 JobShapeConfigDetails. Return type: str
-
memory_in_gbs
¶ Gets the memory_in_gbs of this JobShapeConfigDetails. The total amount of memory available to the job run instance, in gigabytes.
Returns: The memory_in_gbs of this JobShapeConfigDetails. Return type: float
-
ocpus
¶ Gets the ocpus of this JobShapeConfigDetails. The total number of OCPUs available to the job run instance.
Returns: The ocpus of this JobShapeConfigDetails. Return type: float
-