azure-native.kusto.CosmosDbDataConnection
Explore with Pulumi AI
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
The CosmosDbDataConnection resource accepts the following input properties:
- Cluster
Name string - The name of the Kusto cluster.
- Cosmos
Db stringAccount Resource Id - The resource ID of the Cosmos DB account used to create the data connection.
- Cosmos
Db stringContainer - The name of an existing container in the Cosmos DB database.
- Cosmos
Db stringDatabase - The name of an existing database in the Cosmos DB account.
- Database
Name string - The name of the database in the Kusto cluster.
- Managed
Identity stringResource Id - The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
- Resource
Group stringName - The name of the resource group containing the Kusto cluster.
- Table
Name string - The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table.
- Data
Connection stringName - The name of the data connection.
- Location string
- Resource location.
- Mapping
Rule stringName - The name of an existing mapping rule to use when ingesting the retrieved data.
- Retrieval
Start stringDate - Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date.
- Cluster
Name string - The name of the Kusto cluster.
- Cosmos
Db stringAccount Resource Id - The resource ID of the Cosmos DB account used to create the data connection.
- Cosmos
Db stringContainer - The name of an existing container in the Cosmos DB database.
- Cosmos
Db stringDatabase - The name of an existing database in the Cosmos DB account.
- Database
Name string - The name of the database in the Kusto cluster.
- Managed
Identity stringResource Id - The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
- Resource
Group stringName - The name of the resource group containing the Kusto cluster.
- Table
Name string - The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table.
- Data
Connection stringName - The name of the data connection.
- Location string
- Resource location.
- Mapping
Rule stringName - The name of an existing mapping rule to use when ingesting the retrieved data.
- Retrieval
Start stringDate - Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date.
- cluster
Name String - The name of the Kusto cluster.
- cosmos
Db StringAccount Resource Id - The resource ID of the Cosmos DB account used to create the data connection.
- cosmos
Db StringContainer - The name of an existing container in the Cosmos DB database.
- cosmos
Db StringDatabase - The name of an existing database in the Cosmos DB account.
- database
Name String - The name of the database in the Kusto cluster.
- managed
Identity StringResource Id - The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
- resource
Group StringName - The name of the resource group containing the Kusto cluster.
- table
Name String - The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table.
- data
Connection StringName - The name of the data connection.
- location String
- Resource location.
- mapping
Rule StringName - The name of an existing mapping rule to use when ingesting the retrieved data.
- retrieval
Start StringDate - Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date.
- cluster
Name string - The name of the Kusto cluster.
- cosmos
Db stringAccount Resource Id - The resource ID of the Cosmos DB account used to create the data connection.
- cosmos
Db stringContainer - The name of an existing container in the Cosmos DB database.
- cosmos
Db stringDatabase - The name of an existing database in the Cosmos DB account.
- database
Name string - The name of the database in the Kusto cluster.
- managed
Identity stringResource Id - The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
- resource
Group stringName - The name of the resource group containing the Kusto cluster.
- table
Name string - The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table.
- data
Connection stringName - The name of the data connection.
- location string
- Resource location.
- mapping
Rule stringName - The name of an existing mapping rule to use when ingesting the retrieved data.
- retrieval
Start stringDate - 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_ straccount_ resource_ id - The resource ID of the Cosmos DB account used to create the data connection.
- cosmos_
db_ strcontainer - The name of an existing container in the Cosmos DB database.
- cosmos_
db_ strdatabase - 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_ strresource_ id - The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
- resource_
group_ strname - 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_ strname - The name of the data connection.
- location str
- Resource location.
- mapping_
rule_ strname - The name of an existing mapping rule to use when ingesting the retrieved data.
- retrieval_
start_ strdate - Optional. If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date.
- cluster
Name String - The name of the Kusto cluster.
- cosmos
Db StringAccount Resource Id - The resource ID of the Cosmos DB account used to create the data connection.
- cosmos
Db StringContainer - The name of an existing container in the Cosmos DB database.
- cosmos
Db StringDatabase - The name of an existing database in the Cosmos DB account.
- database
Name String - The name of the database in the Kusto cluster.
- managed
Identity StringResource Id - The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB.
- resource
Group StringName - The name of the resource group containing the Kusto cluster.
- table
Name String - The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table.
- data
Connection StringName - The name of the data connection.
- location String
- Resource location.
- mapping
Rule StringName - The name of an existing mapping rule to use when ingesting the retrieved data.
- retrieval
Start StringDate - 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.
- Managed
Identity stringObject Id - The object ID of the managed identity resource.
- Name string
- The name of the resource
- Provisioning
State 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.
- Managed
Identity stringObject Id - The object ID of the managed identity resource.
- Name string
- The name of the resource
- Provisioning
State 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.
- managed
Identity StringObject Id - The object ID of the managed identity resource.
- name String
- The name of the resource
- provisioning
State 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.
- managed
Identity stringObject Id - The object ID of the managed identity resource.
- name string
- The name of the resource
- provisioning
State 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_ strobject_ id - 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.
- managed
Identity StringObject Id - The object ID of the managed identity resource.
- name String
- The name of the resource
- provisioning
State 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