We recommend using Azure Native.
azure.kusto.AttachedDatabaseConfiguration
Explore with Pulumi AI
Manages a Kusto (also known as Azure Data Explorer) Attached Database Configuration
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "my-kusto-rg",
    location: "West Europe",
});
const followerCluster = new azure.kusto.Cluster("follower_cluster", {
    name: "cluster1",
    location: example.location,
    resourceGroupName: example.name,
    sku: {
        name: "Dev(No SLA)_Standard_D11_v2",
        capacity: 1,
    },
});
const followedCluster = new azure.kusto.Cluster("followed_cluster", {
    name: "cluster2",
    location: example.location,
    resourceGroupName: example.name,
    sku: {
        name: "Dev(No SLA)_Standard_D11_v2",
        capacity: 1,
    },
});
const followedDatabase = new azure.kusto.Database("followed_database", {
    name: "my-followed-database",
    resourceGroupName: example.name,
    location: example.location,
    clusterName: followerCluster.name,
});
const exampleDatabase = new azure.kusto.Database("example", {
    name: "example",
    resourceGroupName: example.name,
    location: example.location,
    clusterName: followerCluster.name,
});
const exampleAttachedDatabaseConfiguration = new azure.kusto.AttachedDatabaseConfiguration("example", {
    name: "configuration1",
    resourceGroupName: example.name,
    location: example.location,
    clusterName: followerCluster.name,
    clusterResourceId: followedCluster.id,
    databaseName: exampleDatabase.name,
    sharing: {
        externalTablesToExcludes: ["ExternalTable2"],
        externalTablesToIncludes: ["ExternalTable1"],
        materializedViewsToExcludes: ["MaterializedViewTable2"],
        materializedViewsToIncludes: ["MaterializedViewTable1"],
        tablesToExcludes: ["Table2"],
        tablesToIncludes: ["Table1"],
    },
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="my-kusto-rg",
    location="West Europe")
follower_cluster = azure.kusto.Cluster("follower_cluster",
    name="cluster1",
    location=example.location,
    resource_group_name=example.name,
    sku={
        "name": "Dev(No SLA)_Standard_D11_v2",
        "capacity": 1,
    })
followed_cluster = azure.kusto.Cluster("followed_cluster",
    name="cluster2",
    location=example.location,
    resource_group_name=example.name,
    sku={
        "name": "Dev(No SLA)_Standard_D11_v2",
        "capacity": 1,
    })
followed_database = azure.kusto.Database("followed_database",
    name="my-followed-database",
    resource_group_name=example.name,
    location=example.location,
    cluster_name=follower_cluster.name)
example_database = azure.kusto.Database("example",
    name="example",
    resource_group_name=example.name,
    location=example.location,
    cluster_name=follower_cluster.name)
example_attached_database_configuration = azure.kusto.AttachedDatabaseConfiguration("example",
    name="configuration1",
    resource_group_name=example.name,
    location=example.location,
    cluster_name=follower_cluster.name,
    cluster_resource_id=followed_cluster.id,
    database_name=example_database.name,
    sharing={
        "external_tables_to_excludes": ["ExternalTable2"],
        "external_tables_to_includes": ["ExternalTable1"],
        "materialized_views_to_excludes": ["MaterializedViewTable2"],
        "materialized_views_to_includes": ["MaterializedViewTable1"],
        "tables_to_excludes": ["Table2"],
        "tables_to_includes": ["Table1"],
    })
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/kusto"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("my-kusto-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		followerCluster, err := kusto.NewCluster(ctx, "follower_cluster", &kusto.ClusterArgs{
			Name:              pulumi.String("cluster1"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Sku: &kusto.ClusterSkuArgs{
				Name:     pulumi.String("Dev(No SLA)_Standard_D11_v2"),
				Capacity: pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		followedCluster, err := kusto.NewCluster(ctx, "followed_cluster", &kusto.ClusterArgs{
			Name:              pulumi.String("cluster2"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Sku: &kusto.ClusterSkuArgs{
				Name:     pulumi.String("Dev(No SLA)_Standard_D11_v2"),
				Capacity: pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		_, err = kusto.NewDatabase(ctx, "followed_database", &kusto.DatabaseArgs{
			Name:              pulumi.String("my-followed-database"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			ClusterName:       followerCluster.Name,
		})
		if err != nil {
			return err
		}
		exampleDatabase, err := kusto.NewDatabase(ctx, "example", &kusto.DatabaseArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			ClusterName:       followerCluster.Name,
		})
		if err != nil {
			return err
		}
		_, err = kusto.NewAttachedDatabaseConfiguration(ctx, "example", &kusto.AttachedDatabaseConfigurationArgs{
			Name:              pulumi.String("configuration1"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			ClusterName:       followerCluster.Name,
			ClusterResourceId: followedCluster.ID(),
			DatabaseName:      exampleDatabase.Name,
			Sharing: &kusto.AttachedDatabaseConfigurationSharingArgs{
				ExternalTablesToExcludes: pulumi.StringArray{
					pulumi.String("ExternalTable2"),
				},
				ExternalTablesToIncludes: pulumi.StringArray{
					pulumi.String("ExternalTable1"),
				},
				MaterializedViewsToExcludes: pulumi.StringArray{
					pulumi.String("MaterializedViewTable2"),
				},
				MaterializedViewsToIncludes: pulumi.StringArray{
					pulumi.String("MaterializedViewTable1"),
				},
				TablesToExcludes: pulumi.StringArray{
					pulumi.String("Table2"),
				},
				TablesToIncludes: pulumi.StringArray{
					pulumi.String("Table1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "my-kusto-rg",
        Location = "West Europe",
    });
    var followerCluster = new Azure.Kusto.Cluster("follower_cluster", new()
    {
        Name = "cluster1",
        Location = example.Location,
        ResourceGroupName = example.Name,
        Sku = new Azure.Kusto.Inputs.ClusterSkuArgs
        {
            Name = "Dev(No SLA)_Standard_D11_v2",
            Capacity = 1,
        },
    });
    var followedCluster = new Azure.Kusto.Cluster("followed_cluster", new()
    {
        Name = "cluster2",
        Location = example.Location,
        ResourceGroupName = example.Name,
        Sku = new Azure.Kusto.Inputs.ClusterSkuArgs
        {
            Name = "Dev(No SLA)_Standard_D11_v2",
            Capacity = 1,
        },
    });
    var followedDatabase = new Azure.Kusto.Database("followed_database", new()
    {
        Name = "my-followed-database",
        ResourceGroupName = example.Name,
        Location = example.Location,
        ClusterName = followerCluster.Name,
    });
    var exampleDatabase = new Azure.Kusto.Database("example", new()
    {
        Name = "example",
        ResourceGroupName = example.Name,
        Location = example.Location,
        ClusterName = followerCluster.Name,
    });
    var exampleAttachedDatabaseConfiguration = new Azure.Kusto.AttachedDatabaseConfiguration("example", new()
    {
        Name = "configuration1",
        ResourceGroupName = example.Name,
        Location = example.Location,
        ClusterName = followerCluster.Name,
        ClusterResourceId = followedCluster.Id,
        DatabaseName = exampleDatabase.Name,
        Sharing = new Azure.Kusto.Inputs.AttachedDatabaseConfigurationSharingArgs
        {
            ExternalTablesToExcludes = new[]
            {
                "ExternalTable2",
            },
            ExternalTablesToIncludes = new[]
            {
                "ExternalTable1",
            },
            MaterializedViewsToExcludes = new[]
            {
                "MaterializedViewTable2",
            },
            MaterializedViewsToIncludes = new[]
            {
                "MaterializedViewTable1",
            },
            TablesToExcludes = new[]
            {
                "Table2",
            },
            TablesToIncludes = new[]
            {
                "Table1",
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.kusto.Cluster;
import com.pulumi.azure.kusto.ClusterArgs;
import com.pulumi.azure.kusto.inputs.ClusterSkuArgs;
import com.pulumi.azure.kusto.Database;
import com.pulumi.azure.kusto.DatabaseArgs;
import com.pulumi.azure.kusto.AttachedDatabaseConfiguration;
import com.pulumi.azure.kusto.AttachedDatabaseConfigurationArgs;
import com.pulumi.azure.kusto.inputs.AttachedDatabaseConfigurationSharingArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("my-kusto-rg")
            .location("West Europe")
            .build());
        var followerCluster = new Cluster("followerCluster", ClusterArgs.builder()
            .name("cluster1")
            .location(example.location())
            .resourceGroupName(example.name())
            .sku(ClusterSkuArgs.builder()
                .name("Dev(No SLA)_Standard_D11_v2")
                .capacity(1)
                .build())
            .build());
        var followedCluster = new Cluster("followedCluster", ClusterArgs.builder()
            .name("cluster2")
            .location(example.location())
            .resourceGroupName(example.name())
            .sku(ClusterSkuArgs.builder()
                .name("Dev(No SLA)_Standard_D11_v2")
                .capacity(1)
                .build())
            .build());
        var followedDatabase = new Database("followedDatabase", DatabaseArgs.builder()
            .name("my-followed-database")
            .resourceGroupName(example.name())
            .location(example.location())
            .clusterName(followerCluster.name())
            .build());
        var exampleDatabase = new Database("exampleDatabase", DatabaseArgs.builder()
            .name("example")
            .resourceGroupName(example.name())
            .location(example.location())
            .clusterName(followerCluster.name())
            .build());
        var exampleAttachedDatabaseConfiguration = new AttachedDatabaseConfiguration("exampleAttachedDatabaseConfiguration", AttachedDatabaseConfigurationArgs.builder()
            .name("configuration1")
            .resourceGroupName(example.name())
            .location(example.location())
            .clusterName(followerCluster.name())
            .clusterResourceId(followedCluster.id())
            .databaseName(exampleDatabase.name())
            .sharing(AttachedDatabaseConfigurationSharingArgs.builder()
                .externalTablesToExcludes("ExternalTable2")
                .externalTablesToIncludes("ExternalTable1")
                .materializedViewsToExcludes("MaterializedViewTable2")
                .materializedViewsToIncludes("MaterializedViewTable1")
                .tablesToExcludes("Table2")
                .tablesToIncludes("Table1")
                .build())
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: my-kusto-rg
      location: West Europe
  followerCluster:
    type: azure:kusto:Cluster
    name: follower_cluster
    properties:
      name: cluster1
      location: ${example.location}
      resourceGroupName: ${example.name}
      sku:
        name: Dev(No SLA)_Standard_D11_v2
        capacity: 1
  followedCluster:
    type: azure:kusto:Cluster
    name: followed_cluster
    properties:
      name: cluster2
      location: ${example.location}
      resourceGroupName: ${example.name}
      sku:
        name: Dev(No SLA)_Standard_D11_v2
        capacity: 1
  followedDatabase:
    type: azure:kusto:Database
    name: followed_database
    properties:
      name: my-followed-database
      resourceGroupName: ${example.name}
      location: ${example.location}
      clusterName: ${followerCluster.name}
  exampleDatabase:
    type: azure:kusto:Database
    name: example
    properties:
      name: example
      resourceGroupName: ${example.name}
      location: ${example.location}
      clusterName: ${followerCluster.name}
  exampleAttachedDatabaseConfiguration:
    type: azure:kusto:AttachedDatabaseConfiguration
    name: example
    properties:
      name: configuration1
      resourceGroupName: ${example.name}
      location: ${example.location}
      clusterName: ${followerCluster.name}
      clusterResourceId: ${followedCluster.id}
      databaseName: ${exampleDatabase.name}
      sharing:
        externalTablesToExcludes:
          - ExternalTable2
        externalTablesToIncludes:
          - ExternalTable1
        materializedViewsToExcludes:
          - MaterializedViewTable2
        materializedViewsToIncludes:
          - MaterializedViewTable1
        tablesToExcludes:
          - Table2
        tablesToIncludes:
          - Table1
Create AttachedDatabaseConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AttachedDatabaseConfiguration(name: string, args: AttachedDatabaseConfigurationArgs, opts?: CustomResourceOptions);@overload
def AttachedDatabaseConfiguration(resource_name: str,
                                  args: AttachedDatabaseConfigurationArgs,
                                  opts: Optional[ResourceOptions] = None)
@overload
def AttachedDatabaseConfiguration(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  cluster_name: Optional[str] = None,
                                  database_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  cluster_id: Optional[str] = None,
                                  cluster_resource_id: Optional[str] = None,
                                  default_principal_modification_kind: Optional[str] = None,
                                  location: Optional[str] = None,
                                  name: Optional[str] = None,
                                  sharing: Optional[AttachedDatabaseConfigurationSharingArgs] = None)func NewAttachedDatabaseConfiguration(ctx *Context, name string, args AttachedDatabaseConfigurationArgs, opts ...ResourceOption) (*AttachedDatabaseConfiguration, error)public AttachedDatabaseConfiguration(string name, AttachedDatabaseConfigurationArgs args, CustomResourceOptions? opts = null)
public AttachedDatabaseConfiguration(String name, AttachedDatabaseConfigurationArgs args)
public AttachedDatabaseConfiguration(String name, AttachedDatabaseConfigurationArgs args, CustomResourceOptions options)
type: azure:kusto:AttachedDatabaseConfiguration
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 AttachedDatabaseConfigurationArgs
- 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 AttachedDatabaseConfigurationArgs
- 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 AttachedDatabaseConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AttachedDatabaseConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AttachedDatabaseConfigurationArgs
- 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 attachedDatabaseConfigurationResource = new Azure.Kusto.AttachedDatabaseConfiguration("attachedDatabaseConfigurationResource", new()
{
    ClusterName = "string",
    DatabaseName = "string",
    ResourceGroupName = "string",
    ClusterId = "string",
    DefaultPrincipalModificationKind = "string",
    Location = "string",
    Name = "string",
    Sharing = new Azure.Kusto.Inputs.AttachedDatabaseConfigurationSharingArgs
    {
        ExternalTablesToExcludes = new[]
        {
            "string",
        },
        ExternalTablesToIncludes = new[]
        {
            "string",
        },
        MaterializedViewsToExcludes = new[]
        {
            "string",
        },
        MaterializedViewsToIncludes = new[]
        {
            "string",
        },
        TablesToExcludes = new[]
        {
            "string",
        },
        TablesToIncludes = new[]
        {
            "string",
        },
    },
});
example, err := kusto.NewAttachedDatabaseConfiguration(ctx, "attachedDatabaseConfigurationResource", &kusto.AttachedDatabaseConfigurationArgs{
	ClusterName:                      pulumi.String("string"),
	DatabaseName:                     pulumi.String("string"),
	ResourceGroupName:                pulumi.String("string"),
	ClusterId:                        pulumi.String("string"),
	DefaultPrincipalModificationKind: pulumi.String("string"),
	Location:                         pulumi.String("string"),
	Name:                             pulumi.String("string"),
	Sharing: &kusto.AttachedDatabaseConfigurationSharingArgs{
		ExternalTablesToExcludes: pulumi.StringArray{
			pulumi.String("string"),
		},
		ExternalTablesToIncludes: pulumi.StringArray{
			pulumi.String("string"),
		},
		MaterializedViewsToExcludes: pulumi.StringArray{
			pulumi.String("string"),
		},
		MaterializedViewsToIncludes: pulumi.StringArray{
			pulumi.String("string"),
		},
		TablesToExcludes: pulumi.StringArray{
			pulumi.String("string"),
		},
		TablesToIncludes: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
})
var attachedDatabaseConfigurationResource = new AttachedDatabaseConfiguration("attachedDatabaseConfigurationResource", AttachedDatabaseConfigurationArgs.builder()
    .clusterName("string")
    .databaseName("string")
    .resourceGroupName("string")
    .clusterId("string")
    .defaultPrincipalModificationKind("string")
    .location("string")
    .name("string")
    .sharing(AttachedDatabaseConfigurationSharingArgs.builder()
        .externalTablesToExcludes("string")
        .externalTablesToIncludes("string")
        .materializedViewsToExcludes("string")
        .materializedViewsToIncludes("string")
        .tablesToExcludes("string")
        .tablesToIncludes("string")
        .build())
    .build());
attached_database_configuration_resource = azure.kusto.AttachedDatabaseConfiguration("attachedDatabaseConfigurationResource",
    cluster_name="string",
    database_name="string",
    resource_group_name="string",
    cluster_id="string",
    default_principal_modification_kind="string",
    location="string",
    name="string",
    sharing={
        "external_tables_to_excludes": ["string"],
        "external_tables_to_includes": ["string"],
        "materialized_views_to_excludes": ["string"],
        "materialized_views_to_includes": ["string"],
        "tables_to_excludes": ["string"],
        "tables_to_includes": ["string"],
    })
const attachedDatabaseConfigurationResource = new azure.kusto.AttachedDatabaseConfiguration("attachedDatabaseConfigurationResource", {
    clusterName: "string",
    databaseName: "string",
    resourceGroupName: "string",
    clusterId: "string",
    defaultPrincipalModificationKind: "string",
    location: "string",
    name: "string",
    sharing: {
        externalTablesToExcludes: ["string"],
        externalTablesToIncludes: ["string"],
        materializedViewsToExcludes: ["string"],
        materializedViewsToIncludes: ["string"],
        tablesToExcludes: ["string"],
        tablesToIncludes: ["string"],
    },
});
type: azure:kusto:AttachedDatabaseConfiguration
properties:
    clusterId: string
    clusterName: string
    databaseName: string
    defaultPrincipalModificationKind: string
    location: string
    name: string
    resourceGroupName: string
    sharing:
        externalTablesToExcludes:
            - string
        externalTablesToIncludes:
            - string
        materializedViewsToExcludes:
            - string
        materializedViewsToIncludes:
            - string
        tablesToExcludes:
            - string
        tablesToIncludes:
            - string
AttachedDatabaseConfiguration 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 AttachedDatabaseConfiguration resource accepts the following input properties:
- ClusterName string
- Specifies the name of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- DatabaseName string
- The name of the database which you would like to attach, use * if you want to follow all current and future databases. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- ClusterId string
- The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- ClusterResource stringId 
- DefaultPrincipal stringModification Kind 
- The default principals modification kind. Valid values are: None(default),ReplaceandUnion. Defaults toNone.
- Location string
- Specifies the location of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- Name string
- The name of the Kusto Attached Database Configuration to create. Changing this forces a new resource to be created.
- 
AttachedDatabase Configuration Sharing 
- A sharingblock as defined below.
- ClusterName string
- Specifies the name of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- DatabaseName string
- The name of the database which you would like to attach, use * if you want to follow all current and future databases. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- ClusterId string
- The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- ClusterResource stringId 
- DefaultPrincipal stringModification Kind 
- The default principals modification kind. Valid values are: None(default),ReplaceandUnion. Defaults toNone.
- Location string
- Specifies the location of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- Name string
- The name of the Kusto Attached Database Configuration to create. Changing this forces a new resource to be created.
- 
AttachedDatabase Configuration Sharing Args 
- A sharingblock as defined below.
- clusterName String
- Specifies the name of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- databaseName String
- The name of the database which you would like to attach, use * if you want to follow all current and future databases. Changing this forces a new resource to be created.
- resourceGroup StringName 
- Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- clusterId String
- The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- clusterResource StringId 
- defaultPrincipal StringModification Kind 
- The default principals modification kind. Valid values are: None(default),ReplaceandUnion. Defaults toNone.
- location String
- Specifies the location of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- name String
- The name of the Kusto Attached Database Configuration to create. Changing this forces a new resource to be created.
- 
AttachedDatabase Configuration Sharing 
- A sharingblock as defined below.
- clusterName string
- Specifies the name of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- databaseName string
- The name of the database which you would like to attach, use * if you want to follow all current and future databases. Changing this forces a new resource to be created.
- resourceGroup stringName 
- Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- clusterId string
- The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- clusterResource stringId 
- defaultPrincipal stringModification Kind 
- The default principals modification kind. Valid values are: None(default),ReplaceandUnion. Defaults toNone.
- location string
- Specifies the location of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- name string
- The name of the Kusto Attached Database Configuration to create. Changing this forces a new resource to be created.
- 
AttachedDatabase Configuration Sharing 
- A sharingblock as defined below.
- cluster_name str
- Specifies the name of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- database_name str
- The name of the database which you would like to attach, use * if you want to follow all current and future databases. Changing this forces a new resource to be created.
- resource_group_ strname 
- Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- cluster_id str
- The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- cluster_resource_ strid 
- default_principal_ strmodification_ kind 
- The default principals modification kind. Valid values are: None(default),ReplaceandUnion. Defaults toNone.
- location str
- Specifies the location of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- name str
- The name of the Kusto Attached Database Configuration to create. Changing this forces a new resource to be created.
- 
AttachedDatabase Configuration Sharing Args 
- A sharingblock as defined below.
- clusterName String
- Specifies the name of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- databaseName String
- The name of the database which you would like to attach, use * if you want to follow all current and future databases. Changing this forces a new resource to be created.
- resourceGroup StringName 
- Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- clusterId String
- The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- clusterResource StringId 
- defaultPrincipal StringModification Kind 
- The default principals modification kind. Valid values are: None(default),ReplaceandUnion. Defaults toNone.
- location String
- Specifies the location of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- name String
- The name of the Kusto Attached Database Configuration to create. Changing this forces a new resource to be created.
- Property Map
- A sharingblock as defined below.
Outputs
All input properties are implicitly available as output properties. Additionally, the AttachedDatabaseConfiguration resource produces the following output properties:
- AttachedDatabase List<string>Names 
- The list of databases from the cluster_resource_idwhich are currently attached to the cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- AttachedDatabase []stringNames 
- The list of databases from the cluster_resource_idwhich are currently attached to the cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- attachedDatabase List<String>Names 
- The list of databases from the cluster_resource_idwhich are currently attached to the cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- attachedDatabase string[]Names 
- The list of databases from the cluster_resource_idwhich are currently attached to the cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- attached_database_ Sequence[str]names 
- The list of databases from the cluster_resource_idwhich are currently attached to the cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- attachedDatabase List<String>Names 
- The list of databases from the cluster_resource_idwhich are currently attached to the cluster.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AttachedDatabaseConfiguration Resource
Get an existing AttachedDatabaseConfiguration 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?: AttachedDatabaseConfigurationState, opts?: CustomResourceOptions): AttachedDatabaseConfiguration@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        attached_database_names: Optional[Sequence[str]] = None,
        cluster_id: Optional[str] = None,
        cluster_name: Optional[str] = None,
        cluster_resource_id: Optional[str] = None,
        database_name: Optional[str] = None,
        default_principal_modification_kind: Optional[str] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        sharing: Optional[AttachedDatabaseConfigurationSharingArgs] = None) -> AttachedDatabaseConfigurationfunc GetAttachedDatabaseConfiguration(ctx *Context, name string, id IDInput, state *AttachedDatabaseConfigurationState, opts ...ResourceOption) (*AttachedDatabaseConfiguration, error)public static AttachedDatabaseConfiguration Get(string name, Input<string> id, AttachedDatabaseConfigurationState? state, CustomResourceOptions? opts = null)public static AttachedDatabaseConfiguration get(String name, Output<String> id, AttachedDatabaseConfigurationState state, CustomResourceOptions options)resources:  _:    type: azure:kusto:AttachedDatabaseConfiguration    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.
- AttachedDatabase List<string>Names 
- The list of databases from the cluster_resource_idwhich are currently attached to the cluster.
- ClusterId string
- The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- ClusterName string
- Specifies the name of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- ClusterResource stringId 
- DatabaseName string
- The name of the database which you would like to attach, use * if you want to follow all current and future databases. Changing this forces a new resource to be created.
- DefaultPrincipal stringModification Kind 
- The default principals modification kind. Valid values are: None(default),ReplaceandUnion. Defaults toNone.
- Location string
- Specifies the location of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- Name string
- The name of the Kusto Attached Database Configuration to create. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- Sharing
AttachedDatabase Configuration Sharing 
- A sharingblock as defined below.
- AttachedDatabase []stringNames 
- The list of databases from the cluster_resource_idwhich are currently attached to the cluster.
- ClusterId string
- The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- ClusterName string
- Specifies the name of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- ClusterResource stringId 
- DatabaseName string
- The name of the database which you would like to attach, use * if you want to follow all current and future databases. Changing this forces a new resource to be created.
- DefaultPrincipal stringModification Kind 
- The default principals modification kind. Valid values are: None(default),ReplaceandUnion. Defaults toNone.
- Location string
- Specifies the location of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- Name string
- The name of the Kusto Attached Database Configuration to create. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- Sharing
AttachedDatabase Configuration Sharing Args 
- A sharingblock as defined below.
- attachedDatabase List<String>Names 
- The list of databases from the cluster_resource_idwhich are currently attached to the cluster.
- clusterId String
- The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- clusterName String
- Specifies the name of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- clusterResource StringId 
- databaseName String
- The name of the database which you would like to attach, use * if you want to follow all current and future databases. Changing this forces a new resource to be created.
- defaultPrincipal StringModification Kind 
- The default principals modification kind. Valid values are: None(default),ReplaceandUnion. Defaults toNone.
- location String
- Specifies the location of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- name String
- The name of the Kusto Attached Database Configuration to create. Changing this forces a new resource to be created.
- resourceGroup StringName 
- Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- sharing
AttachedDatabase Configuration Sharing 
- A sharingblock as defined below.
- attachedDatabase string[]Names 
- The list of databases from the cluster_resource_idwhich are currently attached to the cluster.
- clusterId string
- The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- clusterName string
- Specifies the name of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- clusterResource stringId 
- databaseName string
- The name of the database which you would like to attach, use * if you want to follow all current and future databases. Changing this forces a new resource to be created.
- defaultPrincipal stringModification Kind 
- The default principals modification kind. Valid values are: None(default),ReplaceandUnion. Defaults toNone.
- location string
- Specifies the location of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- name string
- The name of the Kusto Attached Database Configuration to create. Changing this forces a new resource to be created.
- resourceGroup stringName 
- Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- sharing
AttachedDatabase Configuration Sharing 
- A sharingblock as defined below.
- attached_database_ Sequence[str]names 
- The list of databases from the cluster_resource_idwhich are currently attached to the cluster.
- cluster_id str
- The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- cluster_name str
- Specifies the name of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- cluster_resource_ strid 
- database_name str
- The name of the database which you would like to attach, use * if you want to follow all current and future databases. Changing this forces a new resource to be created.
- default_principal_ strmodification_ kind 
- The default principals modification kind. Valid values are: None(default),ReplaceandUnion. Defaults toNone.
- location str
- Specifies the location of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- name str
- The name of the Kusto Attached Database Configuration to create. Changing this forces a new resource to be created.
- resource_group_ strname 
- Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- sharing
AttachedDatabase Configuration Sharing Args 
- A sharingblock as defined below.
- attachedDatabase List<String>Names 
- The list of databases from the cluster_resource_idwhich are currently attached to the cluster.
- clusterId String
- The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- clusterName String
- Specifies the name of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- clusterResource StringId 
- databaseName String
- The name of the database which you would like to attach, use * if you want to follow all current and future databases. Changing this forces a new resource to be created.
- defaultPrincipal StringModification Kind 
- The default principals modification kind. Valid values are: None(default),ReplaceandUnion. Defaults toNone.
- location String
- Specifies the location of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- name String
- The name of the Kusto Attached Database Configuration to create. Changing this forces a new resource to be created.
- resourceGroup StringName 
- Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.
- sharing Property Map
- A sharingblock as defined below.
Supporting Types
AttachedDatabaseConfigurationSharing, AttachedDatabaseConfigurationSharingArgs        
- ExternalTables List<string>To Excludes 
- List of external tables exclude from the follower database.
- ExternalTables List<string>To Includes 
- List of external tables to include in the follower database.
- MaterializedViews List<string>To Excludes 
- List of materialized views exclude from the follower database.
- MaterializedViews List<string>To Includes 
- List of materialized views to include in the follower database.
- TablesTo List<string>Excludes 
- List of tables to exclude from the follower database.
- TablesTo List<string>Includes 
- List of tables to include in the follower database.
- ExternalTables []stringTo Excludes 
- List of external tables exclude from the follower database.
- ExternalTables []stringTo Includes 
- List of external tables to include in the follower database.
- MaterializedViews []stringTo Excludes 
- List of materialized views exclude from the follower database.
- MaterializedViews []stringTo Includes 
- List of materialized views to include in the follower database.
- TablesTo []stringExcludes 
- List of tables to exclude from the follower database.
- TablesTo []stringIncludes 
- List of tables to include in the follower database.
- externalTables List<String>To Excludes 
- List of external tables exclude from the follower database.
- externalTables List<String>To Includes 
- List of external tables to include in the follower database.
- materializedViews List<String>To Excludes 
- List of materialized views exclude from the follower database.
- materializedViews List<String>To Includes 
- List of materialized views to include in the follower database.
- tablesTo List<String>Excludes 
- List of tables to exclude from the follower database.
- tablesTo List<String>Includes 
- List of tables to include in the follower database.
- externalTables string[]To Excludes 
- List of external tables exclude from the follower database.
- externalTables string[]To Includes 
- List of external tables to include in the follower database.
- materializedViews string[]To Excludes 
- List of materialized views exclude from the follower database.
- materializedViews string[]To Includes 
- List of materialized views to include in the follower database.
- tablesTo string[]Excludes 
- List of tables to exclude from the follower database.
- tablesTo string[]Includes 
- List of tables to include in the follower database.
- external_tables_ Sequence[str]to_ excludes 
- List of external tables exclude from the follower database.
- external_tables_ Sequence[str]to_ includes 
- List of external tables to include in the follower database.
- materialized_views_ Sequence[str]to_ excludes 
- List of materialized views exclude from the follower database.
- materialized_views_ Sequence[str]to_ includes 
- List of materialized views to include in the follower database.
- tables_to_ Sequence[str]excludes 
- List of tables to exclude from the follower database.
- tables_to_ Sequence[str]includes 
- List of tables to include in the follower database.
- externalTables List<String>To Excludes 
- List of external tables exclude from the follower database.
- externalTables List<String>To Includes 
- List of external tables to include in the follower database.
- materializedViews List<String>To Excludes 
- List of materialized views exclude from the follower database.
- materializedViews List<String>To Includes 
- List of materialized views to include in the follower database.
- tablesTo List<String>Excludes 
- List of tables to exclude from the follower database.
- tablesTo List<String>Includes 
- List of tables to include in the follower database.
Import
Kusto Attached Database Configurations can be imported using the resource id, e.g.
$ pulumi import azure:kusto/attachedDatabaseConfiguration:AttachedDatabaseConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Kusto/clusters/cluster1/attachedDatabaseConfigurations/configuration1
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 azurermTerraform Provider.