SummarizeExadataInsightResourceUsageAggregation¶
- class oci.opsi.models.SummarizeExadataInsightResourceUsageAggregation(**kwargs)¶
Bases:
objectResource usage summation for the current time period
Attributes:
A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the exadata_resource_type property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the exadata_resource_type property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the exadata_resource_type property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the exadata_resource_type property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceUsageAggregation.
A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceUsageAggregation.
[Required] Gets the capacity of this SummarizeExadataInsightResourceUsageAggregation.
[Required] Gets the exadata_resource_metric of this SummarizeExadataInsightResourceUsageAggregation.
[Required] Gets the exadata_resource_type of this SummarizeExadataInsightResourceUsageAggregation.
[Required] Gets the time_interval_end of this SummarizeExadataInsightResourceUsageAggregation.
[Required] Gets the time_interval_start of this SummarizeExadataInsightResourceUsageAggregation.
Gets the total_host_capacity of this SummarizeExadataInsightResourceUsageAggregation.
[Required] Gets the usage of this SummarizeExadataInsightResourceUsageAggregation.
[Required] Gets the usage_change_percent of this SummarizeExadataInsightResourceUsageAggregation.
[Required] Gets the usage_unit of this SummarizeExadataInsightResourceUsageAggregation.
Methods:
__init__(**kwargs)Initializes a new SummarizeExadataInsightResourceUsageAggregation object with values from keyword arguments.
- EXADATA_RESOURCE_METRIC_CPU = 'CPU'¶
A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “CPU”
- EXADATA_RESOURCE_METRIC_IO = 'IO'¶
A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “IO”
- EXADATA_RESOURCE_METRIC_IOPS = 'IOPS'¶
A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “IOPS”
- EXADATA_RESOURCE_METRIC_MEMORY = 'MEMORY'¶
A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “MEMORY”
- EXADATA_RESOURCE_METRIC_STORAGE = 'STORAGE'¶
A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “STORAGE”
- EXADATA_RESOURCE_METRIC_THROUGHPUT = 'THROUGHPUT'¶
A constant which can be used with the exadata_resource_metric property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “THROUGHPUT”
- EXADATA_RESOURCE_TYPE_DATABASE = 'DATABASE'¶
A constant which can be used with the exadata_resource_type property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “DATABASE”
- EXADATA_RESOURCE_TYPE_DISKGROUP = 'DISKGROUP'¶
A constant which can be used with the exadata_resource_type property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “DISKGROUP”
- EXADATA_RESOURCE_TYPE_HOST = 'HOST'¶
A constant which can be used with the exadata_resource_type property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “HOST”
- EXADATA_RESOURCE_TYPE_STORAGE_SERVER = 'STORAGE_SERVER'¶
A constant which can be used with the exadata_resource_type property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “STORAGE_SERVER”
- USAGE_UNIT_CORES = 'CORES'¶
A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “CORES”
- USAGE_UNIT_GB = 'GB'¶
A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “GB”
- USAGE_UNIT_IOPS = 'IOPS'¶
A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “IOPS”
- USAGE_UNIT_MBPS = 'MBPS'¶
A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “MBPS”
- USAGE_UNIT_PERCENT = 'PERCENT'¶
A constant which can be used with the usage_unit property of a SummarizeExadataInsightResourceUsageAggregation. This constant has a value of “PERCENT”
- __init__(**kwargs)¶
Initializes a new SummarizeExadataInsightResourceUsageAggregation 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 SummarizeExadataInsightResourceUsageAggregation.
time_interval_end (datetime) – The value to assign to the time_interval_end property of this SummarizeExadataInsightResourceUsageAggregation.
exadata_resource_metric (str) – The value to assign to the exadata_resource_metric property of this SummarizeExadataInsightResourceUsageAggregation. 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’.
exadata_resource_type (str) – The value to assign to the exadata_resource_type property of this SummarizeExadataInsightResourceUsageAggregation. Allowed values for this property are: “DATABASE”, “HOST”, “STORAGE_SERVER”, “DISKGROUP”, ‘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 SummarizeExadataInsightResourceUsageAggregation. 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’.
usage (float) – The value to assign to the usage property of this SummarizeExadataInsightResourceUsageAggregation.
capacity (float) – The value to assign to the capacity property of this SummarizeExadataInsightResourceUsageAggregation.
usage_change_percent (float) – The value to assign to the usage_change_percent property of this SummarizeExadataInsightResourceUsageAggregation.
total_host_capacity (float) – The value to assign to the total_host_capacity property of this SummarizeExadataInsightResourceUsageAggregation.
- property capacity¶
[Required] Gets the capacity of this SummarizeExadataInsightResourceUsageAggregation. The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Returns
The capacity of this SummarizeExadataInsightResourceUsageAggregation.
- Return type
float
- property exadata_resource_metric¶
[Required] Gets the exadata_resource_metric of this SummarizeExadataInsightResourceUsageAggregation. 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’.
- Returns
The exadata_resource_metric of this SummarizeExadataInsightResourceUsageAggregation.
- Return type
str
- property exadata_resource_type¶
[Required] Gets the exadata_resource_type of this SummarizeExadataInsightResourceUsageAggregation. Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
Allowed values for this property are: “DATABASE”, “HOST”, “STORAGE_SERVER”, “DISKGROUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The exadata_resource_type of this SummarizeExadataInsightResourceUsageAggregation.
- Return type
str
- property time_interval_end¶
[Required] Gets the time_interval_end of this SummarizeExadataInsightResourceUsageAggregation. The end timestamp that was passed into the request.
- Returns
The time_interval_end of this SummarizeExadataInsightResourceUsageAggregation.
- Return type
datetime
- property time_interval_start¶
[Required] Gets the time_interval_start of this SummarizeExadataInsightResourceUsageAggregation. The start timestamp that was passed into the request.
- Returns
The time_interval_start of this SummarizeExadataInsightResourceUsageAggregation.
- Return type
datetime
- property total_host_capacity¶
Gets the total_host_capacity of this SummarizeExadataInsightResourceUsageAggregation. The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
- Returns
The total_host_capacity of this SummarizeExadataInsightResourceUsageAggregation.
- Return type
float
- property usage¶
[Required] Gets the usage of this SummarizeExadataInsightResourceUsageAggregation. Total amount used of the resource metric type (CPU, STORAGE).
- Returns
The usage of this SummarizeExadataInsightResourceUsageAggregation.
- Return type
float
- property usage_change_percent¶
[Required] Gets the usage_change_percent of this SummarizeExadataInsightResourceUsageAggregation. Percentage change in resource usage during the current period calculated using linear regression functions
- Returns
The usage_change_percent of this SummarizeExadataInsightResourceUsageAggregation.
- Return type
float
- property usage_unit¶
[Required] Gets the usage_unit of this SummarizeExadataInsightResourceUsageAggregation. 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 SummarizeExadataInsightResourceUsageAggregation.
- Return type
str