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

We recommend using Azure Native.

Azure Classic v6.8.0 published on Monday, Nov 4, 2024 by Pulumi

azure.kusto.CosmosdbDataConnection

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v6.8.0 published on Monday, Nov 4, 2024 by Pulumi

    Manages a Kusto / Cosmos Database Data Connection.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        name: example
        properties:
          name: exampleRG
          location: West Europe
      exampleAssignment:
        type: azure:authorization:Assignment
        name: example
        properties:
          scope: ${exampleResourceGroup.id}
          roleDefinitionName: ${builtin.name}
          principalId: ${exampleCluster.identity.principalId}
      exampleAccount:
        type: azure:cosmosdb:Account
        name: example
        properties:
          name: example-ca
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          offerType: Standard
          kind: GlobalDocumentDB
          consistencyPolicy:
            consistencyLevel: Session
            maxIntervalInSeconds: 5
            maxStalenessPrefix: 100
          geoLocations:
            - location: ${exampleResourceGroup.location}
              failoverPriority: 0
      exampleSqlDatabase:
        type: azure:cosmosdb:SqlDatabase
        name: example
        properties:
          name: examplecosmosdbsqldb
          resourceGroupName: ${exampleAccount.resourceGroupName}
          accountName: ${exampleAccount.name}
      exampleSqlContainer:
        type: azure:cosmosdb:SqlContainer
        name: example
        properties:
          name: examplecosmosdbsqlcon
          resourceGroupName: ${exampleAccount.resourceGroupName}
          accountName: ${exampleAccount.name}
          databaseName: ${exampleSqlDatabase.name}
          partitionKeyPath: /part
          throughput: 400
      exampleSqlRoleAssignment:
        type: azure:cosmosdb:SqlRoleAssignment
        name: example
        properties:
          resourceGroupName: ${exampleResourceGroup.name}
          accountName: ${exampleAccount.name}
          roleDefinitionId: ${example.id}
          principalId: ${exampleCluster.identity.principalId}
          scope: ${exampleAccount.id}
      exampleCluster:
        type: azure:kusto:Cluster
        name: example
        properties:
          name: examplekc
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          sku:
            name: Dev(No SLA)_Standard_D11_v2
            capacity: 1
          identity:
            type: SystemAssigned
      exampleDatabase:
        type: azure:kusto:Database
        name: example
        properties:
          name: examplekd
          resourceGroupName: ${exampleResourceGroup.name}
          location: ${exampleResourceGroup.location}
          clusterName: ${exampleCluster.name}
      exampleScript:
        type: azure:kusto:Script
        name: example
        properties:
          name: create-table-script
          databaseId: ${exampleDatabase.id}
          scriptContent: |
            .create table TestTable(Id:string, Name:string, _ts:long, _timestamp:datetime)
            .create table TestTable ingestion json mapping "TestMapping"
            '['
            '    {"column":"Id","path":"$.id"},'
            '    {"column":"Name","path":"$.name"},'
            '    {"column":"_ts","path":"$._ts"},'
            '    {"column":"_timestamp","path":"$._ts", "transform":"DateTimeFromUnixSeconds"}'
            ']'
            .alter table TestTable policy ingestionbatching "{'MaximumBatchingTimeSpan': '0:0:10', 'MaximumNumberOfItems': 10000}"        
      exampleCosmosdbDataConnection:
        type: azure:kusto:CosmosdbDataConnection
        name: example
        properties:
          name: examplekcdcd
          location: ${exampleResourceGroup.location}
          cosmosdbContainerId: ${exampleSqlContainer.id}
          kustoDatabaseId: ${exampleDatabase.id}
          managedIdentityId: ${exampleCluster.id}
          tableName: TestTable
          mappingRuleName: TestMapping
          retrievalStartDate: 2023-06-26T12:00:00.6554616Z
    variables:
      current:
        fn::invoke:
          Function: azure:core:getClientConfig
          Arguments: {}
      builtin:
        fn::invoke:
          Function: azure:authorization:getRoleDefinition
          Arguments:
            roleDefinitionId: fbdf93bf-df7d-467e-a4d2-9458aa1360c8
      example:
        fn::invoke:
          Function: azure:cosmosdb:getSqlRoleDefinition
          Arguments:
            roleDefinitionId: 00000000-0000-0000-0000-000000000001
            resourceGroupName: ${exampleResourceGroup.name}
            accountName: ${exampleAccount.name}
    

    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,
                               cosmosdb_container_id: Optional[str] = None,
                               kusto_database_id: Optional[str] = None,
                               managed_identity_id: Optional[str] = None,
                               table_name: Optional[str] = None,
                               location: Optional[str] = None,
                               mapping_rule_name: Optional[str] = None,
                               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: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 Azure.Kusto.CosmosdbDataConnection("cosmosdbDataConnectionResource", new()
    {
        CosmosdbContainerId = "string",
        KustoDatabaseId = "string",
        ManagedIdentityId = "string",
        TableName = "string",
        Location = "string",
        MappingRuleName = "string",
        Name = "string",
        RetrievalStartDate = "string",
    });
    
    example, err := kusto.NewCosmosdbDataConnection(ctx, "cosmosdbDataConnectionResource", &kusto.CosmosdbDataConnectionArgs{
    	CosmosdbContainerId: pulumi.String("string"),
    	KustoDatabaseId:     pulumi.String("string"),
    	ManagedIdentityId:   pulumi.String("string"),
    	TableName:           pulumi.String("string"),
    	Location:            pulumi.String("string"),
    	MappingRuleName:     pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	RetrievalStartDate:  pulumi.String("string"),
    })
    
    var cosmosdbDataConnectionResource = new CosmosdbDataConnection("cosmosdbDataConnectionResource", CosmosdbDataConnectionArgs.builder()
        .cosmosdbContainerId("string")
        .kustoDatabaseId("string")
        .managedIdentityId("string")
        .tableName("string")
        .location("string")
        .mappingRuleName("string")
        .name("string")
        .retrievalStartDate("string")
        .build());
    
    cosmosdb_data_connection_resource = azure.kusto.CosmosdbDataConnection("cosmosdbDataConnectionResource",
        cosmosdb_container_id="string",
        kusto_database_id="string",
        managed_identity_id="string",
        table_name="string",
        location="string",
        mapping_rule_name="string",
        name="string",
        retrieval_start_date="string")
    
    const cosmosdbDataConnectionResource = new azure.kusto.CosmosdbDataConnection("cosmosdbDataConnectionResource", {
        cosmosdbContainerId: "string",
        kustoDatabaseId: "string",
        managedIdentityId: "string",
        tableName: "string",
        location: "string",
        mappingRuleName: "string",
        name: "string",
        retrievalStartDate: "string",
    });
    
    type: azure:kusto:CosmosdbDataConnection
    properties:
        cosmosdbContainerId: string
        kustoDatabaseId: string
        location: string
        managedIdentityId: string
        mappingRuleName: string
        name: 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:

    CosmosdbContainerId string
    The name of an existing container in the Cosmos DB database. Changing this forces a new Kusto Cosmos DB Connection to be created.
    KustoDatabaseId string
    The name of the database in the Kusto cluster. Changing this forces a new Kusto Cosmos DB Connection to be created.
    ManagedIdentityId string
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. Changing this forces a new Kusto Cosmos DB Connection to be created.
    TableName string
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. Changing this forces a new Kusto Cosmos DB Connection to be created.
    Location string
    The Azure Region where the Data Explorer should exist. Changing this forces a new Kusto Cosmos DB Connection to be created.
    MappingRuleName string
    The name of an existing mapping rule to use when ingesting the retrieved data. Changing this forces a new Kusto Cosmos DB Connection to be created.
    Name string
    The name of the data connection. Changing this forces a new Kusto Cosmos DB Connection to be created.
    RetrievalStartDate string
    If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. Changing this forces a new Kusto Cosmos DB Connection to be created.
    CosmosdbContainerId string
    The name of an existing container in the Cosmos DB database. Changing this forces a new Kusto Cosmos DB Connection to be created.
    KustoDatabaseId string
    The name of the database in the Kusto cluster. Changing this forces a new Kusto Cosmos DB Connection to be created.
    ManagedIdentityId string
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. Changing this forces a new Kusto Cosmos DB Connection to be created.
    TableName string
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. Changing this forces a new Kusto Cosmos DB Connection to be created.
    Location string
    The Azure Region where the Data Explorer should exist. Changing this forces a new Kusto Cosmos DB Connection to be created.
    MappingRuleName string
    The name of an existing mapping rule to use when ingesting the retrieved data. Changing this forces a new Kusto Cosmos DB Connection to be created.
    Name string
    The name of the data connection. Changing this forces a new Kusto Cosmos DB Connection to be created.
    RetrievalStartDate string
    If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. Changing this forces a new Kusto Cosmos DB Connection to be created.
    cosmosdbContainerId String
    The name of an existing container in the Cosmos DB database. Changing this forces a new Kusto Cosmos DB Connection to be created.
    kustoDatabaseId String
    The name of the database in the Kusto cluster. Changing this forces a new Kusto Cosmos DB Connection to be created.
    managedIdentityId String
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. Changing this forces a new Kusto Cosmos DB Connection to be created.
    tableName String
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. Changing this forces a new Kusto Cosmos DB Connection to be created.
    location String
    The Azure Region where the Data Explorer should exist. Changing this forces a new Kusto Cosmos DB Connection to be created.
    mappingRuleName String
    The name of an existing mapping rule to use when ingesting the retrieved data. Changing this forces a new Kusto Cosmos DB Connection to be created.
    name String
    The name of the data connection. Changing this forces a new Kusto Cosmos DB Connection to be created.
    retrievalStartDate String
    If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. Changing this forces a new Kusto Cosmos DB Connection to be created.
    cosmosdbContainerId string
    The name of an existing container in the Cosmos DB database. Changing this forces a new Kusto Cosmos DB Connection to be created.
    kustoDatabaseId string
    The name of the database in the Kusto cluster. Changing this forces a new Kusto Cosmos DB Connection to be created.
    managedIdentityId string
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. Changing this forces a new Kusto Cosmos DB Connection to be created.
    tableName string
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. Changing this forces a new Kusto Cosmos DB Connection to be created.
    location string
    The Azure Region where the Data Explorer should exist. Changing this forces a new Kusto Cosmos DB Connection to be created.
    mappingRuleName string
    The name of an existing mapping rule to use when ingesting the retrieved data. Changing this forces a new Kusto Cosmos DB Connection to be created.
    name string
    The name of the data connection. Changing this forces a new Kusto Cosmos DB Connection to be created.
    retrievalStartDate string
    If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. Changing this forces a new Kusto Cosmos DB Connection to be created.
    cosmosdb_container_id str
    The name of an existing container in the Cosmos DB database. Changing this forces a new Kusto Cosmos DB Connection to be created.
    kusto_database_id str
    The name of the database in the Kusto cluster. Changing this forces a new Kusto Cosmos DB Connection to be created.
    managed_identity_id str
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. Changing this forces a new Kusto Cosmos DB Connection to be created.
    table_name str
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. Changing this forces a new Kusto Cosmos DB Connection to be created.
    location str
    The Azure Region where the Data Explorer should exist. Changing this forces a new Kusto Cosmos DB Connection to be created.
    mapping_rule_name str
    The name of an existing mapping rule to use when ingesting the retrieved data. Changing this forces a new Kusto Cosmos DB Connection to be created.
    name str
    The name of the data connection. Changing this forces a new Kusto Cosmos DB Connection to be created.
    retrieval_start_date str
    If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. Changing this forces a new Kusto Cosmos DB Connection to be created.
    cosmosdbContainerId String
    The name of an existing container in the Cosmos DB database. Changing this forces a new Kusto Cosmos DB Connection to be created.
    kustoDatabaseId String
    The name of the database in the Kusto cluster. Changing this forces a new Kusto Cosmos DB Connection to be created.
    managedIdentityId String
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. Changing this forces a new Kusto Cosmos DB Connection to be created.
    tableName String
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. Changing this forces a new Kusto Cosmos DB Connection to be created.
    location String
    The Azure Region where the Data Explorer should exist. Changing this forces a new Kusto Cosmos DB Connection to be created.
    mappingRuleName String
    The name of an existing mapping rule to use when ingesting the retrieved data. Changing this forces a new Kusto Cosmos DB Connection to be created.
    name String
    The name of the data connection. Changing this forces a new Kusto Cosmos DB Connection to be created.
    retrievalStartDate String
    If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. Changing this forces a new Kusto Cosmos DB Connection to be created.

    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CosmosdbDataConnection Resource

    Get an existing CosmosdbDataConnection 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?: CosmosdbDataConnectionState, opts?: CustomResourceOptions): CosmosdbDataConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cosmosdb_container_id: Optional[str] = None,
            kusto_database_id: Optional[str] = None,
            location: Optional[str] = None,
            managed_identity_id: Optional[str] = None,
            mapping_rule_name: Optional[str] = None,
            name: Optional[str] = None,
            retrieval_start_date: Optional[str] = None,
            table_name: Optional[str] = None) -> CosmosdbDataConnection
    func GetCosmosdbDataConnection(ctx *Context, name string, id IDInput, state *CosmosdbDataConnectionState, opts ...ResourceOption) (*CosmosdbDataConnection, error)
    public static CosmosdbDataConnection Get(string name, Input<string> id, CosmosdbDataConnectionState? state, CustomResourceOptions? opts = null)
    public static CosmosdbDataConnection get(String name, Output<String> id, CosmosdbDataConnectionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CosmosdbContainerId string
    The name of an existing container in the Cosmos DB database. Changing this forces a new Kusto Cosmos DB Connection to be created.
    KustoDatabaseId string
    The name of the database in the Kusto cluster. Changing this forces a new Kusto Cosmos DB Connection to be created.
    Location string
    The Azure Region where the Data Explorer should exist. Changing this forces a new Kusto Cosmos DB Connection to be created.
    ManagedIdentityId string
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. Changing this forces a new Kusto Cosmos DB Connection to be created.
    MappingRuleName string
    The name of an existing mapping rule to use when ingesting the retrieved data. Changing this forces a new Kusto Cosmos DB Connection to be created.
    Name string
    The name of the data connection. Changing this forces a new Kusto Cosmos DB Connection to be created.
    RetrievalStartDate string
    If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. Changing this forces a new Kusto Cosmos DB Connection to be created.
    TableName string
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. Changing this forces a new Kusto Cosmos DB Connection to be created.
    CosmosdbContainerId string
    The name of an existing container in the Cosmos DB database. Changing this forces a new Kusto Cosmos DB Connection to be created.
    KustoDatabaseId string
    The name of the database in the Kusto cluster. Changing this forces a new Kusto Cosmos DB Connection to be created.
    Location string
    The Azure Region where the Data Explorer should exist. Changing this forces a new Kusto Cosmos DB Connection to be created.
    ManagedIdentityId string
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. Changing this forces a new Kusto Cosmos DB Connection to be created.
    MappingRuleName string
    The name of an existing mapping rule to use when ingesting the retrieved data. Changing this forces a new Kusto Cosmos DB Connection to be created.
    Name string
    The name of the data connection. Changing this forces a new Kusto Cosmos DB Connection to be created.
    RetrievalStartDate string
    If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. Changing this forces a new Kusto Cosmos DB Connection to be created.
    TableName string
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. Changing this forces a new Kusto Cosmos DB Connection to be created.
    cosmosdbContainerId String
    The name of an existing container in the Cosmos DB database. Changing this forces a new Kusto Cosmos DB Connection to be created.
    kustoDatabaseId String
    The name of the database in the Kusto cluster. Changing this forces a new Kusto Cosmos DB Connection to be created.
    location String
    The Azure Region where the Data Explorer should exist. Changing this forces a new Kusto Cosmos DB Connection to be created.
    managedIdentityId String
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. Changing this forces a new Kusto Cosmos DB Connection to be created.
    mappingRuleName String
    The name of an existing mapping rule to use when ingesting the retrieved data. Changing this forces a new Kusto Cosmos DB Connection to be created.
    name String
    The name of the data connection. Changing this forces a new Kusto Cosmos DB Connection to be created.
    retrievalStartDate String
    If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. Changing this forces a new Kusto Cosmos DB Connection to be created.
    tableName String
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. Changing this forces a new Kusto Cosmos DB Connection to be created.
    cosmosdbContainerId string
    The name of an existing container in the Cosmos DB database. Changing this forces a new Kusto Cosmos DB Connection to be created.
    kustoDatabaseId string
    The name of the database in the Kusto cluster. Changing this forces a new Kusto Cosmos DB Connection to be created.
    location string
    The Azure Region where the Data Explorer should exist. Changing this forces a new Kusto Cosmos DB Connection to be created.
    managedIdentityId string
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. Changing this forces a new Kusto Cosmos DB Connection to be created.
    mappingRuleName string
    The name of an existing mapping rule to use when ingesting the retrieved data. Changing this forces a new Kusto Cosmos DB Connection to be created.
    name string
    The name of the data connection. Changing this forces a new Kusto Cosmos DB Connection to be created.
    retrievalStartDate string
    If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. Changing this forces a new Kusto Cosmos DB Connection to be created.
    tableName string
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. Changing this forces a new Kusto Cosmos DB Connection to be created.
    cosmosdb_container_id str
    The name of an existing container in the Cosmos DB database. Changing this forces a new Kusto Cosmos DB Connection to be created.
    kusto_database_id str
    The name of the database in the Kusto cluster. Changing this forces a new Kusto Cosmos DB Connection to be created.
    location str
    The Azure Region where the Data Explorer should exist. Changing this forces a new Kusto Cosmos DB Connection to be created.
    managed_identity_id str
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. Changing this forces a new Kusto Cosmos DB Connection to be created.
    mapping_rule_name str
    The name of an existing mapping rule to use when ingesting the retrieved data. Changing this forces a new Kusto Cosmos DB Connection to be created.
    name str
    The name of the data connection. Changing this forces a new Kusto Cosmos DB Connection to be created.
    retrieval_start_date str
    If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. Changing this forces a new Kusto Cosmos DB Connection to be created.
    table_name str
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. Changing this forces a new Kusto Cosmos DB Connection to be created.
    cosmosdbContainerId String
    The name of an existing container in the Cosmos DB database. Changing this forces a new Kusto Cosmos DB Connection to be created.
    kustoDatabaseId String
    The name of the database in the Kusto cluster. Changing this forces a new Kusto Cosmos DB Connection to be created.
    location String
    The Azure Region where the Data Explorer should exist. Changing this forces a new Kusto Cosmos DB Connection to be created.
    managedIdentityId String
    The resource ID of a managed system or user-assigned identity. The identity is used to authenticate with Cosmos DB. Changing this forces a new Kusto Cosmos DB Connection to be created.
    mappingRuleName String
    The name of an existing mapping rule to use when ingesting the retrieved data. Changing this forces a new Kusto Cosmos DB Connection to be created.
    name String
    The name of the data connection. Changing this forces a new Kusto Cosmos DB Connection to be created.
    retrievalStartDate String
    If defined, the data connection retrieves Cosmos DB documents created or updated after the specified retrieval start date. Changing this forces a new Kusto Cosmos DB Connection to be created.
    tableName String
    The case-sensitive name of the existing target table in your cluster. Retrieved data is ingested into this table. Changing this forces a new Kusto Cosmos DB Connection to be created.

    Import

    Kusto / Cosmos Database Data Connection can be imported using the resource id, e.g.

    $ pulumi import azure:kusto/cosmosdbDataConnection:CosmosdbDataConnection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Kusto/clusters/cluster1/databases/database1/dataConnections/dataConnection1
    

    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.

    Azure Classic v6.8.0 published on Monday, Nov 4, 2024 by Pulumi