1. Packages
  2. Azure Native
  3. API Docs
  4. kusto
  5. CosmosDbDataConnection
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.kusto.CosmosDbDataConnection

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Class representing a CosmosDb data connection. Azure REST API version: 2022-12-29. Prior API version in Azure Native 1.x: 2021-01-01.

    Example Usage

    KustoDataConnectionsCosmosDbCreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cosmosDbDataConnection = new AzureNative.Kusto.CosmosDbDataConnection("cosmosDbDataConnection", new()
        {
            ClusterName = "kustoCluster",
            CosmosDbAccountResourceId = "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.DocumentDb/databaseAccounts/cosmosDbAccountTest1",
            CosmosDbContainer = "cosmosDbContainerTest",
            CosmosDbDatabase = "cosmosDbDatabaseTest",
            DataConnectionName = "dataConnectionTest",
            DatabaseName = "KustoDatabase1",
            Kind = "CosmosDb",
            Location = "westus",
            ManagedIdentityResourceId = "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1",
            MappingRuleName = "TestMapping",
            ResourceGroupName = "kustorptest",
            RetrievalStartDate = "2022-07-29T12:00:00.6554616Z",
            TableName = "TestTable",
        });
    
    });
    
    package main
    
    import (
    	kusto "github.com/pulumi/pulumi-azure-native-sdk/kusto/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := kusto.NewCosmosDbDataConnection(ctx, "cosmosDbDataConnection", &kusto.CosmosDbDataConnectionArgs{
    			ClusterName:               pulumi.String("kustoCluster"),
    			CosmosDbAccountResourceId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.DocumentDb/databaseAccounts/cosmosDbAccountTest1"),
    			CosmosDbContainer:         pulumi.String("cosmosDbContainerTest"),
    			CosmosDbDatabase:          pulumi.String("cosmosDbDatabaseTest"),
    			DataConnectionName:        pulumi.String("dataConnectionTest"),
    			DatabaseName:              pulumi.String("KustoDatabase1"),
    			Kind:                      pulumi.String("CosmosDb"),
    			Location:                  pulumi.String("westus"),
    			ManagedIdentityResourceId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1"),
    			MappingRuleName:           pulumi.String("TestMapping"),
    			ResourceGroupName:         pulumi.String("kustorptest"),
    			RetrievalStartDate:        pulumi.String("2022-07-29T12:00:00.6554616Z"),
    			TableName:                 pulumi.String("TestTable"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.kusto.CosmosDbDataConnection;
    import com.pulumi.azurenative.kusto.CosmosDbDataConnectionArgs;
    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 cosmosDbDataConnection = new CosmosDbDataConnection("cosmosDbDataConnection", CosmosDbDataConnectionArgs.builder()
                .clusterName("kustoCluster")
                .cosmosDbAccountResourceId("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.DocumentDb/databaseAccounts/cosmosDbAccountTest1")
                .cosmosDbContainer("cosmosDbContainerTest")
                .cosmosDbDatabase("cosmosDbDatabaseTest")
                .dataConnectionName("dataConnectionTest")
                .databaseName("KustoDatabase1")
                .kind("CosmosDb")
                .location("westus")
                .managedIdentityResourceId("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1")
                .mappingRuleName("TestMapping")
                .resourceGroupName("kustorptest")
                .retrievalStartDate("2022-07-29T12:00:00.6554616Z")
                .tableName("TestTable")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cosmos_db_data_connection = azure_native.kusto.CosmosDbDataConnection("cosmosDbDataConnection",
        cluster_name="kustoCluster",
        cosmos_db_account_resource_id="/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.DocumentDb/databaseAccounts/cosmosDbAccountTest1",
        cosmos_db_container="cosmosDbContainerTest",
        cosmos_db_database="cosmosDbDatabaseTest",
        data_connection_name="dataConnectionTest",
        database_name="KustoDatabase1",
        kind="CosmosDb",
        location="westus",
        managed_identity_resource_id="/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1",
        mapping_rule_name="TestMapping",
        resource_group_name="kustorptest",
        retrieval_start_date="2022-07-29T12:00:00.6554616Z",
        table_name="TestTable")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cosmosDbDataConnection = new azure_native.kusto.CosmosDbDataConnection("cosmosDbDataConnection", {
        clusterName: "kustoCluster",
        cosmosDbAccountResourceId: "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.DocumentDb/databaseAccounts/cosmosDbAccountTest1",
        cosmosDbContainer: "cosmosDbContainerTest",
        cosmosDbDatabase: "cosmosDbDatabaseTest",
        dataConnectionName: "dataConnectionTest",
        databaseName: "KustoDatabase1",
        kind: "CosmosDb",
        location: "westus",
        managedIdentityResourceId: "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1",
        mappingRuleName: "TestMapping",
        resourceGroupName: "kustorptest",
        retrievalStartDate: "2022-07-29T12:00:00.6554616Z",
        tableName: "TestTable",
    });
    
    resources:
      cosmosDbDataConnection:
        type: azure-native:kusto:CosmosDbDataConnection
        properties:
          clusterName: kustoCluster
          cosmosDbAccountResourceId: /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.DocumentDb/databaseAccounts/cosmosDbAccountTest1
          cosmosDbContainer: cosmosDbContainerTest
          cosmosDbDatabase: cosmosDbDatabaseTest
          dataConnectionName: dataConnectionTest
          databaseName: KustoDatabase1
          kind: CosmosDb
          location: westus
          managedIdentityResourceId: /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.ManagedIdentity/userAssignedIdentities/managedidentityTest1
          mappingRuleName: TestMapping
          resourceGroupName: kustorptest
          retrievalStartDate: 2022-07-29T12:00:00.6554616Z
          tableName: TestTable
    

    KustoDataConnectionsCreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cosmosDbDataConnection = new AzureNative.Kusto.CosmosDbDataConnection("cosmosDbDataConnection", new()
        {
            ClusterName = "kustoCluster",
            DataConnectionName = "dataConnectionTest",
            DatabaseName = "KustoDatabase8",
            ResourceGroupName = "kustorptest",
        });
    
    });
    
    package main
    
    import (
    	kusto "github.com/pulumi/pulumi-azure-native-sdk/kusto/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := kusto.NewCosmosDbDataConnection(ctx, "cosmosDbDataConnection", &kusto.CosmosDbDataConnectionArgs{
    			ClusterName:        pulumi.String("kustoCluster"),
    			DataConnectionName: pulumi.String("dataConnectionTest"),
    			DatabaseName:       pulumi.String("KustoDatabase8"),
    			ResourceGroupName:  pulumi.String("kustorptest"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.kusto.CosmosDbDataConnection;
    import com.pulumi.azurenative.kusto.CosmosDbDataConnectionArgs;
    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 cosmosDbDataConnection = new CosmosDbDataConnection("cosmosDbDataConnection", CosmosDbDataConnectionArgs.builder()
                .clusterName("kustoCluster")
                .dataConnectionName("dataConnectionTest")
                .databaseName("KustoDatabase8")
                .resourceGroupName("kustorptest")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cosmos_db_data_connection = azure_native.kusto.CosmosDbDataConnection("cosmosDbDataConnection",
        cluster_name="kustoCluster",
        data_connection_name="dataConnectionTest",
        database_name="KustoDatabase8",
        resource_group_name="kustorptest")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cosmosDbDataConnection = new azure_native.kusto.CosmosDbDataConnection("cosmosDbDataConnection", {
        clusterName: "kustoCluster",
        dataConnectionName: "dataConnectionTest",
        databaseName: "KustoDatabase8",
        resourceGroupName: "kustorptest",
    });
    
    resources:
      cosmosDbDataConnection:
        type: azure-native:kusto:CosmosDbDataConnection
        properties:
          clusterName: kustoCluster
          dataConnectionName: dataConnectionTest
          databaseName: KustoDatabase8
          resourceGroupName: kustorptest
    

    KustoDataConnectionsEventGridCreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var cosmosDbDataConnection = new AzureNative.Kusto.CosmosDbDataConnection("cosmosDbDataConnection", new()
        {
            ClusterName = "kustoCluster",
            DataConnectionName = "dataConnectionTest",
            DatabaseName = "KustoDatabase8",
            ResourceGroupName = "kustorptest",
        });
    
    });
    
    package main
    
    import (
    	kusto "github.com/pulumi/pulumi-azure-native-sdk/kusto/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := kusto.NewCosmosDbDataConnection(ctx, "cosmosDbDataConnection", &kusto.CosmosDbDataConnectionArgs{
    			ClusterName:        pulumi.String("kustoCluster"),
    			DataConnectionName: pulumi.String("dataConnectionTest"),
    			DatabaseName:       pulumi.String("KustoDatabase8"),
    			ResourceGroupName:  pulumi.String("kustorptest"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.kusto.CosmosDbDataConnection;
    import com.pulumi.azurenative.kusto.CosmosDbDataConnectionArgs;
    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 cosmosDbDataConnection = new CosmosDbDataConnection("cosmosDbDataConnection", CosmosDbDataConnectionArgs.builder()
                .clusterName("kustoCluster")
                .dataConnectionName("dataConnectionTest")
                .databaseName("KustoDatabase8")
                .resourceGroupName("kustorptest")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    cosmos_db_data_connection = azure_native.kusto.CosmosDbDataConnection("cosmosDbDataConnection",
        cluster_name="kustoCluster",
        data_connection_name="dataConnectionTest",
        database_name="KustoDatabase8",
        resource_group_name="kustorptest")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const cosmosDbDataConnection = new azure_native.kusto.CosmosDbDataConnection("cosmosDbDataConnection", {
        clusterName: "kustoCluster",
        dataConnectionName: "dataConnectionTest",
        databaseName: "KustoDatabase8",
        resourceGroupName: "kustorptest",
    });
    
    resources:
      cosmosDbDataConnection:
        type: azure-native:kusto:CosmosDbDataConnection
        properties:
          clusterName: kustoCluster
          dataConnectionName: dataConnectionTest
          databaseName: KustoDatabase8
          resourceGroupName: kustorptest
    

    Create CosmosDbDataConnection Resource

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

    Constructor syntax

    new CosmosDbDataConnection(name: string, args: CosmosDbDataConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def CosmosDbDataConnection(resource_name: str,
                               args: CosmosDbDataConnectionArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def CosmosDbDataConnection(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               cosmos_db_account_resource_id: Optional[str] = None,
                               cosmos_db_container: Optional[str] = None,
                               cosmos_db_database: Optional[str] = None,
                               database_name: Optional[str] = None,
                               cluster_name: Optional[str] = None,
                               managed_identity_resource_id: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               table_name: Optional[str] = None,
                               data_connection_name: Optional[str] = None,
                               location: Optional[str] = None,
                               mapping_rule_name: Optional[str] = None,
                               retrieval_start_date: Optional[str] = None)
    func NewCosmosDbDataConnection(ctx *Context, name string, args CosmosDbDataConnectionArgs, opts ...ResourceOption) (*CosmosDbDataConnection, error)
    public CosmosDbDataConnection(string name, CosmosDbDataConnectionArgs args, CustomResourceOptions? opts = null)
    public CosmosDbDataConnection(String name, CosmosDbDataConnectionArgs args)
    public CosmosDbDataConnection(String name, CosmosDbDataConnectionArgs args, CustomResourceOptions options)
    
    type: azure-native:kusto:CosmosDbDataConnection
    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 CosmosDbDataConnectionArgs
    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 CosmosDbDataConnectionArgs
    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 CosmosDbDataConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CosmosDbDataConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CosmosDbDataConnectionArgs
    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 cosmosDbDataConnectionResource = new AzureNative.Kusto.CosmosDbDataConnection("cosmosDbDataConnectionResource", new()
    {
        Kind = "string",
        CosmosDbAccountResourceId = "string",
        CosmosDbContainer = "string",
        CosmosDbDatabase = "string",
        DatabaseName = "string",
        ClusterName = "string",
        ManagedIdentityResourceId = "string",
        ResourceGroupName = "string",
        TableName = "string",
        DataConnectionName = "string",
        Location = "string",
        MappingRuleName = "string",
        RetrievalStartDate = "string",
    });
    
    example, err := kusto.NewCosmosDbDataConnection(ctx, "cosmosDbDataConnectionResource", &kusto.CosmosDbDataConnectionArgs{
    	Kind:                      pulumi.String("string"),
    	CosmosDbAccountResourceId: pulumi.String("string"),
    	CosmosDbContainer:         pulumi.String("string"),
    	CosmosDbDatabase:          pulumi.String("string"),
    	DatabaseName:              pulumi.String("string"),
    	ClusterName:               pulumi.String("string"),
    	ManagedIdentityResourceId: pulumi.String("string"),
    	ResourceGroupName:         pulumi.String("string"),
    	TableName:                 pulumi.String("string"),
    	DataConnectionName:        pulumi.String("string"),
    	Location:                  pulumi.String("string"),
    	MappingRuleName:           pulumi.String("string"),
    	RetrievalStartDate:        pulumi.String("string"),
    })
    
    var cosmosDbDataConnectionResource = new CosmosDbDataConnection("cosmosDbDataConnectionResource", CosmosDbDataConnectionArgs.builder()
        .kind("string")
        .cosmosDbAccountResourceId("string")
        .cosmosDbContainer("string")
        .cosmosDbDatabase("string")
        .databaseName("string")
        .clusterName("string")
        .managedIdentityResourceId("string")
        .resourceGroupName("string")
        .tableName("string")
        .dataConnectionName("string")
        .location("string")
        .mappingRuleName("string")
        .retrievalStartDate("string")
        .build());
    
    cosmos_db_data_connection_resource = azure_native.kusto.CosmosDbDataConnection("cosmosDbDataConnectionResource",
        kind="string",
        cosmos_db_account_resource_id="string",
        cosmos_db_container="string",
        cosmos_db_database="string",
        database_name="string",
        cluster_name="string",
        managed_identity_resource_id="string",
        resource_group_name="string",
        table_name="string",
        data_connection_name="string",
        location="string",
        mapping_rule_name="string",
        retrieval_start_date="string")
    
    const cosmosDbDataConnectionResource = new azure_native.kusto.CosmosDbDataConnection("cosmosDbDataConnectionResource", {
        kind: "string",
        cosmosDbAccountResourceId: "string",
        cosmosDbContainer: "string",
        cosmosDbDatabase: "string",
        databaseName: "string",
        clusterName: "string",
        managedIdentityResourceId: "string",
        resourceGroupName: "string",
        tableName: "string",
        dataConnectionName: "string",
        location: "string",
        mappingRuleName: "string",
        retrievalStartDate: "string",
    });
    
    type: azure-native:kusto:CosmosDbDataConnection
    properties:
        clusterName: string
        cosmosDbAccountResourceId: string
        cosmosDbContainer: string
        cosmosDbDatabase: string
        dataConnectionName: string
        databaseName: string
        kind: string
        location: string
        managedIdentityResourceId: string
        mappingRuleName: string
        resourceGroupName: string
        retrievalStartDate: string
        tableName: string
    

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

    ClusterName string
    The name of the Kusto cluster.
    CosmosDbAccountResourceId string
    The resource ID of the Cosmos DB account used to create the data connection.
    CosmosDbContainer string
    The name of an existing container in the Cosmos DB database.
    CosmosDbDatabase string
    The name of an existing database in the Cosmos DB account.
    DatabaseName string
    The name of the database in the Kusto cluster.
    ManagedIdentityResourceId string
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
    ResourceGroupName string
    The name of the resource group containing the Kusto cluster.
    TableName string
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table.
    DataConnectionName string
    The name of the data connection.
    Location string
    Resource location.
    MappingRuleName string
    The name of an existing mapping rule to use when ingesting the retrieved data.
    RetrievalStartDate string
    Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date.
    ClusterName string
    The name of the Kusto cluster.
    CosmosDbAccountResourceId string
    The resource ID of the Cosmos DB account used to create the data connection.
    CosmosDbContainer string
    The name of an existing container in the Cosmos DB database.
    CosmosDbDatabase string
    The name of an existing database in the Cosmos DB account.
    DatabaseName string
    The name of the database in the Kusto cluster.
    ManagedIdentityResourceId string
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
    ResourceGroupName string
    The name of the resource group containing the Kusto cluster.
    TableName string
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table.
    DataConnectionName string
    The name of the data connection.
    Location string
    Resource location.
    MappingRuleName string
    The name of an existing mapping rule to use when ingesting the retrieved data.
    RetrievalStartDate string
    Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date.
    clusterName String
    The name of the Kusto cluster.
    cosmosDbAccountResourceId String
    The resource ID of the Cosmos DB account used to create the data connection.
    cosmosDbContainer String
    The name of an existing container in the Cosmos DB database.
    cosmosDbDatabase String
    The name of an existing database in the Cosmos DB account.
    databaseName String
    The name of the database in the Kusto cluster.
    managedIdentityResourceId String
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
    resourceGroupName String
    The name of the resource group containing the Kusto cluster.
    tableName String
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table.
    dataConnectionName String
    The name of the data connection.
    location String
    Resource location.
    mappingRuleName String
    The name of an existing mapping rule to use when ingesting the retrieved data.
    retrievalStartDate String
    Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date.
    clusterName string
    The name of the Kusto cluster.
    cosmosDbAccountResourceId string
    The resource ID of the Cosmos DB account used to create the data connection.
    cosmosDbContainer string
    The name of an existing container in the Cosmos DB database.
    cosmosDbDatabase string
    The name of an existing database in the Cosmos DB account.
    databaseName string
    The name of the database in the Kusto cluster.
    managedIdentityResourceId string
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
    resourceGroupName string
    The name of the resource group containing the Kusto cluster.
    tableName string
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table.
    dataConnectionName string
    The name of the data connection.
    location string
    Resource location.
    mappingRuleName string
    The name of an existing mapping rule to use when ingesting the retrieved data.
    retrievalStartDate string
    Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date.
    cluster_name str
    The name of the Kusto cluster.
    cosmos_db_account_resource_id str
    The resource ID of the Cosmos DB account used to create the data connection.
    cosmos_db_container str
    The name of an existing container in the Cosmos DB database.
    cosmos_db_database str
    The name of an existing database in the Cosmos DB account.
    database_name str
    The name of the database in the Kusto cluster.
    managed_identity_resource_id str
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
    resource_group_name str
    The name of the resource group containing the Kusto cluster.
    table_name str
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table.
    data_connection_name str
    The name of the data connection.
    location str
    Resource location.
    mapping_rule_name str
    The name of an existing mapping rule to use when ingesting the retrieved data.
    retrieval_start_date str
    Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date.
    clusterName String
    The name of the Kusto cluster.
    cosmosDbAccountResourceId String
    The resource ID of the Cosmos DB account used to create the data connection.
    cosmosDbContainer String
    The name of an existing container in the Cosmos DB database.
    cosmosDbDatabase String
    The name of an existing database in the Cosmos DB account.
    databaseName String
    The name of the database in the Kusto cluster.
    managedIdentityResourceId String
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
    resourceGroupName String
    The name of the resource group containing the Kusto cluster.
    tableName String
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table.
    dataConnectionName String
    The name of the data connection.
    location String
    Resource location.
    mappingRuleName String
    The name of an existing mapping rule to use when ingesting the retrieved data.
    retrievalStartDate String
    Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedIdentityObjectId string
    The object ID of the managed identity resource.
    Name string
    The name of the resource
    ProvisioningState string
    The provisioned state of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedIdentityObjectId string
    The object ID of the managed identity resource.
    Name string
    The name of the resource
    ProvisioningState string
    The provisioned state of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    managedIdentityObjectId String
    The object ID of the managed identity resource.
    name String
    The name of the resource
    provisioningState String
    The provisioned state of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id string
    The provider-assigned unique ID for this managed resource.
    managedIdentityObjectId string
    The object ID of the managed identity resource.
    name string
    The name of the resource
    provisioningState string
    The provisioned state of the resource.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id str
    The provider-assigned unique ID for this managed resource.
    managed_identity_object_id str
    The object ID of the managed identity resource.
    name str
    The name of the resource
    provisioning_state str
    The provisioned state of the resource.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    managedIdentityObjectId String
    The object ID of the managed identity resource.
    name String
    The name of the resource
    provisioningState String
    The provisioned state of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Import

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

    $ pulumi import azure-native:kusto:CosmosDbDataConnection kustoCluster/KustoDatabase8/dataConnectionTest /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections/{dataConnectionName} 
    

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

    Package Details

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