azure-native.kusto.EventGridDataConnection
Explore with Pulumi AI
Class representing an Event Grid data connection. API Version: 2021-01-01.
Example Usage
KustoDataConnectionsCreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var eventGridDataConnection = new AzureNative.Kusto.EventGridDataConnection("eventGridDataConnection", new()
{
ClusterName = "kustoclusterrptest4",
DataConnectionName = "DataConnections8",
DatabaseName = "KustoDatabase8",
ResourceGroupName = "kustorptest",
});
});
package main
import (
kusto "github.com/pulumi/pulumi-azure-native-sdk/kusto"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := kusto.NewEventGridDataConnection(ctx, "eventGridDataConnection", &kusto.EventGridDataConnectionArgs{
ClusterName: pulumi.String("kustoclusterrptest4"),
DataConnectionName: pulumi.String("DataConnections8"),
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.EventGridDataConnection;
import com.pulumi.azurenative.kusto.EventGridDataConnectionArgs;
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 eventGridDataConnection = new EventGridDataConnection("eventGridDataConnection", EventGridDataConnectionArgs.builder()
.clusterName("kustoclusterrptest4")
.dataConnectionName("DataConnections8")
.databaseName("KustoDatabase8")
.resourceGroupName("kustorptest")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
event_grid_data_connection = azure_native.kusto.EventGridDataConnection("eventGridDataConnection",
cluster_name="kustoclusterrptest4",
data_connection_name="DataConnections8",
database_name="KustoDatabase8",
resource_group_name="kustorptest")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const eventGridDataConnection = new azure_native.kusto.EventGridDataConnection("eventGridDataConnection", {
clusterName: "kustoclusterrptest4",
dataConnectionName: "DataConnections8",
databaseName: "KustoDatabase8",
resourceGroupName: "kustorptest",
});
resources:
eventGridDataConnection:
type: azure-native:kusto:EventGridDataConnection
properties:
clusterName: kustoclusterrptest4
dataConnectionName: DataConnections8
databaseName: KustoDatabase8
resourceGroupName: kustorptest
Create EventGridDataConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventGridDataConnection(name: string, args: EventGridDataConnectionArgs, opts?: CustomResourceOptions);
@overload
def EventGridDataConnection(resource_name: str,
args: EventGridDataConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EventGridDataConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
consumer_group: Optional[str] = None,
storage_account_resource_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
database_name: Optional[str] = None,
event_hub_resource_id: Optional[str] = None,
data_connection_name: Optional[str] = None,
ignore_first_record: Optional[bool] = None,
location: Optional[str] = None,
mapping_rule_name: Optional[str] = None,
data_format: Optional[Union[str, EventGridDataFormat]] = None,
blob_storage_event_type: Optional[Union[str, BlobStorageEventType]] = None,
table_name: Optional[str] = None)
func NewEventGridDataConnection(ctx *Context, name string, args EventGridDataConnectionArgs, opts ...ResourceOption) (*EventGridDataConnection, error)
public EventGridDataConnection(string name, EventGridDataConnectionArgs args, CustomResourceOptions? opts = null)
public EventGridDataConnection(String name, EventGridDataConnectionArgs args)
public EventGridDataConnection(String name, EventGridDataConnectionArgs args, CustomResourceOptions options)
type: azure-native:kusto:EventGridDataConnection
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 EventGridDataConnectionArgs
- 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 EventGridDataConnectionArgs
- 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 EventGridDataConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventGridDataConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventGridDataConnectionArgs
- 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 eventGridDataConnectionResource = new AzureNative.Kusto.EventGridDataConnection("eventGridDataConnectionResource", new()
{
Kind = "string",
ClusterName = "string",
ConsumerGroup = "string",
StorageAccountResourceId = "string",
ResourceGroupName = "string",
DatabaseName = "string",
EventHubResourceId = "string",
DataConnectionName = "string",
IgnoreFirstRecord = false,
Location = "string",
MappingRuleName = "string",
DataFormat = "string",
BlobStorageEventType = "string",
TableName = "string",
});
example, err := kusto.NewEventGridDataConnection(ctx, "eventGridDataConnectionResource", &kusto.EventGridDataConnectionArgs{
Kind: "string",
ClusterName: "string",
ConsumerGroup: "string",
StorageAccountResourceId: "string",
ResourceGroupName: "string",
DatabaseName: "string",
EventHubResourceId: "string",
DataConnectionName: "string",
IgnoreFirstRecord: false,
Location: "string",
MappingRuleName: "string",
DataFormat: "string",
BlobStorageEventType: "string",
TableName: "string",
})
var eventGridDataConnectionResource = new EventGridDataConnection("eventGridDataConnectionResource", EventGridDataConnectionArgs.builder()
.kind("string")
.clusterName("string")
.consumerGroup("string")
.storageAccountResourceId("string")
.resourceGroupName("string")
.databaseName("string")
.eventHubResourceId("string")
.dataConnectionName("string")
.ignoreFirstRecord(false)
.location("string")
.mappingRuleName("string")
.dataFormat("string")
.blobStorageEventType("string")
.tableName("string")
.build());
event_grid_data_connection_resource = azure_native.kusto.EventGridDataConnection("eventGridDataConnectionResource",
kind=string,
cluster_name=string,
consumer_group=string,
storage_account_resource_id=string,
resource_group_name=string,
database_name=string,
event_hub_resource_id=string,
data_connection_name=string,
ignore_first_record=False,
location=string,
mapping_rule_name=string,
data_format=string,
blob_storage_event_type=string,
table_name=string)
const eventGridDataConnectionResource = new azure_native.kusto.EventGridDataConnection("eventGridDataConnectionResource", {
kind: "string",
clusterName: "string",
consumerGroup: "string",
storageAccountResourceId: "string",
resourceGroupName: "string",
databaseName: "string",
eventHubResourceId: "string",
dataConnectionName: "string",
ignoreFirstRecord: false,
location: "string",
mappingRuleName: "string",
dataFormat: "string",
blobStorageEventType: "string",
tableName: "string",
});
type: azure-native:kusto:EventGridDataConnection
properties:
blobStorageEventType: string
clusterName: string
consumerGroup: string
dataConnectionName: string
dataFormat: string
databaseName: string
eventHubResourceId: string
ignoreFirstRecord: false
kind: string
location: string
mappingRuleName: string
resourceGroupName: string
storageAccountResourceId: string
tableName: string
EventGridDataConnection 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 EventGridDataConnection resource accepts the following input properties:
- Cluster
Name string - The name of the Kusto cluster.
- Consumer
Group string - The event hub consumer group.
- Database
Name string - The name of the database in the Kusto cluster.
- Event
Hub stringResource Id - The resource ID where the event grid is configured to send events.
- Resource
Group stringName - The name of the resource group containing the Kusto cluster.
- Storage
Account stringResource Id - The resource ID of the storage account where the data resides.
- Blob
Storage string | Pulumi.Event Type Azure Native. Kusto. Blob Storage Event Type - The name of blob storage event type to process.
- Data
Connection stringName - The name of the data connection.
- Data
Format string | Pulumi.Azure Native. Kusto. Event Grid Data Format - The data format of the message. Optionally the data format can be added to each message.
- Ignore
First boolRecord - A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
- Location string
- Resource location.
- Mapping
Rule stringName - The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- Table
Name string - The table where the data should be ingested. Optionally the table information can be added to each message.
- Cluster
Name string - The name of the Kusto cluster.
- Consumer
Group string - The event hub consumer group.
- Database
Name string - The name of the database in the Kusto cluster.
- Event
Hub stringResource Id - The resource ID where the event grid is configured to send events.
- Resource
Group stringName - The name of the resource group containing the Kusto cluster.
- Storage
Account stringResource Id - The resource ID of the storage account where the data resides.
- Blob
Storage string | BlobEvent Type Storage Event Type - The name of blob storage event type to process.
- Data
Connection stringName - The name of the data connection.
- Data
Format string | EventGrid Data Format - The data format of the message. Optionally the data format can be added to each message.
- Ignore
First boolRecord - A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
- Location string
- Resource location.
- Mapping
Rule stringName - The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- Table
Name string - The table where the data should be ingested. Optionally the table information can be added to each message.
- cluster
Name String - The name of the Kusto cluster.
- consumer
Group String - The event hub consumer group.
- database
Name String - The name of the database in the Kusto cluster.
- event
Hub StringResource Id - The resource ID where the event grid is configured to send events.
- resource
Group StringName - The name of the resource group containing the Kusto cluster.
- storage
Account StringResource Id - The resource ID of the storage account where the data resides.
- blob
Storage String | BlobEvent Type Storage Event Type - The name of blob storage event type to process.
- data
Connection StringName - The name of the data connection.
- data
Format String | EventGrid Data Format - The data format of the message. Optionally the data format can be added to each message.
- ignore
First BooleanRecord - A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
- location String
- Resource location.
- mapping
Rule StringName - The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- table
Name String - The table where the data should be ingested. Optionally the table information can be added to each message.
- cluster
Name string - The name of the Kusto cluster.
- consumer
Group string - The event hub consumer group.
- database
Name string - The name of the database in the Kusto cluster.
- event
Hub stringResource Id - The resource ID where the event grid is configured to send events.
- resource
Group stringName - The name of the resource group containing the Kusto cluster.
- storage
Account stringResource Id - The resource ID of the storage account where the data resides.
- blob
Storage string | BlobEvent Type Storage Event Type - The name of blob storage event type to process.
- data
Connection stringName - The name of the data connection.
- data
Format string | EventGrid Data Format - The data format of the message. Optionally the data format can be added to each message.
- ignore
First booleanRecord - A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
- location string
- Resource location.
- mapping
Rule stringName - The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- table
Name string - The table where the data should be ingested. Optionally the table information can be added to each message.
- cluster_
name str - The name of the Kusto cluster.
- consumer_
group str - The event hub consumer group.
- database_
name str - The name of the database in the Kusto cluster.
- event_
hub_ strresource_ id - The resource ID where the event grid is configured to send events.
- resource_
group_ strname - The name of the resource group containing the Kusto cluster.
- storage_
account_ strresource_ id - The resource ID of the storage account where the data resides.
- blob_
storage_ str | Blobevent_ type Storage Event Type - The name of blob storage event type to process.
- data_
connection_ strname - The name of the data connection.
- data_
format str | EventGrid Data Format - The data format of the message. Optionally the data format can be added to each message.
- ignore_
first_ boolrecord - A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
- location str
- Resource location.
- mapping_
rule_ strname - The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- table_
name str - The table where the data should be ingested. Optionally the table information can be added to each message.
- cluster
Name String - The name of the Kusto cluster.
- consumer
Group String - The event hub consumer group.
- database
Name String - The name of the database in the Kusto cluster.
- event
Hub StringResource Id - The resource ID where the event grid is configured to send events.
- resource
Group StringName - The name of the resource group containing the Kusto cluster.
- storage
Account StringResource Id - The resource ID of the storage account where the data resides.
- blob
Storage String | "Microsoft.Event Type Storage. Blob Created" | "Microsoft. Storage. Blob Renamed" - The name of blob storage event type to process.
- data
Connection StringName - The name of the data connection.
- data
Format String | "MULTIJSON" | "JSON" | "CSV" | "TSV" | "SCSV" | "SOHSV" | "PSV" | "TXT" | "RAW" | "SINGLEJSON" | "AVRO" | "TSVE" | "PARQUET" | "ORC" | "APACHEAVRO" | "W3CLOGFILE" - The data format of the message. Optionally the data format can be added to each message.
- ignore
First BooleanRecord - A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
- location String
- Resource location.
- mapping
Rule StringName - The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- table
Name String - The table where the data should be ingested. Optionally the table information can be added to each message.
Outputs
All input properties are implicitly available as output properties. Additionally, the EventGridDataConnection resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed 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.
- 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.
- 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.
- 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.
- 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.
- 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"
Supporting Types
BlobStorageEventType, BlobStorageEventTypeArgs
- Microsoft_Storage_Blob
Created - Microsoft.Storage.BlobCreated
- Microsoft_Storage_Blob
Renamed - Microsoft.Storage.BlobRenamed
- Blob
Storage Event Type_Microsoft_Storage_Blob Created - Microsoft.Storage.BlobCreated
- Blob
Storage Event Type_Microsoft_Storage_Blob Renamed - Microsoft.Storage.BlobRenamed
- Microsoft_Storage_Blob
Created - Microsoft.Storage.BlobCreated
- Microsoft_Storage_Blob
Renamed - Microsoft.Storage.BlobRenamed
- Microsoft_Storage_Blob
Created - Microsoft.Storage.BlobCreated
- Microsoft_Storage_Blob
Renamed - Microsoft.Storage.BlobRenamed
- MICROSOFT_STORAGE_BLOB_CREATED
- Microsoft.Storage.BlobCreated
- MICROSOFT_STORAGE_BLOB_RENAMED
- Microsoft.Storage.BlobRenamed
- "Microsoft.
Storage. Blob Created" - Microsoft.Storage.BlobCreated
- "Microsoft.
Storage. Blob Renamed" - Microsoft.Storage.BlobRenamed
EventGridDataFormat, EventGridDataFormatArgs
- MULTIJSON
- MULTIJSON
- JSON
- JSON
- CSV
- CSV
- TSV
- TSV
- SCSV
- SCSV
- SOHSV
- SOHSV
- PSV
- PSV
- TXT
- TXT
- RAW
- RAW
- SINGLEJSON
- SINGLEJSON
- AVRO
- AVRO
- TSVE
- TSVE
- PARQUET
- PARQUET
- ORC
- ORC
- APACHEAVRO
- APACHEAVRO
- W3CLOGFILE
- W3CLOGFILE
- Event
Grid Data Format MULTIJSON - MULTIJSON
- Event
Grid Data Format JSON - JSON
- Event
Grid Data Format CSV - CSV
- Event
Grid Data Format TSV - TSV
- Event
Grid Data Format SCSV - SCSV
- Event
Grid Data Format SOHSV - SOHSV
- Event
Grid Data Format PSV - PSV
- Event
Grid Data Format TXT - TXT
- Event
Grid Data Format RAW - RAW
- Event
Grid Data Format SINGLEJSON - SINGLEJSON
- Event
Grid Data Format AVRO - AVRO
- Event
Grid Data Format TSVE - TSVE
- Event
Grid Data Format PARQUET - PARQUET
- Event
Grid Data Format ORC - ORC
- Event
Grid Data Format APACHEAVRO - APACHEAVRO
- Event
Grid Data Format W3CLOGFILE - W3CLOGFILE
- MULTIJSON
- MULTIJSON
- JSON
- JSON
- CSV
- CSV
- TSV
- TSV
- SCSV
- SCSV
- SOHSV
- SOHSV
- PSV
- PSV
- TXT
- TXT
- RAW
- RAW
- SINGLEJSON
- SINGLEJSON
- AVRO
- AVRO
- TSVE
- TSVE
- PARQUET
- PARQUET
- ORC
- ORC
- APACHEAVRO
- APACHEAVRO
- W3CLOGFILE
- W3CLOGFILE
- MULTIJSON
- MULTIJSON
- JSON
- JSON
- CSV
- CSV
- TSV
- TSV
- SCSV
- SCSV
- SOHSV
- SOHSV
- PSV
- PSV
- TXT
- TXT
- RAW
- RAW
- SINGLEJSON
- SINGLEJSON
- AVRO
- AVRO
- TSVE
- TSVE
- PARQUET
- PARQUET
- ORC
- ORC
- APACHEAVRO
- APACHEAVRO
- W3CLOGFILE
- W3CLOGFILE
- MULTIJSON
- MULTIJSON
- JSON
- JSON
- CSV
- CSV
- TSV
- TSV
- SCSV
- SCSV
- SOHSV
- SOHSV
- PSV
- PSV
- TXT
- TXT
- RAW
- RAW
- SINGLEJSON
- SINGLEJSON
- AVRO
- AVRO
- TSVE
- TSVE
- PARQUET
- PARQUET
- ORC
- ORC
- APACHEAVRO
- APACHEAVRO
- W3_CLOGFILE
- W3CLOGFILE
- "MULTIJSON"
- MULTIJSON
- "JSON"
- JSON
- "CSV"
- CSV
- "TSV"
- TSV
- "SCSV"
- SCSV
- "SOHSV"
- SOHSV
- "PSV"
- PSV
- "TXT"
- TXT
- "RAW"
- RAW
- "SINGLEJSON"
- SINGLEJSON
- "AVRO"
- AVRO
- "TSVE"
- TSVE
- "PARQUET"
- PARQUET
- "ORC"
- ORC
- "APACHEAVRO"
- APACHEAVRO
- "W3CLOGFILE"
- W3CLOGFILE
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:kusto:EventGridDataConnection KustoClusterRPTest4/KustoDatabase8/DataConnections8 /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0