Azure Classic

v5.24.0 published on Wednesday, Nov 9, 2022 by Pulumi

TriggerCustomEvent

Manages a Custom Event Trigger inside an Azure Data Factory.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
    {
        Location = "West Europe",
    });

    var exampleFactory = new Azure.DataFactory.Factory("exampleFactory", new()
    {
        Location = exampleResourceGroup.Location,
        ResourceGroupName = exampleResourceGroup.Name,
    });

    var examplePipeline = new Azure.DataFactory.Pipeline("examplePipeline", new()
    {
        DataFactoryId = exampleFactory.Id,
    });

    var exampleTopic = new Azure.EventGrid.Topic("exampleTopic", new()
    {
        Location = exampleResourceGroup.Location,
        ResourceGroupName = exampleResourceGroup.Name,
    });

    var exampleTriggerCustomEvent = new Azure.DataFactory.TriggerCustomEvent("exampleTriggerCustomEvent", new()
    {
        DataFactoryId = exampleFactory.Id,
        EventgridTopicId = exampleTopic.Id,
        Events = new[]
        {
            "event1",
            "event2",
        },
        SubjectBeginsWith = "abc",
        SubjectEndsWith = "xyz",
        Annotations = new[]
        {
            "example1",
            "example2",
            "example3",
        },
        Description = "example description",
        Pipelines = new[]
        {
            new Azure.DataFactory.Inputs.TriggerCustomEventPipelineArgs
            {
                Name = examplePipeline.Name,
                Parameters = 
                {
                    { "Env", "Prod" },
                },
            },
        },
        AdditionalProperties = 
        {
            { "foo", "foo1" },
            { "bar", "bar2" },
        },
    });

});
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-azure/sdk/v5/go/azure/eventgrid"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleFactory, err := datafactory.NewFactory(ctx, "exampleFactory", &datafactory.FactoryArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		examplePipeline, err := datafactory.NewPipeline(ctx, "examplePipeline", &datafactory.PipelineArgs{
			DataFactoryId: exampleFactory.ID(),
		})
		if err != nil {
			return err
		}
		exampleTopic, err := eventgrid.NewTopic(ctx, "exampleTopic", &eventgrid.TopicArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		_, err = datafactory.NewTriggerCustomEvent(ctx, "exampleTriggerCustomEvent", &datafactory.TriggerCustomEventArgs{
			DataFactoryId:    exampleFactory.ID(),
			EventgridTopicId: exampleTopic.ID(),
			Events: pulumi.StringArray{
				pulumi.String("event1"),
				pulumi.String("event2"),
			},
			SubjectBeginsWith: pulumi.String("abc"),
			SubjectEndsWith:   pulumi.String("xyz"),
			Annotations: pulumi.StringArray{
				pulumi.String("example1"),
				pulumi.String("example2"),
				pulumi.String("example3"),
			},
			Description: pulumi.String("example description"),
			Pipelines: datafactory.TriggerCustomEventPipelineArray{
				&datafactory.TriggerCustomEventPipelineArgs{
					Name: examplePipeline.Name,
					Parameters: pulumi.StringMap{
						"Env": pulumi.String("Prod"),
					},
				},
			},
			AdditionalProperties: pulumi.StringMap{
				"foo": pulumi.String("foo1"),
				"bar": pulumi.String("bar2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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.eventgrid.Topic;
import com.pulumi.azure.eventgrid.TopicArgs;
import com.pulumi.azure.datafactory.TriggerCustomEvent;
import com.pulumi.azure.datafactory.TriggerCustomEventArgs;
import com.pulumi.azure.datafactory.inputs.TriggerCustomEventPipelineArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        var exampleFactory = new Factory("exampleFactory", FactoryArgs.builder()        
            .location(exampleResourceGroup.location())
            .resourceGroupName(exampleResourceGroup.name())
            .build());

        var examplePipeline = new Pipeline("examplePipeline", PipelineArgs.builder()        
            .dataFactoryId(exampleFactory.id())
            .build());

        var exampleTopic = new Topic("exampleTopic", TopicArgs.builder()        
            .location(exampleResourceGroup.location())
            .resourceGroupName(exampleResourceGroup.name())
            .build());

        var exampleTriggerCustomEvent = new TriggerCustomEvent("exampleTriggerCustomEvent", TriggerCustomEventArgs.builder()        
            .dataFactoryId(exampleFactory.id())
            .eventgridTopicId(exampleTopic.id())
            .events(            
                "event1",
                "event2")
            .subjectBeginsWith("abc")
            .subjectEndsWith("xyz")
            .annotations(            
                "example1",
                "example2",
                "example3")
            .description("example description")
            .pipelines(TriggerCustomEventPipelineArgs.builder()
                .name(examplePipeline.name())
                .parameters(Map.of("Env", "Prod"))
                .build())
            .additionalProperties(Map.ofEntries(
                Map.entry("foo", "foo1"),
                Map.entry("bar", "bar2")
            ))
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_factory = azure.datafactory.Factory("exampleFactory",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name)
example_pipeline = azure.datafactory.Pipeline("examplePipeline", data_factory_id=example_factory.id)
example_topic = azure.eventgrid.Topic("exampleTopic",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name)
example_trigger_custom_event = azure.datafactory.TriggerCustomEvent("exampleTriggerCustomEvent",
    data_factory_id=example_factory.id,
    eventgrid_topic_id=example_topic.id,
    events=[
        "event1",
        "event2",
    ],
    subject_begins_with="abc",
    subject_ends_with="xyz",
    annotations=[
        "example1",
        "example2",
        "example3",
    ],
    description="example description",
    pipelines=[azure.datafactory.TriggerCustomEventPipelineArgs(
        name=example_pipeline.name,
        parameters={
            "Env": "Prod",
        },
    )],
    additional_properties={
        "foo": "foo1",
        "bar": "bar2",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleFactory = new azure.datafactory.Factory("exampleFactory", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
});
const examplePipeline = new azure.datafactory.Pipeline("examplePipeline", {dataFactoryId: exampleFactory.id});
const exampleTopic = new azure.eventgrid.Topic("exampleTopic", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
});
const exampleTriggerCustomEvent = new azure.datafactory.TriggerCustomEvent("exampleTriggerCustomEvent", {
    dataFactoryId: exampleFactory.id,
    eventgridTopicId: exampleTopic.id,
    events: [
        "event1",
        "event2",
    ],
    subjectBeginsWith: "abc",
    subjectEndsWith: "xyz",
    annotations: [
        "example1",
        "example2",
        "example3",
    ],
    description: "example description",
    pipelines: [{
        name: examplePipeline.name,
        parameters: {
            Env: "Prod",
        },
    }],
    additionalProperties: {
        foo: "foo1",
        bar: "bar2",
    },
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleFactory:
    type: azure:datafactory:Factory
    properties:
      location: ${exampleResourceGroup.location}
      resourceGroupName: ${exampleResourceGroup.name}
  examplePipeline:
    type: azure:datafactory:Pipeline
    properties:
      dataFactoryId: ${exampleFactory.id}
  exampleTopic:
    type: azure:eventgrid:Topic
    properties:
      location: ${exampleResourceGroup.location}
      resourceGroupName: ${exampleResourceGroup.name}
  exampleTriggerCustomEvent:
    type: azure:datafactory:TriggerCustomEvent
    properties:
      dataFactoryId: ${exampleFactory.id}
      eventgridTopicId: ${exampleTopic.id}
      events:
        - event1
        - event2
      subjectBeginsWith: abc
      subjectEndsWith: xyz
      annotations:
        - example1
        - example2
        - example3
      description: example description
      pipelines:
        - name: ${examplePipeline.name}
          parameters:
            Env: Prod
      additionalProperties:
        foo: foo1
        bar: bar2

Create TriggerCustomEvent Resource

new TriggerCustomEvent(name: string, args: TriggerCustomEventArgs, opts?: CustomResourceOptions);
@overload
def TriggerCustomEvent(resource_name: 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,
                       description: Optional[str] = None,
                       eventgrid_topic_id: Optional[str] = None,
                       events: Optional[Sequence[str]] = None,
                       name: Optional[str] = None,
                       pipelines: Optional[Sequence[TriggerCustomEventPipelineArgs]] = None,
                       subject_begins_with: Optional[str] = None,
                       subject_ends_with: Optional[str] = None)
@overload
def TriggerCustomEvent(resource_name: str,
                       args: TriggerCustomEventArgs,
                       opts: Optional[ResourceOptions] = None)
func NewTriggerCustomEvent(ctx *Context, name string, args TriggerCustomEventArgs, opts ...ResourceOption) (*TriggerCustomEvent, error)
public TriggerCustomEvent(string name, TriggerCustomEventArgs args, CustomResourceOptions? opts = null)
public TriggerCustomEvent(String name, TriggerCustomEventArgs args)
public TriggerCustomEvent(String name, TriggerCustomEventArgs args, CustomResourceOptions options)
type: azure:datafactory:TriggerCustomEvent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args TriggerCustomEventArgs
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 TriggerCustomEventArgs
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 TriggerCustomEventArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TriggerCustomEventArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args TriggerCustomEventArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

TriggerCustomEvent 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 TriggerCustomEvent 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.

EventgridTopicId string

The ID of Event Grid Topic in which event will be listened. Changing this forces a new resource.

Events List<string>

List of events that will fire this trigger. At least one event must be specified.

Pipelines List<TriggerCustomEventPipelineArgs>

One or more pipeline blocks as defined below.

Activated bool

Specifies if the Data Factory Custom Event Trigger is activated. Defaults to true.

AdditionalProperties Dictionary<string, string>

A map of additional properties to associate with the Data Factory Custom Event Trigger.

Annotations List<string>

List of tags that can be used for describing the Data Factory Custom Event Trigger.

Description string

The description for the Data Factory Custom Event Trigger.

Name string

Specifies the name of the Data Factory Custom Event Trigger. Changing this forces a new resource to be created.

SubjectBeginsWith string

The pattern that event subject starts with for trigger to fire.

SubjectEndsWith string

The pattern that event subject ends with for trigger to fire.

DataFactoryId string

The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.

EventgridTopicId string

The ID of Event Grid Topic in which event will be listened. Changing this forces a new resource.

Events []string

List of events that will fire this trigger. At least one event must be specified.

Pipelines []TriggerCustomEventPipelineArgs

One or more pipeline blocks as defined below.

Activated bool

Specifies if the Data Factory Custom Event Trigger is activated. Defaults to true.

AdditionalProperties map[string]string

A map of additional properties to associate with the Data Factory Custom Event Trigger.

Annotations []string

List of tags that can be used for describing the Data Factory Custom Event Trigger.

Description string

The description for the Data Factory Custom Event Trigger.

Name string

Specifies the name of the Data Factory Custom Event Trigger. Changing this forces a new resource to be created.

SubjectBeginsWith string

The pattern that event subject starts with for trigger to fire.

SubjectEndsWith string

The pattern that event subject ends with for trigger to fire.

dataFactoryId String

The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.

eventgridTopicId String

The ID of Event Grid Topic in which event will be listened. Changing this forces a new resource.

events List<String>

List of events that will fire this trigger. At least one event must be specified.

pipelines List<TriggerCustomEventPipelineArgs>

One or more pipeline blocks as defined below.

activated Boolean

Specifies if the Data Factory Custom Event Trigger is activated. Defaults to true.

additionalProperties Map<String,String>

A map of additional properties to associate with the Data Factory Custom Event Trigger.

annotations List<String>

List of tags that can be used for describing the Data Factory Custom Event Trigger.

description String

The description for the Data Factory Custom Event Trigger.

name String

Specifies the name of the Data Factory Custom Event Trigger. Changing this forces a new resource to be created.

subjectBeginsWith String

The pattern that event subject starts with for trigger to fire.

subjectEndsWith String

The pattern that event subject ends with for trigger to fire.

dataFactoryId string

The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.

eventgridTopicId string

The ID of Event Grid Topic in which event will be listened. Changing this forces a new resource.

events string[]

List of events that will fire this trigger. At least one event must be specified.

pipelines TriggerCustomEventPipelineArgs[]

One or more pipeline blocks as defined below.

activated boolean

Specifies if the Data Factory Custom Event Trigger is activated. Defaults to true.

additionalProperties {[key: string]: string}

A map of additional properties to associate with the Data Factory Custom Event Trigger.

annotations string[]

List of tags that can be used for describing the Data Factory Custom Event Trigger.

description string

The description for the Data Factory Custom Event Trigger.

name string

Specifies the name of the Data Factory Custom Event Trigger. Changing this forces a new resource to be created.

subjectBeginsWith string

The pattern that event subject starts with for trigger to fire.

subjectEndsWith string

The pattern that event subject ends with for trigger to fire.

data_factory_id str

The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.

eventgrid_topic_id str

The ID of Event Grid Topic in which event will be listened. Changing this forces a new resource.

events Sequence[str]

List of events that will fire this trigger. At least one event must be specified.

pipelines Sequence[TriggerCustomEventPipelineArgs]

One or more pipeline blocks as defined below.

activated bool

Specifies if the Data Factory Custom Event Trigger is activated. Defaults to true.

additional_properties Mapping[str, str]

A map of additional properties to associate with the Data Factory Custom Event Trigger.

annotations Sequence[str]

List of tags that can be used for describing the Data Factory Custom Event Trigger.

description str

The description for the Data Factory Custom Event Trigger.

name str

Specifies the name of the Data Factory Custom Event Trigger. Changing this forces a new resource to be created.

subject_begins_with str

The pattern that event subject starts with for trigger to fire.

subject_ends_with str

The pattern that event subject ends with for trigger to fire.

dataFactoryId String

The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.

eventgridTopicId String

The ID of Event Grid Topic in which event will be listened. Changing this forces a new resource.

events List<String>

List of events that will fire this trigger. At least one event must be specified.

pipelines List<Property Map>

One or more pipeline blocks as defined below.

activated Boolean

Specifies if the Data Factory Custom Event Trigger is activated. Defaults to true.

additionalProperties Map<String>

A map of additional properties to associate with the Data Factory Custom Event Trigger.

annotations List<String>

List of tags that can be used for describing the Data Factory Custom Event Trigger.

description String

The description for the Data Factory Custom Event Trigger.

name String

Specifies the name of the Data Factory Custom Event Trigger. Changing this forces a new resource to be created.

subjectBeginsWith String

The pattern that event subject starts with for trigger to fire.

subjectEndsWith String

The pattern that event subject ends with for trigger to fire.

Outputs

All input properties are implicitly available as output properties. Additionally, the TriggerCustomEvent 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 TriggerCustomEvent Resource

Get an existing TriggerCustomEvent 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?: TriggerCustomEventState, opts?: CustomResourceOptions): TriggerCustomEvent
@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,
        description: Optional[str] = None,
        eventgrid_topic_id: Optional[str] = None,
        events: Optional[Sequence[str]] = None,
        name: Optional[str] = None,
        pipelines: Optional[Sequence[TriggerCustomEventPipelineArgs]] = None,
        subject_begins_with: Optional[str] = None,
        subject_ends_with: Optional[str] = None) -> TriggerCustomEvent
func GetTriggerCustomEvent(ctx *Context, name string, id IDInput, state *TriggerCustomEventState, opts ...ResourceOption) (*TriggerCustomEvent, error)
public static TriggerCustomEvent Get(string name, Input<string> id, TriggerCustomEventState? state, CustomResourceOptions? opts = null)
public static TriggerCustomEvent get(String name, Output<String> id, TriggerCustomEventState 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 Custom Event Trigger is activated. Defaults to true.

AdditionalProperties Dictionary<string, string>

A map of additional properties to associate with the Data Factory Custom Event Trigger.

Annotations List<string>

List of tags that can be used for describing the Data Factory Custom Event Trigger.

DataFactoryId string

The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.

Description string

The description for the Data Factory Custom Event Trigger.

EventgridTopicId string

The ID of Event Grid Topic in which event will be listened. Changing this forces a new resource.

Events List<string>

List of events that will fire this trigger. At least one event must be specified.

Name string

Specifies the name of the Data Factory Custom Event Trigger. Changing this forces a new resource to be created.

Pipelines List<TriggerCustomEventPipelineArgs>

One or more pipeline blocks as defined below.

SubjectBeginsWith string

The pattern that event subject starts with for trigger to fire.

SubjectEndsWith string

The pattern that event subject ends with for trigger to fire.

Activated bool

Specifies if the Data Factory Custom Event Trigger is activated. Defaults to true.

AdditionalProperties map[string]string

A map of additional properties to associate with the Data Factory Custom Event Trigger.

Annotations []string

List of tags that can be used for describing the Data Factory Custom Event Trigger.

DataFactoryId string

The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.

Description string

The description for the Data Factory Custom Event Trigger.

EventgridTopicId string

The ID of Event Grid Topic in which event will be listened. Changing this forces a new resource.

Events []string

List of events that will fire this trigger. At least one event must be specified.

Name string

Specifies the name of the Data Factory Custom Event Trigger. Changing this forces a new resource to be created.

Pipelines []TriggerCustomEventPipelineArgs

One or more pipeline blocks as defined below.

SubjectBeginsWith string

The pattern that event subject starts with for trigger to fire.

SubjectEndsWith string

The pattern that event subject ends with for trigger to fire.

activated Boolean

Specifies if the Data Factory Custom Event Trigger is activated. Defaults to true.

additionalProperties Map<String,String>

A map of additional properties to associate with the Data Factory Custom Event Trigger.

annotations List<String>

List of tags that can be used for describing the Data Factory Custom Event Trigger.

dataFactoryId String

The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.

description String

The description for the Data Factory Custom Event Trigger.

eventgridTopicId String

The ID of Event Grid Topic in which event will be listened. Changing this forces a new resource.

events List<String>

List of events that will fire this trigger. At least one event must be specified.

name String

Specifies the name of the Data Factory Custom Event Trigger. Changing this forces a new resource to be created.

pipelines List<TriggerCustomEventPipelineArgs>

One or more pipeline blocks as defined below.

subjectBeginsWith String

The pattern that event subject starts with for trigger to fire.

subjectEndsWith String

The pattern that event subject ends with for trigger to fire.

activated boolean

Specifies if the Data Factory Custom Event Trigger is activated. Defaults to true.

additionalProperties {[key: string]: string}

A map of additional properties to associate with the Data Factory Custom Event Trigger.

annotations string[]

List of tags that can be used for describing the Data Factory Custom Event Trigger.

dataFactoryId string

The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.

description string

The description for the Data Factory Custom Event Trigger.

eventgridTopicId string

The ID of Event Grid Topic in which event will be listened. Changing this forces a new resource.

events string[]

List of events that will fire this trigger. At least one event must be specified.

name string

Specifies the name of the Data Factory Custom Event Trigger. Changing this forces a new resource to be created.

pipelines TriggerCustomEventPipelineArgs[]

One or more pipeline blocks as defined below.

subjectBeginsWith string

The pattern that event subject starts with for trigger to fire.

subjectEndsWith string

The pattern that event subject ends with for trigger to fire.

activated bool

Specifies if the Data Factory Custom Event Trigger is activated. Defaults to true.

additional_properties Mapping[str, str]

A map of additional properties to associate with the Data Factory Custom Event Trigger.

annotations Sequence[str]

List of tags that can be used for describing the Data Factory Custom Event Trigger.

data_factory_id str

The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.

description str

The description for the Data Factory Custom Event Trigger.

eventgrid_topic_id str

The ID of Event Grid Topic in which event will be listened. Changing this forces a new resource.

events Sequence[str]

List of events that will fire this trigger. At least one event must be specified.

name str

Specifies the name of the Data Factory Custom Event Trigger. Changing this forces a new resource to be created.

pipelines Sequence[TriggerCustomEventPipelineArgs]

One or more pipeline blocks as defined below.

subject_begins_with str

The pattern that event subject starts with for trigger to fire.

subject_ends_with str

The pattern that event subject ends with for trigger to fire.

activated Boolean

Specifies if the Data Factory Custom Event Trigger is activated. Defaults to true.

additionalProperties Map<String>

A map of additional properties to associate with the Data Factory Custom Event Trigger.

annotations List<String>

List of tags that can be used for describing the Data Factory Custom Event Trigger.

dataFactoryId String

The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.

description String

The description for the Data Factory Custom Event Trigger.

eventgridTopicId String

The ID of Event Grid Topic in which event will be listened. Changing this forces a new resource.

events List<String>

List of events that will fire this trigger. At least one event must be specified.

name String

Specifies the name of the Data Factory Custom Event Trigger. Changing this forces a new resource to be created.

pipelines List<Property Map>

One or more pipeline blocks as defined below.

subjectBeginsWith String

The pattern that event subject starts with for trigger to fire.

subjectEndsWith String

The pattern that event subject ends with for trigger to fire.

Supporting Types

TriggerCustomEventPipeline

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.

Import

Data Factory Custom Event Trigger can be imported using the resource id, e.g.

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

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.