From 9f00bf2f2d6acf990e33aa990163da62b56b3f16 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Tue, 11 Aug 2026 21:27:53 +0000 Subject: [PATCH 1/3] Bump Terraform provider from v1.124.0 to v1.125.0 ## Changes Bump the pinned Databricks Terraform provider from v1.124.0 to v1.125.0. Notable schema changes: - The provider no longer issues a `GET /api/2.0/preview/scim/v2/Me` request during deploy/destroy/plan. ## Tests Acceptance goldens regenerated via `./task test-update`. Co-authored-by: Isaac --- .../dependency-updates/bump-tf-1.125.0.md | 1 + acceptance/bundle/user_agent/output.txt | 4 - .../simple/out.requests.deploy.terraform.json | 12 -- .../out.requests.destroy.terraform.json | 24 --- .../simple/out.requests.plan2.terraform.json | 12 -- bundle/internal/tf/codegen/schema/version.go | 2 +- .../tf/schema/data_source_alert_v2.go | 7 - .../tf/schema/data_source_alerts_v2.go | 7 - .../internal/tf/schema/data_source_cluster.go | 2 - ...urce_data_classification_catalog_config.go | 5 - ...ata_source_disaster_recovery_stable_url.go | 10 +- ...ta_source_disaster_recovery_stable_urls.go | 10 +- .../tf/schema/data_source_endpoint.go | 16 -- .../tf/schema/data_source_endpoints.go | 16 -- ...data_source_feature_engineering_feature.go | 50 +---- ...ata_source_feature_engineering_features.go | 50 +---- ...source_feature_engineering_kafka_config.go | 18 +- ...ource_feature_engineering_kafka_configs.go | 18 +- ...eature_engineering_materialized_feature.go | 3 +- ...ature_engineering_materialized_features.go | 3 +- .../internal/tf/schema/data_source_group.go | 1 - .../schema/data_source_mlflow_experiment.go | 12 -- .../schema/data_source_postgres_database.go | 2 +- .../schema/data_source_postgres_databases.go | 2 +- .../schema/data_source_postgres_endpoint.go | 7 +- .../schema/data_source_postgres_endpoints.go | 7 +- .../data_source_postgres_synced_table.go | 8 - .../tf/schema/data_source_secret_uc.go | 34 ++-- .../tf/schema/data_source_secret_ucs.go | 35 ++-- .../schema/data_source_serving_endpoints.go | 9 - bundle/internal/tf/schema/data_sources.go | 22 --- .../internal/tf/schema/resource_alert_v2.go | 7 - bundle/internal/tf/schema/resource_all.go | 4 - bundle/internal/tf/schema/resource_cluster.go | 92 +++++---- ...urce_data_classification_catalog_config.go | 5 - .../resource_disaster_recovery_stable_url.go | 14 +- .../internal/tf/schema/resource_endpoint.go | 16 -- .../resource_feature_engineering_feature.go | 50 +---- ...source_feature_engineering_kafka_config.go | 18 +- ...eature_engineering_materialized_feature.go | 3 +- bundle/internal/tf/schema/resource_job.go | 40 +--- .../tf/schema/resource_mlflow_experiment.go | 12 -- .../tf/schema/resource_model_serving.go | 9 - .../internal/tf/schema/resource_pipeline.go | 173 ++++------------- .../tf/schema/resource_postgres_database.go | 2 +- .../tf/schema/resource_postgres_endpoint.go | 7 +- .../schema/resource_postgres_synced_table.go | 8 - .../internal/tf/schema/resource_secret_uc.go | 34 ++-- bundle/internal/tf/schema/resources.go | 8 - bundle/internal/tf/schema/root.go | 6 +- bundle/terraform_dabs_map/generated.go | 182 +++++++++++++++++- 51 files changed, 375 insertions(+), 724 deletions(-) create mode 100644 .nextchanges/dependency-updates/bump-tf-1.125.0.md diff --git a/.nextchanges/dependency-updates/bump-tf-1.125.0.md b/.nextchanges/dependency-updates/bump-tf-1.125.0.md new file mode 100644 index 00000000000..289d3955cf8 --- /dev/null +++ b/.nextchanges/dependency-updates/bump-tf-1.125.0.md @@ -0,0 +1 @@ +Bump Terraform provider from v1.124.0 to v1.125.0. diff --git a/acceptance/bundle/user_agent/output.txt b/acceptance/bundle/user_agent/output.txt index 3fe73103691..2107e7e2b1f 100644 --- a/acceptance/bundle/user_agent/output.txt +++ b/acceptance/bundle/user_agent/output.txt @@ -41,7 +41,6 @@ OK deploy.terraform /api/2.0/workspace/delete engine/terraform OK deploy.terraform /api/2.0/workspace/mkdirs engine/terraform OK deploy.terraform /api/2.0/workspace/mkdirs engine/terraform MISS deploy.terraform /.well-known/databricks-config 'cli/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]' -MISS deploy.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS deploy.terraform /api/2.1/unity-catalog/schemas/mycatalog.myschema 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS deploy.terraform /api/2.1/unity-catalog/schemas 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS deploy.terraform /.well-known/databricks-config 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5' @@ -73,8 +72,6 @@ OK destroy.terraform /api/2.0/workspace-files/import-file/Workspace/Users/[USE OK destroy.terraform /api/2.0/workspace/delete engine/terraform MISS destroy.terraform /.well-known/databricks-config 'cli/[CLI_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/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' -MISS destroy.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' -MISS destroy.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_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/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_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/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS destroy.terraform /.well-known/databricks-config 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5' @@ -110,7 +107,6 @@ MISS plan2.terraform /api/2.0/workspace/get-status 'cli/[CLI_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/[CLI_VERSION] databricks-sdk-go/[SDK_VERSION] go/[GO_VERSION] os/[OS]' -MISS plan2.terraform /api/2.0/preview/scim/v2/Me 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_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/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat' MISS plan2.terraform /.well-known/databricks-config 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5' MISS plan2.terraform /.well-known/databricks-config 'databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5' 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 9bfe34ca4dd..cb67aafe1b4 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.deploy.terraform.json @@ -339,18 +339,6 @@ "method": "GET", "path": "/.well-known/databricks-config" } -{ - "headers": { - "User-Agent": [ - "databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" - ] - }, - "method": "GET", - "path": "/api/2.0/preview/scim/v2/Me", - "q": { - "excludedAttributes": "entitlements" - } -} { "headers": { "User-Agent": [ 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 a8119cf870d..09b923be4dd 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.destroy.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.destroy.terraform.json @@ -145,30 +145,6 @@ "force": "true" } } -{ - "headers": { - "User-Agent": [ - "databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" - ] - }, - "method": "GET", - "path": "/api/2.0/preview/scim/v2/Me", - "q": { - "excludedAttributes": "entitlements" - } -} -{ - "headers": { - "User-Agent": [ - "databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" - ] - }, - "method": "GET", - "path": "/api/2.0/preview/scim/v2/Me", - "q": { - "excludedAttributes": "entitlements" - } -} { "headers": { "User-Agent": [ 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 a8a40749b8b..01f69d2c457 100644 --- a/acceptance/bundle/user_agent/simple/out.requests.plan2.terraform.json +++ b/acceptance/bundle/user_agent/simple/out.requests.plan2.terraform.json @@ -73,18 +73,6 @@ "method": "GET", "path": "/.well-known/databricks-config" } -{ - "headers": { - "User-Agent": [ - "databricks-tf-provider/[TF_PROVIDER_VERSION] databricks-sdk-go/[SDK_VERSION] go/1.25.8 os/[OS] cli/[CLI_VERSION] terraform/1.5.5 sdk/sdkv2 resource/schema auth/pat" - ] - }, - "method": "GET", - "path": "/api/2.0/preview/scim/v2/Me", - "q": { - "excludedAttributes": "entitlements" - } -} { "headers": { "User-Agent": [ diff --git a/bundle/internal/tf/codegen/schema/version.go b/bundle/internal/tf/codegen/schema/version.go index 5c938d73eb2..4fa3431f7bb 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.124.0" +const ProviderVersion = "1.125.0" diff --git a/bundle/internal/tf/schema/data_source_alert_v2.go b/bundle/internal/tf/schema/data_source_alert_v2.go index bb45eb55914..c609a8f9189 100644 --- a/bundle/internal/tf/schema/data_source_alert_v2.go +++ b/bundle/internal/tf/schema/data_source_alert_v2.go @@ -53,12 +53,6 @@ type DataSourceAlertV2Evaluation struct { Threshold *DataSourceAlertV2EvaluationThreshold `json:"threshold,omitempty"` } -type DataSourceAlertV2Parameters struct { - Name string `json:"name"` - Type string `json:"type,omitempty"` - Value string `json:"value,omitempty"` -} - type DataSourceAlertV2ProviderConfig struct { WorkspaceId string `json:"workspace_id,omitempty"` } @@ -84,7 +78,6 @@ type DataSourceAlertV2 struct { Id string `json:"id"` LifecycleState string `json:"lifecycle_state,omitempty"` OwnerUserName string `json:"owner_user_name,omitempty"` - Parameters []DataSourceAlertV2Parameters `json:"parameters,omitempty"` ParentPath string `json:"parent_path,omitempty"` ProviderConfig *DataSourceAlertV2ProviderConfig `json:"provider_config,omitempty"` QueryText string `json:"query_text,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_alerts_v2.go b/bundle/internal/tf/schema/data_source_alerts_v2.go index d61adb2929d..5675e0aa56c 100644 --- a/bundle/internal/tf/schema/data_source_alerts_v2.go +++ b/bundle/internal/tf/schema/data_source_alerts_v2.go @@ -53,12 +53,6 @@ type DataSourceAlertsV2AlertsEvaluation struct { Threshold *DataSourceAlertsV2AlertsEvaluationThreshold `json:"threshold,omitempty"` } -type DataSourceAlertsV2AlertsParameters struct { - Name string `json:"name"` - Type string `json:"type,omitempty"` - Value string `json:"value,omitempty"` -} - type DataSourceAlertsV2AlertsProviderConfig struct { WorkspaceId string `json:"workspace_id,omitempty"` } @@ -84,7 +78,6 @@ type DataSourceAlertsV2Alerts struct { Id string `json:"id"` LifecycleState string `json:"lifecycle_state,omitempty"` OwnerUserName string `json:"owner_user_name,omitempty"` - Parameters []DataSourceAlertsV2AlertsParameters `json:"parameters,omitempty"` ParentPath string `json:"parent_path,omitempty"` ProviderConfig *DataSourceAlertsV2AlertsProviderConfig `json:"provider_config,omitempty"` QueryText string `json:"query_text,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_cluster.go b/bundle/internal/tf/schema/data_source_cluster.go index 0623526dcf1..5d65b2f989b 100644 --- a/bundle/internal/tf/schema/data_source_cluster.go +++ b/bundle/internal/tf/schema/data_source_cluster.go @@ -348,7 +348,6 @@ type DataSourceClusterClusterInfoSpec struct { ClusterName string `json:"cluster_name,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` @@ -414,7 +413,6 @@ type DataSourceClusterClusterInfo struct { CustomTags map[string]string `json:"custom_tags,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"` DefaultTags map[string]string `json:"default_tags,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` 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 5b2b55193af..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 @@ -7,10 +7,6 @@ type DataSourceDataClassificationCatalogConfigAutoTagConfigs struct { ClassificationTag string `json:"classification_tag"` } -type DataSourceDataClassificationCatalogConfigExcludedSchemas struct { - Names []string `json:"names"` -} - type DataSourceDataClassificationCatalogConfigIncludedSchemas struct { Names []string `json:"names"` } @@ -21,7 +17,6 @@ type DataSourceDataClassificationCatalogConfigProviderConfig struct { type DataSourceDataClassificationCatalogConfig struct { AutoTagConfigs []DataSourceDataClassificationCatalogConfigAutoTagConfigs `json:"auto_tag_configs,omitempty"` - ExcludedSchemas *DataSourceDataClassificationCatalogConfigExcludedSchemas `json:"excluded_schemas,omitempty"` IncludedSchemas *DataSourceDataClassificationCatalogConfigIncludedSchemas `json:"included_schemas,omitempty"` Name string `json:"name"` ProviderConfig *DataSourceDataClassificationCatalogConfigProviderConfig `json:"provider_config,omitempty"` 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 index b74a5f1bfc9..f9dd842b9cc 100644 --- a/bundle/internal/tf/schema/data_source_disaster_recovery_stable_url.go +++ b/bundle/internal/tf/schema/data_source_disaster_recovery_stable_url.go @@ -3,10 +3,8 @@ package schema type DataSourceDisasterRecoveryStableUrl struct { - EffectiveWorkspaceId string `json:"effective_workspace_id,omitempty"` - FailoverGroupName string `json:"failover_group_name,omitempty"` - InitialWorkspaceId string `json:"initial_workspace_id,omitempty"` - Name string `json:"name"` - StableWorkspaceId string `json:"stable_workspace_id,omitempty"` - Url string `json:"url,omitempty"` + FailoverGroupName string `json:"failover_group_name,omitempty"` + 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 index 86ceb56f6b8..8103667696e 100644 --- a/bundle/internal/tf/schema/data_source_disaster_recovery_stable_urls.go +++ b/bundle/internal/tf/schema/data_source_disaster_recovery_stable_urls.go @@ -3,12 +3,10 @@ package schema type DataSourceDisasterRecoveryStableUrlsStableUrls struct { - EffectiveWorkspaceId string `json:"effective_workspace_id,omitempty"` - FailoverGroupName string `json:"failover_group_name,omitempty"` - InitialWorkspaceId string `json:"initial_workspace_id,omitempty"` - Name string `json:"name"` - StableWorkspaceId string `json:"stable_workspace_id,omitempty"` - Url string `json:"url,omitempty"` + FailoverGroupName string `json:"failover_group_name,omitempty"` + InitialWorkspaceId string `json:"initial_workspace_id,omitempty"` + Name string `json:"name"` + Url string `json:"url,omitempty"` } type DataSourceDisasterRecoveryStableUrls struct { diff --git a/bundle/internal/tf/schema/data_source_endpoint.go b/bundle/internal/tf/schema/data_source_endpoint.go index 1fd4ac10f57..39e726b8b1f 100644 --- a/bundle/internal/tf/schema/data_source_endpoint.go +++ b/bundle/internal/tf/schema/data_source_endpoint.go @@ -2,12 +2,6 @@ package schema -type DataSourceEndpointAwsVpcEndpointInfo struct { - AwsAccountId string `json:"aws_account_id,omitempty"` - AwsEndpointServiceId string `json:"aws_endpoint_service_id,omitempty"` - AwsVpcEndpointId string `json:"aws_vpc_endpoint_id"` -} - type DataSourceEndpointAzurePrivateEndpointInfo struct { PrivateEndpointName string `json:"private_endpoint_name"` PrivateEndpointResourceGuid string `json:"private_endpoint_resource_guid"` @@ -15,22 +9,12 @@ type DataSourceEndpointAzurePrivateEndpointInfo struct { PrivateLinkServiceId string `json:"private_link_service_id,omitempty"` } -type DataSourceEndpointGcpPscEndpointInfo struct { - EndpointRegion string `json:"endpoint_region"` - ProjectId string `json:"project_id"` - PscConnectionId string `json:"psc_connection_id,omitempty"` - PscEndpoint string `json:"psc_endpoint"` - ServiceAttachmentId string `json:"service_attachment_id,omitempty"` -} - type DataSourceEndpoint struct { AccountId string `json:"account_id,omitempty"` - AwsVpcEndpointInfo *DataSourceEndpointAwsVpcEndpointInfo `json:"aws_vpc_endpoint_info,omitempty"` AzurePrivateEndpointInfo *DataSourceEndpointAzurePrivateEndpointInfo `json:"azure_private_endpoint_info,omitempty"` CreateTime string `json:"create_time,omitempty"` DisplayName string `json:"display_name,omitempty"` EndpointId string `json:"endpoint_id,omitempty"` - GcpPscEndpointInfo *DataSourceEndpointGcpPscEndpointInfo `json:"gcp_psc_endpoint_info,omitempty"` Name string `json:"name"` Region string `json:"region,omitempty"` State string `json:"state,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_endpoints.go b/bundle/internal/tf/schema/data_source_endpoints.go index 56dc425760e..1cef5b123aa 100644 --- a/bundle/internal/tf/schema/data_source_endpoints.go +++ b/bundle/internal/tf/schema/data_source_endpoints.go @@ -2,12 +2,6 @@ package schema -type DataSourceEndpointsItemsAwsVpcEndpointInfo struct { - AwsAccountId string `json:"aws_account_id,omitempty"` - AwsEndpointServiceId string `json:"aws_endpoint_service_id,omitempty"` - AwsVpcEndpointId string `json:"aws_vpc_endpoint_id"` -} - type DataSourceEndpointsItemsAzurePrivateEndpointInfo struct { PrivateEndpointName string `json:"private_endpoint_name"` PrivateEndpointResourceGuid string `json:"private_endpoint_resource_guid"` @@ -15,22 +9,12 @@ type DataSourceEndpointsItemsAzurePrivateEndpointInfo struct { PrivateLinkServiceId string `json:"private_link_service_id,omitempty"` } -type DataSourceEndpointsItemsGcpPscEndpointInfo struct { - EndpointRegion string `json:"endpoint_region"` - ProjectId string `json:"project_id"` - PscConnectionId string `json:"psc_connection_id,omitempty"` - PscEndpoint string `json:"psc_endpoint"` - ServiceAttachmentId string `json:"service_attachment_id,omitempty"` -} - type DataSourceEndpointsItems struct { AccountId string `json:"account_id,omitempty"` - AwsVpcEndpointInfo *DataSourceEndpointsItemsAwsVpcEndpointInfo `json:"aws_vpc_endpoint_info,omitempty"` AzurePrivateEndpointInfo *DataSourceEndpointsItemsAzurePrivateEndpointInfo `json:"azure_private_endpoint_info,omitempty"` CreateTime string `json:"create_time,omitempty"` DisplayName string `json:"display_name,omitempty"` EndpointId string `json:"endpoint_id,omitempty"` - GcpPscEndpointInfo *DataSourceEndpointsItemsGcpPscEndpointInfo `json:"gcp_psc_endpoint_info,omitempty"` Name string `json:"name"` Region string `json:"region,omitempty"` State string `json:"state,omitempty"` 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 ea1ec37cee9..103d9a9da2f 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_feature.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_feature.go @@ -29,30 +29,10 @@ type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionFirst struct Input string `json:"input"` } -type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstDistinct struct { - Input string `json:"input"` - N int `json:"n"` -} - -type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstN struct { - Input string `json:"input"` - N int `json:"n"` -} - type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionLast struct { Input string `json:"input"` } -type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionLastDistinct struct { - Input string `json:"input"` - N int `json:"n"` -} - -type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionLastN struct { - Input string `json:"input"` - N int `json:"n"` -} - type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionMax struct { Input string `json:"input"` } @@ -80,17 +60,12 @@ type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowCon type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` -} - -type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSawtooth struct { - Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbling struct { @@ -100,7 +75,6 @@ type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTum type DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindow struct { Continuous *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowContinuous `json:"continuous,omitempty"` Rolling *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling `json:"rolling,omitempty"` - Sawtooth *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSawtooth `json:"sawtooth,omitempty"` Sliding *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSliding `json:"sliding,omitempty"` Tumbling *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbling `json:"tumbling,omitempty"` } @@ -119,11 +93,7 @@ type DataSourceFeatureEngineeringFeatureFunctionAggregationFunction struct { Avg *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionAvg `json:"avg,omitempty"` CountFunction *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionCountFunction `json:"count_function,omitempty"` First *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionFirst `json:"first,omitempty"` - FirstDistinct *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstDistinct `json:"first_distinct,omitempty"` - FirstN *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstN `json:"first_n,omitempty"` Last *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionLast `json:"last,omitempty"` - LastDistinct *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionLastDistinct `json:"last_distinct,omitempty"` - LastN *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionLastN `json:"last_n,omitempty"` Max *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionMax `json:"max,omitempty"` Min *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionMin `json:"min,omitempty"` StddevPop *DataSourceFeatureEngineeringFeatureFunctionAggregationFunctionStddevPop `json:"stddev_pop,omitempty"` @@ -202,10 +172,8 @@ type DataSourceFeatureEngineeringFeatureSourceRequestSource struct { } type DataSourceFeatureEngineeringFeatureSourceStreamSource struct { - DataframeSchema string `json:"dataframe_schema,omitempty"` - FilterCondition string `json:"filter_condition,omitempty"` - FullName string `json:"full_name"` - TransformationSql string `json:"transformation_sql,omitempty"` + FilterCondition string `json:"filter_condition,omitempty"` + FullName string `json:"full_name"` } type DataSourceFeatureEngineeringFeatureSource struct { @@ -222,17 +190,12 @@ type DataSourceFeatureEngineeringFeatureTimeWindowContinuous struct { type DataSourceFeatureEngineeringFeatureTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` -} - -type DataSourceFeatureEngineeringFeatureTimeWindowSawtooth struct { - Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeatureTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeatureTimeWindowTumbling struct { @@ -242,7 +205,6 @@ type DataSourceFeatureEngineeringFeatureTimeWindowTumbling struct { type DataSourceFeatureEngineeringFeatureTimeWindow struct { Continuous *DataSourceFeatureEngineeringFeatureTimeWindowContinuous `json:"continuous,omitempty"` Rolling *DataSourceFeatureEngineeringFeatureTimeWindowRolling `json:"rolling,omitempty"` - Sawtooth *DataSourceFeatureEngineeringFeatureTimeWindowSawtooth `json:"sawtooth,omitempty"` Sliding *DataSourceFeatureEngineeringFeatureTimeWindowSliding `json:"sliding,omitempty"` Tumbling *DataSourceFeatureEngineeringFeatureTimeWindowTumbling `json:"tumbling,omitempty"` } 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 a153b7237cb..9da09724ce8 100644 --- a/bundle/internal/tf/schema/data_source_feature_engineering_features.go +++ b/bundle/internal/tf/schema/data_source_feature_engineering_features.go @@ -29,30 +29,10 @@ type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionFirs Input string `json:"input"` } -type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionFirstDistinct struct { - Input string `json:"input"` - N int `json:"n"` -} - -type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionFirstN struct { - Input string `json:"input"` - N int `json:"n"` -} - type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionLast struct { Input string `json:"input"` } -type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionLastDistinct struct { - Input string `json:"input"` - N int `json:"n"` -} - -type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionLastN struct { - Input string `json:"input"` - N int `json:"n"` -} - type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionMax struct { Input string `json:"input"` } @@ -80,17 +60,12 @@ type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTime type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` -} - -type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowSawtooth struct { - Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowTumbling struct { @@ -100,7 +75,6 @@ type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTime type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindow struct { Continuous *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowContinuous `json:"continuous,omitempty"` Rolling *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowRolling `json:"rolling,omitempty"` - Sawtooth *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowSawtooth `json:"sawtooth,omitempty"` Sliding *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowSliding `json:"sliding,omitempty"` Tumbling *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionTimeWindowTumbling `json:"tumbling,omitempty"` } @@ -119,11 +93,7 @@ type DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunction str Avg *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionAvg `json:"avg,omitempty"` CountFunction *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionCountFunction `json:"count_function,omitempty"` First *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionFirst `json:"first,omitempty"` - FirstDistinct *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionFirstDistinct `json:"first_distinct,omitempty"` - FirstN *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionFirstN `json:"first_n,omitempty"` Last *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionLast `json:"last,omitempty"` - LastDistinct *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionLastDistinct `json:"last_distinct,omitempty"` - LastN *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionLastN `json:"last_n,omitempty"` Max *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionMax `json:"max,omitempty"` Min *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionMin `json:"min,omitempty"` StddevPop *DataSourceFeatureEngineeringFeaturesFeaturesFunctionAggregationFunctionStddevPop `json:"stddev_pop,omitempty"` @@ -202,10 +172,8 @@ type DataSourceFeatureEngineeringFeaturesFeaturesSourceRequestSource struct { } type DataSourceFeatureEngineeringFeaturesFeaturesSourceStreamSource struct { - DataframeSchema string `json:"dataframe_schema,omitempty"` - FilterCondition string `json:"filter_condition,omitempty"` - FullName string `json:"full_name"` - TransformationSql string `json:"transformation_sql,omitempty"` + FilterCondition string `json:"filter_condition,omitempty"` + FullName string `json:"full_name"` } type DataSourceFeatureEngineeringFeaturesFeaturesSource struct { @@ -222,17 +190,12 @@ type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowContinuous struct { type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` -} - -type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowSawtooth struct { - Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowTumbling struct { @@ -242,7 +205,6 @@ type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowTumbling struct { type DataSourceFeatureEngineeringFeaturesFeaturesTimeWindow struct { Continuous *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowContinuous `json:"continuous,omitempty"` Rolling *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowRolling `json:"rolling,omitempty"` - Sawtooth *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowSawtooth `json:"sawtooth,omitempty"` Sliding *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowSliding `json:"sliding,omitempty"` Tumbling *DataSourceFeatureEngineeringFeaturesFeaturesTimeWindowTumbling `json:"tumbling,omitempty"` } 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 4823fbc0f33..eb7cbb47c01 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 @@ -72,15 +72,8 @@ type DataSourceFeatureEngineeringKafkaConfigIngestionConfig struct { IngestionPipelineId string `json:"ingestion_pipeline_id,omitempty"` } -type DataSourceFeatureEngineeringKafkaConfigKeySchemaProtoSchema struct { - MessageName string `json:"message_name"` - SchemaText string `json:"schema_text"` -} - type DataSourceFeatureEngineeringKafkaConfigKeySchema struct { - AvroSchema string `json:"avro_schema,omitempty"` - JsonSchema string `json:"json_schema,omitempty"` - ProtoSchema *DataSourceFeatureEngineeringKafkaConfigKeySchemaProtoSchema `json:"proto_schema,omitempty"` + JsonSchema string `json:"json_schema,omitempty"` } type DataSourceFeatureEngineeringKafkaConfigProviderConfig struct { @@ -93,15 +86,8 @@ type DataSourceFeatureEngineeringKafkaConfigSubscriptionMode struct { SubscribePattern string `json:"subscribe_pattern,omitempty"` } -type DataSourceFeatureEngineeringKafkaConfigValueSchemaProtoSchema struct { - MessageName string `json:"message_name"` - SchemaText string `json:"schema_text"` -} - type DataSourceFeatureEngineeringKafkaConfigValueSchema struct { - AvroSchema string `json:"avro_schema,omitempty"` - JsonSchema string `json:"json_schema,omitempty"` - ProtoSchema *DataSourceFeatureEngineeringKafkaConfigValueSchemaProtoSchema `json:"proto_schema,omitempty"` + JsonSchema string `json:"json_schema,omitempty"` } type DataSourceFeatureEngineeringKafkaConfig 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 eff88ba43a6..06fd36a903b 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 @@ -72,15 +72,8 @@ type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsIngestionConfig struct IngestionPipelineId string `json:"ingestion_pipeline_id,omitempty"` } -type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsKeySchemaProtoSchema struct { - MessageName string `json:"message_name"` - SchemaText string `json:"schema_text"` -} - type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsKeySchema struct { - AvroSchema string `json:"avro_schema,omitempty"` - JsonSchema string `json:"json_schema,omitempty"` - ProtoSchema *DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsKeySchemaProtoSchema `json:"proto_schema,omitempty"` + JsonSchema string `json:"json_schema,omitempty"` } type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsProviderConfig struct { @@ -93,15 +86,8 @@ type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsSubscriptionMode struct SubscribePattern string `json:"subscribe_pattern,omitempty"` } -type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsValueSchemaProtoSchema struct { - MessageName string `json:"message_name"` - SchemaText string `json:"schema_text"` -} - type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsValueSchema struct { - AvroSchema string `json:"avro_schema,omitempty"` - JsonSchema string `json:"json_schema,omitempty"` - ProtoSchema *DataSourceFeatureEngineeringKafkaConfigsKafkaConfigsValueSchemaProtoSchema `json:"proto_schema,omitempty"` + JsonSchema string `json:"json_schema,omitempty"` } type DataSourceFeatureEngineeringKafkaConfigsKafkaConfigs 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 fedd8da0f7e..eeaf8d096d1 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 @@ -24,8 +24,7 @@ type DataSourceFeatureEngineeringMaterializedFeatureProviderConfig struct { } type DataSourceFeatureEngineeringMaterializedFeatureStreamingMode struct { - FreshnessTarget string `json:"freshness_target,omitempty"` - Mode string `json:"mode,omitempty"` + Mode string `json:"mode,omitempty"` } type DataSourceFeatureEngineeringMaterializedFeatureTableTrigger 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 dbedd725190..cf95ba9f289 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 @@ -24,8 +24,7 @@ type DataSourceFeatureEngineeringMaterializedFeaturesMaterializedFeaturesProvide } type DataSourceFeatureEngineeringMaterializedFeaturesMaterializedFeaturesStreamingMode struct { - FreshnessTarget string `json:"freshness_target,omitempty"` - Mode string `json:"mode,omitempty"` + Mode string `json:"mode,omitempty"` } type DataSourceFeatureEngineeringMaterializedFeaturesMaterializedFeaturesTableTrigger struct{} diff --git a/bundle/internal/tf/schema/data_source_group.go b/bundle/internal/tf/schema/data_source_group.go index 1cb5f1c498f..b15819d3824 100644 --- a/bundle/internal/tf/schema/data_source_group.go +++ b/bundle/internal/tf/schema/data_source_group.go @@ -20,7 +20,6 @@ type DataSourceGroup struct { InstanceProfiles []string `json:"instance_profiles,omitempty"` Members []string `json:"members,omitempty"` Recursive bool `json:"recursive,omitempty"` - Roles []string `json:"roles,omitempty"` ServicePrincipals []string `json:"service_principals,omitempty"` Users []string `json:"users,omitempty"` WorkspaceAccess bool `json:"workspace_access,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_mlflow_experiment.go b/bundle/internal/tf/schema/data_source_mlflow_experiment.go index 2b01a2f2557..792600443d1 100644 --- a/bundle/internal/tf/schema/data_source_mlflow_experiment.go +++ b/bundle/internal/tf/schema/data_source_mlflow_experiment.go @@ -11,17 +11,6 @@ type DataSourceMlflowExperimentTags struct { Value string `json:"value,omitempty"` } -type DataSourceMlflowExperimentTraceLocationUcTraceLocation struct { - Catalog string `json:"catalog"` - EffectiveTablePrefix string `json:"effective_table_prefix,omitempty"` - Schema string `json:"schema"` - TablePrefix string `json:"table_prefix,omitempty"` -} - -type DataSourceMlflowExperimentTraceLocation struct { - UcTraceLocation *DataSourceMlflowExperimentTraceLocationUcTraceLocation `json:"uc_trace_location,omitempty"` -} - type DataSourceMlflowExperiment struct { ArtifactLocation string `json:"artifact_location,omitempty"` CreationTime int `json:"creation_time,omitempty"` @@ -32,5 +21,4 @@ type DataSourceMlflowExperiment struct { Name string `json:"name,omitempty"` ProviderConfig *DataSourceMlflowExperimentProviderConfig `json:"provider_config,omitempty"` Tags []DataSourceMlflowExperimentTags `json:"tags,omitempty"` - TraceLocation *DataSourceMlflowExperimentTraceLocation `json:"trace_location,omitempty"` } diff --git a/bundle/internal/tf/schema/data_source_postgres_database.go b/bundle/internal/tf/schema/data_source_postgres_database.go index 8c1f8509eb2..c073e876bb5 100644 --- a/bundle/internal/tf/schema/data_source_postgres_database.go +++ b/bundle/internal/tf/schema/data_source_postgres_database.go @@ -8,7 +8,7 @@ type DataSourcePostgresDatabaseProviderConfig struct { type DataSourcePostgresDatabaseSpec struct { PostgresDatabase string `json:"postgres_database,omitempty"` - Role string `json:"role"` + Role string `json:"role,omitempty"` } type DataSourcePostgresDatabaseStatus struct { diff --git a/bundle/internal/tf/schema/data_source_postgres_databases.go b/bundle/internal/tf/schema/data_source_postgres_databases.go index dd511935ecb..33bfa025870 100644 --- a/bundle/internal/tf/schema/data_source_postgres_databases.go +++ b/bundle/internal/tf/schema/data_source_postgres_databases.go @@ -8,7 +8,7 @@ type DataSourcePostgresDatabasesDatabasesProviderConfig struct { type DataSourcePostgresDatabasesDatabasesSpec struct { PostgresDatabase string `json:"postgres_database,omitempty"` - Role string `json:"role"` + Role string `json:"role,omitempty"` } type DataSourcePostgresDatabasesDatabasesStatus struct { diff --git a/bundle/internal/tf/schema/data_source_postgres_endpoint.go b/bundle/internal/tf/schema/data_source_postgres_endpoint.go index 640516a2545..0327ce656f4 100644 --- a/bundle/internal/tf/schema/data_source_postgres_endpoint.go +++ b/bundle/internal/tf/schema/data_source_postgres_endpoint.go @@ -34,10 +34,8 @@ type DataSourcePostgresEndpointStatusGroup struct { } type DataSourcePostgresEndpointStatusHosts struct { - Host string `json:"host,omitempty"` - ReadOnlyHost string `json:"read_only_host,omitempty"` - ReadOnlyPooledHost string `json:"read_only_pooled_host,omitempty"` - ReadWritePooledHost string `json:"read_write_pooled_host,omitempty"` + Host string `json:"host,omitempty"` + ReadOnlyHost string `json:"read_only_host,omitempty"` } type DataSourcePostgresEndpointStatusSettings struct { @@ -53,7 +51,6 @@ type DataSourcePostgresEndpointStatus struct { EndpointType string `json:"endpoint_type,omitempty"` Group *DataSourcePostgresEndpointStatusGroup `json:"group,omitempty"` Hosts *DataSourcePostgresEndpointStatusHosts `json:"hosts,omitempty"` - LastActiveTime string `json:"last_active_time,omitempty"` PendingState string `json:"pending_state,omitempty"` Settings *DataSourcePostgresEndpointStatusSettings `json:"settings,omitempty"` SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_postgres_endpoints.go b/bundle/internal/tf/schema/data_source_postgres_endpoints.go index 274d475a08e..75ad54f4b5c 100644 --- a/bundle/internal/tf/schema/data_source_postgres_endpoints.go +++ b/bundle/internal/tf/schema/data_source_postgres_endpoints.go @@ -34,10 +34,8 @@ type DataSourcePostgresEndpointsEndpointsStatusGroup struct { } type DataSourcePostgresEndpointsEndpointsStatusHosts struct { - Host string `json:"host,omitempty"` - ReadOnlyHost string `json:"read_only_host,omitempty"` - ReadOnlyPooledHost string `json:"read_only_pooled_host,omitempty"` - ReadWritePooledHost string `json:"read_write_pooled_host,omitempty"` + Host string `json:"host,omitempty"` + ReadOnlyHost string `json:"read_only_host,omitempty"` } type DataSourcePostgresEndpointsEndpointsStatusSettings struct { @@ -53,7 +51,6 @@ type DataSourcePostgresEndpointsEndpointsStatus struct { EndpointType string `json:"endpoint_type,omitempty"` Group *DataSourcePostgresEndpointsEndpointsStatusGroup `json:"group,omitempty"` Hosts *DataSourcePostgresEndpointsEndpointsStatusHosts `json:"hosts,omitempty"` - LastActiveTime string `json:"last_active_time,omitempty"` PendingState string `json:"pending_state,omitempty"` Settings *DataSourcePostgresEndpointsEndpointsStatusSettings `json:"settings,omitempty"` SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` 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 2f901b4bb7e..9f69a5fa449 100644 --- a/bundle/internal/tf/schema/data_source_postgres_synced_table.go +++ b/bundle/internal/tf/schema/data_source_postgres_synced_table.go @@ -6,13 +6,6 @@ type DataSourcePostgresSyncedTableProviderConfig struct { WorkspaceId string `json:"workspace_id,omitempty"` } -type DataSourcePostgresSyncedTableSpecExtraColumns struct { - ColumnName string `json:"column_name"` - ColumnType string `json:"column_type"` - Compute string `json:"compute,omitempty"` - Maintenance string `json:"maintenance,omitempty"` -} - type DataSourcePostgresSyncedTableSpecNewPipelineSpec struct { BudgetPolicyId string `json:"budget_policy_id,omitempty"` StorageCatalog string `json:"storage_catalog,omitempty"` @@ -30,7 +23,6 @@ type DataSourcePostgresSyncedTableSpec struct { Branch string `json:"branch,omitempty"` CreateDatabaseObjectsIfMissing bool `json:"create_database_objects_if_missing,omitempty"` ExistingPipelineId string `json:"existing_pipeline_id,omitempty"` - ExtraColumns []DataSourcePostgresSyncedTableSpecExtraColumns `json:"extra_columns,omitempty"` NewPipelineSpec *DataSourcePostgresSyncedTableSpecNewPipelineSpec `json:"new_pipeline_spec,omitempty"` PostgresDatabase string `json:"postgres_database,omitempty"` PrimaryKeyColumns []string `json:"primary_key_columns,omitempty"` diff --git a/bundle/internal/tf/schema/data_source_secret_uc.go b/bundle/internal/tf/schema/data_source_secret_uc.go index abbafcf80bd..b9a7a57fe6a 100644 --- a/bundle/internal/tf/schema/data_source_secret_uc.go +++ b/bundle/internal/tf/schema/data_source_secret_uc.go @@ -7,20 +7,22 @@ type DataSourceSecretUcProviderConfig struct { } type DataSourceSecretUc struct { - 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"` - 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"` + 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 index 930620e7f9d..e9701e92706 100644 --- a/bundle/internal/tf/schema/data_source_secret_ucs.go +++ b/bundle/internal/tf/schema/data_source_secret_ucs.go @@ -11,26 +11,29 @@ type DataSourceSecretUcsSecretsProviderConfig struct { } type DataSourceSecretUcsSecrets struct { - 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"` - 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"` + 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"` diff --git a/bundle/internal/tf/schema/data_source_serving_endpoints.go b/bundle/internal/tf/schema/data_source_serving_endpoints.go index f94fc842d5f..7347ee3b189 100644 --- a/bundle/internal/tf/schema/data_source_serving_endpoints.go +++ b/bundle/internal/tf/schema/data_source_serving_endpoints.go @@ -191,17 +191,8 @@ type DataSourceServingEndpointsEndpointsTelemetryConfigInferenceTableConfig stru SamplingFraction int `json:"sampling_fraction,omitempty"` } -type DataSourceServingEndpointsEndpointsTelemetryConfigTableNames struct { - AnnotationsTable string `json:"annotations_table,omitempty"` - LogsTable string `json:"logs_table,omitempty"` - MetricsTable string `json:"metrics_table,omitempty"` - TracesTable string `json:"traces_table,omitempty"` -} - type DataSourceServingEndpointsEndpointsTelemetryConfig struct { InferenceTableConfig []DataSourceServingEndpointsEndpointsTelemetryConfigInferenceTableConfig `json:"inference_table_config,omitempty"` - TableNames []DataSourceServingEndpointsEndpointsTelemetryConfigTableNames `json:"table_names,omitempty"` - TelemetryProfileId string `json:"telemetry_profile_id,omitempty"` } type DataSourceServingEndpointsEndpoints struct { diff --git a/bundle/internal/tf/schema/data_sources.go b/bundle/internal/tf/schema/data_sources.go index a71803bad51..9a8860591ce 100644 --- a/bundle/internal/tf/schema/data_sources.go +++ b/bundle/internal/tf/schema/data_sources.go @@ -9,12 +9,6 @@ type DataSources struct { AccountNetworkPolicy map[string]any `json:"databricks_account_network_policy,omitempty"` AccountSettingUserPreferenceV2 map[string]any `json:"databricks_account_setting_user_preference_v2,omitempty"` AccountSettingV2 map[string]any `json:"databricks_account_setting_v2,omitempty"` - AiGatewayMcpService map[string]any `json:"databricks_ai_gateway_mcp_service,omitempty"` - AiGatewayMcpServices map[string]any `json:"databricks_ai_gateway_mcp_services,omitempty"` - AiGatewayModelProviderService map[string]any `json:"databricks_ai_gateway_model_provider_service,omitempty"` - AiGatewayModelProviderServices map[string]any `json:"databricks_ai_gateway_model_provider_services,omitempty"` - AiGatewayModelService map[string]any `json:"databricks_ai_gateway_model_service,omitempty"` - AiGatewayModelServices map[string]any `json:"databricks_ai_gateway_model_services,omitempty"` AiSearchEndpoint map[string]any `json:"databricks_ai_search_endpoint,omitempty"` AiSearchEndpoints map[string]any `json:"databricks_ai_search_endpoints,omitempty"` AiSearchIndex map[string]any `json:"databricks_ai_search_index,omitempty"` @@ -111,10 +105,6 @@ type DataSources struct { PostgresBranch map[string]any `json:"databricks_postgres_branch,omitempty"` PostgresBranches map[string]any `json:"databricks_postgres_branches,omitempty"` PostgresCatalog map[string]any `json:"databricks_postgres_catalog,omitempty"` - PostgresCdfConfig map[string]any `json:"databricks_postgres_cdf_config,omitempty"` - PostgresCdfConfigs map[string]any `json:"databricks_postgres_cdf_configs,omitempty"` - PostgresCdfStatus map[string]any `json:"databricks_postgres_cdf_status,omitempty"` - PostgresCdfStatuses map[string]any `json:"databricks_postgres_cdf_statuses,omitempty"` PostgresDataApi map[string]any `json:"databricks_postgres_data_api,omitempty"` PostgresDatabase map[string]any `json:"databricks_postgres_database,omitempty"` PostgresDatabases map[string]any `json:"databricks_postgres_databases,omitempty"` @@ -127,7 +117,6 @@ type DataSources struct { PostgresSyncedTable map[string]any `json:"databricks_postgres_synced_table,omitempty"` QualityMonitorV2 map[string]any `json:"databricks_quality_monitor_v2,omitempty"` QualityMonitorsV2 map[string]any `json:"databricks_quality_monitors_v2,omitempty"` - Recipients map[string]any `json:"databricks_recipients,omitempty"` RegisteredModel map[string]any `json:"databricks_registered_model,omitempty"` RegisteredModelVersions map[string]any `json:"databricks_registered_model_versions,omitempty"` RfaAccessRequestDestinations map[string]any `json:"databricks_rfa_access_request_destinations,omitempty"` @@ -177,12 +166,6 @@ func NewDataSources() *DataSources { AccountNetworkPolicy: make(map[string]any), AccountSettingUserPreferenceV2: make(map[string]any), AccountSettingV2: make(map[string]any), - AiGatewayMcpService: make(map[string]any), - AiGatewayMcpServices: make(map[string]any), - AiGatewayModelProviderService: make(map[string]any), - AiGatewayModelProviderServices: make(map[string]any), - AiGatewayModelService: make(map[string]any), - AiGatewayModelServices: make(map[string]any), AiSearchEndpoint: make(map[string]any), AiSearchEndpoints: make(map[string]any), AiSearchIndex: make(map[string]any), @@ -279,10 +262,6 @@ func NewDataSources() *DataSources { PostgresBranch: make(map[string]any), PostgresBranches: make(map[string]any), PostgresCatalog: make(map[string]any), - PostgresCdfConfig: make(map[string]any), - PostgresCdfConfigs: make(map[string]any), - PostgresCdfStatus: make(map[string]any), - PostgresCdfStatuses: make(map[string]any), PostgresDataApi: make(map[string]any), PostgresDatabase: make(map[string]any), PostgresDatabases: make(map[string]any), @@ -295,7 +274,6 @@ func NewDataSources() *DataSources { PostgresSyncedTable: make(map[string]any), QualityMonitorV2: make(map[string]any), QualityMonitorsV2: make(map[string]any), - Recipients: make(map[string]any), RegisteredModel: make(map[string]any), RegisteredModelVersions: make(map[string]any), RfaAccessRequestDestinations: make(map[string]any), diff --git a/bundle/internal/tf/schema/resource_alert_v2.go b/bundle/internal/tf/schema/resource_alert_v2.go index e44b8ba27ca..b9cdec84717 100644 --- a/bundle/internal/tf/schema/resource_alert_v2.go +++ b/bundle/internal/tf/schema/resource_alert_v2.go @@ -53,12 +53,6 @@ type ResourceAlertV2Evaluation struct { Threshold *ResourceAlertV2EvaluationThreshold `json:"threshold,omitempty"` } -type ResourceAlertV2Parameters struct { - Name string `json:"name"` - Type string `json:"type,omitempty"` - Value string `json:"value,omitempty"` -} - type ResourceAlertV2ProviderConfig struct { WorkspaceId string `json:"workspace_id,omitempty"` } @@ -84,7 +78,6 @@ type ResourceAlertV2 struct { Id string `json:"id,omitempty"` LifecycleState string `json:"lifecycle_state,omitempty"` OwnerUserName string `json:"owner_user_name,omitempty"` - Parameters []ResourceAlertV2Parameters `json:"parameters,omitempty"` ParentPath string `json:"parent_path,omitempty"` ProviderConfig *ResourceAlertV2ProviderConfig `json:"provider_config,omitempty"` PurgeOnDelete bool `json:"purge_on_delete,omitempty"` diff --git a/bundle/internal/tf/schema/resource_all.go b/bundle/internal/tf/schema/resource_all.go index ac1952fc975..d2cebc72831 100644 --- a/bundle/internal/tf/schema/resource_all.go +++ b/bundle/internal/tf/schema/resource_all.go @@ -12,9 +12,6 @@ type AllResources struct { AccountNetworkPolicy ResourceAccountNetworkPolicy `json:"databricks_account_network_policy,omitempty"` AccountSettingUserPreferenceV2 ResourceAccountSettingUserPreferenceV2 `json:"databricks_account_setting_user_preference_v2,omitempty"` AccountSettingV2 ResourceAccountSettingV2 `json:"databricks_account_setting_v2,omitempty"` - AiGatewayMcpService ResourceAiGatewayMcpService `json:"databricks_ai_gateway_mcp_service,omitempty"` - AiGatewayModelProviderService ResourceAiGatewayModelProviderService `json:"databricks_ai_gateway_model_provider_service,omitempty"` - AiGatewayModelService ResourceAiGatewayModelService `json:"databricks_ai_gateway_model_service,omitempty"` AiSearchEndpoint ResourceAiSearchEndpoint `json:"databricks_ai_search_endpoint,omitempty"` AiSearchIndex ResourceAiSearchIndex `json:"databricks_ai_search_index,omitempty"` AibiDashboardEmbeddingAccessPolicySetting ResourceAibiDashboardEmbeddingAccessPolicySetting `json:"databricks_aibi_dashboard_embedding_access_policy_setting,omitempty"` @@ -116,7 +113,6 @@ type AllResources struct { PolicyInfo ResourcePolicyInfo `json:"databricks_policy_info,omitempty"` PostgresBranch ResourcePostgresBranch `json:"databricks_postgres_branch,omitempty"` PostgresCatalog ResourcePostgresCatalog `json:"databricks_postgres_catalog,omitempty"` - PostgresCdfConfig ResourcePostgresCdfConfig `json:"databricks_postgres_cdf_config,omitempty"` PostgresDataApi ResourcePostgresDataApi `json:"databricks_postgres_data_api,omitempty"` PostgresDatabase ResourcePostgresDatabase `json:"databricks_postgres_database,omitempty"` PostgresEndpoint ResourcePostgresEndpoint `json:"databricks_postgres_endpoint,omitempty"` diff --git a/bundle/internal/tf/schema/resource_cluster.go b/bundle/internal/tf/schema/resource_cluster.go index 2f38f662f92..08a4e1c84c8 100644 --- a/bundle/internal/tf/schema/resource_cluster.go +++ b/bundle/internal/tf/schema/resource_cluster.go @@ -181,51 +181,49 @@ type ResourceClusterWorkloadType struct { } type ResourceCluster struct { - ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` - AutoterminationMinutes int `json:"autotermination_minutes,omitempty"` - ClearCloudAttributesOnRemove bool `json:"clear_cloud_attributes_on_remove,omitempty"` - ClusterId string `json:"cluster_id,omitempty"` - ClusterName string `json:"cluster_name,omitempty"` - CustomTags map[string]string `json:"custom_tags,omitempty"` - DataSecurityMode string `json:"data_security_mode,omitempty"` - DefaultTags map[string]string `json:"default_tags,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` - DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` - DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` - EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` - EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"` - Id string `json:"id,omitempty"` - IdempotencyToken string `json:"idempotency_token,omitempty"` - InstancePoolId string `json:"instance_pool_id,omitempty"` - IsPinned bool `json:"is_pinned,omitempty"` - IsSingleNode bool `json:"is_single_node,omitempty"` - Kind string `json:"kind,omitempty"` - NoWait bool `json:"no_wait,omitempty"` - NodeTypeId string `json:"node_type_id,omitempty"` - NumWorkers int `json:"num_workers,omitempty"` - PolicyId string `json:"policy_id,omitempty"` - RemoteDiskThroughput int `json:"remote_disk_throughput,omitempty"` - RuntimeEngine string `json:"runtime_engine,omitempty"` - SingleUserName string `json:"single_user_name,omitempty"` - SparkConf map[string]string `json:"spark_conf,omitempty"` - SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"` - SparkVersion string `json:"spark_version"` - SshPublicKeys []string `json:"ssh_public_keys,omitempty"` - State string `json:"state,omitempty"` - TotalInitialRemoteDiskSize int `json:"total_initial_remote_disk_size,omitempty"` - Url string `json:"url,omitempty"` - UseMlRuntime bool `json:"use_ml_runtime,omitempty"` - Autoscale *ResourceClusterAutoscale `json:"autoscale,omitempty"` - AwsAttributes *ResourceClusterAwsAttributes `json:"aws_attributes,omitempty"` - AzureAttributes *ResourceClusterAzureAttributes `json:"azure_attributes,omitempty"` - ClusterLogConf *ResourceClusterClusterLogConf `json:"cluster_log_conf,omitempty"` - ClusterMountInfo []ResourceClusterClusterMountInfo `json:"cluster_mount_info,omitempty"` - DockerImage *ResourceClusterDockerImage `json:"docker_image,omitempty"` - DriverNodeTypeFlexibility *ResourceClusterDriverNodeTypeFlexibility `json:"driver_node_type_flexibility,omitempty"` - GcpAttributes *ResourceClusterGcpAttributes `json:"gcp_attributes,omitempty"` - InitScripts []ResourceClusterInitScripts `json:"init_scripts,omitempty"` - Library []ResourceClusterLibrary `json:"library,omitempty"` - ProviderConfig *ResourceClusterProviderConfig `json:"provider_config,omitempty"` - WorkerNodeTypeFlexibility *ResourceClusterWorkerNodeTypeFlexibility `json:"worker_node_type_flexibility,omitempty"` - WorkloadType *ResourceClusterWorkloadType `json:"workload_type,omitempty"` + ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` + AutoterminationMinutes int `json:"autotermination_minutes,omitempty"` + ClusterId string `json:"cluster_id,omitempty"` + ClusterName string `json:"cluster_name,omitempty"` + CustomTags map[string]string `json:"custom_tags,omitempty"` + DataSecurityMode string `json:"data_security_mode,omitempty"` + DefaultTags map[string]string `json:"default_tags,omitempty"` + DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` + DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` + EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` + EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"` + Id string `json:"id,omitempty"` + IdempotencyToken string `json:"idempotency_token,omitempty"` + InstancePoolId string `json:"instance_pool_id,omitempty"` + IsPinned bool `json:"is_pinned,omitempty"` + IsSingleNode bool `json:"is_single_node,omitempty"` + Kind string `json:"kind,omitempty"` + NoWait bool `json:"no_wait,omitempty"` + NodeTypeId string `json:"node_type_id,omitempty"` + NumWorkers int `json:"num_workers,omitempty"` + PolicyId string `json:"policy_id,omitempty"` + RemoteDiskThroughput int `json:"remote_disk_throughput,omitempty"` + RuntimeEngine string `json:"runtime_engine,omitempty"` + SingleUserName string `json:"single_user_name,omitempty"` + SparkConf map[string]string `json:"spark_conf,omitempty"` + SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"` + SparkVersion string `json:"spark_version"` + SshPublicKeys []string `json:"ssh_public_keys,omitempty"` + State string `json:"state,omitempty"` + TotalInitialRemoteDiskSize int `json:"total_initial_remote_disk_size,omitempty"` + Url string `json:"url,omitempty"` + UseMlRuntime bool `json:"use_ml_runtime,omitempty"` + Autoscale *ResourceClusterAutoscale `json:"autoscale,omitempty"` + AwsAttributes *ResourceClusterAwsAttributes `json:"aws_attributes,omitempty"` + AzureAttributes *ResourceClusterAzureAttributes `json:"azure_attributes,omitempty"` + ClusterLogConf *ResourceClusterClusterLogConf `json:"cluster_log_conf,omitempty"` + ClusterMountInfo []ResourceClusterClusterMountInfo `json:"cluster_mount_info,omitempty"` + DockerImage *ResourceClusterDockerImage `json:"docker_image,omitempty"` + DriverNodeTypeFlexibility *ResourceClusterDriverNodeTypeFlexibility `json:"driver_node_type_flexibility,omitempty"` + GcpAttributes *ResourceClusterGcpAttributes `json:"gcp_attributes,omitempty"` + InitScripts []ResourceClusterInitScripts `json:"init_scripts,omitempty"` + Library []ResourceClusterLibrary `json:"library,omitempty"` + ProviderConfig *ResourceClusterProviderConfig `json:"provider_config,omitempty"` + WorkerNodeTypeFlexibility *ResourceClusterWorkerNodeTypeFlexibility `json:"worker_node_type_flexibility,omitempty"` + WorkloadType *ResourceClusterWorkloadType `json:"workload_type,omitempty"` } 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 873f785086e..4fedc74410a 100644 --- a/bundle/internal/tf/schema/resource_data_classification_catalog_config.go +++ b/bundle/internal/tf/schema/resource_data_classification_catalog_config.go @@ -7,10 +7,6 @@ type ResourceDataClassificationCatalogConfigAutoTagConfigs struct { ClassificationTag string `json:"classification_tag"` } -type ResourceDataClassificationCatalogConfigExcludedSchemas struct { - Names []string `json:"names"` -} - type ResourceDataClassificationCatalogConfigIncludedSchemas struct { Names []string `json:"names"` } @@ -21,7 +17,6 @@ type ResourceDataClassificationCatalogConfigProviderConfig struct { type ResourceDataClassificationCatalogConfig struct { AutoTagConfigs []ResourceDataClassificationCatalogConfigAutoTagConfigs `json:"auto_tag_configs,omitempty"` - ExcludedSchemas *ResourceDataClassificationCatalogConfigExcludedSchemas `json:"excluded_schemas,omitempty"` IncludedSchemas *ResourceDataClassificationCatalogConfigIncludedSchemas `json:"included_schemas,omitempty"` Name string `json:"name,omitempty"` Parent string `json:"parent"` diff --git a/bundle/internal/tf/schema/resource_disaster_recovery_stable_url.go b/bundle/internal/tf/schema/resource_disaster_recovery_stable_url.go index 2be41e085de..79d325e5e57 100644 --- a/bundle/internal/tf/schema/resource_disaster_recovery_stable_url.go +++ b/bundle/internal/tf/schema/resource_disaster_recovery_stable_url.go @@ -3,12 +3,10 @@ package schema type ResourceDisasterRecoveryStableUrl struct { - EffectiveWorkspaceId string `json:"effective_workspace_id,omitempty"` - FailoverGroupName string `json:"failover_group_name,omitempty"` - InitialWorkspaceId string `json:"initial_workspace_id"` - Name string `json:"name,omitempty"` - Parent string `json:"parent"` - StableUrlId string `json:"stable_url_id"` - StableWorkspaceId string `json:"stable_workspace_id,omitempty"` - Url string `json:"url,omitempty"` + FailoverGroupName string `json:"failover_group_name,omitempty"` + 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_endpoint.go b/bundle/internal/tf/schema/resource_endpoint.go index b1be5023943..0b010ce55b0 100644 --- a/bundle/internal/tf/schema/resource_endpoint.go +++ b/bundle/internal/tf/schema/resource_endpoint.go @@ -2,12 +2,6 @@ package schema -type ResourceEndpointAwsVpcEndpointInfo struct { - AwsAccountId string `json:"aws_account_id,omitempty"` - AwsEndpointServiceId string `json:"aws_endpoint_service_id,omitempty"` - AwsVpcEndpointId string `json:"aws_vpc_endpoint_id"` -} - type ResourceEndpointAzurePrivateEndpointInfo struct { PrivateEndpointName string `json:"private_endpoint_name"` PrivateEndpointResourceGuid string `json:"private_endpoint_resource_guid"` @@ -15,22 +9,12 @@ type ResourceEndpointAzurePrivateEndpointInfo struct { PrivateLinkServiceId string `json:"private_link_service_id,omitempty"` } -type ResourceEndpointGcpPscEndpointInfo struct { - EndpointRegion string `json:"endpoint_region"` - ProjectId string `json:"project_id"` - PscConnectionId string `json:"psc_connection_id,omitempty"` - PscEndpoint string `json:"psc_endpoint"` - ServiceAttachmentId string `json:"service_attachment_id,omitempty"` -} - type ResourceEndpoint struct { AccountId string `json:"account_id,omitempty"` - AwsVpcEndpointInfo *ResourceEndpointAwsVpcEndpointInfo `json:"aws_vpc_endpoint_info,omitempty"` AzurePrivateEndpointInfo *ResourceEndpointAzurePrivateEndpointInfo `json:"azure_private_endpoint_info,omitempty"` CreateTime string `json:"create_time,omitempty"` DisplayName string `json:"display_name"` EndpointId string `json:"endpoint_id,omitempty"` - GcpPscEndpointInfo *ResourceEndpointGcpPscEndpointInfo `json:"gcp_psc_endpoint_info,omitempty"` Name string `json:"name,omitempty"` Parent string `json:"parent"` Region string `json:"region"` diff --git a/bundle/internal/tf/schema/resource_feature_engineering_feature.go b/bundle/internal/tf/schema/resource_feature_engineering_feature.go index d4d7f63572f..4ff3bf5820c 100644 --- a/bundle/internal/tf/schema/resource_feature_engineering_feature.go +++ b/bundle/internal/tf/schema/resource_feature_engineering_feature.go @@ -29,30 +29,10 @@ type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionFirst struct { Input string `json:"input"` } -type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstDistinct struct { - Input string `json:"input"` - N int `json:"n"` -} - -type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstN struct { - Input string `json:"input"` - N int `json:"n"` -} - type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionLast struct { Input string `json:"input"` } -type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionLastDistinct struct { - Input string `json:"input"` - N int `json:"n"` -} - -type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionLastN struct { - Input string `json:"input"` - N int `json:"n"` -} - type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionMax struct { Input string `json:"input"` } @@ -80,17 +60,12 @@ type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowConti type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` -} - -type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSawtooth struct { - Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbling struct { @@ -100,7 +75,6 @@ type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbl type ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindow struct { Continuous *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowContinuous `json:"continuous,omitempty"` Rolling *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowRolling `json:"rolling,omitempty"` - Sawtooth *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSawtooth `json:"sawtooth,omitempty"` Sliding *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowSliding `json:"sliding,omitempty"` Tumbling *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionTimeWindowTumbling `json:"tumbling,omitempty"` } @@ -119,11 +93,7 @@ type ResourceFeatureEngineeringFeatureFunctionAggregationFunction struct { Avg *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionAvg `json:"avg,omitempty"` CountFunction *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionCountFunction `json:"count_function,omitempty"` First *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionFirst `json:"first,omitempty"` - FirstDistinct *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstDistinct `json:"first_distinct,omitempty"` - FirstN *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionFirstN `json:"first_n,omitempty"` Last *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionLast `json:"last,omitempty"` - LastDistinct *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionLastDistinct `json:"last_distinct,omitempty"` - LastN *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionLastN `json:"last_n,omitempty"` Max *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionMax `json:"max,omitempty"` Min *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionMin `json:"min,omitempty"` StddevPop *ResourceFeatureEngineeringFeatureFunctionAggregationFunctionStddevPop `json:"stddev_pop,omitempty"` @@ -202,10 +172,8 @@ type ResourceFeatureEngineeringFeatureSourceRequestSource struct { } type ResourceFeatureEngineeringFeatureSourceStreamSource struct { - DataframeSchema string `json:"dataframe_schema,omitempty"` - FilterCondition string `json:"filter_condition,omitempty"` - FullName string `json:"full_name"` - TransformationSql string `json:"transformation_sql,omitempty"` + FilterCondition string `json:"filter_condition,omitempty"` + FullName string `json:"full_name"` } type ResourceFeatureEngineeringFeatureSource struct { @@ -222,17 +190,12 @@ type ResourceFeatureEngineeringFeatureTimeWindowContinuous struct { type ResourceFeatureEngineeringFeatureTimeWindowRolling struct { Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` -} - -type ResourceFeatureEngineeringFeatureTimeWindowSawtooth struct { - Delay string `json:"delay,omitempty"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type ResourceFeatureEngineeringFeatureTimeWindowSliding struct { SlideDuration string `json:"slide_duration"` - WindowDuration string `json:"window_duration,omitempty"` + WindowDuration string `json:"window_duration"` } type ResourceFeatureEngineeringFeatureTimeWindowTumbling struct { @@ -242,7 +205,6 @@ type ResourceFeatureEngineeringFeatureTimeWindowTumbling struct { type ResourceFeatureEngineeringFeatureTimeWindow struct { Continuous *ResourceFeatureEngineeringFeatureTimeWindowContinuous `json:"continuous,omitempty"` Rolling *ResourceFeatureEngineeringFeatureTimeWindowRolling `json:"rolling,omitempty"` - Sawtooth *ResourceFeatureEngineeringFeatureTimeWindowSawtooth `json:"sawtooth,omitempty"` Sliding *ResourceFeatureEngineeringFeatureTimeWindowSliding `json:"sliding,omitempty"` Tumbling *ResourceFeatureEngineeringFeatureTimeWindowTumbling `json:"tumbling,omitempty"` } 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 bf5c49c6f17..8b3f526bdae 100644 --- a/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go +++ b/bundle/internal/tf/schema/resource_feature_engineering_kafka_config.go @@ -72,15 +72,8 @@ type ResourceFeatureEngineeringKafkaConfigIngestionConfig struct { IngestionPipelineId string `json:"ingestion_pipeline_id,omitempty"` } -type ResourceFeatureEngineeringKafkaConfigKeySchemaProtoSchema struct { - MessageName string `json:"message_name"` - SchemaText string `json:"schema_text"` -} - type ResourceFeatureEngineeringKafkaConfigKeySchema struct { - AvroSchema string `json:"avro_schema,omitempty"` - JsonSchema string `json:"json_schema,omitempty"` - ProtoSchema *ResourceFeatureEngineeringKafkaConfigKeySchemaProtoSchema `json:"proto_schema,omitempty"` + JsonSchema string `json:"json_schema,omitempty"` } type ResourceFeatureEngineeringKafkaConfigProviderConfig struct { @@ -93,15 +86,8 @@ type ResourceFeatureEngineeringKafkaConfigSubscriptionMode struct { SubscribePattern string `json:"subscribe_pattern,omitempty"` } -type ResourceFeatureEngineeringKafkaConfigValueSchemaProtoSchema struct { - MessageName string `json:"message_name"` - SchemaText string `json:"schema_text"` -} - type ResourceFeatureEngineeringKafkaConfigValueSchema struct { - AvroSchema string `json:"avro_schema,omitempty"` - JsonSchema string `json:"json_schema,omitempty"` - ProtoSchema *ResourceFeatureEngineeringKafkaConfigValueSchemaProtoSchema `json:"proto_schema,omitempty"` + JsonSchema string `json:"json_schema,omitempty"` } type ResourceFeatureEngineeringKafkaConfig 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 2111e47a5c2..4a753ec41ec 100644 --- a/bundle/internal/tf/schema/resource_feature_engineering_materialized_feature.go +++ b/bundle/internal/tf/schema/resource_feature_engineering_materialized_feature.go @@ -24,8 +24,7 @@ type ResourceFeatureEngineeringMaterializedFeatureProviderConfig struct { } type ResourceFeatureEngineeringMaterializedFeatureStreamingMode struct { - FreshnessTarget string `json:"freshness_target,omitempty"` - Mode string `json:"mode,omitempty"` + Mode string `json:"mode,omitempty"` } type ResourceFeatureEngineeringMaterializedFeatureTableTrigger struct{} diff --git a/bundle/internal/tf/schema/resource_job.go b/bundle/internal/tf/schema/resource_job.go index 3a84cf10987..b1627f02b4d 100644 --- a/bundle/internal/tf/schema/resource_job.go +++ b/bundle/internal/tf/schema/resource_job.go @@ -271,7 +271,6 @@ type ResourceJobJobClusterNewCluster struct { ClusterName string `json:"cluster_name,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` @@ -308,9 +307,8 @@ type ResourceJobJobClusterNewCluster struct { } type ResourceJobJobCluster struct { - JobClusterKey string `json:"job_cluster_key"` - ServerlessComputeId string `json:"serverless_compute_id,omitempty"` - NewCluster *ResourceJobJobClusterNewCluster `json:"new_cluster,omitempty"` + JobClusterKey string `json:"job_cluster_key"` + NewCluster *ResourceJobJobClusterNewCluster `json:"new_cluster,omitempty"` } type ResourceJobLibraryCran struct { @@ -533,7 +531,6 @@ type ResourceJobNewCluster struct { ClusterName string `json:"cluster_name,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` @@ -617,17 +614,10 @@ type ResourceJobRunJobTask struct { JobParameters map[string]string `json:"job_parameters,omitempty"` } -type ResourceJobScheduleSqlCondition struct { - SqlQueryId string `json:"sql_query_id"` - TriggerMode string `json:"trigger_mode,omitempty"` - WarehouseId string `json:"warehouse_id"` -} - type ResourceJobSchedule struct { - PauseStatus string `json:"pause_status,omitempty"` - QuartzCronExpression string `json:"quartz_cron_expression"` - TimezoneId string `json:"timezone_id"` - SqlCondition *ResourceJobScheduleSqlCondition `json:"sql_condition,omitempty"` + PauseStatus string `json:"pause_status,omitempty"` + QuartzCronExpression string `json:"quartz_cron_expression"` + TimezoneId string `json:"timezone_id"` } type ResourceJobSparkJarTask struct { @@ -1093,7 +1083,6 @@ type ResourceJobTaskForEachTaskTaskNewCluster struct { ClusterName string `json:"cluster_name,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` @@ -1595,7 +1584,6 @@ type ResourceJobTaskNewCluster struct { ClusterName string `json:"cluster_name,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"` - DependencyMode string `json:"dependency_mode,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` @@ -1863,12 +1851,6 @@ type ResourceJobTriggerPeriodic struct { Unit string `json:"unit"` } -type ResourceJobTriggerSqlCondition struct { - SqlQueryId string `json:"sql_query_id"` - TriggerMode string `json:"trigger_mode,omitempty"` - WarehouseId string `json:"warehouse_id"` -} - type ResourceJobTriggerTableUpdate struct { Condition string `json:"condition,omitempty"` MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"` @@ -1877,12 +1859,11 @@ type ResourceJobTriggerTableUpdate struct { } type ResourceJobTrigger struct { - PauseStatus string `json:"pause_status,omitempty"` - FileArrival *ResourceJobTriggerFileArrival `json:"file_arrival,omitempty"` - Model *ResourceJobTriggerModel `json:"model,omitempty"` - Periodic *ResourceJobTriggerPeriodic `json:"periodic,omitempty"` - SqlCondition *ResourceJobTriggerSqlCondition `json:"sql_condition,omitempty"` - TableUpdate *ResourceJobTriggerTableUpdate `json:"table_update,omitempty"` + PauseStatus string `json:"pause_status,omitempty"` + FileArrival *ResourceJobTriggerFileArrival `json:"file_arrival,omitempty"` + Model *ResourceJobTriggerModel `json:"model,omitempty"` + Periodic *ResourceJobTriggerPeriodic `json:"periodic,omitempty"` + TableUpdate *ResourceJobTriggerTableUpdate `json:"table_update,omitempty"` } type ResourceJobWebhookNotificationsOnDurationWarningThresholdExceeded struct { @@ -1926,7 +1907,6 @@ type ResourceJob struct { MaxRetries int `json:"max_retries,omitempty"` MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"` Name string `json:"name,omitempty"` - ParentPath string `json:"parent_path,omitempty"` PerformanceTarget string `json:"performance_target,omitempty"` RetryOnTimeout bool `json:"retry_on_timeout,omitempty"` Tags map[string]string `json:"tags,omitempty"` diff --git a/bundle/internal/tf/schema/resource_mlflow_experiment.go b/bundle/internal/tf/schema/resource_mlflow_experiment.go index 972496bc15e..26ca94ba632 100644 --- a/bundle/internal/tf/schema/resource_mlflow_experiment.go +++ b/bundle/internal/tf/schema/resource_mlflow_experiment.go @@ -11,17 +11,6 @@ type ResourceMlflowExperimentTags struct { Value string `json:"value,omitempty"` } -type ResourceMlflowExperimentTraceLocationUcTraceLocation struct { - Catalog string `json:"catalog"` - EffectiveTablePrefix string `json:"effective_table_prefix,omitempty"` - Schema string `json:"schema"` - TablePrefix string `json:"table_prefix,omitempty"` -} - -type ResourceMlflowExperimentTraceLocation struct { - UcTraceLocation *ResourceMlflowExperimentTraceLocationUcTraceLocation `json:"uc_trace_location,omitempty"` -} - type ResourceMlflowExperiment struct { ArtifactLocation string `json:"artifact_location,omitempty"` CreationTime int `json:"creation_time,omitempty"` @@ -33,5 +22,4 @@ type ResourceMlflowExperiment struct { Name string `json:"name"` ProviderConfig *ResourceMlflowExperimentProviderConfig `json:"provider_config,omitempty"` Tags []ResourceMlflowExperimentTags `json:"tags,omitempty"` - TraceLocation *ResourceMlflowExperimentTraceLocation `json:"trace_location,omitempty"` } diff --git a/bundle/internal/tf/schema/resource_model_serving.go b/bundle/internal/tf/schema/resource_model_serving.go index 4e892225e6b..3bc6ffebf94 100644 --- a/bundle/internal/tf/schema/resource_model_serving.go +++ b/bundle/internal/tf/schema/resource_model_serving.go @@ -234,17 +234,8 @@ type ResourceModelServingTelemetryConfigInferenceTableConfig struct { SamplingFraction int `json:"sampling_fraction,omitempty"` } -type ResourceModelServingTelemetryConfigTableNames struct { - AnnotationsTable string `json:"annotations_table,omitempty"` - LogsTable string `json:"logs_table,omitempty"` - MetricsTable string `json:"metrics_table,omitempty"` - TracesTable string `json:"traces_table,omitempty"` -} - type ResourceModelServingTelemetryConfig struct { - TelemetryProfileId string `json:"telemetry_profile_id,omitempty"` InferenceTableConfig *ResourceModelServingTelemetryConfigInferenceTableConfig `json:"inference_table_config,omitempty"` - TableNames *ResourceModelServingTelemetryConfigTableNames `json:"table_names,omitempty"` } type ResourceModelServing struct { diff --git a/bundle/internal/tf/schema/resource_pipeline.go b/bundle/internal/tf/schema/resource_pipeline.go index ee4ff04fda0..8d279e91902 100644 --- a/bundle/internal/tf/schema/resource_pipeline.go +++ b/bundle/internal/tf/schema/resource_pipeline.go @@ -213,7 +213,6 @@ type ResourcePipelineIngestionDefinitionObjectsReportTableConfiguration struct { SalesforceIncludeFormulaFields bool `json:"salesforce_include_formula_fields,omitempty"` ScdType string `json:"scd_type,omitempty"` SequenceBy []string `json:"sequence_by,omitempty"` - SourceMetadataColumn string `json:"source_metadata_column,omitempty"` TableProperties map[string]string `json:"table_properties,omitempty"` AutoFullRefreshPolicy *ResourcePipelineIngestionDefinitionObjectsReportTableConfigurationAutoFullRefreshPolicy `json:"auto_full_refresh_policy,omitempty"` QueryBasedConnectorConfig *ResourcePipelineIngestionDefinitionObjectsReportTableConfigurationQueryBasedConnectorConfig `json:"query_based_connector_config,omitempty"` @@ -258,18 +257,10 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGdriveOptio FileIngestionOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGdriveOptionsFileIngestionOptions `json:"file_ingestion_options,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGoogleAdsOptionsCustomReportOptions struct { - Metrics []string `json:"metrics,omitempty"` - Resource string `json:"resource"` - ResourceFields []string `json:"resource_fields,omitempty"` - Segments []string `json:"segments,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGoogleAdsOptions struct { - LookbackWindowDays int `json:"lookback_window_days,omitempty"` - ManagerAccountId string `json:"manager_account_id"` - SyncStartDate string `json:"sync_start_date,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsGoogleAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` + LookbackWindowDays int `json:"lookback_window_days,omitempty"` + ManagerAccountId string `json:"manager_account_id"` + SyncStartDate string `json:"sync_start_date,omitempty"` } type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsJiraOptions struct { @@ -312,25 +303,15 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsKafkaOption ValueTransformer *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsKafkaOptionsValueTransformer `json:"value_transformer,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsMetaAdsOptionsCustomReportOptions 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"` - Level string `json:"level,omitempty"` - TimeIncrement string `json:"time_increment,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"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsMetaAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` + 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 { @@ -346,17 +327,6 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsOutlookOpti SubjectFilter []string `json:"subject_filter,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsRedditAdsOptionsCustomReportOptions struct { - Breakdowns []string `json:"breakdowns,omitempty"` - Fields []string `json:"fields,omitempty"` -} - -type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsRedditAdsOptions struct { - LookbackWindowDays int `json:"lookback_window_days,omitempty"` - SyncStartDate string `json:"sync_start_date,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsRedditAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsSharepointOptionsFileIngestionOptionsFileFilters struct { ModifiedAfter string `json:"modified_after,omitempty"` ModifiedBefore string `json:"modified_before,omitempty"` @@ -387,23 +357,14 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsSmartsheetO EnforceSchema bool `json:"enforce_schema,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsTiktokAdsOptionsCustomReportOptions struct { - DataLevel string `json:"data_level,omitempty"` - Dimensions []string `json:"dimensions,omitempty"` - Metrics []string `json:"metrics,omitempty"` - QueryLifetime bool `json:"query_lifetime,omitempty"` - ReportType string `json:"report_type,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsTiktokAdsOptions struct { - DataLevel string `json:"data_level,omitempty"` - Dimensions []string `json:"dimensions,omitempty"` - LookbackWindowDays int `json:"lookback_window_days,omitempty"` - Metrics []string `json:"metrics,omitempty"` - QueryLifetime bool `json:"query_lifetime,omitempty"` - ReportType string `json:"report_type,omitempty"` - SyncStartDate string `json:"sync_start_date,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsTiktokAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` + DataLevel string `json:"data_level,omitempty"` + Dimensions []string `json:"dimensions,omitempty"` + LookbackWindowDays int `json:"lookback_window_days,omitempty"` + Metrics []string `json:"metrics,omitempty"` + QueryLifetime bool `json:"query_lifetime,omitempty"` + ReportType string `json:"report_type,omitempty"` + SyncStartDate string `json:"sync_start_date,omitempty"` } type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsZendeskSupportOptions struct { @@ -418,31 +379,12 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptions struct { KafkaOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsKafkaOptions `json:"kafka_options,omitempty"` MetaAdsOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsMetaAdsOptions `json:"meta_ads_options,omitempty"` OutlookOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsOutlookOptions `json:"outlook_options,omitempty"` - RedditAdsOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptionsRedditAdsOptions `json:"reddit_ads_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 ResourcePipelineIngestionDefinitionObjectsSchemaFanoutOptionsTransformsJsonOptions struct { - AsVariant bool `json:"as_variant,omitempty"` - Schema string `json:"schema,omitempty"` - SchemaEvolutionMode string `json:"schema_evolution_mode,omitempty"` - SchemaFilePath string `json:"schema_file_path,omitempty"` - SchemaHints string `json:"schema_hints,omitempty"` -} - -type ResourcePipelineIngestionDefinitionObjectsSchemaFanoutOptionsTransforms struct { - Format string `json:"format,omitempty"` - JsonOptions *ResourcePipelineIngestionDefinitionObjectsSchemaFanoutOptionsTransformsJsonOptions `json:"json_options,omitempty"` -} - -type ResourcePipelineIngestionDefinitionObjectsSchemaFanoutOptions struct { - FanoutBy string `json:"fanout_by,omitempty"` - Transforms []ResourcePipelineIngestionDefinitionObjectsSchemaFanoutOptionsTransforms `json:"transforms,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsSchemaTableConfigurationAutoFullRefreshPolicy struct { Enabled bool `json:"enabled"` MinIntervalHours int `json:"min_interval_hours,omitempty"` @@ -475,7 +417,6 @@ type ResourcePipelineIngestionDefinitionObjectsSchemaTableConfiguration struct { SalesforceIncludeFormulaFields bool `json:"salesforce_include_formula_fields,omitempty"` ScdType string `json:"scd_type,omitempty"` SequenceBy []string `json:"sequence_by,omitempty"` - SourceMetadataColumn string `json:"source_metadata_column,omitempty"` TableProperties map[string]string `json:"table_properties,omitempty"` AutoFullRefreshPolicy *ResourcePipelineIngestionDefinitionObjectsSchemaTableConfigurationAutoFullRefreshPolicy `json:"auto_full_refresh_policy,omitempty"` QueryBasedConnectorConfig *ResourcePipelineIngestionDefinitionObjectsSchemaTableConfigurationQueryBasedConnectorConfig `json:"query_based_connector_config,omitempty"` @@ -488,7 +429,6 @@ type ResourcePipelineIngestionDefinitionObjectsSchema struct { SourceCatalog string `json:"source_catalog,omitempty"` SourceSchema string `json:"source_schema"` ConnectorOptions *ResourcePipelineIngestionDefinitionObjectsSchemaConnectorOptions `json:"connector_options,omitempty"` - FanoutOptions *ResourcePipelineIngestionDefinitionObjectsSchemaFanoutOptions `json:"fanout_options,omitempty"` TableConfiguration *ResourcePipelineIngestionDefinitionObjectsSchemaTableConfiguration `json:"table_configuration,omitempty"` } @@ -522,18 +462,10 @@ type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGdriveOption FileIngestionOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGdriveOptionsFileIngestionOptions `json:"file_ingestion_options,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGoogleAdsOptionsCustomReportOptions struct { - Metrics []string `json:"metrics,omitempty"` - Resource string `json:"resource"` - ResourceFields []string `json:"resource_fields,omitempty"` - Segments []string `json:"segments,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGoogleAdsOptions struct { - LookbackWindowDays int `json:"lookback_window_days,omitempty"` - ManagerAccountId string `json:"manager_account_id"` - SyncStartDate string `json:"sync_start_date,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsGoogleAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` + LookbackWindowDays int `json:"lookback_window_days,omitempty"` + ManagerAccountId string `json:"manager_account_id"` + SyncStartDate string `json:"sync_start_date,omitempty"` } type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsJiraOptions struct { @@ -576,25 +508,15 @@ type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsKafkaOptions ValueTransformer *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsKafkaOptionsValueTransformer `json:"value_transformer,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsMetaAdsOptionsCustomReportOptions 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"` - Level string `json:"level,omitempty"` - TimeIncrement string `json:"time_increment,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"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsMetaAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` + 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 { @@ -610,17 +532,6 @@ type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsOutlookOptio SubjectFilter []string `json:"subject_filter,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsRedditAdsOptionsCustomReportOptions struct { - Breakdowns []string `json:"breakdowns,omitempty"` - Fields []string `json:"fields,omitempty"` -} - -type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsRedditAdsOptions struct { - LookbackWindowDays int `json:"lookback_window_days,omitempty"` - SyncStartDate string `json:"sync_start_date,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsRedditAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSharepointOptionsFileIngestionOptionsFileFilters struct { ModifiedAfter string `json:"modified_after,omitempty"` ModifiedBefore string `json:"modified_before,omitempty"` @@ -651,23 +562,14 @@ type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSmartsheetOp EnforceSchema bool `json:"enforce_schema,omitempty"` } -type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsTiktokAdsOptionsCustomReportOptions struct { - DataLevel string `json:"data_level,omitempty"` - Dimensions []string `json:"dimensions,omitempty"` - Metrics []string `json:"metrics,omitempty"` - QueryLifetime bool `json:"query_lifetime,omitempty"` - ReportType string `json:"report_type,omitempty"` -} - type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsTiktokAdsOptions struct { - DataLevel string `json:"data_level,omitempty"` - Dimensions []string `json:"dimensions,omitempty"` - LookbackWindowDays int `json:"lookback_window_days,omitempty"` - Metrics []string `json:"metrics,omitempty"` - QueryLifetime bool `json:"query_lifetime,omitempty"` - ReportType string `json:"report_type,omitempty"` - SyncStartDate string `json:"sync_start_date,omitempty"` - CustomReportOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsTiktokAdsOptionsCustomReportOptions `json:"custom_report_options,omitempty"` + DataLevel string `json:"data_level,omitempty"` + Dimensions []string `json:"dimensions,omitempty"` + LookbackWindowDays int `json:"lookback_window_days,omitempty"` + Metrics []string `json:"metrics,omitempty"` + QueryLifetime bool `json:"query_lifetime,omitempty"` + ReportType string `json:"report_type,omitempty"` + SyncStartDate string `json:"sync_start_date,omitempty"` } type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsZendeskSupportOptions struct { @@ -682,7 +584,6 @@ type ResourcePipelineIngestionDefinitionObjectsTableConnectorOptions struct { KafkaOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsKafkaOptions `json:"kafka_options,omitempty"` MetaAdsOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsMetaAdsOptions `json:"meta_ads_options,omitempty"` OutlookOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsOutlookOptions `json:"outlook_options,omitempty"` - RedditAdsOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsRedditAdsOptions `json:"reddit_ads_options,omitempty"` SharepointOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSharepointOptions `json:"sharepoint_options,omitempty"` SmartsheetOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsSmartsheetOptions `json:"smartsheet_options,omitempty"` TiktokAdsOptions *ResourcePipelineIngestionDefinitionObjectsTableConnectorOptionsTiktokAdsOptions `json:"tiktok_ads_options,omitempty"` @@ -721,7 +622,6 @@ type ResourcePipelineIngestionDefinitionObjectsTableTableConfiguration struct { SalesforceIncludeFormulaFields bool `json:"salesforce_include_formula_fields,omitempty"` ScdType string `json:"scd_type,omitempty"` SequenceBy []string `json:"sequence_by,omitempty"` - SourceMetadataColumn string `json:"source_metadata_column,omitempty"` TableProperties map[string]string `json:"table_properties,omitempty"` AutoFullRefreshPolicy *ResourcePipelineIngestionDefinitionObjectsTableTableConfigurationAutoFullRefreshPolicy `json:"auto_full_refresh_policy,omitempty"` QueryBasedConnectorConfig *ResourcePipelineIngestionDefinitionObjectsTableTableConfigurationQueryBasedConnectorConfig `json:"query_based_connector_config,omitempty"` @@ -800,7 +700,6 @@ type ResourcePipelineIngestionDefinitionTableConfiguration struct { SalesforceIncludeFormulaFields bool `json:"salesforce_include_formula_fields,omitempty"` ScdType string `json:"scd_type,omitempty"` SequenceBy []string `json:"sequence_by,omitempty"` - SourceMetadataColumn string `json:"source_metadata_column,omitempty"` TableProperties map[string]string `json:"table_properties,omitempty"` AutoFullRefreshPolicy *ResourcePipelineIngestionDefinitionTableConfigurationAutoFullRefreshPolicy `json:"auto_full_refresh_policy,omitempty"` QueryBasedConnectorConfig *ResourcePipelineIngestionDefinitionTableConfigurationQueryBasedConnectorConfig `json:"query_based_connector_config,omitempty"` diff --git a/bundle/internal/tf/schema/resource_postgres_database.go b/bundle/internal/tf/schema/resource_postgres_database.go index cfaa32f7d28..f9d1dadb469 100644 --- a/bundle/internal/tf/schema/resource_postgres_database.go +++ b/bundle/internal/tf/schema/resource_postgres_database.go @@ -8,7 +8,7 @@ type ResourcePostgresDatabaseProviderConfig struct { type ResourcePostgresDatabaseSpec struct { PostgresDatabase string `json:"postgres_database,omitempty"` - Role string `json:"role"` + Role string `json:"role,omitempty"` } type ResourcePostgresDatabaseStatus struct { diff --git a/bundle/internal/tf/schema/resource_postgres_endpoint.go b/bundle/internal/tf/schema/resource_postgres_endpoint.go index 485c636d278..af17d5f73bc 100644 --- a/bundle/internal/tf/schema/resource_postgres_endpoint.go +++ b/bundle/internal/tf/schema/resource_postgres_endpoint.go @@ -34,10 +34,8 @@ type ResourcePostgresEndpointStatusGroup struct { } type ResourcePostgresEndpointStatusHosts struct { - Host string `json:"host,omitempty"` - ReadOnlyHost string `json:"read_only_host,omitempty"` - ReadOnlyPooledHost string `json:"read_only_pooled_host,omitempty"` - ReadWritePooledHost string `json:"read_write_pooled_host,omitempty"` + Host string `json:"host,omitempty"` + ReadOnlyHost string `json:"read_only_host,omitempty"` } type ResourcePostgresEndpointStatusSettings struct { @@ -53,7 +51,6 @@ type ResourcePostgresEndpointStatus struct { EndpointType string `json:"endpoint_type,omitempty"` Group *ResourcePostgresEndpointStatusGroup `json:"group,omitempty"` Hosts *ResourcePostgresEndpointStatusHosts `json:"hosts,omitempty"` - LastActiveTime string `json:"last_active_time,omitempty"` PendingState string `json:"pending_state,omitempty"` Settings *ResourcePostgresEndpointStatusSettings `json:"settings,omitempty"` SuspendTimeoutDuration string `json:"suspend_timeout_duration,omitempty"` diff --git a/bundle/internal/tf/schema/resource_postgres_synced_table.go b/bundle/internal/tf/schema/resource_postgres_synced_table.go index 958684a9129..7d55d52de52 100644 --- a/bundle/internal/tf/schema/resource_postgres_synced_table.go +++ b/bundle/internal/tf/schema/resource_postgres_synced_table.go @@ -6,13 +6,6 @@ type ResourcePostgresSyncedTableProviderConfig struct { WorkspaceId string `json:"workspace_id,omitempty"` } -type ResourcePostgresSyncedTableSpecExtraColumns struct { - ColumnName string `json:"column_name"` - ColumnType string `json:"column_type"` - Compute string `json:"compute,omitempty"` - Maintenance string `json:"maintenance,omitempty"` -} - type ResourcePostgresSyncedTableSpecNewPipelineSpec struct { BudgetPolicyId string `json:"budget_policy_id,omitempty"` StorageCatalog string `json:"storage_catalog,omitempty"` @@ -30,7 +23,6 @@ type ResourcePostgresSyncedTableSpec struct { Branch string `json:"branch,omitempty"` CreateDatabaseObjectsIfMissing bool `json:"create_database_objects_if_missing,omitempty"` ExistingPipelineId string `json:"existing_pipeline_id,omitempty"` - ExtraColumns []ResourcePostgresSyncedTableSpecExtraColumns `json:"extra_columns,omitempty"` NewPipelineSpec *ResourcePostgresSyncedTableSpecNewPipelineSpec `json:"new_pipeline_spec,omitempty"` PostgresDatabase string `json:"postgres_database,omitempty"` PrimaryKeyColumns []string `json:"primary_key_columns,omitempty"` diff --git a/bundle/internal/tf/schema/resource_secret_uc.go b/bundle/internal/tf/schema/resource_secret_uc.go index a26feafc7ee..84e199be6f2 100644 --- a/bundle/internal/tf/schema/resource_secret_uc.go +++ b/bundle/internal/tf/schema/resource_secret_uc.go @@ -7,20 +7,22 @@ type ResourceSecretUcProviderConfig struct { } type ResourceSecretUc struct { - 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"` - 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"` + 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/resources.go b/bundle/internal/tf/schema/resources.go index 4588598b0f9..ed3f5ad9c5e 100644 --- a/bundle/internal/tf/schema/resources.go +++ b/bundle/internal/tf/schema/resources.go @@ -8,9 +8,6 @@ type Resources struct { AccountNetworkPolicy map[string]any `json:"databricks_account_network_policy,omitempty"` AccountSettingUserPreferenceV2 map[string]any `json:"databricks_account_setting_user_preference_v2,omitempty"` AccountSettingV2 map[string]any `json:"databricks_account_setting_v2,omitempty"` - AiGatewayMcpService map[string]any `json:"databricks_ai_gateway_mcp_service,omitempty"` - AiGatewayModelProviderService map[string]any `json:"databricks_ai_gateway_model_provider_service,omitempty"` - AiGatewayModelService map[string]any `json:"databricks_ai_gateway_model_service,omitempty"` AiSearchEndpoint map[string]any `json:"databricks_ai_search_endpoint,omitempty"` AiSearchIndex map[string]any `json:"databricks_ai_search_index,omitempty"` AibiDashboardEmbeddingAccessPolicySetting map[string]any `json:"databricks_aibi_dashboard_embedding_access_policy_setting,omitempty"` @@ -112,7 +109,6 @@ type Resources struct { PolicyInfo map[string]any `json:"databricks_policy_info,omitempty"` PostgresBranch map[string]any `json:"databricks_postgres_branch,omitempty"` PostgresCatalog map[string]any `json:"databricks_postgres_catalog,omitempty"` - PostgresCdfConfig map[string]any `json:"databricks_postgres_cdf_config,omitempty"` PostgresDataApi map[string]any `json:"databricks_postgres_data_api,omitempty"` PostgresDatabase map[string]any `json:"databricks_postgres_database,omitempty"` PostgresEndpoint map[string]any `json:"databricks_postgres_endpoint,omitempty"` @@ -176,9 +172,6 @@ func NewResources() *Resources { AccountNetworkPolicy: make(map[string]any), AccountSettingUserPreferenceV2: make(map[string]any), AccountSettingV2: make(map[string]any), - AiGatewayMcpService: make(map[string]any), - AiGatewayModelProviderService: make(map[string]any), - AiGatewayModelService: make(map[string]any), AiSearchEndpoint: make(map[string]any), AiSearchIndex: make(map[string]any), AibiDashboardEmbeddingAccessPolicySetting: make(map[string]any), @@ -280,7 +273,6 @@ func NewResources() *Resources { PolicyInfo: make(map[string]any), PostgresBranch: make(map[string]any), PostgresCatalog: make(map[string]any), - PostgresCdfConfig: make(map[string]any), PostgresDataApi: make(map[string]any), PostgresDatabase: make(map[string]any), PostgresEndpoint: make(map[string]any), diff --git a/bundle/internal/tf/schema/root.go b/bundle/internal/tf/schema/root.go index b20714b97af..26c72930e4d 100644 --- a/bundle/internal/tf/schema/root.go +++ b/bundle/internal/tf/schema/root.go @@ -22,9 +22,9 @@ type Root struct { const ( ProviderHost = "registry.terraform.io" ProviderSource = "databricks/databricks" - ProviderVersion = "1.124.0" - ProviderChecksumLinuxAmd64 = "3906550da66adc334c8eca6a5c2a06590a2359fa0ca89e7db16c36fd3467ebab" - ProviderChecksumLinuxArm64 = "947ee85262993412855ea0d0b7d4a11b06dc1e0e64e1f9bb51dcc93f43479919" + ProviderVersion = "1.125.0" + ProviderChecksumLinuxAmd64 = "00ff9f7bc1aafd50ea385f6c1ebdfc711f0f9b8f9861cd6ba118578c58deafb8" + ProviderChecksumLinuxArm64 = "19754134f13531ab69dad72e43979ee194a38a7972ba7e20f8be21b679e2182c" ) func NewRoot() *Root { diff --git a/bundle/terraform_dabs_map/generated.go b/bundle/terraform_dabs_map/generated.go index 8d202a26839..84fed76d30c 100644 --- a/bundle/terraform_dabs_map/generated.go +++ b/bundle/terraform_dabs_map/generated.go @@ -2,21 +2,24 @@ package terraform_dabs_map -// alerts / databricks_alert_v2: 1 dabs-only +// alerts / databricks_alert_v2: 5 dabs-only // alerts / databricks_alert_v2: 3 tf-only // apps / databricks_app: 16 dabs-only // apps / databricks_app: 1 tf-only -// clusters / databricks_cluster: 26 tf-only +// clusters / databricks_cluster: 1 dabs-only +// clusters / databricks_cluster: 25 tf-only // dashboards / databricks_dashboard: 2 tf-only // database_instances / databricks_database_instance: 1 tf-only +// experiments / databricks_mlflow_experiment: 6 dabs-only // experiments / databricks_mlflow_experiment: 1 tf-only // jobs / databricks_job: 11 renames -// jobs / databricks_job: 7 dabs-only -// jobs / databricks_job: 259 tf-only +// jobs / databricks_job: 20 dabs-only +// jobs / databricks_job: 258 tf-only +// model_serving_endpoints / databricks_model_serving: 6 dabs-only // model_serving_endpoints / databricks_model_serving: 2 tf-only // models / databricks_mlflow_model: 1 renames // pipelines / databricks_pipeline: 3 renames -// pipelines / databricks_pipeline: 6 dabs-only +// pipelines / databricks_pipeline: 68 dabs-only // pipelines / databricks_pipeline: 2 tf-only // postgres_branches / databricks_postgres_branch: 1 unwraps // postgres_catalogs / databricks_postgres_catalog: 1 unwraps @@ -25,6 +28,7 @@ package terraform_dabs_map // postgres_projects / databricks_postgres_project: 2 tf-only // postgres_projects / databricks_postgres_project: 1 unwraps // postgres_roles / databricks_postgres_role: 1 unwraps +// postgres_synced_tables / databricks_postgres_synced_table: 5 dabs-only // postgres_synced_tables / databricks_postgres_synced_table: 1 unwraps // schemas / databricks_schema: 1 dabs-only // schemas / databricks_schema: 1 tf-only @@ -89,6 +93,11 @@ var TerraformToDABsFieldMap = map[string]RenameTree{ var DABsOnlyFields = map[string]FieldSet{ "alerts": { "file_path": {}, + "parameters": { + "name": {}, // alerts.*.parameters.name + "type": {}, // alerts.*.parameters.type + "value": {}, // alerts.*.parameters.value + }, }, "apps": { "config": { @@ -112,10 +121,33 @@ var DABsOnlyFields = map[string]FieldSet{ }, "source_code_path": {}, }, + "clusters": { + "dependency_mode": {}, + }, + "experiments": { + "trace_location": { + "uc_trace_location": { + "catalog": {}, // experiments.*.trace_location.uc_trace_location.catalog + "effective_table_prefix": {}, // experiments.*.trace_location.uc_trace_location.effective_table_prefix + "schema": {}, // experiments.*.trace_location.uc_trace_location.schema + "table_prefix": {}, // experiments.*.trace_location.uc_trace_location.table_prefix + }, + }, + }, "jobs": { "job_clusters": { "new_cluster": { "autotermination_minutes": {}, // jobs.*.job_clusters.new_cluster.autotermination_minutes + "dependency_mode": {}, // jobs.*.job_clusters.new_cluster.dependency_mode + }, + "serverless_compute_id": {}, // jobs.*.job_clusters.serverless_compute_id + }, + "parent_path": {}, + "schedule": { + "sql_condition": { + "sql_query_id": {}, // jobs.*.schedule.sql_condition.sql_query_id + "trigger_mode": {}, // jobs.*.schedule.sql_condition.trigger_mode + "warehouse_id": {}, // jobs.*.schedule.sql_condition.warehouse_id }, }, "tasks": { @@ -128,14 +160,34 @@ var DABsOnlyFields = map[string]FieldSet{ }, "new_cluster": { "autotermination_minutes": {}, // jobs.*.tasks.for_each_task.task.new_cluster.autotermination_minutes + "dependency_mode": {}, // jobs.*.tasks.for_each_task.task.new_cluster.dependency_mode }, }, }, "new_cluster": { "autotermination_minutes": {}, // jobs.*.tasks.new_cluster.autotermination_minutes + "dependency_mode": {}, // jobs.*.tasks.new_cluster.dependency_mode + }, + }, + "trigger": { + "sql_condition": { + "sql_query_id": {}, // jobs.*.trigger.sql_condition.sql_query_id + "trigger_mode": {}, // jobs.*.trigger.sql_condition.trigger_mode + "warehouse_id": {}, // jobs.*.trigger.sql_condition.warehouse_id }, }, }, + "model_serving_endpoints": { + "telemetry_config": { + "table_names": { + "annotations_table": {}, // model_serving_endpoints.*.telemetry_config.table_names.annotations_table + "logs_table": {}, // model_serving_endpoints.*.telemetry_config.table_names.logs_table + "metrics_table": {}, // model_serving_endpoints.*.telemetry_config.table_names.metrics_table + "traces_table": {}, // model_serving_endpoints.*.telemetry_config.table_names.traces_table + }, + "telemetry_profile_id": {}, // model_serving_endpoints.*.telemetry_config.telemetry_profile_id + }, + }, "pipelines": { "cascade_on_destroy": {}, "clusters": { @@ -145,10 +197,127 @@ var DABsOnlyFields = map[string]FieldSet{ }, }, "dry_run": {}, + "ingestion_definition": { + "objects": { + "report": { + "table_configuration": { + "source_metadata_column": {}, // pipelines.*.ingestion_definition.objects.report.table_configuration.source_metadata_column + }, + }, + "schema": { + "connector_options": { + "google_ads_options": { + "custom_report_options": { + "metrics": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.google_ads_options.custom_report_options.metrics + "resource": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.google_ads_options.custom_report_options.resource + "resource_fields": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.google_ads_options.custom_report_options.resource_fields + "segments": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.google_ads_options.custom_report_options.segments + }, + }, + "meta_ads_options": { + "custom_report_options": { + "action_attribution_windows": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.meta_ads_options.custom_report_options.action_attribution_windows + "action_breakdowns": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.meta_ads_options.custom_report_options.action_breakdowns + "action_report_time": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.meta_ads_options.custom_report_options.action_report_time + "breakdowns": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.meta_ads_options.custom_report_options.breakdowns + "level": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.meta_ads_options.custom_report_options.level + "time_increment": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.meta_ads_options.custom_report_options.time_increment + }, + }, + "reddit_ads_options": { + "custom_report_options": { + "breakdowns": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.reddit_ads_options.custom_report_options.breakdowns + "fields": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.reddit_ads_options.custom_report_options.fields + }, + "lookback_window_days": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.reddit_ads_options.lookback_window_days + "sync_start_date": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.reddit_ads_options.sync_start_date + }, + "tiktok_ads_options": { + "custom_report_options": { + "data_level": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.tiktok_ads_options.custom_report_options.data_level + "dimensions": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.tiktok_ads_options.custom_report_options.dimensions + "metrics": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.tiktok_ads_options.custom_report_options.metrics + "query_lifetime": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.tiktok_ads_options.custom_report_options.query_lifetime + "report_type": {}, // pipelines.*.ingestion_definition.objects.schema.connector_options.tiktok_ads_options.custom_report_options.report_type + }, + }, + }, + "fanout_options": { + "fanout_by": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.fanout_by + "transforms": { + "format": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.transforms.format + "json_options": { + "as_variant": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.as_variant + "schema": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.schema + "schema_evolution_mode": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.schema_evolution_mode + "schema_file_path": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.schema_file_path + "schema_hints": {}, // pipelines.*.ingestion_definition.objects.schema.fanout_options.transforms.json_options.schema_hints + }, + }, + }, + "table_configuration": { + "source_metadata_column": {}, // pipelines.*.ingestion_definition.objects.schema.table_configuration.source_metadata_column + }, + }, + "table": { + "connector_options": { + "google_ads_options": { + "custom_report_options": { + "metrics": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.google_ads_options.custom_report_options.metrics + "resource": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.google_ads_options.custom_report_options.resource + "resource_fields": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.google_ads_options.custom_report_options.resource_fields + "segments": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.google_ads_options.custom_report_options.segments + }, + }, + "meta_ads_options": { + "custom_report_options": { + "action_attribution_windows": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.meta_ads_options.custom_report_options.action_attribution_windows + "action_breakdowns": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.meta_ads_options.custom_report_options.action_breakdowns + "action_report_time": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.meta_ads_options.custom_report_options.action_report_time + "breakdowns": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.meta_ads_options.custom_report_options.breakdowns + "level": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.meta_ads_options.custom_report_options.level + "time_increment": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.meta_ads_options.custom_report_options.time_increment + }, + }, + "reddit_ads_options": { + "custom_report_options": { + "breakdowns": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.reddit_ads_options.custom_report_options.breakdowns + "fields": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.reddit_ads_options.custom_report_options.fields + }, + "lookback_window_days": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.reddit_ads_options.lookback_window_days + "sync_start_date": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.reddit_ads_options.sync_start_date + }, + "tiktok_ads_options": { + "custom_report_options": { + "data_level": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.tiktok_ads_options.custom_report_options.data_level + "dimensions": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.tiktok_ads_options.custom_report_options.dimensions + "metrics": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.tiktok_ads_options.custom_report_options.metrics + "query_lifetime": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.tiktok_ads_options.custom_report_options.query_lifetime + "report_type": {}, // pipelines.*.ingestion_definition.objects.table.connector_options.tiktok_ads_options.custom_report_options.report_type + }, + }, + }, + "table_configuration": { + "source_metadata_column": {}, // pipelines.*.ingestion_definition.objects.table.table_configuration.source_metadata_column + }, + }, + }, + "table_configuration": { + "source_metadata_column": {}, // pipelines.*.ingestion_definition.table_configuration.source_metadata_column + }, + }, "parameters": { "*": {}, // pipelines.*.parameters.* }, }, + "postgres_synced_tables": { + "extra_columns": { + "column_name": {}, // postgres_synced_tables.*.extra_columns.column_name + "column_type": {}, // postgres_synced_tables.*.extra_columns.column_type + "compute": {}, // postgres_synced_tables.*.extra_columns.compute + "maintenance": {}, // postgres_synced_tables.*.extra_columns.maintenance + }, + }, "schemas": { "custom_max_retention_hours": {}, }, @@ -169,7 +338,6 @@ var TerraformOnlyFields = map[string]FieldSet{ "no_compute": {}, }, "clusters": { - "clear_cloud_attributes_on_remove": {}, "cluster_mount_info": { "local_mount_dir_path": {}, // databricks_cluster.*.cluster_mount_info.local_mount_dir_path "network_filesystem_info": { @@ -339,7 +507,6 @@ var TerraformOnlyFields = map[string]FieldSet{ "*": {}, // databricks_job.*.new_cluster.custom_tags.* }, "data_security_mode": {}, // databricks_job.*.new_cluster.data_security_mode - "dependency_mode": {}, // databricks_job.*.new_cluster.dependency_mode "docker_image": { "basic_auth": { "password": {}, // databricks_job.*.new_cluster.docker_image.basic_auth.password @@ -678,7 +845,6 @@ var DABsToTerraformWrapperFields = map[string]FieldSet{ "branch": {}, "create_database_objects_if_missing": {}, "existing_pipeline_id": {}, - "extra_columns": {}, "new_pipeline_spec": {}, "postgres_database": {}, "primary_key_columns": {}, From 2d1b851910126a8e312ef81c3a3b8ada18fa45b3 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Tue, 11 Aug 2026 21:46:17 +0000 Subject: [PATCH 2/3] Bump databricks-sdk-go from v0.166.0 to v0.169.0 ## Changes Bump `github.com/databricks/databricks-sdk-go` from v0.166.0 to v0.169.0. - `secrets-uc` graduated out of Public Preview (help text and bundle schema). - Pipeline ingestion fanout options promoted from Private Preview to Beta. - New output-only `resources.jobs.*.trigger_state.pause_status` field. The SDK's breaking removals (iamv2 `InternalId`, catalog provider credential fields) and the `bundledeployments` `State` type changes are not referenced by the CLI, so no code changes were required. ## Tests Acceptance goldens regenerated via `./task test-update`. Co-authored-by: Isaac --- .codegen/_openapi_sha | 2 +- .codegen/cli.json | 457 +++++++++++------- .../dependency-updates/bump-sdk-0.169.0.md | 1 + acceptance/bundle/refschema/out.fields.txt | 1 + acceptance/help/output.txt | 2 +- bundle/schema/jsonschema.json | 32 +- cmd/account/iam-v2/iam-v2.go | 41 +- cmd/account/users-v2/users-v2.go | 7 +- cmd/workspace/jobs/jobs.go | 3 +- cmd/workspace/secrets-uc/secrets-uc.go | 60 +-- cmd/workspace/users-v2/users-v2.go | 7 +- .../workspace-iam-v2/workspace-iam-v2.go | 50 +- go.mod | 2 +- go.sum | 4 +- ...tion_pipeline_definition_fanout_options.py | 18 +- .../bundles/pipelines/_models/schema_spec.py | 8 +- 16 files changed, 383 insertions(+), 312 deletions(-) create mode 100644 .nextchanges/dependency-updates/bump-sdk-0.169.0.md diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index 1ecda6222ef..d8ba1180373 100644 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -fc2245ecebf2878cd80f078ad060b6838283dfac \ No newline at end of file +e62e36c7dd18a5b4988253c58fb0b245f7764939 \ No newline at end of file diff --git a/.codegen/cli.json b/.codegen/cli.json index c5b5ec7d96e..7f96d162774 100644 --- a/.codegen/cli.json +++ b/.codegen/cli.json @@ -4469,7 +4469,7 @@ ] }, "state": { - "description": "Serialized local config state after the operation. Should be unset for\ndelete operations. Mutable: may be updated after creation via\nUpdateOperation. When updating, the caller must echo the last-observed\n`sequence_id` as a concurrency precondition.", + "description": "Serialized local config state after the operation. Should be unset for\ndelete operations. Mutable: may be updated after creation via\nUpdateOperation. When updating, the caller must echo the last-observed\n`sequence_id` as a concurrency precondition.\n\nOpaque to this service: the string is stored and returned unchanged. This is\ndeliberately not google.protobuf.Value, whose only numeric case is\n`double number_value`, so parsing the client's JSON into it rewrites every\ninteger as a double - `1` reads back as `1.0`, which no longer deserializes\ninto an integer field - and silently loses precision above 2^53, which is\nwithin range for IDs the client records.\n\nA string rather than bytes: the payload is always UTF-8 JSON, and proto3 JSON\nmaps bytes to base64, which inflates every request and response by a third\nand makes state unreadable in logs and API responses. Both generate the same\nOpenAPI schema (\"type\": \"string\"), so the SDKs are identical either way.", "launch_stage": "PRIVATE_PREVIEW", "behaviors": [ "OPTIONAL" @@ -4581,7 +4581,7 @@ ] }, "state": { - "description": "Serialized local config state (what the CLI deployed).", + "description": "Serialized local config state (what the CLI deployed). Opaque to this\nservice; see Operation.state for why this is a string and not\ngoogle.protobuf.Value.", "launch_stage": "PRIVATE_PREVIEW", "behaviors": [ "OPTIONAL" @@ -6518,7 +6518,7 @@ "secret": { "description": "The secret object to create. The **name**, **catalog_name**, **schema_name**, and **value**\nfields are required.", "ref": "catalog.Secret", - "launch_stage": "PUBLIC_PREVIEW" + "launch_stage": "GA" } } }, @@ -8958,7 +8958,7 @@ ] }, "page_size": { - "description": "Maximum number of MCP services to return. Defaults to 100 when unset or 0;\nthe maximum is 1000. Use `next_page_token` to retrieve additional pages.", + "description": "Maximum number of MCP services to return. Defaults to 100 when unset or 0;\nthe maximum is 100. Use `next_page_token` to retrieve additional pages.", "launch_stage": "PUBLIC_BETA", "behaviors": [ "OPTIONAL" @@ -9046,7 +9046,7 @@ ] }, "page_size": { - "description": "Maximum number of provider services to return. Defaults to 100 when unset or\n0; the maximum is 1000. Use `next_page_token` to retrieve additional pages.", + "description": "Maximum number of provider services to return. Defaults to 100 when unset or\n0; the maximum is 100. Use `next_page_token` to retrieve additional pages.", "launch_stage": "PUBLIC_BETA", "behaviors": [ "OPTIONAL" @@ -9110,7 +9110,7 @@ ] }, "page_size": { - "description": "Maximum number of model services to return. Defaults to 100 when unset or 0;\nthe maximum is 1000. Use `next_page_token` to retrieve additional pages.", + "description": "Maximum number of model services to return. Defaults to 100 when unset or 0;\nthe maximum is 100. Use `next_page_token` to retrieve additional pages.", "launch_stage": "PUBLIC_BETA", "behaviors": [ "OPTIONAL" @@ -9366,28 +9366,28 @@ "fields": { "catalog_name": { "description": "The name of the catalog under which to list secrets. Both **catalog_name** and\n**schema_name** must be specified together.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_size": { "description": "Maximum number of secrets to return.\n\n- If not specified, at most 1000 secrets are returned.\n- If set to a value greater than 0, the page length is the minimum of this value and 1000.\n- If set to 0, the page length is set to 1000.\n- If set to a value less than 0, an invalid parameter error is returned.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "page_token": { "description": "Opaque pagination token to go to the next page based on previous query. The maximum page length\nis determined by a server configured value.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "schema_name": { "description": "The name of the schema under which to list secrets. Both **catalog_name** and\n**schema_name** must be specified together.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] @@ -9399,14 +9399,14 @@ "fields": { "next_page_token": { "description": "Opaque token to retrieve the next page of results. Absent if there are no more pages.\n**page_token** should be set to this value for the next request.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "secrets": { "description": "An array of secret objects.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] @@ -10060,18 +10060,11 @@ } }, "catalog.ModelProviderServiceConfigAmazonBedrockProviderDirectConfig": { - "description": "Direct form of Amazon Bedrock provider config.\n\nAuthentication is one of two mutually exclusive modes, exactly one of which\nmust be supplied on Create:\n- Access keys: set both `aws_access_key_id` and `aws_secret_access_key`,\nleave `service_credential` unset.\n- UC service credential: set `service_credential.name` to the AIP-122\nresource-name form `credentials/{name}`, leave both access-key fields\nunset. The credential value lives in UC and is referenced by name, not\nheld on this message.\nSetting `service_credential` alongside either access-key field is\nrejected by service-side validation on Create; the proto itself allows any\ncombination on the wire.", + "description": "Direct form of Amazon Bedrock provider config.\n\nAuthentication is one of two mutually exclusive modes, exactly one of which\nmust be supplied on Create:\n- Access keys: set `aws_access_key`, leave `service_credential` unset.\n- UC service credential: set `service_credential.name` to the AIP-122\nresource-name form `credentials/{name}`, leave `aws_access_key` unset. The\ncredential value lives in UC and is referenced by name, not held on this\nmessage.\nSetting more than one mode is rejected.", "fields": { - "aws_access_key_id": { - "description": "AWS access key ID for Bedrock authentication. Required on Create when using\naccess-key auth; must be paired with `aws_secret_access_key` and is\nmutually exclusive with `service_credential`. Treated as\nusername-equivalent (not a secret value): round-trips on reads and is\nscrubbed from audit logs.", - "launch_stage": "PUBLIC_BETA", - "behaviors": [ - "OPTIONAL" - ] - }, - "aws_secret_access_key": { - "description": "AWS secret access key paired with `aws_access_key_id`. Required on Create\nwhen using access-key auth; mutually exclusive with `service_credential`.\nSupplied as inline plaintext via `ProviderSecret.plaintext`.", - "ref": "catalog.ModelProviderServiceConfigProviderSecret", + "aws_access_key": { + "description": "AWS access-key-pair auth. Mutually exclusive with `service_credential`.\nSupersedes the flat `aws_access_key_id` / `aws_secret_access_key` fields.", + "ref": "catalog.ModelProviderServiceConfigAwsAccessKey", "launch_stage": "PUBLIC_BETA", "behaviors": [ "OPTIONAL" @@ -10085,7 +10078,7 @@ ] }, "service_credential": { - "description": "Reference to a UC service credential authorizing Bedrock requests. On\nCreate the caller supplies `service_credential.name` in the AIP-122\nresource-name form `credentials/{name}`. Required on Create when using\nUC-service-credential auth; mutually exclusive with the aws_access_key_id\n+ aws_secret_access_key pair. The credential is referenced by name; its\nvalue is not carried here. On read the resolved `id` and `is_deleted` are\nalso populated. Only supported on AWS-hosted workspaces; Create requests\nfrom other clouds are rejected with INVALID_PARAMETER_VALUE.", + "description": "Reference to a UC service credential authorizing Bedrock requests. On\nCreate the caller supplies `service_credential.name` in the AIP-122\nresource-name form `credentials/{name}`. Required on Create when using\nUC-service-credential auth; mutually exclusive with `aws_access_key`. The\ncredential is referenced by name; its value is not carried here. On read the\nresolved `id` and `is_deleted` are also populated. Only supported on AWS-hosted\nworkspaces; Create requests from other clouds are rejected with\nINVALID_PARAMETER_VALUE.", "ref": "catalog.ModelProviderServiceConfigServiceCredential", "launch_stage": "PUBLIC_BETA", "behaviors": [ @@ -10153,6 +10146,26 @@ "ANTHROPIC_RELAYED_PLAN_TYPE_TEAM_ENTERPRISE": "PUBLIC_BETA" } }, + "catalog.ModelProviderServiceConfigAwsAccessKey": { + "description": "AWS access-key-pair auth for Amazon Bedrock: a SigV4-signing key pair.", + "fields": { + "access_key_id": { + "description": "AWS access key ID. Required on Create when using access-key auth. Treated as\nusername-equivalent (not a secret value): round-trips on reads and is\nscrubbed from audit logs.", + "launch_stage": "PUBLIC_BETA", + "behaviors": [ + "OPTIONAL" + ] + }, + "secret_access_key": { + "description": "AWS secret access key paired with `access_key_id`. Required on Create when\nusing access-key auth. Supplied as inline plaintext via\n`ProviderSecret.plaintext`.", + "ref": "catalog.ModelProviderServiceConfigProviderSecret", + "launch_stage": "PUBLIC_BETA", + "behaviors": [ + "OPTIONAL" + ] + } + } + }, "catalog.ModelProviderServiceConfigAzureOpenAiProviderConfig": { "description": "Azure OpenAI provider configuration.", "fields": { @@ -10166,10 +10179,10 @@ } }, "catalog.ModelProviderServiceConfigAzureOpenAiProviderDirectConfig": { - "description": "Direct form of Azure OpenAI provider config. Exactly one of three\nmutually-exclusive auth modes must be supplied on Create:\n- API key: set `api_key`, leave the Entra fields and `service_credential`\nunset.\n- Entra ID (service principal): set all of `tenant_id`, `client_id`, and\n`client_secret`, leave `api_key` and `service_credential` unset.\n- UC service credential: set `service_credential.name` to the AIP-122\nresource-name form `credentials/{name}`, leave `api_key` and all Entra\nfields unset. The credential value lives in UC and is referenced by name,\nnot held on this message. Only supported on Azure-hosted workspaces.\nSetting more than one mode, or an incomplete Entra triple, is rejected.", + "description": "Direct form of Azure OpenAI provider config. Exactly one of three\nmutually-exclusive auth modes must be supplied on Create:\n- API key: set `api_key`, leave `entra_service_principal` and\n`service_credential` unset.\n- Entra ID (service principal): set `entra_service_principal`, leave\n`api_key` and `service_credential` unset.\n- UC service credential: set `service_credential.name` to the AIP-122\nresource-name form `credentials/{name}`, leave `api_key` and\n`entra_service_principal` unset. The credential value lives in UC and is\nreferenced by name, not held on this message. Only supported on\nAzure-hosted workspaces.\nSetting more than one mode is rejected.", "fields": { "api_key": { - "description": "Azure OpenAI API key. Mutually exclusive with the Entra fields. Supplied as\ninline plaintext via `ProviderSecret.plaintext`.", + "description": "Azure OpenAI API key. Mutually exclusive with the Entra and\nservice-credential modes. Supplied as inline plaintext via\n`ProviderSecret.plaintext`.", "ref": "catalog.ModelProviderServiceConfigProviderSecret", "launch_stage": "PUBLIC_BETA", "behaviors": [ @@ -10183,35 +10196,21 @@ "OPTIONAL" ] }, - "client_id": { - "description": "Entra ID client (application) ID for service-principal auth. Set together\nwith `tenant_id` and `client_secret`; mutually exclusive with `api_key`\nand `service_credential`.", - "launch_stage": "PUBLIC_BETA", - "behaviors": [ - "OPTIONAL" - ] - }, - "client_secret": { - "description": "Entra ID client secret for service-principal auth. Set together with\n`tenant_id` and `client_id`; mutually exclusive with `api_key` and\n`service_credential`. Supplied as\ninline plaintext via `ProviderSecret.plaintext`.", - "ref": "catalog.ModelProviderServiceConfigProviderSecret", + "entra_service_principal": { + "description": "Entra ID (service principal) auth. Mutually exclusive with `api_key` and\n`service_credential`. Supersedes the flat `tenant_id` / `client_id` /\n`client_secret` fields.", + "ref": "catalog.ModelProviderServiceConfigEntraServicePrincipal", "launch_stage": "PUBLIC_BETA", "behaviors": [ "OPTIONAL" ] }, "service_credential": { - "description": "Reference to a UC service credential authorizing Azure OpenAI requests. On\nCreate the caller supplies `service_credential.name` in the AIP-122\nresource-name form `credentials/{name}`. Required on Create when using\nUC-service-credential auth; mutually exclusive with `api_key` and with the\nEntra triple (tenant_id + client_id + client_secret). The credential is\nreferenced by name; its value is not carried here. On read the resolved `id`\nand `is_deleted` are also populated. Only supported on Azure-hosted\nworkspaces; Create requests from other clouds are rejected with\nINVALID_PARAMETER_VALUE.", + "description": "Reference to a UC service credential authorizing Azure OpenAI requests. On\nCreate the caller supplies `service_credential.name` in the AIP-122\nresource-name form `credentials/{name}`. Required on Create when using\nUC-service-credential auth; mutually exclusive with `api_key` and\n`entra_service_principal`. The credential is\nreferenced by name; its value is not carried here. On read the resolved `id`\nand `is_deleted` are also populated. Only supported on Azure-hosted\nworkspaces; Create requests from other clouds are rejected with\nINVALID_PARAMETER_VALUE.", "ref": "catalog.ModelProviderServiceConfigServiceCredential", "launch_stage": "PUBLIC_BETA", "behaviors": [ "OPTIONAL" ] - }, - "tenant_id": { - "description": "Entra ID (Azure AD) tenant ID for service-principal auth. Set together with\n`client_id` and `client_secret`; mutually exclusive with `api_key` and\n`service_credential`.", - "launch_stage": "PUBLIC_BETA", - "behaviors": [ - "OPTIONAL" - ] } } }, @@ -10247,6 +10246,33 @@ } } }, + "catalog.ModelProviderServiceConfigEntraServicePrincipal": { + "description": "Entra ID (Azure AD) service-principal auth: AI Gateway exchanges the\n`tenant_id` + `client_id` identify the service principal, and the `credential`\noneof proves that identity, exchanged for an Entra bearer token on outbound\nrequests via the OAuth2 client-credentials grant. Shared by the Azure OpenAI\nand Microsoft Foundry provider configs.", + "fields": { + "client_id": { + "description": "Entra ID client (application) ID. Required on Create.", + "launch_stage": "PUBLIC_BETA", + "behaviors": [ + "OPTIONAL" + ] + }, + "client_secret": { + "description": "Entra ID client secret. Supplied as inline plaintext via\n`ProviderSecret.plaintext`.", + "ref": "catalog.ModelProviderServiceConfigProviderSecret", + "launch_stage": "PUBLIC_BETA", + "behaviors": [ + "OPTIONAL" + ] + }, + "tenant_id": { + "description": "Entra ID (Azure AD) tenant ID. Required on Create.", + "launch_stage": "PUBLIC_BETA", + "behaviors": [ + "OPTIONAL" + ] + } + } + }, "catalog.ModelProviderServiceConfigExternalModelProviderType": { "description": "External LLM provider for an EXTERNAL_FOUNDATION_MODEL destination.", "enum": [ @@ -10281,10 +10307,10 @@ } }, "catalog.ModelProviderServiceConfigGeminiEnterpriseProviderDirectConfig": { - "description": "Direct form of Gemini Enterprise provider config.", + "description": "Direct form of Gemini Enterprise provider config.\n\nAuthentication is one of two mutually exclusive modes; exactly one must be\nsupplied on Create:\n- API key: set `api_key`, leave `service_credential` unset.\n- UC service credential: set `service_credential`, leave `api_key` unset.", "fields": { "api_key": { - "description": "Google Gemini Enterprise API key. Required on Create. Supplied as inline\nplaintext via `ProviderSecret.plaintext`.", + "description": "Google Gemini Enterprise API key. Required on Create when using API-key\nauth; mutually exclusive with `service_credential`. Supplied as inline\nplaintext via `ProviderSecret.plaintext`.", "ref": "catalog.ModelProviderServiceConfigProviderSecret", "launch_stage": "PUBLIC_BETA", "behaviors": [ @@ -10320,10 +10346,10 @@ } }, "catalog.ModelProviderServiceConfigMicrosoftFoundryProviderDirectConfig": { - "description": "Direct form of Microsoft Foundry provider config.\n\nAuthentication is one of three mutually exclusive modes, exactly one of which\nmust be supplied on Create:\n- API key: set `api_key`, leave the Entra fields and `service_credential`\nunset.\n- Entra ID (service principal): set all of `tenant_id`, `client_id`, and\n`client_secret`, leave `api_key` and `service_credential` unset. AI\nGateway exchanges these for an Entra bearer token on outbound requests via\nthe OAuth2 client-credentials grant.\n- UC service credential: set `service_credential.name` to the AIP-122\nresource-name form `credentials/{name}`, leave `api_key` and all Entra\nfields unset. The credential value lives in UC and is referenced by name,\nnot held on this message. Only supported on Azure-hosted workspaces.\nSetting more than one mode, or an incomplete Entra triple, is rejected.", + "description": "Direct form of Microsoft Foundry provider config.\n\nAuthentication is one of three mutually exclusive modes, exactly one of which\nmust be supplied on Create:\n- API key: set `api_key`, leave `entra_service_principal` and\n`service_credential` unset.\n- Entra ID (service principal): set `entra_service_principal`, leave\n`api_key` and `service_credential` unset. AI Gateway exchanges these for\nan Entra bearer token on outbound requests via the OAuth2\nclient-credentials grant.\n- UC service credential: set `service_credential.name` to the AIP-122\nresource-name form `credentials/{name}`, leave `api_key` and\n`entra_service_principal` unset. The credential value lives in UC and is\nreferenced by name, not held on this message. Only supported on\nAzure-hosted workspaces.\nSetting more than one mode is rejected.", "fields": { "api_key": { - "description": "Microsoft AI Foundry API key. Mutually exclusive with the Entra fields.\nSupplied as inline plaintext via `ProviderSecret.plaintext`.", + "description": "Microsoft AI Foundry API key. Mutually exclusive with the Entra and\nservice-credential modes. Supplied as inline plaintext via\n`ProviderSecret.plaintext`.", "ref": "catalog.ModelProviderServiceConfigProviderSecret", "launch_stage": "PUBLIC_BETA", "behaviors": [ @@ -10337,35 +10363,21 @@ "OPTIONAL" ] }, - "client_id": { - "description": "Entra ID client (application) ID for service-principal auth. Set together\nwith `tenant_id` and `client_secret`; mutually exclusive with `api_key`\nand `service_credential`.", - "launch_stage": "PUBLIC_BETA", - "behaviors": [ - "OPTIONAL" - ] - }, - "client_secret": { - "description": "Entra ID client secret for service-principal auth. Set together with\n`tenant_id` and `client_id`; mutually exclusive with `api_key` and\n`service_credential`. Supplied as\ninline plaintext via `ProviderSecret.plaintext`.", - "ref": "catalog.ModelProviderServiceConfigProviderSecret", + "entra_service_principal": { + "description": "Entra ID (service principal) auth. Mutually exclusive with `api_key` and\n`service_credential`. Supersedes the flat `tenant_id` / `client_id` /\n`client_secret` fields.", + "ref": "catalog.ModelProviderServiceConfigEntraServicePrincipal", "launch_stage": "PUBLIC_BETA", "behaviors": [ "OPTIONAL" ] }, "service_credential": { - "description": "Reference to a UC service credential authorizing Microsoft Foundry requests.\nOn Create the caller supplies `service_credential.name` in the AIP-122\nresource-name form `credentials/{name}`. Required on Create when using\nUC-service-credential auth; mutually exclusive with `api_key` and with the\nEntra triple (tenant_id + client_id + client_secret). The credential is\nreferenced by name; its value is not carried here. On read the resolved `id`\nand `is_deleted` are also populated. Only supported on Azure-hosted\nworkspaces; Create requests from other clouds are rejected with\nINVALID_PARAMETER_VALUE.", + "description": "Reference to a UC service credential authorizing Microsoft Foundry requests.\nOn Create the caller supplies `service_credential.name` in the AIP-122\nresource-name form `credentials/{name}`. Required on Create when using\nUC-service-credential auth; mutually exclusive with `api_key` and\n`entra_service_principal`. The credential is\nreferenced by name; its value is not carried here. On read the resolved `id`\nand `is_deleted` are also populated. Only supported on Azure-hosted\nworkspaces; Create requests from other clouds are rejected with\nINVALID_PARAMETER_VALUE.", "ref": "catalog.ModelProviderServiceConfigServiceCredential", "launch_stage": "PUBLIC_BETA", "behaviors": [ "OPTIONAL" ] - }, - "tenant_id": { - "description": "Entra ID (Azure AD) tenant ID for service-principal auth. Set together with\n`client_id` and `client_secret`; mutually exclusive with `api_key` and\n`service_credential`.", - "launch_stage": "PUBLIC_BETA", - "behaviors": [ - "OPTIONAL" - ] } } }, @@ -12141,77 +12153,77 @@ "fields": { "catalog_name": { "description": "The name of the catalog where the schema and the secret reside.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE" ] }, "comment": { "description": "User-provided free-form text description of the secret.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "create_time": { "description": "The time at which this secret was created.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "created_by": { "description": "The principal that created the secret.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "effective_owner": { "description": "The effective owner of the secret, which may differ from the directly-set **owner** due to\ninheritance.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "effective_value": { "description": "The secret value. Only populated in responses when you have the **READ_SECRET**\nprivilege and **include_value** is set to true in the request. The maximum size is 60 KiB.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "expire_time": { "description": "User-provided expiration time of the secret. This field indicates when the secret should no\nlonger be used and may be displayed as a warning in the UI. It is purely informational and\ndoes not trigger any automatic actions or affect the secret's lifecycle.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OPTIONAL" ] }, "full_name": { "description": "The three-level (fully qualified) name of the secret, in the form of **catalog_name.schema_name.secret_name**.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "metastore_id": { "description": "Unique identifier of the metastore hosting the secret.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "name": { "description": "The name of the secret, relative to its parent schema.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE" ] }, "owner": { "description": "The owner of the secret. Defaults to the creating principal on creation. Can be updated to\ntransfer ownership of the secret to another principal.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "INPUT_ONLY", "OPTIONAL" @@ -12219,28 +12231,28 @@ }, "schema_name": { "description": "The name of the schema where the secret resides.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "IMMUTABLE" ] }, "update_time": { "description": "The time at which this secret was last updated.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "updated_by": { "description": "The principal that last updated the secret.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "OUTPUT_ONLY" ] }, "value": { "description": "The secret value to store. This field is input-only and is not returned in responses — use\nthe **effective_value** field (via GetSecret with **include_value** set to true) to read the\nsecret value. The maximum size is 60 KiB (pre-encryption). Accepted content includes\npasswords, tokens, keys, and other sensitive credential data.", - "launch_stage": "PUBLIC_PREVIEW", + "launch_stage": "GA", "behaviors": [ "INPUT_ONLY" ] @@ -13790,11 +13802,11 @@ "secret": { "description": "The secret object containing the fields to update. Only fields specified in **update_mask**\nwill be updated.", "ref": "catalog.Secret", - "launch_stage": "PUBLIC_PREVIEW" + "launch_stage": "GA" }, "update_mask": { "description": "The field mask specifying which fields of the secret to update.\n- If **update_mask** is **\"*\"**, all fields specified in **secret** are updated.\n- If **update_mask** specifies one or more fields, only those fields are updated.\nEach specified field must be set in **secret**.\nSupported fields: **value**, **comment**, **owner**, **expire_time**. To change the secret\nname, delete and recreate the secret.", - "launch_stage": "PUBLIC_PREVIEW" + "launch_stage": "GA" } } }, @@ -22178,6 +22190,7 @@ } }, "dashboards.TextAttachment": { + "description": "A text response on a conversation message: the answer, the final summary, or a\nclarifying follow-up question, along with optional phase and verification metadata.", "fields": { "content": { "description": "AI generated message", @@ -22187,7 +22200,7 @@ "launch_stage": "GA" }, "purpose": { - "description": "Purpose/intent of this text attachment", + "description": "Purpose of this text attachment. A completed message may contain more than\none text attachment (for example a clarifying follow-up question alongside\nthe final answer); use this field to tell them apart. `TEXT_ATTACHMENT_PURPOSE_ANSWER`\nmarks the final answer/summary and `FOLLOW_UP_QUESTION` marks a clarifying question.", "ref": "dashboards.TextAttachmentPurpose", "launch_stage": "GA" } @@ -25420,7 +25433,7 @@ "launch_stage": "GA" }, "emails": { - "description": "All the emails associated with the Databricks user.", + "description": "All the emails associated with the Databricks user. This attribute cannot be updated through the SCIM PATCH or PUT APIs; any supplied change is ignored.", "launch_stage": "GA" }, "externalId": { @@ -25440,7 +25453,7 @@ "launch_stage": "GA" }, "userName": { - "description": "Email address of the Databricks user.", + "description": "Email address of the Databricks user. This attribute cannot be updated through the SCIM PATCH or PUT APIs; any supplied change is ignored.", "launch_stage": "GA" } } @@ -26889,7 +26902,7 @@ "launch_stage": "GA" }, "emails": { - "description": "All the emails associated with the Databricks user.", + "description": "All the emails associated with the Databricks user. This attribute cannot be updated through the SCIM PATCH or PUT APIs; any supplied change is ignored.", "launch_stage": "GA" }, "externalId": { @@ -26905,7 +26918,7 @@ "launch_stage": "GA" }, "userName": { - "description": "Email address of the Databricks user.", + "description": "Email address of the Databricks user. This attribute cannot be updated through the SCIM PATCH or PUT APIs; any supplied change is ignored.", "launch_stage": "GA" } } @@ -27008,7 +27021,7 @@ "launch_stage": "PUBLIC_PREVIEW" }, "emails": { - "description": "All the emails associated with the Databricks user.", + "description": "All the emails associated with the Databricks user. This attribute cannot be updated through the SCIM PATCH or PUT APIs; any supplied change is ignored.", "launch_stage": "PUBLIC_PREVIEW" }, "entitlements": { @@ -27035,7 +27048,7 @@ "launch_stage": "PUBLIC_PREVIEW" }, "userName": { - "description": "Email address of the Databricks user.", + "description": "Email address of the Databricks user. This attribute cannot be updated through the SCIM PATCH or PUT APIs; any supplied change is ignored.", "launch_stage": "PUBLIC_PREVIEW" } } @@ -27059,7 +27072,7 @@ "launch_stage": "PUBLIC_PREVIEW" }, "emails": { - "description": "All the emails associated with the Databricks user.", + "description": "All the emails associated with the Databricks user. This attribute cannot be updated through the SCIM PATCH or PUT APIs; any supplied change is ignored.", "launch_stage": "PUBLIC_PREVIEW" }, "entitlements": { @@ -27090,7 +27103,7 @@ "launch_stage": "PUBLIC_PREVIEW" }, "userName": { - "description": "Email address of the Databricks user.", + "description": "Email address of the Databricks user. This attribute cannot be updated through the SCIM PATCH or PUT APIs; any supplied change is ignored.", "launch_stage": "PUBLIC_PREVIEW" } } @@ -27206,18 +27219,18 @@ "OPTIONAL" ] }, - "group_name": { - "description": "Display name of the group.", + "group_id": { + "description": "Internal group ID of the group in Databricks.", "launch_stage": "PUBLIC_BETA", "behaviors": [ - "OPTIONAL" + "OUTPUT_ONLY" ] }, - "internal_id": { - "description": "Internal group ID of the group in Databricks.", + "group_name": { + "description": "Display name of the group.", "launch_stage": "PUBLIC_BETA", "behaviors": [ - "OUTPUT_ONLY" + "OPTIONAL" ] } } @@ -27232,7 +27245,7 @@ ] }, "page_token": { - "description": "A page token, received from a previous ListWorkspaceAssignmentDetailsProxy call. Provide this to retrieve the subsequent page.", + "description": "A page token from a previous list call. Provide this to retrieve the subsequent page.", "launch_stage": "PRIVATE_PREVIEW", "behaviors": [ "OPTIONAL" @@ -27284,7 +27297,7 @@ } }, "iamv2.ResolveGroupProxyRequest": { - "description": "Request message for resolving a group with the given external ID from the customer's IdP into Databricks.\nWill resolve metadata such as the group's groupname, and inherited parent groups.", + "description": "Request message for resolving a group with the given external ID from the customer's IdP into Databricks.\nWill resolve metadata such as the group's name and inherited parent groups.", "fields": { "external_id": { "description": "Required. The external ID of the group in the customer's IdP.", @@ -27293,7 +27306,7 @@ } }, "iamv2.ResolveGroupRequest": { - "description": "Request message for resolving a group with the given external ID from the customer's IdP into Databricks.\nWill resolve metadata such as the group's groupname, and inherited parent groups.", + "description": "Request message for resolving a group with the given external ID from the customer's IdP into Databricks.\nWill resolve metadata such as the group's name and inherited parent groups.", "fields": { "external_id": { "description": "Required. The external ID of the group in the customer's IdP.", @@ -27311,7 +27324,7 @@ } }, "iamv2.ResolveServicePrincipalProxyRequest": { - "description": "Request message for resolving a service principal with the given external ID from the customer's IdP into Databricks.\nWill resolve metadata such as the service principal's displayname, status, and inherited parent groups.", + "description": "Request message for resolving a service principal with the given external ID from the customer's IdP into Databricks.\nWill resolve metadata such as the service principal's display name, status, and inherited parent groups.", "fields": { "external_id": { "description": "Required. The external ID of the service principal in the customer's IdP.", @@ -27320,7 +27333,7 @@ } }, "iamv2.ResolveServicePrincipalRequest": { - "description": "Request message for resolving a service principal with the given external ID from the customer's IdP into Databricks.\nWill resolve metadata such as the service principal's displayname, status, and inherited parent groups.", + "description": "Request message for resolving a service principal with the given external ID from the customer's IdP into Databricks.\nWill resolve metadata such as the service principal's display name, status, and inherited parent groups.", "fields": { "external_id": { "description": "Required. The external ID of the service principal in the customer's IdP.", @@ -27338,7 +27351,7 @@ } }, "iamv2.ResolveUserProxyRequest": { - "description": "Request message for resolving a user with the given external ID from the customer's IdP into Databricks.\nWill resolve metadata such as the user's displayname, status, and inherited parent groups.", + "description": "Request message for resolving a user with the given external ID from the customer's IdP into Databricks.\nWill resolve metadata such as the user's display name, status, and inherited parent groups.", "fields": { "external_id": { "description": "Required. The external ID of the user in the customer's IdP.", @@ -27347,7 +27360,7 @@ } }, "iamv2.ResolveUserRequest": { - "description": "Request message for resolving a user with the given external ID from the customer's IdP into Databricks.\nWill resolve metadata such as the user's displayname, status, and inherited parent groups.", + "description": "Request message for resolving a user with the given external ID from the customer's IdP into Databricks.\nWill resolve metadata such as the user's display name, status, and inherited parent groups.", "fields": { "external_id": { "description": "Required. The external ID of the user in the customer's IdP.", @@ -27403,7 +27416,7 @@ "OPTIONAL" ] }, - "internal_id": { + "service_principal_id": { "description": "Internal service principal ID of the service principal in Databricks.", "launch_stage": "PUBLIC_BETA", "behaviors": [ @@ -27481,7 +27494,7 @@ "OPTIONAL" ] }, - "internal_id": { + "user_id": { "description": "Internal userId of the user in Databricks.", "launch_stage": "PUBLIC_BETA", "behaviors": [ @@ -27592,7 +27605,7 @@ } }, "iamv2.WorkspaceAssignmentDetail": { - "description": "The direct assignment of a provisioned account-level principal (user, service\nprincipal, or group) to a workspace, together with the entitlements that\nassignment grants in the workspace.\n\nA WorkspaceAssignmentDetail exists only for principals that are directly\nassigned to the workspace; principals that merely inherit workspace access\nthrough a group are not represented here (see WorkspaceAccessDetail /\nWorkspaceIdentityDetail for the effective, direct-or-indirect view). Creating\nthe resource assigns the principal to the workspace; deleting it removes the\nassignment. The `entitlements` field is the only client-settable field and\ndefines the entitlements granted directly on this assignment; `effective_entitlements`\nis the read-only union of those plus any granted via group membership.\n\nA direct assignment always carries at least one directly-assigned entitlement:\nthe assignment is what grants the entitlement, so a WorkspaceAssignmentDetail\nwith an empty `entitlements` set is not a valid state. Both create and update\nrequire a non-empty `entitlements` set (an empty set is rejected); to remove a\nprincipal's assignment entirely, delete the resource.\n\nThis resource replaces workspace assignment previously managed through the\nworkspace SCIM and permission-assignment APIs, and is intended for account\nand workspace admins.", + "description": "The direct assignment of a provisioned account-level principal (user, service\nprincipal, or group) to a workspace, together with the entitlements that\nassignment grants in the workspace.\n\nThis resource covers only principals assigned directly to the workspace.\nPrincipals that inherit workspace access through a group are not represented\nhere. See WorkspaceAccessDetail and WorkspaceIdentityDetail for the effective,\ndirect-or-indirect view. Creating the resource assigns the principal to the\nworkspace, and deleting it removes the assignment.\n\n`entitlements` is the only client-settable field. It holds the entitlements\ngranted directly on this assignment, including any the principal also holds\nthrough a group. `effective_entitlements` is the read-only union of those and\nany granted through group membership.\n\nA direct assignment always carries at least one directly-assigned entitlement,\nbecause the assignment is what grants it. Create and update both reject an\nempty `entitlements` set. To remove a principal's assignment entirely, delete\nthe resource.\n\nThis resource replaces workspace assignment previously managed through the\nworkspace SCIM and permission-assignment APIs, and is intended for account\nand workspace admins.", "fields": { "account_id": { "description": "The account ID parent of the workspace where the principal is assigned", @@ -27602,7 +27615,7 @@ ] }, "effective_entitlements": { - "description": "The principal's full effective entitlements granted in this workspace: every entitlement it holds\nwhether granted directly or via group membership. Populated on Get; empty on List.", + "description": "Every entitlement the principal holds in this workspace, whether granted directly or through\ngroup membership. Get responses populate this field. List responses leave it empty.", "launch_stage": "PRIVATE_PREVIEW", "behaviors": [ "OUTPUT_ONLY", @@ -27610,7 +27623,7 @@ ] }, "entitlements": { - "description": "Entitlements granted directly to the principal on this workspace. The only client-settable\nfield: create and update manage exactly this set (including entitlements the principal also\nholds via a group).\nNot populated by ListWorkspaceAssignmentDetails (omitted for scalability); call\nGetWorkspaceAssignmentDetail to read the entitlements for a single principal.", + "description": "Entitlements granted directly to the principal on this workspace. This is the only\nclient-settable field. Create and update manage exactly this set, including entitlements the\nprincipal also holds through a group.\nList responses leave this field empty. Get a single principal to read its entitlements.", "launch_stage": "PRIVATE_PREVIEW", "behaviors": [ "OPTIONAL", @@ -30703,7 +30716,7 @@ "launch_stage": "PRIVATE_PREVIEW" }, "idempotency_token": { - "description": "An optional token to guarantee the idempotency of job run requests. If a run with the provided token already exists,\nthe request does not create a new run but returns the ID of the existing run instead. If a run with the provided token is deleted,\nan error is returned.\n\nIf you specify the idempotency token, upon failure you can retry until the request succeeds. Databricks guarantees that exactly one run\nis launched with that idempotency token.\n\nThis token must have at most 64 characters.\n\nFor more information, see [How to ensure idempotency for jobs](https://kb.databricks.com/jobs/jobs-idempotency.html).", + "description": "An optional token to guarantee the idempotency of job run requests. If a run with the provided token already exists,\nthe request does not create a new run but returns the ID of the existing run instead. If a run with the provided token is deleted,\nan error is returned.\n\nIf you specify the idempotency token, upon failure you can retry until the request succeeds. Databricks guarantees that exactly one run\nis launched with that idempotency token.\n\nThis token must have at most 64 characters.", "launch_stage": "GA" }, "jar_params": { @@ -31705,7 +31718,7 @@ "launch_stage": "GA" }, "idempotency_token": { - "description": "An optional token that can be used to guarantee the idempotency of job run requests. If a run with the provided token already exists,\nthe request does not create a new run but returns the ID of the existing run instead. If a run with the provided token is deleted,\nan error is returned.\n\nIf you specify the idempotency token, upon failure you can retry until the request succeeds. Databricks guarantees that exactly\none run is launched with that idempotency token.\n\nThis token must have at most 64 characters.\n\nFor more information, see [How to ensure idempotency for jobs](https://kb.databricks.com/jobs/jobs-idempotency.html).", + "description": "An optional token that can be used to guarantee the idempotency of job run requests. If a run with the provided token already exists,\nthe request does not create a new run but returns the ID of the existing run instead. If a run with the provided token is deleted,\nan error is returned.\n\nIf you specify the idempotency token, upon failure you can retry until the request succeeds. Databricks guarantees that exactly\none run is launched with that idempotency token.\n\nThis token must have at most 64 characters.", "launch_stage": "GA" }, "notification_settings": { @@ -32459,6 +32472,11 @@ "ref": "jobs.FileArrivalTriggerState", "launch_stage": "GA" }, + "pause_status": { + "description": "Whether this trigger is paused or not. For continuous schedules, it can differ from the\nconfigured pause_status whenever a paused continuous job is kickstarted by an operation\nother than an update, such as a run-now.", + "ref": "jobs.PauseStatus", + "launch_stage": "PRIVATE_PREVIEW" + }, "sql_condition": { "description": "State for SQL condition evaluation, can coexist with other trigger states.", "ref": "jobs.SqlConditionState", @@ -37025,6 +37043,34 @@ } } }, + "ml.KinesisStreamConfig": { + "description": "Kinesis-specific configuration for a Stream. For the underlying connector and its source\noptions, see the Databricks documentation on connecting to Amazon Kinesis\n(https://docs.databricks.com/aws/en/connect/streaming/kinesis).", + "fields": { + "extra_options": { + "description": "Optional Kinesis source options, validated against a server-side allowlist at request time.\nAuth and connection details belong on the parent Stream's `connection_config`, not here.", + "launch_stage": "PRIVATE_PREVIEW", + "behaviors": [ + "OPTIONAL" + ] + }, + "stream_arns": { + "description": "Kinesis stream ARNs to read from.", + "ref": "ml.StreamArnList", + "launch_stage": "PRIVATE_PREVIEW", + "behaviors": [ + "OPTIONAL" + ] + }, + "stream_names": { + "description": "Kinesis stream names to read from.", + "ref": "ml.StreamNameList", + "launch_stage": "PRIVATE_PREVIEW", + "behaviors": [ + "OPTIONAL" + ] + } + } + }, "ml.LastDistinctFunction": { "description": "Returns the last N distinct values, ordered by the feature's timeseries column.", "fields": { @@ -39402,6 +39448,18 @@ } } }, + "ml.StreamArnList": { + "description": "A list of Kinesis stream ARNs to read from.", + "fields": { + "arns": { + "description": "Kinesis stream ARNs to read from. For example,\n'arn:aws:kinesis:us-west-2:111122223333:stream/stream-a'.", + "launch_stage": "PRIVATE_PREVIEW", + "behaviors": [ + "OPTIONAL" + ] + } + } + }, "ml.StreamConnectionConfig": { "description": "Specifies how to connect and authenticate to the stream platform.", "fields": { @@ -39422,6 +39480,18 @@ } } }, + "ml.StreamNameList": { + "description": "A list of Kinesis stream names to read from.", + "fields": { + "names": { + "description": "Kinesis stream names to read from.", + "launch_stage": "PRIVATE_PREVIEW", + "behaviors": [ + "OPTIONAL" + ] + } + } + }, "ml.StreamSchemaConfig": { "description": "Schema definitions for the stream.\nFeature store supports both direct schemas and schema registries.", "fields": { @@ -39483,6 +39553,14 @@ "behaviors": [ "OPTIONAL" ] + }, + "kinesis_stream_config": { + "description": "Configuration for AWS Kinesis Data Streams.", + "ref": "ml.KinesisStreamConfig", + "launch_stage": "PRIVATE_PREVIEW", + "behaviors": [ + "OPTIONAL" + ] } } }, @@ -41343,7 +41421,7 @@ "fields": { "cascade": { "description": "If false, pipeline deletion will not cascade to its datasets (MVs, STs, Views).\nBy default, this parameter will be true and all tables will be deleted with the pipeline.", - "launch_stage": "PUBLIC_BETA" + "launch_stage": "GA" }, "force": { "description": "If true, deletion will proceed even if resource cleanup fails.\nBy default, deletion will fail if resources cleanup is required but fails.", @@ -41961,11 +42039,11 @@ "fields": { "fanout_by": { "description": "Column path or SQL expression whose value determines the destination table.\nSupports dotted paths (e.g. \"value.event_name\") and expressions\n(e.g. \"value:event_name::string\").", - "launch_stage": "PRIVATE_PREVIEW" + "launch_stage": "PUBLIC_BETA" }, "transforms": { "description": "Optional transforms applied to each route's DataFrame before writing\nto the destination table.", - "launch_stage": "PRIVATE_PREVIEW" + "launch_stage": "PUBLIC_BETA" } } }, @@ -43261,7 +43339,7 @@ "fanout_options": { "description": "Fanout options for multi-table routing from streaming sources.\nWhen set, records are routed to destination tables based on a\nper-record routing key. The key value becomes the table name:\n{destination_catalog}.{destination_schema}.{key_value}.", "ref": "pipelines.IngestionPipelineDefinitionFanoutOptions", - "launch_stage": "PRIVATE_PREVIEW" + "launch_stage": "PUBLIC_BETA" }, "source_catalog": { "description": "The source catalog name. Might be optional depending on the type of source.", @@ -43755,6 +43833,11 @@ "description": "A list of tables to update with fullRefresh. If both refresh_selection and\nfull_refresh_selection are empty, this is a full graph update. Full Refresh on a table means\nthat the states of the table will be reset before the refresh.", "launch_stage": "GA" }, + "mode": { + "description": "Indicates whether the update is either part of a continuous job run, or running in legacy continuous pipeline mode.\nReturned only for GetUpdate; not populated in ListUpdates responses.", + "ref": "pipelines.UpdateMode", + "launch_stage": "PRIVATE_PREVIEW" + }, "parameters": { "description": "Key/value map of parameters used to initiate the update", "launch_stage": "PUBLIC_BETA" @@ -43832,6 +43915,16 @@ "WAITING_FOR_RESOURCES": "GA" } }, + "pipelines.UpdateMode": { + "enum": [ + "DEFAULT", + "CONTINUOUS" + ], + "enum_launch_stages": { + "CONTINUOUS": "PRIVATE_PREVIEW", + "DEFAULT": "PRIVATE_PREVIEW" + } + }, "pipelines.UpdateStateInfo": { "fields": { "creation_time": { @@ -63085,6 +63178,15 @@ } }, "workspace.DeleteSecretResponse": {}, + "workspace.DirectoryInfo": { + "description": "Additional metadata about a directory.", + "fields": { + "is_git_folder": { + "description": "Whether the directory is a Git folder, whose contents are version-controlled by a remote Git\nrepository. How a Git folder is represented depends on whether it has Git CLI access:\n\n- A Git folder with Git CLI access has an object type of ``DIRECTORY``, with this field set\nto ``true``.\n- A standard Git folder, which does not have Git CLI access, has an object type of ``REPO``\nand does not include this field.\n- A directory that is not Git-backed has this field set to ``false``.\n\nUse this field together with ``object_type`` to identify every Git folder in a workspace.", + "launch_stage": "PUBLIC_BETA" + } + } + }, "workspace.ExportFormat": { "description": "The format for workspace import and export.", "enum": [ @@ -63450,6 +63552,11 @@ "description": "Only applicable to files. The creation UTC timestamp.", "launch_stage": "GA" }, + "directory_info": { + "description": "Additional metadata about the directory. Only set for objects of type ``DIRECTORY``.", + "ref": "workspace.DirectoryInfo", + "launch_stage": "PUBLIC_BETA" + }, "language": { "description": "The language of the object. This value is set only if the object type is ``NOTEBOOK``. For Jupyter (.ipynb) notebooks, this is always ``PYTHON``.", "ref": "workspace.Language", @@ -66720,7 +66827,7 @@ }, { "name": "page_size", - "description": "Maximum number of MCP services to return. Defaults to 100 when unset or 0;\nthe maximum is 1000. Use `next_page_token` to retrieve additional pages.", + "description": "Maximum number of MCP services to return. Defaults to 100 when unset or 0;\nthe maximum is 100. Use `next_page_token` to retrieve additional pages.", "is_query": true, "entity": { "is_int": true @@ -66801,7 +66908,7 @@ }, { "name": "page_size", - "description": "Maximum number of provider services to return. Defaults to 100 when unset or\n0; the maximum is 1000. Use `next_page_token` to retrieve additional pages.", + "description": "Maximum number of provider services to return. Defaults to 100 when unset or\n0; the maximum is 100. Use `next_page_token` to retrieve additional pages.", "is_query": true, "entity": { "is_int": true @@ -66882,7 +66989,7 @@ }, { "name": "page_size", - "description": "Maximum number of model services to return. Defaults to 100 when unset or 0;\nthe maximum is 1000. Use `next_page_token` to retrieve additional pages.", + "description": "Maximum number of model services to return. Defaults to 100 when unset or 0;\nthe maximum is 100. Use `next_page_token` to retrieve additional pages.", "is_query": true, "entity": { "is_int": true @@ -80125,10 +80232,11 @@ }, { "name": "state", - "description": "Serialized local config state after the operation. Should be unset for\ndelete operations. Mutable: may be updated after creation via\nUpdateOperation. When updating, the caller must echo the last-observed\n`sequence_id` as a concurrency precondition.", + "description": "Serialized local config state after the operation. Should be unset for\ndelete operations. Mutable: may be updated after creation via\nUpdateOperation. When updating, the caller must echo the last-observed\n`sequence_id` as a concurrency precondition.\n\nOpaque to this service: the string is stored and returned unchanged. This is\ndeliberately not google.protobuf.Value, whose only numeric case is\n`double number_value`, so parsing the client's JSON into it rewrites every\ninteger as a double - `1` reads back as `1.0`, which no longer deserializes\ninto an integer field - and silently loses precision above 2^53, which is\nwithin range for IDs the client records.\n\nA string rather than bytes: the payload is always UTF-8 JSON, and proto3 JSON\nmaps bytes to base64, which inflates every request and response by a third\nand makes state unreadable in logs and API responses. Both generate the same\nOpenAPI schema (\"type\": \"string\"), so the SDKs are identical either way.", "is_request_body_field": true, - "is_optional_object": true, - "entity": {} + "entity": { + "is_string": true + } }, { "name": "status", @@ -82374,10 +82482,11 @@ }, { "name": "state", - "description": "Serialized local config state after the operation. Should be unset for\ndelete operations. Mutable: may be updated after creation via\nUpdateOperation. When updating, the caller must echo the last-observed\n`sequence_id` as a concurrency precondition.", + "description": "Serialized local config state after the operation. Should be unset for\ndelete operations. Mutable: may be updated after creation via\nUpdateOperation. When updating, the caller must echo the last-observed\n`sequence_id` as a concurrency precondition.\n\nOpaque to this service: the string is stored and returned unchanged. This is\ndeliberately not google.protobuf.Value, whose only numeric case is\n`double number_value`, so parsing the client's JSON into it rewrites every\ninteger as a double - `1` reads back as `1.0`, which no longer deserializes\ninto an integer field - and silently loses precision above 2^53, which is\nwithin range for IDs the client records.\n\nA string rather than bytes: the payload is always UTF-8 JSON, and proto3 JSON\nmaps bytes to base64, which inflates every request and response by a third\nand makes state unreadable in logs and API responses. Both generate the same\nOpenAPI schema (\"type\": \"string\"), so the SDKs are identical either way.", "is_request_body_field": true, - "is_optional_object": true, - "entity": {} + "entity": { + "is_string": true + } }, { "name": "status", @@ -133527,7 +133636,7 @@ "methods": [ { "name": "CreateWorkspaceAssignmentDetail", - "description": "Creates a workspace assignment detail for a principal. Entitlement grants are applied\nindividually and non-atomically — if a failure occurs partway through, the principal will be\nassigned to the workspace but with only a subset of the requested entitlements. Use\nGetWorkspaceAssignmentDetail to confirm which entitlements were successfully granted.", + "description": "Creates a workspace assignment detail for a principal. Entitlements are granted one at a time\nrather than atomically. If the request fails partway through, the principal stays assigned to\nthe workspace with only some of the requested entitlements. Get the assignment detail\nafterwards to confirm which entitlements were granted.", "summary": "Create a workspace assignment detail.", "path": "/api/2.0/identity/accounts/{account_id}/workspaces/{workspace_id}/workspace-assignment-details", "can_use_json": true, @@ -133698,7 +133807,7 @@ }, { "name": "effective_entitlements", - "description": "The principal's full effective entitlements granted in this workspace: every entitlement it holds\nwhether granted directly or via group membership. Populated on Get; empty on List.", + "description": "Every entitlement the principal holds in this workspace, whether granted directly or through\ngroup membership. Get responses populate this field. List responses leave it empty.", "is_output_only": true, "is_request_body_field": true, "entity": { @@ -133730,7 +133839,7 @@ }, { "name": "entitlements", - "description": "Entitlements granted directly to the principal on this workspace. The only client-settable\nfield: create and update manage exactly this set (including entitlements the principal also\nholds via a group).\nNot populated by ListWorkspaceAssignmentDetails (omitted for scalability); call\nGetWorkspaceAssignmentDetail to read the entitlements for a single principal.", + "description": "Entitlements granted directly to the principal on this workspace. This is the only\nclient-settable field. Create and update manage exactly this set, including entitlements the\nprincipal also holds through a group.\nList responses leave this field empty. Get a single principal to read its entitlements.", "is_request_body_field": true, "entity": { "pascal_name": "EntitlementList", @@ -133820,7 +133929,7 @@ }, { "name": "DeleteWorkspaceAssignmentDetail", - "description": "Deletes a workspace assignment detail for a principal, revoking all associated entitlements.\nEntitlement revocations are applied individually and non-atomically — if a failure occurs\npartway through, the principal remains assigned with a subset of its original entitlements,\nand the operation is safe to retry.", + "description": "Deletes a workspace assignment detail for a principal, revoking all of its entitlements.\nEntitlements are revoked one at a time rather than atomically. If the request fails partway\nthrough, the principal stays assigned with some of its original entitlements. Retrying is safe.", "summary": "Delete a workspace assignment detail.", "path": "/api/2.0/identity/accounts/{account_id}/workspaces/{workspace_id}/workspace-assignment-details/{principal_id}", "is_hidden_cli": true, @@ -134153,7 +134262,7 @@ }, { "name": "ListWorkspaceAssignmentDetails", - "description": "Lists workspace assignment details for a workspace.\nFor scalability, the response omits the per-principal entitlement fields (`entitlements` and\n`effective_entitlements`); call GetWorkspaceAssignmentDetail to read entitlements for a single\nprincipal.", + "description": "Lists workspace assignment details for a workspace. The response omits the per-principal\nentitlement fields (`entitlements` and `effective_entitlements`). To read the entitlements for\na single principal, get that principal's assignment detail.", "summary": "List workspace assignment details for a workspace.", "path": "/api/2.0/identity/accounts/{account_id}/workspaces/{workspace_id}/workspace-assignment-details", "is_hidden_cli": true, @@ -134296,7 +134405,7 @@ }, { "name": "ResolveServicePrincipal", - "description": "Resolves an SP with the given external ID from the customer's IdP. If the SP does not exist, it will be created.\nIf the customer is not onboarded onto Automatic Identity Management (AIM), this will return an error.", + "description": "Resolves a service principal with the given external ID from the customer's IdP. If the service\nprincipal does not exist, it will be created.\nIf the customer is not onboarded onto Automatic Identity Management (AIM), this will return an error.", "summary": "Resolve an external service principal in the Databricks account.", "path": "/api/2.0/identity/accounts/{account_id}/service-principals/resolve-by-external-id", "can_use_json": true, @@ -134426,7 +134535,7 @@ }, { "name": "UpdateWorkspaceAssignmentDetail", - "description": "Updates the entitlements of a directly assigned principal in a workspace. Entitlement changes\nare applied individually and non-atomically — if a failure occurs partway through, only a\nsubset of the requested changes may have been applied. Use GetWorkspaceAssignmentDetail to\nconfirm the final state.", + "description": "Updates the entitlements of a directly assigned principal in a workspace. Changes are applied\none at a time rather than atomically. If the request fails partway through, only some of the\nrequested changes take effect. Get the assignment detail afterwards to confirm the final state.", "summary": "Update a workspace assignment detail.", "path": "/api/2.0/identity/accounts/{account_id}/workspaces/{workspace_id}/workspace-assignment-details/{principal_id}", "can_use_json": true, @@ -134652,7 +134761,7 @@ }, { "name": "effective_entitlements", - "description": "The principal's full effective entitlements granted in this workspace: every entitlement it holds\nwhether granted directly or via group membership. Populated on Get; empty on List.", + "description": "Every entitlement the principal holds in this workspace, whether granted directly or through\ngroup membership. Get responses populate this field. List responses leave it empty.", "is_output_only": true, "is_request_body_field": true, "entity": { @@ -134684,7 +134793,7 @@ }, { "name": "entitlements", - "description": "Entitlements granted directly to the principal on this workspace. The only client-settable\nfield: create and update manage exactly this set (including entitlements the principal also\nholds via a group).\nNot populated by ListWorkspaceAssignmentDetails (omitted for scalability); call\nGetWorkspaceAssignmentDetail to read the entitlements for a single principal.", + "description": "Entitlements granted directly to the principal on this workspace. This is the only\nclient-settable field. Create and update manage exactly this set, including entitlements the\nprincipal also holds through a group.\nList responses leave this field empty. Get a single principal to read its entitlements.", "is_request_body_field": true, "entity": { "pascal_name": "EntitlementList", @@ -138241,7 +138350,7 @@ }, { "name": "ListRuns", - "description": "List runs in descending order by start time.", + "description": "List runs in descending order by end time. If a run has not finished, it falls back to start time.", "summary": "List job runs.", "path": "/api/2.2/jobs/runs/list", "has_required_positional_arguments": true, @@ -138739,7 +138848,7 @@ }, { "name": "idempotency_token", - "description": "An optional token to guarantee the idempotency of job run requests. If a run with the provided token already exists,\nthe request does not create a new run but returns the ID of the existing run instead. If a run with the provided token is deleted,\nan error is returned.\n\nIf you specify the idempotency token, upon failure you can retry until the request succeeds. Databricks guarantees that exactly one run\nis launched with that idempotency token.\n\nThis token must have at most 64 characters.\n\nFor more information, see [How to ensure idempotency for jobs](https://kb.databricks.com/jobs/jobs-idempotency.html).", + "description": "An optional token to guarantee the idempotency of job run requests. If a run with the provided token already exists,\nthe request does not create a new run but returns the ID of the existing run instead. If a run with the provided token is deleted,\nan error is returned.\n\nIf you specify the idempotency token, upon failure you can retry until the request succeeds. Databricks guarantees that exactly one run\nis launched with that idempotency token.\n\nThis token must have at most 64 characters.", "is_request_body_field": true, "entity": { "is_string": true @@ -139076,7 +139185,7 @@ }, { "name": "idempotency_token", - "description": "An optional token that can be used to guarantee the idempotency of job run requests. If a run with the provided token already exists,\nthe request does not create a new run but returns the ID of the existing run instead. If a run with the provided token is deleted,\nan error is returned.\n\nIf you specify the idempotency token, upon failure you can retry until the request succeeds. Databricks guarantees that exactly\none run is launched with that idempotency token.\n\nThis token must have at most 64 characters.\n\nFor more information, see [How to ensure idempotency for jobs](https://kb.databricks.com/jobs/jobs-idempotency.html).", + "description": "An optional token that can be used to guarantee the idempotency of job run requests. If a run with the provided token already exists,\nthe request does not create a new run but returns the ID of the existing run instead. If a run with the provided token is deleted,\nan error is returned.\n\nIf you specify the idempotency token, upon failure you can retry until the request succeeds. Databricks guarantees that exactly\none run is launched with that idempotency token.\n\nThis token must have at most 64 characters.", "is_request_body_field": true, "entity": { "is_string": true @@ -181150,10 +181259,8 @@ "name": "catalog" }, "docs_group": "catalog", - "launch_stage": "PUBLIC_PREVIEW", - "cli_launch_stage_label": "*Public Preview*", - "cli_launch_stage_banner": "This command is in Public Preview and may change without notice.", - "cli_launch_stage_display": "Public Preview", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "list": { "request": { "pascal_name": "ListSecretsRequest" @@ -181168,10 +181275,8 @@ "can_use_json": true, "is_crud_create": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_PREVIEW", - "cli_launch_stage_label": "*Public Preview*", - "cli_launch_stage_banner": "This command is in Public Preview and may change without notice.", - "cli_launch_stage_display": "Public Preview", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "CreateSecretRequest", "is_object": true, @@ -181638,10 +181743,8 @@ "summary": "Delete a secret.", "path": "/api/2.1/unity-catalog/secrets/{full_name}", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_PREVIEW", - "cli_launch_stage_label": "*Public Preview*", - "cli_launch_stage_banner": "This command is in Public Preview and may change without notice.", - "cli_launch_stage_display": "Public Preview", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "DeleteSecretRequest", "is_object": true, @@ -181701,10 +181804,8 @@ "path": "/api/2.1/unity-catalog/secrets/{full_name}", "is_crud_read": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_PREVIEW", - "cli_launch_stage_label": "*Public Preview*", - "cli_launch_stage_banner": "This command is in Public Preview and may change without notice.", - "cli_launch_stage_display": "Public Preview", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "GetSecretRequest", "is_object": true, @@ -181841,10 +181942,8 @@ "summary": "List secrets.", "path": "/api/2.1/unity-catalog/secrets", "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_PREVIEW", - "cli_launch_stage_label": "*Public Preview*", - "cli_launch_stage_banner": "This command is in Public Preview and may change without notice.", - "cli_launch_stage_display": "Public Preview", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "ListSecretsRequest", "is_object": true @@ -181907,10 +182006,8 @@ "path": "/api/2.1/unity-catalog/secrets/{full_name}", "can_use_json": true, "has_required_positional_arguments": true, - "launch_stage": "PUBLIC_PREVIEW", - "cli_launch_stage_label": "*Public Preview*", - "cli_launch_stage_banner": "This command is in Public Preview and may change without notice.", - "cli_launch_stage_display": "Public Preview", + "launch_stage": "GA", + "cli_launch_stage_display": "GA", "request": { "pascal_name": "UpdateSecretRequest", "is_object": true, @@ -197733,7 +197830,7 @@ }, { "name": "Patch", - "description": "Partially updates a user resource by applying the supplied operations on specific user attributes.", + "description": "Partially updates a user resource by applying the supplied operations on specific user attributes.\nThe `userName` and `emails` attributes cannot be updated through this API; any supplied changes to them are ignored (no-op).", "summary": "Update user details.", "path": "/api/2.0/preview/scim/v2/Users/{id}", "can_use_json": true, @@ -197856,7 +197953,7 @@ }, { "name": "Update", - "description": "Replaces a user's information with the data supplied in request.", + "description": "Replaces a user's information with the data supplied in request.\nThe `userName` and `emails` attributes cannot be updated through this API; any supplied changes to them are ignored (no-op).", "summary": "Replace a user.", "path": "/api/2.0/preview/scim/v2/Users/{id}", "can_use_json": true, @@ -197913,7 +198010,7 @@ }, { "name": "emails", - "description": "All the emails associated with the Databricks user.", + "description": "All the emails associated with the Databricks user. This attribute cannot be updated through the SCIM PATCH or PUT APIs; any supplied change is ignored.", "is_request_body_field": true, "entity": { "pascal_name": "ComplexValueList", @@ -198005,7 +198102,7 @@ }, { "name": "userName", - "description": "Email address of the Databricks user.", + "description": "Email address of the Databricks user. This attribute cannot be updated through the SCIM PATCH or PUT APIs; any supplied change is ignored.", "is_request_body_field": true, "entity": { "is_string": true @@ -198459,7 +198556,7 @@ }, { "name": "Patch", - "description": "Partially updates a user resource by applying the supplied operations on specific user attributes.", + "description": "Partially updates a user resource by applying the supplied operations on specific user attributes.\nThe `userName` and `emails` attributes cannot be updated through this API; any supplied changes to them are ignored (no-op).", "summary": "Update user details.", "path": "/api/2.0/accounts/{account_id}/scim/v2/Users/{id}", "can_use_json": true, @@ -198547,7 +198644,7 @@ }, { "name": "Update", - "description": "Replaces a user's information with the data supplied in request.", + "description": "Replaces a user's information with the data supplied in request.\nThe `userName` and `emails` attributes cannot be updated through this API; any supplied changes to them are ignored (no-op).", "summary": "Replace a user.", "path": "/api/2.0/accounts/{account_id}/scim/v2/Users/{id}", "can_use_json": true, @@ -198602,7 +198699,7 @@ }, { "name": "emails", - "description": "All the emails associated with the Databricks user.", + "description": "All the emails associated with the Databricks user. This attribute cannot be updated through the SCIM PATCH or PUT APIs; any supplied change is ignored.", "is_request_body_field": true, "entity": { "pascal_name": "ComplexValueList", @@ -198652,7 +198749,7 @@ }, { "name": "userName", - "description": "Email address of the Databricks user.", + "description": "Email address of the Databricks user. This attribute cannot be updated through the SCIM PATCH or PUT APIs; any supplied change is ignored.", "is_request_body_field": true, "entity": { "is_string": true @@ -206636,7 +206733,7 @@ "methods": [ { "name": "CreateWorkspaceAssignmentDetailProxy", - "description": "Creates a workspace assignment detail for a principal (workspace-level proxy). Entitlement\ngrants are applied individually and non-atomically — if a failure occurs partway through, the\nprincipal will be assigned to the workspace but with only a subset of the requested\nentitlements. Use GetWorkspaceAssignmentDetail to confirm which entitlements were successfully\ngranted.", + "description": "Creates a workspace assignment detail for a principal in the calling workspace. Entitlements\nare granted one at a time rather than atomically. If the request fails partway through, the\nprincipal stays assigned to the workspace with only some of the requested entitlements. Get the\nassignment detail afterwards to confirm which entitlements were granted.", "summary": "Create a workspace assignment detail for a workspace.", "path": "/api/2.0/identity/workspace-assignment-details", "can_use_json": true, @@ -206778,7 +206875,7 @@ }, { "name": "effective_entitlements", - "description": "The principal's full effective entitlements granted in this workspace: every entitlement it holds\nwhether granted directly or via group membership. Populated on Get; empty on List.", + "description": "Every entitlement the principal holds in this workspace, whether granted directly or through\ngroup membership. Get responses populate this field. List responses leave it empty.", "is_output_only": true, "is_request_body_field": true, "entity": { @@ -206810,7 +206907,7 @@ }, { "name": "entitlements", - "description": "Entitlements granted directly to the principal on this workspace. The only client-settable\nfield: create and update manage exactly this set (including entitlements the principal also\nholds via a group).\nNot populated by ListWorkspaceAssignmentDetails (omitted for scalability); call\nGetWorkspaceAssignmentDetail to read the entitlements for a single principal.", + "description": "Entitlements granted directly to the principal on this workspace. This is the only\nclient-settable field. Create and update manage exactly this set, including entitlements the\nprincipal also holds through a group.\nList responses leave this field empty. Get a single principal to read its entitlements.", "is_request_body_field": true, "entity": { "pascal_name": "EntitlementList", @@ -206891,7 +206988,7 @@ }, { "name": "DeleteWorkspaceAssignmentDetailProxy", - "description": "Deletes a workspace assignment detail for a principal (workspace-level proxy), revoking all\nassociated entitlements. Entitlement revocations are applied individually and non-atomically\n— if a failure occurs partway through, the principal remains assigned with a subset of its\noriginal entitlements, and the operation is safe to retry.", + "description": "Deletes a workspace assignment detail for a principal in the calling workspace, revoking all of\nits entitlements. Entitlements are revoked one at a time rather than atomically. If the request\nfails partway through, the principal stays assigned with some of its original entitlements.\nRetrying is safe.", "summary": "Delete a workspace assignment detail for a workspace.", "path": "/api/2.0/identity/workspace-assignment-details/{principal_id}", "is_hidden_cli": true, @@ -207031,7 +207128,7 @@ }, { "name": "GetWorkspaceAssignmentDetailProxy", - "description": "Returns the assignment details for a principal in a workspace (workspace-level proxy).", + "description": "Returns the assignment details for a principal in the calling workspace.", "summary": "Get workspace assignment details for a principal.", "path": "/api/2.0/identity/workspace-assignment-details/{principal_id}", "is_hidden_cli": true, @@ -207116,7 +207213,7 @@ }, { "name": "ListWorkspaceAssignmentDetailsProxy", - "description": "Lists workspace assignment details for a workspace (workspace-level proxy).\nFor scalability, the response omits the per-principal entitlement fields (`entitlements` and\n`effective_entitlements`); call GetWorkspaceAssignmentDetailProxy to read entitlements for a\nsingle principal.", + "description": "Lists workspace assignment details for the calling workspace. The response omits the\nper-principal entitlement fields (`entitlements` and `effective_entitlements`). To read the\nentitlements for a single principal, get that principal's assignment detail.", "summary": "List workspace assignment details for a workspace.", "path": "/api/2.0/identity/workspace-assignment-details", "is_hidden_cli": true, @@ -207142,7 +207239,7 @@ }, { "name": "page_token", - "description": "A page token, received from a previous ListWorkspaceAssignmentDetailsProxy call. Provide this to retrieve the subsequent page.", + "description": "A page token from a previous list call. Provide this to retrieve the subsequent page.", "is_query": true, "entity": { "is_string": true @@ -207217,7 +207314,7 @@ }, { "name": "ResolveServicePrincipalProxy", - "description": "Resolves an SP with the given external ID from the customer's IdP. If the SP does not exist, it will be created.\nIf the customer is not onboarded onto Automatic Identity Management (AIM), this will return an error.", + "description": "Resolves a service principal with the given external ID from the customer's IdP. If the service\nprincipal does not exist, it will be created.\nIf the customer is not onboarded onto Automatic Identity Management (AIM), this will return an error.", "summary": "Resolve an external service principal in the Databricks account.", "path": "/api/2.0/identity/service-principals/resolve-by-external-id", "can_use_json": true, @@ -207347,7 +207444,7 @@ }, { "name": "UpdateWorkspaceAssignmentDetailProxy", - "description": "Updates the entitlements of a directly assigned principal in a workspace (workspace-level\nproxy). Entitlement changes are applied individually and non-atomically — if a failure occurs\npartway through, only a subset of the requested changes may have been applied. Use\nGetWorkspaceAssignmentDetail to confirm the final state.", + "description": "Updates the entitlements of a directly assigned principal in the calling workspace. Changes are\napplied one at a time rather than atomically. If the request fails partway through, only some of\nthe requested changes take effect. Get the assignment detail afterwards to confirm the final\nstate.", "summary": "Update a workspace assignment detail for a workspace.", "path": "/api/2.0/identity/workspace-assignment-details/{principal_id}", "can_use_json": true, @@ -207546,7 +207643,7 @@ }, { "name": "effective_entitlements", - "description": "The principal's full effective entitlements granted in this workspace: every entitlement it holds\nwhether granted directly or via group membership. Populated on Get; empty on List.", + "description": "Every entitlement the principal holds in this workspace, whether granted directly or through\ngroup membership. Get responses populate this field. List responses leave it empty.", "is_output_only": true, "is_request_body_field": true, "entity": { @@ -207578,7 +207675,7 @@ }, { "name": "entitlements", - "description": "Entitlements granted directly to the principal on this workspace. The only client-settable\nfield: create and update manage exactly this set (including entitlements the principal also\nholds via a group).\nNot populated by ListWorkspaceAssignmentDetails (omitted for scalability); call\nGetWorkspaceAssignmentDetail to read the entitlements for a single principal.", + "description": "Entitlements granted directly to the principal on this workspace. This is the only\nclient-settable field. Create and update manage exactly this set, including entitlements the\nprincipal also holds through a group.\nList responses leave this field empty. Get a single principal to read its entitlements.", "is_request_body_field": true, "entity": { "pascal_name": "EntitlementList", diff --git a/.nextchanges/dependency-updates/bump-sdk-0.169.0.md b/.nextchanges/dependency-updates/bump-sdk-0.169.0.md new file mode 100644 index 00000000000..c4069fa3d6d --- /dev/null +++ b/.nextchanges/dependency-updates/bump-sdk-0.169.0.md @@ -0,0 +1 @@ +Bump `github.com/databricks/databricks-sdk-go` from v0.166.0 to v0.169.0. diff --git a/acceptance/bundle/refschema/out.fields.txt b/acceptance/bundle/refschema/out.fields.txt index 27cd4797a6d..6c2b033fa97 100644 --- a/acceptance/bundle/refschema/out.fields.txt +++ b/acceptance/bundle/refschema/out.fields.txt @@ -1868,6 +1868,7 @@ resources.jobs.*.trigger.table_update.wait_after_last_change_seconds int ALL resources.jobs.*.trigger_state *jobs.TriggerStateProto REMOTE resources.jobs.*.trigger_state.file_arrival *jobs.FileArrivalTriggerState REMOTE resources.jobs.*.trigger_state.file_arrival.using_file_events bool REMOTE +resources.jobs.*.trigger_state.pause_status jobs.PauseStatus REMOTE resources.jobs.*.trigger_state.sql_condition *jobs.SqlConditionState REMOTE resources.jobs.*.trigger_state.sql_condition.latest_condition_evaluation_satisfied bool REMOTE resources.jobs.*.trigger_state.sql_condition.latest_condition_evaluation_sql_session_id string REMOTE diff --git a/acceptance/help/output.txt b/acceptance/help/output.txt index 8a6d2e0dae5..a9df8fcc289 100644 --- a/acceptance/help/output.txt +++ b/acceptance/help/output.txt @@ -90,7 +90,7 @@ Unity Catalog resource-quotas Unity Catalog enforces resource quotas on all securable objects, which limits the number of resources that can be created. rfa *Public Preview* Request for Access enables users to request access for Unity Catalog securables. schemas A schema (also called a database) is the second layer of Unity Catalog’s three-level namespace. - secrets-uc *Public Preview* A secret is a Unity Catalog securable object that stores sensitive credential data (such as passwords, tokens, and keys) within a three-level namespace (**catalog_name.schema_name.secret_name**). + secrets-uc A secret is a Unity Catalog securable object that stores sensitive credential data (such as passwords, tokens, and keys) within a three-level namespace (**catalog_name.schema_name.secret_name**). storage-credentials A storage credential represents an authentication and authorization mechanism for accessing data stored on your cloud tenant. system-schemas *Public Preview* A system schema is a schema that lives within the system catalog. table-constraints Primary key and foreign key constraints encode relationships between fields in tables. diff --git a/bundle/schema/jsonschema.json b/bundle/schema/jsonschema.json index 7e1fe6dd9fa..b4084979746 100644 --- a/bundle/schema/jsonschema.json +++ b/bundle/schema/jsonschema.json @@ -2422,15 +2422,15 @@ "description": "A secret stored in Unity Catalog. Secrets are three-level namespace objects\n(catalog.schema.secret) that securely store sensitive credential data such as\npasswords, tokens, and keys.", "properties": { "catalog_name": { - "description": "[Public Preview] The name of the catalog where the schema and the secret reside.", + "description": "The name of the catalog where the schema and the secret reside.", "$ref": "#/$defs/string" }, "comment": { - "description": "[Public Preview] User-provided free-form text description of the secret.", + "description": "User-provided free-form text description of the secret.", "$ref": "#/$defs/string" }, "expire_time": { - "description": "[Public Preview] User-provided expiration time of the secret. Purely informational; does not trigger automatic actions.", + "description": "User-provided expiration time of the secret. Purely informational; does not trigger automatic actions.", "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/common/types/time.Time" }, "grants": { @@ -2442,19 +2442,19 @@ "$ref": "#/$defs/github.com/databricks/cli/bundle/config/resources.Lifecycle" }, "name": { - "description": "[Public Preview] The name of the secret, relative to its parent schema.", + "description": "The name of the secret, relative to its parent schema.", "$ref": "#/$defs/string" }, "owner": { - "description": "[Public Preview] The owner of the secret. Defaults to the creating principal on creation. Can be updated to\ntransfer ownership of the secret to another principal.", + "description": "The owner of the secret. Defaults to the creating principal on creation. Can be updated to\ntransfer ownership of the secret to another principal.", "$ref": "#/$defs/string" }, "schema_name": { - "description": "[Public Preview] The name of the schema where the secret resides.", + "description": "The name of the schema where the secret resides.", "$ref": "#/$defs/string" }, "value": { - "description": "[Public Preview] The secret value to store. Must be a variable reference (e.g. ${var.my_secret}) to prevent plain-text secrets in configuration files.", + "description": "The secret value to store. Must be a variable reference (e.g. ${var.my_secret}) to prevent plain-text secrets in configuration files.", "$ref": "#/$defs/string" } }, @@ -10487,16 +10487,12 @@ "description": "Fanout configuration for multi-table routing from streaming sources.\nRoutes each input record to a destination table based on a routing\nkey derived from the record. The key value becomes the table name\nsuffix: {destination_catalog}.{destination_schema}.{key_value}.", "properties": { "fanout_by": { - "description": "[Private Preview] Column path or SQL expression whose value determines the destination table.\nSupports dotted paths (e.g. \"value.event_name\") and expressions\n(e.g. \"value:event_name::string\").", - "$ref": "#/$defs/string", - "x-databricks-launch-stage": "PRIVATE_PREVIEW", - "doNotSuggest": true + "description": "[Beta] Column path or SQL expression whose value determines the destination table.\nSupports dotted paths (e.g. \"value.event_name\") and expressions\n(e.g. \"value:event_name::string\").", + "$ref": "#/$defs/string" }, "transforms": { - "description": "[Private Preview] Optional transforms applied to each route's DataFrame before writing\nto the destination table.", - "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/pipelines.Transformer", - "x-databricks-launch-stage": "PRIVATE_PREVIEW", - "doNotSuggest": true + "description": "[Beta] Optional transforms applied to each route's DataFrame before writing\nto the destination table.", + "$ref": "#/$defs/slice/github.com/databricks/databricks-sdk-go/service/pipelines.Transformer" } }, "additionalProperties": false @@ -11574,10 +11570,8 @@ "$ref": "#/$defs/string" }, "fanout_options": { - "description": "[Private Preview] Fanout options for multi-table routing from streaming sources.\nWhen set, records are routed to destination tables based on a\nper-record routing key. The key value becomes the table name:\n{destination_catalog}.{destination_schema}.{key_value}.", - "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/pipelines.IngestionPipelineDefinitionFanoutOptions", - "x-databricks-launch-stage": "PRIVATE_PREVIEW", - "doNotSuggest": true + "description": "[Beta] Fanout options for multi-table routing from streaming sources.\nWhen set, records are routed to destination tables based on a\nper-record routing key. The key value becomes the table name:\n{destination_catalog}.{destination_schema}.{key_value}.", + "$ref": "#/$defs/github.com/databricks/databricks-sdk-go/service/pipelines.IngestionPipelineDefinitionFanoutOptions" }, "source_catalog": { "description": "[Public Preview] The source catalog name. Might be optional depending on the type of source.", diff --git a/cmd/account/iam-v2/iam-v2.go b/cmd/account/iam-v2/iam-v2.go index a87ef08b240..4ab69cc77ab 100644 --- a/cmd/account/iam-v2/iam-v2.go +++ b/cmd/account/iam-v2/iam-v2.go @@ -80,11 +80,11 @@ func newCreateWorkspaceAssignmentDetail() *cobra.Command { cmd.Short = `Create a workspace assignment detail.` cmd.Long = `Create a workspace assignment detail. - Creates a workspace assignment detail for a principal. Entitlement grants are - applied individually and non-atomically — if a failure occurs partway - through, the principal will be assigned to the workspace but with only a - subset of the requested entitlements. Use GetWorkspaceAssignmentDetail to - confirm which entitlements were successfully granted. + Creates a workspace assignment detail for a principal. Entitlements are + granted one at a time rather than atomically. If the request fails partway + through, the principal stays assigned to the workspace with only some of the + requested entitlements. Get the assignment detail afterwards to confirm which + entitlements were granted. Arguments: WORKSPACE_ID: Required. The workspace ID for which the workspace assignment detail is @@ -178,11 +178,10 @@ func newDeleteWorkspaceAssignmentDetail() *cobra.Command { cmd.Short = `Delete a workspace assignment detail.` cmd.Long = `Delete a workspace assignment detail. - Deletes a workspace assignment detail for a principal, revoking all associated - entitlements. Entitlement revocations are applied individually and - non-atomically — if a failure occurs partway through, the principal remains - assigned with a subset of its original entitlements, and the operation is safe - to retry. + Deletes a workspace assignment detail for a principal, revoking all of its + entitlements. Entitlements are revoked one at a time rather than atomically. + If the request fails partway through, the principal stays assigned with some + of its original entitlements. Retrying is safe. Arguments: WORKSPACE_ID: The workspace ID where the principal has access. @@ -408,10 +407,10 @@ func newListWorkspaceAssignmentDetails() *cobra.Command { cmd.Short = `List workspace assignment details for a workspace.` cmd.Long = `List workspace assignment details for a workspace. - Lists workspace assignment details for a workspace. For scalability, the - response omits the per-principal entitlement fields (entitlements and - effective_entitlements); call GetWorkspaceAssignmentDetail to read - entitlements for a single principal. + Lists workspace assignment details for a workspace. The response omits the + per-principal entitlement fields (entitlements and + effective_entitlements). To read the entitlements for a single principal, + get that principal's assignment detail. Arguments: WORKSPACE_ID: Required. The workspace ID for which the workspace assignment details are @@ -570,9 +569,10 @@ func newResolveServicePrincipal() *cobra.Command { Resolve an external service principal in the Databricks account. - Resolves an SP with the given external ID from the customer's IdP. If the SP - does not exist, it will be created. If the customer is not onboarded onto - Automatic Identity Management (AIM), this will return an error. + Resolves a service principal with the given external ID from the customer's + IdP. If the service principal does not exist, it will be created. If the + customer is not onboarded onto Automatic Identity Management (AIM), this will + return an error. Arguments: EXTERNAL_ID: Required. The external ID of the service principal in the customer's IdP.` @@ -747,10 +747,9 @@ func newUpdateWorkspaceAssignmentDetail() *cobra.Command { cmd.Long = `Update a workspace assignment detail. Updates the entitlements of a directly assigned principal in a workspace. - Entitlement changes are applied individually and non-atomically — if a - failure occurs partway through, only a subset of the requested changes may - have been applied. Use GetWorkspaceAssignmentDetail to confirm the final - state. + Changes are applied one at a time rather than atomically. If the request fails + partway through, only some of the requested changes take effect. Get the + assignment detail afterwards to confirm the final state. Arguments: WORKSPACE_ID: Required. The workspace ID for which the workspace assignment detail is diff --git a/cmd/account/users-v2/users-v2.go b/cmd/account/users-v2/users-v2.go index baaec49dfc6..5fff739b461 100644 --- a/cmd/account/users-v2/users-v2.go +++ b/cmd/account/users-v2/users-v2.go @@ -363,7 +363,8 @@ func newPatch() *cobra.Command { cmd.Long = `Update user details. Partially updates a user resource by applying the supplied operations on - specific user attributes. + specific user attributes. The userName and emails attributes cannot be + updated through this API; any supplied changes to them are ignored (no-op). Arguments: ID: Unique ID in the Databricks workspace.` @@ -444,7 +445,9 @@ func newUpdate() *cobra.Command { cmd.Short = `Replace a user.` cmd.Long = `Replace a user. - Replaces a user's information with the data supplied in request. + Replaces a user's information with the data supplied in request. The + userName and emails attributes cannot be updated through this API; any + supplied changes to them are ignored (no-op). Arguments: ID: Databricks user ID.` diff --git a/cmd/workspace/jobs/jobs.go b/cmd/workspace/jobs/jobs.go index cb47b4c0bb0..a364aba409f 100644 --- a/cmd/workspace/jobs/jobs.go +++ b/cmd/workspace/jobs/jobs.go @@ -1137,7 +1137,8 @@ func newListRuns() *cobra.Command { cmd.Short = `List job runs.` cmd.Long = `List job runs. - List runs in descending order by start time.` + List runs in descending order by end time. If a run has not finished, it falls + back to start time.` cmd.Annotations = make(map[string]string) cmd.Annotations["launch_stage"] = "GA" diff --git a/cmd/workspace/secrets-uc/secrets-uc.go b/cmd/workspace/secrets-uc/secrets-uc.go index 41fc2f77faa..2c1d14b5fb0 100644 --- a/cmd/workspace/secrets-uc/secrets-uc.go +++ b/cmd/workspace/secrets-uc/secrets-uc.go @@ -25,10 +25,8 @@ var cmdOverrides []func(*cobra.Command) func New() *cobra.Command { cmd := &cobra.Command{ Use: "secrets-uc", - Short: `*Public Preview* A secret is a Unity Catalog securable object that stores sensitive credential data (such as passwords, tokens, and keys) within a three-level namespace (**catalog_name.schema_name.secret_name**).`, - Long: `This command is in Public Preview and may change without notice. - -A secret is a Unity Catalog securable object that stores sensitive credential + Short: `A secret is a Unity Catalog securable object that stores sensitive credential data (such as passwords, tokens, and keys) within a three-level namespace (**catalog_name.schema_name.secret_name**).`, + Long: `A secret is a Unity Catalog securable object that stores sensitive credential data (such as passwords, tokens, and keys) within a three-level namespace (**catalog_name.schema_name.secret_name**). @@ -39,8 +37,8 @@ A secret is a Unity Catalog securable object that stores sensitive credential } cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_PREVIEW" - cmd.Annotations["launch_stage_display"] = "Public Preview" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" // Add methods cmd.AddCommand(newCreateSecret()) @@ -81,10 +79,8 @@ func newCreateSecret() *cobra.Command { cmd.Flags().StringVar(&createSecretReq.Secret.Owner, "owner", createSecretReq.Secret.Owner, `The owner of the secret.`) cmd.Use = "create-secret NAME CATALOG_NAME SCHEMA_NAME VALUE" - cmd.Short = `*Public Preview* Create a secret.` - cmd.Long = `This command is in Public Preview and may change without notice. - -Create a secret. + cmd.Short = `Create a secret.` + cmd.Long = `Create a secret. Creates a new secret in Unity Catalog. @@ -106,8 +102,8 @@ Create a secret. keys, and other sensitive credential data.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_PREVIEW" - cmd.Annotations["launch_stage_display"] = "Public Preview" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { @@ -196,10 +192,8 @@ func newDeleteSecret() *cobra.Command { var deleteSecretReq catalog.DeleteSecretRequest cmd.Use = "delete-secret FULL_NAME" - cmd.Short = `*Public Preview* Delete a secret.` - cmd.Long = `This command is in Public Preview and may change without notice. - -Delete a secret. + cmd.Short = `Delete a secret.` + cmd.Long = `Delete a secret. Deletes a secret by its three-level (fully qualified) name. @@ -210,8 +204,8 @@ Delete a secret. **catalog_name.schema_name.secret_name**).` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_PREVIEW" - cmd.Annotations["launch_stage_display"] = "Public Preview" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -259,10 +253,8 @@ func newGetSecret() *cobra.Command { var getSecretReq catalog.GetSecretRequest cmd.Use = "get-secret FULL_NAME" - cmd.Short = `*Public Preview* Get a secret.` - cmd.Long = `This command is in Public Preview and may change without notice. - -Get a secret. + cmd.Short = `Get a secret.` + cmd.Long = `Get a secret. Gets a secret by its three-level (fully qualified) name. @@ -278,8 +270,8 @@ Get a secret. **catalog_name.schema_name.secret_name**).` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_PREVIEW" - cmd.Annotations["launch_stage_display"] = "Public Preview" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(1) @@ -343,10 +335,8 @@ func newListSecrets() *cobra.Command { cmd.Flags().Lookup("page-token").Hidden = true cmd.Use = "list-secrets" - cmd.Short = `*Public Preview* List secrets.` - cmd.Long = `This command is in Public Preview and may change without notice. - -List secrets. + cmd.Short = `List secrets.` + cmd.Long = `List secrets. Lists secrets in Unity Catalog. @@ -358,8 +348,8 @@ List secrets. **page_token** field from the response to retrieve subsequent pages.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_PREVIEW" - cmd.Annotations["launch_stage_display"] = "Public Preview" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { check := root.ExactArgs(0) @@ -418,10 +408,8 @@ func newUpdateSecret() *cobra.Command { cmd.Flags().StringVar(&updateSecretReq.Secret.Owner, "owner", updateSecretReq.Secret.Owner, `The owner of the secret.`) cmd.Use = "update-secret FULL_NAME UPDATE_MASK NAME CATALOG_NAME SCHEMA_NAME VALUE" - cmd.Short = `*Public Preview* Update a secret.` - cmd.Long = `This command is in Public Preview and may change without notice. - -Update a secret. + cmd.Short = `Update a secret.` + cmd.Long = `Update a secret. Updates an existing secret in Unity Catalog. @@ -451,8 +439,8 @@ Update a secret. keys, and other sensitive credential data.` cmd.Annotations = make(map[string]string) - cmd.Annotations["launch_stage"] = "PUBLIC_PREVIEW" - cmd.Annotations["launch_stage_display"] = "Public Preview" + cmd.Annotations["launch_stage"] = "GA" + cmd.Annotations["launch_stage_display"] = "GA" cmd.Args = func(cmd *cobra.Command, args []string) error { if cmd.Flags().Changed("json") { diff --git a/cmd/workspace/users-v2/users-v2.go b/cmd/workspace/users-v2/users-v2.go index 3d7b0c63415..b3c3b08b6b5 100644 --- a/cmd/workspace/users-v2/users-v2.go +++ b/cmd/workspace/users-v2/users-v2.go @@ -485,7 +485,8 @@ func newPatch() *cobra.Command { Update user details. Partially updates a user resource by applying the supplied operations on - specific user attributes. + specific user attributes. The userName and emails attributes cannot be + updated through this API; any supplied changes to them are ignored (no-op). Arguments: ID: Unique ID in the Databricks workspace.` @@ -647,7 +648,9 @@ func newUpdate() *cobra.Command { Replace a user. - Replaces a user's information with the data supplied in request. + Replaces a user's information with the data supplied in request. The + userName and emails attributes cannot be updated through this API; any + supplied changes to them are ignored (no-op). Arguments: ID: Databricks user ID.` diff --git a/cmd/workspace/workspace-iam-v2/workspace-iam-v2.go b/cmd/workspace/workspace-iam-v2/workspace-iam-v2.go index ed0be0fb600..393f70bc923 100644 --- a/cmd/workspace/workspace-iam-v2/workspace-iam-v2.go +++ b/cmd/workspace/workspace-iam-v2/workspace-iam-v2.go @@ -80,12 +80,11 @@ func newCreateWorkspaceAssignmentDetailProxy() *cobra.Command { cmd.Short = `Create a workspace assignment detail for a workspace.` cmd.Long = `Create a workspace assignment detail for a workspace. - Creates a workspace assignment detail for a principal (workspace-level proxy). - Entitlement grants are applied individually and non-atomically — if a - failure occurs partway through, the principal will be assigned to the - workspace but with only a subset of the requested entitlements. Use - GetWorkspaceAssignmentDetail to confirm which entitlements were successfully - granted. + Creates a workspace assignment detail for a principal in the calling + workspace. Entitlements are granted one at a time rather than atomically. If + the request fails partway through, the principal stays assigned to the + workspace with only some of the requested entitlements. Get the assignment + detail afterwards to confirm which entitlements were granted. Arguments: PRINCIPAL_ID: The internal ID of the principal (user/sp/group) in Databricks.` @@ -172,11 +171,11 @@ func newDeleteWorkspaceAssignmentDetailProxy() *cobra.Command { cmd.Short = `Delete a workspace assignment detail for a workspace.` cmd.Long = `Delete a workspace assignment detail for a workspace. - Deletes a workspace assignment detail for a principal (workspace-level proxy), - revoking all associated entitlements. Entitlement revocations are applied - individually and non-atomically — if a failure occurs partway through, the - principal remains assigned with a subset of its original entitlements, and the - operation is safe to retry. + Deletes a workspace assignment detail for a principal in the calling + workspace, revoking all of its entitlements. Entitlements are revoked one at a + time rather than atomically. If the request fails partway through, the + principal stays assigned with some of its original entitlements. Retrying is + safe. Arguments: PRINCIPAL_ID: Required. ID of the principal in Databricks to delete workspace assignment @@ -313,8 +312,7 @@ func newGetWorkspaceAssignmentDetailProxy() *cobra.Command { cmd.Short = `Get workspace assignment details for a principal.` cmd.Long = `Get workspace assignment details for a principal. - Returns the assignment details for a principal in a workspace (workspace-level - proxy). + Returns the assignment details for a principal in the calling workspace. Arguments: PRINCIPAL_ID: Required. The internal ID of the principal (user/sp/group) for which the @@ -377,16 +375,16 @@ func newListWorkspaceAssignmentDetailsProxy() *cobra.Command { var listWorkspaceAssignmentDetailsProxyReq iamv2.ListWorkspaceAssignmentDetailsProxyRequest cmd.Flags().IntVar(&listWorkspaceAssignmentDetailsProxyReq.PageSize, "page-size", listWorkspaceAssignmentDetailsProxyReq.PageSize, `The maximum number of workspace assignment details to return.`) - cmd.Flags().StringVar(&listWorkspaceAssignmentDetailsProxyReq.PageToken, "page-token", listWorkspaceAssignmentDetailsProxyReq.PageToken, `A page token, received from a previous ListWorkspaceAssignmentDetailsProxy call.`) + cmd.Flags().StringVar(&listWorkspaceAssignmentDetailsProxyReq.PageToken, "page-token", listWorkspaceAssignmentDetailsProxyReq.PageToken, `A page token from a previous list call.`) cmd.Use = "list-workspace-assignment-details-proxy" cmd.Short = `List workspace assignment details for a workspace.` cmd.Long = `List workspace assignment details for a workspace. - Lists workspace assignment details for a workspace (workspace-level proxy). - For scalability, the response omits the per-principal entitlement fields - (entitlements and effective_entitlements); call - GetWorkspaceAssignmentDetailProxy to read entitlements for a single principal.` + Lists workspace assignment details for the calling workspace. The response + omits the per-principal entitlement fields (entitlements and + effective_entitlements). To read the entitlements for a single principal, + get that principal's assignment detail.` // This command is being previewed; hide from help output. cmd.Hidden = true @@ -536,9 +534,10 @@ func newResolveServicePrincipalProxy() *cobra.Command { Resolve an external service principal in the Databricks account. - Resolves an SP with the given external ID from the customer's IdP. If the SP - does not exist, it will be created. If the customer is not onboarded onto - Automatic Identity Management (AIM), this will return an error. + Resolves a service principal with the given external ID from the customer's + IdP. If the service principal does not exist, it will be created. If the + customer is not onboarded onto Automatic Identity Management (AIM), this will + return an error. Arguments: EXTERNAL_ID: Required. The external ID of the service principal in the customer's IdP.` @@ -712,11 +711,10 @@ func newUpdateWorkspaceAssignmentDetailProxy() *cobra.Command { cmd.Short = `Update a workspace assignment detail for a workspace.` cmd.Long = `Update a workspace assignment detail for a workspace. - Updates the entitlements of a directly assigned principal in a workspace - (workspace-level proxy). Entitlement changes are applied individually and - non-atomically — if a failure occurs partway through, only a subset of the - requested changes may have been applied. Use GetWorkspaceAssignmentDetail to - confirm the final state. + Updates the entitlements of a directly assigned principal in the calling + workspace. Changes are applied one at a time rather than atomically. If the + request fails partway through, only some of the requested changes take effect. + Get the assignment detail afterwards to confirm the final state. Arguments: PRINCIPAL_ID: Required. ID of the principal in Databricks. diff --git a/go.mod b/go.mod index c73cf1f2a96..ba327d2fb24 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/charmbracelet/huh v1.0.0 // MIT github.com/charmbracelet/lipgloss v1.1.0 // MIT github.com/charmbracelet/x/ansi v0.11.7 // MIT - github.com/databricks/databricks-sdk-go v0.166.0 // Apache-2.0 + github.com/databricks/databricks-sdk-go v0.169.0 // Apache-2.0 github.com/google/jsonschema-go v0.4.3 // MIT github.com/google/uuid v1.6.0 // BSD-3-Clause github.com/gorilla/websocket v1.5.3 // BSD-2-Clause diff --git a/go.sum b/go.sum index f282818a6af..a3bc6f62e24 100644 --- a/go.sum +++ b/go.sum @@ -69,8 +69,8 @@ github.com/cyphar/filepath-securejoin v0.4.1 h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22r github.com/cyphar/filepath-securejoin v0.4.1/go.mod h1:Sdj7gXlvMcPZsbhwhQ33GguGLDGQL7h7bg04C/+u9jI= github.com/danieljoos/wincred v1.2.3 h1:v7dZC2x32Ut3nEfRH+vhoZGvN72+dQ/snVXo/vMFLdQ= github.com/danieljoos/wincred v1.2.3/go.mod h1:6qqX0WNrS4RzPZ1tnroDzq9kY3fu1KwE7MRLQK4X0bs= -github.com/databricks/databricks-sdk-go v0.166.0 h1:OrVvXMr6MFf3NXZn7EIddzpDE8E/er1TrLcWeoLtOwU= -github.com/databricks/databricks-sdk-go v0.166.0/go.mod h1:C5LNgGe6hGuRrTwoxFmuup3XtQQEaqtq0e+K8IFDIS4= +github.com/databricks/databricks-sdk-go v0.169.0 h1:zKwwPV5YVG0sWgBztoZbPD0ET+e7+AEfXxQgg0m9beY= +github.com/databricks/databricks-sdk-go v0.169.0/go.mod h1:C5LNgGe6hGuRrTwoxFmuup3XtQQEaqtq0e+K8IFDIS4= github.com/databricks/sdk-go/auth v0.0.0-dev h1:SyRGZvExH5TG9ynZEqNn+m+xTY42VOXr2GOxgNOQexk= github.com/databricks/sdk-go/auth v0.0.0-dev/go.mod h1:Tj09W13MScUaix94cR0He9msAwe40JAQKuS2jP/ofQA= github.com/databricks/sdk-go/core v0.0.1-dev h1:sIA1hCEJyl8/012vOBUIkDjsycNCD8RwfP76SCM0QbQ= diff --git a/python/databricks/bundles/pipelines/_models/ingestion_pipeline_definition_fanout_options.py b/python/databricks/bundles/pipelines/_models/ingestion_pipeline_definition_fanout_options.py index 74183042358..c7c433a984c 100644 --- a/python/databricks/bundles/pipelines/_models/ingestion_pipeline_definition_fanout_options.py +++ b/python/databricks/bundles/pipelines/_models/ingestion_pipeline_definition_fanout_options.py @@ -16,8 +16,6 @@ @dataclass(kw_only=True) class IngestionPipelineDefinitionFanoutOptions: """ - :meta private: [EXPERIMENTAL] - Fanout configuration for multi-table routing from streaming sources. Routes each input record to a destination table based on a routing key derived from the record. The key value becomes the table name @@ -26,18 +24,14 @@ class IngestionPipelineDefinitionFanoutOptions: fanout_by: VariableOrOptional[str] = None """ - :meta private: [EXPERIMENTAL] - - [Private Preview] Column path or SQL expression whose value determines the destination table. + [Beta] Column path or SQL expression whose value determines the destination table. Supports dotted paths (e.g. "value.event_name") and expressions (e.g. "value:event_name::string"). """ transforms: VariableOrList[Transformer] = field(default_factory=list) """ - :meta private: [EXPERIMENTAL] - - [Private Preview] Optional transforms applied to each route's DataFrame before writing + [Beta] Optional transforms applied to each route's DataFrame before writing to the destination table. """ @@ -54,18 +48,14 @@ class IngestionPipelineDefinitionFanoutOptionsDict(TypedDict, total=False): fanout_by: VariableOrOptional[str] """ - :meta private: [EXPERIMENTAL] - - [Private Preview] Column path or SQL expression whose value determines the destination table. + [Beta] Column path or SQL expression whose value determines the destination table. Supports dotted paths (e.g. "value.event_name") and expressions (e.g. "value:event_name::string"). """ transforms: VariableOrList[TransformerParam] """ - :meta private: [EXPERIMENTAL] - - [Private Preview] Optional transforms applied to each route's DataFrame before writing + [Beta] Optional transforms applied to each route's DataFrame before writing to the destination table. """ diff --git a/python/databricks/bundles/pipelines/_models/schema_spec.py b/python/databricks/bundles/pipelines/_models/schema_spec.py index 84c9a0e5a0e..fdb43f9ca4c 100644 --- a/python/databricks/bundles/pipelines/_models/schema_spec.py +++ b/python/databricks/bundles/pipelines/_models/schema_spec.py @@ -47,9 +47,7 @@ class SchemaSpec: fanout_options: VariableOrOptional[IngestionPipelineDefinitionFanoutOptions] = None """ - :meta private: [EXPERIMENTAL] - - [Private Preview] Fanout options for multi-table routing from streaming sources. + [Beta] Fanout options for multi-table routing from streaming sources. When set, records are routed to destination tables based on a per-record routing key. The key value becomes the table name: {destination_catalog}.{destination_schema}.{key_value}. @@ -98,9 +96,7 @@ class SchemaSpecDict(TypedDict, total=False): fanout_options: VariableOrOptional[IngestionPipelineDefinitionFanoutOptionsParam] """ - :meta private: [EXPERIMENTAL] - - [Private Preview] Fanout options for multi-table routing from streaming sources. + [Beta] Fanout options for multi-table routing from streaming sources. When set, records are routed to destination tables based on a per-record routing key. The key value becomes the table name: {destination_catalog}.{destination_schema}.{key_value}. From d82a7a07c9a8c530d01ac269fdd4b46a640e1f5c Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Wed, 12 Aug 2026 11:30:26 +0000 Subject: [PATCH 3/3] acc: merge identical terraform/direct request goldens into single files Several acceptance tests recorded per-engine golden files (out.X.terraform.* and out.X.direct.*) that are byte-identical because the operation is engine-independent. Merge each such pair into a single engine-agnostic out.X.* file and drop the $DATABRICKS_BUNDLE_ENGINE suffix from the script's redirect. Only files written by a dedicated redirect in the test's own script are merged. Files produced by the shared permissions _script or the postgres_projects print_requests helper (which also emit genuinely per-engine-differing files), and files consumed by the Phase-1 user_agent and permissions analyzers (verify.py / analyze_requests.py parse the engine from the filename), are intentionally left per-engine. Follow-up to review feedback on #6246. Co-authored-by: Isaac --- ...uccess.direct.txt => out.bind-success.txt} | 0 .../deployment/bind/pipelines/recreate/script | 2 +- .../update/out.bind-success.direct.txt | 5 ---- .../update/out.bind-success.terraform.txt | 5 ---- .../out.bind-success.txt} | 0 .../deployment/bind/pipelines/update/script | 2 +- .../delete_all/out.plan_delete.terraform.txt | 14 ----------- ..._delete.direct.txt => out.plan_delete.txt} | 0 ..._sanity.direct.txt => out.plan_sanity.txt} | 0 .../job_id_big_graph/delete_all/script | 4 ++-- .../destroy/out.plan_sanity.direct.txt | 1 - .../destroy/out.plan_sanity.terraform.txt | 1 - .../out.plan_sanity.txt} | 0 .../job_id_big_graph/destroy/script | 2 +- .../out.deploy.terraform.txt | 6 ----- .../{out.deploy.direct.txt => out.deploy.txt} | 0 .../out.destroy.terraform.txt | 17 ------------- ...out.destroy.direct.txt => out.destroy.txt} | 0 ....direct.json => out.destroy_requests.json} | 0 .../out.destroy_requests.terraform.json | 24 ------------------- .../volume_path_contains_id/script | 6 ++--- .../out.plan_after_deploy.terraform.txt | 1 - ...y.direct.txt => out.plan_after_deploy.txt} | 0 .../dashboards/change-parent-path/script | 2 +- .../out.post.requests.terraform.txt | 14 ----------- ...uests.direct.txt => out.post.requests.txt} | 0 .../dashboards/dataset-catalog-schema/script | 2 +- .../out.plan.terraform.txt | 3 --- .../{out.plan.direct.txt => out.plan.txt} | 0 .../schemas/duplicate_privileges/script | 2 +- .../remove_principal/out.grants.terraform.txt | 2 -- .../{out.grants.direct.txt => out.grants.txt} | 0 .../grants/schemas/remove_principal/script | 2 +- .../destroy/out.destroy.terraform.txt | 6 ----- ...out.destroy.direct.txt => out.destroy.txt} | 0 .../jobs/remote_delete/destroy/script | 2 +- .../out.deploy_removed.terraform.txt | 6 ----- ...oved.direct.txt => out.deploy_removed.txt} | 0 .../remote_delete/removed_from_config/script | 2 +- .../basic/out.first-requests.terraform.txt | 9 ------- ...ests.direct.txt => out.first-requests.txt} | 0 .../model_serving_endpoints/basic/script | 2 +- ...rst-get.direct.json => out.first-get.json} | 0 .../out.first-get.terraform.json | 4 ---- .../recreate/route-optimized/script | 2 +- .../num-workers-zero/out.deploy.terraform.txt | 6 ----- .../{out.deploy.direct.txt => out.deploy.txt} | 0 .../pipelines/num-workers-zero/script | 2 +- .../out.destroy.terraform.txt | 16 ------------- ...out.destroy.direct.txt => out.destroy.txt} | 0 .../postgres_branches/replace_existing/script | 2 +- .../out.destroy.terraform.txt | 17 ------------- ...out.destroy.direct.txt => out.destroy.txt} | 0 .../replace_existing/script | 2 +- .../create/out.deploy.terraform.txt | 6 ----- .../{out.deploy.direct.txt => out.deploy.txt} | 0 .../resources/quality_monitors/create/script | 2 +- .../out.drymigrate.terraform.txt | 0 ...ymigrate.direct.txt => out.drymigrate.txt} | 0 .../telemetry/deploy-whl-artifacts/script | 2 +- 60 files changed, 21 insertions(+), 184 deletions(-) rename acceptance/bundle/deployment/bind/pipelines/recreate/{out.bind-success.direct.txt => out.bind-success.txt} (100%) delete mode 100644 acceptance/bundle/deployment/bind/pipelines/update/out.bind-success.direct.txt delete mode 100644 acceptance/bundle/deployment/bind/pipelines/update/out.bind-success.terraform.txt rename acceptance/bundle/deployment/bind/pipelines/{recreate/out.bind-success.terraform.txt => update/out.bind-success.txt} (100%) delete mode 100644 acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_delete.terraform.txt rename acceptance/bundle/resource_deps/job_id_big_graph/delete_all/{out.plan_delete.direct.txt => out.plan_delete.txt} (100%) rename acceptance/bundle/resource_deps/job_id_big_graph/delete_all/{out.plan_sanity.direct.txt => out.plan_sanity.txt} (100%) delete mode 100644 acceptance/bundle/resource_deps/job_id_big_graph/destroy/out.plan_sanity.direct.txt delete mode 100644 acceptance/bundle/resource_deps/job_id_big_graph/destroy/out.plan_sanity.terraform.txt rename acceptance/bundle/resource_deps/job_id_big_graph/{delete_all/out.plan_sanity.terraform.txt => destroy/out.plan_sanity.txt} (100%) delete mode 100644 acceptance/bundle/resource_deps/volume_path_contains_id/out.deploy.terraform.txt rename acceptance/bundle/resource_deps/volume_path_contains_id/{out.deploy.direct.txt => out.deploy.txt} (100%) delete mode 100644 acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy.terraform.txt rename acceptance/bundle/resource_deps/volume_path_contains_id/{out.destroy.direct.txt => out.destroy.txt} (100%) rename acceptance/bundle/resource_deps/volume_path_contains_id/{out.destroy_requests.direct.json => out.destroy_requests.json} (100%) delete mode 100644 acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy_requests.terraform.json delete mode 100644 acceptance/bundle/resources/dashboards/change-parent-path/out.plan_after_deploy.terraform.txt rename acceptance/bundle/resources/dashboards/change-parent-path/{out.plan_after_deploy.direct.txt => out.plan_after_deploy.txt} (100%) delete mode 100644 acceptance/bundle/resources/dashboards/dataset-catalog-schema/out.post.requests.terraform.txt rename acceptance/bundle/resources/dashboards/dataset-catalog-schema/{out.post.requests.direct.txt => out.post.requests.txt} (100%) delete mode 100644 acceptance/bundle/resources/grants/schemas/duplicate_privileges/out.plan.terraform.txt rename acceptance/bundle/resources/grants/schemas/duplicate_privileges/{out.plan.direct.txt => out.plan.txt} (100%) delete mode 100644 acceptance/bundle/resources/grants/schemas/remove_principal/out.grants.terraform.txt rename acceptance/bundle/resources/grants/schemas/remove_principal/{out.grants.direct.txt => out.grants.txt} (100%) delete mode 100644 acceptance/bundle/resources/jobs/remote_delete/destroy/out.destroy.terraform.txt rename acceptance/bundle/resources/jobs/remote_delete/destroy/{out.destroy.direct.txt => out.destroy.txt} (100%) delete mode 100644 acceptance/bundle/resources/jobs/remote_delete/removed_from_config/out.deploy_removed.terraform.txt rename acceptance/bundle/resources/jobs/remote_delete/removed_from_config/{out.deploy_removed.direct.txt => out.deploy_removed.txt} (100%) delete mode 100644 acceptance/bundle/resources/model_serving_endpoints/basic/out.first-requests.terraform.txt rename acceptance/bundle/resources/model_serving_endpoints/basic/{out.first-requests.direct.txt => out.first-requests.txt} (100%) rename acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/{out.first-get.direct.json => out.first-get.json} (100%) delete mode 100644 acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/out.first-get.terraform.json delete mode 100644 acceptance/bundle/resources/pipelines/num-workers-zero/out.deploy.terraform.txt rename acceptance/bundle/resources/pipelines/num-workers-zero/{out.deploy.direct.txt => out.deploy.txt} (100%) delete mode 100644 acceptance/bundle/resources/postgres_branches/replace_existing/out.destroy.terraform.txt rename acceptance/bundle/resources/postgres_branches/replace_existing/{out.destroy.direct.txt => out.destroy.txt} (100%) delete mode 100644 acceptance/bundle/resources/postgres_endpoints/replace_existing/out.destroy.terraform.txt rename acceptance/bundle/resources/postgres_endpoints/replace_existing/{out.destroy.direct.txt => out.destroy.txt} (100%) delete mode 100644 acceptance/bundle/resources/quality_monitors/create/out.deploy.terraform.txt rename acceptance/bundle/resources/quality_monitors/create/{out.deploy.direct.txt => out.deploy.txt} (100%) delete mode 100644 acceptance/bundle/telemetry/deploy-whl-artifacts/out.drymigrate.terraform.txt rename acceptance/bundle/telemetry/deploy-whl-artifacts/{out.drymigrate.direct.txt => out.drymigrate.txt} (100%) diff --git a/acceptance/bundle/deployment/bind/pipelines/recreate/out.bind-success.direct.txt b/acceptance/bundle/deployment/bind/pipelines/recreate/out.bind-success.txt similarity index 100% rename from acceptance/bundle/deployment/bind/pipelines/recreate/out.bind-success.direct.txt rename to acceptance/bundle/deployment/bind/pipelines/recreate/out.bind-success.txt diff --git a/acceptance/bundle/deployment/bind/pipelines/recreate/script b/acceptance/bundle/deployment/bind/pipelines/recreate/script index aba4cfb97a6..0d22e2cb8af 100644 --- a/acceptance/bundle/deployment/bind/pipelines/recreate/script +++ b/acceptance/bundle/deployment/bind/pipelines/recreate/script @@ -9,7 +9,7 @@ trace musterr $CLI bundle deployment bind foo $NEW_PIPELINE_ID &> out.bind-fail. print_requests.py '^//import-file/' '^//workspace/' rm -f out.requests.txt -trace $CLI bundle deployment bind foo $NEW_PIPELINE_ID --auto-approve &> out.bind-success.$DATABRICKS_BUNDLE_ENGINE.txt +trace $CLI bundle deployment bind foo $NEW_PIPELINE_ID --auto-approve &> out.bind-success.txt trace print_requests.py '^//import-file/' '^//workspace/' trace $CLI bundle summary -o json | jq .resources > out.summary.json diff --git a/acceptance/bundle/deployment/bind/pipelines/update/out.bind-success.direct.txt b/acceptance/bundle/deployment/bind/pipelines/update/out.bind-success.direct.txt deleted file mode 100644 index 6c88a3134b8..00000000000 --- a/acceptance/bundle/deployment/bind/pipelines/update/out.bind-success.direct.txt +++ /dev/null @@ -1,5 +0,0 @@ - ->>> [CLI] bundle deployment bind foo [NEW_PIPELINE_ID] --auto-approve -Updating deployment state... -Successfully bound pipeline with an id '[NEW_PIPELINE_ID]' -Run 'bundle deploy' to deploy changes to your workspace diff --git a/acceptance/bundle/deployment/bind/pipelines/update/out.bind-success.terraform.txt b/acceptance/bundle/deployment/bind/pipelines/update/out.bind-success.terraform.txt deleted file mode 100644 index 6c88a3134b8..00000000000 --- a/acceptance/bundle/deployment/bind/pipelines/update/out.bind-success.terraform.txt +++ /dev/null @@ -1,5 +0,0 @@ - ->>> [CLI] bundle deployment bind foo [NEW_PIPELINE_ID] --auto-approve -Updating deployment state... -Successfully bound pipeline with an id '[NEW_PIPELINE_ID]' -Run 'bundle deploy' to deploy changes to your workspace diff --git a/acceptance/bundle/deployment/bind/pipelines/recreate/out.bind-success.terraform.txt b/acceptance/bundle/deployment/bind/pipelines/update/out.bind-success.txt similarity index 100% rename from acceptance/bundle/deployment/bind/pipelines/recreate/out.bind-success.terraform.txt rename to acceptance/bundle/deployment/bind/pipelines/update/out.bind-success.txt diff --git a/acceptance/bundle/deployment/bind/pipelines/update/script b/acceptance/bundle/deployment/bind/pipelines/update/script index 5d2e487f10c..48a4a1a2b4c 100644 --- a/acceptance/bundle/deployment/bind/pipelines/update/script +++ b/acceptance/bundle/deployment/bind/pipelines/update/script @@ -6,7 +6,7 @@ trace musterr $CLI bundle deployment bind foo $NEW_PIPELINE_ID &> out.bind-fail. print_requests.py '^//import-file/' '^//workspace/delete' rm -f out.requests.txt -trace $CLI bundle deployment bind foo $NEW_PIPELINE_ID --auto-approve &> out.bind-success.$DATABRICKS_BUNDLE_ENGINE.txt +trace $CLI bundle deployment bind foo $NEW_PIPELINE_ID --auto-approve &> out.bind-success.txt print_requests.py '^//import-file/' '^//workspace/delete' trace $CLI bundle summary -o json > out.summary.json diff --git a/acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_delete.terraform.txt b/acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_delete.terraform.txt deleted file mode 100644 index c2e0cdc7d9a..00000000000 --- a/acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_delete.terraform.txt +++ /dev/null @@ -1,14 +0,0 @@ -delete jobs.chain_bottom -delete jobs.chain_mid -delete jobs.chain_top -delete jobs.diamond_bottom -delete jobs.diamond_left -delete jobs.diamond_right -delete jobs.diamond_top -delete jobs.independent1 -delete jobs.independent2 -delete jobs.multi_child -delete jobs.multi_parent1 -delete jobs.multi_parent2 - -Plan: 0 to add, 0 to change, 12 to delete, 0 unchanged diff --git a/acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_delete.direct.txt b/acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_delete.txt similarity index 100% rename from acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_delete.direct.txt rename to acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_delete.txt diff --git a/acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_sanity.direct.txt b/acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_sanity.txt similarity index 100% rename from acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_sanity.direct.txt rename to acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_sanity.txt diff --git a/acceptance/bundle/resource_deps/job_id_big_graph/delete_all/script b/acceptance/bundle/resource_deps/job_id_big_graph/delete_all/script index 4ff07b8b69e..9136c748eee 100644 --- a/acceptance/bundle/resource_deps/job_id_big_graph/delete_all/script +++ b/acceptance/bundle/resource_deps/job_id_big_graph/delete_all/script @@ -8,11 +8,11 @@ trace print_requests.py --sort //jobs replace_ids.py # Sanity check plan after deploy -trace $CLI bundle plan > out.plan_sanity.$DATABRICKS_BUNDLE_ENGINE.txt +trace $CLI bundle plan > out.plan_sanity.txt title "Delete all via empty.yml" cp empty.yml databricks.yml -trace $CLI bundle plan > out.plan_delete.$DATABRICKS_BUNDLE_ENGINE.txt +trace $CLI bundle plan > out.plan_delete.txt trace $CLI bundle deploy trace $CLI bundle destroy --auto-approve diff --git a/acceptance/bundle/resource_deps/job_id_big_graph/destroy/out.plan_sanity.direct.txt b/acceptance/bundle/resource_deps/job_id_big_graph/destroy/out.plan_sanity.direct.txt deleted file mode 100644 index 28f35f79666..00000000000 --- a/acceptance/bundle/resource_deps/job_id_big_graph/destroy/out.plan_sanity.direct.txt +++ /dev/null @@ -1 +0,0 @@ -Plan: 0 to add, 0 to change, 0 to delete, 12 unchanged diff --git a/acceptance/bundle/resource_deps/job_id_big_graph/destroy/out.plan_sanity.terraform.txt b/acceptance/bundle/resource_deps/job_id_big_graph/destroy/out.plan_sanity.terraform.txt deleted file mode 100644 index 28f35f79666..00000000000 --- a/acceptance/bundle/resource_deps/job_id_big_graph/destroy/out.plan_sanity.terraform.txt +++ /dev/null @@ -1 +0,0 @@ -Plan: 0 to add, 0 to change, 0 to delete, 12 unchanged diff --git a/acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_sanity.terraform.txt b/acceptance/bundle/resource_deps/job_id_big_graph/destroy/out.plan_sanity.txt similarity index 100% rename from acceptance/bundle/resource_deps/job_id_big_graph/delete_all/out.plan_sanity.terraform.txt rename to acceptance/bundle/resource_deps/job_id_big_graph/destroy/out.plan_sanity.txt diff --git a/acceptance/bundle/resource_deps/job_id_big_graph/destroy/script b/acceptance/bundle/resource_deps/job_id_big_graph/destroy/script index 090f2bd806f..7e7ec71b1a4 100644 --- a/acceptance/bundle/resource_deps/job_id_big_graph/destroy/script +++ b/acceptance/bundle/resource_deps/job_id_big_graph/destroy/script @@ -7,7 +7,7 @@ trace print_requests.py --sort //jobs replace_ids.py # Sanity check plan after deploy -trace $CLI bundle plan > out.plan_sanity.$DATABRICKS_BUNDLE_ENGINE.txt +trace $CLI bundle plan > out.plan_sanity.txt title "Destroy all via bundle destroy" trace $CLI bundle destroy --auto-approve diff --git a/acceptance/bundle/resource_deps/volume_path_contains_id/out.deploy.terraform.txt b/acceptance/bundle/resource_deps/volume_path_contains_id/out.deploy.terraform.txt deleted file mode 100644 index 0fd05668156..00000000000 --- a/acceptance/bundle/resource_deps/volume_path_contains_id/out.deploy.terraform.txt +++ /dev/null @@ -1,6 +0,0 @@ - ->>> errcode [CLI] bundle deploy -Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files... -Deploying resources... -Updating deployment state... -Deployment complete! diff --git a/acceptance/bundle/resource_deps/volume_path_contains_id/out.deploy.direct.txt b/acceptance/bundle/resource_deps/volume_path_contains_id/out.deploy.txt similarity index 100% rename from acceptance/bundle/resource_deps/volume_path_contains_id/out.deploy.direct.txt rename to acceptance/bundle/resource_deps/volume_path_contains_id/out.deploy.txt diff --git a/acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy.terraform.txt b/acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy.terraform.txt deleted file mode 100644 index a60dfafafad..00000000000 --- a/acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy.terraform.txt +++ /dev/null @@ -1,17 +0,0 @@ -The following resources will be deleted: - delete resources.volumes.bar - delete resources.volumes.baz - delete resources.volumes.foo - -This action will result in the deletion of the following volumes. -For managed volumes, the files stored in the volume are also deleted from your -cloud tenant within 30 days. For external volumes, the metadata about the volume -is removed from the catalog, but the underlying files are not deleted: - delete resources.volumes.bar - delete resources.volumes.baz - delete resources.volumes.foo - -All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default - -Deleting files... -Destroy complete! diff --git a/acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy.direct.txt b/acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy.txt similarity index 100% rename from acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy.direct.txt rename to acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy.txt diff --git a/acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy_requests.direct.json b/acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy_requests.json similarity index 100% rename from acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy_requests.direct.json rename to acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy_requests.json diff --git a/acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy_requests.terraform.json b/acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy_requests.terraform.json deleted file mode 100644 index b7a38b0bbb4..00000000000 --- a/acceptance/bundle/resource_deps/volume_path_contains_id/out.destroy_requests.terraform.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "method": "DELETE", - "path": "/api/2.1/unity-catalog/volumes/mycatalog.myschema.bazname" -} -{ - "method": "DELETE", - "path": "/api/2.1/unity-catalog/volumes/mycatalog.myschema.fooname" -} -{ - "method": "DELETE", - "path": "/api/2.1/unity-catalog/volumes/mycatalog.myschema.mycatalog.myschema.bazname" -} -{ - "method": "GET", - "path": "/api/2.1/unity-catalog/volumes/mycatalog.myschema.bazname" -} -{ - "method": "GET", - "path": "/api/2.1/unity-catalog/volumes/mycatalog.myschema.fooname" -} -{ - "method": "GET", - "path": "/api/2.1/unity-catalog/volumes/mycatalog.myschema.mycatalog.myschema.bazname" -} diff --git a/acceptance/bundle/resource_deps/volume_path_contains_id/script b/acceptance/bundle/resource_deps/volume_path_contains_id/script index 97b2c4d693e..914f75443d2 100644 --- a/acceptance/bundle/resource_deps/volume_path_contains_id/script +++ b/acceptance/bundle/resource_deps/volume_path_contains_id/script @@ -1,6 +1,6 @@ cleanup() { - $CLI bundle destroy --auto-approve &> out.destroy.$DATABRICKS_BUNDLE_ENGINE.txt - print_requests.py --sort --get //unity &> out.destroy_requests.$DATABRICKS_BUNDLE_ENGINE.json + $CLI bundle destroy --auto-approve &> out.destroy.txt + print_requests.py --sort --get //unity &> out.destroy_requests.json } trace $CLI bundle validate -o json | jq .resources @@ -8,7 +8,7 @@ trace $CLI bundle plan $CLI bundle plan -o json > out.plan.$DATABRICKS_BUNDLE_ENGINE.json trap cleanup EXIT -trace errcode $CLI bundle deploy &> out.deploy.$DATABRICKS_BUNDLE_ENGINE.txt +trace errcode $CLI bundle deploy &> out.deploy.txt # bar.name is created from baz.id (resolved during deploy), and foo.comment is # created with bar.volume_path, whose embedded baz.id reference also resolves diff --git a/acceptance/bundle/resources/dashboards/change-parent-path/out.plan_after_deploy.terraform.txt b/acceptance/bundle/resources/dashboards/change-parent-path/out.plan_after_deploy.terraform.txt deleted file mode 100644 index c54c9d511c0..00000000000 --- a/acceptance/bundle/resources/dashboards/change-parent-path/out.plan_after_deploy.terraform.txt +++ /dev/null @@ -1 +0,0 @@ -Plan: 0 to add, 0 to change, 0 to delete, 1 unchanged diff --git a/acceptance/bundle/resources/dashboards/change-parent-path/out.plan_after_deploy.direct.txt b/acceptance/bundle/resources/dashboards/change-parent-path/out.plan_after_deploy.txt similarity index 100% rename from acceptance/bundle/resources/dashboards/change-parent-path/out.plan_after_deploy.direct.txt rename to acceptance/bundle/resources/dashboards/change-parent-path/out.plan_after_deploy.txt diff --git a/acceptance/bundle/resources/dashboards/change-parent-path/script b/acceptance/bundle/resources/dashboards/change-parent-path/script index 664c6867044..c7eec7eb3ac 100755 --- a/acceptance/bundle/resources/dashboards/change-parent-path/script +++ b/acceptance/bundle/resources/dashboards/change-parent-path/script @@ -38,4 +38,4 @@ cat out.requests.txt | \ jq 'select( (.path | contains("/api/2.0/lakeview/dashboards")) or ((.path == "/api/2.0/workspace/mkdirs") and (.body.path | contains("/default/resources"))))' \ > out.dashboardrequests.txt -$CLI bundle plan > out.plan_after_deploy.$DATABRICKS_BUNDLE_ENGINE.txt +$CLI bundle plan > out.plan_after_deploy.txt diff --git a/acceptance/bundle/resources/dashboards/dataset-catalog-schema/out.post.requests.terraform.txt b/acceptance/bundle/resources/dashboards/dataset-catalog-schema/out.post.requests.terraform.txt deleted file mode 100644 index 49f54fb76f6..00000000000 --- a/acceptance/bundle/resources/dashboards/dataset-catalog-schema/out.post.requests.terraform.txt +++ /dev/null @@ -1,14 +0,0 @@ -{ - "method": "POST", - "path": "/api/2.0/lakeview/dashboards", - "q": { - "dataset_catalog": "main", - "dataset_schema": "default" - }, - "body": { - "display_name": "test bundle-deploy-dashboard-dataset [UUID]", - "parent_path": "/Workspace/Users/[USERNAME]", - "serialized_dashboard": "{\n \"pages\": [\n {\n \"name\": \"test_page\",\n \"displayName\": \"Test Page\",\n \"pageType\": \"PAGE_TYPE_CANVAS\"\n }\n ],\n \"datasets\": [\n {\n \"name\": \"bf8f76f4\",\n \"displayName\": \"Test Dataset\",\n \"queryLines\": [\n \"SELECT 1\\n\"\n ],\n \"catalog\": \"foobar\",\n \"schema\": \"foobar\"\n }\n ]\n}\n", - "warehouse_id": "[TEST_DEFAULT_WAREHOUSE_ID]" - } -} diff --git a/acceptance/bundle/resources/dashboards/dataset-catalog-schema/out.post.requests.direct.txt b/acceptance/bundle/resources/dashboards/dataset-catalog-schema/out.post.requests.txt similarity index 100% rename from acceptance/bundle/resources/dashboards/dataset-catalog-schema/out.post.requests.direct.txt rename to acceptance/bundle/resources/dashboards/dataset-catalog-schema/out.post.requests.txt diff --git a/acceptance/bundle/resources/dashboards/dataset-catalog-schema/script b/acceptance/bundle/resources/dashboards/dataset-catalog-schema/script index b147e47f32c..fba98e8dbcc 100755 --- a/acceptance/bundle/resources/dashboards/dataset-catalog-schema/script +++ b/acceptance/bundle/resources/dashboards/dataset-catalog-schema/script @@ -48,4 +48,4 @@ cat out.requests.txt | \ jq 'select(.method == "POST")' | \ jq 'select(.path | contains("/api/2.0/lakeview/dashboards"))' | \ jq 'select(.path | contains("/published") | not)' \ - > out.post.requests.$DATABRICKS_BUNDLE_ENGINE.txt + > out.post.requests.txt diff --git a/acceptance/bundle/resources/grants/schemas/duplicate_privileges/out.plan.terraform.txt b/acceptance/bundle/resources/grants/schemas/duplicate_privileges/out.plan.terraform.txt deleted file mode 100644 index 068a177d51f..00000000000 --- a/acceptance/bundle/resources/grants/schemas/duplicate_privileges/out.plan.terraform.txt +++ /dev/null @@ -1,3 +0,0 @@ - ->>> [CLI] bundle plan -Plan: 0 to add, 0 to change, 0 to delete, 2 unchanged diff --git a/acceptance/bundle/resources/grants/schemas/duplicate_privileges/out.plan.direct.txt b/acceptance/bundle/resources/grants/schemas/duplicate_privileges/out.plan.txt similarity index 100% rename from acceptance/bundle/resources/grants/schemas/duplicate_privileges/out.plan.direct.txt rename to acceptance/bundle/resources/grants/schemas/duplicate_privileges/out.plan.txt diff --git a/acceptance/bundle/resources/grants/schemas/duplicate_privileges/script b/acceptance/bundle/resources/grants/schemas/duplicate_privileges/script index 6118156ba56..b1244a4c78c 100644 --- a/acceptance/bundle/resources/grants/schemas/duplicate_privileges/script +++ b/acceptance/bundle/resources/grants/schemas/duplicate_privileges/script @@ -9,4 +9,4 @@ trap cleanup EXIT # Same privilege listed twice for the same principal in a single entry. trace $CLI bundle deploy print_requests.py --get //permissions --keep > out.requests.$DATABRICKS_BUNDLE_ENGINE.txt -trace $CLI bundle plan > out.plan.$DATABRICKS_BUNDLE_ENGINE.txt 2>&1 +trace $CLI bundle plan > out.plan.txt 2>&1 diff --git a/acceptance/bundle/resources/grants/schemas/remove_principal/out.grants.terraform.txt b/acceptance/bundle/resources/grants/schemas/remove_principal/out.grants.terraform.txt deleted file mode 100644 index 0ef2f8e8b73..00000000000 --- a/acceptance/bundle/resources/grants/schemas/remove_principal/out.grants.terraform.txt +++ /dev/null @@ -1,2 +0,0 @@ -json.privilege_assignments[].principal = "[USERNAME]"; -json.privilege_assignments[].privileges[] = "CREATE_TABLE"; diff --git a/acceptance/bundle/resources/grants/schemas/remove_principal/out.grants.direct.txt b/acceptance/bundle/resources/grants/schemas/remove_principal/out.grants.txt similarity index 100% rename from acceptance/bundle/resources/grants/schemas/remove_principal/out.grants.direct.txt rename to acceptance/bundle/resources/grants/schemas/remove_principal/out.grants.txt diff --git a/acceptance/bundle/resources/grants/schemas/remove_principal/script b/acceptance/bundle/resources/grants/schemas/remove_principal/script index 2730c8ba97b..ca74a621374 100644 --- a/acceptance/bundle/resources/grants/schemas/remove_principal/script +++ b/acceptance/bundle/resources/grants/schemas/remove_principal/script @@ -12,7 +12,7 @@ trace $CLI grants get schema main.schema_remove_principal_$UNIQUE_NAME | gron.py grep -v 'TO_REMOVE' databricks.yml > tmp.yml && mv tmp.yml databricks.yml trace $CLI bundle deploy -trace $CLI grants get schema main.schema_remove_principal_$UNIQUE_NAME | gron.py --noindex | sort_lines.py --repl | contains.py "$CURRENT_USER_NAME" '!deco-test-user@databricks.com' &> out.grants.$DATABRICKS_BUNDLE_ENGINE.txt +trace $CLI grants get schema main.schema_remove_principal_$UNIQUE_NAME | gron.py --noindex | sort_lines.py --repl | contains.py "$CURRENT_USER_NAME" '!deco-test-user@databricks.com' &> out.grants.txt trace $CLI bundle plan trace $CLI bundle deploy trace $CLI bundle plan diff --git a/acceptance/bundle/resources/jobs/remote_delete/destroy/out.destroy.terraform.txt b/acceptance/bundle/resources/jobs/remote_delete/destroy/out.destroy.terraform.txt deleted file mode 100644 index 1cea8f06419..00000000000 --- a/acceptance/bundle/resources/jobs/remote_delete/destroy/out.destroy.terraform.txt +++ /dev/null @@ -1,6 +0,0 @@ - ->>> errcode [CLI] bundle destroy --auto-approve -All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default - -Deleting files... -Destroy complete! diff --git a/acceptance/bundle/resources/jobs/remote_delete/destroy/out.destroy.direct.txt b/acceptance/bundle/resources/jobs/remote_delete/destroy/out.destroy.txt similarity index 100% rename from acceptance/bundle/resources/jobs/remote_delete/destroy/out.destroy.direct.txt rename to acceptance/bundle/resources/jobs/remote_delete/destroy/out.destroy.txt diff --git a/acceptance/bundle/resources/jobs/remote_delete/destroy/script b/acceptance/bundle/resources/jobs/remote_delete/destroy/script index f50be749359..e9b3a300431 100644 --- a/acceptance/bundle/resources/jobs/remote_delete/destroy/script +++ b/acceptance/bundle/resources/jobs/remote_delete/destroy/script @@ -2,4 +2,4 @@ trace $CLI bundle plan trace $CLI bundle deploy job_id=`$CLI bundle summary -o json | jq -r .resources.jobs.foo.id` trace $CLI jobs delete $job_id -trace errcode $CLI bundle destroy --auto-approve &> out.destroy.$DATABRICKS_BUNDLE_ENGINE.txt +trace errcode $CLI bundle destroy --auto-approve &> out.destroy.txt diff --git a/acceptance/bundle/resources/jobs/remote_delete/removed_from_config/out.deploy_removed.terraform.txt b/acceptance/bundle/resources/jobs/remote_delete/removed_from_config/out.deploy_removed.terraform.txt deleted file mode 100644 index 0a628d4cb69..00000000000 --- a/acceptance/bundle/resources/jobs/remote_delete/removed_from_config/out.deploy_removed.terraform.txt +++ /dev/null @@ -1,6 +0,0 @@ - ->>> [CLI] bundle deploy --auto-approve -Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files... -Deploying resources... -Updating deployment state... -Deployment complete! diff --git a/acceptance/bundle/resources/jobs/remote_delete/removed_from_config/out.deploy_removed.direct.txt b/acceptance/bundle/resources/jobs/remote_delete/removed_from_config/out.deploy_removed.txt similarity index 100% rename from acceptance/bundle/resources/jobs/remote_delete/removed_from_config/out.deploy_removed.direct.txt rename to acceptance/bundle/resources/jobs/remote_delete/removed_from_config/out.deploy_removed.txt diff --git a/acceptance/bundle/resources/jobs/remote_delete/removed_from_config/script b/acceptance/bundle/resources/jobs/remote_delete/removed_from_config/script index 2b032406a00..d62cfc1ccc1 100644 --- a/acceptance/bundle/resources/jobs/remote_delete/removed_from_config/script +++ b/acceptance/bundle/resources/jobs/remote_delete/removed_from_config/script @@ -10,7 +10,7 @@ cp empty.yml databricks.yml # Drain requests recorded so far; only requests made after the config removal matter below. print_requests.py --get // &> LOG.requests_setup trace $CLI bundle plan &> out.plan_removed.$DATABRICKS_BUNDLE_ENGINE.txt -trace $CLI bundle deploy --auto-approve &> out.deploy_removed.$DATABRICKS_BUNDLE_ENGINE.txt +trace $CLI bundle deploy --auto-approve &> out.deploy_removed.txt title "Plan and deploy again, then summary" trace $CLI bundle plan diff --git a/acceptance/bundle/resources/model_serving_endpoints/basic/out.first-requests.terraform.txt b/acceptance/bundle/resources/model_serving_endpoints/basic/out.first-requests.terraform.txt deleted file mode 100644 index ff4ff00fb8e..00000000000 --- a/acceptance/bundle/resources/model_serving_endpoints/basic/out.first-requests.terraform.txt +++ /dev/null @@ -1,9 +0,0 @@ -json[0].method = "POST"; -json[0].path = "/api/2.0/serving-endpoints"; -json[0].body.name = "[ENDPOINT_NAME_1]"; -json[1].method = "PUT"; -json[1].path = "/api/2.0/permissions/serving-endpoints/[ENDPOINT_ID_1]"; -json[1].body.access_control_list[0].permission_level = "CAN_MANAGE"; -json[1].body.access_control_list[0].service_principal_name = "[USERNAME]"; -json[1].body.access_control_list[1].permission_level = "CAN_VIEW"; -json[1].body.access_control_list[1].user_name = "deco-test-user@databricks.com"; diff --git a/acceptance/bundle/resources/model_serving_endpoints/basic/out.first-requests.direct.txt b/acceptance/bundle/resources/model_serving_endpoints/basic/out.first-requests.txt similarity index 100% rename from acceptance/bundle/resources/model_serving_endpoints/basic/out.first-requests.direct.txt rename to acceptance/bundle/resources/model_serving_endpoints/basic/out.first-requests.txt diff --git a/acceptance/bundle/resources/model_serving_endpoints/basic/script b/acceptance/bundle/resources/model_serving_endpoints/basic/script index 3fc875f5f58..0cb04b45dfe 100755 --- a/acceptance/bundle/resources/model_serving_endpoints/basic/script +++ b/acceptance/bundle/resources/model_serving_endpoints/basic/script @@ -19,7 +19,7 @@ trace $CLI bundle deploy # Sort access_control_list: the terraform engine stores it as a set whose order # depends on the (unmasked) principal value, so it differs between the local fake # SP and the real cloud SP. Sorting makes the recorded request stable across both. -print_requests.py //serving-endpoints | gron.py --sort-arrays access_control_list > out.first-requests.$DATABRICKS_BUNDLE_ENGINE.txt +print_requests.py //serving-endpoints | gron.py --sort-arrays access_control_list > out.first-requests.txt echo "$ENDPOINT_NAME:ENDPOINT_NAME_1" >> ACC_REPLS diff --git a/acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/out.first-get.direct.json b/acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/out.first-get.json similarity index 100% rename from acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/out.first-get.direct.json rename to acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/out.first-get.json diff --git a/acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/out.first-get.terraform.json b/acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/out.first-get.terraform.json deleted file mode 100644 index f74ee879216..00000000000 --- a/acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/out.first-get.terraform.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "route_optimized": false, - "id": "[UUID]" -} diff --git a/acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/script b/acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/script index fec000b7e18..67454fd8320 100755 --- a/acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/script +++ b/acceptance/bundle/resources/model_serving_endpoints/recreate/route-optimized/script @@ -11,7 +11,7 @@ trace $CLI bundle deploy ENDPOINT_ID=$($CLI bundle summary -o json | jq -r '.resources.model_serving_endpoints.test_endpoint.id') echo "$ENDPOINT_ID:ORIGINAL_ENDPOINT_ID" >> ACC_REPLS -trace $CLI serving-endpoints get "${ENDPOINT_ID}" | jq '{route_optimized, id}' > out.first-get.$DATABRICKS_BUNDLE_ENGINE.json +trace $CLI serving-endpoints get "${ENDPOINT_ID}" | jq '{route_optimized, id}' > out.first-get.json print_requests.py //serving-endpoints > out.first-requests.$DATABRICKS_BUNDLE_ENGINE.json diff --git a/acceptance/bundle/resources/pipelines/num-workers-zero/out.deploy.terraform.txt b/acceptance/bundle/resources/pipelines/num-workers-zero/out.deploy.terraform.txt deleted file mode 100644 index a2a2a872e76..00000000000 --- a/acceptance/bundle/resources/pipelines/num-workers-zero/out.deploy.terraform.txt +++ /dev/null @@ -1,6 +0,0 @@ - ->>> [CLI] bundle deploy -Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/num-workers-zero/default/files... -Deploying resources... -Updating deployment state... -Deployment complete! diff --git a/acceptance/bundle/resources/pipelines/num-workers-zero/out.deploy.direct.txt b/acceptance/bundle/resources/pipelines/num-workers-zero/out.deploy.txt similarity index 100% rename from acceptance/bundle/resources/pipelines/num-workers-zero/out.deploy.direct.txt rename to acceptance/bundle/resources/pipelines/num-workers-zero/out.deploy.txt diff --git a/acceptance/bundle/resources/pipelines/num-workers-zero/script b/acceptance/bundle/resources/pipelines/num-workers-zero/script index a33c1771e96..69063834383 100644 --- a/acceptance/bundle/resources/pipelines/num-workers-zero/script +++ b/acceptance/bundle/resources/pipelines/num-workers-zero/script @@ -1,3 +1,3 @@ -trace $CLI bundle deploy > out.deploy.$DATABRICKS_BUNDLE_ENGINE.txt 2>&1 +trace $CLI bundle deploy > out.deploy.txt 2>&1 trace errcode jq -s '.[] | select(.method == "POST" and (.path | contains("/pipelines")))' out.requests.txt > out.requests.$DATABRICKS_BUNDLE_ENGINE.txt 2>&1 rm out.requests.txt diff --git a/acceptance/bundle/resources/postgres_branches/replace_existing/out.destroy.terraform.txt b/acceptance/bundle/resources/postgres_branches/replace_existing/out.destroy.terraform.txt deleted file mode 100644 index 03109f9364d..00000000000 --- a/acceptance/bundle/resources/postgres_branches/replace_existing/out.destroy.terraform.txt +++ /dev/null @@ -1,16 +0,0 @@ -The following resources will be deleted: - delete resources.postgres_branches.production - delete resources.postgres_projects.my_project - -This action will result in the deletion of the following Lakebase projects along with -all their branches, databases, and endpoints. All data stored in them will be permanently lost: - delete resources.postgres_projects.my_project - -This action will result in the deletion of the following Lakebase branches. -All data stored in them will be permanently lost: - delete resources.postgres_branches.production - -All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/deploy-postgres-replace-branch-[UNIQUE_NAME]/default - -Deleting files... -Destroy complete! diff --git a/acceptance/bundle/resources/postgres_branches/replace_existing/out.destroy.direct.txt b/acceptance/bundle/resources/postgres_branches/replace_existing/out.destroy.txt similarity index 100% rename from acceptance/bundle/resources/postgres_branches/replace_existing/out.destroy.direct.txt rename to acceptance/bundle/resources/postgres_branches/replace_existing/out.destroy.txt diff --git a/acceptance/bundle/resources/postgres_branches/replace_existing/script b/acceptance/bundle/resources/postgres_branches/replace_existing/script index fca839a4b78..d64adec24ab 100644 --- a/acceptance/bundle/resources/postgres_branches/replace_existing/script +++ b/acceptance/bundle/resources/postgres_branches/replace_existing/script @@ -23,6 +23,6 @@ trace print_requests.py --del-body project_id,branch_id,endpoint_id,database_id, # output is captured so regressions in either engine's destroy flow show # up in the diff. title "bundle destroy" -$CLI bundle destroy --auto-approve > out.destroy.$DATABRICKS_BUNDLE_ENGINE.txt 2>&1 || true +$CLI bundle destroy --auto-approve > out.destroy.txt 2>&1 || true trace print_requests.py --del-body project_id,branch_id,endpoint_id,database_id,role_id,catalog_id,synced_table_id --keep --get '//postgres' '^//workspace-files/' '^//workspace/' '^//telemetry-ext' '^//operations/' > out.requests.destroy.$DATABRICKS_BUNDLE_ENGINE.json diff --git a/acceptance/bundle/resources/postgres_endpoints/replace_existing/out.destroy.terraform.txt b/acceptance/bundle/resources/postgres_endpoints/replace_existing/out.destroy.terraform.txt deleted file mode 100644 index 2ac6d613c05..00000000000 --- a/acceptance/bundle/resources/postgres_endpoints/replace_existing/out.destroy.terraform.txt +++ /dev/null @@ -1,17 +0,0 @@ -The following resources will be deleted: - delete resources.postgres_branches.develop - delete resources.postgres_endpoints.primary - delete resources.postgres_projects.my_project - -This action will result in the deletion of the following Lakebase projects along with -all their branches, databases, and endpoints. All data stored in them will be permanently lost: - delete resources.postgres_projects.my_project - -This action will result in the deletion of the following Lakebase branches. -All data stored in them will be permanently lost: - delete resources.postgres_branches.develop - -All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/deploy-postgres-replace-endpoint-[UNIQUE_NAME]/default - -Deleting files... -Destroy complete! diff --git a/acceptance/bundle/resources/postgres_endpoints/replace_existing/out.destroy.direct.txt b/acceptance/bundle/resources/postgres_endpoints/replace_existing/out.destroy.txt similarity index 100% rename from acceptance/bundle/resources/postgres_endpoints/replace_existing/out.destroy.direct.txt rename to acceptance/bundle/resources/postgres_endpoints/replace_existing/out.destroy.txt diff --git a/acceptance/bundle/resources/postgres_endpoints/replace_existing/script b/acceptance/bundle/resources/postgres_endpoints/replace_existing/script index 7c6978468db..4c88b1f8f18 100644 --- a/acceptance/bundle/resources/postgres_endpoints/replace_existing/script +++ b/acceptance/bundle/resources/postgres_endpoints/replace_existing/script @@ -25,6 +25,6 @@ trace print_requests.py --del-body project_id,branch_id,endpoint_id,database_id, # endpoint. Per-engine output is captured so regressions in either # engine's destroy flow show up in the diff. title "bundle destroy" -$CLI bundle destroy --auto-approve > out.destroy.$DATABRICKS_BUNDLE_ENGINE.txt 2>&1 || true +$CLI bundle destroy --auto-approve > out.destroy.txt 2>&1 || true trace print_requests.py --del-body project_id,branch_id,endpoint_id,database_id,role_id,catalog_id,synced_table_id --keep --get '//postgres' '^//workspace-files/' '^//workspace/' '^//telemetry-ext' '^//operations/' > out.requests.destroy.$DATABRICKS_BUNDLE_ENGINE.json diff --git a/acceptance/bundle/resources/quality_monitors/create/out.deploy.terraform.txt b/acceptance/bundle/resources/quality_monitors/create/out.deploy.terraform.txt deleted file mode 100644 index af5c31de3b1..00000000000 --- a/acceptance/bundle/resources/quality_monitors/create/out.deploy.terraform.txt +++ /dev/null @@ -1,6 +0,0 @@ - ->>> [CLI] bundle deploy -Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/quality-monitor-update-[UNIQUE_NAME]/default/files... -Deploying resources... -Updating deployment state... -Deployment complete! diff --git a/acceptance/bundle/resources/quality_monitors/create/out.deploy.direct.txt b/acceptance/bundle/resources/quality_monitors/create/out.deploy.txt similarity index 100% rename from acceptance/bundle/resources/quality_monitors/create/out.deploy.direct.txt rename to acceptance/bundle/resources/quality_monitors/create/out.deploy.txt diff --git a/acceptance/bundle/resources/quality_monitors/create/script b/acceptance/bundle/resources/quality_monitors/create/script index 78c7853b264..97f6ce6a843 100644 --- a/acceptance/bundle/resources/quality_monitors/create/script +++ b/acceptance/bundle/resources/quality_monitors/create/script @@ -20,7 +20,7 @@ envsubst < databricks.yml.tmpl > databricks.yml trace $CLI bundle plan -o json > out.plan_create.$DATABRICKS_BUNDLE_ENGINE.json rm out.requests.txt -trace $CLI bundle deploy &> out.deploy.$DATABRICKS_BUNDLE_ENGINE.txt +trace $CLI bundle deploy &> out.deploy.txt trace print_requests.py '^//import-file/' '^//workspace/' '^//telemetry-ext' > out.deploy.requests.json # store state to ensure we have table_name there diff --git a/acceptance/bundle/telemetry/deploy-whl-artifacts/out.drymigrate.terraform.txt b/acceptance/bundle/telemetry/deploy-whl-artifacts/out.drymigrate.terraform.txt deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/acceptance/bundle/telemetry/deploy-whl-artifacts/out.drymigrate.direct.txt b/acceptance/bundle/telemetry/deploy-whl-artifacts/out.drymigrate.txt similarity index 100% rename from acceptance/bundle/telemetry/deploy-whl-artifacts/out.drymigrate.direct.txt rename to acceptance/bundle/telemetry/deploy-whl-artifacts/out.drymigrate.txt diff --git a/acceptance/bundle/telemetry/deploy-whl-artifacts/script b/acceptance/bundle/telemetry/deploy-whl-artifacts/script index b1ee8772a64..fbe35a7a41f 100644 --- a/acceptance/bundle/telemetry/deploy-whl-artifacts/script +++ b/acceptance/bundle/telemetry/deploy-whl-artifacts/script @@ -9,6 +9,6 @@ trace $CLI bundle deploy -t two # Common bool_values are engine-agnostic; the terraform-only direct_drymigrate_* # entries go to a per-engine file so output.txt stays shared. trace print_telemetry_bool_values | grep -v direct_drymigrate -print_telemetry_bool_values | grep direct_drymigrate > out.drymigrate.$DATABRICKS_BUNDLE_ENGINE.txt || true +print_telemetry_bool_values | grep direct_drymigrate > out.drymigrate.txt || true rm out.requests.txt