1. Packages
  2. Azure Native v2
  3. API Docs
  4. datashare
  5. ADLSGen2FolderDataSet
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

azure-native-v2.datashare.ADLSGen2FolderDataSet

Explore with Pulumi AI

An ADLS Gen 2 folder data set. Azure REST API version: 2021-08-01. Prior API version in Azure Native 1.x: 2020-09-01.

Example Usage

DataSets_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var adlsGen2FolderDataSet = new AzureNative.DataShare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", new()
    {
        AccountName = "Account1",
        DataSetName = "Dataset1",
        ResourceGroupName = "SampleResourceGroup",
        ShareName = "Share1",
    });

});
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.NewADLSGen2FolderDataSet(ctx, "adlsGen2FolderDataSet", &datashare.ADLSGen2FolderDataSetArgs{
			AccountName:       pulumi.String("Account1"),
			DataSetName:       pulumi.String("Dataset1"),
			ResourceGroupName: pulumi.String("SampleResourceGroup"),
			ShareName:         pulumi.String("Share1"),
		})
		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.ADLSGen2FolderDataSet;
import com.pulumi.azurenative.datashare.ADLSGen2FolderDataSetArgs;
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 adlsGen2FolderDataSet = new ADLSGen2FolderDataSet("adlsGen2FolderDataSet", ADLSGen2FolderDataSetArgs.builder()
            .accountName("Account1")
            .dataSetName("Dataset1")
            .resourceGroupName("SampleResourceGroup")
            .shareName("Share1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const adlsGen2FolderDataSet = new azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", {
    accountName: "Account1",
    dataSetName: "Dataset1",
    resourceGroupName: "SampleResourceGroup",
    shareName: "Share1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

adls_gen2_folder_data_set = azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet",
    account_name="Account1",
    data_set_name="Dataset1",
    resource_group_name="SampleResourceGroup",
    share_name="Share1")
Copy
resources:
  adlsGen2FolderDataSet:
    type: azure-native:datashare:ADLSGen2FolderDataSet
    properties:
      accountName: Account1
      dataSetName: Dataset1
      resourceGroupName: SampleResourceGroup
      shareName: Share1
Copy

DataSets_KustoCluster_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var adlsGen2FolderDataSet = new AzureNative.DataShare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", new()
    {
        AccountName = "Account1",
        DataSetName = "Dataset1",
        ResourceGroupName = "SampleResourceGroup",
        ShareName = "Share1",
    });

});
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.NewADLSGen2FolderDataSet(ctx, "adlsGen2FolderDataSet", &datashare.ADLSGen2FolderDataSetArgs{
			AccountName:       pulumi.String("Account1"),
			DataSetName:       pulumi.String("Dataset1"),
			ResourceGroupName: pulumi.String("SampleResourceGroup"),
			ShareName:         pulumi.String("Share1"),
		})
		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.ADLSGen2FolderDataSet;
import com.pulumi.azurenative.datashare.ADLSGen2FolderDataSetArgs;
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 adlsGen2FolderDataSet = new ADLSGen2FolderDataSet("adlsGen2FolderDataSet", ADLSGen2FolderDataSetArgs.builder()
            .accountName("Account1")
            .dataSetName("Dataset1")
            .resourceGroupName("SampleResourceGroup")
            .shareName("Share1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const adlsGen2FolderDataSet = new azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", {
    accountName: "Account1",
    dataSetName: "Dataset1",
    resourceGroupName: "SampleResourceGroup",
    shareName: "Share1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

adls_gen2_folder_data_set = azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet",
    account_name="Account1",
    data_set_name="Dataset1",
    resource_group_name="SampleResourceGroup",
    share_name="Share1")
Copy
resources:
  adlsGen2FolderDataSet:
    type: azure-native:datashare:ADLSGen2FolderDataSet
    properties:
      accountName: Account1
      dataSetName: Dataset1
      resourceGroupName: SampleResourceGroup
      shareName: Share1
Copy

DataSets_KustoDatabase_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var adlsGen2FolderDataSet = new AzureNative.DataShare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", new()
    {
        AccountName = "Account1",
        DataSetName = "Dataset1",
        ResourceGroupName = "SampleResourceGroup",
        ShareName = "Share1",
    });

});
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.NewADLSGen2FolderDataSet(ctx, "adlsGen2FolderDataSet", &datashare.ADLSGen2FolderDataSetArgs{
			AccountName:       pulumi.String("Account1"),
			DataSetName:       pulumi.String("Dataset1"),
			ResourceGroupName: pulumi.String("SampleResourceGroup"),
			ShareName:         pulumi.String("Share1"),
		})
		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.ADLSGen2FolderDataSet;
import com.pulumi.azurenative.datashare.ADLSGen2FolderDataSetArgs;
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 adlsGen2FolderDataSet = new ADLSGen2FolderDataSet("adlsGen2FolderDataSet", ADLSGen2FolderDataSetArgs.builder()
            .accountName("Account1")
            .dataSetName("Dataset1")
            .resourceGroupName("SampleResourceGroup")
            .shareName("Share1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const adlsGen2FolderDataSet = new azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", {
    accountName: "Account1",
    dataSetName: "Dataset1",
    resourceGroupName: "SampleResourceGroup",
    shareName: "Share1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

adls_gen2_folder_data_set = azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet",
    account_name="Account1",
    data_set_name="Dataset1",
    resource_group_name="SampleResourceGroup",
    share_name="Share1")
Copy
resources:
  adlsGen2FolderDataSet:
    type: azure-native:datashare:ADLSGen2FolderDataSet
    properties:
      accountName: Account1
      dataSetName: Dataset1
      resourceGroupName: SampleResourceGroup
      shareName: Share1
Copy

DataSets_KustoTable_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var adlsGen2FolderDataSet = new AzureNative.DataShare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", new()
    {
        AccountName = "Account1",
        DataSetName = "Dataset1",
        ResourceGroupName = "SampleResourceGroup",
        ShareName = "Share1",
    });

});
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.NewADLSGen2FolderDataSet(ctx, "adlsGen2FolderDataSet", &datashare.ADLSGen2FolderDataSetArgs{
			AccountName:       pulumi.String("Account1"),
			DataSetName:       pulumi.String("Dataset1"),
			ResourceGroupName: pulumi.String("SampleResourceGroup"),
			ShareName:         pulumi.String("Share1"),
		})
		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.ADLSGen2FolderDataSet;
import com.pulumi.azurenative.datashare.ADLSGen2FolderDataSetArgs;
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 adlsGen2FolderDataSet = new ADLSGen2FolderDataSet("adlsGen2FolderDataSet", ADLSGen2FolderDataSetArgs.builder()
            .accountName("Account1")
            .dataSetName("Dataset1")
            .resourceGroupName("SampleResourceGroup")
            .shareName("Share1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const adlsGen2FolderDataSet = new azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", {
    accountName: "Account1",
    dataSetName: "Dataset1",
    resourceGroupName: "SampleResourceGroup",
    shareName: "Share1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

adls_gen2_folder_data_set = azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet",
    account_name="Account1",
    data_set_name="Dataset1",
    resource_group_name="SampleResourceGroup",
    share_name="Share1")
Copy
resources:
  adlsGen2FolderDataSet:
    type: azure-native:datashare:ADLSGen2FolderDataSet
    properties:
      accountName: Account1
      dataSetName: Dataset1
      resourceGroupName: SampleResourceGroup
      shareName: Share1
Copy

DataSets_SqlDBTable_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var adlsGen2FolderDataSet = new AzureNative.DataShare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", new()
    {
        AccountName = "Account1",
        DataSetName = "Dataset1",
        ResourceGroupName = "SampleResourceGroup",
        ShareName = "Share1",
    });

});
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.NewADLSGen2FolderDataSet(ctx, "adlsGen2FolderDataSet", &datashare.ADLSGen2FolderDataSetArgs{
			AccountName:       pulumi.String("Account1"),
			DataSetName:       pulumi.String("Dataset1"),
			ResourceGroupName: pulumi.String("SampleResourceGroup"),
			ShareName:         pulumi.String("Share1"),
		})
		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.ADLSGen2FolderDataSet;
import com.pulumi.azurenative.datashare.ADLSGen2FolderDataSetArgs;
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 adlsGen2FolderDataSet = new ADLSGen2FolderDataSet("adlsGen2FolderDataSet", ADLSGen2FolderDataSetArgs.builder()
            .accountName("Account1")
            .dataSetName("Dataset1")
            .resourceGroupName("SampleResourceGroup")
            .shareName("Share1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const adlsGen2FolderDataSet = new azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", {
    accountName: "Account1",
    dataSetName: "Dataset1",
    resourceGroupName: "SampleResourceGroup",
    shareName: "Share1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

adls_gen2_folder_data_set = azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet",
    account_name="Account1",
    data_set_name="Dataset1",
    resource_group_name="SampleResourceGroup",
    share_name="Share1")
Copy
resources:
  adlsGen2FolderDataSet:
    type: azure-native:datashare:ADLSGen2FolderDataSet
    properties:
      accountName: Account1
      dataSetName: Dataset1
      resourceGroupName: SampleResourceGroup
      shareName: Share1
Copy

DataSets_SqlDWTable_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var adlsGen2FolderDataSet = new AzureNative.DataShare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", new()
    {
        AccountName = "Account1",
        DataSetName = "Dataset1",
        ResourceGroupName = "SampleResourceGroup",
        ShareName = "Share1",
    });

});
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.NewADLSGen2FolderDataSet(ctx, "adlsGen2FolderDataSet", &datashare.ADLSGen2FolderDataSetArgs{
			AccountName:       pulumi.String("Account1"),
			DataSetName:       pulumi.String("Dataset1"),
			ResourceGroupName: pulumi.String("SampleResourceGroup"),
			ShareName:         pulumi.String("Share1"),
		})
		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.ADLSGen2FolderDataSet;
import com.pulumi.azurenative.datashare.ADLSGen2FolderDataSetArgs;
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 adlsGen2FolderDataSet = new ADLSGen2FolderDataSet("adlsGen2FolderDataSet", ADLSGen2FolderDataSetArgs.builder()
            .accountName("Account1")
            .dataSetName("Dataset1")
            .resourceGroupName("SampleResourceGroup")
            .shareName("Share1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const adlsGen2FolderDataSet = new azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", {
    accountName: "Account1",
    dataSetName: "Dataset1",
    resourceGroupName: "SampleResourceGroup",
    shareName: "Share1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

adls_gen2_folder_data_set = azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet",
    account_name="Account1",
    data_set_name="Dataset1",
    resource_group_name="SampleResourceGroup",
    share_name="Share1")
Copy
resources:
  adlsGen2FolderDataSet:
    type: azure-native:datashare:ADLSGen2FolderDataSet
    properties:
      accountName: Account1
      dataSetName: Dataset1
      resourceGroupName: SampleResourceGroup
      shareName: Share1
Copy

DataSets_SynapseWorkspaceSqlPoolTable_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var adlsGen2FolderDataSet = new AzureNative.DataShare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", new()
    {
        AccountName = "sourceAccount",
        DataSetName = "dataset1",
        ResourceGroupName = "SampleResourceGroup",
        ShareName = "share1",
    });

});
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.NewADLSGen2FolderDataSet(ctx, "adlsGen2FolderDataSet", &datashare.ADLSGen2FolderDataSetArgs{
			AccountName:       pulumi.String("sourceAccount"),
			DataSetName:       pulumi.String("dataset1"),
			ResourceGroupName: pulumi.String("SampleResourceGroup"),
			ShareName:         pulumi.String("share1"),
		})
		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.ADLSGen2FolderDataSet;
import com.pulumi.azurenative.datashare.ADLSGen2FolderDataSetArgs;
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 adlsGen2FolderDataSet = new ADLSGen2FolderDataSet("adlsGen2FolderDataSet", ADLSGen2FolderDataSetArgs.builder()
            .accountName("sourceAccount")
            .dataSetName("dataset1")
            .resourceGroupName("SampleResourceGroup")
            .shareName("share1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const adlsGen2FolderDataSet = new azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet", {
    accountName: "sourceAccount",
    dataSetName: "dataset1",
    resourceGroupName: "SampleResourceGroup",
    shareName: "share1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

adls_gen2_folder_data_set = azure_native.datashare.ADLSGen2FolderDataSet("adlsGen2FolderDataSet",
    account_name="sourceAccount",
    data_set_name="dataset1",
    resource_group_name="SampleResourceGroup",
    share_name="share1")
Copy
resources:
  adlsGen2FolderDataSet:
    type: azure-native:datashare:ADLSGen2FolderDataSet
    properties:
      accountName: sourceAccount
      dataSetName: dataset1
      resourceGroupName: SampleResourceGroup
      shareName: share1
Copy

Create ADLSGen2FolderDataSet Resource

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

Constructor syntax

new ADLSGen2FolderDataSet(name: string, args: ADLSGen2FolderDataSetArgs, opts?: CustomResourceOptions);
@overload
def ADLSGen2FolderDataSet(resource_name: str,
                          args: ADLSGen2FolderDataSetArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def ADLSGen2FolderDataSet(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          account_name: Optional[str] = None,
                          file_system: Optional[str] = None,
                          folder_path: Optional[str] = None,
                          resource_group: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          share_name: Optional[str] = None,
                          storage_account_name: Optional[str] = None,
                          subscription_id: Optional[str] = None,
                          data_set_name: Optional[str] = None)
func NewADLSGen2FolderDataSet(ctx *Context, name string, args ADLSGen2FolderDataSetArgs, opts ...ResourceOption) (*ADLSGen2FolderDataSet, error)
public ADLSGen2FolderDataSet(string name, ADLSGen2FolderDataSetArgs args, CustomResourceOptions? opts = null)
public ADLSGen2FolderDataSet(String name, ADLSGen2FolderDataSetArgs args)
public ADLSGen2FolderDataSet(String name, ADLSGen2FolderDataSetArgs args, CustomResourceOptions options)
type: azure-native:datashare:ADLSGen2FolderDataSet
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. ADLSGen2FolderDataSetArgs
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. ADLSGen2FolderDataSetArgs
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. ADLSGen2FolderDataSetArgs
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. ADLSGen2FolderDataSetArgs
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. ADLSGen2FolderDataSetArgs
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 adlsgen2FolderDataSetResource = new AzureNative.Datashare.ADLSGen2FolderDataSet("adlsgen2FolderDataSetResource", new()
{
    AccountName = "string",
    FileSystem = "string",
    FolderPath = "string",
    Kind = "string",
    ResourceGroup = "string",
    ResourceGroupName = "string",
    ShareName = "string",
    StorageAccountName = "string",
    SubscriptionId = "string",
    DataSetName = "string",
});
Copy
example, err := datashare.NewADLSGen2FolderDataSet(ctx, "adlsgen2FolderDataSetResource", &datashare.ADLSGen2FolderDataSetArgs{
	AccountName:        "string",
	FileSystem:         "string",
	FolderPath:         "string",
	Kind:               "string",
	ResourceGroup:      "string",
	ResourceGroupName:  "string",
	ShareName:          "string",
	StorageAccountName: "string",
	SubscriptionId:     "string",
	DataSetName:        "string",
})
Copy
var adlsgen2FolderDataSetResource = new ADLSGen2FolderDataSet("adlsgen2FolderDataSetResource", ADLSGen2FolderDataSetArgs.builder()
    .accountName("string")
    .fileSystem("string")
    .folderPath("string")
    .kind("string")
    .resourceGroup("string")
    .resourceGroupName("string")
    .shareName("string")
    .storageAccountName("string")
    .subscriptionId("string")
    .dataSetName("string")
    .build());
Copy
adlsgen2_folder_data_set_resource = azure_native.datashare.ADLSGen2FolderDataSet("adlsgen2FolderDataSetResource",
    account_name=string,
    file_system=string,
    folder_path=string,
    kind=string,
    resource_group=string,
    resource_group_name=string,
    share_name=string,
    storage_account_name=string,
    subscription_id=string,
    data_set_name=string)
Copy
const adlsgen2FolderDataSetResource = new azure_native.datashare.ADLSGen2FolderDataSet("adlsgen2FolderDataSetResource", {
    accountName: "string",
    fileSystem: "string",
    folderPath: "string",
    kind: "string",
    resourceGroup: "string",
    resourceGroupName: "string",
    shareName: "string",
    storageAccountName: "string",
    subscriptionId: "string",
    dataSetName: "string",
});
Copy
type: azure-native:datashare:ADLSGen2FolderDataSet
properties:
    accountName: string
    dataSetName: string
    fileSystem: string
    folderPath: string
    kind: string
    resourceGroup: string
    resourceGroupName: string
    shareName: string
    storageAccountName: string
    subscriptionId: string
Copy

ADLSGen2FolderDataSet 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 ADLSGen2FolderDataSet 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.
FileSystem This property is required. string
File system to which the folder belongs.
FolderPath This property is required. string
Folder path within the file system.
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.
ShareName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share to add the data set to.
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
DataSetName Changes to this property will trigger replacement. string
The name of the dataSet.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share account.
FileSystem This property is required. string
File system to which the folder belongs.
FolderPath This property is required. string
Folder path within the file system.
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.
ShareName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share to add the data set to.
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
DataSetName Changes to this property will trigger replacement. string
The name of the dataSet.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share account.
fileSystem This property is required. String
File system to which the folder belongs.
folderPath This property is required. String
Folder path within the file system.
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.
shareName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share to add the data set to.
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
dataSetName Changes to this property will trigger replacement. String
The name of the dataSet.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share account.
fileSystem This property is required. string
File system to which the folder belongs.
folderPath This property is required. string
Folder path within the file system.
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.
shareName
This property is required.
Changes to this property will trigger replacement.
string
The name of the share to add the data set to.
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
dataSetName Changes to this property will trigger replacement. string
The name of the dataSet.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the share account.
file_system This property is required. str
File system to which the folder belongs.
folder_path This property is required. str
Folder path within the file system.
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_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the share to add the data set to.
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_name Changes to this property will trigger replacement. str
The name of the dataSet.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share account.
fileSystem This property is required. String
File system to which the folder belongs.
folderPath This property is required. String
Folder path within the file system.
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.
shareName
This property is required.
Changes to this property will trigger replacement.
String
The name of the share to add the data set to.
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
dataSetName Changes to this property will trigger replacement. String
The name of the dataSet.

Outputs

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

DataSetId string
Unique id for identifying a data set resource
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the azure resource
SystemData Pulumi.AzureNative.DataShare.Outputs.SystemDataResponse
System Data of the Azure resource.
Type string
Type of the azure resource
DataSetId string
Unique id for identifying a data set resource
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the azure resource
SystemData SystemDataResponse
System Data of the Azure resource.
Type string
Type of the azure resource
dataSetId String
Unique id for identifying a data set resource
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the azure resource
systemData SystemDataResponse
System Data of the Azure resource.
type String
Type of the azure resource
dataSetId string
Unique id for identifying a data set resource
id string
The provider-assigned unique ID for this managed resource.
name string
Name of the azure resource
systemData SystemDataResponse
System Data of the Azure resource.
type string
Type of the azure resource
data_set_id str
Unique id for identifying a data set resource
id str
The provider-assigned unique ID for this managed resource.
name str
Name of the azure resource
system_data SystemDataResponse
System Data of the Azure resource.
type str
Type of the azure resource
dataSetId String
Unique id for identifying a data set resource
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the azure resource
systemData Property Map
System Data of the Azure resource.
type String
Type of the azure resource

Supporting Types

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:ADLSGen2FolderDataSet dataset1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets/{dataSetName} 
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