UNPKG

@datadog/datadog-api-client

Version:
52 lines (51 loc) 1.83 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"; /** * Attributes required to create an automation rule. */ export declare class AutomationRuleCreateAttributes { /** * Defines what happens when the rule triggers. Combines an action type with action-specific configuration data. */ "action": AutomationRuleAction; /** * Name of the automation rule. */ "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(); }