1. Packages
  2. Azure Classic
  3. API Docs
  4. datafactory
  5. TriggerTumblingWindow

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

azure.datafactory.TriggerTumblingWindow

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

    Manages a Tumbling Window Trigger inside an Azure Data Factory.

    Example Usage

    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 pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_factory = azure.datafactory.Factory("example",
        name="example",
        location=example.location,
        resource_group_name=example.name)
    example_pipeline = azure.datafactory.Pipeline("example",
        name="example",
        data_factory_id=example_factory.id)
    example_trigger_tumbling_window = azure.datafactory.TriggerTumblingWindow("example",
        name="example",
        data_factory_id=example_factory.id,
        start_time="2022-09-21T00:00:00Z",
        end_time="2022-09-21T08:00:00Z",
        frequency="Minute",
        interval=15,
        delay="16:00:00",
        annotations=[
            "example1",
            "example2",
            "example3",
        ],
        description="example description",
        retry=azure.datafactory.TriggerTumblingWindowRetryArgs(
            count=1,
            interval=30,
        ),
        pipeline=azure.datafactory.TriggerTumblingWindowPipelineArgs(
            name=example_pipeline.name,
            parameters={
                "Env": "Prod",
            },
        ),
        trigger_dependencies=[azure.datafactory.TriggerTumblingWindowTriggerDependencyArgs(
            size="24:00:00",
            offset="-24:00:00",
        )],
        additional_properties={
            "foo": "value1",
            "bar": "value2",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datafactory"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleFactory, err := datafactory.NewFactory(ctx, "example", &datafactory.FactoryArgs{
    			Name:              pulumi.String("example"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    		})
    		if err != nil {
    			return err
    		}
    		examplePipeline, err := datafactory.NewPipeline(ctx, "example", &datafactory.PipelineArgs{
    			Name:          pulumi.String("example"),
    			DataFactoryId: exampleFactory.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = datafactory.NewTriggerTumblingWindow(ctx, "example", &datafactory.TriggerTumblingWindowArgs{
    			Name:          pulumi.String("example"),
    			DataFactoryId: exampleFactory.ID(),
    			StartTime:     pulumi.String("2022-09-21T00:00:00Z"),
    			EndTime:       pulumi.String("2022-09-21T08:00:00Z"),
    			Frequency:     pulumi.String("Minute"),
    			Interval:      pulumi.Int(15),
    			Delay:         pulumi.String("16:00:00"),
    			Annotations: pulumi.StringArray{
    				pulumi.String("example1"),
    				pulumi.String("example2"),
    				pulumi.String("example3"),
    			},
    			Description: pulumi.String("example description"),
    			Retry: &datafactory.TriggerTumblingWindowRetryArgs{
    				Count:    pulumi.Int(1),
    				Interval: pulumi.Int(30),
    			},
    			Pipeline: &datafactory.TriggerTumblingWindowPipelineArgs{
    				Name: examplePipeline.Name,
    				Parameters: pulumi.StringMap{
    					"Env": pulumi.String("Prod"),
    				},
    			},
    			TriggerDependencies: datafactory.TriggerTumblingWindowTriggerDependencyArray{
    				&datafactory.TriggerTumblingWindowTriggerDependencyArgs{
    					Size:   pulumi.String("24:00:00"),
    					Offset: pulumi.String("-24:00:00"),
    				},
    			},
    			AdditionalProperties: pulumi.StringMap{
    				"foo": pulumi.String("value1"),
    				"bar": pulumi.String("value2"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleFactory = new Azure.DataFactory.Factory("example", new()
        {
            Name = "example",
            Location = example.Location,
            ResourceGroupName = example.Name,
        });
    
        var examplePipeline = new Azure.DataFactory.Pipeline("example", new()
        {
            Name = "example",
            DataFactoryId = exampleFactory.Id,
        });
    
        var exampleTriggerTumblingWindow = new Azure.DataFactory.TriggerTumblingWindow("example", new()
        {
            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 = new[]
            {
                "example1",
                "example2",
                "example3",
            },
            Description = "example description",
            Retry = new Azure.DataFactory.Inputs.TriggerTumblingWindowRetryArgs
            {
                Count = 1,
                Interval = 30,
            },
            Pipeline = new Azure.DataFactory.Inputs.TriggerTumblingWindowPipelineArgs
            {
                Name = examplePipeline.Name,
                Parameters = 
                {
                    { "Env", "Prod" },
                },
            },
            TriggerDependencies = new[]
            {
                new Azure.DataFactory.Inputs.TriggerTumblingWindowTriggerDependencyArgs
                {
                    Size = "24:00:00",
                    Offset = "-24:00:00",
                },
            },
            AdditionalProperties = 
            {
                { "foo", "value1" },
                { "bar", "value2" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.datafactory.Factory;
    import com.pulumi.azure.datafactory.FactoryArgs;
    import com.pulumi.azure.datafactory.Pipeline;
    import com.pulumi.azure.datafactory.PipelineArgs;
    import com.pulumi.azure.datafactory.TriggerTumblingWindow;
    import com.pulumi.azure.datafactory.TriggerTumblingWindowArgs;
    import com.pulumi.azure.datafactory.inputs.TriggerTumblingWindowRetryArgs;
    import com.pulumi.azure.datafactory.inputs.TriggerTumblingWindowPipelineArgs;
    import com.pulumi.azure.datafactory.inputs.TriggerTumblingWindowTriggerDependencyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleFactory = new Factory("exampleFactory", FactoryArgs.builder()        
                .name("example")
                .location(example.location())
                .resourceGroupName(example.name())
                .build());
    
            var examplePipeline = new Pipeline("examplePipeline", PipelineArgs.builder()        
                .name("example")
                .dataFactoryId(exampleFactory.id())
                .build());
    
            var exampleTriggerTumblingWindow = new TriggerTumblingWindow("exampleTriggerTumblingWindow", TriggerTumblingWindowArgs.builder()        
                .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(TriggerTumblingWindowRetryArgs.builder()
                    .count(1)
                    .interval(30)
                    .build())
                .pipeline(TriggerTumblingWindowPipelineArgs.builder()
                    .name(examplePipeline.name())
                    .parameters(Map.of("Env", "Prod"))
                    .build())
                .triggerDependencies(TriggerTumblingWindowTriggerDependencyArgs.builder()
                    .size("24:00:00")
                    .offset("-24:00:00")
                    .build())
                .additionalProperties(Map.ofEntries(
                    Map.entry("foo", "value1"),
                    Map.entry("bar", "value2")
                ))
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleFactory:
        type: azure:datafactory:Factory
        name: example
        properties:
          name: example
          location: ${example.location}
          resourceGroupName: ${example.name}
      examplePipeline:
        type: azure:datafactory:Pipeline
        name: example
        properties:
          name: example
          dataFactoryId: ${exampleFactory.id}
      exampleTriggerTumblingWindow:
        type: azure:datafactory:TriggerTumblingWindow
        name: example
        properties:
          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
    

    Create TriggerTumblingWindow Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TriggerTumblingWindow(name: string, args: TriggerTumblingWindowArgs, opts?: CustomResourceOptions);
    @overload
    def TriggerTumblingWindow(resource_name: str,
                              args: TriggerTumblingWindowArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def TriggerTumblingWindow(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              frequency: Optional[str] = None,
                              start_time: Optional[str] = None,
                              pipeline: Optional[TriggerTumblingWindowPipelineArgs] = None,
                              data_factory_id: Optional[str] = None,
                              interval: Optional[int] = None,
                              end_time: Optional[str] = None,
                              activated: Optional[bool] = None,
                              description: Optional[str] = None,
                              delay: Optional[str] = None,
                              max_concurrency: Optional[int] = None,
                              name: Optional[str] = None,
                              annotations: Optional[Sequence[str]] = None,
                              retry: Optional[TriggerTumblingWindowRetryArgs] = None,
                              additional_properties: Optional[Mapping[str, str]] = None,
                              trigger_dependencies: Optional[Sequence[TriggerTumblingWindowTriggerDependencyArgs]] = None)
    func NewTriggerTumblingWindow(ctx *Context, name string, args TriggerTumblingWindowArgs, opts ...ResourceOption) (*TriggerTumblingWindow, error)
    public TriggerTumblingWindow(string name, TriggerTumblingWindowArgs args, CustomResourceOptions? opts = null)
    public TriggerTumblingWindow(String name, TriggerTumblingWindowArgs args)
    public TriggerTumblingWindow(String name, TriggerTumblingWindowArgs args, CustomResourceOptions options)
    
    type: azure:datafactory:TriggerTumblingWindow
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TriggerTumblingWindowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TriggerTumblingWindowArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TriggerTumblingWindowArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TriggerTumblingWindowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TriggerTumblingWindowArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var triggerTumblingWindowResource = new Azure.DataFactory.TriggerTumblingWindow("triggerTumblingWindowResource", new()
    {
        Frequency = "string",
        StartTime = "string",
        Pipeline = new Azure.DataFactory.Inputs.TriggerTumblingWindowPipelineArgs
        {
            Name = "string",
            Parameters = 
            {
                { "string", "string" },
            },
        },
        DataFactoryId = "string",
        Interval = 0,
        EndTime = "string",
        Activated = false,
        Description = "string",
        Delay = "string",
        MaxConcurrency = 0,
        Name = "string",
        Annotations = new[]
        {
            "string",
        },
        Retry = new Azure.DataFactory.Inputs.TriggerTumblingWindowRetryArgs
        {
            Count = 0,
            Interval = 0,
        },
        AdditionalProperties = 
        {
            { "string", "string" },
        },
        TriggerDependencies = new[]
        {
            new Azure.DataFactory.Inputs.TriggerTumblingWindowTriggerDependencyArgs
            {
                Offset = "string",
                Size = "string",
                TriggerName = "string",
            },
        },
    });
    
    example, err := datafactory.NewTriggerTumblingWindow(ctx, "triggerTumblingWindowResource", &datafactory.TriggerTumblingWindowArgs{
    	Frequency: pulumi.String("string"),
    	StartTime: pulumi.String("string"),
    	Pipeline: &datafactory.TriggerTumblingWindowPipelineArgs{
    		Name: pulumi.String("string"),
    		Parameters: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    	},
    	DataFactoryId:  pulumi.String("string"),
    	Interval:       pulumi.Int(0),
    	EndTime:        pulumi.String("string"),
    	Activated:      pulumi.Bool(false),
    	Description:    pulumi.String("string"),
    	Delay:          pulumi.String("string"),
    	MaxConcurrency: pulumi.Int(0),
    	Name:           pulumi.String("string"),
    	Annotations: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Retry: &datafactory.TriggerTumblingWindowRetryArgs{
    		Count:    pulumi.Int(0),
    		Interval: pulumi.Int(0),
    	},
    	AdditionalProperties: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TriggerDependencies: datafactory.TriggerTumblingWindowTriggerDependencyArray{
    		&datafactory.TriggerTumblingWindowTriggerDependencyArgs{
    			Offset:      pulumi.String("string"),
    			Size:        pulumi.String("string"),
    			TriggerName: pulumi.String("string"),
    		},
    	},
    })
    
    var triggerTumblingWindowResource = new TriggerTumblingWindow("triggerTumblingWindowResource", TriggerTumblingWindowArgs.builder()        
        .frequency("string")
        .startTime("string")
        .pipeline(TriggerTumblingWindowPipelineArgs.builder()
            .name("string")
            .parameters(Map.of("string", "string"))
            .build())
        .dataFactoryId("string")
        .interval(0)
        .endTime("string")
        .activated(false)
        .description("string")
        .delay("string")
        .maxConcurrency(0)
        .name("string")
        .annotations("string")
        .retry(TriggerTumblingWindowRetryArgs.builder()
            .count(0)
            .interval(0)
            .build())
        .additionalProperties(Map.of("string", "string"))
        .triggerDependencies(TriggerTumblingWindowTriggerDependencyArgs.builder()
            .offset("string")
            .size("string")
            .triggerName("string")
            .build())
        .build());
    
    trigger_tumbling_window_resource = azure.datafactory.TriggerTumblingWindow("triggerTumblingWindowResource",
        frequency="string",
        start_time="string",
        pipeline=azure.datafactory.TriggerTumblingWindowPipelineArgs(
            name="string",
            parameters={
                "string": "string",
            },
        ),
        data_factory_id="string",
        interval=0,
        end_time="string",
        activated=False,
        description="string",
        delay="string",
        max_concurrency=0,
        name="string",
        annotations=["string"],
        retry=azure.datafactory.TriggerTumblingWindowRetryArgs(
            count=0,
            interval=0,
        ),
        additional_properties={
            "string": "string",
        },
        trigger_dependencies=[azure.datafactory.TriggerTumblingWindowTriggerDependencyArgs(
            offset="string",
            size="string",
            trigger_name="string",
        )])
    
    const triggerTumblingWindowResource = new azure.datafactory.TriggerTumblingWindow("triggerTumblingWindowResource", {
        frequency: "string",
        startTime: "string",
        pipeline: {
            name: "string",
            parameters: {
                string: "string",
            },
        },
        dataFactoryId: "string",
        interval: 0,
        endTime: "string",
        activated: false,
        description: "string",
        delay: "string",
        maxConcurrency: 0,
        name: "string",
        annotations: ["string"],
        retry: {
            count: 0,
            interval: 0,
        },
        additionalProperties: {
            string: "string",
        },
        triggerDependencies: [{
            offset: "string",
            size: "string",
            triggerName: "string",
        }],
    });
    
    type: azure:datafactory:TriggerTumblingWindow
    properties:
        activated: false
        additionalProperties:
            string: string
        annotations:
            - string
        dataFactoryId: string
        delay: string
        description: string
        endTime: string
        frequency: string
        interval: 0
        maxConcurrency: 0
        name: string
        pipeline:
            name: string
            parameters:
                string: string
        retry:
            count: 0
            interval: 0
        startTime: string
        triggerDependencies:
            - offset: string
              size: string
              triggerName: string
    

    TriggerTumblingWindow Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The TriggerTumblingWindow resource accepts the following input properties:

    DataFactoryId string
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    Frequency string
    Specifies the frequency of Tumbling Window. Possible values are Hour, Minute and Month. Changing this forces a new resource.
    Interval int
    Specifies the interval of Tumbling Window. Changing this forces a new resource.
    Pipeline TriggerTumblingWindowPipeline
    A pipeline block as defined below.
    StartTime string
    Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource.
    Activated bool
    Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to true.
    AdditionalProperties Dictionary<string, string>
    A map of additional properties to associate with the Data Factory Tumbling Window Trigger.
    Annotations List<string>
    List of tags that can be used for describing the Data Factory Tumbling Window Trigger.
    Delay string
    Specifies how long the trigger waits before triggering new run. formatted as an D.HH:MM:SS.
    Description string
    The description for the Data Factory Tumbling Window Trigger.
    EndTime string
    Specifies the end time of Tumbling Window, formatted as an RFC3339 string.
    MaxConcurrency int
    The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between 1 and 50. Defaults to 50.
    Name string
    Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created.
    Retry TriggerTumblingWindowRetry
    A retry block as defined below.
    TriggerDependencies List<TriggerTumblingWindowTriggerDependency>
    One or more trigger_dependency block as defined below.
    DataFactoryId string
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    Frequency string
    Specifies the frequency of Tumbling Window. Possible values are Hour, Minute and Month. Changing this forces a new resource.
    Interval int
    Specifies the interval of Tumbling Window. Changing this forces a new resource.
    Pipeline TriggerTumblingWindowPipelineArgs
    A pipeline block as defined below.
    StartTime string
    Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource.
    Activated bool
    Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to true.
    AdditionalProperties map[string]string
    A map of additional properties to associate with the Data Factory Tumbling Window Trigger.
    Annotations []string
    List of tags that can be used for describing the Data Factory Tumbling Window Trigger.
    Delay string
    Specifies how long the trigger waits before triggering new run. formatted as an D.HH:MM:SS.
    Description string
    The description for the Data Factory Tumbling Window Trigger.
    EndTime string
    Specifies the end time of Tumbling Window, formatted as an RFC3339 string.
    MaxConcurrency int
    The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between 1 and 50. Defaults to 50.
    Name string
    Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created.
    Retry TriggerTumblingWindowRetryArgs
    A retry block as defined below.
    TriggerDependencies []TriggerTumblingWindowTriggerDependencyArgs
    One or more trigger_dependency block as defined below.
    dataFactoryId String
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    frequency String
    Specifies the frequency of Tumbling Window. Possible values are Hour, Minute and Month. Changing this forces a new resource.
    interval Integer
    Specifies the interval of Tumbling Window. Changing this forces a new resource.
    pipeline TriggerTumblingWindowPipeline
    A pipeline block as defined below.
    startTime String
    Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource.
    activated Boolean
    Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to true.
    additionalProperties Map<String,String>
    A map of additional properties to associate with the Data Factory Tumbling Window Trigger.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Tumbling Window Trigger.
    delay String
    Specifies how long the trigger waits before triggering new run. formatted as an D.HH:MM:SS.
    description String
    The description for the Data Factory Tumbling Window Trigger.
    endTime String
    Specifies the end time of Tumbling Window, formatted as an RFC3339 string.
    maxConcurrency Integer
    The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between 1 and 50. Defaults to 50.
    name String
    Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created.
    retry TriggerTumblingWindowRetry
    A retry block as defined below.
    triggerDependencies List<TriggerTumblingWindowTriggerDependency>
    One or more trigger_dependency block as defined below.
    dataFactoryId string
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    frequency string
    Specifies the frequency of Tumbling Window. Possible values are Hour, Minute and Month. Changing this forces a new resource.
    interval number
    Specifies the interval of Tumbling Window. Changing this forces a new resource.
    pipeline TriggerTumblingWindowPipeline
    A pipeline block as defined below.
    startTime string
    Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource.
    activated boolean
    Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to true.
    additionalProperties {[key: string]: string}
    A map of additional properties to associate with the Data Factory Tumbling Window Trigger.
    annotations string[]
    List of tags that can be used for describing the Data Factory Tumbling Window Trigger.
    delay string
    Specifies how long the trigger waits before triggering new run. formatted as an D.HH:MM:SS.
    description string
    The description for the Data Factory Tumbling Window Trigger.
    endTime string
    Specifies the end time of Tumbling Window, formatted as an RFC3339 string.
    maxConcurrency number
    The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between 1 and 50. Defaults to 50.
    name string
    Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created.
    retry TriggerTumblingWindowRetry
    A retry block as defined below.
    triggerDependencies TriggerTumblingWindowTriggerDependency[]
    One or more trigger_dependency block as defined below.
    data_factory_id str
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    frequency str
    Specifies the frequency of Tumbling Window. Possible values are Hour, Minute and Month. Changing this forces a new resource.
    interval int
    Specifies the interval of Tumbling Window. Changing this forces a new resource.
    pipeline TriggerTumblingWindowPipelineArgs
    A pipeline block as defined below.
    start_time str
    Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource.
    activated bool
    Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to true.
    additional_properties Mapping[str, str]
    A map of additional properties to associate with the Data Factory Tumbling Window Trigger.
    annotations Sequence[str]
    List of tags that can be used for describing the Data Factory Tumbling Window Trigger.
    delay str
    Specifies how long the trigger waits before triggering new run. formatted as an D.HH:MM:SS.
    description str
    The description for the Data Factory Tumbling Window Trigger.
    end_time str
    Specifies the end time of Tumbling Window, formatted as an RFC3339 string.
    max_concurrency int
    The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between 1 and 50. Defaults to 50.
    name str
    Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created.
    retry TriggerTumblingWindowRetryArgs
    A retry block as defined below.
    trigger_dependencies Sequence[TriggerTumblingWindowTriggerDependencyArgs]
    One or more trigger_dependency block as defined below.
    dataFactoryId String
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    frequency String
    Specifies the frequency of Tumbling Window. Possible values are Hour, Minute and Month. Changing this forces a new resource.
    interval Number
    Specifies the interval of Tumbling Window. Changing this forces a new resource.
    pipeline Property Map
    A pipeline block as defined below.
    startTime String
    Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource.
    activated Boolean
    Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to true.
    additionalProperties Map<String>
    A map of additional properties to associate with the Data Factory Tumbling Window Trigger.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Tumbling Window Trigger.
    delay String
    Specifies how long the trigger waits before triggering new run. formatted as an D.HH:MM:SS.
    description String
    The description for the Data Factory Tumbling Window Trigger.
    endTime String
    Specifies the end time of Tumbling Window, formatted as an RFC3339 string.
    maxConcurrency Number
    The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between 1 and 50. Defaults to 50.
    name String
    Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created.
    retry Property Map
    A retry block as defined below.
    triggerDependencies List<Property Map>
    One or more trigger_dependency block as defined below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TriggerTumblingWindow resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TriggerTumblingWindow Resource

    Get an existing TriggerTumblingWindow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TriggerTumblingWindowState, opts?: CustomResourceOptions): TriggerTumblingWindow
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            activated: Optional[bool] = None,
            additional_properties: Optional[Mapping[str, str]] = None,
            annotations: Optional[Sequence[str]] = None,
            data_factory_id: Optional[str] = None,
            delay: Optional[str] = None,
            description: Optional[str] = None,
            end_time: Optional[str] = None,
            frequency: Optional[str] = None,
            interval: Optional[int] = None,
            max_concurrency: Optional[int] = None,
            name: Optional[str] = None,
            pipeline: Optional[TriggerTumblingWindowPipelineArgs] = None,
            retry: Optional[TriggerTumblingWindowRetryArgs] = None,
            start_time: Optional[str] = None,
            trigger_dependencies: Optional[Sequence[TriggerTumblingWindowTriggerDependencyArgs]] = None) -> TriggerTumblingWindow
    func GetTriggerTumblingWindow(ctx *Context, name string, id IDInput, state *TriggerTumblingWindowState, opts ...ResourceOption) (*TriggerTumblingWindow, error)
    public static TriggerTumblingWindow Get(string name, Input<string> id, TriggerTumblingWindowState? state, CustomResourceOptions? opts = null)
    public static TriggerTumblingWindow get(String name, Output<String> id, TriggerTumblingWindowState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Activated bool
    Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to true.
    AdditionalProperties Dictionary<string, string>
    A map of additional properties to associate with the Data Factory Tumbling Window Trigger.
    Annotations List<string>
    List of tags that can be used for describing the Data Factory Tumbling Window Trigger.
    DataFactoryId string
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    Delay string
    Specifies how long the trigger waits before triggering new run. formatted as an D.HH:MM:SS.
    Description string
    The description for the Data Factory Tumbling Window Trigger.
    EndTime string
    Specifies the end time of Tumbling Window, formatted as an RFC3339 string.
    Frequency string
    Specifies the frequency of Tumbling Window. Possible values are Hour, Minute and Month. Changing this forces a new resource.
    Interval int
    Specifies the interval of Tumbling Window. Changing this forces a new resource.
    MaxConcurrency int
    The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between 1 and 50. Defaults to 50.
    Name string
    Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created.
    Pipeline TriggerTumblingWindowPipeline
    A pipeline block as defined below.
    Retry TriggerTumblingWindowRetry
    A retry block as defined below.
    StartTime string
    Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource.
    TriggerDependencies List<TriggerTumblingWindowTriggerDependency>
    One or more trigger_dependency block as defined below.
    Activated bool
    Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to true.
    AdditionalProperties map[string]string
    A map of additional properties to associate with the Data Factory Tumbling Window Trigger.
    Annotations []string
    List of tags that can be used for describing the Data Factory Tumbling Window Trigger.
    DataFactoryId string
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    Delay string
    Specifies how long the trigger waits before triggering new run. formatted as an D.HH:MM:SS.
    Description string
    The description for the Data Factory Tumbling Window Trigger.
    EndTime string
    Specifies the end time of Tumbling Window, formatted as an RFC3339 string.
    Frequency string
    Specifies the frequency of Tumbling Window. Possible values are Hour, Minute and Month. Changing this forces a new resource.
    Interval int
    Specifies the interval of Tumbling Window. Changing this forces a new resource.
    MaxConcurrency int
    The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between 1 and 50. Defaults to 50.
    Name string
    Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created.
    Pipeline TriggerTumblingWindowPipelineArgs
    A pipeline block as defined below.
    Retry TriggerTumblingWindowRetryArgs
    A retry block as defined below.
    StartTime string
    Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource.
    TriggerDependencies []TriggerTumblingWindowTriggerDependencyArgs
    One or more trigger_dependency block as defined below.
    activated Boolean
    Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to true.
    additionalProperties Map<String,String>
    A map of additional properties to associate with the Data Factory Tumbling Window Trigger.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Tumbling Window Trigger.
    dataFactoryId String
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    delay String
    Specifies how long the trigger waits before triggering new run. formatted as an D.HH:MM:SS.
    description String
    The description for the Data Factory Tumbling Window Trigger.
    endTime String
    Specifies the end time of Tumbling Window, formatted as an RFC3339 string.
    frequency String
    Specifies the frequency of Tumbling Window. Possible values are Hour, Minute and Month. Changing this forces a new resource.
    interval Integer
    Specifies the interval of Tumbling Window. Changing this forces a new resource.
    maxConcurrency Integer
    The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between 1 and 50. Defaults to 50.
    name String
    Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created.
    pipeline TriggerTumblingWindowPipeline
    A pipeline block as defined below.
    retry TriggerTumblingWindowRetry
    A retry block as defined below.
    startTime String
    Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource.
    triggerDependencies List<TriggerTumblingWindowTriggerDependency>
    One or more trigger_dependency block as defined below.
    activated boolean
    Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to true.
    additionalProperties {[key: string]: string}
    A map of additional properties to associate with the Data Factory Tumbling Window Trigger.
    annotations string[]
    List of tags that can be used for describing the Data Factory Tumbling Window Trigger.
    dataFactoryId string
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    delay string
    Specifies how long the trigger waits before triggering new run. formatted as an D.HH:MM:SS.
    description string
    The description for the Data Factory Tumbling Window Trigger.
    endTime string
    Specifies the end time of Tumbling Window, formatted as an RFC3339 string.
    frequency string
    Specifies the frequency of Tumbling Window. Possible values are Hour, Minute and Month. Changing this forces a new resource.
    interval number
    Specifies the interval of Tumbling Window. Changing this forces a new resource.
    maxConcurrency number
    The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between 1 and 50. Defaults to 50.
    name string
    Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created.
    pipeline TriggerTumblingWindowPipeline
    A pipeline block as defined below.
    retry TriggerTumblingWindowRetry
    A retry block as defined below.
    startTime string
    Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource.
    triggerDependencies TriggerTumblingWindowTriggerDependency[]
    One or more trigger_dependency block as defined below.
    activated bool
    Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to true.
    additional_properties Mapping[str, str]
    A map of additional properties to associate with the Data Factory Tumbling Window Trigger.
    annotations Sequence[str]
    List of tags that can be used for describing the Data Factory Tumbling Window Trigger.
    data_factory_id str
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    delay str
    Specifies how long the trigger waits before triggering new run. formatted as an D.HH:MM:SS.
    description str
    The description for the Data Factory Tumbling Window Trigger.
    end_time str
    Specifies the end time of Tumbling Window, formatted as an RFC3339 string.
    frequency str
    Specifies the frequency of Tumbling Window. Possible values are Hour, Minute and Month. Changing this forces a new resource.
    interval int
    Specifies the interval of Tumbling Window. Changing this forces a new resource.
    max_concurrency int
    The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between 1 and 50. Defaults to 50.
    name str
    Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created.
    pipeline TriggerTumblingWindowPipelineArgs
    A pipeline block as defined below.
    retry TriggerTumblingWindowRetryArgs
    A retry block as defined below.
    start_time str
    Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource.
    trigger_dependencies Sequence[TriggerTumblingWindowTriggerDependencyArgs]
    One or more trigger_dependency block as defined below.
    activated Boolean
    Specifies if the Data Factory Tumbling Window Trigger is activated. Defaults to true.
    additionalProperties Map<String>
    A map of additional properties to associate with the Data Factory Tumbling Window Trigger.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Tumbling Window Trigger.
    dataFactoryId String
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    delay String
    Specifies how long the trigger waits before triggering new run. formatted as an D.HH:MM:SS.
    description String
    The description for the Data Factory Tumbling Window Trigger.
    endTime String
    Specifies the end time of Tumbling Window, formatted as an RFC3339 string.
    frequency String
    Specifies the frequency of Tumbling Window. Possible values are Hour, Minute and Month. Changing this forces a new resource.
    interval Number
    Specifies the interval of Tumbling Window. Changing this forces a new resource.
    maxConcurrency Number
    The max number for simultaneous trigger run fired by Tumbling Window. Possible values are between 1 and 50. Defaults to 50.
    name String
    Specifies the name of the Data Factory Tumbling Window Trigger. Changing this forces a new resource to be created.
    pipeline Property Map
    A pipeline block as defined below.
    retry Property Map
    A retry block as defined below.
    startTime String
    Specifies the start time of Tumbling Window, formatted as an RFC3339 string. Changing this forces a new resource.
    triggerDependencies List<Property Map>
    One or more trigger_dependency block as defined below.

    Supporting Types

    TriggerTumblingWindowPipeline, TriggerTumblingWindowPipelineArgs

    Name string
    The Data Factory Pipeline name that the trigger will act on.
    Parameters Dictionary<string, string>
    The Data Factory Pipeline parameters that the trigger will act on.
    Name string
    The Data Factory Pipeline name that the trigger will act on.
    Parameters map[string]string
    The Data Factory Pipeline parameters that the trigger will act on.
    name String
    The Data Factory Pipeline name that the trigger will act on.
    parameters Map<String,String>
    The Data Factory Pipeline parameters that the trigger will act on.
    name string
    The Data Factory Pipeline name that the trigger will act on.
    parameters {[key: string]: string}
    The Data Factory Pipeline parameters that the trigger will act on.
    name str
    The Data Factory Pipeline name that the trigger will act on.
    parameters Mapping[str, str]
    The Data Factory Pipeline parameters that the trigger will act on.
    name String
    The Data Factory Pipeline name that the trigger will act on.
    parameters Map<String>
    The Data Factory Pipeline parameters that the trigger will act on.

    TriggerTumblingWindowRetry, TriggerTumblingWindowRetryArgs

    Count int
    The maximum retry attempts if the pipeline run failed.
    Interval int
    The Interval in seconds between each retry if the pipeline run failed. Defaults to 30.
    Count int
    The maximum retry attempts if the pipeline run failed.
    Interval int
    The Interval in seconds between each retry if the pipeline run failed. Defaults to 30.
    count Integer
    The maximum retry attempts if the pipeline run failed.
    interval Integer
    The Interval in seconds between each retry if the pipeline run failed. Defaults to 30.
    count number
    The maximum retry attempts if the pipeline run failed.
    interval number
    The Interval in seconds between each retry if the pipeline run failed. Defaults to 30.
    count int
    The maximum retry attempts if the pipeline run failed.
    interval int
    The Interval in seconds between each retry if the pipeline run failed. Defaults to 30.
    count Number
    The maximum retry attempts if the pipeline run failed.
    interval Number
    The Interval in seconds between each retry if the pipeline run failed. Defaults to 30.

    TriggerTumblingWindowTriggerDependency, TriggerTumblingWindowTriggerDependencyArgs

    Offset string
    The offset of the dependency trigger. Must be in Timespan format (±hh:mm:ss) and must be a negative offset for a self dependency.
    Size string
    The size of the dependency tumbling window. Must be in Timespan format (hh:mm:ss).
    TriggerName string
    The dependency trigger name. If not specified, it will use self dependency.
    Offset string
    The offset of the dependency trigger. Must be in Timespan format (±hh:mm:ss) and must be a negative offset for a self dependency.
    Size string
    The size of the dependency tumbling window. Must be in Timespan format (hh:mm:ss).
    TriggerName string
    The dependency trigger name. If not specified, it will use self dependency.
    offset String
    The offset of the dependency trigger. Must be in Timespan format (±hh:mm:ss) and must be a negative offset for a self dependency.
    size String
    The size of the dependency tumbling window. Must be in Timespan format (hh:mm:ss).
    triggerName String
    The dependency trigger name. If not specified, it will use self dependency.
    offset string
    The offset of the dependency trigger. Must be in Timespan format (±hh:mm:ss) and must be a negative offset for a self dependency.
    size string
    The size of the dependency tumbling window. Must be in Timespan format (hh:mm:ss).
    triggerName string
    The dependency trigger name. If not specified, it will use self dependency.
    offset str
    The offset of the dependency trigger. Must be in Timespan format (±hh:mm:ss) and must be a negative offset for a self dependency.
    size str
    The size of the dependency tumbling window. Must be in Timespan format (hh:mm:ss).
    trigger_name str
    The dependency trigger name. If not specified, it will use self dependency.
    offset String
    The offset of the dependency trigger. Must be in Timespan format (±hh:mm:ss) and must be a negative offset for a self dependency.
    size String
    The size of the dependency tumbling window. Must be in Timespan format (hh:mm:ss).
    triggerName String
    The dependency trigger name. If not specified, it will use self dependency.

    Import

    Data Factory Tumbling Window Trigger can be imported using the resource id, e.g.

    $ pulumi import azure:datafactory/triggerTumblingWindow:TriggerTumblingWindow example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/triggers/example
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi