import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * rootly.Sla can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/sla:Sla 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 Sla extends pulumi.CustomResource { /** * Get an existing Sla 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?: SlaState, opts?: pulumi.CustomResourceOptions): Sla; /** * Returns true if the given object is an instance of Sla. 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 Sla; /** * Number of days for the assignment deadline */ readonly assignmentDeadlineDays: pulumi.Output; /** * The incident parent status that triggers the assignment deadline */ readonly assignmentDeadlineParentStatus: pulumi.Output; /** * Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team. */ readonly assignmentDeadlineSubStatusId: pulumi.Output; /** * Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false */ readonly assignmentSkipWeekends: pulumi.Output; /** * Number of days for the completion deadline */ readonly completionDeadlineDays: pulumi.Output; /** * The incident parent status that triggers the completion deadline */ readonly completionDeadlineParentStatus: pulumi.Output; /** * Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team. */ readonly completionDeadlineSubStatusId: pulumi.Output; /** * Whether to skip weekends when calculating the completion deadline. Value must be one of true or false */ readonly completionSkipWeekends: pulumi.Output; /** * Whether all or any conditions must match. Value must be one of `ALL`, `ANY`. */ readonly conditionMatchType: pulumi.Output; /** * Conditions that determine which incidents this SLA applies to */ readonly conditions: pulumi.Output; /** * A description of the SLA */ readonly description: pulumi.Output; /** * The entity type this SLA applies to. Value must be one of `followUp`. */ readonly entityType: pulumi.Output; /** * The ID of the manager incident role. Exactly one of `managerRoleId` or `managerUserId` must be provided. */ readonly managerRoleId: pulumi.Output; /** * The ID of the manager user. Exactly one of `managerRoleId` or `managerUserId` must be provided. */ readonly managerUserId: pulumi.Output; /** * The name of the SLA */ readonly name: pulumi.Output; /** * Notification timing configurations */ readonly notificationConfigurations: pulumi.Output; /** * Position of the SLA for ordering */ readonly position: pulumi.Output; /** * The slug of the SLA * * @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 Sla 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: SlaArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Sla resources. */ export interface SlaState { /** * Number of days for the assignment deadline */ assignmentDeadlineDays?: pulumi.Input; /** * The incident parent status that triggers the assignment deadline */ assignmentDeadlineParentStatus?: pulumi.Input; /** * Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team. */ assignmentDeadlineSubStatusId?: pulumi.Input; /** * Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false */ assignmentSkipWeekends?: pulumi.Input; /** * Number of days for the completion deadline */ completionDeadlineDays?: pulumi.Input; /** * The incident parent status that triggers the completion deadline */ completionDeadlineParentStatus?: pulumi.Input; /** * Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team. */ completionDeadlineSubStatusId?: pulumi.Input; /** * Whether to skip weekends when calculating the completion deadline. Value must be one of true or false */ completionSkipWeekends?: pulumi.Input; /** * Whether all or any conditions must match. Value must be one of `ALL`, `ANY`. */ conditionMatchType?: pulumi.Input; /** * Conditions that determine which incidents this SLA applies to */ conditions?: pulumi.Input[] | undefined>; /** * A description of the SLA */ description?: pulumi.Input; /** * The entity type this SLA applies to. Value must be one of `followUp`. */ entityType?: pulumi.Input; /** * The ID of the manager incident role. Exactly one of `managerRoleId` or `managerUserId` must be provided. */ managerRoleId?: pulumi.Input; /** * The ID of the manager user. Exactly one of `managerRoleId` or `managerUserId` must be provided. */ managerUserId?: pulumi.Input; /** * The name of the SLA */ name?: pulumi.Input; /** * Notification timing configurations */ notificationConfigurations?: pulumi.Input[] | undefined>; /** * Position of the SLA for ordering */ position?: pulumi.Input; /** * The slug of the SLA * * @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 Sla resource. */ export interface SlaArgs { /** * Number of days for the assignment deadline */ assignmentDeadlineDays: pulumi.Input; /** * The incident parent status that triggers the assignment deadline */ assignmentDeadlineParentStatus: pulumi.Input; /** * Sub-status for the assignment deadline. Required when custom lifecycle statuses are enabled on the team. */ assignmentDeadlineSubStatusId?: pulumi.Input; /** * Whether to skip weekends when calculating the assignment deadline. Value must be one of true or false */ assignmentSkipWeekends?: pulumi.Input; /** * Number of days for the completion deadline */ completionDeadlineDays: pulumi.Input; /** * The incident parent status that triggers the completion deadline */ completionDeadlineParentStatus: pulumi.Input; /** * Sub-status for the completion deadline. Required when custom lifecycle statuses are enabled on the team. */ completionDeadlineSubStatusId?: pulumi.Input; /** * Whether to skip weekends when calculating the completion deadline. Value must be one of true or false */ completionSkipWeekends?: pulumi.Input; /** * Whether all or any conditions must match. Value must be one of `ALL`, `ANY`. */ conditionMatchType?: pulumi.Input; /** * Conditions that determine which incidents this SLA applies to */ conditions?: pulumi.Input[] | undefined>; /** * A description of the SLA */ description?: pulumi.Input; /** * The entity type this SLA applies to. Value must be one of `followUp`. */ entityType?: pulumi.Input; /** * The ID of the manager incident role. Exactly one of `managerRoleId` or `managerUserId` must be provided. */ managerRoleId?: pulumi.Input; /** * The ID of the manager user. Exactly one of `managerRoleId` or `managerUserId` must be provided. */ managerUserId?: pulumi.Input; /** * The name of the SLA */ name?: pulumi.Input; /** * Notification timing configurations */ notificationConfigurations?: pulumi.Input[] | undefined>; /** * Position of the SLA for ordering */ position?: pulumi.Input; /** * The slug of the SLA * * @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=sla.d.ts.map