import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Import * * rootly.WorkflowPostMortem can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/workflowPostMortem:WorkflowPostMortem 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 WorkflowPostMortem extends pulumi.CustomResource { /** * Get an existing WorkflowPostMortem 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?: WorkflowPostMortemState, opts?: pulumi.CustomResourceOptions): WorkflowPostMortem; /** * Returns true if the given object is an instance of WorkflowPostMortem. 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 WorkflowPostMortem; readonly causeIds: pulumi.Output; /** * Workflow command */ readonly command: pulumi.Output; /** * This will notify you back when the workflow is starting. Value must be one of true or false */ readonly commandFeedbackEnabled: pulumi.Output; /** * When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeat*condition*duration*since*first*run and repeat*condition*number*of_repeats parameters.. Value must be one of true or false */ readonly continuouslyRepeat: pulumi.Output; /** * The description of the workflow */ readonly description: pulumi.Output; readonly enabled: pulumi.Output; readonly environmentIds: pulumi.Output; readonly functionalityIds: pulumi.Output; readonly groupIds: pulumi.Output; readonly incidentRoleIds: pulumi.Output; readonly incidentTypeIds: pulumi.Output; /** * Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false */ readonly locked: pulumi.Output; /** * The title of the workflow */ readonly name: pulumi.Output; /** * The order which the workflow should run with other workflows. */ readonly position: pulumi.Output; /** * The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field */ readonly repeatConditionDurationSinceFirstRun: pulumi.Output; /** * The workflow will stop repeating if the number of repeats exceeds the value set in this field */ readonly repeatConditionNumberOfRepeats: pulumi.Output; /** * Repeat workflow every duration */ readonly repeatEveryDuration: pulumi.Output; /** * Repeat on weekdays. Value must be one of `S`, `M`, `T`, `W`, `R`, `F`, `U`. */ readonly repeatOns: pulumi.Output; readonly serviceIds: pulumi.Output; readonly severityIds: pulumi.Output; /** * The slug of the workflow * * @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; readonly subStatusIds: pulumi.Output; readonly triggerParams: pulumi.Output; /** * Wait this duration before executing */ readonly wait: pulumi.Output; /** * The group this workflow belongs to. */ readonly workflowGroupId: pulumi.Output; /** * Create a WorkflowPostMortem 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?: WorkflowPostMortemArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WorkflowPostMortem resources. */ export interface WorkflowPostMortemState { causeIds?: pulumi.Input[] | undefined>; /** * Workflow command */ command?: pulumi.Input; /** * This will notify you back when the workflow is starting. Value must be one of true or false */ commandFeedbackEnabled?: pulumi.Input; /** * When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeat*condition*duration*since*first*run and repeat*condition*number*of_repeats parameters.. Value must be one of true or false */ continuouslyRepeat?: pulumi.Input; /** * The description of the workflow */ description?: pulumi.Input; enabled?: pulumi.Input; environmentIds?: pulumi.Input[] | undefined>; functionalityIds?: pulumi.Input[] | undefined>; groupIds?: pulumi.Input[] | undefined>; incidentRoleIds?: pulumi.Input[] | undefined>; incidentTypeIds?: pulumi.Input[] | undefined>; /** * Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false */ locked?: pulumi.Input; /** * The title of the workflow */ name?: pulumi.Input; /** * The order which the workflow should run with other workflows. */ position?: pulumi.Input; /** * The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field */ repeatConditionDurationSinceFirstRun?: pulumi.Input; /** * The workflow will stop repeating if the number of repeats exceeds the value set in this field */ repeatConditionNumberOfRepeats?: pulumi.Input; /** * Repeat workflow every duration */ repeatEveryDuration?: pulumi.Input; /** * Repeat on weekdays. Value must be one of `S`, `M`, `T`, `W`, `R`, `F`, `U`. */ repeatOns?: pulumi.Input[] | undefined>; serviceIds?: pulumi.Input[] | undefined>; severityIds?: pulumi.Input[] | undefined>; /** * The slug of the workflow * * @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; subStatusIds?: pulumi.Input[] | undefined>; triggerParams?: pulumi.Input; /** * Wait this duration before executing */ wait?: pulumi.Input; /** * The group this workflow belongs to. */ workflowGroupId?: pulumi.Input; } /** * The set of arguments for constructing a WorkflowPostMortem resource. */ export interface WorkflowPostMortemArgs { causeIds?: pulumi.Input[] | undefined>; /** * Workflow command */ command?: pulumi.Input; /** * This will notify you back when the workflow is starting. Value must be one of true or false */ commandFeedbackEnabled?: pulumi.Input; /** * When continuously repeat is true, repeat workflows aren't automatically stopped when conditions aren't met. This setting won't override your conditions set by repeat*condition*duration*since*first*run and repeat*condition*number*of_repeats parameters.. Value must be one of true or false */ continuouslyRepeat?: pulumi.Input; /** * The description of the workflow */ description?: pulumi.Input; enabled?: pulumi.Input; environmentIds?: pulumi.Input[] | undefined>; functionalityIds?: pulumi.Input[] | undefined>; groupIds?: pulumi.Input[] | undefined>; incidentRoleIds?: pulumi.Input[] | undefined>; incidentTypeIds?: pulumi.Input[] | undefined>; /** * Restricts workflow edits to admins when turned on. Only admins can set this field.. Value must be one of true or false */ locked?: pulumi.Input; /** * The title of the workflow */ name?: pulumi.Input; /** * The order which the workflow should run with other workflows. */ position?: pulumi.Input; /** * The workflow will stop repeating if its runtime since it's first workflow run exceeds the duration set in this field */ repeatConditionDurationSinceFirstRun?: pulumi.Input; /** * The workflow will stop repeating if the number of repeats exceeds the value set in this field */ repeatConditionNumberOfRepeats?: pulumi.Input; /** * Repeat workflow every duration */ repeatEveryDuration?: pulumi.Input; /** * Repeat on weekdays. Value must be one of `S`, `M`, `T`, `W`, `R`, `F`, `U`. */ repeatOns?: pulumi.Input[] | undefined>; serviceIds?: pulumi.Input[] | undefined>; severityIds?: pulumi.Input[] | undefined>; /** * The slug of the workflow * * @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; subStatusIds?: pulumi.Input[] | undefined>; triggerParams?: pulumi.Input; /** * Wait this duration before executing */ wait?: pulumi.Input; /** * The group this workflow belongs to. */ workflowGroupId?: pulumi.Input; } //# sourceMappingURL=workflowPostMortem.d.ts.map