import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Recurrence Trigger within a Logic App Workflow * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "workflow-resources", * location: "West Europe", * }); * const exampleWorkflow = new azure.logicapps.Workflow("example", { * name: "workflow1", * location: example.location, * resourceGroupName: example.name, * }); * const exampleTriggerRecurrence = new azure.logicapps.TriggerRecurrence("example", { * name: "run-every-day", * logicAppId: exampleWorkflow.id, * frequency: "Day", * interval: 1, * }); * ``` * * ## Import * * Logic App Recurrence Triggers can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:logicapps/triggerRecurrence:TriggerRecurrence daily /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Logic/workflows/workflow1/triggers/daily * ``` * * > **NOTE:** This ID is unique to this provider and doesn't directly match to any other resource. To compose this ID, you can take the ID Logic App Workflow and append `/triggers/{name of the trigger}`. */ export declare class TriggerRecurrence extends pulumi.CustomResource { /** * Get an existing TriggerRecurrence 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?: TriggerRecurrenceState, opts?: pulumi.CustomResourceOptions): TriggerRecurrence; /** * Returns true if the given object is an instance of TriggerRecurrence. 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 TriggerRecurrence; /** * Specifies the Frequency at which this Trigger should be run. Possible values include `Month`, `Week`, `Day`, `Hour`, `Minute` and `Second`. */ readonly frequency: pulumi.Output; /** * Specifies interval used for the Frequency, for example a value of `4` for `interval` and `hour` for `frequency` would run the Trigger every 4 hours. */ readonly interval: pulumi.Output; /** * Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. */ readonly logicAppId: pulumi.Output; /** * Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created. * * > **NOTE:** This name must be unique across all Triggers within the Logic App Workflow. */ readonly name: pulumi.Output; /** * A `schedule` block as specified below. */ readonly schedule: pulumi.Output; /** * Specifies the start date and time for this trigger in RFC3339 format: `2000-01-02T03:04:05Z`. */ readonly startTime: pulumi.Output; /** * Specifies the time zone for this trigger. Supported time zone options are listed [here](https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values) */ readonly timeZone: pulumi.Output; /** * Create a TriggerRecurrence 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: TriggerRecurrenceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TriggerRecurrence resources. */ export interface TriggerRecurrenceState { /** * Specifies the Frequency at which this Trigger should be run. Possible values include `Month`, `Week`, `Day`, `Hour`, `Minute` and `Second`. */ frequency?: pulumi.Input; /** * Specifies interval used for the Frequency, for example a value of `4` for `interval` and `hour` for `frequency` would run the Trigger every 4 hours. */ interval?: pulumi.Input; /** * Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. */ logicAppId?: pulumi.Input; /** * Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created. * * > **NOTE:** This name must be unique across all Triggers within the Logic App Workflow. */ name?: pulumi.Input; /** * A `schedule` block as specified below. */ schedule?: pulumi.Input; /** * Specifies the start date and time for this trigger in RFC3339 format: `2000-01-02T03:04:05Z`. */ startTime?: pulumi.Input; /** * Specifies the time zone for this trigger. Supported time zone options are listed [here](https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values) */ timeZone?: pulumi.Input; } /** * The set of arguments for constructing a TriggerRecurrence resource. */ export interface TriggerRecurrenceArgs { /** * Specifies the Frequency at which this Trigger should be run. Possible values include `Month`, `Week`, `Day`, `Hour`, `Minute` and `Second`. */ frequency: pulumi.Input; /** * Specifies interval used for the Frequency, for example a value of `4` for `interval` and `hour` for `frequency` would run the Trigger every 4 hours. */ interval: pulumi.Input; /** * Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. */ logicAppId: pulumi.Input; /** * Specifies the name of the Recurrence Triggers to be created within the Logic App Workflow. Changing this forces a new resource to be created. * * > **NOTE:** This name must be unique across all Triggers within the Logic App Workflow. */ name?: pulumi.Input; /** * A `schedule` block as specified below. */ schedule?: pulumi.Input; /** * Specifies the start date and time for this trigger in RFC3339 format: `2000-01-02T03:04:05Z`. */ startTime?: pulumi.Input; /** * Specifies the time zone for this trigger. Supported time zone options are listed [here](https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values) */ timeZone?: pulumi.Input; }