1. Packages
  2. Azure Native
  3. API Docs
  4. synapse
  5. EventGridDataConnection
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.8.0 published on Monday, Sep 18, 2023 by Pulumi

azure-native.synapse.EventGridDataConnection

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.8.0 published on Monday, Sep 18, 2023 by Pulumi

    Class representing an Event Grid data connection. Azure REST API version: 2021-06-01-preview.

    Example Usage

    KustoPoolDataConnectionsCreateOrUpdate.json

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var eventGridDataConnection = new AzureNative.Synapse.EventGridDataConnection("eventGridDataConnection", new()
        {
            DataConnectionName = "DataConnections8",
            DatabaseName = "KustoDatabase8",
            KustoPoolName = "kustoclusterrptest4",
            ResourceGroupName = "kustorptest",
            WorkspaceName = "synapseWorkspaceName",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/synapse/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := synapse.NewEventGridDataConnection(ctx, "eventGridDataConnection", &synapse.EventGridDataConnectionArgs{
    			DataConnectionName: pulumi.String("DataConnections8"),
    			DatabaseName:       pulumi.String("KustoDatabase8"),
    			KustoPoolName:      pulumi.String("kustoclusterrptest4"),
    			ResourceGroupName:  pulumi.String("kustorptest"),
    			WorkspaceName:      pulumi.String("synapseWorkspaceName"),
    		})
    		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.synapse.EventGridDataConnection;
    import com.pulumi.azurenative.synapse.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()        
                .dataConnectionName("DataConnections8")
                .databaseName("KustoDatabase8")
                .kustoPoolName("kustoclusterrptest4")
                .resourceGroupName("kustorptest")
                .workspaceName("synapseWorkspaceName")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    event_grid_data_connection = azure_native.synapse.EventGridDataConnection("eventGridDataConnection",
        data_connection_name="DataConnections8",
        database_name="KustoDatabase8",
        kusto_pool_name="kustoclusterrptest4",
        resource_group_name="kustorptest",
        workspace_name="synapseWorkspaceName")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const eventGridDataConnection = new azure_native.synapse.EventGridDataConnection("eventGridDataConnection", {
        dataConnectionName: "DataConnections8",
        databaseName: "KustoDatabase8",
        kustoPoolName: "kustoclusterrptest4",
        resourceGroupName: "kustorptest",
        workspaceName: "synapseWorkspaceName",
    });
    
    resources:
      eventGridDataConnection:
        type: azure-native:synapse:EventGridDataConnection
        properties:
          dataConnectionName: DataConnections8
          databaseName: KustoDatabase8
          kustoPoolName: kustoclusterrptest4
          resourceGroupName: kustorptest
          workspaceName: synapseWorkspaceName
    

    Create EventGridDataConnection Resource

    new EventGridDataConnection(name: string, args: EventGridDataConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def EventGridDataConnection(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                blob_storage_event_type: Optional[Union[str, BlobStorageEventType]] = None,
                                consumer_group: Optional[str] = None,
                                data_connection_name: Optional[str] = None,
                                data_format: Optional[Union[str, EventGridDataFormat]] = None,
                                database_name: Optional[str] = None,
                                event_hub_resource_id: Optional[str] = None,
                                ignore_first_record: Optional[bool] = None,
                                kusto_pool_name: Optional[str] = None,
                                location: Optional[str] = None,
                                mapping_rule_name: Optional[str] = None,
                                resource_group_name: Optional[str] = None,
                                storage_account_resource_id: Optional[str] = None,
                                table_name: Optional[str] = None,
                                workspace_name: Optional[str] = None)
    @overload
    def EventGridDataConnection(resource_name: str,
                                args: EventGridDataConnectionArgs,
                                opts: Optional[ResourceOptions] = 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:synapse:EventGridDataConnection
    properties: # The arguments to resource properties.
    options: # 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.
    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.

    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:

    ConsumerGroup string

    The event hub consumer group.

    DatabaseName string

    The name of the database in the Kusto pool.

    EventHubResourceId string

    The resource ID where the event grid is configured to send events.

    KustoPoolName string

    The name of the Kusto pool.

    ResourceGroupName string

    The name of the resource group. The name is case insensitive.

    StorageAccountResourceId string

    The resource ID of the storage account where the data resides.

    WorkspaceName string

    The name of the workspace.

    BlobStorageEventType string | Pulumi.AzureNative.Synapse.BlobStorageEventType

    The name of blob storage event type to process.

    DataConnectionName string

    The name of the data connection.

    DataFormat string | Pulumi.AzureNative.Synapse.EventGridDataFormat

    The data format of the message. Optionally the data format can be added to each message.

    IgnoreFirstRecord bool

    A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file

    Location string

    Resource location.

    MappingRuleName string

    The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.

    TableName string

    The table where the data should be ingested. Optionally the table information can be added to each message.

    ConsumerGroup string

    The event hub consumer group.

    DatabaseName string

    The name of the database in the Kusto pool.

    EventHubResourceId string

    The resource ID where the event grid is configured to send events.

    KustoPoolName string

    The name of the Kusto pool.

    ResourceGroupName string

    The name of the resource group. The name is case insensitive.

    StorageAccountResourceId string

    The resource ID of the storage account where the data resides.

    WorkspaceName string

    The name of the workspace.

    BlobStorageEventType string | BlobStorageEventType

    The name of blob storage event type to process.

    DataConnectionName string

    The name of the data connection.

    DataFormat string | EventGridDataFormat

    The data format of the message. Optionally the data format can be added to each message.

    IgnoreFirstRecord bool

    A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file

    Location string

    Resource location.

    MappingRuleName string

    The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.

    TableName string

    The table where the data should be ingested. Optionally the table information can be added to each message.

    consumerGroup String

    The event hub consumer group.

    databaseName String

    The name of the database in the Kusto pool.

    eventHubResourceId String

    The resource ID where the event grid is configured to send events.

    kustoPoolName String

    The name of the Kusto pool.

    resourceGroupName String

    The name of the resource group. The name is case insensitive.

    storageAccountResourceId String

    The resource ID of the storage account where the data resides.

    workspaceName String

    The name of the workspace.

    blobStorageEventType String | BlobStorageEventType

    The name of blob storage event type to process.

    dataConnectionName String

    The name of the data connection.

    dataFormat String | EventGridDataFormat

    The data format of the message. Optionally the data format can be added to each message.

    ignoreFirstRecord Boolean

    A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file

    location String

    Resource location.

    mappingRuleName String

    The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.

    tableName String

    The table where the data should be ingested. Optionally the table information can be added to each message.

    consumerGroup string

    The event hub consumer group.

    databaseName string

    The name of the database in the Kusto pool.

    eventHubResourceId string

    The resource ID where the event grid is configured to send events.

    kustoPoolName string

    The name of the Kusto pool.

    resourceGroupName string

    The name of the resource group. The name is case insensitive.

    storageAccountResourceId string

    The resource ID of the storage account where the data resides.

    workspaceName string

    The name of the workspace.

    blobStorageEventType string | BlobStorageEventType

    The name of blob storage event type to process.

    dataConnectionName string

    The name of the data connection.

    dataFormat string | EventGridDataFormat

    The data format of the message. Optionally the data format can be added to each message.

    ignoreFirstRecord boolean

    A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file

    location string

    Resource location.

    mappingRuleName string

    The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.

    tableName string

    The table where the data should be ingested. Optionally the table information can be added to each message.

    consumer_group str

    The event hub consumer group.

    database_name str

    The name of the database in the Kusto pool.

    event_hub_resource_id str

    The resource ID where the event grid is configured to send events.

    kusto_pool_name str

    The name of the Kusto pool.

    resource_group_name str

    The name of the resource group. The name is case insensitive.

    storage_account_resource_id str

    The resource ID of the storage account where the data resides.

    workspace_name str

    The name of the workspace.

    blob_storage_event_type str | BlobStorageEventType

    The name of blob storage event type to process.

    data_connection_name str

    The name of the data connection.

    data_format str | EventGridDataFormat

    The data format of the message. Optionally the data format can be added to each message.

    ignore_first_record bool

    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_name str

    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.

    consumerGroup String

    The event hub consumer group.

    databaseName String

    The name of the database in the Kusto pool.

    eventHubResourceId String

    The resource ID where the event grid is configured to send events.

    kustoPoolName String

    The name of the Kusto pool.

    resourceGroupName String

    The name of the resource group. The name is case insensitive.

    storageAccountResourceId String

    The resource ID of the storage account where the data resides.

    workspaceName String

    The name of the workspace.

    blobStorageEventType String | "Microsoft.Storage.BlobCreated" | "Microsoft.Storage.BlobRenamed"

    The name of blob storage event type to process.

    dataConnectionName String

    The name of the data connection.

    dataFormat 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.

    ignoreFirstRecord Boolean

    A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file

    location String

    Resource location.

    mappingRuleName String

    The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.

    tableName 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

    ProvisioningState string

    The provisioned state of the resource.

    SystemData Pulumi.AzureNative.Synapse.Outputs.SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    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

    ProvisioningState string

    The provisioned state of the resource.

    SystemData SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    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

    provisioningState String

    The provisioned state of the resource.

    systemData SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    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

    provisioningState string

    The provisioned state of the resource.

    systemData SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    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.

    system_data SystemDataResponse

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    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

    provisioningState String

    The provisioned state of the resource.

    systemData Property Map

    Azure Resource Manager metadata containing createdBy and modifiedBy information.

    type String

    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    BlobStorageEventType, BlobStorageEventTypeArgs

    Microsoft_Storage_BlobCreated
    Microsoft.Storage.BlobCreated
    Microsoft_Storage_BlobRenamed
    Microsoft.Storage.BlobRenamed
    BlobStorageEventType_Microsoft_Storage_BlobCreated
    Microsoft.Storage.BlobCreated
    BlobStorageEventType_Microsoft_Storage_BlobRenamed
    Microsoft.Storage.BlobRenamed
    Microsoft_Storage_BlobCreated
    Microsoft.Storage.BlobCreated
    Microsoft_Storage_BlobRenamed
    Microsoft.Storage.BlobRenamed
    Microsoft_Storage_BlobCreated
    Microsoft.Storage.BlobCreated
    Microsoft_Storage_BlobRenamed
    Microsoft.Storage.BlobRenamed
    MICROSOFT_STORAGE_BLOB_CREATED
    Microsoft.Storage.BlobCreated
    MICROSOFT_STORAGE_BLOB_RENAMED
    Microsoft.Storage.BlobRenamed
    "Microsoft.Storage.BlobCreated"
    Microsoft.Storage.BlobCreated
    "Microsoft.Storage.BlobRenamed"
    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
    EventGridDataFormatMULTIJSON
    MULTIJSON
    EventGridDataFormatJSON
    JSON
    EventGridDataFormatCSV
    CSV
    EventGridDataFormatTSV
    TSV
    EventGridDataFormatSCSV
    SCSV
    EventGridDataFormatSOHSV
    SOHSV
    EventGridDataFormatPSV
    PSV
    EventGridDataFormatTXT
    TXT
    EventGridDataFormatRAW
    RAW
    EventGridDataFormatSINGLEJSON
    SINGLEJSON
    EventGridDataFormatAVRO
    AVRO
    EventGridDataFormatTSVE
    TSVE
    EventGridDataFormatPARQUET
    PARQUET
    EventGridDataFormatORC
    ORC
    EventGridDataFormatAPACHEAVRO
    APACHEAVRO
    EventGridDataFormatW3CLOGFILE
    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

    SystemDataResponse, SystemDataResponseArgs

    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:synapse:EventGridDataConnection KustoClusterRPTest4/KustoDatabase8/DataConnections8 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/dataConnections/{dataConnectionName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.8.0 published on Monday, Sep 18, 2023 by Pulumi