Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azure.datafactory.kotlin.TriggerBlobEventArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.datafactory.kotlin
import com.pulumi.azure.datafactory.TriggerBlobEventArgs.builder
import com.pulumi.azure.datafactory.kotlin.inputs.TriggerBlobEventPipelineArgs
import com.pulumi.azure.datafactory.kotlin.inputs.TriggerBlobEventPipelineArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Manages a Blob Event Trigger inside an Azure Data Factory.
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as azure from "@pulumi/azure";
* const example = new azure.core.ResourceGroup("example", {
* name: "example-resources",
* location: "West Europe",
* });
* const exampleFactory = new azure.datafactory.Factory("example", {
* name: "example",
* location: example.location,
* resourceGroupName: example.name,
* });
* const examplePipeline = new azure.datafactory.Pipeline("example", {
* name: "example",
* dataFactoryId: exampleFactory.id,
* });
* const 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",
* },
* });
* ```
* ```python
* 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=[{
* "name": example_pipeline.name,
* "parameters": {
* "env": "Prod",
* },
* }],
* additional_properties={
* "foo": "foo1",
* "bar": "bar2",
* })
* ```
* ```csharp
* 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" },
* },
* });
* });
* ```
* ```go
* 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
* })
* }
* ```
* ```java
* 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());
* }
* }
* ```
* ```yaml
* 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
* ```
*
* ## Import
* Data Factory Blob Event Trigger can be imported using the `resource id`, e.g.
* ```sh
* $ pulumi import azure:datafactory/triggerBlobEvent:TriggerBlobEvent example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/triggers/example
* ```
* @property activated Specifies if the Data Factory Blob Event Trigger is activated. Defaults to `true`.
* @property additionalProperties A map of additional properties to associate with the Data Factory Blob Event Trigger.
* @property annotations List of tags that can be used for describing the Data Factory Blob Event Trigger.
* @property blobPathBeginsWith The pattern that blob path starts with for trigger to fire.
* @property blobPathEndsWith 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.
* @property dataFactoryId The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
* @property description The description for the Data Factory Blob Event Trigger.
* @property events List of events that will fire this trigger. Possible values are `Microsoft.Storage.BlobCreated` and `Microsoft.Storage.BlobDeleted`.
* @property ignoreEmptyBlobs are blobs with zero bytes ignored?
* @property name Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
* @property pipelines One or more `pipeline` blocks as defined below.
* @property storageAccountId The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
*/
public data class TriggerBlobEventArgs(
public val activated: Output? = null,
public val additionalProperties: Output>? = null,
public val annotations: Output>? = null,
public val blobPathBeginsWith: Output? = null,
public val blobPathEndsWith: Output? = null,
public val dataFactoryId: Output? = null,
public val description: Output? = null,
public val events: Output>? = null,
public val ignoreEmptyBlobs: Output? = null,
public val name: Output? = null,
public val pipelines: Output>? = null,
public val storageAccountId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.datafactory.TriggerBlobEventArgs =
com.pulumi.azure.datafactory.TriggerBlobEventArgs.builder()
.activated(activated?.applyValue({ args0 -> args0 }))
.additionalProperties(
additionalProperties?.applyValue({ args0 ->
args0.map({ args0 ->
args0.key.to(args0.value)
}).toMap()
}),
)
.annotations(annotations?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.blobPathBeginsWith(blobPathBeginsWith?.applyValue({ args0 -> args0 }))
.blobPathEndsWith(blobPathEndsWith?.applyValue({ args0 -> args0 }))
.dataFactoryId(dataFactoryId?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.events(events?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.ignoreEmptyBlobs(ignoreEmptyBlobs?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.pipelines(
pipelines?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.storageAccountId(storageAccountId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TriggerBlobEventArgs].
*/
@PulumiTagMarker
public class TriggerBlobEventArgsBuilder internal constructor() {
private var activated: Output? = null
private var additionalProperties: Output>? = null
private var annotations: Output>? = null
private var blobPathBeginsWith: Output? = null
private var blobPathEndsWith: Output? = null
private var dataFactoryId: Output? = null
private var description: Output? = null
private var events: Output>? = null
private var ignoreEmptyBlobs: Output? = null
private var name: Output? = null
private var pipelines: Output>? = null
private var storageAccountId: Output? = null
/**
* @param value Specifies if the Data Factory Blob Event Trigger is activated. Defaults to `true`.
*/
@JvmName("vlxwutqixkjifqdp")
public suspend fun activated(`value`: Output) {
this.activated = value
}
/**
* @param value A map of additional properties to associate with the Data Factory Blob Event Trigger.
*/
@JvmName("oxxjtexlnnuppdtq")
public suspend fun additionalProperties(`value`: Output>) {
this.additionalProperties = value
}
/**
* @param value List of tags that can be used for describing the Data Factory Blob Event Trigger.
*/
@JvmName("fapnornlhiglqhey")
public suspend fun annotations(`value`: Output>) {
this.annotations = value
}
@JvmName("nobaypmarmtouick")
public suspend fun annotations(vararg values: Output) {
this.annotations = Output.all(values.asList())
}
/**
* @param values List of tags that can be used for describing the Data Factory Blob Event Trigger.
*/
@JvmName("odmiflkkmhuyuewg")
public suspend fun annotations(values: List>) {
this.annotations = Output.all(values)
}
/**
* @param value The pattern that blob path starts with for trigger to fire.
*/
@JvmName("wjjrpfdlopxwnjlo")
public suspend fun blobPathBeginsWith(`value`: Output) {
this.blobPathBeginsWith = value
}
/**
* @param value 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.
*/
@JvmName("psfmknnxdehpracn")
public suspend fun blobPathEndsWith(`value`: Output) {
this.blobPathEndsWith = value
}
/**
* @param value The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
*/
@JvmName("hmvbafapdwsagaep")
public suspend fun dataFactoryId(`value`: Output) {
this.dataFactoryId = value
}
/**
* @param value The description for the Data Factory Blob Event Trigger.
*/
@JvmName("vnomgngflywhojhc")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value List of events that will fire this trigger. Possible values are `Microsoft.Storage.BlobCreated` and `Microsoft.Storage.BlobDeleted`.
*/
@JvmName("rhukemtwkopmfeos")
public suspend fun events(`value`: Output>) {
this.events = value
}
@JvmName("fqrokaoeoxwwavog")
public suspend fun events(vararg values: Output) {
this.events = Output.all(values.asList())
}
/**
* @param values List of events that will fire this trigger. Possible values are `Microsoft.Storage.BlobCreated` and `Microsoft.Storage.BlobDeleted`.
*/
@JvmName("wsprmiofjtivduea")
public suspend fun events(values: List>) {
this.events = Output.all(values)
}
/**
* @param value are blobs with zero bytes ignored?
*/
@JvmName("ajbstlowbllwcbtw")
public suspend fun ignoreEmptyBlobs(`value`: Output) {
this.ignoreEmptyBlobs = value
}
/**
* @param value Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
*/
@JvmName("auifjrkfodvfovim")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value One or more `pipeline` blocks as defined below.
*/
@JvmName("ienvqlfjrhgxvwju")
public suspend fun pipelines(`value`: Output>) {
this.pipelines = value
}
@JvmName("sendhcgodnaahpxy")
public suspend fun pipelines(vararg values: Output) {
this.pipelines = Output.all(values.asList())
}
/**
* @param values One or more `pipeline` blocks as defined below.
*/
@JvmName("fjgmcwlrkbhbgbyf")
public suspend fun pipelines(values: List>) {
this.pipelines = Output.all(values)
}
/**
* @param value The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
*/
@JvmName("gmneeiivfbrvpcwd")
public suspend fun storageAccountId(`value`: Output) {
this.storageAccountId = value
}
/**
* @param value Specifies if the Data Factory Blob Event Trigger is activated. Defaults to `true`.
*/
@JvmName("hipjdatjpqpwrjdt")
public suspend fun activated(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.activated = mapped
}
/**
* @param value A map of additional properties to associate with the Data Factory Blob Event Trigger.
*/
@JvmName("yhsjfhphbyycoubp")
public suspend fun additionalProperties(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.additionalProperties = mapped
}
/**
* @param values A map of additional properties to associate with the Data Factory Blob Event Trigger.
*/
@JvmName("gtxmmgiyxvoebkga")
public fun additionalProperties(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.additionalProperties = mapped
}
/**
* @param value List of tags that can be used for describing the Data Factory Blob Event Trigger.
*/
@JvmName("hdgmnkaouoemhoem")
public suspend fun annotations(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.annotations = mapped
}
/**
* @param values List of tags that can be used for describing the Data Factory Blob Event Trigger.
*/
@JvmName("ljqgxfqqkupiqjvo")
public suspend fun annotations(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.annotations = mapped
}
/**
* @param value The pattern that blob path starts with for trigger to fire.
*/
@JvmName("jksijntqtbcnpdmi")
public suspend fun blobPathBeginsWith(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.blobPathBeginsWith = mapped
}
/**
* @param value 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.
*/
@JvmName("wvnbqivvrbavwrwk")
public suspend fun blobPathEndsWith(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.blobPathEndsWith = mapped
}
/**
* @param value The ID of Data Factory in which to associate the Trigger with. Changing this forces a new resource.
*/
@JvmName("orvtqbqwalkstxnc")
public suspend fun dataFactoryId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataFactoryId = mapped
}
/**
* @param value The description for the Data Factory Blob Event Trigger.
*/
@JvmName("eytartjfkhhtmxkh")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value List of events that will fire this trigger. Possible values are `Microsoft.Storage.BlobCreated` and `Microsoft.Storage.BlobDeleted`.
*/
@JvmName("qguvisgjyaabtvri")
public suspend fun events(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.events = mapped
}
/**
* @param values List of events that will fire this trigger. Possible values are `Microsoft.Storage.BlobCreated` and `Microsoft.Storage.BlobDeleted`.
*/
@JvmName("vyckdjdsphgfcvia")
public suspend fun events(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.events = mapped
}
/**
* @param value are blobs with zero bytes ignored?
*/
@JvmName("cciqcnpxapmpxvfw")
public suspend fun ignoreEmptyBlobs(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ignoreEmptyBlobs = mapped
}
/**
* @param value Specifies the name of the Data Factory Blob Event Trigger. Changing this forces a new resource to be created.
*/
@JvmName("ugkyggffuasbhmqt")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value One or more `pipeline` blocks as defined below.
*/
@JvmName("cdmubrnrbinevkqw")
public suspend fun pipelines(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.pipelines = mapped
}
/**
* @param argument One or more `pipeline` blocks as defined below.
*/
@JvmName("qwiymfpjundtvewr")
public suspend fun pipelines(argument: List Unit>) {
val toBeMapped = argument.toList().map {
TriggerBlobEventPipelineArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.pipelines = mapped
}
/**
* @param argument One or more `pipeline` blocks as defined below.
*/
@JvmName("swspcprudpjvufsn")
public suspend fun pipelines(vararg argument: suspend TriggerBlobEventPipelineArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
TriggerBlobEventPipelineArgsBuilder().applySuspend {
it()
}.build()
}
val mapped = of(toBeMapped)
this.pipelines = mapped
}
/**
* @param argument One or more `pipeline` blocks as defined below.
*/
@JvmName("trbycfrgjgluoyfn")
public suspend fun pipelines(argument: suspend TriggerBlobEventPipelineArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
TriggerBlobEventPipelineArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.pipelines = mapped
}
/**
* @param values One or more `pipeline` blocks as defined below.
*/
@JvmName("tocgxyxvamjoduqf")
public suspend fun pipelines(vararg values: TriggerBlobEventPipelineArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.pipelines = mapped
}
/**
* @param value The ID of Storage Account in which blob event will be listened. Changing this forces a new resource.
*/
@JvmName("ekjrperorifnfsqi")
public suspend fun storageAccountId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storageAccountId = mapped
}
internal fun build(): TriggerBlobEventArgs = TriggerBlobEventArgs(
activated = activated,
additionalProperties = additionalProperties,
annotations = annotations,
blobPathBeginsWith = blobPathBeginsWith,
blobPathEndsWith = blobPathEndsWith,
dataFactoryId = dataFactoryId,
description = description,
events = events,
ignoreEmptyBlobs = ignoreEmptyBlobs,
name = name,
pipelines = pipelines,
storageAccountId = storageAccountId,
)
}