import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * rootly.EscalationPolicy can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/escalationPolicy:EscalationPolicy primary a816421c-6ceb-481a-87c4-585e47451f24 * ``` * * Or using an `import` block. * * Locate the resource id in the web app, or retrieve it by listing resources through the API if it's not visible in the web app. * * HCL can be generated from the import block using the `-generate-config-out` flag. * * ```sh * pulumi preview -generate-config-out=generated.tf * ``` */ export declare class EscalationPolicy extends pulumi.CustomResource { /** * Get an existing EscalationPolicy 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?: EscalationPolicyState, opts?: pulumi.CustomResourceOptions): EscalationPolicy; /** * Returns true if the given object is an instance of EscalationPolicy. 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 EscalationPolicy; readonly businessHours: pulumi.Output; /** * User who created the escalation policy */ readonly createdByUserId: pulumi.Output; /** * The description of the escalation policy */ readonly description: pulumi.Output; /** * Associated groups (alerting the group will trigger escalation policy) */ readonly groupIds: pulumi.Output; /** * User who updated the escalation policy */ readonly lastUpdatedByUserId: pulumi.Output; /** * The name of the escalation policy */ readonly name: pulumi.Output; /** * The number of times this policy will be executed until someone acknowledges the alert */ readonly repeatCount: pulumi.Output; /** * Associated services (alerting the service will trigger escalation policy) */ readonly serviceIds: pulumi.Output; /** * Create a EscalationPolicy 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. */ constructor(name: string, args?: EscalationPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EscalationPolicy resources. */ export interface EscalationPolicyState { businessHours?: pulumi.Input; /** * User who created the escalation policy */ createdByUserId?: pulumi.Input; /** * The description of the escalation policy */ description?: pulumi.Input; /** * Associated groups (alerting the group will trigger escalation policy) */ groupIds?: pulumi.Input[] | undefined>; /** * User who updated the escalation policy */ lastUpdatedByUserId?: pulumi.Input; /** * The name of the escalation policy */ name?: pulumi.Input; /** * The number of times this policy will be executed until someone acknowledges the alert */ repeatCount?: pulumi.Input; /** * Associated services (alerting the service will trigger escalation policy) */ serviceIds?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a EscalationPolicy resource. */ export interface EscalationPolicyArgs { businessHours?: pulumi.Input; /** * User who created the escalation policy */ createdByUserId?: pulumi.Input; /** * The description of the escalation policy */ description?: pulumi.Input; /** * Associated groups (alerting the group will trigger escalation policy) */ groupIds?: pulumi.Input[] | undefined>; /** * User who updated the escalation policy */ lastUpdatedByUserId?: pulumi.Input; /** * The name of the escalation policy */ name?: pulumi.Input; /** * The number of times this policy will be executed until someone acknowledges the alert */ repeatCount?: pulumi.Input; /** * Associated services (alerting the service will trigger escalation policy) */ serviceIds?: pulumi.Input[] | undefined>; } //# sourceMappingURL=escalationPolicy.d.ts.map