mirror of https://github.com/databricks/cli.git
Upgrade terraform-provider-databricks to 1.40.0 (#1376)
## Changes Upgrade terraform-provider-databricks to 1.40.0
This commit is contained in:
parent
27f51c760f
commit
6b81b627fe
|
@ -1,3 +1,3 @@
|
||||||
package schema
|
package schema
|
||||||
|
|
||||||
const ProviderVersion = "1.39.0"
|
const ProviderVersion = "1.40.0"
|
||||||
|
|
|
@ -0,0 +1,36 @@
|
||||||
|
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
||||||
|
|
||||||
|
package schema
|
||||||
|
|
||||||
|
type DataSourceExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails struct {
|
||||||
|
Algorithm string `json:"algorithm,omitempty"`
|
||||||
|
AwsKmsKeyArn string `json:"aws_kms_key_arn,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type DataSourceExternalLocationExternalLocationInfoEncryptionDetails struct {
|
||||||
|
SseEncryptionDetails *DataSourceExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails `json:"sse_encryption_details,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type DataSourceExternalLocationExternalLocationInfo struct {
|
||||||
|
AccessPoint string `json:"access_point,omitempty"`
|
||||||
|
BrowseOnly bool `json:"browse_only,omitempty"`
|
||||||
|
Comment string `json:"comment,omitempty"`
|
||||||
|
CreatedAt int `json:"created_at,omitempty"`
|
||||||
|
CreatedBy string `json:"created_by,omitempty"`
|
||||||
|
CredentialId string `json:"credential_id,omitempty"`
|
||||||
|
CredentialName string `json:"credential_name,omitempty"`
|
||||||
|
MetastoreId string `json:"metastore_id,omitempty"`
|
||||||
|
Name string `json:"name,omitempty"`
|
||||||
|
Owner string `json:"owner,omitempty"`
|
||||||
|
ReadOnly bool `json:"read_only,omitempty"`
|
||||||
|
UpdatedAt int `json:"updated_at,omitempty"`
|
||||||
|
UpdatedBy string `json:"updated_by,omitempty"`
|
||||||
|
Url string `json:"url,omitempty"`
|
||||||
|
EncryptionDetails *DataSourceExternalLocationExternalLocationInfoEncryptionDetails `json:"encryption_details,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type DataSourceExternalLocation struct {
|
||||||
|
Id string `json:"id,omitempty"`
|
||||||
|
Name string `json:"name"`
|
||||||
|
ExternalLocationInfo *DataSourceExternalLocationExternalLocationInfo `json:"external_location_info,omitempty"`
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
||||||
|
|
||||||
|
package schema
|
||||||
|
|
||||||
|
type DataSourceExternalLocations struct {
|
||||||
|
Id string `json:"id,omitempty"`
|
||||||
|
Names []string `json:"names,omitempty"`
|
||||||
|
}
|
|
@ -27,6 +27,7 @@ type DataSourceInstancePoolPoolInfoDiskSpec struct {
|
||||||
type DataSourceInstancePoolPoolInfoGcpAttributes struct {
|
type DataSourceInstancePoolPoolInfoGcpAttributes struct {
|
||||||
GcpAvailability string `json:"gcp_availability,omitempty"`
|
GcpAvailability string `json:"gcp_availability,omitempty"`
|
||||||
LocalSsdCount int `json:"local_ssd_count,omitempty"`
|
LocalSsdCount int `json:"local_ssd_count,omitempty"`
|
||||||
|
ZoneId string `json:"zone_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceInstancePoolPoolInfoInstancePoolFleetAttributesFleetOnDemandOption struct {
|
type DataSourceInstancePoolPoolInfoInstancePoolFleetAttributesFleetOnDemandOption struct {
|
||||||
|
|
|
@ -2,15 +2,6 @@
|
||||||
|
|
||||||
package schema
|
package schema
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsComputeSpec struct {
|
|
||||||
Kind string `json:"kind,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsCompute struct {
|
|
||||||
ComputeKey string `json:"compute_key,omitempty"`
|
|
||||||
Spec *DataSourceJobJobSettingsSettingsComputeSpec `json:"spec,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsContinuous struct {
|
type DataSourceJobJobSettingsSettingsContinuous struct {
|
||||||
PauseStatus string `json:"pause_status,omitempty"`
|
PauseStatus string `json:"pause_status,omitempty"`
|
||||||
}
|
}
|
||||||
|
@ -38,6 +29,16 @@ type DataSourceJobJobSettingsSettingsEmailNotifications struct {
|
||||||
OnSuccess []string `json:"on_success,omitempty"`
|
OnSuccess []string `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type DataSourceJobJobSettingsSettingsEnvironmentSpec struct {
|
||||||
|
Client string `json:"client"`
|
||||||
|
Dependencies []string `json:"dependencies,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type DataSourceJobJobSettingsSettingsEnvironment struct {
|
||||||
|
EnvironmentKey string `json:"environment_key"`
|
||||||
|
Spec *DataSourceJobJobSettingsSettingsEnvironmentSpec `json:"spec,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsGitSourceJobSource struct {
|
type DataSourceJobJobSettingsSettingsGitSourceJobSource 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"`
|
||||||
|
@ -411,6 +412,7 @@ type DataSourceJobJobSettingsSettingsNotebookTask struct {
|
||||||
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
||||||
NotebookPath string `json:"notebook_path"`
|
NotebookPath string `json:"notebook_path"`
|
||||||
Source string `json:"source,omitempty"`
|
Source string `json:"source,omitempty"`
|
||||||
|
WarehouseId string `json:"warehouse_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsNotificationSettings struct {
|
type DataSourceJobJobSettingsSettingsNotificationSettings struct {
|
||||||
|
@ -725,6 +727,7 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskNotebookTask struct {
|
||||||
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
||||||
NotebookPath string `json:"notebook_path"`
|
NotebookPath string `json:"notebook_path"`
|
||||||
Source string `json:"source,omitempty"`
|
Source string `json:"source,omitempty"`
|
||||||
|
WarehouseId string `json:"warehouse_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings struct {
|
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskNotificationSettings struct {
|
||||||
|
@ -831,8 +834,8 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications str
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTask struct {
|
type DataSourceJobJobSettingsSettingsTaskForEachTaskTask struct {
|
||||||
ComputeKey string `json:"compute_key,omitempty"`
|
|
||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
|
EnvironmentKey string `json:"environment_key,omitempty"`
|
||||||
ExistingClusterId string `json:"existing_cluster_id,omitempty"`
|
ExistingClusterId string `json:"existing_cluster_id,omitempty"`
|
||||||
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
||||||
MaxRetries int `json:"max_retries,omitempty"`
|
MaxRetries int `json:"max_retries,omitempty"`
|
||||||
|
@ -1062,6 +1065,7 @@ type DataSourceJobJobSettingsSettingsTaskNotebookTask struct {
|
||||||
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
||||||
NotebookPath string `json:"notebook_path"`
|
NotebookPath string `json:"notebook_path"`
|
||||||
Source string `json:"source,omitempty"`
|
Source string `json:"source,omitempty"`
|
||||||
|
WarehouseId string `json:"warehouse_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsTaskNotificationSettings struct {
|
type DataSourceJobJobSettingsSettingsTaskNotificationSettings struct {
|
||||||
|
@ -1168,8 +1172,8 @@ type DataSourceJobJobSettingsSettingsTaskWebhookNotifications struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsTask struct {
|
type DataSourceJobJobSettingsSettingsTask struct {
|
||||||
ComputeKey string `json:"compute_key,omitempty"`
|
|
||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
|
EnvironmentKey string `json:"environment_key,omitempty"`
|
||||||
ExistingClusterId string `json:"existing_cluster_id,omitempty"`
|
ExistingClusterId string `json:"existing_cluster_id,omitempty"`
|
||||||
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
||||||
MaxRetries int `json:"max_retries,omitempty"`
|
MaxRetries int `json:"max_retries,omitempty"`
|
||||||
|
@ -1252,11 +1256,11 @@ type DataSourceJobJobSettingsSettings struct {
|
||||||
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
||||||
Tags map[string]string `json:"tags,omitempty"`
|
Tags map[string]string `json:"tags,omitempty"`
|
||||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||||
Compute []DataSourceJobJobSettingsSettingsCompute `json:"compute,omitempty"`
|
|
||||||
Continuous *DataSourceJobJobSettingsSettingsContinuous `json:"continuous,omitempty"`
|
Continuous *DataSourceJobJobSettingsSettingsContinuous `json:"continuous,omitempty"`
|
||||||
DbtTask *DataSourceJobJobSettingsSettingsDbtTask `json:"dbt_task,omitempty"`
|
DbtTask *DataSourceJobJobSettingsSettingsDbtTask `json:"dbt_task,omitempty"`
|
||||||
Deployment *DataSourceJobJobSettingsSettingsDeployment `json:"deployment,omitempty"`
|
Deployment *DataSourceJobJobSettingsSettingsDeployment `json:"deployment,omitempty"`
|
||||||
EmailNotifications *DataSourceJobJobSettingsSettingsEmailNotifications `json:"email_notifications,omitempty"`
|
EmailNotifications *DataSourceJobJobSettingsSettingsEmailNotifications `json:"email_notifications,omitempty"`
|
||||||
|
Environment []DataSourceJobJobSettingsSettingsEnvironment `json:"environment,omitempty"`
|
||||||
GitSource *DataSourceJobJobSettingsSettingsGitSource `json:"git_source,omitempty"`
|
GitSource *DataSourceJobJobSettingsSettingsGitSource `json:"git_source,omitempty"`
|
||||||
Health *DataSourceJobJobSettingsSettingsHealth `json:"health,omitempty"`
|
Health *DataSourceJobJobSettingsSettingsHealth `json:"health,omitempty"`
|
||||||
JobCluster []DataSourceJobJobSettingsSettingsJobCluster `json:"job_cluster,omitempty"`
|
JobCluster []DataSourceJobJobSettingsSettingsJobCluster `json:"job_cluster,omitempty"`
|
||||||
|
|
|
@ -25,6 +25,8 @@ type DataSourceMetastoreMetastoreInfo struct {
|
||||||
|
|
||||||
type DataSourceMetastore struct {
|
type DataSourceMetastore struct {
|
||||||
Id string `json:"id,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
MetastoreId string `json:"metastore_id"`
|
MetastoreId string `json:"metastore_id,omitempty"`
|
||||||
|
Name string `json:"name,omitempty"`
|
||||||
|
Region string `json:"region,omitempty"`
|
||||||
MetastoreInfo *DataSourceMetastoreMetastoreInfo `json:"metastore_info,omitempty"`
|
MetastoreInfo *DataSourceMetastoreMetastoreInfo `json:"metastore_info,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,8 @@ type DataSources struct {
|
||||||
DbfsFile map[string]any `json:"databricks_dbfs_file,omitempty"`
|
DbfsFile map[string]any `json:"databricks_dbfs_file,omitempty"`
|
||||||
DbfsFilePaths map[string]any `json:"databricks_dbfs_file_paths,omitempty"`
|
DbfsFilePaths map[string]any `json:"databricks_dbfs_file_paths,omitempty"`
|
||||||
Directory map[string]any `json:"databricks_directory,omitempty"`
|
Directory map[string]any `json:"databricks_directory,omitempty"`
|
||||||
|
ExternalLocation map[string]any `json:"databricks_external_location,omitempty"`
|
||||||
|
ExternalLocations map[string]any `json:"databricks_external_locations,omitempty"`
|
||||||
Group map[string]any `json:"databricks_group,omitempty"`
|
Group map[string]any `json:"databricks_group,omitempty"`
|
||||||
InstancePool map[string]any `json:"databricks_instance_pool,omitempty"`
|
InstancePool map[string]any `json:"databricks_instance_pool,omitempty"`
|
||||||
InstanceProfiles map[string]any `json:"databricks_instance_profiles,omitempty"`
|
InstanceProfiles map[string]any `json:"databricks_instance_profiles,omitempty"`
|
||||||
|
@ -64,6 +66,8 @@ func NewDataSources() *DataSources {
|
||||||
DbfsFile: make(map[string]any),
|
DbfsFile: make(map[string]any),
|
||||||
DbfsFilePaths: make(map[string]any),
|
DbfsFilePaths: make(map[string]any),
|
||||||
Directory: make(map[string]any),
|
Directory: make(map[string]any),
|
||||||
|
ExternalLocation: make(map[string]any),
|
||||||
|
ExternalLocations: make(map[string]any),
|
||||||
Group: make(map[string]any),
|
Group: make(map[string]any),
|
||||||
InstancePool: make(map[string]any),
|
InstancePool: make(map[string]any),
|
||||||
InstanceProfiles: make(map[string]any),
|
InstanceProfiles: make(map[string]any),
|
||||||
|
|
|
@ -3,17 +3,18 @@
|
||||||
package schema
|
package schema
|
||||||
|
|
||||||
type ResourceCatalog struct {
|
type ResourceCatalog struct {
|
||||||
Comment string `json:"comment,omitempty"`
|
Comment string `json:"comment,omitempty"`
|
||||||
ConnectionName string `json:"connection_name,omitempty"`
|
ConnectionName string `json:"connection_name,omitempty"`
|
||||||
ForceDestroy bool `json:"force_destroy,omitempty"`
|
EnablePredictiveOptimization string `json:"enable_predictive_optimization,omitempty"`
|
||||||
Id string `json:"id,omitempty"`
|
ForceDestroy bool `json:"force_destroy,omitempty"`
|
||||||
IsolationMode string `json:"isolation_mode,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
MetastoreId string `json:"metastore_id,omitempty"`
|
IsolationMode string `json:"isolation_mode,omitempty"`
|
||||||
Name string `json:"name"`
|
MetastoreId string `json:"metastore_id,omitempty"`
|
||||||
Options map[string]string `json:"options,omitempty"`
|
Name string `json:"name"`
|
||||||
Owner string `json:"owner,omitempty"`
|
Options map[string]string `json:"options,omitempty"`
|
||||||
Properties map[string]string `json:"properties,omitempty"`
|
Owner string `json:"owner,omitempty"`
|
||||||
ProviderName string `json:"provider_name,omitempty"`
|
Properties map[string]string `json:"properties,omitempty"`
|
||||||
ShareName string `json:"share_name,omitempty"`
|
ProviderName string `json:"provider_name,omitempty"`
|
||||||
StorageRoot string `json:"storage_root,omitempty"`
|
ShareName string `json:"share_name,omitempty"`
|
||||||
|
StorageRoot string `json:"storage_root,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,6 +32,10 @@ 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"`
|
||||||
}
|
}
|
||||||
|
@ -190,6 +194,7 @@ 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"`
|
||||||
|
|
|
@ -27,6 +27,7 @@ type ResourceInstancePoolDiskSpec struct {
|
||||||
type ResourceInstancePoolGcpAttributes struct {
|
type ResourceInstancePoolGcpAttributes struct {
|
||||||
GcpAvailability string `json:"gcp_availability,omitempty"`
|
GcpAvailability string `json:"gcp_availability,omitempty"`
|
||||||
LocalSsdCount int `json:"local_ssd_count,omitempty"`
|
LocalSsdCount int `json:"local_ssd_count,omitempty"`
|
||||||
|
ZoneId string `json:"zone_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceInstancePoolInstancePoolFleetAttributesFleetOnDemandOption struct {
|
type ResourceInstancePoolInstancePoolFleetAttributesFleetOnDemandOption struct {
|
||||||
|
|
|
@ -2,15 +2,6 @@
|
||||||
|
|
||||||
package schema
|
package schema
|
||||||
|
|
||||||
type ResourceJobComputeSpec struct {
|
|
||||||
Kind string `json:"kind,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type ResourceJobCompute struct {
|
|
||||||
ComputeKey string `json:"compute_key,omitempty"`
|
|
||||||
Spec *ResourceJobComputeSpec `json:"spec,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type ResourceJobContinuous struct {
|
type ResourceJobContinuous struct {
|
||||||
PauseStatus string `json:"pause_status,omitempty"`
|
PauseStatus string `json:"pause_status,omitempty"`
|
||||||
}
|
}
|
||||||
|
@ -38,6 +29,16 @@ type ResourceJobEmailNotifications struct {
|
||||||
OnSuccess []string `json:"on_success,omitempty"`
|
OnSuccess []string `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ResourceJobEnvironmentSpec struct {
|
||||||
|
Client string `json:"client"`
|
||||||
|
Dependencies []string `json:"dependencies,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type ResourceJobEnvironment struct {
|
||||||
|
EnvironmentKey string `json:"environment_key"`
|
||||||
|
Spec *ResourceJobEnvironmentSpec `json:"spec,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"`
|
||||||
|
@ -411,6 +412,7 @@ type ResourceJobNotebookTask struct {
|
||||||
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
||||||
NotebookPath string `json:"notebook_path"`
|
NotebookPath string `json:"notebook_path"`
|
||||||
Source string `json:"source,omitempty"`
|
Source string `json:"source,omitempty"`
|
||||||
|
WarehouseId string `json:"warehouse_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobNotificationSettings struct {
|
type ResourceJobNotificationSettings struct {
|
||||||
|
@ -725,6 +727,7 @@ type ResourceJobTaskForEachTaskTaskNotebookTask struct {
|
||||||
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
||||||
NotebookPath string `json:"notebook_path"`
|
NotebookPath string `json:"notebook_path"`
|
||||||
Source string `json:"source,omitempty"`
|
Source string `json:"source,omitempty"`
|
||||||
|
WarehouseId string `json:"warehouse_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobTaskForEachTaskTaskNotificationSettings struct {
|
type ResourceJobTaskForEachTaskTaskNotificationSettings struct {
|
||||||
|
@ -831,8 +834,8 @@ type ResourceJobTaskForEachTaskTaskWebhookNotifications struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobTaskForEachTaskTask struct {
|
type ResourceJobTaskForEachTaskTask struct {
|
||||||
ComputeKey string `json:"compute_key,omitempty"`
|
|
||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
|
EnvironmentKey string `json:"environment_key,omitempty"`
|
||||||
ExistingClusterId string `json:"existing_cluster_id,omitempty"`
|
ExistingClusterId string `json:"existing_cluster_id,omitempty"`
|
||||||
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
||||||
MaxRetries int `json:"max_retries,omitempty"`
|
MaxRetries int `json:"max_retries,omitempty"`
|
||||||
|
@ -1062,6 +1065,7 @@ type ResourceJobTaskNotebookTask struct {
|
||||||
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
||||||
NotebookPath string `json:"notebook_path"`
|
NotebookPath string `json:"notebook_path"`
|
||||||
Source string `json:"source,omitempty"`
|
Source string `json:"source,omitempty"`
|
||||||
|
WarehouseId string `json:"warehouse_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobTaskNotificationSettings struct {
|
type ResourceJobTaskNotificationSettings struct {
|
||||||
|
@ -1168,8 +1172,8 @@ type ResourceJobTaskWebhookNotifications struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobTask struct {
|
type ResourceJobTask struct {
|
||||||
ComputeKey string `json:"compute_key,omitempty"`
|
|
||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
|
EnvironmentKey string `json:"environment_key,omitempty"`
|
||||||
ExistingClusterId string `json:"existing_cluster_id,omitempty"`
|
ExistingClusterId string `json:"existing_cluster_id,omitempty"`
|
||||||
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
||||||
MaxRetries int `json:"max_retries,omitempty"`
|
MaxRetries int `json:"max_retries,omitempty"`
|
||||||
|
@ -1256,11 +1260,11 @@ type ResourceJob struct {
|
||||||
Tags map[string]string `json:"tags,omitempty"`
|
Tags map[string]string `json:"tags,omitempty"`
|
||||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||||
Url string `json:"url,omitempty"`
|
Url string `json:"url,omitempty"`
|
||||||
Compute []ResourceJobCompute `json:"compute,omitempty"`
|
|
||||||
Continuous *ResourceJobContinuous `json:"continuous,omitempty"`
|
Continuous *ResourceJobContinuous `json:"continuous,omitempty"`
|
||||||
DbtTask *ResourceJobDbtTask `json:"dbt_task,omitempty"`
|
DbtTask *ResourceJobDbtTask `json:"dbt_task,omitempty"`
|
||||||
Deployment *ResourceJobDeployment `json:"deployment,omitempty"`
|
Deployment *ResourceJobDeployment `json:"deployment,omitempty"`
|
||||||
EmailNotifications *ResourceJobEmailNotifications `json:"email_notifications,omitempty"`
|
EmailNotifications *ResourceJobEmailNotifications `json:"email_notifications,omitempty"`
|
||||||
|
Environment []ResourceJobEnvironment `json:"environment,omitempty"`
|
||||||
GitSource *ResourceJobGitSource `json:"git_source,omitempty"`
|
GitSource *ResourceJobGitSource `json:"git_source,omitempty"`
|
||||||
Health *ResourceJobHealth `json:"health,omitempty"`
|
Health *ResourceJobHealth `json:"health,omitempty"`
|
||||||
JobCluster []ResourceJobJobCluster `json:"job_cluster,omitempty"`
|
JobCluster []ResourceJobJobCluster `json:"job_cluster,omitempty"`
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
package schema
|
package schema
|
||||||
|
|
||||||
type ResourceLakehouseMonitorCustomMetrics struct {
|
type ResourceLakehouseMonitorCustomMetrics struct {
|
||||||
Definition string `json:"definition,omitempty"`
|
Definition string `json:"definition"`
|
||||||
InputColumns []string `json:"input_columns,omitempty"`
|
InputColumns []string `json:"input_columns"`
|
||||||
Name string `json:"name,omitempty"`
|
Name string `json:"name"`
|
||||||
OutputDataType string `json:"output_data_type,omitempty"`
|
OutputDataType string `json:"output_data_type"`
|
||||||
Type string `json:"type,omitempty"`
|
Type string `json:"type"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceLakehouseMonitorDataClassificationConfig struct {
|
type ResourceLakehouseMonitorDataClassificationConfig struct {
|
||||||
|
@ -15,35 +15,40 @@ type ResourceLakehouseMonitorDataClassificationConfig struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceLakehouseMonitorInferenceLog struct {
|
type ResourceLakehouseMonitorInferenceLog struct {
|
||||||
Granularities []string `json:"granularities,omitempty"`
|
Granularities []string `json:"granularities"`
|
||||||
LabelCol string `json:"label_col,omitempty"`
|
LabelCol string `json:"label_col,omitempty"`
|
||||||
ModelIdCol string `json:"model_id_col,omitempty"`
|
ModelIdCol string `json:"model_id_col"`
|
||||||
PredictionCol string `json:"prediction_col,omitempty"`
|
PredictionCol string `json:"prediction_col"`
|
||||||
PredictionProbaCol string `json:"prediction_proba_col,omitempty"`
|
PredictionProbaCol string `json:"prediction_proba_col,omitempty"`
|
||||||
ProblemType string `json:"problem_type,omitempty"`
|
ProblemType string `json:"problem_type"`
|
||||||
TimestampCol string `json:"timestamp_col,omitempty"`
|
TimestampCol string `json:"timestamp_col"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceLakehouseMonitorNotificationsOnFailure struct {
|
type ResourceLakehouseMonitorNotificationsOnFailure struct {
|
||||||
EmailAddresses []string `json:"email_addresses,omitempty"`
|
EmailAddresses []string `json:"email_addresses,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ResourceLakehouseMonitorNotificationsOnNewClassificationTagDetected struct {
|
||||||
|
EmailAddresses []string `json:"email_addresses,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
type ResourceLakehouseMonitorNotifications struct {
|
type ResourceLakehouseMonitorNotifications struct {
|
||||||
OnFailure *ResourceLakehouseMonitorNotificationsOnFailure `json:"on_failure,omitempty"`
|
OnFailure *ResourceLakehouseMonitorNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||||
|
OnNewClassificationTagDetected *ResourceLakehouseMonitorNotificationsOnNewClassificationTagDetected `json:"on_new_classification_tag_detected,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceLakehouseMonitorSchedule struct {
|
type ResourceLakehouseMonitorSchedule struct {
|
||||||
PauseStatus string `json:"pause_status,omitempty"`
|
PauseStatus string `json:"pause_status,omitempty"`
|
||||||
QuartzCronExpression string `json:"quartz_cron_expression,omitempty"`
|
QuartzCronExpression string `json:"quartz_cron_expression"`
|
||||||
TimezoneId string `json:"timezone_id,omitempty"`
|
TimezoneId string `json:"timezone_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceLakehouseMonitorSnapshot struct {
|
type ResourceLakehouseMonitorSnapshot struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceLakehouseMonitorTimeSeries struct {
|
type ResourceLakehouseMonitorTimeSeries struct {
|
||||||
Granularities []string `json:"granularities,omitempty"`
|
Granularities []string `json:"granularities"`
|
||||||
TimestampCol string `json:"timestamp_col,omitempty"`
|
TimestampCol string `json:"timestamp_col"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceLakehouseMonitor struct {
|
type ResourceLakehouseMonitor struct {
|
||||||
|
|
|
@ -117,6 +117,11 @@ type ResourcePipelineCluster struct {
|
||||||
InitScripts []ResourcePipelineClusterInitScripts `json:"init_scripts,omitempty"`
|
InitScripts []ResourcePipelineClusterInitScripts `json:"init_scripts,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ResourcePipelineDeployment struct {
|
||||||
|
Kind string `json:"kind,omitempty"`
|
||||||
|
MetadataFilePath string `json:"metadata_file_path,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
type ResourcePipelineFilters struct {
|
type ResourcePipelineFilters struct {
|
||||||
Exclude []string `json:"exclude,omitempty"`
|
Exclude []string `json:"exclude,omitempty"`
|
||||||
Include []string `json:"include,omitempty"`
|
Include []string `json:"include,omitempty"`
|
||||||
|
@ -165,6 +170,7 @@ type ResourcePipeline struct {
|
||||||
Target string `json:"target,omitempty"`
|
Target string `json:"target,omitempty"`
|
||||||
Url string `json:"url,omitempty"`
|
Url string `json:"url,omitempty"`
|
||||||
Cluster []ResourcePipelineCluster `json:"cluster,omitempty"`
|
Cluster []ResourcePipelineCluster `json:"cluster,omitempty"`
|
||||||
|
Deployment *ResourcePipelineDeployment `json:"deployment,omitempty"`
|
||||||
Filters *ResourcePipelineFilters `json:"filters,omitempty"`
|
Filters *ResourcePipelineFilters `json:"filters,omitempty"`
|
||||||
Library []ResourcePipelineLibrary `json:"library,omitempty"`
|
Library []ResourcePipelineLibrary `json:"library,omitempty"`
|
||||||
Notification []ResourcePipelineNotification `json:"notification,omitempty"`
|
Notification []ResourcePipelineNotification `json:"notification,omitempty"`
|
||||||
|
|
|
@ -3,7 +3,11 @@
|
||||||
package schema
|
package schema
|
||||||
|
|
||||||
type ResourceRecipientIpAccessList struct {
|
type ResourceRecipientIpAccessList struct {
|
||||||
AllowedIpAddresses []string `json:"allowed_ip_addresses"`
|
AllowedIpAddresses []string `json:"allowed_ip_addresses,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type ResourceRecipientPropertiesKvpairs struct {
|
||||||
|
Properties map[string]string `json:"properties"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceRecipientTokens struct {
|
type ResourceRecipientTokens struct {
|
||||||
|
@ -17,13 +21,23 @@ type ResourceRecipientTokens struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceRecipient struct {
|
type ResourceRecipient struct {
|
||||||
AuthenticationType string `json:"authentication_type"`
|
Activated bool `json:"activated,omitempty"`
|
||||||
Comment string `json:"comment,omitempty"`
|
ActivationUrl string `json:"activation_url,omitempty"`
|
||||||
DataRecipientGlobalMetastoreId string `json:"data_recipient_global_metastore_id,omitempty"`
|
AuthenticationType string `json:"authentication_type"`
|
||||||
Id string `json:"id,omitempty"`
|
Cloud string `json:"cloud,omitempty"`
|
||||||
Name string `json:"name"`
|
Comment string `json:"comment,omitempty"`
|
||||||
Owner string `json:"owner,omitempty"`
|
CreatedAt int `json:"created_at,omitempty"`
|
||||||
SharingCode string `json:"sharing_code,omitempty"`
|
CreatedBy string `json:"created_by,omitempty"`
|
||||||
IpAccessList *ResourceRecipientIpAccessList `json:"ip_access_list,omitempty"`
|
DataRecipientGlobalMetastoreId string `json:"data_recipient_global_metastore_id,omitempty"`
|
||||||
Tokens []ResourceRecipientTokens `json:"tokens,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
|
MetastoreId string `json:"metastore_id,omitempty"`
|
||||||
|
Name string `json:"name"`
|
||||||
|
Owner string `json:"owner,omitempty"`
|
||||||
|
Region string `json:"region,omitempty"`
|
||||||
|
SharingCode string `json:"sharing_code,omitempty"`
|
||||||
|
UpdatedAt int `json:"updated_at,omitempty"`
|
||||||
|
UpdatedBy string `json:"updated_by,omitempty"`
|
||||||
|
IpAccessList *ResourceRecipientIpAccessList `json:"ip_access_list,omitempty"`
|
||||||
|
PropertiesKvpairs *ResourceRecipientPropertiesKvpairs `json:"properties_kvpairs,omitempty"`
|
||||||
|
Tokens []ResourceRecipientTokens `json:"tokens,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,13 +3,14 @@
|
||||||
package schema
|
package schema
|
||||||
|
|
||||||
type ResourceSchema struct {
|
type ResourceSchema struct {
|
||||||
CatalogName string `json:"catalog_name"`
|
CatalogName string `json:"catalog_name"`
|
||||||
Comment string `json:"comment,omitempty"`
|
Comment string `json:"comment,omitempty"`
|
||||||
ForceDestroy bool `json:"force_destroy,omitempty"`
|
EnablePredictiveOptimization string `json:"enable_predictive_optimization,omitempty"`
|
||||||
Id string `json:"id,omitempty"`
|
ForceDestroy bool `json:"force_destroy,omitempty"`
|
||||||
MetastoreId string `json:"metastore_id,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
Name string `json:"name"`
|
MetastoreId string `json:"metastore_id,omitempty"`
|
||||||
Owner string `json:"owner,omitempty"`
|
Name string `json:"name"`
|
||||||
Properties map[string]string `json:"properties,omitempty"`
|
Owner string `json:"owner,omitempty"`
|
||||||
StorageRoot string `json:"storage_root,omitempty"`
|
Properties map[string]string `json:"properties,omitempty"`
|
||||||
|
StorageRoot string `json:"storage_root,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -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.39.0"
|
const ProviderVersion = "1.40.0"
|
||||||
|
|
||||||
func NewRoot() *Root {
|
func NewRoot() *Root {
|
||||||
return &Root{
|
return &Root{
|
||||||
|
|
Loading…
Reference in New Issue