SummarizeHostInsightResourceUtilizationInsightAggregation¶
-
class
oci.opsi.models.
SummarizeHostInsightResourceUtilizationInsightAggregation
(**kwargs)¶ Bases:
object
Insights response containing current/projected groups for CPU or memory.
Attributes
RESOURCE_METRIC_CPU
A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. RESOURCE_METRIC_GPU_MEMORY_USAGE
A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. RESOURCE_METRIC_GPU_UTILIZATION
A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. RESOURCE_METRIC_LOGICAL_MEMORY
A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. RESOURCE_METRIC_MEMORY
A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. RESOURCE_METRIC_NETWORK
A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. RESOURCE_METRIC_STORAGE
A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. current_utilization
[Required] Gets the current_utilization of this SummarizeHostInsightResourceUtilizationInsightAggregation. high_utilization_threshold
[Required] Gets the high_utilization_threshold of this SummarizeHostInsightResourceUtilizationInsightAggregation. low_utilization_threshold
[Required] Gets the low_utilization_threshold of this SummarizeHostInsightResourceUtilizationInsightAggregation. projected_utilization
[Required] Gets the projected_utilization of this SummarizeHostInsightResourceUtilizationInsightAggregation. resource_metric
[Required] Gets the resource_metric of this SummarizeHostInsightResourceUtilizationInsightAggregation. time_interval_end
[Required] Gets the time_interval_end of this SummarizeHostInsightResourceUtilizationInsightAggregation. time_interval_start
[Required] Gets the time_interval_start of this SummarizeHostInsightResourceUtilizationInsightAggregation. Methods
__init__
(**kwargs)Initializes a new SummarizeHostInsightResourceUtilizationInsightAggregation object with values from keyword arguments. -
RESOURCE_METRIC_CPU
= 'CPU'¶ A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. This constant has a value of “CPU”
-
RESOURCE_METRIC_GPU_MEMORY_USAGE
= 'GPU_MEMORY_USAGE'¶ A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. This constant has a value of “GPU_MEMORY_USAGE”
-
RESOURCE_METRIC_GPU_UTILIZATION
= 'GPU_UTILIZATION'¶ A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. This constant has a value of “GPU_UTILIZATION”
-
RESOURCE_METRIC_LOGICAL_MEMORY
= 'LOGICAL_MEMORY'¶ A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. This constant has a value of “LOGICAL_MEMORY”
-
RESOURCE_METRIC_MEMORY
= 'MEMORY'¶ A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. This constant has a value of “MEMORY”
-
RESOURCE_METRIC_NETWORK
= 'NETWORK'¶ A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. This constant has a value of “NETWORK”
-
RESOURCE_METRIC_STORAGE
= 'STORAGE'¶ A constant which can be used with the resource_metric property of a SummarizeHostInsightResourceUtilizationInsightAggregation. This constant has a value of “STORAGE”
-
__init__
(**kwargs)¶ Initializes a new SummarizeHostInsightResourceUtilizationInsightAggregation 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 SummarizeHostInsightResourceUtilizationInsightAggregation.
- time_interval_end (datetime) – The value to assign to the time_interval_end property of this SummarizeHostInsightResourceUtilizationInsightAggregation.
- high_utilization_threshold (int) – The value to assign to the high_utilization_threshold property of this SummarizeHostInsightResourceUtilizationInsightAggregation.
- low_utilization_threshold (int) – The value to assign to the low_utilization_threshold property of this SummarizeHostInsightResourceUtilizationInsightAggregation.
- resource_metric (str) – The value to assign to the resource_metric property of this SummarizeHostInsightResourceUtilizationInsightAggregation. Allowed values for this property are: “CPU”, “MEMORY”, “LOGICAL_MEMORY”, “STORAGE”, “NETWORK”, “GPU_UTILIZATION”, “GPU_MEMORY_USAGE”, ‘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 SummarizeHostInsightResourceUtilizationInsightAggregation.
- current_utilization (oci.opsi.models.ResourceInsightCurrentUtilization) – The value to assign to the current_utilization property of this SummarizeHostInsightResourceUtilizationInsightAggregation.
-
current_utilization
¶ [Required] Gets the current_utilization of this SummarizeHostInsightResourceUtilizationInsightAggregation.
Returns: The current_utilization of this SummarizeHostInsightResourceUtilizationInsightAggregation. Return type: oci.opsi.models.ResourceInsightCurrentUtilization
-
high_utilization_threshold
¶ [Required] Gets the high_utilization_threshold of this SummarizeHostInsightResourceUtilizationInsightAggregation. Percent value in which a resource metric is considered highly utilized.
Returns: The high_utilization_threshold of this SummarizeHostInsightResourceUtilizationInsightAggregation. Return type: int
-
low_utilization_threshold
¶ [Required] Gets the low_utilization_threshold of this SummarizeHostInsightResourceUtilizationInsightAggregation. Percent value in which a resource metric is considered lowly utilized.
Returns: The low_utilization_threshold of this SummarizeHostInsightResourceUtilizationInsightAggregation. Return type: int
-
projected_utilization
¶ [Required] Gets the projected_utilization of this SummarizeHostInsightResourceUtilizationInsightAggregation.
Returns: The projected_utilization of this SummarizeHostInsightResourceUtilizationInsightAggregation. Return type: oci.opsi.models.ResourceInsightProjectedUtilization
-
resource_metric
¶ [Required] Gets the resource_metric of this SummarizeHostInsightResourceUtilizationInsightAggregation. Defines the type of resource metric (CPU, Physical Memory, Logical Memory)
Allowed values for this property are: “CPU”, “MEMORY”, “LOGICAL_MEMORY”, “STORAGE”, “NETWORK”, “GPU_UTILIZATION”, “GPU_MEMORY_USAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The resource_metric of this SummarizeHostInsightResourceUtilizationInsightAggregation. Return type: str
-
time_interval_end
¶ [Required] Gets the time_interval_end of this SummarizeHostInsightResourceUtilizationInsightAggregation. The end timestamp that was passed into the request.
Returns: The time_interval_end of this SummarizeHostInsightResourceUtilizationInsightAggregation. Return type: datetime
-
time_interval_start
¶ [Required] Gets the time_interval_start of this SummarizeHostInsightResourceUtilizationInsightAggregation. The start timestamp that was passed into the request.
Returns: The time_interval_start of this SummarizeHostInsightResourceUtilizationInsightAggregation. Return type: datetime
-