import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates a new Scheduled Notebook in a given project and location. * Auto-naming is currently not supported for this resource. */ 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, 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; /** * Time the schedule was created. */ readonly createTime: pulumi.Output; /** * Cron-tab formatted schedule by which the job will execute. Format: minute, hour, day of month, month, day of week, e.g. `0 0 * * WED` = every Wednesday More examples: https://crontab.guru/examples.html */ readonly cronSchedule: pulumi.Output; /** * A brief description of this environment. */ readonly description: pulumi.Output; /** * Display name used for UI purposes. Name can only contain alphanumeric characters, hyphens `-`, and underscores `_`. */ readonly displayName: pulumi.Output; /** * Notebook Execution Template corresponding to this schedule. */ readonly executionTemplate: pulumi.Output; readonly location: pulumi.Output; /** * The name of this schedule. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}` */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The most recent execution names triggered from this schedule and their corresponding states. */ readonly recentExecutions: pulumi.Output; /** * Required. User-defined unique ID of this schedule. */ readonly scheduleId: pulumi.Output; readonly state: pulumi.Output; /** * Timezone on which the cron_schedule. The value of this field must be a time zone name from the tz database. TZ Database: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT). */ readonly timeZone: pulumi.Output; /** * Time the schedule was last updated. */ readonly updateTime: 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); } /** * The set of arguments for constructing a Schedule resource. */ export interface ScheduleArgs { /** * Cron-tab formatted schedule by which the job will execute. Format: minute, hour, day of month, month, day of week, e.g. `0 0 * * WED` = every Wednesday More examples: https://crontab.guru/examples.html */ cronSchedule?: pulumi.Input; /** * A brief description of this environment. */ description?: pulumi.Input; /** * Notebook Execution Template corresponding to this schedule. */ executionTemplate?: pulumi.Input; location?: pulumi.Input; project?: pulumi.Input; /** * Required. User-defined unique ID of this schedule. */ scheduleId: pulumi.Input; state?: pulumi.Input; /** * Timezone on which the cron_schedule. The value of this field must be a time zone name from the tz database. TZ Database: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT). */ timeZone?: pulumi.Input; }