1. Packages
  2. Azure Classic
  3. API Docs
  4. datashare
  5. DatasetDataLakeGen1

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages a Data Share Data Lake Gen1 Dataset.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    using AzureAD = Pulumi.AzureAD;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
            {
                Location = "West Europe",
            });
            var exampleAccount = new Azure.DataShare.Account("exampleAccount", new Azure.DataShare.AccountArgs
            {
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
                Identity = new Azure.DataShare.Inputs.AccountIdentityArgs
                {
                    Type = "SystemAssigned",
                },
            });
            var exampleShare = new Azure.DataShare.Share("exampleShare", new Azure.DataShare.ShareArgs
            {
                AccountId = exampleAccount.Id,
                Kind = "CopyBased",
            });
            var exampleStore = new Azure.DataLake.Store("exampleStore", new Azure.DataLake.StoreArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                Location = exampleResourceGroup.Location,
                FirewallState = "Disabled",
            });
            var exampleStoreFile = new Azure.DataLake.StoreFile("exampleStoreFile", new Azure.DataLake.StoreFileArgs
            {
                AccountName = exampleStore.Name,
                LocalFilePath = "./example/myfile.txt",
                RemoteFilePath = "/example/myfile.txt",
            });
            var exampleServicePrincipal = AzureAD.GetServicePrincipal.Invoke(new AzureAD.GetServicePrincipalInvokeArgs
            {
                DisplayName = exampleAccount.Name,
            });
            var exampleAssignment = new Azure.Authorization.Assignment("exampleAssignment", new Azure.Authorization.AssignmentArgs
            {
                Scope = exampleStore.Id,
                RoleDefinitionName = "Owner",
                PrincipalId = exampleServicePrincipal.Apply(exampleServicePrincipal => exampleServicePrincipal.ObjectId),
            });
            var exampleDatasetDataLakeGen1 = new Azure.DataShare.DatasetDataLakeGen1("exampleDatasetDataLakeGen1", new Azure.DataShare.DatasetDataLakeGen1Args
            {
                DataShareId = exampleShare.Id,
                DataLakeStoreId = exampleStore.Id,
                FileName = "myfile.txt",
                FolderPath = "example",
            }, new CustomResourceOptions
            {
                DependsOn = 
                {
                    exampleAssignment,
                },
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/authorization"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datalake"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datashare"
    	"github.com/pulumi/pulumi-azuread/sdk/v4/go/azuread"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			Identity: &datashare.AccountIdentityArgs{
    				Type: pulumi.String("SystemAssigned"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{
    			AccountId: exampleAccount.ID(),
    			Kind:      pulumi.String("CopyBased"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleStore, err := datalake.NewStore(ctx, "exampleStore", &datalake.StoreArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			FirewallState:     pulumi.String("Disabled"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = datalake.NewStoreFile(ctx, "exampleStoreFile", &datalake.StoreFileArgs{
    			AccountName:    exampleStore.Name,
    			LocalFilePath:  pulumi.String("./example/myfile.txt"),
    			RemoteFilePath: pulumi.String("/example/myfile.txt"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleServicePrincipal := azuread.LookupServicePrincipalOutput(ctx, GetServicePrincipalOutputArgs{
    			DisplayName: exampleAccount.Name,
    		}, nil)
    		exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{
    			Scope:              exampleStore.ID(),
    			RoleDefinitionName: pulumi.String("Owner"),
    			PrincipalId: exampleServicePrincipal.ApplyT(func(exampleServicePrincipal GetServicePrincipalResult) (string, error) {
    				return exampleServicePrincipal.ObjectId, nil
    			}).(pulumi.StringOutput),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = datashare.NewDatasetDataLakeGen1(ctx, "exampleDatasetDataLakeGen1", &datashare.DatasetDataLakeGen1Args{
    			DataShareId:     exampleShare.ID(),
    			DataLakeStoreId: exampleStore.ID(),
    			FileName:        pulumi.String("myfile.txt"),
    			FolderPath:      pulumi.String("example"),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			exampleAssignment,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    import * as azuread from "@pulumi/azuread";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleAccount = new azure.datashare.Account("exampleAccount", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        identity: {
            type: "SystemAssigned",
        },
    });
    const exampleShare = new azure.datashare.Share("exampleShare", {
        accountId: exampleAccount.id,
        kind: "CopyBased",
    });
    const exampleStore = new azure.datalake.Store("exampleStore", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        firewallState: "Disabled",
    });
    const exampleStoreFile = new azure.datalake.StoreFile("exampleStoreFile", {
        accountName: exampleStore.name,
        localFilePath: "./example/myfile.txt",
        remoteFilePath: "/example/myfile.txt",
    });
    const exampleServicePrincipal = azuread.getServicePrincipalOutput({
        displayName: exampleAccount.name,
    });
    const exampleAssignment = new azure.authorization.Assignment("exampleAssignment", {
        scope: exampleStore.id,
        roleDefinitionName: "Owner",
        principalId: exampleServicePrincipal.apply(exampleServicePrincipal => exampleServicePrincipal.objectId),
    });
    const exampleDatasetDataLakeGen1 = new azure.datashare.DatasetDataLakeGen1("exampleDatasetDataLakeGen1", {
        dataShareId: exampleShare.id,
        dataLakeStoreId: exampleStore.id,
        fileName: "myfile.txt",
        folderPath: "example",
    }, {
        dependsOn: [exampleAssignment],
    });
    
    import pulumi
    import pulumi_azure as azure
    import pulumi_azuread as azuread
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_account = azure.datashare.Account("exampleAccount",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        identity=azure.datashare.AccountIdentityArgs(
            type="SystemAssigned",
        ))
    example_share = azure.datashare.Share("exampleShare",
        account_id=example_account.id,
        kind="CopyBased")
    example_store = azure.datalake.Store("exampleStore",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        firewall_state="Disabled")
    example_store_file = azure.datalake.StoreFile("exampleStoreFile",
        account_name=example_store.name,
        local_file_path="./example/myfile.txt",
        remote_file_path="/example/myfile.txt")
    example_service_principal = azuread.get_service_principal_output(display_name=example_account.name)
    example_assignment = azure.authorization.Assignment("exampleAssignment",
        scope=example_store.id,
        role_definition_name="Owner",
        principal_id=example_service_principal.object_id)
    example_dataset_data_lake_gen1 = azure.datashare.DatasetDataLakeGen1("exampleDatasetDataLakeGen1",
        data_share_id=example_share.id,
        data_lake_store_id=example_store.id,
        file_name="myfile.txt",
        folder_path="example",
        opts=pulumi.ResourceOptions(depends_on=[example_assignment]))
    

    Example coming soon!

    Create DatasetDataLakeGen1 Resource

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

    Constructor syntax

    new DatasetDataLakeGen1(name: string, args: DatasetDataLakeGen1Args, opts?: CustomResourceOptions);
    @overload
    def DatasetDataLakeGen1(resource_name: str,
                            args: DatasetDataLakeGen1Args,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatasetDataLakeGen1(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            data_lake_store_id: Optional[str] = None,
                            data_share_id: Optional[str] = None,
                            folder_path: Optional[str] = None,
                            file_name: Optional[str] = None,
                            name: Optional[str] = None)
    func NewDatasetDataLakeGen1(ctx *Context, name string, args DatasetDataLakeGen1Args, opts ...ResourceOption) (*DatasetDataLakeGen1, error)
    public DatasetDataLakeGen1(string name, DatasetDataLakeGen1Args args, CustomResourceOptions? opts = null)
    public DatasetDataLakeGen1(String name, DatasetDataLakeGen1Args args)
    public DatasetDataLakeGen1(String name, DatasetDataLakeGen1Args args, CustomResourceOptions options)
    
    type: azure:datashare:DatasetDataLakeGen1
    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 DatasetDataLakeGen1Args
    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 DatasetDataLakeGen1Args
    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 DatasetDataLakeGen1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatasetDataLakeGen1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatasetDataLakeGen1Args
    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 datasetDataLakeGen1Resource = new Azure.DataShare.DatasetDataLakeGen1("datasetDataLakeGen1Resource", new()
    {
        DataLakeStoreId = "string",
        DataShareId = "string",
        FolderPath = "string",
        FileName = "string",
        Name = "string",
    });
    
    example, err := datashare.NewDatasetDataLakeGen1(ctx, "datasetDataLakeGen1Resource", &datashare.DatasetDataLakeGen1Args{
    	DataLakeStoreId: pulumi.String("string"),
    	DataShareId:     pulumi.String("string"),
    	FolderPath:      pulumi.String("string"),
    	FileName:        pulumi.String("string"),
    	Name:            pulumi.String("string"),
    })
    
    var datasetDataLakeGen1Resource = new DatasetDataLakeGen1("datasetDataLakeGen1Resource", DatasetDataLakeGen1Args.builder()
        .dataLakeStoreId("string")
        .dataShareId("string")
        .folderPath("string")
        .fileName("string")
        .name("string")
        .build());
    
    dataset_data_lake_gen1_resource = azure.datashare.DatasetDataLakeGen1("datasetDataLakeGen1Resource",
        data_lake_store_id="string",
        data_share_id="string",
        folder_path="string",
        file_name="string",
        name="string")
    
    const datasetDataLakeGen1Resource = new azure.datashare.DatasetDataLakeGen1("datasetDataLakeGen1Resource", {
        dataLakeStoreId: "string",
        dataShareId: "string",
        folderPath: "string",
        fileName: "string",
        name: "string",
    });
    
    type: azure:datashare:DatasetDataLakeGen1
    properties:
        dataLakeStoreId: string
        dataShareId: string
        fileName: string
        folderPath: string
        name: string
    

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

    DataLakeStoreId string
    The resource ID of the Data Lake Store to be shared with the receiver.
    DataShareId string
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    FolderPath string
    The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    FileName string
    The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    Name string
    The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    DataLakeStoreId string
    The resource ID of the Data Lake Store to be shared with the receiver.
    DataShareId string
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    FolderPath string
    The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    FileName string
    The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    Name string
    The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    dataLakeStoreId String
    The resource ID of the Data Lake Store to be shared with the receiver.
    dataShareId String
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    folderPath String
    The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    fileName String
    The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    name String
    The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    dataLakeStoreId string
    The resource ID of the Data Lake Store to be shared with the receiver.
    dataShareId string
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    folderPath string
    The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    fileName string
    The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    name string
    The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    data_lake_store_id str
    The resource ID of the Data Lake Store to be shared with the receiver.
    data_share_id str
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    folder_path str
    The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    file_name str
    The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    name str
    The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    dataLakeStoreId String
    The resource ID of the Data Lake Store to be shared with the receiver.
    dataShareId String
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    folderPath String
    The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    fileName String
    The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    name String
    The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.

    Outputs

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

    DisplayName string
    The displayed name of the Data Share Dataset.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    The displayed name of the Data Share Dataset.
    Id string
    The provider-assigned unique ID for this managed resource.
    displayName String
    The displayed name of the Data Share Dataset.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName string
    The displayed name of the Data Share Dataset.
    id string
    The provider-assigned unique ID for this managed resource.
    display_name str
    The displayed name of the Data Share Dataset.
    id str
    The provider-assigned unique ID for this managed resource.
    displayName String
    The displayed name of the Data Share Dataset.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DatasetDataLakeGen1 Resource

    Get an existing DatasetDataLakeGen1 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DatasetDataLakeGen1State, opts?: CustomResourceOptions): DatasetDataLakeGen1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            data_lake_store_id: Optional[str] = None,
            data_share_id: Optional[str] = None,
            display_name: Optional[str] = None,
            file_name: Optional[str] = None,
            folder_path: Optional[str] = None,
            name: Optional[str] = None) -> DatasetDataLakeGen1
    func GetDatasetDataLakeGen1(ctx *Context, name string, id IDInput, state *DatasetDataLakeGen1State, opts ...ResourceOption) (*DatasetDataLakeGen1, error)
    public static DatasetDataLakeGen1 Get(string name, Input<string> id, DatasetDataLakeGen1State? state, CustomResourceOptions? opts = null)
    public static DatasetDataLakeGen1 get(String name, Output<String> id, DatasetDataLakeGen1State state, CustomResourceOptions options)
    resources:  _:    type: azure:datashare:DatasetDataLakeGen1    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DataLakeStoreId string
    The resource ID of the Data Lake Store to be shared with the receiver.
    DataShareId string
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    DisplayName string
    The displayed name of the Data Share Dataset.
    FileName string
    The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    FolderPath string
    The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    Name string
    The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    DataLakeStoreId string
    The resource ID of the Data Lake Store to be shared with the receiver.
    DataShareId string
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    DisplayName string
    The displayed name of the Data Share Dataset.
    FileName string
    The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    FolderPath string
    The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    Name string
    The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    dataLakeStoreId String
    The resource ID of the Data Lake Store to be shared with the receiver.
    dataShareId String
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    displayName String
    The displayed name of the Data Share Dataset.
    fileName String
    The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    folderPath String
    The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    name String
    The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    dataLakeStoreId string
    The resource ID of the Data Lake Store to be shared with the receiver.
    dataShareId string
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    displayName string
    The displayed name of the Data Share Dataset.
    fileName string
    The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    folderPath string
    The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    name string
    The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    data_lake_store_id str
    The resource ID of the Data Lake Store to be shared with the receiver.
    data_share_id str
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    display_name str
    The displayed name of the Data Share Dataset.
    file_name str
    The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    folder_path str
    The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    name str
    The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    dataLakeStoreId String
    The resource ID of the Data Lake Store to be shared with the receiver.
    dataShareId String
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    displayName String
    The displayed name of the Data Share Dataset.
    fileName String
    The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    folderPath String
    The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
    name String
    The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.

    Import

    Data Share Data Lake Gen1 Datasets can be imported using the resource id, e.g.

     $ pulumi import azure:datashare/datasetDataLakeGen1:DatasetDataLakeGen1 example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1/shares/share1/dataSets/dataSet1
    

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

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.