import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * rootly.CommunicationsTemplate can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/communicationsTemplate:CommunicationsTemplate 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 CommunicationsTemplate extends pulumi.CustomResource { /** * Get an existing CommunicationsTemplate 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?: CommunicationsTemplateState, opts?: pulumi.CustomResourceOptions): CommunicationsTemplate; /** * Returns true if the given object is an instance of CommunicationsTemplate. 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 CommunicationsTemplate; /** * Communication template stages */ readonly communicationTemplateStages: pulumi.Output; /** * Map must contain two fields, `id` and `name`. */ readonly communicationType: pulumi.Output; /** * The communication type ID */ readonly communicationTypeId: pulumi.Output; /** * The description of the communications template */ readonly description: pulumi.Output; /** * The name of the communications template */ readonly name: pulumi.Output; /** * Position of the communications template */ readonly position: pulumi.Output; /** * The slug of the communications template * * @deprecated `slug` is derived from `name` and any configured value is ignored. It will become read-only in the next major version; remove it from your configuration. */ readonly slug: pulumi.Output; /** * Create a CommunicationsTemplate 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: CommunicationsTemplateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CommunicationsTemplate resources. */ export interface CommunicationsTemplateState { /** * Communication template stages */ communicationTemplateStages?: pulumi.Input[] | undefined>; /** * Map must contain two fields, `id` and `name`. */ communicationType?: pulumi.Input; /** * The communication type ID */ communicationTypeId?: pulumi.Input; /** * The description of the communications template */ description?: pulumi.Input; /** * The name of the communications template */ name?: pulumi.Input; /** * Position of the communications template */ position?: pulumi.Input; /** * The slug of the communications template * * @deprecated `slug` is derived from `name` and any configured value is ignored. It will become read-only in the next major version; remove it from your configuration. */ slug?: pulumi.Input; } /** * The set of arguments for constructing a CommunicationsTemplate resource. */ export interface CommunicationsTemplateArgs { /** * Communication template stages */ communicationTemplateStages?: pulumi.Input[] | undefined>; /** * Map must contain two fields, `id` and `name`. */ communicationType?: pulumi.Input; /** * The communication type ID */ communicationTypeId: pulumi.Input; /** * The description of the communications template */ description?: pulumi.Input; /** * The name of the communications template */ name?: pulumi.Input; /** * Position of the communications template */ position?: pulumi.Input; /** * The slug of the communications template * * @deprecated `slug` is derived from `name` and any configured value is ignored. It will become read-only in the next major version; remove it from your configuration. */ slug?: pulumi.Input; } //# sourceMappingURL=communicationsTemplate.d.ts.map