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
@@ -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,57 +21,59 @@ __all__ = ['MwsWorkspacesArgs', 'MwsWorkspaces']
22
21
  @pulumi.input_type
23
22
  class MwsWorkspacesArgs:
24
23
  def __init__(__self__, *,
25
- account_id: pulumi.Input[builtins.str],
26
- workspace_name: pulumi.Input[builtins.str],
27
- aws_region: Optional[pulumi.Input[builtins.str]] = None,
28
- cloud: Optional[pulumi.Input[builtins.str]] = None,
24
+ account_id: pulumi.Input[_builtins.str],
25
+ workspace_name: pulumi.Input[_builtins.str],
26
+ aws_region: Optional[pulumi.Input[_builtins.str]] = None,
27
+ cloud: Optional[pulumi.Input[_builtins.str]] = None,
29
28
  cloud_resource_container: Optional[pulumi.Input['MwsWorkspacesCloudResourceContainerArgs']] = None,
30
- compute_mode: Optional[pulumi.Input[builtins.str]] = None,
31
- creation_time: Optional[pulumi.Input[builtins.int]] = None,
32
- credentials_id: Optional[pulumi.Input[builtins.str]] = None,
33
- custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
34
- customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
35
- deployment_name: Optional[pulumi.Input[builtins.str]] = None,
29
+ compute_mode: Optional[pulumi.Input[_builtins.str]] = None,
30
+ creation_time: Optional[pulumi.Input[_builtins.int]] = None,
31
+ credentials_id: Optional[pulumi.Input[_builtins.str]] = None,
32
+ custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
33
+ customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
34
+ deployment_name: Optional[pulumi.Input[_builtins.str]] = None,
35
+ expected_workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
36
36
  external_customer_info: Optional[pulumi.Input['MwsWorkspacesExternalCustomerInfoArgs']] = None,
37
37
  gcp_managed_network_config: Optional[pulumi.Input['MwsWorkspacesGcpManagedNetworkConfigArgs']] = None,
38
38
  gke_config: Optional[pulumi.Input['MwsWorkspacesGkeConfigArgs']] = None,
39
- is_no_public_ip_enabled: Optional[pulumi.Input[builtins.bool]] = None,
40
- location: Optional[pulumi.Input[builtins.str]] = None,
41
- managed_services_customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
42
- network_id: Optional[pulumi.Input[builtins.str]] = None,
43
- pricing_tier: Optional[pulumi.Input[builtins.str]] = None,
44
- private_access_settings_id: Optional[pulumi.Input[builtins.str]] = None,
45
- storage_configuration_id: Optional[pulumi.Input[builtins.str]] = None,
46
- storage_customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
39
+ is_no_public_ip_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
40
+ location: Optional[pulumi.Input[_builtins.str]] = None,
41
+ managed_services_customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
42
+ network_id: Optional[pulumi.Input[_builtins.str]] = None,
43
+ pricing_tier: Optional[pulumi.Input[_builtins.str]] = None,
44
+ private_access_settings_id: Optional[pulumi.Input[_builtins.str]] = None,
45
+ storage_configuration_id: Optional[pulumi.Input[_builtins.str]] = None,
46
+ storage_customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
47
47
  token: Optional[pulumi.Input['MwsWorkspacesTokenArgs']] = None,
48
- workspace_id: Optional[pulumi.Input[builtins.str]] = None,
49
- workspace_status: Optional[pulumi.Input[builtins.str]] = None,
50
- workspace_status_message: Optional[pulumi.Input[builtins.str]] = None,
51
- workspace_url: Optional[pulumi.Input[builtins.str]] = None):
48
+ workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
49
+ workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
50
+ workspace_status_message: Optional[pulumi.Input[_builtins.str]] = None,
51
+ workspace_url: Optional[pulumi.Input[_builtins.str]] = None):
52
52
  """
53
53
  The set of arguments for constructing a MwsWorkspaces resource.
54
- :param pulumi.Input[builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
55
- :param pulumi.Input[builtins.str] workspace_name: name of the workspace, will appear on UI.
56
- :param pulumi.Input[builtins.str] aws_region: region of VPC.
54
+ :param pulumi.Input[_builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
55
+ :param pulumi.Input[_builtins.str] workspace_name: name of the workspace, will appear on UI.
56
+ :param pulumi.Input[_builtins.str] aws_region: region of VPC.
57
57
  :param pulumi.Input['MwsWorkspacesCloudResourceContainerArgs'] cloud_resource_container: A block that specifies GCP workspace configurations, consisting of following blocks:
58
- :param pulumi.Input[builtins.str] compute_mode: The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
58
+ :param pulumi.Input[_builtins.str] compute_mode: The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
59
+ :param pulumi.Input[_builtins.int] creation_time: (Integer) time when workspace was created
60
+ :param pulumi.Input[_builtins.str] credentials_id: `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
61
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_tags: The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
62
+ :param pulumi.Input[_builtins.str] deployment_name: part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
63
+ :param pulumi.Input[_builtins.str] expected_workspace_status: The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
59
64
 
60
65
  > Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
61
- :param pulumi.Input[builtins.int] creation_time: (Integer) time when workspace was created
62
- :param pulumi.Input[builtins.str] credentials_id: `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
63
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_tags: The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
64
- :param pulumi.Input[builtins.str] deployment_name: part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
65
- :param pulumi.Input[builtins.str] location: region of the subnet.
66
- :param pulumi.Input[builtins.str] managed_services_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
67
- :param pulumi.Input[builtins.str] network_id: `network_id` from networks.
68
- :param pulumi.Input[builtins.str] pricing_tier: The pricing tier of the workspace.
69
- :param pulumi.Input[builtins.str] private_access_settings_id: Canonical unique identifier of MwsPrivateAccessSettings in Databricks Account.
70
- :param pulumi.Input[builtins.str] storage_configuration_id: `storage_configuration_id` from storage configuration. This must not be specified when `compute_mode` is set to `SERVERLESS`.
71
- :param pulumi.Input[builtins.str] storage_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `STORAGE`. This is used to encrypt the DBFS Storage & Cluster Volumes.
72
- :param pulumi.Input[builtins.str] workspace_id: (String) workspace id
73
- :param pulumi.Input[builtins.str] workspace_status: (String) workspace status
74
- :param pulumi.Input[builtins.str] workspace_status_message: (String) updates on workspace status
75
- :param pulumi.Input[builtins.str] workspace_url: (String) URL of the workspace
66
+ :param pulumi.Input[_builtins.str] location: region of the subnet.
67
+ :param pulumi.Input[_builtins.str] managed_services_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
68
+ :param pulumi.Input[_builtins.str] network_id: `network_id` from networks.
69
+ :param pulumi.Input[_builtins.str] pricing_tier: The pricing tier of the workspace.
70
+ :param pulumi.Input[_builtins.str] private_access_settings_id: Canonical unique identifier of MwsPrivateAccessSettings in Databricks Account.
71
+ :param pulumi.Input[_builtins.str] storage_configuration_id: `storage_configuration_id` from storage configuration. This must not be specified when `compute_mode` is set to `SERVERLESS`.
72
+ :param pulumi.Input[_builtins.str] storage_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `STORAGE`. This is used to encrypt the DBFS Storage & Cluster Volumes.
73
+ :param pulumi.Input[_builtins.str] workspace_id: (String) workspace id
74
+ :param pulumi.Input[_builtins.str] workspace_status: (String) workspace status
75
+ :param pulumi.Input[_builtins.str] workspace_status_message: (String) updates on workspace status
76
+ :param pulumi.Input[_builtins.str] workspace_url: (String) URL of the workspace
76
77
  """
77
78
  pulumi.set(__self__, "account_id", account_id)
78
79
  pulumi.set(__self__, "workspace_name", workspace_name)
@@ -97,13 +98,15 @@ class MwsWorkspacesArgs:
97
98
  pulumi.set(__self__, "customer_managed_key_id", customer_managed_key_id)
98
99
  if deployment_name is not None:
99
100
  pulumi.set(__self__, "deployment_name", deployment_name)
101
+ if expected_workspace_status is not None:
102
+ pulumi.set(__self__, "expected_workspace_status", expected_workspace_status)
100
103
  if external_customer_info is not None:
101
104
  pulumi.set(__self__, "external_customer_info", external_customer_info)
102
105
  if gcp_managed_network_config is not None:
103
106
  pulumi.set(__self__, "gcp_managed_network_config", gcp_managed_network_config)
104
107
  if gke_config is not None:
105
- warnings.warn("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.84.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""", DeprecationWarning)
106
- pulumi.log.warn("""gke_config is deprecated: gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.84.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
108
+ warnings.warn("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""", DeprecationWarning)
109
+ pulumi.log.warn("""gke_config is deprecated: gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
107
110
  if gke_config is not None:
108
111
  pulumi.set(__self__, "gke_config", gke_config)
109
112
  if is_no_public_ip_enabled is not None:
@@ -133,52 +136,52 @@ class MwsWorkspacesArgs:
133
136
  if workspace_url is not None:
134
137
  pulumi.set(__self__, "workspace_url", workspace_url)
135
138
 
136
- @property
139
+ @_builtins.property
137
140
  @pulumi.getter(name="accountId")
138
- def account_id(self) -> pulumi.Input[builtins.str]:
141
+ def account_id(self) -> pulumi.Input[_builtins.str]:
139
142
  """
140
143
  Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
141
144
  """
142
145
  return pulumi.get(self, "account_id")
143
146
 
144
147
  @account_id.setter
145
- def account_id(self, value: pulumi.Input[builtins.str]):
148
+ def account_id(self, value: pulumi.Input[_builtins.str]):
146
149
  pulumi.set(self, "account_id", value)
147
150
 
148
- @property
151
+ @_builtins.property
149
152
  @pulumi.getter(name="workspaceName")
150
- def workspace_name(self) -> pulumi.Input[builtins.str]:
153
+ def workspace_name(self) -> pulumi.Input[_builtins.str]:
151
154
  """
152
155
  name of the workspace, will appear on UI.
153
156
  """
154
157
  return pulumi.get(self, "workspace_name")
155
158
 
156
159
  @workspace_name.setter
157
- def workspace_name(self, value: pulumi.Input[builtins.str]):
160
+ def workspace_name(self, value: pulumi.Input[_builtins.str]):
158
161
  pulumi.set(self, "workspace_name", value)
159
162
 
160
- @property
163
+ @_builtins.property
161
164
  @pulumi.getter(name="awsRegion")
162
- def aws_region(self) -> Optional[pulumi.Input[builtins.str]]:
165
+ def aws_region(self) -> Optional[pulumi.Input[_builtins.str]]:
163
166
  """
164
167
  region of VPC.
165
168
  """
166
169
  return pulumi.get(self, "aws_region")
167
170
 
168
171
  @aws_region.setter
169
- def aws_region(self, value: Optional[pulumi.Input[builtins.str]]):
172
+ def aws_region(self, value: Optional[pulumi.Input[_builtins.str]]):
170
173
  pulumi.set(self, "aws_region", value)
171
174
 
172
- @property
175
+ @_builtins.property
173
176
  @pulumi.getter
174
- def cloud(self) -> Optional[pulumi.Input[builtins.str]]:
177
+ def cloud(self) -> Optional[pulumi.Input[_builtins.str]]:
175
178
  return pulumi.get(self, "cloud")
176
179
 
177
180
  @cloud.setter
178
- def cloud(self, value: Optional[pulumi.Input[builtins.str]]):
181
+ def cloud(self, value: Optional[pulumi.Input[_builtins.str]]):
179
182
  pulumi.set(self, "cloud", value)
180
183
 
181
- @property
184
+ @_builtins.property
182
185
  @pulumi.getter(name="cloudResourceContainer")
183
186
  def cloud_resource_container(self) -> Optional[pulumi.Input['MwsWorkspacesCloudResourceContainerArgs']]:
184
187
  """
@@ -190,79 +193,91 @@ class MwsWorkspacesArgs:
190
193
  def cloud_resource_container(self, value: Optional[pulumi.Input['MwsWorkspacesCloudResourceContainerArgs']]):
191
194
  pulumi.set(self, "cloud_resource_container", value)
192
195
 
193
- @property
196
+ @_builtins.property
194
197
  @pulumi.getter(name="computeMode")
195
- def compute_mode(self) -> Optional[pulumi.Input[builtins.str]]:
198
+ def compute_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
196
199
  """
197
200
  The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
198
-
199
- > Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
200
201
  """
201
202
  return pulumi.get(self, "compute_mode")
202
203
 
203
204
  @compute_mode.setter
204
- def compute_mode(self, value: Optional[pulumi.Input[builtins.str]]):
205
+ def compute_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
205
206
  pulumi.set(self, "compute_mode", value)
206
207
 
207
- @property
208
+ @_builtins.property
208
209
  @pulumi.getter(name="creationTime")
209
- def creation_time(self) -> Optional[pulumi.Input[builtins.int]]:
210
+ def creation_time(self) -> Optional[pulumi.Input[_builtins.int]]:
210
211
  """
211
212
  (Integer) time when workspace was created
212
213
  """
213
214
  return pulumi.get(self, "creation_time")
214
215
 
215
216
  @creation_time.setter
216
- def creation_time(self, value: Optional[pulumi.Input[builtins.int]]):
217
+ def creation_time(self, value: Optional[pulumi.Input[_builtins.int]]):
217
218
  pulumi.set(self, "creation_time", value)
218
219
 
219
- @property
220
+ @_builtins.property
220
221
  @pulumi.getter(name="credentialsId")
221
- def credentials_id(self) -> Optional[pulumi.Input[builtins.str]]:
222
+ def credentials_id(self) -> Optional[pulumi.Input[_builtins.str]]:
222
223
  """
223
224
  `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
224
225
  """
225
226
  return pulumi.get(self, "credentials_id")
226
227
 
227
228
  @credentials_id.setter
228
- def credentials_id(self, value: Optional[pulumi.Input[builtins.str]]):
229
+ def credentials_id(self, value: Optional[pulumi.Input[_builtins.str]]):
229
230
  pulumi.set(self, "credentials_id", value)
230
231
 
231
- @property
232
+ @_builtins.property
232
233
  @pulumi.getter(name="customTags")
233
- def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
234
+ def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
234
235
  """
235
236
  The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
236
237
  """
237
238
  return pulumi.get(self, "custom_tags")
238
239
 
239
240
  @custom_tags.setter
240
- def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
241
+ def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
241
242
  pulumi.set(self, "custom_tags", value)
242
243
 
243
- @property
244
+ @_builtins.property
244
245
  @pulumi.getter(name="customerManagedKeyId")
245
246
  @_utilities.deprecated("""Use managed_services_customer_managed_key_id instead""")
246
- def customer_managed_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
247
+ def customer_managed_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
247
248
  return pulumi.get(self, "customer_managed_key_id")
248
249
 
249
250
  @customer_managed_key_id.setter
250
- def customer_managed_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
251
+ def customer_managed_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
251
252
  pulumi.set(self, "customer_managed_key_id", value)
252
253
 
253
- @property
254
+ @_builtins.property
254
255
  @pulumi.getter(name="deploymentName")
255
- def deployment_name(self) -> Optional[pulumi.Input[builtins.str]]:
256
+ def deployment_name(self) -> Optional[pulumi.Input[_builtins.str]]:
256
257
  """
257
258
  part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
258
259
  """
259
260
  return pulumi.get(self, "deployment_name")
260
261
 
261
262
  @deployment_name.setter
262
- def deployment_name(self, value: Optional[pulumi.Input[builtins.str]]):
263
+ def deployment_name(self, value: Optional[pulumi.Input[_builtins.str]]):
263
264
  pulumi.set(self, "deployment_name", value)
264
265
 
265
- @property
266
+ @_builtins.property
267
+ @pulumi.getter(name="expectedWorkspaceStatus")
268
+ def expected_workspace_status(self) -> Optional[pulumi.Input[_builtins.str]]:
269
+ """
270
+ The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
271
+
272
+ > Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
273
+ """
274
+ return pulumi.get(self, "expected_workspace_status")
275
+
276
+ @expected_workspace_status.setter
277
+ def expected_workspace_status(self, value: Optional[pulumi.Input[_builtins.str]]):
278
+ pulumi.set(self, "expected_workspace_status", value)
279
+
280
+ @_builtins.property
266
281
  @pulumi.getter(name="externalCustomerInfo")
267
282
  def external_customer_info(self) -> Optional[pulumi.Input['MwsWorkspacesExternalCustomerInfoArgs']]:
268
283
  return pulumi.get(self, "external_customer_info")
@@ -271,7 +286,7 @@ class MwsWorkspacesArgs:
271
286
  def external_customer_info(self, value: Optional[pulumi.Input['MwsWorkspacesExternalCustomerInfoArgs']]):
272
287
  pulumi.set(self, "external_customer_info", value)
273
288
 
274
- @property
289
+ @_builtins.property
275
290
  @pulumi.getter(name="gcpManagedNetworkConfig")
276
291
  def gcp_managed_network_config(self) -> Optional[pulumi.Input['MwsWorkspacesGcpManagedNetworkConfigArgs']]:
277
292
  return pulumi.get(self, "gcp_managed_network_config")
@@ -280,9 +295,9 @@ class MwsWorkspacesArgs:
280
295
  def gcp_managed_network_config(self, value: Optional[pulumi.Input['MwsWorkspacesGcpManagedNetworkConfigArgs']]):
281
296
  pulumi.set(self, "gcp_managed_network_config", value)
282
297
 
283
- @property
298
+ @_builtins.property
284
299
  @pulumi.getter(name="gkeConfig")
285
- @_utilities.deprecated("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.84.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
300
+ @_utilities.deprecated("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
286
301
  def gke_config(self) -> Optional[pulumi.Input['MwsWorkspacesGkeConfigArgs']]:
287
302
  return pulumi.get(self, "gke_config")
288
303
 
@@ -290,100 +305,100 @@ class MwsWorkspacesArgs:
290
305
  def gke_config(self, value: Optional[pulumi.Input['MwsWorkspacesGkeConfigArgs']]):
291
306
  pulumi.set(self, "gke_config", value)
292
307
 
293
- @property
308
+ @_builtins.property
294
309
  @pulumi.getter(name="isNoPublicIpEnabled")
295
- def is_no_public_ip_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
310
+ def is_no_public_ip_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
296
311
  return pulumi.get(self, "is_no_public_ip_enabled")
297
312
 
298
313
  @is_no_public_ip_enabled.setter
299
- def is_no_public_ip_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
314
+ def is_no_public_ip_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
300
315
  pulumi.set(self, "is_no_public_ip_enabled", value)
301
316
 
302
- @property
317
+ @_builtins.property
303
318
  @pulumi.getter
304
- def location(self) -> Optional[pulumi.Input[builtins.str]]:
319
+ def location(self) -> Optional[pulumi.Input[_builtins.str]]:
305
320
  """
306
321
  region of the subnet.
307
322
  """
308
323
  return pulumi.get(self, "location")
309
324
 
310
325
  @location.setter
311
- def location(self, value: Optional[pulumi.Input[builtins.str]]):
326
+ def location(self, value: Optional[pulumi.Input[_builtins.str]]):
312
327
  pulumi.set(self, "location", value)
313
328
 
314
- @property
329
+ @_builtins.property
315
330
  @pulumi.getter(name="managedServicesCustomerManagedKeyId")
316
- def managed_services_customer_managed_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
331
+ def managed_services_customer_managed_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
317
332
  """
318
333
  `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
319
334
  """
320
335
  return pulumi.get(self, "managed_services_customer_managed_key_id")
321
336
 
322
337
  @managed_services_customer_managed_key_id.setter
323
- def managed_services_customer_managed_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
338
+ def managed_services_customer_managed_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
324
339
  pulumi.set(self, "managed_services_customer_managed_key_id", value)
325
340
 
326
- @property
341
+ @_builtins.property
327
342
  @pulumi.getter(name="networkId")
328
- def network_id(self) -> Optional[pulumi.Input[builtins.str]]:
343
+ def network_id(self) -> Optional[pulumi.Input[_builtins.str]]:
329
344
  """
330
345
  `network_id` from networks.
331
346
  """
332
347
  return pulumi.get(self, "network_id")
333
348
 
334
349
  @network_id.setter
335
- def network_id(self, value: Optional[pulumi.Input[builtins.str]]):
350
+ def network_id(self, value: Optional[pulumi.Input[_builtins.str]]):
336
351
  pulumi.set(self, "network_id", value)
337
352
 
338
- @property
353
+ @_builtins.property
339
354
  @pulumi.getter(name="pricingTier")
340
- def pricing_tier(self) -> Optional[pulumi.Input[builtins.str]]:
355
+ def pricing_tier(self) -> Optional[pulumi.Input[_builtins.str]]:
341
356
  """
342
357
  The pricing tier of the workspace.
343
358
  """
344
359
  return pulumi.get(self, "pricing_tier")
345
360
 
346
361
  @pricing_tier.setter
347
- def pricing_tier(self, value: Optional[pulumi.Input[builtins.str]]):
362
+ def pricing_tier(self, value: Optional[pulumi.Input[_builtins.str]]):
348
363
  pulumi.set(self, "pricing_tier", value)
349
364
 
350
- @property
365
+ @_builtins.property
351
366
  @pulumi.getter(name="privateAccessSettingsId")
352
- def private_access_settings_id(self) -> Optional[pulumi.Input[builtins.str]]:
367
+ def private_access_settings_id(self) -> Optional[pulumi.Input[_builtins.str]]:
353
368
  """
354
369
  Canonical unique identifier of MwsPrivateAccessSettings in Databricks Account.
355
370
  """
356
371
  return pulumi.get(self, "private_access_settings_id")
357
372
 
358
373
  @private_access_settings_id.setter
359
- def private_access_settings_id(self, value: Optional[pulumi.Input[builtins.str]]):
374
+ def private_access_settings_id(self, value: Optional[pulumi.Input[_builtins.str]]):
360
375
  pulumi.set(self, "private_access_settings_id", value)
361
376
 
362
- @property
377
+ @_builtins.property
363
378
  @pulumi.getter(name="storageConfigurationId")
364
- def storage_configuration_id(self) -> Optional[pulumi.Input[builtins.str]]:
379
+ def storage_configuration_id(self) -> Optional[pulumi.Input[_builtins.str]]:
365
380
  """
366
381
  `storage_configuration_id` from storage configuration. This must not be specified when `compute_mode` is set to `SERVERLESS`.
367
382
  """
368
383
  return pulumi.get(self, "storage_configuration_id")
369
384
 
370
385
  @storage_configuration_id.setter
371
- def storage_configuration_id(self, value: Optional[pulumi.Input[builtins.str]]):
386
+ def storage_configuration_id(self, value: Optional[pulumi.Input[_builtins.str]]):
372
387
  pulumi.set(self, "storage_configuration_id", value)
373
388
 
374
- @property
389
+ @_builtins.property
375
390
  @pulumi.getter(name="storageCustomerManagedKeyId")
376
- def storage_customer_managed_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
391
+ def storage_customer_managed_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
377
392
  """
378
393
  `customer_managed_key_id` from customer managed keys with `use_cases` set to `STORAGE`. This is used to encrypt the DBFS Storage & Cluster Volumes.
379
394
  """
380
395
  return pulumi.get(self, "storage_customer_managed_key_id")
381
396
 
382
397
  @storage_customer_managed_key_id.setter
383
- def storage_customer_managed_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
398
+ def storage_customer_managed_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
384
399
  pulumi.set(self, "storage_customer_managed_key_id", value)
385
400
 
386
- @property
401
+ @_builtins.property
387
402
  @pulumi.getter
388
403
  def token(self) -> Optional[pulumi.Input['MwsWorkspacesTokenArgs']]:
389
404
  return pulumi.get(self, "token")
@@ -392,113 +407,115 @@ class MwsWorkspacesArgs:
392
407
  def token(self, value: Optional[pulumi.Input['MwsWorkspacesTokenArgs']]):
393
408
  pulumi.set(self, "token", value)
394
409
 
395
- @property
410
+ @_builtins.property
396
411
  @pulumi.getter(name="workspaceId")
397
- def workspace_id(self) -> Optional[pulumi.Input[builtins.str]]:
412
+ def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
398
413
  """
399
414
  (String) workspace id
400
415
  """
401
416
  return pulumi.get(self, "workspace_id")
402
417
 
403
418
  @workspace_id.setter
404
- def workspace_id(self, value: Optional[pulumi.Input[builtins.str]]):
419
+ def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
405
420
  pulumi.set(self, "workspace_id", value)
406
421
 
407
- @property
422
+ @_builtins.property
408
423
  @pulumi.getter(name="workspaceStatus")
409
- def workspace_status(self) -> Optional[pulumi.Input[builtins.str]]:
424
+ def workspace_status(self) -> Optional[pulumi.Input[_builtins.str]]:
410
425
  """
411
426
  (String) workspace status
412
427
  """
413
428
  return pulumi.get(self, "workspace_status")
414
429
 
415
430
  @workspace_status.setter
416
- def workspace_status(self, value: Optional[pulumi.Input[builtins.str]]):
431
+ def workspace_status(self, value: Optional[pulumi.Input[_builtins.str]]):
417
432
  pulumi.set(self, "workspace_status", value)
418
433
 
419
- @property
434
+ @_builtins.property
420
435
  @pulumi.getter(name="workspaceStatusMessage")
421
- def workspace_status_message(self) -> Optional[pulumi.Input[builtins.str]]:
436
+ def workspace_status_message(self) -> Optional[pulumi.Input[_builtins.str]]:
422
437
  """
423
438
  (String) updates on workspace status
424
439
  """
425
440
  return pulumi.get(self, "workspace_status_message")
426
441
 
427
442
  @workspace_status_message.setter
428
- def workspace_status_message(self, value: Optional[pulumi.Input[builtins.str]]):
443
+ def workspace_status_message(self, value: Optional[pulumi.Input[_builtins.str]]):
429
444
  pulumi.set(self, "workspace_status_message", value)
430
445
 
431
- @property
446
+ @_builtins.property
432
447
  @pulumi.getter(name="workspaceUrl")
433
- def workspace_url(self) -> Optional[pulumi.Input[builtins.str]]:
448
+ def workspace_url(self) -> Optional[pulumi.Input[_builtins.str]]:
434
449
  """
435
450
  (String) URL of the workspace
436
451
  """
437
452
  return pulumi.get(self, "workspace_url")
438
453
 
439
454
  @workspace_url.setter
440
- def workspace_url(self, value: Optional[pulumi.Input[builtins.str]]):
455
+ def workspace_url(self, value: Optional[pulumi.Input[_builtins.str]]):
441
456
  pulumi.set(self, "workspace_url", value)
442
457
 
443
458
 
444
459
  @pulumi.input_type
445
460
  class _MwsWorkspacesState:
446
461
  def __init__(__self__, *,
447
- account_id: Optional[pulumi.Input[builtins.str]] = None,
448
- aws_region: Optional[pulumi.Input[builtins.str]] = None,
449
- cloud: Optional[pulumi.Input[builtins.str]] = None,
462
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
463
+ aws_region: Optional[pulumi.Input[_builtins.str]] = None,
464
+ cloud: Optional[pulumi.Input[_builtins.str]] = None,
450
465
  cloud_resource_container: Optional[pulumi.Input['MwsWorkspacesCloudResourceContainerArgs']] = None,
451
- compute_mode: Optional[pulumi.Input[builtins.str]] = None,
452
- creation_time: Optional[pulumi.Input[builtins.int]] = None,
453
- credentials_id: Optional[pulumi.Input[builtins.str]] = None,
454
- custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
455
- customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
456
- deployment_name: Optional[pulumi.Input[builtins.str]] = None,
457
- effective_compute_mode: Optional[pulumi.Input[builtins.str]] = None,
466
+ compute_mode: Optional[pulumi.Input[_builtins.str]] = None,
467
+ creation_time: Optional[pulumi.Input[_builtins.int]] = None,
468
+ credentials_id: Optional[pulumi.Input[_builtins.str]] = None,
469
+ custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
470
+ customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
471
+ deployment_name: Optional[pulumi.Input[_builtins.str]] = None,
472
+ effective_compute_mode: Optional[pulumi.Input[_builtins.str]] = None,
473
+ expected_workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
458
474
  external_customer_info: Optional[pulumi.Input['MwsWorkspacesExternalCustomerInfoArgs']] = None,
459
475
  gcp_managed_network_config: Optional[pulumi.Input['MwsWorkspacesGcpManagedNetworkConfigArgs']] = None,
460
- gcp_workspace_sa: Optional[pulumi.Input[builtins.str]] = None,
476
+ gcp_workspace_sa: Optional[pulumi.Input[_builtins.str]] = None,
461
477
  gke_config: Optional[pulumi.Input['MwsWorkspacesGkeConfigArgs']] = None,
462
- is_no_public_ip_enabled: Optional[pulumi.Input[builtins.bool]] = None,
463
- location: Optional[pulumi.Input[builtins.str]] = None,
464
- managed_services_customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
465
- network_id: Optional[pulumi.Input[builtins.str]] = None,
466
- pricing_tier: Optional[pulumi.Input[builtins.str]] = None,
467
- private_access_settings_id: Optional[pulumi.Input[builtins.str]] = None,
468
- storage_configuration_id: Optional[pulumi.Input[builtins.str]] = None,
469
- storage_customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
478
+ is_no_public_ip_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
479
+ location: Optional[pulumi.Input[_builtins.str]] = None,
480
+ managed_services_customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
481
+ network_id: Optional[pulumi.Input[_builtins.str]] = None,
482
+ pricing_tier: Optional[pulumi.Input[_builtins.str]] = None,
483
+ private_access_settings_id: Optional[pulumi.Input[_builtins.str]] = None,
484
+ storage_configuration_id: Optional[pulumi.Input[_builtins.str]] = None,
485
+ storage_customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
470
486
  token: Optional[pulumi.Input['MwsWorkspacesTokenArgs']] = None,
471
- workspace_id: Optional[pulumi.Input[builtins.str]] = None,
472
- workspace_name: Optional[pulumi.Input[builtins.str]] = None,
473
- workspace_status: Optional[pulumi.Input[builtins.str]] = None,
474
- workspace_status_message: Optional[pulumi.Input[builtins.str]] = None,
475
- workspace_url: Optional[pulumi.Input[builtins.str]] = None):
487
+ workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
488
+ workspace_name: Optional[pulumi.Input[_builtins.str]] = None,
489
+ workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
490
+ workspace_status_message: Optional[pulumi.Input[_builtins.str]] = None,
491
+ workspace_url: Optional[pulumi.Input[_builtins.str]] = None):
476
492
  """
477
493
  Input properties used for looking up and filtering MwsWorkspaces resources.
478
- :param pulumi.Input[builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
479
- :param pulumi.Input[builtins.str] aws_region: region of VPC.
494
+ :param pulumi.Input[_builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
495
+ :param pulumi.Input[_builtins.str] aws_region: region of VPC.
480
496
  :param pulumi.Input['MwsWorkspacesCloudResourceContainerArgs'] cloud_resource_container: A block that specifies GCP workspace configurations, consisting of following blocks:
481
- :param pulumi.Input[builtins.str] compute_mode: The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
497
+ :param pulumi.Input[_builtins.str] compute_mode: The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
498
+ :param pulumi.Input[_builtins.int] creation_time: (Integer) time when workspace was created
499
+ :param pulumi.Input[_builtins.str] credentials_id: `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
500
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_tags: The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
501
+ :param pulumi.Input[_builtins.str] deployment_name: part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
502
+ :param pulumi.Input[_builtins.str] effective_compute_mode: (String) The effective compute mode for the workspace. This is either `SERVERLESS` for serverless workspaces or `HYBRID` for classic workspaces.
503
+ :param pulumi.Input[_builtins.str] expected_workspace_status: The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
482
504
 
483
505
  > Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
484
- :param pulumi.Input[builtins.int] creation_time: (Integer) time when workspace was created
485
- :param pulumi.Input[builtins.str] credentials_id: `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
486
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_tags: The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
487
- :param pulumi.Input[builtins.str] deployment_name: part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
488
- :param pulumi.Input[builtins.str] effective_compute_mode: (String) The effective compute mode for the workspace. This is either `SERVERLESS` for serverless workspaces or `HYBRID` for classic workspaces.
489
- :param pulumi.Input[builtins.str] gcp_workspace_sa: (String, GCP only) identifier of a service account created for the workspace in form of `db-<workspace-id>@prod-gcp-<region>.iam.gserviceaccount.com`
490
- :param pulumi.Input[builtins.str] location: region of the subnet.
491
- :param pulumi.Input[builtins.str] managed_services_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
492
- :param pulumi.Input[builtins.str] network_id: `network_id` from networks.
493
- :param pulumi.Input[builtins.str] pricing_tier: The pricing tier of the workspace.
494
- :param pulumi.Input[builtins.str] private_access_settings_id: Canonical unique identifier of MwsPrivateAccessSettings in Databricks Account.
495
- :param pulumi.Input[builtins.str] storage_configuration_id: `storage_configuration_id` from storage configuration. This must not be specified when `compute_mode` is set to `SERVERLESS`.
496
- :param pulumi.Input[builtins.str] storage_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `STORAGE`. This is used to encrypt the DBFS Storage & Cluster Volumes.
497
- :param pulumi.Input[builtins.str] workspace_id: (String) workspace id
498
- :param pulumi.Input[builtins.str] workspace_name: name of the workspace, will appear on UI.
499
- :param pulumi.Input[builtins.str] workspace_status: (String) workspace status
500
- :param pulumi.Input[builtins.str] workspace_status_message: (String) updates on workspace status
501
- :param pulumi.Input[builtins.str] workspace_url: (String) URL of the workspace
506
+ :param pulumi.Input[_builtins.str] gcp_workspace_sa: (String, GCP only) identifier of a service account created for the workspace in form of `db-<workspace-id>@prod-gcp-<region>.iam.gserviceaccount.com`
507
+ :param pulumi.Input[_builtins.str] location: region of the subnet.
508
+ :param pulumi.Input[_builtins.str] managed_services_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
509
+ :param pulumi.Input[_builtins.str] network_id: `network_id` from networks.
510
+ :param pulumi.Input[_builtins.str] pricing_tier: The pricing tier of the workspace.
511
+ :param pulumi.Input[_builtins.str] private_access_settings_id: Canonical unique identifier of MwsPrivateAccessSettings in Databricks Account.
512
+ :param pulumi.Input[_builtins.str] storage_configuration_id: `storage_configuration_id` from storage configuration. This must not be specified when `compute_mode` is set to `SERVERLESS`.
513
+ :param pulumi.Input[_builtins.str] storage_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `STORAGE`. This is used to encrypt the DBFS Storage & Cluster Volumes.
514
+ :param pulumi.Input[_builtins.str] workspace_id: (String) workspace id
515
+ :param pulumi.Input[_builtins.str] workspace_name: name of the workspace, will appear on UI.
516
+ :param pulumi.Input[_builtins.str] workspace_status: (String) workspace status
517
+ :param pulumi.Input[_builtins.str] workspace_status_message: (String) updates on workspace status
518
+ :param pulumi.Input[_builtins.str] workspace_url: (String) URL of the workspace
502
519
  """
503
520
  if account_id is not None:
504
521
  pulumi.set(__self__, "account_id", account_id)
@@ -525,6 +542,8 @@ class _MwsWorkspacesState:
525
542
  pulumi.set(__self__, "deployment_name", deployment_name)
526
543
  if effective_compute_mode is not None:
527
544
  pulumi.set(__self__, "effective_compute_mode", effective_compute_mode)
545
+ if expected_workspace_status is not None:
546
+ pulumi.set(__self__, "expected_workspace_status", expected_workspace_status)
528
547
  if external_customer_info is not None:
529
548
  pulumi.set(__self__, "external_customer_info", external_customer_info)
530
549
  if gcp_managed_network_config is not None:
@@ -532,8 +551,8 @@ class _MwsWorkspacesState:
532
551
  if gcp_workspace_sa is not None:
533
552
  pulumi.set(__self__, "gcp_workspace_sa", gcp_workspace_sa)
534
553
  if gke_config is not None:
535
- warnings.warn("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.84.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""", DeprecationWarning)
536
- pulumi.log.warn("""gke_config is deprecated: gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.84.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
554
+ warnings.warn("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""", DeprecationWarning)
555
+ pulumi.log.warn("""gke_config is deprecated: gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
537
556
  if gke_config is not None:
538
557
  pulumi.set(__self__, "gke_config", gke_config)
539
558
  if is_no_public_ip_enabled is not None:
@@ -565,40 +584,40 @@ class _MwsWorkspacesState:
565
584
  if workspace_url is not None:
566
585
  pulumi.set(__self__, "workspace_url", workspace_url)
567
586
 
568
- @property
587
+ @_builtins.property
569
588
  @pulumi.getter(name="accountId")
570
- def account_id(self) -> Optional[pulumi.Input[builtins.str]]:
589
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
571
590
  """
572
591
  Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
573
592
  """
574
593
  return pulumi.get(self, "account_id")
575
594
 
576
595
  @account_id.setter
577
- def account_id(self, value: Optional[pulumi.Input[builtins.str]]):
596
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
578
597
  pulumi.set(self, "account_id", value)
579
598
 
580
- @property
599
+ @_builtins.property
581
600
  @pulumi.getter(name="awsRegion")
582
- def aws_region(self) -> Optional[pulumi.Input[builtins.str]]:
601
+ def aws_region(self) -> Optional[pulumi.Input[_builtins.str]]:
583
602
  """
584
603
  region of VPC.
585
604
  """
586
605
  return pulumi.get(self, "aws_region")
587
606
 
588
607
  @aws_region.setter
589
- def aws_region(self, value: Optional[pulumi.Input[builtins.str]]):
608
+ def aws_region(self, value: Optional[pulumi.Input[_builtins.str]]):
590
609
  pulumi.set(self, "aws_region", value)
591
610
 
592
- @property
611
+ @_builtins.property
593
612
  @pulumi.getter
594
- def cloud(self) -> Optional[pulumi.Input[builtins.str]]:
613
+ def cloud(self) -> Optional[pulumi.Input[_builtins.str]]:
595
614
  return pulumi.get(self, "cloud")
596
615
 
597
616
  @cloud.setter
598
- def cloud(self, value: Optional[pulumi.Input[builtins.str]]):
617
+ def cloud(self, value: Optional[pulumi.Input[_builtins.str]]):
599
618
  pulumi.set(self, "cloud", value)
600
619
 
601
- @property
620
+ @_builtins.property
602
621
  @pulumi.getter(name="cloudResourceContainer")
603
622
  def cloud_resource_container(self) -> Optional[pulumi.Input['MwsWorkspacesCloudResourceContainerArgs']]:
604
623
  """
@@ -610,91 +629,103 @@ class _MwsWorkspacesState:
610
629
  def cloud_resource_container(self, value: Optional[pulumi.Input['MwsWorkspacesCloudResourceContainerArgs']]):
611
630
  pulumi.set(self, "cloud_resource_container", value)
612
631
 
613
- @property
632
+ @_builtins.property
614
633
  @pulumi.getter(name="computeMode")
615
- def compute_mode(self) -> Optional[pulumi.Input[builtins.str]]:
634
+ def compute_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
616
635
  """
617
636
  The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
618
-
619
- > Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
620
637
  """
621
638
  return pulumi.get(self, "compute_mode")
622
639
 
623
640
  @compute_mode.setter
624
- def compute_mode(self, value: Optional[pulumi.Input[builtins.str]]):
641
+ def compute_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
625
642
  pulumi.set(self, "compute_mode", value)
626
643
 
627
- @property
644
+ @_builtins.property
628
645
  @pulumi.getter(name="creationTime")
629
- def creation_time(self) -> Optional[pulumi.Input[builtins.int]]:
646
+ def creation_time(self) -> Optional[pulumi.Input[_builtins.int]]:
630
647
  """
631
648
  (Integer) time when workspace was created
632
649
  """
633
650
  return pulumi.get(self, "creation_time")
634
651
 
635
652
  @creation_time.setter
636
- def creation_time(self, value: Optional[pulumi.Input[builtins.int]]):
653
+ def creation_time(self, value: Optional[pulumi.Input[_builtins.int]]):
637
654
  pulumi.set(self, "creation_time", value)
638
655
 
639
- @property
656
+ @_builtins.property
640
657
  @pulumi.getter(name="credentialsId")
641
- def credentials_id(self) -> Optional[pulumi.Input[builtins.str]]:
658
+ def credentials_id(self) -> Optional[pulumi.Input[_builtins.str]]:
642
659
  """
643
660
  `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
644
661
  """
645
662
  return pulumi.get(self, "credentials_id")
646
663
 
647
664
  @credentials_id.setter
648
- def credentials_id(self, value: Optional[pulumi.Input[builtins.str]]):
665
+ def credentials_id(self, value: Optional[pulumi.Input[_builtins.str]]):
649
666
  pulumi.set(self, "credentials_id", value)
650
667
 
651
- @property
668
+ @_builtins.property
652
669
  @pulumi.getter(name="customTags")
653
- def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
670
+ def custom_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
654
671
  """
655
672
  The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
656
673
  """
657
674
  return pulumi.get(self, "custom_tags")
658
675
 
659
676
  @custom_tags.setter
660
- def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
677
+ def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
661
678
  pulumi.set(self, "custom_tags", value)
662
679
 
663
- @property
680
+ @_builtins.property
664
681
  @pulumi.getter(name="customerManagedKeyId")
665
682
  @_utilities.deprecated("""Use managed_services_customer_managed_key_id instead""")
666
- def customer_managed_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
683
+ def customer_managed_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
667
684
  return pulumi.get(self, "customer_managed_key_id")
668
685
 
669
686
  @customer_managed_key_id.setter
670
- def customer_managed_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
687
+ def customer_managed_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
671
688
  pulumi.set(self, "customer_managed_key_id", value)
672
689
 
673
- @property
690
+ @_builtins.property
674
691
  @pulumi.getter(name="deploymentName")
675
- def deployment_name(self) -> Optional[pulumi.Input[builtins.str]]:
692
+ def deployment_name(self) -> Optional[pulumi.Input[_builtins.str]]:
676
693
  """
677
694
  part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
678
695
  """
679
696
  return pulumi.get(self, "deployment_name")
680
697
 
681
698
  @deployment_name.setter
682
- def deployment_name(self, value: Optional[pulumi.Input[builtins.str]]):
699
+ def deployment_name(self, value: Optional[pulumi.Input[_builtins.str]]):
683
700
  pulumi.set(self, "deployment_name", value)
684
701
 
685
- @property
702
+ @_builtins.property
686
703
  @pulumi.getter(name="effectiveComputeMode")
687
- def effective_compute_mode(self) -> Optional[pulumi.Input[builtins.str]]:
704
+ def effective_compute_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
688
705
  """
689
706
  (String) The effective compute mode for the workspace. This is either `SERVERLESS` for serverless workspaces or `HYBRID` for classic workspaces.
690
707
  """
691
708
  return pulumi.get(self, "effective_compute_mode")
692
709
 
693
710
  @effective_compute_mode.setter
694
- def effective_compute_mode(self, value: Optional[pulumi.Input[builtins.str]]):
711
+ def effective_compute_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
695
712
  pulumi.set(self, "effective_compute_mode", value)
696
713
 
697
- @property
714
+ @_builtins.property
715
+ @pulumi.getter(name="expectedWorkspaceStatus")
716
+ def expected_workspace_status(self) -> Optional[pulumi.Input[_builtins.str]]:
717
+ """
718
+ The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
719
+
720
+ > Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
721
+ """
722
+ return pulumi.get(self, "expected_workspace_status")
723
+
724
+ @expected_workspace_status.setter
725
+ def expected_workspace_status(self, value: Optional[pulumi.Input[_builtins.str]]):
726
+ pulumi.set(self, "expected_workspace_status", value)
727
+
728
+ @_builtins.property
698
729
  @pulumi.getter(name="externalCustomerInfo")
699
730
  def external_customer_info(self) -> Optional[pulumi.Input['MwsWorkspacesExternalCustomerInfoArgs']]:
700
731
  return pulumi.get(self, "external_customer_info")
@@ -703,7 +734,7 @@ class _MwsWorkspacesState:
703
734
  def external_customer_info(self, value: Optional[pulumi.Input['MwsWorkspacesExternalCustomerInfoArgs']]):
704
735
  pulumi.set(self, "external_customer_info", value)
705
736
 
706
- @property
737
+ @_builtins.property
707
738
  @pulumi.getter(name="gcpManagedNetworkConfig")
708
739
  def gcp_managed_network_config(self) -> Optional[pulumi.Input['MwsWorkspacesGcpManagedNetworkConfigArgs']]:
709
740
  return pulumi.get(self, "gcp_managed_network_config")
@@ -712,21 +743,21 @@ class _MwsWorkspacesState:
712
743
  def gcp_managed_network_config(self, value: Optional[pulumi.Input['MwsWorkspacesGcpManagedNetworkConfigArgs']]):
713
744
  pulumi.set(self, "gcp_managed_network_config", value)
714
745
 
715
- @property
746
+ @_builtins.property
716
747
  @pulumi.getter(name="gcpWorkspaceSa")
717
- def gcp_workspace_sa(self) -> Optional[pulumi.Input[builtins.str]]:
748
+ def gcp_workspace_sa(self) -> Optional[pulumi.Input[_builtins.str]]:
718
749
  """
719
750
  (String, GCP only) identifier of a service account created for the workspace in form of `db-<workspace-id>@prod-gcp-<region>.iam.gserviceaccount.com`
720
751
  """
721
752
  return pulumi.get(self, "gcp_workspace_sa")
722
753
 
723
754
  @gcp_workspace_sa.setter
724
- def gcp_workspace_sa(self, value: Optional[pulumi.Input[builtins.str]]):
755
+ def gcp_workspace_sa(self, value: Optional[pulumi.Input[_builtins.str]]):
725
756
  pulumi.set(self, "gcp_workspace_sa", value)
726
757
 
727
- @property
758
+ @_builtins.property
728
759
  @pulumi.getter(name="gkeConfig")
729
- @_utilities.deprecated("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.84.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
760
+ @_utilities.deprecated("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
730
761
  def gke_config(self) -> Optional[pulumi.Input['MwsWorkspacesGkeConfigArgs']]:
731
762
  return pulumi.get(self, "gke_config")
732
763
 
@@ -734,100 +765,100 @@ class _MwsWorkspacesState:
734
765
  def gke_config(self, value: Optional[pulumi.Input['MwsWorkspacesGkeConfigArgs']]):
735
766
  pulumi.set(self, "gke_config", value)
736
767
 
737
- @property
768
+ @_builtins.property
738
769
  @pulumi.getter(name="isNoPublicIpEnabled")
739
- def is_no_public_ip_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
770
+ def is_no_public_ip_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
740
771
  return pulumi.get(self, "is_no_public_ip_enabled")
741
772
 
742
773
  @is_no_public_ip_enabled.setter
743
- def is_no_public_ip_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
774
+ def is_no_public_ip_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
744
775
  pulumi.set(self, "is_no_public_ip_enabled", value)
745
776
 
746
- @property
777
+ @_builtins.property
747
778
  @pulumi.getter
748
- def location(self) -> Optional[pulumi.Input[builtins.str]]:
779
+ def location(self) -> Optional[pulumi.Input[_builtins.str]]:
749
780
  """
750
781
  region of the subnet.
751
782
  """
752
783
  return pulumi.get(self, "location")
753
784
 
754
785
  @location.setter
755
- def location(self, value: Optional[pulumi.Input[builtins.str]]):
786
+ def location(self, value: Optional[pulumi.Input[_builtins.str]]):
756
787
  pulumi.set(self, "location", value)
757
788
 
758
- @property
789
+ @_builtins.property
759
790
  @pulumi.getter(name="managedServicesCustomerManagedKeyId")
760
- def managed_services_customer_managed_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
791
+ def managed_services_customer_managed_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
761
792
  """
762
793
  `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
763
794
  """
764
795
  return pulumi.get(self, "managed_services_customer_managed_key_id")
765
796
 
766
797
  @managed_services_customer_managed_key_id.setter
767
- def managed_services_customer_managed_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
798
+ def managed_services_customer_managed_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
768
799
  pulumi.set(self, "managed_services_customer_managed_key_id", value)
769
800
 
770
- @property
801
+ @_builtins.property
771
802
  @pulumi.getter(name="networkId")
772
- def network_id(self) -> Optional[pulumi.Input[builtins.str]]:
803
+ def network_id(self) -> Optional[pulumi.Input[_builtins.str]]:
773
804
  """
774
805
  `network_id` from networks.
775
806
  """
776
807
  return pulumi.get(self, "network_id")
777
808
 
778
809
  @network_id.setter
779
- def network_id(self, value: Optional[pulumi.Input[builtins.str]]):
810
+ def network_id(self, value: Optional[pulumi.Input[_builtins.str]]):
780
811
  pulumi.set(self, "network_id", value)
781
812
 
782
- @property
813
+ @_builtins.property
783
814
  @pulumi.getter(name="pricingTier")
784
- def pricing_tier(self) -> Optional[pulumi.Input[builtins.str]]:
815
+ def pricing_tier(self) -> Optional[pulumi.Input[_builtins.str]]:
785
816
  """
786
817
  The pricing tier of the workspace.
787
818
  """
788
819
  return pulumi.get(self, "pricing_tier")
789
820
 
790
821
  @pricing_tier.setter
791
- def pricing_tier(self, value: Optional[pulumi.Input[builtins.str]]):
822
+ def pricing_tier(self, value: Optional[pulumi.Input[_builtins.str]]):
792
823
  pulumi.set(self, "pricing_tier", value)
793
824
 
794
- @property
825
+ @_builtins.property
795
826
  @pulumi.getter(name="privateAccessSettingsId")
796
- def private_access_settings_id(self) -> Optional[pulumi.Input[builtins.str]]:
827
+ def private_access_settings_id(self) -> Optional[pulumi.Input[_builtins.str]]:
797
828
  """
798
829
  Canonical unique identifier of MwsPrivateAccessSettings in Databricks Account.
799
830
  """
800
831
  return pulumi.get(self, "private_access_settings_id")
801
832
 
802
833
  @private_access_settings_id.setter
803
- def private_access_settings_id(self, value: Optional[pulumi.Input[builtins.str]]):
834
+ def private_access_settings_id(self, value: Optional[pulumi.Input[_builtins.str]]):
804
835
  pulumi.set(self, "private_access_settings_id", value)
805
836
 
806
- @property
837
+ @_builtins.property
807
838
  @pulumi.getter(name="storageConfigurationId")
808
- def storage_configuration_id(self) -> Optional[pulumi.Input[builtins.str]]:
839
+ def storage_configuration_id(self) -> Optional[pulumi.Input[_builtins.str]]:
809
840
  """
810
841
  `storage_configuration_id` from storage configuration. This must not be specified when `compute_mode` is set to `SERVERLESS`.
811
842
  """
812
843
  return pulumi.get(self, "storage_configuration_id")
813
844
 
814
845
  @storage_configuration_id.setter
815
- def storage_configuration_id(self, value: Optional[pulumi.Input[builtins.str]]):
846
+ def storage_configuration_id(self, value: Optional[pulumi.Input[_builtins.str]]):
816
847
  pulumi.set(self, "storage_configuration_id", value)
817
848
 
818
- @property
849
+ @_builtins.property
819
850
  @pulumi.getter(name="storageCustomerManagedKeyId")
820
- def storage_customer_managed_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
851
+ def storage_customer_managed_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
821
852
  """
822
853
  `customer_managed_key_id` from customer managed keys with `use_cases` set to `STORAGE`. This is used to encrypt the DBFS Storage & Cluster Volumes.
823
854
  """
824
855
  return pulumi.get(self, "storage_customer_managed_key_id")
825
856
 
826
857
  @storage_customer_managed_key_id.setter
827
- def storage_customer_managed_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
858
+ def storage_customer_managed_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
828
859
  pulumi.set(self, "storage_customer_managed_key_id", value)
829
860
 
830
- @property
861
+ @_builtins.property
831
862
  @pulumi.getter
832
863
  def token(self) -> Optional[pulumi.Input['MwsWorkspacesTokenArgs']]:
833
864
  return pulumi.get(self, "token")
@@ -836,64 +867,64 @@ class _MwsWorkspacesState:
836
867
  def token(self, value: Optional[pulumi.Input['MwsWorkspacesTokenArgs']]):
837
868
  pulumi.set(self, "token", value)
838
869
 
839
- @property
870
+ @_builtins.property
840
871
  @pulumi.getter(name="workspaceId")
841
- def workspace_id(self) -> Optional[pulumi.Input[builtins.str]]:
872
+ def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
842
873
  """
843
874
  (String) workspace id
844
875
  """
845
876
  return pulumi.get(self, "workspace_id")
846
877
 
847
878
  @workspace_id.setter
848
- def workspace_id(self, value: Optional[pulumi.Input[builtins.str]]):
879
+ def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
849
880
  pulumi.set(self, "workspace_id", value)
850
881
 
851
- @property
882
+ @_builtins.property
852
883
  @pulumi.getter(name="workspaceName")
853
- def workspace_name(self) -> Optional[pulumi.Input[builtins.str]]:
884
+ def workspace_name(self) -> Optional[pulumi.Input[_builtins.str]]:
854
885
  """
855
886
  name of the workspace, will appear on UI.
856
887
  """
857
888
  return pulumi.get(self, "workspace_name")
858
889
 
859
890
  @workspace_name.setter
860
- def workspace_name(self, value: Optional[pulumi.Input[builtins.str]]):
891
+ def workspace_name(self, value: Optional[pulumi.Input[_builtins.str]]):
861
892
  pulumi.set(self, "workspace_name", value)
862
893
 
863
- @property
894
+ @_builtins.property
864
895
  @pulumi.getter(name="workspaceStatus")
865
- def workspace_status(self) -> Optional[pulumi.Input[builtins.str]]:
896
+ def workspace_status(self) -> Optional[pulumi.Input[_builtins.str]]:
866
897
  """
867
898
  (String) workspace status
868
899
  """
869
900
  return pulumi.get(self, "workspace_status")
870
901
 
871
902
  @workspace_status.setter
872
- def workspace_status(self, value: Optional[pulumi.Input[builtins.str]]):
903
+ def workspace_status(self, value: Optional[pulumi.Input[_builtins.str]]):
873
904
  pulumi.set(self, "workspace_status", value)
874
905
 
875
- @property
906
+ @_builtins.property
876
907
  @pulumi.getter(name="workspaceStatusMessage")
877
- def workspace_status_message(self) -> Optional[pulumi.Input[builtins.str]]:
908
+ def workspace_status_message(self) -> Optional[pulumi.Input[_builtins.str]]:
878
909
  """
879
910
  (String) updates on workspace status
880
911
  """
881
912
  return pulumi.get(self, "workspace_status_message")
882
913
 
883
914
  @workspace_status_message.setter
884
- def workspace_status_message(self, value: Optional[pulumi.Input[builtins.str]]):
915
+ def workspace_status_message(self, value: Optional[pulumi.Input[_builtins.str]]):
885
916
  pulumi.set(self, "workspace_status_message", value)
886
917
 
887
- @property
918
+ @_builtins.property
888
919
  @pulumi.getter(name="workspaceUrl")
889
- def workspace_url(self) -> Optional[pulumi.Input[builtins.str]]:
920
+ def workspace_url(self) -> Optional[pulumi.Input[_builtins.str]]:
890
921
  """
891
922
  (String) URL of the workspace
892
923
  """
893
924
  return pulumi.get(self, "workspace_url")
894
925
 
895
926
  @workspace_url.setter
896
- def workspace_url(self, value: Optional[pulumi.Input[builtins.str]]):
927
+ def workspace_url(self, value: Optional[pulumi.Input[_builtins.str]]):
897
928
  pulumi.set(self, "workspace_url", value)
898
929
 
899
930
 
@@ -903,33 +934,34 @@ class MwsWorkspaces(pulumi.CustomResource):
903
934
  def __init__(__self__,
904
935
  resource_name: str,
905
936
  opts: Optional[pulumi.ResourceOptions] = None,
906
- account_id: Optional[pulumi.Input[builtins.str]] = None,
907
- aws_region: Optional[pulumi.Input[builtins.str]] = None,
908
- cloud: Optional[pulumi.Input[builtins.str]] = None,
937
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
938
+ aws_region: Optional[pulumi.Input[_builtins.str]] = None,
939
+ cloud: Optional[pulumi.Input[_builtins.str]] = None,
909
940
  cloud_resource_container: Optional[pulumi.Input[Union['MwsWorkspacesCloudResourceContainerArgs', 'MwsWorkspacesCloudResourceContainerArgsDict']]] = None,
910
- compute_mode: Optional[pulumi.Input[builtins.str]] = None,
911
- creation_time: Optional[pulumi.Input[builtins.int]] = None,
912
- credentials_id: Optional[pulumi.Input[builtins.str]] = None,
913
- custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
914
- customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
915
- deployment_name: Optional[pulumi.Input[builtins.str]] = None,
941
+ compute_mode: Optional[pulumi.Input[_builtins.str]] = None,
942
+ creation_time: Optional[pulumi.Input[_builtins.int]] = None,
943
+ credentials_id: Optional[pulumi.Input[_builtins.str]] = None,
944
+ custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
945
+ customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
946
+ deployment_name: Optional[pulumi.Input[_builtins.str]] = None,
947
+ expected_workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
916
948
  external_customer_info: Optional[pulumi.Input[Union['MwsWorkspacesExternalCustomerInfoArgs', 'MwsWorkspacesExternalCustomerInfoArgsDict']]] = None,
917
949
  gcp_managed_network_config: Optional[pulumi.Input[Union['MwsWorkspacesGcpManagedNetworkConfigArgs', 'MwsWorkspacesGcpManagedNetworkConfigArgsDict']]] = None,
918
950
  gke_config: Optional[pulumi.Input[Union['MwsWorkspacesGkeConfigArgs', 'MwsWorkspacesGkeConfigArgsDict']]] = None,
919
- is_no_public_ip_enabled: Optional[pulumi.Input[builtins.bool]] = None,
920
- location: Optional[pulumi.Input[builtins.str]] = None,
921
- managed_services_customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
922
- network_id: Optional[pulumi.Input[builtins.str]] = None,
923
- pricing_tier: Optional[pulumi.Input[builtins.str]] = None,
924
- private_access_settings_id: Optional[pulumi.Input[builtins.str]] = None,
925
- storage_configuration_id: Optional[pulumi.Input[builtins.str]] = None,
926
- storage_customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
951
+ is_no_public_ip_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
952
+ location: Optional[pulumi.Input[_builtins.str]] = None,
953
+ managed_services_customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
954
+ network_id: Optional[pulumi.Input[_builtins.str]] = None,
955
+ pricing_tier: Optional[pulumi.Input[_builtins.str]] = None,
956
+ private_access_settings_id: Optional[pulumi.Input[_builtins.str]] = None,
957
+ storage_configuration_id: Optional[pulumi.Input[_builtins.str]] = None,
958
+ storage_customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
927
959
  token: Optional[pulumi.Input[Union['MwsWorkspacesTokenArgs', 'MwsWorkspacesTokenArgsDict']]] = None,
928
- workspace_id: Optional[pulumi.Input[builtins.str]] = None,
929
- workspace_name: Optional[pulumi.Input[builtins.str]] = None,
930
- workspace_status: Optional[pulumi.Input[builtins.str]] = None,
931
- workspace_status_message: Optional[pulumi.Input[builtins.str]] = None,
932
- workspace_url: Optional[pulumi.Input[builtins.str]] = None,
960
+ workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
961
+ workspace_name: Optional[pulumi.Input[_builtins.str]] = None,
962
+ workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
963
+ workspace_status_message: Optional[pulumi.Input[_builtins.str]] = None,
964
+ workspace_url: Optional[pulumi.Input[_builtins.str]] = None,
933
965
  __props__=None):
934
966
  """
935
967
  This resource allows you to set up [workspaces on AWS](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1) or [workspaces on GCP](https://docs.gcp.databricks.com/administration-guide/account-settings-gcp/workspaces.html). Please follow this complete runnable example on AWS or GCP with new VPC and new workspace setup.
@@ -1038,17 +1070,17 @@ class MwsWorkspaces(pulumi.CustomResource):
1038
1070
  account_id=databricks_account_id,
1039
1071
  credentials_name=f"{prefix}-creds",
1040
1072
  role_arn=cross_account_role.arn)
1041
- root_storage_bucket = aws.s3.BucketV2("root_storage_bucket",
1073
+ root_storage_bucket = aws.s3.Bucket("root_storage_bucket",
1042
1074
  bucket=f"{prefix}-rootbucket",
1043
- acl="private",
1075
+ acl=aws.s3.CannedAcl.PRIVATE,
1044
1076
  force_destroy=True,
1045
1077
  tags=tags)
1046
- root_versioning = aws.s3.BucketVersioningV2("root_versioning",
1078
+ root_versioning = aws.s3.BucketVersioning("root_versioning",
1047
1079
  bucket=root_storage_bucket.id,
1048
1080
  versioning_configuration={
1049
1081
  "status": "Disabled",
1050
1082
  })
1051
- root_storage_bucket_bucket_server_side_encryption_configuration_v2 = aws.s3.BucketServerSideEncryptionConfigurationV2("root_storage_bucket",
1083
+ root_storage_bucket_bucket_server_side_encryption_configuration = aws.s3.BucketServerSideEncryptionConfiguration("root_storage_bucket",
1052
1084
  bucket=root_storage_bucket.bucket,
1053
1085
  rules=[{
1054
1086
  "apply_server_side_encryption_by_default": {
@@ -1162,28 +1194,29 @@ class MwsWorkspaces(pulumi.CustomResource):
1162
1194
 
1163
1195
  :param str resource_name: The name of the resource.
1164
1196
  :param pulumi.ResourceOptions opts: Options for the resource.
1165
- :param pulumi.Input[builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
1166
- :param pulumi.Input[builtins.str] aws_region: region of VPC.
1197
+ :param pulumi.Input[_builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
1198
+ :param pulumi.Input[_builtins.str] aws_region: region of VPC.
1167
1199
  :param pulumi.Input[Union['MwsWorkspacesCloudResourceContainerArgs', 'MwsWorkspacesCloudResourceContainerArgsDict']] cloud_resource_container: A block that specifies GCP workspace configurations, consisting of following blocks:
1168
- :param pulumi.Input[builtins.str] compute_mode: The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
1200
+ :param pulumi.Input[_builtins.str] compute_mode: The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
1201
+ :param pulumi.Input[_builtins.int] creation_time: (Integer) time when workspace was created
1202
+ :param pulumi.Input[_builtins.str] credentials_id: `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
1203
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_tags: The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
1204
+ :param pulumi.Input[_builtins.str] deployment_name: part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
1205
+ :param pulumi.Input[_builtins.str] expected_workspace_status: The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
1169
1206
 
1170
1207
  > Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
1171
- :param pulumi.Input[builtins.int] creation_time: (Integer) time when workspace was created
1172
- :param pulumi.Input[builtins.str] credentials_id: `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
1173
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_tags: The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
1174
- :param pulumi.Input[builtins.str] deployment_name: part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
1175
- :param pulumi.Input[builtins.str] location: region of the subnet.
1176
- :param pulumi.Input[builtins.str] managed_services_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
1177
- :param pulumi.Input[builtins.str] network_id: `network_id` from networks.
1178
- :param pulumi.Input[builtins.str] pricing_tier: The pricing tier of the workspace.
1179
- :param pulumi.Input[builtins.str] private_access_settings_id: Canonical unique identifier of MwsPrivateAccessSettings in Databricks Account.
1180
- :param pulumi.Input[builtins.str] storage_configuration_id: `storage_configuration_id` from storage configuration. This must not be specified when `compute_mode` is set to `SERVERLESS`.
1181
- :param pulumi.Input[builtins.str] storage_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `STORAGE`. This is used to encrypt the DBFS Storage & Cluster Volumes.
1182
- :param pulumi.Input[builtins.str] workspace_id: (String) workspace id
1183
- :param pulumi.Input[builtins.str] workspace_name: name of the workspace, will appear on UI.
1184
- :param pulumi.Input[builtins.str] workspace_status: (String) workspace status
1185
- :param pulumi.Input[builtins.str] workspace_status_message: (String) updates on workspace status
1186
- :param pulumi.Input[builtins.str] workspace_url: (String) URL of the workspace
1208
+ :param pulumi.Input[_builtins.str] location: region of the subnet.
1209
+ :param pulumi.Input[_builtins.str] managed_services_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
1210
+ :param pulumi.Input[_builtins.str] network_id: `network_id` from networks.
1211
+ :param pulumi.Input[_builtins.str] pricing_tier: The pricing tier of the workspace.
1212
+ :param pulumi.Input[_builtins.str] private_access_settings_id: Canonical unique identifier of MwsPrivateAccessSettings in Databricks Account.
1213
+ :param pulumi.Input[_builtins.str] storage_configuration_id: `storage_configuration_id` from storage configuration. This must not be specified when `compute_mode` is set to `SERVERLESS`.
1214
+ :param pulumi.Input[_builtins.str] storage_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `STORAGE`. This is used to encrypt the DBFS Storage & Cluster Volumes.
1215
+ :param pulumi.Input[_builtins.str] workspace_id: (String) workspace id
1216
+ :param pulumi.Input[_builtins.str] workspace_name: name of the workspace, will appear on UI.
1217
+ :param pulumi.Input[_builtins.str] workspace_status: (String) workspace status
1218
+ :param pulumi.Input[_builtins.str] workspace_status_message: (String) updates on workspace status
1219
+ :param pulumi.Input[_builtins.str] workspace_url: (String) URL of the workspace
1187
1220
  """
1188
1221
  ...
1189
1222
  @overload
@@ -1298,17 +1331,17 @@ class MwsWorkspaces(pulumi.CustomResource):
1298
1331
  account_id=databricks_account_id,
1299
1332
  credentials_name=f"{prefix}-creds",
1300
1333
  role_arn=cross_account_role.arn)
1301
- root_storage_bucket = aws.s3.BucketV2("root_storage_bucket",
1334
+ root_storage_bucket = aws.s3.Bucket("root_storage_bucket",
1302
1335
  bucket=f"{prefix}-rootbucket",
1303
- acl="private",
1336
+ acl=aws.s3.CannedAcl.PRIVATE,
1304
1337
  force_destroy=True,
1305
1338
  tags=tags)
1306
- root_versioning = aws.s3.BucketVersioningV2("root_versioning",
1339
+ root_versioning = aws.s3.BucketVersioning("root_versioning",
1307
1340
  bucket=root_storage_bucket.id,
1308
1341
  versioning_configuration={
1309
1342
  "status": "Disabled",
1310
1343
  })
1311
- root_storage_bucket_bucket_server_side_encryption_configuration_v2 = aws.s3.BucketServerSideEncryptionConfigurationV2("root_storage_bucket",
1344
+ root_storage_bucket_bucket_server_side_encryption_configuration = aws.s3.BucketServerSideEncryptionConfiguration("root_storage_bucket",
1312
1345
  bucket=root_storage_bucket.bucket,
1313
1346
  rules=[{
1314
1347
  "apply_server_side_encryption_by_default": {
@@ -1435,33 +1468,34 @@ class MwsWorkspaces(pulumi.CustomResource):
1435
1468
  def _internal_init(__self__,
1436
1469
  resource_name: str,
1437
1470
  opts: Optional[pulumi.ResourceOptions] = None,
1438
- account_id: Optional[pulumi.Input[builtins.str]] = None,
1439
- aws_region: Optional[pulumi.Input[builtins.str]] = None,
1440
- cloud: Optional[pulumi.Input[builtins.str]] = None,
1471
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
1472
+ aws_region: Optional[pulumi.Input[_builtins.str]] = None,
1473
+ cloud: Optional[pulumi.Input[_builtins.str]] = None,
1441
1474
  cloud_resource_container: Optional[pulumi.Input[Union['MwsWorkspacesCloudResourceContainerArgs', 'MwsWorkspacesCloudResourceContainerArgsDict']]] = None,
1442
- compute_mode: Optional[pulumi.Input[builtins.str]] = None,
1443
- creation_time: Optional[pulumi.Input[builtins.int]] = None,
1444
- credentials_id: Optional[pulumi.Input[builtins.str]] = None,
1445
- custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1446
- customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
1447
- deployment_name: Optional[pulumi.Input[builtins.str]] = None,
1475
+ compute_mode: Optional[pulumi.Input[_builtins.str]] = None,
1476
+ creation_time: Optional[pulumi.Input[_builtins.int]] = None,
1477
+ credentials_id: Optional[pulumi.Input[_builtins.str]] = None,
1478
+ custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
1479
+ customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
1480
+ deployment_name: Optional[pulumi.Input[_builtins.str]] = None,
1481
+ expected_workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
1448
1482
  external_customer_info: Optional[pulumi.Input[Union['MwsWorkspacesExternalCustomerInfoArgs', 'MwsWorkspacesExternalCustomerInfoArgsDict']]] = None,
1449
1483
  gcp_managed_network_config: Optional[pulumi.Input[Union['MwsWorkspacesGcpManagedNetworkConfigArgs', 'MwsWorkspacesGcpManagedNetworkConfigArgsDict']]] = None,
1450
1484
  gke_config: Optional[pulumi.Input[Union['MwsWorkspacesGkeConfigArgs', 'MwsWorkspacesGkeConfigArgsDict']]] = None,
1451
- is_no_public_ip_enabled: Optional[pulumi.Input[builtins.bool]] = None,
1452
- location: Optional[pulumi.Input[builtins.str]] = None,
1453
- managed_services_customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
1454
- network_id: Optional[pulumi.Input[builtins.str]] = None,
1455
- pricing_tier: Optional[pulumi.Input[builtins.str]] = None,
1456
- private_access_settings_id: Optional[pulumi.Input[builtins.str]] = None,
1457
- storage_configuration_id: Optional[pulumi.Input[builtins.str]] = None,
1458
- storage_customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
1485
+ is_no_public_ip_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
1486
+ location: Optional[pulumi.Input[_builtins.str]] = None,
1487
+ managed_services_customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
1488
+ network_id: Optional[pulumi.Input[_builtins.str]] = None,
1489
+ pricing_tier: Optional[pulumi.Input[_builtins.str]] = None,
1490
+ private_access_settings_id: Optional[pulumi.Input[_builtins.str]] = None,
1491
+ storage_configuration_id: Optional[pulumi.Input[_builtins.str]] = None,
1492
+ storage_customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
1459
1493
  token: Optional[pulumi.Input[Union['MwsWorkspacesTokenArgs', 'MwsWorkspacesTokenArgsDict']]] = None,
1460
- workspace_id: Optional[pulumi.Input[builtins.str]] = None,
1461
- workspace_name: Optional[pulumi.Input[builtins.str]] = None,
1462
- workspace_status: Optional[pulumi.Input[builtins.str]] = None,
1463
- workspace_status_message: Optional[pulumi.Input[builtins.str]] = None,
1464
- workspace_url: Optional[pulumi.Input[builtins.str]] = None,
1494
+ workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
1495
+ workspace_name: Optional[pulumi.Input[_builtins.str]] = None,
1496
+ workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
1497
+ workspace_status_message: Optional[pulumi.Input[_builtins.str]] = None,
1498
+ workspace_url: Optional[pulumi.Input[_builtins.str]] = None,
1465
1499
  __props__=None):
1466
1500
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
1467
1501
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -1483,6 +1517,7 @@ class MwsWorkspaces(pulumi.CustomResource):
1483
1517
  __props__.__dict__["custom_tags"] = custom_tags
1484
1518
  __props__.__dict__["customer_managed_key_id"] = customer_managed_key_id
1485
1519
  __props__.__dict__["deployment_name"] = deployment_name
1520
+ __props__.__dict__["expected_workspace_status"] = expected_workspace_status
1486
1521
  __props__.__dict__["external_customer_info"] = external_customer_info
1487
1522
  __props__.__dict__["gcp_managed_network_config"] = gcp_managed_network_config
1488
1523
  __props__.__dict__["gke_config"] = gke_config
@@ -1516,35 +1551,36 @@ class MwsWorkspaces(pulumi.CustomResource):
1516
1551
  def get(resource_name: str,
1517
1552
  id: pulumi.Input[str],
1518
1553
  opts: Optional[pulumi.ResourceOptions] = None,
1519
- account_id: Optional[pulumi.Input[builtins.str]] = None,
1520
- aws_region: Optional[pulumi.Input[builtins.str]] = None,
1521
- cloud: Optional[pulumi.Input[builtins.str]] = None,
1554
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
1555
+ aws_region: Optional[pulumi.Input[_builtins.str]] = None,
1556
+ cloud: Optional[pulumi.Input[_builtins.str]] = None,
1522
1557
  cloud_resource_container: Optional[pulumi.Input[Union['MwsWorkspacesCloudResourceContainerArgs', 'MwsWorkspacesCloudResourceContainerArgsDict']]] = None,
1523
- compute_mode: Optional[pulumi.Input[builtins.str]] = None,
1524
- creation_time: Optional[pulumi.Input[builtins.int]] = None,
1525
- credentials_id: Optional[pulumi.Input[builtins.str]] = None,
1526
- custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1527
- customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
1528
- deployment_name: Optional[pulumi.Input[builtins.str]] = None,
1529
- effective_compute_mode: Optional[pulumi.Input[builtins.str]] = None,
1558
+ compute_mode: Optional[pulumi.Input[_builtins.str]] = None,
1559
+ creation_time: Optional[pulumi.Input[_builtins.int]] = None,
1560
+ credentials_id: Optional[pulumi.Input[_builtins.str]] = None,
1561
+ custom_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
1562
+ customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
1563
+ deployment_name: Optional[pulumi.Input[_builtins.str]] = None,
1564
+ effective_compute_mode: Optional[pulumi.Input[_builtins.str]] = None,
1565
+ expected_workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
1530
1566
  external_customer_info: Optional[pulumi.Input[Union['MwsWorkspacesExternalCustomerInfoArgs', 'MwsWorkspacesExternalCustomerInfoArgsDict']]] = None,
1531
1567
  gcp_managed_network_config: Optional[pulumi.Input[Union['MwsWorkspacesGcpManagedNetworkConfigArgs', 'MwsWorkspacesGcpManagedNetworkConfigArgsDict']]] = None,
1532
- gcp_workspace_sa: Optional[pulumi.Input[builtins.str]] = None,
1568
+ gcp_workspace_sa: Optional[pulumi.Input[_builtins.str]] = None,
1533
1569
  gke_config: Optional[pulumi.Input[Union['MwsWorkspacesGkeConfigArgs', 'MwsWorkspacesGkeConfigArgsDict']]] = None,
1534
- is_no_public_ip_enabled: Optional[pulumi.Input[builtins.bool]] = None,
1535
- location: Optional[pulumi.Input[builtins.str]] = None,
1536
- managed_services_customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
1537
- network_id: Optional[pulumi.Input[builtins.str]] = None,
1538
- pricing_tier: Optional[pulumi.Input[builtins.str]] = None,
1539
- private_access_settings_id: Optional[pulumi.Input[builtins.str]] = None,
1540
- storage_configuration_id: Optional[pulumi.Input[builtins.str]] = None,
1541
- storage_customer_managed_key_id: Optional[pulumi.Input[builtins.str]] = None,
1570
+ is_no_public_ip_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
1571
+ location: Optional[pulumi.Input[_builtins.str]] = None,
1572
+ managed_services_customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
1573
+ network_id: Optional[pulumi.Input[_builtins.str]] = None,
1574
+ pricing_tier: Optional[pulumi.Input[_builtins.str]] = None,
1575
+ private_access_settings_id: Optional[pulumi.Input[_builtins.str]] = None,
1576
+ storage_configuration_id: Optional[pulumi.Input[_builtins.str]] = None,
1577
+ storage_customer_managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
1542
1578
  token: Optional[pulumi.Input[Union['MwsWorkspacesTokenArgs', 'MwsWorkspacesTokenArgsDict']]] = None,
1543
- workspace_id: Optional[pulumi.Input[builtins.str]] = None,
1544
- workspace_name: Optional[pulumi.Input[builtins.str]] = None,
1545
- workspace_status: Optional[pulumi.Input[builtins.str]] = None,
1546
- workspace_status_message: Optional[pulumi.Input[builtins.str]] = None,
1547
- workspace_url: Optional[pulumi.Input[builtins.str]] = None) -> 'MwsWorkspaces':
1579
+ workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
1580
+ workspace_name: Optional[pulumi.Input[_builtins.str]] = None,
1581
+ workspace_status: Optional[pulumi.Input[_builtins.str]] = None,
1582
+ workspace_status_message: Optional[pulumi.Input[_builtins.str]] = None,
1583
+ workspace_url: Optional[pulumi.Input[_builtins.str]] = None) -> 'MwsWorkspaces':
1548
1584
  """
1549
1585
  Get an existing MwsWorkspaces resource's state with the given name, id, and optional extra
1550
1586
  properties used to qualify the lookup.
@@ -1552,30 +1588,31 @@ class MwsWorkspaces(pulumi.CustomResource):
1552
1588
  :param str resource_name: The unique name of the resulting resource.
1553
1589
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1554
1590
  :param pulumi.ResourceOptions opts: Options for the resource.
1555
- :param pulumi.Input[builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
1556
- :param pulumi.Input[builtins.str] aws_region: region of VPC.
1591
+ :param pulumi.Input[_builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
1592
+ :param pulumi.Input[_builtins.str] aws_region: region of VPC.
1557
1593
  :param pulumi.Input[Union['MwsWorkspacesCloudResourceContainerArgs', 'MwsWorkspacesCloudResourceContainerArgsDict']] cloud_resource_container: A block that specifies GCP workspace configurations, consisting of following blocks:
1558
- :param pulumi.Input[builtins.str] compute_mode: The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
1594
+ :param pulumi.Input[_builtins.str] compute_mode: The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
1595
+ :param pulumi.Input[_builtins.int] creation_time: (Integer) time when workspace was created
1596
+ :param pulumi.Input[_builtins.str] credentials_id: `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
1597
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_tags: The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
1598
+ :param pulumi.Input[_builtins.str] deployment_name: part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
1599
+ :param pulumi.Input[_builtins.str] effective_compute_mode: (String) The effective compute mode for the workspace. This is either `SERVERLESS` for serverless workspaces or `HYBRID` for classic workspaces.
1600
+ :param pulumi.Input[_builtins.str] expected_workspace_status: The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
1559
1601
 
1560
1602
  > Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
1561
- :param pulumi.Input[builtins.int] creation_time: (Integer) time when workspace was created
1562
- :param pulumi.Input[builtins.str] credentials_id: `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
1563
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_tags: The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
1564
- :param pulumi.Input[builtins.str] deployment_name: part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
1565
- :param pulumi.Input[builtins.str] effective_compute_mode: (String) The effective compute mode for the workspace. This is either `SERVERLESS` for serverless workspaces or `HYBRID` for classic workspaces.
1566
- :param pulumi.Input[builtins.str] gcp_workspace_sa: (String, GCP only) identifier of a service account created for the workspace in form of `db-<workspace-id>@prod-gcp-<region>.iam.gserviceaccount.com`
1567
- :param pulumi.Input[builtins.str] location: region of the subnet.
1568
- :param pulumi.Input[builtins.str] managed_services_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
1569
- :param pulumi.Input[builtins.str] network_id: `network_id` from networks.
1570
- :param pulumi.Input[builtins.str] pricing_tier: The pricing tier of the workspace.
1571
- :param pulumi.Input[builtins.str] private_access_settings_id: Canonical unique identifier of MwsPrivateAccessSettings in Databricks Account.
1572
- :param pulumi.Input[builtins.str] storage_configuration_id: `storage_configuration_id` from storage configuration. This must not be specified when `compute_mode` is set to `SERVERLESS`.
1573
- :param pulumi.Input[builtins.str] storage_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `STORAGE`. This is used to encrypt the DBFS Storage & Cluster Volumes.
1574
- :param pulumi.Input[builtins.str] workspace_id: (String) workspace id
1575
- :param pulumi.Input[builtins.str] workspace_name: name of the workspace, will appear on UI.
1576
- :param pulumi.Input[builtins.str] workspace_status: (String) workspace status
1577
- :param pulumi.Input[builtins.str] workspace_status_message: (String) updates on workspace status
1578
- :param pulumi.Input[builtins.str] workspace_url: (String) URL of the workspace
1603
+ :param pulumi.Input[_builtins.str] gcp_workspace_sa: (String, GCP only) identifier of a service account created for the workspace in form of `db-<workspace-id>@prod-gcp-<region>.iam.gserviceaccount.com`
1604
+ :param pulumi.Input[_builtins.str] location: region of the subnet.
1605
+ :param pulumi.Input[_builtins.str] managed_services_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
1606
+ :param pulumi.Input[_builtins.str] network_id: `network_id` from networks.
1607
+ :param pulumi.Input[_builtins.str] pricing_tier: The pricing tier of the workspace.
1608
+ :param pulumi.Input[_builtins.str] private_access_settings_id: Canonical unique identifier of MwsPrivateAccessSettings in Databricks Account.
1609
+ :param pulumi.Input[_builtins.str] storage_configuration_id: `storage_configuration_id` from storage configuration. This must not be specified when `compute_mode` is set to `SERVERLESS`.
1610
+ :param pulumi.Input[_builtins.str] storage_customer_managed_key_id: `customer_managed_key_id` from customer managed keys with `use_cases` set to `STORAGE`. This is used to encrypt the DBFS Storage & Cluster Volumes.
1611
+ :param pulumi.Input[_builtins.str] workspace_id: (String) workspace id
1612
+ :param pulumi.Input[_builtins.str] workspace_name: name of the workspace, will appear on UI.
1613
+ :param pulumi.Input[_builtins.str] workspace_status: (String) workspace status
1614
+ :param pulumi.Input[_builtins.str] workspace_status_message: (String) updates on workspace status
1615
+ :param pulumi.Input[_builtins.str] workspace_url: (String) URL of the workspace
1579
1616
  """
1580
1617
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1581
1618
 
@@ -1592,6 +1629,7 @@ class MwsWorkspaces(pulumi.CustomResource):
1592
1629
  __props__.__dict__["customer_managed_key_id"] = customer_managed_key_id
1593
1630
  __props__.__dict__["deployment_name"] = deployment_name
1594
1631
  __props__.__dict__["effective_compute_mode"] = effective_compute_mode
1632
+ __props__.__dict__["expected_workspace_status"] = expected_workspace_status
1595
1633
  __props__.__dict__["external_customer_info"] = external_customer_info
1596
1634
  __props__.__dict__["gcp_managed_network_config"] = gcp_managed_network_config
1597
1635
  __props__.__dict__["gcp_workspace_sa"] = gcp_workspace_sa
@@ -1612,28 +1650,28 @@ class MwsWorkspaces(pulumi.CustomResource):
1612
1650
  __props__.__dict__["workspace_url"] = workspace_url
1613
1651
  return MwsWorkspaces(resource_name, opts=opts, __props__=__props__)
1614
1652
 
1615
- @property
1653
+ @_builtins.property
1616
1654
  @pulumi.getter(name="accountId")
1617
- def account_id(self) -> pulumi.Output[builtins.str]:
1655
+ def account_id(self) -> pulumi.Output[_builtins.str]:
1618
1656
  """
1619
1657
  Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
1620
1658
  """
1621
1659
  return pulumi.get(self, "account_id")
1622
1660
 
1623
- @property
1661
+ @_builtins.property
1624
1662
  @pulumi.getter(name="awsRegion")
1625
- def aws_region(self) -> pulumi.Output[Optional[builtins.str]]:
1663
+ def aws_region(self) -> pulumi.Output[Optional[_builtins.str]]:
1626
1664
  """
1627
1665
  region of VPC.
1628
1666
  """
1629
1667
  return pulumi.get(self, "aws_region")
1630
1668
 
1631
- @property
1669
+ @_builtins.property
1632
1670
  @pulumi.getter
1633
- def cloud(self) -> pulumi.Output[builtins.str]:
1671
+ def cloud(self) -> pulumi.Output[_builtins.str]:
1634
1672
  return pulumi.get(self, "cloud")
1635
1673
 
1636
- @property
1674
+ @_builtins.property
1637
1675
  @pulumi.getter(name="cloudResourceContainer")
1638
1676
  def cloud_resource_container(self) -> pulumi.Output[Optional['outputs.MwsWorkspacesCloudResourceContainer']]:
1639
1677
  """
@@ -1641,187 +1679,195 @@ class MwsWorkspaces(pulumi.CustomResource):
1641
1679
  """
1642
1680
  return pulumi.get(self, "cloud_resource_container")
1643
1681
 
1644
- @property
1682
+ @_builtins.property
1645
1683
  @pulumi.getter(name="computeMode")
1646
- def compute_mode(self) -> pulumi.Output[Optional[builtins.str]]:
1684
+ def compute_mode(self) -> pulumi.Output[Optional[_builtins.str]]:
1647
1685
  """
1648
1686
  The compute mode for the workspace. When unset, a classic workspace is created, and both `credentials_id` and `storage_configuration_id` must be specified. When set to `SERVERLESS`, the resulting workspace is a serverless workspace, and `credentials_id` and `storage_configuration_id` must not be set. The only allowed value for this is `SERVERLESS`. Changing this field requires recreation of the workspace.
1649
-
1650
- > Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
1651
1687
  """
1652
1688
  return pulumi.get(self, "compute_mode")
1653
1689
 
1654
- @property
1690
+ @_builtins.property
1655
1691
  @pulumi.getter(name="creationTime")
1656
- def creation_time(self) -> pulumi.Output[builtins.int]:
1692
+ def creation_time(self) -> pulumi.Output[_builtins.int]:
1657
1693
  """
1658
1694
  (Integer) time when workspace was created
1659
1695
  """
1660
1696
  return pulumi.get(self, "creation_time")
1661
1697
 
1662
- @property
1698
+ @_builtins.property
1663
1699
  @pulumi.getter(name="credentialsId")
1664
- def credentials_id(self) -> pulumi.Output[Optional[builtins.str]]:
1700
+ def credentials_id(self) -> pulumi.Output[Optional[_builtins.str]]:
1665
1701
  """
1666
1702
  `credentials_id` from credentials. This must not be specified when `compute_mode` is set to `SERVERLESS`.
1667
1703
  """
1668
1704
  return pulumi.get(self, "credentials_id")
1669
1705
 
1670
- @property
1706
+ @_builtins.property
1671
1707
  @pulumi.getter(name="customTags")
1672
- def custom_tags(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
1708
+ def custom_tags(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
1673
1709
  """
1674
1710
  The custom tags key-value pairing that is attached to this workspace. These tags will be applied to clusters automatically in addition to any `default_tags` or `custom_tags` on a cluster level. Please note it can take up to an hour for custom_tags to be set due to scheduling on Control Plane. After custom tags are applied, they can be modified however they can never be completely removed.
1675
1711
  """
1676
1712
  return pulumi.get(self, "custom_tags")
1677
1713
 
1678
- @property
1714
+ @_builtins.property
1679
1715
  @pulumi.getter(name="customerManagedKeyId")
1680
1716
  @_utilities.deprecated("""Use managed_services_customer_managed_key_id instead""")
1681
- def customer_managed_key_id(self) -> pulumi.Output[Optional[builtins.str]]:
1717
+ def customer_managed_key_id(self) -> pulumi.Output[Optional[_builtins.str]]:
1682
1718
  return pulumi.get(self, "customer_managed_key_id")
1683
1719
 
1684
- @property
1720
+ @_builtins.property
1685
1721
  @pulumi.getter(name="deploymentName")
1686
- def deployment_name(self) -> pulumi.Output[Optional[builtins.str]]:
1722
+ def deployment_name(self) -> pulumi.Output[Optional[_builtins.str]]:
1687
1723
  """
1688
1724
  part of URL as in `https://<prefix>-<deployment-name>.cloud.databricks.com`. Deployment name cannot be used until a deployment name prefix is defined. Please contact your Databricks representative. Once a new deployment prefix is added/updated, it only will affect the new workspaces created.
1689
1725
  """
1690
1726
  return pulumi.get(self, "deployment_name")
1691
1727
 
1692
- @property
1728
+ @_builtins.property
1693
1729
  @pulumi.getter(name="effectiveComputeMode")
1694
- def effective_compute_mode(self) -> pulumi.Output[builtins.str]:
1730
+ def effective_compute_mode(self) -> pulumi.Output[_builtins.str]:
1695
1731
  """
1696
1732
  (String) The effective compute mode for the workspace. This is either `SERVERLESS` for serverless workspaces or `HYBRID` for classic workspaces.
1697
1733
  """
1698
1734
  return pulumi.get(self, "effective_compute_mode")
1699
1735
 
1700
- @property
1736
+ @_builtins.property
1737
+ @pulumi.getter(name="expectedWorkspaceStatus")
1738
+ def expected_workspace_status(self) -> pulumi.Output[Optional[_builtins.str]]:
1739
+ """
1740
+ The expected status of the workspace. When unset, it defaults to `RUNNING`. When set to `PROVISIONING`, workspace provisioning will pause and not enter `RUNNING` status. The only allowed values for this is `RUNNING` and `PROVISIONING`.
1741
+
1742
+ > Databricks strongly recommends using OAuth instead of PATs for user account client authentication and authorization due to the improved security
1743
+ """
1744
+ return pulumi.get(self, "expected_workspace_status")
1745
+
1746
+ @_builtins.property
1701
1747
  @pulumi.getter(name="externalCustomerInfo")
1702
1748
  def external_customer_info(self) -> pulumi.Output[Optional['outputs.MwsWorkspacesExternalCustomerInfo']]:
1703
1749
  return pulumi.get(self, "external_customer_info")
1704
1750
 
1705
- @property
1751
+ @_builtins.property
1706
1752
  @pulumi.getter(name="gcpManagedNetworkConfig")
1707
1753
  def gcp_managed_network_config(self) -> pulumi.Output[Optional['outputs.MwsWorkspacesGcpManagedNetworkConfig']]:
1708
1754
  return pulumi.get(self, "gcp_managed_network_config")
1709
1755
 
1710
- @property
1756
+ @_builtins.property
1711
1757
  @pulumi.getter(name="gcpWorkspaceSa")
1712
- def gcp_workspace_sa(self) -> pulumi.Output[builtins.str]:
1758
+ def gcp_workspace_sa(self) -> pulumi.Output[_builtins.str]:
1713
1759
  """
1714
1760
  (String, GCP only) identifier of a service account created for the workspace in form of `db-<workspace-id>@prod-gcp-<region>.iam.gserviceaccount.com`
1715
1761
  """
1716
1762
  return pulumi.get(self, "gcp_workspace_sa")
1717
1763
 
1718
- @property
1764
+ @_builtins.property
1719
1765
  @pulumi.getter(name="gkeConfig")
1720
- @_utilities.deprecated("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.84.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
1766
+ @_utilities.deprecated("""gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.96.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
1721
1767
  def gke_config(self) -> pulumi.Output[Optional['outputs.MwsWorkspacesGkeConfig']]:
1722
1768
  return pulumi.get(self, "gke_config")
1723
1769
 
1724
- @property
1770
+ @_builtins.property
1725
1771
  @pulumi.getter(name="isNoPublicIpEnabled")
1726
- def is_no_public_ip_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
1772
+ def is_no_public_ip_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
1727
1773
  return pulumi.get(self, "is_no_public_ip_enabled")
1728
1774
 
1729
- @property
1775
+ @_builtins.property
1730
1776
  @pulumi.getter
1731
- def location(self) -> pulumi.Output[Optional[builtins.str]]:
1777
+ def location(self) -> pulumi.Output[Optional[_builtins.str]]:
1732
1778
  """
1733
1779
  region of the subnet.
1734
1780
  """
1735
1781
  return pulumi.get(self, "location")
1736
1782
 
1737
- @property
1783
+ @_builtins.property
1738
1784
  @pulumi.getter(name="managedServicesCustomerManagedKeyId")
1739
- def managed_services_customer_managed_key_id(self) -> pulumi.Output[Optional[builtins.str]]:
1785
+ def managed_services_customer_managed_key_id(self) -> pulumi.Output[Optional[_builtins.str]]:
1740
1786
  """
1741
1787
  `customer_managed_key_id` from customer managed keys with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
1742
1788
  """
1743
1789
  return pulumi.get(self, "managed_services_customer_managed_key_id")
1744
1790
 
1745
- @property
1791
+ @_builtins.property
1746
1792
  @pulumi.getter(name="networkId")
1747
- def network_id(self) -> pulumi.Output[Optional[builtins.str]]:
1793
+ def network_id(self) -> pulumi.Output[Optional[_builtins.str]]:
1748
1794
  """
1749
1795
  `network_id` from networks.
1750
1796
  """
1751
1797
  return pulumi.get(self, "network_id")
1752
1798
 
1753
- @property
1799
+ @_builtins.property
1754
1800
  @pulumi.getter(name="pricingTier")
1755
- def pricing_tier(self) -> pulumi.Output[builtins.str]:
1801
+ def pricing_tier(self) -> pulumi.Output[_builtins.str]:
1756
1802
  """
1757
1803
  The pricing tier of the workspace.
1758
1804
  """
1759
1805
  return pulumi.get(self, "pricing_tier")
1760
1806
 
1761
- @property
1807
+ @_builtins.property
1762
1808
  @pulumi.getter(name="privateAccessSettingsId")
1763
- def private_access_settings_id(self) -> pulumi.Output[Optional[builtins.str]]:
1809
+ def private_access_settings_id(self) -> pulumi.Output[Optional[_builtins.str]]:
1764
1810
  """
1765
1811
  Canonical unique identifier of MwsPrivateAccessSettings in Databricks Account.
1766
1812
  """
1767
1813
  return pulumi.get(self, "private_access_settings_id")
1768
1814
 
1769
- @property
1815
+ @_builtins.property
1770
1816
  @pulumi.getter(name="storageConfigurationId")
1771
- def storage_configuration_id(self) -> pulumi.Output[Optional[builtins.str]]:
1817
+ def storage_configuration_id(self) -> pulumi.Output[Optional[_builtins.str]]:
1772
1818
  """
1773
1819
  `storage_configuration_id` from storage configuration. This must not be specified when `compute_mode` is set to `SERVERLESS`.
1774
1820
  """
1775
1821
  return pulumi.get(self, "storage_configuration_id")
1776
1822
 
1777
- @property
1823
+ @_builtins.property
1778
1824
  @pulumi.getter(name="storageCustomerManagedKeyId")
1779
- def storage_customer_managed_key_id(self) -> pulumi.Output[Optional[builtins.str]]:
1825
+ def storage_customer_managed_key_id(self) -> pulumi.Output[Optional[_builtins.str]]:
1780
1826
  """
1781
1827
  `customer_managed_key_id` from customer managed keys with `use_cases` set to `STORAGE`. This is used to encrypt the DBFS Storage & Cluster Volumes.
1782
1828
  """
1783
1829
  return pulumi.get(self, "storage_customer_managed_key_id")
1784
1830
 
1785
- @property
1831
+ @_builtins.property
1786
1832
  @pulumi.getter
1787
1833
  def token(self) -> pulumi.Output[Optional['outputs.MwsWorkspacesToken']]:
1788
1834
  return pulumi.get(self, "token")
1789
1835
 
1790
- @property
1836
+ @_builtins.property
1791
1837
  @pulumi.getter(name="workspaceId")
1792
- def workspace_id(self) -> pulumi.Output[builtins.str]:
1838
+ def workspace_id(self) -> pulumi.Output[_builtins.str]:
1793
1839
  """
1794
1840
  (String) workspace id
1795
1841
  """
1796
1842
  return pulumi.get(self, "workspace_id")
1797
1843
 
1798
- @property
1844
+ @_builtins.property
1799
1845
  @pulumi.getter(name="workspaceName")
1800
- def workspace_name(self) -> pulumi.Output[builtins.str]:
1846
+ def workspace_name(self) -> pulumi.Output[_builtins.str]:
1801
1847
  """
1802
1848
  name of the workspace, will appear on UI.
1803
1849
  """
1804
1850
  return pulumi.get(self, "workspace_name")
1805
1851
 
1806
- @property
1852
+ @_builtins.property
1807
1853
  @pulumi.getter(name="workspaceStatus")
1808
- def workspace_status(self) -> pulumi.Output[builtins.str]:
1854
+ def workspace_status(self) -> pulumi.Output[_builtins.str]:
1809
1855
  """
1810
1856
  (String) workspace status
1811
1857
  """
1812
1858
  return pulumi.get(self, "workspace_status")
1813
1859
 
1814
- @property
1860
+ @_builtins.property
1815
1861
  @pulumi.getter(name="workspaceStatusMessage")
1816
- def workspace_status_message(self) -> pulumi.Output[builtins.str]:
1862
+ def workspace_status_message(self) -> pulumi.Output[_builtins.str]:
1817
1863
  """
1818
1864
  (String) updates on workspace status
1819
1865
  """
1820
1866
  return pulumi.get(self, "workspace_status_message")
1821
1867
 
1822
- @property
1868
+ @_builtins.property
1823
1869
  @pulumi.getter(name="workspaceUrl")
1824
- def workspace_url(self) -> pulumi.Output[builtins.str]:
1870
+ def workspace_url(self) -> pulumi.Output[_builtins.str]:
1825
1871
  """
1826
1872
  (String) URL of the workspace
1827
1873
  """