Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen/_openapi_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0a8a9c3e98b49cbd21bb5d6c859971d0406d2267
e13a7b6206adbdb6c4008e2a58b7cc785e32cb1c
948 changes: 776 additions & 172 deletions .codegen/cli.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ cmd/workspace/alerts/alerts.go linguist-generated=true
cmd/workspace/apps-settings/apps-settings.go linguist-generated=true
cmd/workspace/apps/apps.go linguist-generated=true
cmd/workspace/artifact-allowlists/artifact-allowlists.go linguist-generated=true
cmd/workspace/assume-group/assume-group.go linguist-generated=true
cmd/workspace/automatic-cluster-update/automatic-cluster-update.go linguist-generated=true
cmd/workspace/bundle-deployments/bundle-deployments.go linguist-generated=true
cmd/workspace/catalogs/catalogs.go linguist-generated=true
Expand Down
1 change: 1 addition & 0 deletions .nextchanges/dependency-updates/go-sdk-v0.199.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Update the Go SDK to [v0.199.0](https://github.com/databricks/databricks-sdk-go/releases/tag/v0.199.0). ([#7584](https://github.com/databricks/cli/pull/7584))
40 changes: 40 additions & 0 deletions acceptance/bundle/refschema/output/apps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,46 @@ resources.apps.*.default_git_source.tag string ALL
resources.apps.*.default_source_code_path string ALL
resources.apps.*.description string ALL
resources.apps.*.effective_budget_policy_id string ALL
resources.apps.*.effective_resources []apps.AppResource ALL
resources.apps.*.effective_resources[*] apps.AppResource ALL
resources.apps.*.effective_resources[*].app *apps.AppResourceApp ALL
resources.apps.*.effective_resources[*].app.name string ALL
resources.apps.*.effective_resources[*].app.permission apps.AppResourceAppAppPermission ALL
resources.apps.*.effective_resources[*].database *apps.AppResourceDatabase ALL
resources.apps.*.effective_resources[*].database.database_name string ALL
resources.apps.*.effective_resources[*].database.instance_name string ALL
resources.apps.*.effective_resources[*].database.permission apps.AppResourceDatabaseDatabasePermission ALL
resources.apps.*.effective_resources[*].description string ALL
resources.apps.*.effective_resources[*].experiment *apps.AppResourceExperiment ALL
resources.apps.*.effective_resources[*].experiment.experiment_id string ALL
resources.apps.*.effective_resources[*].experiment.permission apps.AppResourceExperimentExperimentPermission ALL
resources.apps.*.effective_resources[*].genie_space *apps.AppResourceGenieSpace ALL
resources.apps.*.effective_resources[*].genie_space.name string ALL
resources.apps.*.effective_resources[*].genie_space.permission apps.AppResourceGenieSpaceGenieSpacePermission ALL
resources.apps.*.effective_resources[*].genie_space.space_id string ALL
resources.apps.*.effective_resources[*].job *apps.AppResourceJob ALL
resources.apps.*.effective_resources[*].job.id string ALL
resources.apps.*.effective_resources[*].job.permission apps.AppResourceJobJobPermission ALL
resources.apps.*.effective_resources[*].name string ALL
resources.apps.*.effective_resources[*].postgres *apps.AppResourcePostgres ALL
resources.apps.*.effective_resources[*].postgres.branch string ALL
resources.apps.*.effective_resources[*].postgres.database string ALL
resources.apps.*.effective_resources[*].postgres.permission apps.AppResourcePostgresPostgresPermission ALL
resources.apps.*.effective_resources[*].secret *apps.AppResourceSecret ALL
resources.apps.*.effective_resources[*].secret.key string ALL
resources.apps.*.effective_resources[*].secret.permission apps.AppResourceSecretSecretPermission ALL
resources.apps.*.effective_resources[*].secret.scope string ALL
resources.apps.*.effective_resources[*].serving_endpoint *apps.AppResourceServingEndpoint ALL
resources.apps.*.effective_resources[*].serving_endpoint.name string ALL
resources.apps.*.effective_resources[*].serving_endpoint.permission apps.AppResourceServingEndpointServingEndpointPermission ALL
resources.apps.*.effective_resources[*].sql_warehouse *apps.AppResourceSqlWarehouse ALL
resources.apps.*.effective_resources[*].sql_warehouse.id string ALL
resources.apps.*.effective_resources[*].sql_warehouse.permission apps.AppResourceSqlWarehouseSqlWarehousePermission ALL
resources.apps.*.effective_resources[*].uc_securable *apps.AppResourceUcSecurable ALL
resources.apps.*.effective_resources[*].uc_securable.permission apps.AppResourceUcSecurableUcSecurablePermission ALL
resources.apps.*.effective_resources[*].uc_securable.securable_full_name string ALL
resources.apps.*.effective_resources[*].uc_securable.securable_kind string ALL
resources.apps.*.effective_resources[*].uc_securable.securable_type apps.AppResourceUcSecurableUcSecurableType ALL

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resources.apps.*.effective_usage_policy_id string ALL
resources.apps.*.effective_user_api_scopes []string ALL
resources.apps.*.effective_user_api_scopes[*] string ALL
Expand Down
2 changes: 1 addition & 1 deletion bundle/config/mutator/load_dbalert_files.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (m *loadDBAlertFiles) Apply(ctx context.Context, b *bundle.Bundle) diag.Dia
Evaluation: dbalertFromFile.Evaluation,
EffectiveRunAs: dbalertFromFile.EffectiveRunAs,
RunAs: dbalertFromFile.RunAs,
RunAsUserName: dbalertFromFile.RunAsUserName,
RunAsUserName: dbalertFromFile.RunAsUserName, //nolint:staticcheck // SA1019: run_as_user_name is still accepted in alert files; run_as is the replacement
ParentPath: dbalertFromFile.ParentPath,
Parameters: dbalertFromFile.Parameters,
CustomTemplateFormat: dbalertFromFile.CustomTemplateFormat,
Expand Down
26 changes: 26 additions & 0 deletions bundle/direct/dresources/configs/apps.generated.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

166 changes: 48 additions & 118 deletions bundle/internal/schema/annotations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,48 +260,6 @@ resources:
"description": |-
PLACEHOLDER
"$fields":
"evaluation":
"description": |-
PLACEHOLDER
"$fields":
"notification":
"$fields":
"subscriptions":
"description": |-
PLACEHOLDER
"$fields":
"destination_id":
"description": |-
PLACEHOLDER
"user_email":
"description": |-
PLACEHOLDER
"source":
"$fields":
"display":
"description": |-
PLACEHOLDER
"name":
"description": |-
PLACEHOLDER
"threshold":
"$fields":
"column":
"description": |-
PLACEHOLDER
"value":
"description": |-
PLACEHOLDER
"$fields":
"bool_value":
"description": |-
PLACEHOLDER
"double_value":
"description": |-
PLACEHOLDER
"string_value":
"description": |-
PLACEHOLDER
"file_path":
"description": |-
PLACEHOLDER
Expand All @@ -325,9 +283,6 @@ resources:
- level: CAN_RUN
service_principal_name: 123456-abcdef
```
"schedule":
"description": |-
PLACEHOLDER
"apps":
"description": |-
The app resource defines a Databricks app.
Expand Down Expand Up @@ -369,54 +324,7 @@ resources:
"effective_budget_policy_id":
"description": |-
PLACEHOLDER
"effective_usage_policy_id":
"description": |-
PLACEHOLDER
"git_source":
"description": |-
Git source configuration for app deployments. Specifies which git reference (branch, tag, or commit)
to use when deploying the app. Used in conjunction with git_repository to deploy code directly from git.
The source_code_path within git_source specifies the relative path to the app code within the repository.
"lifecycle":
"description": |-
Settings that control the deployment lifecycle of the resource, such as preventing it from being destroyed.
"oauth2_app_client_id":
"description": |-
PLACEHOLDER
"oauth2_app_integration_id":
"description": |-
PLACEHOLDER
"permissions":
"description": |-
The permissions to apply to this resource.
"markdown_description": |-
A Sequence of permissions to apply to this resource, where each item grants a permission `level` to a single `user_name`, `group_name`, or `service_principal_name`. A principal cannot be set in both a resource's `permissions` and the top-level `permissions` mapping.

See [\_](/dev-tools/bundles/settings.md#permissions) and [\_](/dev-tools/bundles/permissions.md).
"markdown_examples": |-
```yaml
permissions:
- level: CAN_VIEW
group_name: test-group
- level: CAN_MANAGE
user_name: someone@example.com
- level: CAN_RUN
service_principal_name: 123456-abcdef
```
"$fields":
"group_name":
"description": |-
The name of the group granted the permission level.
"level":
"description": |-
The permission level to apply. The allowed levels depend on the resource type.
"service_principal_name":
"description": |-
The name of the service principal granted the permission level.
"user_name":
"description": |-
The name of the user granted the permission level.
"resources":
"effective_resources":
"$fields":
"app":
"description": |-
Expand Down Expand Up @@ -502,6 +410,53 @@ resources:
"securable_type":
"description": |-
PLACEHOLDER
"effective_usage_policy_id":
"description": |-
PLACEHOLDER
"git_source":
"description": |-
Git source configuration for app deployments. Specifies which git reference (branch, tag, or commit)
to use when deploying the app. Used in conjunction with git_repository to deploy code directly from git.
The source_code_path within git_source specifies the relative path to the app code within the repository.
"lifecycle":
"description": |-
Settings that control the deployment lifecycle of the resource, such as preventing it from being destroyed.
"oauth2_app_client_id":
"description": |-
PLACEHOLDER
"oauth2_app_integration_id":
"description": |-
PLACEHOLDER
"permissions":
"description": |-
The permissions to apply to this resource.
"markdown_description": |-
A Sequence of permissions to apply to this resource, where each item grants a permission `level` to a single `user_name`, `group_name`, or `service_principal_name`. A principal cannot be set in both a resource's `permissions` and the top-level `permissions` mapping.

See [\_](/dev-tools/bundles/settings.md#permissions) and [\_](/dev-tools/bundles/permissions.md).
"markdown_examples": |-
```yaml
permissions:
- level: CAN_VIEW
group_name: test-group
- level: CAN_MANAGE
user_name: someone@example.com
- level: CAN_RUN
service_principal_name: 123456-abcdef
```
"$fields":
"group_name":
"description": |-
The name of the group granted the permission level.
"level":
"description": |-
The permission level to apply. The allowed levels depend on the resource type.
"service_principal_name":
"description": |-
The name of the service principal granted the permission level.
"user_name":
"description": |-
The name of the user granted the permission level.
"service_principal_client_id":
"description": |-
PLACEHOLDER
Expand Down Expand Up @@ -1435,31 +1390,6 @@ resources:
value: "data science"
```
"$fields":
"config":
"$fields":
"served_entities":
"$fields":
"entity_version":
"description": |-
PLACEHOLDER
"served_models":
"$fields":
"model_name":
"description": |-
PLACEHOLDER
"model_version":
"description": |-
PLACEHOLDER
"traffic_config":
"$fields":
"routes":
"$fields":
"served_entity_name":
"description": |-
PLACEHOLDER
"description":
"description": |-
PLACEHOLDER
"lifecycle":
"description": |-
Settings that control the deployment lifecycle of the resource, such as preventing it from being destroyed.
Expand Down
Loading
Loading