1. Registry
  2. Packages
  3. Databricks Provider
  4. API Docs
  5. Job
Viewing docs for Databricks v1.109.0
published on Tuesday, Sep 8, 2026 by Pulumi
databricks logo databricks logo
Viewing docs for Databricks v1.109.0
published on Tuesday, Sep 8, 2026 by Pulumi

    API Documentation

    The databricks.Job resource allows you to manage Databricks Jobs to run non-interactive code in a databricks_cluster.

    This resource can only be used with a workspace-level provider!

    Example Usage

    In Pulumi configuration, it is recommended to define tasks in alphabetical order of their taskKey arguments, so that you get consistent and readable diff. Whenever tasks are added or removed, or taskKey is renamed, you’ll observe a change in the majority of tasks. It’s related to the fact that the current version of the provider treats task blocks as an ordered list. Alternatively, task block could have been an unordered set, though end-users would see the entire block replaced upon a change in single property of the task.

    It is possible to create a Databricks job using task blocks. A single task is defined with the task block containing one of the *_task blocks, taskKey, and additional arguments described below.

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    
    const _this = new databricks.Job("this", {
        name: "Job with multiple tasks",
        description: "This job executes multiple tasks on a shared job cluster, which will be provisioned as part of execution, and terminated once all tasks are finished.",
        jobClusters: [{
            jobClusterKey: "j",
            newCluster: {
                numWorkers: 2,
                sparkVersion: latest.id,
                nodeTypeId: smallest.id,
            },
        }],
        tasks: [
            {
                taskKey: "a",
                newCluster: {
                    numWorkers: 1,
                    sparkVersion: latest.id,
                    nodeTypeId: smallest.id,
                },
                notebookTask: {
                    notebookPath: thisDatabricksNotebook.path,
                },
            },
            {
                taskKey: "b",
                dependsOns: [{
                    taskKey: "a",
                }],
                existingClusterId: shared.id,
                sparkJarTask: {
                    mainClassName: "com.acme.data.Main",
                },
            },
            {
                taskKey: "c",
                jobClusterKey: "j",
                notebookTask: {
                    notebookPath: thisDatabricksNotebook.path,
                },
            },
            {
                taskKey: "d",
                pipelineTask: {
                    pipelineId: thisDatabricksPipeline.id,
                },
            },
        ],
    });
    
    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.Job("this",
        name="Job with multiple tasks",
        description="This job executes multiple tasks on a shared job cluster, which will be provisioned as part of execution, and terminated once all tasks are finished.",
        job_clusters=[{
            "job_cluster_key": "j",
            "new_cluster": {
                "num_workers": 2,
                "spark_version": latest["id"],
                "node_type_id": smallest["id"],
            },
        }],
        tasks=[
            {
                "task_key": "a",
                "new_cluster": {
                    "num_workers": 1,
                    "spark_version": latest["id"],
                    "node_type_id": smallest["id"],
                },
                "notebook_task": {
                    "notebook_path": this_databricks_notebook["path"],
                },
            },
            {
                "task_key": "b",
                "depends_ons": [{
                    "task_key": "a",
                }],
                "existing_cluster_id": shared["id"],
                "spark_jar_task": {
                    "main_class_name": "com.acme.data.Main",
                },
            },
            {
                "task_key": "c",
                "job_cluster_key": "j",
                "notebook_task": {
                    "notebook_path": this_databricks_notebook["path"],
                },
            },
            {
                "task_key": "d",
                "pipeline_task": {
                    "pipeline_id": this_databricks_pipeline["id"],
                },
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{
    			Name:        pulumi.String("Job with multiple tasks"),
    			Description: pulumi.String("This job executes multiple tasks on a shared job cluster, which will be provisioned as part of execution, and terminated once all tasks are finished."),
    			JobClusters: databricks.JobJobClusterArray{
    				&databricks.JobJobClusterArgs{
    					JobClusterKey: pulumi.String("j"),
    					NewCluster: &databricks.JobJobClusterNewClusterArgs{
    						NumWorkers:   pulumi.Int(2),
    						SparkVersion: pulumi.Any(latest.Id),
    						NodeTypeId:   pulumi.Any(smallest.Id),
    					},
    				},
    			},
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("a"),
    					NewCluster: &databricks.JobTaskNewClusterArgs{
    						NumWorkers:   pulumi.Int(1),
    						SparkVersion: pulumi.Any(latest.Id),
    						NodeTypeId:   pulumi.Any(smallest.Id),
    					},
    					NotebookTask: &databricks.JobTaskNotebookTaskArgs{
    						NotebookPath: pulumi.Any(thisDatabricksNotebook.Path),
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("b"),
    					DependsOns: databricks.JobTaskDependsOnArray{
    						&databricks.JobTaskDependsOnArgs{
    							TaskKey: pulumi.String("a"),
    						},
    					},
    					ExistingClusterId: pulumi.Any(shared.Id),
    					SparkJarTask: &databricks.JobTaskSparkJarTaskArgs{
    						MainClassName: pulumi.String("com.acme.data.Main"),
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey:       pulumi.String("c"),
    					JobClusterKey: pulumi.String("j"),
    					NotebookTask: &databricks.JobTaskNotebookTaskArgs{
    						NotebookPath: pulumi.Any(thisDatabricksNotebook.Path),
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("d"),
    					PipelineTask: &databricks.JobTaskPipelineTaskArgs{
    						PipelineId: pulumi.Any(thisDatabricksPipeline.Id),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Databricks.Job("this", new()
        {
            Name = "Job with multiple tasks",
            Description = "This job executes multiple tasks on a shared job cluster, which will be provisioned as part of execution, and terminated once all tasks are finished.",
            JobClusters = new[]
            {
                new Databricks.Inputs.JobJobClusterArgs
                {
                    JobClusterKey = "j",
                    NewCluster = new Databricks.Inputs.JobJobClusterNewClusterArgs
                    {
                        NumWorkers = 2,
                        SparkVersion = latest.Id,
                        NodeTypeId = smallest.Id,
                    },
                },
            },
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "a",
                    NewCluster = new Databricks.Inputs.JobTaskNewClusterArgs
                    {
                        NumWorkers = 1,
                        SparkVersion = latest.Id,
                        NodeTypeId = smallest.Id,
                    },
                    NotebookTask = new Databricks.Inputs.JobTaskNotebookTaskArgs
                    {
                        NotebookPath = thisDatabricksNotebook.Path,
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "b",
                    DependsOns = new[]
                    {
                        new Databricks.Inputs.JobTaskDependsOnArgs
                        {
                            TaskKey = "a",
                        },
                    },
                    ExistingClusterId = shared.Id,
                    SparkJarTask = new Databricks.Inputs.JobTaskSparkJarTaskArgs
                    {
                        MainClassName = "com.acme.data.Main",
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "c",
                    JobClusterKey = "j",
                    NotebookTask = new Databricks.Inputs.JobTaskNotebookTaskArgs
                    {
                        NotebookPath = thisDatabricksNotebook.Path,
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "d",
                    PipelineTask = new Databricks.Inputs.JobTaskPipelineTaskArgs
                    {
                        PipelineId = thisDatabricksPipeline.Id,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobJobClusterArgs;
    import com.pulumi.databricks.inputs.JobJobClusterNewClusterArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskNewClusterArgs;
    import com.pulumi.databricks.inputs.JobTaskNotebookTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskDependsOnArgs;
    import com.pulumi.databricks.inputs.JobTaskSparkJarTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskPipelineTaskArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var this_ = new Job("this", JobArgs.builder()
                .name("Job with multiple tasks")
                .description("This job executes multiple tasks on a shared job cluster, which will be provisioned as part of execution, and terminated once all tasks are finished.")
                .jobClusters(JobJobClusterArgs.builder()
                    .jobClusterKey("j")
                    .newCluster(JobJobClusterNewClusterArgs.builder()
                        .numWorkers(2)
                        .sparkVersion(latest.id())
                        .nodeTypeId(smallest.id())
                        .build())
                    .build())
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("a")
                        .newCluster(JobTaskNewClusterArgs.builder()
                            .numWorkers(1)
                            .sparkVersion(latest.id())
                            .nodeTypeId(smallest.id())
                            .build())
                        .notebookTask(JobTaskNotebookTaskArgs.builder()
                            .notebookPath(thisDatabricksNotebook.path())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("b")
                        .dependsOns(JobTaskDependsOnArgs.builder()
                            .taskKey("a")
                            .build())
                        .existingClusterId(shared.id())
                        .sparkJarTask(JobTaskSparkJarTaskArgs.builder()
                            .mainClassName("com.acme.data.Main")
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("c")
                        .jobClusterKey("j")
                        .notebookTask(JobTaskNotebookTaskArgs.builder()
                            .notebookPath(thisDatabricksNotebook.path())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("d")
                        .pipelineTask(JobTaskPipelineTaskArgs.builder()
                            .pipelineId(thisDatabricksPipeline.id())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: databricks:Job
        properties:
          name: Job with multiple tasks
          description: This job executes multiple tasks on a shared job cluster, which will be provisioned as part of execution, and terminated once all tasks are finished.
          jobClusters:
            - jobClusterKey: j
              newCluster:
                numWorkers: 2
                sparkVersion: ${latest.id}
                nodeTypeId: ${smallest.id}
          tasks:
            - taskKey: a
              newCluster:
                numWorkers: 1
                sparkVersion: ${latest.id}
                nodeTypeId: ${smallest.id}
              notebookTask:
                notebookPath: ${thisDatabricksNotebook.path}
            - taskKey: b
              dependsOns:
                - taskKey: a
              existingClusterId: ${shared.id}
              sparkJarTask:
                mainClassName: com.acme.data.Main
            - taskKey: c
              jobClusterKey: j
              notebookTask:
                notebookPath: ${thisDatabricksNotebook.path}
            - taskKey: d
              pipelineTask:
                pipelineId: ${thisDatabricksPipeline.id}
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "this" {
      name        = "Job with multiple tasks"
      description = "This job executes multiple tasks on a shared job cluster, which will be provisioned as part of execution, and terminated once all tasks are finished."
      job_clusters {
        job_cluster_key = "j"
        new_cluster = {
          num_workers   = 2
          spark_version = latest.id
          node_type_id  = smallest.id
        }
      }
      tasks {
        task_key = "a"
        new_cluster = {
          num_workers   = 1
          spark_version = latest.id
          node_type_id  = smallest.id
        }
        notebook_task = {
          notebook_path = thisDatabricksNotebook.path
        }
      }
      tasks {
        task_key = "b"
        depends_ons {
          task_key = "a"
        }
        existing_cluster_id = shared.id
        spark_jar_task = {
          main_class_name = "com.acme.data.Main"
        }
      }
      tasks {
        task_key        = "c"
        job_cluster_key = "j"
        notebook_task = {
          notebook_path = thisDatabricksNotebook.path
        }
      }
      tasks {
        task_key = "d"
        pipeline_task = {
          pipeline_id = thisDatabricksPipeline.id
        }
      }
    }
    

    Access Control

    By default, all users can create and modify jobs unless an administrator enables jobs access control. With jobs access control, individual permissions determine a user’s abilities.

    • databricks.Permissions can control which groups or individual users can Can View, Can Manage Run, and Can Manage.
    • databricks.ClusterPolicy can control which kinds of clusters users can create for jobs.

    Create Job Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Job(name: string, args?: JobArgs, opts?: CustomResourceOptions);
    @overload
    def Job(resource_name: str,
            args: Optional[JobArgs] = None,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Job(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            always_running: Optional[bool] = None,
            budget_policy_id: Optional[str] = None,
            continuous: Optional[JobContinuousArgs] = None,
            control_run_state: Optional[bool] = None,
            dbt_task: Optional[JobDbtTaskArgs] = None,
            deployment: Optional[JobDeploymentArgs] = None,
            description: Optional[str] = None,
            edit_mode: Optional[str] = None,
            email_notifications: Optional[JobEmailNotificationsArgs] = None,
            environments: Optional[Sequence[JobEnvironmentArgs]] = None,
            existing_cluster_id: Optional[str] = None,
            format: Optional[str] = None,
            git_source: Optional[JobGitSourceArgs] = None,
            health: Optional[JobHealthArgs] = None,
            job_clusters: Optional[Sequence[JobJobClusterArgs]] = None,
            libraries: Optional[Sequence[JobLibraryArgs]] = None,
            max_concurrent_runs: Optional[int] = None,
            max_retries: Optional[int] = None,
            min_retry_interval_millis: Optional[int] = None,
            name: Optional[str] = None,
            new_cluster: Optional[JobNewClusterArgs] = None,
            notebook_task: Optional[JobNotebookTaskArgs] = None,
            notification_settings: Optional[JobNotificationSettingsArgs] = None,
            parameters: Optional[Sequence[JobParameterArgs]] = None,
            parent_path: Optional[str] = None,
            performance_target: Optional[str] = None,
            pipeline_task: Optional[JobPipelineTaskArgs] = None,
            provider_config: Optional[JobProviderConfigArgs] = None,
            python_wheel_task: Optional[JobPythonWheelTaskArgs] = None,
            queue: Optional[JobQueueArgs] = None,
            retry_on_timeout: Optional[bool] = None,
            run_as: Optional[JobRunAsArgs] = None,
            run_job_task: Optional[JobRunJobTaskArgs] = None,
            schedule: Optional[JobScheduleArgs] = None,
            spark_jar_task: Optional[JobSparkJarTaskArgs] = None,
            spark_python_task: Optional[JobSparkPythonTaskArgs] = None,
            spark_submit_task: Optional[JobSparkSubmitTaskArgs] = None,
            tags: Optional[Mapping[str, str]] = None,
            tasks: Optional[Sequence[JobTaskArgs]] = None,
            timeout_seconds: Optional[int] = None,
            trigger: Optional[JobTriggerArgs] = None,
            triggers: Optional[Sequence[JobTriggerArgs]] = None,
            usage_policy_id: Optional[str] = None,
            webhook_notifications: Optional[JobWebhookNotificationsArgs] = None)
    func NewJob(ctx *Context, name string, args *JobArgs, opts ...ResourceOption) (*Job, error)
    public Job(string name, JobArgs? args = null, CustomResourceOptions? opts = null)
    public Job(String name, JobArgs args)
    public Job(String name, JobArgs args, CustomResourceOptions options)
    
    type: databricks:Job
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "databricks_job" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Job Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Job resource accepts the following input properties:

    AlwaysRunning bool
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    BudgetPolicyId string
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    Continuous JobContinuous
    Configuration block to configure pause status. See continuous Configuration Block.
    ControlRunState bool

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    DbtTask JobDbtTask

    Deprecated: should be used inside a task block and not inside a job block

    Deployment JobDeployment
    Description string
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    EditMode string
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    EmailNotifications JobEmailNotifications
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    Environments List<JobEnvironment>
    ExistingClusterId string
    Format string
    GitSource JobGitSource
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    Health JobHealth
    An optional block that specifies the health conditions for the job documented below.
    JobClusters List<JobJobCluster>
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    Libraries List<JobLibrary>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    MaxConcurrentRuns int
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    MaxRetries int

    Deprecated: should be used inside a task block and not inside a job block

    MinRetryIntervalMillis int
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    Name string
    An optional name for the job. The default value is Untitled.
    NewCluster JobNewCluster
    NotebookTask JobNotebookTask

    Deprecated: should be used inside a task block and not inside a job block

    NotificationSettings JobNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    Parameters List<JobParameter>
    Specifies job parameter for the job. See parameter Configuration Block
    ParentPath string
    PerformanceTarget string
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    PipelineTask JobPipelineTask

    Deprecated: should be used inside a task block and not inside a job block

    ProviderConfig JobProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    PythonWheelTask JobPythonWheelTask

    Deprecated: should be used inside a task block and not inside a job block

    Queue JobQueue
    The queue status for the job. See queue Configuration Block below.
    RetryOnTimeout bool

    Deprecated: should be used inside a task block and not inside a job block

    RunAs JobRunAs
    The user or the service principal the job runs as. See runAs Configuration Block below.
    RunJobTask JobRunJobTask

    Deprecated: should be used inside a task block and not inside a job block

    Schedule JobSchedule
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    SparkJarTask JobSparkJarTask

    Deprecated: should be used inside a task block and not inside a job block

    SparkPythonTask JobSparkPythonTask

    Deprecated: should be used inside a task block and not inside a job block

    SparkSubmitTask JobSparkSubmitTask

    Deprecated: should be used inside a task block and not inside a job block

    Tags Dictionary<string, string>
    An optional map of the tags associated with the job. See tags Configuration Map
    Tasks List<JobTask>
    A list of task specification that the job will execute. See task Configuration Block below.
    TimeoutSeconds int
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    Trigger JobTrigger
    The conditions that triggers the job to start. See trigger Configuration Block below.
    Triggers List<JobTrigger>
    UsagePolicyId string
    WebhookNotifications JobWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    AlwaysRunning bool
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    BudgetPolicyId string
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    Continuous JobContinuousArgs
    Configuration block to configure pause status. See continuous Configuration Block.
    ControlRunState bool

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    DbtTask JobDbtTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    Deployment JobDeploymentArgs
    Description string
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    EditMode string
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    EmailNotifications JobEmailNotificationsArgs
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    Environments []JobEnvironmentArgs
    ExistingClusterId string
    Format string
    GitSource JobGitSourceArgs
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    Health JobHealthArgs
    An optional block that specifies the health conditions for the job documented below.
    JobClusters []JobJobClusterArgs
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    Libraries []JobLibraryArgs
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    MaxConcurrentRuns int
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    MaxRetries int

    Deprecated: should be used inside a task block and not inside a job block

    MinRetryIntervalMillis int
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    Name string
    An optional name for the job. The default value is Untitled.
    NewCluster JobNewClusterArgs
    NotebookTask JobNotebookTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    NotificationSettings JobNotificationSettingsArgs
    An optional block controlling the notification settings on the job level documented below.
    Parameters []JobParameterArgs
    Specifies job parameter for the job. See parameter Configuration Block
    ParentPath string
    PerformanceTarget string
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    PipelineTask JobPipelineTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    ProviderConfig JobProviderConfigArgs
    Configure the provider for management through account provider. This block consists of the following fields:
    PythonWheelTask JobPythonWheelTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    Queue JobQueueArgs
    The queue status for the job. See queue Configuration Block below.
    RetryOnTimeout bool

    Deprecated: should be used inside a task block and not inside a job block

    RunAs JobRunAsArgs
    The user or the service principal the job runs as. See runAs Configuration Block below.
    RunJobTask JobRunJobTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    Schedule JobScheduleArgs
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    SparkJarTask JobSparkJarTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    SparkPythonTask JobSparkPythonTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    SparkSubmitTask JobSparkSubmitTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    Tags map[string]string
    An optional map of the tags associated with the job. See tags Configuration Map
    Tasks []JobTaskArgs
    A list of task specification that the job will execute. See task Configuration Block below.
    TimeoutSeconds int
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    Trigger JobTriggerArgs
    The conditions that triggers the job to start. See trigger Configuration Block below.
    Triggers []JobTriggerArgs
    UsagePolicyId string
    WebhookNotifications JobWebhookNotificationsArgs
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    always_running bool
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    budget_policy_id string
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    continuous object
    Configuration block to configure pause status. See continuous Configuration Block.
    control_run_state bool

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    dbt_task object

    Deprecated: should be used inside a task block and not inside a job block

    deployment object
    description string
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    edit_mode string
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    email_notifications object
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    environments list(object)
    existing_cluster_id string
    format string
    git_source object
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    health object
    An optional block that specifies the health conditions for the job documented below.
    job_clusters list(object)
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    libraries list(object)
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    max_concurrent_runs number
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    max_retries number

    Deprecated: should be used inside a task block and not inside a job block

    min_retry_interval_millis number
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    name string
    An optional name for the job. The default value is Untitled.
    new_cluster object
    notebook_task object

    Deprecated: should be used inside a task block and not inside a job block

    notification_settings object
    An optional block controlling the notification settings on the job level documented below.
    parameters list(object)
    Specifies job parameter for the job. See parameter Configuration Block
    parent_path string
    performance_target string
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    pipeline_task object

    Deprecated: should be used inside a task block and not inside a job block

    provider_config object
    Configure the provider for management through account provider. This block consists of the following fields:
    python_wheel_task object

    Deprecated: should be used inside a task block and not inside a job block

    queue object
    The queue status for the job. See queue Configuration Block below.
    retry_on_timeout bool

    Deprecated: should be used inside a task block and not inside a job block

    run_as object
    The user or the service principal the job runs as. See runAs Configuration Block below.
    run_job_task object

    Deprecated: should be used inside a task block and not inside a job block

    schedule object
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    spark_jar_task object

    Deprecated: should be used inside a task block and not inside a job block

    spark_python_task object

    Deprecated: should be used inside a task block and not inside a job block

    spark_submit_task object

    Deprecated: should be used inside a task block and not inside a job block

    tags map(string)
    An optional map of the tags associated with the job. See tags Configuration Map
    tasks list(object)
    A list of task specification that the job will execute. See task Configuration Block below.
    timeout_seconds number
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    trigger object
    The conditions that triggers the job to start. See trigger Configuration Block below.
    triggers list(object)
    usage_policy_id string
    webhook_notifications object
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    alwaysRunning Boolean
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    budgetPolicyId String
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    continuous JobContinuous
    Configuration block to configure pause status. See continuous Configuration Block.
    controlRunState Boolean

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    dbtTask JobDbtTask

    Deprecated: should be used inside a task block and not inside a job block

    deployment JobDeployment
    description String
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    editMode String
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    emailNotifications JobEmailNotifications
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    environments List<JobEnvironment>
    existingClusterId String
    format String
    gitSource JobGitSource
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    health JobHealth
    An optional block that specifies the health conditions for the job documented below.
    jobClusters List<JobJobCluster>
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    libraries List<JobLibrary>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    maxConcurrentRuns Integer
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    maxRetries Integer

    Deprecated: should be used inside a task block and not inside a job block

    minRetryIntervalMillis Integer
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    name String
    An optional name for the job. The default value is Untitled.
    newCluster JobNewCluster
    notebookTask JobNotebookTask

    Deprecated: should be used inside a task block and not inside a job block

    notificationSettings JobNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    parameters List<JobParameter>
    Specifies job parameter for the job. See parameter Configuration Block
    parentPath String
    performanceTarget String
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    pipelineTask JobPipelineTask

    Deprecated: should be used inside a task block and not inside a job block

    providerConfig JobProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pythonWheelTask JobPythonWheelTask

    Deprecated: should be used inside a task block and not inside a job block

    queue JobQueue
    The queue status for the job. See queue Configuration Block below.
    retryOnTimeout Boolean

    Deprecated: should be used inside a task block and not inside a job block

    runAs JobRunAs
    The user or the service principal the job runs as. See runAs Configuration Block below.
    runJobTask JobRunJobTask

    Deprecated: should be used inside a task block and not inside a job block

    schedule JobSchedule
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    sparkJarTask JobSparkJarTask

    Deprecated: should be used inside a task block and not inside a job block

    sparkPythonTask JobSparkPythonTask

    Deprecated: should be used inside a task block and not inside a job block

    sparkSubmitTask JobSparkSubmitTask

    Deprecated: should be used inside a task block and not inside a job block

    tags Map<String,String>
    An optional map of the tags associated with the job. See tags Configuration Map
    tasks List<JobTask>
    A list of task specification that the job will execute. See task Configuration Block below.
    timeoutSeconds Integer
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    trigger JobTrigger
    The conditions that triggers the job to start. See trigger Configuration Block below.
    triggers List<JobTrigger>
    usagePolicyId String
    webhookNotifications JobWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    alwaysRunning boolean
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    budgetPolicyId string
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    continuous JobContinuous
    Configuration block to configure pause status. See continuous Configuration Block.
    controlRunState boolean

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    dbtTask JobDbtTask

    Deprecated: should be used inside a task block and not inside a job block

    deployment JobDeployment
    description string
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    editMode string
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    emailNotifications JobEmailNotifications
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    environments JobEnvironment[]
    existingClusterId string
    format string
    gitSource JobGitSource
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    health JobHealth
    An optional block that specifies the health conditions for the job documented below.
    jobClusters JobJobCluster[]
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    libraries JobLibrary[]
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    maxConcurrentRuns number
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    maxRetries number

    Deprecated: should be used inside a task block and not inside a job block

    minRetryIntervalMillis number
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    name string
    An optional name for the job. The default value is Untitled.
    newCluster JobNewCluster
    notebookTask JobNotebookTask

    Deprecated: should be used inside a task block and not inside a job block

    notificationSettings JobNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    parameters JobParameter[]
    Specifies job parameter for the job. See parameter Configuration Block
    parentPath string
    performanceTarget string
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    pipelineTask JobPipelineTask

    Deprecated: should be used inside a task block and not inside a job block

    providerConfig JobProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pythonWheelTask JobPythonWheelTask

    Deprecated: should be used inside a task block and not inside a job block

    queue JobQueue
    The queue status for the job. See queue Configuration Block below.
    retryOnTimeout boolean

    Deprecated: should be used inside a task block and not inside a job block

    runAs JobRunAs
    The user or the service principal the job runs as. See runAs Configuration Block below.
    runJobTask JobRunJobTask

    Deprecated: should be used inside a task block and not inside a job block

    schedule JobSchedule
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    sparkJarTask JobSparkJarTask

    Deprecated: should be used inside a task block and not inside a job block

    sparkPythonTask JobSparkPythonTask

    Deprecated: should be used inside a task block and not inside a job block

    sparkSubmitTask JobSparkSubmitTask

    Deprecated: should be used inside a task block and not inside a job block

    tags {[key: string]: string}
    An optional map of the tags associated with the job. See tags Configuration Map
    tasks JobTask[]
    A list of task specification that the job will execute. See task Configuration Block below.
    timeoutSeconds number
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    trigger JobTrigger
    The conditions that triggers the job to start. See trigger Configuration Block below.
    triggers JobTrigger[]
    usagePolicyId string
    webhookNotifications JobWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    always_running bool
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    budget_policy_id str
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    continuous JobContinuousArgs
    Configuration block to configure pause status. See continuous Configuration Block.
    control_run_state bool

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    dbt_task JobDbtTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    deployment JobDeploymentArgs
    description str
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    edit_mode str
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    email_notifications JobEmailNotificationsArgs
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    environments Sequence[JobEnvironmentArgs]
    existing_cluster_id str
    format str
    git_source JobGitSourceArgs
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    health JobHealthArgs
    An optional block that specifies the health conditions for the job documented below.
    job_clusters Sequence[JobJobClusterArgs]
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    libraries Sequence[JobLibraryArgs]
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    max_concurrent_runs int
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    max_retries int

    Deprecated: should be used inside a task block and not inside a job block

    min_retry_interval_millis int
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    name str
    An optional name for the job. The default value is Untitled.
    new_cluster JobNewClusterArgs
    notebook_task JobNotebookTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    notification_settings JobNotificationSettingsArgs
    An optional block controlling the notification settings on the job level documented below.
    parameters Sequence[JobParameterArgs]
    Specifies job parameter for the job. See parameter Configuration Block
    parent_path str
    performance_target str
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    pipeline_task JobPipelineTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    provider_config JobProviderConfigArgs
    Configure the provider for management through account provider. This block consists of the following fields:
    python_wheel_task JobPythonWheelTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    queue JobQueueArgs
    The queue status for the job. See queue Configuration Block below.
    retry_on_timeout bool

    Deprecated: should be used inside a task block and not inside a job block

    run_as JobRunAsArgs
    The user or the service principal the job runs as. See runAs Configuration Block below.
    run_job_task JobRunJobTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    schedule JobScheduleArgs
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    spark_jar_task JobSparkJarTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    spark_python_task JobSparkPythonTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    spark_submit_task JobSparkSubmitTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    tags Mapping[str, str]
    An optional map of the tags associated with the job. See tags Configuration Map
    tasks Sequence[JobTaskArgs]
    A list of task specification that the job will execute. See task Configuration Block below.
    timeout_seconds int
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    trigger JobTriggerArgs
    The conditions that triggers the job to start. See trigger Configuration Block below.
    triggers Sequence[JobTriggerArgs]
    usage_policy_id str
    webhook_notifications JobWebhookNotificationsArgs
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    alwaysRunning Boolean
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    budgetPolicyId String
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    continuous Property Map
    Configuration block to configure pause status. See continuous Configuration Block.
    controlRunState Boolean

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    dbtTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    deployment Property Map
    description String
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    editMode String
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    emailNotifications Property Map
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    environments List<Property Map>
    existingClusterId String
    format String
    gitSource Property Map
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    health Property Map
    An optional block that specifies the health conditions for the job documented below.
    jobClusters List<Property Map>
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    libraries List<Property Map>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    maxConcurrentRuns Number
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    maxRetries Number

    Deprecated: should be used inside a task block and not inside a job block

    minRetryIntervalMillis Number
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    name String
    An optional name for the job. The default value is Untitled.
    newCluster Property Map
    notebookTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    notificationSettings Property Map
    An optional block controlling the notification settings on the job level documented below.
    parameters List<Property Map>
    Specifies job parameter for the job. See parameter Configuration Block
    parentPath String
    performanceTarget String
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    pipelineTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    providerConfig Property Map
    Configure the provider for management through account provider. This block consists of the following fields:
    pythonWheelTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    queue Property Map
    The queue status for the job. See queue Configuration Block below.
    retryOnTimeout Boolean

    Deprecated: should be used inside a task block and not inside a job block

    runAs Property Map
    The user or the service principal the job runs as. See runAs Configuration Block below.
    runJobTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    schedule Property Map
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    sparkJarTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    sparkPythonTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    sparkSubmitTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    tags Map<String>
    An optional map of the tags associated with the job. See tags Configuration Map
    tasks List<Property Map>
    A list of task specification that the job will execute. See task Configuration Block below.
    timeoutSeconds Number
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    trigger Property Map
    The conditions that triggers the job to start. See trigger Configuration Block below.
    triggers List<Property Map>
    usagePolicyId String
    webhookNotifications Property Map
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Job resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    URL of the job on the given workspace
    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    URL of the job on the given workspace
    id string
    The provider-assigned unique ID for this managed resource.
    url string
    URL of the job on the given workspace
    id String
    The provider-assigned unique ID for this managed resource.
    url String
    URL of the job on the given workspace
    id string
    The provider-assigned unique ID for this managed resource.
    url string
    URL of the job on the given workspace
    id str
    The provider-assigned unique ID for this managed resource.
    url str
    URL of the job on the given workspace
    id String
    The provider-assigned unique ID for this managed resource.
    url String
    URL of the job on the given workspace

    Look up Existing Job Resource

    Get an existing Job resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: JobState, opts?: CustomResourceOptions): Job
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            always_running: Optional[bool] = None,
            budget_policy_id: Optional[str] = None,
            continuous: Optional[JobContinuousArgs] = None,
            control_run_state: Optional[bool] = None,
            dbt_task: Optional[JobDbtTaskArgs] = None,
            deployment: Optional[JobDeploymentArgs] = None,
            description: Optional[str] = None,
            edit_mode: Optional[str] = None,
            email_notifications: Optional[JobEmailNotificationsArgs] = None,
            environments: Optional[Sequence[JobEnvironmentArgs]] = None,
            existing_cluster_id: Optional[str] = None,
            format: Optional[str] = None,
            git_source: Optional[JobGitSourceArgs] = None,
            health: Optional[JobHealthArgs] = None,
            job_clusters: Optional[Sequence[JobJobClusterArgs]] = None,
            libraries: Optional[Sequence[JobLibraryArgs]] = None,
            max_concurrent_runs: Optional[int] = None,
            max_retries: Optional[int] = None,
            min_retry_interval_millis: Optional[int] = None,
            name: Optional[str] = None,
            new_cluster: Optional[JobNewClusterArgs] = None,
            notebook_task: Optional[JobNotebookTaskArgs] = None,
            notification_settings: Optional[JobNotificationSettingsArgs] = None,
            parameters: Optional[Sequence[JobParameterArgs]] = None,
            parent_path: Optional[str] = None,
            performance_target: Optional[str] = None,
            pipeline_task: Optional[JobPipelineTaskArgs] = None,
            provider_config: Optional[JobProviderConfigArgs] = None,
            python_wheel_task: Optional[JobPythonWheelTaskArgs] = None,
            queue: Optional[JobQueueArgs] = None,
            retry_on_timeout: Optional[bool] = None,
            run_as: Optional[JobRunAsArgs] = None,
            run_job_task: Optional[JobRunJobTaskArgs] = None,
            schedule: Optional[JobScheduleArgs] = None,
            spark_jar_task: Optional[JobSparkJarTaskArgs] = None,
            spark_python_task: Optional[JobSparkPythonTaskArgs] = None,
            spark_submit_task: Optional[JobSparkSubmitTaskArgs] = None,
            tags: Optional[Mapping[str, str]] = None,
            tasks: Optional[Sequence[JobTaskArgs]] = None,
            timeout_seconds: Optional[int] = None,
            trigger: Optional[JobTriggerArgs] = None,
            triggers: Optional[Sequence[JobTriggerArgs]] = None,
            url: Optional[str] = None,
            usage_policy_id: Optional[str] = None,
            webhook_notifications: Optional[JobWebhookNotificationsArgs] = None) -> Job
    func GetJob(ctx *Context, name string, id IDInput, state *JobState, opts ...ResourceOption) (*Job, error)
    public static Job Get(string name, Input<string> id, JobState? state, CustomResourceOptions? opts = null)
    public static Job get(String name, Output<String> id, JobState state, CustomResourceOptions options)
    resources:  _:    type: databricks:Job    get:      id: ${id}
    import {
      to = databricks_job.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AlwaysRunning bool
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    BudgetPolicyId string
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    Continuous JobContinuous
    Configuration block to configure pause status. See continuous Configuration Block.
    ControlRunState bool

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    DbtTask JobDbtTask

    Deprecated: should be used inside a task block and not inside a job block

    Deployment JobDeployment
    Description string
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    EditMode string
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    EmailNotifications JobEmailNotifications
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    Environments List<JobEnvironment>
    ExistingClusterId string
    Format string
    GitSource JobGitSource
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    Health JobHealth
    An optional block that specifies the health conditions for the job documented below.
    JobClusters List<JobJobCluster>
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    Libraries List<JobLibrary>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    MaxConcurrentRuns int
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    MaxRetries int

    Deprecated: should be used inside a task block and not inside a job block

    MinRetryIntervalMillis int
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    Name string
    An optional name for the job. The default value is Untitled.
    NewCluster JobNewCluster
    NotebookTask JobNotebookTask

    Deprecated: should be used inside a task block and not inside a job block

    NotificationSettings JobNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    Parameters List<JobParameter>
    Specifies job parameter for the job. See parameter Configuration Block
    ParentPath string
    PerformanceTarget string
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    PipelineTask JobPipelineTask

    Deprecated: should be used inside a task block and not inside a job block

    ProviderConfig JobProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    PythonWheelTask JobPythonWheelTask

    Deprecated: should be used inside a task block and not inside a job block

    Queue JobQueue
    The queue status for the job. See queue Configuration Block below.
    RetryOnTimeout bool

    Deprecated: should be used inside a task block and not inside a job block

    RunAs JobRunAs
    The user or the service principal the job runs as. See runAs Configuration Block below.
    RunJobTask JobRunJobTask

    Deprecated: should be used inside a task block and not inside a job block

    Schedule JobSchedule
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    SparkJarTask JobSparkJarTask

    Deprecated: should be used inside a task block and not inside a job block

    SparkPythonTask JobSparkPythonTask

    Deprecated: should be used inside a task block and not inside a job block

    SparkSubmitTask JobSparkSubmitTask

    Deprecated: should be used inside a task block and not inside a job block

    Tags Dictionary<string, string>
    An optional map of the tags associated with the job. See tags Configuration Map
    Tasks List<JobTask>
    A list of task specification that the job will execute. See task Configuration Block below.
    TimeoutSeconds int
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    Trigger JobTrigger
    The conditions that triggers the job to start. See trigger Configuration Block below.
    Triggers List<JobTrigger>
    Url string
    URL of the job on the given workspace
    UsagePolicyId string
    WebhookNotifications JobWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    AlwaysRunning bool
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    BudgetPolicyId string
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    Continuous JobContinuousArgs
    Configuration block to configure pause status. See continuous Configuration Block.
    ControlRunState bool

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    DbtTask JobDbtTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    Deployment JobDeploymentArgs
    Description string
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    EditMode string
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    EmailNotifications JobEmailNotificationsArgs
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    Environments []JobEnvironmentArgs
    ExistingClusterId string
    Format string
    GitSource JobGitSourceArgs
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    Health JobHealthArgs
    An optional block that specifies the health conditions for the job documented below.
    JobClusters []JobJobClusterArgs
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    Libraries []JobLibraryArgs
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    MaxConcurrentRuns int
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    MaxRetries int

    Deprecated: should be used inside a task block and not inside a job block

    MinRetryIntervalMillis int
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    Name string
    An optional name for the job. The default value is Untitled.
    NewCluster JobNewClusterArgs
    NotebookTask JobNotebookTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    NotificationSettings JobNotificationSettingsArgs
    An optional block controlling the notification settings on the job level documented below.
    Parameters []JobParameterArgs
    Specifies job parameter for the job. See parameter Configuration Block
    ParentPath string
    PerformanceTarget string
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    PipelineTask JobPipelineTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    ProviderConfig JobProviderConfigArgs
    Configure the provider for management through account provider. This block consists of the following fields:
    PythonWheelTask JobPythonWheelTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    Queue JobQueueArgs
    The queue status for the job. See queue Configuration Block below.
    RetryOnTimeout bool

    Deprecated: should be used inside a task block and not inside a job block

    RunAs JobRunAsArgs
    The user or the service principal the job runs as. See runAs Configuration Block below.
    RunJobTask JobRunJobTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    Schedule JobScheduleArgs
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    SparkJarTask JobSparkJarTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    SparkPythonTask JobSparkPythonTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    SparkSubmitTask JobSparkSubmitTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    Tags map[string]string
    An optional map of the tags associated with the job. See tags Configuration Map
    Tasks []JobTaskArgs
    A list of task specification that the job will execute. See task Configuration Block below.
    TimeoutSeconds int
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    Trigger JobTriggerArgs
    The conditions that triggers the job to start. See trigger Configuration Block below.
    Triggers []JobTriggerArgs
    Url string
    URL of the job on the given workspace
    UsagePolicyId string
    WebhookNotifications JobWebhookNotificationsArgs
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    always_running bool
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    budget_policy_id string
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    continuous object
    Configuration block to configure pause status. See continuous Configuration Block.
    control_run_state bool

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    dbt_task object

    Deprecated: should be used inside a task block and not inside a job block

    deployment object
    description string
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    edit_mode string
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    email_notifications object
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    environments list(object)
    existing_cluster_id string
    format string
    git_source object
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    health object
    An optional block that specifies the health conditions for the job documented below.
    job_clusters list(object)
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    libraries list(object)
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    max_concurrent_runs number
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    max_retries number

    Deprecated: should be used inside a task block and not inside a job block

    min_retry_interval_millis number
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    name string
    An optional name for the job. The default value is Untitled.
    new_cluster object
    notebook_task object

    Deprecated: should be used inside a task block and not inside a job block

    notification_settings object
    An optional block controlling the notification settings on the job level documented below.
    parameters list(object)
    Specifies job parameter for the job. See parameter Configuration Block
    parent_path string
    performance_target string
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    pipeline_task object

    Deprecated: should be used inside a task block and not inside a job block

    provider_config object
    Configure the provider for management through account provider. This block consists of the following fields:
    python_wheel_task object

    Deprecated: should be used inside a task block and not inside a job block

    queue object
    The queue status for the job. See queue Configuration Block below.
    retry_on_timeout bool

    Deprecated: should be used inside a task block and not inside a job block

    run_as object
    The user or the service principal the job runs as. See runAs Configuration Block below.
    run_job_task object

    Deprecated: should be used inside a task block and not inside a job block

    schedule object
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    spark_jar_task object

    Deprecated: should be used inside a task block and not inside a job block

    spark_python_task object

    Deprecated: should be used inside a task block and not inside a job block

    spark_submit_task object

    Deprecated: should be used inside a task block and not inside a job block

    tags map(string)
    An optional map of the tags associated with the job. See tags Configuration Map
    tasks list(object)
    A list of task specification that the job will execute. See task Configuration Block below.
    timeout_seconds number
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    trigger object
    The conditions that triggers the job to start. See trigger Configuration Block below.
    triggers list(object)
    url string
    URL of the job on the given workspace
    usage_policy_id string
    webhook_notifications object
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    alwaysRunning Boolean
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    budgetPolicyId String
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    continuous JobContinuous
    Configuration block to configure pause status. See continuous Configuration Block.
    controlRunState Boolean

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    dbtTask JobDbtTask

    Deprecated: should be used inside a task block and not inside a job block

    deployment JobDeployment
    description String
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    editMode String
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    emailNotifications JobEmailNotifications
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    environments List<JobEnvironment>
    existingClusterId String
    format String
    gitSource JobGitSource
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    health JobHealth
    An optional block that specifies the health conditions for the job documented below.
    jobClusters List<JobJobCluster>
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    libraries List<JobLibrary>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    maxConcurrentRuns Integer
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    maxRetries Integer

    Deprecated: should be used inside a task block and not inside a job block

    minRetryIntervalMillis Integer
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    name String
    An optional name for the job. The default value is Untitled.
    newCluster JobNewCluster
    notebookTask JobNotebookTask

    Deprecated: should be used inside a task block and not inside a job block

    notificationSettings JobNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    parameters List<JobParameter>
    Specifies job parameter for the job. See parameter Configuration Block
    parentPath String
    performanceTarget String
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    pipelineTask JobPipelineTask

    Deprecated: should be used inside a task block and not inside a job block

    providerConfig JobProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pythonWheelTask JobPythonWheelTask

    Deprecated: should be used inside a task block and not inside a job block

    queue JobQueue
    The queue status for the job. See queue Configuration Block below.
    retryOnTimeout Boolean

    Deprecated: should be used inside a task block and not inside a job block

    runAs JobRunAs
    The user or the service principal the job runs as. See runAs Configuration Block below.
    runJobTask JobRunJobTask

    Deprecated: should be used inside a task block and not inside a job block

    schedule JobSchedule
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    sparkJarTask JobSparkJarTask

    Deprecated: should be used inside a task block and not inside a job block

    sparkPythonTask JobSparkPythonTask

    Deprecated: should be used inside a task block and not inside a job block

    sparkSubmitTask JobSparkSubmitTask

    Deprecated: should be used inside a task block and not inside a job block

    tags Map<String,String>
    An optional map of the tags associated with the job. See tags Configuration Map
    tasks List<JobTask>
    A list of task specification that the job will execute. See task Configuration Block below.
    timeoutSeconds Integer
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    trigger JobTrigger
    The conditions that triggers the job to start. See trigger Configuration Block below.
    triggers List<JobTrigger>
    url String
    URL of the job on the given workspace
    usagePolicyId String
    webhookNotifications JobWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    alwaysRunning boolean
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    budgetPolicyId string
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    continuous JobContinuous
    Configuration block to configure pause status. See continuous Configuration Block.
    controlRunState boolean

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    dbtTask JobDbtTask

    Deprecated: should be used inside a task block and not inside a job block

    deployment JobDeployment
    description string
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    editMode string
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    emailNotifications JobEmailNotifications
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    environments JobEnvironment[]
    existingClusterId string
    format string
    gitSource JobGitSource
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    health JobHealth
    An optional block that specifies the health conditions for the job documented below.
    jobClusters JobJobCluster[]
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    libraries JobLibrary[]
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    maxConcurrentRuns number
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    maxRetries number

    Deprecated: should be used inside a task block and not inside a job block

    minRetryIntervalMillis number
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    name string
    An optional name for the job. The default value is Untitled.
    newCluster JobNewCluster
    notebookTask JobNotebookTask

    Deprecated: should be used inside a task block and not inside a job block

    notificationSettings JobNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    parameters JobParameter[]
    Specifies job parameter for the job. See parameter Configuration Block
    parentPath string
    performanceTarget string
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    pipelineTask JobPipelineTask

    Deprecated: should be used inside a task block and not inside a job block

    providerConfig JobProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pythonWheelTask JobPythonWheelTask

    Deprecated: should be used inside a task block and not inside a job block

    queue JobQueue
    The queue status for the job. See queue Configuration Block below.
    retryOnTimeout boolean

    Deprecated: should be used inside a task block and not inside a job block

    runAs JobRunAs
    The user or the service principal the job runs as. See runAs Configuration Block below.
    runJobTask JobRunJobTask

    Deprecated: should be used inside a task block and not inside a job block

    schedule JobSchedule
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    sparkJarTask JobSparkJarTask

    Deprecated: should be used inside a task block and not inside a job block

    sparkPythonTask JobSparkPythonTask

    Deprecated: should be used inside a task block and not inside a job block

    sparkSubmitTask JobSparkSubmitTask

    Deprecated: should be used inside a task block and not inside a job block

    tags {[key: string]: string}
    An optional map of the tags associated with the job. See tags Configuration Map
    tasks JobTask[]
    A list of task specification that the job will execute. See task Configuration Block below.
    timeoutSeconds number
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    trigger JobTrigger
    The conditions that triggers the job to start. See trigger Configuration Block below.
    triggers JobTrigger[]
    url string
    URL of the job on the given workspace
    usagePolicyId string
    webhookNotifications JobWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    always_running bool
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    budget_policy_id str
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    continuous JobContinuousArgs
    Configuration block to configure pause status. See continuous Configuration Block.
    control_run_state bool

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    dbt_task JobDbtTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    deployment JobDeploymentArgs
    description str
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    edit_mode str
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    email_notifications JobEmailNotificationsArgs
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    environments Sequence[JobEnvironmentArgs]
    existing_cluster_id str
    format str
    git_source JobGitSourceArgs
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    health JobHealthArgs
    An optional block that specifies the health conditions for the job documented below.
    job_clusters Sequence[JobJobClusterArgs]
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    libraries Sequence[JobLibraryArgs]
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    max_concurrent_runs int
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    max_retries int

    Deprecated: should be used inside a task block and not inside a job block

    min_retry_interval_millis int
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    name str
    An optional name for the job. The default value is Untitled.
    new_cluster JobNewClusterArgs
    notebook_task JobNotebookTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    notification_settings JobNotificationSettingsArgs
    An optional block controlling the notification settings on the job level documented below.
    parameters Sequence[JobParameterArgs]
    Specifies job parameter for the job. See parameter Configuration Block
    parent_path str
    performance_target str
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    pipeline_task JobPipelineTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    provider_config JobProviderConfigArgs
    Configure the provider for management through account provider. This block consists of the following fields:
    python_wheel_task JobPythonWheelTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    queue JobQueueArgs
    The queue status for the job. See queue Configuration Block below.
    retry_on_timeout bool

    Deprecated: should be used inside a task block and not inside a job block

    run_as JobRunAsArgs
    The user or the service principal the job runs as. See runAs Configuration Block below.
    run_job_task JobRunJobTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    schedule JobScheduleArgs
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    spark_jar_task JobSparkJarTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    spark_python_task JobSparkPythonTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    spark_submit_task JobSparkSubmitTaskArgs

    Deprecated: should be used inside a task block and not inside a job block

    tags Mapping[str, str]
    An optional map of the tags associated with the job. See tags Configuration Map
    tasks Sequence[JobTaskArgs]
    A list of task specification that the job will execute. See task Configuration Block below.
    timeout_seconds int
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    trigger JobTriggerArgs
    The conditions that triggers the job to start. See trigger Configuration Block below.
    triggers Sequence[JobTriggerArgs]
    url str
    URL of the job on the given workspace
    usage_policy_id str
    webhook_notifications JobWebhookNotificationsArgs
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    alwaysRunning Boolean
    (Bool) Whenever the job is always running, like a Spark Streaming application, on every update restart the current active run or start it again, if nothing it is not running. False by default. Any job runs are started with parameters specified in sparkJarTask or sparkSubmitTask or sparkPythonTask or notebookTask blocks.

    Deprecated: always_running will be replaced by controlRunState in the next major release.

    budgetPolicyId String
    The ID of the user-specified budget policy to use for this job. If not specified, a default budget policy may be applied when creating or modifying the job.
    continuous Property Map
    Configuration block to configure pause status. See continuous Configuration Block.
    controlRunState Boolean

    (Bool) If true, the Databricks provider will stop and start the job as needed to ensure that the active run for the job reflects the deployed configuration. For continuous jobs, the provider respects the pauseStatus by stopping the current active run. This flag cannot be set for non-continuous jobs.

    When migrating from alwaysRunning to controlRunState, set continuous as follows:

    dbtTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    deployment Property Map
    description String
    An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
    editMode String
    If "UI_LOCKED", the user interface for the job will be locked. If "EDITABLE" (the default), the user interface will be editable.
    emailNotifications Property Map
    (List) An optional set of email addresses notified when runs of this job begins, completes or fails. The default behavior is to not send any emails. This field is a block and is documented below.
    environments List<Property Map>
    existingClusterId String
    format String
    gitSource Property Map
    Specifies the a Git repository for task source code. See gitSource Configuration Block below.
    health Property Map
    An optional block that specifies the health conditions for the job documented below.
    jobClusters List<Property Map>
    A list of job databricks.Cluster specifications that can be shared and reused by tasks of this job. Libraries cannot be declared in a shared job cluster. You must declare dependent libraries in task settings. Multi-task syntax
    libraries List<Property Map>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    maxConcurrentRuns Number
    (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to 1.
    maxRetries Number

    Deprecated: should be used inside a task block and not inside a job block

    minRetryIntervalMillis Number
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.

    Deprecated: should be used inside a task block and not inside a job block

    name String
    An optional name for the job. The default value is Untitled.
    newCluster Property Map
    notebookTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    notificationSettings Property Map
    An optional block controlling the notification settings on the job level documented below.
    parameters List<Property Map>
    Specifies job parameter for the job. See parameter Configuration Block
    parentPath String
    performanceTarget String
    The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:

    • PERFORMANCE_OPTIMIZED: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
    • STANDARD: Enables cost-efficient execution of serverless workloads.
    pipelineTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    providerConfig Property Map
    Configure the provider for management through account provider. This block consists of the following fields:
    pythonWheelTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    queue Property Map
    The queue status for the job. See queue Configuration Block below.
    retryOnTimeout Boolean

    Deprecated: should be used inside a task block and not inside a job block

    runAs Property Map
    The user or the service principal the job runs as. See runAs Configuration Block below.
    runJobTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    schedule Property Map
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    sparkJarTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    sparkPythonTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    sparkSubmitTask Property Map

    Deprecated: should be used inside a task block and not inside a job block

    tags Map<String>
    An optional map of the tags associated with the job. See tags Configuration Map
    tasks List<Property Map>
    A list of task specification that the job will execute. See task Configuration Block below.
    timeoutSeconds Number
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    trigger Property Map
    The conditions that triggers the job to start. See trigger Configuration Block below.
    triggers List<Property Map>
    url String
    URL of the job on the given workspace
    usagePolicyId String
    webhookNotifications Property Map
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this job begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.

    Supporting Types

    JobContinuous, JobContinuousArgs

    MaintenanceWindow JobContinuousMaintenanceWindow
    PauseStatus string
    Indicate whether this continuous job is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted in the block, the server will default to using UNPAUSED as a value for pauseStatus.
    TaskRetryMode string
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.
    MaintenanceWindow JobContinuousMaintenanceWindow
    PauseStatus string
    Indicate whether this continuous job is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted in the block, the server will default to using UNPAUSED as a value for pauseStatus.
    TaskRetryMode string
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.
    maintenance_window object
    pause_status string
    Indicate whether this continuous job is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted in the block, the server will default to using UNPAUSED as a value for pauseStatus.
    task_retry_mode string
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.
    maintenanceWindow JobContinuousMaintenanceWindow
    pauseStatus String
    Indicate whether this continuous job is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted in the block, the server will default to using UNPAUSED as a value for pauseStatus.
    taskRetryMode String
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.
    maintenanceWindow JobContinuousMaintenanceWindow
    pauseStatus string
    Indicate whether this continuous job is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted in the block, the server will default to using UNPAUSED as a value for pauseStatus.
    taskRetryMode string
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.
    maintenance_window JobContinuousMaintenanceWindow
    pause_status str
    Indicate whether this continuous job is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted in the block, the server will default to using UNPAUSED as a value for pauseStatus.
    task_retry_mode str
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.
    maintenanceWindow Property Map
    pauseStatus String
    Indicate whether this continuous job is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted in the block, the server will default to using UNPAUSED as a value for pauseStatus.
    taskRetryMode String
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.

    JobContinuousMaintenanceWindow, JobContinuousMaintenanceWindowArgs

    DayOfWeek string
    StartHour int
    TimezoneId string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    DayOfWeek string
    StartHour int
    TimezoneId string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    day_of_week string
    start_hour number
    timezone_id string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    dayOfWeek String
    startHour Integer
    timezoneId String
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    dayOfWeek string
    startHour number
    timezoneId string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    day_of_week str
    start_hour int
    timezone_id str
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    dayOfWeek String
    startHour Number
    timezoneId String
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.

    JobDbtTask, JobDbtTaskArgs

    Commands List<string>
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    Catalog string
    The name of the catalog to use inside Unity Catalog.
    ProfilesDirectory string
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    ProjectDirectory string
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    Schema string
    The name of the schema dbt should run in. Defaults to default.
    Source string
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    WarehouseId string

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    Commands []string
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    Catalog string
    The name of the catalog to use inside Unity Catalog.
    ProfilesDirectory string
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    ProjectDirectory string
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    Schema string
    The name of the schema dbt should run in. Defaults to default.
    Source string
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    WarehouseId string

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands list(string)
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog string
    The name of the catalog to use inside Unity Catalog.
    profiles_directory string
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    project_directory string
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema string
    The name of the schema dbt should run in. Defaults to default.
    source string
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouse_id string

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands List<String>
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog String
    The name of the catalog to use inside Unity Catalog.
    profilesDirectory String
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    projectDirectory String
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema String
    The name of the schema dbt should run in. Defaults to default.
    source String
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouseId String

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands string[]
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog string
    The name of the catalog to use inside Unity Catalog.
    profilesDirectory string
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    projectDirectory string
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema string
    The name of the schema dbt should run in. Defaults to default.
    source string
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouseId string

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands Sequence[str]
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog str
    The name of the catalog to use inside Unity Catalog.
    profiles_directory str
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    project_directory str
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema str
    The name of the schema dbt should run in. Defaults to default.
    source str
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouse_id str

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands List<String>
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog String
    The name of the catalog to use inside Unity Catalog.
    profilesDirectory String
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    projectDirectory String
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema String
    The name of the schema dbt should run in. Defaults to default.
    source String
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouseId String

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    JobDeployment, JobDeploymentArgs

    Kind string
    DeploymentId string
    MetadataFilePath string
    VersionId string
    Kind string
    DeploymentId string
    MetadataFilePath string
    VersionId string
    kind String
    deploymentId String
    metadataFilePath String
    versionId String
    kind string
    deploymentId string
    metadataFilePath string
    versionId string
    kind String
    deploymentId String
    metadataFilePath String
    versionId String

    JobEmailNotifications, JobEmailNotificationsArgs

    NoAlertForSkippedRuns bool
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    OnDurationWarningThresholdExceededs List<string>
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    OnFailures List<string>
    (List) list of emails to notify when the run fails.
    OnStarts List<string>
    (List) list of emails to notify when the run starts.
    OnStreamingBacklogExceededs List<string>

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    OnSuccesses List<string>
    (List) list of emails to notify when the run completes successfully.
    NoAlertForSkippedRuns bool
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    OnDurationWarningThresholdExceededs []string
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    OnFailures []string
    (List) list of emails to notify when the run fails.
    OnStarts []string
    (List) list of emails to notify when the run starts.
    OnStreamingBacklogExceededs []string

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    OnSuccesses []string
    (List) list of emails to notify when the run completes successfully.
    no_alert_for_skipped_runs bool
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    on_duration_warning_threshold_exceededs list(string)
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    on_failures list(string)
    (List) list of emails to notify when the run fails.
    on_starts list(string)
    (List) list of emails to notify when the run starts.
    on_streaming_backlog_exceededs list(string)

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    on_successes list(string)
    (List) list of emails to notify when the run completes successfully.
    noAlertForSkippedRuns Boolean
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    onDurationWarningThresholdExceededs List<String>
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures List<String>
    (List) list of emails to notify when the run fails.
    onStarts List<String>
    (List) list of emails to notify when the run starts.
    onStreamingBacklogExceededs List<String>

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    onSuccesses List<String>
    (List) list of emails to notify when the run completes successfully.
    noAlertForSkippedRuns boolean
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    onDurationWarningThresholdExceededs string[]
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures string[]
    (List) list of emails to notify when the run fails.
    onStarts string[]
    (List) list of emails to notify when the run starts.
    onStreamingBacklogExceededs string[]

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    onSuccesses string[]
    (List) list of emails to notify when the run completes successfully.
    no_alert_for_skipped_runs bool
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    on_duration_warning_threshold_exceededs Sequence[str]
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    on_failures Sequence[str]
    (List) list of emails to notify when the run fails.
    on_starts Sequence[str]
    (List) list of emails to notify when the run starts.
    on_streaming_backlog_exceededs Sequence[str]

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    on_successes Sequence[str]
    (List) list of emails to notify when the run completes successfully.
    noAlertForSkippedRuns Boolean
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    onDurationWarningThresholdExceededs List<String>
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures List<String>
    (List) list of emails to notify when the run fails.
    onStarts List<String>
    (List) list of emails to notify when the run starts.
    onStreamingBacklogExceededs List<String>

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    onSuccesses List<String>
    (List) list of emails to notify when the run completes successfully.

    JobEnvironment, JobEnvironmentArgs

    EnvironmentKey string
    an unique identifier of the Environment. It will be referenced from environmentKey attribute of corresponding task.
    Spec JobEnvironmentSpec
    block describing the Environment. Consists of following attributes:
    EnvironmentKey string
    an unique identifier of the Environment. It will be referenced from environmentKey attribute of corresponding task.
    Spec JobEnvironmentSpec
    block describing the Environment. Consists of following attributes:
    environment_key string
    an unique identifier of the Environment. It will be referenced from environmentKey attribute of corresponding task.
    spec object
    block describing the Environment. Consists of following attributes:
    environmentKey String
    an unique identifier of the Environment. It will be referenced from environmentKey attribute of corresponding task.
    spec JobEnvironmentSpec
    block describing the Environment. Consists of following attributes:
    environmentKey string
    an unique identifier of the Environment. It will be referenced from environmentKey attribute of corresponding task.
    spec JobEnvironmentSpec
    block describing the Environment. Consists of following attributes:
    environment_key str
    an unique identifier of the Environment. It will be referenced from environmentKey attribute of corresponding task.
    spec JobEnvironmentSpec
    block describing the Environment. Consists of following attributes:
    environmentKey String
    an unique identifier of the Environment. It will be referenced from environmentKey attribute of corresponding task.
    spec Property Map
    block describing the Environment. Consists of following attributes:

    JobEnvironmentSpec, JobEnvironmentSpecArgs

    BaseEnvironment string
    Client string
    Dependencies List<string>
    List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See API docs for more information.
    EnvironmentVersion string
    client version used by the environment. Each version comes with a specific Python version and a set of Python packages.
    JavaDependencies List<string>
    BaseEnvironment string
    Client string
    Dependencies []string
    List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See API docs for more information.
    EnvironmentVersion string
    client version used by the environment. Each version comes with a specific Python version and a set of Python packages.
    JavaDependencies []string
    base_environment string
    client string
    dependencies list(string)
    List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See API docs for more information.
    environment_version string
    client version used by the environment. Each version comes with a specific Python version and a set of Python packages.
    java_dependencies list(string)
    baseEnvironment String
    client String
    dependencies List<String>
    List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See API docs for more information.
    environmentVersion String
    client version used by the environment. Each version comes with a specific Python version and a set of Python packages.
    javaDependencies List<String>
    baseEnvironment string
    client string
    dependencies string[]
    List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See API docs for more information.
    environmentVersion string
    client version used by the environment. Each version comes with a specific Python version and a set of Python packages.
    javaDependencies string[]
    base_environment str
    client str
    dependencies Sequence[str]
    List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See API docs for more information.
    environment_version str
    client version used by the environment. Each version comes with a specific Python version and a set of Python packages.
    java_dependencies Sequence[str]
    baseEnvironment String
    client String
    dependencies List<String>
    List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See API docs for more information.
    environmentVersion String
    client version used by the environment. Each version comes with a specific Python version and a set of Python packages.
    javaDependencies List<String>

    JobGitSource, JobGitSourceArgs

    Url string
    URL of the Git repository to use.
    Branch string
    name of the Git branch to use. Conflicts with tag and commit.
    Commit string
    hash of Git commit to use. Conflicts with branch and tag.
    GitSnapshot JobGitSourceGitSnapshot
    JobSource JobGitSourceJobSource
    Provider string
    case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult Repos API documentation): gitHub, gitHubEnterprise, bitbucketCloud, bitbucketServer, azureDevOpsServices, gitLab, gitLabEnterpriseEdition.
    SparseCheckout JobGitSourceSparseCheckout
    Tag string
    name of the Git branch to use. Conflicts with branch and commit.
    Url string
    URL of the Git repository to use.
    Branch string
    name of the Git branch to use. Conflicts with tag and commit.
    Commit string
    hash of Git commit to use. Conflicts with branch and tag.
    GitSnapshot JobGitSourceGitSnapshot
    JobSource JobGitSourceJobSource
    Provider string
    case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult Repos API documentation): gitHub, gitHubEnterprise, bitbucketCloud, bitbucketServer, azureDevOpsServices, gitLab, gitLabEnterpriseEdition.
    SparseCheckout JobGitSourceSparseCheckout
    Tag string
    name of the Git branch to use. Conflicts with branch and commit.
    url string
    URL of the Git repository to use.
    branch string
    name of the Git branch to use. Conflicts with tag and commit.
    commit string
    hash of Git commit to use. Conflicts with branch and tag.
    git_snapshot object
    job_source object
    provider string
    case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult Repos API documentation): gitHub, gitHubEnterprise, bitbucketCloud, bitbucketServer, azureDevOpsServices, gitLab, gitLabEnterpriseEdition.
    sparse_checkout object
    tag string
    name of the Git branch to use. Conflicts with branch and commit.
    url String
    URL of the Git repository to use.
    branch String
    name of the Git branch to use. Conflicts with tag and commit.
    commit String
    hash of Git commit to use. Conflicts with branch and tag.
    gitSnapshot JobGitSourceGitSnapshot
    jobSource JobGitSourceJobSource
    provider String
    case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult Repos API documentation): gitHub, gitHubEnterprise, bitbucketCloud, bitbucketServer, azureDevOpsServices, gitLab, gitLabEnterpriseEdition.
    sparseCheckout JobGitSourceSparseCheckout
    tag String
    name of the Git branch to use. Conflicts with branch and commit.
    url string
    URL of the Git repository to use.
    branch string
    name of the Git branch to use. Conflicts with tag and commit.
    commit string
    hash of Git commit to use. Conflicts with branch and tag.
    gitSnapshot JobGitSourceGitSnapshot
    jobSource JobGitSourceJobSource
    provider string
    case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult Repos API documentation): gitHub, gitHubEnterprise, bitbucketCloud, bitbucketServer, azureDevOpsServices, gitLab, gitLabEnterpriseEdition.
    sparseCheckout JobGitSourceSparseCheckout
    tag string
    name of the Git branch to use. Conflicts with branch and commit.
    url str
    URL of the Git repository to use.
    branch str
    name of the Git branch to use. Conflicts with tag and commit.
    commit str
    hash of Git commit to use. Conflicts with branch and tag.
    git_snapshot JobGitSourceGitSnapshot
    job_source JobGitSourceJobSource
    provider str
    case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult Repos API documentation): gitHub, gitHubEnterprise, bitbucketCloud, bitbucketServer, azureDevOpsServices, gitLab, gitLabEnterpriseEdition.
    sparse_checkout JobGitSourceSparseCheckout
    tag str
    name of the Git branch to use. Conflicts with branch and commit.
    url String
    URL of the Git repository to use.
    branch String
    name of the Git branch to use. Conflicts with tag and commit.
    commit String
    hash of Git commit to use. Conflicts with branch and tag.
    gitSnapshot Property Map
    jobSource Property Map
    provider String
    case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult Repos API documentation): gitHub, gitHubEnterprise, bitbucketCloud, bitbucketServer, azureDevOpsServices, gitLab, gitLabEnterpriseEdition.
    sparseCheckout Property Map
    tag String
    name of the Git branch to use. Conflicts with branch and commit.

    JobGitSourceGitSnapshot, JobGitSourceGitSnapshotArgs

    UsedCommit string
    UsedCommit string
    usedCommit String
    usedCommit string
    usedCommit String

    JobGitSourceJobSource, JobGitSourceJobSourceArgs

    JobGitSourceSparseCheckout, JobGitSourceSparseCheckoutArgs

    Patterns List<string>
    Patterns []string
    patterns list(string)
    patterns List<String>
    patterns string[]
    patterns Sequence[str]
    patterns List<String>

    JobHealth, JobHealthArgs

    Rules List<JobHealthRule>
    list of rules that are represented as objects with the following attributes:
    Rules []JobHealthRule
    list of rules that are represented as objects with the following attributes:
    rules list(object)
    list of rules that are represented as objects with the following attributes:
    rules List<JobHealthRule>
    list of rules that are represented as objects with the following attributes:
    rules JobHealthRule[]
    list of rules that are represented as objects with the following attributes:
    rules Sequence[JobHealthRule]
    list of rules that are represented as objects with the following attributes:
    rules List<Property Map>
    list of rules that are represented as objects with the following attributes:

    JobHealthRule, JobHealthRuleArgs

    Metric string
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    Op string
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    Value int
    integer value used to compare to the given metric.
    Metric string
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    Op string
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    Value int
    integer value used to compare to the given metric.
    metric string
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op string
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value number
    integer value used to compare to the given metric.
    metric String
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op String
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value Integer
    integer value used to compare to the given metric.
    metric string
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op string
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value number
    integer value used to compare to the given metric.
    metric str
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op str
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value int
    integer value used to compare to the given metric.
    metric String
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op String
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value Number
    integer value used to compare to the given metric.

    JobJobCluster, JobJobClusterArgs

    JobClusterKey string
    Identifier that can be referenced in task block, so that cluster is shared between tasks
    NewCluster JobJobClusterNewCluster
    Block with almost the same set of parameters as for databricks.Cluster resource, except following (check the REST API documentation for full list of supported parameters):
    ServerlessComputeId string
    JobClusterKey string
    Identifier that can be referenced in task block, so that cluster is shared between tasks
    NewCluster JobJobClusterNewCluster
    Block with almost the same set of parameters as for databricks.Cluster resource, except following (check the REST API documentation for full list of supported parameters):
    ServerlessComputeId string
    job_cluster_key string
    Identifier that can be referenced in task block, so that cluster is shared between tasks
    new_cluster object
    Block with almost the same set of parameters as for databricks.Cluster resource, except following (check the REST API documentation for full list of supported parameters):
    serverless_compute_id string
    jobClusterKey String
    Identifier that can be referenced in task block, so that cluster is shared between tasks
    newCluster JobJobClusterNewCluster
    Block with almost the same set of parameters as for databricks.Cluster resource, except following (check the REST API documentation for full list of supported parameters):
    serverlessComputeId String
    jobClusterKey string
    Identifier that can be referenced in task block, so that cluster is shared between tasks
    newCluster JobJobClusterNewCluster
    Block with almost the same set of parameters as for databricks.Cluster resource, except following (check the REST API documentation for full list of supported parameters):
    serverlessComputeId string
    job_cluster_key str
    Identifier that can be referenced in task block, so that cluster is shared between tasks
    new_cluster JobJobClusterNewCluster
    Block with almost the same set of parameters as for databricks.Cluster resource, except following (check the REST API documentation for full list of supported parameters):
    serverless_compute_id str
    jobClusterKey String
    Identifier that can be referenced in task block, so that cluster is shared between tasks
    newCluster Property Map
    Block with almost the same set of parameters as for databricks.Cluster resource, except following (check the REST API documentation for full list of supported parameters):
    serverlessComputeId String

    JobJobClusterNewCluster, JobJobClusterNewClusterArgs

    ApplyPolicyDefaultValues bool
    Autoscale JobJobClusterNewClusterAutoscale
    AwsAttributes JobJobClusterNewClusterAwsAttributes
    AzureAttributes JobJobClusterNewClusterAzureAttributes
    ClusterId string
    ClusterLogConf JobJobClusterNewClusterClusterLogConf
    ClusterMountInfos List<JobJobClusterNewClusterClusterMountInfo>
    ClusterName string
    CustomTags Dictionary<string, string>
    DataSecurityMode string
    DependencyMode string
    DockerImage JobJobClusterNewClusterDockerImage
    DriverInstancePoolId string
    DriverNodeTypeFlexibility JobJobClusterNewClusterDriverNodeTypeFlexibility
    DriverNodeTypeId string
    EnableElasticDisk bool
    EnableLocalDiskEncryption bool
    GcpAttributes JobJobClusterNewClusterGcpAttributes
    IdempotencyToken string
    InitScripts List<JobJobClusterNewClusterInitScript>
    InstancePoolId string
    IsSingleNode bool
    Kind string
    Libraries List<JobJobClusterNewClusterLibrary>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    NodeTypeId string
    NumWorkers int
    PolicyId string
    ProviderConfig JobJobClusterNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    RemoteDiskThroughput int
    RuntimeEngine string
    SingleUserName string
    SparkConf Dictionary<string, string>
    SparkEnvVars Dictionary<string, string>
    SparkVersion string
    SshPublicKeys List<string>
    TotalInitialRemoteDiskSize int
    UseMlRuntime bool
    WorkerNodeTypeFlexibility JobJobClusterNewClusterWorkerNodeTypeFlexibility
    WorkloadType JobJobClusterNewClusterWorkloadType
    isn't supported
    ApplyPolicyDefaultValues bool
    Autoscale JobJobClusterNewClusterAutoscale
    AwsAttributes JobJobClusterNewClusterAwsAttributes
    AzureAttributes JobJobClusterNewClusterAzureAttributes
    ClusterId string
    ClusterLogConf JobJobClusterNewClusterClusterLogConf
    ClusterMountInfos []JobJobClusterNewClusterClusterMountInfo
    ClusterName string
    CustomTags map[string]string
    DataSecurityMode string
    DependencyMode string
    DockerImage JobJobClusterNewClusterDockerImage
    DriverInstancePoolId string
    DriverNodeTypeFlexibility JobJobClusterNewClusterDriverNodeTypeFlexibility
    DriverNodeTypeId string
    EnableElasticDisk bool
    EnableLocalDiskEncryption bool
    GcpAttributes JobJobClusterNewClusterGcpAttributes
    IdempotencyToken string
    InitScripts []JobJobClusterNewClusterInitScript
    InstancePoolId string
    IsSingleNode bool
    Kind string
    Libraries []JobJobClusterNewClusterLibrary
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    NodeTypeId string
    NumWorkers int
    PolicyId string
    ProviderConfig JobJobClusterNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    RemoteDiskThroughput int
    RuntimeEngine string
    SingleUserName string
    SparkConf map[string]string
    SparkEnvVars map[string]string
    SparkVersion string
    SshPublicKeys []string
    TotalInitialRemoteDiskSize int
    UseMlRuntime bool
    WorkerNodeTypeFlexibility JobJobClusterNewClusterWorkerNodeTypeFlexibility
    WorkloadType JobJobClusterNewClusterWorkloadType
    isn't supported
    apply_policy_default_values bool
    autoscale object
    aws_attributes object
    azure_attributes object
    cluster_id string
    cluster_log_conf object
    cluster_mount_infos list(object)
    cluster_name string
    custom_tags map(string)
    data_security_mode string
    dependency_mode string
    docker_image object
    driver_instance_pool_id string
    driver_node_type_flexibility object
    driver_node_type_id string
    enable_elastic_disk bool
    enable_local_disk_encryption bool
    gcp_attributes object
    idempotency_token string
    init_scripts list(object)
    instance_pool_id string
    is_single_node bool
    kind string
    libraries list(object)
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    node_type_id string
    num_workers number
    policy_id string
    provider_config object
    Configure the provider for management through account provider. This block consists of the following fields:
    remote_disk_throughput number
    runtime_engine string
    single_user_name string
    spark_conf map(string)
    spark_env_vars map(string)
    spark_version string
    ssh_public_keys list(string)
    total_initial_remote_disk_size number
    use_ml_runtime bool
    worker_node_type_flexibility object
    workload_type object
    isn't supported
    applyPolicyDefaultValues Boolean
    autoscale JobJobClusterNewClusterAutoscale
    awsAttributes JobJobClusterNewClusterAwsAttributes
    azureAttributes JobJobClusterNewClusterAzureAttributes
    clusterId String
    clusterLogConf JobJobClusterNewClusterClusterLogConf
    clusterMountInfos List<JobJobClusterNewClusterClusterMountInfo>
    clusterName String
    customTags Map<String,String>
    dataSecurityMode String
    dependencyMode String
    dockerImage JobJobClusterNewClusterDockerImage
    driverInstancePoolId String
    driverNodeTypeFlexibility JobJobClusterNewClusterDriverNodeTypeFlexibility
    driverNodeTypeId String
    enableElasticDisk Boolean
    enableLocalDiskEncryption Boolean
    gcpAttributes JobJobClusterNewClusterGcpAttributes
    idempotencyToken String
    initScripts List<JobJobClusterNewClusterInitScript>
    instancePoolId String
    isSingleNode Boolean
    kind String
    libraries List<JobJobClusterNewClusterLibrary>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    nodeTypeId String
    numWorkers Integer
    policyId String
    providerConfig JobJobClusterNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    remoteDiskThroughput Integer
    runtimeEngine String
    singleUserName String
    sparkConf Map<String,String>
    sparkEnvVars Map<String,String>
    sparkVersion String
    sshPublicKeys List<String>
    totalInitialRemoteDiskSize Integer
    useMlRuntime Boolean
    workerNodeTypeFlexibility JobJobClusterNewClusterWorkerNodeTypeFlexibility
    workloadType JobJobClusterNewClusterWorkloadType
    isn't supported
    applyPolicyDefaultValues boolean
    autoscale JobJobClusterNewClusterAutoscale
    awsAttributes JobJobClusterNewClusterAwsAttributes
    azureAttributes JobJobClusterNewClusterAzureAttributes
    clusterId string
    clusterLogConf JobJobClusterNewClusterClusterLogConf
    clusterMountInfos JobJobClusterNewClusterClusterMountInfo[]
    clusterName string
    customTags {[key: string]: string}
    dataSecurityMode string
    dependencyMode string
    dockerImage JobJobClusterNewClusterDockerImage
    driverInstancePoolId string
    driverNodeTypeFlexibility JobJobClusterNewClusterDriverNodeTypeFlexibility
    driverNodeTypeId string
    enableElasticDisk boolean
    enableLocalDiskEncryption boolean
    gcpAttributes JobJobClusterNewClusterGcpAttributes
    idempotencyToken string
    initScripts JobJobClusterNewClusterInitScript[]
    instancePoolId string
    isSingleNode boolean
    kind string
    libraries JobJobClusterNewClusterLibrary[]
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    nodeTypeId string
    numWorkers number
    policyId string
    providerConfig JobJobClusterNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    remoteDiskThroughput number
    runtimeEngine string
    singleUserName string
    sparkConf {[key: string]: string}
    sparkEnvVars {[key: string]: string}
    sparkVersion string
    sshPublicKeys string[]
    totalInitialRemoteDiskSize number
    useMlRuntime boolean
    workerNodeTypeFlexibility JobJobClusterNewClusterWorkerNodeTypeFlexibility
    workloadType JobJobClusterNewClusterWorkloadType
    isn't supported
    apply_policy_default_values bool
    autoscale JobJobClusterNewClusterAutoscale
    aws_attributes JobJobClusterNewClusterAwsAttributes
    azure_attributes JobJobClusterNewClusterAzureAttributes
    cluster_id str
    cluster_log_conf JobJobClusterNewClusterClusterLogConf
    cluster_mount_infos Sequence[JobJobClusterNewClusterClusterMountInfo]
    cluster_name str
    custom_tags Mapping[str, str]
    data_security_mode str
    dependency_mode str
    docker_image JobJobClusterNewClusterDockerImage
    driver_instance_pool_id str
    driver_node_type_flexibility JobJobClusterNewClusterDriverNodeTypeFlexibility
    driver_node_type_id str
    enable_elastic_disk bool
    enable_local_disk_encryption bool
    gcp_attributes JobJobClusterNewClusterGcpAttributes
    idempotency_token str
    init_scripts Sequence[JobJobClusterNewClusterInitScript]
    instance_pool_id str
    is_single_node bool
    kind str
    libraries Sequence[JobJobClusterNewClusterLibrary]
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    node_type_id str
    num_workers int
    policy_id str
    provider_config JobJobClusterNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    remote_disk_throughput int
    runtime_engine str
    single_user_name str
    spark_conf Mapping[str, str]
    spark_env_vars Mapping[str, str]
    spark_version str
    ssh_public_keys Sequence[str]
    total_initial_remote_disk_size int
    use_ml_runtime bool
    worker_node_type_flexibility JobJobClusterNewClusterWorkerNodeTypeFlexibility
    workload_type JobJobClusterNewClusterWorkloadType
    isn't supported
    applyPolicyDefaultValues Boolean
    autoscale Property Map
    awsAttributes Property Map
    azureAttributes Property Map
    clusterId String
    clusterLogConf Property Map
    clusterMountInfos List<Property Map>
    clusterName String
    customTags Map<String>
    dataSecurityMode String
    dependencyMode String
    dockerImage Property Map
    driverInstancePoolId String
    driverNodeTypeFlexibility Property Map
    driverNodeTypeId String
    enableElasticDisk Boolean
    enableLocalDiskEncryption Boolean
    gcpAttributes Property Map
    idempotencyToken String
    initScripts List<Property Map>
    instancePoolId String
    isSingleNode Boolean
    kind String
    libraries List<Property Map>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    nodeTypeId String
    numWorkers Number
    policyId String
    providerConfig Property Map
    Configure the provider for management through account provider. This block consists of the following fields:
    remoteDiskThroughput Number
    runtimeEngine String
    singleUserName String
    sparkConf Map<String>
    sparkEnvVars Map<String>
    sparkVersion String
    sshPublicKeys List<String>
    totalInitialRemoteDiskSize Number
    useMlRuntime Boolean
    workerNodeTypeFlexibility Property Map
    workloadType Property Map
    isn't supported

    JobJobClusterNewClusterAutoscale, JobJobClusterNewClusterAutoscaleArgs

    maxWorkers Integer
    minWorkers Integer
    maxWorkers number
    minWorkers number
    maxWorkers Number
    minWorkers Number

    JobJobClusterNewClusterAwsAttributes, JobJobClusterNewClusterAwsAttributesArgs

    JobJobClusterNewClusterAzureAttributes, JobJobClusterNewClusterAzureAttributesArgs

    JobJobClusterNewClusterAzureAttributesLogAnalyticsInfo, JobJobClusterNewClusterAzureAttributesLogAnalyticsInfoArgs

    JobJobClusterNewClusterClusterLogConf, JobJobClusterNewClusterClusterLogConfArgs

    JobJobClusterNewClusterClusterLogConfDbfs, JobJobClusterNewClusterClusterLogConfDbfsArgs

    JobJobClusterNewClusterClusterLogConfS3, JobJobClusterNewClusterClusterLogConfS3Args

    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String
    destination string
    cannedAcl string
    enableEncryption boolean
    encryptionType string
    endpoint string
    kmsKey string
    region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String

    JobJobClusterNewClusterClusterLogConfVolumes, JobJobClusterNewClusterClusterLogConfVolumesArgs

    JobJobClusterNewClusterClusterMountInfo, JobJobClusterNewClusterClusterMountInfoArgs

    JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo, JobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfoArgs

    JobJobClusterNewClusterDockerImage, JobJobClusterNewClusterDockerImageArgs

    Url string
    URL of the job on the given workspace
    BasicAuth JobJobClusterNewClusterDockerImageBasicAuth
    Url string
    URL of the job on the given workspace
    BasicAuth JobJobClusterNewClusterDockerImageBasicAuth
    url string
    URL of the job on the given workspace
    basic_auth object
    url String
    URL of the job on the given workspace
    basicAuth JobJobClusterNewClusterDockerImageBasicAuth
    url string
    URL of the job on the given workspace
    basicAuth JobJobClusterNewClusterDockerImageBasicAuth
    url str
    URL of the job on the given workspace
    basic_auth JobJobClusterNewClusterDockerImageBasicAuth
    url String
    URL of the job on the given workspace
    basicAuth Property Map

    JobJobClusterNewClusterDockerImageBasicAuth, JobJobClusterNewClusterDockerImageBasicAuthArgs

    Password string
    Username string
    Password string
    Username string
    password string
    username string
    password String
    username String
    password string
    username string
    password String
    username String

    JobJobClusterNewClusterDriverNodeTypeFlexibility, JobJobClusterNewClusterDriverNodeTypeFlexibilityArgs

    JobJobClusterNewClusterGcpAttributes, JobJobClusterNewClusterGcpAttributesArgs

    JobJobClusterNewClusterInitScript, JobJobClusterNewClusterInitScriptArgs

    abfss object
    dbfs object

    Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.

    file object
    block consisting of single string fields:
    gcs object
    s3 object
    volumes object
    workspace object
    abfss Property Map
    dbfs Property Map

    Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.

    file Property Map
    block consisting of single string fields:
    gcs Property Map
    s3 Property Map
    volumes Property Map
    workspace Property Map

    JobJobClusterNewClusterInitScriptAbfss, JobJobClusterNewClusterInitScriptAbfssArgs

    JobJobClusterNewClusterInitScriptDbfs, JobJobClusterNewClusterInitScriptDbfsArgs

    JobJobClusterNewClusterInitScriptFile, JobJobClusterNewClusterInitScriptFileArgs

    JobJobClusterNewClusterInitScriptGcs, JobJobClusterNewClusterInitScriptGcsArgs

    JobJobClusterNewClusterInitScriptS3, JobJobClusterNewClusterInitScriptS3Args

    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String
    destination string
    cannedAcl string
    enableEncryption boolean
    encryptionType string
    endpoint string
    kmsKey string
    region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String

    JobJobClusterNewClusterInitScriptVolumes, JobJobClusterNewClusterInitScriptVolumesArgs

    JobJobClusterNewClusterInitScriptWorkspace, JobJobClusterNewClusterInitScriptWorkspaceArgs

    JobJobClusterNewClusterLibrary, JobJobClusterNewClusterLibraryArgs

    Cran JobJobClusterNewClusterLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobJobClusterNewClusterLibraryMaven
    ProviderConfig JobJobClusterNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobJobClusterNewClusterLibraryPypi
    Requirements string
    Whl string
    Cran JobJobClusterNewClusterLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobJobClusterNewClusterLibraryMaven
    ProviderConfig JobJobClusterNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobJobClusterNewClusterLibraryPypi
    Requirements string
    Whl string
    cran object
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven object
    provider_config object
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi object
    requirements string
    whl string
    cran JobJobClusterNewClusterLibraryCran
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven JobJobClusterNewClusterLibraryMaven
    providerConfig JobJobClusterNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobJobClusterNewClusterLibraryPypi
    requirements String
    whl String
    cran JobJobClusterNewClusterLibraryCran
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven JobJobClusterNewClusterLibraryMaven
    providerConfig JobJobClusterNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobJobClusterNewClusterLibraryPypi
    requirements string
    whl string
    cran JobJobClusterNewClusterLibraryCran
    egg str

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar str
    maven JobJobClusterNewClusterLibraryMaven
    provider_config JobJobClusterNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobJobClusterNewClusterLibraryPypi
    requirements str
    whl str
    cran Property Map
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven Property Map
    providerConfig Property Map
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi Property Map
    requirements String
    whl String

    JobJobClusterNewClusterLibraryCran, JobJobClusterNewClusterLibraryCranArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobJobClusterNewClusterLibraryMaven, JobJobClusterNewClusterLibraryMavenArgs

    Coordinates string
    Exclusions List<string>
    Repo string
    Coordinates string
    Exclusions []string
    Repo string
    coordinates string
    exclusions list(string)
    repo string
    coordinates String
    exclusions List<String>
    repo String
    coordinates string
    exclusions string[]
    repo string
    coordinates str
    exclusions Sequence[str]
    repo str
    coordinates String
    exclusions List<String>
    repo String

    JobJobClusterNewClusterLibraryProviderConfig, JobJobClusterNewClusterLibraryProviderConfigArgs

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    JobJobClusterNewClusterLibraryPypi, JobJobClusterNewClusterLibraryPypiArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobJobClusterNewClusterProviderConfig, JobJobClusterNewClusterProviderConfigArgs

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    JobJobClusterNewClusterWorkerNodeTypeFlexibility, JobJobClusterNewClusterWorkerNodeTypeFlexibilityArgs

    JobJobClusterNewClusterWorkloadType, JobJobClusterNewClusterWorkloadTypeArgs

    JobJobClusterNewClusterWorkloadTypeClients, JobJobClusterNewClusterWorkloadTypeClientsArgs

    Jobs bool
    Notebooks bool
    Jobs bool
    Notebooks bool
    jobs bool
    notebooks bool
    jobs Boolean
    notebooks Boolean
    jobs boolean
    notebooks boolean
    jobs bool
    notebooks bool
    jobs Boolean
    notebooks Boolean

    JobLibrary, JobLibraryArgs

    Cran JobLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobLibraryMaven
    ProviderConfig JobLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobLibraryPypi
    Requirements string
    Whl string
    Cran JobLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobLibraryMaven
    ProviderConfig JobLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobLibraryPypi
    Requirements string
    Whl string
    cran object
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven object
    provider_config object
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi object
    requirements string
    whl string
    cran JobLibraryCran
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven JobLibraryMaven
    providerConfig JobLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobLibraryPypi
    requirements String
    whl String
    cran JobLibraryCran
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven JobLibraryMaven
    providerConfig JobLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobLibraryPypi
    requirements string
    whl string
    cran JobLibraryCran
    egg str

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar str
    maven JobLibraryMaven
    provider_config JobLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobLibraryPypi
    requirements str
    whl str
    cran Property Map
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven Property Map
    providerConfig Property Map
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi Property Map
    requirements String
    whl String

    JobLibraryCran, JobLibraryCranArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobLibraryMaven, JobLibraryMavenArgs

    Coordinates string
    Exclusions List<string>
    Repo string
    Coordinates string
    Exclusions []string
    Repo string
    coordinates string
    exclusions list(string)
    repo string
    coordinates String
    exclusions List<String>
    repo String
    coordinates string
    exclusions string[]
    repo string
    coordinates str
    exclusions Sequence[str]
    repo str
    coordinates String
    exclusions List<String>
    repo String

    JobLibraryProviderConfig, JobLibraryProviderConfigArgs

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    JobLibraryPypi, JobLibraryPypiArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobNewCluster, JobNewClusterArgs

    ApplyPolicyDefaultValues bool
    Autoscale JobNewClusterAutoscale
    AwsAttributes JobNewClusterAwsAttributes
    AzureAttributes JobNewClusterAzureAttributes
    ClusterId string
    ClusterLogConf JobNewClusterClusterLogConf
    ClusterMountInfos List<JobNewClusterClusterMountInfo>
    ClusterName string
    CustomTags Dictionary<string, string>
    DataSecurityMode string
    DependencyMode string
    DockerImage JobNewClusterDockerImage
    DriverInstancePoolId string
    DriverNodeTypeFlexibility JobNewClusterDriverNodeTypeFlexibility
    DriverNodeTypeId string
    EnableElasticDisk bool
    EnableLocalDiskEncryption bool
    GcpAttributes JobNewClusterGcpAttributes
    IdempotencyToken string
    InitScripts List<JobNewClusterInitScript>
    InstancePoolId string
    IsSingleNode bool
    Kind string
    Libraries List<JobNewClusterLibrary>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    NodeTypeId string
    NumWorkers int
    PolicyId string
    ProviderConfig JobNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    RemoteDiskThroughput int
    RuntimeEngine string
    SingleUserName string
    SparkConf Dictionary<string, string>
    SparkEnvVars Dictionary<string, string>
    SparkVersion string
    SshPublicKeys List<string>
    TotalInitialRemoteDiskSize int
    UseMlRuntime bool
    WorkerNodeTypeFlexibility JobNewClusterWorkerNodeTypeFlexibility
    WorkloadType JobNewClusterWorkloadType
    isn't supported
    ApplyPolicyDefaultValues bool
    Autoscale JobNewClusterAutoscale
    AwsAttributes JobNewClusterAwsAttributes
    AzureAttributes JobNewClusterAzureAttributes
    ClusterId string
    ClusterLogConf JobNewClusterClusterLogConf
    ClusterMountInfos []JobNewClusterClusterMountInfo
    ClusterName string
    CustomTags map[string]string
    DataSecurityMode string
    DependencyMode string
    DockerImage JobNewClusterDockerImage
    DriverInstancePoolId string
    DriverNodeTypeFlexibility JobNewClusterDriverNodeTypeFlexibility
    DriverNodeTypeId string
    EnableElasticDisk bool
    EnableLocalDiskEncryption bool
    GcpAttributes JobNewClusterGcpAttributes
    IdempotencyToken string
    InitScripts []JobNewClusterInitScript
    InstancePoolId string
    IsSingleNode bool
    Kind string
    Libraries []JobNewClusterLibrary
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    NodeTypeId string
    NumWorkers int
    PolicyId string
    ProviderConfig JobNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    RemoteDiskThroughput int
    RuntimeEngine string
    SingleUserName string
    SparkConf map[string]string
    SparkEnvVars map[string]string
    SparkVersion string
    SshPublicKeys []string
    TotalInitialRemoteDiskSize int
    UseMlRuntime bool
    WorkerNodeTypeFlexibility JobNewClusterWorkerNodeTypeFlexibility
    WorkloadType JobNewClusterWorkloadType
    isn't supported
    apply_policy_default_values bool
    autoscale object
    aws_attributes object
    azure_attributes object
    cluster_id string
    cluster_log_conf object
    cluster_mount_infos list(object)
    cluster_name string
    custom_tags map(string)
    data_security_mode string
    dependency_mode string
    docker_image object
    driver_instance_pool_id string
    driver_node_type_flexibility object
    driver_node_type_id string
    enable_elastic_disk bool
    enable_local_disk_encryption bool
    gcp_attributes object
    idempotency_token string
    init_scripts list(object)
    instance_pool_id string
    is_single_node bool
    kind string
    libraries list(object)
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    node_type_id string
    num_workers number
    policy_id string
    provider_config object
    Configure the provider for management through account provider. This block consists of the following fields:
    remote_disk_throughput number
    runtime_engine string
    single_user_name string
    spark_conf map(string)
    spark_env_vars map(string)
    spark_version string
    ssh_public_keys list(string)
    total_initial_remote_disk_size number
    use_ml_runtime bool
    worker_node_type_flexibility object
    workload_type object
    isn't supported
    applyPolicyDefaultValues Boolean
    autoscale JobNewClusterAutoscale
    awsAttributes JobNewClusterAwsAttributes
    azureAttributes JobNewClusterAzureAttributes
    clusterId String
    clusterLogConf JobNewClusterClusterLogConf
    clusterMountInfos List<JobNewClusterClusterMountInfo>
    clusterName String
    customTags Map<String,String>
    dataSecurityMode String
    dependencyMode String
    dockerImage JobNewClusterDockerImage
    driverInstancePoolId String
    driverNodeTypeFlexibility JobNewClusterDriverNodeTypeFlexibility
    driverNodeTypeId String
    enableElasticDisk Boolean
    enableLocalDiskEncryption Boolean
    gcpAttributes JobNewClusterGcpAttributes
    idempotencyToken String
    initScripts List<JobNewClusterInitScript>
    instancePoolId String
    isSingleNode Boolean
    kind String
    libraries List<JobNewClusterLibrary>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    nodeTypeId String
    numWorkers Integer
    policyId String
    providerConfig JobNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    remoteDiskThroughput Integer
    runtimeEngine String
    singleUserName String
    sparkConf Map<String,String>
    sparkEnvVars Map<String,String>
    sparkVersion String
    sshPublicKeys List<String>
    totalInitialRemoteDiskSize Integer
    useMlRuntime Boolean
    workerNodeTypeFlexibility JobNewClusterWorkerNodeTypeFlexibility
    workloadType JobNewClusterWorkloadType
    isn't supported
    applyPolicyDefaultValues boolean
    autoscale JobNewClusterAutoscale
    awsAttributes JobNewClusterAwsAttributes
    azureAttributes JobNewClusterAzureAttributes
    clusterId string
    clusterLogConf JobNewClusterClusterLogConf
    clusterMountInfos JobNewClusterClusterMountInfo[]
    clusterName string
    customTags {[key: string]: string}
    dataSecurityMode string
    dependencyMode string
    dockerImage JobNewClusterDockerImage
    driverInstancePoolId string
    driverNodeTypeFlexibility JobNewClusterDriverNodeTypeFlexibility
    driverNodeTypeId string
    enableElasticDisk boolean
    enableLocalDiskEncryption boolean
    gcpAttributes JobNewClusterGcpAttributes
    idempotencyToken string
    initScripts JobNewClusterInitScript[]
    instancePoolId string
    isSingleNode boolean
    kind string
    libraries JobNewClusterLibrary[]
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    nodeTypeId string
    numWorkers number
    policyId string
    providerConfig JobNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    remoteDiskThroughput number
    runtimeEngine string
    singleUserName string
    sparkConf {[key: string]: string}
    sparkEnvVars {[key: string]: string}
    sparkVersion string
    sshPublicKeys string[]
    totalInitialRemoteDiskSize number
    useMlRuntime boolean
    workerNodeTypeFlexibility JobNewClusterWorkerNodeTypeFlexibility
    workloadType JobNewClusterWorkloadType
    isn't supported
    apply_policy_default_values bool
    autoscale JobNewClusterAutoscale
    aws_attributes JobNewClusterAwsAttributes
    azure_attributes JobNewClusterAzureAttributes
    cluster_id str
    cluster_log_conf JobNewClusterClusterLogConf
    cluster_mount_infos Sequence[JobNewClusterClusterMountInfo]
    cluster_name str
    custom_tags Mapping[str, str]
    data_security_mode str
    dependency_mode str
    docker_image JobNewClusterDockerImage
    driver_instance_pool_id str
    driver_node_type_flexibility JobNewClusterDriverNodeTypeFlexibility
    driver_node_type_id str
    enable_elastic_disk bool
    enable_local_disk_encryption bool
    gcp_attributes JobNewClusterGcpAttributes
    idempotency_token str
    init_scripts Sequence[JobNewClusterInitScript]
    instance_pool_id str
    is_single_node bool
    kind str
    libraries Sequence[JobNewClusterLibrary]
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    node_type_id str
    num_workers int
    policy_id str
    provider_config JobNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    remote_disk_throughput int
    runtime_engine str
    single_user_name str
    spark_conf Mapping[str, str]
    spark_env_vars Mapping[str, str]
    spark_version str
    ssh_public_keys Sequence[str]
    total_initial_remote_disk_size int
    use_ml_runtime bool
    worker_node_type_flexibility JobNewClusterWorkerNodeTypeFlexibility
    workload_type JobNewClusterWorkloadType
    isn't supported
    applyPolicyDefaultValues Boolean
    autoscale Property Map
    awsAttributes Property Map
    azureAttributes Property Map
    clusterId String
    clusterLogConf Property Map
    clusterMountInfos List<Property Map>
    clusterName String
    customTags Map<String>
    dataSecurityMode String
    dependencyMode String
    dockerImage Property Map
    driverInstancePoolId String
    driverNodeTypeFlexibility Property Map
    driverNodeTypeId String
    enableElasticDisk Boolean
    enableLocalDiskEncryption Boolean
    gcpAttributes Property Map
    idempotencyToken String
    initScripts List<Property Map>
    instancePoolId String
    isSingleNode Boolean
    kind String
    libraries List<Property Map>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    nodeTypeId String
    numWorkers Number
    policyId String
    providerConfig Property Map
    Configure the provider for management through account provider. This block consists of the following fields:
    remoteDiskThroughput Number
    runtimeEngine String
    singleUserName String
    sparkConf Map<String>
    sparkEnvVars Map<String>
    sparkVersion String
    sshPublicKeys List<String>
    totalInitialRemoteDiskSize Number
    useMlRuntime Boolean
    workerNodeTypeFlexibility Property Map
    workloadType Property Map
    isn't supported

    JobNewClusterAutoscale, JobNewClusterAutoscaleArgs

    maxWorkers Integer
    minWorkers Integer
    maxWorkers number
    minWorkers number
    maxWorkers Number
    minWorkers Number

    JobNewClusterAwsAttributes, JobNewClusterAwsAttributesArgs

    JobNewClusterAzureAttributes, JobNewClusterAzureAttributesArgs

    JobNewClusterAzureAttributesLogAnalyticsInfo, JobNewClusterAzureAttributesLogAnalyticsInfoArgs

    JobNewClusterClusterLogConf, JobNewClusterClusterLogConfArgs

    JobNewClusterClusterLogConfDbfs, JobNewClusterClusterLogConfDbfsArgs

    JobNewClusterClusterLogConfS3, JobNewClusterClusterLogConfS3Args

    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String
    destination string
    cannedAcl string
    enableEncryption boolean
    encryptionType string
    endpoint string
    kmsKey string
    region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String

    JobNewClusterClusterLogConfVolumes, JobNewClusterClusterLogConfVolumesArgs

    JobNewClusterClusterMountInfo, JobNewClusterClusterMountInfoArgs

    JobNewClusterClusterMountInfoNetworkFilesystemInfo, JobNewClusterClusterMountInfoNetworkFilesystemInfoArgs

    JobNewClusterDockerImage, JobNewClusterDockerImageArgs

    Url string
    URL of the job on the given workspace
    BasicAuth JobNewClusterDockerImageBasicAuth
    Url string
    URL of the job on the given workspace
    BasicAuth JobNewClusterDockerImageBasicAuth
    url string
    URL of the job on the given workspace
    basic_auth object
    url String
    URL of the job on the given workspace
    basicAuth JobNewClusterDockerImageBasicAuth
    url string
    URL of the job on the given workspace
    basicAuth JobNewClusterDockerImageBasicAuth
    url str
    URL of the job on the given workspace
    basic_auth JobNewClusterDockerImageBasicAuth
    url String
    URL of the job on the given workspace
    basicAuth Property Map

    JobNewClusterDockerImageBasicAuth, JobNewClusterDockerImageBasicAuthArgs

    Password string
    Username string
    Password string
    Username string
    password string
    username string
    password String
    username String
    password string
    username string
    password String
    username String

    JobNewClusterDriverNodeTypeFlexibility, JobNewClusterDriverNodeTypeFlexibilityArgs

    JobNewClusterGcpAttributes, JobNewClusterGcpAttributesArgs

    JobNewClusterInitScript, JobNewClusterInitScriptArgs

    abfss object
    dbfs object

    Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.

    file object
    block consisting of single string fields:
    gcs object
    s3 object
    volumes object
    workspace object
    abfss Property Map
    dbfs Property Map

    Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.

    file Property Map
    block consisting of single string fields:
    gcs Property Map
    s3 Property Map
    volumes Property Map
    workspace Property Map

    JobNewClusterInitScriptAbfss, JobNewClusterInitScriptAbfssArgs

    JobNewClusterInitScriptDbfs, JobNewClusterInitScriptDbfsArgs

    JobNewClusterInitScriptFile, JobNewClusterInitScriptFileArgs

    JobNewClusterInitScriptGcs, JobNewClusterInitScriptGcsArgs

    JobNewClusterInitScriptS3, JobNewClusterInitScriptS3Args

    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String
    destination string
    cannedAcl string
    enableEncryption boolean
    encryptionType string
    endpoint string
    kmsKey string
    region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String

    JobNewClusterInitScriptVolumes, JobNewClusterInitScriptVolumesArgs

    JobNewClusterInitScriptWorkspace, JobNewClusterInitScriptWorkspaceArgs

    JobNewClusterLibrary, JobNewClusterLibraryArgs

    Cran JobNewClusterLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobNewClusterLibraryMaven
    ProviderConfig JobNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobNewClusterLibraryPypi
    Requirements string
    Whl string
    Cran JobNewClusterLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobNewClusterLibraryMaven
    ProviderConfig JobNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobNewClusterLibraryPypi
    Requirements string
    Whl string
    cran object
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven object
    provider_config object
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi object
    requirements string
    whl string
    cran JobNewClusterLibraryCran
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven JobNewClusterLibraryMaven
    providerConfig JobNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobNewClusterLibraryPypi
    requirements String
    whl String
    cran JobNewClusterLibraryCran
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven JobNewClusterLibraryMaven
    providerConfig JobNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobNewClusterLibraryPypi
    requirements string
    whl string
    cran JobNewClusterLibraryCran
    egg str

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar str
    maven JobNewClusterLibraryMaven
    provider_config JobNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobNewClusterLibraryPypi
    requirements str
    whl str
    cran Property Map
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven Property Map
    providerConfig Property Map
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi Property Map
    requirements String
    whl String

    JobNewClusterLibraryCran, JobNewClusterLibraryCranArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobNewClusterLibraryMaven, JobNewClusterLibraryMavenArgs

    Coordinates string
    Exclusions List<string>
    Repo string
    Coordinates string
    Exclusions []string
    Repo string
    coordinates string
    exclusions list(string)
    repo string
    coordinates String
    exclusions List<String>
    repo String
    coordinates string
    exclusions string[]
    repo string
    coordinates str
    exclusions Sequence[str]
    repo str
    coordinates String
    exclusions List<String>
    repo String

    JobNewClusterLibraryProviderConfig, JobNewClusterLibraryProviderConfigArgs

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    JobNewClusterLibraryPypi, JobNewClusterLibraryPypiArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobNewClusterProviderConfig, JobNewClusterProviderConfigArgs

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    JobNewClusterWorkerNodeTypeFlexibility, JobNewClusterWorkerNodeTypeFlexibilityArgs

    JobNewClusterWorkloadType, JobNewClusterWorkloadTypeArgs

    JobNewClusterWorkloadTypeClients, JobNewClusterWorkloadTypeClientsArgs

    Jobs bool
    Notebooks bool
    Jobs bool
    Notebooks bool
    jobs bool
    notebooks bool
    jobs Boolean
    notebooks Boolean
    jobs boolean
    notebooks boolean
    jobs bool
    notebooks bool
    jobs Boolean
    notebooks Boolean

    JobNotebookTask, JobNotebookTaskArgs

    NotebookPath string
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    BaseParameters Dictionary<string, string>
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    Source string
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    WarehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    NotebookPath string
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    BaseParameters map[string]string
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    Source string
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    WarehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebook_path string
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    base_parameters map(string)
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source string
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouse_id string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebookPath String
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    baseParameters Map<String,String>
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source String
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouseId String
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebookPath string
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    baseParameters {[key: string]: string}
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source string
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebook_path str
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    base_parameters Mapping[str, str]
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source str
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouse_id str
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebookPath String
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    baseParameters Map<String>
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source String
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouseId String
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.

    JobNotificationSettings, JobNotificationSettingsArgs

    NoAlertForCanceledRuns bool

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    NoAlertForSkippedRuns bool
    (Bool) don't send alert for skipped runs.
    NoAlertForCanceledRuns bool

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    NoAlertForSkippedRuns bool
    (Bool) don't send alert for skipped runs.
    no_alert_for_canceled_runs bool

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    no_alert_for_skipped_runs bool
    (Bool) don't send alert for skipped runs.
    noAlertForCanceledRuns Boolean

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    noAlertForSkippedRuns Boolean
    (Bool) don't send alert for skipped runs.
    noAlertForCanceledRuns boolean

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    noAlertForSkippedRuns boolean
    (Bool) don't send alert for skipped runs.
    no_alert_for_canceled_runs bool

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    no_alert_for_skipped_runs bool
    (Bool) don't send alert for skipped runs.
    noAlertForCanceledRuns Boolean

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    noAlertForSkippedRuns Boolean
    (Bool) don't send alert for skipped runs.

    JobParameter, JobParameterArgs

    Default string

    Default value of the parameter.

    You can use this block only together with task blocks, not with the legacy tasks specification!

    Name string
    The name of the defined parameter. May only contain alphanumeric characters, _, -, and ..
    Default string

    Default value of the parameter.

    You can use this block only together with task blocks, not with the legacy tasks specification!

    Name string
    The name of the defined parameter. May only contain alphanumeric characters, _, -, and ..
    default string

    Default value of the parameter.

    You can use this block only together with task blocks, not with the legacy tasks specification!

    name string
    The name of the defined parameter. May only contain alphanumeric characters, _, -, and ..
    default_ String

    Default value of the parameter.

    You can use this block only together with task blocks, not with the legacy tasks specification!

    name String
    The name of the defined parameter. May only contain alphanumeric characters, _, -, and ..
    default string

    Default value of the parameter.

    You can use this block only together with task blocks, not with the legacy tasks specification!

    name string
    The name of the defined parameter. May only contain alphanumeric characters, _, -, and ..
    default str

    Default value of the parameter.

    You can use this block only together with task blocks, not with the legacy tasks specification!

    name str
    The name of the defined parameter. May only contain alphanumeric characters, _, -, and ..
    default String

    Default value of the parameter.

    You can use this block only together with task blocks, not with the legacy tasks specification!

    name String
    The name of the defined parameter. May only contain alphanumeric characters, _, -, and ..

    JobPipelineTask, JobPipelineTaskArgs

    PipelineId string
    The pipeline's unique ID.
    FullRefresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    PipelineId string
    The pipeline's unique ID.
    FullRefresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    pipeline_id string
    The pipeline's unique ID.
    full_refresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    pipelineId String
    The pipeline's unique ID.
    fullRefresh Boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    pipelineId string
    The pipeline's unique ID.
    fullRefresh boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    pipeline_id str
    The pipeline's unique ID.
    full_refresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    pipelineId String
    The pipeline's unique ID.
    fullRefresh Boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    JobProviderConfig, JobProviderConfigArgs

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    JobPythonWheelTask, JobPythonWheelTaskArgs

    EntryPoint string
    Python function as entry point for the task
    NamedParameters Dictionary<string, string>
    Named parameters for the task
    PackageName string
    Name of Python package
    Parameters List<string>
    Parameters for the task
    EntryPoint string
    Python function as entry point for the task
    NamedParameters map[string]string
    Named parameters for the task
    PackageName string
    Name of Python package
    Parameters []string
    Parameters for the task
    entry_point string
    Python function as entry point for the task
    named_parameters map(string)
    Named parameters for the task
    package_name string
    Name of Python package
    parameters list(string)
    Parameters for the task
    entryPoint String
    Python function as entry point for the task
    namedParameters Map<String,String>
    Named parameters for the task
    packageName String
    Name of Python package
    parameters List<String>
    Parameters for the task
    entryPoint string
    Python function as entry point for the task
    namedParameters {[key: string]: string}
    Named parameters for the task
    packageName string
    Name of Python package
    parameters string[]
    Parameters for the task
    entry_point str
    Python function as entry point for the task
    named_parameters Mapping[str, str]
    Named parameters for the task
    package_name str
    Name of Python package
    parameters Sequence[str]
    Parameters for the task
    entryPoint String
    Python function as entry point for the task
    namedParameters Map<String>
    Named parameters for the task
    packageName String
    Name of Python package
    parameters List<String>
    Parameters for the task

    JobQueue, JobQueueArgs

    Enabled bool
    If true, enable queueing for the job.
    Enabled bool
    If true, enable queueing for the job.
    enabled bool
    If true, enable queueing for the job.
    enabled Boolean
    If true, enable queueing for the job.
    enabled boolean
    If true, enable queueing for the job.
    enabled bool
    If true, enable queueing for the job.
    enabled Boolean
    If true, enable queueing for the job.

    JobRunAs, JobRunAsArgs

    GroupName string
    ServicePrincipalName string

    The application ID of an active service principal. Setting this field requires the servicePrincipal/user role.

    Example:

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const _this = new databricks.Job("this", {runAs: { servicePrincipalName: "8d23ae77-912e-4a19-81e4-b9c3f5cc9349", }});

    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.Job("this", run_as={
        "service_principal_name": "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
    })
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Databricks.Job("this", new()
        {
            RunAs = new Databricks.Inputs.JobRunAsArgs
            {
                ServicePrincipalName = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{
    			RunAs: &databricks.JobRunAsArgs{
    				ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "this" {
      run_as = {
        service_principal_name = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349"
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobRunAsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var this_ = new Job("this", JobArgs.builder()
                .runAs(JobRunAsArgs.builder()
                    .servicePrincipalName("8d23ae77-912e-4a19-81e4-b9c3f5cc9349")
                    .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: databricks:Job
        properties:
          runAs:
            servicePrincipalName: 8d23ae77-912e-4a19-81e4-b9c3f5cc9349
    
    UserName string
    The email of an active workspace user. Non-admin users can only set this field to their own email.
    GroupName string
    ServicePrincipalName string

    The application ID of an active service principal. Setting this field requires the servicePrincipal/user role.

    Example:

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const _this = new databricks.Job("this", {runAs: { servicePrincipalName: "8d23ae77-912e-4a19-81e4-b9c3f5cc9349", }});

    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.Job("this", run_as={
        "service_principal_name": "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
    })
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Databricks.Job("this", new()
        {
            RunAs = new Databricks.Inputs.JobRunAsArgs
            {
                ServicePrincipalName = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{
    			RunAs: &databricks.JobRunAsArgs{
    				ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "this" {
      run_as = {
        service_principal_name = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349"
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobRunAsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var this_ = new Job("this", JobArgs.builder()
                .runAs(JobRunAsArgs.builder()
                    .servicePrincipalName("8d23ae77-912e-4a19-81e4-b9c3f5cc9349")
                    .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: databricks:Job
        properties:
          runAs:
            servicePrincipalName: 8d23ae77-912e-4a19-81e4-b9c3f5cc9349
    
    UserName string
    The email of an active workspace user. Non-admin users can only set this field to their own email.
    group_name string
    service_principal_name string

    The application ID of an active service principal. Setting this field requires the servicePrincipal/user role.

    Example:

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const _this = new databricks.Job("this", {runAs: { servicePrincipalName: "8d23ae77-912e-4a19-81e4-b9c3f5cc9349", }});

    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.Job("this", run_as={
        "service_principal_name": "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
    })
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Databricks.Job("this", new()
        {
            RunAs = new Databricks.Inputs.JobRunAsArgs
            {
                ServicePrincipalName = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{
    			RunAs: &databricks.JobRunAsArgs{
    				ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "this" {
      run_as = {
        service_principal_name = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349"
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobRunAsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var this_ = new Job("this", JobArgs.builder()
                .runAs(JobRunAsArgs.builder()
                    .servicePrincipalName("8d23ae77-912e-4a19-81e4-b9c3f5cc9349")
                    .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: databricks:Job
        properties:
          runAs:
            servicePrincipalName: 8d23ae77-912e-4a19-81e4-b9c3f5cc9349
    
    user_name string
    The email of an active workspace user. Non-admin users can only set this field to their own email.
    groupName String
    servicePrincipalName String

    The application ID of an active service principal. Setting this field requires the servicePrincipal/user role.

    Example:

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const _this = new databricks.Job("this", {runAs: { servicePrincipalName: "8d23ae77-912e-4a19-81e4-b9c3f5cc9349", }});

    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.Job("this", run_as={
        "service_principal_name": "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
    })
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Databricks.Job("this", new()
        {
            RunAs = new Databricks.Inputs.JobRunAsArgs
            {
                ServicePrincipalName = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{
    			RunAs: &databricks.JobRunAsArgs{
    				ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "this" {
      run_as = {
        service_principal_name = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349"
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobRunAsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var this_ = new Job("this", JobArgs.builder()
                .runAs(JobRunAsArgs.builder()
                    .servicePrincipalName("8d23ae77-912e-4a19-81e4-b9c3f5cc9349")
                    .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: databricks:Job
        properties:
          runAs:
            servicePrincipalName: 8d23ae77-912e-4a19-81e4-b9c3f5cc9349
    
    userName String
    The email of an active workspace user. Non-admin users can only set this field to their own email.
    groupName string
    servicePrincipalName string

    The application ID of an active service principal. Setting this field requires the servicePrincipal/user role.

    Example:

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const _this = new databricks.Job("this", {runAs: { servicePrincipalName: "8d23ae77-912e-4a19-81e4-b9c3f5cc9349", }});

    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.Job("this", run_as={
        "service_principal_name": "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
    })
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Databricks.Job("this", new()
        {
            RunAs = new Databricks.Inputs.JobRunAsArgs
            {
                ServicePrincipalName = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{
    			RunAs: &databricks.JobRunAsArgs{
    				ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "this" {
      run_as = {
        service_principal_name = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349"
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobRunAsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var this_ = new Job("this", JobArgs.builder()
                .runAs(JobRunAsArgs.builder()
                    .servicePrincipalName("8d23ae77-912e-4a19-81e4-b9c3f5cc9349")
                    .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: databricks:Job
        properties:
          runAs:
            servicePrincipalName: 8d23ae77-912e-4a19-81e4-b9c3f5cc9349
    
    userName string
    The email of an active workspace user. Non-admin users can only set this field to their own email.
    group_name str
    service_principal_name str

    The application ID of an active service principal. Setting this field requires the servicePrincipal/user role.

    Example:

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const _this = new databricks.Job("this", {runAs: { servicePrincipalName: "8d23ae77-912e-4a19-81e4-b9c3f5cc9349", }});

    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.Job("this", run_as={
        "service_principal_name": "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
    })
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Databricks.Job("this", new()
        {
            RunAs = new Databricks.Inputs.JobRunAsArgs
            {
                ServicePrincipalName = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{
    			RunAs: &databricks.JobRunAsArgs{
    				ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "this" {
      run_as = {
        service_principal_name = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349"
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobRunAsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var this_ = new Job("this", JobArgs.builder()
                .runAs(JobRunAsArgs.builder()
                    .servicePrincipalName("8d23ae77-912e-4a19-81e4-b9c3f5cc9349")
                    .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: databricks:Job
        properties:
          runAs:
            servicePrincipalName: 8d23ae77-912e-4a19-81e4-b9c3f5cc9349
    
    user_name str
    The email of an active workspace user. Non-admin users can only set this field to their own email.
    groupName String
    servicePrincipalName String

    The application ID of an active service principal. Setting this field requires the servicePrincipal/user role.

    Example:

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const _this = new databricks.Job("this", {runAs: { servicePrincipalName: "8d23ae77-912e-4a19-81e4-b9c3f5cc9349", }});

    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.Job("this", run_as={
        "service_principal_name": "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
    })
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Databricks.Job("this", new()
        {
            RunAs = new Databricks.Inputs.JobRunAsArgs
            {
                ServicePrincipalName = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "this", &databricks.JobArgs{
    			RunAs: &databricks.JobRunAsArgs{
    				ServicePrincipalName: pulumi.String("8d23ae77-912e-4a19-81e4-b9c3f5cc9349"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "this" {
      run_as = {
        service_principal_name = "8d23ae77-912e-4a19-81e4-b9c3f5cc9349"
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobRunAsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var this_ = new Job("this", JobArgs.builder()
                .runAs(JobRunAsArgs.builder()
                    .servicePrincipalName("8d23ae77-912e-4a19-81e4-b9c3f5cc9349")
                    .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: databricks:Job
        properties:
          runAs:
            servicePrincipalName: 8d23ae77-912e-4a19-81e4-b9c3f5cc9349
    
    userName String
    The email of an active workspace user. Non-admin users can only set this field to their own email.

    JobRunJobTask, JobRunJobTaskArgs

    JobId int
    (String) ID of the job
    JobParameters Dictionary<string, string>
    (Map) Job parameters for the task
    JobId int
    (String) ID of the job
    JobParameters map[string]string
    (Map) Job parameters for the task
    job_id number
    (String) ID of the job
    job_parameters map(string)
    (Map) Job parameters for the task
    jobId Integer
    (String) ID of the job
    jobParameters Map<String,String>
    (Map) Job parameters for the task
    jobId number
    (String) ID of the job
    jobParameters {[key: string]: string}
    (Map) Job parameters for the task
    job_id int
    (String) ID of the job
    job_parameters Mapping[str, str]
    (Map) Job parameters for the task
    jobId Number
    (String) ID of the job
    jobParameters Map<String>
    (Map) Job parameters for the task

    JobSchedule, JobScheduleArgs

    QuartzCronExpression string
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    TimezoneId string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    PauseStatus string
    Indicate whether this schedule is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted and a schedule is provided, the server will default to using UNPAUSED as a value for pauseStatus.
    SqlCondition JobScheduleSqlCondition
    QuartzCronExpression string
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    TimezoneId string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    PauseStatus string
    Indicate whether this schedule is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted and a schedule is provided, the server will default to using UNPAUSED as a value for pauseStatus.
    SqlCondition JobScheduleSqlCondition
    quartz_cron_expression string
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    timezone_id string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    pause_status string
    Indicate whether this schedule is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted and a schedule is provided, the server will default to using UNPAUSED as a value for pauseStatus.
    sql_condition object
    quartzCronExpression String
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    timezoneId String
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    pauseStatus String
    Indicate whether this schedule is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted and a schedule is provided, the server will default to using UNPAUSED as a value for pauseStatus.
    sqlCondition JobScheduleSqlCondition
    quartzCronExpression string
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    timezoneId string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    pauseStatus string
    Indicate whether this schedule is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted and a schedule is provided, the server will default to using UNPAUSED as a value for pauseStatus.
    sqlCondition JobScheduleSqlCondition
    quartz_cron_expression str
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    timezone_id str
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    pause_status str
    Indicate whether this schedule is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted and a schedule is provided, the server will default to using UNPAUSED as a value for pauseStatus.
    sql_condition JobScheduleSqlCondition
    quartzCronExpression String
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    timezoneId String
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    pauseStatus String
    Indicate whether this schedule is paused or not. Either PAUSED or UNPAUSED. When the pauseStatus field is omitted and a schedule is provided, the server will default to using UNPAUSED as a value for pauseStatus.
    sqlCondition Property Map

    JobScheduleSqlCondition, JobScheduleSqlConditionArgs

    JobSparkJarTask, JobSparkJarTaskArgs

    JarUri string
    MainClassName string
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    Parameters List<string>
    (List) Parameters passed to the main method.
    JarUri string
    MainClassName string
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    Parameters []string
    (List) Parameters passed to the main method.
    jar_uri string
    main_class_name string
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters list(string)
    (List) Parameters passed to the main method.
    jarUri String
    mainClassName String
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters List<String>
    (List) Parameters passed to the main method.
    jarUri string
    mainClassName string
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters string[]
    (List) Parameters passed to the main method.
    jar_uri str
    main_class_name str
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters Sequence[str]
    (List) Parameters passed to the main method.
    jarUri String
    mainClassName String
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters List<String>
    (List) Parameters passed to the main method.

    JobSparkPythonTask, JobSparkPythonTaskArgs

    PythonFile string
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    Parameters List<string>
    (List) Command line parameters passed to the Python file.
    Source string
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    PythonFile string
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    Parameters []string
    (List) Command line parameters passed to the Python file.
    Source string
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    python_file string
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters list(string)
    (List) Command line parameters passed to the Python file.
    source string
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    pythonFile String
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters List<String>
    (List) Command line parameters passed to the Python file.
    source String
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    pythonFile string
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters string[]
    (List) Command line parameters passed to the Python file.
    source string
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    python_file str
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters Sequence[str]
    (List) Command line parameters passed to the Python file.
    source str
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    pythonFile String
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters List<String>
    (List) Command line parameters passed to the Python file.
    source String
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.

    JobSparkSubmitTask, JobSparkSubmitTaskArgs

    Parameters List<string>
    (List) Command-line parameters passed to spark submit.
    Parameters []string
    (List) Command-line parameters passed to spark submit.
    parameters list(string)
    (List) Command-line parameters passed to spark submit.
    parameters List<String>
    (List) Command-line parameters passed to spark submit.
    parameters string[]
    (List) Command-line parameters passed to spark submit.
    parameters Sequence[str]
    (List) Command-line parameters passed to spark submit.
    parameters List<String>
    (List) Command-line parameters passed to spark submit.

    JobTask, JobTaskArgs

    TaskKey string
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    AiRuntimeTask JobTaskAiRuntimeTask
    AlertTask JobTaskAlertTask
    CleanRoomsNotebookTask JobTaskCleanRoomsNotebookTask
    Compute JobTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    ConditionTask JobTaskConditionTask
    DashboardTask JobTaskDashboardTask
    DbtCloudTask JobTaskDbtCloudTask
    DbtPlatformTask JobTaskDbtPlatformTask
    DbtTask JobTaskDbtTask
    DependsOns List<JobTaskDependsOn>
    block specifying dependency(-ies) for a given task.
    Description string
    description for this task.
    DisableAutoOptimization bool
    A flag to disable auto optimization in serverless tasks.
    Disabled bool
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    EmailNotifications JobTaskEmailNotifications
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    EnvironmentKey string
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    ExistingClusterId string
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    ForEachTask JobTaskForEachTask
    GenAiComputeTask JobTaskGenAiComputeTask
    Health JobTaskHealth
    block described below that specifies health conditions for a given task.
    JobClusterKey string
    Identifier of the Job cluster specified in the jobCluster block.
    Libraries List<JobTaskLibrary>
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    MaxRetries int
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    MinRetryIntervalMillis int
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    NewCluster JobTaskNewCluster
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    NotebookTask JobTaskNotebookTask
    NotificationSettings JobTaskNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    PipelineTask JobTaskPipelineTask
    PowerBiTask JobTaskPowerBiTask
    PythonOperatorTask JobTaskPythonOperatorTask
    PythonWheelTask JobTaskPythonWheelTask
    RetryOnTimeout bool
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    RunIf string
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    RunJobTask JobTaskRunJobTask
    SparkJarTask JobTaskSparkJarTask
    SparkPythonTask JobTaskSparkPythonTask
    SparkSubmitTask JobTaskSparkSubmitTask
    SqlTask JobTaskSqlTask
    TimeoutSeconds int
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    WebhookNotifications JobTaskWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    TaskKey string
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    AiRuntimeTask JobTaskAiRuntimeTask
    AlertTask JobTaskAlertTask
    CleanRoomsNotebookTask JobTaskCleanRoomsNotebookTask
    Compute JobTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    ConditionTask JobTaskConditionTask
    DashboardTask JobTaskDashboardTask
    DbtCloudTask JobTaskDbtCloudTask
    DbtPlatformTask JobTaskDbtPlatformTask
    DbtTask JobTaskDbtTask
    DependsOns []JobTaskDependsOn
    block specifying dependency(-ies) for a given task.
    Description string
    description for this task.
    DisableAutoOptimization bool
    A flag to disable auto optimization in serverless tasks.
    Disabled bool
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    EmailNotifications JobTaskEmailNotifications
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    EnvironmentKey string
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    ExistingClusterId string
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    ForEachTask JobTaskForEachTask
    GenAiComputeTask JobTaskGenAiComputeTask
    Health JobTaskHealth
    block described below that specifies health conditions for a given task.
    JobClusterKey string
    Identifier of the Job cluster specified in the jobCluster block.
    Libraries []JobTaskLibrary
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    MaxRetries int
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    MinRetryIntervalMillis int
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    NewCluster JobTaskNewCluster
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    NotebookTask JobTaskNotebookTask
    NotificationSettings JobTaskNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    PipelineTask JobTaskPipelineTask
    PowerBiTask JobTaskPowerBiTask
    PythonOperatorTask JobTaskPythonOperatorTask
    PythonWheelTask JobTaskPythonWheelTask
    RetryOnTimeout bool
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    RunIf string
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    RunJobTask JobTaskRunJobTask
    SparkJarTask JobTaskSparkJarTask
    SparkPythonTask JobTaskSparkPythonTask
    SparkSubmitTask JobTaskSparkSubmitTask
    SqlTask JobTaskSqlTask
    TimeoutSeconds int
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    WebhookNotifications JobTaskWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    task_key string
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    ai_runtime_task object
    alert_task object
    clean_rooms_notebook_task object
    compute object

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    condition_task object
    dashboard_task object
    dbt_cloud_task object
    dbt_platform_task object
    dbt_task object
    depends_ons list(object)
    block specifying dependency(-ies) for a given task.
    description string
    description for this task.
    disable_auto_optimization bool
    A flag to disable auto optimization in serverless tasks.
    disabled bool
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    email_notifications object
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    environment_key string
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    existing_cluster_id string
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    for_each_task object
    gen_ai_compute_task object
    health object
    block described below that specifies health conditions for a given task.
    job_cluster_key string
    Identifier of the Job cluster specified in the jobCluster block.
    libraries list(object)
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    max_retries number
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    min_retry_interval_millis number
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    new_cluster object
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    notebook_task object
    notification_settings object
    An optional block controlling the notification settings on the job level documented below.
    pipeline_task object
    power_bi_task object
    python_operator_task object
    python_wheel_task object
    retry_on_timeout bool
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    run_if string
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    run_job_task object
    spark_jar_task object
    spark_python_task object
    spark_submit_task object
    sql_task object
    timeout_seconds number
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    webhook_notifications object
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    taskKey String
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    aiRuntimeTask JobTaskAiRuntimeTask
    alertTask JobTaskAlertTask
    cleanRoomsNotebookTask JobTaskCleanRoomsNotebookTask
    compute JobTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    conditionTask JobTaskConditionTask
    dashboardTask JobTaskDashboardTask
    dbtCloudTask JobTaskDbtCloudTask
    dbtPlatformTask JobTaskDbtPlatformTask
    dbtTask JobTaskDbtTask
    dependsOns List<JobTaskDependsOn>
    block specifying dependency(-ies) for a given task.
    description String
    description for this task.
    disableAutoOptimization Boolean
    A flag to disable auto optimization in serverless tasks.
    disabled Boolean
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    emailNotifications JobTaskEmailNotifications
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    environmentKey String
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    existingClusterId String
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    forEachTask JobTaskForEachTask
    genAiComputeTask JobTaskGenAiComputeTask
    health JobTaskHealth
    block described below that specifies health conditions for a given task.
    jobClusterKey String
    Identifier of the Job cluster specified in the jobCluster block.
    libraries List<JobTaskLibrary>
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    maxRetries Integer
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    minRetryIntervalMillis Integer
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    newCluster JobTaskNewCluster
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    notebookTask JobTaskNotebookTask
    notificationSettings JobTaskNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    pipelineTask JobTaskPipelineTask
    powerBiTask JobTaskPowerBiTask
    pythonOperatorTask JobTaskPythonOperatorTask
    pythonWheelTask JobTaskPythonWheelTask
    retryOnTimeout Boolean
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    runIf String
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    runJobTask JobTaskRunJobTask
    sparkJarTask JobTaskSparkJarTask
    sparkPythonTask JobTaskSparkPythonTask
    sparkSubmitTask JobTaskSparkSubmitTask
    sqlTask JobTaskSqlTask
    timeoutSeconds Integer
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    webhookNotifications JobTaskWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    taskKey string
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    aiRuntimeTask JobTaskAiRuntimeTask
    alertTask JobTaskAlertTask
    cleanRoomsNotebookTask JobTaskCleanRoomsNotebookTask
    compute JobTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    conditionTask JobTaskConditionTask
    dashboardTask JobTaskDashboardTask
    dbtCloudTask JobTaskDbtCloudTask
    dbtPlatformTask JobTaskDbtPlatformTask
    dbtTask JobTaskDbtTask
    dependsOns JobTaskDependsOn[]
    block specifying dependency(-ies) for a given task.
    description string
    description for this task.
    disableAutoOptimization boolean
    A flag to disable auto optimization in serverless tasks.
    disabled boolean
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    emailNotifications JobTaskEmailNotifications
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    environmentKey string
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    existingClusterId string
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    forEachTask JobTaskForEachTask
    genAiComputeTask JobTaskGenAiComputeTask
    health JobTaskHealth
    block described below that specifies health conditions for a given task.
    jobClusterKey string
    Identifier of the Job cluster specified in the jobCluster block.
    libraries JobTaskLibrary[]
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    maxRetries number
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    minRetryIntervalMillis number
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    newCluster JobTaskNewCluster
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    notebookTask JobTaskNotebookTask
    notificationSettings JobTaskNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    pipelineTask JobTaskPipelineTask
    powerBiTask JobTaskPowerBiTask
    pythonOperatorTask JobTaskPythonOperatorTask
    pythonWheelTask JobTaskPythonWheelTask
    retryOnTimeout boolean
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    runIf string
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    runJobTask JobTaskRunJobTask
    sparkJarTask JobTaskSparkJarTask
    sparkPythonTask JobTaskSparkPythonTask
    sparkSubmitTask JobTaskSparkSubmitTask
    sqlTask JobTaskSqlTask
    timeoutSeconds number
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    webhookNotifications JobTaskWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    task_key str
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    ai_runtime_task JobTaskAiRuntimeTask
    alert_task JobTaskAlertTask
    clean_rooms_notebook_task JobTaskCleanRoomsNotebookTask
    compute JobTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    condition_task JobTaskConditionTask
    dashboard_task JobTaskDashboardTask
    dbt_cloud_task JobTaskDbtCloudTask
    dbt_platform_task JobTaskDbtPlatformTask
    dbt_task JobTaskDbtTask
    depends_ons Sequence[JobTaskDependsOn]
    block specifying dependency(-ies) for a given task.
    description str
    description for this task.
    disable_auto_optimization bool
    A flag to disable auto optimization in serverless tasks.
    disabled bool
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    email_notifications JobTaskEmailNotifications
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    environment_key str
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    existing_cluster_id str
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    for_each_task JobTaskForEachTask
    gen_ai_compute_task JobTaskGenAiComputeTask
    health JobTaskHealth
    block described below that specifies health conditions for a given task.
    job_cluster_key str
    Identifier of the Job cluster specified in the jobCluster block.
    libraries Sequence[JobTaskLibrary]
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    max_retries int
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    min_retry_interval_millis int
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    new_cluster JobTaskNewCluster
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    notebook_task JobTaskNotebookTask
    notification_settings JobTaskNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    pipeline_task JobTaskPipelineTask
    power_bi_task JobTaskPowerBiTask
    python_operator_task JobTaskPythonOperatorTask
    python_wheel_task JobTaskPythonWheelTask
    retry_on_timeout bool
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    run_if str
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    run_job_task JobTaskRunJobTask
    spark_jar_task JobTaskSparkJarTask
    spark_python_task JobTaskSparkPythonTask
    spark_submit_task JobTaskSparkSubmitTask
    sql_task JobTaskSqlTask
    timeout_seconds int
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    webhook_notifications JobTaskWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    taskKey String
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    aiRuntimeTask Property Map
    alertTask Property Map
    cleanRoomsNotebookTask Property Map
    compute Property Map

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    conditionTask Property Map
    dashboardTask Property Map
    dbtCloudTask Property Map
    dbtPlatformTask Property Map
    dbtTask Property Map
    dependsOns List<Property Map>
    block specifying dependency(-ies) for a given task.
    description String
    description for this task.
    disableAutoOptimization Boolean
    A flag to disable auto optimization in serverless tasks.
    disabled Boolean
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    emailNotifications Property Map
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    environmentKey String
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    existingClusterId String
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    forEachTask Property Map
    genAiComputeTask Property Map
    health Property Map
    block described below that specifies health conditions for a given task.
    jobClusterKey String
    Identifier of the Job cluster specified in the jobCluster block.
    libraries List<Property Map>
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    maxRetries Number
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    minRetryIntervalMillis Number
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    newCluster Property Map
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    notebookTask Property Map
    notificationSettings Property Map
    An optional block controlling the notification settings on the job level documented below.
    pipelineTask Property Map
    powerBiTask Property Map
    pythonOperatorTask Property Map
    pythonWheelTask Property Map
    retryOnTimeout Boolean
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    runIf String
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    runJobTask Property Map
    sparkJarTask Property Map
    sparkPythonTask Property Map
    sparkSubmitTask Property Map
    sqlTask Property Map
    timeoutSeconds Number
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    webhookNotifications Property Map
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.

    JobTaskAiRuntimeTask, JobTaskAiRuntimeTaskArgs

    JobTaskAiRuntimeTaskDeployment, JobTaskAiRuntimeTaskDeploymentArgs

    CommandPath string
    Compute JobTaskAiRuntimeTaskDeploymentCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    Name string
    An optional name for the job. The default value is Untitled.
    CommandPath string
    Compute JobTaskAiRuntimeTaskDeploymentCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    Name string
    An optional name for the job. The default value is Untitled.
    command_path string
    compute object

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    name string
    An optional name for the job. The default value is Untitled.
    commandPath String
    compute JobTaskAiRuntimeTaskDeploymentCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    name String
    An optional name for the job. The default value is Untitled.
    commandPath string
    compute JobTaskAiRuntimeTaskDeploymentCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    name string
    An optional name for the job. The default value is Untitled.
    command_path str
    compute JobTaskAiRuntimeTaskDeploymentCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    name str
    An optional name for the job. The default value is Untitled.
    commandPath String
    compute Property Map

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    name String
    An optional name for the job. The default value is Untitled.

    JobTaskAiRuntimeTaskDeploymentCompute, JobTaskAiRuntimeTaskDeploymentComputeArgs

    JobTaskAlertTask, JobTaskAlertTaskArgs

    AlertId string
    (String) identifier of the Databricks Alert (databricks_alert).
    Parameters Dictionary<string, string>
    Subscribers List<JobTaskAlertTaskSubscriber>
    The list of subscribers to send the snapshot of the dashboard to.
    WarehouseId string
    WorkspacePath string
    AlertId string
    (String) identifier of the Databricks Alert (databricks_alert).
    Parameters map[string]string
    Subscribers []JobTaskAlertTaskSubscriber
    The list of subscribers to send the snapshot of the dashboard to.
    WarehouseId string
    WorkspacePath string
    alert_id string
    (String) identifier of the Databricks Alert (databricks_alert).
    parameters map(string)
    subscribers list(object)
    The list of subscribers to send the snapshot of the dashboard to.
    warehouse_id string
    workspace_path string
    alertId String
    (String) identifier of the Databricks Alert (databricks_alert).
    parameters Map<String,String>
    subscribers List<JobTaskAlertTaskSubscriber>
    The list of subscribers to send the snapshot of the dashboard to.
    warehouseId String
    workspacePath String
    alertId string
    (String) identifier of the Databricks Alert (databricks_alert).
    parameters {[key: string]: string}
    subscribers JobTaskAlertTaskSubscriber[]
    The list of subscribers to send the snapshot of the dashboard to.
    warehouseId string
    workspacePath string
    alert_id str
    (String) identifier of the Databricks Alert (databricks_alert).
    parameters Mapping[str, str]
    subscribers Sequence[JobTaskAlertTaskSubscriber]
    The list of subscribers to send the snapshot of the dashboard to.
    warehouse_id str
    workspace_path str
    alertId String
    (String) identifier of the Databricks Alert (databricks_alert).
    parameters Map<String>
    subscribers List<Property Map>
    The list of subscribers to send the snapshot of the dashboard to.
    warehouseId String
    workspacePath String

    JobTaskAlertTaskSubscriber, JobTaskAlertTaskSubscriberArgs

    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    destination_id string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name string
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String
    destinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName string
    destination_id str
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name str
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String

    JobTaskCleanRoomsNotebookTask, JobTaskCleanRoomsNotebookTaskArgs

    CleanRoomName string
    The clean room that the notebook belongs to.
    NotebookName string
    Name of the notebook being run.
    Etag string
    Checksum to validate the freshness of the notebook resource.
    NotebookBaseParameters Dictionary<string, string>
    Base parameters to be used for the clean room notebook job.
    CleanRoomName string
    The clean room that the notebook belongs to.
    NotebookName string
    Name of the notebook being run.
    Etag string
    Checksum to validate the freshness of the notebook resource.
    NotebookBaseParameters map[string]string
    Base parameters to be used for the clean room notebook job.
    clean_room_name string
    The clean room that the notebook belongs to.
    notebook_name string
    Name of the notebook being run.
    etag string
    Checksum to validate the freshness of the notebook resource.
    notebook_base_parameters map(string)
    Base parameters to be used for the clean room notebook job.
    cleanRoomName String
    The clean room that the notebook belongs to.
    notebookName String
    Name of the notebook being run.
    etag String
    Checksum to validate the freshness of the notebook resource.
    notebookBaseParameters Map<String,String>
    Base parameters to be used for the clean room notebook job.
    cleanRoomName string
    The clean room that the notebook belongs to.
    notebookName string
    Name of the notebook being run.
    etag string
    Checksum to validate the freshness of the notebook resource.
    notebookBaseParameters {[key: string]: string}
    Base parameters to be used for the clean room notebook job.
    clean_room_name str
    The clean room that the notebook belongs to.
    notebook_name str
    Name of the notebook being run.
    etag str
    Checksum to validate the freshness of the notebook resource.
    notebook_base_parameters Mapping[str, str]
    Base parameters to be used for the clean room notebook job.
    cleanRoomName String
    The clean room that the notebook belongs to.
    notebookName String
    Name of the notebook being run.
    etag String
    Checksum to validate the freshness of the notebook resource.
    notebookBaseParameters Map<String>
    Base parameters to be used for the clean room notebook job.

    JobTaskCompute, JobTaskComputeArgs

    HardwareAccelerator string
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.
    HardwareAccelerator string
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.
    hardware_accelerator string
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.
    hardwareAccelerator String
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.
    hardwareAccelerator string
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.
    hardware_accelerator str
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.
    hardwareAccelerator String
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.

    JobTaskConditionTask, JobTaskConditionTaskArgs

    Left string
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    Op string

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    Right string
    The right operand of the condition task. It could be a string value, job state, or parameter reference.
    Left string
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    Op string

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    Right string
    The right operand of the condition task. It could be a string value, job state, or parameter reference.
    left string
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    op string

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    right string
    The right operand of the condition task. It could be a string value, job state, or parameter reference.
    left String
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    op String

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    right String
    The right operand of the condition task. It could be a string value, job state, or parameter reference.
    left string
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    op string

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    right string
    The right operand of the condition task. It could be a string value, job state, or parameter reference.
    left str
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    op str

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    right str
    The right operand of the condition task. It could be a string value, job state, or parameter reference.
    left String
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    op String

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    right String
    The right operand of the condition task. It could be a string value, job state, or parameter reference.

    JobTaskDashboardTask, JobTaskDashboardTaskArgs

    DashboardId string
    The identifier of the dashboard to refresh
    Filters Dictionary<string, string>
    Subscription JobTaskDashboardTaskSubscription
    Represents a subscription configuration for scheduled dashboard snapshots.
    WarehouseId string
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard
    DashboardId string
    The identifier of the dashboard to refresh
    Filters map[string]string
    Subscription JobTaskDashboardTaskSubscription
    Represents a subscription configuration for scheduled dashboard snapshots.
    WarehouseId string
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard
    dashboard_id string
    The identifier of the dashboard to refresh
    filters map(string)
    subscription object
    Represents a subscription configuration for scheduled dashboard snapshots.
    warehouse_id string
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard
    dashboardId String
    The identifier of the dashboard to refresh
    filters Map<String,String>
    subscription JobTaskDashboardTaskSubscription
    Represents a subscription configuration for scheduled dashboard snapshots.
    warehouseId String
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard
    dashboardId string
    The identifier of the dashboard to refresh
    filters {[key: string]: string}
    subscription JobTaskDashboardTaskSubscription
    Represents a subscription configuration for scheduled dashboard snapshots.
    warehouseId string
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard
    dashboard_id str
    The identifier of the dashboard to refresh
    filters Mapping[str, str]
    subscription JobTaskDashboardTaskSubscription
    Represents a subscription configuration for scheduled dashboard snapshots.
    warehouse_id str
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard
    dashboardId String
    The identifier of the dashboard to refresh
    filters Map<String>
    subscription Property Map
    Represents a subscription configuration for scheduled dashboard snapshots.
    warehouseId String
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard

    JobTaskDashboardTaskSubscription, JobTaskDashboardTaskSubscriptionArgs

    CustomSubject string
    Allows users to specify a custom subject line on the email sent to subscribers.
    Paused bool
    When true, the subscription will not send emails.
    Subscribers List<JobTaskDashboardTaskSubscriptionSubscriber>
    The list of subscribers to send the snapshot of the dashboard to.
    CustomSubject string
    Allows users to specify a custom subject line on the email sent to subscribers.
    Paused bool
    When true, the subscription will not send emails.
    Subscribers []JobTaskDashboardTaskSubscriptionSubscriber
    The list of subscribers to send the snapshot of the dashboard to.
    custom_subject string
    Allows users to specify a custom subject line on the email sent to subscribers.
    paused bool
    When true, the subscription will not send emails.
    subscribers list(object)
    The list of subscribers to send the snapshot of the dashboard to.
    customSubject String
    Allows users to specify a custom subject line on the email sent to subscribers.
    paused Boolean
    When true, the subscription will not send emails.
    subscribers List<JobTaskDashboardTaskSubscriptionSubscriber>
    The list of subscribers to send the snapshot of the dashboard to.
    customSubject string
    Allows users to specify a custom subject line on the email sent to subscribers.
    paused boolean
    When true, the subscription will not send emails.
    subscribers JobTaskDashboardTaskSubscriptionSubscriber[]
    The list of subscribers to send the snapshot of the dashboard to.
    custom_subject str
    Allows users to specify a custom subject line on the email sent to subscribers.
    paused bool
    When true, the subscription will not send emails.
    subscribers Sequence[JobTaskDashboardTaskSubscriptionSubscriber]
    The list of subscribers to send the snapshot of the dashboard to.
    customSubject String
    Allows users to specify a custom subject line on the email sent to subscribers.
    paused Boolean
    When true, the subscription will not send emails.
    subscribers List<Property Map>
    The list of subscribers to send the snapshot of the dashboard to.

    JobTaskDashboardTaskSubscriptionSubscriber, JobTaskDashboardTaskSubscriptionSubscriberArgs

    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.
    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.
    destination_id string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name string
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.
    destinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName string
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.
    destination_id str
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name str
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.

    JobTaskDbtCloudTask, JobTaskDbtCloudTaskArgs

    ConnectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    DbtCloudJobId int
    ConnectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    DbtCloudJobId int
    connection_resource_name string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbt_cloud_job_id number
    connectionResourceName String
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbtCloudJobId Integer
    connectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbtCloudJobId number
    connection_resource_name str
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbt_cloud_job_id int
    connectionResourceName String
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbtCloudJobId Number

    JobTaskDbtPlatformTask, JobTaskDbtPlatformTaskArgs

    ConnectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    DbtPlatformJobId string
    ConnectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    DbtPlatformJobId string
    connection_resource_name string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbt_platform_job_id string
    connectionResourceName String
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbtPlatformJobId String
    connectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbtPlatformJobId string
    connection_resource_name str
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbt_platform_job_id str
    connectionResourceName String
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbtPlatformJobId String

    JobTaskDbtTask, JobTaskDbtTaskArgs

    Commands List<string>
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    Catalog string
    The name of the catalog to use inside Unity Catalog.
    ProfilesDirectory string
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    ProjectDirectory string
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    Schema string
    The name of the schema dbt should run in. Defaults to default.
    Source string
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    WarehouseId string

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    Commands []string
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    Catalog string
    The name of the catalog to use inside Unity Catalog.
    ProfilesDirectory string
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    ProjectDirectory string
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    Schema string
    The name of the schema dbt should run in. Defaults to default.
    Source string
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    WarehouseId string

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands list(string)
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog string
    The name of the catalog to use inside Unity Catalog.
    profiles_directory string
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    project_directory string
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema string
    The name of the schema dbt should run in. Defaults to default.
    source string
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouse_id string

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands List<String>
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog String
    The name of the catalog to use inside Unity Catalog.
    profilesDirectory String
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    projectDirectory String
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema String
    The name of the schema dbt should run in. Defaults to default.
    source String
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouseId String

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands string[]
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog string
    The name of the catalog to use inside Unity Catalog.
    profilesDirectory string
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    projectDirectory string
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema string
    The name of the schema dbt should run in. Defaults to default.
    source string
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouseId string

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands Sequence[str]
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog str
    The name of the catalog to use inside Unity Catalog.
    profiles_directory str
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    project_directory str
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema str
    The name of the schema dbt should run in. Defaults to default.
    source str
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouse_id str

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands List<String>
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog String
    The name of the catalog to use inside Unity Catalog.
    profilesDirectory String
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    projectDirectory String
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema String
    The name of the schema dbt should run in. Defaults to default.
    source String
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouseId String

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    JobTaskDependsOn, JobTaskDependsOnArgs

    TaskKey string
    The name of the task this task depends on.
    Outcome string

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    TaskKey string
    The name of the task this task depends on.
    Outcome string

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    task_key string
    The name of the task this task depends on.
    outcome string

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    taskKey String
    The name of the task this task depends on.
    outcome String

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    taskKey string
    The name of the task this task depends on.
    outcome string

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    task_key str
    The name of the task this task depends on.
    outcome str

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    taskKey String
    The name of the task this task depends on.
    outcome String

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    JobTaskEmailNotifications, JobTaskEmailNotificationsArgs

    NoAlertForSkippedRuns bool
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    OnDurationWarningThresholdExceededs List<string>
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    OnFailures List<string>
    (List) list of emails to notify when the run fails.
    OnStarts List<string>
    (List) list of emails to notify when the run starts.
    OnStreamingBacklogExceededs List<string>

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    OnSuccesses List<string>
    (List) list of emails to notify when the run completes successfully.
    NoAlertForSkippedRuns bool
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    OnDurationWarningThresholdExceededs []string
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    OnFailures []string
    (List) list of emails to notify when the run fails.
    OnStarts []string
    (List) list of emails to notify when the run starts.
    OnStreamingBacklogExceededs []string

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    OnSuccesses []string
    (List) list of emails to notify when the run completes successfully.
    no_alert_for_skipped_runs bool
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    on_duration_warning_threshold_exceededs list(string)
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    on_failures list(string)
    (List) list of emails to notify when the run fails.
    on_starts list(string)
    (List) list of emails to notify when the run starts.
    on_streaming_backlog_exceededs list(string)

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    on_successes list(string)
    (List) list of emails to notify when the run completes successfully.
    noAlertForSkippedRuns Boolean
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    onDurationWarningThresholdExceededs List<String>
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures List<String>
    (List) list of emails to notify when the run fails.
    onStarts List<String>
    (List) list of emails to notify when the run starts.
    onStreamingBacklogExceededs List<String>

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    onSuccesses List<String>
    (List) list of emails to notify when the run completes successfully.
    noAlertForSkippedRuns boolean
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    onDurationWarningThresholdExceededs string[]
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures string[]
    (List) list of emails to notify when the run fails.
    onStarts string[]
    (List) list of emails to notify when the run starts.
    onStreamingBacklogExceededs string[]

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    onSuccesses string[]
    (List) list of emails to notify when the run completes successfully.
    no_alert_for_skipped_runs bool
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    on_duration_warning_threshold_exceededs Sequence[str]
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    on_failures Sequence[str]
    (List) list of emails to notify when the run fails.
    on_starts Sequence[str]
    (List) list of emails to notify when the run starts.
    on_streaming_backlog_exceededs Sequence[str]

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    on_successes Sequence[str]
    (List) list of emails to notify when the run completes successfully.
    noAlertForSkippedRuns Boolean
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    onDurationWarningThresholdExceededs List<String>
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures List<String>
    (List) list of emails to notify when the run fails.
    onStarts List<String>
    (List) list of emails to notify when the run starts.
    onStreamingBacklogExceededs List<String>

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    onSuccesses List<String>
    (List) list of emails to notify when the run completes successfully.

    JobTaskForEachTask, JobTaskForEachTaskArgs

    Inputs string
    (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter.
    Task JobTaskForEachTaskTask
    Task to run against the inputs list.
    Concurrency int
    Controls the number of active iteration task runs. Default is 20, maximum allowed is 100.
    Inputs string
    (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter.
    Task JobTaskForEachTaskTask
    Task to run against the inputs list.
    Concurrency int
    Controls the number of active iteration task runs. Default is 20, maximum allowed is 100.
    inputs string
    (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter.
    task object
    Task to run against the inputs list.
    concurrency number
    Controls the number of active iteration task runs. Default is 20, maximum allowed is 100.
    inputs String
    (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter.
    task JobTaskForEachTaskTask
    Task to run against the inputs list.
    concurrency Integer
    Controls the number of active iteration task runs. Default is 20, maximum allowed is 100.
    inputs string
    (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter.
    task JobTaskForEachTaskTask
    Task to run against the inputs list.
    concurrency number
    Controls the number of active iteration task runs. Default is 20, maximum allowed is 100.
    inputs str
    (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter.
    task JobTaskForEachTaskTask
    Task to run against the inputs list.
    concurrency int
    Controls the number of active iteration task runs. Default is 20, maximum allowed is 100.
    inputs String
    (String) Array for task to iterate on. This can be a JSON string or a reference to an array parameter.
    task Property Map
    Task to run against the inputs list.
    concurrency Number
    Controls the number of active iteration task runs. Default is 20, maximum allowed is 100.

    JobTaskForEachTaskTask, JobTaskForEachTaskTaskArgs

    TaskKey string
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    AiRuntimeTask JobTaskForEachTaskTaskAiRuntimeTask
    AlertTask JobTaskForEachTaskTaskAlertTask
    CleanRoomsNotebookTask JobTaskForEachTaskTaskCleanRoomsNotebookTask
    Compute JobTaskForEachTaskTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    ConditionTask JobTaskForEachTaskTaskConditionTask
    DashboardTask JobTaskForEachTaskTaskDashboardTask
    DbtCloudTask JobTaskForEachTaskTaskDbtCloudTask
    DbtPlatformTask JobTaskForEachTaskTaskDbtPlatformTask
    DbtTask JobTaskForEachTaskTaskDbtTask
    DependsOns List<JobTaskForEachTaskTaskDependsOn>
    block specifying dependency(-ies) for a given task.
    Description string
    description for this task.
    DisableAutoOptimization bool
    A flag to disable auto optimization in serverless tasks.
    Disabled bool
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    EmailNotifications JobTaskForEachTaskTaskEmailNotifications
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    EnvironmentKey string
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    ExistingClusterId string
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    GenAiComputeTask JobTaskForEachTaskTaskGenAiComputeTask
    Health JobTaskForEachTaskTaskHealth
    block described below that specifies health conditions for a given task.
    JobClusterKey string
    Identifier of the Job cluster specified in the jobCluster block.
    Libraries List<JobTaskForEachTaskTaskLibrary>
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    MaxRetries int
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    MinRetryIntervalMillis int
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    NewCluster JobTaskForEachTaskTaskNewCluster
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    NotebookTask JobTaskForEachTaskTaskNotebookTask
    NotificationSettings JobTaskForEachTaskTaskNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    PipelineTask JobTaskForEachTaskTaskPipelineTask
    PowerBiTask JobTaskForEachTaskTaskPowerBiTask
    PythonOperatorTask JobTaskForEachTaskTaskPythonOperatorTask
    PythonWheelTask JobTaskForEachTaskTaskPythonWheelTask
    RetryOnTimeout bool
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    RunIf string
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    RunJobTask JobTaskForEachTaskTaskRunJobTask
    SparkJarTask JobTaskForEachTaskTaskSparkJarTask
    SparkPythonTask JobTaskForEachTaskTaskSparkPythonTask
    SparkSubmitTask JobTaskForEachTaskTaskSparkSubmitTask
    SqlTask JobTaskForEachTaskTaskSqlTask
    TimeoutSeconds int
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    WebhookNotifications JobTaskForEachTaskTaskWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    TaskKey string
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    AiRuntimeTask JobTaskForEachTaskTaskAiRuntimeTask
    AlertTask JobTaskForEachTaskTaskAlertTask
    CleanRoomsNotebookTask JobTaskForEachTaskTaskCleanRoomsNotebookTask
    Compute JobTaskForEachTaskTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    ConditionTask JobTaskForEachTaskTaskConditionTask
    DashboardTask JobTaskForEachTaskTaskDashboardTask
    DbtCloudTask JobTaskForEachTaskTaskDbtCloudTask
    DbtPlatformTask JobTaskForEachTaskTaskDbtPlatformTask
    DbtTask JobTaskForEachTaskTaskDbtTask
    DependsOns []JobTaskForEachTaskTaskDependsOn
    block specifying dependency(-ies) for a given task.
    Description string
    description for this task.
    DisableAutoOptimization bool
    A flag to disable auto optimization in serverless tasks.
    Disabled bool
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    EmailNotifications JobTaskForEachTaskTaskEmailNotifications
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    EnvironmentKey string
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    ExistingClusterId string
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    GenAiComputeTask JobTaskForEachTaskTaskGenAiComputeTask
    Health JobTaskForEachTaskTaskHealth
    block described below that specifies health conditions for a given task.
    JobClusterKey string
    Identifier of the Job cluster specified in the jobCluster block.
    Libraries []JobTaskForEachTaskTaskLibrary
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    MaxRetries int
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    MinRetryIntervalMillis int
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    NewCluster JobTaskForEachTaskTaskNewCluster
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    NotebookTask JobTaskForEachTaskTaskNotebookTask
    NotificationSettings JobTaskForEachTaskTaskNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    PipelineTask JobTaskForEachTaskTaskPipelineTask
    PowerBiTask JobTaskForEachTaskTaskPowerBiTask
    PythonOperatorTask JobTaskForEachTaskTaskPythonOperatorTask
    PythonWheelTask JobTaskForEachTaskTaskPythonWheelTask
    RetryOnTimeout bool
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    RunIf string
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    RunJobTask JobTaskForEachTaskTaskRunJobTask
    SparkJarTask JobTaskForEachTaskTaskSparkJarTask
    SparkPythonTask JobTaskForEachTaskTaskSparkPythonTask
    SparkSubmitTask JobTaskForEachTaskTaskSparkSubmitTask
    SqlTask JobTaskForEachTaskTaskSqlTask
    TimeoutSeconds int
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    WebhookNotifications JobTaskForEachTaskTaskWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    task_key string
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    ai_runtime_task object
    alert_task object
    clean_rooms_notebook_task object
    compute object

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    condition_task object
    dashboard_task object
    dbt_cloud_task object
    dbt_platform_task object
    dbt_task object
    depends_ons list(object)
    block specifying dependency(-ies) for a given task.
    description string
    description for this task.
    disable_auto_optimization bool
    A flag to disable auto optimization in serverless tasks.
    disabled bool
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    email_notifications object
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    environment_key string
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    existing_cluster_id string
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    gen_ai_compute_task object
    health object
    block described below that specifies health conditions for a given task.
    job_cluster_key string
    Identifier of the Job cluster specified in the jobCluster block.
    libraries list(object)
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    max_retries number
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    min_retry_interval_millis number
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    new_cluster object
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    notebook_task object
    notification_settings object
    An optional block controlling the notification settings on the job level documented below.
    pipeline_task object
    power_bi_task object
    python_operator_task object
    python_wheel_task object
    retry_on_timeout bool
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    run_if string
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    run_job_task object
    spark_jar_task object
    spark_python_task object
    spark_submit_task object
    sql_task object
    timeout_seconds number
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    webhook_notifications object
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    taskKey String
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    aiRuntimeTask JobTaskForEachTaskTaskAiRuntimeTask
    alertTask JobTaskForEachTaskTaskAlertTask
    cleanRoomsNotebookTask JobTaskForEachTaskTaskCleanRoomsNotebookTask
    compute JobTaskForEachTaskTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    conditionTask JobTaskForEachTaskTaskConditionTask
    dashboardTask JobTaskForEachTaskTaskDashboardTask
    dbtCloudTask JobTaskForEachTaskTaskDbtCloudTask
    dbtPlatformTask JobTaskForEachTaskTaskDbtPlatformTask
    dbtTask JobTaskForEachTaskTaskDbtTask
    dependsOns List<JobTaskForEachTaskTaskDependsOn>
    block specifying dependency(-ies) for a given task.
    description String
    description for this task.
    disableAutoOptimization Boolean
    A flag to disable auto optimization in serverless tasks.
    disabled Boolean
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    emailNotifications JobTaskForEachTaskTaskEmailNotifications
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    environmentKey String
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    existingClusterId String
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    genAiComputeTask JobTaskForEachTaskTaskGenAiComputeTask
    health JobTaskForEachTaskTaskHealth
    block described below that specifies health conditions for a given task.
    jobClusterKey String
    Identifier of the Job cluster specified in the jobCluster block.
    libraries List<JobTaskForEachTaskTaskLibrary>
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    maxRetries Integer
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    minRetryIntervalMillis Integer
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    newCluster JobTaskForEachTaskTaskNewCluster
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    notebookTask JobTaskForEachTaskTaskNotebookTask
    notificationSettings JobTaskForEachTaskTaskNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    pipelineTask JobTaskForEachTaskTaskPipelineTask
    powerBiTask JobTaskForEachTaskTaskPowerBiTask
    pythonOperatorTask JobTaskForEachTaskTaskPythonOperatorTask
    pythonWheelTask JobTaskForEachTaskTaskPythonWheelTask
    retryOnTimeout Boolean
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    runIf String
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    runJobTask JobTaskForEachTaskTaskRunJobTask
    sparkJarTask JobTaskForEachTaskTaskSparkJarTask
    sparkPythonTask JobTaskForEachTaskTaskSparkPythonTask
    sparkSubmitTask JobTaskForEachTaskTaskSparkSubmitTask
    sqlTask JobTaskForEachTaskTaskSqlTask
    timeoutSeconds Integer
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    webhookNotifications JobTaskForEachTaskTaskWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    taskKey string
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    aiRuntimeTask JobTaskForEachTaskTaskAiRuntimeTask
    alertTask JobTaskForEachTaskTaskAlertTask
    cleanRoomsNotebookTask JobTaskForEachTaskTaskCleanRoomsNotebookTask
    compute JobTaskForEachTaskTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    conditionTask JobTaskForEachTaskTaskConditionTask
    dashboardTask JobTaskForEachTaskTaskDashboardTask
    dbtCloudTask JobTaskForEachTaskTaskDbtCloudTask
    dbtPlatformTask JobTaskForEachTaskTaskDbtPlatformTask
    dbtTask JobTaskForEachTaskTaskDbtTask
    dependsOns JobTaskForEachTaskTaskDependsOn[]
    block specifying dependency(-ies) for a given task.
    description string
    description for this task.
    disableAutoOptimization boolean
    A flag to disable auto optimization in serverless tasks.
    disabled boolean
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    emailNotifications JobTaskForEachTaskTaskEmailNotifications
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    environmentKey string
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    existingClusterId string
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    genAiComputeTask JobTaskForEachTaskTaskGenAiComputeTask
    health JobTaskForEachTaskTaskHealth
    block described below that specifies health conditions for a given task.
    jobClusterKey string
    Identifier of the Job cluster specified in the jobCluster block.
    libraries JobTaskForEachTaskTaskLibrary[]
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    maxRetries number
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    minRetryIntervalMillis number
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    newCluster JobTaskForEachTaskTaskNewCluster
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    notebookTask JobTaskForEachTaskTaskNotebookTask
    notificationSettings JobTaskForEachTaskTaskNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    pipelineTask JobTaskForEachTaskTaskPipelineTask
    powerBiTask JobTaskForEachTaskTaskPowerBiTask
    pythonOperatorTask JobTaskForEachTaskTaskPythonOperatorTask
    pythonWheelTask JobTaskForEachTaskTaskPythonWheelTask
    retryOnTimeout boolean
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    runIf string
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    runJobTask JobTaskForEachTaskTaskRunJobTask
    sparkJarTask JobTaskForEachTaskTaskSparkJarTask
    sparkPythonTask JobTaskForEachTaskTaskSparkPythonTask
    sparkSubmitTask JobTaskForEachTaskTaskSparkSubmitTask
    sqlTask JobTaskForEachTaskTaskSqlTask
    timeoutSeconds number
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    webhookNotifications JobTaskForEachTaskTaskWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    task_key str
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    ai_runtime_task JobTaskForEachTaskTaskAiRuntimeTask
    alert_task JobTaskForEachTaskTaskAlertTask
    clean_rooms_notebook_task JobTaskForEachTaskTaskCleanRoomsNotebookTask
    compute JobTaskForEachTaskTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    condition_task JobTaskForEachTaskTaskConditionTask
    dashboard_task JobTaskForEachTaskTaskDashboardTask
    dbt_cloud_task JobTaskForEachTaskTaskDbtCloudTask
    dbt_platform_task JobTaskForEachTaskTaskDbtPlatformTask
    dbt_task JobTaskForEachTaskTaskDbtTask
    depends_ons Sequence[JobTaskForEachTaskTaskDependsOn]
    block specifying dependency(-ies) for a given task.
    description str
    description for this task.
    disable_auto_optimization bool
    A flag to disable auto optimization in serverless tasks.
    disabled bool
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    email_notifications JobTaskForEachTaskTaskEmailNotifications
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    environment_key str
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    existing_cluster_id str
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    gen_ai_compute_task JobTaskForEachTaskTaskGenAiComputeTask
    health JobTaskForEachTaskTaskHealth
    block described below that specifies health conditions for a given task.
    job_cluster_key str
    Identifier of the Job cluster specified in the jobCluster block.
    libraries Sequence[JobTaskForEachTaskTaskLibrary]
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    max_retries int
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    min_retry_interval_millis int
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    new_cluster JobTaskForEachTaskTaskNewCluster
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    notebook_task JobTaskForEachTaskTaskNotebookTask
    notification_settings JobTaskForEachTaskTaskNotificationSettings
    An optional block controlling the notification settings on the job level documented below.
    pipeline_task JobTaskForEachTaskTaskPipelineTask
    power_bi_task JobTaskForEachTaskTaskPowerBiTask
    python_operator_task JobTaskForEachTaskTaskPythonOperatorTask
    python_wheel_task JobTaskForEachTaskTaskPythonWheelTask
    retry_on_timeout bool
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    run_if str
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    run_job_task JobTaskForEachTaskTaskRunJobTask
    spark_jar_task JobTaskForEachTaskTaskSparkJarTask
    spark_python_task JobTaskForEachTaskTaskSparkPythonTask
    spark_submit_task JobTaskForEachTaskTaskSparkSubmitTask
    sql_task JobTaskForEachTaskTaskSqlTask
    timeout_seconds int
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    webhook_notifications JobTaskForEachTaskTaskWebhookNotifications
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.
    taskKey String
    string specifying an unique key for a given task.

    • *_task - (Required) one of the specific task blocks described below:
    aiRuntimeTask Property Map
    alertTask Property Map
    cleanRoomsNotebookTask Property Map
    compute Property Map

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    conditionTask Property Map
    dashboardTask Property Map
    dbtCloudTask Property Map
    dbtPlatformTask Property Map
    dbtTask Property Map
    dependsOns List<Property Map>
    block specifying dependency(-ies) for a given task.
    description String
    description for this task.
    disableAutoOptimization Boolean
    A flag to disable auto optimization in serverless tasks.
    disabled Boolean
    (Bool) An optional flag to disable the task. If set to true, the task will not run even if it is part of a job.
    emailNotifications Property Map
    An optional block to specify a set of email addresses notified when this task begins, completes or fails. The default behavior is to not send any emails. This block is documented below.
    environmentKey String
    identifier of an environment block that is used to specify libraries. Required for some tasks (sparkPythonTask, pythonWheelTask, ...) running on serverless compute.
    existingClusterId String
    Identifier of the interactive cluster to run job on. Note: running tasks on interactive clusters may lead to increased costs!
    genAiComputeTask Property Map
    health Property Map
    block described below that specifies health conditions for a given task.
    jobClusterKey String
    Identifier of the Job cluster specified in the jobCluster block.
    libraries List<Property Map>
    (Set) An optional list of libraries to be installed on the cluster that will execute the job.
    maxRetries Number
    (Integer) An optional maximum number of times to retry an unsuccessful run. A run is considered to be unsuccessful if it completes with a FAILED or INTERNAL_ERROR lifecycle state. The value -1 means to retry indefinitely and the value 0 means to never retry. The default behavior is to never retry. A run can have the following lifecycle state: PENDING, RUNNING, TERMINATING, TERMINATED, SKIPPED or INTERNAL_ERROR.
    minRetryIntervalMillis Number
    (Integer) An optional minimal interval in milliseconds between the start of the failed run and the subsequent retry run. The default behavior is that unsuccessful runs are immediately retried.
    newCluster Property Map
    Task will run on a dedicated cluster. See databricks.Cluster documentation for specification. Some parameters, such as autoterminationMinutes, isPinned, workloadType aren't supported!
    notebookTask Property Map
    notificationSettings Property Map
    An optional block controlling the notification settings on the job level documented below.
    pipelineTask Property Map
    powerBiTask Property Map
    pythonOperatorTask Property Map
    pythonWheelTask Property Map
    retryOnTimeout Boolean
    (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
    runIf String
    An optional value indicating the condition that determines whether the task should be run once its dependencies have been completed. One of ALL_SUCCESS, AT_LEAST_ONE_SUCCESS, NONE_FAILED, ALL_DONE, AT_LEAST_ONE_FAILED or ALL_FAILED. When omitted, defaults to ALL_SUCCESS.
    runJobTask Property Map
    sparkJarTask Property Map
    sparkPythonTask Property Map
    sparkSubmitTask Property Map
    sqlTask Property Map
    timeoutSeconds Number
    (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
    webhookNotifications Property Map
    (List) An optional set of system destinations (for example, webhook destinations or Slack) to be notified when runs of this task begins, completes or fails. The default behavior is to not send any notifications. This field is a block and is documented below.

    JobTaskForEachTaskTaskAiRuntimeTask, JobTaskForEachTaskTaskAiRuntimeTaskArgs

    JobTaskForEachTaskTaskAiRuntimeTaskDeployment, JobTaskForEachTaskTaskAiRuntimeTaskDeploymentArgs

    CommandPath string
    Compute JobTaskForEachTaskTaskAiRuntimeTaskDeploymentCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    Name string
    An optional name for the job. The default value is Untitled.
    CommandPath string
    Compute JobTaskForEachTaskTaskAiRuntimeTaskDeploymentCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    Name string
    An optional name for the job. The default value is Untitled.
    command_path string
    compute object

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    name string
    An optional name for the job. The default value is Untitled.
    commandPath String
    compute JobTaskForEachTaskTaskAiRuntimeTaskDeploymentCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    name String
    An optional name for the job. The default value is Untitled.
    commandPath string
    compute JobTaskForEachTaskTaskAiRuntimeTaskDeploymentCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    name string
    An optional name for the job. The default value is Untitled.
    command_path str
    compute JobTaskForEachTaskTaskAiRuntimeTaskDeploymentCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    name str
    An optional name for the job. The default value is Untitled.
    commandPath String
    compute Property Map

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    name String
    An optional name for the job. The default value is Untitled.

    JobTaskForEachTaskTaskAiRuntimeTaskDeploymentCompute, JobTaskForEachTaskTaskAiRuntimeTaskDeploymentComputeArgs

    JobTaskForEachTaskTaskAlertTask, JobTaskForEachTaskTaskAlertTaskArgs

    AlertId string
    (String) identifier of the Databricks Alert (databricks_alert).
    Parameters Dictionary<string, string>
    Subscribers List<JobTaskForEachTaskTaskAlertTaskSubscriber>
    The list of subscribers to send the snapshot of the dashboard to.
    WarehouseId string
    WorkspacePath string
    AlertId string
    (String) identifier of the Databricks Alert (databricks_alert).
    Parameters map[string]string
    Subscribers []JobTaskForEachTaskTaskAlertTaskSubscriber
    The list of subscribers to send the snapshot of the dashboard to.
    WarehouseId string
    WorkspacePath string
    alert_id string
    (String) identifier of the Databricks Alert (databricks_alert).
    parameters map(string)
    subscribers list(object)
    The list of subscribers to send the snapshot of the dashboard to.
    warehouse_id string
    workspace_path string
    alertId String
    (String) identifier of the Databricks Alert (databricks_alert).
    parameters Map<String,String>
    subscribers List<JobTaskForEachTaskTaskAlertTaskSubscriber>
    The list of subscribers to send the snapshot of the dashboard to.
    warehouseId String
    workspacePath String
    alertId string
    (String) identifier of the Databricks Alert (databricks_alert).
    parameters {[key: string]: string}
    subscribers JobTaskForEachTaskTaskAlertTaskSubscriber[]
    The list of subscribers to send the snapshot of the dashboard to.
    warehouseId string
    workspacePath string
    alert_id str
    (String) identifier of the Databricks Alert (databricks_alert).
    parameters Mapping[str, str]
    subscribers Sequence[JobTaskForEachTaskTaskAlertTaskSubscriber]
    The list of subscribers to send the snapshot of the dashboard to.
    warehouse_id str
    workspace_path str
    alertId String
    (String) identifier of the Databricks Alert (databricks_alert).
    parameters Map<String>
    subscribers List<Property Map>
    The list of subscribers to send the snapshot of the dashboard to.
    warehouseId String
    workspacePath String

    JobTaskForEachTaskTaskAlertTaskSubscriber, JobTaskForEachTaskTaskAlertTaskSubscriberArgs

    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    destination_id string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name string
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String
    destinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName string
    destination_id str
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name str
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String

    JobTaskForEachTaskTaskCleanRoomsNotebookTask, JobTaskForEachTaskTaskCleanRoomsNotebookTaskArgs

    CleanRoomName string
    The clean room that the notebook belongs to.
    NotebookName string
    Name of the notebook being run.
    Etag string
    Checksum to validate the freshness of the notebook resource.
    NotebookBaseParameters Dictionary<string, string>
    Base parameters to be used for the clean room notebook job.
    CleanRoomName string
    The clean room that the notebook belongs to.
    NotebookName string
    Name of the notebook being run.
    Etag string
    Checksum to validate the freshness of the notebook resource.
    NotebookBaseParameters map[string]string
    Base parameters to be used for the clean room notebook job.
    clean_room_name string
    The clean room that the notebook belongs to.
    notebook_name string
    Name of the notebook being run.
    etag string
    Checksum to validate the freshness of the notebook resource.
    notebook_base_parameters map(string)
    Base parameters to be used for the clean room notebook job.
    cleanRoomName String
    The clean room that the notebook belongs to.
    notebookName String
    Name of the notebook being run.
    etag String
    Checksum to validate the freshness of the notebook resource.
    notebookBaseParameters Map<String,String>
    Base parameters to be used for the clean room notebook job.
    cleanRoomName string
    The clean room that the notebook belongs to.
    notebookName string
    Name of the notebook being run.
    etag string
    Checksum to validate the freshness of the notebook resource.
    notebookBaseParameters {[key: string]: string}
    Base parameters to be used for the clean room notebook job.
    clean_room_name str
    The clean room that the notebook belongs to.
    notebook_name str
    Name of the notebook being run.
    etag str
    Checksum to validate the freshness of the notebook resource.
    notebook_base_parameters Mapping[str, str]
    Base parameters to be used for the clean room notebook job.
    cleanRoomName String
    The clean room that the notebook belongs to.
    notebookName String
    Name of the notebook being run.
    etag String
    Checksum to validate the freshness of the notebook resource.
    notebookBaseParameters Map<String>
    Base parameters to be used for the clean room notebook job.

    JobTaskForEachTaskTaskCompute, JobTaskForEachTaskTaskComputeArgs

    HardwareAccelerator string
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.
    HardwareAccelerator string
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.
    hardware_accelerator string
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.
    hardwareAccelerator String
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.
    hardwareAccelerator string
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.
    hardware_accelerator str
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.
    hardwareAccelerator String
    Hardware accelerator configuration for Serverless GPU workloads. Supported values are:

    • GPU_1xA10: GPU_1xA10: Single A10 GPU configuration.
    • GPU_8xH100: GPU_8xH100: 8x H100 GPU configuration.

    JobTaskForEachTaskTaskConditionTask, JobTaskForEachTaskTaskConditionTaskArgs

    Left string
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    Op string

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    Right string
    The right operand of the condition task. It could be a string value, job state, or parameter reference.
    Left string
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    Op string

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    Right string
    The right operand of the condition task. It could be a string value, job state, or parameter reference.
    left string
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    op string

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    right string
    The right operand of the condition task. It could be a string value, job state, or parameter reference.
    left String
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    op String

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    right String
    The right operand of the condition task. It could be a string value, job state, or parameter reference.
    left string
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    op string

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    right string
    The right operand of the condition task. It could be a string value, job state, or parameter reference.
    left str
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    op str

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    right str
    The right operand of the condition task. It could be a string value, job state, or parameter reference.
    left String
    The left operand of the condition task. It could be a string value, job state, or a parameter reference.
    op String

    The string specifying the operation used to compare operands. Currently, following operators are supported: EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL. (Check the API docs for the latest information).

    This task does not require a cluster to execute and does not support retries or notifications.

    right String
    The right operand of the condition task. It could be a string value, job state, or parameter reference.

    JobTaskForEachTaskTaskDashboardTask, JobTaskForEachTaskTaskDashboardTaskArgs

    DashboardId string
    The identifier of the dashboard to refresh
    Filters Dictionary<string, string>
    Subscription JobTaskForEachTaskTaskDashboardTaskSubscription
    Represents a subscription configuration for scheduled dashboard snapshots.
    WarehouseId string
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard
    DashboardId string
    The identifier of the dashboard to refresh
    Filters map[string]string
    Subscription JobTaskForEachTaskTaskDashboardTaskSubscription
    Represents a subscription configuration for scheduled dashboard snapshots.
    WarehouseId string
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard
    dashboard_id string
    The identifier of the dashboard to refresh
    filters map(string)
    subscription object
    Represents a subscription configuration for scheduled dashboard snapshots.
    warehouse_id string
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard
    dashboardId String
    The identifier of the dashboard to refresh
    filters Map<String,String>
    subscription JobTaskForEachTaskTaskDashboardTaskSubscription
    Represents a subscription configuration for scheduled dashboard snapshots.
    warehouseId String
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard
    dashboardId string
    The identifier of the dashboard to refresh
    filters {[key: string]: string}
    subscription JobTaskForEachTaskTaskDashboardTaskSubscription
    Represents a subscription configuration for scheduled dashboard snapshots.
    warehouseId string
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard
    dashboard_id str
    The identifier of the dashboard to refresh
    filters Mapping[str, str]
    subscription JobTaskForEachTaskTaskDashboardTaskSubscription
    Represents a subscription configuration for scheduled dashboard snapshots.
    warehouse_id str
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard
    dashboardId String
    The identifier of the dashboard to refresh
    filters Map<String>
    subscription Property Map
    Represents a subscription configuration for scheduled dashboard snapshots.
    warehouseId String
    The warehouse id to execute the dashboard with for the schedule. If not specified, will use the default warehouse of dashboard

    JobTaskForEachTaskTaskDashboardTaskSubscription, JobTaskForEachTaskTaskDashboardTaskSubscriptionArgs

    CustomSubject string
    Allows users to specify a custom subject line on the email sent to subscribers.
    Paused bool
    When true, the subscription will not send emails.
    Subscribers List<JobTaskForEachTaskTaskDashboardTaskSubscriptionSubscriber>
    The list of subscribers to send the snapshot of the dashboard to.
    CustomSubject string
    Allows users to specify a custom subject line on the email sent to subscribers.
    Paused bool
    When true, the subscription will not send emails.
    Subscribers []JobTaskForEachTaskTaskDashboardTaskSubscriptionSubscriber
    The list of subscribers to send the snapshot of the dashboard to.
    custom_subject string
    Allows users to specify a custom subject line on the email sent to subscribers.
    paused bool
    When true, the subscription will not send emails.
    subscribers list(object)
    The list of subscribers to send the snapshot of the dashboard to.
    customSubject String
    Allows users to specify a custom subject line on the email sent to subscribers.
    paused Boolean
    When true, the subscription will not send emails.
    subscribers List<JobTaskForEachTaskTaskDashboardTaskSubscriptionSubscriber>
    The list of subscribers to send the snapshot of the dashboard to.
    customSubject string
    Allows users to specify a custom subject line on the email sent to subscribers.
    paused boolean
    When true, the subscription will not send emails.
    subscribers JobTaskForEachTaskTaskDashboardTaskSubscriptionSubscriber[]
    The list of subscribers to send the snapshot of the dashboard to.
    custom_subject str
    Allows users to specify a custom subject line on the email sent to subscribers.
    paused bool
    When true, the subscription will not send emails.
    subscribers Sequence[JobTaskForEachTaskTaskDashboardTaskSubscriptionSubscriber]
    The list of subscribers to send the snapshot of the dashboard to.
    customSubject String
    Allows users to specify a custom subject line on the email sent to subscribers.
    paused Boolean
    When true, the subscription will not send emails.
    subscribers List<Property Map>
    The list of subscribers to send the snapshot of the dashboard to.

    JobTaskForEachTaskTaskDashboardTaskSubscriptionSubscriber, JobTaskForEachTaskTaskDashboardTaskSubscriptionSubscriberArgs

    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.
    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.
    destination_id string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name string
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.
    destinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName string
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.
    destination_id str
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name str
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String
    A snapshot of the dashboard will be sent to the user's email when the userName field is present.

    JobTaskForEachTaskTaskDbtCloudTask, JobTaskForEachTaskTaskDbtCloudTaskArgs

    ConnectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    DbtCloudJobId int
    ConnectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    DbtCloudJobId int
    connection_resource_name string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbt_cloud_job_id number
    connectionResourceName String
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbtCloudJobId Integer
    connectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbtCloudJobId number
    connection_resource_name str
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbt_cloud_job_id int
    connectionResourceName String
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbtCloudJobId Number

    JobTaskForEachTaskTaskDbtPlatformTask, JobTaskForEachTaskTaskDbtPlatformTaskArgs

    ConnectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    DbtPlatformJobId string
    ConnectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    DbtPlatformJobId string
    connection_resource_name string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbt_platform_job_id string
    connectionResourceName String
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbtPlatformJobId String
    connectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbtPlatformJobId string
    connection_resource_name str
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbt_platform_job_id str
    connectionResourceName String
    The resource name of the UC connection to authenticate from Databricks to Power BI
    dbtPlatformJobId String

    JobTaskForEachTaskTaskDbtTask, JobTaskForEachTaskTaskDbtTaskArgs

    Commands List<string>
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    Catalog string
    The name of the catalog to use inside Unity Catalog.
    ProfilesDirectory string
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    ProjectDirectory string
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    Schema string
    The name of the schema dbt should run in. Defaults to default.
    Source string
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    WarehouseId string

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    Commands []string
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    Catalog string
    The name of the catalog to use inside Unity Catalog.
    ProfilesDirectory string
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    ProjectDirectory string
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    Schema string
    The name of the schema dbt should run in. Defaults to default.
    Source string
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    WarehouseId string

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands list(string)
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog string
    The name of the catalog to use inside Unity Catalog.
    profiles_directory string
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    project_directory string
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema string
    The name of the schema dbt should run in. Defaults to default.
    source string
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouse_id string

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands List<String>
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog String
    The name of the catalog to use inside Unity Catalog.
    profilesDirectory String
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    projectDirectory String
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema String
    The name of the schema dbt should run in. Defaults to default.
    source String
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouseId String

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands string[]
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog string
    The name of the catalog to use inside Unity Catalog.
    profilesDirectory string
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    projectDirectory string
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema string
    The name of the schema dbt should run in. Defaults to default.
    source string
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouseId string

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands Sequence[str]
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog str
    The name of the catalog to use inside Unity Catalog.
    profiles_directory str
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    project_directory str
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema str
    The name of the schema dbt should run in. Defaults to default.
    source str
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouse_id str

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    commands List<String>
    (Array) Series of dbt commands to execute in sequence. Every command must start with "dbt".
    catalog String
    The name of the catalog to use inside Unity Catalog.
    profilesDirectory String
    The relative path to the directory in the repository specified by gitSource where dbt should look in for the profiles.yml file. If not specified, defaults to the repository's root directory. Equivalent to passing --profile-dir to a dbt command.
    projectDirectory String
    The path where dbt should look for dbt_project.yml. Equivalent to passing --project-dir to the dbt CLI.

    • If source is GIT: Relative path to the directory in the repository specified in the gitSource block. Defaults to the repository's root directory when not specified.
    • If source is WORKSPACE: Absolute path to the folder in the workspace.
    schema String
    The name of the schema dbt should run in. Defaults to default.
    source String
    The source of the project. Possible values are WORKSPACE and GIT. Defaults to GIT if a gitSource block is present in the job definition.
    warehouseId String

    The ID of the SQL warehouse that dbt should execute against.

    You also need to include a gitSource block to configure the repository that contains the dbt project.

    JobTaskForEachTaskTaskDependsOn, JobTaskForEachTaskTaskDependsOnArgs

    TaskKey string
    The name of the task this task depends on.
    Outcome string

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    TaskKey string
    The name of the task this task depends on.
    Outcome string

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    task_key string
    The name of the task this task depends on.
    outcome string

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    taskKey String
    The name of the task this task depends on.
    outcome String

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    taskKey string
    The name of the task this task depends on.
    outcome string

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    task_key str
    The name of the task this task depends on.
    outcome str

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    taskKey String
    The name of the task this task depends on.
    outcome String

    Can only be specified on condition task dependencies. The outcome of the dependent task that must be met for this task to run. Possible values are "true" or "false".

    Similar to the tasks themselves, each dependency inside the task need to be declared in alphabetical order with respect to taskKey in order to get consistent Pulumi diffs.

    JobTaskForEachTaskTaskEmailNotifications, JobTaskForEachTaskTaskEmailNotificationsArgs

    NoAlertForSkippedRuns bool
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    OnDurationWarningThresholdExceededs List<string>
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    OnFailures List<string>
    (List) list of emails to notify when the run fails.
    OnStarts List<string>
    (List) list of emails to notify when the run starts.
    OnStreamingBacklogExceededs List<string>

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    OnSuccesses List<string>
    (List) list of emails to notify when the run completes successfully.
    NoAlertForSkippedRuns bool
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    OnDurationWarningThresholdExceededs []string
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    OnFailures []string
    (List) list of emails to notify when the run fails.
    OnStarts []string
    (List) list of emails to notify when the run starts.
    OnStreamingBacklogExceededs []string

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    OnSuccesses []string
    (List) list of emails to notify when the run completes successfully.
    no_alert_for_skipped_runs bool
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    on_duration_warning_threshold_exceededs list(string)
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    on_failures list(string)
    (List) list of emails to notify when the run fails.
    on_starts list(string)
    (List) list of emails to notify when the run starts.
    on_streaming_backlog_exceededs list(string)

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    on_successes list(string)
    (List) list of emails to notify when the run completes successfully.
    noAlertForSkippedRuns Boolean
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    onDurationWarningThresholdExceededs List<String>
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures List<String>
    (List) list of emails to notify when the run fails.
    onStarts List<String>
    (List) list of emails to notify when the run starts.
    onStreamingBacklogExceededs List<String>

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    onSuccesses List<String>
    (List) list of emails to notify when the run completes successfully.
    noAlertForSkippedRuns boolean
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    onDurationWarningThresholdExceededs string[]
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures string[]
    (List) list of emails to notify when the run fails.
    onStarts string[]
    (List) list of emails to notify when the run starts.
    onStreamingBacklogExceededs string[]

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    onSuccesses string[]
    (List) list of emails to notify when the run completes successfully.
    no_alert_for_skipped_runs bool
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    on_duration_warning_threshold_exceededs Sequence[str]
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    on_failures Sequence[str]
    (List) list of emails to notify when the run fails.
    on_starts Sequence[str]
    (List) list of emails to notify when the run starts.
    on_streaming_backlog_exceededs Sequence[str]

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    on_successes Sequence[str]
    (List) list of emails to notify when the run completes successfully.
    noAlertForSkippedRuns Boolean
    (Bool) don't send alert for skipped runs. (It's recommended to use the corresponding setting in the notificationSettings configuration block).
    onDurationWarningThresholdExceededs List<String>
    (List) list of emails to notify when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures List<String>
    (List) list of emails to notify when the run fails.
    onStarts List<String>
    (List) list of emails to notify when the run starts.
    onStreamingBacklogExceededs List<String>

    (List) list of emails to notify when any streaming backlog thresholds are exceeded for any stream.

    The following parameter is only available for the job level configuration.

    onSuccesses List<String>
    (List) list of emails to notify when the run completes successfully.

    JobTaskForEachTaskTaskGenAiComputeTask, JobTaskForEachTaskTaskGenAiComputeTaskArgs

    DlRuntimeImage string
    Command string
    Compute JobTaskForEachTaskTaskGenAiComputeTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    MlflowExperimentName string
    Source string
    TrainingScriptPath string
    YamlParameters string
    YamlParametersFilePath string
    DlRuntimeImage string
    Command string
    Compute JobTaskForEachTaskTaskGenAiComputeTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    MlflowExperimentName string
    Source string
    TrainingScriptPath string
    YamlParameters string
    YamlParametersFilePath string
    dl_runtime_image string
    command string
    compute object

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    mlflow_experiment_name string
    source string
    training_script_path string
    yaml_parameters string
    yaml_parameters_file_path string
    dlRuntimeImage String
    command String
    compute JobTaskForEachTaskTaskGenAiComputeTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    mlflowExperimentName String
    source String
    trainingScriptPath String
    yamlParameters String
    yamlParametersFilePath String
    dlRuntimeImage string
    command string
    compute JobTaskForEachTaskTaskGenAiComputeTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    mlflowExperimentName string
    source string
    trainingScriptPath string
    yamlParameters string
    yamlParametersFilePath string
    dl_runtime_image str
    command str
    compute JobTaskForEachTaskTaskGenAiComputeTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    mlflow_experiment_name str
    source str
    training_script_path str
    yaml_parameters str
    yaml_parameters_file_path str
    dlRuntimeImage String
    command String
    compute Property Map

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    mlflowExperimentName String
    source String
    trainingScriptPath String
    yamlParameters String
    yamlParametersFilePath String

    JobTaskForEachTaskTaskGenAiComputeTaskCompute, JobTaskForEachTaskTaskGenAiComputeTaskComputeArgs

    NumGpus int
    GpuNodePoolId string
    GpuType string
    NumGpus int
    GpuNodePoolId string
    GpuType string
    numGpus Integer
    gpuNodePoolId String
    gpuType String
    numGpus number
    gpuNodePoolId string
    gpuType string
    numGpus Number
    gpuNodePoolId String
    gpuType String

    JobTaskForEachTaskTaskHealth, JobTaskForEachTaskTaskHealthArgs

    Rules List<JobTaskForEachTaskTaskHealthRule>
    list of rules that are represented as objects with the following attributes:
    Rules []JobTaskForEachTaskTaskHealthRule
    list of rules that are represented as objects with the following attributes:
    rules list(object)
    list of rules that are represented as objects with the following attributes:
    rules List<JobTaskForEachTaskTaskHealthRule>
    list of rules that are represented as objects with the following attributes:
    rules JobTaskForEachTaskTaskHealthRule[]
    list of rules that are represented as objects with the following attributes:
    rules Sequence[JobTaskForEachTaskTaskHealthRule]
    list of rules that are represented as objects with the following attributes:
    rules List<Property Map>
    list of rules that are represented as objects with the following attributes:

    JobTaskForEachTaskTaskHealthRule, JobTaskForEachTaskTaskHealthRuleArgs

    Metric string
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    Op string
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    Value int
    integer value used to compare to the given metric.
    Metric string
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    Op string
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    Value int
    integer value used to compare to the given metric.
    metric string
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op string
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value number
    integer value used to compare to the given metric.
    metric String
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op String
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value Integer
    integer value used to compare to the given metric.
    metric string
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op string
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value number
    integer value used to compare to the given metric.
    metric str
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op str
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value int
    integer value used to compare to the given metric.
    metric String
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op String
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value Number
    integer value used to compare to the given metric.

    JobTaskForEachTaskTaskLibrary, JobTaskForEachTaskTaskLibraryArgs

    Cran JobTaskForEachTaskTaskLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobTaskForEachTaskTaskLibraryMaven
    ProviderConfig JobTaskForEachTaskTaskLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobTaskForEachTaskTaskLibraryPypi
    Requirements string
    Whl string
    Cran JobTaskForEachTaskTaskLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobTaskForEachTaskTaskLibraryMaven
    ProviderConfig JobTaskForEachTaskTaskLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobTaskForEachTaskTaskLibraryPypi
    Requirements string
    Whl string
    cran object
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven object
    provider_config object
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi object
    requirements string
    whl string
    cran JobTaskForEachTaskTaskLibraryCran
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven JobTaskForEachTaskTaskLibraryMaven
    providerConfig JobTaskForEachTaskTaskLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobTaskForEachTaskTaskLibraryPypi
    requirements String
    whl String
    cran JobTaskForEachTaskTaskLibraryCran
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven JobTaskForEachTaskTaskLibraryMaven
    providerConfig JobTaskForEachTaskTaskLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobTaskForEachTaskTaskLibraryPypi
    requirements string
    whl string
    cran JobTaskForEachTaskTaskLibraryCran
    egg str

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar str
    maven JobTaskForEachTaskTaskLibraryMaven
    provider_config JobTaskForEachTaskTaskLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobTaskForEachTaskTaskLibraryPypi
    requirements str
    whl str
    cran Property Map
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven Property Map
    providerConfig Property Map
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi Property Map
    requirements String
    whl String

    JobTaskForEachTaskTaskLibraryCran, JobTaskForEachTaskTaskLibraryCranArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobTaskForEachTaskTaskLibraryMaven, JobTaskForEachTaskTaskLibraryMavenArgs

    Coordinates string
    Exclusions List<string>
    Repo string
    Coordinates string
    Exclusions []string
    Repo string
    coordinates string
    exclusions list(string)
    repo string
    coordinates String
    exclusions List<String>
    repo String
    coordinates string
    exclusions string[]
    repo string
    coordinates str
    exclusions Sequence[str]
    repo str
    coordinates String
    exclusions List<String>
    repo String

    JobTaskForEachTaskTaskLibraryProviderConfig, JobTaskForEachTaskTaskLibraryProviderConfigArgs

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    JobTaskForEachTaskTaskLibraryPypi, JobTaskForEachTaskTaskLibraryPypiArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobTaskForEachTaskTaskNewCluster, JobTaskForEachTaskTaskNewClusterArgs

    ApplyPolicyDefaultValues bool
    Autoscale JobTaskForEachTaskTaskNewClusterAutoscale
    AwsAttributes JobTaskForEachTaskTaskNewClusterAwsAttributes
    AzureAttributes JobTaskForEachTaskTaskNewClusterAzureAttributes
    ClusterId string
    ClusterLogConf JobTaskForEachTaskTaskNewClusterClusterLogConf
    ClusterMountInfos List<JobTaskForEachTaskTaskNewClusterClusterMountInfo>
    ClusterName string
    CustomTags Dictionary<string, string>
    DataSecurityMode string
    DependencyMode string
    DockerImage JobTaskForEachTaskTaskNewClusterDockerImage
    DriverInstancePoolId string
    DriverNodeTypeFlexibility JobTaskForEachTaskTaskNewClusterDriverNodeTypeFlexibility
    DriverNodeTypeId string
    EnableElasticDisk bool
    EnableLocalDiskEncryption bool
    GcpAttributes JobTaskForEachTaskTaskNewClusterGcpAttributes
    IdempotencyToken string
    InitScripts List<JobTaskForEachTaskTaskNewClusterInitScript>
    InstancePoolId string
    IsSingleNode bool
    Kind string
    Libraries List<JobTaskForEachTaskTaskNewClusterLibrary>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    NodeTypeId string
    NumWorkers int
    PolicyId string
    ProviderConfig JobTaskForEachTaskTaskNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    RemoteDiskThroughput int
    RuntimeEngine string
    SingleUserName string
    SparkConf Dictionary<string, string>
    SparkEnvVars Dictionary<string, string>
    SparkVersion string
    SshPublicKeys List<string>
    TotalInitialRemoteDiskSize int
    UseMlRuntime bool
    WorkerNodeTypeFlexibility JobTaskForEachTaskTaskNewClusterWorkerNodeTypeFlexibility
    WorkloadType JobTaskForEachTaskTaskNewClusterWorkloadType
    isn't supported
    ApplyPolicyDefaultValues bool
    Autoscale JobTaskForEachTaskTaskNewClusterAutoscale
    AwsAttributes JobTaskForEachTaskTaskNewClusterAwsAttributes
    AzureAttributes JobTaskForEachTaskTaskNewClusterAzureAttributes
    ClusterId string
    ClusterLogConf JobTaskForEachTaskTaskNewClusterClusterLogConf
    ClusterMountInfos []JobTaskForEachTaskTaskNewClusterClusterMountInfo
    ClusterName string
    CustomTags map[string]string
    DataSecurityMode string
    DependencyMode string
    DockerImage JobTaskForEachTaskTaskNewClusterDockerImage
    DriverInstancePoolId string
    DriverNodeTypeFlexibility JobTaskForEachTaskTaskNewClusterDriverNodeTypeFlexibility
    DriverNodeTypeId string
    EnableElasticDisk bool
    EnableLocalDiskEncryption bool
    GcpAttributes JobTaskForEachTaskTaskNewClusterGcpAttributes
    IdempotencyToken string
    InitScripts []JobTaskForEachTaskTaskNewClusterInitScript
    InstancePoolId string
    IsSingleNode bool
    Kind string
    Libraries []JobTaskForEachTaskTaskNewClusterLibrary
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    NodeTypeId string
    NumWorkers int
    PolicyId string
    ProviderConfig JobTaskForEachTaskTaskNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    RemoteDiskThroughput int
    RuntimeEngine string
    SingleUserName string
    SparkConf map[string]string
    SparkEnvVars map[string]string
    SparkVersion string
    SshPublicKeys []string
    TotalInitialRemoteDiskSize int
    UseMlRuntime bool
    WorkerNodeTypeFlexibility JobTaskForEachTaskTaskNewClusterWorkerNodeTypeFlexibility
    WorkloadType JobTaskForEachTaskTaskNewClusterWorkloadType
    isn't supported
    apply_policy_default_values bool
    autoscale object
    aws_attributes object
    azure_attributes object
    cluster_id string
    cluster_log_conf object
    cluster_mount_infos list(object)
    cluster_name string
    custom_tags map(string)
    data_security_mode string
    dependency_mode string
    docker_image object
    driver_instance_pool_id string
    driver_node_type_flexibility object
    driver_node_type_id string
    enable_elastic_disk bool
    enable_local_disk_encryption bool
    gcp_attributes object
    idempotency_token string
    init_scripts list(object)
    instance_pool_id string
    is_single_node bool
    kind string
    libraries list(object)
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    node_type_id string
    num_workers number
    policy_id string
    provider_config object
    Configure the provider for management through account provider. This block consists of the following fields:
    remote_disk_throughput number
    runtime_engine string
    single_user_name string
    spark_conf map(string)
    spark_env_vars map(string)
    spark_version string
    ssh_public_keys list(string)
    total_initial_remote_disk_size number
    use_ml_runtime bool
    worker_node_type_flexibility object
    workload_type object
    isn't supported
    applyPolicyDefaultValues Boolean
    autoscale JobTaskForEachTaskTaskNewClusterAutoscale
    awsAttributes JobTaskForEachTaskTaskNewClusterAwsAttributes
    azureAttributes JobTaskForEachTaskTaskNewClusterAzureAttributes
    clusterId String
    clusterLogConf JobTaskForEachTaskTaskNewClusterClusterLogConf
    clusterMountInfos List<JobTaskForEachTaskTaskNewClusterClusterMountInfo>
    clusterName String
    customTags Map<String,String>
    dataSecurityMode String
    dependencyMode String
    dockerImage JobTaskForEachTaskTaskNewClusterDockerImage
    driverInstancePoolId String
    driverNodeTypeFlexibility JobTaskForEachTaskTaskNewClusterDriverNodeTypeFlexibility
    driverNodeTypeId String
    enableElasticDisk Boolean
    enableLocalDiskEncryption Boolean
    gcpAttributes JobTaskForEachTaskTaskNewClusterGcpAttributes
    idempotencyToken String
    initScripts List<JobTaskForEachTaskTaskNewClusterInitScript>
    instancePoolId String
    isSingleNode Boolean
    kind String
    libraries List<JobTaskForEachTaskTaskNewClusterLibrary>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    nodeTypeId String
    numWorkers Integer
    policyId String
    providerConfig JobTaskForEachTaskTaskNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    remoteDiskThroughput Integer
    runtimeEngine String
    singleUserName String
    sparkConf Map<String,String>
    sparkEnvVars Map<String,String>
    sparkVersion String
    sshPublicKeys List<String>
    totalInitialRemoteDiskSize Integer
    useMlRuntime Boolean
    workerNodeTypeFlexibility JobTaskForEachTaskTaskNewClusterWorkerNodeTypeFlexibility
    workloadType JobTaskForEachTaskTaskNewClusterWorkloadType
    isn't supported
    applyPolicyDefaultValues boolean
    autoscale JobTaskForEachTaskTaskNewClusterAutoscale
    awsAttributes JobTaskForEachTaskTaskNewClusterAwsAttributes
    azureAttributes JobTaskForEachTaskTaskNewClusterAzureAttributes
    clusterId string
    clusterLogConf JobTaskForEachTaskTaskNewClusterClusterLogConf
    clusterMountInfos JobTaskForEachTaskTaskNewClusterClusterMountInfo[]
    clusterName string
    customTags {[key: string]: string}
    dataSecurityMode string
    dependencyMode string
    dockerImage JobTaskForEachTaskTaskNewClusterDockerImage
    driverInstancePoolId string
    driverNodeTypeFlexibility JobTaskForEachTaskTaskNewClusterDriverNodeTypeFlexibility
    driverNodeTypeId string
    enableElasticDisk boolean
    enableLocalDiskEncryption boolean
    gcpAttributes JobTaskForEachTaskTaskNewClusterGcpAttributes
    idempotencyToken string
    initScripts JobTaskForEachTaskTaskNewClusterInitScript[]
    instancePoolId string
    isSingleNode boolean
    kind string
    libraries JobTaskForEachTaskTaskNewClusterLibrary[]
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    nodeTypeId string
    numWorkers number
    policyId string
    providerConfig JobTaskForEachTaskTaskNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    remoteDiskThroughput number
    runtimeEngine string
    singleUserName string
    sparkConf {[key: string]: string}
    sparkEnvVars {[key: string]: string}
    sparkVersion string
    sshPublicKeys string[]
    totalInitialRemoteDiskSize number
    useMlRuntime boolean
    workerNodeTypeFlexibility JobTaskForEachTaskTaskNewClusterWorkerNodeTypeFlexibility
    workloadType JobTaskForEachTaskTaskNewClusterWorkloadType
    isn't supported
    apply_policy_default_values bool
    autoscale JobTaskForEachTaskTaskNewClusterAutoscale
    aws_attributes JobTaskForEachTaskTaskNewClusterAwsAttributes
    azure_attributes JobTaskForEachTaskTaskNewClusterAzureAttributes
    cluster_id str
    cluster_log_conf JobTaskForEachTaskTaskNewClusterClusterLogConf
    cluster_mount_infos Sequence[JobTaskForEachTaskTaskNewClusterClusterMountInfo]
    cluster_name str
    custom_tags Mapping[str, str]
    data_security_mode str
    dependency_mode str
    docker_image JobTaskForEachTaskTaskNewClusterDockerImage
    driver_instance_pool_id str
    driver_node_type_flexibility JobTaskForEachTaskTaskNewClusterDriverNodeTypeFlexibility
    driver_node_type_id str
    enable_elastic_disk bool
    enable_local_disk_encryption bool
    gcp_attributes JobTaskForEachTaskTaskNewClusterGcpAttributes
    idempotency_token str
    init_scripts Sequence[JobTaskForEachTaskTaskNewClusterInitScript]
    instance_pool_id str
    is_single_node bool
    kind str
    libraries Sequence[JobTaskForEachTaskTaskNewClusterLibrary]
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    node_type_id str
    num_workers int
    policy_id str
    provider_config JobTaskForEachTaskTaskNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    remote_disk_throughput int
    runtime_engine str
    single_user_name str
    spark_conf Mapping[str, str]
    spark_env_vars Mapping[str, str]
    spark_version str
    ssh_public_keys Sequence[str]
    total_initial_remote_disk_size int
    use_ml_runtime bool
    worker_node_type_flexibility JobTaskForEachTaskTaskNewClusterWorkerNodeTypeFlexibility
    workload_type JobTaskForEachTaskTaskNewClusterWorkloadType
    isn't supported
    applyPolicyDefaultValues Boolean
    autoscale Property Map
    awsAttributes Property Map
    azureAttributes Property Map
    clusterId String
    clusterLogConf Property Map
    clusterMountInfos List<Property Map>
    clusterName String
    customTags Map<String>
    dataSecurityMode String
    dependencyMode String
    dockerImage Property Map
    driverInstancePoolId String
    driverNodeTypeFlexibility Property Map
    driverNodeTypeId String
    enableElasticDisk Boolean
    enableLocalDiskEncryption Boolean
    gcpAttributes Property Map
    idempotencyToken String
    initScripts List<Property Map>
    instancePoolId String
    isSingleNode Boolean
    kind String
    libraries List<Property Map>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    nodeTypeId String
    numWorkers Number
    policyId String
    providerConfig Property Map
    Configure the provider for management through account provider. This block consists of the following fields:
    remoteDiskThroughput Number
    runtimeEngine String
    singleUserName String
    sparkConf Map<String>
    sparkEnvVars Map<String>
    sparkVersion String
    sshPublicKeys List<String>
    totalInitialRemoteDiskSize Number
    useMlRuntime Boolean
    workerNodeTypeFlexibility Property Map
    workloadType Property Map
    isn't supported

    JobTaskForEachTaskTaskNewClusterAutoscale, JobTaskForEachTaskTaskNewClusterAutoscaleArgs

    maxWorkers Integer
    minWorkers Integer
    maxWorkers number
    minWorkers number
    maxWorkers Number
    minWorkers Number

    JobTaskForEachTaskTaskNewClusterAwsAttributes, JobTaskForEachTaskTaskNewClusterAwsAttributesArgs

    JobTaskForEachTaskTaskNewClusterAzureAttributes, JobTaskForEachTaskTaskNewClusterAzureAttributesArgs

    JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo, JobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfoArgs

    JobTaskForEachTaskTaskNewClusterClusterLogConf, JobTaskForEachTaskTaskNewClusterClusterLogConfArgs

    JobTaskForEachTaskTaskNewClusterClusterLogConfDbfs, JobTaskForEachTaskTaskNewClusterClusterLogConfDbfsArgs

    JobTaskForEachTaskTaskNewClusterClusterLogConfS3, JobTaskForEachTaskTaskNewClusterClusterLogConfS3Args

    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String
    destination string
    cannedAcl string
    enableEncryption boolean
    encryptionType string
    endpoint string
    kmsKey string
    region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String

    JobTaskForEachTaskTaskNewClusterClusterLogConfVolumes, JobTaskForEachTaskTaskNewClusterClusterLogConfVolumesArgs

    JobTaskForEachTaskTaskNewClusterClusterMountInfo, JobTaskForEachTaskTaskNewClusterClusterMountInfoArgs

    JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo, JobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs

    JobTaskForEachTaskTaskNewClusterDockerImage, JobTaskForEachTaskTaskNewClusterDockerImageArgs

    Url string
    URL of the job on the given workspace
    BasicAuth JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth
    Url string
    URL of the job on the given workspace
    BasicAuth JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth
    url string
    URL of the job on the given workspace
    basic_auth object
    url String
    URL of the job on the given workspace
    basicAuth JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth
    url string
    URL of the job on the given workspace
    basicAuth JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth
    url String
    URL of the job on the given workspace
    basicAuth Property Map

    JobTaskForEachTaskTaskNewClusterDockerImageBasicAuth, JobTaskForEachTaskTaskNewClusterDockerImageBasicAuthArgs

    Password string
    Username string
    Password string
    Username string
    password string
    username string
    password String
    username String
    password string
    username string
    password String
    username String

    JobTaskForEachTaskTaskNewClusterDriverNodeTypeFlexibility, JobTaskForEachTaskTaskNewClusterDriverNodeTypeFlexibilityArgs

    JobTaskForEachTaskTaskNewClusterGcpAttributes, JobTaskForEachTaskTaskNewClusterGcpAttributesArgs

    JobTaskForEachTaskTaskNewClusterInitScript, JobTaskForEachTaskTaskNewClusterInitScriptArgs

    abfss object
    dbfs object

    Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.

    file object
    block consisting of single string fields:
    gcs object
    s3 object
    volumes object
    workspace object
    abfss Property Map
    dbfs Property Map

    Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.

    file Property Map
    block consisting of single string fields:
    gcs Property Map
    s3 Property Map
    volumes Property Map
    workspace Property Map

    JobTaskForEachTaskTaskNewClusterInitScriptAbfss, JobTaskForEachTaskTaskNewClusterInitScriptAbfssArgs

    JobTaskForEachTaskTaskNewClusterInitScriptDbfs, JobTaskForEachTaskTaskNewClusterInitScriptDbfsArgs

    JobTaskForEachTaskTaskNewClusterInitScriptFile, JobTaskForEachTaskTaskNewClusterInitScriptFileArgs

    JobTaskForEachTaskTaskNewClusterInitScriptGcs, JobTaskForEachTaskTaskNewClusterInitScriptGcsArgs

    JobTaskForEachTaskTaskNewClusterInitScriptS3, JobTaskForEachTaskTaskNewClusterInitScriptS3Args

    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String
    destination string
    cannedAcl string
    enableEncryption boolean
    encryptionType string
    endpoint string
    kmsKey string
    region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String

    JobTaskForEachTaskTaskNewClusterInitScriptVolumes, JobTaskForEachTaskTaskNewClusterInitScriptVolumesArgs

    JobTaskForEachTaskTaskNewClusterInitScriptWorkspace, JobTaskForEachTaskTaskNewClusterInitScriptWorkspaceArgs

    JobTaskForEachTaskTaskNewClusterLibrary, JobTaskForEachTaskTaskNewClusterLibraryArgs

    Cran JobTaskForEachTaskTaskNewClusterLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobTaskForEachTaskTaskNewClusterLibraryMaven
    ProviderConfig JobTaskForEachTaskTaskNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobTaskForEachTaskTaskNewClusterLibraryPypi
    Requirements string
    Whl string
    Cran JobTaskForEachTaskTaskNewClusterLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobTaskForEachTaskTaskNewClusterLibraryMaven
    ProviderConfig JobTaskForEachTaskTaskNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobTaskForEachTaskTaskNewClusterLibraryPypi
    Requirements string
    Whl string
    cran object
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven object
    provider_config object
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi object
    requirements string
    whl string
    cran JobTaskForEachTaskTaskNewClusterLibraryCran
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven JobTaskForEachTaskTaskNewClusterLibraryMaven
    providerConfig JobTaskForEachTaskTaskNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobTaskForEachTaskTaskNewClusterLibraryPypi
    requirements String
    whl String
    cran JobTaskForEachTaskTaskNewClusterLibraryCran
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven JobTaskForEachTaskTaskNewClusterLibraryMaven
    providerConfig JobTaskForEachTaskTaskNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobTaskForEachTaskTaskNewClusterLibraryPypi
    requirements string
    whl string
    cran JobTaskForEachTaskTaskNewClusterLibraryCran
    egg str

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar str
    maven JobTaskForEachTaskTaskNewClusterLibraryMaven
    provider_config JobTaskForEachTaskTaskNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobTaskForEachTaskTaskNewClusterLibraryPypi
    requirements str
    whl str
    cran Property Map
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven Property Map
    providerConfig Property Map
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi Property Map
    requirements String
    whl String

    JobTaskForEachTaskTaskNewClusterLibraryCran, JobTaskForEachTaskTaskNewClusterLibraryCranArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobTaskForEachTaskTaskNewClusterLibraryMaven, JobTaskForEachTaskTaskNewClusterLibraryMavenArgs

    Coordinates string
    Exclusions List<string>
    Repo string
    Coordinates string
    Exclusions []string
    Repo string
    coordinates string
    exclusions list(string)
    repo string
    coordinates String
    exclusions List<String>
    repo String
    coordinates string
    exclusions string[]
    repo string
    coordinates str
    exclusions Sequence[str]
    repo str
    coordinates String
    exclusions List<String>
    repo String

    JobTaskForEachTaskTaskNewClusterLibraryProviderConfig, JobTaskForEachTaskTaskNewClusterLibraryProviderConfigArgs

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    JobTaskForEachTaskTaskNewClusterLibraryPypi, JobTaskForEachTaskTaskNewClusterLibraryPypiArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobTaskForEachTaskTaskNewClusterProviderConfig, JobTaskForEachTaskTaskNewClusterProviderConfigArgs

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    JobTaskForEachTaskTaskNewClusterWorkerNodeTypeFlexibility, JobTaskForEachTaskTaskNewClusterWorkerNodeTypeFlexibilityArgs

    JobTaskForEachTaskTaskNewClusterWorkloadType, JobTaskForEachTaskTaskNewClusterWorkloadTypeArgs

    JobTaskForEachTaskTaskNewClusterWorkloadTypeClients, JobTaskForEachTaskTaskNewClusterWorkloadTypeClientsArgs

    Jobs bool
    Notebooks bool
    Jobs bool
    Notebooks bool
    jobs bool
    notebooks bool
    jobs Boolean
    notebooks Boolean
    jobs boolean
    notebooks boolean
    jobs bool
    notebooks bool
    jobs Boolean
    notebooks Boolean

    JobTaskForEachTaskTaskNotebookTask, JobTaskForEachTaskTaskNotebookTaskArgs

    NotebookPath string
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    BaseParameters Dictionary<string, string>
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    Source string
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    WarehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    NotebookPath string
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    BaseParameters map[string]string
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    Source string
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    WarehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebook_path string
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    base_parameters map(string)
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source string
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouse_id string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebookPath String
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    baseParameters Map<String,String>
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source String
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouseId String
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebookPath string
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    baseParameters {[key: string]: string}
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source string
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebook_path str
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    base_parameters Mapping[str, str]
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source str
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouse_id str
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebookPath String
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    baseParameters Map<String>
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source String
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouseId String
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.

    JobTaskForEachTaskTaskNotificationSettings, JobTaskForEachTaskTaskNotificationSettingsArgs

    AlertOnLastAttempt bool
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    NoAlertForCanceledRuns bool

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    NoAlertForSkippedRuns bool
    (Bool) don't send alert for skipped runs.
    AlertOnLastAttempt bool
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    NoAlertForCanceledRuns bool

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    NoAlertForSkippedRuns bool
    (Bool) don't send alert for skipped runs.
    alert_on_last_attempt bool
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    no_alert_for_canceled_runs bool

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    no_alert_for_skipped_runs bool
    (Bool) don't send alert for skipped runs.
    alertOnLastAttempt Boolean
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    noAlertForCanceledRuns Boolean

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    noAlertForSkippedRuns Boolean
    (Bool) don't send alert for skipped runs.
    alertOnLastAttempt boolean
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    noAlertForCanceledRuns boolean

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    noAlertForSkippedRuns boolean
    (Bool) don't send alert for skipped runs.
    alert_on_last_attempt bool
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    no_alert_for_canceled_runs bool

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    no_alert_for_skipped_runs bool
    (Bool) don't send alert for skipped runs.
    alertOnLastAttempt Boolean
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    noAlertForCanceledRuns Boolean

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    noAlertForSkippedRuns Boolean
    (Bool) don't send alert for skipped runs.

    JobTaskForEachTaskTaskPipelineTask, JobTaskForEachTaskTaskPipelineTaskArgs

    PipelineId string
    The pipeline's unique ID.
    FullRefresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    FullRefreshSelections List<string>
    Parameters Dictionary<string, string>
    RefreshFlowSelections List<string>
    RefreshSelections List<string>
    ResetCheckpointSelections List<string>
    PipelineId string
    The pipeline's unique ID.
    FullRefresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    FullRefreshSelections []string
    Parameters map[string]string
    RefreshFlowSelections []string
    RefreshSelections []string
    ResetCheckpointSelections []string
    pipeline_id string
    The pipeline's unique ID.
    full_refresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    full_refresh_selections list(string)
    parameters map(string)
    refresh_flow_selections list(string)
    refresh_selections list(string)
    reset_checkpoint_selections list(string)
    pipelineId String
    The pipeline's unique ID.
    fullRefresh Boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    fullRefreshSelections List<String>
    parameters Map<String,String>
    refreshFlowSelections List<String>
    refreshSelections List<String>
    resetCheckpointSelections List<String>
    pipelineId string
    The pipeline's unique ID.
    fullRefresh boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    fullRefreshSelections string[]
    parameters {[key: string]: string}
    refreshFlowSelections string[]
    refreshSelections string[]
    resetCheckpointSelections string[]
    pipeline_id str
    The pipeline's unique ID.
    full_refresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    full_refresh_selections Sequence[str]
    parameters Mapping[str, str]
    refresh_flow_selections Sequence[str]
    refresh_selections Sequence[str]
    reset_checkpoint_selections Sequence[str]
    pipelineId String
    The pipeline's unique ID.
    fullRefresh Boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    fullRefreshSelections List<String>
    parameters Map<String>
    refreshFlowSelections List<String>
    refreshSelections List<String>
    resetCheckpointSelections List<String>

    JobTaskForEachTaskTaskPowerBiTask, JobTaskForEachTaskTaskPowerBiTaskArgs

    ConnectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    PowerBiModel JobTaskForEachTaskTaskPowerBiTaskPowerBiModel
    The semantic model to update. Block consists of following fields:
    RefreshAfterUpdate bool
    Whether the model should be refreshed after the update. Default is false
    Tables List<JobTaskForEachTaskTaskPowerBiTaskTable>
    The tables to be exported to Power BI. Block consists of following fields:
    WarehouseId string
    The SQL warehouse ID to use as the Power BI data source
    ConnectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    PowerBiModel JobTaskForEachTaskTaskPowerBiTaskPowerBiModel
    The semantic model to update. Block consists of following fields:
    RefreshAfterUpdate bool
    Whether the model should be refreshed after the update. Default is false
    Tables []JobTaskForEachTaskTaskPowerBiTaskTable
    The tables to be exported to Power BI. Block consists of following fields:
    WarehouseId string
    The SQL warehouse ID to use as the Power BI data source
    connection_resource_name string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    power_bi_model object
    The semantic model to update. Block consists of following fields:
    refresh_after_update bool
    Whether the model should be refreshed after the update. Default is false
    tables list(object)
    The tables to be exported to Power BI. Block consists of following fields:
    warehouse_id string
    The SQL warehouse ID to use as the Power BI data source
    connectionResourceName String
    The resource name of the UC connection to authenticate from Databricks to Power BI
    powerBiModel JobTaskForEachTaskTaskPowerBiTaskPowerBiModel
    The semantic model to update. Block consists of following fields:
    refreshAfterUpdate Boolean
    Whether the model should be refreshed after the update. Default is false
    tables List<JobTaskForEachTaskTaskPowerBiTaskTable>
    The tables to be exported to Power BI. Block consists of following fields:
    warehouseId String
    The SQL warehouse ID to use as the Power BI data source
    connectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    powerBiModel JobTaskForEachTaskTaskPowerBiTaskPowerBiModel
    The semantic model to update. Block consists of following fields:
    refreshAfterUpdate boolean
    Whether the model should be refreshed after the update. Default is false
    tables JobTaskForEachTaskTaskPowerBiTaskTable[]
    The tables to be exported to Power BI. Block consists of following fields:
    warehouseId string
    The SQL warehouse ID to use as the Power BI data source
    connection_resource_name str
    The resource name of the UC connection to authenticate from Databricks to Power BI
    power_bi_model JobTaskForEachTaskTaskPowerBiTaskPowerBiModel
    The semantic model to update. Block consists of following fields:
    refresh_after_update bool
    Whether the model should be refreshed after the update. Default is false
    tables Sequence[JobTaskForEachTaskTaskPowerBiTaskTable]
    The tables to be exported to Power BI. Block consists of following fields:
    warehouse_id str
    The SQL warehouse ID to use as the Power BI data source
    connectionResourceName String
    The resource name of the UC connection to authenticate from Databricks to Power BI
    powerBiModel Property Map
    The semantic model to update. Block consists of following fields:
    refreshAfterUpdate Boolean
    Whether the model should be refreshed after the update. Default is false
    tables List<Property Map>
    The tables to be exported to Power BI. Block consists of following fields:
    warehouseId String
    The SQL warehouse ID to use as the Power BI data source

    JobTaskForEachTaskTaskPowerBiTaskPowerBiModel, JobTaskForEachTaskTaskPowerBiTaskPowerBiModelArgs

    AuthenticationMethod string
    How the published Power BI model authenticates to Databricks
    ModelName string
    The name of the Power BI model
    OverwriteExisting bool
    Whether to overwrite existing Power BI models. Default is false
    StorageMode string
    The default storage mode of the Power BI model
    WorkspaceName string
    The name of the Power BI workspace of the model
    AuthenticationMethod string
    How the published Power BI model authenticates to Databricks
    ModelName string
    The name of the Power BI model
    OverwriteExisting bool
    Whether to overwrite existing Power BI models. Default is false
    StorageMode string
    The default storage mode of the Power BI model
    WorkspaceName string
    The name of the Power BI workspace of the model
    authentication_method string
    How the published Power BI model authenticates to Databricks
    model_name string
    The name of the Power BI model
    overwrite_existing bool
    Whether to overwrite existing Power BI models. Default is false
    storage_mode string
    The default storage mode of the Power BI model
    workspace_name string
    The name of the Power BI workspace of the model
    authenticationMethod String
    How the published Power BI model authenticates to Databricks
    modelName String
    The name of the Power BI model
    overwriteExisting Boolean
    Whether to overwrite existing Power BI models. Default is false
    storageMode String
    The default storage mode of the Power BI model
    workspaceName String
    The name of the Power BI workspace of the model
    authenticationMethod string
    How the published Power BI model authenticates to Databricks
    modelName string
    The name of the Power BI model
    overwriteExisting boolean
    Whether to overwrite existing Power BI models. Default is false
    storageMode string
    The default storage mode of the Power BI model
    workspaceName string
    The name of the Power BI workspace of the model
    authentication_method str
    How the published Power BI model authenticates to Databricks
    model_name str
    The name of the Power BI model
    overwrite_existing bool
    Whether to overwrite existing Power BI models. Default is false
    storage_mode str
    The default storage mode of the Power BI model
    workspace_name str
    The name of the Power BI workspace of the model
    authenticationMethod String
    How the published Power BI model authenticates to Databricks
    modelName String
    The name of the Power BI model
    overwriteExisting Boolean
    Whether to overwrite existing Power BI models. Default is false
    storageMode String
    The default storage mode of the Power BI model
    workspaceName String
    The name of the Power BI workspace of the model

    JobTaskForEachTaskTaskPowerBiTaskTable, JobTaskForEachTaskTaskPowerBiTaskTableArgs

    Catalog string
    The catalog name in Databricks
    Name string
    The table name in Databricks. If empty, all tables under the schema are selected.
    Schema string
    The schema name in Databricks
    StorageMode string
    The Power BI storage mode of the table
    Catalog string
    The catalog name in Databricks
    Name string
    The table name in Databricks. If empty, all tables under the schema are selected.
    Schema string
    The schema name in Databricks
    StorageMode string
    The Power BI storage mode of the table
    catalog string
    The catalog name in Databricks
    name string
    The table name in Databricks. If empty, all tables under the schema are selected.
    schema string
    The schema name in Databricks
    storage_mode string
    The Power BI storage mode of the table
    catalog String
    The catalog name in Databricks
    name String
    The table name in Databricks. If empty, all tables under the schema are selected.
    schema String
    The schema name in Databricks
    storageMode String
    The Power BI storage mode of the table
    catalog string
    The catalog name in Databricks
    name string
    The table name in Databricks. If empty, all tables under the schema are selected.
    schema string
    The schema name in Databricks
    storageMode string
    The Power BI storage mode of the table
    catalog str
    The catalog name in Databricks
    name str
    The table name in Databricks. If empty, all tables under the schema are selected.
    schema str
    The schema name in Databricks
    storage_mode str
    The Power BI storage mode of the table
    catalog String
    The catalog name in Databricks
    name String
    The table name in Databricks. If empty, all tables under the schema are selected.
    schema String
    The schema name in Databricks
    storageMode String
    The Power BI storage mode of the table

    JobTaskForEachTaskTaskPythonOperatorTask, JobTaskForEachTaskTaskPythonOperatorTaskArgs

    JobTaskForEachTaskTaskPythonOperatorTaskParameter, JobTaskForEachTaskTaskPythonOperatorTaskParameterArgs

    Name string
    An optional name for the job. The default value is Untitled.
    Value string
    integer value used to compare to the given metric.
    Name string
    An optional name for the job. The default value is Untitled.
    Value string
    integer value used to compare to the given metric.
    name string
    An optional name for the job. The default value is Untitled.
    value string
    integer value used to compare to the given metric.
    name String
    An optional name for the job. The default value is Untitled.
    value String
    integer value used to compare to the given metric.
    name string
    An optional name for the job. The default value is Untitled.
    value string
    integer value used to compare to the given metric.
    name str
    An optional name for the job. The default value is Untitled.
    value str
    integer value used to compare to the given metric.
    name String
    An optional name for the job. The default value is Untitled.
    value String
    integer value used to compare to the given metric.

    JobTaskForEachTaskTaskPythonWheelTask, JobTaskForEachTaskTaskPythonWheelTaskArgs

    EntryPoint string
    Python function as entry point for the task
    NamedParameters Dictionary<string, string>
    Named parameters for the task
    PackageName string
    Name of Python package
    Parameters List<string>
    Parameters for the task
    EntryPoint string
    Python function as entry point for the task
    NamedParameters map[string]string
    Named parameters for the task
    PackageName string
    Name of Python package
    Parameters []string
    Parameters for the task
    entry_point string
    Python function as entry point for the task
    named_parameters map(string)
    Named parameters for the task
    package_name string
    Name of Python package
    parameters list(string)
    Parameters for the task
    entryPoint String
    Python function as entry point for the task
    namedParameters Map<String,String>
    Named parameters for the task
    packageName String
    Name of Python package
    parameters List<String>
    Parameters for the task
    entryPoint string
    Python function as entry point for the task
    namedParameters {[key: string]: string}
    Named parameters for the task
    packageName string
    Name of Python package
    parameters string[]
    Parameters for the task
    entry_point str
    Python function as entry point for the task
    named_parameters Mapping[str, str]
    Named parameters for the task
    package_name str
    Name of Python package
    parameters Sequence[str]
    Parameters for the task
    entryPoint String
    Python function as entry point for the task
    namedParameters Map<String>
    Named parameters for the task
    packageName String
    Name of Python package
    parameters List<String>
    Parameters for the task

    JobTaskForEachTaskTaskRunJobTask, JobTaskForEachTaskTaskRunJobTaskArgs

    JobId int
    (String) ID of the job
    DbtCommands List<string>
    JarParams List<string>
    JobParameters Dictionary<string, string>
    (Map) Job parameters for the task
    NotebookParams Dictionary<string, string>
    PipelineParams JobTaskForEachTaskTaskRunJobTaskPipelineParams
    PythonNamedParams Dictionary<string, string>
    PythonParams List<string>
    SparkSubmitParams List<string>
    SqlParams Dictionary<string, string>
    JobId int
    (String) ID of the job
    DbtCommands []string
    JarParams []string
    JobParameters map[string]string
    (Map) Job parameters for the task
    NotebookParams map[string]string
    PipelineParams JobTaskForEachTaskTaskRunJobTaskPipelineParams
    PythonNamedParams map[string]string
    PythonParams []string
    SparkSubmitParams []string
    SqlParams map[string]string
    job_id number
    (String) ID of the job
    dbt_commands list(string)
    jar_params list(string)
    job_parameters map(string)
    (Map) Job parameters for the task
    notebook_params map(string)
    pipeline_params object
    python_named_params map(string)
    python_params list(string)
    spark_submit_params list(string)
    sql_params map(string)
    jobId Integer
    (String) ID of the job
    dbtCommands List<String>
    jarParams List<String>
    jobParameters Map<String,String>
    (Map) Job parameters for the task
    notebookParams Map<String,String>
    pipelineParams JobTaskForEachTaskTaskRunJobTaskPipelineParams
    pythonNamedParams Map<String,String>
    pythonParams List<String>
    sparkSubmitParams List<String>
    sqlParams Map<String,String>
    jobId number
    (String) ID of the job
    dbtCommands string[]
    jarParams string[]
    jobParameters {[key: string]: string}
    (Map) Job parameters for the task
    notebookParams {[key: string]: string}
    pipelineParams JobTaskForEachTaskTaskRunJobTaskPipelineParams
    pythonNamedParams {[key: string]: string}
    pythonParams string[]
    sparkSubmitParams string[]
    sqlParams {[key: string]: string}
    job_id int
    (String) ID of the job
    dbt_commands Sequence[str]
    jar_params Sequence[str]
    job_parameters Mapping[str, str]
    (Map) Job parameters for the task
    notebook_params Mapping[str, str]
    pipeline_params JobTaskForEachTaskTaskRunJobTaskPipelineParams
    python_named_params Mapping[str, str]
    python_params Sequence[str]
    spark_submit_params Sequence[str]
    sql_params Mapping[str, str]
    jobId Number
    (String) ID of the job
    dbtCommands List<String>
    jarParams List<String>
    jobParameters Map<String>
    (Map) Job parameters for the task
    notebookParams Map<String>
    pipelineParams Property Map
    pythonNamedParams Map<String>
    pythonParams List<String>
    sparkSubmitParams List<String>
    sqlParams Map<String>

    JobTaskForEachTaskTaskRunJobTaskPipelineParams, JobTaskForEachTaskTaskRunJobTaskPipelineParamsArgs

    FullRefresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    FullRefreshSelections List<string>
    RefreshFlowSelections List<string>
    RefreshSelections List<string>
    ResetCheckpointSelections List<string>
    FullRefresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    FullRefreshSelections []string
    RefreshFlowSelections []string
    RefreshSelections []string
    ResetCheckpointSelections []string
    full_refresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    full_refresh_selections list(string)
    refresh_flow_selections list(string)
    refresh_selections list(string)
    reset_checkpoint_selections list(string)
    fullRefresh Boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    fullRefreshSelections List<String>
    refreshFlowSelections List<String>
    refreshSelections List<String>
    resetCheckpointSelections List<String>
    fullRefresh boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    fullRefreshSelections string[]
    refreshFlowSelections string[]
    refreshSelections string[]
    resetCheckpointSelections string[]
    full_refresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    full_refresh_selections Sequence[str]
    refresh_flow_selections Sequence[str]
    refresh_selections Sequence[str]
    reset_checkpoint_selections Sequence[str]
    fullRefresh Boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    fullRefreshSelections List<String>
    refreshFlowSelections List<String>
    refreshSelections List<String>
    resetCheckpointSelections List<String>

    JobTaskForEachTaskTaskSparkJarTask, JobTaskForEachTaskTaskSparkJarTaskArgs

    JarUri string
    MainClassName string
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    Parameters List<string>
    (List) Parameters passed to the main method.
    RunAsRepl bool
    JarUri string
    MainClassName string
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    Parameters []string
    (List) Parameters passed to the main method.
    RunAsRepl bool
    jar_uri string
    main_class_name string
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters list(string)
    (List) Parameters passed to the main method.
    run_as_repl bool
    jarUri String
    mainClassName String
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters List<String>
    (List) Parameters passed to the main method.
    runAsRepl Boolean
    jarUri string
    mainClassName string
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters string[]
    (List) Parameters passed to the main method.
    runAsRepl boolean
    jar_uri str
    main_class_name str
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters Sequence[str]
    (List) Parameters passed to the main method.
    run_as_repl bool
    jarUri String
    mainClassName String
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters List<String>
    (List) Parameters passed to the main method.
    runAsRepl Boolean

    JobTaskForEachTaskTaskSparkPythonTask, JobTaskForEachTaskTaskSparkPythonTaskArgs

    PythonFile string
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    Parameters List<string>
    (List) Command line parameters passed to the Python file.
    Source string
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    PythonFile string
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    Parameters []string
    (List) Command line parameters passed to the Python file.
    Source string
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    python_file string
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters list(string)
    (List) Command line parameters passed to the Python file.
    source string
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    pythonFile String
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters List<String>
    (List) Command line parameters passed to the Python file.
    source String
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    pythonFile string
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters string[]
    (List) Command line parameters passed to the Python file.
    source string
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    python_file str
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters Sequence[str]
    (List) Command line parameters passed to the Python file.
    source str
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    pythonFile String
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters List<String>
    (List) Command line parameters passed to the Python file.
    source String
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.

    JobTaskForEachTaskTaskSparkSubmitTask, JobTaskForEachTaskTaskSparkSubmitTaskArgs

    Parameters List<string>
    (List) Command-line parameters passed to spark submit.
    Parameters []string
    (List) Command-line parameters passed to spark submit.
    parameters list(string)
    (List) Command-line parameters passed to spark submit.
    parameters List<String>
    (List) Command-line parameters passed to spark submit.
    parameters string[]
    (List) Command-line parameters passed to spark submit.
    parameters Sequence[str]
    (List) Command-line parameters passed to spark submit.
    parameters List<String>
    (List) Command-line parameters passed to spark submit.

    JobTaskForEachTaskTaskSqlTask, JobTaskForEachTaskTaskSqlTaskArgs

    WarehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    Alert JobTaskForEachTaskTaskSqlTaskAlert
    block consisting of following fields:
    Dashboard JobTaskForEachTaskTaskSqlTaskDashboard
    block consisting of following fields:
    File JobTaskForEachTaskTaskSqlTaskFile
    block consisting of single string fields:
    Parameters Dictionary<string, string>
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    Query JobTaskForEachTaskTaskSqlTaskQuery
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).
    WarehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    Alert JobTaskForEachTaskTaskSqlTaskAlert
    block consisting of following fields:
    Dashboard JobTaskForEachTaskTaskSqlTaskDashboard
    block consisting of following fields:
    File JobTaskForEachTaskTaskSqlTaskFile
    block consisting of single string fields:
    Parameters map[string]string
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    Query JobTaskForEachTaskTaskSqlTaskQuery
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).
    warehouse_id string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    alert object
    block consisting of following fields:
    dashboard object
    block consisting of following fields:
    file object
    block consisting of single string fields:
    parameters map(string)
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    query object
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).
    warehouseId String
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    alert JobTaskForEachTaskTaskSqlTaskAlert
    block consisting of following fields:
    dashboard JobTaskForEachTaskTaskSqlTaskDashboard
    block consisting of following fields:
    file JobTaskForEachTaskTaskSqlTaskFile
    block consisting of single string fields:
    parameters Map<String,String>
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    query JobTaskForEachTaskTaskSqlTaskQuery
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).
    warehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    alert JobTaskForEachTaskTaskSqlTaskAlert
    block consisting of following fields:
    dashboard JobTaskForEachTaskTaskSqlTaskDashboard
    block consisting of following fields:
    file JobTaskForEachTaskTaskSqlTaskFile
    block consisting of single string fields:
    parameters {[key: string]: string}
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    query JobTaskForEachTaskTaskSqlTaskQuery
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).
    warehouse_id str
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    alert JobTaskForEachTaskTaskSqlTaskAlert
    block consisting of following fields:
    dashboard JobTaskForEachTaskTaskSqlTaskDashboard
    block consisting of following fields:
    file JobTaskForEachTaskTaskSqlTaskFile
    block consisting of single string fields:
    parameters Mapping[str, str]
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    query JobTaskForEachTaskTaskSqlTaskQuery
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).
    warehouseId String
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    alert Property Map
    block consisting of following fields:
    dashboard Property Map
    block consisting of following fields:
    file Property Map
    block consisting of single string fields:
    parameters Map<String>
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    query Property Map
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).

    JobTaskForEachTaskTaskSqlTaskAlert, JobTaskForEachTaskTaskSqlTaskAlertArgs

    AlertId string
    (String) identifier of the Databricks Alert (databricks_alert).
    PauseSubscriptions bool
    flag that specifies if subscriptions are paused or not.
    Subscriptions List<JobTaskForEachTaskTaskSqlTaskAlertSubscription>
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    AlertId string
    (String) identifier of the Databricks Alert (databricks_alert).
    PauseSubscriptions bool
    flag that specifies if subscriptions are paused or not.
    Subscriptions []JobTaskForEachTaskTaskSqlTaskAlertSubscription
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    alert_id string
    (String) identifier of the Databricks Alert (databricks_alert).
    pause_subscriptions bool
    flag that specifies if subscriptions are paused or not.
    subscriptions list(object)
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    alertId String
    (String) identifier of the Databricks Alert (databricks_alert).
    pauseSubscriptions Boolean
    flag that specifies if subscriptions are paused or not.
    subscriptions List<JobTaskForEachTaskTaskSqlTaskAlertSubscription>
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    alertId string
    (String) identifier of the Databricks Alert (databricks_alert).
    pauseSubscriptions boolean
    flag that specifies if subscriptions are paused or not.
    subscriptions JobTaskForEachTaskTaskSqlTaskAlertSubscription[]
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    alert_id str
    (String) identifier of the Databricks Alert (databricks_alert).
    pause_subscriptions bool
    flag that specifies if subscriptions are paused or not.
    subscriptions Sequence[JobTaskForEachTaskTaskSqlTaskAlertSubscription]
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    alertId String
    (String) identifier of the Databricks Alert (databricks_alert).
    pauseSubscriptions Boolean
    flag that specifies if subscriptions are paused or not.
    subscriptions List<Property Map>
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.

    JobTaskForEachTaskTaskSqlTaskAlertSubscription, JobTaskForEachTaskTaskSqlTaskAlertSubscriptionArgs

    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    destination_id string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name string
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String
    destinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName string
    destination_id str
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name str
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String

    JobTaskForEachTaskTaskSqlTaskDashboard, JobTaskForEachTaskTaskSqlTaskDashboardArgs

    DashboardId string
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    CustomSubject string
    string specifying a custom subject of email sent.
    PauseSubscriptions bool
    flag that specifies if subscriptions are paused or not.
    Subscriptions List<JobTaskForEachTaskTaskSqlTaskDashboardSubscription>
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    DashboardId string
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    CustomSubject string
    string specifying a custom subject of email sent.
    PauseSubscriptions bool
    flag that specifies if subscriptions are paused or not.
    Subscriptions []JobTaskForEachTaskTaskSqlTaskDashboardSubscription
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    dashboard_id string
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    custom_subject string
    string specifying a custom subject of email sent.
    pause_subscriptions bool
    flag that specifies if subscriptions are paused or not.
    subscriptions list(object)
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    dashboardId String
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    customSubject String
    string specifying a custom subject of email sent.
    pauseSubscriptions Boolean
    flag that specifies if subscriptions are paused or not.
    subscriptions List<JobTaskForEachTaskTaskSqlTaskDashboardSubscription>
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    dashboardId string
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    customSubject string
    string specifying a custom subject of email sent.
    pauseSubscriptions boolean
    flag that specifies if subscriptions are paused or not.
    subscriptions JobTaskForEachTaskTaskSqlTaskDashboardSubscription[]
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    dashboard_id str
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    custom_subject str
    string specifying a custom subject of email sent.
    pause_subscriptions bool
    flag that specifies if subscriptions are paused or not.
    subscriptions Sequence[JobTaskForEachTaskTaskSqlTaskDashboardSubscription]
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    dashboardId String
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    customSubject String
    string specifying a custom subject of email sent.
    pauseSubscriptions Boolean
    flag that specifies if subscriptions are paused or not.
    subscriptions List<Property Map>
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.

    JobTaskForEachTaskTaskSqlTaskDashboardSubscription, JobTaskForEachTaskTaskSqlTaskDashboardSubscriptionArgs

    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    destination_id string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name string
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String
    destinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName string
    destination_id str
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name str
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String

    JobTaskForEachTaskTaskSqlTaskFile, JobTaskForEachTaskTaskSqlTaskFileArgs

    Path string

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    Source string
    The source of the project. Possible values are WORKSPACE and GIT.
    Path string

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    Source string
    The source of the project. Possible values are WORKSPACE and GIT.
    path string

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    source string
    The source of the project. Possible values are WORKSPACE and GIT.
    path String

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    source String
    The source of the project. Possible values are WORKSPACE and GIT.
    path string

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    source string
    The source of the project. Possible values are WORKSPACE and GIT.
    path str

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    source str
    The source of the project. Possible values are WORKSPACE and GIT.
    path String

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    source String
    The source of the project. Possible values are WORKSPACE and GIT.

    JobTaskForEachTaskTaskSqlTaskQuery, JobTaskForEachTaskTaskSqlTaskQueryArgs

    QueryId string
    QueryId string
    query_id string
    queryId String
    queryId string
    queryId String

    JobTaskForEachTaskTaskWebhookNotifications, JobTaskForEachTaskTaskWebhookNotificationsArgs

    OnDurationWarningThresholdExceededs List<JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded>
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    OnFailures List<JobTaskForEachTaskTaskWebhookNotificationsOnFailure>
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    OnStarts List<JobTaskForEachTaskTaskWebhookNotificationsOnStart>
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    OnStreamingBacklogExceededs List<JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded>

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    OnSuccesses List<JobTaskForEachTaskTaskWebhookNotificationsOnSuccess>
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    OnDurationWarningThresholdExceededs []JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    OnFailures []JobTaskForEachTaskTaskWebhookNotificationsOnFailure
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    OnStarts []JobTaskForEachTaskTaskWebhookNotificationsOnStart
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    OnStreamingBacklogExceededs []JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    OnSuccesses []JobTaskForEachTaskTaskWebhookNotificationsOnSuccess
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    on_duration_warning_threshold_exceededs list(object)
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    on_failures list(object)
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    on_starts list(object)
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    on_streaming_backlog_exceededs list(object)

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    on_successes list(object)
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    onDurationWarningThresholdExceededs List<JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded>
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures List<JobTaskForEachTaskTaskWebhookNotificationsOnFailure>
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    onStarts List<JobTaskForEachTaskTaskWebhookNotificationsOnStart>
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    onStreamingBacklogExceededs List<JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded>

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    onSuccesses List<JobTaskForEachTaskTaskWebhookNotificationsOnSuccess>
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    onDurationWarningThresholdExceededs JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded[]
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures JobTaskForEachTaskTaskWebhookNotificationsOnFailure[]
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    onStarts JobTaskForEachTaskTaskWebhookNotificationsOnStart[]
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    onStreamingBacklogExceededs JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded[]

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    onSuccesses JobTaskForEachTaskTaskWebhookNotificationsOnSuccess[]
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    on_duration_warning_threshold_exceededs Sequence[JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded]
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    on_failures Sequence[JobTaskForEachTaskTaskWebhookNotificationsOnFailure]
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    on_starts Sequence[JobTaskForEachTaskTaskWebhookNotificationsOnStart]
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    on_streaming_backlog_exceededs Sequence[JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded]

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    on_successes Sequence[JobTaskForEachTaskTaskWebhookNotificationsOnSuccess]
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    onDurationWarningThresholdExceededs List<Property Map>
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures List<Property Map>
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    onStarts List<Property Map>
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    onStreamingBacklogExceededs List<Property Map>

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    onSuccesses List<Property Map>
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.

    JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded, JobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobTaskForEachTaskTaskWebhookNotificationsOnFailure, JobTaskForEachTaskTaskWebhookNotificationsOnFailureArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobTaskForEachTaskTaskWebhookNotificationsOnStart, JobTaskForEachTaskTaskWebhookNotificationsOnStartArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded, JobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceededArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobTaskForEachTaskTaskWebhookNotificationsOnSuccess, JobTaskForEachTaskTaskWebhookNotificationsOnSuccessArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobTaskGenAiComputeTask, JobTaskGenAiComputeTaskArgs

    DlRuntimeImage string
    Command string
    Compute JobTaskGenAiComputeTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    MlflowExperimentName string
    Source string
    TrainingScriptPath string
    YamlParameters string
    YamlParametersFilePath string
    DlRuntimeImage string
    Command string
    Compute JobTaskGenAiComputeTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    MlflowExperimentName string
    Source string
    TrainingScriptPath string
    YamlParameters string
    YamlParametersFilePath string
    dl_runtime_image string
    command string
    compute object

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    mlflow_experiment_name string
    source string
    training_script_path string
    yaml_parameters string
    yaml_parameters_file_path string
    dlRuntimeImage String
    command String
    compute JobTaskGenAiComputeTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    mlflowExperimentName String
    source String
    trainingScriptPath String
    yamlParameters String
    yamlParametersFilePath String
    dlRuntimeImage string
    command string
    compute JobTaskGenAiComputeTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    mlflowExperimentName string
    source string
    trainingScriptPath string
    yamlParameters string
    yamlParametersFilePath string
    dl_runtime_image str
    command str
    compute JobTaskGenAiComputeTaskCompute

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    mlflow_experiment_name str
    source str
    training_script_path str
    yaml_parameters str
    yaml_parameters_file_path str
    dlRuntimeImage String
    command String
    compute Property Map

    Task level compute configuration. This block is documented below.

    If no jobClusterKey, existingClusterId, or newCluster were specified in task definition, then task will executed using serverless compute.

    mlflowExperimentName String
    source String
    trainingScriptPath String
    yamlParameters String
    yamlParametersFilePath String

    JobTaskGenAiComputeTaskCompute, JobTaskGenAiComputeTaskComputeArgs

    NumGpus int
    GpuNodePoolId string
    GpuType string
    NumGpus int
    GpuNodePoolId string
    GpuType string
    numGpus Integer
    gpuNodePoolId String
    gpuType String
    numGpus number
    gpuNodePoolId string
    gpuType string
    numGpus Number
    gpuNodePoolId String
    gpuType String

    JobTaskHealth, JobTaskHealthArgs

    Rules List<JobTaskHealthRule>
    list of rules that are represented as objects with the following attributes:
    Rules []JobTaskHealthRule
    list of rules that are represented as objects with the following attributes:
    rules list(object)
    list of rules that are represented as objects with the following attributes:
    rules List<JobTaskHealthRule>
    list of rules that are represented as objects with the following attributes:
    rules JobTaskHealthRule[]
    list of rules that are represented as objects with the following attributes:
    rules Sequence[JobTaskHealthRule]
    list of rules that are represented as objects with the following attributes:
    rules List<Property Map>
    list of rules that are represented as objects with the following attributes:

    JobTaskHealthRule, JobTaskHealthRuleArgs

    Metric string
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    Op string
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    Value int
    integer value used to compare to the given metric.
    Metric string
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    Op string
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    Value int
    integer value used to compare to the given metric.
    metric string
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op string
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value number
    integer value used to compare to the given metric.
    metric String
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op String
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value Integer
    integer value used to compare to the given metric.
    metric string
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op string
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value number
    integer value used to compare to the given metric.
    metric str
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op str
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value int
    integer value used to compare to the given metric.
    metric String
    string specifying the metric to check, like RUN_DURATION_SECONDS, STREAMING_BACKLOG_FILES, etc. - check the Jobs REST API documentation for the full list of supported metrics.
    op String
    string specifying the operation used to evaluate the given metric. The only supported operation is GREATER_THAN.
    value Number
    integer value used to compare to the given metric.

    JobTaskLibrary, JobTaskLibraryArgs

    Cran JobTaskLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobTaskLibraryMaven
    ProviderConfig JobTaskLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobTaskLibraryPypi
    Requirements string
    Whl string
    Cran JobTaskLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobTaskLibraryMaven
    ProviderConfig JobTaskLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobTaskLibraryPypi
    Requirements string
    Whl string
    cran object
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven object
    provider_config object
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi object
    requirements string
    whl string
    cran JobTaskLibraryCran
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven JobTaskLibraryMaven
    providerConfig JobTaskLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobTaskLibraryPypi
    requirements String
    whl String
    cran JobTaskLibraryCran
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven JobTaskLibraryMaven
    providerConfig JobTaskLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobTaskLibraryPypi
    requirements string
    whl string
    cran JobTaskLibraryCran
    egg str

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar str
    maven JobTaskLibraryMaven
    provider_config JobTaskLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobTaskLibraryPypi
    requirements str
    whl str
    cran Property Map
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven Property Map
    providerConfig Property Map
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi Property Map
    requirements String
    whl String

    JobTaskLibraryCran, JobTaskLibraryCranArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobTaskLibraryMaven, JobTaskLibraryMavenArgs

    Coordinates string
    Exclusions List<string>
    Repo string
    Coordinates string
    Exclusions []string
    Repo string
    coordinates string
    exclusions list(string)
    repo string
    coordinates String
    exclusions List<String>
    repo String
    coordinates string
    exclusions string[]
    repo string
    coordinates str
    exclusions Sequence[str]
    repo str
    coordinates String
    exclusions List<String>
    repo String

    JobTaskLibraryProviderConfig, JobTaskLibraryProviderConfigArgs

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    JobTaskLibraryPypi, JobTaskLibraryPypiArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobTaskNewCluster, JobTaskNewClusterArgs

    ApplyPolicyDefaultValues bool
    Autoscale JobTaskNewClusterAutoscale
    AwsAttributes JobTaskNewClusterAwsAttributes
    AzureAttributes JobTaskNewClusterAzureAttributes
    ClusterId string
    ClusterLogConf JobTaskNewClusterClusterLogConf
    ClusterMountInfos List<JobTaskNewClusterClusterMountInfo>
    ClusterName string
    CustomTags Dictionary<string, string>
    DataSecurityMode string
    DependencyMode string
    DockerImage JobTaskNewClusterDockerImage
    DriverInstancePoolId string
    DriverNodeTypeFlexibility JobTaskNewClusterDriverNodeTypeFlexibility
    DriverNodeTypeId string
    EnableElasticDisk bool
    EnableLocalDiskEncryption bool
    GcpAttributes JobTaskNewClusterGcpAttributes
    IdempotencyToken string
    InitScripts List<JobTaskNewClusterInitScript>
    InstancePoolId string
    IsSingleNode bool
    Kind string
    Libraries List<JobTaskNewClusterLibrary>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    NodeTypeId string
    NumWorkers int
    PolicyId string
    ProviderConfig JobTaskNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    RemoteDiskThroughput int
    RuntimeEngine string
    SingleUserName string
    SparkConf Dictionary<string, string>
    SparkEnvVars Dictionary<string, string>
    SparkVersion string
    SshPublicKeys List<string>
    TotalInitialRemoteDiskSize int
    UseMlRuntime bool
    WorkerNodeTypeFlexibility JobTaskNewClusterWorkerNodeTypeFlexibility
    WorkloadType JobTaskNewClusterWorkloadType
    isn't supported
    ApplyPolicyDefaultValues bool
    Autoscale JobTaskNewClusterAutoscale
    AwsAttributes JobTaskNewClusterAwsAttributes
    AzureAttributes JobTaskNewClusterAzureAttributes
    ClusterId string
    ClusterLogConf JobTaskNewClusterClusterLogConf
    ClusterMountInfos []JobTaskNewClusterClusterMountInfo
    ClusterName string
    CustomTags map[string]string
    DataSecurityMode string
    DependencyMode string
    DockerImage JobTaskNewClusterDockerImage
    DriverInstancePoolId string
    DriverNodeTypeFlexibility JobTaskNewClusterDriverNodeTypeFlexibility
    DriverNodeTypeId string
    EnableElasticDisk bool
    EnableLocalDiskEncryption bool
    GcpAttributes JobTaskNewClusterGcpAttributes
    IdempotencyToken string
    InitScripts []JobTaskNewClusterInitScript
    InstancePoolId string
    IsSingleNode bool
    Kind string
    Libraries []JobTaskNewClusterLibrary
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    NodeTypeId string
    NumWorkers int
    PolicyId string
    ProviderConfig JobTaskNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    RemoteDiskThroughput int
    RuntimeEngine string
    SingleUserName string
    SparkConf map[string]string
    SparkEnvVars map[string]string
    SparkVersion string
    SshPublicKeys []string
    TotalInitialRemoteDiskSize int
    UseMlRuntime bool
    WorkerNodeTypeFlexibility JobTaskNewClusterWorkerNodeTypeFlexibility
    WorkloadType JobTaskNewClusterWorkloadType
    isn't supported
    apply_policy_default_values bool
    autoscale object
    aws_attributes object
    azure_attributes object
    cluster_id string
    cluster_log_conf object
    cluster_mount_infos list(object)
    cluster_name string
    custom_tags map(string)
    data_security_mode string
    dependency_mode string
    docker_image object
    driver_instance_pool_id string
    driver_node_type_flexibility object
    driver_node_type_id string
    enable_elastic_disk bool
    enable_local_disk_encryption bool
    gcp_attributes object
    idempotency_token string
    init_scripts list(object)
    instance_pool_id string
    is_single_node bool
    kind string
    libraries list(object)
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    node_type_id string
    num_workers number
    policy_id string
    provider_config object
    Configure the provider for management through account provider. This block consists of the following fields:
    remote_disk_throughput number
    runtime_engine string
    single_user_name string
    spark_conf map(string)
    spark_env_vars map(string)
    spark_version string
    ssh_public_keys list(string)
    total_initial_remote_disk_size number
    use_ml_runtime bool
    worker_node_type_flexibility object
    workload_type object
    isn't supported
    applyPolicyDefaultValues Boolean
    autoscale JobTaskNewClusterAutoscale
    awsAttributes JobTaskNewClusterAwsAttributes
    azureAttributes JobTaskNewClusterAzureAttributes
    clusterId String
    clusterLogConf JobTaskNewClusterClusterLogConf
    clusterMountInfos List<JobTaskNewClusterClusterMountInfo>
    clusterName String
    customTags Map<String,String>
    dataSecurityMode String
    dependencyMode String
    dockerImage JobTaskNewClusterDockerImage
    driverInstancePoolId String
    driverNodeTypeFlexibility JobTaskNewClusterDriverNodeTypeFlexibility
    driverNodeTypeId String
    enableElasticDisk Boolean
    enableLocalDiskEncryption Boolean
    gcpAttributes JobTaskNewClusterGcpAttributes
    idempotencyToken String
    initScripts List<JobTaskNewClusterInitScript>
    instancePoolId String
    isSingleNode Boolean
    kind String
    libraries List<JobTaskNewClusterLibrary>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    nodeTypeId String
    numWorkers Integer
    policyId String
    providerConfig JobTaskNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    remoteDiskThroughput Integer
    runtimeEngine String
    singleUserName String
    sparkConf Map<String,String>
    sparkEnvVars Map<String,String>
    sparkVersion String
    sshPublicKeys List<String>
    totalInitialRemoteDiskSize Integer
    useMlRuntime Boolean
    workerNodeTypeFlexibility JobTaskNewClusterWorkerNodeTypeFlexibility
    workloadType JobTaskNewClusterWorkloadType
    isn't supported
    applyPolicyDefaultValues boolean
    autoscale JobTaskNewClusterAutoscale
    awsAttributes JobTaskNewClusterAwsAttributes
    azureAttributes JobTaskNewClusterAzureAttributes
    clusterId string
    clusterLogConf JobTaskNewClusterClusterLogConf
    clusterMountInfos JobTaskNewClusterClusterMountInfo[]
    clusterName string
    customTags {[key: string]: string}
    dataSecurityMode string
    dependencyMode string
    dockerImage JobTaskNewClusterDockerImage
    driverInstancePoolId string
    driverNodeTypeFlexibility JobTaskNewClusterDriverNodeTypeFlexibility
    driverNodeTypeId string
    enableElasticDisk boolean
    enableLocalDiskEncryption boolean
    gcpAttributes JobTaskNewClusterGcpAttributes
    idempotencyToken string
    initScripts JobTaskNewClusterInitScript[]
    instancePoolId string
    isSingleNode boolean
    kind string
    libraries JobTaskNewClusterLibrary[]
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    nodeTypeId string
    numWorkers number
    policyId string
    providerConfig JobTaskNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    remoteDiskThroughput number
    runtimeEngine string
    singleUserName string
    sparkConf {[key: string]: string}
    sparkEnvVars {[key: string]: string}
    sparkVersion string
    sshPublicKeys string[]
    totalInitialRemoteDiskSize number
    useMlRuntime boolean
    workerNodeTypeFlexibility JobTaskNewClusterWorkerNodeTypeFlexibility
    workloadType JobTaskNewClusterWorkloadType
    isn't supported
    apply_policy_default_values bool
    autoscale JobTaskNewClusterAutoscale
    aws_attributes JobTaskNewClusterAwsAttributes
    azure_attributes JobTaskNewClusterAzureAttributes
    cluster_id str
    cluster_log_conf JobTaskNewClusterClusterLogConf
    cluster_mount_infos Sequence[JobTaskNewClusterClusterMountInfo]
    cluster_name str
    custom_tags Mapping[str, str]
    data_security_mode str
    dependency_mode str
    docker_image JobTaskNewClusterDockerImage
    driver_instance_pool_id str
    driver_node_type_flexibility JobTaskNewClusterDriverNodeTypeFlexibility
    driver_node_type_id str
    enable_elastic_disk bool
    enable_local_disk_encryption bool
    gcp_attributes JobTaskNewClusterGcpAttributes
    idempotency_token str
    init_scripts Sequence[JobTaskNewClusterInitScript]
    instance_pool_id str
    is_single_node bool
    kind str
    libraries Sequence[JobTaskNewClusterLibrary]
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    node_type_id str
    num_workers int
    policy_id str
    provider_config JobTaskNewClusterProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    remote_disk_throughput int
    runtime_engine str
    single_user_name str
    spark_conf Mapping[str, str]
    spark_env_vars Mapping[str, str]
    spark_version str
    ssh_public_keys Sequence[str]
    total_initial_remote_disk_size int
    use_ml_runtime bool
    worker_node_type_flexibility JobTaskNewClusterWorkerNodeTypeFlexibility
    workload_type JobTaskNewClusterWorkloadType
    isn't supported
    applyPolicyDefaultValues Boolean
    autoscale Property Map
    awsAttributes Property Map
    azureAttributes Property Map
    clusterId String
    clusterLogConf Property Map
    clusterMountInfos List<Property Map>
    clusterName String
    customTags Map<String>
    dataSecurityMode String
    dependencyMode String
    dockerImage Property Map
    driverInstancePoolId String
    driverNodeTypeFlexibility Property Map
    driverNodeTypeId String
    enableElasticDisk Boolean
    enableLocalDiskEncryption Boolean
    gcpAttributes Property Map
    idempotencyToken String
    initScripts List<Property Map>
    instancePoolId String
    isSingleNode Boolean
    kind String
    libraries List<Property Map>
    (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
    nodeTypeId String
    numWorkers Number
    policyId String
    providerConfig Property Map
    Configure the provider for management through account provider. This block consists of the following fields:
    remoteDiskThroughput Number
    runtimeEngine String
    singleUserName String
    sparkConf Map<String>
    sparkEnvVars Map<String>
    sparkVersion String
    sshPublicKeys List<String>
    totalInitialRemoteDiskSize Number
    useMlRuntime Boolean
    workerNodeTypeFlexibility Property Map
    workloadType Property Map
    isn't supported

    JobTaskNewClusterAutoscale, JobTaskNewClusterAutoscaleArgs

    maxWorkers Integer
    minWorkers Integer
    maxWorkers number
    minWorkers number
    maxWorkers Number
    minWorkers Number

    JobTaskNewClusterAwsAttributes, JobTaskNewClusterAwsAttributesArgs

    JobTaskNewClusterAzureAttributes, JobTaskNewClusterAzureAttributesArgs

    JobTaskNewClusterAzureAttributesLogAnalyticsInfo, JobTaskNewClusterAzureAttributesLogAnalyticsInfoArgs

    JobTaskNewClusterClusterLogConf, JobTaskNewClusterClusterLogConfArgs

    JobTaskNewClusterClusterLogConfDbfs, JobTaskNewClusterClusterLogConfDbfsArgs

    JobTaskNewClusterClusterLogConfS3, JobTaskNewClusterClusterLogConfS3Args

    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String
    destination string
    cannedAcl string
    enableEncryption boolean
    encryptionType string
    endpoint string
    kmsKey string
    region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String

    JobTaskNewClusterClusterLogConfVolumes, JobTaskNewClusterClusterLogConfVolumesArgs

    JobTaskNewClusterClusterMountInfo, JobTaskNewClusterClusterMountInfoArgs

    JobTaskNewClusterClusterMountInfoNetworkFilesystemInfo, JobTaskNewClusterClusterMountInfoNetworkFilesystemInfoArgs

    JobTaskNewClusterDockerImage, JobTaskNewClusterDockerImageArgs

    Url string
    URL of the job on the given workspace
    BasicAuth JobTaskNewClusterDockerImageBasicAuth
    Url string
    URL of the job on the given workspace
    BasicAuth JobTaskNewClusterDockerImageBasicAuth
    url string
    URL of the job on the given workspace
    basic_auth object
    url String
    URL of the job on the given workspace
    basicAuth JobTaskNewClusterDockerImageBasicAuth
    url string
    URL of the job on the given workspace
    basicAuth JobTaskNewClusterDockerImageBasicAuth
    url str
    URL of the job on the given workspace
    basic_auth JobTaskNewClusterDockerImageBasicAuth
    url String
    URL of the job on the given workspace
    basicAuth Property Map

    JobTaskNewClusterDockerImageBasicAuth, JobTaskNewClusterDockerImageBasicAuthArgs

    Password string
    Username string
    Password string
    Username string
    password string
    username string
    password String
    username String
    password string
    username string
    password String
    username String

    JobTaskNewClusterDriverNodeTypeFlexibility, JobTaskNewClusterDriverNodeTypeFlexibilityArgs

    JobTaskNewClusterGcpAttributes, JobTaskNewClusterGcpAttributesArgs

    JobTaskNewClusterInitScript, JobTaskNewClusterInitScriptArgs

    abfss object
    dbfs object

    Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.

    file object
    block consisting of single string fields:
    gcs object
    s3 object
    volumes object
    workspace object
    abfss Property Map
    dbfs Property Map

    Deprecated: For init scripts use 'volumes', 'workspace' or cloud storage location instead of 'dbfs'.

    file Property Map
    block consisting of single string fields:
    gcs Property Map
    s3 Property Map
    volumes Property Map
    workspace Property Map

    JobTaskNewClusterInitScriptAbfss, JobTaskNewClusterInitScriptAbfssArgs

    JobTaskNewClusterInitScriptDbfs, JobTaskNewClusterInitScriptDbfsArgs

    JobTaskNewClusterInitScriptFile, JobTaskNewClusterInitScriptFileArgs

    JobTaskNewClusterInitScriptGcs, JobTaskNewClusterInitScriptGcsArgs

    JobTaskNewClusterInitScriptS3, JobTaskNewClusterInitScriptS3Args

    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    Destination string
    CannedAcl string
    EnableEncryption bool
    EncryptionType string
    Endpoint string
    KmsKey string
    Region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String
    destination string
    cannedAcl string
    enableEncryption boolean
    encryptionType string
    endpoint string
    kmsKey string
    region string
    destination String
    cannedAcl String
    enableEncryption Boolean
    encryptionType String
    endpoint String
    kmsKey String
    region String

    JobTaskNewClusterInitScriptVolumes, JobTaskNewClusterInitScriptVolumesArgs

    JobTaskNewClusterInitScriptWorkspace, JobTaskNewClusterInitScriptWorkspaceArgs

    JobTaskNewClusterLibrary, JobTaskNewClusterLibraryArgs

    Cran JobTaskNewClusterLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobTaskNewClusterLibraryMaven
    ProviderConfig JobTaskNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobTaskNewClusterLibraryPypi
    Requirements string
    Whl string
    Cran JobTaskNewClusterLibraryCran
    Egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    Jar string
    Maven JobTaskNewClusterLibraryMaven
    ProviderConfig JobTaskNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    Pypi JobTaskNewClusterLibraryPypi
    Requirements string
    Whl string
    cran object
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven object
    provider_config object
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi object
    requirements string
    whl string
    cran JobTaskNewClusterLibraryCran
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven JobTaskNewClusterLibraryMaven
    providerConfig JobTaskNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobTaskNewClusterLibraryPypi
    requirements String
    whl String
    cran JobTaskNewClusterLibraryCran
    egg string

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar string
    maven JobTaskNewClusterLibraryMaven
    providerConfig JobTaskNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobTaskNewClusterLibraryPypi
    requirements string
    whl string
    cran JobTaskNewClusterLibraryCran
    egg str

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar str
    maven JobTaskNewClusterLibraryMaven
    provider_config JobTaskNewClusterLibraryProviderConfig
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi JobTaskNewClusterLibraryPypi
    requirements str
    whl str
    cran Property Map
    egg String

    Deprecated: The egg library type is deprecated. Please use whl or pypi instead.

    jar String
    maven Property Map
    providerConfig Property Map
    Configure the provider for management through account provider. This block consists of the following fields:
    pypi Property Map
    requirements String
    whl String

    JobTaskNewClusterLibraryCran, JobTaskNewClusterLibraryCranArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobTaskNewClusterLibraryMaven, JobTaskNewClusterLibraryMavenArgs

    Coordinates string
    Exclusions List<string>
    Repo string
    Coordinates string
    Exclusions []string
    Repo string
    coordinates string
    exclusions list(string)
    repo string
    coordinates String
    exclusions List<String>
    repo String
    coordinates string
    exclusions string[]
    repo string
    coordinates str
    exclusions Sequence[str]
    repo str
    coordinates String
    exclusions List<String>
    repo String

    JobTaskNewClusterLibraryProviderConfig, JobTaskNewClusterLibraryProviderConfigArgs

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    JobTaskNewClusterLibraryPypi, JobTaskNewClusterLibraryPypiArgs

    Package string
    Repo string
    Package string
    Repo string
    package string
    repo string
    package_ String
    repo String
    package string
    repo string
    package str
    repo str
    package String
    repo String

    JobTaskNewClusterProviderConfig, JobTaskNewClusterProviderConfigArgs

    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    WorkspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId string
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspace_id str
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
    workspaceId String
    Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.

    JobTaskNewClusterWorkerNodeTypeFlexibility, JobTaskNewClusterWorkerNodeTypeFlexibilityArgs

    JobTaskNewClusterWorkloadType, JobTaskNewClusterWorkloadTypeArgs

    JobTaskNewClusterWorkloadTypeClients, JobTaskNewClusterWorkloadTypeClientsArgs

    Jobs bool
    Notebooks bool
    Jobs bool
    Notebooks bool
    jobs bool
    notebooks bool
    jobs Boolean
    notebooks Boolean
    jobs boolean
    notebooks boolean
    jobs bool
    notebooks bool
    jobs Boolean
    notebooks Boolean

    JobTaskNotebookTask, JobTaskNotebookTaskArgs

    NotebookPath string
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    BaseParameters Dictionary<string, string>
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    Source string
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    WarehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    NotebookPath string
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    BaseParameters map[string]string
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    Source string
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    WarehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebook_path string
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    base_parameters map(string)
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source string
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouse_id string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebookPath String
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    baseParameters Map<String,String>
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source String
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouseId String
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebookPath string
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    baseParameters {[key: string]: string}
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source string
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebook_path str
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    base_parameters Mapping[str, str]
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source str
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouse_id str
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.
    notebookPath String
    The path of the databricks.Notebook to be run in the Databricks workspace or remote repository. For notebooks stored in the Databricks workspace, the path must be absolute and begin with a slash. For notebooks stored in a remote repository, the path must be relative. This field is required.
    baseParameters Map<String>
    (Map) Base parameters to be used for each run of this job. If the run is initiated by a call to run-now with parameters specified, the two parameters maps will be merged. If the same key is specified in baseParameters and in run-now, the value from run-now will be used. If the notebook takes a parameter that is not specified in the job's baseParameters or the run-now override parameters, the default value from the notebook will be used. Retrieve these parameters in a notebook using dbutils.widgets.get.
    source String
    Location type of the notebook, can only be WORKSPACE or GIT. When set to WORKSPACE, the notebook will be retrieved from the local Databricks workspace. When set to GIT, the notebook will be retrieved from a Git repository defined in gitSource. If the value is empty, the task will use GIT if gitSource is defined and WORKSPACE otherwise.
    warehouseId String
    ID of the (the databricks_sql_endpoint) that will be used to execute the task with SQL notebook.

    JobTaskNotificationSettings, JobTaskNotificationSettingsArgs

    AlertOnLastAttempt bool
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    NoAlertForCanceledRuns bool

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    NoAlertForSkippedRuns bool
    (Bool) don't send alert for skipped runs.
    AlertOnLastAttempt bool
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    NoAlertForCanceledRuns bool

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    NoAlertForSkippedRuns bool
    (Bool) don't send alert for skipped runs.
    alert_on_last_attempt bool
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    no_alert_for_canceled_runs bool

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    no_alert_for_skipped_runs bool
    (Bool) don't send alert for skipped runs.
    alertOnLastAttempt Boolean
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    noAlertForCanceledRuns Boolean

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    noAlertForSkippedRuns Boolean
    (Bool) don't send alert for skipped runs.
    alertOnLastAttempt boolean
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    noAlertForCanceledRuns boolean

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    noAlertForSkippedRuns boolean
    (Bool) don't send alert for skipped runs.
    alert_on_last_attempt bool
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    no_alert_for_canceled_runs bool

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    no_alert_for_skipped_runs bool
    (Bool) don't send alert for skipped runs.
    alertOnLastAttempt Boolean
    (Bool) do not send notifications to recipients specified in onStart for the retried runs and do not send notifications to recipients specified in onFailure until the last retry of the run.
    noAlertForCanceledRuns Boolean

    (Bool) don't send alert for cancelled runs.

    The following parameter is only available on task level.

    noAlertForSkippedRuns Boolean
    (Bool) don't send alert for skipped runs.

    JobTaskPipelineTask, JobTaskPipelineTaskArgs

    PipelineId string
    The pipeline's unique ID.
    FullRefresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    FullRefreshSelections List<string>
    Parameters Dictionary<string, string>
    RefreshFlowSelections List<string>
    RefreshSelections List<string>
    ResetCheckpointSelections List<string>
    PipelineId string
    The pipeline's unique ID.
    FullRefresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    FullRefreshSelections []string
    Parameters map[string]string
    RefreshFlowSelections []string
    RefreshSelections []string
    ResetCheckpointSelections []string
    pipeline_id string
    The pipeline's unique ID.
    full_refresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    full_refresh_selections list(string)
    parameters map(string)
    refresh_flow_selections list(string)
    refresh_selections list(string)
    reset_checkpoint_selections list(string)
    pipelineId String
    The pipeline's unique ID.
    fullRefresh Boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    fullRefreshSelections List<String>
    parameters Map<String,String>
    refreshFlowSelections List<String>
    refreshSelections List<String>
    resetCheckpointSelections List<String>
    pipelineId string
    The pipeline's unique ID.
    fullRefresh boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    fullRefreshSelections string[]
    parameters {[key: string]: string}
    refreshFlowSelections string[]
    refreshSelections string[]
    resetCheckpointSelections string[]
    pipeline_id str
    The pipeline's unique ID.
    full_refresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    full_refresh_selections Sequence[str]
    parameters Mapping[str, str]
    refresh_flow_selections Sequence[str]
    refresh_selections Sequence[str]
    reset_checkpoint_selections Sequence[str]
    pipelineId String
    The pipeline's unique ID.
    fullRefresh Boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    fullRefreshSelections List<String>
    parameters Map<String>
    refreshFlowSelections List<String>
    refreshSelections List<String>
    resetCheckpointSelections List<String>

    JobTaskPowerBiTask, JobTaskPowerBiTaskArgs

    ConnectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    PowerBiModel JobTaskPowerBiTaskPowerBiModel
    The semantic model to update. Block consists of following fields:
    RefreshAfterUpdate bool
    Whether the model should be refreshed after the update. Default is false
    Tables List<JobTaskPowerBiTaskTable>
    The tables to be exported to Power BI. Block consists of following fields:
    WarehouseId string
    The SQL warehouse ID to use as the Power BI data source
    ConnectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    PowerBiModel JobTaskPowerBiTaskPowerBiModel
    The semantic model to update. Block consists of following fields:
    RefreshAfterUpdate bool
    Whether the model should be refreshed after the update. Default is false
    Tables []JobTaskPowerBiTaskTable
    The tables to be exported to Power BI. Block consists of following fields:
    WarehouseId string
    The SQL warehouse ID to use as the Power BI data source
    connection_resource_name string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    power_bi_model object
    The semantic model to update. Block consists of following fields:
    refresh_after_update bool
    Whether the model should be refreshed after the update. Default is false
    tables list(object)
    The tables to be exported to Power BI. Block consists of following fields:
    warehouse_id string
    The SQL warehouse ID to use as the Power BI data source
    connectionResourceName String
    The resource name of the UC connection to authenticate from Databricks to Power BI
    powerBiModel JobTaskPowerBiTaskPowerBiModel
    The semantic model to update. Block consists of following fields:
    refreshAfterUpdate Boolean
    Whether the model should be refreshed after the update. Default is false
    tables List<JobTaskPowerBiTaskTable>
    The tables to be exported to Power BI. Block consists of following fields:
    warehouseId String
    The SQL warehouse ID to use as the Power BI data source
    connectionResourceName string
    The resource name of the UC connection to authenticate from Databricks to Power BI
    powerBiModel JobTaskPowerBiTaskPowerBiModel
    The semantic model to update. Block consists of following fields:
    refreshAfterUpdate boolean
    Whether the model should be refreshed after the update. Default is false
    tables JobTaskPowerBiTaskTable[]
    The tables to be exported to Power BI. Block consists of following fields:
    warehouseId string
    The SQL warehouse ID to use as the Power BI data source
    connection_resource_name str
    The resource name of the UC connection to authenticate from Databricks to Power BI
    power_bi_model JobTaskPowerBiTaskPowerBiModel
    The semantic model to update. Block consists of following fields:
    refresh_after_update bool
    Whether the model should be refreshed after the update. Default is false
    tables Sequence[JobTaskPowerBiTaskTable]
    The tables to be exported to Power BI. Block consists of following fields:
    warehouse_id str
    The SQL warehouse ID to use as the Power BI data source
    connectionResourceName String
    The resource name of the UC connection to authenticate from Databricks to Power BI
    powerBiModel Property Map
    The semantic model to update. Block consists of following fields:
    refreshAfterUpdate Boolean
    Whether the model should be refreshed after the update. Default is false
    tables List<Property Map>
    The tables to be exported to Power BI. Block consists of following fields:
    warehouseId String
    The SQL warehouse ID to use as the Power BI data source

    JobTaskPowerBiTaskPowerBiModel, JobTaskPowerBiTaskPowerBiModelArgs

    AuthenticationMethod string
    How the published Power BI model authenticates to Databricks
    ModelName string
    The name of the Power BI model
    OverwriteExisting bool
    Whether to overwrite existing Power BI models. Default is false
    StorageMode string
    The default storage mode of the Power BI model
    WorkspaceName string
    The name of the Power BI workspace of the model
    AuthenticationMethod string
    How the published Power BI model authenticates to Databricks
    ModelName string
    The name of the Power BI model
    OverwriteExisting bool
    Whether to overwrite existing Power BI models. Default is false
    StorageMode string
    The default storage mode of the Power BI model
    WorkspaceName string
    The name of the Power BI workspace of the model
    authentication_method string
    How the published Power BI model authenticates to Databricks
    model_name string
    The name of the Power BI model
    overwrite_existing bool
    Whether to overwrite existing Power BI models. Default is false
    storage_mode string
    The default storage mode of the Power BI model
    workspace_name string
    The name of the Power BI workspace of the model
    authenticationMethod String
    How the published Power BI model authenticates to Databricks
    modelName String
    The name of the Power BI model
    overwriteExisting Boolean
    Whether to overwrite existing Power BI models. Default is false
    storageMode String
    The default storage mode of the Power BI model
    workspaceName String
    The name of the Power BI workspace of the model
    authenticationMethod string
    How the published Power BI model authenticates to Databricks
    modelName string
    The name of the Power BI model
    overwriteExisting boolean
    Whether to overwrite existing Power BI models. Default is false
    storageMode string
    The default storage mode of the Power BI model
    workspaceName string
    The name of the Power BI workspace of the model
    authentication_method str
    How the published Power BI model authenticates to Databricks
    model_name str
    The name of the Power BI model
    overwrite_existing bool
    Whether to overwrite existing Power BI models. Default is false
    storage_mode str
    The default storage mode of the Power BI model
    workspace_name str
    The name of the Power BI workspace of the model
    authenticationMethod String
    How the published Power BI model authenticates to Databricks
    modelName String
    The name of the Power BI model
    overwriteExisting Boolean
    Whether to overwrite existing Power BI models. Default is false
    storageMode String
    The default storage mode of the Power BI model
    workspaceName String
    The name of the Power BI workspace of the model

    JobTaskPowerBiTaskTable, JobTaskPowerBiTaskTableArgs

    Catalog string
    The catalog name in Databricks
    Name string
    The table name in Databricks. If empty, all tables under the schema are selected.
    Schema string
    The schema name in Databricks
    StorageMode string
    The Power BI storage mode of the table
    Catalog string
    The catalog name in Databricks
    Name string
    The table name in Databricks. If empty, all tables under the schema are selected.
    Schema string
    The schema name in Databricks
    StorageMode string
    The Power BI storage mode of the table
    catalog string
    The catalog name in Databricks
    name string
    The table name in Databricks. If empty, all tables under the schema are selected.
    schema string
    The schema name in Databricks
    storage_mode string
    The Power BI storage mode of the table
    catalog String
    The catalog name in Databricks
    name String
    The table name in Databricks. If empty, all tables under the schema are selected.
    schema String
    The schema name in Databricks
    storageMode String
    The Power BI storage mode of the table
    catalog string
    The catalog name in Databricks
    name string
    The table name in Databricks. If empty, all tables under the schema are selected.
    schema string
    The schema name in Databricks
    storageMode string
    The Power BI storage mode of the table
    catalog str
    The catalog name in Databricks
    name str
    The table name in Databricks. If empty, all tables under the schema are selected.
    schema str
    The schema name in Databricks
    storage_mode str
    The Power BI storage mode of the table
    catalog String
    The catalog name in Databricks
    name String
    The table name in Databricks. If empty, all tables under the schema are selected.
    schema String
    The schema name in Databricks
    storageMode String
    The Power BI storage mode of the table

    JobTaskPythonOperatorTask, JobTaskPythonOperatorTaskArgs

    JobTaskPythonOperatorTaskParameter, JobTaskPythonOperatorTaskParameterArgs

    Name string
    An optional name for the job. The default value is Untitled.
    Value string
    integer value used to compare to the given metric.
    Name string
    An optional name for the job. The default value is Untitled.
    Value string
    integer value used to compare to the given metric.
    name string
    An optional name for the job. The default value is Untitled.
    value string
    integer value used to compare to the given metric.
    name String
    An optional name for the job. The default value is Untitled.
    value String
    integer value used to compare to the given metric.
    name string
    An optional name for the job. The default value is Untitled.
    value string
    integer value used to compare to the given metric.
    name str
    An optional name for the job. The default value is Untitled.
    value str
    integer value used to compare to the given metric.
    name String
    An optional name for the job. The default value is Untitled.
    value String
    integer value used to compare to the given metric.

    JobTaskPythonWheelTask, JobTaskPythonWheelTaskArgs

    EntryPoint string
    Python function as entry point for the task
    NamedParameters Dictionary<string, string>
    Named parameters for the task
    PackageName string
    Name of Python package
    Parameters List<string>
    Parameters for the task
    EntryPoint string
    Python function as entry point for the task
    NamedParameters map[string]string
    Named parameters for the task
    PackageName string
    Name of Python package
    Parameters []string
    Parameters for the task
    entry_point string
    Python function as entry point for the task
    named_parameters map(string)
    Named parameters for the task
    package_name string
    Name of Python package
    parameters list(string)
    Parameters for the task
    entryPoint String
    Python function as entry point for the task
    namedParameters Map<String,String>
    Named parameters for the task
    packageName String
    Name of Python package
    parameters List<String>
    Parameters for the task
    entryPoint string
    Python function as entry point for the task
    namedParameters {[key: string]: string}
    Named parameters for the task
    packageName string
    Name of Python package
    parameters string[]
    Parameters for the task
    entry_point str
    Python function as entry point for the task
    named_parameters Mapping[str, str]
    Named parameters for the task
    package_name str
    Name of Python package
    parameters Sequence[str]
    Parameters for the task
    entryPoint String
    Python function as entry point for the task
    namedParameters Map<String>
    Named parameters for the task
    packageName String
    Name of Python package
    parameters List<String>
    Parameters for the task

    JobTaskRunJobTask, JobTaskRunJobTaskArgs

    JobId int
    (String) ID of the job
    DbtCommands List<string>
    JarParams List<string>
    JobParameters Dictionary<string, string>
    (Map) Job parameters for the task
    NotebookParams Dictionary<string, string>
    PipelineParams JobTaskRunJobTaskPipelineParams
    PythonNamedParams Dictionary<string, string>
    PythonParams List<string>
    SparkSubmitParams List<string>
    SqlParams Dictionary<string, string>
    JobId int
    (String) ID of the job
    DbtCommands []string
    JarParams []string
    JobParameters map[string]string
    (Map) Job parameters for the task
    NotebookParams map[string]string
    PipelineParams JobTaskRunJobTaskPipelineParams
    PythonNamedParams map[string]string
    PythonParams []string
    SparkSubmitParams []string
    SqlParams map[string]string
    job_id number
    (String) ID of the job
    dbt_commands list(string)
    jar_params list(string)
    job_parameters map(string)
    (Map) Job parameters for the task
    notebook_params map(string)
    pipeline_params object
    python_named_params map(string)
    python_params list(string)
    spark_submit_params list(string)
    sql_params map(string)
    jobId Integer
    (String) ID of the job
    dbtCommands List<String>
    jarParams List<String>
    jobParameters Map<String,String>
    (Map) Job parameters for the task
    notebookParams Map<String,String>
    pipelineParams JobTaskRunJobTaskPipelineParams
    pythonNamedParams Map<String,String>
    pythonParams List<String>
    sparkSubmitParams List<String>
    sqlParams Map<String,String>
    jobId number
    (String) ID of the job
    dbtCommands string[]
    jarParams string[]
    jobParameters {[key: string]: string}
    (Map) Job parameters for the task
    notebookParams {[key: string]: string}
    pipelineParams JobTaskRunJobTaskPipelineParams
    pythonNamedParams {[key: string]: string}
    pythonParams string[]
    sparkSubmitParams string[]
    sqlParams {[key: string]: string}
    job_id int
    (String) ID of the job
    dbt_commands Sequence[str]
    jar_params Sequence[str]
    job_parameters Mapping[str, str]
    (Map) Job parameters for the task
    notebook_params Mapping[str, str]
    pipeline_params JobTaskRunJobTaskPipelineParams
    python_named_params Mapping[str, str]
    python_params Sequence[str]
    spark_submit_params Sequence[str]
    sql_params Mapping[str, str]
    jobId Number
    (String) ID of the job
    dbtCommands List<String>
    jarParams List<String>
    jobParameters Map<String>
    (Map) Job parameters for the task
    notebookParams Map<String>
    pipelineParams Property Map
    pythonNamedParams Map<String>
    pythonParams List<String>
    sparkSubmitParams List<String>
    sqlParams Map<String>

    JobTaskRunJobTaskPipelineParams, JobTaskRunJobTaskPipelineParamsArgs

    FullRefresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    FullRefreshSelections List<string>
    RefreshFlowSelections List<string>
    RefreshSelections List<string>
    ResetCheckpointSelections List<string>
    FullRefresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    FullRefreshSelections []string
    RefreshFlowSelections []string
    RefreshSelections []string
    ResetCheckpointSelections []string
    full_refresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    full_refresh_selections list(string)
    refresh_flow_selections list(string)
    refresh_selections list(string)
    reset_checkpoint_selections list(string)
    fullRefresh Boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    fullRefreshSelections List<String>
    refreshFlowSelections List<String>
    refreshSelections List<String>
    resetCheckpointSelections List<String>
    fullRefresh boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    fullRefreshSelections string[]
    refreshFlowSelections string[]
    refreshSelections string[]
    resetCheckpointSelections string[]
    full_refresh bool

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    full_refresh_selections Sequence[str]
    refresh_flow_selections Sequence[str]
    refresh_selections Sequence[str]
    reset_checkpoint_selections Sequence[str]
    fullRefresh Boolean

    (Bool) Specifies if there should be full refresh of the pipeline.

    The following configuration blocks are only supported inside a task block

    fullRefreshSelections List<String>
    refreshFlowSelections List<String>
    refreshSelections List<String>
    resetCheckpointSelections List<String>

    JobTaskSparkJarTask, JobTaskSparkJarTaskArgs

    JarUri string
    MainClassName string
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    Parameters List<string>
    (List) Parameters passed to the main method.
    RunAsRepl bool
    JarUri string
    MainClassName string
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    Parameters []string
    (List) Parameters passed to the main method.
    RunAsRepl bool
    jar_uri string
    main_class_name string
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters list(string)
    (List) Parameters passed to the main method.
    run_as_repl bool
    jarUri String
    mainClassName String
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters List<String>
    (List) Parameters passed to the main method.
    runAsRepl Boolean
    jarUri string
    mainClassName string
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters string[]
    (List) Parameters passed to the main method.
    runAsRepl boolean
    jar_uri str
    main_class_name str
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters Sequence[str]
    (List) Parameters passed to the main method.
    run_as_repl bool
    jarUri String
    mainClassName String
    The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. The code should use SparkContext.getOrCreate to obtain a Spark context; otherwise, runs of the job will fail.
    parameters List<String>
    (List) Parameters passed to the main method.
    runAsRepl Boolean

    JobTaskSparkPythonTask, JobTaskSparkPythonTaskArgs

    PythonFile string
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    Parameters List<string>
    (List) Command line parameters passed to the Python file.
    Source string
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    PythonFile string
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    Parameters []string
    (List) Command line parameters passed to the Python file.
    Source string
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    python_file string
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters list(string)
    (List) Command line parameters passed to the Python file.
    source string
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    pythonFile String
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters List<String>
    (List) Command line parameters passed to the Python file.
    source String
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    pythonFile string
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters string[]
    (List) Command line parameters passed to the Python file.
    source string
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    python_file str
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters Sequence[str]
    (List) Command line parameters passed to the Python file.
    source str
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.
    pythonFile String
    The URI of the Python file to be executed. Cloud file URIs (e.g. s3:/, abfss:/, gs:/), workspace paths and remote repository are supported. For Python files stored in the Databricks workspace, the path must be absolute and begin with /. For files stored in a remote repository, the path must be relative. This field is required.
    parameters List<String>
    (List) Command line parameters passed to the Python file.
    source String
    Location type of the Python file. When set to WORKSPACE or not specified, the file will be retrieved from the local Databricks workspace or cloud location (if the pythonFile has a URI format). When set to GIT, the Python file will be retrieved from a Git repository defined in gitSource.

    • WORKSPACE: The Python file is located in a Databricks workspace or at a cloud filesystem URI.
    • GIT: The Python file is located in a remote Git repository.

    JobTaskSparkSubmitTask, JobTaskSparkSubmitTaskArgs

    Parameters List<string>
    (List) Command-line parameters passed to spark submit.
    Parameters []string
    (List) Command-line parameters passed to spark submit.
    parameters list(string)
    (List) Command-line parameters passed to spark submit.
    parameters List<String>
    (List) Command-line parameters passed to spark submit.
    parameters string[]
    (List) Command-line parameters passed to spark submit.
    parameters Sequence[str]
    (List) Command-line parameters passed to spark submit.
    parameters List<String>
    (List) Command-line parameters passed to spark submit.

    JobTaskSqlTask, JobTaskSqlTaskArgs

    WarehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    Alert JobTaskSqlTaskAlert
    block consisting of following fields:
    Dashboard JobTaskSqlTaskDashboard
    block consisting of following fields:
    File JobTaskSqlTaskFile
    block consisting of single string fields:
    Parameters Dictionary<string, string>
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    Query JobTaskSqlTaskQuery
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).
    WarehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    Alert JobTaskSqlTaskAlert
    block consisting of following fields:
    Dashboard JobTaskSqlTaskDashboard
    block consisting of following fields:
    File JobTaskSqlTaskFile
    block consisting of single string fields:
    Parameters map[string]string
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    Query JobTaskSqlTaskQuery
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).
    warehouse_id string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    alert object
    block consisting of following fields:
    dashboard object
    block consisting of following fields:
    file object
    block consisting of single string fields:
    parameters map(string)
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    query object
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).
    warehouseId String
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    alert JobTaskSqlTaskAlert
    block consisting of following fields:
    dashboard JobTaskSqlTaskDashboard
    block consisting of following fields:
    file JobTaskSqlTaskFile
    block consisting of single string fields:
    parameters Map<String,String>
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    query JobTaskSqlTaskQuery
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).
    warehouseId string
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    alert JobTaskSqlTaskAlert
    block consisting of following fields:
    dashboard JobTaskSqlTaskDashboard
    block consisting of following fields:
    file JobTaskSqlTaskFile
    block consisting of single string fields:
    parameters {[key: string]: string}
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    query JobTaskSqlTaskQuery
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).
    warehouse_id str
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    alert JobTaskSqlTaskAlert
    block consisting of following fields:
    dashboard JobTaskSqlTaskDashboard
    block consisting of following fields:
    file JobTaskSqlTaskFile
    block consisting of single string fields:
    parameters Mapping[str, str]
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    query JobTaskSqlTaskQuery
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).
    warehouseId String
    ID of the (the databricks_sql_endpoint) that will be used to execute the task. Only Serverless & Pro warehouses are supported right now.
    alert Property Map
    block consisting of following fields:
    dashboard Property Map
    block consisting of following fields:
    file Property Map
    block consisting of single string fields:
    parameters Map<String>
    (Map) parameters to be used for each run of this task. The SQL alert task does not support custom parameters.
    query Property Map
    block consisting of single string field: queryId - identifier of the Databricks Query (databricks_query).

    JobTaskSqlTaskAlert, JobTaskSqlTaskAlertArgs

    AlertId string
    (String) identifier of the Databricks Alert (databricks_alert).
    PauseSubscriptions bool
    flag that specifies if subscriptions are paused or not.
    Subscriptions List<JobTaskSqlTaskAlertSubscription>
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    AlertId string
    (String) identifier of the Databricks Alert (databricks_alert).
    PauseSubscriptions bool
    flag that specifies if subscriptions are paused or not.
    Subscriptions []JobTaskSqlTaskAlertSubscription
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    alert_id string
    (String) identifier of the Databricks Alert (databricks_alert).
    pause_subscriptions bool
    flag that specifies if subscriptions are paused or not.
    subscriptions list(object)
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    alertId String
    (String) identifier of the Databricks Alert (databricks_alert).
    pauseSubscriptions Boolean
    flag that specifies if subscriptions are paused or not.
    subscriptions List<JobTaskSqlTaskAlertSubscription>
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    alertId string
    (String) identifier of the Databricks Alert (databricks_alert).
    pauseSubscriptions boolean
    flag that specifies if subscriptions are paused or not.
    subscriptions JobTaskSqlTaskAlertSubscription[]
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    alert_id str
    (String) identifier of the Databricks Alert (databricks_alert).
    pause_subscriptions bool
    flag that specifies if subscriptions are paused or not.
    subscriptions Sequence[JobTaskSqlTaskAlertSubscription]
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    alertId String
    (String) identifier of the Databricks Alert (databricks_alert).
    pauseSubscriptions Boolean
    flag that specifies if subscriptions are paused or not.
    subscriptions List<Property Map>
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.

    JobTaskSqlTaskAlertSubscription, JobTaskSqlTaskAlertSubscriptionArgs

    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    destination_id string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name string
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String
    destinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName string
    destination_id str
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name str
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String

    JobTaskSqlTaskDashboard, JobTaskSqlTaskDashboardArgs

    DashboardId string
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    CustomSubject string
    string specifying a custom subject of email sent.
    PauseSubscriptions bool
    flag that specifies if subscriptions are paused or not.
    Subscriptions List<JobTaskSqlTaskDashboardSubscription>
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    DashboardId string
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    CustomSubject string
    string specifying a custom subject of email sent.
    PauseSubscriptions bool
    flag that specifies if subscriptions are paused or not.
    Subscriptions []JobTaskSqlTaskDashboardSubscription
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    dashboard_id string
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    custom_subject string
    string specifying a custom subject of email sent.
    pause_subscriptions bool
    flag that specifies if subscriptions are paused or not.
    subscriptions list(object)
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    dashboardId String
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    customSubject String
    string specifying a custom subject of email sent.
    pauseSubscriptions Boolean
    flag that specifies if subscriptions are paused or not.
    subscriptions List<JobTaskSqlTaskDashboardSubscription>
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    dashboardId string
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    customSubject string
    string specifying a custom subject of email sent.
    pauseSubscriptions boolean
    flag that specifies if subscriptions are paused or not.
    subscriptions JobTaskSqlTaskDashboardSubscription[]
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    dashboard_id str
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    custom_subject str
    string specifying a custom subject of email sent.
    pause_subscriptions bool
    flag that specifies if subscriptions are paused or not.
    subscriptions Sequence[JobTaskSqlTaskDashboardSubscription]
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.
    dashboardId String
    (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
    customSubject String
    string specifying a custom subject of email sent.
    pauseSubscriptions Boolean
    flag that specifies if subscriptions are paused or not.
    subscriptions List<Property Map>
    a list of subscription blocks consisting out of one of the required fields: userName for user emails or destinationId - for Alert destination's identifier.

    JobTaskSqlTaskDashboardSubscription, JobTaskSqlTaskDashboardSubscriptionArgs

    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    DestinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    UserName string
    destination_id string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name string
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String
    destinationId string
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName string
    destination_id str
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    user_name str
    destinationId String
    A snapshot of the dashboard will be sent to the destination when the destinationId field is present.
    userName String

    JobTaskSqlTaskFile, JobTaskSqlTaskFileArgs

    Path string

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    Source string
    The source of the project. Possible values are WORKSPACE and GIT.
    Path string

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    Source string
    The source of the project. Possible values are WORKSPACE and GIT.
    path string

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    source string
    The source of the project. Possible values are WORKSPACE and GIT.
    path String

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    source String
    The source of the project. Possible values are WORKSPACE and GIT.
    path string

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    source string
    The source of the project. Possible values are WORKSPACE and GIT.
    path str

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    source str
    The source of the project. Possible values are WORKSPACE and GIT.
    path String

    If source is GIT: Relative path to the file in the repository specified in the gitSource block with SQL commands to execute. If source is WORKSPACE: Absolute path to the file in the workspace with SQL commands to execute.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    

    const sqlAggregationJob = new databricks.Job("sql_aggregation_job", { name: "Example SQL Job", tasks: [ { taskKey: "run_agg_query", sqlTask: { warehouseId: sqlJobWarehouse.id, query: { queryId: aggQuery.id, }, }, }, { taskKey: "run_dashboard", sqlTask: { warehouseId: sqlJobWarehouse.id, dashboard: { dashboardId: dash.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, { taskKey: "run_alert", sqlTask: { warehouseId: sqlJobWarehouse.id, alert: { alertId: alert.id, subscriptions: [{ userName: "user@domain.com", }], }, }, }, ], });

    import pulumi
    import pulumi_databricks as databricks
    
    sql_aggregation_job = databricks.Job("sql_aggregation_job",
        name="Example SQL Job",
        tasks=[
            {
                "task_key": "run_agg_query",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "query": {
                        "query_id": agg_query["id"],
                    },
                },
            },
            {
                "task_key": "run_dashboard",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "dashboard": {
                        "dashboard_id": dash["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
            {
                "task_key": "run_alert",
                "sql_task": {
                    "warehouse_id": sql_job_warehouse["id"],
                    "alert": {
                        "alert_id": alert["id"],
                        "subscriptions": [{
                            "user_name": "user@domain.com",
                        }],
                    },
                },
            },
        ])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var sqlAggregationJob = new Databricks.Job("sql_aggregation_job", new()
        {
            Name = "Example SQL Job",
            Tasks = new[]
            {
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_agg_query",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Query = new Databricks.Inputs.JobTaskSqlTaskQueryArgs
                        {
                            QueryId = aggQuery.Id,
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_dashboard",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Dashboard = new Databricks.Inputs.JobTaskSqlTaskDashboardArgs
                        {
                            DashboardId = dash.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskDashboardSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
                new Databricks.Inputs.JobTaskArgs
                {
                    TaskKey = "run_alert",
                    SqlTask = new Databricks.Inputs.JobTaskSqlTaskArgs
                    {
                        WarehouseId = sqlJobWarehouse.Id,
                        Alert = new Databricks.Inputs.JobTaskSqlTaskAlertArgs
                        {
                            AlertId = alert.Id,
                            Subscriptions = new[]
                            {
                                new Databricks.Inputs.JobTaskSqlTaskAlertSubscriptionArgs
                                {
                                    UserName = "user@domain.com",
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewJob(ctx, "sql_aggregation_job", &databricks.JobArgs{
    			Name: pulumi.String("Example SQL Job"),
    			Tasks: databricks.JobTaskArray{
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_agg_query"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Query: &databricks.JobTaskSqlTaskQueryArgs{
    							QueryId: pulumi.Any(aggQuery.Id),
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_dashboard"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Dashboard: &databricks.JobTaskSqlTaskDashboardArgs{
    							DashboardId: pulumi.Any(dash.Id),
    							Subscriptions: databricks.JobTaskSqlTaskDashboardSubscriptionArray{
    								&databricks.JobTaskSqlTaskDashboardSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    				&databricks.JobTaskArgs{
    					TaskKey: pulumi.String("run_alert"),
    					SqlTask: &databricks.JobTaskSqlTaskArgs{
    						WarehouseId: pulumi.Any(sqlJobWarehouse.Id),
    						Alert: &databricks.JobTaskSqlTaskAlertArgs{
    							AlertId: pulumi.Any(alert.Id),
    							Subscriptions: databricks.JobTaskSqlTaskAlertSubscriptionArray{
    								&databricks.JobTaskSqlTaskAlertSubscriptionArgs{
    									UserName: pulumi.String("user@domain.com"),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_job" "sql_aggregation_job" {
      name = "Example SQL Job"
      tasks {
        task_key = "run_agg_query"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          query = {
            query_id = aggQuery.id
          }
        }
      }
      tasks {
        task_key = "run_dashboard"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          dashboard = {
            dashboard_id = dash.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
      tasks {
        task_key = "run_alert"
        sql_task = {
          warehouse_id = sqlJobWarehouse.id
          alert = {
            alert_id = alert.id
            subscriptions = [{
              "userName" = "user@domain.com"
            }]
          }
        }
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.Job;
    import com.pulumi.databricks.JobArgs;
    import com.pulumi.databricks.inputs.JobTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskQueryArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskDashboardSubscriptionArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertArgs;
    import com.pulumi.databricks.inputs.JobTaskSqlTaskAlertSubscriptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sqlAggregationJob = new Job("sqlAggregationJob", JobArgs.builder()
                .name("Example SQL Job")
                .tasks(            
                    JobTaskArgs.builder()
                        .taskKey("run_agg_query")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .query(JobTaskSqlTaskQueryArgs.builder()
                                .queryId(aggQuery.id())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_dashboard")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .dashboard(JobTaskSqlTaskDashboardArgs.builder()
                                .dashboardId(dash.id())
                                .subscriptions(JobTaskSqlTaskDashboardSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    JobTaskArgs.builder()
                        .taskKey("run_alert")
                        .sqlTask(JobTaskSqlTaskArgs.builder()
                            .warehouseId(sqlJobWarehouse.id())
                            .alert(JobTaskSqlTaskAlertArgs.builder()
                                .alertId(alert.id())
                                .subscriptions(JobTaskSqlTaskAlertSubscriptionArgs.builder()
                                    .userName("user@domain.com")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      sqlAggregationJob:
        type: databricks:Job
        name: sql_aggregation_job
        properties:
          name: Example SQL Job
          tasks:
            - taskKey: run_agg_query
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                query:
                  queryId: ${aggQuery.id}
            - taskKey: run_dashboard
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                dashboard:
                  dashboardId: ${dash.id}
                  subscriptions:
                    - userName: user@domain.com
            - taskKey: run_alert
              sqlTask:
                warehouseId: ${sqlJobWarehouse.id}
                alert:
                  alertId: ${alert.id}
                  subscriptions:
                    - userName: user@domain.com
    
    source String
    The source of the project. Possible values are WORKSPACE and GIT.

    JobTaskSqlTaskQuery, JobTaskSqlTaskQueryArgs

    QueryId string
    QueryId string
    query_id string
    queryId String
    queryId string
    queryId String

    JobTaskWebhookNotifications, JobTaskWebhookNotificationsArgs

    OnDurationWarningThresholdExceededs List<JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded>
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    OnFailures List<JobTaskWebhookNotificationsOnFailure>
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    OnStarts List<JobTaskWebhookNotificationsOnStart>
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    OnStreamingBacklogExceededs List<JobTaskWebhookNotificationsOnStreamingBacklogExceeded>

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    OnSuccesses List<JobTaskWebhookNotificationsOnSuccess>
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    OnDurationWarningThresholdExceededs []JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    OnFailures []JobTaskWebhookNotificationsOnFailure
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    OnStarts []JobTaskWebhookNotificationsOnStart
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    OnStreamingBacklogExceededs []JobTaskWebhookNotificationsOnStreamingBacklogExceeded

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    OnSuccesses []JobTaskWebhookNotificationsOnSuccess
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    on_duration_warning_threshold_exceededs list(object)
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    on_failures list(object)
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    on_starts list(object)
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    on_streaming_backlog_exceededs list(object)

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    on_successes list(object)
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    onDurationWarningThresholdExceededs List<JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded>
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures List<JobTaskWebhookNotificationsOnFailure>
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    onStarts List<JobTaskWebhookNotificationsOnStart>
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    onStreamingBacklogExceededs List<JobTaskWebhookNotificationsOnStreamingBacklogExceeded>

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    onSuccesses List<JobTaskWebhookNotificationsOnSuccess>
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    onDurationWarningThresholdExceededs JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded[]
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures JobTaskWebhookNotificationsOnFailure[]
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    onStarts JobTaskWebhookNotificationsOnStart[]
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    onStreamingBacklogExceededs JobTaskWebhookNotificationsOnStreamingBacklogExceeded[]

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    onSuccesses JobTaskWebhookNotificationsOnSuccess[]
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    on_duration_warning_threshold_exceededs Sequence[JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded]
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    on_failures Sequence[JobTaskWebhookNotificationsOnFailure]
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    on_starts Sequence[JobTaskWebhookNotificationsOnStart]
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    on_streaming_backlog_exceededs Sequence[JobTaskWebhookNotificationsOnStreamingBacklogExceeded]

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    on_successes Sequence[JobTaskWebhookNotificationsOnSuccess]
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    onDurationWarningThresholdExceededs List<Property Map>
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures List<Property Map>
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    onStarts List<Property Map>
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    onStreamingBacklogExceededs List<Property Map>

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    onSuccesses List<Property Map>
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.

    JobTaskWebhookNotificationsOnDurationWarningThresholdExceeded, JobTaskWebhookNotificationsOnDurationWarningThresholdExceededArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobTaskWebhookNotificationsOnFailure, JobTaskWebhookNotificationsOnFailureArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobTaskWebhookNotificationsOnStart, JobTaskWebhookNotificationsOnStartArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobTaskWebhookNotificationsOnStreamingBacklogExceeded, JobTaskWebhookNotificationsOnStreamingBacklogExceededArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobTaskWebhookNotificationsOnSuccess, JobTaskWebhookNotificationsOnSuccessArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobTrigger, JobTriggerArgs

    Continuous JobTriggerContinuous
    Configuration block to configure pause status. See continuous Configuration Block.
    FileArrival JobTriggerFileArrival
    configuration block to define a trigger for File Arrival events consisting of following attributes:
    Model JobTriggerModel
    PauseStatus string
    Periodic JobTriggerPeriodic
    configuration block to define a trigger for Periodic Triggers consisting of the following attributes:
    Schedule JobTriggerSchedule
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    SqlCondition JobTriggerSqlCondition
    TableUpdate JobTriggerTableUpdate
    configuration block to define a trigger for Table Updates consisting of following attributes:
    Continuous JobTriggerContinuous
    Configuration block to configure pause status. See continuous Configuration Block.
    FileArrival JobTriggerFileArrival
    configuration block to define a trigger for File Arrival events consisting of following attributes:
    Model JobTriggerModel
    PauseStatus string
    Periodic JobTriggerPeriodic
    configuration block to define a trigger for Periodic Triggers consisting of the following attributes:
    Schedule JobTriggerSchedule
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    SqlCondition JobTriggerSqlCondition
    TableUpdate JobTriggerTableUpdate
    configuration block to define a trigger for Table Updates consisting of following attributes:
    continuous object
    Configuration block to configure pause status. See continuous Configuration Block.
    file_arrival object
    configuration block to define a trigger for File Arrival events consisting of following attributes:
    model object
    pause_status string
    periodic object
    configuration block to define a trigger for Periodic Triggers consisting of the following attributes:
    schedule object
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    sql_condition object
    table_update object
    configuration block to define a trigger for Table Updates consisting of following attributes:
    continuous JobTriggerContinuous
    Configuration block to configure pause status. See continuous Configuration Block.
    fileArrival JobTriggerFileArrival
    configuration block to define a trigger for File Arrival events consisting of following attributes:
    model JobTriggerModel
    pauseStatus String
    periodic JobTriggerPeriodic
    configuration block to define a trigger for Periodic Triggers consisting of the following attributes:
    schedule JobTriggerSchedule
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    sqlCondition JobTriggerSqlCondition
    tableUpdate JobTriggerTableUpdate
    configuration block to define a trigger for Table Updates consisting of following attributes:
    continuous JobTriggerContinuous
    Configuration block to configure pause status. See continuous Configuration Block.
    fileArrival JobTriggerFileArrival
    configuration block to define a trigger for File Arrival events consisting of following attributes:
    model JobTriggerModel
    pauseStatus string
    periodic JobTriggerPeriodic
    configuration block to define a trigger for Periodic Triggers consisting of the following attributes:
    schedule JobTriggerSchedule
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    sqlCondition JobTriggerSqlCondition
    tableUpdate JobTriggerTableUpdate
    configuration block to define a trigger for Table Updates consisting of following attributes:
    continuous JobTriggerContinuous
    Configuration block to configure pause status. See continuous Configuration Block.
    file_arrival JobTriggerFileArrival
    configuration block to define a trigger for File Arrival events consisting of following attributes:
    model JobTriggerModel
    pause_status str
    periodic JobTriggerPeriodic
    configuration block to define a trigger for Periodic Triggers consisting of the following attributes:
    schedule JobTriggerSchedule
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    sql_condition JobTriggerSqlCondition
    table_update JobTriggerTableUpdate
    configuration block to define a trigger for Table Updates consisting of following attributes:
    continuous Property Map
    Configuration block to configure pause status. See continuous Configuration Block.
    fileArrival Property Map
    configuration block to define a trigger for File Arrival events consisting of following attributes:
    model Property Map
    pauseStatus String
    periodic Property Map
    configuration block to define a trigger for Periodic Triggers consisting of the following attributes:
    schedule Property Map
    An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
    sqlCondition Property Map
    tableUpdate Property Map
    configuration block to define a trigger for Table Updates consisting of following attributes:

    JobTriggerContinuous, JobTriggerContinuousArgs

    MaintenanceWindow JobTriggerContinuousMaintenanceWindow
    TaskRetryMode string
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.
    MaintenanceWindow JobTriggerContinuousMaintenanceWindow
    TaskRetryMode string
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.
    maintenance_window object
    task_retry_mode string
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.
    maintenanceWindow JobTriggerContinuousMaintenanceWindow
    taskRetryMode String
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.
    maintenanceWindow JobTriggerContinuousMaintenanceWindow
    taskRetryMode string
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.
    maintenance_window JobTriggerContinuousMaintenanceWindow
    task_retry_mode str
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.
    maintenanceWindow Property Map
    taskRetryMode String
    Controls task level retry behaviour. Allowed values are:

    • NEVER (default): The failed task will not be retried.
    • ON_FAILURE: Retry a failed task if at least one other task in the job is still running its first attempt. When this condition is no longer met or the retry limit is reached, the job run is cancelled and a new run is started.

    JobTriggerContinuousMaintenanceWindow, JobTriggerContinuousMaintenanceWindowArgs

    DayOfWeek string
    StartHour int
    TimezoneId string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    DayOfWeek string
    StartHour int
    TimezoneId string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    day_of_week string
    start_hour number
    timezone_id string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    dayOfWeek String
    startHour Integer
    timezoneId String
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    dayOfWeek string
    startHour number
    timezoneId string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    day_of_week str
    start_hour int
    timezone_id str
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    dayOfWeek String
    startHour Number
    timezoneId String
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.

    JobTriggerFileArrival, JobTriggerFileArrivalArgs

    Url string
    URL of the job on the given workspace
    MinTimeBetweenTriggersSeconds int
    WaitAfterLastChangeSeconds int
    Url string
    URL of the job on the given workspace
    MinTimeBetweenTriggersSeconds int
    WaitAfterLastChangeSeconds int
    url string
    URL of the job on the given workspace
    min_time_between_triggers_seconds number
    wait_after_last_change_seconds number
    url String
    URL of the job on the given workspace
    minTimeBetweenTriggersSeconds Integer
    waitAfterLastChangeSeconds Integer
    url string
    URL of the job on the given workspace
    minTimeBetweenTriggersSeconds number
    waitAfterLastChangeSeconds number
    url str
    URL of the job on the given workspace
    min_time_between_triggers_seconds int
    wait_after_last_change_seconds int
    url String
    URL of the job on the given workspace
    minTimeBetweenTriggersSeconds Number
    waitAfterLastChangeSeconds Number

    JobTriggerModel, JobTriggerModelArgs

    Condition string
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    Aliases List<string>
    MinTimeBetweenTriggersSeconds int
    SecurableName string
    WaitAfterLastChangeSeconds int
    Condition string
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    Aliases []string
    MinTimeBetweenTriggersSeconds int
    SecurableName string
    WaitAfterLastChangeSeconds int
    condition string
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    aliases list(string)
    min_time_between_triggers_seconds number
    securable_name string
    wait_after_last_change_seconds number
    condition String
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    aliases List<String>
    minTimeBetweenTriggersSeconds Integer
    securableName String
    waitAfterLastChangeSeconds Integer
    condition string
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    aliases string[]
    minTimeBetweenTriggersSeconds number
    securableName string
    waitAfterLastChangeSeconds number
    condition str
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    aliases Sequence[str]
    min_time_between_triggers_seconds int
    securable_name str
    wait_after_last_change_seconds int
    condition String
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    aliases List<String>
    minTimeBetweenTriggersSeconds Number
    securableName String
    waitAfterLastChangeSeconds Number

    JobTriggerPeriodic, JobTriggerPeriodicArgs

    Interval int
    Specifies the interval at which the job should run.
    Unit string
    The unit of time for the interval. Possible values are: DAYS, HOURS, WEEKS.
    Interval int
    Specifies the interval at which the job should run.
    Unit string
    The unit of time for the interval. Possible values are: DAYS, HOURS, WEEKS.
    interval number
    Specifies the interval at which the job should run.
    unit string
    The unit of time for the interval. Possible values are: DAYS, HOURS, WEEKS.
    interval Integer
    Specifies the interval at which the job should run.
    unit String
    The unit of time for the interval. Possible values are: DAYS, HOURS, WEEKS.
    interval number
    Specifies the interval at which the job should run.
    unit string
    The unit of time for the interval. Possible values are: DAYS, HOURS, WEEKS.
    interval int
    Specifies the interval at which the job should run.
    unit str
    The unit of time for the interval. Possible values are: DAYS, HOURS, WEEKS.
    interval Number
    Specifies the interval at which the job should run.
    unit String
    The unit of time for the interval. Possible values are: DAYS, HOURS, WEEKS.

    JobTriggerSchedule, JobTriggerScheduleArgs

    QuartzCronExpression string
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    TimezoneId string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    QuartzCronExpression string
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    TimezoneId string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    quartz_cron_expression string
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    timezone_id string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    quartzCronExpression String
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    timezoneId String
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    quartzCronExpression string
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    timezoneId string
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    quartz_cron_expression str
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    timezone_id str
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.
    quartzCronExpression String
    A Cron expression using Quartz syntax that describes the schedule for a job. This field is required.
    timezoneId String
    A Java timezone ID. The schedule for a job will be resolved with respect to this timezone. See Java TimeZone for details. This field is required.

    JobTriggerSqlCondition, JobTriggerSqlConditionArgs

    JobTriggerTableUpdate, JobTriggerTableUpdateArgs

    TableNames List<string>
    A non-empty list of tables to monitor for changes. The table name must be in the format catalog_name.schema_name.table_name.
    Condition string
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    MinTimeBetweenTriggersSeconds int
    WaitAfterLastChangeSeconds int
    TableNames []string
    A non-empty list of tables to monitor for changes. The table name must be in the format catalog_name.schema_name.table_name.
    Condition string
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    MinTimeBetweenTriggersSeconds int
    WaitAfterLastChangeSeconds int
    table_names list(string)
    A non-empty list of tables to monitor for changes. The table name must be in the format catalog_name.schema_name.table_name.
    condition string
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    min_time_between_triggers_seconds number
    wait_after_last_change_seconds number
    tableNames List<String>
    A non-empty list of tables to monitor for changes. The table name must be in the format catalog_name.schema_name.table_name.
    condition String
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    minTimeBetweenTriggersSeconds Integer
    waitAfterLastChangeSeconds Integer
    tableNames string[]
    A non-empty list of tables to monitor for changes. The table name must be in the format catalog_name.schema_name.table_name.
    condition string
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    minTimeBetweenTriggersSeconds number
    waitAfterLastChangeSeconds number
    table_names Sequence[str]
    A non-empty list of tables to monitor for changes. The table name must be in the format catalog_name.schema_name.table_name.
    condition str
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    min_time_between_triggers_seconds int
    wait_after_last_change_seconds int
    tableNames List<String>
    A non-empty list of tables to monitor for changes. The table name must be in the format catalog_name.schema_name.table_name.
    condition String
    The table(s) condition based on which to trigger a job run. Possible values are ANY_UPDATED, ALL_UPDATED.
    minTimeBetweenTriggersSeconds Number
    waitAfterLastChangeSeconds Number

    JobWebhookNotifications, JobWebhookNotificationsArgs

    OnDurationWarningThresholdExceededs List<JobWebhookNotificationsOnDurationWarningThresholdExceeded>
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    OnFailures List<JobWebhookNotificationsOnFailure>
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    OnStarts List<JobWebhookNotificationsOnStart>
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    OnStreamingBacklogExceededs List<JobWebhookNotificationsOnStreamingBacklogExceeded>

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    OnSuccesses List<JobWebhookNotificationsOnSuccess>
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    OnDurationWarningThresholdExceededs []JobWebhookNotificationsOnDurationWarningThresholdExceeded
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    OnFailures []JobWebhookNotificationsOnFailure
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    OnStarts []JobWebhookNotificationsOnStart
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    OnStreamingBacklogExceededs []JobWebhookNotificationsOnStreamingBacklogExceeded

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    OnSuccesses []JobWebhookNotificationsOnSuccess
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    on_duration_warning_threshold_exceededs list(object)
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    on_failures list(object)
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    on_starts list(object)
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    on_streaming_backlog_exceededs list(object)

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    on_successes list(object)
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    onDurationWarningThresholdExceededs List<JobWebhookNotificationsOnDurationWarningThresholdExceeded>
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures List<JobWebhookNotificationsOnFailure>
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    onStarts List<JobWebhookNotificationsOnStart>
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    onStreamingBacklogExceededs List<JobWebhookNotificationsOnStreamingBacklogExceeded>

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    onSuccesses List<JobWebhookNotificationsOnSuccess>
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    onDurationWarningThresholdExceededs JobWebhookNotificationsOnDurationWarningThresholdExceeded[]
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures JobWebhookNotificationsOnFailure[]
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    onStarts JobWebhookNotificationsOnStart[]
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    onStreamingBacklogExceededs JobWebhookNotificationsOnStreamingBacklogExceeded[]

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    onSuccesses JobWebhookNotificationsOnSuccess[]
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    on_duration_warning_threshold_exceededs Sequence[JobWebhookNotificationsOnDurationWarningThresholdExceeded]
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    on_failures Sequence[JobWebhookNotificationsOnFailure]
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    on_starts Sequence[JobWebhookNotificationsOnStart]
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    on_streaming_backlog_exceededs Sequence[JobWebhookNotificationsOnStreamingBacklogExceeded]

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    on_successes Sequence[JobWebhookNotificationsOnSuccess]
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
    onDurationWarningThresholdExceededs List<Property Map>
    (List) list of notification IDs to call when the duration of a run exceeds the threshold specified by the RUN_DURATION_SECONDS metric in the health block.
    onFailures List<Property Map>
    (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
    onStarts List<Property Map>
    (List) list of notification IDs to call when the run starts. A maximum of 3 destinations can be specified.
    onStreamingBacklogExceededs List<Property Map>

    (List) list of notification IDs to call when any streaming backlog thresholds are exceeded for any stream.

    Note that the id is not to be confused with the name of the alert destination. The id can be retrieved through the API or the URL of Databricks UI https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>

    Example

    onSuccesses List<Property Map>
    (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.

    JobWebhookNotificationsOnDurationWarningThresholdExceeded, JobWebhookNotificationsOnDurationWarningThresholdExceededArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobWebhookNotificationsOnFailure, JobWebhookNotificationsOnFailureArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobWebhookNotificationsOnStart, JobWebhookNotificationsOnStartArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobWebhookNotificationsOnStreamingBacklogExceeded, JobWebhookNotificationsOnStreamingBacklogExceededArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    JobWebhookNotificationsOnSuccess, JobWebhookNotificationsOnSuccessArgs

    Id string
    ID of the job
    Id string
    ID of the job
    id string
    ID of the job
    id String
    ID of the job
    id string
    ID of the job
    id str
    ID of the job
    id String
    ID of the job

    Package Details

    Repository
    databricks pulumi/pulumi-databricks
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the databricks Terraform Provider.
    databricks logo databricks logo
    Viewing docs for Databricks v1.109.0
    published on Tuesday, Sep 8, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial