1. Packages
  2. Azure Classic
  3. API Docs
  4. kusto
  5. AttachedDatabaseConfiguration

We recommend using Azure Native.

Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi

azure.kusto.AttachedDatabaseConfiguration

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi

    Manages a Kusto (also known as Azure Data Explorer) Attached Database Configuration

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
        {
            Location = "West Europe",
        });
    
        var followerCluster = new Azure.Kusto.Cluster("followerCluster", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            Sku = new Azure.Kusto.Inputs.ClusterSkuArgs
            {
                Name = "Dev(No SLA)_Standard_D11_v2",
                Capacity = 1,
            },
        });
    
        var followedCluster = new Azure.Kusto.Cluster("followedCluster", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            Sku = new Azure.Kusto.Inputs.ClusterSkuArgs
            {
                Name = "Dev(No SLA)_Standard_D11_v2",
                Capacity = 1,
            },
        });
    
        var followedDatabase = new Azure.Kusto.Database("followedDatabase", new()
        {
            ResourceGroupName = exampleResourceGroup.Name,
            Location = exampleResourceGroup.Location,
            ClusterName = followerCluster.Name,
        });
    
        var exampleDatabase = new Azure.Kusto.Database("exampleDatabase", new()
        {
            ResourceGroupName = exampleResourceGroup.Name,
            Location = exampleResourceGroup.Location,
            ClusterName = followerCluster.Name,
        });
    
        var exampleAttachedDatabaseConfiguration = new Azure.Kusto.AttachedDatabaseConfiguration("exampleAttachedDatabaseConfiguration", new()
        {
            ResourceGroupName = exampleResourceGroup.Name,
            Location = exampleResourceGroup.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 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 {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		followerCluster, err := kusto.NewCluster(ctx, "followerCluster", &kusto.ClusterArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.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, "followedCluster", &kusto.ClusterArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.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, "followedDatabase", &kusto.DatabaseArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			ClusterName:       followerCluster.Name,
    		})
    		if err != nil {
    			return err
    		}
    		exampleDatabase, err := kusto.NewDatabase(ctx, "exampleDatabase", &kusto.DatabaseArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			ClusterName:       followerCluster.Name,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = kusto.NewAttachedDatabaseConfiguration(ctx, "exampleAttachedDatabaseConfiguration", &kusto.AttachedDatabaseConfigurationArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.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
    	})
    }
    
    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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
                .location("West Europe")
                .build());
    
            var followerCluster = new Cluster("followerCluster", ClusterArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .sku(ClusterSkuArgs.builder()
                    .name("Dev(No SLA)_Standard_D11_v2")
                    .capacity(1)
                    .build())
                .build());
    
            var followedCluster = new Cluster("followedCluster", ClusterArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .sku(ClusterSkuArgs.builder()
                    .name("Dev(No SLA)_Standard_D11_v2")
                    .capacity(1)
                    .build())
                .build());
    
            var followedDatabase = new Database("followedDatabase", DatabaseArgs.builder()        
                .resourceGroupName(exampleResourceGroup.name())
                .location(exampleResourceGroup.location())
                .clusterName(followerCluster.name())
                .build());
    
            var exampleDatabase = new Database("exampleDatabase", DatabaseArgs.builder()        
                .resourceGroupName(exampleResourceGroup.name())
                .location(exampleResourceGroup.location())
                .clusterName(followerCluster.name())
                .build());
    
            var exampleAttachedDatabaseConfiguration = new AttachedDatabaseConfiguration("exampleAttachedDatabaseConfiguration", AttachedDatabaseConfigurationArgs.builder()        
                .resourceGroupName(exampleResourceGroup.name())
                .location(exampleResourceGroup.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());
    
        }
    }
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    follower_cluster = azure.kusto.Cluster("followerCluster",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        sku=azure.kusto.ClusterSkuArgs(
            name="Dev(No SLA)_Standard_D11_v2",
            capacity=1,
        ))
    followed_cluster = azure.kusto.Cluster("followedCluster",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        sku=azure.kusto.ClusterSkuArgs(
            name="Dev(No SLA)_Standard_D11_v2",
            capacity=1,
        ))
    followed_database = azure.kusto.Database("followedDatabase",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        cluster_name=follower_cluster.name)
    example_database = azure.kusto.Database("exampleDatabase",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        cluster_name=follower_cluster.name)
    example_attached_database_configuration = azure.kusto.AttachedDatabaseConfiguration("exampleAttachedDatabaseConfiguration",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.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"],
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const followerCluster = new azure.kusto.Cluster("followerCluster", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        sku: {
            name: "Dev(No SLA)_Standard_D11_v2",
            capacity: 1,
        },
    });
    const followedCluster = new azure.kusto.Cluster("followedCluster", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        sku: {
            name: "Dev(No SLA)_Standard_D11_v2",
            capacity: 1,
        },
    });
    const followedDatabase = new azure.kusto.Database("followedDatabase", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        clusterName: followerCluster.name,
    });
    const exampleDatabase = new azure.kusto.Database("exampleDatabase", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        clusterName: followerCluster.name,
    });
    const exampleAttachedDatabaseConfiguration = new azure.kusto.AttachedDatabaseConfiguration("exampleAttachedDatabaseConfiguration", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        clusterName: followerCluster.name,
        clusterResourceId: followedCluster.id,
        databaseName: exampleDatabase.name,
        sharing: {
            externalTablesToExcludes: ["ExternalTable2"],
            externalTablesToIncludes: ["ExternalTable1"],
            materializedViewsToExcludes: ["MaterializedViewTable2"],
            materializedViewsToIncludes: ["MaterializedViewTable1"],
            tablesToExcludes: ["Table2"],
            tablesToIncludes: ["Table1"],
        },
    });
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        properties:
          location: West Europe
      followerCluster:
        type: azure:kusto:Cluster
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          sku:
            name: Dev(No SLA)_Standard_D11_v2
            capacity: 1
      followedCluster:
        type: azure:kusto:Cluster
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          sku:
            name: Dev(No SLA)_Standard_D11_v2
            capacity: 1
      followedDatabase:
        type: azure:kusto:Database
        properties:
          resourceGroupName: ${exampleResourceGroup.name}
          location: ${exampleResourceGroup.location}
          clusterName: ${followerCluster.name}
      exampleDatabase:
        type: azure:kusto:Database
        properties:
          resourceGroupName: ${exampleResourceGroup.name}
          location: ${exampleResourceGroup.location}
          clusterName: ${followerCluster.name}
      exampleAttachedDatabaseConfiguration:
        type: azure:kusto:AttachedDatabaseConfiguration
        properties:
          resourceGroupName: ${exampleResourceGroup.name}
          location: ${exampleResourceGroup.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

    new AttachedDatabaseConfiguration(name: string, args: AttachedDatabaseConfigurationArgs, opts?: CustomResourceOptions);
    @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,
                                      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)
    @overload
    def AttachedDatabaseConfiguration(resource_name: str,
                                      args: AttachedDatabaseConfigurationArgs,
                                      opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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:

    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.

    ClusterResourceId 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.

    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.

    ResourceGroupName string

    Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.

    DefaultPrincipalModificationKind string

    The default principals modification kind. Valid values are: None (default), Replace and Union.

    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.

    Sharing AttachedDatabaseConfigurationSharing

    A sharing block 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.

    ClusterResourceId 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.

    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.

    ResourceGroupName string

    Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.

    DefaultPrincipalModificationKind string

    The default principals modification kind. Valid values are: None (default), Replace and Union.

    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.

    Sharing AttachedDatabaseConfigurationSharingArgs

    A sharing block 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.

    clusterResourceId 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.

    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.

    resourceGroupName String

    Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.

    defaultPrincipalModificationKind String

    The default principals modification kind. Valid values are: None (default), Replace and Union.

    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.

    sharing AttachedDatabaseConfigurationSharing

    A sharing block 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.

    clusterResourceId 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.

    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.

    resourceGroupName string

    Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.

    defaultPrincipalModificationKind string

    The default principals modification kind. Valid values are: None (default), Replace and Union.

    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.

    sharing AttachedDatabaseConfigurationSharing

    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_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.

    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_name str

    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_modification_kind str

    The default principals modification kind. Valid values are: None (default), Replace and Union.

    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.

    sharing AttachedDatabaseConfigurationSharingArgs

    A sharing block 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.

    clusterResourceId 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.

    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.

    resourceGroupName String

    Specifies the resource group of the Kusto Cluster for which the configuration will be created. Changing this forces a new resource to be created.

    defaultPrincipalModificationKind String

    The default principals modification kind. Valid values are: None (default), Replace and Union.

    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.

    sharing 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:

    AttachedDatabaseNames List<string>

    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.

    AttachedDatabaseNames []string

    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.

    attachedDatabaseNames List<String>

    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.

    attachedDatabaseNames string[]

    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_names Sequence[str]

    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.

    attachedDatabaseNames List<String>

    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.
    The following state arguments are supported:
    AttachedDatabaseNames List<string>

    The list of databases from the cluster_resource_id which are currently attached to the cluster.

    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.

    ClusterResourceId 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.

    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.

    DefaultPrincipalModificationKind string

    The default principals modification kind. Valid values are: None (default), Replace and Union.

    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.

    ResourceGroupName string

    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 AttachedDatabaseConfigurationSharing

    A sharing block as defined below.

    AttachedDatabaseNames []string

    The list of databases from the cluster_resource_id which are currently attached to the cluster.

    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.

    ClusterResourceId 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.

    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.

    DefaultPrincipalModificationKind string

    The default principals modification kind. Valid values are: None (default), Replace and Union.

    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.

    ResourceGroupName string

    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 AttachedDatabaseConfigurationSharingArgs

    A sharing block as defined below.

    attachedDatabaseNames List<String>

    The list of databases from the cluster_resource_id which are currently attached to the cluster.

    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.

    clusterResourceId 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.

    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.

    defaultPrincipalModificationKind String

    The default principals modification kind. Valid values are: None (default), Replace and Union.

    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.

    resourceGroupName String

    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 AttachedDatabaseConfigurationSharing

    A sharing block as defined below.

    attachedDatabaseNames string[]

    The list of databases from the cluster_resource_id which are currently attached to the cluster.

    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.

    clusterResourceId 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.

    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.

    defaultPrincipalModificationKind string

    The default principals modification kind. Valid values are: None (default), Replace and Union.

    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.

    resourceGroupName string

    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 AttachedDatabaseConfigurationSharing

    A sharing block as defined below.

    attached_database_names Sequence[str]

    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_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.

    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_modification_kind str

    The default principals modification kind. Valid values are: None (default), Replace and Union.

    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_name str

    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 AttachedDatabaseConfigurationSharingArgs

    A sharing block as defined below.

    attachedDatabaseNames List<String>

    The list of databases from the cluster_resource_id which are currently attached to the cluster.

    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.

    clusterResourceId 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.

    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.

    defaultPrincipalModificationKind String

    The default principals modification kind. Valid values are: None (default), Replace and Union.

    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.

    resourceGroupName String

    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

    ExternalTablesToExcludes List<string>

    List of external tables exclude from the follower database.

    ExternalTablesToIncludes List<string>

    List of external tables to include in the follower database.

    MaterializedViewsToExcludes List<string>

    List of materialized views exclude from the follower database.

    MaterializedViewsToIncludes List<string>

    List of materialized views to include in the follower database.

    TablesToExcludes List<string>

    List of tables to exclude from the follower database.

    TablesToIncludes List<string>

    List of tables to include in the follower database.

    ExternalTablesToExcludes []string

    List of external tables exclude from the follower database.

    ExternalTablesToIncludes []string

    List of external tables to include in the follower database.

    MaterializedViewsToExcludes []string

    List of materialized views exclude from the follower database.

    MaterializedViewsToIncludes []string

    List of materialized views to include in the follower database.

    TablesToExcludes []string

    List of tables to exclude from the follower database.

    TablesToIncludes []string

    List of tables to include in the follower database.

    externalTablesToExcludes List<String>

    List of external tables exclude from the follower database.

    externalTablesToIncludes List<String>

    List of external tables to include in the follower database.

    materializedViewsToExcludes List<String>

    List of materialized views exclude from the follower database.

    materializedViewsToIncludes List<String>

    List of materialized views to include in the follower database.

    tablesToExcludes List<String>

    List of tables to exclude from the follower database.

    tablesToIncludes List<String>

    List of tables to include in the follower database.

    externalTablesToExcludes string[]

    List of external tables exclude from the follower database.

    externalTablesToIncludes string[]

    List of external tables to include in the follower database.

    materializedViewsToExcludes string[]

    List of materialized views exclude from the follower database.

    materializedViewsToIncludes string[]

    List of materialized views to include in the follower database.

    tablesToExcludes string[]

    List of tables to exclude from the follower database.

    tablesToIncludes string[]

    List of tables to include in the follower database.

    external_tables_to_excludes Sequence[str]

    List of external tables exclude from the follower database.

    external_tables_to_includes Sequence[str]

    List of external tables to include in the follower database.

    materialized_views_to_excludes Sequence[str]

    List of materialized views exclude from the follower database.

    materialized_views_to_includes Sequence[str]

    List of materialized views to include in the follower database.

    tables_to_excludes Sequence[str]

    List of tables to exclude from the follower database.

    tables_to_includes Sequence[str]

    List of tables to include in the follower database.

    externalTablesToExcludes List<String>

    List of external tables exclude from the follower database.

    externalTablesToIncludes List<String>

    List of external tables to include in the follower database.

    materializedViewsToExcludes List<String>

    List of materialized views exclude from the follower database.

    materializedViewsToIncludes List<String>

    List of materialized views to include in the follower database.

    tablesToExcludes List<String>

    List of tables to exclude from the follower database.

    tablesToIncludes List<String>

    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
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the azurerm Terraform Provider.

    azure logo

    We recommend using Azure Native.

    Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi