import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get information about a specific [escalation policy](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEyNA-list-escalation-policies) that you can use for other PagerDuty resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pagerduty from "@pulumi/pagerduty"; * * const test = pagerduty.getEscalationPolicy({ * name: "Engineering Escalation Policy", * }); * const testService = new pagerduty.Service("test", { * name: "My Web App", * autoResolveTimeout: "14400", * acknowledgementTimeout: "600", * escalationPolicy: test.then(test => test.id), * }); * ``` */ export declare function getEscalationPolicy(args: GetEscalationPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEscalationPolicy. */ export interface GetEscalationPolicyArgs { /** * The name to use to find an escalation policy in the PagerDuty API. */ name: string; } /** * A collection of values returned by getEscalationPolicy. */ export interface GetEscalationPolicyResult { /** * The description of the found escalation policy. */ readonly description: string; /** * The ID of the found escalation policy. */ readonly id: string; /** * The short name of the found escalation policy. */ readonly name: string; /** * The IDs of the teams associated with the found escalation policy. */ readonly teams: string[]; } /** * Use this data source to get information about a specific [escalation policy](https://developer.pagerduty.com/api-reference/b3A6Mjc0ODEyNA-list-escalation-policies) that you can use for other PagerDuty resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pagerduty from "@pulumi/pagerduty"; * * const test = pagerduty.getEscalationPolicy({ * name: "Engineering Escalation Policy", * }); * const testService = new pagerduty.Service("test", { * name: "My Web App", * autoResolveTimeout: "14400", * acknowledgementTimeout: "600", * escalationPolicy: test.then(test => test.id), * }); * ``` */ export declare function getEscalationPolicyOutput(args: GetEscalationPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEscalationPolicy. */ export interface GetEscalationPolicyOutputArgs { /** * The name to use to find an escalation policy in the PagerDuty API. */ name: pulumi.Input; }