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=azure.kusto.ClusterSkuArgs(
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=azure.kusto.ClusterSkuArgs(
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=azure.kusto.AttachedDatabaseConfigurationSharingArgs(
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/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/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,
cluster_resource_id: Optional[str] = None,
database_name: Optional[str] = None,
resource_group_name: 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",
ClusterResourceId = "string",
DatabaseName = "string",
ResourceGroupName = "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"),
ClusterResourceId: pulumi.String("string"),
DatabaseName: pulumi.String("string"),
ResourceGroupName: 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")
.clusterResourceId("string")
.databaseName("string")
.resourceGroupName("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",
cluster_resource_id="string",
database_name="string",
resource_group_name="string",
default_principal_modification_kind="string",
location="string",
name="string",
sharing=azure.kusto.AttachedDatabaseConfigurationSharingArgs(
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",
clusterResourceId: "string",
databaseName: "string",
resourceGroupName: "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:
clusterName: string
clusterResourceId: 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
The AttachedDatabaseConfiguration resource accepts the following input properties:
- Cluster
Name string - 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 stringId - The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- Database
Name 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.
- Resource
Group 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.
- Default
Principal stringModification Kind - The default principals modification kind. Valid values are:
None
(default),Replace
andUnion
. 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.
- Attached
Database Configuration Sharing - A
sharing
block as defined below.
- Cluster
Name string - 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 stringId - The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- Database
Name 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.
- Resource
Group 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.
- Default
Principal stringModification Kind - The default principals modification kind. Valid values are:
None
(default),Replace
andUnion
. 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.
- Attached
Database Configuration Sharing Args - A
sharing
block as defined below.
- cluster
Name String - 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 StringId - The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- database
Name 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.
- resource
Group 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.
- default
Principal StringModification Kind - The default principals modification kind. Valid values are:
None
(default),Replace
andUnion
. 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.
- Attached
Database Configuration Sharing - A
sharing
block as defined below.
- cluster
Name string - 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 stringId - The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- database
Name 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.
- resource
Group 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.
- default
Principal stringModification Kind - The default principals modification kind. Valid values are:
None
(default),Replace
andUnion
. 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.
- Attached
Database Configuration Sharing - A
sharing
block 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.
- cluster_
resource_ strid - The resource id of the cluster where the databases you would like to attach reside. 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.
- default_
principal_ strmodification_ kind - The default principals modification kind. Valid values are:
None
(default),Replace
andUnion
. 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.
- Attached
Database Configuration Sharing Args - A
sharing
block as defined below.
- cluster
Name String - 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 StringId - The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- database
Name 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.
- resource
Group 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.
- default
Principal StringModification Kind - The default principals modification kind. Valid values are:
None
(default),Replace
andUnion
. 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
sharing
block as defined below.
Outputs
All input properties are implicitly available as output properties. Additionally, the AttachedDatabaseConfiguration resource produces the following output properties:
- Attached
Database List<string>Names - The list of databases from the
cluster_resource_id
which are currently attached to the cluster. - Id string
- The provider-assigned unique ID for this managed resource.
- Attached
Database []stringNames - The list of databases from the
cluster_resource_id
which are currently attached to the cluster. - Id string
- The provider-assigned unique ID for this managed resource.
- attached
Database List<String>Names - The list of databases from the
cluster_resource_id
which are currently attached to the cluster. - id String
- The provider-assigned unique ID for this managed resource.
- attached
Database string[]Names - The list of databases from the
cluster_resource_id
which 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_id
which are currently attached to the cluster. - id str
- The provider-assigned unique ID for this managed resource.
- attached
Database List<String>Names - The list of databases from the
cluster_resource_id
which 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_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) -> AttachedDatabaseConfiguration
func 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)
Resource lookup is not supported in YAML
- 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.
- Attached
Database List<string>Names - The list of databases from the
cluster_resource_id
which are currently attached to the cluster. - Cluster
Name string - 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 stringId - The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- Database
Name 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.
- Default
Principal stringModification Kind - The default principals modification kind. Valid values are:
None
(default),Replace
andUnion
. 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.
- Resource
Group 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
Attached
Database Configuration Sharing - A
sharing
block as defined below.
- Attached
Database []stringNames - The list of databases from the
cluster_resource_id
which are currently attached to the cluster. - Cluster
Name string - 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 stringId - The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- Database
Name 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.
- Default
Principal stringModification Kind - The default principals modification kind. Valid values are:
None
(default),Replace
andUnion
. 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.
- Resource
Group 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
Attached
Database Configuration Sharing Args - A
sharing
block as defined below.
- attached
Database List<String>Names - The list of databases from the
cluster_resource_id
which are currently attached to the cluster. - cluster
Name String - 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 StringId - The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- database
Name 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.
- default
Principal StringModification Kind - The default principals modification kind. Valid values are:
None
(default),Replace
andUnion
. 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.
- resource
Group 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
Attached
Database Configuration Sharing - A
sharing
block as defined below.
- attached
Database string[]Names - The list of databases from the
cluster_resource_id
which are currently attached to the cluster. - cluster
Name string - 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 stringId - The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- database
Name 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.
- default
Principal stringModification Kind - The default principals modification kind. Valid values are:
None
(default),Replace
andUnion
. 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.
- resource
Group 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
Attached
Database Configuration Sharing - A
sharing
block as defined below.
- attached_
database_ Sequence[str]names - The list of databases from the
cluster_resource_id
which are currently attached to the cluster. - 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 - The resource id of the cluster where the databases you would like to attach reside. 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.
- default_
principal_ strmodification_ kind - The default principals modification kind. Valid values are:
None
(default),Replace
andUnion
. 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
Attached
Database Configuration Sharing Args - A
sharing
block as defined below.
- attached
Database List<String>Names - The list of databases from the
cluster_resource_id
which are currently attached to the cluster. - cluster
Name String - 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 StringId - The resource id of the cluster where the databases you would like to attach reside. Changing this forces a new resource to be created.
- database
Name 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.
- default
Principal StringModification Kind - The default principals modification kind. Valid values are:
None
(default),Replace
andUnion
. 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.
- resource
Group 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
sharing
block as defined below.
Supporting Types
AttachedDatabaseConfigurationSharing, AttachedDatabaseConfigurationSharingArgs
- External
Tables List<string>To Excludes - List of external tables exclude from the follower database.
- External
Tables List<string>To Includes - List of external tables to include in the follower database.
- Materialized
Views List<string>To Excludes - List of materialized views exclude from the follower database.
- Materialized
Views List<string>To Includes - List of materialized views to include in the follower database.
- Tables
To List<string>Excludes - List of tables to exclude from the follower database.
- Tables
To List<string>Includes - List of tables to include in the follower database.
- External
Tables []stringTo Excludes - List of external tables exclude from the follower database.
- External
Tables []stringTo Includes - List of external tables to include in the follower database.
- Materialized
Views []stringTo Excludes - List of materialized views exclude from the follower database.
- Materialized
Views []stringTo Includes - List of materialized views to include in the follower database.
- Tables
To []stringExcludes - List of tables to exclude from the follower database.
- Tables
To []stringIncludes - List of tables to include in the follower database.
- external
Tables List<String>To Excludes - List of external tables exclude from the follower database.
- external
Tables List<String>To Includes - List of external tables to include in the follower database.
- materialized
Views List<String>To Excludes - List of materialized views exclude from the follower database.
- materialized
Views List<String>To Includes - List of materialized views to include in the follower database.
- tables
To List<String>Excludes - List of tables to exclude from the follower database.
- tables
To List<String>Includes - List of tables to include in the follower database.
- external
Tables string[]To Excludes - List of external tables exclude from the follower database.
- external
Tables string[]To Includes - List of external tables to include in the follower database.
- materialized
Views string[]To Excludes - List of materialized views exclude from the follower database.
- materialized
Views string[]To Includes - List of materialized views to include in the follower database.
- tables
To string[]Excludes - List of tables to exclude from the follower database.
- tables
To 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.
- external
Tables List<String>To Excludes - List of external tables exclude from the follower database.
- external
Tables List<String>To Includes - List of external tables to include in the follower database.
- materialized
Views List<String>To Excludes - List of materialized views exclude from the follower database.
- materialized
Views List<String>To Includes - List of materialized views to include in the follower database.
- tables
To List<String>Excludes - List of tables to exclude from the follower database.
- tables
To 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
azurerm
Terraform Provider.