azure-native.digitaltwins.TimeSeriesDatabaseConnection

Explore with Pulumi AI

Describes a time series database connection resource. API Version: 2021-06-30-preview.

Example Usage

Create or replace a time series database connection for a DigitalTwins instance.

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var timeSeriesDatabaseConnection = new AzureNative.DigitalTwins.TimeSeriesDatabaseConnection("timeSeriesDatabaseConnection", new()
    {
        Properties = new AzureNative.DigitalTwins.Inputs.AzureDataExplorerConnectionPropertiesArgs
        {
            AdxDatabaseName = "myDatabase",
            AdxEndpointUri = "https://mycluster.kusto.windows.net",
            AdxResourceId = "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.Kusto/clusters/mycluster",
            AdxTableName = "myTable",
            ConnectionType = "AzureDataExplorer",
            EventHubEndpointUri = "sb://myeh.servicebus.windows.net/",
            EventHubEntityPath = "myeh",
            EventHubNamespaceResourceId = "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh",
        },
        ResourceGroupName = "resRg",
        ResourceName = "myDigitalTwinsService",
        TimeSeriesDatabaseConnectionName = "myConnection",
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.digitaltwins.TimeSeriesDatabaseConnection;
import com.pulumi.azurenative.digitaltwins.TimeSeriesDatabaseConnectionArgs;
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 timeSeriesDatabaseConnection = new TimeSeriesDatabaseConnection("timeSeriesDatabaseConnection", TimeSeriesDatabaseConnectionArgs.builder()        
            .properties(Map.ofEntries(
                Map.entry("adxDatabaseName", "myDatabase"),
                Map.entry("adxEndpointUri", "https://mycluster.kusto.windows.net"),
                Map.entry("adxResourceId", "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.Kusto/clusters/mycluster"),
                Map.entry("adxTableName", "myTable"),
                Map.entry("connectionType", "AzureDataExplorer"),
                Map.entry("eventHubEndpointUri", "sb://myeh.servicebus.windows.net/"),
                Map.entry("eventHubEntityPath", "myeh"),
                Map.entry("eventHubNamespaceResourceId", "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh")
            ))
            .resourceGroupName("resRg")
            .resourceName("myDigitalTwinsService")
            .timeSeriesDatabaseConnectionName("myConnection")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

time_series_database_connection = azure_native.digitaltwins.TimeSeriesDatabaseConnection("timeSeriesDatabaseConnection",
    properties=azure_native.digitaltwins.AzureDataExplorerConnectionPropertiesResponseArgs(
        adx_database_name="myDatabase",
        adx_endpoint_uri="https://mycluster.kusto.windows.net",
        adx_resource_id="/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.Kusto/clusters/mycluster",
        adx_table_name="myTable",
        connection_type="AzureDataExplorer",
        event_hub_endpoint_uri="sb://myeh.servicebus.windows.net/",
        event_hub_entity_path="myeh",
        event_hub_namespace_resource_id="/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh",
    ),
    resource_group_name="resRg",
    resource_name_="myDigitalTwinsService",
    time_series_database_connection_name="myConnection")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const timeSeriesDatabaseConnection = new azure_native.digitaltwins.TimeSeriesDatabaseConnection("timeSeriesDatabaseConnection", {
    properties: {
        adxDatabaseName: "myDatabase",
        adxEndpointUri: "https://mycluster.kusto.windows.net",
        adxResourceId: "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.Kusto/clusters/mycluster",
        adxTableName: "myTable",
        connectionType: "AzureDataExplorer",
        eventHubEndpointUri: "sb://myeh.servicebus.windows.net/",
        eventHubEntityPath: "myeh",
        eventHubNamespaceResourceId: "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh",
    },
    resourceGroupName: "resRg",
    resourceName: "myDigitalTwinsService",
    timeSeriesDatabaseConnectionName: "myConnection",
});
resources:
  timeSeriesDatabaseConnection:
    type: azure-native:digitaltwins:TimeSeriesDatabaseConnection
    properties:
      properties:
        adxDatabaseName: myDatabase
        adxEndpointUri: https://mycluster.kusto.windows.net
        adxResourceId: /subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.Kusto/clusters/mycluster
        adxTableName: myTable
        connectionType: AzureDataExplorer
        eventHubEndpointUri: sb://myeh.servicebus.windows.net/
        eventHubEntityPath: myeh
        eventHubNamespaceResourceId: /subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh
      resourceGroupName: resRg
      resourceName: myDigitalTwinsService
      timeSeriesDatabaseConnectionName: myConnection

Create TimeSeriesDatabaseConnection Resource

new TimeSeriesDatabaseConnection(name: string, args: TimeSeriesDatabaseConnectionArgs, opts?: CustomResourceOptions);
@overload
def TimeSeriesDatabaseConnection(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 properties: Optional[AzureDataExplorerConnectionPropertiesArgs] = None,
                                 resource_group_name: Optional[str] = None,
                                 resource_name_: Optional[str] = None,
                                 time_series_database_connection_name: Optional[str] = None)
@overload
def TimeSeriesDatabaseConnection(resource_name: str,
                                 args: TimeSeriesDatabaseConnectionArgs,
                                 opts: Optional[ResourceOptions] = None)
func NewTimeSeriesDatabaseConnection(ctx *Context, name string, args TimeSeriesDatabaseConnectionArgs, opts ...ResourceOption) (*TimeSeriesDatabaseConnection, error)
public TimeSeriesDatabaseConnection(string name, TimeSeriesDatabaseConnectionArgs args, CustomResourceOptions? opts = null)
public TimeSeriesDatabaseConnection(String name, TimeSeriesDatabaseConnectionArgs args)
public TimeSeriesDatabaseConnection(String name, TimeSeriesDatabaseConnectionArgs args, CustomResourceOptions options)
type: azure-native:digitaltwins:TimeSeriesDatabaseConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args TimeSeriesDatabaseConnectionArgs
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 TimeSeriesDatabaseConnectionArgs
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 TimeSeriesDatabaseConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TimeSeriesDatabaseConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args TimeSeriesDatabaseConnectionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

ResourceGroupName string

The name of the resource group that contains the DigitalTwinsInstance.

ResourceName string

The name of the DigitalTwinsInstance.

Properties Pulumi.AzureNative.DigitalTwins.Inputs.AzureDataExplorerConnectionPropertiesArgs

Properties of a specific time series database connection.

TimeSeriesDatabaseConnectionName string

Name of time series database connection.

ResourceGroupName string

The name of the resource group that contains the DigitalTwinsInstance.

ResourceName string

The name of the DigitalTwinsInstance.

Properties AzureDataExplorerConnectionPropertiesArgs

Properties of a specific time series database connection.

TimeSeriesDatabaseConnectionName string

Name of time series database connection.

resourceGroupName String

The name of the resource group that contains the DigitalTwinsInstance.

resourceName String

The name of the DigitalTwinsInstance.

properties AzureDataExplorerConnectionPropertiesArgs

Properties of a specific time series database connection.

timeSeriesDatabaseConnectionName String

Name of time series database connection.

resourceGroupName string

The name of the resource group that contains the DigitalTwinsInstance.

resourceName string

The name of the DigitalTwinsInstance.

properties AzureDataExplorerConnectionPropertiesArgs

Properties of a specific time series database connection.

timeSeriesDatabaseConnectionName string

Name of time series database connection.

resource_group_name str

The name of the resource group that contains the DigitalTwinsInstance.

resource_name str

The name of the DigitalTwinsInstance.

properties AzureDataExplorerConnectionPropertiesArgs

Properties of a specific time series database connection.

time_series_database_connection_name str

Name of time series database connection.

resourceGroupName String

The name of the resource group that contains the DigitalTwinsInstance.

resourceName String

The name of the DigitalTwinsInstance.

properties Property Map

Properties of a specific time series database connection.

timeSeriesDatabaseConnectionName String

Name of time series database connection.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

Extension resource name.

SystemData Pulumi.AzureNative.DigitalTwins.Outputs.SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

Type string

The resource type.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Extension resource name.

SystemData SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

Type string

The resource type.

id String

The provider-assigned unique ID for this managed resource.

name String

Extension resource name.

systemData SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

type String

The resource type.

id string

The provider-assigned unique ID for this managed resource.

name string

Extension resource name.

systemData SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

type string

The resource type.

id str

The provider-assigned unique ID for this managed resource.

name str

Extension resource name.

system_data SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

type str

The resource type.

id String

The provider-assigned unique ID for this managed resource.

name String

Extension resource name.

systemData Property Map

Metadata pertaining to creation and last modification of the resource.

type String

The resource type.

Supporting Types

AzureDataExplorerConnectionProperties

AdxDatabaseName string

The name of the Azure Data Explorer database.

AdxEndpointUri string

The URI of the Azure Data Explorer endpoint.

AdxResourceId string

The resource ID of the Azure Data Explorer cluster.

EventHubEndpointUri string

The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://

EventHubEntityPath string

The EventHub name in the EventHub namespace for identity-based authentication.

EventHubNamespaceResourceId string

The resource ID of the EventHub namespace.

AdxTableName string

The name of the Azure Data Explorer table. Defaults to AdtPropertyEvents.

EventHubConsumerGroup string

The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.

AdxDatabaseName string

The name of the Azure Data Explorer database.

AdxEndpointUri string

The URI of the Azure Data Explorer endpoint.

AdxResourceId string

The resource ID of the Azure Data Explorer cluster.

EventHubEndpointUri string

The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://

EventHubEntityPath string

The EventHub name in the EventHub namespace for identity-based authentication.

EventHubNamespaceResourceId string

The resource ID of the EventHub namespace.

AdxTableName string

The name of the Azure Data Explorer table. Defaults to AdtPropertyEvents.

EventHubConsumerGroup string

The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.

adxDatabaseName String

The name of the Azure Data Explorer database.

adxEndpointUri String

The URI of the Azure Data Explorer endpoint.

adxResourceId String

The resource ID of the Azure Data Explorer cluster.

eventHubEndpointUri String

The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://

eventHubEntityPath String

The EventHub name in the EventHub namespace for identity-based authentication.

eventHubNamespaceResourceId String

The resource ID of the EventHub namespace.

adxTableName String

The name of the Azure Data Explorer table. Defaults to AdtPropertyEvents.

eventHubConsumerGroup String

The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.

adxDatabaseName string

The name of the Azure Data Explorer database.

adxEndpointUri string

The URI of the Azure Data Explorer endpoint.

adxResourceId string

The resource ID of the Azure Data Explorer cluster.

eventHubEndpointUri string

The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://

eventHubEntityPath string

The EventHub name in the EventHub namespace for identity-based authentication.

eventHubNamespaceResourceId string

The resource ID of the EventHub namespace.

adxTableName string

The name of the Azure Data Explorer table. Defaults to AdtPropertyEvents.

eventHubConsumerGroup string

The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.

adx_database_name str

The name of the Azure Data Explorer database.

adx_endpoint_uri str

The URI of the Azure Data Explorer endpoint.

adx_resource_id str

The resource ID of the Azure Data Explorer cluster.

event_hub_endpoint_uri str

The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://

event_hub_entity_path str

The EventHub name in the EventHub namespace for identity-based authentication.

event_hub_namespace_resource_id str

The resource ID of the EventHub namespace.

adx_table_name str

The name of the Azure Data Explorer table. Defaults to AdtPropertyEvents.

event_hub_consumer_group str

The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.

adxDatabaseName String

The name of the Azure Data Explorer database.

adxEndpointUri String

The URI of the Azure Data Explorer endpoint.

adxResourceId String

The resource ID of the Azure Data Explorer cluster.

eventHubEndpointUri String

The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://

eventHubEntityPath String

The EventHub name in the EventHub namespace for identity-based authentication.

eventHubNamespaceResourceId String

The resource ID of the EventHub namespace.

adxTableName String

The name of the Azure Data Explorer table. Defaults to AdtPropertyEvents.

eventHubConsumerGroup String

The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.

AzureDataExplorerConnectionPropertiesResponse

AdxDatabaseName string

The name of the Azure Data Explorer database.

AdxEndpointUri string

The URI of the Azure Data Explorer endpoint.

AdxResourceId string

The resource ID of the Azure Data Explorer cluster.

EventHubEndpointUri string

The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://

EventHubEntityPath string

The EventHub name in the EventHub namespace for identity-based authentication.

EventHubNamespaceResourceId string

The resource ID of the EventHub namespace.

ProvisioningState string

The provisioning state.

AdxTableName string

The name of the Azure Data Explorer table. Defaults to AdtPropertyEvents.

EventHubConsumerGroup string

The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.

AdxDatabaseName string

The name of the Azure Data Explorer database.

AdxEndpointUri string

The URI of the Azure Data Explorer endpoint.

AdxResourceId string

The resource ID of the Azure Data Explorer cluster.

EventHubEndpointUri string

The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://

EventHubEntityPath string

The EventHub name in the EventHub namespace for identity-based authentication.

EventHubNamespaceResourceId string

The resource ID of the EventHub namespace.

ProvisioningState string

The provisioning state.

AdxTableName string

The name of the Azure Data Explorer table. Defaults to AdtPropertyEvents.

EventHubConsumerGroup string

The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.

adxDatabaseName String

The name of the Azure Data Explorer database.

adxEndpointUri String

The URI of the Azure Data Explorer endpoint.

adxResourceId String

The resource ID of the Azure Data Explorer cluster.

eventHubEndpointUri String

The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://

eventHubEntityPath String

The EventHub name in the EventHub namespace for identity-based authentication.

eventHubNamespaceResourceId String

The resource ID of the EventHub namespace.

provisioningState String

The provisioning state.

adxTableName String

The name of the Azure Data Explorer table. Defaults to AdtPropertyEvents.

eventHubConsumerGroup String

The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.

adxDatabaseName string

The name of the Azure Data Explorer database.

adxEndpointUri string

The URI of the Azure Data Explorer endpoint.

adxResourceId string

The resource ID of the Azure Data Explorer cluster.

eventHubEndpointUri string

The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://

eventHubEntityPath string

The EventHub name in the EventHub namespace for identity-based authentication.

eventHubNamespaceResourceId string

The resource ID of the EventHub namespace.

provisioningState string

The provisioning state.

adxTableName string

The name of the Azure Data Explorer table. Defaults to AdtPropertyEvents.

eventHubConsumerGroup string

The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.

adx_database_name str

The name of the Azure Data Explorer database.

adx_endpoint_uri str

The URI of the Azure Data Explorer endpoint.

adx_resource_id str

The resource ID of the Azure Data Explorer cluster.

event_hub_endpoint_uri str

The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://

event_hub_entity_path str

The EventHub name in the EventHub namespace for identity-based authentication.

event_hub_namespace_resource_id str

The resource ID of the EventHub namespace.

provisioning_state str

The provisioning state.

adx_table_name str

The name of the Azure Data Explorer table. Defaults to AdtPropertyEvents.

event_hub_consumer_group str

The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.

adxDatabaseName String

The name of the Azure Data Explorer database.

adxEndpointUri String

The URI of the Azure Data Explorer endpoint.

adxResourceId String

The resource ID of the Azure Data Explorer cluster.

eventHubEndpointUri String

The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://

eventHubEntityPath String

The EventHub name in the EventHub namespace for identity-based authentication.

eventHubNamespaceResourceId String

The resource ID of the EventHub namespace.

provisioningState String

The provisioning state.

adxTableName String

The name of the Azure Data Explorer table. Defaults to AdtPropertyEvents.

eventHubConsumerGroup String

The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

Import

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

$ pulumi import azure-native:digitaltwins:TimeSeriesDatabaseConnection myConnection /subscriptions/50016170-c839-41ba-a724-51e9df440b9e/resourcegroups/resRg/providers/Microsoft.DigitalTwins/digitalTwinsInstances/myDigitalTwinsService/timeSeriesDatabaseConnections/myConnection 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0