UNPKG

@datadog/datadog-api-client

Version:
43 lines (42 loc) 1.61 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 { AutomationRuleTriggerData } from "./AutomationRuleTriggerData"; import { AutomationRuleTriggerType } from "./AutomationRuleTriggerType"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * 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). */ export declare class AutomationRuleTrigger { /** * Additional configuration for the trigger, dependent on the trigger type. For `status_transitioned` triggers, specify `from_status_name` and `to_status_name`. For `attribute_value_changed` triggers, specify `field` and `change_type`. */ "data"?: AutomationRuleTriggerData; /** * The case event that activates the automation rule. */ "type": AutomationRuleTriggerType; /** * 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(); }