pulumi-databricks 1.74.0a1753335781__py3-none-any.whl → 1.77.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. pulumi_databricks/__init__.py +185 -12
  2. pulumi_databricks/_inputs.py +30467 -20225
  3. pulumi_databricks/access_control_rule_set.py +28 -29
  4. pulumi_databricks/account_federation_policy.py +473 -0
  5. pulumi_databricks/account_network_policy.py +74 -43
  6. pulumi_databricks/account_setting_v2.py +759 -0
  7. pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
  8. pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
  9. pulumi_databricks/alert.py +185 -186
  10. pulumi_databricks/alert_v2.py +369 -211
  11. pulumi_databricks/app.py +315 -209
  12. pulumi_databricks/apps_settings_custom_template.py +531 -0
  13. pulumi_databricks/artifact_allowlist.py +72 -73
  14. pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
  15. pulumi_databricks/budget.py +84 -85
  16. pulumi_databricks/budget_policy.py +75 -53
  17. pulumi_databricks/catalog.py +544 -225
  18. pulumi_databricks/catalog_workspace_binding.py +82 -83
  19. pulumi_databricks/cluster.py +561 -683
  20. pulumi_databricks/cluster_policy.py +115 -116
  21. pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
  22. pulumi_databricks/config/__init__.py +1 -1
  23. pulumi_databricks/config/__init__.pyi +3 -2
  24. pulumi_databricks/config/vars.py +40 -37
  25. pulumi_databricks/connection.py +346 -211
  26. pulumi_databricks/credential.py +262 -263
  27. pulumi_databricks/custom_app_integration.py +175 -176
  28. pulumi_databricks/dashboard.py +207 -208
  29. pulumi_databricks/data_quality_monitor.py +453 -0
  30. pulumi_databricks/data_quality_refresh.py +492 -0
  31. pulumi_databricks/database_database_catalog.py +437 -0
  32. pulumi_databricks/database_instance.py +938 -137
  33. pulumi_databricks/database_synced_database_table.py +589 -0
  34. pulumi_databricks/dbfs_file.py +87 -84
  35. pulumi_databricks/default_namespace_setting.py +30 -31
  36. pulumi_databricks/directory.py +61 -62
  37. pulumi_databricks/disable_legacy_access_setting.py +109 -33
  38. pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
  39. pulumi_databricks/disable_legacy_features_setting.py +62 -37
  40. pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
  41. pulumi_databricks/entitlements.py +148 -149
  42. pulumi_databricks/entity_tag_assignment.py +409 -0
  43. pulumi_databricks/external_location.py +276 -290
  44. pulumi_databricks/external_metadata.py +726 -0
  45. pulumi_databricks/feature_engineering_feature.py +480 -0
  46. pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
  47. pulumi_databricks/file.py +96 -97
  48. pulumi_databricks/get_account_federation_policies.py +127 -0
  49. pulumi_databricks/get_account_federation_policy.py +214 -0
  50. pulumi_databricks/get_account_network_policies.py +36 -7
  51. pulumi_databricks/get_account_network_policy.py +33 -29
  52. pulumi_databricks/get_account_setting_v2.py +331 -0
  53. pulumi_databricks/get_alert_v2.py +100 -84
  54. pulumi_databricks/get_alerts_v2.py +35 -17
  55. pulumi_databricks/get_app.py +31 -20
  56. pulumi_databricks/get_apps.py +26 -15
  57. pulumi_databricks/get_apps_settings_custom_template.py +207 -0
  58. pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
  59. pulumi_databricks/get_aws_assume_role_policy.py +27 -28
  60. pulumi_databricks/get_aws_bucket_policy.py +39 -40
  61. pulumi_databricks/get_aws_cross_account_policy.py +47 -48
  62. pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
  63. pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
  64. pulumi_databricks/get_budget_policies.py +74 -11
  65. pulumi_databricks/get_budget_policy.py +43 -39
  66. pulumi_databricks/get_catalog.py +35 -19
  67. pulumi_databricks/get_catalogs.py +32 -14
  68. pulumi_databricks/get_cluster.py +41 -25
  69. pulumi_databricks/get_cluster_policy.py +72 -54
  70. pulumi_databricks/get_clusters.py +41 -25
  71. pulumi_databricks/get_current_config.py +23 -24
  72. pulumi_databricks/get_current_metastore.py +29 -13
  73. pulumi_databricks/get_current_user.py +17 -18
  74. pulumi_databricks/get_dashboards.py +34 -15
  75. pulumi_databricks/get_data_quality_monitor.py +210 -0
  76. pulumi_databricks/get_data_quality_monitors.py +143 -0
  77. pulumi_databricks/get_data_quality_refresh.py +270 -0
  78. pulumi_databricks/get_data_quality_refreshes.py +207 -0
  79. pulumi_databricks/get_database_database_catalog.py +176 -0
  80. pulumi_databricks/get_database_database_catalogs.py +120 -0
  81. pulumi_databricks/get_database_instance.py +274 -50
  82. pulumi_databricks/get_database_instances.py +35 -11
  83. pulumi_databricks/get_database_synced_database_table.py +225 -0
  84. pulumi_databricks/get_database_synced_database_tables.py +120 -0
  85. pulumi_databricks/get_dbfs_file.py +19 -20
  86. pulumi_databricks/get_dbfs_file_paths.py +16 -17
  87. pulumi_databricks/get_directory.py +43 -25
  88. pulumi_databricks/get_entity_tag_assignment.py +202 -0
  89. pulumi_databricks/get_entity_tag_assignments.py +187 -0
  90. pulumi_databricks/get_external_location.py +35 -19
  91. pulumi_databricks/get_external_locations.py +32 -14
  92. pulumi_databricks/get_external_metadata.py +292 -0
  93. pulumi_databricks/get_external_metadatas.py +135 -0
  94. pulumi_databricks/get_feature_engineering_feature.py +179 -0
  95. pulumi_databricks/get_feature_engineering_features.py +103 -0
  96. pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
  97. pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
  98. pulumi_databricks/get_functions.py +38 -24
  99. pulumi_databricks/get_group.py +85 -86
  100. pulumi_databricks/get_instance_pool.py +10 -11
  101. pulumi_databricks/get_instance_profiles.py +25 -9
  102. pulumi_databricks/get_job.py +22 -23
  103. pulumi_databricks/get_jobs.py +44 -26
  104. pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
  105. pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
  106. pulumi_databricks/get_metastore.py +28 -29
  107. pulumi_databricks/get_metastores.py +9 -10
  108. pulumi_databricks/get_mlflow_experiment.py +62 -46
  109. pulumi_databricks/get_mlflow_model.py +47 -31
  110. pulumi_databricks/get_mlflow_models.py +32 -14
  111. pulumi_databricks/get_mws_credentials.py +9 -10
  112. pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
  113. pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
  114. pulumi_databricks/get_mws_workspaces.py +5 -6
  115. pulumi_databricks/get_node_type.py +123 -87
  116. pulumi_databricks/get_notebook.py +37 -38
  117. pulumi_databricks/get_notebook_paths.py +16 -17
  118. pulumi_databricks/get_notification_destinations.py +33 -18
  119. pulumi_databricks/get_online_store.py +36 -27
  120. pulumi_databricks/get_online_stores.py +33 -13
  121. pulumi_databricks/get_pipelines.py +49 -31
  122. pulumi_databricks/get_policy_info.py +338 -0
  123. pulumi_databricks/get_policy_infos.py +169 -0
  124. pulumi_databricks/get_quality_monitor_v2.py +21 -18
  125. pulumi_databricks/get_quality_monitors_v2.py +26 -8
  126. pulumi_databricks/get_registered_model.py +41 -27
  127. pulumi_databricks/get_registered_model_versions.py +29 -15
  128. pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
  129. pulumi_databricks/get_schema.py +32 -16
  130. pulumi_databricks/get_schemas.py +38 -20
  131. pulumi_databricks/get_service_principal.py +80 -58
  132. pulumi_databricks/get_service_principal_federation_policies.py +151 -0
  133. pulumi_databricks/get_service_principal_federation_policy.py +220 -0
  134. pulumi_databricks/get_service_principals.py +16 -17
  135. pulumi_databricks/get_serving_endpoints.py +23 -9
  136. pulumi_databricks/get_share.py +130 -32
  137. pulumi_databricks/get_shares.py +29 -11
  138. pulumi_databricks/get_spark_version.py +87 -69
  139. pulumi_databricks/get_sql_warehouse.py +124 -110
  140. pulumi_databricks/get_sql_warehouses.py +37 -19
  141. pulumi_databricks/get_storage_credential.py +32 -16
  142. pulumi_databricks/get_storage_credentials.py +32 -14
  143. pulumi_databricks/get_table.py +30 -14
  144. pulumi_databricks/get_tables.py +41 -23
  145. pulumi_databricks/get_tag_policies.py +139 -0
  146. pulumi_databricks/get_tag_policy.py +175 -0
  147. pulumi_databricks/get_user.py +33 -34
  148. pulumi_databricks/get_views.py +41 -23
  149. pulumi_databricks/get_volume.py +32 -16
  150. pulumi_databricks/get_volumes.py +41 -23
  151. pulumi_databricks/get_workspace_network_option.py +45 -26
  152. pulumi_databricks/get_workspace_setting_v2.py +331 -0
  153. pulumi_databricks/get_zones.py +39 -21
  154. pulumi_databricks/git_credential.py +242 -76
  155. pulumi_databricks/global_init_script.py +99 -100
  156. pulumi_databricks/grant.py +215 -212
  157. pulumi_databricks/grants.py +200 -211
  158. pulumi_databricks/group.py +176 -177
  159. pulumi_databricks/group_instance_profile.py +37 -38
  160. pulumi_databricks/group_member.py +37 -38
  161. pulumi_databricks/group_role.py +37 -38
  162. pulumi_databricks/instance_pool.py +168 -169
  163. pulumi_databricks/instance_profile.py +69 -70
  164. pulumi_databricks/ip_access_list.py +71 -72
  165. pulumi_databricks/job.py +426 -346
  166. pulumi_databricks/lakehouse_monitor.py +199 -200
  167. pulumi_databricks/library.py +264 -99
  168. pulumi_databricks/materialized_features_feature_tag.py +213 -0
  169. pulumi_databricks/metastore.py +254 -255
  170. pulumi_databricks/metastore_assignment.py +52 -53
  171. pulumi_databricks/metastore_data_access.py +153 -154
  172. pulumi_databricks/metastore_provider.py +69 -70
  173. pulumi_databricks/mlflow_experiment.py +108 -109
  174. pulumi_databricks/mlflow_model.py +45 -46
  175. pulumi_databricks/mlflow_webhook.py +75 -76
  176. pulumi_databricks/model_serving.py +195 -74
  177. pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
  178. pulumi_databricks/mount.py +103 -104
  179. pulumi_databricks/mws_credentials.py +99 -100
  180. pulumi_databricks/mws_customer_managed_keys.py +75 -76
  181. pulumi_databricks/mws_log_delivery.py +188 -189
  182. pulumi_databricks/mws_ncc_binding.py +35 -36
  183. pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
  184. pulumi_databricks/mws_network_connectivity_config.py +136 -98
  185. pulumi_databricks/mws_networks.py +159 -160
  186. pulumi_databricks/mws_permission_assignment.py +70 -71
  187. pulumi_databricks/mws_private_access_settings.py +116 -117
  188. pulumi_databricks/mws_storage_configurations.py +74 -75
  189. pulumi_databricks/mws_vpc_endpoint.py +149 -150
  190. pulumi_databricks/mws_workspaces.py +464 -418
  191. pulumi_databricks/notebook.py +143 -144
  192. pulumi_databricks/notification_destination.py +38 -39
  193. pulumi_databricks/obo_token.py +63 -64
  194. pulumi_databricks/online_store.py +121 -70
  195. pulumi_databricks/online_table.py +41 -42
  196. pulumi_databricks/outputs.py +47821 -30802
  197. pulumi_databricks/permission_assignment.py +298 -57
  198. pulumi_databricks/permissions.py +523 -362
  199. pulumi_databricks/pipeline.py +515 -480
  200. pulumi_databricks/policy_info.py +916 -0
  201. pulumi_databricks/provider.py +283 -269
  202. pulumi_databricks/pulumi-plugin.json +1 -1
  203. pulumi_databricks/quality_monitor.py +263 -217
  204. pulumi_databricks/quality_monitor_v2.py +49 -46
  205. pulumi_databricks/query.py +227 -228
  206. pulumi_databricks/recipient.py +208 -209
  207. pulumi_databricks/registered_model.py +393 -122
  208. pulumi_databricks/repo.py +117 -118
  209. pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
  210. pulumi_databricks/rfa_access_request_destinations.py +286 -0
  211. pulumi_databricks/schema.py +159 -160
  212. pulumi_databricks/secret.py +72 -73
  213. pulumi_databricks/secret_acl.py +52 -53
  214. pulumi_databricks/secret_scope.py +55 -56
  215. pulumi_databricks/service_principal.py +279 -278
  216. pulumi_databricks/service_principal_federation_policy.py +469 -0
  217. pulumi_databricks/service_principal_role.py +35 -36
  218. pulumi_databricks/service_principal_secret.py +156 -157
  219. pulumi_databricks/share.py +186 -187
  220. pulumi_databricks/sql_alert.py +98 -99
  221. pulumi_databricks/sql_dashboard.py +94 -95
  222. pulumi_databricks/sql_endpoint.py +298 -266
  223. pulumi_databricks/sql_global_config.py +103 -104
  224. pulumi_databricks/sql_permissions.py +121 -122
  225. pulumi_databricks/sql_query.py +150 -151
  226. pulumi_databricks/sql_table.py +310 -283
  227. pulumi_databricks/sql_visualization.py +92 -93
  228. pulumi_databricks/sql_widget.py +91 -88
  229. pulumi_databricks/storage_credential.py +236 -184
  230. pulumi_databricks/system_schema.py +50 -51
  231. pulumi_databricks/table.py +147 -148
  232. pulumi_databricks/tag_policy.py +357 -0
  233. pulumi_databricks/token.py +83 -84
  234. pulumi_databricks/user.py +284 -285
  235. pulumi_databricks/user_instance_profile.py +35 -36
  236. pulumi_databricks/user_role.py +35 -36
  237. pulumi_databricks/vector_search_endpoint.py +117 -118
  238. pulumi_databricks/vector_search_index.py +86 -87
  239. pulumi_databricks/volume.py +129 -130
  240. pulumi_databricks/workspace_binding.py +82 -131
  241. pulumi_databricks/workspace_conf.py +18 -19
  242. pulumi_databricks/workspace_file.py +100 -101
  243. pulumi_databricks/workspace_network_option.py +89 -40
  244. pulumi_databricks/workspace_setting_v2.py +759 -0
  245. {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
  246. pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
  247. pulumi_databricks/get_recipient_federation_policies.py +0 -83
  248. pulumi_databricks/get_recipient_federation_policy.py +0 -166
  249. pulumi_databricks/recipient_federation_policy.py +0 -347
  250. pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
  251. {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
  252. {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
pulumi_databricks/job.py CHANGED
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -22,75 +21,78 @@ __all__ = ['JobArgs', 'Job']
22
21
  @pulumi.input_type
23
22
  class JobArgs:
24
23
  def __init__(__self__, *,
25
- always_running: Optional[pulumi.Input[builtins.bool]] = None,
26
- budget_policy_id: Optional[pulumi.Input[builtins.str]] = None,
24
+ always_running: Optional[pulumi.Input[_builtins.bool]] = None,
25
+ budget_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
27
26
  continuous: Optional[pulumi.Input['JobContinuousArgs']] = None,
28
- control_run_state: Optional[pulumi.Input[builtins.bool]] = None,
27
+ control_run_state: Optional[pulumi.Input[_builtins.bool]] = None,
29
28
  dbt_task: Optional[pulumi.Input['JobDbtTaskArgs']] = None,
30
29
  deployment: Optional[pulumi.Input['JobDeploymentArgs']] = None,
31
- description: Optional[pulumi.Input[builtins.str]] = None,
32
- edit_mode: Optional[pulumi.Input[builtins.str]] = None,
30
+ description: Optional[pulumi.Input[_builtins.str]] = None,
31
+ edit_mode: Optional[pulumi.Input[_builtins.str]] = None,
33
32
  email_notifications: Optional[pulumi.Input['JobEmailNotificationsArgs']] = None,
34
33
  environments: Optional[pulumi.Input[Sequence[pulumi.Input['JobEnvironmentArgs']]]] = None,
35
- existing_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
36
- format: Optional[pulumi.Input[builtins.str]] = None,
34
+ existing_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
35
+ format: Optional[pulumi.Input[_builtins.str]] = None,
37
36
  git_source: Optional[pulumi.Input['JobGitSourceArgs']] = None,
38
37
  health: Optional[pulumi.Input['JobHealthArgs']] = None,
39
38
  job_clusters: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterArgs']]]] = None,
40
39
  libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]]] = None,
41
- max_concurrent_runs: Optional[pulumi.Input[builtins.int]] = None,
42
- max_retries: Optional[pulumi.Input[builtins.int]] = None,
43
- min_retry_interval_millis: Optional[pulumi.Input[builtins.int]] = None,
44
- name: Optional[pulumi.Input[builtins.str]] = None,
40
+ max_concurrent_runs: Optional[pulumi.Input[_builtins.int]] = None,
41
+ max_retries: Optional[pulumi.Input[_builtins.int]] = None,
42
+ min_retry_interval_millis: Optional[pulumi.Input[_builtins.int]] = None,
43
+ name: Optional[pulumi.Input[_builtins.str]] = None,
45
44
  new_cluster: Optional[pulumi.Input['JobNewClusterArgs']] = None,
46
45
  notebook_task: Optional[pulumi.Input['JobNotebookTaskArgs']] = None,
47
46
  notification_settings: Optional[pulumi.Input['JobNotificationSettingsArgs']] = None,
48
47
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]]] = None,
49
- performance_target: Optional[pulumi.Input[builtins.str]] = None,
48
+ performance_target: Optional[pulumi.Input[_builtins.str]] = None,
50
49
  pipeline_task: Optional[pulumi.Input['JobPipelineTaskArgs']] = None,
50
+ provider_config: Optional[pulumi.Input['JobProviderConfigArgs']] = None,
51
51
  python_wheel_task: Optional[pulumi.Input['JobPythonWheelTaskArgs']] = None,
52
52
  queue: Optional[pulumi.Input['JobQueueArgs']] = None,
53
- retry_on_timeout: Optional[pulumi.Input[builtins.bool]] = None,
53
+ retry_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
54
54
  run_as: Optional[pulumi.Input['JobRunAsArgs']] = None,
55
55
  run_job_task: Optional[pulumi.Input['JobRunJobTaskArgs']] = None,
56
56
  schedule: Optional[pulumi.Input['JobScheduleArgs']] = None,
57
57
  spark_jar_task: Optional[pulumi.Input['JobSparkJarTaskArgs']] = None,
58
58
  spark_python_task: Optional[pulumi.Input['JobSparkPythonTaskArgs']] = None,
59
59
  spark_submit_task: Optional[pulumi.Input['JobSparkSubmitTaskArgs']] = None,
60
- tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
60
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
61
61
  tasks: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskArgs']]]] = None,
62
- timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
62
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None,
63
63
  trigger: Optional[pulumi.Input['JobTriggerArgs']] = None,
64
+ usage_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
64
65
  webhook_notifications: Optional[pulumi.Input['JobWebhookNotificationsArgs']] = None):
65
66
  """
66
67
  The set of arguments for constructing a Job resource.
67
- :param pulumi.Input[builtins.bool] always_running: (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 `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks.
68
- :param pulumi.Input[builtins.str] budget_policy_id: 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.
68
+ :param pulumi.Input[_builtins.bool] always_running: (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 `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks.
69
+ :param pulumi.Input[_builtins.str] budget_policy_id: 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.
69
70
  :param pulumi.Input['JobContinuousArgs'] continuous: Configuration block to configure pause status. See continuous Configuration Block.
70
- :param pulumi.Input[builtins.bool] control_run_state: (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 `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs.
71
+ :param pulumi.Input[_builtins.bool] control_run_state: (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 `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs.
71
72
 
72
73
  When migrating from `always_running` to `control_run_state`, set `continuous` as follows:
73
- :param pulumi.Input[builtins.str] description: An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
74
- :param pulumi.Input[builtins.str] edit_mode: If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
74
+ :param pulumi.Input[_builtins.str] description: An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
75
+ :param pulumi.Input[_builtins.str] edit_mode: If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
75
76
  :param pulumi.Input['JobEmailNotificationsArgs'] email_notifications: (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.
76
- :param pulumi.Input['JobGitSourceArgs'] git_source: Specifices the a Git repository for task source code. See git_source Configuration Block below.
77
+ :param pulumi.Input['JobGitSourceArgs'] git_source: Specifies the a Git repository for task source code. See git_source Configuration Block below.
77
78
  :param pulumi.Input['JobHealthArgs'] health: An optional block that specifies the health conditions for the job documented below.
78
79
  :param pulumi.Input[Sequence[pulumi.Input['JobJobClusterArgs']]] job_clusters: A list of job 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*
79
80
  :param pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
80
- :param pulumi.Input[builtins.int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*.
81
- :param pulumi.Input[builtins.int] min_retry_interval_millis: (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.
82
- :param pulumi.Input[builtins.str] name: An optional name for the job. The default value is Untitled.
81
+ :param pulumi.Input[_builtins.int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*.
82
+ :param pulumi.Input[_builtins.int] min_retry_interval_millis: (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.
83
+ :param pulumi.Input[_builtins.str] name: An optional name for the job. The default value is Untitled.
83
84
  :param pulumi.Input['JobNotificationSettingsArgs'] notification_settings: An optional block controlling the notification settings on the job level documented below.
84
- :param pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]] parameters: Specifices job parameter for the job. See parameter Configuration Block
85
- :param pulumi.Input[builtins.str] performance_target: 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:
85
+ :param pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]] parameters: Specifies job parameter for the job. See parameter Configuration Block
86
+ :param pulumi.Input[_builtins.str] performance_target: 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:
86
87
  * `PERFORMANCE_OPTIMIZED`: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
87
88
  * `STANDARD`: Enables cost-efficient execution of serverless workloads.
89
+ :param pulumi.Input['JobProviderConfigArgs'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
88
90
  :param pulumi.Input['JobQueueArgs'] queue: The queue status for the job. See queue Configuration Block below.
89
- :param pulumi.Input['JobRunAsArgs'] run_as: The user or the service prinicipal the job runs as. See run_as Configuration Block below.
91
+ :param pulumi.Input['JobRunAsArgs'] run_as: The user or the service principal the job runs as. See run_as Configuration Block below.
90
92
  :param pulumi.Input['JobScheduleArgs'] schedule: 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.
91
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: An optional map of the tags associated with the job. See tags Configuration Map
93
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: An optional map of the tags associated with the job. See tags Configuration Map
92
94
  :param pulumi.Input[Sequence[pulumi.Input['JobTaskArgs']]] tasks: A list of task specification that the job will execute. See task Configuration Block below.
93
- :param pulumi.Input[builtins.int] timeout_seconds: (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
95
+ :param pulumi.Input[_builtins.int] timeout_seconds: (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
94
96
  :param pulumi.Input['JobTriggerArgs'] trigger: The conditions that triggers the job to start. See trigger Configuration Block below.
95
97
  :param pulumi.Input['JobWebhookNotificationsArgs'] webhook_notifications: (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.
96
98
  """
@@ -164,6 +166,8 @@ class JobArgs:
164
166
  pulumi.log.warn("""pipeline_task is deprecated: should be used inside a task block and not inside a job block""")
165
167
  if pipeline_task is not None:
166
168
  pulumi.set(__self__, "pipeline_task", pipeline_task)
169
+ if provider_config is not None:
170
+ pulumi.set(__self__, "provider_config", provider_config)
167
171
  if python_wheel_task is not None:
168
172
  warnings.warn("""should be used inside a task block and not inside a job block""", DeprecationWarning)
169
173
  pulumi.log.warn("""python_wheel_task is deprecated: should be used inside a task block and not inside a job block""")
@@ -208,35 +212,37 @@ class JobArgs:
208
212
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
209
213
  if trigger is not None:
210
214
  pulumi.set(__self__, "trigger", trigger)
215
+ if usage_policy_id is not None:
216
+ pulumi.set(__self__, "usage_policy_id", usage_policy_id)
211
217
  if webhook_notifications is not None:
212
218
  pulumi.set(__self__, "webhook_notifications", webhook_notifications)
213
219
 
214
- @property
220
+ @_builtins.property
215
221
  @pulumi.getter(name="alwaysRunning")
216
222
  @_utilities.deprecated("""always_running will be replaced by control_run_state in the next major release.""")
217
- def always_running(self) -> Optional[pulumi.Input[builtins.bool]]:
223
+ def always_running(self) -> Optional[pulumi.Input[_builtins.bool]]:
218
224
  """
219
225
  (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 `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks.
220
226
  """
221
227
  return pulumi.get(self, "always_running")
222
228
 
223
229
  @always_running.setter
224
- def always_running(self, value: Optional[pulumi.Input[builtins.bool]]):
230
+ def always_running(self, value: Optional[pulumi.Input[_builtins.bool]]):
225
231
  pulumi.set(self, "always_running", value)
226
232
 
227
- @property
233
+ @_builtins.property
228
234
  @pulumi.getter(name="budgetPolicyId")
229
- def budget_policy_id(self) -> Optional[pulumi.Input[builtins.str]]:
235
+ def budget_policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
230
236
  """
231
237
  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.
232
238
  """
233
239
  return pulumi.get(self, "budget_policy_id")
234
240
 
235
241
  @budget_policy_id.setter
236
- def budget_policy_id(self, value: Optional[pulumi.Input[builtins.str]]):
242
+ def budget_policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
237
243
  pulumi.set(self, "budget_policy_id", value)
238
244
 
239
- @property
245
+ @_builtins.property
240
246
  @pulumi.getter
241
247
  def continuous(self) -> Optional[pulumi.Input['JobContinuousArgs']]:
242
248
  """
@@ -248,9 +254,9 @@ class JobArgs:
248
254
  def continuous(self, value: Optional[pulumi.Input['JobContinuousArgs']]):
249
255
  pulumi.set(self, "continuous", value)
250
256
 
251
- @property
257
+ @_builtins.property
252
258
  @pulumi.getter(name="controlRunState")
253
- def control_run_state(self) -> Optional[pulumi.Input[builtins.bool]]:
259
+ def control_run_state(self) -> Optional[pulumi.Input[_builtins.bool]]:
254
260
  """
255
261
  (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 `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs.
256
262
 
@@ -259,10 +265,10 @@ class JobArgs:
259
265
  return pulumi.get(self, "control_run_state")
260
266
 
261
267
  @control_run_state.setter
262
- def control_run_state(self, value: Optional[pulumi.Input[builtins.bool]]):
268
+ def control_run_state(self, value: Optional[pulumi.Input[_builtins.bool]]):
263
269
  pulumi.set(self, "control_run_state", value)
264
270
 
265
- @property
271
+ @_builtins.property
266
272
  @pulumi.getter(name="dbtTask")
267
273
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
268
274
  def dbt_task(self) -> Optional[pulumi.Input['JobDbtTaskArgs']]:
@@ -272,7 +278,7 @@ class JobArgs:
272
278
  def dbt_task(self, value: Optional[pulumi.Input['JobDbtTaskArgs']]):
273
279
  pulumi.set(self, "dbt_task", value)
274
280
 
275
- @property
281
+ @_builtins.property
276
282
  @pulumi.getter
277
283
  def deployment(self) -> Optional[pulumi.Input['JobDeploymentArgs']]:
278
284
  return pulumi.get(self, "deployment")
@@ -281,31 +287,31 @@ class JobArgs:
281
287
  def deployment(self, value: Optional[pulumi.Input['JobDeploymentArgs']]):
282
288
  pulumi.set(self, "deployment", value)
283
289
 
284
- @property
290
+ @_builtins.property
285
291
  @pulumi.getter
286
- def description(self) -> Optional[pulumi.Input[builtins.str]]:
292
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
287
293
  """
288
294
  An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
289
295
  """
290
296
  return pulumi.get(self, "description")
291
297
 
292
298
  @description.setter
293
- def description(self, value: Optional[pulumi.Input[builtins.str]]):
299
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
294
300
  pulumi.set(self, "description", value)
295
301
 
296
- @property
302
+ @_builtins.property
297
303
  @pulumi.getter(name="editMode")
298
- def edit_mode(self) -> Optional[pulumi.Input[builtins.str]]:
304
+ def edit_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
299
305
  """
300
306
  If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
301
307
  """
302
308
  return pulumi.get(self, "edit_mode")
303
309
 
304
310
  @edit_mode.setter
305
- def edit_mode(self, value: Optional[pulumi.Input[builtins.str]]):
311
+ def edit_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
306
312
  pulumi.set(self, "edit_mode", value)
307
313
 
308
- @property
314
+ @_builtins.property
309
315
  @pulumi.getter(name="emailNotifications")
310
316
  def email_notifications(self) -> Optional[pulumi.Input['JobEmailNotificationsArgs']]:
311
317
  """
@@ -317,7 +323,7 @@ class JobArgs:
317
323
  def email_notifications(self, value: Optional[pulumi.Input['JobEmailNotificationsArgs']]):
318
324
  pulumi.set(self, "email_notifications", value)
319
325
 
320
- @property
326
+ @_builtins.property
321
327
  @pulumi.getter
322
328
  def environments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobEnvironmentArgs']]]]:
323
329
  return pulumi.get(self, "environments")
@@ -326,29 +332,29 @@ class JobArgs:
326
332
  def environments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobEnvironmentArgs']]]]):
327
333
  pulumi.set(self, "environments", value)
328
334
 
329
- @property
335
+ @_builtins.property
330
336
  @pulumi.getter(name="existingClusterId")
331
- def existing_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
337
+ def existing_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
332
338
  return pulumi.get(self, "existing_cluster_id")
333
339
 
334
340
  @existing_cluster_id.setter
335
- def existing_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
341
+ def existing_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
336
342
  pulumi.set(self, "existing_cluster_id", value)
337
343
 
338
- @property
344
+ @_builtins.property
339
345
  @pulumi.getter
340
- def format(self) -> Optional[pulumi.Input[builtins.str]]:
346
+ def format(self) -> Optional[pulumi.Input[_builtins.str]]:
341
347
  return pulumi.get(self, "format")
342
348
 
343
349
  @format.setter
344
- def format(self, value: Optional[pulumi.Input[builtins.str]]):
350
+ def format(self, value: Optional[pulumi.Input[_builtins.str]]):
345
351
  pulumi.set(self, "format", value)
346
352
 
347
- @property
353
+ @_builtins.property
348
354
  @pulumi.getter(name="gitSource")
349
355
  def git_source(self) -> Optional[pulumi.Input['JobGitSourceArgs']]:
350
356
  """
351
- Specifices the a Git repository for task source code. See git_source Configuration Block below.
357
+ Specifies the a Git repository for task source code. See git_source Configuration Block below.
352
358
  """
353
359
  return pulumi.get(self, "git_source")
354
360
 
@@ -356,7 +362,7 @@ class JobArgs:
356
362
  def git_source(self, value: Optional[pulumi.Input['JobGitSourceArgs']]):
357
363
  pulumi.set(self, "git_source", value)
358
364
 
359
- @property
365
+ @_builtins.property
360
366
  @pulumi.getter
361
367
  def health(self) -> Optional[pulumi.Input['JobHealthArgs']]:
362
368
  """
@@ -368,7 +374,7 @@ class JobArgs:
368
374
  def health(self, value: Optional[pulumi.Input['JobHealthArgs']]):
369
375
  pulumi.set(self, "health", value)
370
376
 
371
- @property
377
+ @_builtins.property
372
378
  @pulumi.getter(name="jobClusters")
373
379
  def job_clusters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterArgs']]]]:
374
380
  """
@@ -380,7 +386,7 @@ class JobArgs:
380
386
  def job_clusters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterArgs']]]]):
381
387
  pulumi.set(self, "job_clusters", value)
382
388
 
383
- @property
389
+ @_builtins.property
384
390
  @pulumi.getter
385
391
  def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]]]:
386
392
  """
@@ -392,54 +398,54 @@ class JobArgs:
392
398
  def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]]]):
393
399
  pulumi.set(self, "libraries", value)
394
400
 
395
- @property
401
+ @_builtins.property
396
402
  @pulumi.getter(name="maxConcurrentRuns")
397
- def max_concurrent_runs(self) -> Optional[pulumi.Input[builtins.int]]:
403
+ def max_concurrent_runs(self) -> Optional[pulumi.Input[_builtins.int]]:
398
404
  """
399
405
  (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*.
400
406
  """
401
407
  return pulumi.get(self, "max_concurrent_runs")
402
408
 
403
409
  @max_concurrent_runs.setter
404
- def max_concurrent_runs(self, value: Optional[pulumi.Input[builtins.int]]):
410
+ def max_concurrent_runs(self, value: Optional[pulumi.Input[_builtins.int]]):
405
411
  pulumi.set(self, "max_concurrent_runs", value)
406
412
 
407
- @property
413
+ @_builtins.property
408
414
  @pulumi.getter(name="maxRetries")
409
415
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
410
- def max_retries(self) -> Optional[pulumi.Input[builtins.int]]:
416
+ def max_retries(self) -> Optional[pulumi.Input[_builtins.int]]:
411
417
  return pulumi.get(self, "max_retries")
412
418
 
413
419
  @max_retries.setter
414
- def max_retries(self, value: Optional[pulumi.Input[builtins.int]]):
420
+ def max_retries(self, value: Optional[pulumi.Input[_builtins.int]]):
415
421
  pulumi.set(self, "max_retries", value)
416
422
 
417
- @property
423
+ @_builtins.property
418
424
  @pulumi.getter(name="minRetryIntervalMillis")
419
425
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
420
- def min_retry_interval_millis(self) -> Optional[pulumi.Input[builtins.int]]:
426
+ def min_retry_interval_millis(self) -> Optional[pulumi.Input[_builtins.int]]:
421
427
  """
422
428
  (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.
423
429
  """
424
430
  return pulumi.get(self, "min_retry_interval_millis")
425
431
 
426
432
  @min_retry_interval_millis.setter
427
- def min_retry_interval_millis(self, value: Optional[pulumi.Input[builtins.int]]):
433
+ def min_retry_interval_millis(self, value: Optional[pulumi.Input[_builtins.int]]):
428
434
  pulumi.set(self, "min_retry_interval_millis", value)
429
435
 
430
- @property
436
+ @_builtins.property
431
437
  @pulumi.getter
432
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
438
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
433
439
  """
434
440
  An optional name for the job. The default value is Untitled.
435
441
  """
436
442
  return pulumi.get(self, "name")
437
443
 
438
444
  @name.setter
439
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
445
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
440
446
  pulumi.set(self, "name", value)
441
447
 
442
- @property
448
+ @_builtins.property
443
449
  @pulumi.getter(name="newCluster")
444
450
  def new_cluster(self) -> Optional[pulumi.Input['JobNewClusterArgs']]:
445
451
  return pulumi.get(self, "new_cluster")
@@ -448,7 +454,7 @@ class JobArgs:
448
454
  def new_cluster(self, value: Optional[pulumi.Input['JobNewClusterArgs']]):
449
455
  pulumi.set(self, "new_cluster", value)
450
456
 
451
- @property
457
+ @_builtins.property
452
458
  @pulumi.getter(name="notebookTask")
453
459
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
454
460
  def notebook_task(self) -> Optional[pulumi.Input['JobNotebookTaskArgs']]:
@@ -458,7 +464,7 @@ class JobArgs:
458
464
  def notebook_task(self, value: Optional[pulumi.Input['JobNotebookTaskArgs']]):
459
465
  pulumi.set(self, "notebook_task", value)
460
466
 
461
- @property
467
+ @_builtins.property
462
468
  @pulumi.getter(name="notificationSettings")
463
469
  def notification_settings(self) -> Optional[pulumi.Input['JobNotificationSettingsArgs']]:
464
470
  """
@@ -470,11 +476,11 @@ class JobArgs:
470
476
  def notification_settings(self, value: Optional[pulumi.Input['JobNotificationSettingsArgs']]):
471
477
  pulumi.set(self, "notification_settings", value)
472
478
 
473
- @property
479
+ @_builtins.property
474
480
  @pulumi.getter
475
481
  def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]]]:
476
482
  """
477
- Specifices job parameter for the job. See parameter Configuration Block
483
+ Specifies job parameter for the job. See parameter Configuration Block
478
484
  """
479
485
  return pulumi.get(self, "parameters")
480
486
 
@@ -482,9 +488,9 @@ class JobArgs:
482
488
  def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]]]):
483
489
  pulumi.set(self, "parameters", value)
484
490
 
485
- @property
491
+ @_builtins.property
486
492
  @pulumi.getter(name="performanceTarget")
487
- def performance_target(self) -> Optional[pulumi.Input[builtins.str]]:
493
+ def performance_target(self) -> Optional[pulumi.Input[_builtins.str]]:
488
494
  """
489
495
  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:
490
496
  * `PERFORMANCE_OPTIMIZED`: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
@@ -493,10 +499,10 @@ class JobArgs:
493
499
  return pulumi.get(self, "performance_target")
494
500
 
495
501
  @performance_target.setter
496
- def performance_target(self, value: Optional[pulumi.Input[builtins.str]]):
502
+ def performance_target(self, value: Optional[pulumi.Input[_builtins.str]]):
497
503
  pulumi.set(self, "performance_target", value)
498
504
 
499
- @property
505
+ @_builtins.property
500
506
  @pulumi.getter(name="pipelineTask")
501
507
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
502
508
  def pipeline_task(self) -> Optional[pulumi.Input['JobPipelineTaskArgs']]:
@@ -506,7 +512,19 @@ class JobArgs:
506
512
  def pipeline_task(self, value: Optional[pulumi.Input['JobPipelineTaskArgs']]):
507
513
  pulumi.set(self, "pipeline_task", value)
508
514
 
509
- @property
515
+ @_builtins.property
516
+ @pulumi.getter(name="providerConfig")
517
+ def provider_config(self) -> Optional[pulumi.Input['JobProviderConfigArgs']]:
518
+ """
519
+ Configure the provider for management through account provider. This block consists of the following fields:
520
+ """
521
+ return pulumi.get(self, "provider_config")
522
+
523
+ @provider_config.setter
524
+ def provider_config(self, value: Optional[pulumi.Input['JobProviderConfigArgs']]):
525
+ pulumi.set(self, "provider_config", value)
526
+
527
+ @_builtins.property
510
528
  @pulumi.getter(name="pythonWheelTask")
511
529
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
512
530
  def python_wheel_task(self) -> Optional[pulumi.Input['JobPythonWheelTaskArgs']]:
@@ -516,7 +534,7 @@ class JobArgs:
516
534
  def python_wheel_task(self, value: Optional[pulumi.Input['JobPythonWheelTaskArgs']]):
517
535
  pulumi.set(self, "python_wheel_task", value)
518
536
 
519
- @property
537
+ @_builtins.property
520
538
  @pulumi.getter
521
539
  def queue(self) -> Optional[pulumi.Input['JobQueueArgs']]:
522
540
  """
@@ -528,21 +546,21 @@ class JobArgs:
528
546
  def queue(self, value: Optional[pulumi.Input['JobQueueArgs']]):
529
547
  pulumi.set(self, "queue", value)
530
548
 
531
- @property
549
+ @_builtins.property
532
550
  @pulumi.getter(name="retryOnTimeout")
533
551
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
534
- def retry_on_timeout(self) -> Optional[pulumi.Input[builtins.bool]]:
552
+ def retry_on_timeout(self) -> Optional[pulumi.Input[_builtins.bool]]:
535
553
  return pulumi.get(self, "retry_on_timeout")
536
554
 
537
555
  @retry_on_timeout.setter
538
- def retry_on_timeout(self, value: Optional[pulumi.Input[builtins.bool]]):
556
+ def retry_on_timeout(self, value: Optional[pulumi.Input[_builtins.bool]]):
539
557
  pulumi.set(self, "retry_on_timeout", value)
540
558
 
541
- @property
559
+ @_builtins.property
542
560
  @pulumi.getter(name="runAs")
543
561
  def run_as(self) -> Optional[pulumi.Input['JobRunAsArgs']]:
544
562
  """
545
- The user or the service prinicipal the job runs as. See run_as Configuration Block below.
563
+ The user or the service principal the job runs as. See run_as Configuration Block below.
546
564
  """
547
565
  return pulumi.get(self, "run_as")
548
566
 
@@ -550,7 +568,7 @@ class JobArgs:
550
568
  def run_as(self, value: Optional[pulumi.Input['JobRunAsArgs']]):
551
569
  pulumi.set(self, "run_as", value)
552
570
 
553
- @property
571
+ @_builtins.property
554
572
  @pulumi.getter(name="runJobTask")
555
573
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
556
574
  def run_job_task(self) -> Optional[pulumi.Input['JobRunJobTaskArgs']]:
@@ -560,7 +578,7 @@ class JobArgs:
560
578
  def run_job_task(self, value: Optional[pulumi.Input['JobRunJobTaskArgs']]):
561
579
  pulumi.set(self, "run_job_task", value)
562
580
 
563
- @property
581
+ @_builtins.property
564
582
  @pulumi.getter
565
583
  def schedule(self) -> Optional[pulumi.Input['JobScheduleArgs']]:
566
584
  """
@@ -572,7 +590,7 @@ class JobArgs:
572
590
  def schedule(self, value: Optional[pulumi.Input['JobScheduleArgs']]):
573
591
  pulumi.set(self, "schedule", value)
574
592
 
575
- @property
593
+ @_builtins.property
576
594
  @pulumi.getter(name="sparkJarTask")
577
595
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
578
596
  def spark_jar_task(self) -> Optional[pulumi.Input['JobSparkJarTaskArgs']]:
@@ -582,7 +600,7 @@ class JobArgs:
582
600
  def spark_jar_task(self, value: Optional[pulumi.Input['JobSparkJarTaskArgs']]):
583
601
  pulumi.set(self, "spark_jar_task", value)
584
602
 
585
- @property
603
+ @_builtins.property
586
604
  @pulumi.getter(name="sparkPythonTask")
587
605
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
588
606
  def spark_python_task(self) -> Optional[pulumi.Input['JobSparkPythonTaskArgs']]:
@@ -592,7 +610,7 @@ class JobArgs:
592
610
  def spark_python_task(self, value: Optional[pulumi.Input['JobSparkPythonTaskArgs']]):
593
611
  pulumi.set(self, "spark_python_task", value)
594
612
 
595
- @property
613
+ @_builtins.property
596
614
  @pulumi.getter(name="sparkSubmitTask")
597
615
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
598
616
  def spark_submit_task(self) -> Optional[pulumi.Input['JobSparkSubmitTaskArgs']]:
@@ -602,19 +620,19 @@ class JobArgs:
602
620
  def spark_submit_task(self, value: Optional[pulumi.Input['JobSparkSubmitTaskArgs']]):
603
621
  pulumi.set(self, "spark_submit_task", value)
604
622
 
605
- @property
623
+ @_builtins.property
606
624
  @pulumi.getter
607
- def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
625
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
608
626
  """
609
627
  An optional map of the tags associated with the job. See tags Configuration Map
610
628
  """
611
629
  return pulumi.get(self, "tags")
612
630
 
613
631
  @tags.setter
614
- def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
632
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
615
633
  pulumi.set(self, "tags", value)
616
634
 
617
- @property
635
+ @_builtins.property
618
636
  @pulumi.getter
619
637
  def tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskArgs']]]]:
620
638
  """
@@ -626,19 +644,19 @@ class JobArgs:
626
644
  def tasks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskArgs']]]]):
627
645
  pulumi.set(self, "tasks", value)
628
646
 
629
- @property
647
+ @_builtins.property
630
648
  @pulumi.getter(name="timeoutSeconds")
631
- def timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
649
+ def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
632
650
  """
633
651
  (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
634
652
  """
635
653
  return pulumi.get(self, "timeout_seconds")
636
654
 
637
655
  @timeout_seconds.setter
638
- def timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
656
+ def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
639
657
  pulumi.set(self, "timeout_seconds", value)
640
658
 
641
- @property
659
+ @_builtins.property
642
660
  @pulumi.getter
643
661
  def trigger(self) -> Optional[pulumi.Input['JobTriggerArgs']]:
644
662
  """
@@ -650,7 +668,16 @@ class JobArgs:
650
668
  def trigger(self, value: Optional[pulumi.Input['JobTriggerArgs']]):
651
669
  pulumi.set(self, "trigger", value)
652
670
 
653
- @property
671
+ @_builtins.property
672
+ @pulumi.getter(name="usagePolicyId")
673
+ def usage_policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
674
+ return pulumi.get(self, "usage_policy_id")
675
+
676
+ @usage_policy_id.setter
677
+ def usage_policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
678
+ pulumi.set(self, "usage_policy_id", value)
679
+
680
+ @_builtins.property
654
681
  @pulumi.getter(name="webhookNotifications")
655
682
  def webhook_notifications(self) -> Optional[pulumi.Input['JobWebhookNotificationsArgs']]:
656
683
  """
@@ -666,78 +693,81 @@ class JobArgs:
666
693
  @pulumi.input_type
667
694
  class _JobState:
668
695
  def __init__(__self__, *,
669
- always_running: Optional[pulumi.Input[builtins.bool]] = None,
670
- budget_policy_id: Optional[pulumi.Input[builtins.str]] = None,
696
+ always_running: Optional[pulumi.Input[_builtins.bool]] = None,
697
+ budget_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
671
698
  continuous: Optional[pulumi.Input['JobContinuousArgs']] = None,
672
- control_run_state: Optional[pulumi.Input[builtins.bool]] = None,
699
+ control_run_state: Optional[pulumi.Input[_builtins.bool]] = None,
673
700
  dbt_task: Optional[pulumi.Input['JobDbtTaskArgs']] = None,
674
701
  deployment: Optional[pulumi.Input['JobDeploymentArgs']] = None,
675
- description: Optional[pulumi.Input[builtins.str]] = None,
676
- edit_mode: Optional[pulumi.Input[builtins.str]] = None,
702
+ description: Optional[pulumi.Input[_builtins.str]] = None,
703
+ edit_mode: Optional[pulumi.Input[_builtins.str]] = None,
677
704
  email_notifications: Optional[pulumi.Input['JobEmailNotificationsArgs']] = None,
678
705
  environments: Optional[pulumi.Input[Sequence[pulumi.Input['JobEnvironmentArgs']]]] = None,
679
- existing_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
680
- format: Optional[pulumi.Input[builtins.str]] = None,
706
+ existing_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
707
+ format: Optional[pulumi.Input[_builtins.str]] = None,
681
708
  git_source: Optional[pulumi.Input['JobGitSourceArgs']] = None,
682
709
  health: Optional[pulumi.Input['JobHealthArgs']] = None,
683
710
  job_clusters: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterArgs']]]] = None,
684
711
  libraries: Optional[pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]]] = None,
685
- max_concurrent_runs: Optional[pulumi.Input[builtins.int]] = None,
686
- max_retries: Optional[pulumi.Input[builtins.int]] = None,
687
- min_retry_interval_millis: Optional[pulumi.Input[builtins.int]] = None,
688
- name: Optional[pulumi.Input[builtins.str]] = None,
712
+ max_concurrent_runs: Optional[pulumi.Input[_builtins.int]] = None,
713
+ max_retries: Optional[pulumi.Input[_builtins.int]] = None,
714
+ min_retry_interval_millis: Optional[pulumi.Input[_builtins.int]] = None,
715
+ name: Optional[pulumi.Input[_builtins.str]] = None,
689
716
  new_cluster: Optional[pulumi.Input['JobNewClusterArgs']] = None,
690
717
  notebook_task: Optional[pulumi.Input['JobNotebookTaskArgs']] = None,
691
718
  notification_settings: Optional[pulumi.Input['JobNotificationSettingsArgs']] = None,
692
719
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]]] = None,
693
- performance_target: Optional[pulumi.Input[builtins.str]] = None,
720
+ performance_target: Optional[pulumi.Input[_builtins.str]] = None,
694
721
  pipeline_task: Optional[pulumi.Input['JobPipelineTaskArgs']] = None,
722
+ provider_config: Optional[pulumi.Input['JobProviderConfigArgs']] = None,
695
723
  python_wheel_task: Optional[pulumi.Input['JobPythonWheelTaskArgs']] = None,
696
724
  queue: Optional[pulumi.Input['JobQueueArgs']] = None,
697
- retry_on_timeout: Optional[pulumi.Input[builtins.bool]] = None,
725
+ retry_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
698
726
  run_as: Optional[pulumi.Input['JobRunAsArgs']] = None,
699
727
  run_job_task: Optional[pulumi.Input['JobRunJobTaskArgs']] = None,
700
728
  schedule: Optional[pulumi.Input['JobScheduleArgs']] = None,
701
729
  spark_jar_task: Optional[pulumi.Input['JobSparkJarTaskArgs']] = None,
702
730
  spark_python_task: Optional[pulumi.Input['JobSparkPythonTaskArgs']] = None,
703
731
  spark_submit_task: Optional[pulumi.Input['JobSparkSubmitTaskArgs']] = None,
704
- tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
732
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
705
733
  tasks: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskArgs']]]] = None,
706
- timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
734
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None,
707
735
  trigger: Optional[pulumi.Input['JobTriggerArgs']] = None,
708
- url: Optional[pulumi.Input[builtins.str]] = None,
736
+ url: Optional[pulumi.Input[_builtins.str]] = None,
737
+ usage_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
709
738
  webhook_notifications: Optional[pulumi.Input['JobWebhookNotificationsArgs']] = None):
710
739
  """
711
740
  Input properties used for looking up and filtering Job resources.
712
- :param pulumi.Input[builtins.bool] always_running: (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 `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks.
713
- :param pulumi.Input[builtins.str] budget_policy_id: 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.
741
+ :param pulumi.Input[_builtins.bool] always_running: (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 `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks.
742
+ :param pulumi.Input[_builtins.str] budget_policy_id: 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.
714
743
  :param pulumi.Input['JobContinuousArgs'] continuous: Configuration block to configure pause status. See continuous Configuration Block.
715
- :param pulumi.Input[builtins.bool] control_run_state: (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 `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs.
744
+ :param pulumi.Input[_builtins.bool] control_run_state: (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 `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs.
716
745
 
717
746
  When migrating from `always_running` to `control_run_state`, set `continuous` as follows:
718
- :param pulumi.Input[builtins.str] description: An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
719
- :param pulumi.Input[builtins.str] edit_mode: If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
747
+ :param pulumi.Input[_builtins.str] description: An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
748
+ :param pulumi.Input[_builtins.str] edit_mode: If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
720
749
  :param pulumi.Input['JobEmailNotificationsArgs'] email_notifications: (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.
721
- :param pulumi.Input['JobGitSourceArgs'] git_source: Specifices the a Git repository for task source code. See git_source Configuration Block below.
750
+ :param pulumi.Input['JobGitSourceArgs'] git_source: Specifies the a Git repository for task source code. See git_source Configuration Block below.
722
751
  :param pulumi.Input['JobHealthArgs'] health: An optional block that specifies the health conditions for the job documented below.
723
752
  :param pulumi.Input[Sequence[pulumi.Input['JobJobClusterArgs']]] job_clusters: A list of job 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*
724
753
  :param pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
725
- :param pulumi.Input[builtins.int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*.
726
- :param pulumi.Input[builtins.int] min_retry_interval_millis: (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.
727
- :param pulumi.Input[builtins.str] name: An optional name for the job. The default value is Untitled.
754
+ :param pulumi.Input[_builtins.int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*.
755
+ :param pulumi.Input[_builtins.int] min_retry_interval_millis: (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.
756
+ :param pulumi.Input[_builtins.str] name: An optional name for the job. The default value is Untitled.
728
757
  :param pulumi.Input['JobNotificationSettingsArgs'] notification_settings: An optional block controlling the notification settings on the job level documented below.
729
- :param pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]] parameters: Specifices job parameter for the job. See parameter Configuration Block
730
- :param pulumi.Input[builtins.str] performance_target: 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:
758
+ :param pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]] parameters: Specifies job parameter for the job. See parameter Configuration Block
759
+ :param pulumi.Input[_builtins.str] performance_target: 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:
731
760
  * `PERFORMANCE_OPTIMIZED`: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
732
761
  * `STANDARD`: Enables cost-efficient execution of serverless workloads.
762
+ :param pulumi.Input['JobProviderConfigArgs'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
733
763
  :param pulumi.Input['JobQueueArgs'] queue: The queue status for the job. See queue Configuration Block below.
734
- :param pulumi.Input['JobRunAsArgs'] run_as: The user or the service prinicipal the job runs as. See run_as Configuration Block below.
764
+ :param pulumi.Input['JobRunAsArgs'] run_as: The user or the service principal the job runs as. See run_as Configuration Block below.
735
765
  :param pulumi.Input['JobScheduleArgs'] schedule: 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.
736
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: An optional map of the tags associated with the job. See tags Configuration Map
766
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: An optional map of the tags associated with the job. See tags Configuration Map
737
767
  :param pulumi.Input[Sequence[pulumi.Input['JobTaskArgs']]] tasks: A list of task specification that the job will execute. See task Configuration Block below.
738
- :param pulumi.Input[builtins.int] timeout_seconds: (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
768
+ :param pulumi.Input[_builtins.int] timeout_seconds: (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
739
769
  :param pulumi.Input['JobTriggerArgs'] trigger: The conditions that triggers the job to start. See trigger Configuration Block below.
740
- :param pulumi.Input[builtins.str] url: URL of the job on the given workspace
770
+ :param pulumi.Input[_builtins.str] url: URL of the job on the given workspace
741
771
  :param pulumi.Input['JobWebhookNotificationsArgs'] webhook_notifications: (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.
742
772
  """
743
773
  if always_running is not None:
@@ -810,6 +840,8 @@ class _JobState:
810
840
  pulumi.log.warn("""pipeline_task is deprecated: should be used inside a task block and not inside a job block""")
811
841
  if pipeline_task is not None:
812
842
  pulumi.set(__self__, "pipeline_task", pipeline_task)
843
+ if provider_config is not None:
844
+ pulumi.set(__self__, "provider_config", provider_config)
813
845
  if python_wheel_task is not None:
814
846
  warnings.warn("""should be used inside a task block and not inside a job block""", DeprecationWarning)
815
847
  pulumi.log.warn("""python_wheel_task is deprecated: should be used inside a task block and not inside a job block""")
@@ -856,35 +888,37 @@ class _JobState:
856
888
  pulumi.set(__self__, "trigger", trigger)
857
889
  if url is not None:
858
890
  pulumi.set(__self__, "url", url)
891
+ if usage_policy_id is not None:
892
+ pulumi.set(__self__, "usage_policy_id", usage_policy_id)
859
893
  if webhook_notifications is not None:
860
894
  pulumi.set(__self__, "webhook_notifications", webhook_notifications)
861
895
 
862
- @property
896
+ @_builtins.property
863
897
  @pulumi.getter(name="alwaysRunning")
864
898
  @_utilities.deprecated("""always_running will be replaced by control_run_state in the next major release.""")
865
- def always_running(self) -> Optional[pulumi.Input[builtins.bool]]:
899
+ def always_running(self) -> Optional[pulumi.Input[_builtins.bool]]:
866
900
  """
867
901
  (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 `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks.
868
902
  """
869
903
  return pulumi.get(self, "always_running")
870
904
 
871
905
  @always_running.setter
872
- def always_running(self, value: Optional[pulumi.Input[builtins.bool]]):
906
+ def always_running(self, value: Optional[pulumi.Input[_builtins.bool]]):
873
907
  pulumi.set(self, "always_running", value)
874
908
 
875
- @property
909
+ @_builtins.property
876
910
  @pulumi.getter(name="budgetPolicyId")
877
- def budget_policy_id(self) -> Optional[pulumi.Input[builtins.str]]:
911
+ def budget_policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
878
912
  """
879
913
  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.
880
914
  """
881
915
  return pulumi.get(self, "budget_policy_id")
882
916
 
883
917
  @budget_policy_id.setter
884
- def budget_policy_id(self, value: Optional[pulumi.Input[builtins.str]]):
918
+ def budget_policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
885
919
  pulumi.set(self, "budget_policy_id", value)
886
920
 
887
- @property
921
+ @_builtins.property
888
922
  @pulumi.getter
889
923
  def continuous(self) -> Optional[pulumi.Input['JobContinuousArgs']]:
890
924
  """
@@ -896,9 +930,9 @@ class _JobState:
896
930
  def continuous(self, value: Optional[pulumi.Input['JobContinuousArgs']]):
897
931
  pulumi.set(self, "continuous", value)
898
932
 
899
- @property
933
+ @_builtins.property
900
934
  @pulumi.getter(name="controlRunState")
901
- def control_run_state(self) -> Optional[pulumi.Input[builtins.bool]]:
935
+ def control_run_state(self) -> Optional[pulumi.Input[_builtins.bool]]:
902
936
  """
903
937
  (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 `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs.
904
938
 
@@ -907,10 +941,10 @@ class _JobState:
907
941
  return pulumi.get(self, "control_run_state")
908
942
 
909
943
  @control_run_state.setter
910
- def control_run_state(self, value: Optional[pulumi.Input[builtins.bool]]):
944
+ def control_run_state(self, value: Optional[pulumi.Input[_builtins.bool]]):
911
945
  pulumi.set(self, "control_run_state", value)
912
946
 
913
- @property
947
+ @_builtins.property
914
948
  @pulumi.getter(name="dbtTask")
915
949
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
916
950
  def dbt_task(self) -> Optional[pulumi.Input['JobDbtTaskArgs']]:
@@ -920,7 +954,7 @@ class _JobState:
920
954
  def dbt_task(self, value: Optional[pulumi.Input['JobDbtTaskArgs']]):
921
955
  pulumi.set(self, "dbt_task", value)
922
956
 
923
- @property
957
+ @_builtins.property
924
958
  @pulumi.getter
925
959
  def deployment(self) -> Optional[pulumi.Input['JobDeploymentArgs']]:
926
960
  return pulumi.get(self, "deployment")
@@ -929,31 +963,31 @@ class _JobState:
929
963
  def deployment(self, value: Optional[pulumi.Input['JobDeploymentArgs']]):
930
964
  pulumi.set(self, "deployment", value)
931
965
 
932
- @property
966
+ @_builtins.property
933
967
  @pulumi.getter
934
- def description(self) -> Optional[pulumi.Input[builtins.str]]:
968
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
935
969
  """
936
970
  An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
937
971
  """
938
972
  return pulumi.get(self, "description")
939
973
 
940
974
  @description.setter
941
- def description(self, value: Optional[pulumi.Input[builtins.str]]):
975
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
942
976
  pulumi.set(self, "description", value)
943
977
 
944
- @property
978
+ @_builtins.property
945
979
  @pulumi.getter(name="editMode")
946
- def edit_mode(self) -> Optional[pulumi.Input[builtins.str]]:
980
+ def edit_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
947
981
  """
948
982
  If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
949
983
  """
950
984
  return pulumi.get(self, "edit_mode")
951
985
 
952
986
  @edit_mode.setter
953
- def edit_mode(self, value: Optional[pulumi.Input[builtins.str]]):
987
+ def edit_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
954
988
  pulumi.set(self, "edit_mode", value)
955
989
 
956
- @property
990
+ @_builtins.property
957
991
  @pulumi.getter(name="emailNotifications")
958
992
  def email_notifications(self) -> Optional[pulumi.Input['JobEmailNotificationsArgs']]:
959
993
  """
@@ -965,7 +999,7 @@ class _JobState:
965
999
  def email_notifications(self, value: Optional[pulumi.Input['JobEmailNotificationsArgs']]):
966
1000
  pulumi.set(self, "email_notifications", value)
967
1001
 
968
- @property
1002
+ @_builtins.property
969
1003
  @pulumi.getter
970
1004
  def environments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobEnvironmentArgs']]]]:
971
1005
  return pulumi.get(self, "environments")
@@ -974,29 +1008,29 @@ class _JobState:
974
1008
  def environments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobEnvironmentArgs']]]]):
975
1009
  pulumi.set(self, "environments", value)
976
1010
 
977
- @property
1011
+ @_builtins.property
978
1012
  @pulumi.getter(name="existingClusterId")
979
- def existing_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
1013
+ def existing_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
980
1014
  return pulumi.get(self, "existing_cluster_id")
981
1015
 
982
1016
  @existing_cluster_id.setter
983
- def existing_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
1017
+ def existing_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
984
1018
  pulumi.set(self, "existing_cluster_id", value)
985
1019
 
986
- @property
1020
+ @_builtins.property
987
1021
  @pulumi.getter
988
- def format(self) -> Optional[pulumi.Input[builtins.str]]:
1022
+ def format(self) -> Optional[pulumi.Input[_builtins.str]]:
989
1023
  return pulumi.get(self, "format")
990
1024
 
991
1025
  @format.setter
992
- def format(self, value: Optional[pulumi.Input[builtins.str]]):
1026
+ def format(self, value: Optional[pulumi.Input[_builtins.str]]):
993
1027
  pulumi.set(self, "format", value)
994
1028
 
995
- @property
1029
+ @_builtins.property
996
1030
  @pulumi.getter(name="gitSource")
997
1031
  def git_source(self) -> Optional[pulumi.Input['JobGitSourceArgs']]:
998
1032
  """
999
- Specifices the a Git repository for task source code. See git_source Configuration Block below.
1033
+ Specifies the a Git repository for task source code. See git_source Configuration Block below.
1000
1034
  """
1001
1035
  return pulumi.get(self, "git_source")
1002
1036
 
@@ -1004,7 +1038,7 @@ class _JobState:
1004
1038
  def git_source(self, value: Optional[pulumi.Input['JobGitSourceArgs']]):
1005
1039
  pulumi.set(self, "git_source", value)
1006
1040
 
1007
- @property
1041
+ @_builtins.property
1008
1042
  @pulumi.getter
1009
1043
  def health(self) -> Optional[pulumi.Input['JobHealthArgs']]:
1010
1044
  """
@@ -1016,7 +1050,7 @@ class _JobState:
1016
1050
  def health(self, value: Optional[pulumi.Input['JobHealthArgs']]):
1017
1051
  pulumi.set(self, "health", value)
1018
1052
 
1019
- @property
1053
+ @_builtins.property
1020
1054
  @pulumi.getter(name="jobClusters")
1021
1055
  def job_clusters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterArgs']]]]:
1022
1056
  """
@@ -1028,7 +1062,7 @@ class _JobState:
1028
1062
  def job_clusters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobJobClusterArgs']]]]):
1029
1063
  pulumi.set(self, "job_clusters", value)
1030
1064
 
1031
- @property
1065
+ @_builtins.property
1032
1066
  @pulumi.getter
1033
1067
  def libraries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]]]:
1034
1068
  """
@@ -1040,54 +1074,54 @@ class _JobState:
1040
1074
  def libraries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobLibraryArgs']]]]):
1041
1075
  pulumi.set(self, "libraries", value)
1042
1076
 
1043
- @property
1077
+ @_builtins.property
1044
1078
  @pulumi.getter(name="maxConcurrentRuns")
1045
- def max_concurrent_runs(self) -> Optional[pulumi.Input[builtins.int]]:
1079
+ def max_concurrent_runs(self) -> Optional[pulumi.Input[_builtins.int]]:
1046
1080
  """
1047
1081
  (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*.
1048
1082
  """
1049
1083
  return pulumi.get(self, "max_concurrent_runs")
1050
1084
 
1051
1085
  @max_concurrent_runs.setter
1052
- def max_concurrent_runs(self, value: Optional[pulumi.Input[builtins.int]]):
1086
+ def max_concurrent_runs(self, value: Optional[pulumi.Input[_builtins.int]]):
1053
1087
  pulumi.set(self, "max_concurrent_runs", value)
1054
1088
 
1055
- @property
1089
+ @_builtins.property
1056
1090
  @pulumi.getter(name="maxRetries")
1057
1091
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1058
- def max_retries(self) -> Optional[pulumi.Input[builtins.int]]:
1092
+ def max_retries(self) -> Optional[pulumi.Input[_builtins.int]]:
1059
1093
  return pulumi.get(self, "max_retries")
1060
1094
 
1061
1095
  @max_retries.setter
1062
- def max_retries(self, value: Optional[pulumi.Input[builtins.int]]):
1096
+ def max_retries(self, value: Optional[pulumi.Input[_builtins.int]]):
1063
1097
  pulumi.set(self, "max_retries", value)
1064
1098
 
1065
- @property
1099
+ @_builtins.property
1066
1100
  @pulumi.getter(name="minRetryIntervalMillis")
1067
1101
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1068
- def min_retry_interval_millis(self) -> Optional[pulumi.Input[builtins.int]]:
1102
+ def min_retry_interval_millis(self) -> Optional[pulumi.Input[_builtins.int]]:
1069
1103
  """
1070
1104
  (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.
1071
1105
  """
1072
1106
  return pulumi.get(self, "min_retry_interval_millis")
1073
1107
 
1074
1108
  @min_retry_interval_millis.setter
1075
- def min_retry_interval_millis(self, value: Optional[pulumi.Input[builtins.int]]):
1109
+ def min_retry_interval_millis(self, value: Optional[pulumi.Input[_builtins.int]]):
1076
1110
  pulumi.set(self, "min_retry_interval_millis", value)
1077
1111
 
1078
- @property
1112
+ @_builtins.property
1079
1113
  @pulumi.getter
1080
- def name(self) -> Optional[pulumi.Input[builtins.str]]:
1114
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
1081
1115
  """
1082
1116
  An optional name for the job. The default value is Untitled.
1083
1117
  """
1084
1118
  return pulumi.get(self, "name")
1085
1119
 
1086
1120
  @name.setter
1087
- def name(self, value: Optional[pulumi.Input[builtins.str]]):
1121
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
1088
1122
  pulumi.set(self, "name", value)
1089
1123
 
1090
- @property
1124
+ @_builtins.property
1091
1125
  @pulumi.getter(name="newCluster")
1092
1126
  def new_cluster(self) -> Optional[pulumi.Input['JobNewClusterArgs']]:
1093
1127
  return pulumi.get(self, "new_cluster")
@@ -1096,7 +1130,7 @@ class _JobState:
1096
1130
  def new_cluster(self, value: Optional[pulumi.Input['JobNewClusterArgs']]):
1097
1131
  pulumi.set(self, "new_cluster", value)
1098
1132
 
1099
- @property
1133
+ @_builtins.property
1100
1134
  @pulumi.getter(name="notebookTask")
1101
1135
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1102
1136
  def notebook_task(self) -> Optional[pulumi.Input['JobNotebookTaskArgs']]:
@@ -1106,7 +1140,7 @@ class _JobState:
1106
1140
  def notebook_task(self, value: Optional[pulumi.Input['JobNotebookTaskArgs']]):
1107
1141
  pulumi.set(self, "notebook_task", value)
1108
1142
 
1109
- @property
1143
+ @_builtins.property
1110
1144
  @pulumi.getter(name="notificationSettings")
1111
1145
  def notification_settings(self) -> Optional[pulumi.Input['JobNotificationSettingsArgs']]:
1112
1146
  """
@@ -1118,11 +1152,11 @@ class _JobState:
1118
1152
  def notification_settings(self, value: Optional[pulumi.Input['JobNotificationSettingsArgs']]):
1119
1153
  pulumi.set(self, "notification_settings", value)
1120
1154
 
1121
- @property
1155
+ @_builtins.property
1122
1156
  @pulumi.getter
1123
1157
  def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]]]:
1124
1158
  """
1125
- Specifices job parameter for the job. See parameter Configuration Block
1159
+ Specifies job parameter for the job. See parameter Configuration Block
1126
1160
  """
1127
1161
  return pulumi.get(self, "parameters")
1128
1162
 
@@ -1130,9 +1164,9 @@ class _JobState:
1130
1164
  def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]]]):
1131
1165
  pulumi.set(self, "parameters", value)
1132
1166
 
1133
- @property
1167
+ @_builtins.property
1134
1168
  @pulumi.getter(name="performanceTarget")
1135
- def performance_target(self) -> Optional[pulumi.Input[builtins.str]]:
1169
+ def performance_target(self) -> Optional[pulumi.Input[_builtins.str]]:
1136
1170
  """
1137
1171
  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:
1138
1172
  * `PERFORMANCE_OPTIMIZED`: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
@@ -1141,10 +1175,10 @@ class _JobState:
1141
1175
  return pulumi.get(self, "performance_target")
1142
1176
 
1143
1177
  @performance_target.setter
1144
- def performance_target(self, value: Optional[pulumi.Input[builtins.str]]):
1178
+ def performance_target(self, value: Optional[pulumi.Input[_builtins.str]]):
1145
1179
  pulumi.set(self, "performance_target", value)
1146
1180
 
1147
- @property
1181
+ @_builtins.property
1148
1182
  @pulumi.getter(name="pipelineTask")
1149
1183
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1150
1184
  def pipeline_task(self) -> Optional[pulumi.Input['JobPipelineTaskArgs']]:
@@ -1154,7 +1188,19 @@ class _JobState:
1154
1188
  def pipeline_task(self, value: Optional[pulumi.Input['JobPipelineTaskArgs']]):
1155
1189
  pulumi.set(self, "pipeline_task", value)
1156
1190
 
1157
- @property
1191
+ @_builtins.property
1192
+ @pulumi.getter(name="providerConfig")
1193
+ def provider_config(self) -> Optional[pulumi.Input['JobProviderConfigArgs']]:
1194
+ """
1195
+ Configure the provider for management through account provider. This block consists of the following fields:
1196
+ """
1197
+ return pulumi.get(self, "provider_config")
1198
+
1199
+ @provider_config.setter
1200
+ def provider_config(self, value: Optional[pulumi.Input['JobProviderConfigArgs']]):
1201
+ pulumi.set(self, "provider_config", value)
1202
+
1203
+ @_builtins.property
1158
1204
  @pulumi.getter(name="pythonWheelTask")
1159
1205
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1160
1206
  def python_wheel_task(self) -> Optional[pulumi.Input['JobPythonWheelTaskArgs']]:
@@ -1164,7 +1210,7 @@ class _JobState:
1164
1210
  def python_wheel_task(self, value: Optional[pulumi.Input['JobPythonWheelTaskArgs']]):
1165
1211
  pulumi.set(self, "python_wheel_task", value)
1166
1212
 
1167
- @property
1213
+ @_builtins.property
1168
1214
  @pulumi.getter
1169
1215
  def queue(self) -> Optional[pulumi.Input['JobQueueArgs']]:
1170
1216
  """
@@ -1176,21 +1222,21 @@ class _JobState:
1176
1222
  def queue(self, value: Optional[pulumi.Input['JobQueueArgs']]):
1177
1223
  pulumi.set(self, "queue", value)
1178
1224
 
1179
- @property
1225
+ @_builtins.property
1180
1226
  @pulumi.getter(name="retryOnTimeout")
1181
1227
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1182
- def retry_on_timeout(self) -> Optional[pulumi.Input[builtins.bool]]:
1228
+ def retry_on_timeout(self) -> Optional[pulumi.Input[_builtins.bool]]:
1183
1229
  return pulumi.get(self, "retry_on_timeout")
1184
1230
 
1185
1231
  @retry_on_timeout.setter
1186
- def retry_on_timeout(self, value: Optional[pulumi.Input[builtins.bool]]):
1232
+ def retry_on_timeout(self, value: Optional[pulumi.Input[_builtins.bool]]):
1187
1233
  pulumi.set(self, "retry_on_timeout", value)
1188
1234
 
1189
- @property
1235
+ @_builtins.property
1190
1236
  @pulumi.getter(name="runAs")
1191
1237
  def run_as(self) -> Optional[pulumi.Input['JobRunAsArgs']]:
1192
1238
  """
1193
- The user or the service prinicipal the job runs as. See run_as Configuration Block below.
1239
+ The user or the service principal the job runs as. See run_as Configuration Block below.
1194
1240
  """
1195
1241
  return pulumi.get(self, "run_as")
1196
1242
 
@@ -1198,7 +1244,7 @@ class _JobState:
1198
1244
  def run_as(self, value: Optional[pulumi.Input['JobRunAsArgs']]):
1199
1245
  pulumi.set(self, "run_as", value)
1200
1246
 
1201
- @property
1247
+ @_builtins.property
1202
1248
  @pulumi.getter(name="runJobTask")
1203
1249
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1204
1250
  def run_job_task(self) -> Optional[pulumi.Input['JobRunJobTaskArgs']]:
@@ -1208,7 +1254,7 @@ class _JobState:
1208
1254
  def run_job_task(self, value: Optional[pulumi.Input['JobRunJobTaskArgs']]):
1209
1255
  pulumi.set(self, "run_job_task", value)
1210
1256
 
1211
- @property
1257
+ @_builtins.property
1212
1258
  @pulumi.getter
1213
1259
  def schedule(self) -> Optional[pulumi.Input['JobScheduleArgs']]:
1214
1260
  """
@@ -1220,7 +1266,7 @@ class _JobState:
1220
1266
  def schedule(self, value: Optional[pulumi.Input['JobScheduleArgs']]):
1221
1267
  pulumi.set(self, "schedule", value)
1222
1268
 
1223
- @property
1269
+ @_builtins.property
1224
1270
  @pulumi.getter(name="sparkJarTask")
1225
1271
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1226
1272
  def spark_jar_task(self) -> Optional[pulumi.Input['JobSparkJarTaskArgs']]:
@@ -1230,7 +1276,7 @@ class _JobState:
1230
1276
  def spark_jar_task(self, value: Optional[pulumi.Input['JobSparkJarTaskArgs']]):
1231
1277
  pulumi.set(self, "spark_jar_task", value)
1232
1278
 
1233
- @property
1279
+ @_builtins.property
1234
1280
  @pulumi.getter(name="sparkPythonTask")
1235
1281
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1236
1282
  def spark_python_task(self) -> Optional[pulumi.Input['JobSparkPythonTaskArgs']]:
@@ -1240,7 +1286,7 @@ class _JobState:
1240
1286
  def spark_python_task(self, value: Optional[pulumi.Input['JobSparkPythonTaskArgs']]):
1241
1287
  pulumi.set(self, "spark_python_task", value)
1242
1288
 
1243
- @property
1289
+ @_builtins.property
1244
1290
  @pulumi.getter(name="sparkSubmitTask")
1245
1291
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1246
1292
  def spark_submit_task(self) -> Optional[pulumi.Input['JobSparkSubmitTaskArgs']]:
@@ -1250,19 +1296,19 @@ class _JobState:
1250
1296
  def spark_submit_task(self, value: Optional[pulumi.Input['JobSparkSubmitTaskArgs']]):
1251
1297
  pulumi.set(self, "spark_submit_task", value)
1252
1298
 
1253
- @property
1299
+ @_builtins.property
1254
1300
  @pulumi.getter
1255
- def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
1301
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
1256
1302
  """
1257
1303
  An optional map of the tags associated with the job. See tags Configuration Map
1258
1304
  """
1259
1305
  return pulumi.get(self, "tags")
1260
1306
 
1261
1307
  @tags.setter
1262
- def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
1308
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
1263
1309
  pulumi.set(self, "tags", value)
1264
1310
 
1265
- @property
1311
+ @_builtins.property
1266
1312
  @pulumi.getter
1267
1313
  def tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskArgs']]]]:
1268
1314
  """
@@ -1274,19 +1320,19 @@ class _JobState:
1274
1320
  def tasks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobTaskArgs']]]]):
1275
1321
  pulumi.set(self, "tasks", value)
1276
1322
 
1277
- @property
1323
+ @_builtins.property
1278
1324
  @pulumi.getter(name="timeoutSeconds")
1279
- def timeout_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
1325
+ def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
1280
1326
  """
1281
1327
  (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
1282
1328
  """
1283
1329
  return pulumi.get(self, "timeout_seconds")
1284
1330
 
1285
1331
  @timeout_seconds.setter
1286
- def timeout_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
1332
+ def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
1287
1333
  pulumi.set(self, "timeout_seconds", value)
1288
1334
 
1289
- @property
1335
+ @_builtins.property
1290
1336
  @pulumi.getter
1291
1337
  def trigger(self) -> Optional[pulumi.Input['JobTriggerArgs']]:
1292
1338
  """
@@ -1298,19 +1344,28 @@ class _JobState:
1298
1344
  def trigger(self, value: Optional[pulumi.Input['JobTriggerArgs']]):
1299
1345
  pulumi.set(self, "trigger", value)
1300
1346
 
1301
- @property
1347
+ @_builtins.property
1302
1348
  @pulumi.getter
1303
- def url(self) -> Optional[pulumi.Input[builtins.str]]:
1349
+ def url(self) -> Optional[pulumi.Input[_builtins.str]]:
1304
1350
  """
1305
1351
  URL of the job on the given workspace
1306
1352
  """
1307
1353
  return pulumi.get(self, "url")
1308
1354
 
1309
1355
  @url.setter
1310
- def url(self, value: Optional[pulumi.Input[builtins.str]]):
1356
+ def url(self, value: Optional[pulumi.Input[_builtins.str]]):
1311
1357
  pulumi.set(self, "url", value)
1312
1358
 
1313
- @property
1359
+ @_builtins.property
1360
+ @pulumi.getter(name="usagePolicyId")
1361
+ def usage_policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
1362
+ return pulumi.get(self, "usage_policy_id")
1363
+
1364
+ @usage_policy_id.setter
1365
+ def usage_policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
1366
+ pulumi.set(self, "usage_policy_id", value)
1367
+
1368
+ @_builtins.property
1314
1369
  @pulumi.getter(name="webhookNotifications")
1315
1370
  def webhook_notifications(self) -> Optional[pulumi.Input['JobWebhookNotificationsArgs']]:
1316
1371
  """
@@ -1329,45 +1384,47 @@ class Job(pulumi.CustomResource):
1329
1384
  def __init__(__self__,
1330
1385
  resource_name: str,
1331
1386
  opts: Optional[pulumi.ResourceOptions] = None,
1332
- always_running: Optional[pulumi.Input[builtins.bool]] = None,
1333
- budget_policy_id: Optional[pulumi.Input[builtins.str]] = None,
1387
+ always_running: Optional[pulumi.Input[_builtins.bool]] = None,
1388
+ budget_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
1334
1389
  continuous: Optional[pulumi.Input[Union['JobContinuousArgs', 'JobContinuousArgsDict']]] = None,
1335
- control_run_state: Optional[pulumi.Input[builtins.bool]] = None,
1390
+ control_run_state: Optional[pulumi.Input[_builtins.bool]] = None,
1336
1391
  dbt_task: Optional[pulumi.Input[Union['JobDbtTaskArgs', 'JobDbtTaskArgsDict']]] = None,
1337
1392
  deployment: Optional[pulumi.Input[Union['JobDeploymentArgs', 'JobDeploymentArgsDict']]] = None,
1338
- description: Optional[pulumi.Input[builtins.str]] = None,
1339
- edit_mode: Optional[pulumi.Input[builtins.str]] = None,
1393
+ description: Optional[pulumi.Input[_builtins.str]] = None,
1394
+ edit_mode: Optional[pulumi.Input[_builtins.str]] = None,
1340
1395
  email_notifications: Optional[pulumi.Input[Union['JobEmailNotificationsArgs', 'JobEmailNotificationsArgsDict']]] = None,
1341
1396
  environments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobEnvironmentArgs', 'JobEnvironmentArgsDict']]]]] = None,
1342
- existing_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
1343
- format: Optional[pulumi.Input[builtins.str]] = None,
1397
+ existing_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
1398
+ format: Optional[pulumi.Input[_builtins.str]] = None,
1344
1399
  git_source: Optional[pulumi.Input[Union['JobGitSourceArgs', 'JobGitSourceArgsDict']]] = None,
1345
1400
  health: Optional[pulumi.Input[Union['JobHealthArgs', 'JobHealthArgsDict']]] = None,
1346
1401
  job_clusters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobJobClusterArgs', 'JobJobClusterArgsDict']]]]] = None,
1347
1402
  libraries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobLibraryArgs', 'JobLibraryArgsDict']]]]] = None,
1348
- max_concurrent_runs: Optional[pulumi.Input[builtins.int]] = None,
1349
- max_retries: Optional[pulumi.Input[builtins.int]] = None,
1350
- min_retry_interval_millis: Optional[pulumi.Input[builtins.int]] = None,
1351
- name: Optional[pulumi.Input[builtins.str]] = None,
1403
+ max_concurrent_runs: Optional[pulumi.Input[_builtins.int]] = None,
1404
+ max_retries: Optional[pulumi.Input[_builtins.int]] = None,
1405
+ min_retry_interval_millis: Optional[pulumi.Input[_builtins.int]] = None,
1406
+ name: Optional[pulumi.Input[_builtins.str]] = None,
1352
1407
  new_cluster: Optional[pulumi.Input[Union['JobNewClusterArgs', 'JobNewClusterArgsDict']]] = None,
1353
1408
  notebook_task: Optional[pulumi.Input[Union['JobNotebookTaskArgs', 'JobNotebookTaskArgsDict']]] = None,
1354
1409
  notification_settings: Optional[pulumi.Input[Union['JobNotificationSettingsArgs', 'JobNotificationSettingsArgsDict']]] = None,
1355
1410
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobParameterArgs', 'JobParameterArgsDict']]]]] = None,
1356
- performance_target: Optional[pulumi.Input[builtins.str]] = None,
1411
+ performance_target: Optional[pulumi.Input[_builtins.str]] = None,
1357
1412
  pipeline_task: Optional[pulumi.Input[Union['JobPipelineTaskArgs', 'JobPipelineTaskArgsDict']]] = None,
1413
+ provider_config: Optional[pulumi.Input[Union['JobProviderConfigArgs', 'JobProviderConfigArgsDict']]] = None,
1358
1414
  python_wheel_task: Optional[pulumi.Input[Union['JobPythonWheelTaskArgs', 'JobPythonWheelTaskArgsDict']]] = None,
1359
1415
  queue: Optional[pulumi.Input[Union['JobQueueArgs', 'JobQueueArgsDict']]] = None,
1360
- retry_on_timeout: Optional[pulumi.Input[builtins.bool]] = None,
1416
+ retry_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
1361
1417
  run_as: Optional[pulumi.Input[Union['JobRunAsArgs', 'JobRunAsArgsDict']]] = None,
1362
1418
  run_job_task: Optional[pulumi.Input[Union['JobRunJobTaskArgs', 'JobRunJobTaskArgsDict']]] = None,
1363
1419
  schedule: Optional[pulumi.Input[Union['JobScheduleArgs', 'JobScheduleArgsDict']]] = None,
1364
1420
  spark_jar_task: Optional[pulumi.Input[Union['JobSparkJarTaskArgs', 'JobSparkJarTaskArgsDict']]] = None,
1365
1421
  spark_python_task: Optional[pulumi.Input[Union['JobSparkPythonTaskArgs', 'JobSparkPythonTaskArgsDict']]] = None,
1366
1422
  spark_submit_task: Optional[pulumi.Input[Union['JobSparkSubmitTaskArgs', 'JobSparkSubmitTaskArgsDict']]] = None,
1367
- tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1423
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
1368
1424
  tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobTaskArgs', 'JobTaskArgsDict']]]]] = None,
1369
- timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
1425
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None,
1370
1426
  trigger: Optional[pulumi.Input[Union['JobTriggerArgs', 'JobTriggerArgsDict']]] = None,
1427
+ usage_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
1371
1428
  webhook_notifications: Optional[pulumi.Input[Union['JobWebhookNotificationsArgs', 'JobWebhookNotificationsArgsDict']]] = None,
1372
1429
  __props__=None):
1373
1430
  """
@@ -1465,33 +1522,34 @@ class Job(pulumi.CustomResource):
1465
1522
 
1466
1523
  :param str resource_name: The name of the resource.
1467
1524
  :param pulumi.ResourceOptions opts: Options for the resource.
1468
- :param pulumi.Input[builtins.bool] always_running: (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 `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks.
1469
- :param pulumi.Input[builtins.str] budget_policy_id: 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.
1525
+ :param pulumi.Input[_builtins.bool] always_running: (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 `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks.
1526
+ :param pulumi.Input[_builtins.str] budget_policy_id: 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.
1470
1527
  :param pulumi.Input[Union['JobContinuousArgs', 'JobContinuousArgsDict']] continuous: Configuration block to configure pause status. See continuous Configuration Block.
1471
- :param pulumi.Input[builtins.bool] control_run_state: (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 `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs.
1528
+ :param pulumi.Input[_builtins.bool] control_run_state: (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 `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs.
1472
1529
 
1473
1530
  When migrating from `always_running` to `control_run_state`, set `continuous` as follows:
1474
- :param pulumi.Input[builtins.str] description: An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
1475
- :param pulumi.Input[builtins.str] edit_mode: If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
1531
+ :param pulumi.Input[_builtins.str] description: An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
1532
+ :param pulumi.Input[_builtins.str] edit_mode: If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
1476
1533
  :param pulumi.Input[Union['JobEmailNotificationsArgs', 'JobEmailNotificationsArgsDict']] email_notifications: (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.
1477
- :param pulumi.Input[Union['JobGitSourceArgs', 'JobGitSourceArgsDict']] git_source: Specifices the a Git repository for task source code. See git_source Configuration Block below.
1534
+ :param pulumi.Input[Union['JobGitSourceArgs', 'JobGitSourceArgsDict']] git_source: Specifies the a Git repository for task source code. See git_source Configuration Block below.
1478
1535
  :param pulumi.Input[Union['JobHealthArgs', 'JobHealthArgsDict']] health: An optional block that specifies the health conditions for the job documented below.
1479
1536
  :param pulumi.Input[Sequence[pulumi.Input[Union['JobJobClusterArgs', 'JobJobClusterArgsDict']]]] job_clusters: A list of job 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*
1480
1537
  :param pulumi.Input[Sequence[pulumi.Input[Union['JobLibraryArgs', 'JobLibraryArgsDict']]]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
1481
- :param pulumi.Input[builtins.int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*.
1482
- :param pulumi.Input[builtins.int] min_retry_interval_millis: (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.
1483
- :param pulumi.Input[builtins.str] name: An optional name for the job. The default value is Untitled.
1538
+ :param pulumi.Input[_builtins.int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*.
1539
+ :param pulumi.Input[_builtins.int] min_retry_interval_millis: (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.
1540
+ :param pulumi.Input[_builtins.str] name: An optional name for the job. The default value is Untitled.
1484
1541
  :param pulumi.Input[Union['JobNotificationSettingsArgs', 'JobNotificationSettingsArgsDict']] notification_settings: An optional block controlling the notification settings on the job level documented below.
1485
- :param pulumi.Input[Sequence[pulumi.Input[Union['JobParameterArgs', 'JobParameterArgsDict']]]] parameters: Specifices job parameter for the job. See parameter Configuration Block
1486
- :param pulumi.Input[builtins.str] performance_target: 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:
1542
+ :param pulumi.Input[Sequence[pulumi.Input[Union['JobParameterArgs', 'JobParameterArgsDict']]]] parameters: Specifies job parameter for the job. See parameter Configuration Block
1543
+ :param pulumi.Input[_builtins.str] performance_target: 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:
1487
1544
  * `PERFORMANCE_OPTIMIZED`: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
1488
1545
  * `STANDARD`: Enables cost-efficient execution of serverless workloads.
1546
+ :param pulumi.Input[Union['JobProviderConfigArgs', 'JobProviderConfigArgsDict']] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
1489
1547
  :param pulumi.Input[Union['JobQueueArgs', 'JobQueueArgsDict']] queue: The queue status for the job. See queue Configuration Block below.
1490
- :param pulumi.Input[Union['JobRunAsArgs', 'JobRunAsArgsDict']] run_as: The user or the service prinicipal the job runs as. See run_as Configuration Block below.
1548
+ :param pulumi.Input[Union['JobRunAsArgs', 'JobRunAsArgsDict']] run_as: The user or the service principal the job runs as. See run_as Configuration Block below.
1491
1549
  :param pulumi.Input[Union['JobScheduleArgs', 'JobScheduleArgsDict']] schedule: 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.
1492
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: An optional map of the tags associated with the job. See tags Configuration Map
1550
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: An optional map of the tags associated with the job. See tags Configuration Map
1493
1551
  :param pulumi.Input[Sequence[pulumi.Input[Union['JobTaskArgs', 'JobTaskArgsDict']]]] tasks: A list of task specification that the job will execute. See task Configuration Block below.
1494
- :param pulumi.Input[builtins.int] timeout_seconds: (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
1552
+ :param pulumi.Input[_builtins.int] timeout_seconds: (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
1495
1553
  :param pulumi.Input[Union['JobTriggerArgs', 'JobTriggerArgsDict']] trigger: The conditions that triggers the job to start. See trigger Configuration Block below.
1496
1554
  :param pulumi.Input[Union['JobWebhookNotificationsArgs', 'JobWebhookNotificationsArgsDict']] webhook_notifications: (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.
1497
1555
  """
@@ -1609,45 +1667,47 @@ class Job(pulumi.CustomResource):
1609
1667
  def _internal_init(__self__,
1610
1668
  resource_name: str,
1611
1669
  opts: Optional[pulumi.ResourceOptions] = None,
1612
- always_running: Optional[pulumi.Input[builtins.bool]] = None,
1613
- budget_policy_id: Optional[pulumi.Input[builtins.str]] = None,
1670
+ always_running: Optional[pulumi.Input[_builtins.bool]] = None,
1671
+ budget_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
1614
1672
  continuous: Optional[pulumi.Input[Union['JobContinuousArgs', 'JobContinuousArgsDict']]] = None,
1615
- control_run_state: Optional[pulumi.Input[builtins.bool]] = None,
1673
+ control_run_state: Optional[pulumi.Input[_builtins.bool]] = None,
1616
1674
  dbt_task: Optional[pulumi.Input[Union['JobDbtTaskArgs', 'JobDbtTaskArgsDict']]] = None,
1617
1675
  deployment: Optional[pulumi.Input[Union['JobDeploymentArgs', 'JobDeploymentArgsDict']]] = None,
1618
- description: Optional[pulumi.Input[builtins.str]] = None,
1619
- edit_mode: Optional[pulumi.Input[builtins.str]] = None,
1676
+ description: Optional[pulumi.Input[_builtins.str]] = None,
1677
+ edit_mode: Optional[pulumi.Input[_builtins.str]] = None,
1620
1678
  email_notifications: Optional[pulumi.Input[Union['JobEmailNotificationsArgs', 'JobEmailNotificationsArgsDict']]] = None,
1621
1679
  environments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobEnvironmentArgs', 'JobEnvironmentArgsDict']]]]] = None,
1622
- existing_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
1623
- format: Optional[pulumi.Input[builtins.str]] = None,
1680
+ existing_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
1681
+ format: Optional[pulumi.Input[_builtins.str]] = None,
1624
1682
  git_source: Optional[pulumi.Input[Union['JobGitSourceArgs', 'JobGitSourceArgsDict']]] = None,
1625
1683
  health: Optional[pulumi.Input[Union['JobHealthArgs', 'JobHealthArgsDict']]] = None,
1626
1684
  job_clusters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobJobClusterArgs', 'JobJobClusterArgsDict']]]]] = None,
1627
1685
  libraries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobLibraryArgs', 'JobLibraryArgsDict']]]]] = None,
1628
- max_concurrent_runs: Optional[pulumi.Input[builtins.int]] = None,
1629
- max_retries: Optional[pulumi.Input[builtins.int]] = None,
1630
- min_retry_interval_millis: Optional[pulumi.Input[builtins.int]] = None,
1631
- name: Optional[pulumi.Input[builtins.str]] = None,
1686
+ max_concurrent_runs: Optional[pulumi.Input[_builtins.int]] = None,
1687
+ max_retries: Optional[pulumi.Input[_builtins.int]] = None,
1688
+ min_retry_interval_millis: Optional[pulumi.Input[_builtins.int]] = None,
1689
+ name: Optional[pulumi.Input[_builtins.str]] = None,
1632
1690
  new_cluster: Optional[pulumi.Input[Union['JobNewClusterArgs', 'JobNewClusterArgsDict']]] = None,
1633
1691
  notebook_task: Optional[pulumi.Input[Union['JobNotebookTaskArgs', 'JobNotebookTaskArgsDict']]] = None,
1634
1692
  notification_settings: Optional[pulumi.Input[Union['JobNotificationSettingsArgs', 'JobNotificationSettingsArgsDict']]] = None,
1635
1693
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobParameterArgs', 'JobParameterArgsDict']]]]] = None,
1636
- performance_target: Optional[pulumi.Input[builtins.str]] = None,
1694
+ performance_target: Optional[pulumi.Input[_builtins.str]] = None,
1637
1695
  pipeline_task: Optional[pulumi.Input[Union['JobPipelineTaskArgs', 'JobPipelineTaskArgsDict']]] = None,
1696
+ provider_config: Optional[pulumi.Input[Union['JobProviderConfigArgs', 'JobProviderConfigArgsDict']]] = None,
1638
1697
  python_wheel_task: Optional[pulumi.Input[Union['JobPythonWheelTaskArgs', 'JobPythonWheelTaskArgsDict']]] = None,
1639
1698
  queue: Optional[pulumi.Input[Union['JobQueueArgs', 'JobQueueArgsDict']]] = None,
1640
- retry_on_timeout: Optional[pulumi.Input[builtins.bool]] = None,
1699
+ retry_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
1641
1700
  run_as: Optional[pulumi.Input[Union['JobRunAsArgs', 'JobRunAsArgsDict']]] = None,
1642
1701
  run_job_task: Optional[pulumi.Input[Union['JobRunJobTaskArgs', 'JobRunJobTaskArgsDict']]] = None,
1643
1702
  schedule: Optional[pulumi.Input[Union['JobScheduleArgs', 'JobScheduleArgsDict']]] = None,
1644
1703
  spark_jar_task: Optional[pulumi.Input[Union['JobSparkJarTaskArgs', 'JobSparkJarTaskArgsDict']]] = None,
1645
1704
  spark_python_task: Optional[pulumi.Input[Union['JobSparkPythonTaskArgs', 'JobSparkPythonTaskArgsDict']]] = None,
1646
1705
  spark_submit_task: Optional[pulumi.Input[Union['JobSparkSubmitTaskArgs', 'JobSparkSubmitTaskArgsDict']]] = None,
1647
- tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1706
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
1648
1707
  tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobTaskArgs', 'JobTaskArgsDict']]]]] = None,
1649
- timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
1708
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None,
1650
1709
  trigger: Optional[pulumi.Input[Union['JobTriggerArgs', 'JobTriggerArgsDict']]] = None,
1710
+ usage_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
1651
1711
  webhook_notifications: Optional[pulumi.Input[Union['JobWebhookNotificationsArgs', 'JobWebhookNotificationsArgsDict']]] = None,
1652
1712
  __props__=None):
1653
1713
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -1684,6 +1744,7 @@ class Job(pulumi.CustomResource):
1684
1744
  __props__.__dict__["parameters"] = parameters
1685
1745
  __props__.__dict__["performance_target"] = performance_target
1686
1746
  __props__.__dict__["pipeline_task"] = pipeline_task
1747
+ __props__.__dict__["provider_config"] = provider_config
1687
1748
  __props__.__dict__["python_wheel_task"] = python_wheel_task
1688
1749
  __props__.__dict__["queue"] = queue
1689
1750
  __props__.__dict__["retry_on_timeout"] = retry_on_timeout
@@ -1697,6 +1758,7 @@ class Job(pulumi.CustomResource):
1697
1758
  __props__.__dict__["tasks"] = tasks
1698
1759
  __props__.__dict__["timeout_seconds"] = timeout_seconds
1699
1760
  __props__.__dict__["trigger"] = trigger
1761
+ __props__.__dict__["usage_policy_id"] = usage_policy_id
1700
1762
  __props__.__dict__["webhook_notifications"] = webhook_notifications
1701
1763
  __props__.__dict__["url"] = None
1702
1764
  super(Job, __self__).__init__(
@@ -1709,46 +1771,48 @@ class Job(pulumi.CustomResource):
1709
1771
  def get(resource_name: str,
1710
1772
  id: pulumi.Input[str],
1711
1773
  opts: Optional[pulumi.ResourceOptions] = None,
1712
- always_running: Optional[pulumi.Input[builtins.bool]] = None,
1713
- budget_policy_id: Optional[pulumi.Input[builtins.str]] = None,
1774
+ always_running: Optional[pulumi.Input[_builtins.bool]] = None,
1775
+ budget_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
1714
1776
  continuous: Optional[pulumi.Input[Union['JobContinuousArgs', 'JobContinuousArgsDict']]] = None,
1715
- control_run_state: Optional[pulumi.Input[builtins.bool]] = None,
1777
+ control_run_state: Optional[pulumi.Input[_builtins.bool]] = None,
1716
1778
  dbt_task: Optional[pulumi.Input[Union['JobDbtTaskArgs', 'JobDbtTaskArgsDict']]] = None,
1717
1779
  deployment: Optional[pulumi.Input[Union['JobDeploymentArgs', 'JobDeploymentArgsDict']]] = None,
1718
- description: Optional[pulumi.Input[builtins.str]] = None,
1719
- edit_mode: Optional[pulumi.Input[builtins.str]] = None,
1780
+ description: Optional[pulumi.Input[_builtins.str]] = None,
1781
+ edit_mode: Optional[pulumi.Input[_builtins.str]] = None,
1720
1782
  email_notifications: Optional[pulumi.Input[Union['JobEmailNotificationsArgs', 'JobEmailNotificationsArgsDict']]] = None,
1721
1783
  environments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobEnvironmentArgs', 'JobEnvironmentArgsDict']]]]] = None,
1722
- existing_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
1723
- format: Optional[pulumi.Input[builtins.str]] = None,
1784
+ existing_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
1785
+ format: Optional[pulumi.Input[_builtins.str]] = None,
1724
1786
  git_source: Optional[pulumi.Input[Union['JobGitSourceArgs', 'JobGitSourceArgsDict']]] = None,
1725
1787
  health: Optional[pulumi.Input[Union['JobHealthArgs', 'JobHealthArgsDict']]] = None,
1726
1788
  job_clusters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobJobClusterArgs', 'JobJobClusterArgsDict']]]]] = None,
1727
1789
  libraries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobLibraryArgs', 'JobLibraryArgsDict']]]]] = None,
1728
- max_concurrent_runs: Optional[pulumi.Input[builtins.int]] = None,
1729
- max_retries: Optional[pulumi.Input[builtins.int]] = None,
1730
- min_retry_interval_millis: Optional[pulumi.Input[builtins.int]] = None,
1731
- name: Optional[pulumi.Input[builtins.str]] = None,
1790
+ max_concurrent_runs: Optional[pulumi.Input[_builtins.int]] = None,
1791
+ max_retries: Optional[pulumi.Input[_builtins.int]] = None,
1792
+ min_retry_interval_millis: Optional[pulumi.Input[_builtins.int]] = None,
1793
+ name: Optional[pulumi.Input[_builtins.str]] = None,
1732
1794
  new_cluster: Optional[pulumi.Input[Union['JobNewClusterArgs', 'JobNewClusterArgsDict']]] = None,
1733
1795
  notebook_task: Optional[pulumi.Input[Union['JobNotebookTaskArgs', 'JobNotebookTaskArgsDict']]] = None,
1734
1796
  notification_settings: Optional[pulumi.Input[Union['JobNotificationSettingsArgs', 'JobNotificationSettingsArgsDict']]] = None,
1735
1797
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobParameterArgs', 'JobParameterArgsDict']]]]] = None,
1736
- performance_target: Optional[pulumi.Input[builtins.str]] = None,
1798
+ performance_target: Optional[pulumi.Input[_builtins.str]] = None,
1737
1799
  pipeline_task: Optional[pulumi.Input[Union['JobPipelineTaskArgs', 'JobPipelineTaskArgsDict']]] = None,
1800
+ provider_config: Optional[pulumi.Input[Union['JobProviderConfigArgs', 'JobProviderConfigArgsDict']]] = None,
1738
1801
  python_wheel_task: Optional[pulumi.Input[Union['JobPythonWheelTaskArgs', 'JobPythonWheelTaskArgsDict']]] = None,
1739
1802
  queue: Optional[pulumi.Input[Union['JobQueueArgs', 'JobQueueArgsDict']]] = None,
1740
- retry_on_timeout: Optional[pulumi.Input[builtins.bool]] = None,
1803
+ retry_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
1741
1804
  run_as: Optional[pulumi.Input[Union['JobRunAsArgs', 'JobRunAsArgsDict']]] = None,
1742
1805
  run_job_task: Optional[pulumi.Input[Union['JobRunJobTaskArgs', 'JobRunJobTaskArgsDict']]] = None,
1743
1806
  schedule: Optional[pulumi.Input[Union['JobScheduleArgs', 'JobScheduleArgsDict']]] = None,
1744
1807
  spark_jar_task: Optional[pulumi.Input[Union['JobSparkJarTaskArgs', 'JobSparkJarTaskArgsDict']]] = None,
1745
1808
  spark_python_task: Optional[pulumi.Input[Union['JobSparkPythonTaskArgs', 'JobSparkPythonTaskArgsDict']]] = None,
1746
1809
  spark_submit_task: Optional[pulumi.Input[Union['JobSparkSubmitTaskArgs', 'JobSparkSubmitTaskArgsDict']]] = None,
1747
- tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1810
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
1748
1811
  tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobTaskArgs', 'JobTaskArgsDict']]]]] = None,
1749
- timeout_seconds: Optional[pulumi.Input[builtins.int]] = None,
1812
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None,
1750
1813
  trigger: Optional[pulumi.Input[Union['JobTriggerArgs', 'JobTriggerArgsDict']]] = None,
1751
- url: Optional[pulumi.Input[builtins.str]] = None,
1814
+ url: Optional[pulumi.Input[_builtins.str]] = None,
1815
+ usage_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
1752
1816
  webhook_notifications: Optional[pulumi.Input[Union['JobWebhookNotificationsArgs', 'JobWebhookNotificationsArgsDict']]] = None) -> 'Job':
1753
1817
  """
1754
1818
  Get an existing Job resource's state with the given name, id, and optional extra
@@ -1757,35 +1821,36 @@ class Job(pulumi.CustomResource):
1757
1821
  :param str resource_name: The unique name of the resulting resource.
1758
1822
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1759
1823
  :param pulumi.ResourceOptions opts: Options for the resource.
1760
- :param pulumi.Input[builtins.bool] always_running: (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 `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks.
1761
- :param pulumi.Input[builtins.str] budget_policy_id: 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.
1824
+ :param pulumi.Input[_builtins.bool] always_running: (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 `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks.
1825
+ :param pulumi.Input[_builtins.str] budget_policy_id: 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.
1762
1826
  :param pulumi.Input[Union['JobContinuousArgs', 'JobContinuousArgsDict']] continuous: Configuration block to configure pause status. See continuous Configuration Block.
1763
- :param pulumi.Input[builtins.bool] control_run_state: (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 `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs.
1827
+ :param pulumi.Input[_builtins.bool] control_run_state: (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 `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs.
1764
1828
 
1765
1829
  When migrating from `always_running` to `control_run_state`, set `continuous` as follows:
1766
- :param pulumi.Input[builtins.str] description: An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
1767
- :param pulumi.Input[builtins.str] edit_mode: If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
1830
+ :param pulumi.Input[_builtins.str] description: An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
1831
+ :param pulumi.Input[_builtins.str] edit_mode: If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
1768
1832
  :param pulumi.Input[Union['JobEmailNotificationsArgs', 'JobEmailNotificationsArgsDict']] email_notifications: (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.
1769
- :param pulumi.Input[Union['JobGitSourceArgs', 'JobGitSourceArgsDict']] git_source: Specifices the a Git repository for task source code. See git_source Configuration Block below.
1833
+ :param pulumi.Input[Union['JobGitSourceArgs', 'JobGitSourceArgsDict']] git_source: Specifies the a Git repository for task source code. See git_source Configuration Block below.
1770
1834
  :param pulumi.Input[Union['JobHealthArgs', 'JobHealthArgsDict']] health: An optional block that specifies the health conditions for the job documented below.
1771
1835
  :param pulumi.Input[Sequence[pulumi.Input[Union['JobJobClusterArgs', 'JobJobClusterArgsDict']]]] job_clusters: A list of job 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*
1772
1836
  :param pulumi.Input[Sequence[pulumi.Input[Union['JobLibraryArgs', 'JobLibraryArgsDict']]]] libraries: (List) An optional list of libraries to be installed on the cluster that will execute the job. See library Configuration Block below.
1773
- :param pulumi.Input[builtins.int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*.
1774
- :param pulumi.Input[builtins.int] min_retry_interval_millis: (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.
1775
- :param pulumi.Input[builtins.str] name: An optional name for the job. The default value is Untitled.
1837
+ :param pulumi.Input[_builtins.int] max_concurrent_runs: (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*.
1838
+ :param pulumi.Input[_builtins.int] min_retry_interval_millis: (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.
1839
+ :param pulumi.Input[_builtins.str] name: An optional name for the job. The default value is Untitled.
1776
1840
  :param pulumi.Input[Union['JobNotificationSettingsArgs', 'JobNotificationSettingsArgsDict']] notification_settings: An optional block controlling the notification settings on the job level documented below.
1777
- :param pulumi.Input[Sequence[pulumi.Input[Union['JobParameterArgs', 'JobParameterArgsDict']]]] parameters: Specifices job parameter for the job. See parameter Configuration Block
1778
- :param pulumi.Input[builtins.str] performance_target: 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:
1841
+ :param pulumi.Input[Sequence[pulumi.Input[Union['JobParameterArgs', 'JobParameterArgsDict']]]] parameters: Specifies job parameter for the job. See parameter Configuration Block
1842
+ :param pulumi.Input[_builtins.str] performance_target: 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:
1779
1843
  * `PERFORMANCE_OPTIMIZED`: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
1780
1844
  * `STANDARD`: Enables cost-efficient execution of serverless workloads.
1845
+ :param pulumi.Input[Union['JobProviderConfigArgs', 'JobProviderConfigArgsDict']] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
1781
1846
  :param pulumi.Input[Union['JobQueueArgs', 'JobQueueArgsDict']] queue: The queue status for the job. See queue Configuration Block below.
1782
- :param pulumi.Input[Union['JobRunAsArgs', 'JobRunAsArgsDict']] run_as: The user or the service prinicipal the job runs as. See run_as Configuration Block below.
1847
+ :param pulumi.Input[Union['JobRunAsArgs', 'JobRunAsArgsDict']] run_as: The user or the service principal the job runs as. See run_as Configuration Block below.
1783
1848
  :param pulumi.Input[Union['JobScheduleArgs', 'JobScheduleArgsDict']] schedule: 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.
1784
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: An optional map of the tags associated with the job. See tags Configuration Map
1849
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: An optional map of the tags associated with the job. See tags Configuration Map
1785
1850
  :param pulumi.Input[Sequence[pulumi.Input[Union['JobTaskArgs', 'JobTaskArgsDict']]]] tasks: A list of task specification that the job will execute. See task Configuration Block below.
1786
- :param pulumi.Input[builtins.int] timeout_seconds: (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
1851
+ :param pulumi.Input[_builtins.int] timeout_seconds: (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
1787
1852
  :param pulumi.Input[Union['JobTriggerArgs', 'JobTriggerArgsDict']] trigger: The conditions that triggers the job to start. See trigger Configuration Block below.
1788
- :param pulumi.Input[builtins.str] url: URL of the job on the given workspace
1853
+ :param pulumi.Input[_builtins.str] url: URL of the job on the given workspace
1789
1854
  :param pulumi.Input[Union['JobWebhookNotificationsArgs', 'JobWebhookNotificationsArgsDict']] webhook_notifications: (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.
1790
1855
  """
1791
1856
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -1818,6 +1883,7 @@ class Job(pulumi.CustomResource):
1818
1883
  __props__.__dict__["parameters"] = parameters
1819
1884
  __props__.__dict__["performance_target"] = performance_target
1820
1885
  __props__.__dict__["pipeline_task"] = pipeline_task
1886
+ __props__.__dict__["provider_config"] = provider_config
1821
1887
  __props__.__dict__["python_wheel_task"] = python_wheel_task
1822
1888
  __props__.__dict__["queue"] = queue
1823
1889
  __props__.__dict__["retry_on_timeout"] = retry_on_timeout
@@ -1832,27 +1898,28 @@ class Job(pulumi.CustomResource):
1832
1898
  __props__.__dict__["timeout_seconds"] = timeout_seconds
1833
1899
  __props__.__dict__["trigger"] = trigger
1834
1900
  __props__.__dict__["url"] = url
1901
+ __props__.__dict__["usage_policy_id"] = usage_policy_id
1835
1902
  __props__.__dict__["webhook_notifications"] = webhook_notifications
1836
1903
  return Job(resource_name, opts=opts, __props__=__props__)
1837
1904
 
1838
- @property
1905
+ @_builtins.property
1839
1906
  @pulumi.getter(name="alwaysRunning")
1840
1907
  @_utilities.deprecated("""always_running will be replaced by control_run_state in the next major release.""")
1841
- def always_running(self) -> pulumi.Output[Optional[builtins.bool]]:
1908
+ def always_running(self) -> pulumi.Output[Optional[_builtins.bool]]:
1842
1909
  """
1843
1910
  (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 `spark_jar_task` or `spark_submit_task` or `spark_python_task` or `notebook_task` blocks.
1844
1911
  """
1845
1912
  return pulumi.get(self, "always_running")
1846
1913
 
1847
- @property
1914
+ @_builtins.property
1848
1915
  @pulumi.getter(name="budgetPolicyId")
1849
- def budget_policy_id(self) -> pulumi.Output[Optional[builtins.str]]:
1916
+ def budget_policy_id(self) -> pulumi.Output[Optional[_builtins.str]]:
1850
1917
  """
1851
1918
  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.
1852
1919
  """
1853
1920
  return pulumi.get(self, "budget_policy_id")
1854
1921
 
1855
- @property
1922
+ @_builtins.property
1856
1923
  @pulumi.getter
1857
1924
  def continuous(self) -> pulumi.Output[Optional['outputs.JobContinuous']]:
1858
1925
  """
@@ -1860,9 +1927,9 @@ class Job(pulumi.CustomResource):
1860
1927
  """
1861
1928
  return pulumi.get(self, "continuous")
1862
1929
 
1863
- @property
1930
+ @_builtins.property
1864
1931
  @pulumi.getter(name="controlRunState")
1865
- def control_run_state(self) -> pulumi.Output[Optional[builtins.bool]]:
1932
+ def control_run_state(self) -> pulumi.Output[Optional[_builtins.bool]]:
1866
1933
  """
1867
1934
  (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 `pause_status` by stopping the current active run. This flag cannot be set for non-continuous jobs.
1868
1935
 
@@ -1870,34 +1937,34 @@ class Job(pulumi.CustomResource):
1870
1937
  """
1871
1938
  return pulumi.get(self, "control_run_state")
1872
1939
 
1873
- @property
1940
+ @_builtins.property
1874
1941
  @pulumi.getter(name="dbtTask")
1875
1942
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1876
1943
  def dbt_task(self) -> pulumi.Output[Optional['outputs.JobDbtTask']]:
1877
1944
  return pulumi.get(self, "dbt_task")
1878
1945
 
1879
- @property
1946
+ @_builtins.property
1880
1947
  @pulumi.getter
1881
1948
  def deployment(self) -> pulumi.Output[Optional['outputs.JobDeployment']]:
1882
1949
  return pulumi.get(self, "deployment")
1883
1950
 
1884
- @property
1951
+ @_builtins.property
1885
1952
  @pulumi.getter
1886
- def description(self) -> pulumi.Output[Optional[builtins.str]]:
1953
+ def description(self) -> pulumi.Output[Optional[_builtins.str]]:
1887
1954
  """
1888
1955
  An optional description for the job. The maximum length is 1024 characters in UTF-8 encoding.
1889
1956
  """
1890
1957
  return pulumi.get(self, "description")
1891
1958
 
1892
- @property
1959
+ @_builtins.property
1893
1960
  @pulumi.getter(name="editMode")
1894
- def edit_mode(self) -> pulumi.Output[Optional[builtins.str]]:
1961
+ def edit_mode(self) -> pulumi.Output[Optional[_builtins.str]]:
1895
1962
  """
1896
1963
  If `"UI_LOCKED"`, the user interface for the job will be locked. If `"EDITABLE"` (the default), the user interface will be editable.
1897
1964
  """
1898
1965
  return pulumi.get(self, "edit_mode")
1899
1966
 
1900
- @property
1967
+ @_builtins.property
1901
1968
  @pulumi.getter(name="emailNotifications")
1902
1969
  def email_notifications(self) -> pulumi.Output[Optional['outputs.JobEmailNotifications']]:
1903
1970
  """
@@ -1905,30 +1972,30 @@ class Job(pulumi.CustomResource):
1905
1972
  """
1906
1973
  return pulumi.get(self, "email_notifications")
1907
1974
 
1908
- @property
1975
+ @_builtins.property
1909
1976
  @pulumi.getter
1910
1977
  def environments(self) -> pulumi.Output[Optional[Sequence['outputs.JobEnvironment']]]:
1911
1978
  return pulumi.get(self, "environments")
1912
1979
 
1913
- @property
1980
+ @_builtins.property
1914
1981
  @pulumi.getter(name="existingClusterId")
1915
- def existing_cluster_id(self) -> pulumi.Output[Optional[builtins.str]]:
1982
+ def existing_cluster_id(self) -> pulumi.Output[Optional[_builtins.str]]:
1916
1983
  return pulumi.get(self, "existing_cluster_id")
1917
1984
 
1918
- @property
1985
+ @_builtins.property
1919
1986
  @pulumi.getter
1920
- def format(self) -> pulumi.Output[builtins.str]:
1987
+ def format(self) -> pulumi.Output[_builtins.str]:
1921
1988
  return pulumi.get(self, "format")
1922
1989
 
1923
- @property
1990
+ @_builtins.property
1924
1991
  @pulumi.getter(name="gitSource")
1925
1992
  def git_source(self) -> pulumi.Output[Optional['outputs.JobGitSource']]:
1926
1993
  """
1927
- Specifices the a Git repository for task source code. See git_source Configuration Block below.
1994
+ Specifies the a Git repository for task source code. See git_source Configuration Block below.
1928
1995
  """
1929
1996
  return pulumi.get(self, "git_source")
1930
1997
 
1931
- @property
1998
+ @_builtins.property
1932
1999
  @pulumi.getter
1933
2000
  def health(self) -> pulumi.Output[Optional['outputs.JobHealth']]:
1934
2001
  """
@@ -1936,7 +2003,7 @@ class Job(pulumi.CustomResource):
1936
2003
  """
1937
2004
  return pulumi.get(self, "health")
1938
2005
 
1939
- @property
2006
+ @_builtins.property
1940
2007
  @pulumi.getter(name="jobClusters")
1941
2008
  def job_clusters(self) -> pulumi.Output[Optional[Sequence['outputs.JobJobCluster']]]:
1942
2009
  """
@@ -1944,7 +2011,7 @@ class Job(pulumi.CustomResource):
1944
2011
  """
1945
2012
  return pulumi.get(self, "job_clusters")
1946
2013
 
1947
- @property
2014
+ @_builtins.property
1948
2015
  @pulumi.getter
1949
2016
  def libraries(self) -> pulumi.Output[Optional[Sequence['outputs.JobLibrary']]]:
1950
2017
  """
@@ -1952,49 +2019,49 @@ class Job(pulumi.CustomResource):
1952
2019
  """
1953
2020
  return pulumi.get(self, "libraries")
1954
2021
 
1955
- @property
2022
+ @_builtins.property
1956
2023
  @pulumi.getter(name="maxConcurrentRuns")
1957
- def max_concurrent_runs(self) -> pulumi.Output[Optional[builtins.int]]:
2024
+ def max_concurrent_runs(self) -> pulumi.Output[Optional[_builtins.int]]:
1958
2025
  """
1959
2026
  (Integer) An optional maximum allowed number of concurrent runs of the job. Defaults to *1*.
1960
2027
  """
1961
2028
  return pulumi.get(self, "max_concurrent_runs")
1962
2029
 
1963
- @property
2030
+ @_builtins.property
1964
2031
  @pulumi.getter(name="maxRetries")
1965
2032
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1966
- def max_retries(self) -> pulumi.Output[Optional[builtins.int]]:
2033
+ def max_retries(self) -> pulumi.Output[Optional[_builtins.int]]:
1967
2034
  return pulumi.get(self, "max_retries")
1968
2035
 
1969
- @property
2036
+ @_builtins.property
1970
2037
  @pulumi.getter(name="minRetryIntervalMillis")
1971
2038
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1972
- def min_retry_interval_millis(self) -> pulumi.Output[Optional[builtins.int]]:
2039
+ def min_retry_interval_millis(self) -> pulumi.Output[Optional[_builtins.int]]:
1973
2040
  """
1974
2041
  (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.
1975
2042
  """
1976
2043
  return pulumi.get(self, "min_retry_interval_millis")
1977
2044
 
1978
- @property
2045
+ @_builtins.property
1979
2046
  @pulumi.getter
1980
- def name(self) -> pulumi.Output[builtins.str]:
2047
+ def name(self) -> pulumi.Output[_builtins.str]:
1981
2048
  """
1982
2049
  An optional name for the job. The default value is Untitled.
1983
2050
  """
1984
2051
  return pulumi.get(self, "name")
1985
2052
 
1986
- @property
2053
+ @_builtins.property
1987
2054
  @pulumi.getter(name="newCluster")
1988
2055
  def new_cluster(self) -> pulumi.Output[Optional['outputs.JobNewCluster']]:
1989
2056
  return pulumi.get(self, "new_cluster")
1990
2057
 
1991
- @property
2058
+ @_builtins.property
1992
2059
  @pulumi.getter(name="notebookTask")
1993
2060
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
1994
2061
  def notebook_task(self) -> pulumi.Output[Optional['outputs.JobNotebookTask']]:
1995
2062
  return pulumi.get(self, "notebook_task")
1996
2063
 
1997
- @property
2064
+ @_builtins.property
1998
2065
  @pulumi.getter(name="notificationSettings")
1999
2066
  def notification_settings(self) -> pulumi.Output[Optional['outputs.JobNotificationSettings']]:
2000
2067
  """
@@ -2002,17 +2069,17 @@ class Job(pulumi.CustomResource):
2002
2069
  """
2003
2070
  return pulumi.get(self, "notification_settings")
2004
2071
 
2005
- @property
2072
+ @_builtins.property
2006
2073
  @pulumi.getter
2007
2074
  def parameters(self) -> pulumi.Output[Optional[Sequence['outputs.JobParameter']]]:
2008
2075
  """
2009
- Specifices job parameter for the job. See parameter Configuration Block
2076
+ Specifies job parameter for the job. See parameter Configuration Block
2010
2077
  """
2011
2078
  return pulumi.get(self, "parameters")
2012
2079
 
2013
- @property
2080
+ @_builtins.property
2014
2081
  @pulumi.getter(name="performanceTarget")
2015
- def performance_target(self) -> pulumi.Output[Optional[builtins.str]]:
2082
+ def performance_target(self) -> pulumi.Output[Optional[_builtins.str]]:
2016
2083
  """
2017
2084
  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:
2018
2085
  * `PERFORMANCE_OPTIMIZED`: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
@@ -2020,19 +2087,27 @@ class Job(pulumi.CustomResource):
2020
2087
  """
2021
2088
  return pulumi.get(self, "performance_target")
2022
2089
 
2023
- @property
2090
+ @_builtins.property
2024
2091
  @pulumi.getter(name="pipelineTask")
2025
2092
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
2026
2093
  def pipeline_task(self) -> pulumi.Output[Optional['outputs.JobPipelineTask']]:
2027
2094
  return pulumi.get(self, "pipeline_task")
2028
2095
 
2029
- @property
2096
+ @_builtins.property
2097
+ @pulumi.getter(name="providerConfig")
2098
+ def provider_config(self) -> pulumi.Output[Optional['outputs.JobProviderConfig']]:
2099
+ """
2100
+ Configure the provider for management through account provider. This block consists of the following fields:
2101
+ """
2102
+ return pulumi.get(self, "provider_config")
2103
+
2104
+ @_builtins.property
2030
2105
  @pulumi.getter(name="pythonWheelTask")
2031
2106
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
2032
2107
  def python_wheel_task(self) -> pulumi.Output[Optional['outputs.JobPythonWheelTask']]:
2033
2108
  return pulumi.get(self, "python_wheel_task")
2034
2109
 
2035
- @property
2110
+ @_builtins.property
2036
2111
  @pulumi.getter
2037
2112
  def queue(self) -> pulumi.Output[Optional['outputs.JobQueue']]:
2038
2113
  """
@@ -2040,27 +2115,27 @@ class Job(pulumi.CustomResource):
2040
2115
  """
2041
2116
  return pulumi.get(self, "queue")
2042
2117
 
2043
- @property
2118
+ @_builtins.property
2044
2119
  @pulumi.getter(name="retryOnTimeout")
2045
2120
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
2046
- def retry_on_timeout(self) -> pulumi.Output[Optional[builtins.bool]]:
2121
+ def retry_on_timeout(self) -> pulumi.Output[Optional[_builtins.bool]]:
2047
2122
  return pulumi.get(self, "retry_on_timeout")
2048
2123
 
2049
- @property
2124
+ @_builtins.property
2050
2125
  @pulumi.getter(name="runAs")
2051
2126
  def run_as(self) -> pulumi.Output['outputs.JobRunAs']:
2052
2127
  """
2053
- The user or the service prinicipal the job runs as. See run_as Configuration Block below.
2128
+ The user or the service principal the job runs as. See run_as Configuration Block below.
2054
2129
  """
2055
2130
  return pulumi.get(self, "run_as")
2056
2131
 
2057
- @property
2132
+ @_builtins.property
2058
2133
  @pulumi.getter(name="runJobTask")
2059
2134
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
2060
2135
  def run_job_task(self) -> pulumi.Output[Optional['outputs.JobRunJobTask']]:
2061
2136
  return pulumi.get(self, "run_job_task")
2062
2137
 
2063
- @property
2138
+ @_builtins.property
2064
2139
  @pulumi.getter
2065
2140
  def schedule(self) -> pulumi.Output[Optional['outputs.JobSchedule']]:
2066
2141
  """
@@ -2068,33 +2143,33 @@ class Job(pulumi.CustomResource):
2068
2143
  """
2069
2144
  return pulumi.get(self, "schedule")
2070
2145
 
2071
- @property
2146
+ @_builtins.property
2072
2147
  @pulumi.getter(name="sparkJarTask")
2073
2148
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
2074
2149
  def spark_jar_task(self) -> pulumi.Output[Optional['outputs.JobSparkJarTask']]:
2075
2150
  return pulumi.get(self, "spark_jar_task")
2076
2151
 
2077
- @property
2152
+ @_builtins.property
2078
2153
  @pulumi.getter(name="sparkPythonTask")
2079
2154
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
2080
2155
  def spark_python_task(self) -> pulumi.Output[Optional['outputs.JobSparkPythonTask']]:
2081
2156
  return pulumi.get(self, "spark_python_task")
2082
2157
 
2083
- @property
2158
+ @_builtins.property
2084
2159
  @pulumi.getter(name="sparkSubmitTask")
2085
2160
  @_utilities.deprecated("""should be used inside a task block and not inside a job block""")
2086
2161
  def spark_submit_task(self) -> pulumi.Output[Optional['outputs.JobSparkSubmitTask']]:
2087
2162
  return pulumi.get(self, "spark_submit_task")
2088
2163
 
2089
- @property
2164
+ @_builtins.property
2090
2165
  @pulumi.getter
2091
- def tags(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
2166
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
2092
2167
  """
2093
2168
  An optional map of the tags associated with the job. See tags Configuration Map
2094
2169
  """
2095
2170
  return pulumi.get(self, "tags")
2096
2171
 
2097
- @property
2172
+ @_builtins.property
2098
2173
  @pulumi.getter
2099
2174
  def tasks(self) -> pulumi.Output[Optional[Sequence['outputs.JobTask']]]:
2100
2175
  """
@@ -2102,15 +2177,15 @@ class Job(pulumi.CustomResource):
2102
2177
  """
2103
2178
  return pulumi.get(self, "tasks")
2104
2179
 
2105
- @property
2180
+ @_builtins.property
2106
2181
  @pulumi.getter(name="timeoutSeconds")
2107
- def timeout_seconds(self) -> pulumi.Output[Optional[builtins.int]]:
2182
+ def timeout_seconds(self) -> pulumi.Output[Optional[_builtins.int]]:
2108
2183
  """
2109
2184
  (Integer) An optional timeout applied to each run of this job. The default behavior is to have no timeout.
2110
2185
  """
2111
2186
  return pulumi.get(self, "timeout_seconds")
2112
2187
 
2113
- @property
2188
+ @_builtins.property
2114
2189
  @pulumi.getter
2115
2190
  def trigger(self) -> pulumi.Output[Optional['outputs.JobTrigger']]:
2116
2191
  """
@@ -2118,15 +2193,20 @@ class Job(pulumi.CustomResource):
2118
2193
  """
2119
2194
  return pulumi.get(self, "trigger")
2120
2195
 
2121
- @property
2196
+ @_builtins.property
2122
2197
  @pulumi.getter
2123
- def url(self) -> pulumi.Output[builtins.str]:
2198
+ def url(self) -> pulumi.Output[_builtins.str]:
2124
2199
  """
2125
2200
  URL of the job on the given workspace
2126
2201
  """
2127
2202
  return pulumi.get(self, "url")
2128
2203
 
2129
- @property
2204
+ @_builtins.property
2205
+ @pulumi.getter(name="usagePolicyId")
2206
+ def usage_policy_id(self) -> pulumi.Output[Optional[_builtins.str]]:
2207
+ return pulumi.get(self, "usage_policy_id")
2208
+
2209
+ @_builtins.property
2130
2210
  @pulumi.getter(name="webhookNotifications")
2131
2211
  def webhook_notifications(self) -> pulumi.Output[Optional['outputs.JobWebhookNotifications']]:
2132
2212
  """