1. Packages
  2. Azure Native v1
  3. API Docs
  4. datashare
  5. ADLSGen2FileDataSetMapping
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.datashare.ADLSGen2FileDataSetMapping

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    An ADLS Gen2 file data set mapping. API Version: 2020-09-01.

    Example Usage

    DataSetMappings_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var adlsGen2FileDataSetMapping = new AzureNative.DataShare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", new()
        {
            AccountName = "Account1",
            DataSetMappingName = "DatasetMapping1",
            ResourceGroupName = "SampleResourceGroup",
            ShareSubscriptionName = "ShareSubscription1",
        });
    
    });
    
    package main
    
    import (
    	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datashare.NewADLSGen2FileDataSetMapping(ctx, "adlsGen2FileDataSetMapping", &datashare.ADLSGen2FileDataSetMappingArgs{
    			AccountName:           pulumi.String("Account1"),
    			DataSetMappingName:    pulumi.String("DatasetMapping1"),
    			ResourceGroupName:     pulumi.String("SampleResourceGroup"),
    			ShareSubscriptionName: pulumi.String("ShareSubscription1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datashare.ADLSGen2FileDataSetMapping;
    import com.pulumi.azurenative.datashare.ADLSGen2FileDataSetMappingArgs;
    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 adlsGen2FileDataSetMapping = new ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", ADLSGen2FileDataSetMappingArgs.builder()        
                .accountName("Account1")
                .dataSetMappingName("DatasetMapping1")
                .resourceGroupName("SampleResourceGroup")
                .shareSubscriptionName("ShareSubscription1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    adls_gen2_file_data_set_mapping = azure_native.datashare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping",
        account_name="Account1",
        data_set_mapping_name="DatasetMapping1",
        resource_group_name="SampleResourceGroup",
        share_subscription_name="ShareSubscription1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const adlsGen2FileDataSetMapping = new azure_native.datashare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", {
        accountName: "Account1",
        dataSetMappingName: "DatasetMapping1",
        resourceGroupName: "SampleResourceGroup",
        shareSubscriptionName: "ShareSubscription1",
    });
    
    resources:
      adlsGen2FileDataSetMapping:
        type: azure-native:datashare:ADLSGen2FileDataSetMapping
        properties:
          accountName: Account1
          dataSetMappingName: DatasetMapping1
          resourceGroupName: SampleResourceGroup
          shareSubscriptionName: ShareSubscription1
    

    DataSetMappings_SqlDB_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var adlsGen2FileDataSetMapping = new AzureNative.DataShare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", new()
        {
            AccountName = "Account1",
            DataSetMappingName = "DatasetMapping1",
            ResourceGroupName = "SampleResourceGroup",
            ShareSubscriptionName = "ShareSubscription1",
        });
    
    });
    
    package main
    
    import (
    	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datashare.NewADLSGen2FileDataSetMapping(ctx, "adlsGen2FileDataSetMapping", &datashare.ADLSGen2FileDataSetMappingArgs{
    			AccountName:           pulumi.String("Account1"),
    			DataSetMappingName:    pulumi.String("DatasetMapping1"),
    			ResourceGroupName:     pulumi.String("SampleResourceGroup"),
    			ShareSubscriptionName: pulumi.String("ShareSubscription1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datashare.ADLSGen2FileDataSetMapping;
    import com.pulumi.azurenative.datashare.ADLSGen2FileDataSetMappingArgs;
    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 adlsGen2FileDataSetMapping = new ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", ADLSGen2FileDataSetMappingArgs.builder()        
                .accountName("Account1")
                .dataSetMappingName("DatasetMapping1")
                .resourceGroupName("SampleResourceGroup")
                .shareSubscriptionName("ShareSubscription1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    adls_gen2_file_data_set_mapping = azure_native.datashare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping",
        account_name="Account1",
        data_set_mapping_name="DatasetMapping1",
        resource_group_name="SampleResourceGroup",
        share_subscription_name="ShareSubscription1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const adlsGen2FileDataSetMapping = new azure_native.datashare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", {
        accountName: "Account1",
        dataSetMappingName: "DatasetMapping1",
        resourceGroupName: "SampleResourceGroup",
        shareSubscriptionName: "ShareSubscription1",
    });
    
    resources:
      adlsGen2FileDataSetMapping:
        type: azure-native:datashare:ADLSGen2FileDataSetMapping
        properties:
          accountName: Account1
          dataSetMappingName: DatasetMapping1
          resourceGroupName: SampleResourceGroup
          shareSubscriptionName: ShareSubscription1
    

    DataSetMappings_SqlDWDataSetToAdlsGen2File_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var adlsGen2FileDataSetMapping = new AzureNative.DataShare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", new()
        {
            AccountName = "Account1",
            DataSetId = "a08f184b-0567-4b11-ba22-a1199336d226",
            DataSetMappingName = "DatasetMapping1",
            FilePath = "file21",
            FileSystem = "fileSystem",
            Kind = "AdlsGen2File",
            OutputType = "Csv",
            ResourceGroup = "SampleResourceGroup",
            ResourceGroupName = "SampleResourceGroup",
            ShareSubscriptionName = "ShareSubscription1",
            StorageAccountName = "storage2",
            SubscriptionId = "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
        });
    
    });
    
    package main
    
    import (
    	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datashare.NewADLSGen2FileDataSetMapping(ctx, "adlsGen2FileDataSetMapping", &datashare.ADLSGen2FileDataSetMappingArgs{
    			AccountName:           pulumi.String("Account1"),
    			DataSetId:             pulumi.String("a08f184b-0567-4b11-ba22-a1199336d226"),
    			DataSetMappingName:    pulumi.String("DatasetMapping1"),
    			FilePath:              pulumi.String("file21"),
    			FileSystem:            pulumi.String("fileSystem"),
    			Kind:                  pulumi.String("AdlsGen2File"),
    			OutputType:            pulumi.String("Csv"),
    			ResourceGroup:         pulumi.String("SampleResourceGroup"),
    			ResourceGroupName:     pulumi.String("SampleResourceGroup"),
    			ShareSubscriptionName: pulumi.String("ShareSubscription1"),
    			StorageAccountName:    pulumi.String("storage2"),
    			SubscriptionId:        pulumi.String("433a8dfd-e5d5-4e77-ad86-90acdc75eb1a"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datashare.ADLSGen2FileDataSetMapping;
    import com.pulumi.azurenative.datashare.ADLSGen2FileDataSetMappingArgs;
    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 adlsGen2FileDataSetMapping = new ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", ADLSGen2FileDataSetMappingArgs.builder()        
                .accountName("Account1")
                .dataSetId("a08f184b-0567-4b11-ba22-a1199336d226")
                .dataSetMappingName("DatasetMapping1")
                .filePath("file21")
                .fileSystem("fileSystem")
                .kind("AdlsGen2File")
                .outputType("Csv")
                .resourceGroup("SampleResourceGroup")
                .resourceGroupName("SampleResourceGroup")
                .shareSubscriptionName("ShareSubscription1")
                .storageAccountName("storage2")
                .subscriptionId("433a8dfd-e5d5-4e77-ad86-90acdc75eb1a")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    adls_gen2_file_data_set_mapping = azure_native.datashare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping",
        account_name="Account1",
        data_set_id="a08f184b-0567-4b11-ba22-a1199336d226",
        data_set_mapping_name="DatasetMapping1",
        file_path="file21",
        file_system="fileSystem",
        kind="AdlsGen2File",
        output_type="Csv",
        resource_group="SampleResourceGroup",
        resource_group_name="SampleResourceGroup",
        share_subscription_name="ShareSubscription1",
        storage_account_name="storage2",
        subscription_id="433a8dfd-e5d5-4e77-ad86-90acdc75eb1a")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const adlsGen2FileDataSetMapping = new azure_native.datashare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", {
        accountName: "Account1",
        dataSetId: "a08f184b-0567-4b11-ba22-a1199336d226",
        dataSetMappingName: "DatasetMapping1",
        filePath: "file21",
        fileSystem: "fileSystem",
        kind: "AdlsGen2File",
        outputType: "Csv",
        resourceGroup: "SampleResourceGroup",
        resourceGroupName: "SampleResourceGroup",
        shareSubscriptionName: "ShareSubscription1",
        storageAccountName: "storage2",
        subscriptionId: "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
    });
    
    resources:
      adlsGen2FileDataSetMapping:
        type: azure-native:datashare:ADLSGen2FileDataSetMapping
        properties:
          accountName: Account1
          dataSetId: a08f184b-0567-4b11-ba22-a1199336d226
          dataSetMappingName: DatasetMapping1
          filePath: file21
          fileSystem: fileSystem
          kind: AdlsGen2File
          outputType: Csv
          resourceGroup: SampleResourceGroup
          resourceGroupName: SampleResourceGroup
          shareSubscriptionName: ShareSubscription1
          storageAccountName: storage2
          subscriptionId: 433a8dfd-e5d5-4e77-ad86-90acdc75eb1a
    

    DataSetMappings_SqlDW_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var adlsGen2FileDataSetMapping = new AzureNative.DataShare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", new()
        {
            AccountName = "Account1",
            DataSetMappingName = "DatasetMapping1",
            ResourceGroupName = "SampleResourceGroup",
            ShareSubscriptionName = "ShareSubscription1",
        });
    
    });
    
    package main
    
    import (
    	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datashare.NewADLSGen2FileDataSetMapping(ctx, "adlsGen2FileDataSetMapping", &datashare.ADLSGen2FileDataSetMappingArgs{
    			AccountName:           pulumi.String("Account1"),
    			DataSetMappingName:    pulumi.String("DatasetMapping1"),
    			ResourceGroupName:     pulumi.String("SampleResourceGroup"),
    			ShareSubscriptionName: pulumi.String("ShareSubscription1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datashare.ADLSGen2FileDataSetMapping;
    import com.pulumi.azurenative.datashare.ADLSGen2FileDataSetMappingArgs;
    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 adlsGen2FileDataSetMapping = new ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", ADLSGen2FileDataSetMappingArgs.builder()        
                .accountName("Account1")
                .dataSetMappingName("DatasetMapping1")
                .resourceGroupName("SampleResourceGroup")
                .shareSubscriptionName("ShareSubscription1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    adls_gen2_file_data_set_mapping = azure_native.datashare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping",
        account_name="Account1",
        data_set_mapping_name="DatasetMapping1",
        resource_group_name="SampleResourceGroup",
        share_subscription_name="ShareSubscription1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const adlsGen2FileDataSetMapping = new azure_native.datashare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", {
        accountName: "Account1",
        dataSetMappingName: "DatasetMapping1",
        resourceGroupName: "SampleResourceGroup",
        shareSubscriptionName: "ShareSubscription1",
    });
    
    resources:
      adlsGen2FileDataSetMapping:
        type: azure-native:datashare:ADLSGen2FileDataSetMapping
        properties:
          accountName: Account1
          dataSetMappingName: DatasetMapping1
          resourceGroupName: SampleResourceGroup
          shareSubscriptionName: ShareSubscription1
    

    DataSetMappings_SynapseWorkspaceSqlPoolTable_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var adlsGen2FileDataSetMapping = new AzureNative.DataShare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", new()
        {
            AccountName = "consumerAccount",
            DataSetMappingName = "datasetMappingName1",
            ResourceGroupName = "SampleResourceGroup",
            ShareSubscriptionName = "ShareSubscription1",
        });
    
    });
    
    package main
    
    import (
    	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datashare.NewADLSGen2FileDataSetMapping(ctx, "adlsGen2FileDataSetMapping", &datashare.ADLSGen2FileDataSetMappingArgs{
    			AccountName:           pulumi.String("consumerAccount"),
    			DataSetMappingName:    pulumi.String("datasetMappingName1"),
    			ResourceGroupName:     pulumi.String("SampleResourceGroup"),
    			ShareSubscriptionName: pulumi.String("ShareSubscription1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datashare.ADLSGen2FileDataSetMapping;
    import com.pulumi.azurenative.datashare.ADLSGen2FileDataSetMappingArgs;
    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 adlsGen2FileDataSetMapping = new ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", ADLSGen2FileDataSetMappingArgs.builder()        
                .accountName("consumerAccount")
                .dataSetMappingName("datasetMappingName1")
                .resourceGroupName("SampleResourceGroup")
                .shareSubscriptionName("ShareSubscription1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    adls_gen2_file_data_set_mapping = azure_native.datashare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping",
        account_name="consumerAccount",
        data_set_mapping_name="datasetMappingName1",
        resource_group_name="SampleResourceGroup",
        share_subscription_name="ShareSubscription1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const adlsGen2FileDataSetMapping = new azure_native.datashare.ADLSGen2FileDataSetMapping("adlsGen2FileDataSetMapping", {
        accountName: "consumerAccount",
        dataSetMappingName: "datasetMappingName1",
        resourceGroupName: "SampleResourceGroup",
        shareSubscriptionName: "ShareSubscription1",
    });
    
    resources:
      adlsGen2FileDataSetMapping:
        type: azure-native:datashare:ADLSGen2FileDataSetMapping
        properties:
          accountName: consumerAccount
          dataSetMappingName: datasetMappingName1
          resourceGroupName: SampleResourceGroup
          shareSubscriptionName: ShareSubscription1
    

    Create ADLSGen2FileDataSetMapping Resource

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

    Constructor syntax

    new ADLSGen2FileDataSetMapping(name: string, args: ADLSGen2FileDataSetMappingArgs, opts?: CustomResourceOptions);
    @overload
    def ADLSGen2FileDataSetMapping(resource_name: str,
                                   args: ADLSGen2FileDataSetMappingArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def ADLSGen2FileDataSetMapping(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   account_name: Optional[str] = None,
                                   data_set_id: Optional[str] = None,
                                   file_path: Optional[str] = None,
                                   file_system: Optional[str] = None,
                                   resource_group: Optional[str] = None,
                                   resource_group_name: Optional[str] = None,
                                   share_subscription_name: Optional[str] = None,
                                   storage_account_name: Optional[str] = None,
                                   subscription_id: Optional[str] = None,
                                   data_set_mapping_name: Optional[str] = None,
                                   output_type: Optional[Union[str, OutputType]] = None)
    func NewADLSGen2FileDataSetMapping(ctx *Context, name string, args ADLSGen2FileDataSetMappingArgs, opts ...ResourceOption) (*ADLSGen2FileDataSetMapping, error)
    public ADLSGen2FileDataSetMapping(string name, ADLSGen2FileDataSetMappingArgs args, CustomResourceOptions? opts = null)
    public ADLSGen2FileDataSetMapping(String name, ADLSGen2FileDataSetMappingArgs args)
    public ADLSGen2FileDataSetMapping(String name, ADLSGen2FileDataSetMappingArgs args, CustomResourceOptions options)
    
    type: azure-native:datashare:ADLSGen2FileDataSetMapping
    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 ADLSGen2FileDataSetMappingArgs
    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 ADLSGen2FileDataSetMappingArgs
    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 ADLSGen2FileDataSetMappingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ADLSGen2FileDataSetMappingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ADLSGen2FileDataSetMappingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var adlsgen2FileDataSetMappingResource = new AzureNative.Datashare.ADLSGen2FileDataSetMapping("adlsgen2FileDataSetMappingResource", new()
    {
        AccountName = "string",
        DataSetId = "string",
        FilePath = "string",
        FileSystem = "string",
        Kind = "string",
        ResourceGroup = "string",
        ResourceGroupName = "string",
        ShareSubscriptionName = "string",
        StorageAccountName = "string",
        SubscriptionId = "string",
        DataSetMappingName = "string",
        OutputType = "string",
    });
    
    example, err := datashare.NewADLSGen2FileDataSetMapping(ctx, "adlsgen2FileDataSetMappingResource", &datashare.ADLSGen2FileDataSetMappingArgs{
    	AccountName:           "string",
    	DataSetId:             "string",
    	FilePath:              "string",
    	FileSystem:            "string",
    	Kind:                  "string",
    	ResourceGroup:         "string",
    	ResourceGroupName:     "string",
    	ShareSubscriptionName: "string",
    	StorageAccountName:    "string",
    	SubscriptionId:        "string",
    	DataSetMappingName:    "string",
    	OutputType:            "string",
    })
    
    var adlsgen2FileDataSetMappingResource = new ADLSGen2FileDataSetMapping("adlsgen2FileDataSetMappingResource", ADLSGen2FileDataSetMappingArgs.builder()
        .accountName("string")
        .dataSetId("string")
        .filePath("string")
        .fileSystem("string")
        .kind("string")
        .resourceGroup("string")
        .resourceGroupName("string")
        .shareSubscriptionName("string")
        .storageAccountName("string")
        .subscriptionId("string")
        .dataSetMappingName("string")
        .outputType("string")
        .build());
    
    adlsgen2_file_data_set_mapping_resource = azure_native.datashare.ADLSGen2FileDataSetMapping("adlsgen2FileDataSetMappingResource",
        account_name=string,
        data_set_id=string,
        file_path=string,
        file_system=string,
        kind=string,
        resource_group=string,
        resource_group_name=string,
        share_subscription_name=string,
        storage_account_name=string,
        subscription_id=string,
        data_set_mapping_name=string,
        output_type=string)
    
    const adlsgen2FileDataSetMappingResource = new azure_native.datashare.ADLSGen2FileDataSetMapping("adlsgen2FileDataSetMappingResource", {
        accountName: "string",
        dataSetId: "string",
        filePath: "string",
        fileSystem: "string",
        kind: "string",
        resourceGroup: "string",
        resourceGroupName: "string",
        shareSubscriptionName: "string",
        storageAccountName: "string",
        subscriptionId: "string",
        dataSetMappingName: "string",
        outputType: "string",
    });
    
    type: azure-native:datashare:ADLSGen2FileDataSetMapping
    properties:
        accountName: string
        dataSetId: string
        dataSetMappingName: string
        filePath: string
        fileSystem: string
        kind: string
        outputType: string
        resourceGroup: string
        resourceGroupName: string
        shareSubscriptionName: string
        storageAccountName: string
        subscriptionId: string
    

    ADLSGen2FileDataSetMapping 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 ADLSGen2FileDataSetMapping resource accepts the following input properties:

    AccountName string
    The name of the share account.
    DataSetId string
    The id of the source data set.
    FilePath string
    File path within the file system.
    FileSystem string
    File system to which the file belongs.
    ResourceGroup string
    Resource group of storage account.
    ResourceGroupName string
    The resource group name.
    ShareSubscriptionName string
    The name of the share subscription which will hold the data set sink.
    StorageAccountName string
    Storage account name of the source data set.
    SubscriptionId string
    Subscription id of storage account.
    DataSetMappingName string
    The name of the data set mapping to be created.
    OutputType string | Pulumi.AzureNative.DataShare.OutputType
    Type of output file
    AccountName string
    The name of the share account.
    DataSetId string
    The id of the source data set.
    FilePath string
    File path within the file system.
    FileSystem string
    File system to which the file belongs.
    ResourceGroup string
    Resource group of storage account.
    ResourceGroupName string
    The resource group name.
    ShareSubscriptionName string
    The name of the share subscription which will hold the data set sink.
    StorageAccountName string
    Storage account name of the source data set.
    SubscriptionId string
    Subscription id of storage account.
    DataSetMappingName string
    The name of the data set mapping to be created.
    OutputType string | OutputType
    Type of output file
    accountName String
    The name of the share account.
    dataSetId String
    The id of the source data set.
    filePath String
    File path within the file system.
    fileSystem String
    File system to which the file belongs.
    resourceGroup String
    Resource group of storage account.
    resourceGroupName String
    The resource group name.
    shareSubscriptionName String
    The name of the share subscription which will hold the data set sink.
    storageAccountName String
    Storage account name of the source data set.
    subscriptionId String
    Subscription id of storage account.
    dataSetMappingName String
    The name of the data set mapping to be created.
    outputType String | OutputType
    Type of output file
    accountName string
    The name of the share account.
    dataSetId string
    The id of the source data set.
    filePath string
    File path within the file system.
    fileSystem string
    File system to which the file belongs.
    resourceGroup string
    Resource group of storage account.
    resourceGroupName string
    The resource group name.
    shareSubscriptionName string
    The name of the share subscription which will hold the data set sink.
    storageAccountName string
    Storage account name of the source data set.
    subscriptionId string
    Subscription id of storage account.
    dataSetMappingName string
    The name of the data set mapping to be created.
    outputType string | OutputType
    Type of output file
    account_name str
    The name of the share account.
    data_set_id str
    The id of the source data set.
    file_path str
    File path within the file system.
    file_system str
    File system to which the file belongs.
    resource_group str
    Resource group of storage account.
    resource_group_name str
    The resource group name.
    share_subscription_name str
    The name of the share subscription which will hold the data set sink.
    storage_account_name str
    Storage account name of the source data set.
    subscription_id str
    Subscription id of storage account.
    data_set_mapping_name str
    The name of the data set mapping to be created.
    output_type str | OutputType
    Type of output file
    accountName String
    The name of the share account.
    dataSetId String
    The id of the source data set.
    filePath String
    File path within the file system.
    fileSystem String
    File system to which the file belongs.
    resourceGroup String
    Resource group of storage account.
    resourceGroupName String
    The resource group name.
    shareSubscriptionName String
    The name of the share subscription which will hold the data set sink.
    storageAccountName String
    Storage account name of the source data set.
    subscriptionId String
    Subscription id of storage account.
    dataSetMappingName String
    The name of the data set mapping to be created.
    outputType String | "Csv" | "Parquet"
    Type of output file

    Outputs

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

    DataSetMappingStatus string
    Gets the status of the data set mapping.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the azure resource
    ProvisioningState string
    Provisioning state of the data set mapping.
    SystemData Pulumi.AzureNative.DataShare.Outputs.SystemDataResponse
    System Data of the Azure resource.
    Type string
    Type of the azure resource
    DataSetMappingStatus string
    Gets the status of the data set mapping.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the azure resource
    ProvisioningState string
    Provisioning state of the data set mapping.
    SystemData SystemDataResponse
    System Data of the Azure resource.
    Type string
    Type of the azure resource
    dataSetMappingStatus String
    Gets the status of the data set mapping.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the azure resource
    provisioningState String
    Provisioning state of the data set mapping.
    systemData SystemDataResponse
    System Data of the Azure resource.
    type String
    Type of the azure resource
    dataSetMappingStatus string
    Gets the status of the data set mapping.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of the azure resource
    provisioningState string
    Provisioning state of the data set mapping.
    systemData SystemDataResponse
    System Data of the Azure resource.
    type string
    Type of the azure resource
    data_set_mapping_status str
    Gets the status of the data set mapping.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Name of the azure resource
    provisioning_state str
    Provisioning state of the data set mapping.
    system_data SystemDataResponse
    System Data of the Azure resource.
    type str
    Type of the azure resource
    dataSetMappingStatus String
    Gets the status of the data set mapping.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the azure resource
    provisioningState String
    Provisioning state of the data set mapping.
    systemData Property Map
    System Data of the Azure resource.
    type String
    Type of the azure resource

    Supporting Types

    OutputType, OutputTypeArgs

    Csv
    Csv
    Parquet
    Parquet
    OutputTypeCsv
    Csv
    OutputTypeParquet
    Parquet
    Csv
    Csv
    Parquet
    Parquet
    Csv
    Csv
    Parquet
    Parquet
    CSV
    Csv
    PARQUET
    Parquet
    "Csv"
    Csv
    "Parquet"
    Parquet

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The type of identity that last modified the resource.
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The type of identity that last modified the resource.
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The type of identity that last modified the resource.
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The type of identity that last modified the resource.
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The type of identity that last modified the resource.
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The type of identity that last modified the resource.
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:datashare:ADLSGen2FileDataSetMapping datasetMappingName /subscriptions/4e745bb7-c420-479b-b0d6-a0f92d48a227/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/ShareSubscription1/dataSetMappings/datasetMappingName1 
    

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

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi