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

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

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

    NOTE: This resource is being deprecated due to API updates and should no longer be used. Please use azure.kusto.DatabasePrincipalAssignment instead.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var current = Output.Create(Azure.Core.GetClientConfig.InvokeAsync());
            var rg = new Azure.Core.ResourceGroup("rg", new Azure.Core.ResourceGroupArgs
            {
                Location = "West Europe",
            });
            var cluster = new Azure.Kusto.Cluster("cluster", new Azure.Kusto.ClusterArgs
            {
                Location = rg.Location,
                ResourceGroupName = rg.Name,
                Sku = new Azure.Kusto.Inputs.ClusterSkuArgs
                {
                    Name = "Standard_D13_v2",
                    Capacity = 2,
                },
            });
            var database = new Azure.Kusto.Database("database", new Azure.Kusto.DatabaseArgs
            {
                ResourceGroupName = rg.Name,
                Location = rg.Location,
                ClusterName = cluster.Name,
                HotCachePeriod = "P7D",
                SoftDeletePeriod = "P31D",
            });
            var principal = new Azure.Kusto.DatabasePrincipal("principal", new Azure.Kusto.DatabasePrincipalArgs
            {
                ResourceGroupName = rg.Name,
                ClusterName = cluster.Name,
                DatabaseName = azurerm_kusto_database.Test.Name,
                Role = "Viewer",
                Type = "User",
                ClientId = current.Apply(current => current.TenantId),
                ObjectId = current.Apply(current => current.ClientId),
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/kusto"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		current, err := core.GetClientConfig(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		rg, err := core.NewResourceGroup(ctx, "rg", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		cluster, err := kusto.NewCluster(ctx, "cluster", &kusto.ClusterArgs{
    			Location:          rg.Location,
    			ResourceGroupName: rg.Name,
    			Sku: &kusto.ClusterSkuArgs{
    				Name:     pulumi.String("Standard_D13_v2"),
    				Capacity: pulumi.Int(2),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = kusto.NewDatabase(ctx, "database", &kusto.DatabaseArgs{
    			ResourceGroupName: rg.Name,
    			Location:          rg.Location,
    			ClusterName:       cluster.Name,
    			HotCachePeriod:    pulumi.String("P7D"),
    			SoftDeletePeriod:  pulumi.String("P31D"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = kusto.NewDatabasePrincipal(ctx, "principal", &kusto.DatabasePrincipalArgs{
    			ResourceGroupName: rg.Name,
    			ClusterName:       cluster.Name,
    			DatabaseName:      pulumi.Any(azurerm_kusto_database.Test.Name),
    			Role:              pulumi.String("Viewer"),
    			Type:              pulumi.String("User"),
    			ClientId:          pulumi.String(current.TenantId),
    			ObjectId:          pulumi.String(current.ClientId),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const current = azure.core.getClientConfig({});
    const rg = new azure.core.ResourceGroup("rg", {location: "West Europe"});
    const cluster = new azure.kusto.Cluster("cluster", {
        location: rg.location,
        resourceGroupName: rg.name,
        sku: {
            name: "Standard_D13_v2",
            capacity: 2,
        },
    });
    const database = new azure.kusto.Database("database", {
        resourceGroupName: rg.name,
        location: rg.location,
        clusterName: cluster.name,
        hotCachePeriod: "P7D",
        softDeletePeriod: "P31D",
    });
    const principal = new azure.kusto.DatabasePrincipal("principal", {
        resourceGroupName: rg.name,
        clusterName: cluster.name,
        databaseName: azurerm_kusto_database.test.name,
        role: "Viewer",
        type: "User",
        clientId: current.then(current => current.tenantId),
        objectId: current.then(current => current.clientId),
    });
    
    import pulumi
    import pulumi_azure as azure
    
    current = azure.core.get_client_config()
    rg = azure.core.ResourceGroup("rg", location="West Europe")
    cluster = azure.kusto.Cluster("cluster",
        location=rg.location,
        resource_group_name=rg.name,
        sku=azure.kusto.ClusterSkuArgs(
            name="Standard_D13_v2",
            capacity=2,
        ))
    database = azure.kusto.Database("database",
        resource_group_name=rg.name,
        location=rg.location,
        cluster_name=cluster.name,
        hot_cache_period="P7D",
        soft_delete_period="P31D")
    principal = azure.kusto.DatabasePrincipal("principal",
        resource_group_name=rg.name,
        cluster_name=cluster.name,
        database_name=azurerm_kusto_database["test"]["name"],
        role="Viewer",
        type="User",
        client_id=current.tenant_id,
        object_id=current.client_id)
    

    Example coming soon!

    Create DatabasePrincipal Resource

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

    Constructor syntax

    new DatabasePrincipal(name: string, args: DatabasePrincipalArgs, opts?: CustomResourceOptions);
    @overload
    def DatabasePrincipal(resource_name: str,
                          args: DatabasePrincipalArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatabasePrincipal(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          client_id: Optional[str] = None,
                          cluster_name: Optional[str] = None,
                          database_name: Optional[str] = None,
                          object_id: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          role: Optional[str] = None,
                          type: Optional[str] = None)
    func NewDatabasePrincipal(ctx *Context, name string, args DatabasePrincipalArgs, opts ...ResourceOption) (*DatabasePrincipal, error)
    public DatabasePrincipal(string name, DatabasePrincipalArgs args, CustomResourceOptions? opts = null)
    public DatabasePrincipal(String name, DatabasePrincipalArgs args)
    public DatabasePrincipal(String name, DatabasePrincipalArgs args, CustomResourceOptions options)
    
    type: azure:kusto:DatabasePrincipal
    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 DatabasePrincipalArgs
    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 DatabasePrincipalArgs
    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 DatabasePrincipalArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatabasePrincipalArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatabasePrincipalArgs
    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 databasePrincipalResource = new Azure.Kusto.DatabasePrincipal("databasePrincipalResource", new()
    {
        ClientId = "string",
        ClusterName = "string",
        DatabaseName = "string",
        ObjectId = "string",
        ResourceGroupName = "string",
        Role = "string",
        Type = "string",
    });
    
    example, err := kusto.NewDatabasePrincipal(ctx, "databasePrincipalResource", &kusto.DatabasePrincipalArgs{
    	ClientId:          pulumi.String("string"),
    	ClusterName:       pulumi.String("string"),
    	DatabaseName:      pulumi.String("string"),
    	ObjectId:          pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	Role:              pulumi.String("string"),
    	Type:              pulumi.String("string"),
    })
    
    var databasePrincipalResource = new DatabasePrincipal("databasePrincipalResource", DatabasePrincipalArgs.builder()
        .clientId("string")
        .clusterName("string")
        .databaseName("string")
        .objectId("string")
        .resourceGroupName("string")
        .role("string")
        .type("string")
        .build());
    
    database_principal_resource = azure.kusto.DatabasePrincipal("databasePrincipalResource",
        client_id="string",
        cluster_name="string",
        database_name="string",
        object_id="string",
        resource_group_name="string",
        role="string",
        type="string")
    
    const databasePrincipalResource = new azure.kusto.DatabasePrincipal("databasePrincipalResource", {
        clientId: "string",
        clusterName: "string",
        databaseName: "string",
        objectId: "string",
        resourceGroupName: "string",
        role: "string",
        type: "string",
    });
    
    type: azure:kusto:DatabasePrincipal
    properties:
        clientId: string
        clusterName: string
        databaseName: string
        objectId: string
        resourceGroupName: string
        role: string
        type: string
    

    DatabasePrincipal 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 DatabasePrincipal resource accepts the following input properties:

    ClientId string
    The Client ID that owns the specified object_id. Changing this forces a new resource to be created.
    ClusterName string
    Specifies the name of the Kusto Cluster this database principal will be added to. Changing this forces a new resource to be created.
    DatabaseName string
    Specified the name of the Kusto Database this principal will be added to. Changing this forces a new resource to be created.
    ObjectId string
    An Object ID of a User, Group, or App. Changing this forces a new resource to be created.
    ResourceGroupName string
    Specifies the Resource Group where the Kusto Database Principal should exist. Changing this forces a new resource to be created.
    Role string
    Specifies the permissions the Principal will have. Valid values include Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer. Changing this forces a new resource to be created.
    Type string
    Specifies the type of object the principal is. Valid values include App, Group, User. Changing this forces a new resource to be created.
    ClientId string
    The Client ID that owns the specified object_id. Changing this forces a new resource to be created.
    ClusterName string
    Specifies the name of the Kusto Cluster this database principal will be added to. Changing this forces a new resource to be created.
    DatabaseName string
    Specified the name of the Kusto Database this principal will be added to. Changing this forces a new resource to be created.
    ObjectId string
    An Object ID of a User, Group, or App. Changing this forces a new resource to be created.
    ResourceGroupName string
    Specifies the Resource Group where the Kusto Database Principal should exist. Changing this forces a new resource to be created.
    Role string
    Specifies the permissions the Principal will have. Valid values include Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer. Changing this forces a new resource to be created.
    Type string
    Specifies the type of object the principal is. Valid values include App, Group, User. Changing this forces a new resource to be created.
    clientId String
    The Client ID that owns the specified object_id. Changing this forces a new resource to be created.
    clusterName String
    Specifies the name of the Kusto Cluster this database principal will be added to. Changing this forces a new resource to be created.
    databaseName String
    Specified the name of the Kusto Database this principal will be added to. Changing this forces a new resource to be created.
    objectId String
    An Object ID of a User, Group, or App. Changing this forces a new resource to be created.
    resourceGroupName String
    Specifies the Resource Group where the Kusto Database Principal should exist. Changing this forces a new resource to be created.
    role String
    Specifies the permissions the Principal will have. Valid values include Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer. Changing this forces a new resource to be created.
    type String
    Specifies the type of object the principal is. Valid values include App, Group, User. Changing this forces a new resource to be created.
    clientId string
    The Client ID that owns the specified object_id. Changing this forces a new resource to be created.
    clusterName string
    Specifies the name of the Kusto Cluster this database principal will be added to. Changing this forces a new resource to be created.
    databaseName string
    Specified the name of the Kusto Database this principal will be added to. Changing this forces a new resource to be created.
    objectId string
    An Object ID of a User, Group, or App. Changing this forces a new resource to be created.
    resourceGroupName string
    Specifies the Resource Group where the Kusto Database Principal should exist. Changing this forces a new resource to be created.
    role string
    Specifies the permissions the Principal will have. Valid values include Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer. Changing this forces a new resource to be created.
    type string
    Specifies the type of object the principal is. Valid values include App, Group, User. Changing this forces a new resource to be created.
    client_id str
    The Client ID that owns the specified object_id. Changing this forces a new resource to be created.
    cluster_name str
    Specifies the name of the Kusto Cluster this database principal will be added to. Changing this forces a new resource to be created.
    database_name str
    Specified the name of the Kusto Database this principal will be added to. Changing this forces a new resource to be created.
    object_id str
    An Object ID of a User, Group, or App. Changing this forces a new resource to be created.
    resource_group_name str
    Specifies the Resource Group where the Kusto Database Principal should exist. Changing this forces a new resource to be created.
    role str
    Specifies the permissions the Principal will have. Valid values include Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer. Changing this forces a new resource to be created.
    type str
    Specifies the type of object the principal is. Valid values include App, Group, User. Changing this forces a new resource to be created.
    clientId String
    The Client ID that owns the specified object_id. Changing this forces a new resource to be created.
    clusterName String
    Specifies the name of the Kusto Cluster this database principal will be added to. Changing this forces a new resource to be created.
    databaseName String
    Specified the name of the Kusto Database this principal will be added to. Changing this forces a new resource to be created.
    objectId String
    An Object ID of a User, Group, or App. Changing this forces a new resource to be created.
    resourceGroupName String
    Specifies the Resource Group where the Kusto Database Principal should exist. Changing this forces a new resource to be created.
    role String
    Specifies the permissions the Principal will have. Valid values include Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer. Changing this forces a new resource to be created.
    type String
    Specifies the type of object the principal is. Valid values include App, Group, User. Changing this forces a new resource to be created.

    Outputs

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

    AppId string
    The app id, if not empty, of the principal.
    Email string
    The email, if not empty, of the principal.
    FullyQualifiedName string
    The fully qualified name of the principal.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the Kusto Database Principal.
    AppId string
    The app id, if not empty, of the principal.
    Email string
    The email, if not empty, of the principal.
    FullyQualifiedName string
    The fully qualified name of the principal.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the Kusto Database Principal.
    appId String
    The app id, if not empty, of the principal.
    email String
    The email, if not empty, of the principal.
    fullyQualifiedName String
    The fully qualified name of the principal.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the Kusto Database Principal.
    appId string
    The app id, if not empty, of the principal.
    email string
    The email, if not empty, of the principal.
    fullyQualifiedName string
    The fully qualified name of the principal.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the Kusto Database Principal.
    app_id str
    The app id, if not empty, of the principal.
    email str
    The email, if not empty, of the principal.
    fully_qualified_name str
    The fully qualified name of the principal.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the Kusto Database Principal.
    appId String
    The app id, if not empty, of the principal.
    email String
    The email, if not empty, of the principal.
    fullyQualifiedName String
    The fully qualified name of the principal.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the Kusto Database Principal.

    Look up Existing DatabasePrincipal Resource

    Get an existing DatabasePrincipal 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?: DatabasePrincipalState, opts?: CustomResourceOptions): DatabasePrincipal
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_id: Optional[str] = None,
            client_id: Optional[str] = None,
            cluster_name: Optional[str] = None,
            database_name: Optional[str] = None,
            email: Optional[str] = None,
            fully_qualified_name: Optional[str] = None,
            name: Optional[str] = None,
            object_id: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            role: Optional[str] = None,
            type: Optional[str] = None) -> DatabasePrincipal
    func GetDatabasePrincipal(ctx *Context, name string, id IDInput, state *DatabasePrincipalState, opts ...ResourceOption) (*DatabasePrincipal, error)
    public static DatabasePrincipal Get(string name, Input<string> id, DatabasePrincipalState? state, CustomResourceOptions? opts = null)
    public static DatabasePrincipal get(String name, Output<String> id, DatabasePrincipalState state, CustomResourceOptions options)
    resources:  _:    type: azure:kusto:DatabasePrincipal    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.
    The following state arguments are supported:
    AppId string
    The app id, if not empty, of the principal.
    ClientId string
    The Client ID that owns the specified object_id. Changing this forces a new resource to be created.
    ClusterName string
    Specifies the name of the Kusto Cluster this database principal will be added to. Changing this forces a new resource to be created.
    DatabaseName string
    Specified the name of the Kusto Database this principal will be added to. Changing this forces a new resource to be created.
    Email string
    The email, if not empty, of the principal.
    FullyQualifiedName string
    The fully qualified name of the principal.
    Name string
    The name of the Kusto Database Principal.
    ObjectId string
    An Object ID of a User, Group, or App. Changing this forces a new resource to be created.
    ResourceGroupName string
    Specifies the Resource Group where the Kusto Database Principal should exist. Changing this forces a new resource to be created.
    Role string
    Specifies the permissions the Principal will have. Valid values include Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer. Changing this forces a new resource to be created.
    Type string
    Specifies the type of object the principal is. Valid values include App, Group, User. Changing this forces a new resource to be created.
    AppId string
    The app id, if not empty, of the principal.
    ClientId string
    The Client ID that owns the specified object_id. Changing this forces a new resource to be created.
    ClusterName string
    Specifies the name of the Kusto Cluster this database principal will be added to. Changing this forces a new resource to be created.
    DatabaseName string
    Specified the name of the Kusto Database this principal will be added to. Changing this forces a new resource to be created.
    Email string
    The email, if not empty, of the principal.
    FullyQualifiedName string
    The fully qualified name of the principal.
    Name string
    The name of the Kusto Database Principal.
    ObjectId string
    An Object ID of a User, Group, or App. Changing this forces a new resource to be created.
    ResourceGroupName string
    Specifies the Resource Group where the Kusto Database Principal should exist. Changing this forces a new resource to be created.
    Role string
    Specifies the permissions the Principal will have. Valid values include Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer. Changing this forces a new resource to be created.
    Type string
    Specifies the type of object the principal is. Valid values include App, Group, User. Changing this forces a new resource to be created.
    appId String
    The app id, if not empty, of the principal.
    clientId String
    The Client ID that owns the specified object_id. Changing this forces a new resource to be created.
    clusterName String
    Specifies the name of the Kusto Cluster this database principal will be added to. Changing this forces a new resource to be created.
    databaseName String
    Specified the name of the Kusto Database this principal will be added to. Changing this forces a new resource to be created.
    email String
    The email, if not empty, of the principal.
    fullyQualifiedName String
    The fully qualified name of the principal.
    name String
    The name of the Kusto Database Principal.
    objectId String
    An Object ID of a User, Group, or App. Changing this forces a new resource to be created.
    resourceGroupName String
    Specifies the Resource Group where the Kusto Database Principal should exist. Changing this forces a new resource to be created.
    role String
    Specifies the permissions the Principal will have. Valid values include Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer. Changing this forces a new resource to be created.
    type String
    Specifies the type of object the principal is. Valid values include App, Group, User. Changing this forces a new resource to be created.
    appId string
    The app id, if not empty, of the principal.
    clientId string
    The Client ID that owns the specified object_id. Changing this forces a new resource to be created.
    clusterName string
    Specifies the name of the Kusto Cluster this database principal will be added to. Changing this forces a new resource to be created.
    databaseName string
    Specified the name of the Kusto Database this principal will be added to. Changing this forces a new resource to be created.
    email string
    The email, if not empty, of the principal.
    fullyQualifiedName string
    The fully qualified name of the principal.
    name string
    The name of the Kusto Database Principal.
    objectId string
    An Object ID of a User, Group, or App. Changing this forces a new resource to be created.
    resourceGroupName string
    Specifies the Resource Group where the Kusto Database Principal should exist. Changing this forces a new resource to be created.
    role string
    Specifies the permissions the Principal will have. Valid values include Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer. Changing this forces a new resource to be created.
    type string
    Specifies the type of object the principal is. Valid values include App, Group, User. Changing this forces a new resource to be created.
    app_id str
    The app id, if not empty, of the principal.
    client_id str
    The Client ID that owns the specified object_id. Changing this forces a new resource to be created.
    cluster_name str
    Specifies the name of the Kusto Cluster this database principal will be added to. Changing this forces a new resource to be created.
    database_name str
    Specified the name of the Kusto Database this principal will be added to. Changing this forces a new resource to be created.
    email str
    The email, if not empty, of the principal.
    fully_qualified_name str
    The fully qualified name of the principal.
    name str
    The name of the Kusto Database Principal.
    object_id str
    An Object ID of a User, Group, or App. Changing this forces a new resource to be created.
    resource_group_name str
    Specifies the Resource Group where the Kusto Database Principal should exist. Changing this forces a new resource to be created.
    role str
    Specifies the permissions the Principal will have. Valid values include Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer. Changing this forces a new resource to be created.
    type str
    Specifies the type of object the principal is. Valid values include App, Group, User. Changing this forces a new resource to be created.
    appId String
    The app id, if not empty, of the principal.
    clientId String
    The Client ID that owns the specified object_id. Changing this forces a new resource to be created.
    clusterName String
    Specifies the name of the Kusto Cluster this database principal will be added to. Changing this forces a new resource to be created.
    databaseName String
    Specified the name of the Kusto Database this principal will be added to. Changing this forces a new resource to be created.
    email String
    The email, if not empty, of the principal.
    fullyQualifiedName String
    The fully qualified name of the principal.
    name String
    The name of the Kusto Database Principal.
    objectId String
    An Object ID of a User, Group, or App. Changing this forces a new resource to be created.
    resourceGroupName String
    Specifies the Resource Group where the Kusto Database Principal should exist. Changing this forces a new resource to be created.
    role String
    Specifies the permissions the Principal will have. Valid values include Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer. Changing this forces a new resource to be created.
    type String
    Specifies the type of object the principal is. Valid values include App, Group, User. Changing this forces a new resource to be created.

    Import

    Kusto Database Principals can be imported using the resource id, e.g.

     $ pulumi import azure:kusto/databasePrincipal:DatabasePrincipal example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Kusto/Clusters/cluster1/Databases/database1/Role/role1/FQN/some-guid
    

    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.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.