SummarizeDatabaseInsightResourceStatisticsAggregationCollection¶
- class oci.opsi.models.SummarizeDatabaseInsightResourceStatisticsAggregationCollection(**kwargs)¶
Bases:
objectReturns list of the Databases with resource statistics like usage, capacity, utilization and usage change percent.
Attributes:
A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
[Required] Gets the high_utilization_threshold of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
[Required] Gets the items of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
[Required] Gets the low_utilization_threshold of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
[Required] Gets the resource_metric of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
[Required] Gets the time_interval_end of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
[Required] Gets the time_interval_start of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
[Required] Gets the usage_unit of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
Methods:
__init__(**kwargs)Initializes a new SummarizeDatabaseInsightResourceStatisticsAggregationCollection object with values from keyword arguments.
- RESOURCE_METRIC_CPU = 'CPU'¶
A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection. This constant has a value of “CPU”
- RESOURCE_METRIC_IO = 'IO'¶
A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection. This constant has a value of “IO”
- RESOURCE_METRIC_MEMORY = 'MEMORY'¶
A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection. This constant has a value of “MEMORY”
- RESOURCE_METRIC_MEMORY_PGA = 'MEMORY_PGA'¶
A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection. This constant has a value of “MEMORY_PGA”
- RESOURCE_METRIC_MEMORY_SGA = 'MEMORY_SGA'¶
A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection. This constant has a value of “MEMORY_SGA”
- RESOURCE_METRIC_STORAGE = 'STORAGE'¶
A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection. This constant has a value of “STORAGE”
- USAGE_UNIT_CORES = 'CORES'¶
A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection. This constant has a value of “CORES”
- USAGE_UNIT_GB = 'GB'¶
A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection. This constant has a value of “GB”
- USAGE_UNIT_IOPS = 'IOPS'¶
A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection. This constant has a value of “IOPS”
- USAGE_UNIT_MBPS = 'MBPS'¶
A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection. This constant has a value of “MBPS”
- USAGE_UNIT_PERCENT = 'PERCENT'¶
A constant which can be used with the usage_unit property of a SummarizeDatabaseInsightResourceStatisticsAggregationCollection. This constant has a value of “PERCENT”
- __init__(**kwargs)¶
Initializes a new SummarizeDatabaseInsightResourceStatisticsAggregationCollection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
time_interval_start (datetime) – The value to assign to the time_interval_start property of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
time_interval_end (datetime) – The value to assign to the time_interval_end property of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
high_utilization_threshold (int) – The value to assign to the high_utilization_threshold property of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
low_utilization_threshold (int) – The value to assign to the low_utilization_threshold property of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
resource_metric (str) – The value to assign to the resource_metric property of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection. Allowed values for this property are: “CPU”, “STORAGE”, “IO”, “MEMORY”, “MEMORY_PGA”, “MEMORY_SGA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
usage_unit (str) – The value to assign to the usage_unit property of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection. Allowed values for this property are: “CORES”, “GB”, “MBPS”, “IOPS”, “PERCENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
items (list[oci.opsi.models.ResourceStatisticsAggregation]) – The value to assign to the items property of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
- property high_utilization_threshold¶
[Required] Gets the high_utilization_threshold of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection. Percent value in which a resource metric is considered highly utilized.
- Returns
The high_utilization_threshold of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
- Return type
int
- property items¶
[Required] Gets the items of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection. Collection of Resource Statistics items
- Returns
The items of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
- Return type
- property low_utilization_threshold¶
[Required] Gets the low_utilization_threshold of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection. Percent value in which a resource metric is considered lowly utilized.
- Returns
The low_utilization_threshold of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
- Return type
int
- property resource_metric¶
[Required] Gets the resource_metric of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection. Defines the type of resource metric (example: CPU, STORAGE)
Allowed values for this property are: “CPU”, “STORAGE”, “IO”, “MEMORY”, “MEMORY_PGA”, “MEMORY_SGA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The resource_metric of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
- Return type
str
- property time_interval_end¶
[Required] Gets the time_interval_end of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection. The end timestamp that was passed into the request.
- Returns
The time_interval_end of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
- Return type
datetime
- property time_interval_start¶
[Required] Gets the time_interval_start of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection. The start timestamp that was passed into the request.
- Returns
The time_interval_start of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
- Return type
datetime
- property usage_unit¶
[Required] Gets the usage_unit of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection. Displays usage unit ( CORES, GB , PERCENT, MBPS)
Allowed values for this property are: “CORES”, “GB”, “MBPS”, “IOPS”, “PERCENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The usage_unit of this SummarizeDatabaseInsightResourceStatisticsAggregationCollection.
- Return type
str