import * as pulumi from "@pulumi/pulumi"; /** * * [Official documentation](https://grafana.com/docs/oncall/latest/configure/escalation-chains-and-routes/) * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_policies/) * * ## Import * * ```sh * $ pulumi import grafana:index/oncallEscalation:OncallEscalation name "{{ id }}" * ``` * * @deprecated grafana.index/oncallescalation.OncallEscalation has been deprecated in favor of grafana.oncall/escalation.Escalation */ export declare class OncallEscalation extends pulumi.CustomResource { /** * Get an existing OncallEscalation resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OncallEscalationState, opts?: pulumi.CustomResourceOptions): OncallEscalation; /** * Returns true if the given object is an instance of OncallEscalation. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OncallEscalation; /** * The ID of an Action for triggerWebhook type step. */ readonly actionToTrigger: pulumi.Output; /** * The duration of delay for wait type step. (60-86400) seconds */ readonly duration: pulumi.Output; /** * The ID of the escalation chain. */ readonly escalationChainId: pulumi.Output; /** * The ID of a User Group for notify*user*group type step. */ readonly groupToNotify: pulumi.Output; /** * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, notify*user*group and notify*team_members */ readonly important: pulumi.Output; /** * The beginning of the time interval for notify*if*time*from*to type step in UTC (for example 08:00:00Z). */ readonly notifyIfTimeFrom: pulumi.Output; /** * The end of the time interval for notify*if*time*from*to type step in UTC (for example 18:00:00Z). */ readonly notifyIfTimeTo: pulumi.Output; /** * ID of a Schedule for notify*on*call*from*schedule type step. */ readonly notifyOnCallFromSchedule: pulumi.Output; /** * The ID of a Team for a notify*team*members type step. */ readonly notifyToTeamMembers: pulumi.Output; /** * The list of ID's of users for notifyPersons type step. */ readonly personsToNotifies: pulumi.Output; /** * The list of ID's of users for notify*person*next*each*time type step. */ readonly personsToNotifyNextEachTimes: pulumi.Output; /** * The position of the escalation step (starts from 0). */ readonly position: pulumi.Output; /** * The severity of the incident for declareIncident type step. */ readonly severity: pulumi.Output; /** * The type of escalation policy. Can be wait, notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, trigger*webhook, notify*user*group, resolve, notify*whole*channel, notify*if*time*from*to, repeat*escalation, notify*team*members, declare*incident */ readonly type: pulumi.Output; /** * Create a OncallEscalation resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ /** @deprecated grafana.index/oncallescalation.OncallEscalation has been deprecated in favor of grafana.oncall/escalation.Escalation */ constructor(name: string, args: OncallEscalationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OncallEscalation resources. */ export interface OncallEscalationState { /** * The ID of an Action for triggerWebhook type step. */ actionToTrigger?: pulumi.Input; /** * The duration of delay for wait type step. (60-86400) seconds */ duration?: pulumi.Input; /** * The ID of the escalation chain. */ escalationChainId?: pulumi.Input; /** * The ID of a User Group for notify*user*group type step. */ groupToNotify?: pulumi.Input; /** * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, notify*user*group and notify*team_members */ important?: pulumi.Input; /** * The beginning of the time interval for notify*if*time*from*to type step in UTC (for example 08:00:00Z). */ notifyIfTimeFrom?: pulumi.Input; /** * The end of the time interval for notify*if*time*from*to type step in UTC (for example 18:00:00Z). */ notifyIfTimeTo?: pulumi.Input; /** * ID of a Schedule for notify*on*call*from*schedule type step. */ notifyOnCallFromSchedule?: pulumi.Input; /** * The ID of a Team for a notify*team*members type step. */ notifyToTeamMembers?: pulumi.Input; /** * The list of ID's of users for notifyPersons type step. */ personsToNotifies?: pulumi.Input[]>; /** * The list of ID's of users for notify*person*next*each*time type step. */ personsToNotifyNextEachTimes?: pulumi.Input[]>; /** * The position of the escalation step (starts from 0). */ position?: pulumi.Input; /** * The severity of the incident for declareIncident type step. */ severity?: pulumi.Input; /** * The type of escalation policy. Can be wait, notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, trigger*webhook, notify*user*group, resolve, notify*whole*channel, notify*if*time*from*to, repeat*escalation, notify*team*members, declare*incident */ type?: pulumi.Input; } /** * The set of arguments for constructing a OncallEscalation resource. */ export interface OncallEscalationArgs { /** * The ID of an Action for triggerWebhook type step. */ actionToTrigger?: pulumi.Input; /** * The duration of delay for wait type step. (60-86400) seconds */ duration?: pulumi.Input; /** * The ID of the escalation chain. */ escalationChainId: pulumi.Input; /** * The ID of a User Group for notify*user*group type step. */ groupToNotify?: pulumi.Input; /** * Will activate "important" personal notification rules. Actual for steps: notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, notify*user*group and notify*team_members */ important?: pulumi.Input; /** * The beginning of the time interval for notify*if*time*from*to type step in UTC (for example 08:00:00Z). */ notifyIfTimeFrom?: pulumi.Input; /** * The end of the time interval for notify*if*time*from*to type step in UTC (for example 18:00:00Z). */ notifyIfTimeTo?: pulumi.Input; /** * ID of a Schedule for notify*on*call*from*schedule type step. */ notifyOnCallFromSchedule?: pulumi.Input; /** * The ID of a Team for a notify*team*members type step. */ notifyToTeamMembers?: pulumi.Input; /** * The list of ID's of users for notifyPersons type step. */ personsToNotifies?: pulumi.Input[]>; /** * The list of ID's of users for notify*person*next*each*time type step. */ personsToNotifyNextEachTimes?: pulumi.Input[]>; /** * The position of the escalation step (starts from 0). */ position: pulumi.Input; /** * The severity of the incident for declareIncident type step. */ severity?: pulumi.Input; /** * The type of escalation policy. Can be wait, notify*persons, notify*person*next*each*time, notify*on*call*from*schedule, trigger*webhook, notify*user*group, resolve, notify*whole*channel, notify*if*time*from*to, repeat*escalation, notify*team*members, declare*incident */ type: pulumi.Input; }