AzureDataExplorerConnectionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. digitaltwins. models. TimeSeriesDatabaseConnectionProperties - com.
azure. resourcemanager. digitaltwins. models. AzureDataExplorerConnectionProperties
- com.
- com.
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
| Constructor | Description |
|---|---|
| AzureDataExplorerConnectionProperties() |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
adxDatabaseName()
Get the adx |
| String |
adxEndpointUri()
Get the adx |
| String |
adxRelationshipLifecycleEventsTableName()
Get the adx |
| String |
adxResourceId()
Get the adx |
| String |
adxTableName()
Get the adx |
| String |
adxTwinLifecycleEventsTableName()
Get the adx |
|
Connection |
connectionType()
Get the connection |
| String |
eventHubConsumerGroup()
Get the event |
| String |
eventHubEndpointUri()
Get the event |
| String |
eventHubEntityPath()
Get the event |
| String |
eventHubNamespaceResourceId()
Get the event |
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
|
Time |
provisioningState()
Get the provisioning |
|
Record |
recordPropertyAndItemRemovals()
Get the record |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Azure |
withAdxDatabaseName(String adxDatabaseName)
Set the adx |
|
Azure |
withAdxEndpointUri(String adxEndpointUri)
Set the adx |
|
Azure |
withAdxRelationshipLifecycleEventsTableName(String adxRelationshipLifecycleEventsTableName)
Set the adx |
|
Azure |
withAdxResourceId(String adxResourceId)
Set the adx |
|
Azure |
withAdxTableName(String adxTableName)
Set the adx |
|
Azure |
withAdxTwinLifecycleEventsTableName(String adxTwinLifecycleEventsTableName)
Set the adx |
|
Azure |
withEventHubConsumerGroup(String eventHubConsumerGroup)
Set the event |
|
Azure |
withEventHubEndpointUri(String eventHubEndpointUri)
Set the event |
|
Azure |
withEventHubEntityPath(String eventHubEntityPath)
Set the event |
|
Azure |
withEventHubNamespaceResourceId(String eventHubNamespaceResourceId)
Set the event |
|
Azure |
withIdentity(ManagedIdentityReference identity)
Set the identity property: Managed identity properties for the time series database connection resource. |
|
Azure |
withRecordPropertyAndItemRemovals(RecordPropertyAndItemRemovals recordPropertyAndItemRemovals)
Set the record |
Methods inherited from TimeSeriesDatabaseConnectionProperties
Methods inherited from java.lang.Object
Constructor Details
AzureDataExplorerConnectionProperties
public AzureDataExplorerConnectionProperties()
Creates an instance of AzureDataExplorerConnectionProperties class.
Method Details
adxDatabaseName
public String adxDatabaseName()
Get the adxDatabaseName property: The name of the Azure Data Explorer database.
Returns:
adxEndpointUri
public String adxEndpointUri()
Get the adxEndpointUri property: The URI of the Azure Data Explorer endpoint.
Returns:
adxRelationshipLifecycleEventsTableName
public String adxRelationshipLifecycleEventsTableName()
Get the adxRelationshipLifecycleEventsTableName property: The name of the Azure Data Explorer table used for recording relationship lifecycle events. The table will not be created if this property is left unspecified.
Returns:
adxResourceId
public String adxResourceId()
Get the adxResourceId property: The resource ID of the Azure Data Explorer cluster.
Returns:
adxTableName
public String adxTableName()
Get the adxTableName property: The name of the Azure Data Explorer table used for storing updates to properties of twins and relationships. Defaults to AdtPropertyEvents.
Returns:
adxTwinLifecycleEventsTableName
public String adxTwinLifecycleEventsTableName()
Get the adxTwinLifecycleEventsTableName property: The name of the Azure Data Explorer table used for recording twin lifecycle events. The table will not be created if this property is left unspecified.
Returns:
connectionType
public ConnectionType connectionType()
Get the connectionType property: The type of time series connection resource.
Overrides:
AzureDataExplorerConnectionProperties.connectionType()Returns:
eventHubConsumerGroup
public String eventHubConsumerGroup()
Get the eventHubConsumerGroup property: The EventHub consumer group to use when ADX reads from EventHub. Defaults to $Default.
Returns:
eventHubEndpointUri
public String eventHubEndpointUri()
Get the eventHubEndpointUri property: The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://.
Returns:
eventHubEntityPath
public String eventHubEntityPath()
Get the eventHubEntityPath property: The EventHub name in the EventHub namespace for identity-based authentication.
Returns:
eventHubNamespaceResourceId
public String eventHubNamespaceResourceId()
Get the eventHubNamespaceResourceId property: The resource ID of the EventHub namespace.
Returns:
fromJson
public static AzureDataExplorerConnectionProperties fromJson(JsonReader jsonReader)
Reads an instance of AzureDataExplorerConnectionProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public TimeSeriesDatabaseConnectionState provisioningState()
Get the provisioningState property: The provisioning state.
Overrides:
AzureDataExplorerConnectionProperties.provisioningState()Returns:
recordPropertyAndItemRemovals
public RecordPropertyAndItemRemovals recordPropertyAndItemRemovals()
Get the recordPropertyAndItemRemovals property: Specifies whether or not to record twin / relationship property and item removals, including removals of indexed or keyed values (such as map entries, array elements, etc.). This feature is de-activated unless explicitly set to 'true'. Setting this property to 'true' will generate an additional column in the property events table in ADX.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AzureDataExplorerConnectionProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
AzureDataExplorerConnectionProperties.validate()withAdxDatabaseName
public AzureDataExplorerConnectionProperties withAdxDatabaseName(String adxDatabaseName)
Set the adxDatabaseName property: The name of the Azure Data Explorer database.
Parameters:
Returns:
withAdxEndpointUri
public AzureDataExplorerConnectionProperties withAdxEndpointUri(String adxEndpointUri)
Set the adxEndpointUri property: The URI of the Azure Data Explorer endpoint.
Parameters:
Returns:
withAdxRelationshipLifecycleEventsTableName
public AzureDataExplorerConnectionProperties withAdxRelationshipLifecycleEventsTableName(String adxRelationshipLifecycleEventsTableName)
Set the adxRelationshipLifecycleEventsTableName property: The name of the Azure Data Explorer table used for recording relationship lifecycle events. The table will not be created if this property is left unspecified.
Parameters:
Returns:
withAdxResourceId
public AzureDataExplorerConnectionProperties withAdxResourceId(String adxResourceId)
Set the adxResourceId property: The resource ID of the Azure Data Explorer cluster.
Parameters:
Returns:
withAdxTableName
public AzureDataExplorerConnectionProperties withAdxTableName(String adxTableName)
Set the adxTableName property: The name of the Azure Data Explorer table used for storing updates to properties of twins and relationships. Defaults to AdtPropertyEvents.
Parameters:
Returns:
withAdxTwinLifecycleEventsTableName
public AzureDataExplorerConnectionProperties withAdxTwinLifecycleEventsTableName(String adxTwinLifecycleEventsTableName)
Set the adxTwinLifecycleEventsTableName property: The name of the Azure Data Explorer table used for recording twin lifecycle events. The table will not be created if this property is left unspecified.
Parameters:
Returns:
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:
Returns:
withEventHubEndpointUri
public AzureDataExplorerConnectionProperties withEventHubEndpointUri(String eventHubEndpointUri)
Set the eventHubEndpointUri property: The URL of the EventHub namespace for identity-based authentication. It must include the protocol sb://.
Parameters:
Returns:
withEventHubEntityPath
public AzureDataExplorerConnectionProperties withEventHubEntityPath(String eventHubEntityPath)
Set the eventHubEntityPath property: The EventHub name in the EventHub namespace for identity-based authentication.
Parameters:
Returns:
withEventHubNamespaceResourceId
public AzureDataExplorerConnectionProperties withEventHubNamespaceResourceId(String eventHubNamespaceResourceId)
Set the eventHubNamespaceResourceId property: The resource ID of the EventHub namespace.
Parameters:
Returns:
withIdentity
public AzureDataExplorerConnectionProperties withIdentity(ManagedIdentityReference identity)
Set the identity property: Managed identity properties for the time series database connection resource.
Overrides:
AzureDataExplorerConnectionProperties.withIdentity(ManagedIdentityReference identity)Parameters:
withRecordPropertyAndItemRemovals
public AzureDataExplorerConnectionProperties withRecordPropertyAndItemRemovals(RecordPropertyAndItemRemovals recordPropertyAndItemRemovals)
Set the recordPropertyAndItemRemovals property: Specifies whether or not to record twin / relationship property and item removals, including removals of indexed or keyed values (such as map entries, array elements, etc.). This feature is de-activated unless explicitly set to 'true'. Setting this property to 'true' will generate an additional column in the property events table in ADX.
Parameters:
Returns: