OCPUs¶
- class oci.database.models.OCPUs(**kwargs)¶
Bases:
objectThe details of the available and consumed CPU cores of the Autonomous Exadata Infrastructure instance, including consumption by database workload type.
Methods:
__init__(**kwargs)Initializes a new OCPUs object with values from keyword arguments.
Attributes:
Gets the by_workload_type of this OCPUs.
Gets the consumed_cpu of this OCPUs.
Gets the total_cpu of this OCPUs.
- __init__(**kwargs)¶
Initializes a new OCPUs object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
total_cpu (float) – The value to assign to the total_cpu property of this OCPUs.
consumed_cpu (float) – The value to assign to the consumed_cpu property of this OCPUs.
by_workload_type (oci.database.models.WorkloadType) – The value to assign to the by_workload_type property of this OCPUs.
- property by_workload_type¶
Gets the by_workload_type of this OCPUs.
- Returns
The by_workload_type of this OCPUs.
- Return type
- property consumed_cpu¶
Gets the consumed_cpu of this OCPUs. The total number of consumed OCPUs in the Autonomous Exadata Infrastructure instance.
- Returns
The consumed_cpu of this OCPUs.
- Return type
float
- property total_cpu¶
Gets the total_cpu of this OCPUs. The total number of OCPUs in the Autonomous Exadata Infrastructure instance.
- Returns
The total_cpu of this OCPUs.
- Return type
float