From d1fd515724bd856c447a804f0adaaefef1e1f3d4 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 11 May 2026 22:13:10 +0200 Subject: [PATCH] Bump Terraform provider to v1.115.0 ## Why Keep the CLI's Terraform schema in sync with the latest provider release ([v1.115.0](https://github.com/databricks/terraform-provider-databricks/releases/tag/v1.115.0), published 2026-05-11). ## Changes Bumps the provider version from 1.113.0 to 1.115.0 and regenerates the Go schema types using `go run .` in `bundle/internal/tf/codegen`. Also fixes `openpgp: key expired` from hc-install's embedded HashiCorp pubkey on the codegen path: the refreshed key block is now passed via `releases.ExactVersion.ArmoredPublicKey`, mirroring the runtime install fix in PR #5021. Required to run codegen at all on current toolchains. New resources (added in v1.114.0, still present in v1.115.0): - `databricks_disaster_recovery_failover_group` - `databricks_disaster_recovery_stable_url` - `databricks_secret_uc` - `databricks_supervisor_agent` - `databricks_supervisor_agent_tool` New data sources for each of the above (singular and plural). Acceptance test outputs that capture the provider user-agent string or terraform state shape were regenerated: - `bundle/user_agent`, `bundle/state/state_present` - `bundle/migrate/{basic,dashboards,default-python,grants,permissions,runas}` - `bundle/resources/jobs/update` - `bundle/resources/postgres_projects/update_display_name` - `bundle/deployment/bind/{dashboard/recreation,pipelines/recreate,pipelines/update}` The schema-driven changes are: a populated `provider_config.workspace_id` on jobs and pipelines, and `update_mask: initial_endpoint_spec,spec` on postgres project PATCH requests. ## Test plan - [x] `./task checks` passes - [x] `go build ./...` passes - [x] Affected acceptance tests regenerated locally - [ ] CI passes on the PR Co-authored-by: Isaac --- NEXT_CHANGELOG.md | 1 + .../out.state_after_bind.terraform.json | 6 +- .../recreate/out.bind-fail.terraform.txt | 4 + .../update/out.bind-fail.terraform.txt | 2 + .../migrate/basic/out.original_state.json | 18 +- .../dashboards/out.original_state.json | 6 +- .../default-python/out.state_original.json | 12 +- .../migrate/grants/out.original_state.json | 36 +- .../permissions/out.original_state.json | 24 +- .../migrate/runas/out.create_requests.json | 4 +- .../bundle/migrate/runas/out.old_state.json | 12 +- .../jobs/update/out.state.terraform.json | 6 +- .../out.requests.restore.terraform.json | 2 +- .../out.requests.update.terraform.json | 2 +- .../bundle/state/state_present/output.txt | 4 +- acceptance/bundle/user_agent/output.txt | 46 +- .../simple/out.requests.deploy.terraform.json | 36 +- .../out.requests.destroy.terraform.json | 36 +- .../simple/out.requests.plan.terraform.json | 13 +- .../simple/out.requests.plan2.terraform.json | 15 +- bundle/internal/tf/codegen/schema/generate.go | 7 +- bundle/internal/tf/codegen/schema/pubkey.go | 137 ++++++ bundle/internal/tf/codegen/schema/version.go | 2 +- bundle/internal/tf/schema/config.go | 1 - .../data_source_account_network_policies.go | 440 +++++++++++++++++- .../data_source_account_network_policy.go | 440 +++++++++++++++++- .../tf/schema/data_source_alert_v2.go | 2 +- .../tf/schema/data_source_alerts_v2.go | 4 +- bundle/internal/tf/schema/data_source_app.go | 3 +- .../tf/schema/data_source_app_space.go | 2 +- .../tf/schema/data_source_app_spaces.go | 4 +- bundle/internal/tf/schema/data_source_apps.go | 3 +- ...ta_source_apps_settings_custom_template.go | 2 +- ...a_source_apps_settings_custom_templates.go | 4 +- .../internal/tf/schema/data_source_catalog.go | 2 +- .../tf/schema/data_source_catalogs.go | 2 +- .../internal/tf/schema/data_source_cluster.go | 8 +- .../tf/schema/data_source_cluster_policy.go | 2 +- .../tf/schema/data_source_clusters.go | 2 +- .../tf/schema/data_source_current_config.go | 2 +- .../schema/data_source_current_metastore.go | 2 +- .../tf/schema/data_source_current_user.go | 2 +- .../tf/schema/data_source_dashboards.go | 2 +- ...urce_data_classification_catalog_config.go | 2 +- .../data_source_data_quality_monitor.go | 2 +- .../data_source_data_quality_monitors.go | 4 +- .../data_source_data_quality_refresh.go | 2 +- .../data_source_data_quality_refreshes.go | 4 +- .../data_source_database_database_catalog.go | 2 +- .../data_source_database_database_catalogs.go | 4 +- .../schema/data_source_database_instance.go | 2 +- .../schema/data_source_database_instances.go | 4 +- ...a_source_database_synced_database_table.go | 2 +- ..._source_database_synced_database_tables.go | 4 +- .../tf/schema/data_source_dbfs_file.go | 2 +- .../tf/schema/data_source_dbfs_file_paths.go | 2 +- .../tf/schema/data_source_directory.go | 2 +- ...source_disaster_recovery_failover_group.go | 44 ++ ...ource_disaster_recovery_failover_groups.go | 50 ++ ...ata_source_disaster_recovery_stable_url.go | 9 + ...ta_source_disaster_recovery_stable_urls.go | 15 + .../data_source_entity_tag_assignment.go | 2 +- .../data_source_entity_tag_assignments.go | 4 +- ...ents_default_workspace_base_environment.go | 2 +- ...environments_workspace_base_environment.go | 2 +- ...nvironments_workspace_base_environments.go | 4 +- .../schema/data_source_external_location.go | 2 +- .../schema/data_source_external_locations.go | 2 +- .../schema/data_source_external_metadata.go | 2 +- .../schema/data_source_external_metadatas.go | 4 +- ...data_source_feature_engineering_feature.go | 2 +- ...ata_source_feature_engineering_features.go | 4 +- ...source_feature_engineering_kafka_config.go | 3 +- ...ource_feature_engineering_kafka_configs.go | 5 +- ...eature_engineering_materialized_feature.go | 2 +- ...ature_engineering_materialized_features.go | 4 +- .../tf/schema/data_source_functions.go | 2 +- .../internal/tf/schema/data_source_group.go | 2 +- .../tf/schema/data_source_instance_pool.go | 2 +- .../schema/data_source_instance_profiles.go | 2 +- bundle/internal/tf/schema/data_source_job.go | 8 +- bundle/internal/tf/schema/data_source_jobs.go | 2 +- .../schema/data_source_knowledge_assistant.go | 2 +- ...ce_knowledge_assistant_knowledge_source.go | 2 +- ...e_knowledge_assistant_knowledge_sources.go | 4 +- .../data_source_knowledge_assistants.go | 4 +- ...ource_materialized_features_feature_tag.go | 2 +- ...urce_materialized_features_feature_tags.go | 4 +- .../schema/data_source_mlflow_experiment.go | 2 +- .../tf/schema/data_source_mlflow_model.go | 2 +- .../tf/schema/data_source_mlflow_models.go | 2 +- .../tf/schema/data_source_mws_credentials.go | 2 +- .../tf/schema/data_source_mws_workspaces.go | 2 +- .../tf/schema/data_source_node_type.go | 2 +- .../tf/schema/data_source_notebook.go | 2 +- .../tf/schema/data_source_notebook_paths.go | 2 +- .../data_source_notification_destinations.go | 2 +- .../tf/schema/data_source_online_store.go | 2 +- .../tf/schema/data_source_online_stores.go | 4 +- .../tf/schema/data_source_pipelines.go | 2 +- .../tf/schema/data_source_policy_info.go | 2 +- .../tf/schema/data_source_policy_infos.go | 4 +- .../tf/schema/data_source_postgres_branch.go | 3 +- .../schema/data_source_postgres_branches.go | 5 +- .../tf/schema/data_source_postgres_catalog.go | 3 +- .../schema/data_source_postgres_database.go | 3 +- .../schema/data_source_postgres_databases.go | 5 +- .../schema/data_source_postgres_endpoint.go | 3 +- .../schema/data_source_postgres_endpoints.go | 5 +- .../tf/schema/data_source_postgres_project.go | 5 +- .../schema/data_source_postgres_projects.go | 8 +- .../tf/schema/data_source_postgres_role.go | 3 +- .../tf/schema/data_source_postgres_roles.go | 5 +- .../data_source_postgres_synced_table.go | 3 +- .../schema/data_source_quality_monitor_v2.go | 2 +- .../schema/data_source_quality_monitors_v2.go | 4 +- .../tf/schema/data_source_registered_model.go | 2 +- .../data_source_registered_model_versions.go | 2 +- ..._source_rfa_access_request_destinations.go | 2 +- .../internal/tf/schema/data_source_schema.go | 2 +- .../internal/tf/schema/data_source_schemas.go | 2 +- .../tf/schema/data_source_secret_uc.go | 28 ++ .../tf/schema/data_source_secret_ucs.go | 41 ++ .../schema/data_source_service_principal.go | 3 +- .../schema/data_source_service_principals.go | 3 +- .../schema/data_source_serving_endpoints.go | 2 +- .../internal/tf/schema/data_source_share.go | 2 +- .../internal/tf/schema/data_source_shares.go | 2 +- .../tf/schema/data_source_spark_version.go | 2 +- .../tf/schema/data_source_sql_warehouse.go | 2 +- .../tf/schema/data_source_sql_warehouses.go | 2 +- .../schema/data_source_storage_credential.go | 2 +- .../schema/data_source_storage_credentials.go | 2 +- .../tf/schema/data_source_supervisor_agent.go | 21 + .../data_source_supervisor_agent_tool.go | 47 ++ .../data_source_supervisor_agent_tools.go | 58 +++ .../schema/data_source_supervisor_agents.go | 31 ++ .../internal/tf/schema/data_source_table.go | 2 +- .../internal/tf/schema/data_source_tables.go | 2 +- .../tf/schema/data_source_tag_policies.go | 4 +- .../tf/schema/data_source_tag_policy.go | 2 +- bundle/internal/tf/schema/data_source_user.go | 2 +- .../internal/tf/schema/data_source_users.go | 2 +- .../internal/tf/schema/data_source_views.go | 2 +- .../internal/tf/schema/data_source_volume.go | 2 +- .../internal/tf/schema/data_source_volumes.go | 2 +- ...e_warehouses_default_warehouse_override.go | 2 +- ..._warehouses_default_warehouse_overrides.go | 4 +- ..._source_workspace_entity_tag_assignment.go | 2 +- ...source_workspace_entity_tag_assignments.go | 4 +- .../data_source_workspace_setting_v2.go | 2 +- .../internal/tf/schema/data_source_zones.go | 2 +- bundle/internal/tf/schema/data_sources.go | 20 + .../resource_access_control_rule_set.go | 2 +- .../schema/resource_account_network_policy.go | 440 +++++++++++++++++- ...shboard_embedding_access_policy_setting.go | 2 +- ...oard_embedding_approved_domains_setting.go | 2 +- bundle/internal/tf/schema/resource_alert.go | 2 +- .../internal/tf/schema/resource_alert_v2.go | 2 +- bundle/internal/tf/schema/resource_app.go | 1 + .../internal/tf/schema/resource_app_space.go | 2 +- .../resource_apps_settings_custom_template.go | 2 +- .../tf/schema/resource_artifact_allowlist.go | 2 +- ...omatic_cluster_update_workspace_setting.go | 2 +- bundle/internal/tf/schema/resource_catalog.go | 2 +- .../resource_catalog_workspace_binding.go | 2 +- bundle/internal/tf/schema/resource_cluster.go | 3 +- .../tf/schema/resource_cluster_policy.go | 4 +- ...ance_security_profile_workspace_setting.go | 2 +- .../internal/tf/schema/resource_connection.go | 2 +- .../internal/tf/schema/resource_credential.go | 2 +- .../internal/tf/schema/resource_dashboard.go | 2 +- ...urce_data_classification_catalog_config.go | 2 +- .../schema/resource_data_quality_monitor.go | 2 +- .../schema/resource_data_quality_refresh.go | 2 +- .../resource_database_database_catalog.go | 2 +- .../tf/schema/resource_database_instance.go | 2 +- ...resource_database_synced_database_table.go | 2 +- .../internal/tf/schema/resource_dbfs_file.go | 2 +- .../resource_default_namespace_setting.go | 2 +- .../internal/tf/schema/resource_directory.go | 2 +- .../resource_disable_legacy_access_setting.go | 2 +- .../resource_disable_legacy_dbfs_setting.go | 2 +- ...esource_disable_legacy_features_setting.go | 2 +- ...source_disaster_recovery_failover_group.go | 46 ++ .../resource_disaster_recovery_stable_url.go | 11 + ...d_security_monitoring_workspace_setting.go | 2 +- .../tf/schema/resource_entitlements.go | 2 +- .../schema/resource_entity_tag_assignment.go | 2 +- ...ents_default_workspace_base_environment.go | 2 +- ...environments_workspace_base_environment.go | 2 +- .../tf/schema/resource_external_location.go | 2 +- .../tf/schema/resource_external_metadata.go | 2 +- .../resource_feature_engineering_feature.go | 2 +- ...source_feature_engineering_kafka_config.go | 3 +- ...eature_engineering_materialized_feature.go | 2 +- bundle/internal/tf/schema/resource_file.go | 2 +- .../tf/schema/resource_git_credential.go | 2 +- .../tf/schema/resource_global_init_script.go | 2 +- bundle/internal/tf/schema/resource_grant.go | 2 +- bundle/internal/tf/schema/resource_grants.go | 2 +- bundle/internal/tf/schema/resource_group.go | 2 +- .../schema/resource_group_instance_profile.go | 2 +- .../tf/schema/resource_group_member.go | 2 +- .../internal/tf/schema/resource_group_role.go | 2 +- .../tf/schema/resource_instance_pool.go | 2 +- .../tf/schema/resource_instance_profile.go | 2 +- .../tf/schema/resource_ip_access_list.go | 2 +- bundle/internal/tf/schema/resource_job.go | 28 +- .../tf/schema/resource_knowledge_assistant.go | 2 +- ...ce_knowledge_assistant_knowledge_source.go | 2 +- .../tf/schema/resource_lakehouse_monitor.go | 2 +- ...ource_materialized_features_feature_tag.go | 2 +- .../internal/tf/schema/resource_metastore.go | 2 +- .../schema/resource_metastore_assignment.go | 2 +- .../schema/resource_metastore_data_access.go | 2 +- .../tf/schema/resource_mlflow_experiment.go | 2 +- .../tf/schema/resource_mlflow_model.go | 2 +- .../tf/schema/resource_mlflow_webhook.go | 2 +- .../tf/schema/resource_model_serving.go | 2 +- ...ce_model_serving_provisioned_throughput.go | 2 +- bundle/internal/tf/schema/resource_mount.go | 2 +- .../internal/tf/schema/resource_notebook.go | 2 +- .../resource_notification_destination.go | 2 +- .../internal/tf/schema/resource_obo_token.go | 2 +- .../tf/schema/resource_online_store.go | 2 +- .../tf/schema/resource_online_table.go | 2 +- .../schema/resource_permission_assignment.go | 2 +- .../tf/schema/resource_permissions.go | 2 +- .../internal/tf/schema/resource_pipeline.go | 128 ++++- .../tf/schema/resource_policy_info.go | 2 +- .../tf/schema/resource_postgres_branch.go | 22 +- .../tf/schema/resource_postgres_catalog.go | 3 +- .../tf/schema/resource_postgres_database.go | 3 +- .../tf/schema/resource_postgres_endpoint.go | 22 +- .../tf/schema/resource_postgres_project.go | 6 +- .../tf/schema/resource_postgres_role.go | 3 +- .../schema/resource_postgres_synced_table.go | 3 +- .../internal/tf/schema/resource_provider.go | 2 +- .../tf/schema/resource_quality_monitor_v2.go | 2 +- bundle/internal/tf/schema/resource_query.go | 2 +- .../internal/tf/schema/resource_recipient.go | 2 +- .../tf/schema/resource_registered_model.go | 2 +- bundle/internal/tf/schema/resource_repo.go | 2 +- ...ource_restrict_workspace_admins_setting.go | 2 +- ...esource_rfa_access_request_destinations.go | 2 +- bundle/internal/tf/schema/resource_schema.go | 2 +- bundle/internal/tf/schema/resource_secret.go | 2 +- .../internal/tf/schema/resource_secret_acl.go | 2 +- .../tf/schema/resource_secret_scope.go | 2 +- .../internal/tf/schema/resource_secret_uc.go | 28 ++ .../tf/schema/resource_service_principal.go | 2 +- .../schema/resource_service_principal_role.go | 2 +- .../resource_service_principal_secret.go | 2 +- .../internal/tf/schema/resource_sql_alert.go | 2 +- .../tf/schema/resource_sql_dashboard.go | 2 +- .../tf/schema/resource_sql_endpoint.go | 2 +- .../tf/schema/resource_sql_global_config.go | 2 +- .../tf/schema/resource_sql_permissions.go | 2 +- .../internal/tf/schema/resource_sql_query.go | 2 +- .../internal/tf/schema/resource_sql_table.go | 2 +- .../tf/schema/resource_sql_visualization.go | 2 +- .../internal/tf/schema/resource_sql_widget.go | 2 +- .../tf/schema/resource_storage_credential.go | 2 +- .../tf/schema/resource_supervisor_agent.go | 21 + .../schema/resource_supervisor_agent_tool.go | 48 ++ .../tf/schema/resource_system_schema.go | 2 +- bundle/internal/tf/schema/resource_table.go | 2 +- .../internal/tf/schema/resource_tag_policy.go | 2 +- bundle/internal/tf/schema/resource_token.go | 2 +- bundle/internal/tf/schema/resource_user.go | 2 +- .../schema/resource_user_instance_profile.go | 2 +- .../internal/tf/schema/resource_user_role.go | 2 +- .../schema/resource_vector_search_endpoint.go | 6 +- .../tf/schema/resource_vector_search_index.go | 4 +- bundle/internal/tf/schema/resource_volume.go | 2 +- ...e_warehouses_default_warehouse_override.go | 2 +- .../tf/schema/resource_workspace_binding.go | 2 +- .../tf/schema/resource_workspace_conf.go | 2 +- ...esource_workspace_entity_tag_assignment.go | 2 +- .../tf/schema/resource_workspace_file.go | 2 +- .../schema/resource_workspace_setting_v2.go | 2 +- bundle/internal/tf/schema/resources.go | 50 +- bundle/internal/tf/schema/root.go | 6 +- 284 files changed, 2638 insertions(+), 466 deletions(-) create mode 100644 bundle/internal/tf/codegen/schema/pubkey.go create mode 100644 bundle/internal/tf/schema/data_source_disaster_recovery_failover_group.go create mode 100644 bundle/internal/tf/schema/data_source_disaster_recovery_failover_groups.go create mode 100644 bundle/internal/tf/schema/data_source_disaster_recovery_stable_url.go create mode 100644 bundle/internal/tf/schema/data_source_disaster_recovery_stable_urls.go create mode 100644 bundle/internal/tf/schema/data_source_secret_uc.go create mode 100644 bundle/internal/tf/schema/data_source_secret_ucs.go create mode 100644 bundle/internal/tf/schema/data_source_supervisor_agent.go create mode 100644 bundle/internal/tf/schema/data_source_supervisor_agent_tool.go create mode 100644 bundle/internal/tf/schema/data_source_supervisor_agent_tools.go create mode 100644 bundle/internal/tf/schema/data_source_supervisor_agents.go create mode 100644 bundle/internal/tf/schema/resource_disaster_recovery_failover_group.go create mode 100644 bundle/internal/tf/schema/resource_disaster_recovery_stable_url.go create mode 100644 bundle/internal/tf/schema/resource_secret_uc.go create mode 100644 bundle/internal/tf/schema/resource_supervisor_agent.go create mode 100644 bundle/internal/tf/schema/resource_supervisor_agent_tool.go diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index b6bdb4d965b..251669399d3 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -17,3 +17,4 @@ ### Dependency updates * Bump Go toolchain to 1.25.10 ([#5213](https://github.com/databricks/cli/pull/5213)). +* 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 4eb65c32129..ca4b75342ea 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 1d300160a95..922f6fea735 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 2ff60fce2b2..6ce19d8337c 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 65e976ff461..1deac23037a 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 fd7f588ea60..588895fb3c5 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 a91be18e2d2..cab881e6d51 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 a410fff585a..550f69cfe70 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 866dadca8ac..dffac5aa8ca 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 65cdc895abc..65dd4044d9e 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 2d0fba02fd9..49b51c2a30d 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 2c50ca82cbb..520c7641bcd 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 aabcba8c34e..85a5668aa31 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 d68d893ad28..daa3b4c7d93 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 706b54a67a0..a9accf08635 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 bf128624271..f2a1cd12a2b 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 435b188af3b..d9230f0c8b3 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 f8ab210ec72..216a2f38dac 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 11daf62e9ed..698b816f170 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 75f4620ef48..2b6d39fc59e 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/schema/generate.go b/bundle/internal/tf/codegen/schema/generate.go index 465183ca3b5..90e797a5664 100644 --- a/bundle/internal/tf/codegen/schema/generate.go +++ b/bundle/internal/tf/codegen/schema/generate.go @@ -42,9 +42,10 @@ func (s *Schema) installTerraform(ctx context.Context) (path string, err error) } installer := &releases.ExactVersion{ - Product: product.Terraform, - Version: version.Must(version.NewVersion("1.5.5")), - InstallDir: installDir, + Product: product.Terraform, + Version: version.Must(version.NewVersion("1.5.5")), + InstallDir: installDir, + ArmoredPublicKey: hashicorpPublicKey, } installer.SetLogger(log.Default()) diff --git a/bundle/internal/tf/codegen/schema/pubkey.go b/bundle/internal/tf/codegen/schema/pubkey.go new file mode 100644 index 00000000000..67a3f48ea57 --- /dev/null +++ b/bundle/internal/tf/codegen/schema/pubkey.go @@ -0,0 +1,137 @@ +package schema + +// hashicorpPublicKey is HashiCorp's release-signing public key with self-signatures +// refreshed on 2026-02-19 (expiration extended to ~2035). +// +// The embedded key in hc-install v0.9.3 has a UserID self-signature that expired +// on 2026-04-18, which breaks Terraform checksum verification. hc-install#355 +// added refreshed signatures, but go-crypto v1 only reads the first armored +// block and keeps one SelfSignature per Identity, so the fix is a no-op when +// relying on the embedded key. We pass this refreshed block to +// releases.ExactVersion.ArmoredPublicKey directly. +// +// Source: https://github.com/hashicorp/hc-install/blob/main/internal/pubkey/pubkey.go +// +// (second -----BEGIN PGP PUBLIC KEY BLOCK----- block, added in PR #355) +const hashicorpPublicKey = `-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBGB9+xkBEACabYZOWKmgZsHTdRDiyPJxhbuUiKX65GUWkyRMJKi/1dviVxOX +PG6hBPtF48IFnVgxKpIb7G6NjBousAV+CuLlv5yqFKpOZEGC6sBV+Gx8Vu1CICpl +Zm+HpQPcIzwBpN+Ar4l/exCG/f/MZq/oxGgH+TyRF3XcYDjG8dbJCpHO5nQ5Cy9h +QIp3/Bh09kET6lk+4QlofNgHKVT2epV8iK1cXlbQe2tZtfCUtxk+pxvU0UHXp+AB +0xc3/gIhjZp/dePmCOyQyGPJbp5bpO4UeAJ6frqhexmNlaw9Z897ltZmRLGq1p4a +RnWL8FPkBz9SCSKXS8uNyV5oMNVn4G1obCkc106iWuKBTibffYQzq5TG8FYVJKrh +RwWB6piacEB8hl20IIWSxIM3J9tT7CPSnk5RYYCTRHgA5OOrqZhC7JefudrP8n+M +pxkDgNORDu7GCfAuisrf7dXYjLsxG4tu22DBJJC0c/IpRpXDnOuJN1Q5e/3VUKKW +mypNumuQpP5lc1ZFG64TRzb1HR6oIdHfbrVQfdiQXpvdcFx+Fl57WuUraXRV6qfb +4ZmKHX1JEwM/7tu21QE4F1dz0jroLSricZxfaCTHHWNfvGJoZ30/MZUrpSC0IfB3 +iQutxbZrwIlTBt+fGLtm3vDtwMFNWM+Rb1lrOxEQd2eijdxhvBOHtlIcswARAQAB +tERIYXNoaUNvcnAgU2VjdXJpdHkgKGhhc2hpY29ycC5jb20vc2VjdXJpdHkpIDxz +ZWN1cml0eUBoYXNoaWNvcnAuY29tPokCVAQTAQoAPgIbAwULCQgHAgYVCgkICwIE +FgIDAQIeAQIXgBYhBMh0AR8KtAURDQIQVTQ2XZRy10aPBQJplkfQBQkQrOy3AAoJ +EDQ2XZRy10aPw6gP/3GUEMUa6mCRuuSOT9UnziPIvXYd63mcN6A6Jwmwj8JaB2qu +OCijvJkw56UbZK3x1FZIbe0hA6VUAwNSNmSIxVJkilgwIYYFO0tnL79XhIeP7jYF +ydXLZ4rTi1FDl8lltAujTNARdY8UGg4hGlcM9OrEeXEFLWugJNiChL15FVoxZqIS +jeduaEqyxGfJnyVwy8z3pZfgODeFr7xs2NkUIMSfuRg24VcL4aW8Frt3jW8P45y3 +o/5fsi6Aw2tZ0wD9NSgkVc8VD1NRV9eSZ95Bv+Awf9IXa+Cn5OCjc8Jc+XF+nLfB +oPswOO7E8dLiuBUw6/GzSLMbVs8qf8BNXB92dOe1VccVTqjCxK2sEpVaHh7e+co8 +d8lDGBIWMGh7NS6XlGORpFb/T6gxjjOYUV3SKd4QDebUUG8kMkb5juLljOoq+YOP +vgNLDZLZteFpmH+zB9DpOY1YtHZB/OD+DtzLMaSl6VPF2Ln0j5aQGwNDt7sheyAe +sXbu0qn2H5FxojSfvhT0kUDKZ0mgg5y3Oflg49MiAOhjLGY0JocFpBeMILw27fbw +fpIBP7siQWFTFJ1O+l2NQiWAwC2x5fX2EakyCBJmrkPV2hr4nEogNqg9/RDskIUq +cpcOOd/0BntiXMyUCCH2AoCt5acaTQ0WU6CAosZPojOYhtGGgOgeQSdflpMSuQIN +BGB9+xkBEACoklYsfvWRCjOwS8TOKBTfl8myuP9V9uBNbyHufzNETbhYeT33Cj0M +GCNd9GdoaknzBQLbQVSQogA+spqVvQPz1MND18GIdtmr0BXENiZE7SRvu76jNqLp +KxYALoK2Pc3yK0JGD30HcIIgx+lOofrVPA2dfVPTj1wXvm0rbSGA4Wd4Ng3d2AoR +G/wZDAQ7sdZi1A9hhfugTFZwfqR3XAYCk+PUeoFrkJ0O7wngaon+6x2GJVedVPOs +2x/XOR4l9ytFP3o+5ILhVnsK+ESVD9AQz2fhDEU6RhvzaqtHe+sQccR3oVLoGcat +ma5rbfzH0Fhj0JtkbP7WreQf9udYgXxVJKXLQFQgel34egEGG+NlbGSPG+qHOZtY +4uWdlDSvmo+1P95P4VG/EBteqyBbDDGDGiMs6lAMg2cULrwOsbxWjsWka8y2IN3z +1stlIJFvW2kggU+bKnQ+sNQnclq3wzCJjeDBfucR3a5WRojDtGoJP6Fc3luUtS7V +5TAdOx4dhaMFU9+01OoH8ZdTRiHZ1K7RFeAIslSyd4iA/xkhOhHq89F4ECQf3Bt4 +ZhGsXDTaA/VgHmf3AULbrC94O7HNqOvTWzwGiWHLfcxXQsr+ijIEQvh6rHKmJK8R +9NMHqc3L18eMO6bqrzEHW0Xoiu9W8Yj+WuB3IKdhclT3w0pO4Pj8gQARAQABiQI8 +BBgBCgAmAhsMFiEEyHQBHwq0BRENAhBVNDZdlHLXRo8FAmmWR+0FCRCs7NQACgkQ +NDZdlHLXRo/R0A//QW1opBlzWSmWww1q9QuJA2WCIIs8tJKRDOsmgJPscNpzwZFU +N1Df0wWNjqi1BDReei7lZTHwUk+ebBn0bkI3ANmmgYg7LBueAt5UWSingOc+rvKA +N32BDzBYkMckRzJSQsmeC5hm3J3wLSy90uaIlrJJE9GJZkf/W2Ob+4SQZZ+dnnRP +JokDdW1DuZS9PbxSLJKD5eIWHBxJnFM1CmHfOfrjTJ+MYvVGM5sxSY8R7E+GADj5 +L/i4N+tTFJLuTMYARGfA6d+KPKcMJtgpUPjSMAg8nGUhukctpuBs27mOKW0CBtmJ +82X/qYROTL0+vGTvUYflYiuceVlhX/kw0JZnMaG5V/mpHq8SwD07pCGOf69j/mNa +5EL3++Pmzg0s0stw3Ea5pCN0cL/nKkoWchHBfW15W4JOnKAIspyD1vH670P4WfeV +E9B9d6tgKSbM/9JlXoQS5ZdG+kbdosieELhmVWmvojyK7K+Ry6C9wgd+UfnW5jXd +iNwKW3KHuautQwlFhHRNMyDg08c+pI5emTMT3IUQyGWo+Gska3TqGujFcABx7Ip+ +mHNmMrCkSD+XC2bvzvRR7FcM0/B9fsjLX/Wttm5vRJ1d2oAoEPvw2IZnJIXpOt2z +zo55sJTztNu4lWGgDVgtp9SXO5a0E5YvFHQNZN5QLeVTTFu6I7qG+ME1E/K5Ag0E +YH3+JQEQALivllTjMolxUW2OxrXb+a2Pt6vjCBsiJzrUj0Pa63U+lT9jldbCCfgP +wDpcDuO1O05Q8k1MoYZ6HddjWnqKG7S3eqkV5c3ct3amAXp513QDKZUfIDylOmhU +qvxjEgvGjdRjz6kECFGYr6Vnj/p6AwWv4/FBRFlrq7cnQgPynbIH4hrWvewp3Tqw +GVgqm5RRofuAugi8iZQVlAiQZJo88yaztAQ/7VsXBiHTn61ugQ8bKdAsr8w/ZZU5 +HScHLqRolcYg0cKN91c0EbJq9k1LUC//CakPB9mhi5+aUVUGusIM8ECShUEgSTCi +KQiJUPZ2CFbbPE9L5o9xoPCxjXoX+r7L/WyoCPTeoS3YRUMEnWKvc42Yxz3meRb+ +BmaqgbheNmzOah5nMwPupJYmHrjWPkX7oyyHxLSFw4dtoP2j6Z7GdRXKa2dUYdk2 +x3JYKocrDoPHh3Q0TAZujtpdjFi1BS8pbxYFb3hHmGSdvz7T7KcqP7ChC7k2RAKO +GiG7QQe4NX3sSMgweYpl4OwvQOn73t5CVWYp/gIBNZGsU3Pto8g27vHeWyH9mKr4 +cSepDhw+/X8FGRNdxNfpLKm7Vc0Sm9Sof8TRFrBTqX+vIQupYHRi5QQCuYaV6OVr +ITeegNK3So4m39d6ajCR9QxRbmjnx9UcnSYYDmIB6fpBuwT0ogNtABEBAAGJBHIE +GAEKACYCGwIWIQTIdAEfCrQFEQ0CEFU0Nl2UctdGjwUCYH4bgAUJAeFQ2wJAwXQg +BBkBCgAdFiEEs2y6kaLAcwxDX8KAsLRBCXaFtnYFAmB9/iUACgkQsLRBCXaFtnYX +BhAAlxejyFXoQwyGo9U+2g9N6LUb/tNtH29RHYxy4A3/ZUY7d/FMkArmh4+dfjf0 +p9MJz98Zkps20kaYP+2YzYmaizO6OA6RIddcEXQDRCPHmLts3097mJ/skx9qLAf6 +rh9J7jWeSqWO6VW6Mlx8j9m7sm3Ae1OsjOx/m7lGZOhY4UYfY627+Jf7WQ5103Qs +lgQ09es/vhTCx0g34SYEmMW15Tc3eCjQ21b1MeJD/V26npeakV8iCZ1kHZHawPq/ +aCCuYEcCeQOOteTWvl7HXaHMhHIx7jjOd8XX9V+UxsGz2WCIxX/j7EEEc7CAxwAN +nWp9jXeLfxYfjrUB7XQZsGCd4EHHzUyCf7iRJL7OJ3tz5Z+rOlNjSgci+ycHEccL +YeFAEV+Fz+sj7q4cFAferkr7imY1XEI0Ji5P8p/uRYw/n8uUf7LrLw5TzHmZsTSC +UaiL4llRzkDC6cVhYfqQWUXDd/r385OkE4oalNNE+n+txNRx92rpvXWZ5qFYfv7E +95fltvpXc0iOugPMzyof3lwo3Xi4WZKc1CC/jEviKTQhfn3WZukuF5lbz3V1PQfI +xFsYe9WYQmp25XGgezjXzp89C/OIcYsVB1KJAKihgbYdHyUN4fRCmOszmOUwEAKR +3k5j4X8V5bk08sA69NVXPn2ofxyk3YYOMYWW8ouObnXoS8QJEDQ2XZRy10aPMpsQ +AIbwX21erVqUDMPn1uONP6o4NBEq4MwG7d+fT85rc1U0RfeKBwjucAE/iStZDQoM +ZKWvGhFR+uoyg1LrXNKuSPB82unh2bpvj4zEnJsJadiwtShTKDsikhrfFEK3aCK8 +Zuhpiu3jxMFDhpFzlxsSwaCcGJqcdwGhWUx0ZAVD2X71UCFoOXPjF9fNnpy80YNp +flPjj2RnOZbJyBIM0sWIVMd8F44qkTASf8K5Qb47WFN5tSpePq7OCm7s8u+lYZGK +wR18K7VliundR+5a8XAOyUXOL5UsDaQCK4Lj4lRaeFXunXl3DJ4E+7BKzZhReJL6 +EugV5eaGonA52TWtFdB8p+79wPUeI3KcdPmQ9Ll5Zi/jBemY4bzasmgKzNeMtwWP +fk6WgrvBwptqohw71HDymGxFUnUP7XYYjic2sVKhv9AevMGycVgwWBiWroDCQ9Ja +btKfxHhI2p+g+rcywmBobWJbZsujTNjhtme+kNn1mhJsD3bKPjKQfAxaTskBLb0V +wgV21891TS1Dq9kdPLwoS4XNpYg2LLB4p9hmeG3fu9+OmqwY5oKXsHiWc43dei9Y +yxZ1AAUOIaIdPkq+YG/PhlGE4YcQZ4RPpltAr0HfGgZhmXWigbGS+66pUj+Ojysc +j0K5tCVxVu0fhhFpOlHv0LWaxCbnkgkQH9jfMEJkAWMOuQINBGCAXCYBEADW6RNr +ZVGNXvHVBqSiOWaxl1XOiEoiHPt50Aijt25yXbG+0kHIFSoR+1g6Lh20JTCChgfQ +kGGjzQvEuG1HTw07YhsvLc0pkjNMfu6gJqFox/ogc53mz69OxXauzUQ/TZ27GDVp +UBu+EhDKt1s3OtA6Bjz/csop/Um7gT0+ivHyvJ/jGdnPEZv8tNuSE/Uo+hn/Q9hg +8SbveZzo3C+U4KcabCESEFl8Gq6aRi9vAfa65oxD5jKaIz7cy+pwb0lizqlW7H9t +Qlr3dBfdIcdzgR55hTFC5/XrcwJ6/nHVH/xGskEasnfCQX8RYKMuy0UADJy72TkZ +bYaCx+XXIcVB8GTOmJVoAhrTSSVLAZspfCnjwnSxisDn3ZzsYrq3cV6sU8b+QlIX +7VAjurE+5cZiVlaxgCjyhKqlGgmonnReWOBacCgL/UvuwMmMp5TTLmiLXLT7uxeG +ojEyoCk4sMrqrU1jevHyGlDJH9Taux15GILDwnYFfAvPF9WCid4UZ4Ouwjcaxfys +3LxNiZIlUsXNKwS3mhiMRL4TRsbs4k4QE+LIMOsauIvcvm8/frydvQ/kUwIhVTH8 +0XGOH909bYtJvY3fudK7ShIwm7ZFTduBJUG473E/Fn3VkhTmBX6+PjOC50HR/Hyb +waRCzfDruMe3TAcE/tSP5CUOb9C7+P+hPzQcDwARAQABiQRyBBgBCgAmAhsCFiEE +yHQBHwq0BRENAhBVNDZdlHLXRo8FAmmWSAoFCRCqi+QCQMF0IAQZAQoAHRYhBDdO +x1tIWRNgSoMcx8ggxtXNJ6uHBQJggFwmAAoJEMggxtXNJ6uHRfAP/2CGdSyg0K7U +66Vygl0dugxrMm8O3/Oe211BKdQsFUSWAznOTRTK/zvMUHO4LJAlYvdtZ6xDa4XH +l9FYQ8MR9ZV0OuOlAZvU4IJDLPVCU09X/UzX/GEoZL0R5esvwPAXopMaRHCfXJeI +/gEaB94UhAeYlwpcRn0eSuk1vyZx7GRE6/hog8DCf4hoT40dW20gGe58xcvJ+mRY +lC0lr16WH08wuUcee6+dgu+4Cg6SG6+zt9cMyl8VnTUL5BK/V3MebnYZJK0RFDNn +nXDhzStgOd5gOeIL+xBPXHd0/ld/rDM74SFExpuS+hNsyo+xMQ/HJavak21MFinu +l9COwfGEmlAXTGMY30Lf3Pt/eAkbwgmGc966VSoRmOFEXJVlDr+yJR6ru+7j50z8 +lAv6Lsop7sun1Qysbo0swf6W1qgPf6VWbx91NTFLkw0+gD8jxwrU5ZMkeSuntX9d +pjuZS29CflXXIRPlvhuiDPicwTpYuIUx37vHveAH5gnowZg247x780Urrsx8duTX +8CI9MAnqzm4dFAiRlwE8bvLk+l9wekiXA9gIMZiVNqNlduXIqvAG21Wdgq8qyeXK +y/XWCVKDQOmEbFAltfNam8E3KEw0fl199x+93d5ckDGcPzUYPbNkCuIwngC/ZN96 +pDafF3Z12fSNfhZUe0C8td8KAszYa96GCRA0Nl2UctdGj1gKD/4jOGhEGTg88Vyu +PVjeK+zkwrTIZSvHdUHfTt/+rTLSNb/RQiBCUQuEZvafj6FrntS7bAEhccGqH894 +T3St5K0AXWkvsLd6K+cbIQdlnFA2zb6geJUCk6qx5NgWpRc3i0DS7CheGwl+Bwu7 ++n9pNjNjiHV+rYDgqbQXG0dtGysB0/3qIRgEDHFO0HJu/dcte4oXrQIqrZrpOwe8 +WxqFqdU918JpSUcc8coiFp9YtwpgqQNxGVZ+rhgnTGdZzk1f/Yhhimh+2B0ReaFv +k3UzVBj3HQ9C6+Ot3MyDEhSgdhjr9e25Tm9S5YfhwtWmghRw9RKPyLMSXSxm/Uc0 +mK1NucAp8TQBwKqKzNpCk5IdrBSWRUbjOoOFyzyCsY6gS285GCpSIzI39hTf+3gd +wYPlE6fj+F2TZzdhx62DPnzBzBHnByYTVdJ649bx0FFp4Q+5TbIWtxu/AQkRDxmW +NQfE+6GgeshlrhXWsh6+PGDzt+2raG6zUT913sdz7Ctw4fLjmsKOTdTz3Xa9pr8l +xfI/JuukSgt9o/n3GirhTB3zE1w/I/Xt6k7oASiP3zQSuHtB/CYKYHDtOCWwjo7J +PEGtb/FkreKNxsk/p20jnlrB8WZxxswdr2Vri9NmFeyMDVX7qF3WqT+8aCV9GtS1 +GCHx/5nGBdDwoxEsXqpI3IUqPb6FDg== +=wtp+ +-----END PGP PUBLIC KEY BLOCK-----` diff --git a/bundle/internal/tf/codegen/schema/version.go b/bundle/internal/tf/codegen/schema/version.go index 8b270d7670b..90dbf29d5dd 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 e2c68d0e2f4..87d5bcbd7e5 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 2d91042f2f3..98e9506ff18 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 e788484c537..ac2ae3ee7bf 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 246b1f1f1dd..c609a8f9189 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 b24581aefe4..5675e0aa56c 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 3c3df220cbd..79f34f9a3eb 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 3a1e124d5ce..3104376b5ab 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 a00255ad025..d00ec6ff1d2 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 9f775036f84..e20104570d9 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 afd082a22e4..e1272bb25f8 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 5c846dba929..116e2c99dfb 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 5c293cd0e60..8a78637645c 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 dfe5b2a59a7..80fb1b8bece 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 b3f7d3a2d44..b77ff1c1bf6 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 c8e60faf3d4..fd12e287ecb 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 6a4f9f3e5a8..a2eeb7eb1b3 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 0dc751a724d..f0474e8030d 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 52c2c43f57f..b6107c28a7b 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 cdf33ade244..e8208effdcf 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 a86458a0883..d9a77b38fbf 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 f6473f72707..9ad6965e041 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 aca5e6e881c..251ce8ffa2b 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 be7417e3825..312eac04159 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 10078356f87..72688d44ad1 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 fb58d1dc078..de614880559 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 63ce16ffcd5..318bb423e9f 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 f44ca414673..e5ad2cb5505 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 bf9ca7ca4db..1553ee91b1b 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 74d70e1badb..315ae1ce89e 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 1ac48769e41..601dc41cc5c 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 e7e280fdf01..60330ecd61b 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 dfd0dc37cd0..1235d0f3751 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 8a3fbde369e..ca76dc0ac3c 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 fa31e37a506..ce6d2553df3 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 00000000000..5b9015c71a7 --- /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 00000000000..474774c2c49 --- /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 00000000000..3e5913e45ce --- /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 00000000000..3685db12d51 --- /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 15ed8ee4137..1c3e7abfe21 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 50126aa3317..18a57950e73 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 d44ad8ff58e..f39acfa2543 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 83354027dd7..379eeb1b583 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 cb4a39cd2db..ce9b2ac906d 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 54038eb3205..805918fa1f5 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 33524023634..c66aa1b2f65 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 5d1cd000186..8562cc3ad99 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 9ccce94b4b5..d101df8455f 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 7cb9e275dc1..fba0cf51e05 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 cc7a00b22d6..69d30533bc3 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 e16324ca395..7c2cd079f70 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 41016125441..dd0114f9c91 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 bf0000ae622..76c45d435e5 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 1b56f945487..92a6a4de9bc 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 5c6005883e8..3786b6121f8 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 c68aee75fb4..b15819d3824 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 7deade1f45f..f506278fc1c 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 28027f4b2e9..d96b33bb804 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 04aff874193..243c1f6ef17 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 f908f5e6374..996d03e04d1 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 594816e28da..cf5a16cf7f2 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 1374e80515b..c029839237e 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 d0c059b6238..ef634a66abf 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 4b60da11016..9f198b25b54 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 a8f427afd56..d7585cee559 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 c8a8610ec77..99c72e32a3f 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 13a070ae16b..792600443d1 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 ac150cf955b..b48390a59aa 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 134c1202e96..8a8913fca42 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 45fa3f817c6..dd048efe127 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 019a2d3eef4..7369be4a03d 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 9393f2b3dbc..e1f8dffaf04 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 d43338efdec..2392b0c56f4 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 871a30812f5..e7d391adfc8 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 be66cc9a910..0f5c74f160a 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 4c1f3823f3b..d7727a76908 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 3d33fabb4b0..750241675c5 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 bbd44a0b871..21a00996f0f 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 8f901f3d392..9b5886185b8 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 0f82648ff5f..4024bd736b3 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 bbefd60f441..1705ffe5d94 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 b7dd730bdcc..4924d6f16b2 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 1a7df9c533f..3986ca847bd 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 230d7a4d2e0..bba759bd110 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 6b6d144973b..25d883bbdf3 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 c3b3f9005ea..cb16cb4ce3f 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 92384ca6adc..42a54d0e0ba 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 8a9c3ccc69e..321c3a6e8ad 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 ca5aa51cf85..a9b1f1b7965 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 2c012a8d605..b14d3f18db4 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 828e472d383..910b143ef27 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 ea8899ba077..dbdfac6c985 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 14a56c76121..7e11fcdcddd 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 b0bd64c2fba..515a7625a83 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 afa3841d5ed..e77b9a613ac 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 fa923bddaa6..ab389ec0ef6 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 9bb1cee7b73..b7f61e735fe 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 f6ec4455af4..72f74167340 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 d18f9e59023..0e726243c9e 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 00000000000..b9a7a57fe6a --- /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 00000000000..e9701e92706 --- /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 86024a87e9c..a0c4e53835c 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 7a84f68b07d..fa6ad18c673 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 6f312c6a75c..c22bd7ae7f3 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 91a5afff537..669dba15daa 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 a4d8d6c29b7..09e7aad6db7 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 fdffbb94e82..9a228d683b5 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 107d1d0a068..761149790fd 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 b7ccd9d84db..1f852f10054 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 4940c4b83c9..55697905960 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 a1b068e333e..6d40e6aaefe 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 00000000000..8d4988118a6 --- /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 00000000000..8b888d97c39 --- /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 00000000000..fd6b9198f3d --- /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 00000000000..52ad02c3fd2 --- /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 e3511d87e33..f75abfd4fc5 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 1f692434633..a6bce641453 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 d5dbe527b8d..005348a243c 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 d9e84e86dc9..2d804be4124 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 4fc7924aae9..fa042c38d30 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 96326f7a291..6fea188b6f6 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 abdbc60b865..06cd2d38b4d 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 f62f6fdcbff..3b16a05aac8 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 3618957c957..74ff63435cb 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 0521521bf0f..9ea9f27a0a8 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 7939c1444e4..01828617814 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 9fa9a358354..0d11833151a 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 7fa301dbed4..3bc41128f7a 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 f65716e9af8..fcca8a1ce4d 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 fdb8459adb1..44560facdc3 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 8dde049fe16..676a09a6584 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 10f84ef066f..62fd8ba29e0 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 9cb5c8524dc..294997a5d64 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 d249da26d49..4e67f685b59 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 523d622614e..f33690de6d7 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 bfd7acc6cbd..043ae3773e9 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 147c4f5c79f..b9cdec84717 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 02a1c2c3a6f..c4c1fce02cc 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 a05ee123585..0b066cfa658 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 3c89f06fd8a..91177cd48cd 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 a66c720a76a..a3fce99add4 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 3ce38b1d028..dc42791e089 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 1245cded7a6..51b1735b38f 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 dd805772802..55d46fb787e 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 35070eb8577..3c3aeed7470 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 e1c7c414641..b82a185fd57 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 0e3ecc332c6..2361f8598f8 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 c27293c455e..b92aa1e51f3 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 bd8aae572c6..aa16b9c4d5e 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 41ed9641eb8..686bdfaaf50 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 14546faf18f..4fedc74410a 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 d6d9af24466..1aca6fdf281 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 8a31a27d0b1..b753b3fe7d9 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 56b2d2811fb..0fd350a6f84 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 d464813de63..abddd511ba7 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 1156775f039..32e3154084c 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 4af4f426a06..1204eb17672 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 959cb9f3b18..a115d2aea1f 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 a7f5ece708c..033f16b3c9c 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 bd15f13b6fa..67675a526b2 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 810dc275640..63e06b97b5a 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 fbd66beb8ee..57806e66df3 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 00000000000..3097ba2aff7 --- /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 00000000000..35c19781c01 --- /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 d5add6fbb8a..ff625cff2a5 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 b59277f725f..887dfd95ff6 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 3b7da58ffec..d56127d42d7 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 4ea78fddc95..6c2a791519b 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 59b497b77ba..0da712fe871 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 ef4fb962aef..e2f08b4172c 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 99108f27158..59b3c080d71 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 1a99477f647..05d6f7d7e1d 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 864741b6132..a82d0605917 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 ddc305f0aa6..fa98704107a 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 9d5e7708cb9..37878338cf7 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 1384282b60b..cf4c2f7f5b5 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 0c28e4d62bb..59c1b669df7 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 0edc341139d..6c78e87f32e 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 d28af8fa0a8..1d61b78b5f7 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 4a9eb9285ce..522ca24eabc 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 3ea5402c12b..4d6e44be96f 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 d849082ee2d..d6d311b17c6 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 9f2ec718685..5582f935b4d 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 aed4cf775db..a50fc463ada 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 c80e0f11188..5221e67576f 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 51c720aae72..8a6cb80af9d 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 d6603c62fba..25e6f9407fb 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 70da6ed0746..d03b721fe6b 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 e907554aa61..fcdeca20b99 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 1c1c92edcdb..af702885f2c 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 482fcdf0658..f5fb0153bfb 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 1fe6064fabe..e3bb7401f03 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 2127c1cec01..4460c418748 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 7c79c665ef5..e49bb4a8c49 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 b6a20dd7ad5..26ca94ba632 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 44d9f557c2f..72b371fec7b 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 bd69b1aba7a..437de2b5a39 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 58ad4b0c977..b2e136bf07c 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 0b226efdd67..65f663ab924 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 d1220b03b37..4a4187c320f 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 d7470f0a6a5..4f756131591 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 541e1561df7..b164d226167 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 5a603d2d7d4..154d760a43b 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 804ee9071f0..5cb419f7853 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 b3dc27d4a7a..b2d515290fd 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 beb9b16f742..2a4f812ecd7 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 1f9d8a38b84..65f6e4c60a1 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 e7bf6bb91c9..19c46ea9cf0 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 27a6600e4a7..2b6cd9653aa 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 1ccfaeb1818..e28810fe331 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 637bdaad2c9..3ba05f22545 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 a12086665d0..37bfa4d84dc 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 8de10dd9787..af17d5f73bc 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 1df7ebf5115..23df7a5552a 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 a7dce0a9bdc..5308bbda4f1 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 eed810c301a..affde4ce55d 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 16934efa7f4..ff50bef7a4d 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 80e73326f4a..474c289b44d 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 d5ccd6bb590..78dfe3b9652 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 58dc1512653..2216974af1f 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 542a1b0c585..3d111f46adc 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 e1a5ff8fef3..ec9b65809f2 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 b539201216e..0263ce87375 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 bafb8d49faf..c887f9206f4 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 efb4c9bf44d..9d3f4c73446 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 02dddfa232a..30a5278fef9 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 873e82f5d11..fb30cb013b6 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 ca539d8d027..b6a96552f68 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 00000000000..84e199be6f2 --- /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 231eccf3b15..7686bf43e67 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 3da75ea081e..c010612a564 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 7e6559cf908..c28b82caaed 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 3871dc49377..e8fd5aed247 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 fc37c98d1d4..20af546d633 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 b8fe078261f..e2f91e7d328 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 b17c91275a1..b50bd578eed 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 8a931793806..d81b7b5d16c 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 445ec90aac5..4086e344a67 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 1971e86f803..98442f3a705 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 11f5e9060ce..ea17434be33 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 bb024d90245..c5c21aea24b 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 5f0485eff04..e49c4d00970 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 00000000000..4b80037eab9 --- /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 00000000000..bb398edc2e8 --- /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 cf5efdde522..f7e6e7559e2 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 9d3fba13418..2960a11da5f 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 490b7020b55..549777c6b24 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 648cd6d3c82..5473c7c48d9 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 0ad0aa5ca51..9d3c4f0dae3 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 59b27276fe5..b6c20658c6b 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 75b88ba1358..ac2276013c9 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 9d30aa82562..02bdeceae4f 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 bd45fe44c07..2872f059663 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 e540ef3b2cf..f8f3cd739c2 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 09433190733..a5fd1c4a5cf 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 1d0ebe980f4..39fea132edf 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 9c3a94c850b..f0cd41c1127 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 a22d7d0d4fe..21babfcd168 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 dfb1085271d..f233f6e5911 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 6384c00ae46..076e9d9b803 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 a12b555092f..b0827c5b727 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 c0d0ad067cc..111a2bb59e0 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{