class_docstr: Interacts with Azure Data Explorer (Kusto).
  
  **Cluster**:
  
  Azure Data Explorer cluster is specified by a URL, for example: "https://help.kusto.windows.net".
  The parameter must be provided through the Data Explorer Cluster URL connection detail.
  
  **Tenant ID**:
  
  To learn about tenants refer to: https://docs.microsoft.com/en-us/onedrive/find-your-office-365-tenant-id
  
  **Authentication methods**:
  
  Available authentication methods are:
  
    - AAD_APP: Authentication with AAD application certificate. A Tenant ID is required when using this
      method. Provide application ID and application key through Username and Password parameters.
  
    - AAD_APP_CERT: Authentication with AAD application certificate. Tenant ID, Application PEM Certificate,
      and Application Certificate Thumbprint are required when using this method.
  
    - AAD_CREDS: Authentication with AAD username and password. A Tenant ID is required when using this
      method. Username and Password parameters are used for authentication with AAD.
  
    - AAD_DEVICE: Authenticate with AAD device code. Please note that if you choose this option, you'll need
      to authenticate for every new instance that is initialized. It is highly recommended to create one
      instance and use it for all queries.
  
  :param azure_data_explorer_conn_id: Reference to the
      :ref:`Azure Data Explorer connection<howto/connection:adx>`.
class_docstr_tok: ["Interacts","with","Azure","Data","Explorer","(","Kusto",")",".","*","*","Cluster","*","*",":","Azure","Data","Explorer","cluster","is","specified","by","a","URL",",","for","example",":","``","https",":","\/\/help.kusto.windows.net","''",".","The","parameter","must","be","provided","through","the","Data","Explorer","Cluster","URL","connection","detail",".","*","*","Tenant","ID","*","*",":","To","learn","about","tenants","refer","to",":","https",":","\/\/docs.microsoft.com\/en-us\/onedrive\/find-your-office-365-tenant-id","*","*","Authentication","methods","*","*",":","Available","authentication","methods","are",":","-","AAD_APP",":","Authentication","with","AAD","application","certificate",".","A","Tenant","ID","is","required","when","using","this","method",".","Provide","application","ID","and","application","key","through","Username","and","Password","parameters",".","-","AAD_APP_CERT",":","Authentication","with","AAD","application","certificate",".","Tenant","ID",",","Application","PEM","Certificate",",","and","Application","Certificate","Thumbprint","are","required","when","using","this","method",".","-","AAD_CREDS",":","Authentication","with","AAD","username","and","password",".","A","Tenant","ID","is","required","when","using","this","method",".","Username","and","Password","parameters","are","used","for","authentication","with","AAD",".","-","AAD_DEVICE",":","Authenticate","with","AAD","device","code",".","Please","note","that","if","you","choose","this","option",",","you","'ll","need","to","authenticate","for","every","new","instance","that","is","initialized",".","It","is","highly","recommended","to","create","one","instance","and","use","it","for","all","queries",".",":","param","azure_data_explorer_conn_id",":","Reference","to","the",":","ref",":","`","Azure","Data","Explorer","connection","<","howto\/connection",":","adx",">","`","."]
docstr: Returns custom field behaviour.
docstr_tok: ["Returns","custom","field","behaviour","."]
code: def get_ui_field_behaviour(cls) -> dict[str, Any]:
      """Returns custom field behaviour."""
      return {
          "hidden_fields": ["schema", "port", "extra"],
          "relabeling": {
              "login": "Username",
              "host": "Data Explorer Cluster URL",
          },
          "placeholders": {
              "login": "Varies with authentication method",
              "password": "Varies with authentication method",
              "auth_method": "AAD_APP/AAD_APP_CERT/AAD_CREDS/AAD_DEVICE/AZURE_TOKEN_CRED",
              "tenant": "Used with AAD_APP/AAD_APP_CERT/AAD_CREDS",
              "certificate": "Used with AAD_APP_CERT",
              "thumbprint": "Used with AAD_APP_CERT",
          },
      }
  
file_path: airflow/airflow/providers/microsoft/azure/hooks/adx.py
imports: from __future__ import annotations
  import warnings
  from functools import cached_property
  from typing import TYPE_CHECKING, Any
  from azure.kusto.data import ClientRequestProperties, KustoClient, KustoConnectionStringBuilder
  from azure.kusto.data.exceptions import KustoServiceError
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
  from airflow.hooks.base import BaseHook
  from airflow.providers.microsoft.azure.utils import add_managed_identity_connection_widgets, get_sync_default_azure_credential
label_desc: Use image node_id 2 for calling the AzureDataExplorerHook obj's underlying member method code with example usage: obj.get_ui_field_behaviour(cls) and returns: dict