2022-12-06 15:26:19 +00:00
|
|
|
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
|
|
|
|
|
|
|
package schema
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourceJobContinuous struct {
|
|
|
|
PauseStatus string `json:"pause_status,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobDbtTask struct {
|
2023-03-20 16:22:55 +00:00
|
|
|
Catalog string `json:"catalog,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
Commands []string `json:"commands"`
|
|
|
|
ProfilesDirectory string `json:"profiles_directory,omitempty"`
|
|
|
|
ProjectDirectory string `json:"project_directory,omitempty"`
|
|
|
|
Schema string `json:"schema,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
Source string `json:"source,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
WarehouseId string `json:"warehouse_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-10-27 09:16:41 +00:00
|
|
|
type ResourceJobDeployment struct {
|
|
|
|
Kind string `json:"kind"`
|
|
|
|
MetadataFilePath string `json:"metadata_file_path,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobEmailNotifications struct {
|
2023-08-03 11:20:30 +00:00
|
|
|
NoAlertForSkippedRuns bool `json:"no_alert_for_skipped_runs,omitempty"`
|
|
|
|
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
|
|
|
OnFailure []string `json:"on_failure,omitempty"`
|
|
|
|
OnStart []string `json:"on_start,omitempty"`
|
2024-06-26 09:29:46 +00:00
|
|
|
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
2023-08-03 11:20:30 +00:00
|
|
|
OnSuccess []string `json:"on_success,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-04-18 20:20:01 +00:00
|
|
|
type ResourceJobEnvironmentSpec struct {
|
|
|
|
Client string `json:"client"`
|
|
|
|
Dependencies []string `json:"dependencies,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobEnvironment struct {
|
|
|
|
EnvironmentKey string `json:"environment_key"`
|
|
|
|
Spec *ResourceJobEnvironmentSpec `json:"spec,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-05-31 07:13:43 +00:00
|
|
|
type ResourceJobGitSourceGitSnapshot struct {
|
|
|
|
UsedCommit string `json:"used_commit,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-08-03 11:20:30 +00:00
|
|
|
type ResourceJobGitSourceJobSource struct {
|
|
|
|
DirtyState string `json:"dirty_state,omitempty"`
|
|
|
|
ImportFromGitBranch string `json:"import_from_git_branch"`
|
|
|
|
JobConfigPath string `json:"job_config_path"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobGitSource struct {
|
2024-05-31 07:13:43 +00:00
|
|
|
Branch string `json:"branch,omitempty"`
|
|
|
|
Commit string `json:"commit,omitempty"`
|
|
|
|
Provider string `json:"provider,omitempty"`
|
|
|
|
Tag string `json:"tag,omitempty"`
|
|
|
|
Url string `json:"url"`
|
|
|
|
GitSnapshot *ResourceJobGitSourceGitSnapshot `json:"git_snapshot,omitempty"`
|
|
|
|
JobSource *ResourceJobGitSourceJobSource `json:"job_source,omitempty"`
|
2023-08-03 11:20:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobHealthRules struct {
|
2024-05-31 07:13:43 +00:00
|
|
|
Metric string `json:"metric"`
|
|
|
|
Op string `json:"op"`
|
|
|
|
Value int `json:"value"`
|
2023-08-03 11:20:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobHealth struct {
|
|
|
|
Rules []ResourceJobHealthRules `json:"rules,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterAutoscale struct {
|
|
|
|
MaxWorkers int `json:"max_workers,omitempty"`
|
|
|
|
MinWorkers int `json:"min_workers,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterAwsAttributes struct {
|
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
EbsVolumeIops int `json:"ebs_volume_iops,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
EbsVolumeThroughput int `json:"ebs_volume_throughput,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
EbsVolumeType string `json:"ebs_volume_type,omitempty"`
|
|
|
|
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
|
|
|
InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
|
|
|
|
SpotBidPricePercent int `json:"spot_bid_price_percent,omitempty"`
|
|
|
|
ZoneId string `json:"zone_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-05-31 07:13:43 +00:00
|
|
|
type ResourceJobJobClusterNewClusterAzureAttributesLogAnalyticsInfo struct {
|
|
|
|
LogAnalyticsPrimaryKey string `json:"log_analytics_primary_key,omitempty"`
|
|
|
|
LogAnalyticsWorkspaceId string `json:"log_analytics_workspace_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobJobClusterNewClusterAzureAttributes struct {
|
2024-05-31 07:13:43 +00:00
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
|
|
|
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
|
|
|
|
LogAnalyticsInfo *ResourceJobJobClusterNewClusterAzureAttributesLogAnalyticsInfo `json:"log_analytics_info,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterClusterLogConfDbfs struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterClusterLogConfS3 struct {
|
|
|
|
CannedAcl string `json:"canned_acl,omitempty"`
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
EnableEncryption bool `json:"enable_encryption,omitempty"`
|
|
|
|
EncryptionType string `json:"encryption_type,omitempty"`
|
|
|
|
Endpoint string `json:"endpoint,omitempty"`
|
|
|
|
KmsKey string `json:"kms_key,omitempty"`
|
|
|
|
Region string `json:"region,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterClusterLogConf struct {
|
|
|
|
Dbfs *ResourceJobJobClusterNewClusterClusterLogConfDbfs `json:"dbfs,omitempty"`
|
|
|
|
S3 *ResourceJobJobClusterNewClusterClusterLogConfS3 `json:"s3,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourceJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo struct {
|
|
|
|
MountOptions string `json:"mount_options,omitempty"`
|
|
|
|
ServerAddress string `json:"server_address"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterClusterMountInfo struct {
|
|
|
|
LocalMountDirPath string `json:"local_mount_dir_path"`
|
|
|
|
RemoteMountDirPath string `json:"remote_mount_dir_path,omitempty"`
|
|
|
|
NetworkFilesystemInfo *ResourceJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo `json:"network_filesystem_info,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobJobClusterNewClusterDockerImageBasicAuth struct {
|
|
|
|
Password string `json:"password"`
|
|
|
|
Username string `json:"username"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterDockerImage struct {
|
|
|
|
Url string `json:"url"`
|
|
|
|
BasicAuth *ResourceJobJobClusterNewClusterDockerImageBasicAuth `json:"basic_auth,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterGcpAttributes struct {
|
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
BootDiskSize int `json:"boot_disk_size,omitempty"`
|
|
|
|
GoogleServiceAccount string `json:"google_service_account,omitempty"`
|
2023-08-30 13:58:28 +00:00
|
|
|
LocalSsdCount int `json:"local_ssd_count,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
UsePreemptibleExecutors bool `json:"use_preemptible_executors,omitempty"`
|
|
|
|
ZoneId string `json:"zone_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourceJobJobClusterNewClusterInitScriptsAbfss struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2023-03-20 16:22:55 +00:00
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobJobClusterNewClusterInitScriptsDbfs struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterInitScriptsFile struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterInitScriptsGcs struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterInitScriptsS3 struct {
|
|
|
|
CannedAcl string `json:"canned_acl,omitempty"`
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
EnableEncryption bool `json:"enable_encryption,omitempty"`
|
|
|
|
EncryptionType string `json:"encryption_type,omitempty"`
|
|
|
|
Endpoint string `json:"endpoint,omitempty"`
|
|
|
|
KmsKey string `json:"kms_key,omitempty"`
|
|
|
|
Region string `json:"region,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-10-16 12:52:16 +00:00
|
|
|
type ResourceJobJobClusterNewClusterInitScriptsVolumes struct {
|
2024-02-23 10:41:42 +00:00
|
|
|
Destination string `json:"destination"`
|
2023-10-16 12:52:16 +00:00
|
|
|
}
|
|
|
|
|
2023-05-23 17:33:24 +00:00
|
|
|
type ResourceJobJobClusterNewClusterInitScriptsWorkspace struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2023-05-23 17:33:24 +00:00
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobJobClusterNewClusterInitScripts struct {
|
2023-05-23 17:33:24 +00:00
|
|
|
Abfss *ResourceJobJobClusterNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
|
|
|
|
Dbfs *ResourceJobJobClusterNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
|
|
|
File *ResourceJobJobClusterNewClusterInitScriptsFile `json:"file,omitempty"`
|
|
|
|
Gcs *ResourceJobJobClusterNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
|
|
|
S3 *ResourceJobJobClusterNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
2023-10-16 12:52:16 +00:00
|
|
|
Volumes *ResourceJobJobClusterNewClusterInitScriptsVolumes `json:"volumes,omitempty"`
|
2023-05-23 17:33:24 +00:00
|
|
|
Workspace *ResourceJobJobClusterNewClusterInitScriptsWorkspace `json:"workspace,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
2024-05-31 07:13:43 +00:00
|
|
|
type ResourceJobJobClusterNewClusterLibraryCran struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterLibraryMaven struct {
|
|
|
|
Coordinates string `json:"coordinates"`
|
|
|
|
Exclusions []string `json:"exclusions,omitempty"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterLibraryPypi struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterLibrary struct {
|
|
|
|
Egg string `json:"egg,omitempty"`
|
|
|
|
Jar string `json:"jar,omitempty"`
|
|
|
|
Requirements string `json:"requirements,omitempty"`
|
|
|
|
Whl string `json:"whl,omitempty"`
|
|
|
|
Cran *ResourceJobJobClusterNewClusterLibraryCran `json:"cran,omitempty"`
|
|
|
|
Maven *ResourceJobJobClusterNewClusterLibraryMaven `json:"maven,omitempty"`
|
|
|
|
Pypi *ResourceJobJobClusterNewClusterLibraryPypi `json:"pypi,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobJobClusterNewClusterWorkloadTypeClients struct {
|
|
|
|
Jobs bool `json:"jobs,omitempty"`
|
|
|
|
Notebooks bool `json:"notebooks,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewClusterWorkloadType struct {
|
|
|
|
Clients *ResourceJobJobClusterNewClusterWorkloadTypeClients `json:"clients,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobClusterNewCluster struct {
|
2023-03-20 16:22:55 +00:00
|
|
|
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
|
|
|
ClusterId string `json:"cluster_id,omitempty"`
|
|
|
|
ClusterName string `json:"cluster_name,omitempty"`
|
|
|
|
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
|
|
|
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
|
|
|
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
|
|
|
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
|
|
|
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
|
|
|
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
|
|
|
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
|
|
|
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
|
|
|
NodeTypeId string `json:"node_type_id,omitempty"`
|
|
|
|
NumWorkers int `json:"num_workers,omitempty"`
|
|
|
|
PolicyId string `json:"policy_id,omitempty"`
|
|
|
|
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
|
|
|
SingleUserName string `json:"single_user_name,omitempty"`
|
|
|
|
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
|
|
|
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
|
|
|
SparkVersion string `json:"spark_version"`
|
|
|
|
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
|
|
|
Autoscale *ResourceJobJobClusterNewClusterAutoscale `json:"autoscale,omitempty"`
|
|
|
|
AwsAttributes *ResourceJobJobClusterNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
|
|
|
AzureAttributes *ResourceJobJobClusterNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
|
|
|
ClusterLogConf *ResourceJobJobClusterNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
|
|
|
ClusterMountInfo []ResourceJobJobClusterNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
|
|
|
|
DockerImage *ResourceJobJobClusterNewClusterDockerImage `json:"docker_image,omitempty"`
|
|
|
|
GcpAttributes *ResourceJobJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
|
|
|
InitScripts []ResourceJobJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
Library []ResourceJobJobClusterNewClusterLibrary `json:"library,omitempty"`
|
2023-03-20 16:22:55 +00:00
|
|
|
WorkloadType *ResourceJobJobClusterNewClusterWorkloadType `json:"workload_type,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobJobCluster struct {
|
2024-05-31 07:13:43 +00:00
|
|
|
JobClusterKey string `json:"job_cluster_key"`
|
2022-12-06 15:26:19 +00:00
|
|
|
NewCluster *ResourceJobJobClusterNewCluster `json:"new_cluster,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobLibraryCran struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobLibraryMaven struct {
|
|
|
|
Coordinates string `json:"coordinates"`
|
|
|
|
Exclusions []string `json:"exclusions,omitempty"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobLibraryPypi struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobLibrary struct {
|
2024-05-06 11:41:37 +00:00
|
|
|
Egg string `json:"egg,omitempty"`
|
|
|
|
Jar string `json:"jar,omitempty"`
|
|
|
|
Requirements string `json:"requirements,omitempty"`
|
|
|
|
Whl string `json:"whl,omitempty"`
|
|
|
|
Cran *ResourceJobLibraryCran `json:"cran,omitempty"`
|
|
|
|
Maven *ResourceJobLibraryMaven `json:"maven,omitempty"`
|
|
|
|
Pypi *ResourceJobLibraryPypi `json:"pypi,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterAutoscale struct {
|
|
|
|
MaxWorkers int `json:"max_workers,omitempty"`
|
|
|
|
MinWorkers int `json:"min_workers,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterAwsAttributes struct {
|
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
EbsVolumeIops int `json:"ebs_volume_iops,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
EbsVolumeThroughput int `json:"ebs_volume_throughput,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
EbsVolumeType string `json:"ebs_volume_type,omitempty"`
|
|
|
|
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
|
|
|
InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
|
|
|
|
SpotBidPricePercent int `json:"spot_bid_price_percent,omitempty"`
|
|
|
|
ZoneId string `json:"zone_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-05-31 07:13:43 +00:00
|
|
|
type ResourceJobNewClusterAzureAttributesLogAnalyticsInfo struct {
|
|
|
|
LogAnalyticsPrimaryKey string `json:"log_analytics_primary_key,omitempty"`
|
|
|
|
LogAnalyticsWorkspaceId string `json:"log_analytics_workspace_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobNewClusterAzureAttributes struct {
|
2024-05-31 07:13:43 +00:00
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
|
|
|
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
|
|
|
|
LogAnalyticsInfo *ResourceJobNewClusterAzureAttributesLogAnalyticsInfo `json:"log_analytics_info,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterClusterLogConfDbfs struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterClusterLogConfS3 struct {
|
|
|
|
CannedAcl string `json:"canned_acl,omitempty"`
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
EnableEncryption bool `json:"enable_encryption,omitempty"`
|
|
|
|
EncryptionType string `json:"encryption_type,omitempty"`
|
|
|
|
Endpoint string `json:"endpoint,omitempty"`
|
|
|
|
KmsKey string `json:"kms_key,omitempty"`
|
|
|
|
Region string `json:"region,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterClusterLogConf struct {
|
|
|
|
Dbfs *ResourceJobNewClusterClusterLogConfDbfs `json:"dbfs,omitempty"`
|
|
|
|
S3 *ResourceJobNewClusterClusterLogConfS3 `json:"s3,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourceJobNewClusterClusterMountInfoNetworkFilesystemInfo struct {
|
|
|
|
MountOptions string `json:"mount_options,omitempty"`
|
|
|
|
ServerAddress string `json:"server_address"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterClusterMountInfo struct {
|
|
|
|
LocalMountDirPath string `json:"local_mount_dir_path"`
|
|
|
|
RemoteMountDirPath string `json:"remote_mount_dir_path,omitempty"`
|
|
|
|
NetworkFilesystemInfo *ResourceJobNewClusterClusterMountInfoNetworkFilesystemInfo `json:"network_filesystem_info,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobNewClusterDockerImageBasicAuth struct {
|
|
|
|
Password string `json:"password"`
|
|
|
|
Username string `json:"username"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterDockerImage struct {
|
|
|
|
Url string `json:"url"`
|
|
|
|
BasicAuth *ResourceJobNewClusterDockerImageBasicAuth `json:"basic_auth,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterGcpAttributes struct {
|
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
BootDiskSize int `json:"boot_disk_size,omitempty"`
|
|
|
|
GoogleServiceAccount string `json:"google_service_account,omitempty"`
|
2023-08-30 13:58:28 +00:00
|
|
|
LocalSsdCount int `json:"local_ssd_count,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
UsePreemptibleExecutors bool `json:"use_preemptible_executors,omitempty"`
|
|
|
|
ZoneId string `json:"zone_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourceJobNewClusterInitScriptsAbfss struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2023-03-20 16:22:55 +00:00
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobNewClusterInitScriptsDbfs struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterInitScriptsFile struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterInitScriptsGcs struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterInitScriptsS3 struct {
|
|
|
|
CannedAcl string `json:"canned_acl,omitempty"`
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
EnableEncryption bool `json:"enable_encryption,omitempty"`
|
|
|
|
EncryptionType string `json:"encryption_type,omitempty"`
|
|
|
|
Endpoint string `json:"endpoint,omitempty"`
|
|
|
|
KmsKey string `json:"kms_key,omitempty"`
|
|
|
|
Region string `json:"region,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-10-16 12:52:16 +00:00
|
|
|
type ResourceJobNewClusterInitScriptsVolumes struct {
|
2024-02-23 10:41:42 +00:00
|
|
|
Destination string `json:"destination"`
|
2023-10-16 12:52:16 +00:00
|
|
|
}
|
|
|
|
|
2023-05-23 17:33:24 +00:00
|
|
|
type ResourceJobNewClusterInitScriptsWorkspace struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2023-05-23 17:33:24 +00:00
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobNewClusterInitScripts struct {
|
2023-05-23 17:33:24 +00:00
|
|
|
Abfss *ResourceJobNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
|
|
|
|
Dbfs *ResourceJobNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
|
|
|
File *ResourceJobNewClusterInitScriptsFile `json:"file,omitempty"`
|
|
|
|
Gcs *ResourceJobNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
|
|
|
S3 *ResourceJobNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
2023-10-16 12:52:16 +00:00
|
|
|
Volumes *ResourceJobNewClusterInitScriptsVolumes `json:"volumes,omitempty"`
|
2023-05-23 17:33:24 +00:00
|
|
|
Workspace *ResourceJobNewClusterInitScriptsWorkspace `json:"workspace,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
2024-05-31 07:13:43 +00:00
|
|
|
type ResourceJobNewClusterLibraryCran struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterLibraryMaven struct {
|
|
|
|
Coordinates string `json:"coordinates"`
|
|
|
|
Exclusions []string `json:"exclusions,omitempty"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterLibraryPypi struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterLibrary struct {
|
|
|
|
Egg string `json:"egg,omitempty"`
|
|
|
|
Jar string `json:"jar,omitempty"`
|
|
|
|
Requirements string `json:"requirements,omitempty"`
|
|
|
|
Whl string `json:"whl,omitempty"`
|
|
|
|
Cran *ResourceJobNewClusterLibraryCran `json:"cran,omitempty"`
|
|
|
|
Maven *ResourceJobNewClusterLibraryMaven `json:"maven,omitempty"`
|
|
|
|
Pypi *ResourceJobNewClusterLibraryPypi `json:"pypi,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobNewClusterWorkloadTypeClients struct {
|
|
|
|
Jobs bool `json:"jobs,omitempty"`
|
|
|
|
Notebooks bool `json:"notebooks,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewClusterWorkloadType struct {
|
|
|
|
Clients *ResourceJobNewClusterWorkloadTypeClients `json:"clients,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNewCluster struct {
|
2023-03-20 16:22:55 +00:00
|
|
|
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
|
|
|
ClusterId string `json:"cluster_id,omitempty"`
|
|
|
|
ClusterName string `json:"cluster_name,omitempty"`
|
|
|
|
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
|
|
|
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
|
|
|
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
|
|
|
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
|
|
|
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
|
|
|
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
|
|
|
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
|
|
|
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
|
|
|
NodeTypeId string `json:"node_type_id,omitempty"`
|
|
|
|
NumWorkers int `json:"num_workers,omitempty"`
|
|
|
|
PolicyId string `json:"policy_id,omitempty"`
|
|
|
|
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
|
|
|
SingleUserName string `json:"single_user_name,omitempty"`
|
|
|
|
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
|
|
|
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
|
|
|
SparkVersion string `json:"spark_version"`
|
|
|
|
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
|
|
|
Autoscale *ResourceJobNewClusterAutoscale `json:"autoscale,omitempty"`
|
|
|
|
AwsAttributes *ResourceJobNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
|
|
|
AzureAttributes *ResourceJobNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
|
|
|
ClusterLogConf *ResourceJobNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
|
|
|
ClusterMountInfo []ResourceJobNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
|
|
|
|
DockerImage *ResourceJobNewClusterDockerImage `json:"docker_image,omitempty"`
|
|
|
|
GcpAttributes *ResourceJobNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
|
|
|
InitScripts []ResourceJobNewClusterInitScripts `json:"init_scripts,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
Library []ResourceJobNewClusterLibrary `json:"library,omitempty"`
|
2023-03-20 16:22:55 +00:00
|
|
|
WorkloadType *ResourceJobNewClusterWorkloadType `json:"workload_type,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobNotebookTask struct {
|
|
|
|
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
|
|
|
NotebookPath string `json:"notebook_path"`
|
2023-03-20 16:22:55 +00:00
|
|
|
Source string `json:"source,omitempty"`
|
2024-04-18 20:20:01 +00:00
|
|
|
WarehouseId string `json:"warehouse_id,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
2023-05-23 17:33:24 +00:00
|
|
|
type ResourceJobNotificationSettings struct {
|
|
|
|
NoAlertForCanceledRuns bool `json:"no_alert_for_canceled_runs,omitempty"`
|
|
|
|
NoAlertForSkippedRuns bool `json:"no_alert_for_skipped_runs,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-08-30 13:58:28 +00:00
|
|
|
type ResourceJobParameter struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Default string `json:"default"`
|
|
|
|
Name string `json:"name"`
|
2023-08-30 13:58:28 +00:00
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobPipelineTask struct {
|
2023-08-03 11:20:30 +00:00
|
|
|
FullRefresh bool `json:"full_refresh,omitempty"`
|
|
|
|
PipelineId string `json:"pipeline_id"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobPythonWheelTask struct {
|
|
|
|
EntryPoint string `json:"entry_point,omitempty"`
|
|
|
|
NamedParameters map[string]string `json:"named_parameters,omitempty"`
|
|
|
|
PackageName string `json:"package_name,omitempty"`
|
|
|
|
Parameters []string `json:"parameters,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-05-23 17:33:24 +00:00
|
|
|
type ResourceJobQueue struct {
|
2023-10-16 12:52:16 +00:00
|
|
|
Enabled bool `json:"enabled"`
|
2023-05-23 17:33:24 +00:00
|
|
|
}
|
|
|
|
|
2023-06-21 06:40:11 +00:00
|
|
|
type ResourceJobRunAs struct {
|
|
|
|
ServicePrincipalName string `json:"service_principal_name,omitempty"`
|
|
|
|
UserName string `json:"user_name,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-08-30 13:58:28 +00:00
|
|
|
type ResourceJobRunJobTask struct {
|
2023-10-16 12:52:16 +00:00
|
|
|
JobId int `json:"job_id"`
|
2023-08-30 13:58:28 +00:00
|
|
|
JobParameters map[string]string `json:"job_parameters,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobSchedule struct {
|
|
|
|
PauseStatus string `json:"pause_status,omitempty"`
|
|
|
|
QuartzCronExpression string `json:"quartz_cron_expression"`
|
|
|
|
TimezoneId string `json:"timezone_id"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobSparkJarTask struct {
|
|
|
|
JarUri string `json:"jar_uri,omitempty"`
|
|
|
|
MainClassName string `json:"main_class_name,omitempty"`
|
|
|
|
Parameters []string `json:"parameters,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobSparkPythonTask struct {
|
|
|
|
Parameters []string `json:"parameters,omitempty"`
|
|
|
|
PythonFile string `json:"python_file"`
|
2023-05-23 17:33:24 +00:00
|
|
|
Source string `json:"source,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobSparkSubmitTask struct {
|
|
|
|
Parameters []string `json:"parameters,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-07-07 12:52:41 +00:00
|
|
|
type ResourceJobTaskConditionTask struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Left string `json:"left"`
|
|
|
|
Op string `json:"op"`
|
|
|
|
Right string `json:"right"`
|
2023-07-07 12:52:41 +00:00
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobTaskDbtTask struct {
|
2023-03-20 16:22:55 +00:00
|
|
|
Catalog string `json:"catalog,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
Commands []string `json:"commands"`
|
|
|
|
ProfilesDirectory string `json:"profiles_directory,omitempty"`
|
|
|
|
ProjectDirectory string `json:"project_directory,omitempty"`
|
|
|
|
Schema string `json:"schema,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
Source string `json:"source,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
WarehouseId string `json:"warehouse_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskDependsOn struct {
|
2023-07-07 12:52:41 +00:00
|
|
|
Outcome string `json:"outcome,omitempty"`
|
|
|
|
TaskKey string `json:"task_key"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskEmailNotifications struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
NoAlertForSkippedRuns bool `json:"no_alert_for_skipped_runs,omitempty"`
|
2023-08-03 11:20:30 +00:00
|
|
|
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
|
|
|
OnFailure []string `json:"on_failure,omitempty"`
|
|
|
|
OnStart []string `json:"on_start,omitempty"`
|
2024-06-26 09:29:46 +00:00
|
|
|
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
2023-08-03 11:20:30 +00:00
|
|
|
OnSuccess []string `json:"on_success,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-02-23 10:41:42 +00:00
|
|
|
type ResourceJobTaskForEachTaskTaskConditionTask struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Left string `json:"left"`
|
|
|
|
Op string `json:"op"`
|
|
|
|
Right string `json:"right"`
|
2024-02-23 10:41:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskDbtTask struct {
|
|
|
|
Catalog string `json:"catalog,omitempty"`
|
|
|
|
Commands []string `json:"commands"`
|
|
|
|
ProfilesDirectory string `json:"profiles_directory,omitempty"`
|
|
|
|
ProjectDirectory string `json:"project_directory,omitempty"`
|
|
|
|
Schema string `json:"schema,omitempty"`
|
|
|
|
Source string `json:"source,omitempty"`
|
|
|
|
WarehouseId string `json:"warehouse_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskDependsOn struct {
|
|
|
|
Outcome string `json:"outcome,omitempty"`
|
|
|
|
TaskKey string `json:"task_key"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskEmailNotifications struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
NoAlertForSkippedRuns bool `json:"no_alert_for_skipped_runs,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
|
|
|
OnFailure []string `json:"on_failure,omitempty"`
|
|
|
|
OnStart []string `json:"on_start,omitempty"`
|
2024-06-26 09:29:46 +00:00
|
|
|
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
OnSuccess []string `json:"on_success,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskHealthRules struct {
|
2024-05-31 07:13:43 +00:00
|
|
|
Metric string `json:"metric"`
|
|
|
|
Op string `json:"op"`
|
|
|
|
Value int `json:"value"`
|
2024-02-23 10:41:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskHealth struct {
|
|
|
|
Rules []ResourceJobTaskForEachTaskTaskHealthRules `json:"rules,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskLibraryCran struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskLibraryMaven struct {
|
|
|
|
Coordinates string `json:"coordinates"`
|
|
|
|
Exclusions []string `json:"exclusions,omitempty"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskLibraryPypi struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskLibrary struct {
|
2024-05-06 11:41:37 +00:00
|
|
|
Egg string `json:"egg,omitempty"`
|
|
|
|
Jar string `json:"jar,omitempty"`
|
|
|
|
Requirements string `json:"requirements,omitempty"`
|
|
|
|
Whl string `json:"whl,omitempty"`
|
|
|
|
Cran *ResourceJobTaskForEachTaskTaskLibraryCran `json:"cran,omitempty"`
|
|
|
|
Maven *ResourceJobTaskForEachTaskTaskLibraryMaven `json:"maven,omitempty"`
|
|
|
|
Pypi *ResourceJobTaskForEachTaskTaskLibraryPypi `json:"pypi,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterAutoscale struct {
|
|
|
|
MaxWorkers int `json:"max_workers,omitempty"`
|
|
|
|
MinWorkers int `json:"min_workers,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterAwsAttributes struct {
|
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
EbsVolumeIops int `json:"ebs_volume_iops,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
EbsVolumeThroughput int `json:"ebs_volume_throughput,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
EbsVolumeType string `json:"ebs_volume_type,omitempty"`
|
|
|
|
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
|
|
|
InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
|
|
|
|
SpotBidPricePercent int `json:"spot_bid_price_percent,omitempty"`
|
|
|
|
ZoneId string `json:"zone_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-05-31 07:13:43 +00:00
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo struct {
|
|
|
|
LogAnalyticsPrimaryKey string `json:"log_analytics_primary_key,omitempty"`
|
|
|
|
LogAnalyticsWorkspaceId string `json:"log_analytics_workspace_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-02-23 10:41:42 +00:00
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterAzureAttributes struct {
|
2024-05-31 07:13:43 +00:00
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
|
|
|
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
|
|
|
|
LogAnalyticsInfo *ResourceJobTaskForEachTaskTaskNewClusterAzureAttributesLogAnalyticsInfo `json:"log_analytics_info,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterClusterLogConfDbfs struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterClusterLogConfS3 struct {
|
|
|
|
CannedAcl string `json:"canned_acl,omitempty"`
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
EnableEncryption bool `json:"enable_encryption,omitempty"`
|
|
|
|
EncryptionType string `json:"encryption_type,omitempty"`
|
|
|
|
Endpoint string `json:"endpoint,omitempty"`
|
|
|
|
KmsKey string `json:"kms_key,omitempty"`
|
|
|
|
Region string `json:"region,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterClusterLogConf struct {
|
|
|
|
Dbfs *ResourceJobTaskForEachTaskTaskNewClusterClusterLogConfDbfs `json:"dbfs,omitempty"`
|
|
|
|
S3 *ResourceJobTaskForEachTaskTaskNewClusterClusterLogConfS3 `json:"s3,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct {
|
|
|
|
MountOptions string `json:"mount_options,omitempty"`
|
|
|
|
ServerAddress string `json:"server_address"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterClusterMountInfo struct {
|
|
|
|
LocalMountDirPath string `json:"local_mount_dir_path"`
|
|
|
|
RemoteMountDirPath string `json:"remote_mount_dir_path,omitempty"`
|
|
|
|
NetworkFilesystemInfo *ResourceJobTaskForEachTaskTaskNewClusterClusterMountInfoNetworkFilesystemInfo `json:"network_filesystem_info,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterDockerImageBasicAuth struct {
|
|
|
|
Password string `json:"password"`
|
|
|
|
Username string `json:"username"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterDockerImage struct {
|
|
|
|
Url string `json:"url"`
|
|
|
|
BasicAuth *ResourceJobTaskForEachTaskTaskNewClusterDockerImageBasicAuth `json:"basic_auth,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterGcpAttributes struct {
|
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
BootDiskSize int `json:"boot_disk_size,omitempty"`
|
|
|
|
GoogleServiceAccount string `json:"google_service_account,omitempty"`
|
|
|
|
LocalSsdCount int `json:"local_ssd_count,omitempty"`
|
|
|
|
UsePreemptibleExecutors bool `json:"use_preemptible_executors,omitempty"`
|
|
|
|
ZoneId string `json:"zone_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterInitScriptsAbfss struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterInitScriptsDbfs struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterInitScriptsFile struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterInitScriptsGcs struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterInitScriptsS3 struct {
|
|
|
|
CannedAcl string `json:"canned_acl,omitempty"`
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
EnableEncryption bool `json:"enable_encryption,omitempty"`
|
|
|
|
EncryptionType string `json:"encryption_type,omitempty"`
|
|
|
|
Endpoint string `json:"endpoint,omitempty"`
|
|
|
|
KmsKey string `json:"kms_key,omitempty"`
|
|
|
|
Region string `json:"region,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterInitScriptsVolumes struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterInitScriptsWorkspace struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterInitScripts struct {
|
|
|
|
Abfss *ResourceJobTaskForEachTaskTaskNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
|
|
|
|
Dbfs *ResourceJobTaskForEachTaskTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
|
|
|
File *ResourceJobTaskForEachTaskTaskNewClusterInitScriptsFile `json:"file,omitempty"`
|
|
|
|
Gcs *ResourceJobTaskForEachTaskTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
|
|
|
S3 *ResourceJobTaskForEachTaskTaskNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
|
|
|
Volumes *ResourceJobTaskForEachTaskTaskNewClusterInitScriptsVolumes `json:"volumes,omitempty"`
|
|
|
|
Workspace *ResourceJobTaskForEachTaskTaskNewClusterInitScriptsWorkspace `json:"workspace,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-05-31 07:13:43 +00:00
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterLibraryCran struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterLibraryMaven struct {
|
|
|
|
Coordinates string `json:"coordinates"`
|
|
|
|
Exclusions []string `json:"exclusions,omitempty"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterLibraryPypi struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterLibrary struct {
|
|
|
|
Egg string `json:"egg,omitempty"`
|
|
|
|
Jar string `json:"jar,omitempty"`
|
|
|
|
Requirements string `json:"requirements,omitempty"`
|
|
|
|
Whl string `json:"whl,omitempty"`
|
|
|
|
Cran *ResourceJobTaskForEachTaskTaskNewClusterLibraryCran `json:"cran,omitempty"`
|
|
|
|
Maven *ResourceJobTaskForEachTaskTaskNewClusterLibraryMaven `json:"maven,omitempty"`
|
|
|
|
Pypi *ResourceJobTaskForEachTaskTaskNewClusterLibraryPypi `json:"pypi,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-02-23 10:41:42 +00:00
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterWorkloadTypeClients struct {
|
|
|
|
Jobs bool `json:"jobs,omitempty"`
|
|
|
|
Notebooks bool `json:"notebooks,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewClusterWorkloadType struct {
|
|
|
|
Clients *ResourceJobTaskForEachTaskTaskNewClusterWorkloadTypeClients `json:"clients,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNewCluster struct {
|
|
|
|
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
|
|
|
ClusterId string `json:"cluster_id,omitempty"`
|
|
|
|
ClusterName string `json:"cluster_name,omitempty"`
|
|
|
|
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
|
|
|
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
|
|
|
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
|
|
|
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
|
|
|
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
|
|
|
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
|
|
|
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
|
|
|
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
|
|
|
NodeTypeId string `json:"node_type_id,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
NumWorkers int `json:"num_workers,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
PolicyId string `json:"policy_id,omitempty"`
|
|
|
|
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
|
|
|
SingleUserName string `json:"single_user_name,omitempty"`
|
|
|
|
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
|
|
|
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
|
|
|
SparkVersion string `json:"spark_version"`
|
|
|
|
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
|
|
|
Autoscale *ResourceJobTaskForEachTaskTaskNewClusterAutoscale `json:"autoscale,omitempty"`
|
|
|
|
AwsAttributes *ResourceJobTaskForEachTaskTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
|
|
|
AzureAttributes *ResourceJobTaskForEachTaskTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
|
|
|
ClusterLogConf *ResourceJobTaskForEachTaskTaskNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
|
|
|
ClusterMountInfo []ResourceJobTaskForEachTaskTaskNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
|
|
|
|
DockerImage *ResourceJobTaskForEachTaskTaskNewClusterDockerImage `json:"docker_image,omitempty"`
|
|
|
|
GcpAttributes *ResourceJobTaskForEachTaskTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
|
|
|
InitScripts []ResourceJobTaskForEachTaskTaskNewClusterInitScripts `json:"init_scripts,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
Library []ResourceJobTaskForEachTaskTaskNewClusterLibrary `json:"library,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
WorkloadType *ResourceJobTaskForEachTaskTaskNewClusterWorkloadType `json:"workload_type,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNotebookTask struct {
|
|
|
|
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
|
|
|
NotebookPath string `json:"notebook_path"`
|
|
|
|
Source string `json:"source,omitempty"`
|
2024-04-18 20:20:01 +00:00
|
|
|
WarehouseId string `json:"warehouse_id,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskNotificationSettings struct {
|
|
|
|
AlertOnLastAttempt bool `json:"alert_on_last_attempt,omitempty"`
|
|
|
|
NoAlertForCanceledRuns bool `json:"no_alert_for_canceled_runs,omitempty"`
|
|
|
|
NoAlertForSkippedRuns bool `json:"no_alert_for_skipped_runs,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskPipelineTask struct {
|
|
|
|
FullRefresh bool `json:"full_refresh,omitempty"`
|
|
|
|
PipelineId string `json:"pipeline_id"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskPythonWheelTask struct {
|
|
|
|
EntryPoint string `json:"entry_point,omitempty"`
|
|
|
|
NamedParameters map[string]string `json:"named_parameters,omitempty"`
|
|
|
|
PackageName string `json:"package_name,omitempty"`
|
|
|
|
Parameters []string `json:"parameters,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-05-31 07:13:43 +00:00
|
|
|
type ResourceJobTaskForEachTaskTaskRunJobTaskPipelineParams struct {
|
|
|
|
FullRefresh bool `json:"full_refresh,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-02-23 10:41:42 +00:00
|
|
|
type ResourceJobTaskForEachTaskTaskRunJobTask struct {
|
2024-05-31 07:13:43 +00:00
|
|
|
DbtCommands []string `json:"dbt_commands,omitempty"`
|
|
|
|
JarParams []string `json:"jar_params,omitempty"`
|
|
|
|
JobId int `json:"job_id"`
|
|
|
|
JobParameters map[string]string `json:"job_parameters,omitempty"`
|
|
|
|
NotebookParams map[string]string `json:"notebook_params,omitempty"`
|
|
|
|
PythonNamedParams map[string]string `json:"python_named_params,omitempty"`
|
|
|
|
PythonParams []string `json:"python_params,omitempty"`
|
|
|
|
SparkSubmitParams []string `json:"spark_submit_params,omitempty"`
|
|
|
|
SqlParams map[string]string `json:"sql_params,omitempty"`
|
|
|
|
PipelineParams *ResourceJobTaskForEachTaskTaskRunJobTaskPipelineParams `json:"pipeline_params,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskSparkJarTask struct {
|
|
|
|
JarUri string `json:"jar_uri,omitempty"`
|
|
|
|
MainClassName string `json:"main_class_name,omitempty"`
|
|
|
|
Parameters []string `json:"parameters,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskSparkPythonTask struct {
|
|
|
|
Parameters []string `json:"parameters,omitempty"`
|
|
|
|
PythonFile string `json:"python_file"`
|
|
|
|
Source string `json:"source,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskSparkSubmitTask struct {
|
|
|
|
Parameters []string `json:"parameters,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskSqlTaskAlertSubscriptions struct {
|
|
|
|
DestinationId string `json:"destination_id,omitempty"`
|
|
|
|
UserName string `json:"user_name,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskSqlTaskAlert struct {
|
|
|
|
AlertId string `json:"alert_id"`
|
|
|
|
PauseSubscriptions bool `json:"pause_subscriptions,omitempty"`
|
|
|
|
Subscriptions []ResourceJobTaskForEachTaskTaskSqlTaskAlertSubscriptions `json:"subscriptions,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskSqlTaskDashboardSubscriptions struct {
|
|
|
|
DestinationId string `json:"destination_id,omitempty"`
|
|
|
|
UserName string `json:"user_name,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskSqlTaskDashboard struct {
|
|
|
|
CustomSubject string `json:"custom_subject,omitempty"`
|
|
|
|
DashboardId string `json:"dashboard_id"`
|
|
|
|
PauseSubscriptions bool `json:"pause_subscriptions,omitempty"`
|
|
|
|
Subscriptions []ResourceJobTaskForEachTaskTaskSqlTaskDashboardSubscriptions `json:"subscriptions,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskSqlTaskFile struct {
|
|
|
|
Path string `json:"path"`
|
|
|
|
Source string `json:"source,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskSqlTaskQuery struct {
|
|
|
|
QueryId string `json:"query_id"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskSqlTask struct {
|
|
|
|
Parameters map[string]string `json:"parameters,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
WarehouseId string `json:"warehouse_id"`
|
2024-02-23 10:41:42 +00:00
|
|
|
Alert *ResourceJobTaskForEachTaskTaskSqlTaskAlert `json:"alert,omitempty"`
|
|
|
|
Dashboard *ResourceJobTaskForEachTaskTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
|
|
|
File *ResourceJobTaskForEachTaskTaskSqlTaskFile `json:"file,omitempty"`
|
|
|
|
Query *ResourceJobTaskForEachTaskTaskSqlTaskQuery `json:"query,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Id string `json:"id"`
|
2024-02-23 10:41:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnFailure struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Id string `json:"id"`
|
2024-02-23 10:41:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStart struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Id string `json:"id"`
|
2024-02-23 10:41:42 +00:00
|
|
|
}
|
|
|
|
|
2024-06-26 09:29:46 +00:00
|
|
|
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded struct {
|
|
|
|
Id string `json:"id"`
|
|
|
|
}
|
|
|
|
|
2024-02-23 10:41:42 +00:00
|
|
|
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnSuccess struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Id string `json:"id"`
|
2024-02-23 10:41:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTaskWebhookNotifications struct {
|
|
|
|
OnDurationWarningThresholdExceeded []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
|
|
|
OnFailure []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
|
|
|
OnStart []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
2024-06-26 09:29:46 +00:00
|
|
|
OnStreamingBacklogExceeded []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
OnSuccess []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTaskTask struct {
|
2024-05-31 07:13:43 +00:00
|
|
|
Description string `json:"description,omitempty"`
|
|
|
|
DisableAutoOptimization bool `json:"disable_auto_optimization,omitempty"`
|
|
|
|
EnvironmentKey string `json:"environment_key,omitempty"`
|
|
|
|
ExistingClusterId string `json:"existing_cluster_id,omitempty"`
|
|
|
|
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
|
|
|
MaxRetries int `json:"max_retries,omitempty"`
|
|
|
|
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
|
|
|
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
|
|
|
RunIf string `json:"run_if,omitempty"`
|
|
|
|
TaskKey string `json:"task_key"`
|
|
|
|
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
|
|
|
ConditionTask *ResourceJobTaskForEachTaskTaskConditionTask `json:"condition_task,omitempty"`
|
|
|
|
DbtTask *ResourceJobTaskForEachTaskTaskDbtTask `json:"dbt_task,omitempty"`
|
|
|
|
DependsOn []ResourceJobTaskForEachTaskTaskDependsOn `json:"depends_on,omitempty"`
|
|
|
|
EmailNotifications *ResourceJobTaskForEachTaskTaskEmailNotifications `json:"email_notifications,omitempty"`
|
|
|
|
Health *ResourceJobTaskForEachTaskTaskHealth `json:"health,omitempty"`
|
|
|
|
Library []ResourceJobTaskForEachTaskTaskLibrary `json:"library,omitempty"`
|
|
|
|
NewCluster *ResourceJobTaskForEachTaskTaskNewCluster `json:"new_cluster,omitempty"`
|
|
|
|
NotebookTask *ResourceJobTaskForEachTaskTaskNotebookTask `json:"notebook_task,omitempty"`
|
|
|
|
NotificationSettings *ResourceJobTaskForEachTaskTaskNotificationSettings `json:"notification_settings,omitempty"`
|
|
|
|
PipelineTask *ResourceJobTaskForEachTaskTaskPipelineTask `json:"pipeline_task,omitempty"`
|
|
|
|
PythonWheelTask *ResourceJobTaskForEachTaskTaskPythonWheelTask `json:"python_wheel_task,omitempty"`
|
|
|
|
RunJobTask *ResourceJobTaskForEachTaskTaskRunJobTask `json:"run_job_task,omitempty"`
|
|
|
|
SparkJarTask *ResourceJobTaskForEachTaskTaskSparkJarTask `json:"spark_jar_task,omitempty"`
|
|
|
|
SparkPythonTask *ResourceJobTaskForEachTaskTaskSparkPythonTask `json:"spark_python_task,omitempty"`
|
|
|
|
SparkSubmitTask *ResourceJobTaskForEachTaskTaskSparkSubmitTask `json:"spark_submit_task,omitempty"`
|
|
|
|
SqlTask *ResourceJobTaskForEachTaskTaskSqlTask `json:"sql_task,omitempty"`
|
|
|
|
WebhookNotifications *ResourceJobTaskForEachTaskTaskWebhookNotifications `json:"webhook_notifications,omitempty"`
|
2024-02-23 10:41:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskForEachTask struct {
|
|
|
|
Concurrency int `json:"concurrency,omitempty"`
|
|
|
|
Inputs string `json:"inputs"`
|
|
|
|
Task *ResourceJobTaskForEachTaskTask `json:"task,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-08-03 11:20:30 +00:00
|
|
|
type ResourceJobTaskHealthRules struct {
|
2024-05-31 07:13:43 +00:00
|
|
|
Metric string `json:"metric"`
|
|
|
|
Op string `json:"op"`
|
|
|
|
Value int `json:"value"`
|
2023-08-03 11:20:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskHealth struct {
|
|
|
|
Rules []ResourceJobTaskHealthRules `json:"rules,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskLibraryCran struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskLibraryMaven struct {
|
|
|
|
Coordinates string `json:"coordinates"`
|
|
|
|
Exclusions []string `json:"exclusions,omitempty"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskLibraryPypi struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskLibrary struct {
|
2024-05-06 11:41:37 +00:00
|
|
|
Egg string `json:"egg,omitempty"`
|
|
|
|
Jar string `json:"jar,omitempty"`
|
|
|
|
Requirements string `json:"requirements,omitempty"`
|
|
|
|
Whl string `json:"whl,omitempty"`
|
|
|
|
Cran *ResourceJobTaskLibraryCran `json:"cran,omitempty"`
|
|
|
|
Maven *ResourceJobTaskLibraryMaven `json:"maven,omitempty"`
|
|
|
|
Pypi *ResourceJobTaskLibraryPypi `json:"pypi,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterAutoscale struct {
|
|
|
|
MaxWorkers int `json:"max_workers,omitempty"`
|
|
|
|
MinWorkers int `json:"min_workers,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterAwsAttributes struct {
|
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
EbsVolumeIops int `json:"ebs_volume_iops,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
EbsVolumeThroughput int `json:"ebs_volume_throughput,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
EbsVolumeType string `json:"ebs_volume_type,omitempty"`
|
|
|
|
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
|
|
|
InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
|
|
|
|
SpotBidPricePercent int `json:"spot_bid_price_percent,omitempty"`
|
|
|
|
ZoneId string `json:"zone_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-05-31 07:13:43 +00:00
|
|
|
type ResourceJobTaskNewClusterAzureAttributesLogAnalyticsInfo struct {
|
|
|
|
LogAnalyticsPrimaryKey string `json:"log_analytics_primary_key,omitempty"`
|
|
|
|
LogAnalyticsWorkspaceId string `json:"log_analytics_workspace_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobTaskNewClusterAzureAttributes struct {
|
2024-05-31 07:13:43 +00:00
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
|
|
|
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
|
|
|
|
LogAnalyticsInfo *ResourceJobTaskNewClusterAzureAttributesLogAnalyticsInfo `json:"log_analytics_info,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterClusterLogConfDbfs struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterClusterLogConfS3 struct {
|
|
|
|
CannedAcl string `json:"canned_acl,omitempty"`
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
EnableEncryption bool `json:"enable_encryption,omitempty"`
|
|
|
|
EncryptionType string `json:"encryption_type,omitempty"`
|
|
|
|
Endpoint string `json:"endpoint,omitempty"`
|
|
|
|
KmsKey string `json:"kms_key,omitempty"`
|
|
|
|
Region string `json:"region,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterClusterLogConf struct {
|
|
|
|
Dbfs *ResourceJobTaskNewClusterClusterLogConfDbfs `json:"dbfs,omitempty"`
|
|
|
|
S3 *ResourceJobTaskNewClusterClusterLogConfS3 `json:"s3,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourceJobTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct {
|
|
|
|
MountOptions string `json:"mount_options,omitempty"`
|
|
|
|
ServerAddress string `json:"server_address"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterClusterMountInfo struct {
|
|
|
|
LocalMountDirPath string `json:"local_mount_dir_path"`
|
|
|
|
RemoteMountDirPath string `json:"remote_mount_dir_path,omitempty"`
|
|
|
|
NetworkFilesystemInfo *ResourceJobTaskNewClusterClusterMountInfoNetworkFilesystemInfo `json:"network_filesystem_info,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobTaskNewClusterDockerImageBasicAuth struct {
|
|
|
|
Password string `json:"password"`
|
|
|
|
Username string `json:"username"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterDockerImage struct {
|
|
|
|
Url string `json:"url"`
|
|
|
|
BasicAuth *ResourceJobTaskNewClusterDockerImageBasicAuth `json:"basic_auth,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterGcpAttributes struct {
|
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
BootDiskSize int `json:"boot_disk_size,omitempty"`
|
|
|
|
GoogleServiceAccount string `json:"google_service_account,omitempty"`
|
2023-08-30 13:58:28 +00:00
|
|
|
LocalSsdCount int `json:"local_ssd_count,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
UsePreemptibleExecutors bool `json:"use_preemptible_executors,omitempty"`
|
|
|
|
ZoneId string `json:"zone_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourceJobTaskNewClusterInitScriptsAbfss struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2023-03-20 16:22:55 +00:00
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobTaskNewClusterInitScriptsDbfs struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterInitScriptsFile struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterInitScriptsGcs struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterInitScriptsS3 struct {
|
|
|
|
CannedAcl string `json:"canned_acl,omitempty"`
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
EnableEncryption bool `json:"enable_encryption,omitempty"`
|
|
|
|
EncryptionType string `json:"encryption_type,omitempty"`
|
|
|
|
Endpoint string `json:"endpoint,omitempty"`
|
|
|
|
KmsKey string `json:"kms_key,omitempty"`
|
|
|
|
Region string `json:"region,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-10-16 12:52:16 +00:00
|
|
|
type ResourceJobTaskNewClusterInitScriptsVolumes struct {
|
2024-02-23 10:41:42 +00:00
|
|
|
Destination string `json:"destination"`
|
2023-10-16 12:52:16 +00:00
|
|
|
}
|
|
|
|
|
2023-05-23 17:33:24 +00:00
|
|
|
type ResourceJobTaskNewClusterInitScriptsWorkspace struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2023-05-23 17:33:24 +00:00
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobTaskNewClusterInitScripts struct {
|
2023-05-23 17:33:24 +00:00
|
|
|
Abfss *ResourceJobTaskNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
|
|
|
|
Dbfs *ResourceJobTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
|
|
|
File *ResourceJobTaskNewClusterInitScriptsFile `json:"file,omitempty"`
|
|
|
|
Gcs *ResourceJobTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
|
|
|
S3 *ResourceJobTaskNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
2023-10-16 12:52:16 +00:00
|
|
|
Volumes *ResourceJobTaskNewClusterInitScriptsVolumes `json:"volumes,omitempty"`
|
2023-05-23 17:33:24 +00:00
|
|
|
Workspace *ResourceJobTaskNewClusterInitScriptsWorkspace `json:"workspace,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
2024-05-31 07:13:43 +00:00
|
|
|
type ResourceJobTaskNewClusterLibraryCran struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterLibraryMaven struct {
|
|
|
|
Coordinates string `json:"coordinates"`
|
|
|
|
Exclusions []string `json:"exclusions,omitempty"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterLibraryPypi struct {
|
|
|
|
Package string `json:"package"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterLibrary struct {
|
|
|
|
Egg string `json:"egg,omitempty"`
|
|
|
|
Jar string `json:"jar,omitempty"`
|
|
|
|
Requirements string `json:"requirements,omitempty"`
|
|
|
|
Whl string `json:"whl,omitempty"`
|
|
|
|
Cran *ResourceJobTaskNewClusterLibraryCran `json:"cran,omitempty"`
|
|
|
|
Maven *ResourceJobTaskNewClusterLibraryMaven `json:"maven,omitempty"`
|
|
|
|
Pypi *ResourceJobTaskNewClusterLibraryPypi `json:"pypi,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobTaskNewClusterWorkloadTypeClients struct {
|
|
|
|
Jobs bool `json:"jobs,omitempty"`
|
|
|
|
Notebooks bool `json:"notebooks,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewClusterWorkloadType struct {
|
|
|
|
Clients *ResourceJobTaskNewClusterWorkloadTypeClients `json:"clients,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNewCluster struct {
|
2023-03-20 16:22:55 +00:00
|
|
|
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
|
|
|
ClusterId string `json:"cluster_id,omitempty"`
|
|
|
|
ClusterName string `json:"cluster_name,omitempty"`
|
|
|
|
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
|
|
|
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
|
|
|
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
|
|
|
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
|
|
|
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
|
|
|
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
|
|
|
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
|
|
|
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
|
|
|
NodeTypeId string `json:"node_type_id,omitempty"`
|
|
|
|
NumWorkers int `json:"num_workers,omitempty"`
|
|
|
|
PolicyId string `json:"policy_id,omitempty"`
|
|
|
|
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
|
|
|
SingleUserName string `json:"single_user_name,omitempty"`
|
|
|
|
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
|
|
|
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
|
|
|
SparkVersion string `json:"spark_version"`
|
|
|
|
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
|
|
|
Autoscale *ResourceJobTaskNewClusterAutoscale `json:"autoscale,omitempty"`
|
|
|
|
AwsAttributes *ResourceJobTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
|
|
|
AzureAttributes *ResourceJobTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
|
|
|
ClusterLogConf *ResourceJobTaskNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
|
|
|
ClusterMountInfo []ResourceJobTaskNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
|
|
|
|
DockerImage *ResourceJobTaskNewClusterDockerImage `json:"docker_image,omitempty"`
|
|
|
|
GcpAttributes *ResourceJobTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
|
|
|
InitScripts []ResourceJobTaskNewClusterInitScripts `json:"init_scripts,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
Library []ResourceJobTaskNewClusterLibrary `json:"library,omitempty"`
|
2023-03-20 16:22:55 +00:00
|
|
|
WorkloadType *ResourceJobTaskNewClusterWorkloadType `json:"workload_type,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskNotebookTask struct {
|
|
|
|
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
|
|
|
NotebookPath string `json:"notebook_path"`
|
2023-03-20 16:22:55 +00:00
|
|
|
Source string `json:"source,omitempty"`
|
2024-04-18 20:20:01 +00:00
|
|
|
WarehouseId string `json:"warehouse_id,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
2023-08-03 11:20:30 +00:00
|
|
|
type ResourceJobTaskNotificationSettings struct {
|
|
|
|
AlertOnLastAttempt bool `json:"alert_on_last_attempt,omitempty"`
|
|
|
|
NoAlertForCanceledRuns bool `json:"no_alert_for_canceled_runs,omitempty"`
|
|
|
|
NoAlertForSkippedRuns bool `json:"no_alert_for_skipped_runs,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobTaskPipelineTask struct {
|
2023-08-03 11:20:30 +00:00
|
|
|
FullRefresh bool `json:"full_refresh,omitempty"`
|
|
|
|
PipelineId string `json:"pipeline_id"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskPythonWheelTask struct {
|
|
|
|
EntryPoint string `json:"entry_point,omitempty"`
|
|
|
|
NamedParameters map[string]string `json:"named_parameters,omitempty"`
|
|
|
|
PackageName string `json:"package_name,omitempty"`
|
|
|
|
Parameters []string `json:"parameters,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-05-31 07:13:43 +00:00
|
|
|
type ResourceJobTaskRunJobTaskPipelineParams struct {
|
|
|
|
FullRefresh bool `json:"full_refresh,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-08-30 13:58:28 +00:00
|
|
|
type ResourceJobTaskRunJobTask struct {
|
2024-05-31 07:13:43 +00:00
|
|
|
DbtCommands []string `json:"dbt_commands,omitempty"`
|
|
|
|
JarParams []string `json:"jar_params,omitempty"`
|
|
|
|
JobId int `json:"job_id"`
|
|
|
|
JobParameters map[string]string `json:"job_parameters,omitempty"`
|
|
|
|
NotebookParams map[string]string `json:"notebook_params,omitempty"`
|
|
|
|
PythonNamedParams map[string]string `json:"python_named_params,omitempty"`
|
|
|
|
PythonParams []string `json:"python_params,omitempty"`
|
|
|
|
SparkSubmitParams []string `json:"spark_submit_params,omitempty"`
|
|
|
|
SqlParams map[string]string `json:"sql_params,omitempty"`
|
|
|
|
PipelineParams *ResourceJobTaskRunJobTaskPipelineParams `json:"pipeline_params,omitempty"`
|
2023-08-30 13:58:28 +00:00
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobTaskSparkJarTask struct {
|
|
|
|
JarUri string `json:"jar_uri,omitempty"`
|
|
|
|
MainClassName string `json:"main_class_name,omitempty"`
|
|
|
|
Parameters []string `json:"parameters,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskSparkPythonTask struct {
|
|
|
|
Parameters []string `json:"parameters,omitempty"`
|
|
|
|
PythonFile string `json:"python_file"`
|
2023-05-23 17:33:24 +00:00
|
|
|
Source string `json:"source,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskSparkSubmitTask struct {
|
|
|
|
Parameters []string `json:"parameters,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-07-07 12:52:41 +00:00
|
|
|
type ResourceJobTaskSqlTaskAlertSubscriptions struct {
|
|
|
|
DestinationId string `json:"destination_id,omitempty"`
|
|
|
|
UserName string `json:"user_name,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobTaskSqlTaskAlert struct {
|
2023-07-07 12:52:41 +00:00
|
|
|
AlertId string `json:"alert_id"`
|
|
|
|
PauseSubscriptions bool `json:"pause_subscriptions,omitempty"`
|
|
|
|
Subscriptions []ResourceJobTaskSqlTaskAlertSubscriptions `json:"subscriptions,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskSqlTaskDashboardSubscriptions struct {
|
|
|
|
DestinationId string `json:"destination_id,omitempty"`
|
|
|
|
UserName string `json:"user_name,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskSqlTaskDashboard struct {
|
2023-07-07 12:52:41 +00:00
|
|
|
CustomSubject string `json:"custom_subject,omitempty"`
|
|
|
|
DashboardId string `json:"dashboard_id"`
|
|
|
|
PauseSubscriptions bool `json:"pause_subscriptions,omitempty"`
|
|
|
|
Subscriptions []ResourceJobTaskSqlTaskDashboardSubscriptions `json:"subscriptions,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
2023-05-23 17:33:24 +00:00
|
|
|
type ResourceJobTaskSqlTaskFile struct {
|
2024-02-23 10:41:42 +00:00
|
|
|
Path string `json:"path"`
|
|
|
|
Source string `json:"source,omitempty"`
|
2023-05-23 17:33:24 +00:00
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobTaskSqlTaskQuery struct {
|
|
|
|
QueryId string `json:"query_id"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskSqlTask struct {
|
|
|
|
Parameters map[string]string `json:"parameters,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
WarehouseId string `json:"warehouse_id"`
|
2022-12-06 15:26:19 +00:00
|
|
|
Alert *ResourceJobTaskSqlTaskAlert `json:"alert,omitempty"`
|
|
|
|
Dashboard *ResourceJobTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
2023-05-23 17:33:24 +00:00
|
|
|
File *ResourceJobTaskSqlTaskFile `json:"file,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
Query *ResourceJobTaskSqlTaskQuery `json:"query,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-12-11 21:53:21 +00:00
|
|
|
type ResourceJobTaskWebhookNotificationsOnDurationWarningThresholdExceeded struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Id string `json:"id"`
|
2023-12-11 21:53:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskWebhookNotificationsOnFailure struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Id string `json:"id"`
|
2023-12-11 21:53:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskWebhookNotificationsOnStart struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Id string `json:"id"`
|
2023-12-11 21:53:21 +00:00
|
|
|
}
|
|
|
|
|
2024-06-26 09:29:46 +00:00
|
|
|
type ResourceJobTaskWebhookNotificationsOnStreamingBacklogExceeded struct {
|
|
|
|
Id string `json:"id"`
|
|
|
|
}
|
|
|
|
|
2023-12-11 21:53:21 +00:00
|
|
|
type ResourceJobTaskWebhookNotificationsOnSuccess struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Id string `json:"id"`
|
2023-12-11 21:53:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobTaskWebhookNotifications struct {
|
|
|
|
OnDurationWarningThresholdExceeded []ResourceJobTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
|
|
|
OnFailure []ResourceJobTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
|
|
|
OnStart []ResourceJobTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
2024-06-26 09:29:46 +00:00
|
|
|
OnStreamingBacklogExceeded []ResourceJobTaskWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
2023-12-11 21:53:21 +00:00
|
|
|
OnSuccess []ResourceJobTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobTask struct {
|
2024-05-31 07:13:43 +00:00
|
|
|
Description string `json:"description,omitempty"`
|
|
|
|
DisableAutoOptimization bool `json:"disable_auto_optimization,omitempty"`
|
|
|
|
EnvironmentKey string `json:"environment_key,omitempty"`
|
|
|
|
ExistingClusterId string `json:"existing_cluster_id,omitempty"`
|
|
|
|
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
|
|
|
MaxRetries int `json:"max_retries,omitempty"`
|
|
|
|
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
|
|
|
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
|
|
|
RunIf string `json:"run_if,omitempty"`
|
|
|
|
TaskKey string `json:"task_key"`
|
|
|
|
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
|
|
|
ConditionTask *ResourceJobTaskConditionTask `json:"condition_task,omitempty"`
|
|
|
|
DbtTask *ResourceJobTaskDbtTask `json:"dbt_task,omitempty"`
|
|
|
|
DependsOn []ResourceJobTaskDependsOn `json:"depends_on,omitempty"`
|
|
|
|
EmailNotifications *ResourceJobTaskEmailNotifications `json:"email_notifications,omitempty"`
|
|
|
|
ForEachTask *ResourceJobTaskForEachTask `json:"for_each_task,omitempty"`
|
|
|
|
Health *ResourceJobTaskHealth `json:"health,omitempty"`
|
|
|
|
Library []ResourceJobTaskLibrary `json:"library,omitempty"`
|
|
|
|
NewCluster *ResourceJobTaskNewCluster `json:"new_cluster,omitempty"`
|
|
|
|
NotebookTask *ResourceJobTaskNotebookTask `json:"notebook_task,omitempty"`
|
|
|
|
NotificationSettings *ResourceJobTaskNotificationSettings `json:"notification_settings,omitempty"`
|
|
|
|
PipelineTask *ResourceJobTaskPipelineTask `json:"pipeline_task,omitempty"`
|
|
|
|
PythonWheelTask *ResourceJobTaskPythonWheelTask `json:"python_wheel_task,omitempty"`
|
|
|
|
RunJobTask *ResourceJobTaskRunJobTask `json:"run_job_task,omitempty"`
|
|
|
|
SparkJarTask *ResourceJobTaskSparkJarTask `json:"spark_jar_task,omitempty"`
|
|
|
|
SparkPythonTask *ResourceJobTaskSparkPythonTask `json:"spark_python_task,omitempty"`
|
|
|
|
SparkSubmitTask *ResourceJobTaskSparkSubmitTask `json:"spark_submit_task,omitempty"`
|
|
|
|
SqlTask *ResourceJobTaskSqlTask `json:"sql_task,omitempty"`
|
|
|
|
WebhookNotifications *ResourceJobTaskWebhookNotifications `json:"webhook_notifications,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
2023-05-23 17:33:24 +00:00
|
|
|
type ResourceJobTriggerFileArrival struct {
|
2023-07-07 12:52:41 +00:00
|
|
|
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
|
|
|
|
Url string `json:"url"`
|
|
|
|
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
|
2023-05-23 17:33:24 +00:00
|
|
|
}
|
|
|
|
|
2024-06-26 09:29:46 +00:00
|
|
|
type ResourceJobTriggerPeriodic struct {
|
|
|
|
Interval int `json:"interval"`
|
|
|
|
Unit string `json:"unit"`
|
|
|
|
}
|
|
|
|
|
2024-05-31 07:13:43 +00:00
|
|
|
type ResourceJobTriggerTable struct {
|
|
|
|
Condition string `json:"condition,omitempty"`
|
|
|
|
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
|
|
|
|
TableNames []string `json:"table_names,omitempty"`
|
|
|
|
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-04-05 14:49:04 +00:00
|
|
|
type ResourceJobTriggerTableUpdate struct {
|
|
|
|
Condition string `json:"condition,omitempty"`
|
|
|
|
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
|
|
|
|
TableNames []string `json:"table_names"`
|
|
|
|
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-05-23 17:33:24 +00:00
|
|
|
type ResourceJobTrigger struct {
|
|
|
|
PauseStatus string `json:"pause_status,omitempty"`
|
|
|
|
FileArrival *ResourceJobTriggerFileArrival `json:"file_arrival,omitempty"`
|
2024-06-26 09:29:46 +00:00
|
|
|
Periodic *ResourceJobTriggerPeriodic `json:"periodic,omitempty"`
|
2024-05-31 07:13:43 +00:00
|
|
|
Table *ResourceJobTriggerTable `json:"table,omitempty"`
|
2024-04-05 14:49:04 +00:00
|
|
|
TableUpdate *ResourceJobTriggerTableUpdate `json:"table_update,omitempty"`
|
2023-05-23 17:33:24 +00:00
|
|
|
}
|
|
|
|
|
2023-08-03 11:20:30 +00:00
|
|
|
type ResourceJobWebhookNotificationsOnDurationWarningThresholdExceeded struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Id string `json:"id"`
|
2023-08-03 11:20:30 +00:00
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobWebhookNotificationsOnFailure struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Id string `json:"id"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobWebhookNotificationsOnStart struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Id string `json:"id"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
2024-06-26 09:29:46 +00:00
|
|
|
type ResourceJobWebhookNotificationsOnStreamingBacklogExceeded struct {
|
|
|
|
Id string `json:"id"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceJobWebhookNotificationsOnSuccess struct {
|
2024-04-05 14:49:04 +00:00
|
|
|
Id string `json:"id"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJobWebhookNotifications struct {
|
2023-08-03 11:20:30 +00:00
|
|
|
OnDurationWarningThresholdExceeded []ResourceJobWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
|
|
|
OnFailure []ResourceJobWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
|
|
|
OnStart []ResourceJobWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
2024-06-26 09:29:46 +00:00
|
|
|
OnStreamingBacklogExceeded []ResourceJobWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
2023-08-03 11:20:30 +00:00
|
|
|
OnSuccess []ResourceJobWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceJob struct {
|
|
|
|
AlwaysRunning bool `json:"always_running,omitempty"`
|
2023-08-03 11:20:30 +00:00
|
|
|
ControlRunState bool `json:"control_run_state,omitempty"`
|
2023-12-11 21:53:21 +00:00
|
|
|
Description string `json:"description,omitempty"`
|
|
|
|
EditMode string `json:"edit_mode,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
ExistingClusterId string `json:"existing_cluster_id,omitempty"`
|
|
|
|
Format string `json:"format,omitempty"`
|
|
|
|
Id string `json:"id,omitempty"`
|
|
|
|
MaxConcurrentRuns int `json:"max_concurrent_runs,omitempty"`
|
|
|
|
MaxRetries int `json:"max_retries,omitempty"`
|
|
|
|
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
|
|
|
Name string `json:"name,omitempty"`
|
|
|
|
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
|
|
|
Tags map[string]string `json:"tags,omitempty"`
|
|
|
|
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
|
|
|
Url string `json:"url,omitempty"`
|
2023-03-20 16:22:55 +00:00
|
|
|
Continuous *ResourceJobContinuous `json:"continuous,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
DbtTask *ResourceJobDbtTask `json:"dbt_task,omitempty"`
|
2023-10-27 09:16:41 +00:00
|
|
|
Deployment *ResourceJobDeployment `json:"deployment,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
EmailNotifications *ResourceJobEmailNotifications `json:"email_notifications,omitempty"`
|
2024-04-18 20:20:01 +00:00
|
|
|
Environment []ResourceJobEnvironment `json:"environment,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
GitSource *ResourceJobGitSource `json:"git_source,omitempty"`
|
2023-08-03 11:20:30 +00:00
|
|
|
Health *ResourceJobHealth `json:"health,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
JobCluster []ResourceJobJobCluster `json:"job_cluster,omitempty"`
|
|
|
|
Library []ResourceJobLibrary `json:"library,omitempty"`
|
|
|
|
NewCluster *ResourceJobNewCluster `json:"new_cluster,omitempty"`
|
|
|
|
NotebookTask *ResourceJobNotebookTask `json:"notebook_task,omitempty"`
|
2023-05-23 17:33:24 +00:00
|
|
|
NotificationSettings *ResourceJobNotificationSettings `json:"notification_settings,omitempty"`
|
2023-08-30 13:58:28 +00:00
|
|
|
Parameter []ResourceJobParameter `json:"parameter,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
PipelineTask *ResourceJobPipelineTask `json:"pipeline_task,omitempty"`
|
|
|
|
PythonWheelTask *ResourceJobPythonWheelTask `json:"python_wheel_task,omitempty"`
|
2023-05-23 17:33:24 +00:00
|
|
|
Queue *ResourceJobQueue `json:"queue,omitempty"`
|
2023-06-21 06:40:11 +00:00
|
|
|
RunAs *ResourceJobRunAs `json:"run_as,omitempty"`
|
2023-08-30 13:58:28 +00:00
|
|
|
RunJobTask *ResourceJobRunJobTask `json:"run_job_task,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
Schedule *ResourceJobSchedule `json:"schedule,omitempty"`
|
|
|
|
SparkJarTask *ResourceJobSparkJarTask `json:"spark_jar_task,omitempty"`
|
|
|
|
SparkPythonTask *ResourceJobSparkPythonTask `json:"spark_python_task,omitempty"`
|
|
|
|
SparkSubmitTask *ResourceJobSparkSubmitTask `json:"spark_submit_task,omitempty"`
|
|
|
|
Task []ResourceJobTask `json:"task,omitempty"`
|
2023-05-23 17:33:24 +00:00
|
|
|
Trigger *ResourceJobTrigger `json:"trigger,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
WebhookNotifications *ResourceJobWebhookNotifications `json:"webhook_notifications,omitempty"`
|
|
|
|
}
|