import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages a Automation Schedule.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "tfex-automation-account",
 *     location: "West Europe",
 * });
 * const exampleAccount = new azure.automation.Account("example", {
 *     name: "tfex-automation-account",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     skuName: "Basic",
 * });
 * const exampleSchedule = new azure.automation.Schedule("example", {
 *     name: "tfex-automation-schedule",
 *     resourceGroupName: example.name,
 *     automationAccountName: exampleAccount.name,
 *     frequency: "Week",
 *     interval: 1,
 *     timezone: "Australia/Perth",
 *     startTime: "2014-04-15T18:00:15+02:00",
 *     description: "This is an example schedule",
 *     weekDays: ["Friday"],
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.Automation` - 2024-10-23
 *
 * ## Import
 *
 * Automation Schedule can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:automation/schedule:Schedule schedule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/schedules/schedule1
 * ```
 */
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<pulumi.ID>, 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;
    /**
     * The name of the automation account in which the Schedule is created. Changing this forces a new resource to be created.
     */
    readonly automationAccountName: pulumi.Output<string>;
    /**
     * A description for this Schedule.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * The end time of the schedule.
     */
    readonly expiryTime: pulumi.Output<string>;
    /**
     * The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.
     */
    readonly frequency: pulumi.Output<string>;
    /**
     * The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month` and defaults to `1`.
     */
    readonly interval: pulumi.Output<number>;
    /**
     * List of days of the month that the job should execute on. Must be between `1` and `31`. `-1` for last day of the month. Only valid when frequency is `Month`.
     */
    readonly monthDays: pulumi.Output<number[] | undefined>;
    /**
     * One `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
     */
    readonly monthlyOccurrence: pulumi.Output<outputs.automation.ScheduleMonthlyOccurrence | undefined>;
    /**
     * Specifies the name of the Schedule. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The name of the resource group in which the Schedule is created. Changing this forces a new resource to be created.
     */
    readonly resourceGroupName: pulumi.Output<string>;
    /**
     * Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
     */
    readonly startTime: pulumi.Output<string>;
    /**
     * The timezone of the start time. Defaults to `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>
     */
    readonly timezone: pulumi.Output<string | undefined>;
    /**
     * List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
     */
    readonly weekDays: pulumi.Output<string[] | undefined>;
    /**
     * 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 {
    /**
     * The name of the automation account in which the Schedule is created. Changing this forces a new resource to be created.
     */
    automationAccountName?: pulumi.Input<string | undefined>;
    /**
     * A description for this Schedule.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * The end time of the schedule.
     */
    expiryTime?: pulumi.Input<string | undefined>;
    /**
     * The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.
     */
    frequency?: pulumi.Input<string | undefined>;
    /**
     * The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month` and defaults to `1`.
     */
    interval?: pulumi.Input<number | undefined>;
    /**
     * List of days of the month that the job should execute on. Must be between `1` and `31`. `-1` for last day of the month. Only valid when frequency is `Month`.
     */
    monthDays?: pulumi.Input<pulumi.Input<number>[] | undefined>;
    /**
     * One `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
     */
    monthlyOccurrence?: pulumi.Input<inputs.automation.ScheduleMonthlyOccurrence | undefined>;
    /**
     * Specifies the name of the Schedule. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The name of the resource group in which the Schedule is created. Changing this forces a new resource to be created.
     */
    resourceGroupName?: pulumi.Input<string | undefined>;
    /**
     * Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
     */
    startTime?: pulumi.Input<string | undefined>;
    /**
     * The timezone of the start time. Defaults to `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>
     */
    timezone?: pulumi.Input<string | undefined>;
    /**
     * List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
     */
    weekDays?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
/**
 * The set of arguments for constructing a Schedule resource.
 */
export interface ScheduleArgs {
    /**
     * The name of the automation account in which the Schedule is created. Changing this forces a new resource to be created.
     */
    automationAccountName: pulumi.Input<string>;
    /**
     * A description for this Schedule.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * The end time of the schedule.
     */
    expiryTime?: pulumi.Input<string | undefined>;
    /**
     * The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.
     */
    frequency: pulumi.Input<string>;
    /**
     * The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month` and defaults to `1`.
     */
    interval?: pulumi.Input<number | undefined>;
    /**
     * List of days of the month that the job should execute on. Must be between `1` and `31`. `-1` for last day of the month. Only valid when frequency is `Month`.
     */
    monthDays?: pulumi.Input<pulumi.Input<number>[] | undefined>;
    /**
     * One `monthlyOccurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthlyOccurrence` block supports fields documented below.
     */
    monthlyOccurrence?: pulumi.Input<inputs.automation.ScheduleMonthlyOccurrence | undefined>;
    /**
     * Specifies the name of the Schedule. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The name of the resource group in which the Schedule is created. Changing this forces a new resource to be created.
     */
    resourceGroupName: pulumi.Input<string>;
    /**
     * Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
     */
    startTime?: pulumi.Input<string | undefined>;
    /**
     * The timezone of the start time. Defaults to `Etc/UTC`. For possible values see: <https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows>
     */
    timezone?: pulumi.Input<string | undefined>;
    /**
     * List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
     */
    weekDays?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
//# sourceMappingURL=schedule.d.ts.map