import * as pulumi from "@pulumi/pulumi";
/**
 * Manages an Azure Cost Management Scheduled Action.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.costmanagement.ScheduledAction("example", {
 *     name: "examplescheduledaction",
 *     displayName: "Report Last 6 Months",
 *     viewId: "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/views/ms:CostByService",
 *     emailAddressSender: "platformteam@test.com",
 *     emailSubject: "Cost Management Report",
 *     emailAddresses: ["example@example.com"],
 *     message: "Hi all, take a look at last 6 months spending!",
 *     frequency: "Daily",
 *     startDate: "2023-01-02T00:00:00Z",
 *     endDate: "2023-02-02T00:00:00Z",
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.CostManagement` - 2023-08-01
 *
 * ## Import
 *
 * Azure Cost Management Scheduled Actions can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:costmanagement/scheduledAction:ScheduledAction example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/scheduledActions/scheduledaction1
 * ```
 */
export declare class ScheduledAction extends pulumi.CustomResource {
    /**
     * Get an existing ScheduledAction 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?: ScheduledActionState, opts?: pulumi.CustomResourceOptions): ScheduledAction;
    /**
     * Returns true if the given object is an instance of ScheduledAction.  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 ScheduledAction;
    /**
     * UTC day on which cost analysis data will be emailed. Must be between `1` and `31`. This property is applicable when `frequency` is `Monthly`.
     */
    readonly dayOfMonth: pulumi.Output<number | undefined>;
    /**
     * Specifies a list of day names on which cost analysis data will be emailed. This property is applicable when frequency is `Weekly` or `Monthly`. Possible values are `Friday`, `Monday`, `Saturday`, `Sunday`, `Thursday`, `Tuesday` and `Wednesday`.
     */
    readonly daysOfWeeks: pulumi.Output<string[] | undefined>;
    /**
     * User visible input name of the Cost Management Scheduled Action.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * Email address of the point of contact that should get the unsubscribe requests of Scheduled Action notification emails.
     */
    readonly emailAddressSender: pulumi.Output<string>;
    /**
     * Specifies a list of email addresses that will receive the Scheduled Action.
     */
    readonly emailAddresses: pulumi.Output<string[]>;
    /**
     * Subject of the email. Length is limited to 70 characters.
     */
    readonly emailSubject: pulumi.Output<string>;
    /**
     * The end date and time of the Scheduled Action (UTC).
     */
    readonly endDate: pulumi.Output<string>;
    /**
     * Frequency of the schedule. Possible values are `Daily`, `Monthly` and `Weekly`. Value `Monthly` requires either `weeksOfMonth` and `daysOfWeek` or `dayOfMonth` to be specified. Value `Weekly` requires `daysOfWeek` to be specified.
     */
    readonly frequency: pulumi.Output<string>;
    /**
     * UTC time at which cost analysis data will be emailed. Must be between `0` and `23`.
     */
    readonly hourOfDay: pulumi.Output<number | undefined>;
    /**
     * Message to be added in the email. Length is limited to 250 characters.
     */
    readonly message: pulumi.Output<string | undefined>;
    /**
     * The name which should be used for this Azure Cost Management Scheduled Action. Changing this forces a new Azure Cost Management Scheduled Action to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The start date and time of the Scheduled Action (UTC).
     */
    readonly startDate: pulumi.Output<string>;
    /**
     * The ID of the Cost Management View that is used by the Scheduled Action. Changing this forces a new resource to be created.
     */
    readonly viewId: pulumi.Output<string>;
    /**
     * Specifies a list of weeks in which cost analysis data will be emailed. This property is applicable when `frequency` is `Monthly` and used in combination with `daysOfWeek`. Possible values are `First`, `Fourth`, `Last`, `Second` and `Third`.
     */
    readonly weeksOfMonths: pulumi.Output<string[] | undefined>;
    /**
     * Create a ScheduledAction 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: ScheduledActionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ScheduledAction resources.
 */
export interface ScheduledActionState {
    /**
     * UTC day on which cost analysis data will be emailed. Must be between `1` and `31`. This property is applicable when `frequency` is `Monthly`.
     */
    dayOfMonth?: pulumi.Input<number | undefined>;
    /**
     * Specifies a list of day names on which cost analysis data will be emailed. This property is applicable when frequency is `Weekly` or `Monthly`. Possible values are `Friday`, `Monday`, `Saturday`, `Sunday`, `Thursday`, `Tuesday` and `Wednesday`.
     */
    daysOfWeeks?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * User visible input name of the Cost Management Scheduled Action.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * Email address of the point of contact that should get the unsubscribe requests of Scheduled Action notification emails.
     */
    emailAddressSender?: pulumi.Input<string | undefined>;
    /**
     * Specifies a list of email addresses that will receive the Scheduled Action.
     */
    emailAddresses?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Subject of the email. Length is limited to 70 characters.
     */
    emailSubject?: pulumi.Input<string | undefined>;
    /**
     * The end date and time of the Scheduled Action (UTC).
     */
    endDate?: pulumi.Input<string | undefined>;
    /**
     * Frequency of the schedule. Possible values are `Daily`, `Monthly` and `Weekly`. Value `Monthly` requires either `weeksOfMonth` and `daysOfWeek` or `dayOfMonth` to be specified. Value `Weekly` requires `daysOfWeek` to be specified.
     */
    frequency?: pulumi.Input<string | undefined>;
    /**
     * UTC time at which cost analysis data will be emailed. Must be between `0` and `23`.
     */
    hourOfDay?: pulumi.Input<number | undefined>;
    /**
     * Message to be added in the email. Length is limited to 250 characters.
     */
    message?: pulumi.Input<string | undefined>;
    /**
     * The name which should be used for this Azure Cost Management Scheduled Action. Changing this forces a new Azure Cost Management Scheduled Action to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The start date and time of the Scheduled Action (UTC).
     */
    startDate?: pulumi.Input<string | undefined>;
    /**
     * The ID of the Cost Management View that is used by the Scheduled Action. Changing this forces a new resource to be created.
     */
    viewId?: pulumi.Input<string | undefined>;
    /**
     * Specifies a list of weeks in which cost analysis data will be emailed. This property is applicable when `frequency` is `Monthly` and used in combination with `daysOfWeek`. Possible values are `First`, `Fourth`, `Last`, `Second` and `Third`.
     */
    weeksOfMonths?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
/**
 * The set of arguments for constructing a ScheduledAction resource.
 */
export interface ScheduledActionArgs {
    /**
     * UTC day on which cost analysis data will be emailed. Must be between `1` and `31`. This property is applicable when `frequency` is `Monthly`.
     */
    dayOfMonth?: pulumi.Input<number | undefined>;
    /**
     * Specifies a list of day names on which cost analysis data will be emailed. This property is applicable when frequency is `Weekly` or `Monthly`. Possible values are `Friday`, `Monday`, `Saturday`, `Sunday`, `Thursday`, `Tuesday` and `Wednesday`.
     */
    daysOfWeeks?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * User visible input name of the Cost Management Scheduled Action.
     */
    displayName: pulumi.Input<string>;
    /**
     * Email address of the point of contact that should get the unsubscribe requests of Scheduled Action notification emails.
     */
    emailAddressSender: pulumi.Input<string>;
    /**
     * Specifies a list of email addresses that will receive the Scheduled Action.
     */
    emailAddresses: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * Subject of the email. Length is limited to 70 characters.
     */
    emailSubject: pulumi.Input<string>;
    /**
     * The end date and time of the Scheduled Action (UTC).
     */
    endDate: pulumi.Input<string>;
    /**
     * Frequency of the schedule. Possible values are `Daily`, `Monthly` and `Weekly`. Value `Monthly` requires either `weeksOfMonth` and `daysOfWeek` or `dayOfMonth` to be specified. Value `Weekly` requires `daysOfWeek` to be specified.
     */
    frequency: pulumi.Input<string>;
    /**
     * UTC time at which cost analysis data will be emailed. Must be between `0` and `23`.
     */
    hourOfDay?: pulumi.Input<number | undefined>;
    /**
     * Message to be added in the email. Length is limited to 250 characters.
     */
    message?: pulumi.Input<string | undefined>;
    /**
     * The name which should be used for this Azure Cost Management Scheduled Action. Changing this forces a new Azure Cost Management Scheduled Action to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The start date and time of the Scheduled Action (UTC).
     */
    startDate: pulumi.Input<string>;
    /**
     * The ID of the Cost Management View that is used by the Scheduled Action. Changing this forces a new resource to be created.
     */
    viewId: pulumi.Input<string>;
    /**
     * Specifies a list of weeks in which cost analysis data will be emailed. This property is applicable when `frequency` is `Monthly` and used in combination with `daysOfWeek`. Possible values are `First`, `Fourth`, `Last`, `Second` and `Third`.
     */
    weeksOfMonths?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
//# sourceMappingURL=scheduledAction.d.ts.map