import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ## Import * * rootly.Schedule can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/schedule:Schedule 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 Schedule extends pulumi.CustomResource { /** * Get an existing Schedule 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?: ScheduleState, opts?: pulumi.CustomResourceOptions): Schedule; /** * Returns true if the given object is an instance of Schedule. 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 Schedule; /** * 24/7 coverage of the schedule. Value must be one of true or false */ readonly allTimeCoverage: pulumi.Output; /** * The description of the schedule */ readonly description: pulumi.Output; /** * Whether shadow users are included in Slack notifications and user group syncing. Value must be one of true or false */ readonly includeShadowsInSlackNotifications: pulumi.Output; /** * The name of the schedule */ readonly name: pulumi.Output; /** * The owning teams for this schedules. */ readonly ownerGroupIds: pulumi.Output; /** * ID of user assigned as owner of the schedule. Defaults to the API token's user if not specified. */ readonly ownerUserId: pulumi.Output; /** * Day of week the weekly shift summary is sent. Value must be one of `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. */ readonly shiftReportDayOfWeek: pulumi.Output; /** * Whether the weekly shift summary report is sent. Requires `slackChannel` to be set. Value must be one of true or false */ readonly shiftReportEnabled: pulumi.Output; /** * Time of day the weekly shift summary is sent, in `HH:MM` 24-hour format. */ readonly shiftReportTimeOfDay: pulumi.Output; /** * IANA time zone used for the weekly shift summary (e.g. `Australia/Sydney`). */ readonly shiftReportTimeZone: pulumi.Output; /** * Whether to send a Slack message every time a new shift begins. Requires `slackChannel` to be set. Value must be one of true or false */ readonly shiftStartNotificationsEnabled: pulumi.Output; /** * Whether to send a Slack message whenever a shift is updated (overrides, removed users, rotation changes, etc.). Requires `slackChannel` to be set. Value must be one of true or false */ readonly shiftUpdateNotificationsEnabled: pulumi.Output; /** * Map must contain two fields, `id` and `name`. Synced slack channel of the schedule */ readonly slackChannel: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map must contain two fields, `id` and `name`. Synced slack group of the schedule */ readonly slackUserGroup: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Whether the schedule is synced with Linear. Value must be one of true or false */ readonly syncLinearEnabled: pulumi.Output; /** * A valid IANA time zone name. Only applicable when config*one*timezone*per*schedule_enabled is true for the organization. */ readonly timeZone: pulumi.Output; /** * Create a Schedule 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?: ScheduleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Schedule resources. */ export interface ScheduleState { /** * 24/7 coverage of the schedule. Value must be one of true or false */ allTimeCoverage?: pulumi.Input; /** * The description of the schedule */ description?: pulumi.Input; /** * Whether shadow users are included in Slack notifications and user group syncing. Value must be one of true or false */ includeShadowsInSlackNotifications?: pulumi.Input; /** * The name of the schedule */ name?: pulumi.Input; /** * The owning teams for this schedules. */ ownerGroupIds?: pulumi.Input[] | undefined>; /** * ID of user assigned as owner of the schedule. Defaults to the API token's user if not specified. */ ownerUserId?: pulumi.Input; /** * Day of week the weekly shift summary is sent. Value must be one of `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. */ shiftReportDayOfWeek?: pulumi.Input; /** * Whether the weekly shift summary report is sent. Requires `slackChannel` to be set. Value must be one of true or false */ shiftReportEnabled?: pulumi.Input; /** * Time of day the weekly shift summary is sent, in `HH:MM` 24-hour format. */ shiftReportTimeOfDay?: pulumi.Input; /** * IANA time zone used for the weekly shift summary (e.g. `Australia/Sydney`). */ shiftReportTimeZone?: pulumi.Input; /** * Whether to send a Slack message every time a new shift begins. Requires `slackChannel` to be set. Value must be one of true or false */ shiftStartNotificationsEnabled?: pulumi.Input; /** * Whether to send a Slack message whenever a shift is updated (overrides, removed users, rotation changes, etc.). Requires `slackChannel` to be set. Value must be one of true or false */ shiftUpdateNotificationsEnabled?: pulumi.Input; /** * Map must contain two fields, `id` and `name`. Synced slack channel of the schedule */ slackChannel?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map must contain two fields, `id` and `name`. Synced slack group of the schedule */ slackUserGroup?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Whether the schedule is synced with Linear. Value must be one of true or false */ syncLinearEnabled?: pulumi.Input; /** * A valid IANA time zone name. Only applicable when config*one*timezone*per*schedule_enabled is true for the organization. */ timeZone?: pulumi.Input; } /** * The set of arguments for constructing a Schedule resource. */ export interface ScheduleArgs { /** * 24/7 coverage of the schedule. Value must be one of true or false */ allTimeCoverage?: pulumi.Input; /** * The description of the schedule */ description?: pulumi.Input; /** * Whether shadow users are included in Slack notifications and user group syncing. Value must be one of true or false */ includeShadowsInSlackNotifications?: pulumi.Input; /** * The name of the schedule */ name?: pulumi.Input; /** * The owning teams for this schedules. */ ownerGroupIds?: pulumi.Input[] | undefined>; /** * ID of user assigned as owner of the schedule. Defaults to the API token's user if not specified. */ ownerUserId?: pulumi.Input; /** * Day of week the weekly shift summary is sent. Value must be one of `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. */ shiftReportDayOfWeek?: pulumi.Input; /** * Whether the weekly shift summary report is sent. Requires `slackChannel` to be set. Value must be one of true or false */ shiftReportEnabled?: pulumi.Input; /** * Time of day the weekly shift summary is sent, in `HH:MM` 24-hour format. */ shiftReportTimeOfDay?: pulumi.Input; /** * IANA time zone used for the weekly shift summary (e.g. `Australia/Sydney`). */ shiftReportTimeZone?: pulumi.Input; /** * Whether to send a Slack message every time a new shift begins. Requires `slackChannel` to be set. Value must be one of true or false */ shiftStartNotificationsEnabled?: pulumi.Input; /** * Whether to send a Slack message whenever a shift is updated (overrides, removed users, rotation changes, etc.). Requires `slackChannel` to be set. Value must be one of true or false */ shiftUpdateNotificationsEnabled?: pulumi.Input; /** * Map must contain two fields, `id` and `name`. Synced slack channel of the schedule */ slackChannel?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map must contain two fields, `id` and `name`. Synced slack group of the schedule */ slackUserGroup?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Whether the schedule is synced with Linear. Value must be one of true or false */ syncLinearEnabled?: pulumi.Input; /** * A valid IANA time zone name. Only applicable when config*one*timezone*per*schedule_enabled is true for the organization. */ timeZone?: pulumi.Input; } //# sourceMappingURL=schedule.d.ts.map