UNPKG

@datadog/datadog-api-client

Version:
60 lines (59 loc) 2.16 kB
/** * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ import { AutomationRuleAction } from "./AutomationRuleAction"; import { AutomationRuleTrigger } from "./AutomationRuleTrigger"; import { CaseAutomationRuleState } from "./CaseAutomationRuleState"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * Core attributes of an automation rule, including its name, trigger condition, action to execute, and current state. */ export declare class AutomationRuleAttributes { /** * Defines what happens when the rule triggers. Combines an action type with action-specific configuration data. */ "action": AutomationRuleAction; /** * Timestamp when the automation rule was created. */ "createdAt": Date; /** * Timestamp when the automation rule was last modified. */ "modifiedAt"?: Date; /** * A human-readable name for the automation rule, used to identify the rule in the UI and API responses. */ "name": string; /** * Whether the automation rule is active. Enabled rules trigger on matching case events; disabled rules are inactive but preserve their configuration. */ "state": CaseAutomationRuleState; /** * Defines when the rule activates. Combines a trigger type (the case event to listen for) with optional trigger data (conditions that narrow when the trigger fires). */ "trigger": AutomationRuleTrigger; /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with * the 'additionalProperties' keyword in the OAS document. */ "additionalProperties"?: { [key: string]: any; }; /** * @ignore */ "_unparsed"?: boolean; /** * @ignore */ static readonly attributeTypeMap: AttributeTypeMap; /** * @ignore */ static getAttributeTypeMap(): AttributeTypeMap; constructor(); }