Hi AravindNani
This is more of infrastructure questions, you have to make sure that:
1) Your databricks Workspace is provisioned in VNET Injection mode
2) Your VNET is either peered to "HUB" network where you have S2S VPN Connection to API or you have to configure VPN tunnel on VNET where you provisioned databricks.
3) Use normal cluster (not serverless)
Test your connection by running command in notebook
%sh nc -zv <your_API_Endpoint_IP> <port>
If you want to use api friendly name (FQDN) you will have to deal with DNS resolution.
There is article that explain it:
https://learn.microsoft.com/en-us/azure/databricks/security/network/classic/on-prem-network
----
There are few alternative for that :
- you have to setup Static Egrees public IP from Databrick (e.g. NatGW) and whitelist it on your API side
- if your API is cloud base, you can try to setup private link or service connection.