Class AzureDataExplorerConnectionProperties
java.lang.Object
com.azure.resourcemanager.digitaltwins.models.TimeSeriesDatabaseConnectionProperties
com.azure.resourcemanager.digitaltwins.models.AzureDataExplorerConnectionProperties
public final class AzureDataExplorerConnectionProperties
extends TimeSeriesDatabaseConnectionProperties
Properties of a time series database connection to Azure Data Explorer with data being sent via an EventHub.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the adxDatabaseName property: The name of the Azure Data Explorer database.Get the adxEndpointUri property: The URI of the Azure Data Explorer endpoint.Get the adxResourceId property: The resource ID of the Azure Data Explorer cluster.Get the adxTableName property: The name of the Azure Data Explorer table.Get the eventHubConsumerGroup property: The EventHub consumer group to use when ADX reads from EventHub.Get the eventHubEndpointUri property: The URL of the EventHub namespace for identity-based authentication.Get the eventHubEntityPath property: The EventHub name in the EventHub namespace for identity-based authentication.Get the eventHubNamespaceResourceId property: The resource ID of the EventHub namespace.void
validate()
Validates the instance.withAdxDatabaseName
(String adxDatabaseName) Set the adxDatabaseName property: The name of the Azure Data Explorer database.withAdxEndpointUri
(String adxEndpointUri) Set the adxEndpointUri property: The URI of the Azure Data Explorer endpoint.withAdxResourceId
(String adxResourceId) Set the adxResourceId property: The resource ID of the Azure Data Explorer cluster.withAdxTableName
(String adxTableName) Set the adxTableName property: The name of the Azure Data Explorer table.withEventHubConsumerGroup
(String eventHubConsumerGroup) Set the eventHubConsumerGroup property: The EventHub consumer group to use when ADX reads from EventHub.withEventHubEndpointUri
(String eventHubEndpointUri) Set the eventHubEndpointUri property: The URL of the EventHub namespace for identity-based authentication.withEventHubEntityPath
(String eventHubEntityPath) Set the eventHubEntityPath property: The EventHub name in the EventHub namespace for identity-based authentication.withEventHubNamespaceResourceId
(String eventHubNamespaceResourceId) Set the eventHubNamespaceResourceId property: The resource ID of the EventHub namespace.Methods inherited from class com.azure.resourcemanager.digitaltwins.models.TimeSeriesDatabaseConnectionProperties
provisioningState
-
Constructor Details
-
AzureDataExplorerConnectionProperties
public AzureDataExplorerConnectionProperties()
-
-
Method Details
-
adxResourceId
Get the adxResourceId property: The resource ID of the Azure Data Explorer cluster.- Returns:
- the adxResourceId value.
-
withAdxResourceId
Set the adxResourceId property: The resource ID of the Azure Data Explorer cluster.- Parameters:
adxResourceId
- the adxResourceId value to set.- Returns:
- the AzureDataExplorerConnectionProperties object itself.
-
adxEndpointUri
Get the adxEndpointUri property: The URI of the Azure Data Explorer endpoint.- Returns:
- the adxEndpointUri value.
-
withAdxEndpointUri
Set the adxEndpointUri property: The URI of the Azure Data Explorer endpoint.- Parameters:
adxEndpointUri
- the adxEndpointUri value to set.- Returns:
- the AzureDataExplorerConnectionProperties object itself.
-
adxDatabaseName
Get the adxDatabaseName property: The name of the Azure Data Explorer database.- Returns:
- the adxDatabaseName value.
-
withAdxDatabaseName
Set the adxDatabaseName property: The name of the Azure Data Explorer database.- Parameters:
adxDatabaseName
- the adxDatabaseName value to set.- Returns:
- the AzureDataExplorerConnectionProperties object itself.
-
adxTableName
Get the adxTableName property: The name of the Azure Data Explorer table.- Returns:
- the adxTableName value.
-
withAdxTableName
Set the adxTableName property: The name of the Azure Data Explorer table.- Parameters:
adxTableName
- the adxTableName value to set.- Returns:
- the AzureDataExplorerConnectionProperties object itself.
-
eventHubEndpointUri
Get the eventHubEndpointUri property: The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://.- Returns:
- the eventHubEndpointUri value.
-
withEventHubEndpointUri
Set the eventHubEndpointUri property: The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://.- Parameters:
eventHubEndpointUri
- the eventHubEndpointUri value to set.- Returns:
- the AzureDataExplorerConnectionProperties object itself.
-
eventHubEntityPath
Get the eventHubEntityPath property: The EventHub name in the EventHub namespace for identity-based authentication.- Returns:
- the eventHubEntityPath value.
-
withEventHubEntityPath
Set the eventHubEntityPath property: The EventHub name in the EventHub namespace for identity-based authentication.- Parameters:
eventHubEntityPath
- the eventHubEntityPath value to set.- Returns:
- the AzureDataExplorerConnectionProperties object itself.
-
eventHubNamespaceResourceId
Get the eventHubNamespaceResourceId property: The resource ID of the EventHub namespace.- Returns:
- the eventHubNamespaceResourceId value.
-
withEventHubNamespaceResourceId
public AzureDataExplorerConnectionProperties withEventHubNamespaceResourceId(String eventHubNamespaceResourceId) Set the eventHubNamespaceResourceId property: The resource ID of the EventHub namespace.- Parameters:
eventHubNamespaceResourceId
- the eventHubNamespaceResourceId value to set.- Returns:
- the AzureDataExplorerConnectionProperties object itself.
-
eventHubConsumerGroup
Get the eventHubConsumerGroup property: The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.- Returns:
- the eventHubConsumerGroup value.
-
withEventHubConsumerGroup
public AzureDataExplorerConnectionProperties withEventHubConsumerGroup(String eventHubConsumerGroup) Set the eventHubConsumerGroup property: The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.- Parameters:
eventHubConsumerGroup
- the eventHubConsumerGroup value to set.- Returns:
- the AzureDataExplorerConnectionProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classTimeSeriesDatabaseConnectionProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-