Class EventGridDataConnection
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.kusto.fluent.models.DataConnectionInner
com.azure.resourcemanager.kusto.models.EventGridDataConnection
Class representing an Event Grid data connection.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the blobStorageEventType property: The name of blob storage event type to process.Get the consumerGroup property: The event hub consumer group.Get the databaseRouting property: Indication for database routing information from the data connection, by default only database routing information is allowed.Get the dataFormat property: The data format of the message.Get the eventGridResourceId property: The resource ID of the event grid that is subscribed to the storage account events.Get the eventHubResourceId property: The resource ID where the event grid is configured to send events.Get the ignoreFirstRecord property: A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file.Get the managedIdentityObjectId property: The object ID of managedIdentityResourceId.Get the managedIdentityResourceId property: The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.Get the mappingRuleName property: The mapping rule to be used to ingest the data.Get the provisioningState property: The provisioned state of the resource.Get the storageAccountResourceId property: The resource ID of the storage account where the data resides.Get the tableName property: The table where the data should be ingested.void
validate()
Validates the instance.withBlobStorageEventType
(BlobStorageEventType blobStorageEventType) Set the blobStorageEventType property: The name of blob storage event type to process.withConsumerGroup
(String consumerGroup) Set the consumerGroup property: The event hub consumer group.withDatabaseRouting
(DatabaseRouting databaseRouting) Set the databaseRouting property: Indication for database routing information from the data connection, by default only database routing information is allowed.withDataFormat
(EventGridDataFormat dataFormat) Set the dataFormat property: The data format of the message.withEventGridResourceId
(String eventGridResourceId) Set the eventGridResourceId property: The resource ID of the event grid that is subscribed to the storage account events.withEventHubResourceId
(String eventHubResourceId) Set the eventHubResourceId property: The resource ID where the event grid is configured to send events.withIgnoreFirstRecord
(Boolean ignoreFirstRecord) Set the ignoreFirstRecord property: A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file.withLocation
(String location) Set the location property: Resource location.withManagedIdentityResourceId
(String managedIdentityResourceId) Set the managedIdentityResourceId property: The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.withMappingRuleName
(String mappingRuleName) Set the mappingRuleName property: The mapping rule to be used to ingest the data.withStorageAccountResourceId
(String storageAccountResourceId) Set the storageAccountResourceId property: The resource ID of the storage account where the data resides.withTableName
(String tableName) Set the tableName property: The table where the data should be ingested.Methods inherited from class com.azure.resourcemanager.kusto.fluent.models.DataConnectionInner
location
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
EventGridDataConnection
public EventGridDataConnection()
-
-
Method Details
-
withLocation
Set the location property: Resource location.- Overrides:
withLocation
in classDataConnectionInner
- Parameters:
location
- the location value to set.- Returns:
- the DataConnectionInner object itself.
-
storageAccountResourceId
Get the storageAccountResourceId property: The resource ID of the storage account where the data resides.- Returns:
- the storageAccountResourceId value.
-
withStorageAccountResourceId
Set the storageAccountResourceId property: The resource ID of the storage account where the data resides.- Parameters:
storageAccountResourceId
- the storageAccountResourceId value to set.- Returns:
- the EventGridDataConnection object itself.
-
eventGridResourceId
Get the eventGridResourceId property: The resource ID of the event grid that is subscribed to the storage account events.- Returns:
- the eventGridResourceId value.
-
withEventGridResourceId
Set the eventGridResourceId property: The resource ID of the event grid that is subscribed to the storage account events.- Parameters:
eventGridResourceId
- the eventGridResourceId value to set.- Returns:
- the EventGridDataConnection object itself.
-
eventHubResourceId
Get the eventHubResourceId property: The resource ID where the event grid is configured to send events.- Returns:
- the eventHubResourceId value.
-
withEventHubResourceId
Set the eventHubResourceId property: The resource ID where the event grid is configured to send events.- Parameters:
eventHubResourceId
- the eventHubResourceId value to set.- Returns:
- the EventGridDataConnection object itself.
-
consumerGroup
Get the consumerGroup property: The event hub consumer group.- Returns:
- the consumerGroup value.
-
withConsumerGroup
Set the consumerGroup property: The event hub consumer group.- Parameters:
consumerGroup
- the consumerGroup value to set.- Returns:
- the EventGridDataConnection object itself.
-
tableName
Get the tableName property: The table where the data should be ingested. Optionally the table information can be added to each message.- Returns:
- the tableName value.
-
withTableName
Set the tableName property: The table where the data should be ingested. Optionally the table information can be added to each message.- Parameters:
tableName
- the tableName value to set.- Returns:
- the EventGridDataConnection object itself.
-
mappingRuleName
Get the mappingRuleName property: The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.- Returns:
- the mappingRuleName value.
-
withMappingRuleName
Set the mappingRuleName property: The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.- Parameters:
mappingRuleName
- the mappingRuleName value to set.- Returns:
- the EventGridDataConnection object itself.
-
dataFormat
Get the dataFormat property: The data format of the message. Optionally the data format can be added to each message.- Returns:
- the dataFormat value.
-
withDataFormat
Set the dataFormat property: The data format of the message. Optionally the data format can be added to each message.- Parameters:
dataFormat
- the dataFormat value to set.- Returns:
- the EventGridDataConnection object itself.
-
ignoreFirstRecord
Get the ignoreFirstRecord property: A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file.- Returns:
- the ignoreFirstRecord value.
-
withIgnoreFirstRecord
Set the ignoreFirstRecord property: A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file.- Parameters:
ignoreFirstRecord
- the ignoreFirstRecord value to set.- Returns:
- the EventGridDataConnection object itself.
-
blobStorageEventType
Get the blobStorageEventType property: The name of blob storage event type to process.- Returns:
- the blobStorageEventType value.
-
withBlobStorageEventType
Set the blobStorageEventType property: The name of blob storage event type to process.- Parameters:
blobStorageEventType
- the blobStorageEventType value to set.- Returns:
- the EventGridDataConnection object itself.
-
managedIdentityResourceId
Get the managedIdentityResourceId property: The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.- Returns:
- the managedIdentityResourceId value.
-
withManagedIdentityResourceId
Set the managedIdentityResourceId property: The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.- Parameters:
managedIdentityResourceId
- the managedIdentityResourceId value to set.- Returns:
- the EventGridDataConnection object itself.
-
managedIdentityObjectId
Get the managedIdentityObjectId property: The object ID of managedIdentityResourceId.- Returns:
- the managedIdentityObjectId value.
-
databaseRouting
Get the databaseRouting property: Indication for database routing information from the data connection, by default only database routing information is allowed.- Returns:
- the databaseRouting value.
-
withDatabaseRouting
Set the databaseRouting property: Indication for database routing information from the data connection, by default only database routing information is allowed.- Parameters:
databaseRouting
- the databaseRouting value to set.- Returns:
- the EventGridDataConnection object itself.
-
provisioningState
Get the provisioningState property: The provisioned state of the resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDataConnectionInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-