EstimateCostSavingSummary¶
- class oci.database.models.EstimateCostSavingSummary(**kwargs)¶
Bases:
objectAutonomous AI Database cost savings.
Methods:
__init__(**kwargs)Initializes a new EstimateCostSavingSummary object with values from keyword arguments.
Attributes:
Gets the cost_savings_with_elastic_pool of this EstimateCostSavingSummary.
Gets the estimated_usage_without_elastic_pool of this EstimateCostSavingSummary.
Gets the is_cpu_autoscale of this EstimateCostSavingSummary.
Gets the time_ended of this EstimateCostSavingSummary.
Gets the time_started of this EstimateCostSavingSummary.
Gets the usage_with_elastic_pool of this EstimateCostSavingSummary.
- __init__(**kwargs)¶
Initializes a new EstimateCostSavingSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
time_started (datetime) – The value to assign to the time_started property of this EstimateCostSavingSummary.
time_ended (datetime) – The value to assign to the time_ended property of this EstimateCostSavingSummary.
is_cpu_autoscale (bool) – The value to assign to the is_cpu_autoscale property of this EstimateCostSavingSummary.
estimated_usage_without_elastic_pool (int) – The value to assign to the estimated_usage_without_elastic_pool property of this EstimateCostSavingSummary.
usage_with_elastic_pool (int) – The value to assign to the usage_with_elastic_pool property of this EstimateCostSavingSummary.
cost_savings_with_elastic_pool (float) – The value to assign to the cost_savings_with_elastic_pool property of this EstimateCostSavingSummary.
- property cost_savings_with_elastic_pool¶
Gets the cost_savings_with_elastic_pool of this EstimateCostSavingSummary. Estimated cost savings in percentage with elastic pool utilization.
- Returns
The cost_savings_with_elastic_pool of this EstimateCostSavingSummary.
- Return type
float
- property estimated_usage_without_elastic_pool¶
Gets the estimated_usage_without_elastic_pool of this EstimateCostSavingSummary. CPU cost for a given time period under regular billing plan, in ECPU hours.
- Returns
The estimated_usage_without_elastic_pool of this EstimateCostSavingSummary.
- Return type
int
- property is_cpu_autoscale¶
Gets the is_cpu_autoscale of this EstimateCostSavingSummary. Indicates if CPU autoscaling is applied.
- Returns
The is_cpu_autoscale of this EstimateCostSavingSummary.
- Return type
bool
- property time_ended¶
Gets the time_ended of this EstimateCostSavingSummary. The epoch time at which cost aggregation ends.
- Returns
The time_ended of this EstimateCostSavingSummary.
- Return type
datetime
- property time_started¶
Gets the time_started of this EstimateCostSavingSummary. The epoch time at which cost aggregation starts.
- Returns
The time_started of this EstimateCostSavingSummary.
- Return type
datetime
- property usage_with_elastic_pool¶
Gets the usage_with_elastic_pool of this EstimateCostSavingSummary. CPU cost for a given time period under elastic pool billing plan, in ECPU hours.
- Returns
The usage_with_elastic_pool of this EstimateCostSavingSummary.
- Return type
int