Skip to main content

ai_gateways

Creates, updates, deletes, gets or lists an ai_gateways resource.

Overview

Nameai_gateways
TypeResource
Iddatabricks_workspace.realtimeserving.ai_gateways

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
putaigatewayexecdeployment_nameUsed to update the AI Gateway of a serving endpoint. NOTE: Only external model endpoints are currently supported.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

Lifecycle Methods

Used to update the AI Gateway of a serving endpoint. NOTE: Only external model endpoints are currently supported.

EXEC databricks_workspace.realtimeserving.ai_gateways.putaigateway 
@deployment_name='{{ deployment_name }}' --required
@@json=
'{
"usage_tracking_config": "{{ usage_tracking_config }}",
"inference_table_config": "{{ inference_table_config }}",
"rate_limits": "{{ rate_limits }}",
"guardrails": "{{ guardrails }}"
}';