Share via


EventGridDataConnection Class

Definition

Class representing an Event Grid data connection.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.EventGridDataConnectionTypeConverter))]
public class EventGridDataConnection : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.IEventGridDataConnection, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.EventGridDataConnectionTypeConverter))>]
type EventGridDataConnection = class
    interface IEventGridDataConnection
    interface IJsonSerializable
    interface IDataConnection
    interface IResource
    interface IValidates
Public Class EventGridDataConnection
Implements IEventGridDataConnection, IValidates
Inheritance
EventGridDataConnection
Attributes
Implements

Constructors

EventGridDataConnection()

Creates an new EventGridDataConnection instance.

Properties

BlobStorageEventType

The name of blob storage event type to process.

ConsumerGroup

The event hub consumer group.

DatabaseRouting

Indication for database routing information from the data connection, by default only database routing information is allowed

DataFormat

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

EventGridResourceId

The resource ID of the event grid that is subscribed to the storage account events.

EventHubResourceId

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

IgnoreFirstRecord

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

Kind

Kind of the endpoint for the data connection

Location

Resource location.

ManagedIdentityObjectId

The object ID of managedIdentityResourceId

ManagedIdentityResourceId

The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.

MappingRuleName

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

Name

The name of the resource

ProvisioningState

The provisioned state of the resource.

StorageAccountResourceId

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

TableName

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

Type

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventGridDataConnection.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventGridDataConnection.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.IEventGridDataConnection.

FromJsonString(String)

Creates a new instance of EventGridDataConnection, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventGridDataConnection into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to