The aodh.api.controllers.v2.alarm_rules.composite Module

class aodh.api.controllers.v2.alarm_rules.composite.CompositeRule[source]

Bases: wsme.types.UserType

Composite alarm rule.

A simple dict type to preset composite rule.

static as_dict()[source]
basetype

alias of unicode

static create_hook(alarm)[source]
static frombasetype(value)[source]
static update_hook(alarm)[source]
static valid_composite_rule(rules)[source]
static validate(value)[source]
static validate_alarm(alarm)[source]
exception aodh.api.controllers.v2.alarm_rules.composite.InvalidCompositeRule(error)[source]

Bases: aodh.api.controllers.v2.base.ClientSideError

Previous topic

The aodh.api.controllers.root Module

Next topic

The aodh.api.controllers.v2.alarm_rules.event Module

Project Source

This Page