All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.datafactory.kotlin.DatasetAzureBlobArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.datafactory.kotlin

import com.pulumi.azure.datafactory.DatasetAzureBlobArgs.builder
import com.pulumi.azure.datafactory.kotlin.inputs.DatasetAzureBlobSchemaColumnArgs
import com.pulumi.azure.datafactory.kotlin.inputs.DatasetAzureBlobSchemaColumnArgsBuilder
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 an Azure Blob Dataset inside an Azure Data Factory.
 * ## Example Usage
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * const exampleResourceGroup = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const example = azure.storage.getAccountOutput({
 *     name: "storageaccountname",
 *     resourceGroupName: exampleResourceGroup.name,
 * });
 * const exampleFactory = new azure.datafactory.Factory("example", {
 *     name: "example",
 *     location: exampleResourceGroup.location,
 *     resourceGroupName: exampleResourceGroup.name,
 * });
 * const exampleLinkedServiceAzureBlobStorage = new azure.datafactory.LinkedServiceAzureBlobStorage("example", {
 *     name: "example",
 *     dataFactoryId: exampleFactory.id,
 *     connectionString: example.apply(example => example.primaryConnectionString),
 * });
 * const exampleDatasetAzureBlob = new azure.datafactory.DatasetAzureBlob("example", {
 *     name: "example",
 *     dataFactoryId: exampleFactory.id,
 *     linkedServiceName: exampleLinkedServiceAzureBlobStorage.name,
 *     path: "foo",
 *     filename: "bar.png",
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_azure as azure
 * example_resource_group = azure.core.ResourceGroup("example",
 *     name="example-resources",
 *     location="West Europe")
 * example = azure.storage.get_account_output(name="storageaccountname",
 *     resource_group_name=example_resource_group.name)
 * example_factory = azure.datafactory.Factory("example",
 *     name="example",
 *     location=example_resource_group.location,
 *     resource_group_name=example_resource_group.name)
 * example_linked_service_azure_blob_storage = azure.datafactory.LinkedServiceAzureBlobStorage("example",
 *     name="example",
 *     data_factory_id=example_factory.id,
 *     connection_string=example.primary_connection_string)
 * example_dataset_azure_blob = azure.datafactory.DatasetAzureBlob("example",
 *     name="example",
 *     data_factory_id=example_factory.id,
 *     linked_service_name=example_linked_service_azure_blob_storage.name,
 *     path="foo",
 *     filename="bar.png")
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Azure = Pulumi.Azure;
 * return await Deployment.RunAsync(() =>
 * {
 *     var exampleResourceGroup = new Azure.Core.ResourceGroup("example", new()
 *     {
 *         Name = "example-resources",
 *         Location = "West Europe",
 *     });
 *     var example = Azure.Storage.GetAccount.Invoke(new()
 *     {
 *         Name = "storageaccountname",
 *         ResourceGroupName = exampleResourceGroup.Name,
 *     });
 *     var exampleFactory = new Azure.DataFactory.Factory("example", new()
 *     {
 *         Name = "example",
 *         Location = exampleResourceGroup.Location,
 *         ResourceGroupName = exampleResourceGroup.Name,
 *     });
 *     var exampleLinkedServiceAzureBlobStorage = new Azure.DataFactory.LinkedServiceAzureBlobStorage("example", new()
 *     {
 *         Name = "example",
 *         DataFactoryId = exampleFactory.Id,
 *         ConnectionString = example.Apply(getAccountResult => getAccountResult.PrimaryConnectionString),
 *     });
 *     var exampleDatasetAzureBlob = new Azure.DataFactory.DatasetAzureBlob("example", new()
 *     {
 *         Name = "example",
 *         DataFactoryId = exampleFactory.Id,
 *         LinkedServiceName = exampleLinkedServiceAzureBlobStorage.Name,
 *         Path = "foo",
 *         Filename = "bar.png",
 *     });
 * });
 * ```
 * ```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 {
 * 		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
 * 			Name:     pulumi.String("example-resources"),
 * 			Location: pulumi.String("West Europe"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		example := storage.LookupAccountOutput(ctx, storage.GetAccountOutputArgs{
 * 			Name:              pulumi.String("storageaccountname"),
 * 			ResourceGroupName: exampleResourceGroup.Name,
 * 		}, nil)
 * 		exampleFactory, err := datafactory.NewFactory(ctx, "example", &datafactory.FactoryArgs{
 * 			Name:              pulumi.String("example"),
 * 			Location:          exampleResourceGroup.Location,
 * 			ResourceGroupName: exampleResourceGroup.Name,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleLinkedServiceAzureBlobStorage, err := datafactory.NewLinkedServiceAzureBlobStorage(ctx, "example", &datafactory.LinkedServiceAzureBlobStorageArgs{
 * 			Name:          pulumi.String("example"),
 * 			DataFactoryId: exampleFactory.ID(),
 * 			ConnectionString: pulumi.String(example.ApplyT(func(example storage.GetAccountResult) (*string, error) {
 * 				return &example.PrimaryConnectionString, nil
 * 			}).(pulumi.StringPtrOutput)),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = datafactory.NewDatasetAzureBlob(ctx, "example", &datafactory.DatasetAzureBlobArgs{
 * 			Name:              pulumi.String("example"),
 * 			DataFactoryId:     exampleFactory.ID(),
 * 			LinkedServiceName: exampleLinkedServiceAzureBlobStorage.Name,
 * 			Path:              pulumi.String("foo"),
 * 			Filename:          pulumi.String("bar.png"),
 * 		})
 * 		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.storage.StorageFunctions;
 * import com.pulumi.azure.storage.inputs.GetAccountArgs;
 * import com.pulumi.azure.datafactory.Factory;
 * import com.pulumi.azure.datafactory.FactoryArgs;
 * import com.pulumi.azure.datafactory.LinkedServiceAzureBlobStorage;
 * import com.pulumi.azure.datafactory.LinkedServiceAzureBlobStorageArgs;
 * import com.pulumi.azure.datafactory.DatasetAzureBlob;
 * import com.pulumi.azure.datafactory.DatasetAzureBlobArgs;
 * 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()
 *             .name("example-resources")
 *             .location("West Europe")
 *             .build());
 *         final var example = StorageFunctions.getAccount(GetAccountArgs.builder()
 *             .name("storageaccountname")
 *             .resourceGroupName(exampleResourceGroup.name())
 *             .build());
 *         var exampleFactory = new Factory("exampleFactory", FactoryArgs.builder()
 *             .name("example")
 *             .location(exampleResourceGroup.location())
 *             .resourceGroupName(exampleResourceGroup.name())
 *             .build());
 *         var exampleLinkedServiceAzureBlobStorage = new LinkedServiceAzureBlobStorage("exampleLinkedServiceAzureBlobStorage", LinkedServiceAzureBlobStorageArgs.builder()
 *             .name("example")
 *             .dataFactoryId(exampleFactory.id())
 *             .connectionString(example.applyValue(getAccountResult -> getAccountResult).applyValue(example -> example.applyValue(getAccountResult -> getAccountResult.primaryConnectionString())))
 *             .build());
 *         var exampleDatasetAzureBlob = new DatasetAzureBlob("exampleDatasetAzureBlob", DatasetAzureBlobArgs.builder()
 *             .name("example")
 *             .dataFactoryId(exampleFactory.id())
 *             .linkedServiceName(exampleLinkedServiceAzureBlobStorage.name())
 *             .path("foo")
 *             .filename("bar.png")
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   exampleResourceGroup:
 *     type: azure:core:ResourceGroup
 *     name: example
 *     properties:
 *       name: example-resources
 *       location: West Europe
 *   exampleFactory:
 *     type: azure:datafactory:Factory
 *     name: example
 *     properties:
 *       name: example
 *       location: ${exampleResourceGroup.location}
 *       resourceGroupName: ${exampleResourceGroup.name}
 *   exampleLinkedServiceAzureBlobStorage:
 *     type: azure:datafactory:LinkedServiceAzureBlobStorage
 *     name: example
 *     properties:
 *       name: example
 *       dataFactoryId: ${exampleFactory.id}
 *       connectionString: ${example.primaryConnectionString}
 *   exampleDatasetAzureBlob:
 *     type: azure:datafactory:DatasetAzureBlob
 *     name: example
 *     properties:
 *       name: example
 *       dataFactoryId: ${exampleFactory.id}
 *       linkedServiceName: ${exampleLinkedServiceAzureBlobStorage.name}
 *       path: foo
 *       filename: bar.png
 * variables:
 *   example:
 *     fn::invoke:
 *       Function: azure:storage:getAccount
 *       Arguments:
 *         name: storageaccountname
 *         resourceGroupName: ${exampleResourceGroup.name}
 * ```
 * 
 * ## Import
 * Data Factory Datasets can be imported using the `resource id`, e.g.
 * ```sh
 * $ pulumi import azure:datafactory/datasetAzureBlob:DatasetAzureBlob example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/datasets/example
 * ```
 * @property additionalProperties A map of additional properties to associate with the Data Factory Dataset.
 * The following supported arguments are specific to Azure Blob Dataset:
 * @property annotations List of tags that can be used for describing the Data Factory Dataset.
 * @property dataFactoryId The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
 * @property description The description for the Data Factory Dataset.
 * @property dynamicFilenameEnabled Is the `filename` using dynamic expression, function or system variables? Defaults to `false`.
 * @property dynamicPathEnabled Is the `path` using dynamic expression, function or system variables? Defaults to `false`.
 * @property filename The filename of the Azure Blob.
 * @property folder The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
 * @property linkedServiceName The Data Factory Linked Service name in which to associate the Dataset with.
 * @property name Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the [Microsoft documentation](https://docs.microsoft.com/azure/data-factory/naming-rules) for all restrictions.
 * @property parameters A map of parameters to associate with the Data Factory Dataset.
 * @property path The path of the Azure Blob.
 * @property schemaColumns A `schema_column` block as defined below.
 */
public data class DatasetAzureBlobArgs(
    public val additionalProperties: Output>? = null,
    public val annotations: Output>? = null,
    public val dataFactoryId: Output? = null,
    public val description: Output? = null,
    public val dynamicFilenameEnabled: Output? = null,
    public val dynamicPathEnabled: Output? = null,
    public val filename: Output? = null,
    public val folder: Output? = null,
    public val linkedServiceName: Output? = null,
    public val name: Output? = null,
    public val parameters: Output>? = null,
    public val path: Output? = null,
    public val schemaColumns: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.datafactory.DatasetAzureBlobArgs =
        com.pulumi.azure.datafactory.DatasetAzureBlobArgs.builder()
            .additionalProperties(
                additionalProperties?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .annotations(annotations?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .dataFactoryId(dataFactoryId?.applyValue({ args0 -> args0 }))
            .description(description?.applyValue({ args0 -> args0 }))
            .dynamicFilenameEnabled(dynamicFilenameEnabled?.applyValue({ args0 -> args0 }))
            .dynamicPathEnabled(dynamicPathEnabled?.applyValue({ args0 -> args0 }))
            .filename(filename?.applyValue({ args0 -> args0 }))
            .folder(folder?.applyValue({ args0 -> args0 }))
            .linkedServiceName(linkedServiceName?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .parameters(
                parameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .path(path?.applyValue({ args0 -> args0 }))
            .schemaColumns(
                schemaColumns?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [DatasetAzureBlobArgs].
 */
@PulumiTagMarker
public class DatasetAzureBlobArgsBuilder internal constructor() {
    private var additionalProperties: Output>? = null

    private var annotations: Output>? = null

    private var dataFactoryId: Output? = null

    private var description: Output? = null

    private var dynamicFilenameEnabled: Output? = null

    private var dynamicPathEnabled: Output? = null

    private var filename: Output? = null

    private var folder: Output? = null

    private var linkedServiceName: Output? = null

    private var name: Output? = null

    private var parameters: Output>? = null

    private var path: Output? = null

    private var schemaColumns: Output>? = null

    /**
     * @param value A map of additional properties to associate with the Data Factory Dataset.
     * The following supported arguments are specific to Azure Blob Dataset:
     */
    @JvmName("syhuskdoqtflxpgn")
    public suspend fun additionalProperties(`value`: Output>) {
        this.additionalProperties = value
    }

    /**
     * @param value List of tags that can be used for describing the Data Factory Dataset.
     */
    @JvmName("rbrgfhavfhycxser")
    public suspend fun annotations(`value`: Output>) {
        this.annotations = value
    }

    @JvmName("oshvfajqsxqsnnmx")
    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 Dataset.
     */
    @JvmName("askpwptemdqoljto")
    public suspend fun annotations(values: List>) {
        this.annotations = Output.all(values)
    }

    /**
     * @param value The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
     */
    @JvmName("cdgilddkwrwujdee")
    public suspend fun dataFactoryId(`value`: Output) {
        this.dataFactoryId = value
    }

    /**
     * @param value The description for the Data Factory Dataset.
     */
    @JvmName("juynlglxoxwdbhly")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Is the `filename` using dynamic expression, function or system variables? Defaults to `false`.
     */
    @JvmName("ylmuvhcdkhpirlqh")
    public suspend fun dynamicFilenameEnabled(`value`: Output) {
        this.dynamicFilenameEnabled = value
    }

    /**
     * @param value Is the `path` using dynamic expression, function or system variables? Defaults to `false`.
     */
    @JvmName("rewfjcjdqbkgiucm")
    public suspend fun dynamicPathEnabled(`value`: Output) {
        this.dynamicPathEnabled = value
    }

    /**
     * @param value The filename of the Azure Blob.
     */
    @JvmName("cejpriyidjgbyjqq")
    public suspend fun filename(`value`: Output) {
        this.filename = value
    }

    /**
     * @param value The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
     */
    @JvmName("catsewyerdwmtlgp")
    public suspend fun folder(`value`: Output) {
        this.folder = value
    }

    /**
     * @param value The Data Factory Linked Service name in which to associate the Dataset with.
     */
    @JvmName("fxtxbreupxorwpgj")
    public suspend fun linkedServiceName(`value`: Output) {
        this.linkedServiceName = value
    }

    /**
     * @param value Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the [Microsoft documentation](https://docs.microsoft.com/azure/data-factory/naming-rules) for all restrictions.
     */
    @JvmName("dsbnlwmotgljmyvc")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value A map of parameters to associate with the Data Factory Dataset.
     */
    @JvmName("tuosipmhpotljher")
    public suspend fun parameters(`value`: Output>) {
        this.parameters = value
    }

    /**
     * @param value The path of the Azure Blob.
     */
    @JvmName("coqicwddhmogowxb")
    public suspend fun path(`value`: Output) {
        this.path = value
    }

    /**
     * @param value A `schema_column` block as defined below.
     */
    @JvmName("ayoohtjmwxgxctnc")
    public suspend fun schemaColumns(`value`: Output>) {
        this.schemaColumns = value
    }

    @JvmName("owppikwhrraulejq")
    public suspend fun schemaColumns(vararg values: Output) {
        this.schemaColumns = Output.all(values.asList())
    }

    /**
     * @param values A `schema_column` block as defined below.
     */
    @JvmName("nwbixogorepelusm")
    public suspend fun schemaColumns(values: List>) {
        this.schemaColumns = Output.all(values)
    }

    /**
     * @param value A map of additional properties to associate with the Data Factory Dataset.
     * The following supported arguments are specific to Azure Blob Dataset:
     */
    @JvmName("wrtwynphashmihfh")
    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 Dataset.
     * The following supported arguments are specific to Azure Blob Dataset:
     */
    @JvmName("uyljhjrchdtlqjsx")
    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 Dataset.
     */
    @JvmName("ynrvawlaahvbftlb")
    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 Dataset.
     */
    @JvmName("tidcyqforxbhdkkq")
    public suspend fun annotations(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.annotations = mapped
    }

    /**
     * @param value The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
     */
    @JvmName("mqtpbrkytbbccaqt")
    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 Dataset.
     */
    @JvmName("sdcsclbolonellax")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Is the `filename` using dynamic expression, function or system variables? Defaults to `false`.
     */
    @JvmName("fhvwbnesfhjyfdbu")
    public suspend fun dynamicFilenameEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dynamicFilenameEnabled = mapped
    }

    /**
     * @param value Is the `path` using dynamic expression, function or system variables? Defaults to `false`.
     */
    @JvmName("ggpsqwtnsykywcgg")
    public suspend fun dynamicPathEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dynamicPathEnabled = mapped
    }

    /**
     * @param value The filename of the Azure Blob.
     */
    @JvmName("qwtnqnfkqwuvbwlm")
    public suspend fun filename(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.filename = mapped
    }

    /**
     * @param value The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
     */
    @JvmName("vpypxbkmaqdjicfs")
    public suspend fun folder(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.folder = mapped
    }

    /**
     * @param value The Data Factory Linked Service name in which to associate the Dataset with.
     */
    @JvmName("dpevyhwbsxbcfsnp")
    public suspend fun linkedServiceName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.linkedServiceName = mapped
    }

    /**
     * @param value Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the [Microsoft documentation](https://docs.microsoft.com/azure/data-factory/naming-rules) for all restrictions.
     */
    @JvmName("qdogurfxcmmxehbj")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value A map of parameters to associate with the Data Factory Dataset.
     */
    @JvmName("cijxcrcisdqqaubt")
    public suspend fun parameters(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    /**
     * @param values A map of parameters to associate with the Data Factory Dataset.
     */
    @JvmName("jsxeiqobkeaabkxg")
    public fun parameters(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    /**
     * @param value The path of the Azure Blob.
     */
    @JvmName("wbunimxmujiylfnk")
    public suspend fun path(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.path = mapped
    }

    /**
     * @param value A `schema_column` block as defined below.
     */
    @JvmName("yjemmwtjejkwaodr")
    public suspend fun schemaColumns(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.schemaColumns = mapped
    }

    /**
     * @param argument A `schema_column` block as defined below.
     */
    @JvmName("roellqmqvlderwfv")
    public suspend fun schemaColumns(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DatasetAzureBlobSchemaColumnArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.schemaColumns = mapped
    }

    /**
     * @param argument A `schema_column` block as defined below.
     */
    @JvmName("nigudepmgobihdbl")
    public suspend fun schemaColumns(vararg argument: suspend DatasetAzureBlobSchemaColumnArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DatasetAzureBlobSchemaColumnArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.schemaColumns = mapped
    }

    /**
     * @param argument A `schema_column` block as defined below.
     */
    @JvmName("ogckraokkygiimkt")
    public suspend fun schemaColumns(argument: suspend DatasetAzureBlobSchemaColumnArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DatasetAzureBlobSchemaColumnArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.schemaColumns = mapped
    }

    /**
     * @param values A `schema_column` block as defined below.
     */
    @JvmName("lyplmkivpjlxywgl")
    public suspend fun schemaColumns(vararg values: DatasetAzureBlobSchemaColumnArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.schemaColumns = mapped
    }

    internal fun build(): DatasetAzureBlobArgs = DatasetAzureBlobArgs(
        additionalProperties = additionalProperties,
        annotations = annotations,
        dataFactoryId = dataFactoryId,
        description = description,
        dynamicFilenameEnabled = dynamicFilenameEnabled,
        dynamicPathEnabled = dynamicPathEnabled,
        filename = filename,
        folder = folder,
        linkedServiceName = linkedServiceName,
        name = name,
        parameters = parameters,
        path = path,
        schemaColumns = schemaColumns,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy