SummarizeHostInsightStorageUsageTrendAggregationCollection

class oci.opsi.models.SummarizeHostInsightStorageUsageTrendAggregationCollection(**kwargs)

Bases: object

Top level response object.

Attributes

USAGE_UNIT_CORES A constant which can be used with the usage_unit property of a SummarizeHostInsightStorageUsageTrendAggregationCollection.
USAGE_UNIT_GB A constant which can be used with the usage_unit property of a SummarizeHostInsightStorageUsageTrendAggregationCollection.
USAGE_UNIT_IOPS A constant which can be used with the usage_unit property of a SummarizeHostInsightStorageUsageTrendAggregationCollection.
USAGE_UNIT_MBPS A constant which can be used with the usage_unit property of a SummarizeHostInsightStorageUsageTrendAggregationCollection.
USAGE_UNIT_PERCENT A constant which can be used with the usage_unit property of a SummarizeHostInsightStorageUsageTrendAggregationCollection.
item_duration_in_ms [Required] Gets the item_duration_in_ms of this SummarizeHostInsightStorageUsageTrendAggregationCollection.
items [Required] Gets the items of this SummarizeHostInsightStorageUsageTrendAggregationCollection.
time_interval_end [Required] Gets the time_interval_end of this SummarizeHostInsightStorageUsageTrendAggregationCollection.
time_interval_start [Required] Gets the time_interval_start of this SummarizeHostInsightStorageUsageTrendAggregationCollection.
usage_unit [Required] Gets the usage_unit of this SummarizeHostInsightStorageUsageTrendAggregationCollection.

Methods

__init__(**kwargs) Initializes a new SummarizeHostInsightStorageUsageTrendAggregationCollection object with values from keyword arguments.
USAGE_UNIT_CORES = 'CORES'

A constant which can be used with the usage_unit property of a SummarizeHostInsightStorageUsageTrendAggregationCollection. This constant has a value of “CORES”

USAGE_UNIT_GB = 'GB'

A constant which can be used with the usage_unit property of a SummarizeHostInsightStorageUsageTrendAggregationCollection. This constant has a value of “GB”

USAGE_UNIT_IOPS = 'IOPS'

A constant which can be used with the usage_unit property of a SummarizeHostInsightStorageUsageTrendAggregationCollection. This constant has a value of “IOPS”

USAGE_UNIT_MBPS = 'MBPS'

A constant which can be used with the usage_unit property of a SummarizeHostInsightStorageUsageTrendAggregationCollection. This constant has a value of “MBPS”

USAGE_UNIT_PERCENT = 'PERCENT'

A constant which can be used with the usage_unit property of a SummarizeHostInsightStorageUsageTrendAggregationCollection. This constant has a value of “PERCENT”

__init__(**kwargs)

Initializes a new SummarizeHostInsightStorageUsageTrendAggregationCollection 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 SummarizeHostInsightStorageUsageTrendAggregationCollection.
  • time_interval_end (datetime) – The value to assign to the time_interval_end property of this SummarizeHostInsightStorageUsageTrendAggregationCollection.
  • usage_unit (str) – The value to assign to the usage_unit property of this SummarizeHostInsightStorageUsageTrendAggregationCollection. 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’.
  • item_duration_in_ms (int) – The value to assign to the item_duration_in_ms property of this SummarizeHostInsightStorageUsageTrendAggregationCollection.
  • items (list[oci.opsi.models.StorageUsageTrendAggregation]) – The value to assign to the items property of this SummarizeHostInsightStorageUsageTrendAggregationCollection.
item_duration_in_ms

[Required] Gets the item_duration_in_ms of this SummarizeHostInsightStorageUsageTrendAggregationCollection. Time duration in milliseconds between data points (one hour or one day).

Returns:The item_duration_in_ms of this SummarizeHostInsightStorageUsageTrendAggregationCollection.
Return type:int
items

[Required] Gets the items of this SummarizeHostInsightStorageUsageTrendAggregationCollection. Collection of Usage Data with time stamps for all filesystems.

Returns:The items of this SummarizeHostInsightStorageUsageTrendAggregationCollection.
Return type:list[oci.opsi.models.StorageUsageTrendAggregation]
time_interval_end

[Required] Gets the time_interval_end of this SummarizeHostInsightStorageUsageTrendAggregationCollection. The end timestamp that was passed into the request.

Returns:The time_interval_end of this SummarizeHostInsightStorageUsageTrendAggregationCollection.
Return type:datetime
time_interval_start

[Required] Gets the time_interval_start of this SummarizeHostInsightStorageUsageTrendAggregationCollection. The start timestamp that was passed into the request.

Returns:The time_interval_start of this SummarizeHostInsightStorageUsageTrendAggregationCollection.
Return type:datetime
usage_unit

[Required] Gets the usage_unit of this SummarizeHostInsightStorageUsageTrendAggregationCollection. 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 SummarizeHostInsightStorageUsageTrendAggregationCollection.
Return type:str