import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Import * * rootly.LiveCallRouter can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/liveCallRouter:LiveCallRouter 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 LiveCallRouter extends pulumi.CustomResource { /** * Get an existing LiveCallRouter 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?: LiveCallRouterState, opts?: pulumi.CustomResourceOptions): LiveCallRouter; /** * Returns true if the given object is an instance of LiveCallRouter. 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 LiveCallRouter; /** * This is used in escalation paths to determine who to page */ readonly alertUrgencyId: pulumi.Output; /** * The caller greeting message of the live*call*router */ readonly callerGreeting: pulumi.Output; /** * The audio instructions callers will hear when they call this number, prompting them to select from available options to route their call */ readonly callingTreePrompt: pulumi.Output; /** * The country code of the live*call*router. Value must be one of `AU`, `CA`, `DE`, `NL`, `NZ`, `GB`, `US`. */ readonly countryCode: pulumi.Output; readonly enabled: pulumi.Output; /** * This overrides the delay (seconds) in escalation levels */ readonly escalationLevelDelayInSeconds: pulumi.Output; readonly escalationPolicyTriggerParams: pulumi.Output<{ [key: string]: string; }>; /** * The kind of the live*call*router. Value must be one of `voicemail`, `live`. */ readonly kind: pulumi.Output; /** * The name of the live*call*router */ readonly name: pulumi.Output; /** * Paging targets that callers can select from when this live call router is configured as a phone tree. */ readonly pagingTargets: pulumi.Output; /** * You can select a phone number using [generate*phone*number](https://docs.rootly.com/api-reference/livecallrouters/generates-a-phone-number-for-live-call-router) API and pass that phone number here to register */ readonly phoneNumber: pulumi.Output; /** * The phone type of the live*call*router. Value must be one of `local`, `tollFree`, `mobile`. */ readonly phoneType: pulumi.Output; /** * The delay (seconds) after which the caller in redirected to voicemail */ readonly sentToVoicemailDelay: pulumi.Output; /** * This overrides the delay (seconds) in escalation levels. Value must be one of true or false */ readonly shouldAutoResolveAlertOnCallEnd: pulumi.Output; /** * This prompts the caller to choose voicemail or connect live. Value must be one of true or false */ readonly shouldRedirectToVoicemailOnNoAnswer: pulumi.Output; /** * The voicemail greeting of the live*call*router */ readonly voicemailGreeting: pulumi.Output; /** * The waiting music URL of the live*call*router. Value must be one of `https://storage.rootly.com/twilio/voicemail/ClockworkWaltz.mp3`, `https://storage.rootly.com/twilio/voicemail/ith_brahms-116-4.mp3`, `https://storage.rootly.com/twilio/voicemail/Mellotroniac_-_Flight_Of_Young_Hearts_Flute.mp3`, `https://storage.rootly.com/twilio/voicemail/BusyStrings.mp3`, `https://storage.rootly.com/twilio/voicemail/oldDog_-_endless_goodbye_%28instr.%29.mp3`, `https://storage.rootly.com/twilio/voicemail/MARKOVICHAMP-Borghestral.mp3`, `https://storage.rootly.com/twilio/voicemail/ith_chopin-15-2.mp3`. */ readonly waitingMusicUrl: pulumi.Output; /** * Create a LiveCallRouter 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: LiveCallRouterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LiveCallRouter resources. */ export interface LiveCallRouterState { /** * This is used in escalation paths to determine who to page */ alertUrgencyId?: pulumi.Input; /** * The caller greeting message of the live*call*router */ callerGreeting?: pulumi.Input; /** * The audio instructions callers will hear when they call this number, prompting them to select from available options to route their call */ callingTreePrompt?: pulumi.Input; /** * The country code of the live*call*router. Value must be one of `AU`, `CA`, `DE`, `NL`, `NZ`, `GB`, `US`. */ countryCode?: pulumi.Input; enabled?: pulumi.Input; /** * This overrides the delay (seconds) in escalation levels */ escalationLevelDelayInSeconds?: pulumi.Input; escalationPolicyTriggerParams?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The kind of the live*call*router. Value must be one of `voicemail`, `live`. */ kind?: pulumi.Input; /** * The name of the live*call*router */ name?: pulumi.Input; /** * Paging targets that callers can select from when this live call router is configured as a phone tree. */ pagingTargets?: pulumi.Input[] | undefined>; /** * You can select a phone number using [generate*phone*number](https://docs.rootly.com/api-reference/livecallrouters/generates-a-phone-number-for-live-call-router) API and pass that phone number here to register */ phoneNumber?: pulumi.Input; /** * The phone type of the live*call*router. Value must be one of `local`, `tollFree`, `mobile`. */ phoneType?: pulumi.Input; /** * The delay (seconds) after which the caller in redirected to voicemail */ sentToVoicemailDelay?: pulumi.Input; /** * This overrides the delay (seconds) in escalation levels. Value must be one of true or false */ shouldAutoResolveAlertOnCallEnd?: pulumi.Input; /** * This prompts the caller to choose voicemail or connect live. Value must be one of true or false */ shouldRedirectToVoicemailOnNoAnswer?: pulumi.Input; /** * The voicemail greeting of the live*call*router */ voicemailGreeting?: pulumi.Input; /** * The waiting music URL of the live*call*router. Value must be one of `https://storage.rootly.com/twilio/voicemail/ClockworkWaltz.mp3`, `https://storage.rootly.com/twilio/voicemail/ith_brahms-116-4.mp3`, `https://storage.rootly.com/twilio/voicemail/Mellotroniac_-_Flight_Of_Young_Hearts_Flute.mp3`, `https://storage.rootly.com/twilio/voicemail/BusyStrings.mp3`, `https://storage.rootly.com/twilio/voicemail/oldDog_-_endless_goodbye_%28instr.%29.mp3`, `https://storage.rootly.com/twilio/voicemail/MARKOVICHAMP-Borghestral.mp3`, `https://storage.rootly.com/twilio/voicemail/ith_chopin-15-2.mp3`. */ waitingMusicUrl?: pulumi.Input; } /** * The set of arguments for constructing a LiveCallRouter resource. */ export interface LiveCallRouterArgs { /** * This is used in escalation paths to determine who to page */ alertUrgencyId?: pulumi.Input; /** * The caller greeting message of the live*call*router */ callerGreeting?: pulumi.Input; /** * The audio instructions callers will hear when they call this number, prompting them to select from available options to route their call */ callingTreePrompt?: pulumi.Input; /** * The country code of the live*call*router. Value must be one of `AU`, `CA`, `DE`, `NL`, `NZ`, `GB`, `US`. */ countryCode: pulumi.Input; enabled?: pulumi.Input; /** * This overrides the delay (seconds) in escalation levels */ escalationLevelDelayInSeconds?: pulumi.Input; escalationPolicyTriggerParams?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The kind of the live*call*router. Value must be one of `voicemail`, `live`. */ kind?: pulumi.Input; /** * The name of the live*call*router */ name?: pulumi.Input; /** * Paging targets that callers can select from when this live call router is configured as a phone tree. */ pagingTargets: pulumi.Input[]>; /** * You can select a phone number using [generate*phone*number](https://docs.rootly.com/api-reference/livecallrouters/generates-a-phone-number-for-live-call-router) API and pass that phone number here to register */ phoneNumber: pulumi.Input; /** * The phone type of the live*call*router. Value must be one of `local`, `tollFree`, `mobile`. */ phoneType: pulumi.Input; /** * The delay (seconds) after which the caller in redirected to voicemail */ sentToVoicemailDelay?: pulumi.Input; /** * This overrides the delay (seconds) in escalation levels. Value must be one of true or false */ shouldAutoResolveAlertOnCallEnd?: pulumi.Input; /** * This prompts the caller to choose voicemail or connect live. Value must be one of true or false */ shouldRedirectToVoicemailOnNoAnswer?: pulumi.Input; /** * The voicemail greeting of the live*call*router */ voicemailGreeting: pulumi.Input; /** * The waiting music URL of the live*call*router. Value must be one of `https://storage.rootly.com/twilio/voicemail/ClockworkWaltz.mp3`, `https://storage.rootly.com/twilio/voicemail/ith_brahms-116-4.mp3`, `https://storage.rootly.com/twilio/voicemail/Mellotroniac_-_Flight_Of_Young_Hearts_Flute.mp3`, `https://storage.rootly.com/twilio/voicemail/BusyStrings.mp3`, `https://storage.rootly.com/twilio/voicemail/oldDog_-_endless_goodbye_%28instr.%29.mp3`, `https://storage.rootly.com/twilio/voicemail/MARKOVICHAMP-Borghestral.mp3`, `https://storage.rootly.com/twilio/voicemail/ith_chopin-15-2.mp3`. */ waitingMusicUrl?: pulumi.Input; } //# sourceMappingURL=liveCallRouter.d.ts.map