AlarmDimensionStatesCollection

class oci.monitoring.models.AlarmDimensionStatesCollection(**kwargs)

Bases: object

The list of current alarm state entries for each metric stream that matches the filters.

Methods

__init__(**kwargs) Initializes a new AlarmDimensionStatesCollection object with values from keyword arguments.

Attributes

alarm_id [Required] Gets the alarm_id of this AlarmDimensionStatesCollection.
is_enabled [Required] Gets the is_enabled of this AlarmDimensionStatesCollection.
is_notifications_per_metric_dimension_enabled [Required] Gets the is_notifications_per_metric_dimension_enabled of this AlarmDimensionStatesCollection.
items [Required] Gets the items of this AlarmDimensionStatesCollection.
__init__(**kwargs)

Initializes a new AlarmDimensionStatesCollection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • alarm_id (str) – The value to assign to the alarm_id property of this AlarmDimensionStatesCollection.
  • is_enabled (bool) – The value to assign to the is_enabled property of this AlarmDimensionStatesCollection.
  • is_notifications_per_metric_dimension_enabled (bool) – The value to assign to the is_notifications_per_metric_dimension_enabled property of this AlarmDimensionStatesCollection.
  • items (list[oci.monitoring.models.AlarmDimensionStatesEntry]) – The value to assign to the items property of this AlarmDimensionStatesCollection.
alarm_id

[Required] Gets the alarm_id of this AlarmDimensionStatesCollection. The OCID of the alarm to retrieve alarm state entries for.

Returns:The alarm_id of this AlarmDimensionStatesCollection.
Return type:str
is_enabled

[Required] Gets the is_enabled of this AlarmDimensionStatesCollection. Whether the alarm is enabled.

Example: true

Returns:The is_enabled of this AlarmDimensionStatesCollection.
Return type:bool
is_notifications_per_metric_dimension_enabled

[Required] Gets the is_notifications_per_metric_dimension_enabled of this AlarmDimensionStatesCollection. When set to true, splits alarm notifications per metric stream. When set to false, groups alarm notifications across metric streams.

Returns:The is_notifications_per_metric_dimension_enabled of this AlarmDimensionStatesCollection.
Return type:bool
items

[Required] Gets the items of this AlarmDimensionStatesCollection. Array of alarm state entries.

Returns:The items of this AlarmDimensionStatesCollection.
Return type:list[oci.monitoring.models.AlarmDimensionStatesEntry]