Upgrade TF provider to 1.46.0 (#1460)

## Changes

Release notes in
https://github.com/databricks/terraform-provider-databricks/releases/tag/v1.46.0

Notable changes since 1.43.0:
* The job resource has been migrated to the Go SDK. More fields are now
passed through from DABs into TF.
* Improved zero-value handling.

## Tests

n/a
This commit is contained in:
Pieter Noordhuis 2024-05-31 09:13:43 +02:00 committed by GitHub
parent ec33a7c059
commit 364a609ea7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
17 changed files with 757 additions and 232 deletions

View File

@ -1,3 +1,3 @@
package schema package schema
const ProviderVersion = "1.43.0" const ProviderVersion = "1.46.0"

View File

@ -0,0 +1,46 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type DataSourceCatalogCatalogInfoEffectivePredictiveOptimizationFlag struct {
InheritedFromName string `json:"inherited_from_name,omitempty"`
InheritedFromType string `json:"inherited_from_type,omitempty"`
Value string `json:"value"`
}
type DataSourceCatalogCatalogInfoProvisioningInfo struct {
State string `json:"state,omitempty"`
}
type DataSourceCatalogCatalogInfo struct {
BrowseOnly bool `json:"browse_only,omitempty"`
CatalogType string `json:"catalog_type,omitempty"`
Comment string `json:"comment,omitempty"`
ConnectionName string `json:"connection_name,omitempty"`
CreatedAt int `json:"created_at,omitempty"`
CreatedBy string `json:"created_by,omitempty"`
EnablePredictiveOptimization string `json:"enable_predictive_optimization,omitempty"`
FullName string `json:"full_name,omitempty"`
IsolationMode string `json:"isolation_mode,omitempty"`
MetastoreId string `json:"metastore_id,omitempty"`
Name string `json:"name,omitempty"`
Options map[string]string `json:"options,omitempty"`
Owner string `json:"owner,omitempty"`
Properties map[string]string `json:"properties,omitempty"`
ProviderName string `json:"provider_name,omitempty"`
SecurableKind string `json:"securable_kind,omitempty"`
SecurableType string `json:"securable_type,omitempty"`
ShareName string `json:"share_name,omitempty"`
StorageLocation string `json:"storage_location,omitempty"`
StorageRoot string `json:"storage_root,omitempty"`
UpdatedAt int `json:"updated_at,omitempty"`
UpdatedBy string `json:"updated_by,omitempty"`
EffectivePredictiveOptimizationFlag *DataSourceCatalogCatalogInfoEffectivePredictiveOptimizationFlag `json:"effective_predictive_optimization_flag,omitempty"`
ProvisioningInfo *DataSourceCatalogCatalogInfoProvisioningInfo `json:"provisioning_info,omitempty"`
}
type DataSourceCatalog struct {
Id string `json:"id,omitempty"`
Name string `json:"name"`
CatalogInfo *DataSourceCatalogCatalogInfo `json:"catalog_info,omitempty"`
}

View File

@ -55,9 +55,9 @@ type DataSourceJobJobSettingsSettingsGitSource struct {
} }
type DataSourceJobJobSettingsSettingsHealthRules struct { type DataSourceJobJobSettingsSettingsHealthRules struct {
Metric string `json:"metric,omitempty"` Metric string `json:"metric"`
Op string `json:"op,omitempty"` Op string `json:"op"`
Value int `json:"value,omitempty"` Value int `json:"value"`
} }
type DataSourceJobJobSettingsSettingsHealth struct { type DataSourceJobJobSettingsSettingsHealth struct {
@ -222,7 +222,7 @@ type DataSourceJobJobSettingsSettingsJobClusterNewCluster struct {
} }
type DataSourceJobJobSettingsSettingsJobCluster struct { type DataSourceJobJobSettingsSettingsJobCluster struct {
JobClusterKey string `json:"job_cluster_key,omitempty"` JobClusterKey string `json:"job_cluster_key"`
NewCluster *DataSourceJobJobSettingsSettingsJobClusterNewCluster `json:"new_cluster,omitempty"` NewCluster *DataSourceJobJobSettingsSettingsJobClusterNewCluster `json:"new_cluster,omitempty"`
} }
@ -533,9 +533,9 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications struc
} }
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskHealthRules struct { type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskHealthRules struct {
Metric string `json:"metric,omitempty"` Metric string `json:"metric"`
Op string `json:"op,omitempty"` Op string `json:"op"`
Value int `json:"value,omitempty"` Value int `json:"value"`
} }
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskHealth struct { type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskHealth struct {
@ -805,7 +805,7 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery struct {
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTask struct { type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTask struct {
Parameters map[string]string `json:"parameters,omitempty"` Parameters map[string]string `json:"parameters,omitempty"`
WarehouseId string `json:"warehouse_id,omitempty"` WarehouseId string `json:"warehouse_id"`
Alert *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert `json:"alert,omitempty"` Alert *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert `json:"alert,omitempty"`
Dashboard *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard `json:"dashboard,omitempty"` Dashboard *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard `json:"dashboard,omitempty"`
File *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile `json:"file,omitempty"` File *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile `json:"file,omitempty"`
@ -844,7 +844,7 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTask struct {
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"` MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"` RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
RunIf string `json:"run_if,omitempty"` RunIf string `json:"run_if,omitempty"`
TaskKey string `json:"task_key,omitempty"` TaskKey string `json:"task_key"`
TimeoutSeconds int `json:"timeout_seconds,omitempty"` TimeoutSeconds int `json:"timeout_seconds,omitempty"`
ConditionTask *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskConditionTask `json:"condition_task,omitempty"` ConditionTask *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskConditionTask `json:"condition_task,omitempty"`
DbtTask *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskDbtTask `json:"dbt_task,omitempty"` DbtTask *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskDbtTask `json:"dbt_task,omitempty"`
@ -872,9 +872,9 @@ type DataSourceJobJobSettingsSettingsTaskForEachTask struct {
} }
type DataSourceJobJobSettingsSettingsTaskHealthRules struct { type DataSourceJobJobSettingsSettingsTaskHealthRules struct {
Metric string `json:"metric,omitempty"` Metric string `json:"metric"`
Op string `json:"op,omitempty"` Op string `json:"op"`
Value int `json:"value,omitempty"` Value int `json:"value"`
} }
type DataSourceJobJobSettingsSettingsTaskHealth struct { type DataSourceJobJobSettingsSettingsTaskHealth struct {
@ -1144,7 +1144,7 @@ type DataSourceJobJobSettingsSettingsTaskSqlTaskQuery struct {
type DataSourceJobJobSettingsSettingsTaskSqlTask struct { type DataSourceJobJobSettingsSettingsTaskSqlTask struct {
Parameters map[string]string `json:"parameters,omitempty"` Parameters map[string]string `json:"parameters,omitempty"`
WarehouseId string `json:"warehouse_id,omitempty"` WarehouseId string `json:"warehouse_id"`
Alert *DataSourceJobJobSettingsSettingsTaskSqlTaskAlert `json:"alert,omitempty"` Alert *DataSourceJobJobSettingsSettingsTaskSqlTaskAlert `json:"alert,omitempty"`
Dashboard *DataSourceJobJobSettingsSettingsTaskSqlTaskDashboard `json:"dashboard,omitempty"` Dashboard *DataSourceJobJobSettingsSettingsTaskSqlTaskDashboard `json:"dashboard,omitempty"`
File *DataSourceJobJobSettingsSettingsTaskSqlTaskFile `json:"file,omitempty"` File *DataSourceJobJobSettingsSettingsTaskSqlTaskFile `json:"file,omitempty"`
@ -1183,7 +1183,7 @@ type DataSourceJobJobSettingsSettingsTask struct {
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"` MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"` RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
RunIf string `json:"run_if,omitempty"` RunIf string `json:"run_if,omitempty"`
TaskKey string `json:"task_key,omitempty"` TaskKey string `json:"task_key"`
TimeoutSeconds int `json:"timeout_seconds,omitempty"` TimeoutSeconds int `json:"timeout_seconds,omitempty"`
ConditionTask *DataSourceJobJobSettingsSettingsTaskConditionTask `json:"condition_task,omitempty"` ConditionTask *DataSourceJobJobSettingsSettingsTaskConditionTask `json:"condition_task,omitempty"`
DbtTask *DataSourceJobJobSettingsSettingsTaskDbtTask `json:"dbt_task,omitempty"` DbtTask *DataSourceJobJobSettingsSettingsTaskDbtTask `json:"dbt_task,omitempty"`

View File

@ -0,0 +1,19 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type DataSourceMlflowExperimentTags struct {
Key string `json:"key,omitempty"`
Value string `json:"value,omitempty"`
}
type DataSourceMlflowExperiment struct {
ArtifactLocation string `json:"artifact_location,omitempty"`
CreationTime int `json:"creation_time,omitempty"`
ExperimentId string `json:"experiment_id,omitempty"`
Id string `json:"id,omitempty"`
LastUpdateTime int `json:"last_update_time,omitempty"`
LifecycleStage string `json:"lifecycle_stage,omitempty"`
Name string `json:"name,omitempty"`
Tags []DataSourceMlflowExperimentTags `json:"tags,omitempty"`
}

View File

@ -0,0 +1,127 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type DataSourceTableTableInfoColumnsMask struct {
FunctionName string `json:"function_name,omitempty"`
UsingColumnNames []string `json:"using_column_names,omitempty"`
}
type DataSourceTableTableInfoColumns struct {
Comment string `json:"comment,omitempty"`
Name string `json:"name,omitempty"`
Nullable bool `json:"nullable,omitempty"`
PartitionIndex int `json:"partition_index,omitempty"`
Position int `json:"position,omitempty"`
TypeIntervalType string `json:"type_interval_type,omitempty"`
TypeJson string `json:"type_json,omitempty"`
TypeName string `json:"type_name,omitempty"`
TypePrecision int `json:"type_precision,omitempty"`
TypeScale int `json:"type_scale,omitempty"`
TypeText string `json:"type_text,omitempty"`
Mask *DataSourceTableTableInfoColumnsMask `json:"mask,omitempty"`
}
type DataSourceTableTableInfoDeltaRuntimePropertiesKvpairs struct {
DeltaRuntimeProperties map[string]string `json:"delta_runtime_properties"`
}
type DataSourceTableTableInfoEffectivePredictiveOptimizationFlag struct {
InheritedFromName string `json:"inherited_from_name,omitempty"`
InheritedFromType string `json:"inherited_from_type,omitempty"`
Value string `json:"value"`
}
type DataSourceTableTableInfoEncryptionDetailsSseEncryptionDetails struct {
Algorithm string `json:"algorithm,omitempty"`
AwsKmsKeyArn string `json:"aws_kms_key_arn,omitempty"`
}
type DataSourceTableTableInfoEncryptionDetails struct {
SseEncryptionDetails *DataSourceTableTableInfoEncryptionDetailsSseEncryptionDetails `json:"sse_encryption_details,omitempty"`
}
type DataSourceTableTableInfoRowFilter struct {
FunctionName string `json:"function_name"`
InputColumnNames []string `json:"input_column_names"`
}
type DataSourceTableTableInfoTableConstraintsForeignKeyConstraint struct {
ChildColumns []string `json:"child_columns"`
Name string `json:"name"`
ParentColumns []string `json:"parent_columns"`
ParentTable string `json:"parent_table"`
}
type DataSourceTableTableInfoTableConstraintsNamedTableConstraint struct {
Name string `json:"name"`
}
type DataSourceTableTableInfoTableConstraintsPrimaryKeyConstraint struct {
ChildColumns []string `json:"child_columns"`
Name string `json:"name"`
}
type DataSourceTableTableInfoTableConstraints struct {
ForeignKeyConstraint *DataSourceTableTableInfoTableConstraintsForeignKeyConstraint `json:"foreign_key_constraint,omitempty"`
NamedTableConstraint *DataSourceTableTableInfoTableConstraintsNamedTableConstraint `json:"named_table_constraint,omitempty"`
PrimaryKeyConstraint *DataSourceTableTableInfoTableConstraintsPrimaryKeyConstraint `json:"primary_key_constraint,omitempty"`
}
type DataSourceTableTableInfoViewDependenciesDependenciesFunction struct {
FunctionFullName string `json:"function_full_name"`
}
type DataSourceTableTableInfoViewDependenciesDependenciesTable struct {
TableFullName string `json:"table_full_name"`
}
type DataSourceTableTableInfoViewDependenciesDependencies struct {
Function *DataSourceTableTableInfoViewDependenciesDependenciesFunction `json:"function,omitempty"`
Table *DataSourceTableTableInfoViewDependenciesDependenciesTable `json:"table,omitempty"`
}
type DataSourceTableTableInfoViewDependencies struct {
Dependencies []DataSourceTableTableInfoViewDependenciesDependencies `json:"dependencies,omitempty"`
}
type DataSourceTableTableInfo struct {
AccessPoint string `json:"access_point,omitempty"`
BrowseOnly bool `json:"browse_only,omitempty"`
CatalogName string `json:"catalog_name,omitempty"`
Comment string `json:"comment,omitempty"`
CreatedAt int `json:"created_at,omitempty"`
CreatedBy string `json:"created_by,omitempty"`
DataAccessConfigurationId string `json:"data_access_configuration_id,omitempty"`
DataSourceFormat string `json:"data_source_format,omitempty"`
DeletedAt int `json:"deleted_at,omitempty"`
EnablePredictiveOptimization string `json:"enable_predictive_optimization,omitempty"`
FullName string `json:"full_name,omitempty"`
MetastoreId string `json:"metastore_id,omitempty"`
Name string `json:"name,omitempty"`
Owner string `json:"owner,omitempty"`
PipelineId string `json:"pipeline_id,omitempty"`
Properties map[string]string `json:"properties,omitempty"`
SchemaName string `json:"schema_name,omitempty"`
SqlPath string `json:"sql_path,omitempty"`
StorageCredentialName string `json:"storage_credential_name,omitempty"`
StorageLocation string `json:"storage_location,omitempty"`
TableId string `json:"table_id,omitempty"`
TableType string `json:"table_type,omitempty"`
UpdatedAt int `json:"updated_at,omitempty"`
UpdatedBy string `json:"updated_by,omitempty"`
ViewDefinition string `json:"view_definition,omitempty"`
Columns []DataSourceTableTableInfoColumns `json:"columns,omitempty"`
DeltaRuntimePropertiesKvpairs *DataSourceTableTableInfoDeltaRuntimePropertiesKvpairs `json:"delta_runtime_properties_kvpairs,omitempty"`
EffectivePredictiveOptimizationFlag *DataSourceTableTableInfoEffectivePredictiveOptimizationFlag `json:"effective_predictive_optimization_flag,omitempty"`
EncryptionDetails *DataSourceTableTableInfoEncryptionDetails `json:"encryption_details,omitempty"`
RowFilter *DataSourceTableTableInfoRowFilter `json:"row_filter,omitempty"`
TableConstraints []DataSourceTableTableInfoTableConstraints `json:"table_constraints,omitempty"`
ViewDependencies *DataSourceTableTableInfoViewDependencies `json:"view_dependencies,omitempty"`
}
type DataSourceTable struct {
Id string `json:"id,omitempty"`
Name string `json:"name"`
TableInfo *DataSourceTableTableInfo `json:"table_info,omitempty"`
}

View File

@ -7,6 +7,7 @@ type DataSources struct {
AwsBucketPolicy map[string]any `json:"databricks_aws_bucket_policy,omitempty"` AwsBucketPolicy map[string]any `json:"databricks_aws_bucket_policy,omitempty"`
AwsCrossaccountPolicy map[string]any `json:"databricks_aws_crossaccount_policy,omitempty"` AwsCrossaccountPolicy map[string]any `json:"databricks_aws_crossaccount_policy,omitempty"`
AwsUnityCatalogPolicy map[string]any `json:"databricks_aws_unity_catalog_policy,omitempty"` AwsUnityCatalogPolicy map[string]any `json:"databricks_aws_unity_catalog_policy,omitempty"`
Catalog map[string]any `json:"databricks_catalog,omitempty"`
Catalogs map[string]any `json:"databricks_catalogs,omitempty"` Catalogs map[string]any `json:"databricks_catalogs,omitempty"`
Cluster map[string]any `json:"databricks_cluster,omitempty"` Cluster map[string]any `json:"databricks_cluster,omitempty"`
ClusterPolicy map[string]any `json:"databricks_cluster_policy,omitempty"` ClusterPolicy map[string]any `json:"databricks_cluster_policy,omitempty"`
@ -26,6 +27,7 @@ type DataSources struct {
Jobs map[string]any `json:"databricks_jobs,omitempty"` Jobs map[string]any `json:"databricks_jobs,omitempty"`
Metastore map[string]any `json:"databricks_metastore,omitempty"` Metastore map[string]any `json:"databricks_metastore,omitempty"`
Metastores map[string]any `json:"databricks_metastores,omitempty"` Metastores map[string]any `json:"databricks_metastores,omitempty"`
MlflowExperiment map[string]any `json:"databricks_mlflow_experiment,omitempty"`
MlflowModel map[string]any `json:"databricks_mlflow_model,omitempty"` MlflowModel map[string]any `json:"databricks_mlflow_model,omitempty"`
MwsCredentials map[string]any `json:"databricks_mws_credentials,omitempty"` MwsCredentials map[string]any `json:"databricks_mws_credentials,omitempty"`
MwsWorkspaces map[string]any `json:"databricks_mws_workspaces,omitempty"` MwsWorkspaces map[string]any `json:"databricks_mws_workspaces,omitempty"`
@ -43,6 +45,7 @@ type DataSources struct {
SqlWarehouses map[string]any `json:"databricks_sql_warehouses,omitempty"` SqlWarehouses map[string]any `json:"databricks_sql_warehouses,omitempty"`
StorageCredential map[string]any `json:"databricks_storage_credential,omitempty"` StorageCredential map[string]any `json:"databricks_storage_credential,omitempty"`
StorageCredentials map[string]any `json:"databricks_storage_credentials,omitempty"` StorageCredentials map[string]any `json:"databricks_storage_credentials,omitempty"`
Table map[string]any `json:"databricks_table,omitempty"`
Tables map[string]any `json:"databricks_tables,omitempty"` Tables map[string]any `json:"databricks_tables,omitempty"`
User map[string]any `json:"databricks_user,omitempty"` User map[string]any `json:"databricks_user,omitempty"`
Views map[string]any `json:"databricks_views,omitempty"` Views map[string]any `json:"databricks_views,omitempty"`
@ -56,6 +59,7 @@ func NewDataSources() *DataSources {
AwsBucketPolicy: make(map[string]any), AwsBucketPolicy: make(map[string]any),
AwsCrossaccountPolicy: make(map[string]any), AwsCrossaccountPolicy: make(map[string]any),
AwsUnityCatalogPolicy: make(map[string]any), AwsUnityCatalogPolicy: make(map[string]any),
Catalog: make(map[string]any),
Catalogs: make(map[string]any), Catalogs: make(map[string]any),
Cluster: make(map[string]any), Cluster: make(map[string]any),
ClusterPolicy: make(map[string]any), ClusterPolicy: make(map[string]any),
@ -75,6 +79,7 @@ func NewDataSources() *DataSources {
Jobs: make(map[string]any), Jobs: make(map[string]any),
Metastore: make(map[string]any), Metastore: make(map[string]any),
Metastores: make(map[string]any), Metastores: make(map[string]any),
MlflowExperiment: make(map[string]any),
MlflowModel: make(map[string]any), MlflowModel: make(map[string]any),
MwsCredentials: make(map[string]any), MwsCredentials: make(map[string]any),
MwsWorkspaces: make(map[string]any), MwsWorkspaces: make(map[string]any),
@ -92,6 +97,7 @@ func NewDataSources() *DataSources {
SqlWarehouses: make(map[string]any), SqlWarehouses: make(map[string]any),
StorageCredential: make(map[string]any), StorageCredential: make(map[string]any),
StorageCredentials: make(map[string]any), StorageCredentials: make(map[string]any),
Table: make(map[string]any),
Tables: make(map[string]any), Tables: make(map[string]any),
User: make(map[string]any), User: make(map[string]any),
Views: make(map[string]any), Views: make(map[string]any),

View File

@ -0,0 +1,39 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type ResourceAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails struct {
ForcedForComplianceMode bool `json:"forced_for_compliance_mode,omitempty"`
UnavailableForDisabledEntitlement bool `json:"unavailable_for_disabled_entitlement,omitempty"`
UnavailableForNonEnterpriseTier bool `json:"unavailable_for_non_enterprise_tier,omitempty"`
}
type ResourceAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime struct {
Hours int `json:"hours,omitempty"`
Minutes int `json:"minutes,omitempty"`
}
type ResourceAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule struct {
DayOfWeek string `json:"day_of_week,omitempty"`
Frequency string `json:"frequency,omitempty"`
WindowStartTime *ResourceAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedScheduleWindowStartTime `json:"window_start_time,omitempty"`
}
type ResourceAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow struct {
WeekDayBasedSchedule *ResourceAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindowWeekDayBasedSchedule `json:"week_day_based_schedule,omitempty"`
}
type ResourceAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace struct {
CanToggle bool `json:"can_toggle,omitempty"`
Enabled bool `json:"enabled,omitempty"`
RestartEvenIfNoUpdatesAvailable bool `json:"restart_even_if_no_updates_available,omitempty"`
EnablementDetails *ResourceAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceEnablementDetails `json:"enablement_details,omitempty"`
MaintenanceWindow *ResourceAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspaceMaintenanceWindow `json:"maintenance_window,omitempty"`
}
type ResourceAutomaticClusterUpdateWorkspaceSetting struct {
Etag string `json:"etag,omitempty"`
Id string `json:"id,omitempty"`
SettingName string `json:"setting_name,omitempty"`
AutomaticClusterUpdateWorkspace *ResourceAutomaticClusterUpdateWorkspaceSettingAutomaticClusterUpdateWorkspace `json:"automatic_cluster_update_workspace,omitempty"`
}

View File

@ -32,10 +32,6 @@ type ResourceClusterAzureAttributes struct {
LogAnalyticsInfo *ResourceClusterAzureAttributesLogAnalyticsInfo `json:"log_analytics_info,omitempty"` LogAnalyticsInfo *ResourceClusterAzureAttributesLogAnalyticsInfo `json:"log_analytics_info,omitempty"`
} }
type ResourceClusterCloneFrom struct {
SourceClusterId string `json:"source_cluster_id"`
}
type ResourceClusterClusterLogConfDbfs struct { type ResourceClusterClusterLogConfDbfs struct {
Destination string `json:"destination"` Destination string `json:"destination"`
} }
@ -169,7 +165,6 @@ type ResourceCluster struct {
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"` AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
ClusterId string `json:"cluster_id,omitempty"` ClusterId string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"` ClusterName string `json:"cluster_name,omitempty"`
ClusterSource string `json:"cluster_source,omitempty"`
CustomTags map[string]string `json:"custom_tags,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"`
DataSecurityMode string `json:"data_security_mode,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"`
DefaultTags map[string]string `json:"default_tags,omitempty"` DefaultTags map[string]string `json:"default_tags,omitempty"`
@ -195,7 +190,6 @@ type ResourceCluster struct {
Autoscale *ResourceClusterAutoscale `json:"autoscale,omitempty"` Autoscale *ResourceClusterAutoscale `json:"autoscale,omitempty"`
AwsAttributes *ResourceClusterAwsAttributes `json:"aws_attributes,omitempty"` AwsAttributes *ResourceClusterAwsAttributes `json:"aws_attributes,omitempty"`
AzureAttributes *ResourceClusterAzureAttributes `json:"azure_attributes,omitempty"` AzureAttributes *ResourceClusterAzureAttributes `json:"azure_attributes,omitempty"`
CloneFrom *ResourceClusterCloneFrom `json:"clone_from,omitempty"`
ClusterLogConf *ResourceClusterClusterLogConf `json:"cluster_log_conf,omitempty"` ClusterLogConf *ResourceClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
ClusterMountInfo []ResourceClusterClusterMountInfo `json:"cluster_mount_info,omitempty"` ClusterMountInfo []ResourceClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
DockerImage *ResourceClusterDockerImage `json:"docker_image,omitempty"` DockerImage *ResourceClusterDockerImage `json:"docker_image,omitempty"`

View File

@ -0,0 +1,15 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type ResourceComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace struct {
ComplianceStandards []string `json:"compliance_standards,omitempty"`
IsEnabled bool `json:"is_enabled,omitempty"`
}
type ResourceComplianceSecurityProfileWorkspaceSetting struct {
Etag string `json:"etag,omitempty"`
Id string `json:"id,omitempty"`
SettingName string `json:"setting_name,omitempty"`
ComplianceSecurityProfileWorkspace *ResourceComplianceSecurityProfileWorkspaceSettingComplianceSecurityProfileWorkspace `json:"compliance_security_profile_workspace,omitempty"`
}

View File

@ -0,0 +1,14 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type ResourceEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace struct {
IsEnabled bool `json:"is_enabled,omitempty"`
}
type ResourceEnhancedSecurityMonitoringWorkspaceSetting struct {
Etag string `json:"etag,omitempty"`
Id string `json:"id,omitempty"`
SettingName string `json:"setting_name,omitempty"`
EnhancedSecurityMonitoringWorkspace *ResourceEnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace `json:"enhanced_security_monitoring_workspace,omitempty"`
}

View File

@ -39,6 +39,10 @@ type ResourceJobEnvironment struct {
Spec *ResourceJobEnvironmentSpec `json:"spec,omitempty"` Spec *ResourceJobEnvironmentSpec `json:"spec,omitempty"`
} }
type ResourceJobGitSourceGitSnapshot struct {
UsedCommit string `json:"used_commit,omitempty"`
}
type ResourceJobGitSourceJobSource struct { type ResourceJobGitSourceJobSource struct {
DirtyState string `json:"dirty_state,omitempty"` DirtyState string `json:"dirty_state,omitempty"`
ImportFromGitBranch string `json:"import_from_git_branch"` ImportFromGitBranch string `json:"import_from_git_branch"`
@ -46,18 +50,19 @@ type ResourceJobGitSourceJobSource struct {
} }
type ResourceJobGitSource struct { type ResourceJobGitSource struct {
Branch string `json:"branch,omitempty"` Branch string `json:"branch,omitempty"`
Commit string `json:"commit,omitempty"` Commit string `json:"commit,omitempty"`
Provider string `json:"provider,omitempty"` Provider string `json:"provider,omitempty"`
Tag string `json:"tag,omitempty"` Tag string `json:"tag,omitempty"`
Url string `json:"url"` Url string `json:"url"`
JobSource *ResourceJobGitSourceJobSource `json:"job_source,omitempty"` GitSnapshot *ResourceJobGitSourceGitSnapshot `json:"git_snapshot,omitempty"`
JobSource *ResourceJobGitSourceJobSource `json:"job_source,omitempty"`
} }
type ResourceJobHealthRules struct { type ResourceJobHealthRules struct {
Metric string `json:"metric,omitempty"` Metric string `json:"metric"`
Op string `json:"op,omitempty"` Op string `json:"op"`
Value int `json:"value,omitempty"` Value int `json:"value"`
} }
type ResourceJobHealth struct { type ResourceJobHealth struct {
@ -72,7 +77,9 @@ type ResourceJobJobClusterNewClusterAutoscale struct {
type ResourceJobJobClusterNewClusterAwsAttributes struct { type ResourceJobJobClusterNewClusterAwsAttributes struct {
Availability string `json:"availability,omitempty"` Availability string `json:"availability,omitempty"`
EbsVolumeCount int `json:"ebs_volume_count,omitempty"` EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
EbsVolumeIops int `json:"ebs_volume_iops,omitempty"`
EbsVolumeSize int `json:"ebs_volume_size,omitempty"` EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
EbsVolumeThroughput int `json:"ebs_volume_throughput,omitempty"`
EbsVolumeType string `json:"ebs_volume_type,omitempty"` EbsVolumeType string `json:"ebs_volume_type,omitempty"`
FirstOnDemand int `json:"first_on_demand,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"`
InstanceProfileArn string `json:"instance_profile_arn,omitempty"` InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
@ -80,10 +87,16 @@ type ResourceJobJobClusterNewClusterAwsAttributes struct {
ZoneId string `json:"zone_id,omitempty"` ZoneId string `json:"zone_id,omitempty"`
} }
type ResourceJobJobClusterNewClusterAzureAttributesLogAnalyticsInfo struct {
LogAnalyticsPrimaryKey string `json:"log_analytics_primary_key,omitempty"`
LogAnalyticsWorkspaceId string `json:"log_analytics_workspace_id,omitempty"`
}
type ResourceJobJobClusterNewClusterAzureAttributes struct { type ResourceJobJobClusterNewClusterAzureAttributes struct {
Availability string `json:"availability,omitempty"` Availability string `json:"availability,omitempty"`
FirstOnDemand int `json:"first_on_demand,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"`
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"` SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
LogAnalyticsInfo *ResourceJobJobClusterNewClusterAzureAttributesLogAnalyticsInfo `json:"log_analytics_info,omitempty"`
} }
type ResourceJobJobClusterNewClusterClusterLogConfDbfs struct { type ResourceJobJobClusterNewClusterClusterLogConfDbfs struct {
@ -179,6 +192,32 @@ type ResourceJobJobClusterNewClusterInitScripts struct {
Workspace *ResourceJobJobClusterNewClusterInitScriptsWorkspace `json:"workspace,omitempty"` Workspace *ResourceJobJobClusterNewClusterInitScriptsWorkspace `json:"workspace,omitempty"`
} }
type ResourceJobJobClusterNewClusterLibraryCran struct {
Package string `json:"package"`
Repo string `json:"repo,omitempty"`
}
type ResourceJobJobClusterNewClusterLibraryMaven struct {
Coordinates string `json:"coordinates"`
Exclusions []string `json:"exclusions,omitempty"`
Repo string `json:"repo,omitempty"`
}
type ResourceJobJobClusterNewClusterLibraryPypi struct {
Package string `json:"package"`
Repo string `json:"repo,omitempty"`
}
type ResourceJobJobClusterNewClusterLibrary struct {
Egg string `json:"egg,omitempty"`
Jar string `json:"jar,omitempty"`
Requirements string `json:"requirements,omitempty"`
Whl string `json:"whl,omitempty"`
Cran *ResourceJobJobClusterNewClusterLibraryCran `json:"cran,omitempty"`
Maven *ResourceJobJobClusterNewClusterLibraryMaven `json:"maven,omitempty"`
Pypi *ResourceJobJobClusterNewClusterLibraryPypi `json:"pypi,omitempty"`
}
type ResourceJobJobClusterNewClusterWorkloadTypeClients struct { type ResourceJobJobClusterNewClusterWorkloadTypeClients struct {
Jobs bool `json:"jobs,omitempty"` Jobs bool `json:"jobs,omitempty"`
Notebooks bool `json:"notebooks,omitempty"` Notebooks bool `json:"notebooks,omitempty"`
@ -190,7 +229,6 @@ type ResourceJobJobClusterNewClusterWorkloadType struct {
type ResourceJobJobClusterNewCluster struct { type ResourceJobJobClusterNewCluster struct {
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
ClusterId string `json:"cluster_id,omitempty"` ClusterId string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"` ClusterName string `json:"cluster_name,omitempty"`
CustomTags map[string]string `json:"custom_tags,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"`
@ -218,11 +256,12 @@ type ResourceJobJobClusterNewCluster struct {
DockerImage *ResourceJobJobClusterNewClusterDockerImage `json:"docker_image,omitempty"` DockerImage *ResourceJobJobClusterNewClusterDockerImage `json:"docker_image,omitempty"`
GcpAttributes *ResourceJobJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` GcpAttributes *ResourceJobJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
InitScripts []ResourceJobJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"` InitScripts []ResourceJobJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"`
Library []ResourceJobJobClusterNewClusterLibrary `json:"library,omitempty"`
WorkloadType *ResourceJobJobClusterNewClusterWorkloadType `json:"workload_type,omitempty"` WorkloadType *ResourceJobJobClusterNewClusterWorkloadType `json:"workload_type,omitempty"`
} }
type ResourceJobJobCluster struct { type ResourceJobJobCluster struct {
JobClusterKey string `json:"job_cluster_key,omitempty"` JobClusterKey string `json:"job_cluster_key"`
NewCluster *ResourceJobJobClusterNewCluster `json:"new_cluster,omitempty"` NewCluster *ResourceJobJobClusterNewCluster `json:"new_cluster,omitempty"`
} }
@ -260,7 +299,9 @@ type ResourceJobNewClusterAutoscale struct {
type ResourceJobNewClusterAwsAttributes struct { type ResourceJobNewClusterAwsAttributes struct {
Availability string `json:"availability,omitempty"` Availability string `json:"availability,omitempty"`
EbsVolumeCount int `json:"ebs_volume_count,omitempty"` EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
EbsVolumeIops int `json:"ebs_volume_iops,omitempty"`
EbsVolumeSize int `json:"ebs_volume_size,omitempty"` EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
EbsVolumeThroughput int `json:"ebs_volume_throughput,omitempty"`
EbsVolumeType string `json:"ebs_volume_type,omitempty"` EbsVolumeType string `json:"ebs_volume_type,omitempty"`
FirstOnDemand int `json:"first_on_demand,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"`
InstanceProfileArn string `json:"instance_profile_arn,omitempty"` InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
@ -268,10 +309,16 @@ type ResourceJobNewClusterAwsAttributes struct {
ZoneId string `json:"zone_id,omitempty"` ZoneId string `json:"zone_id,omitempty"`
} }
type ResourceJobNewClusterAzureAttributesLogAnalyticsInfo struct {
LogAnalyticsPrimaryKey string `json:"log_analytics_primary_key,omitempty"`
LogAnalyticsWorkspaceId string `json:"log_analytics_workspace_id,omitempty"`
}
type ResourceJobNewClusterAzureAttributes struct { type ResourceJobNewClusterAzureAttributes struct {
Availability string `json:"availability,omitempty"` Availability string `json:"availability,omitempty"`
FirstOnDemand int `json:"first_on_demand,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"`
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"` SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
LogAnalyticsInfo *ResourceJobNewClusterAzureAttributesLogAnalyticsInfo `json:"log_analytics_info,omitempty"`
} }
type ResourceJobNewClusterClusterLogConfDbfs struct { type ResourceJobNewClusterClusterLogConfDbfs struct {
@ -367,6 +414,32 @@ type ResourceJobNewClusterInitScripts struct {
Workspace *ResourceJobNewClusterInitScriptsWorkspace `json:"workspace,omitempty"` Workspace *ResourceJobNewClusterInitScriptsWorkspace `json:"workspace,omitempty"`
} }
type ResourceJobNewClusterLibraryCran struct {
Package string `json:"package"`
Repo string `json:"repo,omitempty"`
}
type ResourceJobNewClusterLibraryMaven struct {
Coordinates string `json:"coordinates"`
Exclusions []string `json:"exclusions,omitempty"`
Repo string `json:"repo,omitempty"`
}
type ResourceJobNewClusterLibraryPypi struct {
Package string `json:"package"`
Repo string `json:"repo,omitempty"`
}
type ResourceJobNewClusterLibrary struct {
Egg string `json:"egg,omitempty"`
Jar string `json:"jar,omitempty"`
Requirements string `json:"requirements,omitempty"`
Whl string `json:"whl,omitempty"`
Cran *ResourceJobNewClusterLibraryCran `json:"cran,omitempty"`
Maven *ResourceJobNewClusterLibraryMaven `json:"maven,omitempty"`
Pypi *ResourceJobNewClusterLibraryPypi `json:"pypi,omitempty"`
}
type ResourceJobNewClusterWorkloadTypeClients struct { type ResourceJobNewClusterWorkloadTypeClients struct {
Jobs bool `json:"jobs,omitempty"` Jobs bool `json:"jobs,omitempty"`
Notebooks bool `json:"notebooks,omitempty"` Notebooks bool `json:"notebooks,omitempty"`
@ -378,7 +451,6 @@ type ResourceJobNewClusterWorkloadType struct {
type ResourceJobNewCluster struct { type ResourceJobNewCluster struct {
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
ClusterId string `json:"cluster_id,omitempty"` ClusterId string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"` ClusterName string `json:"cluster_name,omitempty"`
CustomTags map[string]string `json:"custom_tags,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"`
@ -406,6 +478,7 @@ type ResourceJobNewCluster struct {
DockerImage *ResourceJobNewClusterDockerImage `json:"docker_image,omitempty"` DockerImage *ResourceJobNewClusterDockerImage `json:"docker_image,omitempty"`
GcpAttributes *ResourceJobNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` GcpAttributes *ResourceJobNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
InitScripts []ResourceJobNewClusterInitScripts `json:"init_scripts,omitempty"` InitScripts []ResourceJobNewClusterInitScripts `json:"init_scripts,omitempty"`
Library []ResourceJobNewClusterLibrary `json:"library,omitempty"`
WorkloadType *ResourceJobNewClusterWorkloadType `json:"workload_type,omitempty"` WorkloadType *ResourceJobNewClusterWorkloadType `json:"workload_type,omitempty"`
} }
@ -533,9 +606,9 @@ type ResourceJobTaskForEachTaskTaskEmailNotifications struct {
} }
type ResourceJobTaskForEachTaskTaskHealthRules struct { type ResourceJobTaskForEachTaskTaskHealthRules struct {
Metric string `json:"metric,omitempty"` Metric string `json:"metric"`
Op string `json:"op,omitempty"` Op string `json:"op"`
Value int `json:"value,omitempty"` Value int `json:"value"`
} }
type ResourceJobTaskForEachTaskTaskHealth struct { type ResourceJobTaskForEachTaskTaskHealth struct {
@ -576,7 +649,9 @@ type ResourceJobTaskForEachTaskTaskNewClusterAutoscale struct {
type ResourceJobTaskForEachTaskTaskNewClusterAwsAttributes struct { type ResourceJobTaskForEachTaskTaskNewClusterAwsAttributes struct {
Availability string `json:"availability,omitempty"` Availability string `json:"availability,omitempty"`
EbsVolumeCount int `json:"ebs_volume_count,omitempty"` EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
EbsVolumeIops int `json:"ebs_volume_iops,omitempty"`
EbsVolumeSize int `json:"ebs_volume_size,omitempty"` EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
EbsVolumeThroughput int `json:"ebs_volume_throughput,omitempty"`
EbsVolumeType string `json:"ebs_volume_type,omitempty"` EbsVolumeType string `json:"ebs_volume_type,omitempty"`
FirstOnDemand int `json:"first_on_demand,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"`
InstanceProfileArn string `json:"instance_profile_arn,omitempty"` InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
@ -584,10 +659,16 @@ type ResourceJobTaskForEachTaskTaskNewClusterAwsAttributes struct {
ZoneId string `json:"zone_id,omitempty"` ZoneId string `json:"zone_id,omitempty"`
} }
type ResourceJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo struct {
LogAnalyticsPrimaryKey string `json:"log_analytics_primary_key,omitempty"`
LogAnalyticsWorkspaceId string `json:"log_analytics_workspace_id,omitempty"`
}
type ResourceJobTaskForEachTaskTaskNewClusterAzureAttributes struct { type ResourceJobTaskForEachTaskTaskNewClusterAzureAttributes struct {
Availability string `json:"availability,omitempty"` Availability string `json:"availability,omitempty"`
FirstOnDemand int `json:"first_on_demand,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"`
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"` SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
LogAnalyticsInfo *ResourceJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo `json:"log_analytics_info,omitempty"`
} }
type ResourceJobTaskForEachTaskTaskNewClusterClusterLogConfDbfs struct { type ResourceJobTaskForEachTaskTaskNewClusterClusterLogConfDbfs struct {
@ -683,6 +764,32 @@ type ResourceJobTaskForEachTaskTaskNewClusterInitScripts struct {
Workspace *ResourceJobTaskForEachTaskTaskNewClusterInitScriptsWorkspace `json:"workspace,omitempty"` Workspace *ResourceJobTaskForEachTaskTaskNewClusterInitScriptsWorkspace `json:"workspace,omitempty"`
} }
type ResourceJobTaskForEachTaskTaskNewClusterLibraryCran struct {
Package string `json:"package"`
Repo string `json:"repo,omitempty"`
}
type ResourceJobTaskForEachTaskTaskNewClusterLibraryMaven struct {
Coordinates string `json:"coordinates"`
Exclusions []string `json:"exclusions,omitempty"`
Repo string `json:"repo,omitempty"`
}
type ResourceJobTaskForEachTaskTaskNewClusterLibraryPypi struct {
Package string `json:"package"`
Repo string `json:"repo,omitempty"`
}
type ResourceJobTaskForEachTaskTaskNewClusterLibrary struct {
Egg string `json:"egg,omitempty"`
Jar string `json:"jar,omitempty"`
Requirements string `json:"requirements,omitempty"`
Whl string `json:"whl,omitempty"`
Cran *ResourceJobTaskForEachTaskTaskNewClusterLibraryCran `json:"cran,omitempty"`
Maven *ResourceJobTaskForEachTaskTaskNewClusterLibraryMaven `json:"maven,omitempty"`
Pypi *ResourceJobTaskForEachTaskTaskNewClusterLibraryPypi `json:"pypi,omitempty"`
}
type ResourceJobTaskForEachTaskTaskNewClusterWorkloadTypeClients struct { type ResourceJobTaskForEachTaskTaskNewClusterWorkloadTypeClients struct {
Jobs bool `json:"jobs,omitempty"` Jobs bool `json:"jobs,omitempty"`
Notebooks bool `json:"notebooks,omitempty"` Notebooks bool `json:"notebooks,omitempty"`
@ -694,7 +801,6 @@ type ResourceJobTaskForEachTaskTaskNewClusterWorkloadType struct {
type ResourceJobTaskForEachTaskTaskNewCluster struct { type ResourceJobTaskForEachTaskTaskNewCluster struct {
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
ClusterId string `json:"cluster_id,omitempty"` ClusterId string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"` ClusterName string `json:"cluster_name,omitempty"`
CustomTags map[string]string `json:"custom_tags,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"`
@ -706,7 +812,7 @@ type ResourceJobTaskForEachTaskTaskNewCluster struct {
IdempotencyToken string `json:"idempotency_token,omitempty"` IdempotencyToken string `json:"idempotency_token,omitempty"`
InstancePoolId string `json:"instance_pool_id,omitempty"` InstancePoolId string `json:"instance_pool_id,omitempty"`
NodeTypeId string `json:"node_type_id,omitempty"` NodeTypeId string `json:"node_type_id,omitempty"`
NumWorkers int `json:"num_workers"` NumWorkers int `json:"num_workers,omitempty"`
PolicyId string `json:"policy_id,omitempty"` PolicyId string `json:"policy_id,omitempty"`
RuntimeEngine string `json:"runtime_engine,omitempty"` RuntimeEngine string `json:"runtime_engine,omitempty"`
SingleUserName string `json:"single_user_name,omitempty"` SingleUserName string `json:"single_user_name,omitempty"`
@ -722,6 +828,7 @@ type ResourceJobTaskForEachTaskTaskNewCluster struct {
DockerImage *ResourceJobTaskForEachTaskTaskNewClusterDockerImage `json:"docker_image,omitempty"` DockerImage *ResourceJobTaskForEachTaskTaskNewClusterDockerImage `json:"docker_image,omitempty"`
GcpAttributes *ResourceJobTaskForEachTaskTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` GcpAttributes *ResourceJobTaskForEachTaskTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
InitScripts []ResourceJobTaskForEachTaskTaskNewClusterInitScripts `json:"init_scripts,omitempty"` InitScripts []ResourceJobTaskForEachTaskTaskNewClusterInitScripts `json:"init_scripts,omitempty"`
Library []ResourceJobTaskForEachTaskTaskNewClusterLibrary `json:"library,omitempty"`
WorkloadType *ResourceJobTaskForEachTaskTaskNewClusterWorkloadType `json:"workload_type,omitempty"` WorkloadType *ResourceJobTaskForEachTaskTaskNewClusterWorkloadType `json:"workload_type,omitempty"`
} }
@ -750,9 +857,21 @@ type ResourceJobTaskForEachTaskTaskPythonWheelTask struct {
Parameters []string `json:"parameters,omitempty"` Parameters []string `json:"parameters,omitempty"`
} }
type ResourceJobTaskForEachTaskTaskRunJobTaskPipelineParams struct {
FullRefresh bool `json:"full_refresh,omitempty"`
}
type ResourceJobTaskForEachTaskTaskRunJobTask struct { type ResourceJobTaskForEachTaskTaskRunJobTask struct {
JobId int `json:"job_id"` DbtCommands []string `json:"dbt_commands,omitempty"`
JobParameters map[string]string `json:"job_parameters,omitempty"` JarParams []string `json:"jar_params,omitempty"`
JobId int `json:"job_id"`
JobParameters map[string]string `json:"job_parameters,omitempty"`
NotebookParams map[string]string `json:"notebook_params,omitempty"`
PythonNamedParams map[string]string `json:"python_named_params,omitempty"`
PythonParams []string `json:"python_params,omitempty"`
SparkSubmitParams []string `json:"spark_submit_params,omitempty"`
SqlParams map[string]string `json:"sql_params,omitempty"`
PipelineParams *ResourceJobTaskForEachTaskTaskRunJobTaskPipelineParams `json:"pipeline_params,omitempty"`
} }
type ResourceJobTaskForEachTaskTaskSparkJarTask struct { type ResourceJobTaskForEachTaskTaskSparkJarTask struct {
@ -805,7 +924,7 @@ type ResourceJobTaskForEachTaskTaskSqlTaskQuery struct {
type ResourceJobTaskForEachTaskTaskSqlTask struct { type ResourceJobTaskForEachTaskTaskSqlTask struct {
Parameters map[string]string `json:"parameters,omitempty"` Parameters map[string]string `json:"parameters,omitempty"`
WarehouseId string `json:"warehouse_id,omitempty"` WarehouseId string `json:"warehouse_id"`
Alert *ResourceJobTaskForEachTaskTaskSqlTaskAlert `json:"alert,omitempty"` Alert *ResourceJobTaskForEachTaskTaskSqlTaskAlert `json:"alert,omitempty"`
Dashboard *ResourceJobTaskForEachTaskTaskSqlTaskDashboard `json:"dashboard,omitempty"` Dashboard *ResourceJobTaskForEachTaskTaskSqlTaskDashboard `json:"dashboard,omitempty"`
File *ResourceJobTaskForEachTaskTaskSqlTaskFile `json:"file,omitempty"` File *ResourceJobTaskForEachTaskTaskSqlTaskFile `json:"file,omitempty"`
@ -836,33 +955,34 @@ type ResourceJobTaskForEachTaskTaskWebhookNotifications struct {
} }
type ResourceJobTaskForEachTaskTask struct { type ResourceJobTaskForEachTaskTask struct {
Description string `json:"description,omitempty"` Description string `json:"description,omitempty"`
EnvironmentKey string `json:"environment_key,omitempty"` DisableAutoOptimization bool `json:"disable_auto_optimization,omitempty"`
ExistingClusterId string `json:"existing_cluster_id,omitempty"` EnvironmentKey string `json:"environment_key,omitempty"`
JobClusterKey string `json:"job_cluster_key,omitempty"` ExistingClusterId string `json:"existing_cluster_id,omitempty"`
MaxRetries int `json:"max_retries,omitempty"` JobClusterKey string `json:"job_cluster_key,omitempty"`
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"` MaxRetries int `json:"max_retries,omitempty"`
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"` MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
RunIf string `json:"run_if,omitempty"` RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
TaskKey string `json:"task_key,omitempty"` RunIf string `json:"run_if,omitempty"`
TimeoutSeconds int `json:"timeout_seconds,omitempty"` TaskKey string `json:"task_key"`
ConditionTask *ResourceJobTaskForEachTaskTaskConditionTask `json:"condition_task,omitempty"` TimeoutSeconds int `json:"timeout_seconds,omitempty"`
DbtTask *ResourceJobTaskForEachTaskTaskDbtTask `json:"dbt_task,omitempty"` ConditionTask *ResourceJobTaskForEachTaskTaskConditionTask `json:"condition_task,omitempty"`
DependsOn []ResourceJobTaskForEachTaskTaskDependsOn `json:"depends_on,omitempty"` DbtTask *ResourceJobTaskForEachTaskTaskDbtTask `json:"dbt_task,omitempty"`
EmailNotifications *ResourceJobTaskForEachTaskTaskEmailNotifications `json:"email_notifications,omitempty"` DependsOn []ResourceJobTaskForEachTaskTaskDependsOn `json:"depends_on,omitempty"`
Health *ResourceJobTaskForEachTaskTaskHealth `json:"health,omitempty"` EmailNotifications *ResourceJobTaskForEachTaskTaskEmailNotifications `json:"email_notifications,omitempty"`
Library []ResourceJobTaskForEachTaskTaskLibrary `json:"library,omitempty"` Health *ResourceJobTaskForEachTaskTaskHealth `json:"health,omitempty"`
NewCluster *ResourceJobTaskForEachTaskTaskNewCluster `json:"new_cluster,omitempty"` Library []ResourceJobTaskForEachTaskTaskLibrary `json:"library,omitempty"`
NotebookTask *ResourceJobTaskForEachTaskTaskNotebookTask `json:"notebook_task,omitempty"` NewCluster *ResourceJobTaskForEachTaskTaskNewCluster `json:"new_cluster,omitempty"`
NotificationSettings *ResourceJobTaskForEachTaskTaskNotificationSettings `json:"notification_settings,omitempty"` NotebookTask *ResourceJobTaskForEachTaskTaskNotebookTask `json:"notebook_task,omitempty"`
PipelineTask *ResourceJobTaskForEachTaskTaskPipelineTask `json:"pipeline_task,omitempty"` NotificationSettings *ResourceJobTaskForEachTaskTaskNotificationSettings `json:"notification_settings,omitempty"`
PythonWheelTask *ResourceJobTaskForEachTaskTaskPythonWheelTask `json:"python_wheel_task,omitempty"` PipelineTask *ResourceJobTaskForEachTaskTaskPipelineTask `json:"pipeline_task,omitempty"`
RunJobTask *ResourceJobTaskForEachTaskTaskRunJobTask `json:"run_job_task,omitempty"` PythonWheelTask *ResourceJobTaskForEachTaskTaskPythonWheelTask `json:"python_wheel_task,omitempty"`
SparkJarTask *ResourceJobTaskForEachTaskTaskSparkJarTask `json:"spark_jar_task,omitempty"` RunJobTask *ResourceJobTaskForEachTaskTaskRunJobTask `json:"run_job_task,omitempty"`
SparkPythonTask *ResourceJobTaskForEachTaskTaskSparkPythonTask `json:"spark_python_task,omitempty"` SparkJarTask *ResourceJobTaskForEachTaskTaskSparkJarTask `json:"spark_jar_task,omitempty"`
SparkSubmitTask *ResourceJobTaskForEachTaskTaskSparkSubmitTask `json:"spark_submit_task,omitempty"` SparkPythonTask *ResourceJobTaskForEachTaskTaskSparkPythonTask `json:"spark_python_task,omitempty"`
SqlTask *ResourceJobTaskForEachTaskTaskSqlTask `json:"sql_task,omitempty"` SparkSubmitTask *ResourceJobTaskForEachTaskTaskSparkSubmitTask `json:"spark_submit_task,omitempty"`
WebhookNotifications *ResourceJobTaskForEachTaskTaskWebhookNotifications `json:"webhook_notifications,omitempty"` SqlTask *ResourceJobTaskForEachTaskTaskSqlTask `json:"sql_task,omitempty"`
WebhookNotifications *ResourceJobTaskForEachTaskTaskWebhookNotifications `json:"webhook_notifications,omitempty"`
} }
type ResourceJobTaskForEachTask struct { type ResourceJobTaskForEachTask struct {
@ -872,9 +992,9 @@ type ResourceJobTaskForEachTask struct {
} }
type ResourceJobTaskHealthRules struct { type ResourceJobTaskHealthRules struct {
Metric string `json:"metric,omitempty"` Metric string `json:"metric"`
Op string `json:"op,omitempty"` Op string `json:"op"`
Value int `json:"value,omitempty"` Value int `json:"value"`
} }
type ResourceJobTaskHealth struct { type ResourceJobTaskHealth struct {
@ -915,7 +1035,9 @@ type ResourceJobTaskNewClusterAutoscale struct {
type ResourceJobTaskNewClusterAwsAttributes struct { type ResourceJobTaskNewClusterAwsAttributes struct {
Availability string `json:"availability,omitempty"` Availability string `json:"availability,omitempty"`
EbsVolumeCount int `json:"ebs_volume_count,omitempty"` EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
EbsVolumeIops int `json:"ebs_volume_iops,omitempty"`
EbsVolumeSize int `json:"ebs_volume_size,omitempty"` EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
EbsVolumeThroughput int `json:"ebs_volume_throughput,omitempty"`
EbsVolumeType string `json:"ebs_volume_type,omitempty"` EbsVolumeType string `json:"ebs_volume_type,omitempty"`
FirstOnDemand int `json:"first_on_demand,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"`
InstanceProfileArn string `json:"instance_profile_arn,omitempty"` InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
@ -923,10 +1045,16 @@ type ResourceJobTaskNewClusterAwsAttributes struct {
ZoneId string `json:"zone_id,omitempty"` ZoneId string `json:"zone_id,omitempty"`
} }
type ResourceJobTaskNewClusterAzureAttributesLogAnalyticsInfo struct {
LogAnalyticsPrimaryKey string `json:"log_analytics_primary_key,omitempty"`
LogAnalyticsWorkspaceId string `json:"log_analytics_workspace_id,omitempty"`
}
type ResourceJobTaskNewClusterAzureAttributes struct { type ResourceJobTaskNewClusterAzureAttributes struct {
Availability string `json:"availability,omitempty"` Availability string `json:"availability,omitempty"`
FirstOnDemand int `json:"first_on_demand,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"`
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"` SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
LogAnalyticsInfo *ResourceJobTaskNewClusterAzureAttributesLogAnalyticsInfo `json:"log_analytics_info,omitempty"`
} }
type ResourceJobTaskNewClusterClusterLogConfDbfs struct { type ResourceJobTaskNewClusterClusterLogConfDbfs struct {
@ -1022,6 +1150,32 @@ type ResourceJobTaskNewClusterInitScripts struct {
Workspace *ResourceJobTaskNewClusterInitScriptsWorkspace `json:"workspace,omitempty"` Workspace *ResourceJobTaskNewClusterInitScriptsWorkspace `json:"workspace,omitempty"`
} }
type ResourceJobTaskNewClusterLibraryCran struct {
Package string `json:"package"`
Repo string `json:"repo,omitempty"`
}
type ResourceJobTaskNewClusterLibraryMaven struct {
Coordinates string `json:"coordinates"`
Exclusions []string `json:"exclusions,omitempty"`
Repo string `json:"repo,omitempty"`
}
type ResourceJobTaskNewClusterLibraryPypi struct {
Package string `json:"package"`
Repo string `json:"repo,omitempty"`
}
type ResourceJobTaskNewClusterLibrary struct {
Egg string `json:"egg,omitempty"`
Jar string `json:"jar,omitempty"`
Requirements string `json:"requirements,omitempty"`
Whl string `json:"whl,omitempty"`
Cran *ResourceJobTaskNewClusterLibraryCran `json:"cran,omitempty"`
Maven *ResourceJobTaskNewClusterLibraryMaven `json:"maven,omitempty"`
Pypi *ResourceJobTaskNewClusterLibraryPypi `json:"pypi,omitempty"`
}
type ResourceJobTaskNewClusterWorkloadTypeClients struct { type ResourceJobTaskNewClusterWorkloadTypeClients struct {
Jobs bool `json:"jobs,omitempty"` Jobs bool `json:"jobs,omitempty"`
Notebooks bool `json:"notebooks,omitempty"` Notebooks bool `json:"notebooks,omitempty"`
@ -1033,7 +1187,6 @@ type ResourceJobTaskNewClusterWorkloadType struct {
type ResourceJobTaskNewCluster struct { type ResourceJobTaskNewCluster struct {
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
ClusterId string `json:"cluster_id,omitempty"` ClusterId string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"` ClusterName string `json:"cluster_name,omitempty"`
CustomTags map[string]string `json:"custom_tags,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"`
@ -1061,6 +1214,7 @@ type ResourceJobTaskNewCluster struct {
DockerImage *ResourceJobTaskNewClusterDockerImage `json:"docker_image,omitempty"` DockerImage *ResourceJobTaskNewClusterDockerImage `json:"docker_image,omitempty"`
GcpAttributes *ResourceJobTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` GcpAttributes *ResourceJobTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
InitScripts []ResourceJobTaskNewClusterInitScripts `json:"init_scripts,omitempty"` InitScripts []ResourceJobTaskNewClusterInitScripts `json:"init_scripts,omitempty"`
Library []ResourceJobTaskNewClusterLibrary `json:"library,omitempty"`
WorkloadType *ResourceJobTaskNewClusterWorkloadType `json:"workload_type,omitempty"` WorkloadType *ResourceJobTaskNewClusterWorkloadType `json:"workload_type,omitempty"`
} }
@ -1089,9 +1243,21 @@ type ResourceJobTaskPythonWheelTask struct {
Parameters []string `json:"parameters,omitempty"` Parameters []string `json:"parameters,omitempty"`
} }
type ResourceJobTaskRunJobTaskPipelineParams struct {
FullRefresh bool `json:"full_refresh,omitempty"`
}
type ResourceJobTaskRunJobTask struct { type ResourceJobTaskRunJobTask struct {
JobId int `json:"job_id"` DbtCommands []string `json:"dbt_commands,omitempty"`
JobParameters map[string]string `json:"job_parameters,omitempty"` JarParams []string `json:"jar_params,omitempty"`
JobId int `json:"job_id"`
JobParameters map[string]string `json:"job_parameters,omitempty"`
NotebookParams map[string]string `json:"notebook_params,omitempty"`
PythonNamedParams map[string]string `json:"python_named_params,omitempty"`
PythonParams []string `json:"python_params,omitempty"`
SparkSubmitParams []string `json:"spark_submit_params,omitempty"`
SqlParams map[string]string `json:"sql_params,omitempty"`
PipelineParams *ResourceJobTaskRunJobTaskPipelineParams `json:"pipeline_params,omitempty"`
} }
type ResourceJobTaskSparkJarTask struct { type ResourceJobTaskSparkJarTask struct {
@ -1144,7 +1310,7 @@ type ResourceJobTaskSqlTaskQuery struct {
type ResourceJobTaskSqlTask struct { type ResourceJobTaskSqlTask struct {
Parameters map[string]string `json:"parameters,omitempty"` Parameters map[string]string `json:"parameters,omitempty"`
WarehouseId string `json:"warehouse_id,omitempty"` WarehouseId string `json:"warehouse_id"`
Alert *ResourceJobTaskSqlTaskAlert `json:"alert,omitempty"` Alert *ResourceJobTaskSqlTaskAlert `json:"alert,omitempty"`
Dashboard *ResourceJobTaskSqlTaskDashboard `json:"dashboard,omitempty"` Dashboard *ResourceJobTaskSqlTaskDashboard `json:"dashboard,omitempty"`
File *ResourceJobTaskSqlTaskFile `json:"file,omitempty"` File *ResourceJobTaskSqlTaskFile `json:"file,omitempty"`
@ -1175,34 +1341,35 @@ type ResourceJobTaskWebhookNotifications struct {
} }
type ResourceJobTask struct { type ResourceJobTask struct {
Description string `json:"description,omitempty"` Description string `json:"description,omitempty"`
EnvironmentKey string `json:"environment_key,omitempty"` DisableAutoOptimization bool `json:"disable_auto_optimization,omitempty"`
ExistingClusterId string `json:"existing_cluster_id,omitempty"` EnvironmentKey string `json:"environment_key,omitempty"`
JobClusterKey string `json:"job_cluster_key,omitempty"` ExistingClusterId string `json:"existing_cluster_id,omitempty"`
MaxRetries int `json:"max_retries,omitempty"` JobClusterKey string `json:"job_cluster_key,omitempty"`
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"` MaxRetries int `json:"max_retries,omitempty"`
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"` MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
RunIf string `json:"run_if,omitempty"` RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
TaskKey string `json:"task_key,omitempty"` RunIf string `json:"run_if,omitempty"`
TimeoutSeconds int `json:"timeout_seconds,omitempty"` TaskKey string `json:"task_key"`
ConditionTask *ResourceJobTaskConditionTask `json:"condition_task,omitempty"` TimeoutSeconds int `json:"timeout_seconds,omitempty"`
DbtTask *ResourceJobTaskDbtTask `json:"dbt_task,omitempty"` ConditionTask *ResourceJobTaskConditionTask `json:"condition_task,omitempty"`
DependsOn []ResourceJobTaskDependsOn `json:"depends_on,omitempty"` DbtTask *ResourceJobTaskDbtTask `json:"dbt_task,omitempty"`
EmailNotifications *ResourceJobTaskEmailNotifications `json:"email_notifications,omitempty"` DependsOn []ResourceJobTaskDependsOn `json:"depends_on,omitempty"`
ForEachTask *ResourceJobTaskForEachTask `json:"for_each_task,omitempty"` EmailNotifications *ResourceJobTaskEmailNotifications `json:"email_notifications,omitempty"`
Health *ResourceJobTaskHealth `json:"health,omitempty"` ForEachTask *ResourceJobTaskForEachTask `json:"for_each_task,omitempty"`
Library []ResourceJobTaskLibrary `json:"library,omitempty"` Health *ResourceJobTaskHealth `json:"health,omitempty"`
NewCluster *ResourceJobTaskNewCluster `json:"new_cluster,omitempty"` Library []ResourceJobTaskLibrary `json:"library,omitempty"`
NotebookTask *ResourceJobTaskNotebookTask `json:"notebook_task,omitempty"` NewCluster *ResourceJobTaskNewCluster `json:"new_cluster,omitempty"`
NotificationSettings *ResourceJobTaskNotificationSettings `json:"notification_settings,omitempty"` NotebookTask *ResourceJobTaskNotebookTask `json:"notebook_task,omitempty"`
PipelineTask *ResourceJobTaskPipelineTask `json:"pipeline_task,omitempty"` NotificationSettings *ResourceJobTaskNotificationSettings `json:"notification_settings,omitempty"`
PythonWheelTask *ResourceJobTaskPythonWheelTask `json:"python_wheel_task,omitempty"` PipelineTask *ResourceJobTaskPipelineTask `json:"pipeline_task,omitempty"`
RunJobTask *ResourceJobTaskRunJobTask `json:"run_job_task,omitempty"` PythonWheelTask *ResourceJobTaskPythonWheelTask `json:"python_wheel_task,omitempty"`
SparkJarTask *ResourceJobTaskSparkJarTask `json:"spark_jar_task,omitempty"` RunJobTask *ResourceJobTaskRunJobTask `json:"run_job_task,omitempty"`
SparkPythonTask *ResourceJobTaskSparkPythonTask `json:"spark_python_task,omitempty"` SparkJarTask *ResourceJobTaskSparkJarTask `json:"spark_jar_task,omitempty"`
SparkSubmitTask *ResourceJobTaskSparkSubmitTask `json:"spark_submit_task,omitempty"` SparkPythonTask *ResourceJobTaskSparkPythonTask `json:"spark_python_task,omitempty"`
SqlTask *ResourceJobTaskSqlTask `json:"sql_task,omitempty"` SparkSubmitTask *ResourceJobTaskSparkSubmitTask `json:"spark_submit_task,omitempty"`
WebhookNotifications *ResourceJobTaskWebhookNotifications `json:"webhook_notifications,omitempty"` SqlTask *ResourceJobTaskSqlTask `json:"sql_task,omitempty"`
WebhookNotifications *ResourceJobTaskWebhookNotifications `json:"webhook_notifications,omitempty"`
} }
type ResourceJobTriggerFileArrival struct { type ResourceJobTriggerFileArrival struct {
@ -1211,6 +1378,13 @@ type ResourceJobTriggerFileArrival struct {
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"` WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
} }
type ResourceJobTriggerTable struct {
Condition string `json:"condition,omitempty"`
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
TableNames []string `json:"table_names,omitempty"`
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
}
type ResourceJobTriggerTableUpdate struct { type ResourceJobTriggerTableUpdate struct {
Condition string `json:"condition,omitempty"` Condition string `json:"condition,omitempty"`
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"` MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
@ -1221,6 +1395,7 @@ type ResourceJobTriggerTableUpdate struct {
type ResourceJobTrigger struct { type ResourceJobTrigger struct {
PauseStatus string `json:"pause_status,omitempty"` PauseStatus string `json:"pause_status,omitempty"`
FileArrival *ResourceJobTriggerFileArrival `json:"file_arrival,omitempty"` FileArrival *ResourceJobTriggerFileArrival `json:"file_arrival,omitempty"`
Table *ResourceJobTriggerTable `json:"table,omitempty"`
TableUpdate *ResourceJobTriggerTableUpdate `json:"table_update,omitempty"` TableUpdate *ResourceJobTriggerTableUpdate `json:"table_update,omitempty"`
} }

View File

@ -34,12 +34,15 @@ type ResourceModelServingConfigServedEntitiesExternalModelDatabricksModelServing
} }
type ResourceModelServingConfigServedEntitiesExternalModelOpenaiConfig struct { type ResourceModelServingConfigServedEntitiesExternalModelOpenaiConfig struct {
OpenaiApiBase string `json:"openai_api_base,omitempty"` MicrosoftEntraClientId string `json:"microsoft_entra_client_id,omitempty"`
OpenaiApiKey string `json:"openai_api_key"` MicrosoftEntraClientSecret string `json:"microsoft_entra_client_secret,omitempty"`
OpenaiApiType string `json:"openai_api_type,omitempty"` MicrosoftEntraTenantId string `json:"microsoft_entra_tenant_id,omitempty"`
OpenaiApiVersion string `json:"openai_api_version,omitempty"` OpenaiApiBase string `json:"openai_api_base,omitempty"`
OpenaiDeploymentName string `json:"openai_deployment_name,omitempty"` OpenaiApiKey string `json:"openai_api_key,omitempty"`
OpenaiOrganization string `json:"openai_organization,omitempty"` OpenaiApiType string `json:"openai_api_type,omitempty"`
OpenaiApiVersion string `json:"openai_api_version,omitempty"`
OpenaiDeploymentName string `json:"openai_deployment_name,omitempty"`
OpenaiOrganization string `json:"openai_organization,omitempty"`
} }
type ResourceModelServingConfigServedEntitiesExternalModelPalmConfig struct { type ResourceModelServingConfigServedEntitiesExternalModelPalmConfig struct {
@ -114,6 +117,7 @@ type ResourceModelServingTags struct {
type ResourceModelServing struct { type ResourceModelServing struct {
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
Name string `json:"name"` Name string `json:"name"`
RouteOptimized bool `json:"route_optimized,omitempty"`
ServingEndpointId string `json:"serving_endpoint_id,omitempty"` ServingEndpointId string `json:"serving_endpoint_id,omitempty"`
Config *ResourceModelServingConfig `json:"config,omitempty"` Config *ResourceModelServingConfig `json:"config,omitempty"`
RateLimits []ResourceModelServingRateLimits `json:"rate_limits,omitempty"` RateLimits []ResourceModelServingRateLimits `json:"rate_limits,omitempty"`

View File

@ -0,0 +1,76 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type ResourceQualityMonitorCustomMetrics struct {
Definition string `json:"definition"`
InputColumns []string `json:"input_columns"`
Name string `json:"name"`
OutputDataType string `json:"output_data_type"`
Type string `json:"type"`
}
type ResourceQualityMonitorDataClassificationConfig struct {
Enabled bool `json:"enabled,omitempty"`
}
type ResourceQualityMonitorInferenceLog struct {
Granularities []string `json:"granularities"`
LabelCol string `json:"label_col,omitempty"`
ModelIdCol string `json:"model_id_col"`
PredictionCol string `json:"prediction_col"`
PredictionProbaCol string `json:"prediction_proba_col,omitempty"`
ProblemType string `json:"problem_type"`
TimestampCol string `json:"timestamp_col"`
}
type ResourceQualityMonitorNotificationsOnFailure struct {
EmailAddresses []string `json:"email_addresses,omitempty"`
}
type ResourceQualityMonitorNotificationsOnNewClassificationTagDetected struct {
EmailAddresses []string `json:"email_addresses,omitempty"`
}
type ResourceQualityMonitorNotifications struct {
OnFailure *ResourceQualityMonitorNotificationsOnFailure `json:"on_failure,omitempty"`
OnNewClassificationTagDetected *ResourceQualityMonitorNotificationsOnNewClassificationTagDetected `json:"on_new_classification_tag_detected,omitempty"`
}
type ResourceQualityMonitorSchedule struct {
PauseStatus string `json:"pause_status,omitempty"`
QuartzCronExpression string `json:"quartz_cron_expression"`
TimezoneId string `json:"timezone_id"`
}
type ResourceQualityMonitorSnapshot struct {
}
type ResourceQualityMonitorTimeSeries struct {
Granularities []string `json:"granularities"`
TimestampCol string `json:"timestamp_col"`
}
type ResourceQualityMonitor struct {
AssetsDir string `json:"assets_dir"`
BaselineTableName string `json:"baseline_table_name,omitempty"`
DashboardId string `json:"dashboard_id,omitempty"`
DriftMetricsTableName string `json:"drift_metrics_table_name,omitempty"`
Id string `json:"id,omitempty"`
LatestMonitorFailureMsg string `json:"latest_monitor_failure_msg,omitempty"`
MonitorVersion string `json:"monitor_version,omitempty"`
OutputSchemaName string `json:"output_schema_name"`
ProfileMetricsTableName string `json:"profile_metrics_table_name,omitempty"`
SkipBuiltinDashboard bool `json:"skip_builtin_dashboard,omitempty"`
SlicingExprs []string `json:"slicing_exprs,omitempty"`
Status string `json:"status,omitempty"`
TableName string `json:"table_name"`
WarehouseId string `json:"warehouse_id,omitempty"`
CustomMetrics []ResourceQualityMonitorCustomMetrics `json:"custom_metrics,omitempty"`
DataClassificationConfig *ResourceQualityMonitorDataClassificationConfig `json:"data_classification_config,omitempty"`
InferenceLog *ResourceQualityMonitorInferenceLog `json:"inference_log,omitempty"`
Notifications *ResourceQualityMonitorNotifications `json:"notifications,omitempty"`
Schedule *ResourceQualityMonitorSchedule `json:"schedule,omitempty"`
Snapshot *ResourceQualityMonitorSnapshot `json:"snapshot,omitempty"`
TimeSeries *ResourceQualityMonitorTimeSeries `json:"time_series,omitempty"`
}

View File

@ -18,6 +18,7 @@ type ResourceSqlTable struct {
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
Name string `json:"name"` Name string `json:"name"`
Options map[string]string `json:"options,omitempty"` Options map[string]string `json:"options,omitempty"`
Owner string `json:"owner,omitempty"`
Partitions []string `json:"partitions,omitempty"` Partitions []string `json:"partitions,omitempty"`
Properties map[string]string `json:"properties,omitempty"` Properties map[string]string `json:"properties,omitempty"`
SchemaName string `json:"schema_name"` SchemaName string `json:"schema_name"`

View File

@ -13,11 +13,12 @@ type ResourceVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumns struct {
} }
type ResourceVectorSearchIndexDeltaSyncIndexSpec struct { type ResourceVectorSearchIndexDeltaSyncIndexSpec struct {
PipelineId string `json:"pipeline_id,omitempty"` EmbeddingWritebackTable string `json:"embedding_writeback_table,omitempty"`
PipelineType string `json:"pipeline_type,omitempty"` PipelineId string `json:"pipeline_id,omitempty"`
SourceTable string `json:"source_table,omitempty"` PipelineType string `json:"pipeline_type,omitempty"`
EmbeddingSourceColumns []ResourceVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumns `json:"embedding_source_columns,omitempty"` SourceTable string `json:"source_table,omitempty"`
EmbeddingVectorColumns []ResourceVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumns `json:"embedding_vector_columns,omitempty"` EmbeddingSourceColumns []ResourceVectorSearchIndexDeltaSyncIndexSpecEmbeddingSourceColumns `json:"embedding_source_columns,omitempty"`
EmbeddingVectorColumns []ResourceVectorSearchIndexDeltaSyncIndexSpecEmbeddingVectorColumns `json:"embedding_vector_columns,omitempty"`
} }
type ResourceVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumns struct { type ResourceVectorSearchIndexDirectAccessIndexSpecEmbeddingSourceColumns struct {

View File

@ -3,115 +3,122 @@
package schema package schema
type Resources struct { type Resources struct {
AccessControlRuleSet map[string]any `json:"databricks_access_control_rule_set,omitempty"` AccessControlRuleSet map[string]any `json:"databricks_access_control_rule_set,omitempty"`
ArtifactAllowlist map[string]any `json:"databricks_artifact_allowlist,omitempty"` ArtifactAllowlist map[string]any `json:"databricks_artifact_allowlist,omitempty"`
AwsS3Mount map[string]any `json:"databricks_aws_s3_mount,omitempty"` AutomaticClusterUpdateWorkspaceSetting map[string]any `json:"databricks_automatic_cluster_update_workspace_setting,omitempty"`
AzureAdlsGen1Mount map[string]any `json:"databricks_azure_adls_gen1_mount,omitempty"` AwsS3Mount map[string]any `json:"databricks_aws_s3_mount,omitempty"`
AzureAdlsGen2Mount map[string]any `json:"databricks_azure_adls_gen2_mount,omitempty"` AzureAdlsGen1Mount map[string]any `json:"databricks_azure_adls_gen1_mount,omitempty"`
AzureBlobMount map[string]any `json:"databricks_azure_blob_mount,omitempty"` AzureAdlsGen2Mount map[string]any `json:"databricks_azure_adls_gen2_mount,omitempty"`
Catalog map[string]any `json:"databricks_catalog,omitempty"` AzureBlobMount map[string]any `json:"databricks_azure_blob_mount,omitempty"`
CatalogWorkspaceBinding map[string]any `json:"databricks_catalog_workspace_binding,omitempty"` Catalog map[string]any `json:"databricks_catalog,omitempty"`
Cluster map[string]any `json:"databricks_cluster,omitempty"` CatalogWorkspaceBinding map[string]any `json:"databricks_catalog_workspace_binding,omitempty"`
ClusterPolicy map[string]any `json:"databricks_cluster_policy,omitempty"` Cluster map[string]any `json:"databricks_cluster,omitempty"`
Connection map[string]any `json:"databricks_connection,omitempty"` ClusterPolicy map[string]any `json:"databricks_cluster_policy,omitempty"`
DbfsFile map[string]any `json:"databricks_dbfs_file,omitempty"` ComplianceSecurityProfileWorkspaceSetting map[string]any `json:"databricks_compliance_security_profile_workspace_setting,omitempty"`
DefaultNamespaceSetting map[string]any `json:"databricks_default_namespace_setting,omitempty"` Connection map[string]any `json:"databricks_connection,omitempty"`
Directory map[string]any `json:"databricks_directory,omitempty"` DbfsFile map[string]any `json:"databricks_dbfs_file,omitempty"`
Entitlements map[string]any `json:"databricks_entitlements,omitempty"` DefaultNamespaceSetting map[string]any `json:"databricks_default_namespace_setting,omitempty"`
ExternalLocation map[string]any `json:"databricks_external_location,omitempty"` Directory map[string]any `json:"databricks_directory,omitempty"`
File map[string]any `json:"databricks_file,omitempty"` EnhancedSecurityMonitoringWorkspaceSetting map[string]any `json:"databricks_enhanced_security_monitoring_workspace_setting,omitempty"`
GitCredential map[string]any `json:"databricks_git_credential,omitempty"` Entitlements map[string]any `json:"databricks_entitlements,omitempty"`
GlobalInitScript map[string]any `json:"databricks_global_init_script,omitempty"` ExternalLocation map[string]any `json:"databricks_external_location,omitempty"`
Grant map[string]any `json:"databricks_grant,omitempty"` File map[string]any `json:"databricks_file,omitempty"`
Grants map[string]any `json:"databricks_grants,omitempty"` GitCredential map[string]any `json:"databricks_git_credential,omitempty"`
Group map[string]any `json:"databricks_group,omitempty"` GlobalInitScript map[string]any `json:"databricks_global_init_script,omitempty"`
GroupInstanceProfile map[string]any `json:"databricks_group_instance_profile,omitempty"` Grant map[string]any `json:"databricks_grant,omitempty"`
GroupMember map[string]any `json:"databricks_group_member,omitempty"` Grants map[string]any `json:"databricks_grants,omitempty"`
GroupRole map[string]any `json:"databricks_group_role,omitempty"` Group map[string]any `json:"databricks_group,omitempty"`
InstancePool map[string]any `json:"databricks_instance_pool,omitempty"` GroupInstanceProfile map[string]any `json:"databricks_group_instance_profile,omitempty"`
InstanceProfile map[string]any `json:"databricks_instance_profile,omitempty"` GroupMember map[string]any `json:"databricks_group_member,omitempty"`
IpAccessList map[string]any `json:"databricks_ip_access_list,omitempty"` GroupRole map[string]any `json:"databricks_group_role,omitempty"`
Job map[string]any `json:"databricks_job,omitempty"` InstancePool map[string]any `json:"databricks_instance_pool,omitempty"`
LakehouseMonitor map[string]any `json:"databricks_lakehouse_monitor,omitempty"` InstanceProfile map[string]any `json:"databricks_instance_profile,omitempty"`
Library map[string]any `json:"databricks_library,omitempty"` IpAccessList map[string]any `json:"databricks_ip_access_list,omitempty"`
Metastore map[string]any `json:"databricks_metastore,omitempty"` Job map[string]any `json:"databricks_job,omitempty"`
MetastoreAssignment map[string]any `json:"databricks_metastore_assignment,omitempty"` LakehouseMonitor map[string]any `json:"databricks_lakehouse_monitor,omitempty"`
MetastoreDataAccess map[string]any `json:"databricks_metastore_data_access,omitempty"` Library map[string]any `json:"databricks_library,omitempty"`
MlflowExperiment map[string]any `json:"databricks_mlflow_experiment,omitempty"` Metastore map[string]any `json:"databricks_metastore,omitempty"`
MlflowModel map[string]any `json:"databricks_mlflow_model,omitempty"` MetastoreAssignment map[string]any `json:"databricks_metastore_assignment,omitempty"`
MlflowWebhook map[string]any `json:"databricks_mlflow_webhook,omitempty"` MetastoreDataAccess map[string]any `json:"databricks_metastore_data_access,omitempty"`
ModelServing map[string]any `json:"databricks_model_serving,omitempty"` MlflowExperiment map[string]any `json:"databricks_mlflow_experiment,omitempty"`
Mount map[string]any `json:"databricks_mount,omitempty"` MlflowModel map[string]any `json:"databricks_mlflow_model,omitempty"`
MwsCredentials map[string]any `json:"databricks_mws_credentials,omitempty"` MlflowWebhook map[string]any `json:"databricks_mlflow_webhook,omitempty"`
MwsCustomerManagedKeys map[string]any `json:"databricks_mws_customer_managed_keys,omitempty"` ModelServing map[string]any `json:"databricks_model_serving,omitempty"`
MwsLogDelivery map[string]any `json:"databricks_mws_log_delivery,omitempty"` Mount map[string]any `json:"databricks_mount,omitempty"`
MwsNccBinding map[string]any `json:"databricks_mws_ncc_binding,omitempty"` MwsCredentials map[string]any `json:"databricks_mws_credentials,omitempty"`
MwsNccPrivateEndpointRule map[string]any `json:"databricks_mws_ncc_private_endpoint_rule,omitempty"` MwsCustomerManagedKeys map[string]any `json:"databricks_mws_customer_managed_keys,omitempty"`
MwsNetworkConnectivityConfig map[string]any `json:"databricks_mws_network_connectivity_config,omitempty"` MwsLogDelivery map[string]any `json:"databricks_mws_log_delivery,omitempty"`
MwsNetworks map[string]any `json:"databricks_mws_networks,omitempty"` MwsNccBinding map[string]any `json:"databricks_mws_ncc_binding,omitempty"`
MwsPermissionAssignment map[string]any `json:"databricks_mws_permission_assignment,omitempty"` MwsNccPrivateEndpointRule map[string]any `json:"databricks_mws_ncc_private_endpoint_rule,omitempty"`
MwsPrivateAccessSettings map[string]any `json:"databricks_mws_private_access_settings,omitempty"` MwsNetworkConnectivityConfig map[string]any `json:"databricks_mws_network_connectivity_config,omitempty"`
MwsStorageConfigurations map[string]any `json:"databricks_mws_storage_configurations,omitempty"` MwsNetworks map[string]any `json:"databricks_mws_networks,omitempty"`
MwsVpcEndpoint map[string]any `json:"databricks_mws_vpc_endpoint,omitempty"` MwsPermissionAssignment map[string]any `json:"databricks_mws_permission_assignment,omitempty"`
MwsWorkspaces map[string]any `json:"databricks_mws_workspaces,omitempty"` MwsPrivateAccessSettings map[string]any `json:"databricks_mws_private_access_settings,omitempty"`
Notebook map[string]any `json:"databricks_notebook,omitempty"` MwsStorageConfigurations map[string]any `json:"databricks_mws_storage_configurations,omitempty"`
OboToken map[string]any `json:"databricks_obo_token,omitempty"` MwsVpcEndpoint map[string]any `json:"databricks_mws_vpc_endpoint,omitempty"`
OnlineTable map[string]any `json:"databricks_online_table,omitempty"` MwsWorkspaces map[string]any `json:"databricks_mws_workspaces,omitempty"`
PermissionAssignment map[string]any `json:"databricks_permission_assignment,omitempty"` Notebook map[string]any `json:"databricks_notebook,omitempty"`
Permissions map[string]any `json:"databricks_permissions,omitempty"` OboToken map[string]any `json:"databricks_obo_token,omitempty"`
Pipeline map[string]any `json:"databricks_pipeline,omitempty"` OnlineTable map[string]any `json:"databricks_online_table,omitempty"`
Provider map[string]any `json:"databricks_provider,omitempty"` PermissionAssignment map[string]any `json:"databricks_permission_assignment,omitempty"`
Recipient map[string]any `json:"databricks_recipient,omitempty"` Permissions map[string]any `json:"databricks_permissions,omitempty"`
RegisteredModel map[string]any `json:"databricks_registered_model,omitempty"` Pipeline map[string]any `json:"databricks_pipeline,omitempty"`
Repo map[string]any `json:"databricks_repo,omitempty"` Provider map[string]any `json:"databricks_provider,omitempty"`
RestrictWorkspaceAdminsSetting map[string]any `json:"databricks_restrict_workspace_admins_setting,omitempty"` QualityMonitor map[string]any `json:"databricks_quality_monitor,omitempty"`
Schema map[string]any `json:"databricks_schema,omitempty"` Recipient map[string]any `json:"databricks_recipient,omitempty"`
Secret map[string]any `json:"databricks_secret,omitempty"` RegisteredModel map[string]any `json:"databricks_registered_model,omitempty"`
SecretAcl map[string]any `json:"databricks_secret_acl,omitempty"` Repo map[string]any `json:"databricks_repo,omitempty"`
SecretScope map[string]any `json:"databricks_secret_scope,omitempty"` RestrictWorkspaceAdminsSetting map[string]any `json:"databricks_restrict_workspace_admins_setting,omitempty"`
ServicePrincipal map[string]any `json:"databricks_service_principal,omitempty"` Schema map[string]any `json:"databricks_schema,omitempty"`
ServicePrincipalRole map[string]any `json:"databricks_service_principal_role,omitempty"` Secret map[string]any `json:"databricks_secret,omitempty"`
ServicePrincipalSecret map[string]any `json:"databricks_service_principal_secret,omitempty"` SecretAcl map[string]any `json:"databricks_secret_acl,omitempty"`
Share map[string]any `json:"databricks_share,omitempty"` SecretScope map[string]any `json:"databricks_secret_scope,omitempty"`
SqlAlert map[string]any `json:"databricks_sql_alert,omitempty"` ServicePrincipal map[string]any `json:"databricks_service_principal,omitempty"`
SqlDashboard map[string]any `json:"databricks_sql_dashboard,omitempty"` ServicePrincipalRole map[string]any `json:"databricks_service_principal_role,omitempty"`
SqlEndpoint map[string]any `json:"databricks_sql_endpoint,omitempty"` ServicePrincipalSecret map[string]any `json:"databricks_service_principal_secret,omitempty"`
SqlGlobalConfig map[string]any `json:"databricks_sql_global_config,omitempty"` Share map[string]any `json:"databricks_share,omitempty"`
SqlPermissions map[string]any `json:"databricks_sql_permissions,omitempty"` SqlAlert map[string]any `json:"databricks_sql_alert,omitempty"`
SqlQuery map[string]any `json:"databricks_sql_query,omitempty"` SqlDashboard map[string]any `json:"databricks_sql_dashboard,omitempty"`
SqlTable map[string]any `json:"databricks_sql_table,omitempty"` SqlEndpoint map[string]any `json:"databricks_sql_endpoint,omitempty"`
SqlVisualization map[string]any `json:"databricks_sql_visualization,omitempty"` SqlGlobalConfig map[string]any `json:"databricks_sql_global_config,omitempty"`
SqlWidget map[string]any `json:"databricks_sql_widget,omitempty"` SqlPermissions map[string]any `json:"databricks_sql_permissions,omitempty"`
StorageCredential map[string]any `json:"databricks_storage_credential,omitempty"` SqlQuery map[string]any `json:"databricks_sql_query,omitempty"`
SystemSchema map[string]any `json:"databricks_system_schema,omitempty"` SqlTable map[string]any `json:"databricks_sql_table,omitempty"`
Table map[string]any `json:"databricks_table,omitempty"` SqlVisualization map[string]any `json:"databricks_sql_visualization,omitempty"`
Token map[string]any `json:"databricks_token,omitempty"` SqlWidget map[string]any `json:"databricks_sql_widget,omitempty"`
User map[string]any `json:"databricks_user,omitempty"` StorageCredential map[string]any `json:"databricks_storage_credential,omitempty"`
UserInstanceProfile map[string]any `json:"databricks_user_instance_profile,omitempty"` SystemSchema map[string]any `json:"databricks_system_schema,omitempty"`
UserRole map[string]any `json:"databricks_user_role,omitempty"` Table map[string]any `json:"databricks_table,omitempty"`
VectorSearchEndpoint map[string]any `json:"databricks_vector_search_endpoint,omitempty"` Token map[string]any `json:"databricks_token,omitempty"`
VectorSearchIndex map[string]any `json:"databricks_vector_search_index,omitempty"` User map[string]any `json:"databricks_user,omitempty"`
Volume map[string]any `json:"databricks_volume,omitempty"` UserInstanceProfile map[string]any `json:"databricks_user_instance_profile,omitempty"`
WorkspaceConf map[string]any `json:"databricks_workspace_conf,omitempty"` UserRole map[string]any `json:"databricks_user_role,omitempty"`
WorkspaceFile map[string]any `json:"databricks_workspace_file,omitempty"` VectorSearchEndpoint map[string]any `json:"databricks_vector_search_endpoint,omitempty"`
VectorSearchIndex map[string]any `json:"databricks_vector_search_index,omitempty"`
Volume map[string]any `json:"databricks_volume,omitempty"`
WorkspaceConf map[string]any `json:"databricks_workspace_conf,omitempty"`
WorkspaceFile map[string]any `json:"databricks_workspace_file,omitempty"`
} }
func NewResources() *Resources { func NewResources() *Resources {
return &Resources{ return &Resources{
AccessControlRuleSet: make(map[string]any), AccessControlRuleSet: make(map[string]any),
ArtifactAllowlist: make(map[string]any), ArtifactAllowlist: make(map[string]any),
AwsS3Mount: make(map[string]any), AutomaticClusterUpdateWorkspaceSetting: make(map[string]any),
AzureAdlsGen1Mount: make(map[string]any), AwsS3Mount: make(map[string]any),
AzureAdlsGen2Mount: make(map[string]any), AzureAdlsGen1Mount: make(map[string]any),
AzureBlobMount: make(map[string]any), AzureAdlsGen2Mount: make(map[string]any),
Catalog: make(map[string]any), AzureBlobMount: make(map[string]any),
CatalogWorkspaceBinding: make(map[string]any), Catalog: make(map[string]any),
Cluster: make(map[string]any), CatalogWorkspaceBinding: make(map[string]any),
ClusterPolicy: make(map[string]any), Cluster: make(map[string]any),
Connection: make(map[string]any), ClusterPolicy: make(map[string]any),
DbfsFile: make(map[string]any), ComplianceSecurityProfileWorkspaceSetting: make(map[string]any),
DefaultNamespaceSetting: make(map[string]any), Connection: make(map[string]any),
Directory: make(map[string]any), DbfsFile: make(map[string]any),
DefaultNamespaceSetting: make(map[string]any),
Directory: make(map[string]any),
EnhancedSecurityMonitoringWorkspaceSetting: make(map[string]any),
Entitlements: make(map[string]any), Entitlements: make(map[string]any),
ExternalLocation: make(map[string]any), ExternalLocation: make(map[string]any),
File: make(map[string]any), File: make(map[string]any),
@ -156,6 +163,7 @@ func NewResources() *Resources {
Permissions: make(map[string]any), Permissions: make(map[string]any),
Pipeline: make(map[string]any), Pipeline: make(map[string]any),
Provider: make(map[string]any), Provider: make(map[string]any),
QualityMonitor: make(map[string]any),
Recipient: make(map[string]any), Recipient: make(map[string]any),
RegisteredModel: make(map[string]any), RegisteredModel: make(map[string]any),
Repo: make(map[string]any), Repo: make(map[string]any),

View File

@ -21,7 +21,7 @@ type Root struct {
const ProviderHost = "registry.terraform.io" const ProviderHost = "registry.terraform.io"
const ProviderSource = "databricks/databricks" const ProviderSource = "databricks/databricks"
const ProviderVersion = "1.43.0" const ProviderVersion = "1.46.0"
func NewRoot() *Root { func NewRoot() *Root {
return &Root{ return &Root{