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

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

azure.datafactory.TriggerBlobEvent

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

    Manages a Blob Event 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 exampleAccount = new azure.storage.Account("example", {
        name: "example",
        resourceGroupName: example.name,
        location: example.location,
        accountTier: "Standard",
        accountReplicationType: "LRS",
    });
    const exampleTriggerBlobEvent = new azure.datafactory.TriggerBlobEvent("example", {
        name: "example",
        dataFactoryId: exampleFactory.id,
        storageAccountId: exampleAccount.id,
        events: [
            "Microsoft.Storage.BlobCreated",
            "Microsoft.Storage.BlobDeleted",
        ],
        blobPathEndsWith: ".txt",
        ignoreEmptyBlobs: true,
        activated: true,
        annotations: [
            "test1",
            "test2",
            "test3",
        ],
        description: "example description",
        pipelines: [{
            name: examplePipeline.name,
            parameters: {
                Env: "Prod",
            },
        }],
        additionalProperties: {
            foo: "foo1",
            bar: "bar2",
        },
    });
    
    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_account = azure.storage.Account("example",
        name="example",
        resource_group_name=example.name,
        location=example.location,
        account_tier="Standard",
        account_replication_type="LRS")
    example_trigger_blob_event = azure.datafactory.TriggerBlobEvent("example",
        name="example",
        data_factory_id=example_factory.id,
        storage_account_id=example_account.id,
        events=[
            "Microsoft.Storage.BlobCreated",
            "Microsoft.Storage.BlobDeleted",
        ],
        blob_path_ends_with=".txt",
        ignore_empty_blobs=True,
        activated=True,
        annotations=[
            "test1",
            "test2",
            "test3",
        ],
        description="example description",
        pipelines=[azure.datafactory.TriggerBlobEventPipelineArgs(
            name=example_pipeline.name,
            parameters={
                "Env": "Prod",
            },
        )],
        additional_properties={
            "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/storage"
    	"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
    		}
    		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
    			Name:                   pulumi.String("example"),
    			ResourceGroupName:      example.Name,
    			Location:               example.Location,
    			AccountTier:            pulumi.String("Standard"),
    			AccountReplicationType: pulumi.String("LRS"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = datafactory.NewTriggerBlobEvent(ctx, "example", &datafactory.TriggerBlobEventArgs{
    			Name:             pulumi.String("example"),
    			DataFactoryId:    exampleFactory.ID(),
    			StorageAccountId: exampleAccount.ID(),
    			Events: pulumi.StringArray{
    				pulumi.String("Microsoft.Storage.BlobCreated"),
    				pulumi.String("Microsoft.Storage.BlobDeleted"),
    			},
    			BlobPathEndsWith: pulumi.String(".txt"),
    			IgnoreEmptyBlobs: pulumi.Bool(true),
    			Activated:        pulumi.Bool(true),
    			Annotations: pulumi.StringArray{
    				pulumi.String("test1"),
    				pulumi.String("test2"),
    				pulumi.String("test3"),
    			},
    			Description: pulumi.String("example description"),
    			Pipelines: datafactory.TriggerBlobEventPipelineArray{
    				&datafactory.TriggerBlobEventPipelineArgs{
    					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
    	})
    }
    
    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 exampleAccount = new Azure.Storage.Account("example", new()
        {
            Name = "example",
            ResourceGroupName = example.Name,
            Location = example.Location,
            AccountTier = "Standard",
            AccountReplicationType = "LRS",
        });
    
        var exampleTriggerBlobEvent = new Azure.DataFactory.TriggerBlobEvent("example", new()
        {
            Name = "example",
            DataFactoryId = exampleFactory.Id,
            StorageAccountId = exampleAccount.Id,
            Events = new[]
            {
                "Microsoft.Storage.BlobCreated",
                "Microsoft.Storage.BlobDeleted",
            },
            BlobPathEndsWith = ".txt",
            IgnoreEmptyBlobs = true,
            Activated = true,
            Annotations = new[]
            {
                "test1",
                "test2",
                "test3",
            },
            Description = "example description",
            Pipelines = new[]
            {
                new Azure.DataFactory.Inputs.TriggerBlobEventPipelineArgs
                {
                    Name = examplePipeline.Name,
                    Parameters = 
                    {
                        { "Env", "Prod" },
                    },
                },
            },
            AdditionalProperties = 
            {
                { "foo", "foo1" },
                { "bar", "bar2" },
            },
        });
    
    });
    
    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.storage.Account;
    import com.pulumi.azure.storage.AccountArgs;
    import com.pulumi.azure.datafactory.TriggerBlobEvent;
    import com.pulumi.azure.datafactory.TriggerBlobEventArgs;
    import com.pulumi.azure.datafactory.inputs.TriggerBlobEventPipelineArgs;
    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 exampleAccount = new Account("exampleAccount", AccountArgs.builder()        
                .name("example")
                .resourceGroupName(example.name())
                .location(example.location())
                .accountTier("Standard")
                .accountReplicationType("LRS")
                .build());
    
            var exampleTriggerBlobEvent = new TriggerBlobEvent("exampleTriggerBlobEvent", TriggerBlobEventArgs.builder()        
                .name("example")
                .dataFactoryId(exampleFactory.id())
                .storageAccountId(exampleAccount.id())
                .events(            
                    "Microsoft.Storage.BlobCreated",
                    "Microsoft.Storage.BlobDeleted")
                .blobPathEndsWith(".txt")
                .ignoreEmptyBlobs(true)
                .activated(true)
                .annotations(            
                    "test1",
                    "test2",
                    "test3")
                .description("example description")
                .pipelines(TriggerBlobEventPipelineArgs.builder()
                    .name(examplePipeline.name())
                    .parameters(Map.of("Env", "Prod"))
                    .build())
                .additionalProperties(Map.ofEntries(
                    Map.entry("foo", "foo1"),
                    Map.entry("bar", "bar2")
                ))
                .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}
      exampleAccount:
        type: azure:storage:Account
        name: example
        properties:
          name: example
          resourceGroupName: ${example.name}
          location: ${example.location}
          accountTier: Standard
          accountReplicationType: LRS
      exampleTriggerBlobEvent:
        type: azure:datafactory:TriggerBlobEvent
        name: example
        properties:
          name: example
          dataFactoryId: ${exampleFactory.id}
          storageAccountId: ${exampleAccount.id}
          events:
            - Microsoft.Storage.BlobCreated
            - Microsoft.Storage.BlobDeleted
          blobPathEndsWith: .txt
          ignoreEmptyBlobs: true
          activated: true
          annotations:
            - test1
            - test2
            - test3
          description: example description
          pipelines:
            - name: ${examplePipeline.name}
              parameters:
                Env: Prod
          additionalProperties:
            foo: foo1
            bar: bar2
    

    Create TriggerBlobEvent Resource

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

    Constructor syntax

    new TriggerBlobEvent(name: string, args: TriggerBlobEventArgs, opts?: CustomResourceOptions);
    @overload
    def TriggerBlobEvent(resource_name: str,
                         args: TriggerBlobEventArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def TriggerBlobEvent(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         data_factory_id: Optional[str] = None,
                         events: Optional[Sequence[str]] = None,
                         pipelines: Optional[Sequence[TriggerBlobEventPipelineArgs]] = None,
                         storage_account_id: Optional[str] = None,
                         activated: Optional[bool] = None,
                         additional_properties: Optional[Mapping[str, str]] = None,
                         annotations: Optional[Sequence[str]] = None,
                         blob_path_begins_with: Optional[str] = None,
                         blob_path_ends_with: Optional[str] = None,
                         description: Optional[str] = None,
                         ignore_empty_blobs: Optional[bool] = None,
                         name: Optional[str] = None)
    func NewTriggerBlobEvent(ctx *Context, name string, args TriggerBlobEventArgs, opts ...ResourceOption) (*TriggerBlobEvent, error)
    public TriggerBlobEvent(string name, TriggerBlobEventArgs args, CustomResourceOptions? opts = null)
    public TriggerBlobEvent(String name, TriggerBlobEventArgs args)
    public TriggerBlobEvent(String name, TriggerBlobEventArgs args, CustomResourceOptions options)
    
    type: azure:datafactory:TriggerBlobEvent
    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 TriggerBlobEventArgs
    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 TriggerBlobEventArgs
    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 TriggerBlobEventArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TriggerBlobEventArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TriggerBlobEventArgs
    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 triggerBlobEventResource = new Azure.DataFactory.TriggerBlobEvent("triggerBlobEventResource", new()
    {
        DataFactoryId = "string",
        Events = new[]
        {
            "string",
        },
        Pipelines = new[]
        {
            new Azure.DataFactory.Inputs.TriggerBlobEventPipelineArgs
            {
                Name = "string",
                Parameters = 
                {
                    { "string", "string" },
                },
            },
        },
        StorageAccountId = "string",
        Activated = false,
        AdditionalProperties = 
        {
            { "string", "string" },
        },
        Annotations = new[]
        {
            "string",
        },
        BlobPathBeginsWith = "string",
        BlobPathEndsWith = "string",
        Description = "string",
        IgnoreEmptyBlobs = false,
        Name = "string",
    });
    
    example, err := datafactory.NewTriggerBlobEvent(ctx, "triggerBlobEventResource", &datafactory.TriggerBlobEventArgs{
    	DataFactoryId: pulumi.String("string"),
    	Events: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Pipelines: datafactory.TriggerBlobEventPipelineArray{
    		&datafactory.TriggerBlobEventPipelineArgs{
    			Name: pulumi.String("string"),
    			Parameters: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    	},
    	StorageAccountId: pulumi.String("string"),
    	Activated:        pulumi.Bool(false),
    	AdditionalProperties: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Annotations: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	BlobPathBeginsWith: pulumi.String("string"),
    	BlobPathEndsWith:   pulumi.String("string"),
    	Description:        pulumi.String("string"),
    	IgnoreEmptyBlobs:   pulumi.Bool(false),
    	Name:               pulumi.String("string"),
    })
    
    var triggerBlobEventResource = new TriggerBlobEvent("triggerBlobEventResource", TriggerBlobEventArgs.builder()        
        .dataFactoryId("string")
        .events("string")
        .pipelines(TriggerBlobEventPipelineArgs.builder()
            .name("string")
            .parameters(Map.of("string", "string"))
            .build())
        .storageAccountId("string")
        .activated(false)
        .additionalProperties(Map.of("string", "string"))
        .annotations("string")
        .blobPathBeginsWith("string")
        .blobPathEndsWith("string")
        .description("string")
        .ignoreEmptyBlobs(false)
        .name("string")
        .build());
    
    trigger_blob_event_resource = azure.datafactory.TriggerBlobEvent("triggerBlobEventResource",
        data_factory_id="string",
        events=["string"],
        pipelines=[azure.datafactory.TriggerBlobEventPipelineArgs(
            name="string",
            parameters={
                "string": "string",
            },
        )],
        storage_account_id="string",
        activated=False,
        additional_properties={
            "string": "string",
        },
        annotations=["string"],
        blob_path_begins_with="string",
        blob_path_ends_with="string",
        description="string",
        ignore_empty_blobs=False,
        name="string")
    
    const triggerBlobEventResource = new azure.datafactory.TriggerBlobEvent("triggerBlobEventResource", {
        dataFactoryId: "string",
        events: ["string"],
        pipelines: [{
            name: "string",
            parameters: {
                string: "string",
            },
        }],
        storageAccountId: "string",
        activated: false,
        additionalProperties: {
            string: "string",
        },
        annotations: ["string"],
        blobPathBeginsWith: "string",
        blobPathEndsWith: "string",
        description: "string",
        ignoreEmptyBlobs: false,
        name: "string",
    });
    
    type: azure:datafactory:TriggerBlobEvent
    properties:
        activated: false
        additionalProperties:
            string: string
        annotations:
            - string
        blobPathBeginsWith: string
        blobPathEndsWith: string
        dataFactoryId: string
        description: string
        events:
            - string
        ignoreEmptyBlobs: false
        name: string
        pipelines:
            - name: string
              parameters:
                string: string
        storageAccountId: string
    

    TriggerBlobEvent 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 TriggerBlobEvent 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.
    Events List<string>
    List of events that will fire this trigger. Possible values are Microsoft.Storage.BlobCreated and Microsoft.Storage.BlobDeleted.
    Pipelines List<TriggerBlobEventPipeline>
    One or more pipeline blocks as defined below.
    StorageAccountId string
    The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
    Activated bool
    Specifies if the Data Factory Blob Event Trigger is activated. Defaults to true.
    AdditionalProperties Dictionary<string, string>
    A map of additional properties to associate with the Data Factory Blob Event Trigger.
    Annotations List<string>
    List of tags that can be used for describing the Data Factory Blob Event Trigger.
    BlobPathBeginsWith string
    The pattern that blob path starts with for trigger to fire.
    BlobPathEndsWith string

    The pattern that blob path ends with for trigger to fire.

    Note: At least one of blob_path_begins_with and blob_path_ends_with must be set.

    Description string
    The description for the Data Factory Blob Event Trigger.
    IgnoreEmptyBlobs bool
    are blobs with zero bytes ignored?
    Name string
    Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
    DataFactoryId string
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    Events []string
    List of events that will fire this trigger. Possible values are Microsoft.Storage.BlobCreated and Microsoft.Storage.BlobDeleted.
    Pipelines []TriggerBlobEventPipelineArgs
    One or more pipeline blocks as defined below.
    StorageAccountId string
    The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
    Activated bool
    Specifies if the Data Factory Blob Event Trigger is activated. Defaults to true.
    AdditionalProperties map[string]string
    A map of additional properties to associate with the Data Factory Blob Event Trigger.
    Annotations []string
    List of tags that can be used for describing the Data Factory Blob Event Trigger.
    BlobPathBeginsWith string
    The pattern that blob path starts with for trigger to fire.
    BlobPathEndsWith string

    The pattern that blob path ends with for trigger to fire.

    Note: At least one of blob_path_begins_with and blob_path_ends_with must be set.

    Description string
    The description for the Data Factory Blob Event Trigger.
    IgnoreEmptyBlobs bool
    are blobs with zero bytes ignored?
    Name string
    Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
    dataFactoryId String
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    events List<String>
    List of events that will fire this trigger. Possible values are Microsoft.Storage.BlobCreated and Microsoft.Storage.BlobDeleted.
    pipelines List<TriggerBlobEventPipeline>
    One or more pipeline blocks as defined below.
    storageAccountId String
    The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
    activated Boolean
    Specifies if the Data Factory Blob Event Trigger is activated. Defaults to true.
    additionalProperties Map<String,String>
    A map of additional properties to associate with the Data Factory Blob Event Trigger.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Blob Event Trigger.
    blobPathBeginsWith String
    The pattern that blob path starts with for trigger to fire.
    blobPathEndsWith String

    The pattern that blob path ends with for trigger to fire.

    Note: At least one of blob_path_begins_with and blob_path_ends_with must be set.

    description String
    The description for the Data Factory Blob Event Trigger.
    ignoreEmptyBlobs Boolean
    are blobs with zero bytes ignored?
    name String
    Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
    dataFactoryId string
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    events string[]
    List of events that will fire this trigger. Possible values are Microsoft.Storage.BlobCreated and Microsoft.Storage.BlobDeleted.
    pipelines TriggerBlobEventPipeline[]
    One or more pipeline blocks as defined below.
    storageAccountId string
    The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
    activated boolean
    Specifies if the Data Factory Blob Event Trigger is activated. Defaults to true.
    additionalProperties {[key: string]: string}
    A map of additional properties to associate with the Data Factory Blob Event Trigger.
    annotations string[]
    List of tags that can be used for describing the Data Factory Blob Event Trigger.
    blobPathBeginsWith string
    The pattern that blob path starts with for trigger to fire.
    blobPathEndsWith string

    The pattern that blob path ends with for trigger to fire.

    Note: At least one of blob_path_begins_with and blob_path_ends_with must be set.

    description string
    The description for the Data Factory Blob Event Trigger.
    ignoreEmptyBlobs boolean
    are blobs with zero bytes ignored?
    name string
    Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
    data_factory_id str
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    events Sequence[str]
    List of events that will fire this trigger. Possible values are Microsoft.Storage.BlobCreated and Microsoft.Storage.BlobDeleted.
    pipelines Sequence[TriggerBlobEventPipelineArgs]
    One or more pipeline blocks as defined below.
    storage_account_id str
    The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
    activated bool
    Specifies if the Data Factory Blob Event Trigger is activated. Defaults to true.
    additional_properties Mapping[str, str]
    A map of additional properties to associate with the Data Factory Blob Event Trigger.
    annotations Sequence[str]
    List of tags that can be used for describing the Data Factory Blob Event Trigger.
    blob_path_begins_with str
    The pattern that blob path starts with for trigger to fire.
    blob_path_ends_with str

    The pattern that blob path ends with for trigger to fire.

    Note: At least one of blob_path_begins_with and blob_path_ends_with must be set.

    description str
    The description for the Data Factory Blob Event Trigger.
    ignore_empty_blobs bool
    are blobs with zero bytes ignored?
    name str
    Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
    dataFactoryId String
    The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
    events List<String>
    List of events that will fire this trigger. Possible values are Microsoft.Storage.BlobCreated and Microsoft.Storage.BlobDeleted.
    pipelines List<Property Map>
    One or more pipeline blocks as defined below.
    storageAccountId String
    The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
    activated Boolean
    Specifies if the Data Factory Blob Event Trigger is activated. Defaults to true.
    additionalProperties Map<String>
    A map of additional properties to associate with the Data Factory Blob Event Trigger.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Blob Event Trigger.
    blobPathBeginsWith String
    The pattern that blob path starts with for trigger to fire.
    blobPathEndsWith String

    The pattern that blob path ends with for trigger to fire.

    Note: At least one of blob_path_begins_with and blob_path_ends_with must be set.

    description String
    The description for the Data Factory Blob Event Trigger.
    ignoreEmptyBlobs Boolean
    are blobs with zero bytes ignored?
    name String
    Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.

    Outputs

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

    Get an existing TriggerBlobEvent 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?: TriggerBlobEventState, opts?: CustomResourceOptions): TriggerBlobEvent
    @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,
            blob_path_begins_with: Optional[str] = None,
            blob_path_ends_with: Optional[str] = None,
            data_factory_id: Optional[str] = None,
            description: Optional[str] = None,
            events: Optional[Sequence[str]] = None,
            ignore_empty_blobs: Optional[bool] = None,
            name: Optional[str] = None,
            pipelines: Optional[Sequence[TriggerBlobEventPipelineArgs]] = None,
            storage_account_id: Optional[str] = None) -> TriggerBlobEvent
    func GetTriggerBlobEvent(ctx *Context, name string, id IDInput, state *TriggerBlobEventState, opts ...ResourceOption) (*TriggerBlobEvent, error)
    public static TriggerBlobEvent Get(string name, Input<string> id, TriggerBlobEventState? state, CustomResourceOptions? opts = null)
    public static TriggerBlobEvent get(String name, Output<String> id, TriggerBlobEventState 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 Blob Event Trigger is activated. Defaults to true.
    AdditionalProperties Dictionary<string, string>
    A map of additional properties to associate with the Data Factory Blob Event Trigger.
    Annotations List<string>
    List of tags that can be used for describing the Data Factory Blob Event Trigger.
    BlobPathBeginsWith string
    The pattern that blob path starts with for trigger to fire.
    BlobPathEndsWith string

    The pattern that blob path ends with for trigger to fire.

    Note: At least one of blob_path_begins_with and blob_path_ends_with must be set.

    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 Blob Event Trigger.
    Events List<string>
    List of events that will fire this trigger. Possible values are Microsoft.Storage.BlobCreated and Microsoft.Storage.BlobDeleted.
    IgnoreEmptyBlobs bool
    are blobs with zero bytes ignored?
    Name string
    Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
    Pipelines List<TriggerBlobEventPipeline>
    One or more pipeline blocks as defined below.
    StorageAccountId string
    The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
    Activated bool
    Specifies if the Data Factory Blob Event Trigger is activated. Defaults to true.
    AdditionalProperties map[string]string
    A map of additional properties to associate with the Data Factory Blob Event Trigger.
    Annotations []string
    List of tags that can be used for describing the Data Factory Blob Event Trigger.
    BlobPathBeginsWith string
    The pattern that blob path starts with for trigger to fire.
    BlobPathEndsWith string

    The pattern that blob path ends with for trigger to fire.

    Note: At least one of blob_path_begins_with and blob_path_ends_with must be set.

    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 Blob Event Trigger.
    Events []string
    List of events that will fire this trigger. Possible values are Microsoft.Storage.BlobCreated and Microsoft.Storage.BlobDeleted.
    IgnoreEmptyBlobs bool
    are blobs with zero bytes ignored?
    Name string
    Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
    Pipelines []TriggerBlobEventPipelineArgs
    One or more pipeline blocks as defined below.
    StorageAccountId string
    The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
    activated Boolean
    Specifies if the Data Factory Blob Event Trigger is activated. Defaults to true.
    additionalProperties Map<String,String>
    A map of additional properties to associate with the Data Factory Blob Event Trigger.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Blob Event Trigger.
    blobPathBeginsWith String
    The pattern that blob path starts with for trigger to fire.
    blobPathEndsWith String

    The pattern that blob path ends with for trigger to fire.

    Note: At least one of blob_path_begins_with and blob_path_ends_with must be set.

    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 Blob Event Trigger.
    events List<String>
    List of events that will fire this trigger. Possible values are Microsoft.Storage.BlobCreated and Microsoft.Storage.BlobDeleted.
    ignoreEmptyBlobs Boolean
    are blobs with zero bytes ignored?
    name String
    Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
    pipelines List<TriggerBlobEventPipeline>
    One or more pipeline blocks as defined below.
    storageAccountId String
    The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
    activated boolean
    Specifies if the Data Factory Blob Event Trigger is activated. Defaults to true.
    additionalProperties {[key: string]: string}
    A map of additional properties to associate with the Data Factory Blob Event Trigger.
    annotations string[]
    List of tags that can be used for describing the Data Factory Blob Event Trigger.
    blobPathBeginsWith string
    The pattern that blob path starts with for trigger to fire.
    blobPathEndsWith string

    The pattern that blob path ends with for trigger to fire.

    Note: At least one of blob_path_begins_with and blob_path_ends_with must be set.

    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 Blob Event Trigger.
    events string[]
    List of events that will fire this trigger. Possible values are Microsoft.Storage.BlobCreated and Microsoft.Storage.BlobDeleted.
    ignoreEmptyBlobs boolean
    are blobs with zero bytes ignored?
    name string
    Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
    pipelines TriggerBlobEventPipeline[]
    One or more pipeline blocks as defined below.
    storageAccountId string
    The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
    activated bool
    Specifies if the Data Factory Blob Event Trigger is activated. Defaults to true.
    additional_properties Mapping[str, str]
    A map of additional properties to associate with the Data Factory Blob Event Trigger.
    annotations Sequence[str]
    List of tags that can be used for describing the Data Factory Blob Event Trigger.
    blob_path_begins_with str
    The pattern that blob path starts with for trigger to fire.
    blob_path_ends_with str

    The pattern that blob path ends with for trigger to fire.

    Note: At least one of blob_path_begins_with and blob_path_ends_with must be set.

    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 Blob Event Trigger.
    events Sequence[str]
    List of events that will fire this trigger. Possible values are Microsoft.Storage.BlobCreated and Microsoft.Storage.BlobDeleted.
    ignore_empty_blobs bool
    are blobs with zero bytes ignored?
    name str
    Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
    pipelines Sequence[TriggerBlobEventPipelineArgs]
    One or more pipeline blocks as defined below.
    storage_account_id str
    The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
    activated Boolean
    Specifies if the Data Factory Blob Event Trigger is activated. Defaults to true.
    additionalProperties Map<String>
    A map of additional properties to associate with the Data Factory Blob Event Trigger.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Blob Event Trigger.
    blobPathBeginsWith String
    The pattern that blob path starts with for trigger to fire.
    blobPathEndsWith String

    The pattern that blob path ends with for trigger to fire.

    Note: At least one of blob_path_begins_with and blob_path_ends_with must be set.

    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 Blob Event Trigger.
    events List<String>
    List of events that will fire this trigger. Possible values are Microsoft.Storage.BlobCreated and Microsoft.Storage.BlobDeleted.
    ignoreEmptyBlobs Boolean
    are blobs with zero bytes ignored?
    name String
    Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
    pipelines List<Property Map>
    One or more pipeline blocks as defined below.
    storageAccountId String
    The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.

    Supporting Types

    TriggerBlobEventPipeline, TriggerBlobEventPipelineArgs

    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 Blob Event Trigger can be imported using the resource id, e.g.

    $ pulumi import azure:datafactory/triggerBlobEvent:TriggerBlobEvent 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.73.0 published on Monday, Apr 22, 2024 by Pulumi