get_sql_endpoint
Retrieve the SQL endpoint for a lakehouse or warehouse by providing its name and workspace. Use this endpoint to connect to the resource directly.
Instructions
Retrieve the SQL endpoint for a specified lakehouse or warehouse.
Args:
workspace: Name or ID of the workspace (optional).
lakehouse: Name or ID of the lakehouse (optional).
warehouse: Name or ID of the warehouse (optional).
type: Type of resource ('lakehouse' or 'warehouse'). If not provided, it will be inferred.
ctx: Context object containing client information.
Returns:
A string containing the resource type, name/ID, and its SQL endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| lakehouse | No | ||
| warehouse | No | ||
| workspace | No |