import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Tumbling Window Trigger inside an Azure Data Factory. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleFactory = new azure.datafactory.Factory("example", { * name: "example", * location: example.location, * resourceGroupName: example.name, * }); * const examplePipeline = new azure.datafactory.Pipeline("example", { * name: "example", * dataFactoryId: exampleFactory.id, * }); * const exampleTriggerTumblingWindow = new azure.datafactory.TriggerTumblingWindow("example", { * name: "example", * dataFactoryId: exampleFactory.id, * startTime: "2022-09-21T00:00:00Z", * endTime: "2022-09-21T08:00:00Z", * frequency: "Minute", * interval: 15, * delay: "16:00:00", * annotations: [ * "example1", * "example2", * "example3", * ], * description: "example description", * retry: { * count: 1, * interval: 30, * }, * pipeline: { * name: examplePipeline.name, * parameters: { * Env: "Prod", * }, * }, * triggerDependencies: [{ * size: "24:00:00", * offset: "-24:00:00", * }], * additionalProperties: { * foo: "value1", * bar: "value2", * }, * }); * ``` * * ## Import * * Data Factory Tumbling Window Trigger can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:datafactory/triggerTumblingWindow:TriggerTumblingWindow example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/triggers/example * ``` */ export declare class TriggerTumblingWindow extends pulumi.CustomResource { /** * Get an existing TriggerTumblingWindow 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?: TriggerTumblingWindowState, opts?: pulumi.CustomResourceOptions): TriggerTumblingWindow; /** * Returns true if the given object is an instance of TriggerTumblingWindow. 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 TriggerTumblingWindow; /** * Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to `true`. */ readonly activated: pulumi.Output; /** * A map of additional properties to associate with the Data Factory Tumbling Window Trigger. */ readonly additionalProperties: pulumi.Output<{ [key: string]: string; } | undefined>; /** * List of tags that can be used for describing the Data Factory Tumbling Window Trigger. */ readonly annotations: pulumi.Output; /** * The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource. */ readonly dataFactoryId: pulumi.Output; /** * Specifies how long the trigger waits before triggering new run. formatted as an `D.HH:MM:SS`. */ readonly delay: pulumi.Output; /** * The description for the Data Factory Tumbling Window Trigger. */ readonly description: pulumi.Output; /** * Specifies the end time of Tumbling Window, formatted as an RFC3339 string. */ readonly endTime: pulumi.Output; /** * Specifies the frequency of Tumbling Window. Possible values are `Hour`, `Minute` and `Month`. Changing this forces a new resource. */ readonly frequency: pulumi.Output; /** * Specifies the interval of Tumbling Window. Changing this forces a new resource. */ readonly interval: pulumi.Output; /** * The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between `1` and `50`. Defaults to `50`. */ readonly maxConcurrency: pulumi.Output; /** * Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * A `pipeline` block as defined below. */ readonly pipeline: pulumi.Output; /** * A `retry` block as defined below. */ readonly retry: pulumi.Output; /** * Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource. */ readonly startTime: pulumi.Output; /** * One or more `triggerDependency` block as defined below. */ readonly triggerDependencies: pulumi.Output; /** * Create a TriggerTumblingWindow 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: TriggerTumblingWindowArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TriggerTumblingWindow resources. */ export interface TriggerTumblingWindowState { /** * Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to `true`. */ activated?: pulumi.Input; /** * A map of additional properties to associate with the Data Factory Tumbling Window Trigger. */ additionalProperties?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * List of tags that can be used for describing the Data Factory Tumbling Window Trigger. */ annotations?: pulumi.Input[]>; /** * The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource. */ dataFactoryId?: pulumi.Input; /** * Specifies how long the trigger waits before triggering new run. formatted as an `D.HH:MM:SS`. */ delay?: pulumi.Input; /** * The description for the Data Factory Tumbling Window Trigger. */ description?: pulumi.Input; /** * Specifies the end time of Tumbling Window, formatted as an RFC3339 string. */ endTime?: pulumi.Input; /** * Specifies the frequency of Tumbling Window. Possible values are `Hour`, `Minute` and `Month`. Changing this forces a new resource. */ frequency?: pulumi.Input; /** * Specifies the interval of Tumbling Window. Changing this forces a new resource. */ interval?: pulumi.Input; /** * The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between `1` and `50`. Defaults to `50`. */ maxConcurrency?: pulumi.Input; /** * Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * A `pipeline` block as defined below. */ pipeline?: pulumi.Input; /** * A `retry` block as defined below. */ retry?: pulumi.Input; /** * Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource. */ startTime?: pulumi.Input; /** * One or more `triggerDependency` block as defined below. */ triggerDependencies?: pulumi.Input[]>; } /** * The set of arguments for constructing a TriggerTumblingWindow resource. */ export interface TriggerTumblingWindowArgs { /** * Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to `true`. */ activated?: pulumi.Input; /** * A map of additional properties to associate with the Data Factory Tumbling Window Trigger. */ additionalProperties?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * List of tags that can be used for describing the Data Factory Tumbling Window Trigger. */ annotations?: pulumi.Input[]>; /** * The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource. */ dataFactoryId: pulumi.Input; /** * Specifies how long the trigger waits before triggering new run. formatted as an `D.HH:MM:SS`. */ delay?: pulumi.Input; /** * The description for the Data Factory Tumbling Window Trigger. */ description?: pulumi.Input; /** * Specifies the end time of Tumbling Window, formatted as an RFC3339 string. */ endTime?: pulumi.Input; /** * Specifies the frequency of Tumbling Window. Possible values are `Hour`, `Minute` and `Month`. Changing this forces a new resource. */ frequency: pulumi.Input; /** * Specifies the interval of Tumbling Window. Changing this forces a new resource. */ interval: pulumi.Input; /** * The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between `1` and `50`. Defaults to `50`. */ maxConcurrency?: pulumi.Input; /** * Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * A `pipeline` block as defined below. */ pipeline: pulumi.Input; /** * A `retry` block as defined below. */ retry?: pulumi.Input; /** * Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource. */ startTime: pulumi.Input; /** * One or more `triggerDependency` block as defined below. */ triggerDependencies?: pulumi.Input[]>; }