import * as pulumi from "@pulumi/pulumi"; /** * ## Import * * rootly.CustomForm can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/customForm:CustomForm 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 CustomForm extends pulumi.CustomResource { /** * Get an existing CustomForm 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?: CustomFormState, opts?: pulumi.CustomResourceOptions): CustomForm; /** * Returns true if the given object is an instance of CustomForm. 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 CustomForm; /** * The Slack command used to trigger this form. */ readonly command: pulumi.Output; readonly description: pulumi.Output; readonly enabled: pulumi.Output; /** * The name of the custom form. */ readonly name: pulumi.Output; /** * The custom form slug. Add this to form*field.shown or form*field.required to associate form fields with custom forms. * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ readonly slug: pulumi.Output; /** * Create a CustomForm 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: CustomFormArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CustomForm resources. */ export interface CustomFormState { /** * The Slack command used to trigger this form. */ command?: pulumi.Input; description?: pulumi.Input; enabled?: pulumi.Input; /** * The name of the custom form. */ name?: pulumi.Input; /** * The custom form slug. Add this to form*field.shown or form*field.required to associate form fields with custom forms. * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ slug?: pulumi.Input; } /** * The set of arguments for constructing a CustomForm resource. */ export interface CustomFormArgs { /** * The Slack command used to trigger this form. */ command: pulumi.Input; description?: pulumi.Input; enabled?: pulumi.Input; /** * The name of the custom form. */ name?: pulumi.Input; /** * The custom form slug. Add this to form*field.shown or form*field.required to associate form fields with custom forms. * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ slug?: pulumi.Input; } //# sourceMappingURL=customForm.d.ts.map