databricks-cli/bundle/config/resources
Anton Nekipelov c0f5436a28
Add support for schemas in deployment bind/unbind commands (#2406)
## Changes
1. Changed `FindResourceByConfigKey` to return schema resources
2. Implemented the `Exists` method for schema resources

## Why
This PR adds support for schema resources in deployment operations,
enabling users to:
- Bind schemas using `databricks bundle deployment bind <myschema_key>
<schema_full_name>`
- Unbind schemas using `databricks bundle deployment unbind
<myschema_key>`

Where:
- `myschema_key` is a resource key defined in the bundle's .yml file
- `schema_full_name` references an existing schema in the Databricks
workspace

These capabilities allow for more flexible resource management of
schemas within bundles.

## Tests

Added a new integration test that tests bind and unbind methods together
with bundle deployment and destruction.
2025-03-04 12:46:39 +00:00
..
apps.go Added support for Databricks Apps in DABs (#1928) 2025-01-13 16:43:48 +00:00
clusters.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
dashboard.go Fix segfault in bundle summary command (#1937) 2024-11-28 12:27:24 +00:00
grant.go Support Unity Catalog Registered Models in bundles (#846) 2023-10-16 15:32:49 +00:00
job.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
mlflow_experiment.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
mlflow_model.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
model_serving_endpoint.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
modified_status.go Add "bundle summary" command (#1123) 2024-01-25 11:32:47 +00:00
permission.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
pipeline.go Use CreatePipeline instead of PipelineSpec for resources.Pipeline struct (#2287) 2025-02-07 17:22:51 +00:00
quality_monitor.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
registered_model.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
schema.go Add support for schemas in deployment bind/unbind commands (#2406) 2025-03-04 12:46:39 +00:00
schema_test.go Add support for schemas in deployment bind/unbind commands (#2406) 2025-03-04 12:46:39 +00:00
volume.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00