1. Packages
  2. Azure Native
  3. API Docs
  4. datashare
  5. KustoTableDataSet
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.datashare.KustoTableDataSet

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    A kusto table 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 kustoTableDataSet = new AzureNative.DataShare.KustoTableDataSet("kustoTableDataSet", new()
        {
            AccountName = "Account1",
            DataSetName = "Dataset1",
            ResourceGroupName = "SampleResourceGroup",
            ShareName = "Share1",
        });
    
    });
    
    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.NewKustoTableDataSet(ctx, "kustoTableDataSet", &datashare.KustoTableDataSetArgs{
    			AccountName:       pulumi.String("Account1"),
    			DataSetName:       pulumi.String("Dataset1"),
    			ResourceGroupName: pulumi.String("SampleResourceGroup"),
    			ShareName:         pulumi.String("Share1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datashare.KustoTableDataSet;
    import com.pulumi.azurenative.datashare.KustoTableDataSetArgs;
    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 kustoTableDataSet = new KustoTableDataSet("kustoTableDataSet", KustoTableDataSetArgs.builder()
                .accountName("Account1")
                .dataSetName("Dataset1")
                .resourceGroupName("SampleResourceGroup")
                .shareName("Share1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    kusto_table_data_set = azure_native.datashare.KustoTableDataSet("kustoTableDataSet",
        account_name="Account1",
        data_set_name="Dataset1",
        resource_group_name="SampleResourceGroup",
        share_name="Share1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const kustoTableDataSet = new azure_native.datashare.KustoTableDataSet("kustoTableDataSet", {
        accountName: "Account1",
        dataSetName: "Dataset1",
        resourceGroupName: "SampleResourceGroup",
        shareName: "Share1",
    });
    
    resources:
      kustoTableDataSet:
        type: azure-native:datashare:KustoTableDataSet
        properties:
          accountName: Account1
          dataSetName: Dataset1
          resourceGroupName: SampleResourceGroup
          shareName: Share1
    

    DataSets_KustoCluster_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var kustoTableDataSet = new AzureNative.DataShare.KustoTableDataSet("kustoTableDataSet", new()
        {
            AccountName = "Account1",
            DataSetName = "Dataset1",
            ResourceGroupName = "SampleResourceGroup",
            ShareName = "Share1",
        });
    
    });
    
    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.NewKustoTableDataSet(ctx, "kustoTableDataSet", &datashare.KustoTableDataSetArgs{
    			AccountName:       pulumi.String("Account1"),
    			DataSetName:       pulumi.String("Dataset1"),
    			ResourceGroupName: pulumi.String("SampleResourceGroup"),
    			ShareName:         pulumi.String("Share1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datashare.KustoTableDataSet;
    import com.pulumi.azurenative.datashare.KustoTableDataSetArgs;
    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 kustoTableDataSet = new KustoTableDataSet("kustoTableDataSet", KustoTableDataSetArgs.builder()
                .accountName("Account1")
                .dataSetName("Dataset1")
                .resourceGroupName("SampleResourceGroup")
                .shareName("Share1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    kusto_table_data_set = azure_native.datashare.KustoTableDataSet("kustoTableDataSet",
        account_name="Account1",
        data_set_name="Dataset1",
        resource_group_name="SampleResourceGroup",
        share_name="Share1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const kustoTableDataSet = new azure_native.datashare.KustoTableDataSet("kustoTableDataSet", {
        accountName: "Account1",
        dataSetName: "Dataset1",
        resourceGroupName: "SampleResourceGroup",
        shareName: "Share1",
    });
    
    resources:
      kustoTableDataSet:
        type: azure-native:datashare:KustoTableDataSet
        properties:
          accountName: Account1
          dataSetName: Dataset1
          resourceGroupName: SampleResourceGroup
          shareName: Share1
    

    DataSets_KustoDatabase_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var kustoTableDataSet = new AzureNative.DataShare.KustoTableDataSet("kustoTableDataSet", new()
        {
            AccountName = "Account1",
            DataSetName = "Dataset1",
            ResourceGroupName = "SampleResourceGroup",
            ShareName = "Share1",
        });
    
    });
    
    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.NewKustoTableDataSet(ctx, "kustoTableDataSet", &datashare.KustoTableDataSetArgs{
    			AccountName:       pulumi.String("Account1"),
    			DataSetName:       pulumi.String("Dataset1"),
    			ResourceGroupName: pulumi.String("SampleResourceGroup"),
    			ShareName:         pulumi.String("Share1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datashare.KustoTableDataSet;
    import com.pulumi.azurenative.datashare.KustoTableDataSetArgs;
    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 kustoTableDataSet = new KustoTableDataSet("kustoTableDataSet", KustoTableDataSetArgs.builder()
                .accountName("Account1")
                .dataSetName("Dataset1")
                .resourceGroupName("SampleResourceGroup")
                .shareName("Share1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    kusto_table_data_set = azure_native.datashare.KustoTableDataSet("kustoTableDataSet",
        account_name="Account1",
        data_set_name="Dataset1",
        resource_group_name="SampleResourceGroup",
        share_name="Share1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const kustoTableDataSet = new azure_native.datashare.KustoTableDataSet("kustoTableDataSet", {
        accountName: "Account1",
        dataSetName: "Dataset1",
        resourceGroupName: "SampleResourceGroup",
        shareName: "Share1",
    });
    
    resources:
      kustoTableDataSet:
        type: azure-native:datashare:KustoTableDataSet
        properties:
          accountName: Account1
          dataSetName: Dataset1
          resourceGroupName: SampleResourceGroup
          shareName: Share1
    

    DataSets_KustoTable_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var kustoTableDataSet = new AzureNative.DataShare.KustoTableDataSet("kustoTableDataSet", new()
        {
            AccountName = "Account1",
            DataSetName = "Dataset1",
            Kind = "KustoTable",
            KustoDatabaseResourceId = "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1/databases/Database1",
            ResourceGroupName = "SampleResourceGroup",
            ShareName = "Share1",
            TableLevelSharingProperties = new AzureNative.DataShare.Inputs.TableLevelSharingPropertiesArgs
            {
                ExternalTablesToExclude = new[]
                {
                    "test11",
                    "test12",
                },
                ExternalTablesToInclude = new[]
                {
                    "test9",
                    "test10",
                },
                MaterializedViewsToExclude = new[]
                {
                    "test7",
                    "test8",
                },
                MaterializedViewsToInclude = new[]
                {
                    "test5",
                    "test6",
                },
                TablesToExclude = new[]
                {
                    "test3",
                    "test4",
                },
                TablesToInclude = new[]
                {
                    "test1",
                    "test2",
                },
            },
        });
    
    });
    
    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.NewKustoTableDataSet(ctx, "kustoTableDataSet", &datashare.KustoTableDataSetArgs{
    			AccountName:             pulumi.String("Account1"),
    			DataSetName:             pulumi.String("Dataset1"),
    			Kind:                    pulumi.String("KustoTable"),
    			KustoDatabaseResourceId: pulumi.String("/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1/databases/Database1"),
    			ResourceGroupName:       pulumi.String("SampleResourceGroup"),
    			ShareName:               pulumi.String("Share1"),
    			TableLevelSharingProperties: &datashare.TableLevelSharingPropertiesArgs{
    				ExternalTablesToExclude: pulumi.StringArray{
    					pulumi.String("test11"),
    					pulumi.String("test12"),
    				},
    				ExternalTablesToInclude: pulumi.StringArray{
    					pulumi.String("test9"),
    					pulumi.String("test10"),
    				},
    				MaterializedViewsToExclude: pulumi.StringArray{
    					pulumi.String("test7"),
    					pulumi.String("test8"),
    				},
    				MaterializedViewsToInclude: pulumi.StringArray{
    					pulumi.String("test5"),
    					pulumi.String("test6"),
    				},
    				TablesToExclude: pulumi.StringArray{
    					pulumi.String("test3"),
    					pulumi.String("test4"),
    				},
    				TablesToInclude: pulumi.StringArray{
    					pulumi.String("test1"),
    					pulumi.String("test2"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datashare.KustoTableDataSet;
    import com.pulumi.azurenative.datashare.KustoTableDataSetArgs;
    import com.pulumi.azurenative.datashare.inputs.TableLevelSharingPropertiesArgs;
    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 kustoTableDataSet = new KustoTableDataSet("kustoTableDataSet", KustoTableDataSetArgs.builder()
                .accountName("Account1")
                .dataSetName("Dataset1")
                .kind("KustoTable")
                .kustoDatabaseResourceId("/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1/databases/Database1")
                .resourceGroupName("SampleResourceGroup")
                .shareName("Share1")
                .tableLevelSharingProperties(TableLevelSharingPropertiesArgs.builder()
                    .externalTablesToExclude(                
                        "test11",
                        "test12")
                    .externalTablesToInclude(                
                        "test9",
                        "test10")
                    .materializedViewsToExclude(                
                        "test7",
                        "test8")
                    .materializedViewsToInclude(                
                        "test5",
                        "test6")
                    .tablesToExclude(                
                        "test3",
                        "test4")
                    .tablesToInclude(                
                        "test1",
                        "test2")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    kusto_table_data_set = azure_native.datashare.KustoTableDataSet("kustoTableDataSet",
        account_name="Account1",
        data_set_name="Dataset1",
        kind="KustoTable",
        kusto_database_resource_id="/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1/databases/Database1",
        resource_group_name="SampleResourceGroup",
        share_name="Share1",
        table_level_sharing_properties=azure_native.datashare.TableLevelSharingPropertiesArgs(
            external_tables_to_exclude=[
                "test11",
                "test12",
            ],
            external_tables_to_include=[
                "test9",
                "test10",
            ],
            materialized_views_to_exclude=[
                "test7",
                "test8",
            ],
            materialized_views_to_include=[
                "test5",
                "test6",
            ],
            tables_to_exclude=[
                "test3",
                "test4",
            ],
            tables_to_include=[
                "test1",
                "test2",
            ],
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const kustoTableDataSet = new azure_native.datashare.KustoTableDataSet("kustoTableDataSet", {
        accountName: "Account1",
        dataSetName: "Dataset1",
        kind: "KustoTable",
        kustoDatabaseResourceId: "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1/databases/Database1",
        resourceGroupName: "SampleResourceGroup",
        shareName: "Share1",
        tableLevelSharingProperties: {
            externalTablesToExclude: [
                "test11",
                "test12",
            ],
            externalTablesToInclude: [
                "test9",
                "test10",
            ],
            materializedViewsToExclude: [
                "test7",
                "test8",
            ],
            materializedViewsToInclude: [
                "test5",
                "test6",
            ],
            tablesToExclude: [
                "test3",
                "test4",
            ],
            tablesToInclude: [
                "test1",
                "test2",
            ],
        },
    });
    
    resources:
      kustoTableDataSet:
        type: azure-native:datashare:KustoTableDataSet
        properties:
          accountName: Account1
          dataSetName: Dataset1
          kind: KustoTable
          kustoDatabaseResourceId: /subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1/databases/Database1
          resourceGroupName: SampleResourceGroup
          shareName: Share1
          tableLevelSharingProperties:
            externalTablesToExclude:
              - test11
              - test12
            externalTablesToInclude:
              - test9
              - test10
            materializedViewsToExclude:
              - test7
              - test8
            materializedViewsToInclude:
              - test5
              - test6
            tablesToExclude:
              - test3
              - test4
            tablesToInclude:
              - test1
              - test2
    

    DataSets_SqlDBTable_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var kustoTableDataSet = new AzureNative.DataShare.KustoTableDataSet("kustoTableDataSet", new()
        {
            AccountName = "Account1",
            DataSetName = "Dataset1",
            ResourceGroupName = "SampleResourceGroup",
            ShareName = "Share1",
        });
    
    });
    
    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.NewKustoTableDataSet(ctx, "kustoTableDataSet", &datashare.KustoTableDataSetArgs{
    			AccountName:       pulumi.String("Account1"),
    			DataSetName:       pulumi.String("Dataset1"),
    			ResourceGroupName: pulumi.String("SampleResourceGroup"),
    			ShareName:         pulumi.String("Share1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datashare.KustoTableDataSet;
    import com.pulumi.azurenative.datashare.KustoTableDataSetArgs;
    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 kustoTableDataSet = new KustoTableDataSet("kustoTableDataSet", KustoTableDataSetArgs.builder()
                .accountName("Account1")
                .dataSetName("Dataset1")
                .resourceGroupName("SampleResourceGroup")
                .shareName("Share1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    kusto_table_data_set = azure_native.datashare.KustoTableDataSet("kustoTableDataSet",
        account_name="Account1",
        data_set_name="Dataset1",
        resource_group_name="SampleResourceGroup",
        share_name="Share1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const kustoTableDataSet = new azure_native.datashare.KustoTableDataSet("kustoTableDataSet", {
        accountName: "Account1",
        dataSetName: "Dataset1",
        resourceGroupName: "SampleResourceGroup",
        shareName: "Share1",
    });
    
    resources:
      kustoTableDataSet:
        type: azure-native:datashare:KustoTableDataSet
        properties:
          accountName: Account1
          dataSetName: Dataset1
          resourceGroupName: SampleResourceGroup
          shareName: Share1
    

    DataSets_SqlDWTable_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var kustoTableDataSet = new AzureNative.DataShare.KustoTableDataSet("kustoTableDataSet", new()
        {
            AccountName = "Account1",
            DataSetName = "Dataset1",
            ResourceGroupName = "SampleResourceGroup",
            ShareName = "Share1",
        });
    
    });
    
    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.NewKustoTableDataSet(ctx, "kustoTableDataSet", &datashare.KustoTableDataSetArgs{
    			AccountName:       pulumi.String("Account1"),
    			DataSetName:       pulumi.String("Dataset1"),
    			ResourceGroupName: pulumi.String("SampleResourceGroup"),
    			ShareName:         pulumi.String("Share1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datashare.KustoTableDataSet;
    import com.pulumi.azurenative.datashare.KustoTableDataSetArgs;
    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 kustoTableDataSet = new KustoTableDataSet("kustoTableDataSet", KustoTableDataSetArgs.builder()
                .accountName("Account1")
                .dataSetName("Dataset1")
                .resourceGroupName("SampleResourceGroup")
                .shareName("Share1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    kusto_table_data_set = azure_native.datashare.KustoTableDataSet("kustoTableDataSet",
        account_name="Account1",
        data_set_name="Dataset1",
        resource_group_name="SampleResourceGroup",
        share_name="Share1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const kustoTableDataSet = new azure_native.datashare.KustoTableDataSet("kustoTableDataSet", {
        accountName: "Account1",
        dataSetName: "Dataset1",
        resourceGroupName: "SampleResourceGroup",
        shareName: "Share1",
    });
    
    resources:
      kustoTableDataSet:
        type: azure-native:datashare:KustoTableDataSet
        properties:
          accountName: Account1
          dataSetName: Dataset1
          resourceGroupName: SampleResourceGroup
          shareName: Share1
    

    DataSets_SynapseWorkspaceSqlPoolTable_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var kustoTableDataSet = new AzureNative.DataShare.KustoTableDataSet("kustoTableDataSet", new()
        {
            AccountName = "sourceAccount",
            DataSetName = "dataset1",
            ResourceGroupName = "SampleResourceGroup",
            ShareName = "share1",
        });
    
    });
    
    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.NewKustoTableDataSet(ctx, "kustoTableDataSet", &datashare.KustoTableDataSetArgs{
    			AccountName:       pulumi.String("sourceAccount"),
    			DataSetName:       pulumi.String("dataset1"),
    			ResourceGroupName: pulumi.String("SampleResourceGroup"),
    			ShareName:         pulumi.String("share1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datashare.KustoTableDataSet;
    import com.pulumi.azurenative.datashare.KustoTableDataSetArgs;
    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 kustoTableDataSet = new KustoTableDataSet("kustoTableDataSet", KustoTableDataSetArgs.builder()
                .accountName("sourceAccount")
                .dataSetName("dataset1")
                .resourceGroupName("SampleResourceGroup")
                .shareName("share1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    kusto_table_data_set = azure_native.datashare.KustoTableDataSet("kustoTableDataSet",
        account_name="sourceAccount",
        data_set_name="dataset1",
        resource_group_name="SampleResourceGroup",
        share_name="share1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const kustoTableDataSet = new azure_native.datashare.KustoTableDataSet("kustoTableDataSet", {
        accountName: "sourceAccount",
        dataSetName: "dataset1",
        resourceGroupName: "SampleResourceGroup",
        shareName: "share1",
    });
    
    resources:
      kustoTableDataSet:
        type: azure-native:datashare:KustoTableDataSet
        properties:
          accountName: sourceAccount
          dataSetName: dataset1
          resourceGroupName: SampleResourceGroup
          shareName: share1
    

    Create KustoTableDataSet Resource

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

    Constructor syntax

    new KustoTableDataSet(name: string, args: KustoTableDataSetArgs, opts?: CustomResourceOptions);
    @overload
    def KustoTableDataSet(resource_name: str,
                          args: KustoTableDataSetArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def KustoTableDataSet(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          account_name: Optional[str] = None,
                          kusto_database_resource_id: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          share_name: Optional[str] = None,
                          table_level_sharing_properties: Optional[TableLevelSharingPropertiesArgs] = None,
                          data_set_name: Optional[str] = None)
    func NewKustoTableDataSet(ctx *Context, name string, args KustoTableDataSetArgs, opts ...ResourceOption) (*KustoTableDataSet, error)
    public KustoTableDataSet(string name, KustoTableDataSetArgs args, CustomResourceOptions? opts = null)
    public KustoTableDataSet(String name, KustoTableDataSetArgs args)
    public KustoTableDataSet(String name, KustoTableDataSetArgs args, CustomResourceOptions options)
    
    type: azure-native:datashare:KustoTableDataSet
    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 KustoTableDataSetArgs
    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 KustoTableDataSetArgs
    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 KustoTableDataSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KustoTableDataSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KustoTableDataSetArgs
    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 kustoTableDataSetResource = new AzureNative.DataShare.KustoTableDataSet("kustoTableDataSetResource", new()
    {
        AccountName = "string",
        Kind = "string",
        KustoDatabaseResourceId = "string",
        ResourceGroupName = "string",
        ShareName = "string",
        TableLevelSharingProperties = new AzureNative.DataShare.Inputs.TableLevelSharingPropertiesArgs
        {
            ExternalTablesToExclude = new[]
            {
                "string",
            },
            ExternalTablesToInclude = new[]
            {
                "string",
            },
            MaterializedViewsToExclude = new[]
            {
                "string",
            },
            MaterializedViewsToInclude = new[]
            {
                "string",
            },
            TablesToExclude = new[]
            {
                "string",
            },
            TablesToInclude = new[]
            {
                "string",
            },
        },
        DataSetName = "string",
    });
    
    example, err := datashare.NewKustoTableDataSet(ctx, "kustoTableDataSetResource", &datashare.KustoTableDataSetArgs{
    AccountName: pulumi.String("string"),
    Kind: pulumi.String("string"),
    KustoDatabaseResourceId: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    ShareName: pulumi.String("string"),
    TableLevelSharingProperties: &datashare.TableLevelSharingPropertiesArgs{
    ExternalTablesToExclude: pulumi.StringArray{
    pulumi.String("string"),
    },
    ExternalTablesToInclude: pulumi.StringArray{
    pulumi.String("string"),
    },
    MaterializedViewsToExclude: pulumi.StringArray{
    pulumi.String("string"),
    },
    MaterializedViewsToInclude: pulumi.StringArray{
    pulumi.String("string"),
    },
    TablesToExclude: pulumi.StringArray{
    pulumi.String("string"),
    },
    TablesToInclude: pulumi.StringArray{
    pulumi.String("string"),
    },
    },
    DataSetName: pulumi.String("string"),
    })
    
    var kustoTableDataSetResource = new KustoTableDataSet("kustoTableDataSetResource", KustoTableDataSetArgs.builder()
        .accountName("string")
        .kind("string")
        .kustoDatabaseResourceId("string")
        .resourceGroupName("string")
        .shareName("string")
        .tableLevelSharingProperties(TableLevelSharingPropertiesArgs.builder()
            .externalTablesToExclude("string")
            .externalTablesToInclude("string")
            .materializedViewsToExclude("string")
            .materializedViewsToInclude("string")
            .tablesToExclude("string")
            .tablesToInclude("string")
            .build())
        .dataSetName("string")
        .build());
    
    kusto_table_data_set_resource = azure_native.datashare.KustoTableDataSet("kustoTableDataSetResource",
        account_name="string",
        kind="string",
        kusto_database_resource_id="string",
        resource_group_name="string",
        share_name="string",
        table_level_sharing_properties=azure_native.datashare.TableLevelSharingPropertiesArgs(
            external_tables_to_exclude=["string"],
            external_tables_to_include=["string"],
            materialized_views_to_exclude=["string"],
            materialized_views_to_include=["string"],
            tables_to_exclude=["string"],
            tables_to_include=["string"],
        ),
        data_set_name="string")
    
    const kustoTableDataSetResource = new azure_native.datashare.KustoTableDataSet("kustoTableDataSetResource", {
        accountName: "string",
        kind: "string",
        kustoDatabaseResourceId: "string",
        resourceGroupName: "string",
        shareName: "string",
        tableLevelSharingProperties: {
            externalTablesToExclude: ["string"],
            externalTablesToInclude: ["string"],
            materializedViewsToExclude: ["string"],
            materializedViewsToInclude: ["string"],
            tablesToExclude: ["string"],
            tablesToInclude: ["string"],
        },
        dataSetName: "string",
    });
    
    type: azure-native:datashare:KustoTableDataSet
    properties:
        accountName: string
        dataSetName: string
        kind: string
        kustoDatabaseResourceId: string
        resourceGroupName: string
        shareName: string
        tableLevelSharingProperties:
            externalTablesToExclude:
                - string
            externalTablesToInclude:
                - string
            materializedViewsToExclude:
                - string
            materializedViewsToInclude:
                - string
            tablesToExclude:
                - string
            tablesToInclude:
                - string
    

    KustoTableDataSet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The KustoTableDataSet resource accepts the following input properties:

    AccountName string
    The name of the share account.
    KustoDatabaseResourceId string
    Resource id of the kusto database.
    ResourceGroupName string
    The resource group name.
    ShareName string
    The name of the share to add the data set to.
    TableLevelSharingProperties Pulumi.AzureNative.DataShare.Inputs.TableLevelSharingProperties
    Table level sharing properties for kusto database
    DataSetName string
    The name of the dataSet.
    AccountName string
    The name of the share account.
    KustoDatabaseResourceId string
    Resource id of the kusto database.
    ResourceGroupName string
    The resource group name.
    ShareName string
    The name of the share to add the data set to.
    TableLevelSharingProperties TableLevelSharingPropertiesArgs
    Table level sharing properties for kusto database
    DataSetName string
    The name of the dataSet.
    accountName String
    The name of the share account.
    kustoDatabaseResourceId String
    Resource id of the kusto database.
    resourceGroupName String
    The resource group name.
    shareName String
    The name of the share to add the data set to.
    tableLevelSharingProperties TableLevelSharingProperties
    Table level sharing properties for kusto database
    dataSetName String
    The name of the dataSet.
    accountName string
    The name of the share account.
    kustoDatabaseResourceId string
    Resource id of the kusto database.
    resourceGroupName string
    The resource group name.
    shareName string
    The name of the share to add the data set to.
    tableLevelSharingProperties TableLevelSharingProperties
    Table level sharing properties for kusto database
    dataSetName string
    The name of the dataSet.
    account_name str
    The name of the share account.
    kusto_database_resource_id str
    Resource id of the kusto database.
    resource_group_name str
    The resource group name.
    share_name str
    The name of the share to add the data set to.
    table_level_sharing_properties TableLevelSharingPropertiesArgs
    Table level sharing properties for kusto database
    data_set_name str
    The name of the dataSet.
    accountName String
    The name of the share account.
    kustoDatabaseResourceId String
    Resource id of the kusto database.
    resourceGroupName String
    The resource group name.
    shareName String
    The name of the share to add the data set to.
    tableLevelSharingProperties Property Map
    Table level sharing properties for kusto database
    dataSetName String
    The name of the dataSet.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the KustoTableDataSet 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.
    Location string
    Location of the kusto cluster.
    Name string
    Name of the azure resource
    ProvisioningState string
    Provisioning state of the kusto table data set.
    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.
    Location string
    Location of the kusto cluster.
    Name string
    Name of the azure resource
    ProvisioningState string
    Provisioning state of the kusto table data set.
    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.
    location String
    Location of the kusto cluster.
    name String
    Name of the azure resource
    provisioningState String
    Provisioning state of the kusto table data set.
    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.
    location string
    Location of the kusto cluster.
    name string
    Name of the azure resource
    provisioningState string
    Provisioning state of the kusto table data set.
    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.
    location str
    Location of the kusto cluster.
    name str
    Name of the azure resource
    provisioning_state str
    Provisioning state of the kusto table data set.
    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.
    location String
    Location of the kusto cluster.
    name String
    Name of the azure resource
    provisioningState String
    Provisioning state of the kusto table data set.
    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.

    TableLevelSharingProperties, TableLevelSharingPropertiesArgs

    ExternalTablesToExclude List<string>
    External tables to be excluded in the data set
    ExternalTablesToInclude List<string>
    External tables to be included in the data set
    MaterializedViewsToExclude List<string>
    Materialized views to be excluded in the data set
    MaterializedViewsToInclude List<string>
    Materialized views to be included in the data set
    TablesToExclude List<string>
    Tables to be excluded in the data set
    TablesToInclude List<string>
    Tables to be included in the data set
    ExternalTablesToExclude []string
    External tables to be excluded in the data set
    ExternalTablesToInclude []string
    External tables to be included in the data set
    MaterializedViewsToExclude []string
    Materialized views to be excluded in the data set
    MaterializedViewsToInclude []string
    Materialized views to be included in the data set
    TablesToExclude []string
    Tables to be excluded in the data set
    TablesToInclude []string
    Tables to be included in the data set
    externalTablesToExclude List<String>
    External tables to be excluded in the data set
    externalTablesToInclude List<String>
    External tables to be included in the data set
    materializedViewsToExclude List<String>
    Materialized views to be excluded in the data set
    materializedViewsToInclude List<String>
    Materialized views to be included in the data set
    tablesToExclude List<String>
    Tables to be excluded in the data set
    tablesToInclude List<String>
    Tables to be included in the data set
    externalTablesToExclude string[]
    External tables to be excluded in the data set
    externalTablesToInclude string[]
    External tables to be included in the data set
    materializedViewsToExclude string[]
    Materialized views to be excluded in the data set
    materializedViewsToInclude string[]
    Materialized views to be included in the data set
    tablesToExclude string[]
    Tables to be excluded in the data set
    tablesToInclude string[]
    Tables to be included in the data set
    external_tables_to_exclude Sequence[str]
    External tables to be excluded in the data set
    external_tables_to_include Sequence[str]
    External tables to be included in the data set
    materialized_views_to_exclude Sequence[str]
    Materialized views to be excluded in the data set
    materialized_views_to_include Sequence[str]
    Materialized views to be included in the data set
    tables_to_exclude Sequence[str]
    Tables to be excluded in the data set
    tables_to_include Sequence[str]
    Tables to be included in the data set
    externalTablesToExclude List<String>
    External tables to be excluded in the data set
    externalTablesToInclude List<String>
    External tables to be included in the data set
    materializedViewsToExclude List<String>
    Materialized views to be excluded in the data set
    materializedViewsToInclude List<String>
    Materialized views to be included in the data set
    tablesToExclude List<String>
    Tables to be excluded in the data set
    tablesToInclude List<String>
    Tables to be included in the data set

    TableLevelSharingPropertiesResponse, TableLevelSharingPropertiesResponseArgs

    ExternalTablesToExclude List<string>
    External tables to be excluded in the data set
    ExternalTablesToInclude List<string>
    External tables to be included in the data set
    MaterializedViewsToExclude List<string>
    Materialized views to be excluded in the data set
    MaterializedViewsToInclude List<string>
    Materialized views to be included in the data set
    TablesToExclude List<string>
    Tables to be excluded in the data set
    TablesToInclude List<string>
    Tables to be included in the data set
    ExternalTablesToExclude []string
    External tables to be excluded in the data set
    ExternalTablesToInclude []string
    External tables to be included in the data set
    MaterializedViewsToExclude []string
    Materialized views to be excluded in the data set
    MaterializedViewsToInclude []string
    Materialized views to be included in the data set
    TablesToExclude []string
    Tables to be excluded in the data set
    TablesToInclude []string
    Tables to be included in the data set
    externalTablesToExclude List<String>
    External tables to be excluded in the data set
    externalTablesToInclude List<String>
    External tables to be included in the data set
    materializedViewsToExclude List<String>
    Materialized views to be excluded in the data set
    materializedViewsToInclude List<String>
    Materialized views to be included in the data set
    tablesToExclude List<String>
    Tables to be excluded in the data set
    tablesToInclude List<String>
    Tables to be included in the data set
    externalTablesToExclude string[]
    External tables to be excluded in the data set
    externalTablesToInclude string[]
    External tables to be included in the data set
    materializedViewsToExclude string[]
    Materialized views to be excluded in the data set
    materializedViewsToInclude string[]
    Materialized views to be included in the data set
    tablesToExclude string[]
    Tables to be excluded in the data set
    tablesToInclude string[]
    Tables to be included in the data set
    external_tables_to_exclude Sequence[str]
    External tables to be excluded in the data set
    external_tables_to_include Sequence[str]
    External tables to be included in the data set
    materialized_views_to_exclude Sequence[str]
    Materialized views to be excluded in the data set
    materialized_views_to_include Sequence[str]
    Materialized views to be included in the data set
    tables_to_exclude Sequence[str]
    Tables to be excluded in the data set
    tables_to_include Sequence[str]
    Tables to be included in the data set
    externalTablesToExclude List<String>
    External tables to be excluded in the data set
    externalTablesToInclude List<String>
    External tables to be included in the data set
    materializedViewsToExclude List<String>
    Materialized views to be excluded in the data set
    materializedViewsToInclude List<String>
    Materialized views to be included in the data set
    tablesToExclude List<String>
    Tables to be excluded in the data set
    tablesToInclude List<String>
    Tables to be included in the data set

    Import

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

    $ pulumi import azure-native:datashare:KustoTableDataSet dataset1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets/{dataSetName} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi