ComputePerformanceSummary¶
- class oci.database.models.ComputePerformanceSummary(**kwargs)¶
Bases:
objectParameters detailing the compute performance for a specified DB system shape.
Attributes:
A constant which can be used with the compute_model property of a ComputePerformanceSummary.
A constant which can be used with the compute_model property of a ComputePerformanceSummary.
Gets the compute_count of this ComputePerformanceSummary.
Gets the compute_model of this ComputePerformanceSummary.
Gets the cpu_core_count of this ComputePerformanceSummary.
[Required] Gets the memory_in_gbs of this ComputePerformanceSummary.
Gets the network_bandwidth_in_gbps of this ComputePerformanceSummary.
Gets the network_iops of this ComputePerformanceSummary.
Gets the network_throughput_in_mbps of this ComputePerformanceSummary.
Methods:
__init__(**kwargs)Initializes a new ComputePerformanceSummary object with values from keyword arguments.
- COMPUTE_MODEL_ECPU = 'ECPU'¶
A constant which can be used with the compute_model property of a ComputePerformanceSummary. This constant has a value of “ECPU”
- COMPUTE_MODEL_OCPU = 'OCPU'¶
A constant which can be used with the compute_model property of a ComputePerformanceSummary. This constant has a value of “OCPU”
- __init__(**kwargs)¶
Initializes a new ComputePerformanceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
cpu_core_count (int) – The value to assign to the cpu_core_count property of this ComputePerformanceSummary.
memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this ComputePerformanceSummary.
network_bandwidth_in_gbps (float) – The value to assign to the network_bandwidth_in_gbps property of this ComputePerformanceSummary.
network_iops (float) – The value to assign to the network_iops property of this ComputePerformanceSummary.
network_throughput_in_mbps (float) – The value to assign to the network_throughput_in_mbps property of this ComputePerformanceSummary.
compute_model (str) – The value to assign to the compute_model property of this ComputePerformanceSummary. Allowed values for this property are: “ECPU”, “OCPU”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
compute_count (int) – The value to assign to the compute_count property of this ComputePerformanceSummary.
- property compute_count¶
Gets the compute_count of this ComputePerformanceSummary. The number of compute servers for the DB system.
- Returns
The compute_count of this ComputePerformanceSummary.
- Return type
int
- property compute_model¶
Gets the compute_model of this ComputePerformanceSummary. The compute model for Base Database Service. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy.
Allowed values for this property are: “ECPU”, “OCPU”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The compute_model of this ComputePerformanceSummary.
- Return type
str
- property cpu_core_count¶
Gets the cpu_core_count of this ComputePerformanceSummary. The number of CPU cores available.
- Returns
The cpu_core_count of this ComputePerformanceSummary.
- Return type
int
- property memory_in_gbs¶
[Required] Gets the memory_in_gbs of this ComputePerformanceSummary. The amount of memory allocated for the VMDB System.
- Returns
The memory_in_gbs of this ComputePerformanceSummary.
- Return type
float
- property network_bandwidth_in_gbps¶
Gets the network_bandwidth_in_gbps of this ComputePerformanceSummary. The network bandwidth of the VMDB system in gbps.
- Returns
The network_bandwidth_in_gbps of this ComputePerformanceSummary.
- Return type
float
- property network_iops¶
Gets the network_iops of this ComputePerformanceSummary. IOPS for the VMDB System.
- Returns
The network_iops of this ComputePerformanceSummary.
- Return type
float
- property network_throughput_in_mbps¶
Gets the network_throughput_in_mbps of this ComputePerformanceSummary. Network throughput for the VMDB System.
- Returns
The network_throughput_in_mbps of this ComputePerformanceSummary.
- Return type
float