RetrieveDimensionStatesDetails

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

Bases: object

The configuration details for retrieving the alarm state entries. Filter retrieved alarm state entries by status value and dimension key-value pairs.

Methods

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

Attributes

dimension_filters Gets the dimension_filters of this RetrieveDimensionStatesDetails.
status Gets the status of this RetrieveDimensionStatesDetails.
__init__(**kwargs)

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

Parameters:
  • dimension_filters (dict(str, str)) – The value to assign to the dimension_filters property of this RetrieveDimensionStatesDetails.
  • status (str) – The value to assign to the status property of this RetrieveDimensionStatesDetails.
dimension_filters

Gets the dimension_filters of this RetrieveDimensionStatesDetails. A filter to return only alarm state entries that match the exact set of specified dimension key-value pairs. If you specify “availabilityDomain”: “phx-ad-1” but the alarm state entry corresponds to the set “availabilityDomain”: “phx-ad-1” and “resourceId”: “ocid1.instance.region1.phx.exampleuniqueID”, then no results are returned.

Returns:The dimension_filters of this RetrieveDimensionStatesDetails.
Return type:dict(str, str)
status

Gets the status of this RetrieveDimensionStatesDetails. A filter to return only alarm state entries that match the status value. Example: FIRING

Returns:The status of this RetrieveDimensionStatesDetails.
Return type:str