Vector Search Endpoints

Package: databricks.bundles.vector_search_endpoints

Classes

class DependsOn
resource: str

Key of the resource to depend on, as foo or jobs.foo, or of its grants or permissions, as schemas.foo.grants.

classmethod from_dict(
value: dict,
) → Self
as_dict(
self,
) → dict
class EndpointType

Type of endpoint.

STORAGE_OPTIMIZED = 'STORAGE_OPTIMIZED'
STANDARD = 'STANDARD'
class Lifecycle
depends_on: list[DependsOn]

Resources that must be deployed before this resource and deleted after it. Unlike variable references, this only affects ordering.

prevent_destroy: bool | None = None

Lifecycle setting to prevent the resource from being destroyed.

classmethod from_dict(
value: dict,
) → Self
as_dict(
self,
) → dict
class VectorSearchEndpoint
endpoint_type: EndpointType

Type of endpoint to create. STANDARD endpoints are optimized for low-latency queries and support Target QPS scaling. STORAGE_OPTIMIZED endpoints hold much larger indexes and index faster, with higher query latency. See https://docs.databricks.com/aws/en/ai-search/ai-search#endpoint-options.

name: str

Name of the AI Search endpoint. The name must be unique within the workspace, have at most 50 characters, contain only lowercase letters, digits, hyphens, underscores and periods, and start and end with a letter or digit.

budget_policy_id: str | None = None

[Public Preview] Budget policy to attribute the endpoint’s usage to. If omitted, the default budget policy applies.

lifecycle: Lifecycle | None = None

Settings that control the deployment lifecycle of the resource, such as preventing it from being destroyed.

permissions: list[VectorSearchEndpointPermission]

The permissions to apply to this resource.

target_qps: int | None = None

Target queries per second (QPS) for the endpoint. Supported for STANDARD endpoints only. The actual replica count is calculated at index creation/sync time based on this value. Best-effort target; the system does not guarantee this QPS will be achieved.

classmethod from_dict(
value: dict,
) → Self
as_dict(
self,
) → dict
class VectorSearchEndpointPermission
level: VectorSearchEndpointPermissionLevel
group_name: str | None = None
service_principal_name: str | None = None
user_name: str | None = None
classmethod from_dict(
value: dict,
) → Self
as_dict(
self,
) → dict
class VectorSearchEndpointPermissionLevel

Permission level

CAN_CREATE = 'CAN_CREATE'
CAN_MANAGE = 'CAN_MANAGE'
CAN_USE = 'CAN_USE'