mirror of https://github.com/databricks/cli.git
Upgrade TF provider to 1.62.0 (#2030)
## Changes * Added support for `IsSingleNode`, `Kind` and `UseMlRuntime` for clusters * Added support for `CleanRoomsNotebookTask` * `DaysOfWeek` for pipeline restart window is now a list
This commit is contained in:
parent
59f0859e00
commit
e3b256e753
|
@ -1,3 +1,3 @@
|
||||||
package schema
|
package schema
|
||||||
|
|
||||||
const ProviderVersion = "1.61.0"
|
const ProviderVersion = "1.62.0"
|
||||||
|
|
|
@ -317,6 +317,8 @@ type DataSourceClusterClusterInfoSpec struct {
|
||||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||||
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"`
|
||||||
|
IsSingleNode bool `json:"is_single_node,omitempty"`
|
||||||
|
Kind string `json:"kind,omitempty"`
|
||||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||||
NumWorkers int `json:"num_workers,omitempty"`
|
NumWorkers int `json:"num_workers,omitempty"`
|
||||||
PolicyId string `json:"policy_id,omitempty"`
|
PolicyId string `json:"policy_id,omitempty"`
|
||||||
|
@ -326,6 +328,7 @@ type DataSourceClusterClusterInfoSpec struct {
|
||||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||||
SparkVersion string `json:"spark_version"`
|
SparkVersion string `json:"spark_version"`
|
||||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||||
|
UseMlRuntime bool `json:"use_ml_runtime,omitempty"`
|
||||||
Autoscale *DataSourceClusterClusterInfoSpecAutoscale `json:"autoscale,omitempty"`
|
Autoscale *DataSourceClusterClusterInfoSpecAutoscale `json:"autoscale,omitempty"`
|
||||||
AwsAttributes *DataSourceClusterClusterInfoSpecAwsAttributes `json:"aws_attributes,omitempty"`
|
AwsAttributes *DataSourceClusterClusterInfoSpecAwsAttributes `json:"aws_attributes,omitempty"`
|
||||||
AzureAttributes *DataSourceClusterClusterInfoSpecAzureAttributes `json:"azure_attributes,omitempty"`
|
AzureAttributes *DataSourceClusterClusterInfoSpecAzureAttributes `json:"azure_attributes,omitempty"`
|
||||||
|
@ -369,7 +372,9 @@ type DataSourceClusterClusterInfo struct {
|
||||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||||
|
IsSingleNode bool `json:"is_single_node,omitempty"`
|
||||||
JdbcPort int `json:"jdbc_port,omitempty"`
|
JdbcPort int `json:"jdbc_port,omitempty"`
|
||||||
|
Kind string `json:"kind,omitempty"`
|
||||||
LastRestartedTime int `json:"last_restarted_time,omitempty"`
|
LastRestartedTime int `json:"last_restarted_time,omitempty"`
|
||||||
LastStateLossTime int `json:"last_state_loss_time,omitempty"`
|
LastStateLossTime int `json:"last_state_loss_time,omitempty"`
|
||||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||||
|
@ -386,6 +391,7 @@ type DataSourceClusterClusterInfo struct {
|
||||||
State string `json:"state,omitempty"`
|
State string `json:"state,omitempty"`
|
||||||
StateMessage string `json:"state_message,omitempty"`
|
StateMessage string `json:"state_message,omitempty"`
|
||||||
TerminatedTime int `json:"terminated_time,omitempty"`
|
TerminatedTime int `json:"terminated_time,omitempty"`
|
||||||
|
UseMlRuntime bool `json:"use_ml_runtime,omitempty"`
|
||||||
Autoscale *DataSourceClusterClusterInfoAutoscale `json:"autoscale,omitempty"`
|
Autoscale *DataSourceClusterClusterInfoAutoscale `json:"autoscale,omitempty"`
|
||||||
AwsAttributes *DataSourceClusterClusterInfoAwsAttributes `json:"aws_attributes,omitempty"`
|
AwsAttributes *DataSourceClusterClusterInfoAwsAttributes `json:"aws_attributes,omitempty"`
|
||||||
AzureAttributes *DataSourceClusterClusterInfoAzureAttributes `json:"azure_attributes,omitempty"`
|
AzureAttributes *DataSourceClusterClusterInfoAzureAttributes `json:"azure_attributes,omitempty"`
|
||||||
|
|
|
@ -176,6 +176,8 @@ type ResourceCluster 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"`
|
||||||
IsPinned bool `json:"is_pinned,omitempty"`
|
IsPinned bool `json:"is_pinned,omitempty"`
|
||||||
|
IsSingleNode bool `json:"is_single_node,omitempty"`
|
||||||
|
Kind string `json:"kind,omitempty"`
|
||||||
NoWait bool `json:"no_wait,omitempty"`
|
NoWait bool `json:"no_wait,omitempty"`
|
||||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||||
NumWorkers int `json:"num_workers,omitempty"`
|
NumWorkers int `json:"num_workers,omitempty"`
|
||||||
|
@ -188,6 +190,7 @@ type ResourceCluster struct {
|
||||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||||
State string `json:"state,omitempty"`
|
State string `json:"state,omitempty"`
|
||||||
Url string `json:"url,omitempty"`
|
Url string `json:"url,omitempty"`
|
||||||
|
UseMlRuntime bool `json:"use_ml_runtime,omitempty"`
|
||||||
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"`
|
||||||
|
|
|
@ -240,6 +240,8 @@ type ResourceJobJobClusterNewCluster struct {
|
||||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||||
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"`
|
||||||
|
IsSingleNode bool `json:"is_single_node,omitempty"`
|
||||||
|
Kind string `json:"kind,omitempty"`
|
||||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||||
NumWorkers int `json:"num_workers,omitempty"`
|
NumWorkers int `json:"num_workers,omitempty"`
|
||||||
PolicyId string `json:"policy_id,omitempty"`
|
PolicyId string `json:"policy_id,omitempty"`
|
||||||
|
@ -249,6 +251,7 @@ type ResourceJobJobClusterNewCluster struct {
|
||||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||||
SparkVersion string `json:"spark_version"`
|
SparkVersion string `json:"spark_version"`
|
||||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||||
|
UseMlRuntime bool `json:"use_ml_runtime,omitempty"`
|
||||||
Autoscale *ResourceJobJobClusterNewClusterAutoscale `json:"autoscale,omitempty"`
|
Autoscale *ResourceJobJobClusterNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||||
AwsAttributes *ResourceJobJobClusterNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
AwsAttributes *ResourceJobJobClusterNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||||
AzureAttributes *ResourceJobJobClusterNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
AzureAttributes *ResourceJobJobClusterNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||||
|
@ -462,6 +465,8 @@ type ResourceJobNewCluster struct {
|
||||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||||
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"`
|
||||||
|
IsSingleNode bool `json:"is_single_node,omitempty"`
|
||||||
|
Kind string `json:"kind,omitempty"`
|
||||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||||
NumWorkers int `json:"num_workers,omitempty"`
|
NumWorkers int `json:"num_workers,omitempty"`
|
||||||
PolicyId string `json:"policy_id,omitempty"`
|
PolicyId string `json:"policy_id,omitempty"`
|
||||||
|
@ -471,6 +476,7 @@ type ResourceJobNewCluster struct {
|
||||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||||
SparkVersion string `json:"spark_version"`
|
SparkVersion string `json:"spark_version"`
|
||||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||||
|
UseMlRuntime bool `json:"use_ml_runtime,omitempty"`
|
||||||
Autoscale *ResourceJobNewClusterAutoscale `json:"autoscale,omitempty"`
|
Autoscale *ResourceJobNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||||
AwsAttributes *ResourceJobNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
AwsAttributes *ResourceJobNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||||
AzureAttributes *ResourceJobNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
AzureAttributes *ResourceJobNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||||
|
@ -548,6 +554,13 @@ type ResourceJobSparkSubmitTask struct {
|
||||||
Parameters []string `json:"parameters,omitempty"`
|
Parameters []string `json:"parameters,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ResourceJobTaskCleanRoomsNotebookTask struct {
|
||||||
|
CleanRoomName string `json:"clean_room_name"`
|
||||||
|
Etag string `json:"etag,omitempty"`
|
||||||
|
NotebookBaseParameters map[string]string `json:"notebook_base_parameters,omitempty"`
|
||||||
|
NotebookName string `json:"notebook_name"`
|
||||||
|
}
|
||||||
|
|
||||||
type ResourceJobTaskConditionTask struct {
|
type ResourceJobTaskConditionTask struct {
|
||||||
Left string `json:"left"`
|
Left string `json:"left"`
|
||||||
Op string `json:"op"`
|
Op string `json:"op"`
|
||||||
|
@ -578,6 +591,13 @@ type ResourceJobTaskEmailNotifications struct {
|
||||||
OnSuccess []string `json:"on_success,omitempty"`
|
OnSuccess []string `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ResourceJobTaskForEachTaskTaskCleanRoomsNotebookTask struct {
|
||||||
|
CleanRoomName string `json:"clean_room_name"`
|
||||||
|
Etag string `json:"etag,omitempty"`
|
||||||
|
NotebookBaseParameters map[string]string `json:"notebook_base_parameters,omitempty"`
|
||||||
|
NotebookName string `json:"notebook_name"`
|
||||||
|
}
|
||||||
|
|
||||||
type ResourceJobTaskForEachTaskTaskConditionTask struct {
|
type ResourceJobTaskForEachTaskTaskConditionTask struct {
|
||||||
Left string `json:"left"`
|
Left string `json:"left"`
|
||||||
Op string `json:"op"`
|
Op string `json:"op"`
|
||||||
|
@ -814,6 +834,8 @@ type ResourceJobTaskForEachTaskTaskNewCluster struct {
|
||||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||||
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"`
|
||||||
|
IsSingleNode bool `json:"is_single_node,omitempty"`
|
||||||
|
Kind string `json:"kind,omitempty"`
|
||||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||||
NumWorkers int `json:"num_workers,omitempty"`
|
NumWorkers int `json:"num_workers,omitempty"`
|
||||||
PolicyId string `json:"policy_id,omitempty"`
|
PolicyId string `json:"policy_id,omitempty"`
|
||||||
|
@ -823,6 +845,7 @@ type ResourceJobTaskForEachTaskTaskNewCluster struct {
|
||||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||||
SparkVersion string `json:"spark_version"`
|
SparkVersion string `json:"spark_version"`
|
||||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||||
|
UseMlRuntime bool `json:"use_ml_runtime,omitempty"`
|
||||||
Autoscale *ResourceJobTaskForEachTaskTaskNewClusterAutoscale `json:"autoscale,omitempty"`
|
Autoscale *ResourceJobTaskForEachTaskTaskNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||||
AwsAttributes *ResourceJobTaskForEachTaskTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
AwsAttributes *ResourceJobTaskForEachTaskTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||||
AzureAttributes *ResourceJobTaskForEachTaskTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
AzureAttributes *ResourceJobTaskForEachTaskTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||||
|
@ -963,34 +986,35 @@ type ResourceJobTaskForEachTaskTaskWebhookNotifications struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobTaskForEachTaskTask struct {
|
type ResourceJobTaskForEachTaskTask struct {
|
||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
DisableAutoOptimization bool `json:"disable_auto_optimization,omitempty"`
|
DisableAutoOptimization bool `json:"disable_auto_optimization,omitempty"`
|
||||||
EnvironmentKey string `json:"environment_key,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"`
|
||||||
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"`
|
TaskKey string `json:"task_key"`
|
||||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||||
ConditionTask *ResourceJobTaskForEachTaskTaskConditionTask `json:"condition_task,omitempty"`
|
CleanRoomsNotebookTask *ResourceJobTaskForEachTaskTaskCleanRoomsNotebookTask `json:"clean_rooms_notebook_task,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 {
|
||||||
|
@ -1205,6 +1229,8 @@ type ResourceJobTaskNewCluster struct {
|
||||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||||
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"`
|
||||||
|
IsSingleNode bool `json:"is_single_node,omitempty"`
|
||||||
|
Kind string `json:"kind,omitempty"`
|
||||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||||
NumWorkers int `json:"num_workers,omitempty"`
|
NumWorkers int `json:"num_workers,omitempty"`
|
||||||
PolicyId string `json:"policy_id,omitempty"`
|
PolicyId string `json:"policy_id,omitempty"`
|
||||||
|
@ -1214,6 +1240,7 @@ type ResourceJobTaskNewCluster struct {
|
||||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||||
SparkVersion string `json:"spark_version"`
|
SparkVersion string `json:"spark_version"`
|
||||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||||
|
UseMlRuntime bool `json:"use_ml_runtime,omitempty"`
|
||||||
Autoscale *ResourceJobTaskNewClusterAutoscale `json:"autoscale,omitempty"`
|
Autoscale *ResourceJobTaskNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||||
AwsAttributes *ResourceJobTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
AwsAttributes *ResourceJobTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||||
AzureAttributes *ResourceJobTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
AzureAttributes *ResourceJobTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||||
|
@ -1354,35 +1381,36 @@ type ResourceJobTaskWebhookNotifications struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobTask struct {
|
type ResourceJobTask struct {
|
||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
DisableAutoOptimization bool `json:"disable_auto_optimization,omitempty"`
|
DisableAutoOptimization bool `json:"disable_auto_optimization,omitempty"`
|
||||||
EnvironmentKey string `json:"environment_key,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"`
|
||||||
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"`
|
TaskKey string `json:"task_key"`
|
||||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||||
ConditionTask *ResourceJobTaskConditionTask `json:"condition_task,omitempty"`
|
CleanRoomsNotebookTask *ResourceJobTaskCleanRoomsNotebookTask `json:"clean_rooms_notebook_task,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 {
|
||||||
|
|
|
@ -244,9 +244,9 @@ type ResourcePipelineNotification struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourcePipelineRestartWindow struct {
|
type ResourcePipelineRestartWindow struct {
|
||||||
DaysOfWeek string `json:"days_of_week,omitempty"`
|
DaysOfWeek []string `json:"days_of_week,omitempty"`
|
||||||
StartHour int `json:"start_hour"`
|
StartHour int `json:"start_hour"`
|
||||||
TimeZoneId string `json:"time_zone_id,omitempty"`
|
TimeZoneId string `json:"time_zone_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourcePipelineTriggerCron struct {
|
type ResourcePipelineTriggerCron struct {
|
||||||
|
|
|
@ -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.61.0"
|
const ProviderVersion = "1.62.0"
|
||||||
|
|
||||||
func NewRoot() *Root {
|
func NewRoot() *Root {
|
||||||
return &Root{
|
return &Root{
|
||||||
|
|
Loading…
Reference in New Issue