1. Packages
  2. Azure Native v2
  3. API Docs
  4. datashare
  5. ADLSGen2FileDataSetMapping
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.datashare.ADLSGen2FileDataSetMapping

Explore with Pulumi AI

An ADLS Gen2 file data set mapping. Azure REST API version: 2021-08-01. Prior API version in Azure Native 1.x: 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",
    });

});
Copy
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare/v2"
	"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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
resources:
  adlsGen2FileDataSetMapping:
    type: azure-native:datashare:ADLSGen2FileDataSetMapping
    properties:
      accountName: Account1
      dataSetMappingName: DatasetMapping1
      resourceGroupName: SampleResourceGroup
      shareSubscriptionName: ShareSubscription1
Copy

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",
    });

});
Copy
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare/v2"
	"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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
resources:
  adlsGen2FileDataSetMapping:
    type: azure-native:datashare:ADLSGen2FileDataSetMapping
    properties:
      accountName: Account1
      dataSetMappingName: DatasetMapping1
      resourceGroupName: SampleResourceGroup
      shareSubscriptionName: ShareSubscription1
Copy

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 = AzureNative.DataShare.OutputType.Csv,
        ResourceGroup = "SampleResourceGroup",
        ResourceGroupName = "SampleResourceGroup",
        ShareSubscriptionName = "ShareSubscription1",
        StorageAccountName = "storage2",
        SubscriptionId = "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
    });

});
Copy
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare/v2"
	"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(datashare.OutputTypeCsv),
			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
	})
}
Copy
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());

    }
}
Copy
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: azure_native.datashare.OutputType.Csv,
    resourceGroup: "SampleResourceGroup",
    resourceGroupName: "SampleResourceGroup",
    shareSubscriptionName: "ShareSubscription1",
    storageAccountName: "storage2",
    subscriptionId: "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
});
Copy
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=azure_native.datashare.OutputType.CSV,
    resource_group="SampleResourceGroup",
    resource_group_name="SampleResourceGroup",
    share_subscription_name="ShareSubscription1",
    storage_account_name="storage2",
    subscription_id="433a8dfd-e5d5-4e77-ad86-90acdc75eb1a")
Copy
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
Copy

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",
    });

});
Copy
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare/v2"
	"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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
resources:
  adlsGen2FileDataSetMapping:
    type: azure-native:datashare:ADLSGen2FileDataSetMapping
    properties:
      accountName: Account1
      dataSetMappingName: DatasetMapping1
      resourceGroupName: SampleResourceGroup
      shareSubscriptionName: ShareSubscription1
Copy

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",
    });

});
Copy
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native-sdk/datashare/v2"
	"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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
resources:
  adlsGen2FileDataSetMapping:
    type: azure-native:datashare:ADLSGen2FileDataSetMapping
    properties:
      accountName: consumerAccount
      dataSetMappingName: datasetMappingName1
      resourceGroupName: SampleResourceGroup
      shareSubscriptionName: ShareSubscription1
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. ADLSGen2FileDataSetMappingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ADLSGen2FileDataSetMappingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ADLSGen2FileDataSetMappingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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",
})
Copy
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());
Copy
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)
Copy
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",
});
Copy
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
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ADLSGen2FileDataSetMapping resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share account.
DataSetId This property is required. string
The id of the source data set.
FilePath This property is required. string
File path within the file system.
FileSystem This property is required. string
File system to which the file belongs.
ResourceGroup This property is required. string
Resource group of storage account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
ShareSubscriptionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share subscription which will hold the data set sink.
StorageAccountName This property is required. string
Storage account name of the source data set.
SubscriptionId This property is required. string
Subscription id of storage account.
DataSetMappingName Changes to this property will trigger replacement. string
The name of the data set mapping to be created.
OutputType string | Pulumi.AzureNative.DataShare.OutputType
Type of output file
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share account.
DataSetId This property is required. string
The id of the source data set.
FilePath This property is required. string
File path within the file system.
FileSystem This property is required. string
File system to which the file belongs.
ResourceGroup This property is required. string
Resource group of storage account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
ShareSubscriptionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share subscription which will hold the data set sink.
StorageAccountName This property is required. string
Storage account name of the source data set.
SubscriptionId This property is required. string
Subscription id of storage account.
DataSetMappingName Changes to this property will trigger replacement. string
The name of the data set mapping to be created.
OutputType string | OutputType
Type of output file
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share account.
dataSetId This property is required. String
The id of the source data set.
filePath This property is required. String
File path within the file system.
fileSystem This property is required. String
File system to which the file belongs.
resourceGroup This property is required. String
Resource group of storage account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
shareSubscriptionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share subscription which will hold the data set sink.
storageAccountName This property is required. String
Storage account name of the source data set.
subscriptionId This property is required. String
Subscription id of storage account.
dataSetMappingName Changes to this property will trigger replacement. String
The name of the data set mapping to be created.
outputType String | OutputType
Type of output file
accountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share account.
dataSetId This property is required. string
The id of the source data set.
filePath This property is required. string
File path within the file system.
fileSystem This property is required. string
File system to which the file belongs.
resourceGroup This property is required. string
Resource group of storage account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
shareSubscriptionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share subscription which will hold the data set sink.
storageAccountName This property is required. string
Storage account name of the source data set.
subscriptionId This property is required. string
Subscription id of storage account.
dataSetMappingName Changes to this property will trigger replacement. string
The name of the data set mapping to be created.
outputType string | OutputType
Type of output file
account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the share account.
data_set_id This property is required. str
The id of the source data set.
file_path This property is required. str
File path within the file system.
file_system This property is required. str
File system to which the file belongs.
resource_group This property is required. str
Resource group of storage account.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The resource group name.
share_subscription_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the share subscription which will hold the data set sink.
storage_account_name This property is required. str
Storage account name of the source data set.
subscription_id This property is required. str
Subscription id of storage account.
data_set_mapping_name Changes to this property will trigger replacement. str
The name of the data set mapping to be created.
output_type str | OutputType
Type of output file
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share account.
dataSetId This property is required. String
The id of the source data set.
filePath This property is required. String
File path within the file system.
fileSystem This property is required. String
File system to which the file belongs.
resourceGroup This property is required. String
Resource group of storage account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
shareSubscriptionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share subscription which will hold the data set sink.
storageAccountName This property is required. String
Storage account name of the source data set.
subscriptionId This property is required. String
Subscription id of storage account.
dataSetMappingName Changes to this property will trigger replacement. 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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/dataSetMappings/{dataSetMappingName} 
Copy

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

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0