SummarizeDatabaseInsightResourceUtilizationInsightAggregation¶
-
class
oci.opsi.models.SummarizeDatabaseInsightResourceUtilizationInsightAggregation(**kwargs)¶ Bases:
objectInsights response containing current/projected groups for storage or CPU.
Attributes
RESOURCE_METRIC_CPUA constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. RESOURCE_METRIC_IOA constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. RESOURCE_METRIC_MEMORYA constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. RESOURCE_METRIC_MEMORY_PGAA constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. RESOURCE_METRIC_MEMORY_SGAA constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. RESOURCE_METRIC_STORAGEA constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. current_utilization[Required] Gets the current_utilization of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. high_utilization_threshold[Required] Gets the high_utilization_threshold of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. low_utilization_threshold[Required] Gets the low_utilization_threshold of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. projected_utilization[Required] Gets the projected_utilization of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. resource_metric[Required] Gets the resource_metric of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. time_interval_end[Required] Gets the time_interval_end of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. time_interval_start[Required] Gets the time_interval_start of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. Methods
__init__(**kwargs)Initializes a new SummarizeDatabaseInsightResourceUtilizationInsightAggregation object with values from keyword arguments. -
RESOURCE_METRIC_CPU= 'CPU'¶ A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. This constant has a value of “CPU”
-
RESOURCE_METRIC_IO= 'IO'¶ A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. This constant has a value of “IO”
-
RESOURCE_METRIC_MEMORY= 'MEMORY'¶ A constant which can be used with the resource_metric property of a SummarizeDatabaseInsightResourceUtilizationInsightAggregation. 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 SummarizeDatabaseInsightResourceUtilizationInsightAggregation. 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 SummarizeDatabaseInsightResourceUtilizationInsightAggregation. 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 SummarizeDatabaseInsightResourceUtilizationInsightAggregation. This constant has a value of “STORAGE”
-
__init__(**kwargs)¶ Initializes a new SummarizeDatabaseInsightResourceUtilizationInsightAggregation 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 SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
- time_interval_end (datetime) – The value to assign to the time_interval_end property of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
- high_utilization_threshold (int) – The value to assign to the high_utilization_threshold property of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
- low_utilization_threshold (int) – The value to assign to the low_utilization_threshold property of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
- resource_metric (str) – The value to assign to the resource_metric property of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. 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’.
- projected_utilization (oci.opsi.models.ResourceInsightProjectedUtilization) – The value to assign to the projected_utilization property of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
- current_utilization (oci.opsi.models.ResourceInsightCurrentUtilization) – The value to assign to the current_utilization property of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
-
current_utilization¶ [Required] Gets the current_utilization of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
Returns: The current_utilization of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. Return type: oci.opsi.models.ResourceInsightCurrentUtilization
-
high_utilization_threshold¶ [Required] Gets the high_utilization_threshold of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. Percent value in which a resource metric is considered highly utilized.
Returns: The high_utilization_threshold of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. Return type: int
-
low_utilization_threshold¶ [Required] Gets the low_utilization_threshold of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. Percent value in which a resource metric is considered lowly utilized.
Returns: The low_utilization_threshold of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. Return type: int
-
projected_utilization¶ [Required] Gets the projected_utilization of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation.
Returns: The projected_utilization of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. Return type: oci.opsi.models.ResourceInsightProjectedUtilization
-
resource_metric¶ [Required] Gets the resource_metric of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. 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 SummarizeDatabaseInsightResourceUtilizationInsightAggregation. Return type: str
-
time_interval_end¶ [Required] Gets the time_interval_end of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. The end timestamp that was passed into the request.
Returns: The time_interval_end of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. Return type: datetime
-
time_interval_start¶ [Required] Gets the time_interval_start of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. The start timestamp that was passed into the request.
Returns: The time_interval_start of this SummarizeDatabaseInsightResourceUtilizationInsightAggregation. Return type: datetime
-