ace.centralize.models.alert

Alert models for Centralize

Models for alerts and affected entities.

Based on the Alert GraphQL schema (CreateAlertsParamsInput, AddEntitiesToAlertParamsInput, etc.)

class ace.centralize.models.alert.AlertAffectedEntityParamsInput(entity_type_id: str, entity_type_name: str, ids: List[int])[source]

Bases: ModelBase

__init__(entity_type_id: str, entity_type_name: str, ids: List[int])[source]
as_dict()
class ace.centralize.models.alert.CreateAlertsParamsInput(alert_type_guid: str, entity_id: int, affected_entities: List[AlertAffectedEntityParamsInput] | None = None)[source]

Bases: ModelBase

Maps to CreateAlertsParamsInput in GraphQL schema.

__init__(alert_type_guid: str, entity_id: int, affected_entities: List[AlertAffectedEntityParamsInput] | None = None)[source]
as_dict()
class ace.centralize.models.alert.AddEntitiesToAlertParamsInput(alert_id: int, affected_entities: List[AlertAffectedEntityParamsInput], entity_id: int)[source]

Bases: ModelBase

__init__(alert_id: int, affected_entities: List[AlertAffectedEntityParamsInput], entity_id: int)[source]
as_dict()
class ace.centralize.models.alert.RemoveEntitiesToAlertParamsInput(alert_id: int, affected_entities: List[AlertAffectedEntityParamsInput])[source]

Bases: ModelBase

__init__(alert_id: int, affected_entities: List[AlertAffectedEntityParamsInput])[source]
as_dict()