diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 7e1df64341..3b3c2de76e 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -24,3 +24,4 @@ * Bump Go toolchain to 1.25.10 ([#5213](https://github.com/databricks/cli/pull/5213)). * Bump `github.com/databricks/databricks-sdk-go` from v0.128.0 to v0.132.0. +* Bump Terraform provider to v1.115.0. diff --git a/acceptance/bundle/deployment/bind/dashboard/recreation/out.state_after_bind.terraform.json b/acceptance/bundle/deployment/bind/dashboard/recreation/out.state_after_bind.terraform.json index 4eb65c3212..ca4b75342e 100644 --- a/acceptance/bundle/deployment/bind/dashboard/recreation/out.state_after_bind.terraform.json +++ b/acceptance/bundle/deployment/bind/dashboard/recreation/out.state_after_bind.terraform.json @@ -28,7 +28,11 @@ "md5": null, "parent_path": "/Users/[USERNAME]", "path": "/Users/[USERNAME]/test dashboard [UNIQUE_NAME].lvdash.json", - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "serialized_dashboard": "{\"pages\":[{\"displayName\":\"Untitled page\",\"name\":\"02724bf2\",\"pageType\":\"PAGE_TYPE_CANVAS\"}]}", "update_time": "[TIMESTAMP]", "warehouse_id": "[TEST_DEFAULT_WAREHOUSE_ID]" diff --git a/acceptance/bundle/deployment/bind/pipelines/recreate/out.bind-fail.terraform.txt b/acceptance/bundle/deployment/bind/pipelines/recreate/out.bind-fail.terraform.txt index 1d300160a9..922f6fea73 100644 --- a/acceptance/bundle/deployment/bind/pipelines/recreate/out.bind-fail.terraform.txt +++ b/acceptance/bundle/deployment/bind/pipelines/recreate/out.bind-fail.terraform.txt @@ -49,6 +49,10 @@ Terraform will perform the following actions: - include = "/Workspace/Users/foo@databricks.com/another/**" -> null } } + + - provider_config { + - workspace_id = "[NUMID]" -> null + } } Plan: 1 to add, 0 to change, 1 to destroy. diff --git a/acceptance/bundle/deployment/bind/pipelines/update/out.bind-fail.terraform.txt b/acceptance/bundle/deployment/bind/pipelines/update/out.bind-fail.terraform.txt index 2ff60fce2b..6ce19d8337 100644 --- a/acceptance/bundle/deployment/bind/pipelines/update/out.bind-fail.terraform.txt +++ b/acceptance/bundle/deployment/bind/pipelines/update/out.bind-fail.terraform.txt @@ -36,6 +36,8 @@ Terraform will perform the following actions: - include = "/Workspace/Users/foo@databricks.com/another/**" -> null } } + + # (1 unchanged block hidden) } Plan: 0 to add, 1 to change, 0 to destroy. diff --git a/acceptance/bundle/migrate/basic/out.original_state.json b/acceptance/bundle/migrate/basic/out.original_state.json index 65e976ff46..1deac23037 100644 --- a/acceptance/bundle/migrate/basic/out.original_state.json +++ b/acceptance/bundle/migrate/basic/out.original_state.json @@ -55,7 +55,11 @@ "parameter": [], "performance_target": null, "pipeline_task": [], - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "python_wheel_task": [], "queue": [ { @@ -208,7 +212,11 @@ "name": "Test Migration Pipeline", "notification": [], "photon": false, - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "restart_window": [], "root_path": null, "run_as": [], @@ -254,7 +262,11 @@ "id": "mycat.myschema.myvol", "name": "myvol", "owner": "[USERNAME]", - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "schema_name": "myschema", "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]", "volume_path": "/Volumes/mycat/myschema/myvol", diff --git a/acceptance/bundle/migrate/dashboards/out.original_state.json b/acceptance/bundle/migrate/dashboards/out.original_state.json index fd7f588ea6..588895fb3c 100644 --- a/acceptance/bundle/migrate/dashboards/out.original_state.json +++ b/acceptance/bundle/migrate/dashboards/out.original_state.json @@ -28,7 +28,11 @@ "md5": "b4ab6aee48485b0b5e980761d3efe936", "parent_path": "/Users/[USERNAME]", "path": "/Users/[USERNAME]/my dashboard.lvdash.json", - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "serialized_dashboard": "{\"pages\":[{\"displayName\":\"Dashboard test bundle-deploy-dashboard\",\"name\":\"02724bf2\",\"pageType\":\"PAGE_TYPE_CANVAS\"}]}\n", "update_time": "[TIMESTAMP]", "warehouse_id": "123456" diff --git a/acceptance/bundle/migrate/default-python/out.state_original.json b/acceptance/bundle/migrate/default-python/out.state_original.json index a91be18e2d..cab881e6d5 100644 --- a/acceptance/bundle/migrate/default-python/out.state_original.json +++ b/acceptance/bundle/migrate/default-python/out.state_original.json @@ -116,7 +116,11 @@ ], "performance_target": null, "pipeline_task": [], - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "python_wheel_task": [], "queue": [ { @@ -441,7 +445,11 @@ "name": "[dev [USERNAME]] my_default_python_etl", "notification": [], "photon": false, - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "restart_window": [], "root_path": "/Workspace/Users/[USERNAME]/.bundle/my_default_python/dev/files/src/my_default_python_etl", "run_as": [], diff --git a/acceptance/bundle/migrate/grants/out.original_state.json b/acceptance/bundle/migrate/grants/out.original_state.json index a410fff585..550f69cfe7 100644 --- a/acceptance/bundle/migrate/grants/out.original_state.json +++ b/acceptance/bundle/migrate/grants/out.original_state.json @@ -31,7 +31,11 @@ "metastore": null, "model": null, "pipeline": null, - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "recipient": null, "schema": null, "share": null, @@ -75,7 +79,11 @@ "metastore": null, "model": null, "pipeline": null, - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "recipient": null, "schema": "main.schema_grants", "share": null, @@ -118,7 +126,11 @@ "metastore": null, "model": null, "pipeline": null, - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "recipient": null, "schema": null, "share": null, @@ -155,7 +167,11 @@ "metastore_id": "[UUID]", "name": "mymodel", "owner": "[USERNAME]", - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "schema_name": "schema_grants", "storage_location": null, "updated_at": [UNIX_TIME_MILLIS][0], @@ -187,7 +203,11 @@ "name": "schema_grants", "owner": "[USERNAME]", "properties": null, - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "schema_id": "[UUID]", "storage_root": null }, @@ -210,7 +230,11 @@ "id": "main.schema_grants.volume_name", "name": "volume_name", "owner": "[USERNAME]", - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "schema_name": "schema_grants", "storage_location": "s3://[METASTORE_NAME]/metastore/[UUID]/volumes/[UUID]", "volume_path": "/Volumes/main/schema_grants/volume_name", diff --git a/acceptance/bundle/migrate/permissions/out.original_state.json b/acceptance/bundle/migrate/permissions/out.original_state.json index 866dadca8a..dffac5aa8c 100644 --- a/acceptance/bundle/migrate/permissions/out.original_state.json +++ b/acceptance/bundle/migrate/permissions/out.original_state.json @@ -55,7 +55,11 @@ "parameter": [], "performance_target": null, "pipeline_task": [], - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "python_wheel_task": [], "queue": [ { @@ -195,7 +199,11 @@ "notebook_path": null, "object_type": "job", "pipeline_id": null, - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "registered_model_id": null, "repo_id": null, "repo_path": null, @@ -257,7 +265,11 @@ "notebook_path": null, "object_type": "pipelines", "pipeline_id": "[UUID]", - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "registered_model_id": null, "repo_id": null, "repo_path": null, @@ -332,7 +344,11 @@ "name": "Test Migration Pipeline", "notification": [], "photon": false, - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "restart_window": [], "root_path": null, "run_as": [], diff --git a/acceptance/bundle/migrate/runas/out.create_requests.json b/acceptance/bundle/migrate/runas/out.create_requests.json index 65cdc895ab..65dd4044d9 100644 --- a/acceptance/bundle/migrate/runas/out.create_requests.json +++ b/acceptance/bundle/migrate/runas/out.create_requests.json @@ -1,7 +1,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/pipeline auth/pat" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/pipeline auth/pat" ] }, "method": "POST", @@ -32,7 +32,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/permissions auth/pat" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/permissions auth/pat" ] }, "method": "PUT", diff --git a/acceptance/bundle/migrate/runas/out.old_state.json b/acceptance/bundle/migrate/runas/out.old_state.json index 2d0fba02fd..49b51c2a30 100644 --- a/acceptance/bundle/migrate/runas/out.old_state.json +++ b/acceptance/bundle/migrate/runas/out.old_state.json @@ -46,7 +46,11 @@ "notebook_path": null, "object_type": "pipelines", "pipeline_id": "[UUID]", - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "registered_model_id": null, "repo_id": null, "repo_path": null, @@ -121,7 +125,11 @@ "name": "DABs Revenue Pipeline", "notification": [], "photon": false, - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "restart_window": [], "root_path": null, "run_as": [ diff --git a/acceptance/bundle/resources/jobs/update/out.state.terraform.json b/acceptance/bundle/resources/jobs/update/out.state.terraform.json index 2c50ca82cb..520c7641bc 100644 --- a/acceptance/bundle/resources/jobs/update/out.state.terraform.json +++ b/acceptance/bundle/resources/jobs/update/out.state.terraform.json @@ -102,7 +102,11 @@ "parameter": [], "performance_target": null, "pipeline_task": [], - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "python_wheel_task": [], "queue": [ { diff --git a/acceptance/bundle/resources/postgres_projects/update_display_name/out.requests.restore.terraform.json b/acceptance/bundle/resources/postgres_projects/update_display_name/out.requests.restore.terraform.json index aabcba8c34..85a5668aa3 100644 --- a/acceptance/bundle/resources/postgres_projects/update_display_name/out.requests.restore.terraform.json +++ b/acceptance/bundle/resources/postgres_projects/update_display_name/out.requests.restore.terraform.json @@ -6,7 +6,7 @@ "method": "PATCH", "path": "/api/2.0/postgres/[MY_PROJECT_ID]", "q": { - "update_mask": "spec" + "update_mask": "initial_endpoint_spec,spec" }, "body": { "name": "[MY_PROJECT_ID]", diff --git a/acceptance/bundle/resources/postgres_projects/update_display_name/out.requests.update.terraform.json b/acceptance/bundle/resources/postgres_projects/update_display_name/out.requests.update.terraform.json index d68d893ad2..daa3b4c7d9 100644 --- a/acceptance/bundle/resources/postgres_projects/update_display_name/out.requests.update.terraform.json +++ b/acceptance/bundle/resources/postgres_projects/update_display_name/out.requests.update.terraform.json @@ -6,7 +6,7 @@ "method": "PATCH", "path": "/api/2.0/postgres/[MY_PROJECT_ID]", "q": { - "update_mask": "spec" + "update_mask": "initial_endpoint_spec,spec" }, "body": { "name": "[MY_PROJECT_ID]", diff --git a/acceptance/bundle/state/state_present/output.txt b/acceptance/bundle/state/state_present/output.txt index 706b54a67a..a9accf0863 100644 --- a/acceptance/bundle/state/state_present/output.txt +++ b/acceptance/bundle/state/state_present/output.txt @@ -8,7 +8,7 @@ Updating deployment state... Deployment complete! >>> print_requests.py //api/2.1/unity-catalog/schemas -"databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" +"databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" >>> DATABRICKS_BUNDLE_ENGINE= [CLI] bundle deploy Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files... @@ -17,7 +17,7 @@ Updating deployment state... Deployment complete! >>> print_requests.py --get //api/2.1/unity-catalog/schemas -"databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" +"databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" === Adding resources.json with lower serial does not change anything >>> DATABRICKS_BUNDLE_ENGINE=direct [CLI] bundle plan diff --git a/acceptance/bundle/user_agent/output.txt b/acceptance/bundle/user_agent/output.txt index 6d686fed3b..5c6e383d1f 100644 --- a/acceptance/bundle/user_agent/output.txt +++ b/acceptance/bundle/user_agent/output.txt @@ -37,12 +37,14 @@ OK deploy.terraform /api/2.0/workspace/delete engine/terraform OK deploy.terraform /api/2.0/workspace/delete engine/terraform OK deploy.terraform /api/2.0/workspace/mkdirs engine/terraform MISS deploy.terraform /.well-known/databricks-config 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]' -MISS deploy.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' -MISS deploy.terraform /api/2.1/unity-catalog/schemas 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' -MISS deploy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' -MISS deploy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' -MISS deploy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' -MISS deploy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS deploy.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 auth/pat' +MISS deploy.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 auth/pat' +MISS deploy.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' +MISS deploy.terraform /api/2.1/unity-catalog/schemas 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' +MISS deploy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS deploy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS deploy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS deploy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' MISS destroy.direct /api/2.0/preview/scim/v2/Me 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] interactive/none auth/pat' MISS destroy.direct /api/2.0/workspace-files/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/resources.json 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] interactive/none auth/pat' MISS destroy.direct /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_destroy cmd-exec-id/[UUID] interactive/none auth/pat' @@ -67,15 +69,17 @@ OK destroy.terraform /api/2.0/workspace/get-status engine/terraform OK destroy.terraform /api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deploy.lock engine/terraform OK destroy.terraform /api/2.0/workspace/delete engine/terraform MISS destroy.terraform /.well-known/databricks-config 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]' -MISS destroy.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' -MISS destroy.terraform /api/2.1/unity-catalog/current-metastore-assignment 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' -MISS destroy.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' -MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' -MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' -MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' -MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' -MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' -MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS destroy.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' +MISS destroy.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' +MISS destroy.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' +MISS destroy.terraform /api/2.1/unity-catalog/current-metastore-assignment 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' +MISS destroy.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' +MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' MISS plan.direct /api/2.0/preview/scim/v2/Me 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat' MISS plan.direct /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat' MISS plan.direct /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat' @@ -86,8 +90,9 @@ MISS plan.terraform /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks- MISS plan.terraform /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat' OK plan.terraform /api/2.0/workspace/get-status engine/terraform MISS plan.terraform /.well-known/databricks-config 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]' -MISS plan.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' -MISS plan.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS plan.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 auth/pat' +MISS plan.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS plan.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' MISS plan2.direct /api/2.0/preview/scim/v2/Me 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat' MISS plan2.direct /api/2.0/workspace-files/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/resources.json 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat' MISS plan2.direct /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_plan cmd-exec-id/[UUID] interactive/none auth/pat' @@ -103,9 +108,10 @@ MISS plan2.terraform /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks OK plan2.terraform /api/2.0/workspace-files/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/deployment.json engine/terraform OK plan2.terraform /api/2.0/workspace/get-status engine/terraform MISS plan2.terraform /.well-known/databricks-config 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]' -MISS plan2.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' -MISS plan2.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' -MISS plan2.terraform /.well-known/databricks-config 'databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS plan2.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' +MISS plan2.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' +MISS plan2.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' +MISS plan2.terraform /.well-known/databricks-config 'databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5' MISS run.direct /api/2.0/preview/scim/v2/Me 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none auth/pat' MISS run.direct /api/2.0/workspace-files/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/state/resources.json 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none auth/pat' MISS run.direct /api/2.0/workspace/get-status 'cli/[DEV_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS] cmd/bundle_run cmd-exec-id/[UUID] interactive/none auth/pat' diff --git a/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json b/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json index 435b188af3..d9230f0c8b 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json @@ -246,7 +246,11 @@ "name": "myschema", "owner": "[USERNAME]", "properties": null, - "provider_config": [], + "provider_config": [ + { + "workspace_id": "[NUMID]" + } + ], "schema_id": "[UUID]", "storage_root": null }, @@ -308,7 +312,25 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 auth/pat" + ] + }, + "method": "GET", + "path": "/api/2.0/preview/scim/v2/Me" +} +{ + "headers": { + "User-Agent": [ + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 auth/pat" + ] + }, + "method": "GET", + "path": "/api/2.0/preview/scim/v2/Me" +} +{ + "headers": { + "User-Agent": [ + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" ] }, "method": "GET", @@ -317,7 +339,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" ] }, "method": "POST", @@ -330,7 +352,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", @@ -339,7 +361,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", @@ -348,7 +370,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", @@ -357,7 +379,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", diff --git a/acceptance/bundle/user_agent/simple/out.requests.destroy.terraform.json b/acceptance/bundle/user_agent/simple/out.requests.destroy.terraform.json index f8ab210ec7..216a2f38da 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.destroy.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.destroy.terraform.json @@ -136,7 +136,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" ] }, "method": "DELETE", @@ -148,7 +148,25 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + ] + }, + "method": "GET", + "path": "/api/2.0/preview/scim/v2/Me" +} +{ + "headers": { + "User-Agent": [ + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + ] + }, + "method": "GET", + "path": "/api/2.0/preview/scim/v2/Me" +} +{ + "headers": { + "User-Agent": [ + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" ] }, "method": "GET", @@ -157,7 +175,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" ] }, "method": "GET", @@ -166,7 +184,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", @@ -175,7 +193,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", @@ -184,7 +202,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", @@ -193,7 +211,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", @@ -202,7 +220,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", @@ -211,7 +229,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", diff --git a/acceptance/bundle/user_agent/simple/out.requests.plan.terraform.json b/acceptance/bundle/user_agent/simple/out.requests.plan.terraform.json index 11daf62e9e..698b816f17 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.plan.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.plan.terraform.json @@ -58,7 +58,16 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 auth/pat" + ] + }, + "method": "GET", + "path": "/api/2.0/preview/scim/v2/Me" +} +{ + "headers": { + "User-Agent": [ + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", @@ -67,7 +76,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", diff --git a/acceptance/bundle/user_agent/simple/out.requests.plan2.terraform.json b/acceptance/bundle/user_agent/simple/out.requests.plan2.terraform.json index 75f4620ef4..2b6d39fc59 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.plan2.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.plan2.terraform.json @@ -76,7 +76,16 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" + ] + }, + "method": "GET", + "path": "/api/2.0/preview/scim/v2/Me" +} +{ + "headers": { + "User-Agent": [ + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" ] }, "method": "GET", @@ -85,7 +94,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", @@ -94,7 +103,7 @@ { "headers": { "User-Agent": [ - "databricks-tf-provider/1.113.0 databricks-sdk-go/[SDK_VERSION] go/1.24.0 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" + "databricks-tf-provider/1.115.0 databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[DEV_VERSION] terraform/1.5.5" ] }, "method": "GET", diff --git a/bundle/internal/tf/codegen/go.mod b/bundle/internal/tf/codegen/go.mod index 77e6de4ef1..6d3956c8ad 100644 --- a/bundle/internal/tf/codegen/go.mod +++ b/bundle/internal/tf/codegen/go.mod @@ -1,12 +1,12 @@ module github.com/databricks/cli/bundle/internal/tf/codegen -go 1.25.0 +go 1.25.8 toolchain go1.25.10 require ( - github.com/hashicorp/go-version v1.7.0 - github.com/hashicorp/hc-install v0.9.2 + github.com/hashicorp/go-version v1.9.0 + github.com/hashicorp/hc-install v0.9.4 github.com/hashicorp/terraform-exec v0.24.0 github.com/hashicorp/terraform-json v0.27.2 github.com/iancoleman/strcase v0.3.0 @@ -14,13 +14,13 @@ require ( ) require ( - github.com/ProtonMail/go-crypto v1.1.6 // indirect + github.com/ProtonMail/go-crypto v1.4.1 // indirect github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect github.com/cloudflare/circl v1.6.3 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect - github.com/hashicorp/go-retryablehttp v0.7.7 // indirect + github.com/hashicorp/go-retryablehttp v0.7.8 // indirect golang.org/x/crypto v0.45.0 // indirect - golang.org/x/mod v0.30.0 // indirect + golang.org/x/mod v0.35.0 // indirect golang.org/x/sys v0.38.0 // indirect golang.org/x/text v0.31.0 // indirect ) diff --git a/bundle/internal/tf/codegen/go.sum b/bundle/internal/tf/codegen/go.sum index 4bf08058d8..15a5baafe6 100644 --- a/bundle/internal/tf/codegen/go.sum +++ b/bundle/internal/tf/codegen/go.sum @@ -2,8 +2,8 @@ dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= -github.com/ProtonMail/go-crypto v1.1.6 h1:ZcV+Ropw6Qn0AX9brlQLAUXfqLBc7Bl+f/DmNxpLfdw= -github.com/ProtonMail/go-crypto v1.1.6/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= +github.com/ProtonMail/go-crypto v1.4.1 h1:9RfcZHqEQUvP8RzecWEUafnZVtEvrBVL9BiF67IQOfM= +github.com/ProtonMail/go-crypto v1.4.1/go.mod h1:e1OaTyu5SYVrO9gKOEhTc+5UcXtTUa+P3uLudwcgPqo= github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY= github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4= github.com/cloudflare/circl v1.6.3 h1:9GPOhQGF9MCYUeXyMYlqTR6a5gTrgR/fBLXvUgtVcg8= @@ -18,10 +18,10 @@ github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= -github.com/go-git/go-billy/v5 v5.6.2 h1:6Q86EsPXMa7c3YZ3aLAQsMA0VlWmy43r6FHqa/UNbRM= -github.com/go-git/go-billy/v5 v5.6.2/go.mod h1:rcFC2rAsp/erv7CMz9GczHcuD0D32fWzH+MJAU+jaUU= -github.com/go-git/go-git/v5 v5.14.0 h1:/MD3lCrGjCen5WfEAzKg00MJJffKhC8gzS80ycmCi60= -github.com/go-git/go-git/v5 v5.14.0/go.mod h1:Z5Xhoia5PcWA3NF8vRLURn9E5FRhSl7dGj9ItW3Wk5k= +github.com/go-git/go-billy/v5 v5.8.0 h1:I8hjc3LbBlXTtVuFNJuwYuMiHvQJDq1AT6u4DwDzZG0= +github.com/go-git/go-billy/v5 v5.8.0/go.mod h1:RpvI/rw4Vr5QA+Z60c6d6LXH0rYJo0uD5SqfmrrheCY= +github.com/go-git/go-git/v5 v5.18.0 h1:O831KI+0PR51hM2kep6T8k+w0/LIAD490gvqMCvL5hM= +github.com/go-git/go-git/v5 v5.18.0/go.mod h1:pW/VmeqkanRFqR6AljLcs7EA7FbZaN5MQqO7oZADXpo= github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ= github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= @@ -30,12 +30,12 @@ github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9n github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k= github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= -github.com/hashicorp/go-retryablehttp v0.7.7 h1:C8hUCYzor8PIfXHa4UrZkU4VvK8o9ISHxT2Q8+VepXU= -github.com/hashicorp/go-retryablehttp v0.7.7/go.mod h1:pkQpWZeYWskR+D1tR2O5OcBFOxfA7DoAO6xtkuQnHTk= -github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= -github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/hc-install v0.9.2 h1:v80EtNX4fCVHqzL9Lg/2xkp62bbvQMnvPQ0G+OmtO24= -github.com/hashicorp/hc-install v0.9.2/go.mod h1:XUqBQNnuT4RsxoxiM9ZaUk0NX8hi2h+Lb6/c0OZnC/I= +github.com/hashicorp/go-retryablehttp v0.7.8 h1:ylXZWnqa7Lhqpk0L1P1LzDtGcCR0rPVUrx/c8Unxc48= +github.com/hashicorp/go-retryablehttp v0.7.8/go.mod h1:rjiScheydd+CxvumBsIrFKlx3iS0jrZ7LvzFGFmuKbw= +github.com/hashicorp/go-version v1.9.0 h1:CeOIz6k+LoN3qX9Z0tyQrPtiB1DFYRPfCIBtaXPSCnA= +github.com/hashicorp/go-version v1.9.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/hc-install v0.9.4 h1:KKWOpUG0EqIV63Qk2GGFrZ0s275NVs5lKf9N5vjBNoc= +github.com/hashicorp/hc-install v0.9.4/go.mod h1:4LRYeEN2bMIFfIv57ldMWt9awfuZhvpbRt0vWmv51WU= github.com/hashicorp/terraform-exec v0.24.0 h1:mL0xlk9H5g2bn0pPF6JQZk5YlByqSqrO5VoaNtAf8OE= github.com/hashicorp/terraform-exec v0.24.0/go.mod h1:lluc/rDYfAhYdslLJQg3J0oDqo88oGQAdHR+wDqFvo4= github.com/hashicorp/terraform-json v0.27.2 h1:BwGuzM6iUPqf9JYM/Z4AF1OJ5VVJEEzoKST/tRDBJKU= @@ -62,8 +62,8 @@ github.com/zclconf/go-cty v1.16.4 h1:QGXaag7/7dCzb+odlGrgr+YmYZFaOCMW6DEpS+UD1eE github.com/zclconf/go-cty v1.16.4/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q= golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4= -golang.org/x/mod v0.30.0 h1:fDEXFVZ/fmCKProc/yAXXUijritrDzahmwwefnjoPFk= -golang.org/x/mod v0.30.0/go.mod h1:lAsf5O2EvJeSFMiBxXDki7sCgAxEUcZHXoXMKT4GJKc= +golang.org/x/mod v0.35.0 h1:Ww1D637e6Pg+Zb2KrWfHQUnH2dQRLBQyAtpr/haaJeM= +golang.org/x/mod v0.35.0/go.mod h1:+GwiRhIInF8wPm+4AoT6L0FA1QWAad3OMdTRx4tFYlU= golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY= golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU= golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc= diff --git a/bundle/internal/tf/codegen/schema/version.go b/bundle/internal/tf/codegen/schema/version.go index 8b270d7670..90dbf29d5d 100644 --- a/bundle/internal/tf/codegen/schema/version.go +++ b/bundle/internal/tf/codegen/schema/version.go @@ -1,4 +1,4 @@ package schema // ProviderVersion is the version of the Databricks Terraform provider used for codegen. -const ProviderVersion = "1.113.0" +const ProviderVersion = "1.115.0" diff --git a/bundle/internal/tf/schema/config.go b/bundle/internal/tf/schema/config.go index e2c68d0e2f..87d5bcbd7e 100644 --- a/bundle/internal/tf/schema/config.go +++ b/bundle/internal/tf/schema/config.go @@ -26,7 +26,6 @@ type Config struct { DebugTruncateBytes int `json:"debug_truncate_bytes,omitempty"` DisableOauthRefreshToken bool `json:"disable_oauth_refresh_token,omitempty"` DiscoveryUrl string `json:"discovery_url,omitempty"` - ExperimentalIsUnifiedHost bool `json:"experimental_is_unified_host,omitempty"` GoogleCredentials string `json:"google_credentials,omitempty"` GoogleServiceAccount string `json:"google_service_account,omitempty"` Host string `json:"host,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_account_network_policies.go b/bundle/internal/tf/schema/data_source_account_network_policies.go index 2d91042f2f..98e9506ff1 100644 --- a/bundle/internal/tf/schema/data_source_account_network_policies.go +++ b/bundle/internal/tf/schema/data_source_account_network_policies.go @@ -15,6 +15,11 @@ type DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessAllowedStorageDesti StorageDestinationType string `json:"storage_destination_type,omitempty"` } +type DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessBlockedInternetDestinations struct { + Destination string `json:"destination,omitempty"` + InternetDestinationType string `json:"internet_destination_type,omitempty"` +} + type DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessPolicyEnforcement struct { DryRunModeProductFilter []string `json:"dry_run_mode_product_filter,omitempty"` EnforcementMode string `json:"enforcement_mode,omitempty"` @@ -23,6 +28,7 @@ type DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessPolicyEnforcement s type DataSourceAccountNetworkPoliciesItemsEgressNetworkAccess struct { AllowedInternetDestinations []DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessAllowedInternetDestinations `json:"allowed_internet_destinations,omitempty"` AllowedStorageDestinations []DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessAllowedStorageDestinations `json:"allowed_storage_destinations,omitempty"` + BlockedInternetDestinations []DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessBlockedInternetDestinations `json:"blocked_internet_destinations,omitempty"` PolicyEnforcement *DataSourceAccountNetworkPoliciesItemsEgressNetworkAccessPolicyEnforcement `json:"policy_enforcement,omitempty"` RestrictionMode string `json:"restriction_mode"` } @@ -31,6 +37,150 @@ type DataSourceAccountNetworkPoliciesItemsEgress struct { NetworkAccess *DataSourceAccountNetworkPoliciesItemsEgressNetworkAccess `json:"network_access,omitempty"` } +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesAuthenticationIdentities struct { + PrincipalId int `json:"principal_id,omitempty"` + PrincipalType string `json:"principal_type,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesAuthentication struct { + Identities []DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesAuthenticationIdentities `json:"identities,omitempty"` + IdentityType string `json:"identity_type,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationWorkspaceApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationWorkspaceUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestination struct { + AccountApi *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesOriginEndpoints struct { + EndpointIds []string `json:"endpoint_ids,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesOrigin struct { + AllPrivateAccess bool `json:"all_private_access,omitempty"` + AllRegisteredEndpoints bool `json:"all_registered_endpoints,omitempty"` + AzureWorkspacePrivateLink bool `json:"azure_workspace_private_link,omitempty"` + Endpoints *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesOriginEndpoints `json:"endpoints,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRules struct { + Authentication *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesAuthentication `json:"authentication,omitempty"` + Destination *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesDestination `json:"destination,omitempty"` + Label string `json:"label,omitempty"` + Origin *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRulesOrigin `json:"origin,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesAuthenticationIdentities struct { + PrincipalId int `json:"principal_id,omitempty"` + PrincipalType string `json:"principal_type,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesAuthentication struct { + Identities []DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesAuthenticationIdentities `json:"identities,omitempty"` + IdentityType string `json:"identity_type,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationWorkspaceApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationWorkspaceUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestination struct { + AccountApi *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesOriginEndpoints struct { + EndpointIds []string `json:"endpoint_ids,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesOrigin struct { + AllPrivateAccess bool `json:"all_private_access,omitempty"` + AllRegisteredEndpoints bool `json:"all_registered_endpoints,omitempty"` + AzureWorkspacePrivateLink bool `json:"azure_workspace_private_link,omitempty"` + Endpoints *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesOriginEndpoints `json:"endpoints,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRules struct { + Authentication *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesAuthentication `json:"authentication,omitempty"` + Destination *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesDestination `json:"destination,omitempty"` + Label string `json:"label,omitempty"` + Origin *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRulesOrigin `json:"origin,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPrivateAccess struct { + AllowRules []DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessAllowRules `json:"allow_rules,omitempty"` + DenyRules []DataSourceAccountNetworkPoliciesItemsIngressPrivateAccessDenyRules `json:"deny_rules,omitempty"` + RestrictionMode string `json:"restriction_mode"` +} + type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesAuthenticationIdentities struct { PrincipalId int `json:"principal_id,omitempty"` PrincipalType string `json:"principal_type,omitempty"` @@ -41,8 +191,30 @@ type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesAuthentic IdentityType string `json:"identity_type,omitempty"` } +type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationWorkspaceApi struct { - Scopes []string `json:"scopes,omitempty"` + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` } type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationWorkspaceUi struct { @@ -50,9 +222,14 @@ type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinati } type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestination struct { - AllDestinations bool `json:"all_destinations,omitempty"` - WorkspaceApi *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` - WorkspaceUi *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` + AccountApi *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` } type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessAllowRulesOriginExcludedIpRanges struct { @@ -86,8 +263,30 @@ type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesAuthentica IdentityType string `json:"identity_type,omitempty"` } +type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationWorkspaceApi struct { - Scopes []string `json:"scopes,omitempty"` + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` } type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationWorkspaceUi struct { @@ -95,9 +294,14 @@ type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinatio } type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestination struct { - AllDestinations bool `json:"all_destinations,omitempty"` - WorkspaceApi *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` - WorkspaceUi *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` + AccountApi *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` } type DataSourceAccountNetworkPoliciesItemsIngressPublicAccessDenyRulesOriginExcludedIpRanges struct { @@ -128,7 +332,152 @@ type DataSourceAccountNetworkPoliciesItemsIngressPublicAccess struct { } type DataSourceAccountNetworkPoliciesItemsIngress struct { - PublicAccess *DataSourceAccountNetworkPoliciesItemsIngressPublicAccess `json:"public_access,omitempty"` + PrivateAccess *DataSourceAccountNetworkPoliciesItemsIngressPrivateAccess `json:"private_access,omitempty"` + PublicAccess *DataSourceAccountNetworkPoliciesItemsIngressPublicAccess `json:"public_access,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesAuthenticationIdentities struct { + PrincipalId int `json:"principal_id,omitempty"` + PrincipalType string `json:"principal_type,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesAuthentication struct { + Identities []DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesAuthenticationIdentities `json:"identities,omitempty"` + IdentityType string `json:"identity_type,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationWorkspaceApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationWorkspaceUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestination struct { + AccountApi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesOriginEndpoints struct { + EndpointIds []string `json:"endpoint_ids,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesOrigin struct { + AllPrivateAccess bool `json:"all_private_access,omitempty"` + AllRegisteredEndpoints bool `json:"all_registered_endpoints,omitempty"` + AzureWorkspacePrivateLink bool `json:"azure_workspace_private_link,omitempty"` + Endpoints *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesOriginEndpoints `json:"endpoints,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRules struct { + Authentication *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesAuthentication `json:"authentication,omitempty"` + Destination *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesDestination `json:"destination,omitempty"` + Label string `json:"label,omitempty"` + Origin *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRulesOrigin `json:"origin,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesAuthenticationIdentities struct { + PrincipalId int `json:"principal_id,omitempty"` + PrincipalType string `json:"principal_type,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesAuthentication struct { + Identities []DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesAuthenticationIdentities `json:"identities,omitempty"` + IdentityType string `json:"identity_type,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationWorkspaceApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationWorkspaceUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestination struct { + AccountApi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesOriginEndpoints struct { + EndpointIds []string `json:"endpoint_ids,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesOrigin struct { + AllPrivateAccess bool `json:"all_private_access,omitempty"` + AllRegisteredEndpoints bool `json:"all_registered_endpoints,omitempty"` + AzureWorkspacePrivateLink bool `json:"azure_workspace_private_link,omitempty"` + Endpoints *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesOriginEndpoints `json:"endpoints,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRules struct { + Authentication *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesAuthentication `json:"authentication,omitempty"` + Destination *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesDestination `json:"destination,omitempty"` + Label string `json:"label,omitempty"` + Origin *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRulesOrigin `json:"origin,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccess struct { + AllowRules []DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessAllowRules `json:"allow_rules,omitempty"` + DenyRules []DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccessDenyRules `json:"deny_rules,omitempty"` + RestrictionMode string `json:"restriction_mode"` } type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesAuthenticationIdentities struct { @@ -141,8 +490,30 @@ type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesAut IdentityType string `json:"identity_type,omitempty"` } +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationWorkspaceApi struct { - Scopes []string `json:"scopes,omitempty"` + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` } type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationWorkspaceUi struct { @@ -150,9 +521,14 @@ type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDes } type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestination struct { - AllDestinations bool `json:"all_destinations,omitempty"` - WorkspaceApi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` - WorkspaceUi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` + AccountApi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` } type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessAllowRulesOriginExcludedIpRanges struct { @@ -186,8 +562,30 @@ type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesAuth IdentityType string `json:"identity_type,omitempty"` } +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationWorkspaceApi struct { - Scopes []string `json:"scopes,omitempty"` + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` } type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationWorkspaceUi struct { @@ -195,9 +593,14 @@ type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDest } type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestination struct { - AllDestinations bool `json:"all_destinations,omitempty"` - WorkspaceApi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` - WorkspaceUi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` + AccountApi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` } type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccessDenyRulesOriginExcludedIpRanges struct { @@ -228,7 +631,8 @@ type DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccess struct { } type DataSourceAccountNetworkPoliciesItemsIngressDryRun struct { - PublicAccess *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccess `json:"public_access,omitempty"` + PrivateAccess *DataSourceAccountNetworkPoliciesItemsIngressDryRunPrivateAccess `json:"private_access,omitempty"` + PublicAccess *DataSourceAccountNetworkPoliciesItemsIngressDryRunPublicAccess `json:"public_access,omitempty"` } type DataSourceAccountNetworkPoliciesItems struct { diff --git a/bundle/internal/tf/schema/data_source_account_network_policy.go b/bundle/internal/tf/schema/data_source_account_network_policy.go index e788484c53..ac2ae3ee7b 100644 --- a/bundle/internal/tf/schema/data_source_account_network_policy.go +++ b/bundle/internal/tf/schema/data_source_account_network_policy.go @@ -15,6 +15,11 @@ type DataSourceAccountNetworkPolicyEgressNetworkAccessAllowedStorageDestinations StorageDestinationType string `json:"storage_destination_type,omitempty"` } +type DataSourceAccountNetworkPolicyEgressNetworkAccessBlockedInternetDestinations struct { + Destination string `json:"destination,omitempty"` + InternetDestinationType string `json:"internet_destination_type,omitempty"` +} + type DataSourceAccountNetworkPolicyEgressNetworkAccessPolicyEnforcement struct { DryRunModeProductFilter []string `json:"dry_run_mode_product_filter,omitempty"` EnforcementMode string `json:"enforcement_mode,omitempty"` @@ -23,6 +28,7 @@ type DataSourceAccountNetworkPolicyEgressNetworkAccessPolicyEnforcement struct { type DataSourceAccountNetworkPolicyEgressNetworkAccess struct { AllowedInternetDestinations []DataSourceAccountNetworkPolicyEgressNetworkAccessAllowedInternetDestinations `json:"allowed_internet_destinations,omitempty"` AllowedStorageDestinations []DataSourceAccountNetworkPolicyEgressNetworkAccessAllowedStorageDestinations `json:"allowed_storage_destinations,omitempty"` + BlockedInternetDestinations []DataSourceAccountNetworkPolicyEgressNetworkAccessBlockedInternetDestinations `json:"blocked_internet_destinations,omitempty"` PolicyEnforcement *DataSourceAccountNetworkPolicyEgressNetworkAccessPolicyEnforcement `json:"policy_enforcement,omitempty"` RestrictionMode string `json:"restriction_mode"` } @@ -31,6 +37,150 @@ type DataSourceAccountNetworkPolicyEgress struct { NetworkAccess *DataSourceAccountNetworkPolicyEgressNetworkAccess `json:"network_access,omitempty"` } +type DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesAuthenticationIdentities struct { + PrincipalId int `json:"principal_id,omitempty"` + PrincipalType string `json:"principal_type,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesAuthentication struct { + Identities []DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesAuthenticationIdentities `json:"identities,omitempty"` + IdentityType string `json:"identity_type,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationWorkspaceApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationWorkspaceUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestination struct { + AccountApi *DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesOriginEndpoints struct { + EndpointIds []string `json:"endpoint_ids,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesOrigin struct { + AllPrivateAccess bool `json:"all_private_access,omitempty"` + AllRegisteredEndpoints bool `json:"all_registered_endpoints,omitempty"` + AzureWorkspacePrivateLink bool `json:"azure_workspace_private_link,omitempty"` + Endpoints *DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesOriginEndpoints `json:"endpoints,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRules struct { + Authentication *DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesAuthentication `json:"authentication,omitempty"` + Destination *DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestination `json:"destination,omitempty"` + Label string `json:"label,omitempty"` + Origin *DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRulesOrigin `json:"origin,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesAuthenticationIdentities struct { + PrincipalId int `json:"principal_id,omitempty"` + PrincipalType string `json:"principal_type,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesAuthentication struct { + Identities []DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesAuthenticationIdentities `json:"identities,omitempty"` + IdentityType string `json:"identity_type,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationWorkspaceApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationWorkspaceUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestination struct { + AccountApi *DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesOriginEndpoints struct { + EndpointIds []string `json:"endpoint_ids,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesOrigin struct { + AllPrivateAccess bool `json:"all_private_access,omitempty"` + AllRegisteredEndpoints bool `json:"all_registered_endpoints,omitempty"` + AzureWorkspacePrivateLink bool `json:"azure_workspace_private_link,omitempty"` + Endpoints *DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesOriginEndpoints `json:"endpoints,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRules struct { + Authentication *DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesAuthentication `json:"authentication,omitempty"` + Destination *DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestination `json:"destination,omitempty"` + Label string `json:"label,omitempty"` + Origin *DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRulesOrigin `json:"origin,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPrivateAccess struct { + AllowRules []DataSourceAccountNetworkPolicyIngressPrivateAccessAllowRules `json:"allow_rules,omitempty"` + DenyRules []DataSourceAccountNetworkPolicyIngressPrivateAccessDenyRules `json:"deny_rules,omitempty"` + RestrictionMode string `json:"restriction_mode"` +} + type DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesAuthenticationIdentities struct { PrincipalId int `json:"principal_id,omitempty"` PrincipalType string `json:"principal_type,omitempty"` @@ -41,8 +191,30 @@ type DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesAuthentication s IdentityType string `json:"identity_type,omitempty"` } +type DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + type DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorkspaceApi struct { - Scopes []string `json:"scopes,omitempty"` + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` } type DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorkspaceUi struct { @@ -50,9 +222,14 @@ type DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorks } type DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestination struct { - AllDestinations bool `json:"all_destinations,omitempty"` - WorkspaceApi *DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` - WorkspaceUi *DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` + AccountApi *DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` } type DataSourceAccountNetworkPolicyIngressPublicAccessAllowRulesOriginExcludedIpRanges struct { @@ -86,8 +263,30 @@ type DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesAuthentication st IdentityType string `json:"identity_type,omitempty"` } +type DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + type DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorkspaceApi struct { - Scopes []string `json:"scopes,omitempty"` + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` } type DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorkspaceUi struct { @@ -95,9 +294,14 @@ type DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorksp } type DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestination struct { - AllDestinations bool `json:"all_destinations,omitempty"` - WorkspaceApi *DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` - WorkspaceUi *DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` + AccountApi *DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` } type DataSourceAccountNetworkPolicyIngressPublicAccessDenyRulesOriginExcludedIpRanges struct { @@ -128,7 +332,152 @@ type DataSourceAccountNetworkPolicyIngressPublicAccess struct { } type DataSourceAccountNetworkPolicyIngress struct { - PublicAccess *DataSourceAccountNetworkPolicyIngressPublicAccess `json:"public_access,omitempty"` + PrivateAccess *DataSourceAccountNetworkPolicyIngressPrivateAccess `json:"private_access,omitempty"` + PublicAccess *DataSourceAccountNetworkPolicyIngressPublicAccess `json:"public_access,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesAuthenticationIdentities struct { + PrincipalId int `json:"principal_id,omitempty"` + PrincipalType string `json:"principal_type,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesAuthentication struct { + Identities []DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesAuthenticationIdentities `json:"identities,omitempty"` + IdentityType string `json:"identity_type,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationWorkspaceApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationWorkspaceUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestination struct { + AccountApi *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesOriginEndpoints struct { + EndpointIds []string `json:"endpoint_ids,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesOrigin struct { + AllPrivateAccess bool `json:"all_private_access,omitempty"` + AllRegisteredEndpoints bool `json:"all_registered_endpoints,omitempty"` + AzureWorkspacePrivateLink bool `json:"azure_workspace_private_link,omitempty"` + Endpoints *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesOriginEndpoints `json:"endpoints,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRules struct { + Authentication *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesAuthentication `json:"authentication,omitempty"` + Destination *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestination `json:"destination,omitempty"` + Label string `json:"label,omitempty"` + Origin *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesOrigin `json:"origin,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesAuthenticationIdentities struct { + PrincipalId int `json:"principal_id,omitempty"` + PrincipalType string `json:"principal_type,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesAuthentication struct { + Identities []DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesAuthenticationIdentities `json:"identities,omitempty"` + IdentityType string `json:"identity_type,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationWorkspaceApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationWorkspaceUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestination struct { + AccountApi *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesOriginEndpoints struct { + EndpointIds []string `json:"endpoint_ids,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesOrigin struct { + AllPrivateAccess bool `json:"all_private_access,omitempty"` + AllRegisteredEndpoints bool `json:"all_registered_endpoints,omitempty"` + AzureWorkspacePrivateLink bool `json:"azure_workspace_private_link,omitempty"` + Endpoints *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesOriginEndpoints `json:"endpoints,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRules struct { + Authentication *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesAuthentication `json:"authentication,omitempty"` + Destination *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestination `json:"destination,omitempty"` + Label string `json:"label,omitempty"` + Origin *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesOrigin `json:"origin,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPrivateAccess struct { + AllowRules []DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRules `json:"allow_rules,omitempty"` + DenyRules []DataSourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRules `json:"deny_rules,omitempty"` + RestrictionMode string `json:"restriction_mode"` } type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesAuthenticationIdentities struct { @@ -141,8 +490,30 @@ type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesAuthentica IdentityType string `json:"identity_type,omitempty"` } +type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationWorkspaceApi struct { - Scopes []string `json:"scopes,omitempty"` + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` } type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationWorkspaceUi struct { @@ -150,9 +521,14 @@ type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinatio } type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestination struct { - AllDestinations bool `json:"all_destinations,omitempty"` - WorkspaceApi *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` - WorkspaceUi *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` + AccountApi *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` } type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesOriginExcludedIpRanges struct { @@ -186,8 +562,30 @@ type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesAuthenticat IdentityType string `json:"identity_type,omitempty"` } +type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationWorkspaceApi struct { - Scopes []string `json:"scopes,omitempty"` + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` } type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationWorkspaceUi struct { @@ -195,9 +593,14 @@ type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestination } type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestination struct { - AllDestinations bool `json:"all_destinations,omitempty"` - WorkspaceApi *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` - WorkspaceUi *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` + AccountApi *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` } type DataSourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesOriginExcludedIpRanges struct { @@ -228,7 +631,8 @@ type DataSourceAccountNetworkPolicyIngressDryRunPublicAccess struct { } type DataSourceAccountNetworkPolicyIngressDryRun struct { - PublicAccess *DataSourceAccountNetworkPolicyIngressDryRunPublicAccess `json:"public_access,omitempty"` + PrivateAccess *DataSourceAccountNetworkPolicyIngressDryRunPrivateAccess `json:"private_access,omitempty"` + PublicAccess *DataSourceAccountNetworkPolicyIngressDryRunPublicAccess `json:"public_access,omitempty"` } type DataSourceAccountNetworkPolicy struct { diff --git a/bundle/internal/tf/schema/data_source_alert_v2.go b/bundle/internal/tf/schema/data_source_alert_v2.go index 246b1f1f1d..c609a8f918 100644 --- a/bundle/internal/tf/schema/data_source_alert_v2.go +++ b/bundle/internal/tf/schema/data_source_alert_v2.go @@ -54,7 +54,7 @@ type DataSourceAlertV2Evaluation struct { } type DataSourceAlertV2ProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceAlertV2RunAs struct { diff --git a/bundle/internal/tf/schema/data_source_alerts_v2.go b/bundle/internal/tf/schema/data_source_alerts_v2.go index b24581aefe..5675e0aa56 100644 --- a/bundle/internal/tf/schema/data_source_alerts_v2.go +++ b/bundle/internal/tf/schema/data_source_alerts_v2.go @@ -54,7 +54,7 @@ type DataSourceAlertsV2AlertsEvaluation struct { } type DataSourceAlertsV2AlertsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceAlertsV2AlertsRunAs struct { @@ -89,7 +89,7 @@ type DataSourceAlertsV2Alerts struct { } type DataSourceAlertsV2ProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceAlertsV2 struct { diff --git a/bundle/internal/tf/schema/data_source_app.go b/bundle/internal/tf/schema/data_source_app.go index 3c3df220cb..79f34f9a3e 100644 --- a/bundle/internal/tf/schema/data_source_app.go +++ b/bundle/internal/tf/schema/data_source_app.go @@ -210,6 +210,7 @@ type DataSourceAppApp struct { ServicePrincipalName string `json:"service_principal_name,omitempty"` Space string `json:"space,omitempty"` TelemetryExportDestinations []DataSourceAppAppTelemetryExportDestinations `json:"telemetry_export_destinations,omitempty"` + ThumbnailUrl string `json:"thumbnail_url,omitempty"` UpdateTime string `json:"update_time,omitempty"` Updater string `json:"updater,omitempty"` Url string `json:"url,omitempty"` @@ -218,7 +219,7 @@ type DataSourceAppApp struct { } type DataSourceAppProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceApp struct { diff --git a/bundle/internal/tf/schema/data_source_app_space.go b/bundle/internal/tf/schema/data_source_app_space.go index 3a1e124d5c..3104376b5a 100644 --- a/bundle/internal/tf/schema/data_source_app_space.go +++ b/bundle/internal/tf/schema/data_source_app_space.go @@ -3,7 +3,7 @@ package schema type DataSourceAppSpaceProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceAppSpaceResourcesApp struct { diff --git a/bundle/internal/tf/schema/data_source_app_spaces.go b/bundle/internal/tf/schema/data_source_app_spaces.go index a00255ad02..d00ec6ff1d 100644 --- a/bundle/internal/tf/schema/data_source_app_spaces.go +++ b/bundle/internal/tf/schema/data_source_app_spaces.go @@ -3,11 +3,11 @@ package schema type DataSourceAppSpacesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceAppSpacesSpacesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceAppSpacesSpacesResourcesApp struct { diff --git a/bundle/internal/tf/schema/data_source_apps.go b/bundle/internal/tf/schema/data_source_apps.go index 9f775036f8..e20104570d 100644 --- a/bundle/internal/tf/schema/data_source_apps.go +++ b/bundle/internal/tf/schema/data_source_apps.go @@ -210,6 +210,7 @@ type DataSourceAppsApp struct { ServicePrincipalName string `json:"service_principal_name,omitempty"` Space string `json:"space,omitempty"` TelemetryExportDestinations []DataSourceAppsAppTelemetryExportDestinations `json:"telemetry_export_destinations,omitempty"` + ThumbnailUrl string `json:"thumbnail_url,omitempty"` UpdateTime string `json:"update_time,omitempty"` Updater string `json:"updater,omitempty"` Url string `json:"url,omitempty"` @@ -218,7 +219,7 @@ type DataSourceAppsApp struct { } type DataSourceAppsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceApps struct { diff --git a/bundle/internal/tf/schema/data_source_apps_settings_custom_template.go b/bundle/internal/tf/schema/data_source_apps_settings_custom_template.go index afd082a22e..e1272bb25f 100644 --- a/bundle/internal/tf/schema/data_source_apps_settings_custom_template.go +++ b/bundle/internal/tf/schema/data_source_apps_settings_custom_template.go @@ -46,7 +46,7 @@ type DataSourceAppsSettingsCustomTemplateManifest struct { } type DataSourceAppsSettingsCustomTemplateProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceAppsSettingsCustomTemplate struct { diff --git a/bundle/internal/tf/schema/data_source_apps_settings_custom_templates.go b/bundle/internal/tf/schema/data_source_apps_settings_custom_templates.go index 5c846dba92..116e2c99df 100644 --- a/bundle/internal/tf/schema/data_source_apps_settings_custom_templates.go +++ b/bundle/internal/tf/schema/data_source_apps_settings_custom_templates.go @@ -3,7 +3,7 @@ package schema type DataSourceAppsSettingsCustomTemplatesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceAppsSettingsCustomTemplatesTemplatesManifestResourceSpecsExperimentSpec struct { @@ -50,7 +50,7 @@ type DataSourceAppsSettingsCustomTemplatesTemplatesManifest struct { } type DataSourceAppsSettingsCustomTemplatesTemplatesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceAppsSettingsCustomTemplatesTemplates struct { diff --git a/bundle/internal/tf/schema/data_source_catalog.go b/bundle/internal/tf/schema/data_source_catalog.go index 5c293cd0e6..8a78637645 100644 --- a/bundle/internal/tf/schema/data_source_catalog.go +++ b/bundle/internal/tf/schema/data_source_catalog.go @@ -52,7 +52,7 @@ type DataSourceCatalogCatalogInfo struct { } type DataSourceCatalogProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceCatalog struct { diff --git a/bundle/internal/tf/schema/data_source_catalogs.go b/bundle/internal/tf/schema/data_source_catalogs.go index dfe5b2a59a..80fb1b8bec 100644 --- a/bundle/internal/tf/schema/data_source_catalogs.go +++ b/bundle/internal/tf/schema/data_source_catalogs.go @@ -3,7 +3,7 @@ package schema type DataSourceCatalogsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceCatalogs struct { diff --git a/bundle/internal/tf/schema/data_source_cluster.go b/bundle/internal/tf/schema/data_source_cluster.go index b3f7d3a2d4..b77ff1c1bf 100644 --- a/bundle/internal/tf/schema/data_source_cluster.go +++ b/bundle/internal/tf/schema/data_source_cluster.go @@ -106,6 +106,7 @@ type DataSourceClusterClusterInfoExecutors struct { type DataSourceClusterClusterInfoGcpAttributes struct { Availability string `json:"availability,omitempty"` BootDiskSize int `json:"boot_disk_size,omitempty"` + ConfidentialComputeType string `json:"confidential_compute_type,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"` GoogleServiceAccount string `json:"google_service_account,omitempty"` LocalSsdCount int `json:"local_ssd_count,omitempty"` @@ -239,6 +240,7 @@ type DataSourceClusterClusterInfoSpecDriverNodeTypeFlexibility struct { type DataSourceClusterClusterInfoSpecGcpAttributes struct { Availability string `json:"availability,omitempty"` BootDiskSize int `json:"boot_disk_size,omitempty"` + ConfidentialComputeType string `json:"confidential_compute_type,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"` GoogleServiceAccount string `json:"google_service_account,omitempty"` LocalSsdCount int `json:"local_ssd_count,omitempty"` @@ -302,7 +304,7 @@ type DataSourceClusterClusterInfoSpecLibraryMaven struct { } type DataSourceClusterClusterInfoSpecLibraryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceClusterClusterInfoSpecLibraryPypi struct { @@ -322,7 +324,7 @@ type DataSourceClusterClusterInfoSpecLibrary struct { } type DataSourceClusterClusterInfoSpecProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceClusterClusterInfoSpecWorkerNodeTypeFlexibility struct { @@ -454,7 +456,7 @@ type DataSourceClusterClusterInfo struct { } type DataSourceClusterProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceCluster struct { diff --git a/bundle/internal/tf/schema/data_source_cluster_policy.go b/bundle/internal/tf/schema/data_source_cluster_policy.go index c8e60faf3d..fd12e287ec 100644 --- a/bundle/internal/tf/schema/data_source_cluster_policy.go +++ b/bundle/internal/tf/schema/data_source_cluster_policy.go @@ -3,7 +3,7 @@ package schema type DataSourceClusterPolicyProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceClusterPolicy struct { diff --git a/bundle/internal/tf/schema/data_source_clusters.go b/bundle/internal/tf/schema/data_source_clusters.go index 6a4f9f3e5a..a2eeb7eb1b 100644 --- a/bundle/internal/tf/schema/data_source_clusters.go +++ b/bundle/internal/tf/schema/data_source_clusters.go @@ -10,7 +10,7 @@ type DataSourceClustersFilterBy struct { } type DataSourceClustersProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceClusters struct { diff --git a/bundle/internal/tf/schema/data_source_current_config.go b/bundle/internal/tf/schema/data_source_current_config.go index 0dc751a724..f0474e8030 100644 --- a/bundle/internal/tf/schema/data_source_current_config.go +++ b/bundle/internal/tf/schema/data_source_current_config.go @@ -3,7 +3,7 @@ package schema type DataSourceCurrentConfigProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceCurrentConfig struct { diff --git a/bundle/internal/tf/schema/data_source_current_metastore.go b/bundle/internal/tf/schema/data_source_current_metastore.go index 52c2c43f57..b6107c28a7 100644 --- a/bundle/internal/tf/schema/data_source_current_metastore.go +++ b/bundle/internal/tf/schema/data_source_current_metastore.go @@ -25,7 +25,7 @@ type DataSourceCurrentMetastoreMetastoreInfo struct { } type DataSourceCurrentMetastoreProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceCurrentMetastore struct { diff --git a/bundle/internal/tf/schema/data_source_current_user.go b/bundle/internal/tf/schema/data_source_current_user.go index cdf33ade24..e8208effdc 100644 --- a/bundle/internal/tf/schema/data_source_current_user.go +++ b/bundle/internal/tf/schema/data_source_current_user.go @@ -3,7 +3,7 @@ package schema type DataSourceCurrentUserProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceCurrentUser struct { diff --git a/bundle/internal/tf/schema/data_source_dashboards.go b/bundle/internal/tf/schema/data_source_dashboards.go index a86458a088..d9a77b38fb 100644 --- a/bundle/internal/tf/schema/data_source_dashboards.go +++ b/bundle/internal/tf/schema/data_source_dashboards.go @@ -16,7 +16,7 @@ type DataSourceDashboardsDashboards struct { } type DataSourceDashboardsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDashboards struct { diff --git a/bundle/internal/tf/schema/data_source_data_classification_catalog_config.go b/bundle/internal/tf/schema/data_source_data_classification_catalog_config.go index f6473f7270..9ad6965e04 100644 --- a/bundle/internal/tf/schema/data_source_data_classification_catalog_config.go +++ b/bundle/internal/tf/schema/data_source_data_classification_catalog_config.go @@ -12,7 +12,7 @@ type DataSourceDataClassificationCatalogConfigIncludedSchemas struct { } type DataSourceDataClassificationCatalogConfigProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDataClassificationCatalogConfig struct { diff --git a/bundle/internal/tf/schema/data_source_data_quality_monitor.go b/bundle/internal/tf/schema/data_source_data_quality_monitor.go index aca5e6e881..251ce8ffa2 100644 --- a/bundle/internal/tf/schema/data_source_data_quality_monitor.go +++ b/bundle/internal/tf/schema/data_source_data_quality_monitor.go @@ -69,7 +69,7 @@ type DataSourceDataQualityMonitorDataProfilingConfig struct { } type DataSourceDataQualityMonitorProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDataQualityMonitor struct { diff --git a/bundle/internal/tf/schema/data_source_data_quality_monitors.go b/bundle/internal/tf/schema/data_source_data_quality_monitors.go index be7417e382..312eac0415 100644 --- a/bundle/internal/tf/schema/data_source_data_quality_monitors.go +++ b/bundle/internal/tf/schema/data_source_data_quality_monitors.go @@ -69,7 +69,7 @@ type DataSourceDataQualityMonitorsMonitorsDataProfilingConfig struct { } type DataSourceDataQualityMonitorsMonitorsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDataQualityMonitorsMonitors struct { @@ -81,7 +81,7 @@ type DataSourceDataQualityMonitorsMonitors struct { } type DataSourceDataQualityMonitorsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDataQualityMonitors struct { diff --git a/bundle/internal/tf/schema/data_source_data_quality_refresh.go b/bundle/internal/tf/schema/data_source_data_quality_refresh.go index 10078356f8..72688d44ad 100644 --- a/bundle/internal/tf/schema/data_source_data_quality_refresh.go +++ b/bundle/internal/tf/schema/data_source_data_quality_refresh.go @@ -3,7 +3,7 @@ package schema type DataSourceDataQualityRefreshProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDataQualityRefresh struct { diff --git a/bundle/internal/tf/schema/data_source_data_quality_refreshes.go b/bundle/internal/tf/schema/data_source_data_quality_refreshes.go index fb58d1dc07..de61488055 100644 --- a/bundle/internal/tf/schema/data_source_data_quality_refreshes.go +++ b/bundle/internal/tf/schema/data_source_data_quality_refreshes.go @@ -3,11 +3,11 @@ package schema type DataSourceDataQualityRefreshesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDataQualityRefreshesRefreshesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDataQualityRefreshesRefreshes struct { diff --git a/bundle/internal/tf/schema/data_source_database_database_catalog.go b/bundle/internal/tf/schema/data_source_database_database_catalog.go index 63ce16ffcd..318bb423e9 100644 --- a/bundle/internal/tf/schema/data_source_database_database_catalog.go +++ b/bundle/internal/tf/schema/data_source_database_database_catalog.go @@ -3,7 +3,7 @@ package schema type DataSourceDatabaseDatabaseCatalogProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDatabaseDatabaseCatalog struct { diff --git a/bundle/internal/tf/schema/data_source_database_database_catalogs.go b/bundle/internal/tf/schema/data_source_database_database_catalogs.go index f44ca41467..e5ad2cb550 100644 --- a/bundle/internal/tf/schema/data_source_database_database_catalogs.go +++ b/bundle/internal/tf/schema/data_source_database_database_catalogs.go @@ -3,7 +3,7 @@ package schema type DataSourceDatabaseDatabaseCatalogsDatabaseCatalogsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDatabaseDatabaseCatalogsDatabaseCatalogs struct { @@ -16,7 +16,7 @@ type DataSourceDatabaseDatabaseCatalogsDatabaseCatalogs struct { } type DataSourceDatabaseDatabaseCatalogsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDatabaseDatabaseCatalogs struct { diff --git a/bundle/internal/tf/schema/data_source_database_instance.go b/bundle/internal/tf/schema/data_source_database_instance.go index bf9ca7ca4d..1553ee91b1 100644 --- a/bundle/internal/tf/schema/data_source_database_instance.go +++ b/bundle/internal/tf/schema/data_source_database_instance.go @@ -29,7 +29,7 @@ type DataSourceDatabaseInstanceParentInstanceRef struct { } type DataSourceDatabaseInstanceProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDatabaseInstance struct { diff --git a/bundle/internal/tf/schema/data_source_database_instances.go b/bundle/internal/tf/schema/data_source_database_instances.go index 74d70e1bad..315ae1ce89 100644 --- a/bundle/internal/tf/schema/data_source_database_instances.go +++ b/bundle/internal/tf/schema/data_source_database_instances.go @@ -29,7 +29,7 @@ type DataSourceDatabaseInstancesDatabaseInstancesParentInstanceRef struct { } type DataSourceDatabaseInstancesDatabaseInstancesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDatabaseInstancesDatabaseInstances struct { @@ -63,7 +63,7 @@ type DataSourceDatabaseInstancesDatabaseInstances struct { } type DataSourceDatabaseInstancesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDatabaseInstances struct { diff --git a/bundle/internal/tf/schema/data_source_database_synced_database_table.go b/bundle/internal/tf/schema/data_source_database_synced_database_table.go index 1ac48769e4..601dc41cc5 100644 --- a/bundle/internal/tf/schema/data_source_database_synced_database_table.go +++ b/bundle/internal/tf/schema/data_source_database_synced_database_table.go @@ -73,7 +73,7 @@ type DataSourceDatabaseSyncedDatabaseTableDataSynchronizationStatus struct { } type DataSourceDatabaseSyncedDatabaseTableProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDatabaseSyncedDatabaseTableSpecNewPipelineSpec struct { diff --git a/bundle/internal/tf/schema/data_source_database_synced_database_tables.go b/bundle/internal/tf/schema/data_source_database_synced_database_tables.go index e7e280fdf0..60330ecd61 100644 --- a/bundle/internal/tf/schema/data_source_database_synced_database_tables.go +++ b/bundle/internal/tf/schema/data_source_database_synced_database_tables.go @@ -3,7 +3,7 @@ package schema type DataSourceDatabaseSyncedDatabaseTablesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDatabaseSyncedDatabaseTablesSyncedTablesDataSynchronizationStatusContinuousUpdateStatusInitialPipelineSyncProgress struct { @@ -77,7 +77,7 @@ type DataSourceDatabaseSyncedDatabaseTablesSyncedTablesDataSynchronizationStatus } type DataSourceDatabaseSyncedDatabaseTablesSyncedTablesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDatabaseSyncedDatabaseTablesSyncedTablesSpecNewPipelineSpec struct { diff --git a/bundle/internal/tf/schema/data_source_dbfs_file.go b/bundle/internal/tf/schema/data_source_dbfs_file.go index dfd0dc37cd..1235d0f375 100644 --- a/bundle/internal/tf/schema/data_source_dbfs_file.go +++ b/bundle/internal/tf/schema/data_source_dbfs_file.go @@ -3,7 +3,7 @@ package schema type DataSourceDbfsFileProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDbfsFile struct { diff --git a/bundle/internal/tf/schema/data_source_dbfs_file_paths.go b/bundle/internal/tf/schema/data_source_dbfs_file_paths.go index 8a3fbde369..ca76dc0ac3 100644 --- a/bundle/internal/tf/schema/data_source_dbfs_file_paths.go +++ b/bundle/internal/tf/schema/data_source_dbfs_file_paths.go @@ -3,7 +3,7 @@ package schema type DataSourceDbfsFilePathsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDbfsFilePaths struct { diff --git a/bundle/internal/tf/schema/data_source_directory.go b/bundle/internal/tf/schema/data_source_directory.go index fa31e37a50..ce6d2553df 100644 --- a/bundle/internal/tf/schema/data_source_directory.go +++ b/bundle/internal/tf/schema/data_source_directory.go @@ -3,7 +3,7 @@ package schema type DataSourceDirectoryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceDirectory struct { diff --git a/bundle/internal/tf/schema/data_source_disaster_recovery_failover_group.go b/bundle/internal/tf/schema/data_source_disaster_recovery_failover_group.go new file mode 100644 index 0000000000..5b9015c71a --- /dev/null +++ b/bundle/internal/tf/schema/data_source_disaster_recovery_failover_group.go @@ -0,0 +1,44 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourceDisasterRecoveryFailoverGroupUnityCatalogAssetsCatalogs struct { + Name string `json:"name"` +} + +type DataSourceDisasterRecoveryFailoverGroupUnityCatalogAssetsLocationMappingsUriByRegion struct { + Region string `json:"region"` + Uri string `json:"uri"` +} + +type DataSourceDisasterRecoveryFailoverGroupUnityCatalogAssetsLocationMappings struct { + Name string `json:"name"` + UriByRegion []DataSourceDisasterRecoveryFailoverGroupUnityCatalogAssetsLocationMappingsUriByRegion `json:"uri_by_region,omitempty"` +} + +type DataSourceDisasterRecoveryFailoverGroupUnityCatalogAssets struct { + Catalogs []DataSourceDisasterRecoveryFailoverGroupUnityCatalogAssetsCatalogs `json:"catalogs,omitempty"` + DataReplicationWorkspaceSet string `json:"data_replication_workspace_set"` + LocationMappings []DataSourceDisasterRecoveryFailoverGroupUnityCatalogAssetsLocationMappings `json:"location_mappings,omitempty"` +} + +type DataSourceDisasterRecoveryFailoverGroupWorkspaceSets struct { + Name string `json:"name"` + ReplicateWorkspaceAssets bool `json:"replicate_workspace_assets"` + StableUrlNames []string `json:"stable_url_names,omitempty"` + WorkspaceIds []string `json:"workspace_ids"` +} + +type DataSourceDisasterRecoveryFailoverGroup struct { + CreateTime string `json:"create_time,omitempty"` + EffectivePrimaryRegion string `json:"effective_primary_region,omitempty"` + Etag string `json:"etag,omitempty"` + InitialPrimaryRegion string `json:"initial_primary_region,omitempty"` + Name string `json:"name"` + Regions []string `json:"regions,omitempty"` + ReplicationPoint string `json:"replication_point,omitempty"` + State string `json:"state,omitempty"` + UnityCatalogAssets *DataSourceDisasterRecoveryFailoverGroupUnityCatalogAssets `json:"unity_catalog_assets,omitempty"` + UpdateTime string `json:"update_time,omitempty"` + WorkspaceSets []DataSourceDisasterRecoveryFailoverGroupWorkspaceSets `json:"workspace_sets,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_disaster_recovery_failover_groups.go b/bundle/internal/tf/schema/data_source_disaster_recovery_failover_groups.go new file mode 100644 index 0000000000..474774c2c4 --- /dev/null +++ b/bundle/internal/tf/schema/data_source_disaster_recovery_failover_groups.go @@ -0,0 +1,50 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourceDisasterRecoveryFailoverGroupsFailoverGroupsUnityCatalogAssetsCatalogs struct { + Name string `json:"name"` +} + +type DataSourceDisasterRecoveryFailoverGroupsFailoverGroupsUnityCatalogAssetsLocationMappingsUriByRegion struct { + Region string `json:"region"` + Uri string `json:"uri"` +} + +type DataSourceDisasterRecoveryFailoverGroupsFailoverGroupsUnityCatalogAssetsLocationMappings struct { + Name string `json:"name"` + UriByRegion []DataSourceDisasterRecoveryFailoverGroupsFailoverGroupsUnityCatalogAssetsLocationMappingsUriByRegion `json:"uri_by_region,omitempty"` +} + +type DataSourceDisasterRecoveryFailoverGroupsFailoverGroupsUnityCatalogAssets struct { + Catalogs []DataSourceDisasterRecoveryFailoverGroupsFailoverGroupsUnityCatalogAssetsCatalogs `json:"catalogs,omitempty"` + DataReplicationWorkspaceSet string `json:"data_replication_workspace_set"` + LocationMappings []DataSourceDisasterRecoveryFailoverGroupsFailoverGroupsUnityCatalogAssetsLocationMappings `json:"location_mappings,omitempty"` +} + +type DataSourceDisasterRecoveryFailoverGroupsFailoverGroupsWorkspaceSets struct { + Name string `json:"name"` + ReplicateWorkspaceAssets bool `json:"replicate_workspace_assets"` + StableUrlNames []string `json:"stable_url_names,omitempty"` + WorkspaceIds []string `json:"workspace_ids"` +} + +type DataSourceDisasterRecoveryFailoverGroupsFailoverGroups struct { + CreateTime string `json:"create_time,omitempty"` + EffectivePrimaryRegion string `json:"effective_primary_region,omitempty"` + Etag string `json:"etag,omitempty"` + InitialPrimaryRegion string `json:"initial_primary_region,omitempty"` + Name string `json:"name"` + Regions []string `json:"regions,omitempty"` + ReplicationPoint string `json:"replication_point,omitempty"` + State string `json:"state,omitempty"` + UnityCatalogAssets *DataSourceDisasterRecoveryFailoverGroupsFailoverGroupsUnityCatalogAssets `json:"unity_catalog_assets,omitempty"` + UpdateTime string `json:"update_time,omitempty"` + WorkspaceSets []DataSourceDisasterRecoveryFailoverGroupsFailoverGroupsWorkspaceSets `json:"workspace_sets,omitempty"` +} + +type DataSourceDisasterRecoveryFailoverGroups struct { + FailoverGroups []DataSourceDisasterRecoveryFailoverGroupsFailoverGroups `json:"failover_groups,omitempty"` + PageSize int `json:"page_size,omitempty"` + Parent string `json:"parent"` +} diff --git a/bundle/internal/tf/schema/data_source_disaster_recovery_stable_url.go b/bundle/internal/tf/schema/data_source_disaster_recovery_stable_url.go new file mode 100644 index 0000000000..3e5913e45c --- /dev/null +++ b/bundle/internal/tf/schema/data_source_disaster_recovery_stable_url.go @@ -0,0 +1,9 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourceDisasterRecoveryStableUrl struct { + InitialWorkspaceId string `json:"initial_workspace_id,omitempty"` + Name string `json:"name"` + Url string `json:"url,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_disaster_recovery_stable_urls.go b/bundle/internal/tf/schema/data_source_disaster_recovery_stable_urls.go new file mode 100644 index 0000000000..3685db12d5 --- /dev/null +++ b/bundle/internal/tf/schema/data_source_disaster_recovery_stable_urls.go @@ -0,0 +1,15 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourceDisasterRecoveryStableUrlsStableUrls struct { + InitialWorkspaceId string `json:"initial_workspace_id,omitempty"` + Name string `json:"name"` + Url string `json:"url,omitempty"` +} + +type DataSourceDisasterRecoveryStableUrls struct { + PageSize int `json:"page_size,omitempty"` + Parent string `json:"parent"` + StableUrls []DataSourceDisasterRecoveryStableUrlsStableUrls `json:"stable_urls,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_entity_tag_assignment.go b/bundle/internal/tf/schema/data_source_entity_tag_assignment.go index 15ed8ee413..1c3e7abfe2 100644 --- a/bundle/internal/tf/schema/data_source_entity_tag_assignment.go +++ b/bundle/internal/tf/schema/data_source_entity_tag_assignment.go @@ -3,7 +3,7 @@ package schema type DataSourceEntityTagAssignmentProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceEntityTagAssignment struct { diff --git a/bundle/internal/tf/schema/data_source_entity_tag_assignments.go b/bundle/internal/tf/schema/data_source_entity_tag_assignments.go index 50126aa331..18a57950e7 100644 --- a/bundle/internal/tf/schema/data_source_entity_tag_assignments.go +++ b/bundle/internal/tf/schema/data_source_entity_tag_assignments.go @@ -3,11 +3,11 @@ package schema type DataSourceEntityTagAssignmentsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceEntityTagAssignmentsTagAssignmentsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceEntityTagAssignmentsTagAssignments struct { diff --git a/bundle/internal/tf/schema/data_source_environments_default_workspace_base_environment.go b/bundle/internal/tf/schema/data_source_environments_default_workspace_base_environment.go index d44ad8ff58..f39acfa254 100644 --- a/bundle/internal/tf/schema/data_source_environments_default_workspace_base_environment.go +++ b/bundle/internal/tf/schema/data_source_environments_default_workspace_base_environment.go @@ -3,7 +3,7 @@ package schema type DataSourceEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceEnvironmentsDefaultWorkspaceBaseEnvironment struct { diff --git a/bundle/internal/tf/schema/data_source_environments_workspace_base_environment.go b/bundle/internal/tf/schema/data_source_environments_workspace_base_environment.go index 83354027dd..379eeb1b58 100644 --- a/bundle/internal/tf/schema/data_source_environments_workspace_base_environment.go +++ b/bundle/internal/tf/schema/data_source_environments_workspace_base_environment.go @@ -3,7 +3,7 @@ package schema type DataSourceEnvironmentsWorkspaceBaseEnvironmentProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceEnvironmentsWorkspaceBaseEnvironment struct { diff --git a/bundle/internal/tf/schema/data_source_environments_workspace_base_environments.go b/bundle/internal/tf/schema/data_source_environments_workspace_base_environments.go index cb4a39cd2d..ce9b2ac906 100644 --- a/bundle/internal/tf/schema/data_source_environments_workspace_base_environments.go +++ b/bundle/internal/tf/schema/data_source_environments_workspace_base_environments.go @@ -3,11 +3,11 @@ package schema type DataSourceEnvironmentsWorkspaceBaseEnvironmentsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceEnvironmentsWorkspaceBaseEnvironmentsWorkspaceBaseEnvironmentsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceEnvironmentsWorkspaceBaseEnvironmentsWorkspaceBaseEnvironments struct { diff --git a/bundle/internal/tf/schema/data_source_external_location.go b/bundle/internal/tf/schema/data_source_external_location.go index 54038eb320..805918fa1f 100644 --- a/bundle/internal/tf/schema/data_source_external_location.go +++ b/bundle/internal/tf/schema/data_source_external_location.go @@ -121,7 +121,7 @@ type DataSourceExternalLocationExternalLocationInfo struct { } type DataSourceExternalLocationProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceExternalLocation struct { diff --git a/bundle/internal/tf/schema/data_source_external_locations.go b/bundle/internal/tf/schema/data_source_external_locations.go index 3352402363..c66aa1b2f6 100644 --- a/bundle/internal/tf/schema/data_source_external_locations.go +++ b/bundle/internal/tf/schema/data_source_external_locations.go @@ -3,7 +3,7 @@ package schema type DataSourceExternalLocationsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceExternalLocations struct { diff --git a/bundle/internal/tf/schema/data_source_external_metadata.go b/bundle/internal/tf/schema/data_source_external_metadata.go index 5d1cd00018..8562cc3ad9 100644 --- a/bundle/internal/tf/schema/data_source_external_metadata.go +++ b/bundle/internal/tf/schema/data_source_external_metadata.go @@ -3,7 +3,7 @@ package schema type DataSourceExternalMetadataProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceExternalMetadata struct { diff --git a/bundle/internal/tf/schema/data_source_external_metadatas.go b/bundle/internal/tf/schema/data_source_external_metadatas.go index 9ccce94b4b..d101df8455 100644 --- a/bundle/internal/tf/schema/data_source_external_metadatas.go +++ b/bundle/internal/tf/schema/data_source_external_metadatas.go @@ -3,7 +3,7 @@ package schema type DataSourceExternalMetadatasExternalMetadataProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceExternalMetadatasExternalMetadata struct { @@ -25,7 +25,7 @@ type DataSourceExternalMetadatasExternalMetadata struct { } type DataSourceExternalMetadatasProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceExternalMetadatas struct { diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_feature.go b/bundle/internal/tf/schema/data_source_feature_engineering_feature.go index 7cb9e275dc..fba0cf51e0 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_feature.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_feature.go @@ -125,7 +125,7 @@ type DataSourceFeatureEngineeringFeatureLineageContext struct { } type DataSourceFeatureEngineeringFeatureProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceFeatureEngineeringFeatureSourceDeltaTableSource struct { diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_features.go b/bundle/internal/tf/schema/data_source_feature_engineering_features.go index cc7a00b22d..69d30533bc 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_features.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_features.go @@ -125,7 +125,7 @@ type DataSourceFeatureEngineeringFeaturesFeaturesLineageContext struct { } type DataSourceFeatureEngineeringFeaturesFeaturesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceFeatureEngineeringFeaturesFeaturesSourceDeltaTableSource struct { @@ -210,7 +210,7 @@ type DataSourceFeatureEngineeringFeaturesFeatures struct { } type DataSourceFeatureEngineeringFeaturesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceFeatureEngineeringFeatures struct { diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_kafka_config.go b/bundle/internal/tf/schema/data_source_feature_engineering_kafka_config.go index e16324ca39..7c2cd079f7 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_kafka_config.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_kafka_config.go @@ -16,6 +16,7 @@ type DataSourceFeatureEngineeringKafkaConfigBackfillSourceDeltaTableSource struc } type DataSourceFeatureEngineeringKafkaConfigBackfillSource struct { + DeltaTableName string `json:"delta_table_name,omitempty"` DeltaTableSource *DataSourceFeatureEngineeringKafkaConfigBackfillSourceDeltaTableSource `json:"delta_table_source,omitempty"` } @@ -24,7 +25,7 @@ type DataSourceFeatureEngineeringKafkaConfigKeySchema struct { } type DataSourceFeatureEngineeringKafkaConfigProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceFeatureEngineeringKafkaConfigSubscriptionMode struct { diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_kafka_configs.go b/bundle/internal/tf/schema/data_source_feature_engineering_kafka_configs.go index 4101612544..dd0114f9c9 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_kafka_configs.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_kafka_configs.go @@ -16,6 +16,7 @@ type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsBackfillSourceDeltaTabl } type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsBackfillSource struct { + DeltaTableName string `json:"delta_table_name,omitempty"` DeltaTableSource *DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsBackfillSourceDeltaTableSource `json:"delta_table_source,omitempty"` } @@ -24,7 +25,7 @@ type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsKeySchema struct { } type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsSubscriptionMode struct { @@ -50,7 +51,7 @@ type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigs struct { } type DataSourceFeatureEngineeringKafkaConfigsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceFeatureEngineeringKafkaConfigs struct { diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_materialized_feature.go b/bundle/internal/tf/schema/data_source_feature_engineering_materialized_feature.go index bf0000ae62..76c45d435e 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_materialized_feature.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_materialized_feature.go @@ -16,7 +16,7 @@ type DataSourceFeatureEngineeringMaterializedFeatureOnlineStoreConfig struct { } type DataSourceFeatureEngineeringMaterializedFeatureProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceFeatureEngineeringMaterializedFeature struct { diff --git a/bundle/internal/tf/schema/data_source_feature_engineering_materialized_features.go b/bundle/internal/tf/schema/data_source_feature_engineering_materialized_features.go index 1b56f94548..92a6a4de9b 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_materialized_features.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_materialized_features.go @@ -16,7 +16,7 @@ type DataSourceFeatureEngineeringMaterializedFeaturesMaterializedFeaturesOnlineS } type DataSourceFeatureEngineeringMaterializedFeaturesMaterializedFeaturesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceFeatureEngineeringMaterializedFeaturesMaterializedFeatures struct { @@ -33,7 +33,7 @@ type DataSourceFeatureEngineeringMaterializedFeaturesMaterializedFeatures struct } type DataSourceFeatureEngineeringMaterializedFeaturesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceFeatureEngineeringMaterializedFeatures struct { diff --git a/bundle/internal/tf/schema/data_source_functions.go b/bundle/internal/tf/schema/data_source_functions.go index 5c6005883e..3786b6121f 100644 --- a/bundle/internal/tf/schema/data_source_functions.go +++ b/bundle/internal/tf/schema/data_source_functions.go @@ -101,7 +101,7 @@ type DataSourceFunctionsFunctions struct { } type DataSourceFunctionsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceFunctions struct { diff --git a/bundle/internal/tf/schema/data_source_group.go b/bundle/internal/tf/schema/data_source_group.go index c68aee75fb..b15819d382 100644 --- a/bundle/internal/tf/schema/data_source_group.go +++ b/bundle/internal/tf/schema/data_source_group.go @@ -3,7 +3,7 @@ package schema type DataSourceGroupProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceGroup struct { diff --git a/bundle/internal/tf/schema/data_source_instance_pool.go b/bundle/internal/tf/schema/data_source_instance_pool.go index 7deade1f45..f506278fc1 100644 --- a/bundle/internal/tf/schema/data_source_instance_pool.go +++ b/bundle/internal/tf/schema/data_source_instance_pool.go @@ -96,7 +96,7 @@ type DataSourceInstancePoolPoolInfo struct { } type DataSourceInstancePoolProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceInstancePool struct { diff --git a/bundle/internal/tf/schema/data_source_instance_profiles.go b/bundle/internal/tf/schema/data_source_instance_profiles.go index 28027f4b2e..d96b33bb80 100644 --- a/bundle/internal/tf/schema/data_source_instance_profiles.go +++ b/bundle/internal/tf/schema/data_source_instance_profiles.go @@ -10,7 +10,7 @@ type DataSourceInstanceProfilesInstanceProfiles struct { } type DataSourceInstanceProfilesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceInstanceProfiles struct { diff --git a/bundle/internal/tf/schema/data_source_job.go b/bundle/internal/tf/schema/data_source_job.go index 04aff87419..243c1f6ef1 100644 --- a/bundle/internal/tf/schema/data_source_job.go +++ b/bundle/internal/tf/schema/data_source_job.go @@ -242,7 +242,7 @@ type DataSourceJobJobSettingsSettingsLibraryMaven struct { } type DataSourceJobJobSettingsSettingsLibraryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceJobJobSettingsSettingsLibraryPypi struct { @@ -601,7 +601,7 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryMaven struct { } type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskLibraryPypi struct { @@ -975,7 +975,7 @@ type DataSourceJobJobSettingsSettingsTaskLibraryMaven struct { } type DataSourceJobJobSettingsSettingsTaskLibraryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceJobJobSettingsSettingsTaskLibraryPypi struct { @@ -1423,7 +1423,7 @@ type DataSourceJobJobSettings struct { } type DataSourceJobProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceJob struct { diff --git a/bundle/internal/tf/schema/data_source_jobs.go b/bundle/internal/tf/schema/data_source_jobs.go index f908f5e637..996d03e04d 100644 --- a/bundle/internal/tf/schema/data_source_jobs.go +++ b/bundle/internal/tf/schema/data_source_jobs.go @@ -3,7 +3,7 @@ package schema type DataSourceJobsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceJobs struct { diff --git a/bundle/internal/tf/schema/data_source_knowledge_assistant.go b/bundle/internal/tf/schema/data_source_knowledge_assistant.go index 594816e28d..cf5a16cf7f 100644 --- a/bundle/internal/tf/schema/data_source_knowledge_assistant.go +++ b/bundle/internal/tf/schema/data_source_knowledge_assistant.go @@ -3,7 +3,7 @@ package schema type DataSourceKnowledgeAssistantProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceKnowledgeAssistant struct { diff --git a/bundle/internal/tf/schema/data_source_knowledge_assistant_knowledge_source.go b/bundle/internal/tf/schema/data_source_knowledge_assistant_knowledge_source.go index 1374e80515..c029839237 100644 --- a/bundle/internal/tf/schema/data_source_knowledge_assistant_knowledge_source.go +++ b/bundle/internal/tf/schema/data_source_knowledge_assistant_knowledge_source.go @@ -18,7 +18,7 @@ type DataSourceKnowledgeAssistantKnowledgeSourceIndex struct { } type DataSourceKnowledgeAssistantKnowledgeSourceProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceKnowledgeAssistantKnowledgeSource struct { diff --git a/bundle/internal/tf/schema/data_source_knowledge_assistant_knowledge_sources.go b/bundle/internal/tf/schema/data_source_knowledge_assistant_knowledge_sources.go index d0c059b623..ef634a66ab 100644 --- a/bundle/internal/tf/schema/data_source_knowledge_assistant_knowledge_sources.go +++ b/bundle/internal/tf/schema/data_source_knowledge_assistant_knowledge_sources.go @@ -18,7 +18,7 @@ type DataSourceKnowledgeAssistantKnowledgeSourcesKnowledgeSourcesIndex struct { } type DataSourceKnowledgeAssistantKnowledgeSourcesKnowledgeSourcesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceKnowledgeAssistantKnowledgeSourcesKnowledgeSources struct { @@ -37,7 +37,7 @@ type DataSourceKnowledgeAssistantKnowledgeSourcesKnowledgeSources struct { } type DataSourceKnowledgeAssistantKnowledgeSourcesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceKnowledgeAssistantKnowledgeSources struct { diff --git a/bundle/internal/tf/schema/data_source_knowledge_assistants.go b/bundle/internal/tf/schema/data_source_knowledge_assistants.go index 4b60da1101..9f198b25b5 100644 --- a/bundle/internal/tf/schema/data_source_knowledge_assistants.go +++ b/bundle/internal/tf/schema/data_source_knowledge_assistants.go @@ -3,7 +3,7 @@ package schema type DataSourceKnowledgeAssistantsKnowledgeAssistantsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceKnowledgeAssistantsKnowledgeAssistants struct { @@ -22,7 +22,7 @@ type DataSourceKnowledgeAssistantsKnowledgeAssistants struct { } type DataSourceKnowledgeAssistantsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceKnowledgeAssistants struct { diff --git a/bundle/internal/tf/schema/data_source_materialized_features_feature_tag.go b/bundle/internal/tf/schema/data_source_materialized_features_feature_tag.go index a8f427afd5..d7585cee55 100644 --- a/bundle/internal/tf/schema/data_source_materialized_features_feature_tag.go +++ b/bundle/internal/tf/schema/data_source_materialized_features_feature_tag.go @@ -3,7 +3,7 @@ package schema type DataSourceMaterializedFeaturesFeatureTagProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceMaterializedFeaturesFeatureTag struct { diff --git a/bundle/internal/tf/schema/data_source_materialized_features_feature_tags.go b/bundle/internal/tf/schema/data_source_materialized_features_feature_tags.go index c8a8610ec7..99c72e32a3 100644 --- a/bundle/internal/tf/schema/data_source_materialized_features_feature_tags.go +++ b/bundle/internal/tf/schema/data_source_materialized_features_feature_tags.go @@ -3,7 +3,7 @@ package schema type DataSourceMaterializedFeaturesFeatureTagsFeatureTagsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceMaterializedFeaturesFeatureTagsFeatureTags struct { @@ -13,7 +13,7 @@ type DataSourceMaterializedFeaturesFeatureTagsFeatureTags struct { } type DataSourceMaterializedFeaturesFeatureTagsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceMaterializedFeaturesFeatureTags struct { diff --git a/bundle/internal/tf/schema/data_source_mlflow_experiment.go b/bundle/internal/tf/schema/data_source_mlflow_experiment.go index 13a070ae16..792600443d 100644 --- a/bundle/internal/tf/schema/data_source_mlflow_experiment.go +++ b/bundle/internal/tf/schema/data_source_mlflow_experiment.go @@ -3,7 +3,7 @@ package schema type DataSourceMlflowExperimentProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceMlflowExperimentTags struct { diff --git a/bundle/internal/tf/schema/data_source_mlflow_model.go b/bundle/internal/tf/schema/data_source_mlflow_model.go index ac150cf955..b48390a59a 100644 --- a/bundle/internal/tf/schema/data_source_mlflow_model.go +++ b/bundle/internal/tf/schema/data_source_mlflow_model.go @@ -24,7 +24,7 @@ type DataSourceMlflowModelLatestVersions struct { } type DataSourceMlflowModelProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceMlflowModelTags struct { diff --git a/bundle/internal/tf/schema/data_source_mlflow_models.go b/bundle/internal/tf/schema/data_source_mlflow_models.go index 134c1202e9..8a8913fca4 100644 --- a/bundle/internal/tf/schema/data_source_mlflow_models.go +++ b/bundle/internal/tf/schema/data_source_mlflow_models.go @@ -3,7 +3,7 @@ package schema type DataSourceMlflowModelsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceMlflowModels struct { diff --git a/bundle/internal/tf/schema/data_source_mws_credentials.go b/bundle/internal/tf/schema/data_source_mws_credentials.go index 45fa3f817c..dd048efe12 100644 --- a/bundle/internal/tf/schema/data_source_mws_credentials.go +++ b/bundle/internal/tf/schema/data_source_mws_credentials.go @@ -3,7 +3,7 @@ package schema type DataSourceMwsCredentialsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceMwsCredentials struct { diff --git a/bundle/internal/tf/schema/data_source_mws_workspaces.go b/bundle/internal/tf/schema/data_source_mws_workspaces.go index 019a2d3eef..7369be4a03 100644 --- a/bundle/internal/tf/schema/data_source_mws_workspaces.go +++ b/bundle/internal/tf/schema/data_source_mws_workspaces.go @@ -3,7 +3,7 @@ package schema type DataSourceMwsWorkspacesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceMwsWorkspaces struct { diff --git a/bundle/internal/tf/schema/data_source_node_type.go b/bundle/internal/tf/schema/data_source_node_type.go index 9393f2b3db..e1f8dffaf0 100644 --- a/bundle/internal/tf/schema/data_source_node_type.go +++ b/bundle/internal/tf/schema/data_source_node_type.go @@ -3,7 +3,7 @@ package schema type DataSourceNodeTypeProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceNodeType struct { diff --git a/bundle/internal/tf/schema/data_source_notebook.go b/bundle/internal/tf/schema/data_source_notebook.go index d43338efde..2392b0c56f 100644 --- a/bundle/internal/tf/schema/data_source_notebook.go +++ b/bundle/internal/tf/schema/data_source_notebook.go @@ -3,7 +3,7 @@ package schema type DataSourceNotebookProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceNotebook struct { diff --git a/bundle/internal/tf/schema/data_source_notebook_paths.go b/bundle/internal/tf/schema/data_source_notebook_paths.go index 871a30812f..e7d391adfc 100644 --- a/bundle/internal/tf/schema/data_source_notebook_paths.go +++ b/bundle/internal/tf/schema/data_source_notebook_paths.go @@ -3,7 +3,7 @@ package schema type DataSourceNotebookPathsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceNotebookPaths struct { diff --git a/bundle/internal/tf/schema/data_source_notification_destinations.go b/bundle/internal/tf/schema/data_source_notification_destinations.go index be66cc9a91..0f5c74f160 100644 --- a/bundle/internal/tf/schema/data_source_notification_destinations.go +++ b/bundle/internal/tf/schema/data_source_notification_destinations.go @@ -9,7 +9,7 @@ type DataSourceNotificationDestinationsNotificationDestinations struct { } type DataSourceNotificationDestinationsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceNotificationDestinations struct { diff --git a/bundle/internal/tf/schema/data_source_online_store.go b/bundle/internal/tf/schema/data_source_online_store.go index 4c1f3823f3..d7727a7690 100644 --- a/bundle/internal/tf/schema/data_source_online_store.go +++ b/bundle/internal/tf/schema/data_source_online_store.go @@ -3,7 +3,7 @@ package schema type DataSourceOnlineStoreProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceOnlineStore struct { diff --git a/bundle/internal/tf/schema/data_source_online_stores.go b/bundle/internal/tf/schema/data_source_online_stores.go index 3d33fabb4b..750241675c 100644 --- a/bundle/internal/tf/schema/data_source_online_stores.go +++ b/bundle/internal/tf/schema/data_source_online_stores.go @@ -3,7 +3,7 @@ package schema type DataSourceOnlineStoresOnlineStoresProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceOnlineStoresOnlineStores struct { @@ -18,7 +18,7 @@ type DataSourceOnlineStoresOnlineStores struct { } type DataSourceOnlineStoresProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceOnlineStores struct { diff --git a/bundle/internal/tf/schema/data_source_pipelines.go b/bundle/internal/tf/schema/data_source_pipelines.go index bbd44a0b87..21a00996f0 100644 --- a/bundle/internal/tf/schema/data_source_pipelines.go +++ b/bundle/internal/tf/schema/data_source_pipelines.go @@ -3,7 +3,7 @@ package schema type DataSourcePipelinesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePipelines struct { diff --git a/bundle/internal/tf/schema/data_source_policy_info.go b/bundle/internal/tf/schema/data_source_policy_info.go index 8f901f3d39..9b5886185b 100644 --- a/bundle/internal/tf/schema/data_source_policy_info.go +++ b/bundle/internal/tf/schema/data_source_policy_info.go @@ -19,7 +19,7 @@ type DataSourcePolicyInfoMatchColumns struct { } type DataSourcePolicyInfoProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePolicyInfoRowFilterUsing struct { diff --git a/bundle/internal/tf/schema/data_source_policy_infos.go b/bundle/internal/tf/schema/data_source_policy_infos.go index 0f82648ff5..4024bd736b 100644 --- a/bundle/internal/tf/schema/data_source_policy_infos.go +++ b/bundle/internal/tf/schema/data_source_policy_infos.go @@ -19,7 +19,7 @@ type DataSourcePolicyInfosPoliciesMatchColumns struct { } type DataSourcePolicyInfosPoliciesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePolicyInfosPoliciesRowFilterUsing struct { @@ -54,7 +54,7 @@ type DataSourcePolicyInfosPolicies struct { } type DataSourcePolicyInfosProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePolicyInfos struct { diff --git a/bundle/internal/tf/schema/data_source_postgres_branch.go b/bundle/internal/tf/schema/data_source_postgres_branch.go index bbefd60f44..1705ffe5d9 100644 --- a/bundle/internal/tf/schema/data_source_postgres_branch.go +++ b/bundle/internal/tf/schema/data_source_postgres_branch.go @@ -3,7 +3,7 @@ package schema type DataSourcePostgresBranchProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresBranchSpec struct { @@ -17,6 +17,7 @@ type DataSourcePostgresBranchSpec struct { } type DataSourcePostgresBranchStatus struct { + BranchId string `json:"branch_id,omitempty"` CurrentState string `json:"current_state,omitempty"` Default bool `json:"default,omitempty"` ExpireTime string `json:"expire_time,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_postgres_branches.go b/bundle/internal/tf/schema/data_source_postgres_branches.go index b7dd730bdc..4924d6f16b 100644 --- a/bundle/internal/tf/schema/data_source_postgres_branches.go +++ b/bundle/internal/tf/schema/data_source_postgres_branches.go @@ -3,7 +3,7 @@ package schema type DataSourcePostgresBranchesBranchesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresBranchesBranchesSpec struct { @@ -17,6 +17,7 @@ type DataSourcePostgresBranchesBranchesSpec struct { } type DataSourcePostgresBranchesBranchesStatus struct { + BranchId string `json:"branch_id,omitempty"` CurrentState string `json:"current_state,omitempty"` Default bool `json:"default,omitempty"` ExpireTime string `json:"expire_time,omitempty"` @@ -41,7 +42,7 @@ type DataSourcePostgresBranchesBranches struct { } type DataSourcePostgresBranchesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresBranches struct { diff --git a/bundle/internal/tf/schema/data_source_postgres_catalog.go b/bundle/internal/tf/schema/data_source_postgres_catalog.go index 1a7df9c533..3986ca847b 100644 --- a/bundle/internal/tf/schema/data_source_postgres_catalog.go +++ b/bundle/internal/tf/schema/data_source_postgres_catalog.go @@ -3,7 +3,7 @@ package schema type DataSourcePostgresCatalogProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresCatalogSpec struct { @@ -14,6 +14,7 @@ type DataSourcePostgresCatalogSpec struct { type DataSourcePostgresCatalogStatus struct { Branch string `json:"branch,omitempty"` + CatalogId string `json:"catalog_id,omitempty"` PostgresDatabase string `json:"postgres_database,omitempty"` Project string `json:"project,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_postgres_database.go b/bundle/internal/tf/schema/data_source_postgres_database.go index 230d7a4d2e..bba759bd11 100644 --- a/bundle/internal/tf/schema/data_source_postgres_database.go +++ b/bundle/internal/tf/schema/data_source_postgres_database.go @@ -3,7 +3,7 @@ package schema type DataSourcePostgresDatabaseProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresDatabaseSpec struct { @@ -12,6 +12,7 @@ type DataSourcePostgresDatabaseSpec struct { } type DataSourcePostgresDatabaseStatus struct { + DatabaseId string `json:"database_id,omitempty"` PostgresDatabase string `json:"postgres_database,omitempty"` Role string `json:"role,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_postgres_databases.go b/bundle/internal/tf/schema/data_source_postgres_databases.go index 6b6d144973..25d883bbdf 100644 --- a/bundle/internal/tf/schema/data_source_postgres_databases.go +++ b/bundle/internal/tf/schema/data_source_postgres_databases.go @@ -3,7 +3,7 @@ package schema type DataSourcePostgresDatabasesDatabasesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresDatabasesDatabasesSpec struct { @@ -12,6 +12,7 @@ type DataSourcePostgresDatabasesDatabasesSpec struct { } type DataSourcePostgresDatabasesDatabasesStatus struct { + DatabaseId string `json:"database_id,omitempty"` PostgresDatabase string `json:"postgres_database,omitempty"` Role string `json:"role,omitempty"` } @@ -27,7 +28,7 @@ type DataSourcePostgresDatabasesDatabases struct { } type DataSourcePostgresDatabasesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresDatabases struct { diff --git a/bundle/internal/tf/schema/data_source_postgres_endpoint.go b/bundle/internal/tf/schema/data_source_postgres_endpoint.go index c3b3f9005e..cb16cb4ce3 100644 --- a/bundle/internal/tf/schema/data_source_postgres_endpoint.go +++ b/bundle/internal/tf/schema/data_source_postgres_endpoint.go @@ -3,7 +3,7 @@ package schema type DataSourcePostgresEndpointProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresEndpointSpecGroup struct { @@ -47,6 +47,7 @@ type DataSourcePostgresEndpointStatus struct { AutoscalingLimitMinCu float64 `json:"autoscaling_limit_min_cu,omitempty"` CurrentState string `json:"current_state,omitempty"` Disabled bool `json:"disabled,omitempty"` + EndpointId string `json:"endpoint_id,omitempty"` EndpointType string `json:"endpoint_type,omitempty"` Group *DataSourcePostgresEndpointStatusGroup `json:"group,omitempty"` Hosts *DataSourcePostgresEndpointStatusHosts `json:"hosts,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_postgres_endpoints.go b/bundle/internal/tf/schema/data_source_postgres_endpoints.go index 92384ca6ad..42a54d0e0b 100644 --- a/bundle/internal/tf/schema/data_source_postgres_endpoints.go +++ b/bundle/internal/tf/schema/data_source_postgres_endpoints.go @@ -3,7 +3,7 @@ package schema type DataSourcePostgresEndpointsEndpointsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresEndpointsEndpointsSpecGroup struct { @@ -47,6 +47,7 @@ type DataSourcePostgresEndpointsEndpointsStatus struct { AutoscalingLimitMinCu float64 `json:"autoscaling_limit_min_cu,omitempty"` CurrentState string `json:"current_state,omitempty"` Disabled bool `json:"disabled,omitempty"` + EndpointId string `json:"endpoint_id,omitempty"` EndpointType string `json:"endpoint_type,omitempty"` Group *DataSourcePostgresEndpointsEndpointsStatusGroup `json:"group,omitempty"` Hosts *DataSourcePostgresEndpointsEndpointsStatusHosts `json:"hosts,omitempty"` @@ -67,7 +68,7 @@ type DataSourcePostgresEndpointsEndpoints struct { } type DataSourcePostgresEndpointsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresEndpoints struct { diff --git a/bundle/internal/tf/schema/data_source_postgres_project.go b/bundle/internal/tf/schema/data_source_postgres_project.go index 8a9c3ccc69..321c3a6e8a 100644 --- a/bundle/internal/tf/schema/data_source_postgres_project.go +++ b/bundle/internal/tf/schema/data_source_postgres_project.go @@ -13,7 +13,7 @@ type DataSourcePostgresProjectInitialEndpointSpec struct { } type DataSourcePostgresProjectProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresProjectSpecCustomTags struct { @@ -64,14 +64,17 @@ type DataSourcePostgresProjectStatus struct { HistoryRetentionDuration string `json:"history_retention_duration,omitempty"` Owner string `json:"owner,omitempty"` PgVersion int `json:"pg_version,omitempty"` + ProjectId string `json:"project_id,omitempty"` SyntheticStorageSizeBytes int `json:"synthetic_storage_size_bytes,omitempty"` } type DataSourcePostgresProject struct { CreateTime string `json:"create_time,omitempty"` + DeleteTime string `json:"delete_time,omitempty"` InitialEndpointSpec *DataSourcePostgresProjectInitialEndpointSpec `json:"initial_endpoint_spec,omitempty"` Name string `json:"name"` ProviderConfig *DataSourcePostgresProjectProviderConfig `json:"provider_config,omitempty"` + PurgeTime string `json:"purge_time,omitempty"` Spec *DataSourcePostgresProjectSpec `json:"spec,omitempty"` Status *DataSourcePostgresProjectStatus `json:"status,omitempty"` Uid string `json:"uid,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_postgres_projects.go b/bundle/internal/tf/schema/data_source_postgres_projects.go index ca5aa51cf8..a9b1f1b796 100644 --- a/bundle/internal/tf/schema/data_source_postgres_projects.go +++ b/bundle/internal/tf/schema/data_source_postgres_projects.go @@ -13,7 +13,7 @@ type DataSourcePostgresProjectsProjectsInitialEndpointSpec struct { } type DataSourcePostgresProjectsProjectsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresProjectsProjectsSpecCustomTags struct { @@ -64,14 +64,17 @@ type DataSourcePostgresProjectsProjectsStatus struct { HistoryRetentionDuration string `json:"history_retention_duration,omitempty"` Owner string `json:"owner,omitempty"` PgVersion int `json:"pg_version,omitempty"` + ProjectId string `json:"project_id,omitempty"` SyntheticStorageSizeBytes int `json:"synthetic_storage_size_bytes,omitempty"` } type DataSourcePostgresProjectsProjects struct { CreateTime string `json:"create_time,omitempty"` + DeleteTime string `json:"delete_time,omitempty"` InitialEndpointSpec *DataSourcePostgresProjectsProjectsInitialEndpointSpec `json:"initial_endpoint_spec,omitempty"` Name string `json:"name"` ProviderConfig *DataSourcePostgresProjectsProjectsProviderConfig `json:"provider_config,omitempty"` + PurgeTime string `json:"purge_time,omitempty"` Spec *DataSourcePostgresProjectsProjectsSpec `json:"spec,omitempty"` Status *DataSourcePostgresProjectsProjectsStatus `json:"status,omitempty"` Uid string `json:"uid,omitempty"` @@ -79,11 +82,12 @@ type DataSourcePostgresProjectsProjects struct { } type DataSourcePostgresProjectsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresProjects struct { PageSize int `json:"page_size,omitempty"` Projects []DataSourcePostgresProjectsProjects `json:"projects,omitempty"` ProviderConfig *DataSourcePostgresProjectsProviderConfig `json:"provider_config,omitempty"` + ShowDeleted bool `json:"show_deleted,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_postgres_role.go b/bundle/internal/tf/schema/data_source_postgres_role.go index 2c012a8d60..b14d3f18db 100644 --- a/bundle/internal/tf/schema/data_source_postgres_role.go +++ b/bundle/internal/tf/schema/data_source_postgres_role.go @@ -3,7 +3,7 @@ package schema type DataSourcePostgresRoleProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresRoleSpecAttributes struct { @@ -32,6 +32,7 @@ type DataSourcePostgresRoleStatus struct { IdentityType string `json:"identity_type,omitempty"` MembershipRoles []string `json:"membership_roles,omitempty"` PostgresRole string `json:"postgres_role,omitempty"` + RoleId string `json:"role_id,omitempty"` } type DataSourcePostgresRole struct { diff --git a/bundle/internal/tf/schema/data_source_postgres_roles.go b/bundle/internal/tf/schema/data_source_postgres_roles.go index 828e472d38..910b143ef2 100644 --- a/bundle/internal/tf/schema/data_source_postgres_roles.go +++ b/bundle/internal/tf/schema/data_source_postgres_roles.go @@ -3,11 +3,11 @@ package schema type DataSourcePostgresRolesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresRolesRolesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresRolesRolesSpecAttributes struct { @@ -36,6 +36,7 @@ type DataSourcePostgresRolesRolesStatus struct { IdentityType string `json:"identity_type,omitempty"` MembershipRoles []string `json:"membership_roles,omitempty"` PostgresRole string `json:"postgres_role,omitempty"` + RoleId string `json:"role_id,omitempty"` } type DataSourcePostgresRolesRoles struct { diff --git a/bundle/internal/tf/schema/data_source_postgres_synced_table.go b/bundle/internal/tf/schema/data_source_postgres_synced_table.go index ea8899ba07..dbdfac6c98 100644 --- a/bundle/internal/tf/schema/data_source_postgres_synced_table.go +++ b/bundle/internal/tf/schema/data_source_postgres_synced_table.go @@ -3,7 +3,7 @@ package schema type DataSourcePostgresSyncedTableProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourcePostgresSyncedTableSpecNewPipelineSpec struct { @@ -51,6 +51,7 @@ type DataSourcePostgresSyncedTableStatus struct { Message string `json:"message,omitempty"` OngoingSyncProgress *DataSourcePostgresSyncedTableStatusOngoingSyncProgress `json:"ongoing_sync_progress,omitempty"` PipelineId string `json:"pipeline_id,omitempty"` + Project string `json:"project,omitempty"` ProvisioningPhase string `json:"provisioning_phase,omitempty"` UnityCatalogProvisioningState string `json:"unity_catalog_provisioning_state,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_quality_monitor_v2.go b/bundle/internal/tf/schema/data_source_quality_monitor_v2.go index 14a56c7612..7e11fcdcdd 100644 --- a/bundle/internal/tf/schema/data_source_quality_monitor_v2.go +++ b/bundle/internal/tf/schema/data_source_quality_monitor_v2.go @@ -9,7 +9,7 @@ type DataSourceQualityMonitorV2AnomalyDetectionConfig struct { } type DataSourceQualityMonitorV2ProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceQualityMonitorV2ValidityCheckConfigurationsPercentNullValidityCheck struct { diff --git a/bundle/internal/tf/schema/data_source_quality_monitors_v2.go b/bundle/internal/tf/schema/data_source_quality_monitors_v2.go index b0bd64c2fb..515a7625a8 100644 --- a/bundle/internal/tf/schema/data_source_quality_monitors_v2.go +++ b/bundle/internal/tf/schema/data_source_quality_monitors_v2.go @@ -3,7 +3,7 @@ package schema type DataSourceQualityMonitorsV2ProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceQualityMonitorsV2QualityMonitorsAnomalyDetectionConfig struct { @@ -13,7 +13,7 @@ type DataSourceQualityMonitorsV2QualityMonitorsAnomalyDetectionConfig struct { } type DataSourceQualityMonitorsV2QualityMonitorsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceQualityMonitorsV2QualityMonitorsValidityCheckConfigurationsPercentNullValidityCheck struct { diff --git a/bundle/internal/tf/schema/data_source_registered_model.go b/bundle/internal/tf/schema/data_source_registered_model.go index afa3841d5e..e77b9a613a 100644 --- a/bundle/internal/tf/schema/data_source_registered_model.go +++ b/bundle/internal/tf/schema/data_source_registered_model.go @@ -29,7 +29,7 @@ type DataSourceRegisteredModelModelInfo struct { } type DataSourceRegisteredModelProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceRegisteredModel struct { diff --git a/bundle/internal/tf/schema/data_source_registered_model_versions.go b/bundle/internal/tf/schema/data_source_registered_model_versions.go index fa923bddaa..ab389ec0ef 100644 --- a/bundle/internal/tf/schema/data_source_registered_model_versions.go +++ b/bundle/internal/tf/schema/data_source_registered_model_versions.go @@ -60,7 +60,7 @@ type DataSourceRegisteredModelVersionsModelVersions struct { } type DataSourceRegisteredModelVersionsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceRegisteredModelVersions struct { diff --git a/bundle/internal/tf/schema/data_source_rfa_access_request_destinations.go b/bundle/internal/tf/schema/data_source_rfa_access_request_destinations.go index 9bb1cee7b7..b7f61e735f 100644 --- a/bundle/internal/tf/schema/data_source_rfa_access_request_destinations.go +++ b/bundle/internal/tf/schema/data_source_rfa_access_request_destinations.go @@ -15,7 +15,7 @@ type DataSourceRfaAccessRequestDestinationsDestinations struct { } type DataSourceRfaAccessRequestDestinationsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceRfaAccessRequestDestinationsSecurable struct { diff --git a/bundle/internal/tf/schema/data_source_schema.go b/bundle/internal/tf/schema/data_source_schema.go index f6ec4455af..72f7416734 100644 --- a/bundle/internal/tf/schema/data_source_schema.go +++ b/bundle/internal/tf/schema/data_source_schema.go @@ -3,7 +3,7 @@ package schema type DataSourceSchemaProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceSchemaSchemaInfoEffectivePredictiveOptimizationFlag struct { diff --git a/bundle/internal/tf/schema/data_source_schemas.go b/bundle/internal/tf/schema/data_source_schemas.go index d18f9e5902..0e726243c9 100644 --- a/bundle/internal/tf/schema/data_source_schemas.go +++ b/bundle/internal/tf/schema/data_source_schemas.go @@ -3,7 +3,7 @@ package schema type DataSourceSchemasProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceSchemas struct { diff --git a/bundle/internal/tf/schema/data_source_secret_uc.go b/bundle/internal/tf/schema/data_source_secret_uc.go new file mode 100644 index 0000000000..b9a7a57fe6 --- /dev/null +++ b/bundle/internal/tf/schema/data_source_secret_uc.go @@ -0,0 +1,28 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourceSecretUcProviderConfig struct { + WorkspaceId string `json:"workspace_id,omitempty"` +} + +type DataSourceSecretUc struct { + BrowseOnly bool `json:"browse_only,omitempty"` + CatalogName string `json:"catalog_name,omitempty"` + Comment string `json:"comment,omitempty"` + CreateTime string `json:"create_time,omitempty"` + CreatedBy string `json:"created_by,omitempty"` + EffectiveOwner string `json:"effective_owner,omitempty"` + EffectiveValue string `json:"effective_value,omitempty"` + ExpireTime string `json:"expire_time,omitempty"` + ExternalSecretId string `json:"external_secret_id,omitempty"` + FullName string `json:"full_name"` + MetastoreId string `json:"metastore_id,omitempty"` + Name string `json:"name,omitempty"` + Owner string `json:"owner,omitempty"` + ProviderConfig *DataSourceSecretUcProviderConfig `json:"provider_config,omitempty"` + SchemaName string `json:"schema_name,omitempty"` + UpdateTime string `json:"update_time,omitempty"` + UpdatedBy string `json:"updated_by,omitempty"` + Value string `json:"value,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_secret_ucs.go b/bundle/internal/tf/schema/data_source_secret_ucs.go new file mode 100644 index 0000000000..e9701e9270 --- /dev/null +++ b/bundle/internal/tf/schema/data_source_secret_ucs.go @@ -0,0 +1,41 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourceSecretUcsProviderConfig struct { + WorkspaceId string `json:"workspace_id,omitempty"` +} + +type DataSourceSecretUcsSecretsProviderConfig struct { + WorkspaceId string `json:"workspace_id,omitempty"` +} + +type DataSourceSecretUcsSecrets struct { + BrowseOnly bool `json:"browse_only,omitempty"` + CatalogName string `json:"catalog_name,omitempty"` + Comment string `json:"comment,omitempty"` + CreateTime string `json:"create_time,omitempty"` + CreatedBy string `json:"created_by,omitempty"` + EffectiveOwner string `json:"effective_owner,omitempty"` + EffectiveValue string `json:"effective_value,omitempty"` + ExpireTime string `json:"expire_time,omitempty"` + ExternalSecretId string `json:"external_secret_id,omitempty"` + FullName string `json:"full_name"` + MetastoreId string `json:"metastore_id,omitempty"` + Name string `json:"name,omitempty"` + Owner string `json:"owner,omitempty"` + ProviderConfig *DataSourceSecretUcsSecretsProviderConfig `json:"provider_config,omitempty"` + SchemaName string `json:"schema_name,omitempty"` + UpdateTime string `json:"update_time,omitempty"` + UpdatedBy string `json:"updated_by,omitempty"` + Value string `json:"value,omitempty"` +} + +type DataSourceSecretUcs struct { + CatalogName string `json:"catalog_name,omitempty"` + IncludeBrowse bool `json:"include_browse,omitempty"` + PageSize int `json:"page_size,omitempty"` + ProviderConfig *DataSourceSecretUcsProviderConfig `json:"provider_config,omitempty"` + SchemaName string `json:"schema_name,omitempty"` + Secrets []DataSourceSecretUcsSecrets `json:"secrets,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_service_principal.go b/bundle/internal/tf/schema/data_source_service_principal.go index 86024a87e9..a0c4e53835 100644 --- a/bundle/internal/tf/schema/data_source_service_principal.go +++ b/bundle/internal/tf/schema/data_source_service_principal.go @@ -3,12 +3,13 @@ package schema type DataSourceServicePrincipalProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceServicePrincipal struct { AclPrincipalId string `json:"acl_principal_id,omitempty"` Active bool `json:"active,omitempty"` + Api string `json:"api,omitempty"` ApplicationId string `json:"application_id,omitempty"` DisplayName string `json:"display_name,omitempty"` ExternalId string `json:"external_id,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_service_principals.go b/bundle/internal/tf/schema/data_source_service_principals.go index 7a84f68b07..fa6ad18c67 100644 --- a/bundle/internal/tf/schema/data_source_service_principals.go +++ b/bundle/internal/tf/schema/data_source_service_principals.go @@ -3,7 +3,7 @@ package schema type DataSourceServicePrincipalsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceServicePrincipalsServicePrincipals struct { @@ -20,6 +20,7 @@ type DataSourceServicePrincipalsServicePrincipals struct { } type DataSourceServicePrincipals struct { + Api string `json:"api,omitempty"` ApplicationIds []string `json:"application_ids,omitempty"` DisplayNameContains string `json:"display_name_contains,omitempty"` Id string `json:"id,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_serving_endpoints.go b/bundle/internal/tf/schema/data_source_serving_endpoints.go index 6f312c6a75..c22bd7ae7f 100644 --- a/bundle/internal/tf/schema/data_source_serving_endpoints.go +++ b/bundle/internal/tf/schema/data_source_serving_endpoints.go @@ -203,7 +203,7 @@ type DataSourceServingEndpointsEndpoints struct { } type DataSourceServingEndpointsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceServingEndpoints struct { diff --git a/bundle/internal/tf/schema/data_source_share.go b/bundle/internal/tf/schema/data_source_share.go index 91a5afff53..669dba15da 100644 --- a/bundle/internal/tf/schema/data_source_share.go +++ b/bundle/internal/tf/schema/data_source_share.go @@ -35,7 +35,7 @@ type DataSourceShareObject struct { } type DataSourceShareProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceShare struct { diff --git a/bundle/internal/tf/schema/data_source_shares.go b/bundle/internal/tf/schema/data_source_shares.go index a4d8d6c29b..09e7aad6db 100644 --- a/bundle/internal/tf/schema/data_source_shares.go +++ b/bundle/internal/tf/schema/data_source_shares.go @@ -3,7 +3,7 @@ package schema type DataSourceSharesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceShares struct { diff --git a/bundle/internal/tf/schema/data_source_spark_version.go b/bundle/internal/tf/schema/data_source_spark_version.go index fdffbb94e8..9a228d683b 100644 --- a/bundle/internal/tf/schema/data_source_spark_version.go +++ b/bundle/internal/tf/schema/data_source_spark_version.go @@ -3,7 +3,7 @@ package schema type DataSourceSparkVersionProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceSparkVersion struct { diff --git a/bundle/internal/tf/schema/data_source_sql_warehouse.go b/bundle/internal/tf/schema/data_source_sql_warehouse.go index 107d1d0a06..761149790f 100644 --- a/bundle/internal/tf/schema/data_source_sql_warehouse.go +++ b/bundle/internal/tf/schema/data_source_sql_warehouse.go @@ -29,7 +29,7 @@ type DataSourceSqlWarehouseOdbcParams struct { } type DataSourceSqlWarehouseProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceSqlWarehouseTagsCustomTags struct { diff --git a/bundle/internal/tf/schema/data_source_sql_warehouses.go b/bundle/internal/tf/schema/data_source_sql_warehouses.go index b7ccd9d84d..1f852f1005 100644 --- a/bundle/internal/tf/schema/data_source_sql_warehouses.go +++ b/bundle/internal/tf/schema/data_source_sql_warehouses.go @@ -3,7 +3,7 @@ package schema type DataSourceSqlWarehousesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceSqlWarehouses struct { diff --git a/bundle/internal/tf/schema/data_source_storage_credential.go b/bundle/internal/tf/schema/data_source_storage_credential.go index 4940c4b83c..5569790596 100644 --- a/bundle/internal/tf/schema/data_source_storage_credential.go +++ b/bundle/internal/tf/schema/data_source_storage_credential.go @@ -3,7 +3,7 @@ package schema type DataSourceStorageCredentialProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceStorageCredentialStorageCredentialInfoAwsIamRole struct { diff --git a/bundle/internal/tf/schema/data_source_storage_credentials.go b/bundle/internal/tf/schema/data_source_storage_credentials.go index a1b068e333..6d40e6aaef 100644 --- a/bundle/internal/tf/schema/data_source_storage_credentials.go +++ b/bundle/internal/tf/schema/data_source_storage_credentials.go @@ -3,7 +3,7 @@ package schema type DataSourceStorageCredentialsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceStorageCredentials struct { diff --git a/bundle/internal/tf/schema/data_source_supervisor_agent.go b/bundle/internal/tf/schema/data_source_supervisor_agent.go new file mode 100644 index 0000000000..8d4988118a --- /dev/null +++ b/bundle/internal/tf/schema/data_source_supervisor_agent.go @@ -0,0 +1,21 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourceSupervisorAgentProviderConfig struct { + WorkspaceId string `json:"workspace_id,omitempty"` +} + +type DataSourceSupervisorAgent struct { + CreateTime string `json:"create_time,omitempty"` + Creator string `json:"creator,omitempty"` + Description string `json:"description,omitempty"` + DisplayName string `json:"display_name,omitempty"` + EndpointName string `json:"endpoint_name,omitempty"` + ExperimentId string `json:"experiment_id,omitempty"` + Id string `json:"id,omitempty"` + Instructions string `json:"instructions,omitempty"` + Name string `json:"name"` + ProviderConfig *DataSourceSupervisorAgentProviderConfig `json:"provider_config,omitempty"` + SupervisorAgentId string `json:"supervisor_agent_id,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_supervisor_agent_tool.go b/bundle/internal/tf/schema/data_source_supervisor_agent_tool.go new file mode 100644 index 0000000000..8b888d97c3 --- /dev/null +++ b/bundle/internal/tf/schema/data_source_supervisor_agent_tool.go @@ -0,0 +1,47 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourceSupervisorAgentToolApp struct { + Name string `json:"name"` +} + +type DataSourceSupervisorAgentToolGenieSpace struct { + Id string `json:"id"` +} + +type DataSourceSupervisorAgentToolKnowledgeAssistant struct { + KnowledgeAssistantId string `json:"knowledge_assistant_id"` + ServingEndpointName string `json:"serving_endpoint_name,omitempty"` +} + +type DataSourceSupervisorAgentToolProviderConfig struct { + WorkspaceId string `json:"workspace_id,omitempty"` +} + +type DataSourceSupervisorAgentToolUcConnection struct { + Name string `json:"name"` +} + +type DataSourceSupervisorAgentToolUcFunction struct { + Name string `json:"name"` +} + +type DataSourceSupervisorAgentToolVolume struct { + Name string `json:"name"` +} + +type DataSourceSupervisorAgentTool struct { + App *DataSourceSupervisorAgentToolApp `json:"app,omitempty"` + Description string `json:"description,omitempty"` + GenieSpace *DataSourceSupervisorAgentToolGenieSpace `json:"genie_space,omitempty"` + Id string `json:"id,omitempty"` + KnowledgeAssistant *DataSourceSupervisorAgentToolKnowledgeAssistant `json:"knowledge_assistant,omitempty"` + Name string `json:"name"` + ProviderConfig *DataSourceSupervisorAgentToolProviderConfig `json:"provider_config,omitempty"` + ToolId string `json:"tool_id,omitempty"` + ToolType string `json:"tool_type,omitempty"` + UcConnection *DataSourceSupervisorAgentToolUcConnection `json:"uc_connection,omitempty"` + UcFunction *DataSourceSupervisorAgentToolUcFunction `json:"uc_function,omitempty"` + Volume *DataSourceSupervisorAgentToolVolume `json:"volume,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_supervisor_agent_tools.go b/bundle/internal/tf/schema/data_source_supervisor_agent_tools.go new file mode 100644 index 0000000000..fd6b9198f3 --- /dev/null +++ b/bundle/internal/tf/schema/data_source_supervisor_agent_tools.go @@ -0,0 +1,58 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourceSupervisorAgentToolsProviderConfig struct { + WorkspaceId string `json:"workspace_id,omitempty"` +} + +type DataSourceSupervisorAgentToolsToolsApp struct { + Name string `json:"name"` +} + +type DataSourceSupervisorAgentToolsToolsGenieSpace struct { + Id string `json:"id"` +} + +type DataSourceSupervisorAgentToolsToolsKnowledgeAssistant struct { + KnowledgeAssistantId string `json:"knowledge_assistant_id"` + ServingEndpointName string `json:"serving_endpoint_name,omitempty"` +} + +type DataSourceSupervisorAgentToolsToolsProviderConfig struct { + WorkspaceId string `json:"workspace_id,omitempty"` +} + +type DataSourceSupervisorAgentToolsToolsUcConnection struct { + Name string `json:"name"` +} + +type DataSourceSupervisorAgentToolsToolsUcFunction struct { + Name string `json:"name"` +} + +type DataSourceSupervisorAgentToolsToolsVolume struct { + Name string `json:"name"` +} + +type DataSourceSupervisorAgentToolsTools struct { + App *DataSourceSupervisorAgentToolsToolsApp `json:"app,omitempty"` + Description string `json:"description,omitempty"` + GenieSpace *DataSourceSupervisorAgentToolsToolsGenieSpace `json:"genie_space,omitempty"` + Id string `json:"id,omitempty"` + KnowledgeAssistant *DataSourceSupervisorAgentToolsToolsKnowledgeAssistant `json:"knowledge_assistant,omitempty"` + Name string `json:"name"` + ProviderConfig *DataSourceSupervisorAgentToolsToolsProviderConfig `json:"provider_config,omitempty"` + ToolId string `json:"tool_id,omitempty"` + ToolType string `json:"tool_type,omitempty"` + UcConnection *DataSourceSupervisorAgentToolsToolsUcConnection `json:"uc_connection,omitempty"` + UcFunction *DataSourceSupervisorAgentToolsToolsUcFunction `json:"uc_function,omitempty"` + Volume *DataSourceSupervisorAgentToolsToolsVolume `json:"volume,omitempty"` +} + +type DataSourceSupervisorAgentTools struct { + PageSize int `json:"page_size,omitempty"` + Parent string `json:"parent"` + ProviderConfig *DataSourceSupervisorAgentToolsProviderConfig `json:"provider_config,omitempty"` + Tools []DataSourceSupervisorAgentToolsTools `json:"tools,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_supervisor_agents.go b/bundle/internal/tf/schema/data_source_supervisor_agents.go new file mode 100644 index 0000000000..52ad02c3fd --- /dev/null +++ b/bundle/internal/tf/schema/data_source_supervisor_agents.go @@ -0,0 +1,31 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type DataSourceSupervisorAgentsProviderConfig struct { + WorkspaceId string `json:"workspace_id,omitempty"` +} + +type DataSourceSupervisorAgentsSupervisorAgentsProviderConfig struct { + WorkspaceId string `json:"workspace_id,omitempty"` +} + +type DataSourceSupervisorAgentsSupervisorAgents struct { + CreateTime string `json:"create_time,omitempty"` + Creator string `json:"creator,omitempty"` + Description string `json:"description,omitempty"` + DisplayName string `json:"display_name,omitempty"` + EndpointName string `json:"endpoint_name,omitempty"` + ExperimentId string `json:"experiment_id,omitempty"` + Id string `json:"id,omitempty"` + Instructions string `json:"instructions,omitempty"` + Name string `json:"name"` + ProviderConfig *DataSourceSupervisorAgentsSupervisorAgentsProviderConfig `json:"provider_config,omitempty"` + SupervisorAgentId string `json:"supervisor_agent_id,omitempty"` +} + +type DataSourceSupervisorAgents struct { + PageSize int `json:"page_size,omitempty"` + ProviderConfig *DataSourceSupervisorAgentsProviderConfig `json:"provider_config,omitempty"` + SupervisorAgents []DataSourceSupervisorAgentsSupervisorAgents `json:"supervisor_agents,omitempty"` +} diff --git a/bundle/internal/tf/schema/data_source_table.go b/bundle/internal/tf/schema/data_source_table.go index e3511d87e3..f75abfd4fc 100644 --- a/bundle/internal/tf/schema/data_source_table.go +++ b/bundle/internal/tf/schema/data_source_table.go @@ -3,7 +3,7 @@ package schema type DataSourceTableProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceTableTableInfoColumnsMaskUsingArguments struct { diff --git a/bundle/internal/tf/schema/data_source_tables.go b/bundle/internal/tf/schema/data_source_tables.go index 1f69243463..a6bce64145 100644 --- a/bundle/internal/tf/schema/data_source_tables.go +++ b/bundle/internal/tf/schema/data_source_tables.go @@ -3,7 +3,7 @@ package schema type DataSourceTablesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceTables struct { diff --git a/bundle/internal/tf/schema/data_source_tag_policies.go b/bundle/internal/tf/schema/data_source_tag_policies.go index d5dbe527b8..005348a243 100644 --- a/bundle/internal/tf/schema/data_source_tag_policies.go +++ b/bundle/internal/tf/schema/data_source_tag_policies.go @@ -3,11 +3,11 @@ package schema type DataSourceTagPoliciesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceTagPoliciesTagPoliciesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceTagPoliciesTagPoliciesValues struct { diff --git a/bundle/internal/tf/schema/data_source_tag_policy.go b/bundle/internal/tf/schema/data_source_tag_policy.go index d9e84e86dc..2d804be412 100644 --- a/bundle/internal/tf/schema/data_source_tag_policy.go +++ b/bundle/internal/tf/schema/data_source_tag_policy.go @@ -3,7 +3,7 @@ package schema type DataSourceTagPolicyProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceTagPolicyValues struct { diff --git a/bundle/internal/tf/schema/data_source_user.go b/bundle/internal/tf/schema/data_source_user.go index 4fc7924aae..fa042c38d3 100644 --- a/bundle/internal/tf/schema/data_source_user.go +++ b/bundle/internal/tf/schema/data_source_user.go @@ -3,7 +3,7 @@ package schema type DataSourceUserProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceUser struct { diff --git a/bundle/internal/tf/schema/data_source_users.go b/bundle/internal/tf/schema/data_source_users.go index 96326f7a29..6fea188b6f 100644 --- a/bundle/internal/tf/schema/data_source_users.go +++ b/bundle/internal/tf/schema/data_source_users.go @@ -3,7 +3,7 @@ package schema type DataSourceUsersProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceUsersUsersEmails struct { diff --git a/bundle/internal/tf/schema/data_source_views.go b/bundle/internal/tf/schema/data_source_views.go index abdbc60b86..06cd2d38b4 100644 --- a/bundle/internal/tf/schema/data_source_views.go +++ b/bundle/internal/tf/schema/data_source_views.go @@ -3,7 +3,7 @@ package schema type DataSourceViewsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceViews struct { diff --git a/bundle/internal/tf/schema/data_source_volume.go b/bundle/internal/tf/schema/data_source_volume.go index f62f6fdcbf..3b16a05aac 100644 --- a/bundle/internal/tf/schema/data_source_volume.go +++ b/bundle/internal/tf/schema/data_source_volume.go @@ -3,7 +3,7 @@ package schema type DataSourceVolumeProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceVolumeVolumeInfoEncryptionDetailsSseEncryptionDetails struct { diff --git a/bundle/internal/tf/schema/data_source_volumes.go b/bundle/internal/tf/schema/data_source_volumes.go index 3618957c95..74ff63435c 100644 --- a/bundle/internal/tf/schema/data_source_volumes.go +++ b/bundle/internal/tf/schema/data_source_volumes.go @@ -3,7 +3,7 @@ package schema type DataSourceVolumesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceVolumes struct { diff --git a/bundle/internal/tf/schema/data_source_warehouses_default_warehouse_override.go b/bundle/internal/tf/schema/data_source_warehouses_default_warehouse_override.go index 0521521bf0..9ea9f27a0a 100644 --- a/bundle/internal/tf/schema/data_source_warehouses_default_warehouse_override.go +++ b/bundle/internal/tf/schema/data_source_warehouses_default_warehouse_override.go @@ -3,7 +3,7 @@ package schema type DataSourceWarehousesDefaultWarehouseOverrideProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceWarehousesDefaultWarehouseOverride struct { diff --git a/bundle/internal/tf/schema/data_source_warehouses_default_warehouse_overrides.go b/bundle/internal/tf/schema/data_source_warehouses_default_warehouse_overrides.go index 7939c1444e..0182861781 100644 --- a/bundle/internal/tf/schema/data_source_warehouses_default_warehouse_overrides.go +++ b/bundle/internal/tf/schema/data_source_warehouses_default_warehouse_overrides.go @@ -3,7 +3,7 @@ package schema type DataSourceWarehousesDefaultWarehouseOverridesDefaultWarehouseOverridesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceWarehousesDefaultWarehouseOverridesDefaultWarehouseOverrides struct { @@ -15,7 +15,7 @@ type DataSourceWarehousesDefaultWarehouseOverridesDefaultWarehouseOverrides stru } type DataSourceWarehousesDefaultWarehouseOverridesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceWarehousesDefaultWarehouseOverrides struct { diff --git a/bundle/internal/tf/schema/data_source_workspace_entity_tag_assignment.go b/bundle/internal/tf/schema/data_source_workspace_entity_tag_assignment.go index 9fa9a35835..0d11833151 100644 --- a/bundle/internal/tf/schema/data_source_workspace_entity_tag_assignment.go +++ b/bundle/internal/tf/schema/data_source_workspace_entity_tag_assignment.go @@ -3,7 +3,7 @@ package schema type DataSourceWorkspaceEntityTagAssignmentProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceWorkspaceEntityTagAssignment struct { diff --git a/bundle/internal/tf/schema/data_source_workspace_entity_tag_assignments.go b/bundle/internal/tf/schema/data_source_workspace_entity_tag_assignments.go index 7fa301dbed..3bc41128f7 100644 --- a/bundle/internal/tf/schema/data_source_workspace_entity_tag_assignments.go +++ b/bundle/internal/tf/schema/data_source_workspace_entity_tag_assignments.go @@ -3,11 +3,11 @@ package schema type DataSourceWorkspaceEntityTagAssignmentsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceWorkspaceEntityTagAssignmentsTagAssignmentsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceWorkspaceEntityTagAssignmentsTagAssignments struct { diff --git a/bundle/internal/tf/schema/data_source_workspace_setting_v2.go b/bundle/internal/tf/schema/data_source_workspace_setting_v2.go index f65716e9af..fcca8a1ce4 100644 --- a/bundle/internal/tf/schema/data_source_workspace_setting_v2.go +++ b/bundle/internal/tf/schema/data_source_workspace_setting_v2.go @@ -110,7 +110,7 @@ type DataSourceWorkspaceSettingV2PersonalCompute struct { } type DataSourceWorkspaceSettingV2ProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceWorkspaceSettingV2RestrictWorkspaceAdmins struct { diff --git a/bundle/internal/tf/schema/data_source_zones.go b/bundle/internal/tf/schema/data_source_zones.go index fdb8459adb..44560facdc 100644 --- a/bundle/internal/tf/schema/data_source_zones.go +++ b/bundle/internal/tf/schema/data_source_zones.go @@ -3,7 +3,7 @@ package schema type DataSourceZonesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type DataSourceZones struct { diff --git a/bundle/internal/tf/schema/data_sources.go b/bundle/internal/tf/schema/data_sources.go index 8dde049fe1..676a09a658 100644 --- a/bundle/internal/tf/schema/data_sources.go +++ b/bundle/internal/tf/schema/data_sources.go @@ -47,6 +47,10 @@ type DataSources struct { DbfsFile map[string]any `json:"databricks_dbfs_file,omitempty"` DbfsFilePaths map[string]any `json:"databricks_dbfs_file_paths,omitempty"` Directory map[string]any `json:"databricks_directory,omitempty"` + DisasterRecoveryFailoverGroup map[string]any `json:"databricks_disaster_recovery_failover_group,omitempty"` + DisasterRecoveryFailoverGroups map[string]any `json:"databricks_disaster_recovery_failover_groups,omitempty"` + DisasterRecoveryStableUrl map[string]any `json:"databricks_disaster_recovery_stable_url,omitempty"` + DisasterRecoveryStableUrls map[string]any `json:"databricks_disaster_recovery_stable_urls,omitempty"` Endpoint map[string]any `json:"databricks_endpoint,omitempty"` Endpoints map[string]any `json:"databricks_endpoints,omitempty"` EntityTagAssignment map[string]any `json:"databricks_entity_tag_assignment,omitempty"` @@ -113,6 +117,8 @@ type DataSources struct { RfaAccessRequestDestinations map[string]any `json:"databricks_rfa_access_request_destinations,omitempty"` Schema map[string]any `json:"databricks_schema,omitempty"` Schemas map[string]any `json:"databricks_schemas,omitempty"` + SecretUc map[string]any `json:"databricks_secret_uc,omitempty"` + SecretUcs map[string]any `json:"databricks_secret_ucs,omitempty"` ServicePrincipal map[string]any `json:"databricks_service_principal,omitempty"` ServicePrincipalFederationPolicies map[string]any `json:"databricks_service_principal_federation_policies,omitempty"` ServicePrincipalFederationPolicy map[string]any `json:"databricks_service_principal_federation_policy,omitempty"` @@ -125,6 +131,10 @@ type DataSources struct { SqlWarehouses map[string]any `json:"databricks_sql_warehouses,omitempty"` StorageCredential map[string]any `json:"databricks_storage_credential,omitempty"` StorageCredentials map[string]any `json:"databricks_storage_credentials,omitempty"` + SupervisorAgent map[string]any `json:"databricks_supervisor_agent,omitempty"` + SupervisorAgentTool map[string]any `json:"databricks_supervisor_agent_tool,omitempty"` + SupervisorAgentTools map[string]any `json:"databricks_supervisor_agent_tools,omitempty"` + SupervisorAgents map[string]any `json:"databricks_supervisor_agents,omitempty"` Table map[string]any `json:"databricks_table,omitempty"` Tables map[string]any `json:"databricks_tables,omitempty"` TagPolicies map[string]any `json:"databricks_tag_policies,omitempty"` @@ -189,6 +199,10 @@ func NewDataSources() *DataSources { DbfsFile: make(map[string]any), DbfsFilePaths: make(map[string]any), Directory: make(map[string]any), + DisasterRecoveryFailoverGroup: make(map[string]any), + DisasterRecoveryFailoverGroups: make(map[string]any), + DisasterRecoveryStableUrl: make(map[string]any), + DisasterRecoveryStableUrls: make(map[string]any), Endpoint: make(map[string]any), Endpoints: make(map[string]any), EntityTagAssignment: make(map[string]any), @@ -255,6 +269,8 @@ func NewDataSources() *DataSources { RfaAccessRequestDestinations: make(map[string]any), Schema: make(map[string]any), Schemas: make(map[string]any), + SecretUc: make(map[string]any), + SecretUcs: make(map[string]any), ServicePrincipal: make(map[string]any), ServicePrincipalFederationPolicies: make(map[string]any), ServicePrincipalFederationPolicy: make(map[string]any), @@ -267,6 +283,10 @@ func NewDataSources() *DataSources { SqlWarehouses: make(map[string]any), StorageCredential: make(map[string]any), StorageCredentials: make(map[string]any), + SupervisorAgent: make(map[string]any), + SupervisorAgentTool: make(map[string]any), + SupervisorAgentTools: make(map[string]any), + SupervisorAgents: make(map[string]any), Table: make(map[string]any), Tables: make(map[string]any), TagPolicies: make(map[string]any), diff --git a/bundle/internal/tf/schema/resource_access_control_rule_set.go b/bundle/internal/tf/schema/resource_access_control_rule_set.go index 10f84ef066..62fd8ba29e 100644 --- a/bundle/internal/tf/schema/resource_access_control_rule_set.go +++ b/bundle/internal/tf/schema/resource_access_control_rule_set.go @@ -8,7 +8,7 @@ type ResourceAccessControlRuleSetGrantRules struct { } type ResourceAccessControlRuleSetProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceAccessControlRuleSet struct { diff --git a/bundle/internal/tf/schema/resource_account_network_policy.go b/bundle/internal/tf/schema/resource_account_network_policy.go index 9cb5c8524d..294997a5d6 100644 --- a/bundle/internal/tf/schema/resource_account_network_policy.go +++ b/bundle/internal/tf/schema/resource_account_network_policy.go @@ -15,6 +15,11 @@ type ResourceAccountNetworkPolicyEgressNetworkAccessAllowedStorageDestinations s StorageDestinationType string `json:"storage_destination_type,omitempty"` } +type ResourceAccountNetworkPolicyEgressNetworkAccessBlockedInternetDestinations struct { + Destination string `json:"destination,omitempty"` + InternetDestinationType string `json:"internet_destination_type,omitempty"` +} + type ResourceAccountNetworkPolicyEgressNetworkAccessPolicyEnforcement struct { DryRunModeProductFilter []string `json:"dry_run_mode_product_filter,omitempty"` EnforcementMode string `json:"enforcement_mode,omitempty"` @@ -23,6 +28,7 @@ type ResourceAccountNetworkPolicyEgressNetworkAccessPolicyEnforcement struct { type ResourceAccountNetworkPolicyEgressNetworkAccess struct { AllowedInternetDestinations []ResourceAccountNetworkPolicyEgressNetworkAccessAllowedInternetDestinations `json:"allowed_internet_destinations,omitempty"` AllowedStorageDestinations []ResourceAccountNetworkPolicyEgressNetworkAccessAllowedStorageDestinations `json:"allowed_storage_destinations,omitempty"` + BlockedInternetDestinations []ResourceAccountNetworkPolicyEgressNetworkAccessBlockedInternetDestinations `json:"blocked_internet_destinations,omitempty"` PolicyEnforcement *ResourceAccountNetworkPolicyEgressNetworkAccessPolicyEnforcement `json:"policy_enforcement,omitempty"` RestrictionMode string `json:"restriction_mode"` } @@ -31,6 +37,150 @@ type ResourceAccountNetworkPolicyEgress struct { NetworkAccess *ResourceAccountNetworkPolicyEgressNetworkAccess `json:"network_access,omitempty"` } +type ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesAuthenticationIdentities struct { + PrincipalId int `json:"principal_id,omitempty"` + PrincipalType string `json:"principal_type,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesAuthentication struct { + Identities []ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesAuthenticationIdentities `json:"identities,omitempty"` + IdentityType string `json:"identity_type,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationWorkspaceApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationWorkspaceUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestination struct { + AccountApi *ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesOriginEndpoints struct { + EndpointIds []string `json:"endpoint_ids,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesOrigin struct { + AllPrivateAccess bool `json:"all_private_access,omitempty"` + AllRegisteredEndpoints bool `json:"all_registered_endpoints,omitempty"` + AzureWorkspacePrivateLink bool `json:"azure_workspace_private_link,omitempty"` + Endpoints *ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesOriginEndpoints `json:"endpoints,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessAllowRules struct { + Authentication *ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesAuthentication `json:"authentication,omitempty"` + Destination *ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesDestination `json:"destination,omitempty"` + Label string `json:"label,omitempty"` + Origin *ResourceAccountNetworkPolicyIngressPrivateAccessAllowRulesOrigin `json:"origin,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesAuthenticationIdentities struct { + PrincipalId int `json:"principal_id,omitempty"` + PrincipalType string `json:"principal_type,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesAuthentication struct { + Identities []ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesAuthenticationIdentities `json:"identities,omitempty"` + IdentityType string `json:"identity_type,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationWorkspaceApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationWorkspaceUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestination struct { + AccountApi *ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesOriginEndpoints struct { + EndpointIds []string `json:"endpoint_ids,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesOrigin struct { + AllPrivateAccess bool `json:"all_private_access,omitempty"` + AllRegisteredEndpoints bool `json:"all_registered_endpoints,omitempty"` + AzureWorkspacePrivateLink bool `json:"azure_workspace_private_link,omitempty"` + Endpoints *ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesOriginEndpoints `json:"endpoints,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccessDenyRules struct { + Authentication *ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesAuthentication `json:"authentication,omitempty"` + Destination *ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesDestination `json:"destination,omitempty"` + Label string `json:"label,omitempty"` + Origin *ResourceAccountNetworkPolicyIngressPrivateAccessDenyRulesOrigin `json:"origin,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPrivateAccess struct { + AllowRules []ResourceAccountNetworkPolicyIngressPrivateAccessAllowRules `json:"allow_rules,omitempty"` + DenyRules []ResourceAccountNetworkPolicyIngressPrivateAccessDenyRules `json:"deny_rules,omitempty"` + RestrictionMode string `json:"restriction_mode"` +} + type ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesAuthenticationIdentities struct { PrincipalId int `json:"principal_id,omitempty"` PrincipalType string `json:"principal_type,omitempty"` @@ -41,8 +191,30 @@ type ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesAuthentication str IdentityType string `json:"identity_type,omitempty"` } +type ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + type ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorkspaceApi struct { - Scopes []string `json:"scopes,omitempty"` + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` } type ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorkspaceUi struct { @@ -50,9 +222,14 @@ type ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorkspa } type ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestination struct { - AllDestinations bool `json:"all_destinations,omitempty"` - WorkspaceApi *ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` - WorkspaceUi *ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` + AccountApi *ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` } type ResourceAccountNetworkPolicyIngressPublicAccessAllowRulesOriginExcludedIpRanges struct { @@ -86,8 +263,30 @@ type ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesAuthentication stru IdentityType string `json:"identity_type,omitempty"` } +type ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + type ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorkspaceApi struct { - Scopes []string `json:"scopes,omitempty"` + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` } type ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorkspaceUi struct { @@ -95,9 +294,14 @@ type ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorkspac } type ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestination struct { - AllDestinations bool `json:"all_destinations,omitempty"` - WorkspaceApi *ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` - WorkspaceUi *ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` + AccountApi *ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` } type ResourceAccountNetworkPolicyIngressPublicAccessDenyRulesOriginExcludedIpRanges struct { @@ -128,7 +332,152 @@ type ResourceAccountNetworkPolicyIngressPublicAccess struct { } type ResourceAccountNetworkPolicyIngress struct { - PublicAccess *ResourceAccountNetworkPolicyIngressPublicAccess `json:"public_access,omitempty"` + PrivateAccess *ResourceAccountNetworkPolicyIngressPrivateAccess `json:"private_access,omitempty"` + PublicAccess *ResourceAccountNetworkPolicyIngressPublicAccess `json:"public_access,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesAuthenticationIdentities struct { + PrincipalId int `json:"principal_id,omitempty"` + PrincipalType string `json:"principal_type,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesAuthentication struct { + Identities []ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesAuthenticationIdentities `json:"identities,omitempty"` + IdentityType string `json:"identity_type,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationWorkspaceApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationWorkspaceUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestination struct { + AccountApi *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesOriginEndpoints struct { + EndpointIds []string `json:"endpoint_ids,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesOrigin struct { + AllPrivateAccess bool `json:"all_private_access,omitempty"` + AllRegisteredEndpoints bool `json:"all_registered_endpoints,omitempty"` + AzureWorkspacePrivateLink bool `json:"azure_workspace_private_link,omitempty"` + Endpoints *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesOriginEndpoints `json:"endpoints,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRules struct { + Authentication *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesAuthentication `json:"authentication,omitempty"` + Destination *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesDestination `json:"destination,omitempty"` + Label string `json:"label,omitempty"` + Origin *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRulesOrigin `json:"origin,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesAuthenticationIdentities struct { + PrincipalId int `json:"principal_id,omitempty"` + PrincipalType string `json:"principal_type,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesAuthentication struct { + Identities []ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesAuthenticationIdentities `json:"identities,omitempty"` + IdentityType string `json:"identity_type,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationWorkspaceApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationWorkspaceUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestination struct { + AccountApi *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesOriginEndpoints struct { + EndpointIds []string `json:"endpoint_ids,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesOrigin struct { + AllPrivateAccess bool `json:"all_private_access,omitempty"` + AllRegisteredEndpoints bool `json:"all_registered_endpoints,omitempty"` + AzureWorkspacePrivateLink bool `json:"azure_workspace_private_link,omitempty"` + Endpoints *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesOriginEndpoints `json:"endpoints,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRules struct { + Authentication *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesAuthentication `json:"authentication,omitempty"` + Destination *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesDestination `json:"destination,omitempty"` + Label string `json:"label,omitempty"` + Origin *ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRulesOrigin `json:"origin,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPrivateAccess struct { + AllowRules []ResourceAccountNetworkPolicyIngressDryRunPrivateAccessAllowRules `json:"allow_rules,omitempty"` + DenyRules []ResourceAccountNetworkPolicyIngressDryRunPrivateAccessDenyRules `json:"deny_rules,omitempty"` + RestrictionMode string `json:"restriction_mode"` } type ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesAuthenticationIdentities struct { @@ -141,8 +490,30 @@ type ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesAuthenticati IdentityType string `json:"identity_type,omitempty"` } +type ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + type ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationWorkspaceApi struct { - Scopes []string `json:"scopes,omitempty"` + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` } type ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationWorkspaceUi struct { @@ -150,9 +521,14 @@ type ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationW } type ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestination struct { - AllDestinations bool `json:"all_destinations,omitempty"` - WorkspaceApi *ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` - WorkspaceUi *ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` + AccountApi *ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` } type ResourceAccountNetworkPolicyIngressDryRunPublicAccessAllowRulesOriginExcludedIpRanges struct { @@ -186,8 +562,30 @@ type ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesAuthenticatio IdentityType string `json:"identity_type,omitempty"` } +type ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAccountApi struct { + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAccountDatabricksOne struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAccountUi struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAppsRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + +type ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationLakebaseRuntime struct { + AllDestinations bool `json:"all_destinations,omitempty"` +} + type ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationWorkspaceApi struct { - Scopes []string `json:"scopes,omitempty"` + ScopeQualifier string `json:"scope_qualifier,omitempty"` + Scopes []string `json:"scopes,omitempty"` } type ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationWorkspaceUi struct { @@ -195,9 +593,14 @@ type ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationWo } type ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestination struct { - AllDestinations bool `json:"all_destinations,omitempty"` - WorkspaceApi *ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` - WorkspaceUi *ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` + AccountApi *ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAccountApi `json:"account_api,omitempty"` + AccountDatabricksOne *ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAccountDatabricksOne `json:"account_databricks_one,omitempty"` + AccountUi *ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAccountUi `json:"account_ui,omitempty"` + AllDestinations bool `json:"all_destinations,omitempty"` + AppsRuntime *ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationAppsRuntime `json:"apps_runtime,omitempty"` + LakebaseRuntime *ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationLakebaseRuntime `json:"lakebase_runtime,omitempty"` + WorkspaceApi *ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationWorkspaceApi `json:"workspace_api,omitempty"` + WorkspaceUi *ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesDestinationWorkspaceUi `json:"workspace_ui,omitempty"` } type ResourceAccountNetworkPolicyIngressDryRunPublicAccessDenyRulesOriginExcludedIpRanges struct { @@ -228,7 +631,8 @@ type ResourceAccountNetworkPolicyIngressDryRunPublicAccess struct { } type ResourceAccountNetworkPolicyIngressDryRun struct { - PublicAccess *ResourceAccountNetworkPolicyIngressDryRunPublicAccess `json:"public_access,omitempty"` + PrivateAccess *ResourceAccountNetworkPolicyIngressDryRunPrivateAccess `json:"private_access,omitempty"` + PublicAccess *ResourceAccountNetworkPolicyIngressDryRunPublicAccess `json:"public_access,omitempty"` } type ResourceAccountNetworkPolicy struct { diff --git a/bundle/internal/tf/schema/resource_aibi_dashboard_embedding_access_policy_setting.go b/bundle/internal/tf/schema/resource_aibi_dashboard_embedding_access_policy_setting.go index d249da26d4..4e67f685b5 100644 --- a/bundle/internal/tf/schema/resource_aibi_dashboard_embedding_access_policy_setting.go +++ b/bundle/internal/tf/schema/resource_aibi_dashboard_embedding_access_policy_setting.go @@ -7,7 +7,7 @@ type ResourceAibiDashboardEmbeddingAccessPolicySettingAibiDashboardEmbeddingAcce } type ResourceAibiDashboardEmbeddingAccessPolicySettingProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceAibiDashboardEmbeddingAccessPolicySetting struct { diff --git a/bundle/internal/tf/schema/resource_aibi_dashboard_embedding_approved_domains_setting.go b/bundle/internal/tf/schema/resource_aibi_dashboard_embedding_approved_domains_setting.go index 523d622614..f33690de6d 100644 --- a/bundle/internal/tf/schema/resource_aibi_dashboard_embedding_approved_domains_setting.go +++ b/bundle/internal/tf/schema/resource_aibi_dashboard_embedding_approved_domains_setting.go @@ -7,7 +7,7 @@ type ResourceAibiDashboardEmbeddingApprovedDomainsSettingAibiDashboardEmbeddingA } type ResourceAibiDashboardEmbeddingApprovedDomainsSettingProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceAibiDashboardEmbeddingApprovedDomainsSetting struct { diff --git a/bundle/internal/tf/schema/resource_alert.go b/bundle/internal/tf/schema/resource_alert.go index bfd7acc6cb..043ae3773e 100644 --- a/bundle/internal/tf/schema/resource_alert.go +++ b/bundle/internal/tf/schema/resource_alert.go @@ -28,7 +28,7 @@ type ResourceAlertCondition struct { } type ResourceAlertProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceAlert struct { diff --git a/bundle/internal/tf/schema/resource_alert_v2.go b/bundle/internal/tf/schema/resource_alert_v2.go index 147c4f5c79..b9cdec8471 100644 --- a/bundle/internal/tf/schema/resource_alert_v2.go +++ b/bundle/internal/tf/schema/resource_alert_v2.go @@ -54,7 +54,7 @@ type ResourceAlertV2Evaluation struct { } type ResourceAlertV2ProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceAlertV2RunAs struct { diff --git a/bundle/internal/tf/schema/resource_app.go b/bundle/internal/tf/schema/resource_app.go index 02a1c2c3a6..c4c1fce02c 100644 --- a/bundle/internal/tf/schema/resource_app.go +++ b/bundle/internal/tf/schema/resource_app.go @@ -216,6 +216,7 @@ type ResourceApp struct { ServicePrincipalName string `json:"service_principal_name,omitempty"` Space string `json:"space,omitempty"` TelemetryExportDestinations []ResourceAppTelemetryExportDestinations `json:"telemetry_export_destinations,omitempty"` + ThumbnailUrl string `json:"thumbnail_url,omitempty"` UpdateTime string `json:"update_time,omitempty"` Updater string `json:"updater,omitempty"` Url string `json:"url,omitempty"` diff --git a/bundle/internal/tf/schema/resource_app_space.go b/bundle/internal/tf/schema/resource_app_space.go index a05ee12358..0b066cfa65 100644 --- a/bundle/internal/tf/schema/resource_app_space.go +++ b/bundle/internal/tf/schema/resource_app_space.go @@ -3,7 +3,7 @@ package schema type ResourceAppSpaceProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceAppSpaceResourcesApp struct { diff --git a/bundle/internal/tf/schema/resource_apps_settings_custom_template.go b/bundle/internal/tf/schema/resource_apps_settings_custom_template.go index 3c89f06fd8..91177cd48c 100644 --- a/bundle/internal/tf/schema/resource_apps_settings_custom_template.go +++ b/bundle/internal/tf/schema/resource_apps_settings_custom_template.go @@ -46,7 +46,7 @@ type ResourceAppsSettingsCustomTemplateManifest struct { } type ResourceAppsSettingsCustomTemplateProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceAppsSettingsCustomTemplate struct { diff --git a/bundle/internal/tf/schema/resource_artifact_allowlist.go b/bundle/internal/tf/schema/resource_artifact_allowlist.go index a66c720a76..a3fce99add 100644 --- a/bundle/internal/tf/schema/resource_artifact_allowlist.go +++ b/bundle/internal/tf/schema/resource_artifact_allowlist.go @@ -8,7 +8,7 @@ type ResourceArtifactAllowlistArtifactMatcher struct { } type ResourceArtifactAllowlistProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceArtifactAllowlist struct { diff --git a/bundle/internal/tf/schema/resource_automatic_cluster_update_workspace_setting.go b/bundle/internal/tf/schema/resource_automatic_cluster_update_workspace_setting.go index 3ce38b1d02..dc42791e08 100644 --- a/bundle/internal/tf/schema/resource_automatic_cluster_update_workspace_setting.go +++ b/bundle/internal/tf/schema/resource_automatic_cluster_update_workspace_setting.go @@ -26,7 +26,7 @@ type ResourceAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspa } type ResourceAutomaticClusterUpdateWorkspaceSettingProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceAutomaticClusterUpdateWorkspaceSetting struct { diff --git a/bundle/internal/tf/schema/resource_catalog.go b/bundle/internal/tf/schema/resource_catalog.go index 1245cded7a..51b1735b38 100644 --- a/bundle/internal/tf/schema/resource_catalog.go +++ b/bundle/internal/tf/schema/resource_catalog.go @@ -21,7 +21,7 @@ type ResourceCatalogManagedEncryptionSettings struct { } type ResourceCatalogProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceCatalogProvisioningInfo struct { diff --git a/bundle/internal/tf/schema/resource_catalog_workspace_binding.go b/bundle/internal/tf/schema/resource_catalog_workspace_binding.go index dd80577280..55d46fb787 100644 --- a/bundle/internal/tf/schema/resource_catalog_workspace_binding.go +++ b/bundle/internal/tf/schema/resource_catalog_workspace_binding.go @@ -3,7 +3,7 @@ package schema type ResourceCatalogWorkspaceBindingProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceCatalogWorkspaceBinding struct { diff --git a/bundle/internal/tf/schema/resource_cluster.go b/bundle/internal/tf/schema/resource_cluster.go index 35070eb857..3c3aeed747 100644 --- a/bundle/internal/tf/schema/resource_cluster.go +++ b/bundle/internal/tf/schema/resource_cluster.go @@ -84,6 +84,7 @@ type ResourceClusterDriverNodeTypeFlexibility struct { type ResourceClusterGcpAttributes struct { Availability string `json:"availability,omitempty"` BootDiskSize int `json:"boot_disk_size,omitempty"` + ConfidentialComputeType string `json:"confidential_compute_type,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"` GoogleServiceAccount string `json:"google_service_account,omitempty"` LocalSsdCount int `json:"local_ssd_count,omitempty"` @@ -162,7 +163,7 @@ type ResourceClusterLibrary struct { } type ResourceClusterProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceClusterWorkerNodeTypeFlexibility struct { diff --git a/bundle/internal/tf/schema/resource_cluster_policy.go b/bundle/internal/tf/schema/resource_cluster_policy.go index e1c7c41464..b82a185fd5 100644 --- a/bundle/internal/tf/schema/resource_cluster_policy.go +++ b/bundle/internal/tf/schema/resource_cluster_policy.go @@ -14,7 +14,7 @@ type ResourceClusterPolicyLibrariesMaven struct { } type ResourceClusterPolicyLibrariesProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceClusterPolicyLibrariesPypi struct { @@ -34,7 +34,7 @@ type ResourceClusterPolicyLibraries struct { } type ResourceClusterPolicyProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceClusterPolicy struct { diff --git a/bundle/internal/tf/schema/resource_compliance_security_profile_workspace_setting.go b/bundle/internal/tf/schema/resource_compliance_security_profile_workspace_setting.go index 0e3ecc332c..2361f8598f 100644 --- a/bundle/internal/tf/schema/resource_compliance_security_profile_workspace_setting.go +++ b/bundle/internal/tf/schema/resource_compliance_security_profile_workspace_setting.go @@ -8,7 +8,7 @@ type ResourceComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileW } type ResourceComplianceSecurityProfileWorkspaceSettingProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceComplianceSecurityProfileWorkspaceSetting struct { diff --git a/bundle/internal/tf/schema/resource_connection.go b/bundle/internal/tf/schema/resource_connection.go index c27293c455..b92aa1e51f 100644 --- a/bundle/internal/tf/schema/resource_connection.go +++ b/bundle/internal/tf/schema/resource_connection.go @@ -3,7 +3,7 @@ package schema type ResourceConnectionProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceConnection struct { diff --git a/bundle/internal/tf/schema/resource_credential.go b/bundle/internal/tf/schema/resource_credential.go index bd8aae572c..aa16b9c4d5 100644 --- a/bundle/internal/tf/schema/resource_credential.go +++ b/bundle/internal/tf/schema/resource_credential.go @@ -27,7 +27,7 @@ type ResourceCredentialDatabricksGcpServiceAccount struct { } type ResourceCredentialProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceCredential struct { diff --git a/bundle/internal/tf/schema/resource_dashboard.go b/bundle/internal/tf/schema/resource_dashboard.go index 41ed9641eb..686bdfaaf5 100644 --- a/bundle/internal/tf/schema/resource_dashboard.go +++ b/bundle/internal/tf/schema/resource_dashboard.go @@ -3,7 +3,7 @@ package schema type ResourceDashboardProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceDashboard struct { diff --git a/bundle/internal/tf/schema/resource_data_classification_catalog_config.go b/bundle/internal/tf/schema/resource_data_classification_catalog_config.go index 14546faf18..4fedc74410 100644 --- a/bundle/internal/tf/schema/resource_data_classification_catalog_config.go +++ b/bundle/internal/tf/schema/resource_data_classification_catalog_config.go @@ -12,7 +12,7 @@ type ResourceDataClassificationCatalogConfigIncludedSchemas struct { } type ResourceDataClassificationCatalogConfigProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceDataClassificationCatalogConfig struct { diff --git a/bundle/internal/tf/schema/resource_data_quality_monitor.go b/bundle/internal/tf/schema/resource_data_quality_monitor.go index d6d9af2446..1aca6fdf28 100644 --- a/bundle/internal/tf/schema/resource_data_quality_monitor.go +++ b/bundle/internal/tf/schema/resource_data_quality_monitor.go @@ -69,7 +69,7 @@ type ResourceDataQualityMonitorDataProfilingConfig struct { } type ResourceDataQualityMonitorProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceDataQualityMonitor struct { diff --git a/bundle/internal/tf/schema/resource_data_quality_refresh.go b/bundle/internal/tf/schema/resource_data_quality_refresh.go index 8a31a27d0b..b753b3fe7d 100644 --- a/bundle/internal/tf/schema/resource_data_quality_refresh.go +++ b/bundle/internal/tf/schema/resource_data_quality_refresh.go @@ -3,7 +3,7 @@ package schema type ResourceDataQualityRefreshProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceDataQualityRefresh struct { diff --git a/bundle/internal/tf/schema/resource_database_database_catalog.go b/bundle/internal/tf/schema/resource_database_database_catalog.go index 56b2d2811f..0fd350a6f8 100644 --- a/bundle/internal/tf/schema/resource_database_database_catalog.go +++ b/bundle/internal/tf/schema/resource_database_database_catalog.go @@ -3,7 +3,7 @@ package schema type ResourceDatabaseDatabaseCatalogProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceDatabaseDatabaseCatalog struct { diff --git a/bundle/internal/tf/schema/resource_database_instance.go b/bundle/internal/tf/schema/resource_database_instance.go index d464813de6..abddd511ba 100644 --- a/bundle/internal/tf/schema/resource_database_instance.go +++ b/bundle/internal/tf/schema/resource_database_instance.go @@ -29,7 +29,7 @@ type ResourceDatabaseInstanceParentInstanceRef struct { } type ResourceDatabaseInstanceProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceDatabaseInstance struct { diff --git a/bundle/internal/tf/schema/resource_database_synced_database_table.go b/bundle/internal/tf/schema/resource_database_synced_database_table.go index 1156775f03..32e3154084 100644 --- a/bundle/internal/tf/schema/resource_database_synced_database_table.go +++ b/bundle/internal/tf/schema/resource_database_synced_database_table.go @@ -73,7 +73,7 @@ type ResourceDatabaseSyncedDatabaseTableDataSynchronizationStatus struct { } type ResourceDatabaseSyncedDatabaseTableProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceDatabaseSyncedDatabaseTableSpecNewPipelineSpec struct { diff --git a/bundle/internal/tf/schema/resource_dbfs_file.go b/bundle/internal/tf/schema/resource_dbfs_file.go index 4af4f426a0..1204eb1767 100644 --- a/bundle/internal/tf/schema/resource_dbfs_file.go +++ b/bundle/internal/tf/schema/resource_dbfs_file.go @@ -3,7 +3,7 @@ package schema type ResourceDbfsFileProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceDbfsFile struct { diff --git a/bundle/internal/tf/schema/resource_default_namespace_setting.go b/bundle/internal/tf/schema/resource_default_namespace_setting.go index 959cb9f3b1..a115d2aea1 100644 --- a/bundle/internal/tf/schema/resource_default_namespace_setting.go +++ b/bundle/internal/tf/schema/resource_default_namespace_setting.go @@ -7,7 +7,7 @@ type ResourceDefaultNamespaceSettingNamespace struct { } type ResourceDefaultNamespaceSettingProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceDefaultNamespaceSetting struct { diff --git a/bundle/internal/tf/schema/resource_directory.go b/bundle/internal/tf/schema/resource_directory.go index a7f5ece708..033f16b3c9 100644 --- a/bundle/internal/tf/schema/resource_directory.go +++ b/bundle/internal/tf/schema/resource_directory.go @@ -3,7 +3,7 @@ package schema type ResourceDirectoryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceDirectory struct { diff --git a/bundle/internal/tf/schema/resource_disable_legacy_access_setting.go b/bundle/internal/tf/schema/resource_disable_legacy_access_setting.go index bd15f13b6f..67675a526b 100644 --- a/bundle/internal/tf/schema/resource_disable_legacy_access_setting.go +++ b/bundle/internal/tf/schema/resource_disable_legacy_access_setting.go @@ -7,7 +7,7 @@ type ResourceDisableLegacyAccessSettingDisableLegacyAccess struct { } type ResourceDisableLegacyAccessSettingProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceDisableLegacyAccessSetting struct { diff --git a/bundle/internal/tf/schema/resource_disable_legacy_dbfs_setting.go b/bundle/internal/tf/schema/resource_disable_legacy_dbfs_setting.go index 810dc27564..63e06b97b5 100644 --- a/bundle/internal/tf/schema/resource_disable_legacy_dbfs_setting.go +++ b/bundle/internal/tf/schema/resource_disable_legacy_dbfs_setting.go @@ -7,7 +7,7 @@ type ResourceDisableLegacyDbfsSettingDisableLegacyDbfs struct { } type ResourceDisableLegacyDbfsSettingProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceDisableLegacyDbfsSetting struct { diff --git a/bundle/internal/tf/schema/resource_disable_legacy_features_setting.go b/bundle/internal/tf/schema/resource_disable_legacy_features_setting.go index fbd66beb8e..57806e66df 100644 --- a/bundle/internal/tf/schema/resource_disable_legacy_features_setting.go +++ b/bundle/internal/tf/schema/resource_disable_legacy_features_setting.go @@ -7,7 +7,7 @@ type ResourceDisableLegacyFeaturesSettingDisableLegacyFeatures struct { } type ResourceDisableLegacyFeaturesSettingProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceDisableLegacyFeaturesSetting struct { diff --git a/bundle/internal/tf/schema/resource_disaster_recovery_failover_group.go b/bundle/internal/tf/schema/resource_disaster_recovery_failover_group.go new file mode 100644 index 0000000000..3097ba2aff --- /dev/null +++ b/bundle/internal/tf/schema/resource_disaster_recovery_failover_group.go @@ -0,0 +1,46 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type ResourceDisasterRecoveryFailoverGroupUnityCatalogAssetsCatalogs struct { + Name string `json:"name"` +} + +type ResourceDisasterRecoveryFailoverGroupUnityCatalogAssetsLocationMappingsUriByRegion struct { + Region string `json:"region"` + Uri string `json:"uri"` +} + +type ResourceDisasterRecoveryFailoverGroupUnityCatalogAssetsLocationMappings struct { + Name string `json:"name"` + UriByRegion []ResourceDisasterRecoveryFailoverGroupUnityCatalogAssetsLocationMappingsUriByRegion `json:"uri_by_region,omitempty"` +} + +type ResourceDisasterRecoveryFailoverGroupUnityCatalogAssets struct { + Catalogs []ResourceDisasterRecoveryFailoverGroupUnityCatalogAssetsCatalogs `json:"catalogs,omitempty"` + DataReplicationWorkspaceSet string `json:"data_replication_workspace_set"` + LocationMappings []ResourceDisasterRecoveryFailoverGroupUnityCatalogAssetsLocationMappings `json:"location_mappings,omitempty"` +} + +type ResourceDisasterRecoveryFailoverGroupWorkspaceSets struct { + Name string `json:"name"` + ReplicateWorkspaceAssets bool `json:"replicate_workspace_assets"` + StableUrlNames []string `json:"stable_url_names,omitempty"` + WorkspaceIds []string `json:"workspace_ids"` +} + +type ResourceDisasterRecoveryFailoverGroup struct { + CreateTime string `json:"create_time,omitempty"` + EffectivePrimaryRegion string `json:"effective_primary_region,omitempty"` + Etag string `json:"etag,omitempty"` + FailoverGroupId string `json:"failover_group_id"` + InitialPrimaryRegion string `json:"initial_primary_region"` + Name string `json:"name,omitempty"` + Parent string `json:"parent"` + Regions []string `json:"regions"` + ReplicationPoint string `json:"replication_point,omitempty"` + State string `json:"state,omitempty"` + UnityCatalogAssets *ResourceDisasterRecoveryFailoverGroupUnityCatalogAssets `json:"unity_catalog_assets,omitempty"` + UpdateTime string `json:"update_time,omitempty"` + WorkspaceSets []ResourceDisasterRecoveryFailoverGroupWorkspaceSets `json:"workspace_sets,omitempty"` +} diff --git a/bundle/internal/tf/schema/resource_disaster_recovery_stable_url.go b/bundle/internal/tf/schema/resource_disaster_recovery_stable_url.go new file mode 100644 index 0000000000..35c19781c0 --- /dev/null +++ b/bundle/internal/tf/schema/resource_disaster_recovery_stable_url.go @@ -0,0 +1,11 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type ResourceDisasterRecoveryStableUrl struct { + InitialWorkspaceId string `json:"initial_workspace_id"` + Name string `json:"name,omitempty"` + Parent string `json:"parent"` + StableUrlId string `json:"stable_url_id"` + Url string `json:"url,omitempty"` +} diff --git a/bundle/internal/tf/schema/resource_enhanced_security_monitoring_workspace_setting.go b/bundle/internal/tf/schema/resource_enhanced_security_monitoring_workspace_setting.go index d5add6fbb8..ff625cff2a 100644 --- a/bundle/internal/tf/schema/resource_enhanced_security_monitoring_workspace_setting.go +++ b/bundle/internal/tf/schema/resource_enhanced_security_monitoring_workspace_setting.go @@ -7,7 +7,7 @@ type ResourceEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitorin } type ResourceEnhancedSecurityMonitoringWorkspaceSettingProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceEnhancedSecurityMonitoringWorkspaceSetting struct { diff --git a/bundle/internal/tf/schema/resource_entitlements.go b/bundle/internal/tf/schema/resource_entitlements.go index b59277f725..887dfd95ff 100644 --- a/bundle/internal/tf/schema/resource_entitlements.go +++ b/bundle/internal/tf/schema/resource_entitlements.go @@ -3,7 +3,7 @@ package schema type ResourceEntitlementsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceEntitlements struct { diff --git a/bundle/internal/tf/schema/resource_entity_tag_assignment.go b/bundle/internal/tf/schema/resource_entity_tag_assignment.go index 3b7da58ffe..d56127d42d 100644 --- a/bundle/internal/tf/schema/resource_entity_tag_assignment.go +++ b/bundle/internal/tf/schema/resource_entity_tag_assignment.go @@ -3,7 +3,7 @@ package schema type ResourceEntityTagAssignmentProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceEntityTagAssignment struct { diff --git a/bundle/internal/tf/schema/resource_environments_default_workspace_base_environment.go b/bundle/internal/tf/schema/resource_environments_default_workspace_base_environment.go index 4ea78fddc9..6c2a791519 100644 --- a/bundle/internal/tf/schema/resource_environments_default_workspace_base_environment.go +++ b/bundle/internal/tf/schema/resource_environments_default_workspace_base_environment.go @@ -3,7 +3,7 @@ package schema type ResourceEnvironmentsDefaultWorkspaceBaseEnvironmentProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceEnvironmentsDefaultWorkspaceBaseEnvironment struct { diff --git a/bundle/internal/tf/schema/resource_environments_workspace_base_environment.go b/bundle/internal/tf/schema/resource_environments_workspace_base_environment.go index 59b497b77b..0da712fe87 100644 --- a/bundle/internal/tf/schema/resource_environments_workspace_base_environment.go +++ b/bundle/internal/tf/schema/resource_environments_workspace_base_environment.go @@ -3,7 +3,7 @@ package schema type ResourceEnvironmentsWorkspaceBaseEnvironmentProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceEnvironmentsWorkspaceBaseEnvironment struct { diff --git a/bundle/internal/tf/schema/resource_external_location.go b/bundle/internal/tf/schema/resource_external_location.go index ef4fb962ae..e2f08b4172 100644 --- a/bundle/internal/tf/schema/resource_external_location.go +++ b/bundle/internal/tf/schema/resource_external_location.go @@ -98,7 +98,7 @@ type ResourceExternalLocationFileEventQueue struct { } type ResourceExternalLocationProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceExternalLocation struct { diff --git a/bundle/internal/tf/schema/resource_external_metadata.go b/bundle/internal/tf/schema/resource_external_metadata.go index 99108f2715..59b3c080d7 100644 --- a/bundle/internal/tf/schema/resource_external_metadata.go +++ b/bundle/internal/tf/schema/resource_external_metadata.go @@ -3,7 +3,7 @@ package schema type ResourceExternalMetadataProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceExternalMetadata struct { diff --git a/bundle/internal/tf/schema/resource_feature_engineering_feature.go b/bundle/internal/tf/schema/resource_feature_engineering_feature.go index 1a99477f64..05d6f7d7e1 100644 --- a/bundle/internal/tf/schema/resource_feature_engineering_feature.go +++ b/bundle/internal/tf/schema/resource_feature_engineering_feature.go @@ -125,7 +125,7 @@ type ResourceFeatureEngineeringFeatureLineageContext struct { } type ResourceFeatureEngineeringFeatureProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceFeatureEngineeringFeatureSourceDeltaTableSource struct { diff --git a/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go b/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go index 864741b613..a82d060591 100644 --- a/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go +++ b/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go @@ -16,6 +16,7 @@ type ResourceFeatureEngineeringKafkaConfigBackfillSourceDeltaTableSource struct } type ResourceFeatureEngineeringKafkaConfigBackfillSource struct { + DeltaTableName string `json:"delta_table_name,omitempty"` DeltaTableSource *ResourceFeatureEngineeringKafkaConfigBackfillSourceDeltaTableSource `json:"delta_table_source,omitempty"` } @@ -24,7 +25,7 @@ type ResourceFeatureEngineeringKafkaConfigKeySchema struct { } type ResourceFeatureEngineeringKafkaConfigProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceFeatureEngineeringKafkaConfigSubscriptionMode struct { diff --git a/bundle/internal/tf/schema/resource_feature_engineering_materialized_feature.go b/bundle/internal/tf/schema/resource_feature_engineering_materialized_feature.go index ddc305f0aa..fa98704107 100644 --- a/bundle/internal/tf/schema/resource_feature_engineering_materialized_feature.go +++ b/bundle/internal/tf/schema/resource_feature_engineering_materialized_feature.go @@ -16,7 +16,7 @@ type ResourceFeatureEngineeringMaterializedFeatureOnlineStoreConfig struct { } type ResourceFeatureEngineeringMaterializedFeatureProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceFeatureEngineeringMaterializedFeature struct { diff --git a/bundle/internal/tf/schema/resource_file.go b/bundle/internal/tf/schema/resource_file.go index 9d5e7708cb..37878338cf 100644 --- a/bundle/internal/tf/schema/resource_file.go +++ b/bundle/internal/tf/schema/resource_file.go @@ -3,7 +3,7 @@ package schema type ResourceFileProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceFile struct { diff --git a/bundle/internal/tf/schema/resource_git_credential.go b/bundle/internal/tf/schema/resource_git_credential.go index 1384282b60..cf4c2f7f5b 100644 --- a/bundle/internal/tf/schema/resource_git_credential.go +++ b/bundle/internal/tf/schema/resource_git_credential.go @@ -3,7 +3,7 @@ package schema type ResourceGitCredentialProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceGitCredential struct { diff --git a/bundle/internal/tf/schema/resource_global_init_script.go b/bundle/internal/tf/schema/resource_global_init_script.go index 0c28e4d62b..59c1b669df 100644 --- a/bundle/internal/tf/schema/resource_global_init_script.go +++ b/bundle/internal/tf/schema/resource_global_init_script.go @@ -3,7 +3,7 @@ package schema type ResourceGlobalInitScriptProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceGlobalInitScript struct { diff --git a/bundle/internal/tf/schema/resource_grant.go b/bundle/internal/tf/schema/resource_grant.go index 0edc341139..6c78e87f32 100644 --- a/bundle/internal/tf/schema/resource_grant.go +++ b/bundle/internal/tf/schema/resource_grant.go @@ -3,7 +3,7 @@ package schema type ResourceGrantProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceGrant struct { diff --git a/bundle/internal/tf/schema/resource_grants.go b/bundle/internal/tf/schema/resource_grants.go index d28af8fa0a..1d61b78b5f 100644 --- a/bundle/internal/tf/schema/resource_grants.go +++ b/bundle/internal/tf/schema/resource_grants.go @@ -8,7 +8,7 @@ type ResourceGrantsGrant struct { } type ResourceGrantsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceGrants struct { diff --git a/bundle/internal/tf/schema/resource_group.go b/bundle/internal/tf/schema/resource_group.go index 4a9eb9285c..522ca24eab 100644 --- a/bundle/internal/tf/schema/resource_group.go +++ b/bundle/internal/tf/schema/resource_group.go @@ -3,7 +3,7 @@ package schema type ResourceGroupProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceGroup struct { diff --git a/bundle/internal/tf/schema/resource_group_instance_profile.go b/bundle/internal/tf/schema/resource_group_instance_profile.go index 3ea5402c12..4d6e44be96 100644 --- a/bundle/internal/tf/schema/resource_group_instance_profile.go +++ b/bundle/internal/tf/schema/resource_group_instance_profile.go @@ -3,7 +3,7 @@ package schema type ResourceGroupInstanceProfileProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceGroupInstanceProfile struct { diff --git a/bundle/internal/tf/schema/resource_group_member.go b/bundle/internal/tf/schema/resource_group_member.go index d849082ee2..d6d311b17c 100644 --- a/bundle/internal/tf/schema/resource_group_member.go +++ b/bundle/internal/tf/schema/resource_group_member.go @@ -3,7 +3,7 @@ package schema type ResourceGroupMemberProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceGroupMember struct { diff --git a/bundle/internal/tf/schema/resource_group_role.go b/bundle/internal/tf/schema/resource_group_role.go index 9f2ec71868..5582f935b4 100644 --- a/bundle/internal/tf/schema/resource_group_role.go +++ b/bundle/internal/tf/schema/resource_group_role.go @@ -3,7 +3,7 @@ package schema type ResourceGroupRoleProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceGroupRole struct { diff --git a/bundle/internal/tf/schema/resource_instance_pool.go b/bundle/internal/tf/schema/resource_instance_pool.go index aed4cf775d..a50fc463ad 100644 --- a/bundle/internal/tf/schema/resource_instance_pool.go +++ b/bundle/internal/tf/schema/resource_instance_pool.go @@ -67,7 +67,7 @@ type ResourceInstancePoolPreloadedDockerImage struct { } type ResourceInstancePoolProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceInstancePool struct { diff --git a/bundle/internal/tf/schema/resource_instance_profile.go b/bundle/internal/tf/schema/resource_instance_profile.go index c80e0f1118..5221e67576 100644 --- a/bundle/internal/tf/schema/resource_instance_profile.go +++ b/bundle/internal/tf/schema/resource_instance_profile.go @@ -3,7 +3,7 @@ package schema type ResourceInstanceProfileProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceInstanceProfile struct { diff --git a/bundle/internal/tf/schema/resource_ip_access_list.go b/bundle/internal/tf/schema/resource_ip_access_list.go index 51c720aae7..8a6cb80af9 100644 --- a/bundle/internal/tf/schema/resource_ip_access_list.go +++ b/bundle/internal/tf/schema/resource_ip_access_list.go @@ -3,7 +3,7 @@ package schema type ResourceIpAccessListProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceIpAccessList struct { diff --git a/bundle/internal/tf/schema/resource_job.go b/bundle/internal/tf/schema/resource_job.go index d6603c62fb..25e6f9407f 100644 --- a/bundle/internal/tf/schema/resource_job.go +++ b/bundle/internal/tf/schema/resource_job.go @@ -161,6 +161,7 @@ type ResourceJobJobClusterNewClusterDriverNodeTypeFlexibility struct { type ResourceJobJobClusterNewClusterGcpAttributes struct { Availability string `json:"availability,omitempty"` BootDiskSize int `json:"boot_disk_size,omitempty"` + ConfidentialComputeType string `json:"confidential_compute_type,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"` GoogleServiceAccount string `json:"google_service_account,omitempty"` LocalSsdCount int `json:"local_ssd_count,omitempty"` @@ -224,7 +225,7 @@ type ResourceJobJobClusterNewClusterLibraryMaven struct { } type ResourceJobJobClusterNewClusterLibraryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceJobJobClusterNewClusterLibraryPypi struct { @@ -244,7 +245,7 @@ type ResourceJobJobClusterNewClusterLibrary struct { } type ResourceJobJobClusterNewClusterProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceJobJobClusterNewClusterWorkerNodeTypeFlexibility struct { @@ -319,7 +320,7 @@ type ResourceJobLibraryMaven struct { } type ResourceJobLibraryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceJobLibraryPypi struct { @@ -420,6 +421,7 @@ type ResourceJobNewClusterDriverNodeTypeFlexibility struct { type ResourceJobNewClusterGcpAttributes struct { Availability string `json:"availability,omitempty"` BootDiskSize int `json:"boot_disk_size,omitempty"` + ConfidentialComputeType string `json:"confidential_compute_type,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"` GoogleServiceAccount string `json:"google_service_account,omitempty"` LocalSsdCount int `json:"local_ssd_count,omitempty"` @@ -483,7 +485,7 @@ type ResourceJobNewClusterLibraryMaven struct { } type ResourceJobNewClusterLibraryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceJobNewClusterLibraryPypi struct { @@ -503,7 +505,7 @@ type ResourceJobNewClusterLibrary struct { } type ResourceJobNewClusterProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceJobNewClusterWorkerNodeTypeFlexibility struct { @@ -583,7 +585,7 @@ type ResourceJobPipelineTask struct { } type ResourceJobProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceJobPythonWheelTask struct { @@ -831,7 +833,7 @@ type ResourceJobTaskForEachTaskTaskLibraryMaven struct { } type ResourceJobTaskForEachTaskTaskLibraryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceJobTaskForEachTaskTaskLibraryPypi struct { @@ -932,6 +934,7 @@ type ResourceJobTaskForEachTaskTaskNewClusterDriverNodeTypeFlexibility struct { type ResourceJobTaskForEachTaskTaskNewClusterGcpAttributes struct { Availability string `json:"availability,omitempty"` BootDiskSize int `json:"boot_disk_size,omitempty"` + ConfidentialComputeType string `json:"confidential_compute_type,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"` GoogleServiceAccount string `json:"google_service_account,omitempty"` LocalSsdCount int `json:"local_ssd_count,omitempty"` @@ -995,7 +998,7 @@ type ResourceJobTaskForEachTaskTaskNewClusterLibraryMaven struct { } type ResourceJobTaskForEachTaskTaskNewClusterLibraryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceJobTaskForEachTaskTaskNewClusterLibraryPypi struct { @@ -1015,7 +1018,7 @@ type ResourceJobTaskForEachTaskTaskNewClusterLibrary struct { } type ResourceJobTaskForEachTaskTaskNewClusterProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceJobTaskForEachTaskTaskNewClusterWorkerNodeTypeFlexibility struct { @@ -1308,7 +1311,7 @@ type ResourceJobTaskLibraryMaven struct { } type ResourceJobTaskLibraryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceJobTaskLibraryPypi struct { @@ -1409,6 +1412,7 @@ type ResourceJobTaskNewClusterDriverNodeTypeFlexibility struct { type ResourceJobTaskNewClusterGcpAttributes struct { Availability string `json:"availability,omitempty"` BootDiskSize int `json:"boot_disk_size,omitempty"` + ConfidentialComputeType string `json:"confidential_compute_type,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"` GoogleServiceAccount string `json:"google_service_account,omitempty"` LocalSsdCount int `json:"local_ssd_count,omitempty"` @@ -1472,7 +1476,7 @@ type ResourceJobTaskNewClusterLibraryMaven struct { } type ResourceJobTaskNewClusterLibraryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceJobTaskNewClusterLibraryPypi struct { @@ -1492,7 +1496,7 @@ type ResourceJobTaskNewClusterLibrary struct { } type ResourceJobTaskNewClusterProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceJobTaskNewClusterWorkerNodeTypeFlexibility struct { diff --git a/bundle/internal/tf/schema/resource_knowledge_assistant.go b/bundle/internal/tf/schema/resource_knowledge_assistant.go index 70da6ed074..d03b721fe6 100644 --- a/bundle/internal/tf/schema/resource_knowledge_assistant.go +++ b/bundle/internal/tf/schema/resource_knowledge_assistant.go @@ -3,7 +3,7 @@ package schema type ResourceKnowledgeAssistantProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceKnowledgeAssistant struct { diff --git a/bundle/internal/tf/schema/resource_knowledge_assistant_knowledge_source.go b/bundle/internal/tf/schema/resource_knowledge_assistant_knowledge_source.go index e907554aa6..fcdeca20b9 100644 --- a/bundle/internal/tf/schema/resource_knowledge_assistant_knowledge_source.go +++ b/bundle/internal/tf/schema/resource_knowledge_assistant_knowledge_source.go @@ -18,7 +18,7 @@ type ResourceKnowledgeAssistantKnowledgeSourceIndex struct { } type ResourceKnowledgeAssistantKnowledgeSourceProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceKnowledgeAssistantKnowledgeSource struct { diff --git a/bundle/internal/tf/schema/resource_lakehouse_monitor.go b/bundle/internal/tf/schema/resource_lakehouse_monitor.go index 1c1c92edcd..af702885f2 100644 --- a/bundle/internal/tf/schema/resource_lakehouse_monitor.go +++ b/bundle/internal/tf/schema/resource_lakehouse_monitor.go @@ -38,7 +38,7 @@ type ResourceLakehouseMonitorNotifications struct { } type ResourceLakehouseMonitorProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceLakehouseMonitorSchedule struct { diff --git a/bundle/internal/tf/schema/resource_materialized_features_feature_tag.go b/bundle/internal/tf/schema/resource_materialized_features_feature_tag.go index 482fcdf065..f5fb0153bf 100644 --- a/bundle/internal/tf/schema/resource_materialized_features_feature_tag.go +++ b/bundle/internal/tf/schema/resource_materialized_features_feature_tag.go @@ -3,7 +3,7 @@ package schema type ResourceMaterializedFeaturesFeatureTagProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceMaterializedFeaturesFeatureTag struct { diff --git a/bundle/internal/tf/schema/resource_metastore.go b/bundle/internal/tf/schema/resource_metastore.go index 1fe6064fab..e3bb7401f0 100644 --- a/bundle/internal/tf/schema/resource_metastore.go +++ b/bundle/internal/tf/schema/resource_metastore.go @@ -3,7 +3,7 @@ package schema type ResourceMetastoreProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceMetastore struct { diff --git a/bundle/internal/tf/schema/resource_metastore_assignment.go b/bundle/internal/tf/schema/resource_metastore_assignment.go index 2127c1cec0..4460c41874 100644 --- a/bundle/internal/tf/schema/resource_metastore_assignment.go +++ b/bundle/internal/tf/schema/resource_metastore_assignment.go @@ -3,7 +3,7 @@ package schema type ResourceMetastoreAssignmentProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceMetastoreAssignment struct { diff --git a/bundle/internal/tf/schema/resource_metastore_data_access.go b/bundle/internal/tf/schema/resource_metastore_data_access.go index 7c79c665ef..e49bb4a8c4 100644 --- a/bundle/internal/tf/schema/resource_metastore_data_access.go +++ b/bundle/internal/tf/schema/resource_metastore_data_access.go @@ -38,7 +38,7 @@ type ResourceMetastoreDataAccessGcpServiceAccountKey struct { } type ResourceMetastoreDataAccessProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceMetastoreDataAccess struct { diff --git a/bundle/internal/tf/schema/resource_mlflow_experiment.go b/bundle/internal/tf/schema/resource_mlflow_experiment.go index b6a20dd7ad..26ca94ba63 100644 --- a/bundle/internal/tf/schema/resource_mlflow_experiment.go +++ b/bundle/internal/tf/schema/resource_mlflow_experiment.go @@ -3,7 +3,7 @@ package schema type ResourceMlflowExperimentProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceMlflowExperimentTags struct { diff --git a/bundle/internal/tf/schema/resource_mlflow_model.go b/bundle/internal/tf/schema/resource_mlflow_model.go index 44d9f557c2..72b371fec7 100644 --- a/bundle/internal/tf/schema/resource_mlflow_model.go +++ b/bundle/internal/tf/schema/resource_mlflow_model.go @@ -3,7 +3,7 @@ package schema type ResourceMlflowModelProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceMlflowModelTags struct { diff --git a/bundle/internal/tf/schema/resource_mlflow_webhook.go b/bundle/internal/tf/schema/resource_mlflow_webhook.go index bd69b1aba7..437de2b5a3 100644 --- a/bundle/internal/tf/schema/resource_mlflow_webhook.go +++ b/bundle/internal/tf/schema/resource_mlflow_webhook.go @@ -16,7 +16,7 @@ type ResourceMlflowWebhookJobSpec struct { } type ResourceMlflowWebhookProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceMlflowWebhook struct { diff --git a/bundle/internal/tf/schema/resource_model_serving.go b/bundle/internal/tf/schema/resource_model_serving.go index 58ad4b0c97..b2e136bf07 100644 --- a/bundle/internal/tf/schema/resource_model_serving.go +++ b/bundle/internal/tf/schema/resource_model_serving.go @@ -215,7 +215,7 @@ type ResourceModelServingEmailNotifications struct { } type ResourceModelServingProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceModelServingRateLimits struct { diff --git a/bundle/internal/tf/schema/resource_model_serving_provisioned_throughput.go b/bundle/internal/tf/schema/resource_model_serving_provisioned_throughput.go index 0b226efdd6..65f663ab92 100644 --- a/bundle/internal/tf/schema/resource_model_serving_provisioned_throughput.go +++ b/bundle/internal/tf/schema/resource_model_serving_provisioned_throughput.go @@ -89,7 +89,7 @@ type ResourceModelServingProvisionedThroughputEmailNotifications struct { } type ResourceModelServingProvisionedThroughputProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceModelServingProvisionedThroughputTags struct { diff --git a/bundle/internal/tf/schema/resource_mount.go b/bundle/internal/tf/schema/resource_mount.go index d1220b03b3..4a4187c320 100644 --- a/bundle/internal/tf/schema/resource_mount.go +++ b/bundle/internal/tf/schema/resource_mount.go @@ -29,7 +29,7 @@ type ResourceMountGs struct { } type ResourceMountProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceMountS3 struct { diff --git a/bundle/internal/tf/schema/resource_notebook.go b/bundle/internal/tf/schema/resource_notebook.go index d7470f0a6a..4f75613159 100644 --- a/bundle/internal/tf/schema/resource_notebook.go +++ b/bundle/internal/tf/schema/resource_notebook.go @@ -3,7 +3,7 @@ package schema type ResourceNotebookProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceNotebook struct { diff --git a/bundle/internal/tf/schema/resource_notification_destination.go b/bundle/internal/tf/schema/resource_notification_destination.go index 541e1561df..b164d22616 100644 --- a/bundle/internal/tf/schema/resource_notification_destination.go +++ b/bundle/internal/tf/schema/resource_notification_destination.go @@ -51,7 +51,7 @@ type ResourceNotificationDestinationConfig struct { } type ResourceNotificationDestinationProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceNotificationDestination struct { diff --git a/bundle/internal/tf/schema/resource_obo_token.go b/bundle/internal/tf/schema/resource_obo_token.go index 5a603d2d7d..154d760a43 100644 --- a/bundle/internal/tf/schema/resource_obo_token.go +++ b/bundle/internal/tf/schema/resource_obo_token.go @@ -3,7 +3,7 @@ package schema type ResourceOboTokenProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceOboToken struct { diff --git a/bundle/internal/tf/schema/resource_online_store.go b/bundle/internal/tf/schema/resource_online_store.go index 804ee9071f..5cb419f785 100644 --- a/bundle/internal/tf/schema/resource_online_store.go +++ b/bundle/internal/tf/schema/resource_online_store.go @@ -3,7 +3,7 @@ package schema type ResourceOnlineStoreProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceOnlineStore struct { diff --git a/bundle/internal/tf/schema/resource_online_table.go b/bundle/internal/tf/schema/resource_online_table.go index b3dc27d4a7..b2d515290f 100644 --- a/bundle/internal/tf/schema/resource_online_table.go +++ b/bundle/internal/tf/schema/resource_online_table.go @@ -3,7 +3,7 @@ package schema type ResourceOnlineTableProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceOnlineTableSpecRunContinuously struct { diff --git a/bundle/internal/tf/schema/resource_permission_assignment.go b/bundle/internal/tf/schema/resource_permission_assignment.go index beb9b16f74..2a4f812ecd 100644 --- a/bundle/internal/tf/schema/resource_permission_assignment.go +++ b/bundle/internal/tf/schema/resource_permission_assignment.go @@ -3,7 +3,7 @@ package schema type ResourcePermissionAssignmentProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourcePermissionAssignment struct { diff --git a/bundle/internal/tf/schema/resource_permissions.go b/bundle/internal/tf/schema/resource_permissions.go index 1f9d8a38b8..65f6e4c60a 100644 --- a/bundle/internal/tf/schema/resource_permissions.go +++ b/bundle/internal/tf/schema/resource_permissions.go @@ -10,7 +10,7 @@ type ResourcePermissionsAccessControl struct { } type ResourcePermissionsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourcePermissions struct { diff --git a/bundle/internal/tf/schema/resource_pipeline.go b/bundle/internal/tf/schema/resource_pipeline.go index e7bf6bb91c..19c46ea9cf 100644 --- a/bundle/internal/tf/schema/resource_pipeline.go +++ b/bundle/internal/tf/schema/resource_pipeline.go @@ -58,11 +58,12 @@ type ResourcePipelineClusterClusterLogConf struct { } type ResourcePipelineClusterGcpAttributes struct { - Availability string `json:"availability,omitempty"` - FirstOnDemand int `json:"first_on_demand,omitempty"` - GoogleServiceAccount string `json:"google_service_account,omitempty"` - LocalSsdCount int `json:"local_ssd_count,omitempty"` - ZoneId string `json:"zone_id,omitempty"` + Availability string `json:"availability,omitempty"` + ConfidentialComputeType string `json:"confidential_compute_type,omitempty"` + FirstOnDemand int `json:"first_on_demand,omitempty"` + GoogleServiceAccount string `json:"google_service_account,omitempty"` + LocalSsdCount int `json:"local_ssd_count,omitempty"` + ZoneId string `json:"zone_id,omitempty"` } type ResourcePipelineClusterInitScriptsAbfss struct { @@ -220,6 +221,10 @@ type ResourcePipelineIngestionDefinitionObjectsReport struct { TableConfiguration *ResourcePipelineIngestionDefinitionObjectsReportTableConfiguration `json:"table_configuration,omitempty"` } +type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsConfluenceOptions struct { + IncludeConfluenceSpaces []string `json:"include_confluence_spaces,omitempty"` +} + type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGdriveOptionsFileIngestionOptionsFileFilters struct { ModifiedAfter string `json:"modified_after,omitempty"` ModifiedBefore string `json:"modified_before,omitempty"` @@ -252,6 +257,34 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGoogleAdsOp SyncStartDate string `json:"sync_start_date,omitempty"` } +type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsJiraOptions struct { + IncludeJiraSpaces []string `json:"include_jira_spaces,omitempty"` +} + +type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsMetaAdsOptions struct { + ActionAttributionWindows []string `json:"action_attribution_windows,omitempty"` + ActionBreakdowns []string `json:"action_breakdowns,omitempty"` + ActionReportTime string `json:"action_report_time,omitempty"` + Breakdowns []string `json:"breakdowns,omitempty"` + CustomInsightsLookbackWindow int `json:"custom_insights_lookback_window,omitempty"` + Level string `json:"level,omitempty"` + StartDate string `json:"start_date,omitempty"` + TimeIncrement string `json:"time_increment,omitempty"` +} + +type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsOutlookOptions struct { + AttachmentMode string `json:"attachment_mode,omitempty"` + BodyFormat string `json:"body_format,omitempty"` + FolderFilter []string `json:"folder_filter,omitempty"` + IncludeFolders []string `json:"include_folders,omitempty"` + IncludeMailboxes []string `json:"include_mailboxes,omitempty"` + IncludeSenders []string `json:"include_senders,omitempty"` + IncludeSubjects []string `json:"include_subjects,omitempty"` + SenderFilter []string `json:"sender_filter,omitempty"` + StartDate string `json:"start_date,omitempty"` + SubjectFilter []string `json:"subject_filter,omitempty"` +} + type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsSharepointOptionsFileIngestionOptionsFileFilters struct { ModifiedAfter string `json:"modified_after,omitempty"` ModifiedBefore string `json:"modified_before,omitempty"` @@ -278,6 +311,10 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsSharepointO FileIngestionOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsSharepointOptionsFileIngestionOptions `json:"file_ingestion_options,omitempty"` } +type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsSmartsheetOptions struct { + EnforceSchema bool `json:"enforce_schema,omitempty"` +} + type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsTiktokAdsOptions struct { DataLevel string `json:"data_level,omitempty"` Dimensions []string `json:"dimensions,omitempty"` @@ -288,11 +325,21 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsTiktokAdsOp SyncStartDate string `json:"sync_start_date,omitempty"` } +type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsZendeskSupportOptions struct { + StartDate string `json:"start_date,omitempty"` +} + type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptions struct { - GdriveOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGdriveOptions `json:"gdrive_options,omitempty"` - GoogleAdsOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGoogleAdsOptions `json:"google_ads_options,omitempty"` - SharepointOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsSharepointOptions `json:"sharepoint_options,omitempty"` - TiktokAdsOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsTiktokAdsOptions `json:"tiktok_ads_options,omitempty"` + ConfluenceOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsConfluenceOptions `json:"confluence_options,omitempty"` + GdriveOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGdriveOptions `json:"gdrive_options,omitempty"` + GoogleAdsOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGoogleAdsOptions `json:"google_ads_options,omitempty"` + JiraOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsJiraOptions `json:"jira_options,omitempty"` + MetaAdsOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsMetaAdsOptions `json:"meta_ads_options,omitempty"` + OutlookOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsOutlookOptions `json:"outlook_options,omitempty"` + SharepointOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsSharepointOptions `json:"sharepoint_options,omitempty"` + SmartsheetOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsSmartsheetOptions `json:"smartsheet_options,omitempty"` + TiktokAdsOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsTiktokAdsOptions `json:"tiktok_ads_options,omitempty"` + ZendeskSupportOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsZendeskSupportOptions `json:"zendesk_support_options,omitempty"` } type ResourcePipelineIngestionDefinitionObjectsSchemaTableConfigurationAutoFullRefreshPolicy struct { @@ -339,6 +386,10 @@ type ResourcePipelineIngestionDefinitionObjectsSchema struct { TableConfiguration *ResourcePipelineIngestionDefinitionObjectsSchemaTableConfiguration `json:"table_configuration,omitempty"` } +type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsConfluenceOptions struct { + IncludeConfluenceSpaces []string `json:"include_confluence_spaces,omitempty"` +} + type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGdriveOptionsFileIngestionOptionsFileFilters struct { ModifiedAfter string `json:"modified_after,omitempty"` ModifiedBefore string `json:"modified_before,omitempty"` @@ -371,6 +422,34 @@ type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGoogleAdsOpt SyncStartDate string `json:"sync_start_date,omitempty"` } +type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsJiraOptions struct { + IncludeJiraSpaces []string `json:"include_jira_spaces,omitempty"` +} + +type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsMetaAdsOptions struct { + ActionAttributionWindows []string `json:"action_attribution_windows,omitempty"` + ActionBreakdowns []string `json:"action_breakdowns,omitempty"` + ActionReportTime string `json:"action_report_time,omitempty"` + Breakdowns []string `json:"breakdowns,omitempty"` + CustomInsightsLookbackWindow int `json:"custom_insights_lookback_window,omitempty"` + Level string `json:"level,omitempty"` + StartDate string `json:"start_date,omitempty"` + TimeIncrement string `json:"time_increment,omitempty"` +} + +type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsOutlookOptions struct { + AttachmentMode string `json:"attachment_mode,omitempty"` + BodyFormat string `json:"body_format,omitempty"` + FolderFilter []string `json:"folder_filter,omitempty"` + IncludeFolders []string `json:"include_folders,omitempty"` + IncludeMailboxes []string `json:"include_mailboxes,omitempty"` + IncludeSenders []string `json:"include_senders,omitempty"` + IncludeSubjects []string `json:"include_subjects,omitempty"` + SenderFilter []string `json:"sender_filter,omitempty"` + StartDate string `json:"start_date,omitempty"` + SubjectFilter []string `json:"subject_filter,omitempty"` +} + type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSharepointOptionsFileIngestionOptionsFileFilters struct { ModifiedAfter string `json:"modified_after,omitempty"` ModifiedBefore string `json:"modified_before,omitempty"` @@ -397,6 +476,10 @@ type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSharepointOp FileIngestionOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSharepointOptionsFileIngestionOptions `json:"file_ingestion_options,omitempty"` } +type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSmartsheetOptions struct { + EnforceSchema bool `json:"enforce_schema,omitempty"` +} + type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsTiktokAdsOptions struct { DataLevel string `json:"data_level,omitempty"` Dimensions []string `json:"dimensions,omitempty"` @@ -407,11 +490,21 @@ type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsTiktokAdsOpt SyncStartDate string `json:"sync_start_date,omitempty"` } +type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsZendeskSupportOptions struct { + StartDate string `json:"start_date,omitempty"` +} + type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptions struct { - GdriveOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGdriveOptions `json:"gdrive_options,omitempty"` - GoogleAdsOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGoogleAdsOptions `json:"google_ads_options,omitempty"` - SharepointOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSharepointOptions `json:"sharepoint_options,omitempty"` - TiktokAdsOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsTiktokAdsOptions `json:"tiktok_ads_options,omitempty"` + ConfluenceOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsConfluenceOptions `json:"confluence_options,omitempty"` + GdriveOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGdriveOptions `json:"gdrive_options,omitempty"` + GoogleAdsOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGoogleAdsOptions `json:"google_ads_options,omitempty"` + JiraOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsJiraOptions `json:"jira_options,omitempty"` + MetaAdsOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsMetaAdsOptions `json:"meta_ads_options,omitempty"` + OutlookOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsOutlookOptions `json:"outlook_options,omitempty"` + SharepointOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSharepointOptions `json:"sharepoint_options,omitempty"` + SmartsheetOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSmartsheetOptions `json:"smartsheet_options,omitempty"` + TiktokAdsOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsTiktokAdsOptions `json:"tiktok_ads_options,omitempty"` + ZendeskSupportOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsZendeskSupportOptions `json:"zendesk_support_options,omitempty"` } type ResourcePipelineIngestionDefinitionObjectsTableTableConfigurationAutoFullRefreshPolicy struct { @@ -480,8 +573,13 @@ type ResourcePipelineIngestionDefinitionSourceConfigurationsCatalog struct { Postgres *ResourcePipelineIngestionDefinitionSourceConfigurationsCatalogPostgres `json:"postgres,omitempty"` } +type ResourcePipelineIngestionDefinitionSourceConfigurationsGoogleAdsConfig struct { + ManagerAccountId string `json:"manager_account_id,omitempty"` +} + type ResourcePipelineIngestionDefinitionSourceConfigurations struct { - Catalog *ResourcePipelineIngestionDefinitionSourceConfigurationsCatalog `json:"catalog,omitempty"` + Catalog *ResourcePipelineIngestionDefinitionSourceConfigurationsCatalog `json:"catalog,omitempty"` + GoogleAdsConfig *ResourcePipelineIngestionDefinitionSourceConfigurationsGoogleAdsConfig `json:"google_ads_config,omitempty"` } type ResourcePipelineIngestionDefinitionTableConfigurationAutoFullRefreshPolicy struct { @@ -572,7 +670,7 @@ type ResourcePipelineNotification struct { } type ResourcePipelineProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourcePipelineRestartWindow struct { diff --git a/bundle/internal/tf/schema/resource_policy_info.go b/bundle/internal/tf/schema/resource_policy_info.go index 27a6600e4a..2b6cd9653a 100644 --- a/bundle/internal/tf/schema/resource_policy_info.go +++ b/bundle/internal/tf/schema/resource_policy_info.go @@ -19,7 +19,7 @@ type ResourcePolicyInfoMatchColumns struct { } type ResourcePolicyInfoProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourcePolicyInfoRowFilterUsing struct { diff --git a/bundle/internal/tf/schema/resource_postgres_branch.go b/bundle/internal/tf/schema/resource_postgres_branch.go index 1ccfaeb181..e28810fe33 100644 --- a/bundle/internal/tf/schema/resource_postgres_branch.go +++ b/bundle/internal/tf/schema/resource_postgres_branch.go @@ -3,7 +3,7 @@ package schema type ResourcePostgresBranchProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourcePostgresBranchSpec struct { @@ -17,6 +17,7 @@ type ResourcePostgresBranchSpec struct { } type ResourcePostgresBranchStatus struct { + BranchId string `json:"branch_id,omitempty"` CurrentState string `json:"current_state,omitempty"` Default bool `json:"default,omitempty"` ExpireTime string `json:"expire_time,omitempty"` @@ -30,13 +31,14 @@ type ResourcePostgresBranchStatus struct { } type ResourcePostgresBranch struct { - BranchId string `json:"branch_id"` - CreateTime string `json:"create_time,omitempty"` - Name string `json:"name,omitempty"` - Parent string `json:"parent"` - ProviderConfig *ResourcePostgresBranchProviderConfig `json:"provider_config,omitempty"` - Spec *ResourcePostgresBranchSpec `json:"spec,omitempty"` - Status *ResourcePostgresBranchStatus `json:"status,omitempty"` - Uid string `json:"uid,omitempty"` - UpdateTime string `json:"update_time,omitempty"` + BranchId string `json:"branch_id"` + CreateTime string `json:"create_time,omitempty"` + Name string `json:"name,omitempty"` + Parent string `json:"parent"` + ProviderConfig *ResourcePostgresBranchProviderConfig `json:"provider_config,omitempty"` + ReplaceExisting bool `json:"replace_existing,omitempty"` + Spec *ResourcePostgresBranchSpec `json:"spec,omitempty"` + Status *ResourcePostgresBranchStatus `json:"status,omitempty"` + Uid string `json:"uid,omitempty"` + UpdateTime string `json:"update_time,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_postgres_catalog.go b/bundle/internal/tf/schema/resource_postgres_catalog.go index 637bdaad2c..3ba05f2254 100644 --- a/bundle/internal/tf/schema/resource_postgres_catalog.go +++ b/bundle/internal/tf/schema/resource_postgres_catalog.go @@ -3,7 +3,7 @@ package schema type ResourcePostgresCatalogProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourcePostgresCatalogSpec struct { @@ -14,6 +14,7 @@ type ResourcePostgresCatalogSpec struct { type ResourcePostgresCatalogStatus struct { Branch string `json:"branch,omitempty"` + CatalogId string `json:"catalog_id,omitempty"` PostgresDatabase string `json:"postgres_database,omitempty"` Project string `json:"project,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_postgres_database.go b/bundle/internal/tf/schema/resource_postgres_database.go index a12086665d..37bfa4d84d 100644 --- a/bundle/internal/tf/schema/resource_postgres_database.go +++ b/bundle/internal/tf/schema/resource_postgres_database.go @@ -3,7 +3,7 @@ package schema type ResourcePostgresDatabaseProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourcePostgresDatabaseSpec struct { @@ -12,6 +12,7 @@ type ResourcePostgresDatabaseSpec struct { } type ResourcePostgresDatabaseStatus struct { + DatabaseId string `json:"database_id,omitempty"` PostgresDatabase string `json:"postgres_database,omitempty"` Role string `json:"role,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_postgres_endpoint.go b/bundle/internal/tf/schema/resource_postgres_endpoint.go index 8de10dd978..af17d5f73b 100644 --- a/bundle/internal/tf/schema/resource_postgres_endpoint.go +++ b/bundle/internal/tf/schema/resource_postgres_endpoint.go @@ -3,7 +3,7 @@ package schema type ResourcePostgresEndpointProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourcePostgresEndpointSpecGroup struct { @@ -47,6 +47,7 @@ type ResourcePostgresEndpointStatus struct { AutoscalingLimitMinCu float64 `json:"autoscaling_limit_min_cu,omitempty"` CurrentState string `json:"current_state,omitempty"` Disabled bool `json:"disabled,omitempty"` + EndpointId string `json:"endpoint_id,omitempty"` EndpointType string `json:"endpoint_type,omitempty"` Group *ResourcePostgresEndpointStatusGroup `json:"group,omitempty"` Hosts *ResourcePostgresEndpointStatusHosts `json:"hosts,omitempty"` @@ -56,13 +57,14 @@ type ResourcePostgresEndpointStatus struct { } type ResourcePostgresEndpoint struct { - CreateTime string `json:"create_time,omitempty"` - EndpointId string `json:"endpoint_id"` - Name string `json:"name,omitempty"` - Parent string `json:"parent"` - ProviderConfig *ResourcePostgresEndpointProviderConfig `json:"provider_config,omitempty"` - Spec *ResourcePostgresEndpointSpec `json:"spec,omitempty"` - Status *ResourcePostgresEndpointStatus `json:"status,omitempty"` - Uid string `json:"uid,omitempty"` - UpdateTime string `json:"update_time,omitempty"` + CreateTime string `json:"create_time,omitempty"` + EndpointId string `json:"endpoint_id"` + Name string `json:"name,omitempty"` + Parent string `json:"parent"` + ProviderConfig *ResourcePostgresEndpointProviderConfig `json:"provider_config,omitempty"` + ReplaceExisting bool `json:"replace_existing,omitempty"` + Spec *ResourcePostgresEndpointSpec `json:"spec,omitempty"` + Status *ResourcePostgresEndpointStatus `json:"status,omitempty"` + Uid string `json:"uid,omitempty"` + UpdateTime string `json:"update_time,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_postgres_project.go b/bundle/internal/tf/schema/resource_postgres_project.go index 1df7ebf511..23df7a5552 100644 --- a/bundle/internal/tf/schema/resource_postgres_project.go +++ b/bundle/internal/tf/schema/resource_postgres_project.go @@ -13,7 +13,7 @@ type ResourcePostgresProjectInitialEndpointSpec struct { } type ResourcePostgresProjectProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourcePostgresProjectSpecCustomTags struct { @@ -64,15 +64,19 @@ type ResourcePostgresProjectStatus struct { HistoryRetentionDuration string `json:"history_retention_duration,omitempty"` Owner string `json:"owner,omitempty"` PgVersion int `json:"pg_version,omitempty"` + ProjectId string `json:"project_id,omitempty"` SyntheticStorageSizeBytes int `json:"synthetic_storage_size_bytes,omitempty"` } type ResourcePostgresProject struct { CreateTime string `json:"create_time,omitempty"` + DeleteTime string `json:"delete_time,omitempty"` InitialEndpointSpec *ResourcePostgresProjectInitialEndpointSpec `json:"initial_endpoint_spec,omitempty"` Name string `json:"name,omitempty"` ProjectId string `json:"project_id"` ProviderConfig *ResourcePostgresProjectProviderConfig `json:"provider_config,omitempty"` + PurgeOnDelete bool `json:"purge_on_delete,omitempty"` + PurgeTime string `json:"purge_time,omitempty"` Spec *ResourcePostgresProjectSpec `json:"spec,omitempty"` Status *ResourcePostgresProjectStatus `json:"status,omitempty"` Uid string `json:"uid,omitempty"` diff --git a/bundle/internal/tf/schema/resource_postgres_role.go b/bundle/internal/tf/schema/resource_postgres_role.go index a7dce0a9bd..5308bbda4f 100644 --- a/bundle/internal/tf/schema/resource_postgres_role.go +++ b/bundle/internal/tf/schema/resource_postgres_role.go @@ -3,7 +3,7 @@ package schema type ResourcePostgresRoleProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourcePostgresRoleSpecAttributes struct { @@ -32,6 +32,7 @@ type ResourcePostgresRoleStatus struct { IdentityType string `json:"identity_type,omitempty"` MembershipRoles []string `json:"membership_roles,omitempty"` PostgresRole string `json:"postgres_role,omitempty"` + RoleId string `json:"role_id,omitempty"` } type ResourcePostgresRole struct { diff --git a/bundle/internal/tf/schema/resource_postgres_synced_table.go b/bundle/internal/tf/schema/resource_postgres_synced_table.go index eed810c301..affde4ce55 100644 --- a/bundle/internal/tf/schema/resource_postgres_synced_table.go +++ b/bundle/internal/tf/schema/resource_postgres_synced_table.go @@ -3,7 +3,7 @@ package schema type ResourcePostgresSyncedTableProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourcePostgresSyncedTableSpecNewPipelineSpec struct { @@ -51,6 +51,7 @@ type ResourcePostgresSyncedTableStatus struct { Message string `json:"message,omitempty"` OngoingSyncProgress *ResourcePostgresSyncedTableStatusOngoingSyncProgress `json:"ongoing_sync_progress,omitempty"` PipelineId string `json:"pipeline_id,omitempty"` + Project string `json:"project,omitempty"` ProvisioningPhase string `json:"provisioning_phase,omitempty"` UnityCatalogProvisioningState string `json:"unity_catalog_provisioning_state,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_provider.go b/bundle/internal/tf/schema/resource_provider.go index 16934efa7f..ff50bef7a4 100644 --- a/bundle/internal/tf/schema/resource_provider.go +++ b/bundle/internal/tf/schema/resource_provider.go @@ -3,7 +3,7 @@ package schema type ResourceProviderProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceProvider struct { diff --git a/bundle/internal/tf/schema/resource_quality_monitor_v2.go b/bundle/internal/tf/schema/resource_quality_monitor_v2.go index 80e73326f4..474c289b44 100644 --- a/bundle/internal/tf/schema/resource_quality_monitor_v2.go +++ b/bundle/internal/tf/schema/resource_quality_monitor_v2.go @@ -9,7 +9,7 @@ type ResourceQualityMonitorV2AnomalyDetectionConfig struct { } type ResourceQualityMonitorV2ProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceQualityMonitorV2ValidityCheckConfigurationsPercentNullValidityCheck struct { diff --git a/bundle/internal/tf/schema/resource_query.go b/bundle/internal/tf/schema/resource_query.go index d5ccd6bb59..78dfe3b965 100644 --- a/bundle/internal/tf/schema/resource_query.go +++ b/bundle/internal/tf/schema/resource_query.go @@ -64,7 +64,7 @@ type ResourceQueryParameter struct { } type ResourceQueryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceQuery struct { diff --git a/bundle/internal/tf/schema/resource_recipient.go b/bundle/internal/tf/schema/resource_recipient.go index 58dc151265..2216974af1 100644 --- a/bundle/internal/tf/schema/resource_recipient.go +++ b/bundle/internal/tf/schema/resource_recipient.go @@ -11,7 +11,7 @@ type ResourceRecipientPropertiesKvpairs struct { } type ResourceRecipientProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceRecipientTokens struct { diff --git a/bundle/internal/tf/schema/resource_registered_model.go b/bundle/internal/tf/schema/resource_registered_model.go index 542a1b0c58..3d111f46ad 100644 --- a/bundle/internal/tf/schema/resource_registered_model.go +++ b/bundle/internal/tf/schema/resource_registered_model.go @@ -12,7 +12,7 @@ type ResourceRegisteredModelAliases struct { } type ResourceRegisteredModelProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceRegisteredModel struct { diff --git a/bundle/internal/tf/schema/resource_repo.go b/bundle/internal/tf/schema/resource_repo.go index e1a5ff8fef..ec9b65809f 100644 --- a/bundle/internal/tf/schema/resource_repo.go +++ b/bundle/internal/tf/schema/resource_repo.go @@ -3,7 +3,7 @@ package schema type ResourceRepoProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceRepoSparseCheckout struct { diff --git a/bundle/internal/tf/schema/resource_restrict_workspace_admins_setting.go b/bundle/internal/tf/schema/resource_restrict_workspace_admins_setting.go index b539201216..0263ce8737 100644 --- a/bundle/internal/tf/schema/resource_restrict_workspace_admins_setting.go +++ b/bundle/internal/tf/schema/resource_restrict_workspace_admins_setting.go @@ -3,7 +3,7 @@ package schema type ResourceRestrictWorkspaceAdminsSettingProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceRestrictWorkspaceAdminsSettingRestrictWorkspaceAdmins struct { diff --git a/bundle/internal/tf/schema/resource_rfa_access_request_destinations.go b/bundle/internal/tf/schema/resource_rfa_access_request_destinations.go index bafb8d49fa..c887f9206f 100644 --- a/bundle/internal/tf/schema/resource_rfa_access_request_destinations.go +++ b/bundle/internal/tf/schema/resource_rfa_access_request_destinations.go @@ -15,7 +15,7 @@ type ResourceRfaAccessRequestDestinationsDestinations struct { } type ResourceRfaAccessRequestDestinationsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceRfaAccessRequestDestinationsSecurable struct { diff --git a/bundle/internal/tf/schema/resource_schema.go b/bundle/internal/tf/schema/resource_schema.go index efb4c9bf44..9d3f4c7344 100644 --- a/bundle/internal/tf/schema/resource_schema.go +++ b/bundle/internal/tf/schema/resource_schema.go @@ -3,7 +3,7 @@ package schema type ResourceSchemaProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSchema struct { diff --git a/bundle/internal/tf/schema/resource_secret.go b/bundle/internal/tf/schema/resource_secret.go index 02dddfa232..30a5278fef 100644 --- a/bundle/internal/tf/schema/resource_secret.go +++ b/bundle/internal/tf/schema/resource_secret.go @@ -3,7 +3,7 @@ package schema type ResourceSecretProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSecret struct { diff --git a/bundle/internal/tf/schema/resource_secret_acl.go b/bundle/internal/tf/schema/resource_secret_acl.go index 873e82f5d1..fb30cb013b 100644 --- a/bundle/internal/tf/schema/resource_secret_acl.go +++ b/bundle/internal/tf/schema/resource_secret_acl.go @@ -3,7 +3,7 @@ package schema type ResourceSecretAclProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSecretAcl struct { diff --git a/bundle/internal/tf/schema/resource_secret_scope.go b/bundle/internal/tf/schema/resource_secret_scope.go index ca539d8d02..b6a96552f6 100644 --- a/bundle/internal/tf/schema/resource_secret_scope.go +++ b/bundle/internal/tf/schema/resource_secret_scope.go @@ -8,7 +8,7 @@ type ResourceSecretScopeKeyvaultMetadata struct { } type ResourceSecretScopeProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSecretScope struct { diff --git a/bundle/internal/tf/schema/resource_secret_uc.go b/bundle/internal/tf/schema/resource_secret_uc.go new file mode 100644 index 0000000000..84e199be6f --- /dev/null +++ b/bundle/internal/tf/schema/resource_secret_uc.go @@ -0,0 +1,28 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type ResourceSecretUcProviderConfig struct { + WorkspaceId string `json:"workspace_id,omitempty"` +} + +type ResourceSecretUc struct { + BrowseOnly bool `json:"browse_only,omitempty"` + CatalogName string `json:"catalog_name"` + Comment string `json:"comment,omitempty"` + CreateTime string `json:"create_time,omitempty"` + CreatedBy string `json:"created_by,omitempty"` + EffectiveOwner string `json:"effective_owner,omitempty"` + EffectiveValue string `json:"effective_value,omitempty"` + ExpireTime string `json:"expire_time,omitempty"` + ExternalSecretId string `json:"external_secret_id,omitempty"` + FullName string `json:"full_name,omitempty"` + MetastoreId string `json:"metastore_id,omitempty"` + Name string `json:"name"` + Owner string `json:"owner,omitempty"` + ProviderConfig *ResourceSecretUcProviderConfig `json:"provider_config,omitempty"` + SchemaName string `json:"schema_name"` + UpdateTime string `json:"update_time,omitempty"` + UpdatedBy string `json:"updated_by,omitempty"` + Value string `json:"value"` +} diff --git a/bundle/internal/tf/schema/resource_service_principal.go b/bundle/internal/tf/schema/resource_service_principal.go index 231eccf3b1..7686bf43e6 100644 --- a/bundle/internal/tf/schema/resource_service_principal.go +++ b/bundle/internal/tf/schema/resource_service_principal.go @@ -3,7 +3,7 @@ package schema type ResourceServicePrincipalProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceServicePrincipal struct { diff --git a/bundle/internal/tf/schema/resource_service_principal_role.go b/bundle/internal/tf/schema/resource_service_principal_role.go index 3da75ea081..c010612a56 100644 --- a/bundle/internal/tf/schema/resource_service_principal_role.go +++ b/bundle/internal/tf/schema/resource_service_principal_role.go @@ -3,7 +3,7 @@ package schema type ResourceServicePrincipalRoleProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceServicePrincipalRole struct { diff --git a/bundle/internal/tf/schema/resource_service_principal_secret.go b/bundle/internal/tf/schema/resource_service_principal_secret.go index 7e6559cf90..c28b82caae 100644 --- a/bundle/internal/tf/schema/resource_service_principal_secret.go +++ b/bundle/internal/tf/schema/resource_service_principal_secret.go @@ -3,7 +3,7 @@ package schema type ResourceServicePrincipalSecretProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceServicePrincipalSecret struct { diff --git a/bundle/internal/tf/schema/resource_sql_alert.go b/bundle/internal/tf/schema/resource_sql_alert.go index 3871dc4937..e8fd5aed24 100644 --- a/bundle/internal/tf/schema/resource_sql_alert.go +++ b/bundle/internal/tf/schema/resource_sql_alert.go @@ -13,7 +13,7 @@ type ResourceSqlAlertOptions struct { } type ResourceSqlAlertProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSqlAlert struct { diff --git a/bundle/internal/tf/schema/resource_sql_dashboard.go b/bundle/internal/tf/schema/resource_sql_dashboard.go index fc37c98d1d..20af546d63 100644 --- a/bundle/internal/tf/schema/resource_sql_dashboard.go +++ b/bundle/internal/tf/schema/resource_sql_dashboard.go @@ -3,7 +3,7 @@ package schema type ResourceSqlDashboardProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSqlDashboard struct { diff --git a/bundle/internal/tf/schema/resource_sql_endpoint.go b/bundle/internal/tf/schema/resource_sql_endpoint.go index b8fe078261..e2f91e7d32 100644 --- a/bundle/internal/tf/schema/resource_sql_endpoint.go +++ b/bundle/internal/tf/schema/resource_sql_endpoint.go @@ -8,7 +8,7 @@ type ResourceSqlEndpointChannel struct { } type ResourceSqlEndpointProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSqlEndpointTagsCustomTags struct { diff --git a/bundle/internal/tf/schema/resource_sql_global_config.go b/bundle/internal/tf/schema/resource_sql_global_config.go index b17c91275a..b50bd578ee 100644 --- a/bundle/internal/tf/schema/resource_sql_global_config.go +++ b/bundle/internal/tf/schema/resource_sql_global_config.go @@ -3,7 +3,7 @@ package schema type ResourceSqlGlobalConfigProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSqlGlobalConfig struct { diff --git a/bundle/internal/tf/schema/resource_sql_permissions.go b/bundle/internal/tf/schema/resource_sql_permissions.go index 8a93179380..d81b7b5d16 100644 --- a/bundle/internal/tf/schema/resource_sql_permissions.go +++ b/bundle/internal/tf/schema/resource_sql_permissions.go @@ -8,7 +8,7 @@ type ResourceSqlPermissionsPrivilegeAssignments struct { } type ResourceSqlPermissionsProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSqlPermissions struct { diff --git a/bundle/internal/tf/schema/resource_sql_query.go b/bundle/internal/tf/schema/resource_sql_query.go index 445ec90aac..4086e344a6 100644 --- a/bundle/internal/tf/schema/resource_sql_query.go +++ b/bundle/internal/tf/schema/resource_sql_query.go @@ -94,7 +94,7 @@ type ResourceSqlQueryParameter struct { } type ResourceSqlQueryProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSqlQueryScheduleContinuous struct { diff --git a/bundle/internal/tf/schema/resource_sql_table.go b/bundle/internal/tf/schema/resource_sql_table.go index 1971e86f80..98442f3a70 100644 --- a/bundle/internal/tf/schema/resource_sql_table.go +++ b/bundle/internal/tf/schema/resource_sql_table.go @@ -12,7 +12,7 @@ type ResourceSqlTableColumn struct { } type ResourceSqlTableProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSqlTable struct { diff --git a/bundle/internal/tf/schema/resource_sql_visualization.go b/bundle/internal/tf/schema/resource_sql_visualization.go index 11f5e9060c..ea17434be3 100644 --- a/bundle/internal/tf/schema/resource_sql_visualization.go +++ b/bundle/internal/tf/schema/resource_sql_visualization.go @@ -3,7 +3,7 @@ package schema type ResourceSqlVisualizationProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSqlVisualization struct { diff --git a/bundle/internal/tf/schema/resource_sql_widget.go b/bundle/internal/tf/schema/resource_sql_widget.go index bb024d9024..c5c21aea24 100644 --- a/bundle/internal/tf/schema/resource_sql_widget.go +++ b/bundle/internal/tf/schema/resource_sql_widget.go @@ -20,7 +20,7 @@ type ResourceSqlWidgetPosition struct { } type ResourceSqlWidgetProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSqlWidget struct { diff --git a/bundle/internal/tf/schema/resource_storage_credential.go b/bundle/internal/tf/schema/resource_storage_credential.go index 5f0485eff0..e49c4d0097 100644 --- a/bundle/internal/tf/schema/resource_storage_credential.go +++ b/bundle/internal/tf/schema/resource_storage_credential.go @@ -38,7 +38,7 @@ type ResourceStorageCredentialGcpServiceAccountKey struct { } type ResourceStorageCredentialProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceStorageCredential struct { diff --git a/bundle/internal/tf/schema/resource_supervisor_agent.go b/bundle/internal/tf/schema/resource_supervisor_agent.go new file mode 100644 index 0000000000..4b80037eab --- /dev/null +++ b/bundle/internal/tf/schema/resource_supervisor_agent.go @@ -0,0 +1,21 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type ResourceSupervisorAgentProviderConfig struct { + WorkspaceId string `json:"workspace_id,omitempty"` +} + +type ResourceSupervisorAgent struct { + CreateTime string `json:"create_time,omitempty"` + Creator string `json:"creator,omitempty"` + Description string `json:"description,omitempty"` + DisplayName string `json:"display_name"` + EndpointName string `json:"endpoint_name,omitempty"` + ExperimentId string `json:"experiment_id,omitempty"` + Id string `json:"id,omitempty"` + Instructions string `json:"instructions,omitempty"` + Name string `json:"name,omitempty"` + ProviderConfig *ResourceSupervisorAgentProviderConfig `json:"provider_config,omitempty"` + SupervisorAgentId string `json:"supervisor_agent_id,omitempty"` +} diff --git a/bundle/internal/tf/schema/resource_supervisor_agent_tool.go b/bundle/internal/tf/schema/resource_supervisor_agent_tool.go new file mode 100644 index 0000000000..bb398edc2e --- /dev/null +++ b/bundle/internal/tf/schema/resource_supervisor_agent_tool.go @@ -0,0 +1,48 @@ +// Generated from Databricks Terraform provider schema. DO NOT EDIT. + +package schema + +type ResourceSupervisorAgentToolApp struct { + Name string `json:"name"` +} + +type ResourceSupervisorAgentToolGenieSpace struct { + Id string `json:"id"` +} + +type ResourceSupervisorAgentToolKnowledgeAssistant struct { + KnowledgeAssistantId string `json:"knowledge_assistant_id"` + ServingEndpointName string `json:"serving_endpoint_name,omitempty"` +} + +type ResourceSupervisorAgentToolProviderConfig struct { + WorkspaceId string `json:"workspace_id,omitempty"` +} + +type ResourceSupervisorAgentToolUcConnection struct { + Name string `json:"name"` +} + +type ResourceSupervisorAgentToolUcFunction struct { + Name string `json:"name"` +} + +type ResourceSupervisorAgentToolVolume struct { + Name string `json:"name"` +} + +type ResourceSupervisorAgentTool struct { + App *ResourceSupervisorAgentToolApp `json:"app,omitempty"` + Description string `json:"description,omitempty"` + GenieSpace *ResourceSupervisorAgentToolGenieSpace `json:"genie_space,omitempty"` + Id string `json:"id,omitempty"` + KnowledgeAssistant *ResourceSupervisorAgentToolKnowledgeAssistant `json:"knowledge_assistant,omitempty"` + Name string `json:"name,omitempty"` + Parent string `json:"parent"` + ProviderConfig *ResourceSupervisorAgentToolProviderConfig `json:"provider_config,omitempty"` + ToolId string `json:"tool_id"` + ToolType string `json:"tool_type"` + UcConnection *ResourceSupervisorAgentToolUcConnection `json:"uc_connection,omitempty"` + UcFunction *ResourceSupervisorAgentToolUcFunction `json:"uc_function,omitempty"` + Volume *ResourceSupervisorAgentToolVolume `json:"volume,omitempty"` +} diff --git a/bundle/internal/tf/schema/resource_system_schema.go b/bundle/internal/tf/schema/resource_system_schema.go index cf5efdde52..f7e6e7559e 100644 --- a/bundle/internal/tf/schema/resource_system_schema.go +++ b/bundle/internal/tf/schema/resource_system_schema.go @@ -3,7 +3,7 @@ package schema type ResourceSystemSchemaProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceSystemSchema struct { diff --git a/bundle/internal/tf/schema/resource_table.go b/bundle/internal/tf/schema/resource_table.go index 9d3fba1341..2960a11da5 100644 --- a/bundle/internal/tf/schema/resource_table.go +++ b/bundle/internal/tf/schema/resource_table.go @@ -17,7 +17,7 @@ type ResourceTableColumn struct { } type ResourceTableProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceTable struct { diff --git a/bundle/internal/tf/schema/resource_tag_policy.go b/bundle/internal/tf/schema/resource_tag_policy.go index 490b7020b5..549777c6b2 100644 --- a/bundle/internal/tf/schema/resource_tag_policy.go +++ b/bundle/internal/tf/schema/resource_tag_policy.go @@ -3,7 +3,7 @@ package schema type ResourceTagPolicyProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceTagPolicyValues struct { diff --git a/bundle/internal/tf/schema/resource_token.go b/bundle/internal/tf/schema/resource_token.go index 648cd6d3c8..5473c7c48d 100644 --- a/bundle/internal/tf/schema/resource_token.go +++ b/bundle/internal/tf/schema/resource_token.go @@ -3,7 +3,7 @@ package schema type ResourceTokenProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceToken struct { diff --git a/bundle/internal/tf/schema/resource_user.go b/bundle/internal/tf/schema/resource_user.go index 0ad0aa5ca5..9d3c4f0dae 100644 --- a/bundle/internal/tf/schema/resource_user.go +++ b/bundle/internal/tf/schema/resource_user.go @@ -3,7 +3,7 @@ package schema type ResourceUserProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceUser struct { diff --git a/bundle/internal/tf/schema/resource_user_instance_profile.go b/bundle/internal/tf/schema/resource_user_instance_profile.go index 59b27276fe..b6c20658c6 100644 --- a/bundle/internal/tf/schema/resource_user_instance_profile.go +++ b/bundle/internal/tf/schema/resource_user_instance_profile.go @@ -3,7 +3,7 @@ package schema type ResourceUserInstanceProfileProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceUserInstanceProfile struct { diff --git a/bundle/internal/tf/schema/resource_user_role.go b/bundle/internal/tf/schema/resource_user_role.go index 75b88ba135..ac2276013c 100644 --- a/bundle/internal/tf/schema/resource_user_role.go +++ b/bundle/internal/tf/schema/resource_user_role.go @@ -3,7 +3,7 @@ package schema type ResourceUserRoleProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceUserRole struct { diff --git a/bundle/internal/tf/schema/resource_vector_search_endpoint.go b/bundle/internal/tf/schema/resource_vector_search_endpoint.go index 9d30aa8256..02bdeceae4 100644 --- a/bundle/internal/tf/schema/resource_vector_search_endpoint.go +++ b/bundle/internal/tf/schema/resource_vector_search_endpoint.go @@ -3,12 +3,12 @@ package schema type ResourceVectorSearchEndpointProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceVectorSearchEndpointScalingInfo struct { - RequestedMinQps int `json:"requested_min_qps,omitempty"` - State string `json:"state,omitempty"` + RequestedTargetQps int `json:"requested_target_qps,omitempty"` + State string `json:"state,omitempty"` } type ResourceVectorSearchEndpoint struct { diff --git a/bundle/internal/tf/schema/resource_vector_search_index.go b/bundle/internal/tf/schema/resource_vector_search_index.go index bd45fe44c0..2872f05966 100644 --- a/bundle/internal/tf/schema/resource_vector_search_index.go +++ b/bundle/internal/tf/schema/resource_vector_search_index.go @@ -14,6 +14,8 @@ type ResourceVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumns struct { } type ResourceVectorSearchIndexDeltaSyncIndexSpec struct { + ColumnsToIndex []string `json:"columns_to_index,omitempty"` + ColumnsToSync []string `json:"columns_to_sync,omitempty"` EmbeddingWritebackTable string `json:"embedding_writeback_table,omitempty"` PipelineId string `json:"pipeline_id,omitempty"` PipelineType string `json:"pipeline_type,omitempty"` @@ -40,7 +42,7 @@ type ResourceVectorSearchIndexDirectAccessIndexSpec struct { } type ResourceVectorSearchIndexProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceVectorSearchIndex struct { diff --git a/bundle/internal/tf/schema/resource_volume.go b/bundle/internal/tf/schema/resource_volume.go index e540ef3b2c..f8f3cd739c 100644 --- a/bundle/internal/tf/schema/resource_volume.go +++ b/bundle/internal/tf/schema/resource_volume.go @@ -3,7 +3,7 @@ package schema type ResourceVolumeProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceVolume struct { diff --git a/bundle/internal/tf/schema/resource_warehouses_default_warehouse_override.go b/bundle/internal/tf/schema/resource_warehouses_default_warehouse_override.go index 0943319073..a5fd1c4a5c 100644 --- a/bundle/internal/tf/schema/resource_warehouses_default_warehouse_override.go +++ b/bundle/internal/tf/schema/resource_warehouses_default_warehouse_override.go @@ -3,7 +3,7 @@ package schema type ResourceWarehousesDefaultWarehouseOverrideProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceWarehousesDefaultWarehouseOverride struct { diff --git a/bundle/internal/tf/schema/resource_workspace_binding.go b/bundle/internal/tf/schema/resource_workspace_binding.go index 1d0ebe980f..39fea132ed 100644 --- a/bundle/internal/tf/schema/resource_workspace_binding.go +++ b/bundle/internal/tf/schema/resource_workspace_binding.go @@ -3,7 +3,7 @@ package schema type ResourceWorkspaceBindingProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceWorkspaceBinding struct { diff --git a/bundle/internal/tf/schema/resource_workspace_conf.go b/bundle/internal/tf/schema/resource_workspace_conf.go index 9c3a94c850..f0cd41c112 100644 --- a/bundle/internal/tf/schema/resource_workspace_conf.go +++ b/bundle/internal/tf/schema/resource_workspace_conf.go @@ -3,7 +3,7 @@ package schema type ResourceWorkspaceConfProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceWorkspaceConf struct { diff --git a/bundle/internal/tf/schema/resource_workspace_entity_tag_assignment.go b/bundle/internal/tf/schema/resource_workspace_entity_tag_assignment.go index a22d7d0d4f..21babfcd16 100644 --- a/bundle/internal/tf/schema/resource_workspace_entity_tag_assignment.go +++ b/bundle/internal/tf/schema/resource_workspace_entity_tag_assignment.go @@ -3,7 +3,7 @@ package schema type ResourceWorkspaceEntityTagAssignmentProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceWorkspaceEntityTagAssignment struct { diff --git a/bundle/internal/tf/schema/resource_workspace_file.go b/bundle/internal/tf/schema/resource_workspace_file.go index dfb1085271..f233f6e591 100644 --- a/bundle/internal/tf/schema/resource_workspace_file.go +++ b/bundle/internal/tf/schema/resource_workspace_file.go @@ -3,7 +3,7 @@ package schema type ResourceWorkspaceFileProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceWorkspaceFile struct { diff --git a/bundle/internal/tf/schema/resource_workspace_setting_v2.go b/bundle/internal/tf/schema/resource_workspace_setting_v2.go index 6384c00ae4..076e9d9b80 100644 --- a/bundle/internal/tf/schema/resource_workspace_setting_v2.go +++ b/bundle/internal/tf/schema/resource_workspace_setting_v2.go @@ -110,7 +110,7 @@ type ResourceWorkspaceSettingV2PersonalCompute struct { } type ResourceWorkspaceSettingV2ProviderConfig struct { - WorkspaceId string `json:"workspace_id"` + WorkspaceId string `json:"workspace_id,omitempty"` } type ResourceWorkspaceSettingV2RestrictWorkspaceAdmins struct { diff --git a/bundle/internal/tf/schema/resources.go b/bundle/internal/tf/schema/resources.go index a12b555092..b0827c5b72 100644 --- a/bundle/internal/tf/schema/resources.go +++ b/bundle/internal/tf/schema/resources.go @@ -44,6 +44,8 @@ type Resources struct { DisableLegacyAccessSetting map[string]any `json:"databricks_disable_legacy_access_setting,omitempty"` DisableLegacyDbfsSetting map[string]any `json:"databricks_disable_legacy_dbfs_setting,omitempty"` DisableLegacyFeaturesSetting map[string]any `json:"databricks_disable_legacy_features_setting,omitempty"` + DisasterRecoveryFailoverGroup map[string]any `json:"databricks_disaster_recovery_failover_group,omitempty"` + DisasterRecoveryStableUrl map[string]any `json:"databricks_disaster_recovery_stable_url,omitempty"` Endpoint map[string]any `json:"databricks_endpoint,omitempty"` EnhancedSecurityMonitoringWorkspaceSetting map[string]any `json:"databricks_enhanced_security_monitoring_workspace_setting,omitempty"` Entitlements map[string]any `json:"databricks_entitlements,omitempty"` @@ -123,6 +125,7 @@ type Resources struct { Secret map[string]any `json:"databricks_secret,omitempty"` SecretAcl map[string]any `json:"databricks_secret_acl,omitempty"` SecretScope map[string]any `json:"databricks_secret_scope,omitempty"` + SecretUc map[string]any `json:"databricks_secret_uc,omitempty"` ServicePrincipal map[string]any `json:"databricks_service_principal,omitempty"` ServicePrincipalFederationPolicy map[string]any `json:"databricks_service_principal_federation_policy,omitempty"` ServicePrincipalRole map[string]any `json:"databricks_service_principal_role,omitempty"` @@ -138,6 +141,8 @@ type Resources struct { SqlVisualization map[string]any `json:"databricks_sql_visualization,omitempty"` SqlWidget map[string]any `json:"databricks_sql_widget,omitempty"` StorageCredential map[string]any `json:"databricks_storage_credential,omitempty"` + SupervisorAgent map[string]any `json:"databricks_supervisor_agent,omitempty"` + SupervisorAgentTool map[string]any `json:"databricks_supervisor_agent_tool,omitempty"` SystemSchema map[string]any `json:"databricks_system_schema,omitempty"` Table map[string]any `json:"databricks_table,omitempty"` TagPolicy map[string]any `json:"databricks_tag_policy,omitempty"` @@ -184,26 +189,28 @@ func NewResources() *Resources { Cluster: make(map[string]any), ClusterPolicy: make(map[string]any), ComplianceSecurityProfileWorkspaceSetting: make(map[string]any), - Connection: make(map[string]any), - Credential: make(map[string]any), - CustomAppIntegration: make(map[string]any), - Dashboard: make(map[string]any), - DataClassificationCatalogConfig: make(map[string]any), - DataQualityMonitor: make(map[string]any), - DataQualityRefresh: make(map[string]any), - DatabaseDatabaseCatalog: make(map[string]any), - DatabaseInstance: make(map[string]any), - DatabaseSyncedDatabaseTable: make(map[string]any), - DbfsFile: make(map[string]any), - DefaultNamespaceSetting: make(map[string]any), - Directory: make(map[string]any), - DisableLegacyAccessSetting: make(map[string]any), - DisableLegacyDbfsSetting: make(map[string]any), - DisableLegacyFeaturesSetting: make(map[string]any), - Endpoint: make(map[string]any), - EnhancedSecurityMonitoringWorkspaceSetting: make(map[string]any), - Entitlements: make(map[string]any), - EntityTagAssignment: make(map[string]any), + Connection: make(map[string]any), + Credential: make(map[string]any), + CustomAppIntegration: make(map[string]any), + Dashboard: make(map[string]any), + DataClassificationCatalogConfig: make(map[string]any), + DataQualityMonitor: make(map[string]any), + DataQualityRefresh: make(map[string]any), + DatabaseDatabaseCatalog: make(map[string]any), + DatabaseInstance: make(map[string]any), + DatabaseSyncedDatabaseTable: make(map[string]any), + DbfsFile: make(map[string]any), + DefaultNamespaceSetting: make(map[string]any), + Directory: make(map[string]any), + DisableLegacyAccessSetting: make(map[string]any), + DisableLegacyDbfsSetting: make(map[string]any), + DisableLegacyFeaturesSetting: make(map[string]any), + DisasterRecoveryFailoverGroup: make(map[string]any), + DisasterRecoveryStableUrl: make(map[string]any), + Endpoint: make(map[string]any), + EnhancedSecurityMonitoringWorkspaceSetting: make(map[string]any), + Entitlements: make(map[string]any), + EntityTagAssignment: make(map[string]any), EnvironmentsDefaultWorkspaceBaseEnvironment: make(map[string]any), EnvironmentsWorkspaceBaseEnvironment: make(map[string]any), ExternalLocation: make(map[string]any), @@ -279,6 +286,7 @@ func NewResources() *Resources { Secret: make(map[string]any), SecretAcl: make(map[string]any), SecretScope: make(map[string]any), + SecretUc: make(map[string]any), ServicePrincipal: make(map[string]any), ServicePrincipalFederationPolicy: make(map[string]any), ServicePrincipalRole: make(map[string]any), @@ -294,6 +302,8 @@ func NewResources() *Resources { SqlVisualization: make(map[string]any), SqlWidget: make(map[string]any), StorageCredential: make(map[string]any), + SupervisorAgent: make(map[string]any), + SupervisorAgentTool: make(map[string]any), SystemSchema: make(map[string]any), Table: make(map[string]any), TagPolicy: make(map[string]any), diff --git a/bundle/internal/tf/schema/root.go b/bundle/internal/tf/schema/root.go index c0d0ad067c..111a2bb59e 100644 --- a/bundle/internal/tf/schema/root.go +++ b/bundle/internal/tf/schema/root.go @@ -21,9 +21,9 @@ type Root struct { const ProviderHost = "registry.terraform.io" const ProviderSource = "databricks/databricks" -const ProviderVersion = "1.113.0" -const ProviderChecksumLinuxAmd64 = "4f5caaf7bea4c435ae97c28c45086c213e182b67d1fe9b13f4e91b9e0b6ad7be" -const ProviderChecksumLinuxArm64 = "69693b0bcbab3a184deb2744e8b90d5a9d1f7e19cdc414bc54a87280e37d65a9" +const ProviderVersion = "1.115.0" +const ProviderChecksumLinuxAmd64 = "eb2d130871f6fb8cfd1b86be2f66cdf724ec08625e60d9d9947c36979b412547" +const ProviderChecksumLinuxArm64 = "6401e75be47b98f1a807bbd17d5904f58d90c2b2ac0da483847efdecfa962c0f" func NewRoot() *Root { return &Root{