2020-06-03 08:32:14 +00:00
|
|
|
"""Constants and shared schema for the Azure Event Hub integration."""
|
2021-08-23 15:04:42 +00:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
from typing import Any
|
|
|
|
|
2020-06-03 08:32:14 +00:00
|
|
|
DOMAIN = "azure_event_hub"
|
|
|
|
|
|
|
|
CONF_EVENT_HUB_NAMESPACE = "event_hub_namespace"
|
|
|
|
CONF_EVENT_HUB_INSTANCE_NAME = "event_hub_instance_name"
|
|
|
|
CONF_EVENT_HUB_SAS_POLICY = "event_hub_sas_policy"
|
|
|
|
CONF_EVENT_HUB_SAS_KEY = "event_hub_sas_key"
|
|
|
|
CONF_EVENT_HUB_CON_STRING = "event_hub_connection_string"
|
|
|
|
CONF_SEND_INTERVAL = "send_interval"
|
|
|
|
CONF_MAX_DELAY = "max_delay"
|
|
|
|
CONF_FILTER = "filter"
|
|
|
|
|
2021-08-23 15:04:42 +00:00
|
|
|
ADDITIONAL_ARGS: dict[str, Any] = {"logging_enable": False}
|