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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. pulumi_databricks/__init__.py +185 -12
  2. pulumi_databricks/_inputs.py +30467 -20225
  3. pulumi_databricks/access_control_rule_set.py +28 -29
  4. pulumi_databricks/account_federation_policy.py +473 -0
  5. pulumi_databricks/account_network_policy.py +74 -43
  6. pulumi_databricks/account_setting_v2.py +759 -0
  7. pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
  8. pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
  9. pulumi_databricks/alert.py +185 -186
  10. pulumi_databricks/alert_v2.py +369 -211
  11. pulumi_databricks/app.py +315 -209
  12. pulumi_databricks/apps_settings_custom_template.py +531 -0
  13. pulumi_databricks/artifact_allowlist.py +72 -73
  14. pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
  15. pulumi_databricks/budget.py +84 -85
  16. pulumi_databricks/budget_policy.py +75 -53
  17. pulumi_databricks/catalog.py +544 -225
  18. pulumi_databricks/catalog_workspace_binding.py +82 -83
  19. pulumi_databricks/cluster.py +561 -683
  20. pulumi_databricks/cluster_policy.py +115 -116
  21. pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
  22. pulumi_databricks/config/__init__.py +1 -1
  23. pulumi_databricks/config/__init__.pyi +3 -2
  24. pulumi_databricks/config/vars.py +40 -37
  25. pulumi_databricks/connection.py +346 -211
  26. pulumi_databricks/credential.py +262 -263
  27. pulumi_databricks/custom_app_integration.py +175 -176
  28. pulumi_databricks/dashboard.py +207 -208
  29. pulumi_databricks/data_quality_monitor.py +453 -0
  30. pulumi_databricks/data_quality_refresh.py +492 -0
  31. pulumi_databricks/database_database_catalog.py +437 -0
  32. pulumi_databricks/database_instance.py +938 -137
  33. pulumi_databricks/database_synced_database_table.py +589 -0
  34. pulumi_databricks/dbfs_file.py +87 -84
  35. pulumi_databricks/default_namespace_setting.py +30 -31
  36. pulumi_databricks/directory.py +61 -62
  37. pulumi_databricks/disable_legacy_access_setting.py +109 -33
  38. pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
  39. pulumi_databricks/disable_legacy_features_setting.py +62 -37
  40. pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
  41. pulumi_databricks/entitlements.py +148 -149
  42. pulumi_databricks/entity_tag_assignment.py +409 -0
  43. pulumi_databricks/external_location.py +276 -290
  44. pulumi_databricks/external_metadata.py +726 -0
  45. pulumi_databricks/feature_engineering_feature.py +480 -0
  46. pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
  47. pulumi_databricks/file.py +96 -97
  48. pulumi_databricks/get_account_federation_policies.py +127 -0
  49. pulumi_databricks/get_account_federation_policy.py +214 -0
  50. pulumi_databricks/get_account_network_policies.py +36 -7
  51. pulumi_databricks/get_account_network_policy.py +33 -29
  52. pulumi_databricks/get_account_setting_v2.py +331 -0
  53. pulumi_databricks/get_alert_v2.py +100 -84
  54. pulumi_databricks/get_alerts_v2.py +35 -17
  55. pulumi_databricks/get_app.py +31 -20
  56. pulumi_databricks/get_apps.py +26 -15
  57. pulumi_databricks/get_apps_settings_custom_template.py +207 -0
  58. pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
  59. pulumi_databricks/get_aws_assume_role_policy.py +27 -28
  60. pulumi_databricks/get_aws_bucket_policy.py +39 -40
  61. pulumi_databricks/get_aws_cross_account_policy.py +47 -48
  62. pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
  63. pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
  64. pulumi_databricks/get_budget_policies.py +74 -11
  65. pulumi_databricks/get_budget_policy.py +43 -39
  66. pulumi_databricks/get_catalog.py +35 -19
  67. pulumi_databricks/get_catalogs.py +32 -14
  68. pulumi_databricks/get_cluster.py +41 -25
  69. pulumi_databricks/get_cluster_policy.py +72 -54
  70. pulumi_databricks/get_clusters.py +41 -25
  71. pulumi_databricks/get_current_config.py +23 -24
  72. pulumi_databricks/get_current_metastore.py +29 -13
  73. pulumi_databricks/get_current_user.py +17 -18
  74. pulumi_databricks/get_dashboards.py +34 -15
  75. pulumi_databricks/get_data_quality_monitor.py +210 -0
  76. pulumi_databricks/get_data_quality_monitors.py +143 -0
  77. pulumi_databricks/get_data_quality_refresh.py +270 -0
  78. pulumi_databricks/get_data_quality_refreshes.py +207 -0
  79. pulumi_databricks/get_database_database_catalog.py +176 -0
  80. pulumi_databricks/get_database_database_catalogs.py +120 -0
  81. pulumi_databricks/get_database_instance.py +274 -50
  82. pulumi_databricks/get_database_instances.py +35 -11
  83. pulumi_databricks/get_database_synced_database_table.py +225 -0
  84. pulumi_databricks/get_database_synced_database_tables.py +120 -0
  85. pulumi_databricks/get_dbfs_file.py +19 -20
  86. pulumi_databricks/get_dbfs_file_paths.py +16 -17
  87. pulumi_databricks/get_directory.py +43 -25
  88. pulumi_databricks/get_entity_tag_assignment.py +202 -0
  89. pulumi_databricks/get_entity_tag_assignments.py +187 -0
  90. pulumi_databricks/get_external_location.py +35 -19
  91. pulumi_databricks/get_external_locations.py +32 -14
  92. pulumi_databricks/get_external_metadata.py +292 -0
  93. pulumi_databricks/get_external_metadatas.py +135 -0
  94. pulumi_databricks/get_feature_engineering_feature.py +179 -0
  95. pulumi_databricks/get_feature_engineering_features.py +103 -0
  96. pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
  97. pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
  98. pulumi_databricks/get_functions.py +38 -24
  99. pulumi_databricks/get_group.py +85 -86
  100. pulumi_databricks/get_instance_pool.py +10 -11
  101. pulumi_databricks/get_instance_profiles.py +25 -9
  102. pulumi_databricks/get_job.py +22 -23
  103. pulumi_databricks/get_jobs.py +44 -26
  104. pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
  105. pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
  106. pulumi_databricks/get_metastore.py +28 -29
  107. pulumi_databricks/get_metastores.py +9 -10
  108. pulumi_databricks/get_mlflow_experiment.py +62 -46
  109. pulumi_databricks/get_mlflow_model.py +47 -31
  110. pulumi_databricks/get_mlflow_models.py +32 -14
  111. pulumi_databricks/get_mws_credentials.py +9 -10
  112. pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
  113. pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
  114. pulumi_databricks/get_mws_workspaces.py +5 -6
  115. pulumi_databricks/get_node_type.py +123 -87
  116. pulumi_databricks/get_notebook.py +37 -38
  117. pulumi_databricks/get_notebook_paths.py +16 -17
  118. pulumi_databricks/get_notification_destinations.py +33 -18
  119. pulumi_databricks/get_online_store.py +36 -27
  120. pulumi_databricks/get_online_stores.py +33 -13
  121. pulumi_databricks/get_pipelines.py +49 -31
  122. pulumi_databricks/get_policy_info.py +338 -0
  123. pulumi_databricks/get_policy_infos.py +169 -0
  124. pulumi_databricks/get_quality_monitor_v2.py +21 -18
  125. pulumi_databricks/get_quality_monitors_v2.py +26 -8
  126. pulumi_databricks/get_registered_model.py +41 -27
  127. pulumi_databricks/get_registered_model_versions.py +29 -15
  128. pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
  129. pulumi_databricks/get_schema.py +32 -16
  130. pulumi_databricks/get_schemas.py +38 -20
  131. pulumi_databricks/get_service_principal.py +80 -58
  132. pulumi_databricks/get_service_principal_federation_policies.py +151 -0
  133. pulumi_databricks/get_service_principal_federation_policy.py +220 -0
  134. pulumi_databricks/get_service_principals.py +16 -17
  135. pulumi_databricks/get_serving_endpoints.py +23 -9
  136. pulumi_databricks/get_share.py +130 -32
  137. pulumi_databricks/get_shares.py +29 -11
  138. pulumi_databricks/get_spark_version.py +87 -69
  139. pulumi_databricks/get_sql_warehouse.py +124 -110
  140. pulumi_databricks/get_sql_warehouses.py +37 -19
  141. pulumi_databricks/get_storage_credential.py +32 -16
  142. pulumi_databricks/get_storage_credentials.py +32 -14
  143. pulumi_databricks/get_table.py +30 -14
  144. pulumi_databricks/get_tables.py +41 -23
  145. pulumi_databricks/get_tag_policies.py +139 -0
  146. pulumi_databricks/get_tag_policy.py +175 -0
  147. pulumi_databricks/get_user.py +33 -34
  148. pulumi_databricks/get_views.py +41 -23
  149. pulumi_databricks/get_volume.py +32 -16
  150. pulumi_databricks/get_volumes.py +41 -23
  151. pulumi_databricks/get_workspace_network_option.py +45 -26
  152. pulumi_databricks/get_workspace_setting_v2.py +331 -0
  153. pulumi_databricks/get_zones.py +39 -21
  154. pulumi_databricks/git_credential.py +242 -76
  155. pulumi_databricks/global_init_script.py +99 -100
  156. pulumi_databricks/grant.py +215 -212
  157. pulumi_databricks/grants.py +200 -211
  158. pulumi_databricks/group.py +176 -177
  159. pulumi_databricks/group_instance_profile.py +37 -38
  160. pulumi_databricks/group_member.py +37 -38
  161. pulumi_databricks/group_role.py +37 -38
  162. pulumi_databricks/instance_pool.py +168 -169
  163. pulumi_databricks/instance_profile.py +69 -70
  164. pulumi_databricks/ip_access_list.py +71 -72
  165. pulumi_databricks/job.py +426 -346
  166. pulumi_databricks/lakehouse_monitor.py +199 -200
  167. pulumi_databricks/library.py +264 -99
  168. pulumi_databricks/materialized_features_feature_tag.py +213 -0
  169. pulumi_databricks/metastore.py +254 -255
  170. pulumi_databricks/metastore_assignment.py +52 -53
  171. pulumi_databricks/metastore_data_access.py +153 -154
  172. pulumi_databricks/metastore_provider.py +69 -70
  173. pulumi_databricks/mlflow_experiment.py +108 -109
  174. pulumi_databricks/mlflow_model.py +45 -46
  175. pulumi_databricks/mlflow_webhook.py +75 -76
  176. pulumi_databricks/model_serving.py +195 -74
  177. pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
  178. pulumi_databricks/mount.py +103 -104
  179. pulumi_databricks/mws_credentials.py +99 -100
  180. pulumi_databricks/mws_customer_managed_keys.py +75 -76
  181. pulumi_databricks/mws_log_delivery.py +188 -189
  182. pulumi_databricks/mws_ncc_binding.py +35 -36
  183. pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
  184. pulumi_databricks/mws_network_connectivity_config.py +136 -98
  185. pulumi_databricks/mws_networks.py +159 -160
  186. pulumi_databricks/mws_permission_assignment.py +70 -71
  187. pulumi_databricks/mws_private_access_settings.py +116 -117
  188. pulumi_databricks/mws_storage_configurations.py +74 -75
  189. pulumi_databricks/mws_vpc_endpoint.py +149 -150
  190. pulumi_databricks/mws_workspaces.py +464 -418
  191. pulumi_databricks/notebook.py +143 -144
  192. pulumi_databricks/notification_destination.py +38 -39
  193. pulumi_databricks/obo_token.py +63 -64
  194. pulumi_databricks/online_store.py +121 -70
  195. pulumi_databricks/online_table.py +41 -42
  196. pulumi_databricks/outputs.py +47821 -30802
  197. pulumi_databricks/permission_assignment.py +298 -57
  198. pulumi_databricks/permissions.py +523 -362
  199. pulumi_databricks/pipeline.py +515 -480
  200. pulumi_databricks/policy_info.py +916 -0
  201. pulumi_databricks/provider.py +283 -269
  202. pulumi_databricks/pulumi-plugin.json +1 -1
  203. pulumi_databricks/quality_monitor.py +263 -217
  204. pulumi_databricks/quality_monitor_v2.py +49 -46
  205. pulumi_databricks/query.py +227 -228
  206. pulumi_databricks/recipient.py +208 -209
  207. pulumi_databricks/registered_model.py +393 -122
  208. pulumi_databricks/repo.py +117 -118
  209. pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
  210. pulumi_databricks/rfa_access_request_destinations.py +286 -0
  211. pulumi_databricks/schema.py +159 -160
  212. pulumi_databricks/secret.py +72 -73
  213. pulumi_databricks/secret_acl.py +52 -53
  214. pulumi_databricks/secret_scope.py +55 -56
  215. pulumi_databricks/service_principal.py +279 -278
  216. pulumi_databricks/service_principal_federation_policy.py +469 -0
  217. pulumi_databricks/service_principal_role.py +35 -36
  218. pulumi_databricks/service_principal_secret.py +156 -157
  219. pulumi_databricks/share.py +186 -187
  220. pulumi_databricks/sql_alert.py +98 -99
  221. pulumi_databricks/sql_dashboard.py +94 -95
  222. pulumi_databricks/sql_endpoint.py +298 -266
  223. pulumi_databricks/sql_global_config.py +103 -104
  224. pulumi_databricks/sql_permissions.py +121 -122
  225. pulumi_databricks/sql_query.py +150 -151
  226. pulumi_databricks/sql_table.py +310 -283
  227. pulumi_databricks/sql_visualization.py +92 -93
  228. pulumi_databricks/sql_widget.py +91 -88
  229. pulumi_databricks/storage_credential.py +236 -184
  230. pulumi_databricks/system_schema.py +50 -51
  231. pulumi_databricks/table.py +147 -148
  232. pulumi_databricks/tag_policy.py +357 -0
  233. pulumi_databricks/token.py +83 -84
  234. pulumi_databricks/user.py +284 -285
  235. pulumi_databricks/user_instance_profile.py +35 -36
  236. pulumi_databricks/user_role.py +35 -36
  237. pulumi_databricks/vector_search_endpoint.py +117 -118
  238. pulumi_databricks/vector_search_index.py +86 -87
  239. pulumi_databricks/volume.py +129 -130
  240. pulumi_databricks/workspace_binding.py +82 -131
  241. pulumi_databricks/workspace_conf.py +18 -19
  242. pulumi_databricks/workspace_file.py +100 -101
  243. pulumi_databricks/workspace_network_option.py +89 -40
  244. pulumi_databricks/workspace_setting_v2.py +759 -0
  245. {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
  246. pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
  247. pulumi_databricks/get_recipient_federation_policies.py +0 -83
  248. pulumi_databricks/get_recipient_federation_policy.py +0 -166
  249. pulumi_databricks/recipient_federation_policy.py +0 -347
  250. pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
  251. {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
  252. {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
pulumi_databricks/user.py CHANGED
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -20,40 +19,40 @@ __all__ = ['UserArgs', 'User']
20
19
  @pulumi.input_type
21
20
  class UserArgs:
22
21
  def __init__(__self__, *,
23
- user_name: pulumi.Input[builtins.str],
24
- acl_principal_id: Optional[pulumi.Input[builtins.str]] = None,
25
- active: Optional[pulumi.Input[builtins.bool]] = None,
26
- allow_cluster_create: Optional[pulumi.Input[builtins.bool]] = None,
27
- allow_instance_pool_create: Optional[pulumi.Input[builtins.bool]] = None,
28
- databricks_sql_access: Optional[pulumi.Input[builtins.bool]] = None,
29
- disable_as_user_deletion: Optional[pulumi.Input[builtins.bool]] = None,
30
- display_name: Optional[pulumi.Input[builtins.str]] = None,
31
- external_id: Optional[pulumi.Input[builtins.str]] = None,
32
- force: Optional[pulumi.Input[builtins.bool]] = None,
33
- force_delete_home_dir: Optional[pulumi.Input[builtins.bool]] = None,
34
- force_delete_repos: Optional[pulumi.Input[builtins.bool]] = None,
35
- home: Optional[pulumi.Input[builtins.str]] = None,
36
- repos: Optional[pulumi.Input[builtins.str]] = None,
37
- workspace_access: Optional[pulumi.Input[builtins.bool]] = None,
38
- workspace_consume: Optional[pulumi.Input[builtins.bool]] = None):
22
+ user_name: pulumi.Input[_builtins.str],
23
+ acl_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
24
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
25
+ allow_cluster_create: Optional[pulumi.Input[_builtins.bool]] = None,
26
+ allow_instance_pool_create: Optional[pulumi.Input[_builtins.bool]] = None,
27
+ databricks_sql_access: Optional[pulumi.Input[_builtins.bool]] = None,
28
+ disable_as_user_deletion: Optional[pulumi.Input[_builtins.bool]] = None,
29
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
30
+ external_id: Optional[pulumi.Input[_builtins.str]] = None,
31
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
32
+ force_delete_home_dir: Optional[pulumi.Input[_builtins.bool]] = None,
33
+ force_delete_repos: Optional[pulumi.Input[_builtins.bool]] = None,
34
+ home: Optional[pulumi.Input[_builtins.str]] = None,
35
+ repos: Optional[pulumi.Input[_builtins.str]] = None,
36
+ workspace_access: Optional[pulumi.Input[_builtins.bool]] = None,
37
+ workspace_consume: Optional[pulumi.Input[_builtins.bool]] = None):
39
38
  """
40
39
  The set of arguments for constructing a User resource.
41
- :param pulumi.Input[builtins.str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
42
- :param pulumi.Input[builtins.str] acl_principal_id: identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com`.
43
- :param pulumi.Input[builtins.bool] active: Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
44
- :param pulumi.Input[builtins.bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
45
- :param pulumi.Input[builtins.bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
46
- :param pulumi.Input[builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
47
- :param pulumi.Input[builtins.bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
48
- :param pulumi.Input[builtins.str] display_name: This is an alias for the username that can be the full name of the user.
49
- :param pulumi.Input[builtins.str] external_id: ID of the user in an external identity provider.
50
- :param pulumi.Input[builtins.bool] force: Ignore `cannot create user: User with username X already exists` errors and implicitly import the specific user into Pulumi state, enforcing entitlements defined in the instance of resource. _This functionality is experimental_ and is designed to simplify corner cases, like Azure Active Directory synchronisation.
51
- :param pulumi.Input[builtins.bool] force_delete_home_dir: This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default.
52
- :param pulumi.Input[builtins.bool] force_delete_repos: This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default.
53
- :param pulumi.Input[builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
54
- :param pulumi.Input[builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
55
- :param pulumi.Input[builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace.
56
- :param pulumi.Input[builtins.bool] workspace_consume: This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
40
+ :param pulumi.Input[_builtins.str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
41
+ :param pulumi.Input[_builtins.str] acl_principal_id: identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com`.
42
+ :param pulumi.Input[_builtins.bool] active: Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
43
+ :param pulumi.Input[_builtins.bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
44
+ :param pulumi.Input[_builtins.bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
45
+ :param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
46
+ :param pulumi.Input[_builtins.bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
47
+ :param pulumi.Input[_builtins.str] display_name: This is an alias for the username that can be the full name of the user.
48
+ :param pulumi.Input[_builtins.str] external_id: ID of the user in an external identity provider.
49
+ :param pulumi.Input[_builtins.bool] force: Ignore `cannot create user: User with username X already exists` errors and implicitly import the specific user into Pulumi state, enforcing entitlements defined in the instance of resource. _This functionality is experimental_ and is designed to simplify corner cases, like Azure Active Directory synchronisation.
50
+ :param pulumi.Input[_builtins.bool] force_delete_home_dir: This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default.
51
+ :param pulumi.Input[_builtins.bool] force_delete_repos: This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default.
52
+ :param pulumi.Input[_builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
53
+ :param pulumi.Input[_builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
54
+ :param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
55
+ :param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
57
56
  """
58
57
  pulumi.set(__self__, "user_name", user_name)
59
58
  if acl_principal_id is not None:
@@ -87,236 +86,236 @@ class UserArgs:
87
86
  if workspace_consume is not None:
88
87
  pulumi.set(__self__, "workspace_consume", workspace_consume)
89
88
 
90
- @property
89
+ @_builtins.property
91
90
  @pulumi.getter(name="userName")
92
- def user_name(self) -> pulumi.Input[builtins.str]:
91
+ def user_name(self) -> pulumi.Input[_builtins.str]:
93
92
  """
94
93
  This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
95
94
  """
96
95
  return pulumi.get(self, "user_name")
97
96
 
98
97
  @user_name.setter
99
- def user_name(self, value: pulumi.Input[builtins.str]):
98
+ def user_name(self, value: pulumi.Input[_builtins.str]):
100
99
  pulumi.set(self, "user_name", value)
101
100
 
102
- @property
101
+ @_builtins.property
103
102
  @pulumi.getter(name="aclPrincipalId")
104
- def acl_principal_id(self) -> Optional[pulumi.Input[builtins.str]]:
103
+ def acl_principal_id(self) -> Optional[pulumi.Input[_builtins.str]]:
105
104
  """
106
105
  identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com`.
107
106
  """
108
107
  return pulumi.get(self, "acl_principal_id")
109
108
 
110
109
  @acl_principal_id.setter
111
- def acl_principal_id(self, value: Optional[pulumi.Input[builtins.str]]):
110
+ def acl_principal_id(self, value: Optional[pulumi.Input[_builtins.str]]):
112
111
  pulumi.set(self, "acl_principal_id", value)
113
112
 
114
- @property
113
+ @_builtins.property
115
114
  @pulumi.getter
116
- def active(self) -> Optional[pulumi.Input[builtins.bool]]:
115
+ def active(self) -> Optional[pulumi.Input[_builtins.bool]]:
117
116
  """
118
117
  Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
119
118
  """
120
119
  return pulumi.get(self, "active")
121
120
 
122
121
  @active.setter
123
- def active(self, value: Optional[pulumi.Input[builtins.bool]]):
122
+ def active(self, value: Optional[pulumi.Input[_builtins.bool]]):
124
123
  pulumi.set(self, "active", value)
125
124
 
126
- @property
125
+ @_builtins.property
127
126
  @pulumi.getter(name="allowClusterCreate")
128
- def allow_cluster_create(self) -> Optional[pulumi.Input[builtins.bool]]:
127
+ def allow_cluster_create(self) -> Optional[pulumi.Input[_builtins.bool]]:
129
128
  """
130
129
  Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
131
130
  """
132
131
  return pulumi.get(self, "allow_cluster_create")
133
132
 
134
133
  @allow_cluster_create.setter
135
- def allow_cluster_create(self, value: Optional[pulumi.Input[builtins.bool]]):
134
+ def allow_cluster_create(self, value: Optional[pulumi.Input[_builtins.bool]]):
136
135
  pulumi.set(self, "allow_cluster_create", value)
137
136
 
138
- @property
137
+ @_builtins.property
139
138
  @pulumi.getter(name="allowInstancePoolCreate")
140
- def allow_instance_pool_create(self) -> Optional[pulumi.Input[builtins.bool]]:
139
+ def allow_instance_pool_create(self) -> Optional[pulumi.Input[_builtins.bool]]:
141
140
  """
142
141
  Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
143
142
  """
144
143
  return pulumi.get(self, "allow_instance_pool_create")
145
144
 
146
145
  @allow_instance_pool_create.setter
147
- def allow_instance_pool_create(self, value: Optional[pulumi.Input[builtins.bool]]):
146
+ def allow_instance_pool_create(self, value: Optional[pulumi.Input[_builtins.bool]]):
148
147
  pulumi.set(self, "allow_instance_pool_create", value)
149
148
 
150
- @property
149
+ @_builtins.property
151
150
  @pulumi.getter(name="databricksSqlAccess")
152
- def databricks_sql_access(self) -> Optional[pulumi.Input[builtins.bool]]:
151
+ def databricks_sql_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
153
152
  """
154
- This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
153
+ This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
155
154
  """
156
155
  return pulumi.get(self, "databricks_sql_access")
157
156
 
158
157
  @databricks_sql_access.setter
159
- def databricks_sql_access(self, value: Optional[pulumi.Input[builtins.bool]]):
158
+ def databricks_sql_access(self, value: Optional[pulumi.Input[_builtins.bool]]):
160
159
  pulumi.set(self, "databricks_sql_access", value)
161
160
 
162
- @property
161
+ @_builtins.property
163
162
  @pulumi.getter(name="disableAsUserDeletion")
164
- def disable_as_user_deletion(self) -> Optional[pulumi.Input[builtins.bool]]:
163
+ def disable_as_user_deletion(self) -> Optional[pulumi.Input[_builtins.bool]]:
165
164
  """
166
165
  Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
167
166
  """
168
167
  return pulumi.get(self, "disable_as_user_deletion")
169
168
 
170
169
  @disable_as_user_deletion.setter
171
- def disable_as_user_deletion(self, value: Optional[pulumi.Input[builtins.bool]]):
170
+ def disable_as_user_deletion(self, value: Optional[pulumi.Input[_builtins.bool]]):
172
171
  pulumi.set(self, "disable_as_user_deletion", value)
173
172
 
174
- @property
173
+ @_builtins.property
175
174
  @pulumi.getter(name="displayName")
176
- def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
175
+ def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
177
176
  """
178
177
  This is an alias for the username that can be the full name of the user.
179
178
  """
180
179
  return pulumi.get(self, "display_name")
181
180
 
182
181
  @display_name.setter
183
- def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
182
+ def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
184
183
  pulumi.set(self, "display_name", value)
185
184
 
186
- @property
185
+ @_builtins.property
187
186
  @pulumi.getter(name="externalId")
188
- def external_id(self) -> Optional[pulumi.Input[builtins.str]]:
187
+ def external_id(self) -> Optional[pulumi.Input[_builtins.str]]:
189
188
  """
190
189
  ID of the user in an external identity provider.
191
190
  """
192
191
  return pulumi.get(self, "external_id")
193
192
 
194
193
  @external_id.setter
195
- def external_id(self, value: Optional[pulumi.Input[builtins.str]]):
194
+ def external_id(self, value: Optional[pulumi.Input[_builtins.str]]):
196
195
  pulumi.set(self, "external_id", value)
197
196
 
198
- @property
197
+ @_builtins.property
199
198
  @pulumi.getter
200
- def force(self) -> Optional[pulumi.Input[builtins.bool]]:
199
+ def force(self) -> Optional[pulumi.Input[_builtins.bool]]:
201
200
  """
202
201
  Ignore `cannot create user: User with username X already exists` errors and implicitly import the specific user into Pulumi state, enforcing entitlements defined in the instance of resource. _This functionality is experimental_ and is designed to simplify corner cases, like Azure Active Directory synchronisation.
203
202
  """
204
203
  return pulumi.get(self, "force")
205
204
 
206
205
  @force.setter
207
- def force(self, value: Optional[pulumi.Input[builtins.bool]]):
206
+ def force(self, value: Optional[pulumi.Input[_builtins.bool]]):
208
207
  pulumi.set(self, "force", value)
209
208
 
210
- @property
209
+ @_builtins.property
211
210
  @pulumi.getter(name="forceDeleteHomeDir")
212
- def force_delete_home_dir(self) -> Optional[pulumi.Input[builtins.bool]]:
211
+ def force_delete_home_dir(self) -> Optional[pulumi.Input[_builtins.bool]]:
213
212
  """
214
213
  This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default.
215
214
  """
216
215
  return pulumi.get(self, "force_delete_home_dir")
217
216
 
218
217
  @force_delete_home_dir.setter
219
- def force_delete_home_dir(self, value: Optional[pulumi.Input[builtins.bool]]):
218
+ def force_delete_home_dir(self, value: Optional[pulumi.Input[_builtins.bool]]):
220
219
  pulumi.set(self, "force_delete_home_dir", value)
221
220
 
222
- @property
221
+ @_builtins.property
223
222
  @pulumi.getter(name="forceDeleteRepos")
224
- def force_delete_repos(self) -> Optional[pulumi.Input[builtins.bool]]:
223
+ def force_delete_repos(self) -> Optional[pulumi.Input[_builtins.bool]]:
225
224
  """
226
225
  This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default.
227
226
  """
228
227
  return pulumi.get(self, "force_delete_repos")
229
228
 
230
229
  @force_delete_repos.setter
231
- def force_delete_repos(self, value: Optional[pulumi.Input[builtins.bool]]):
230
+ def force_delete_repos(self, value: Optional[pulumi.Input[_builtins.bool]]):
232
231
  pulumi.set(self, "force_delete_repos", value)
233
232
 
234
- @property
233
+ @_builtins.property
235
234
  @pulumi.getter
236
- def home(self) -> Optional[pulumi.Input[builtins.str]]:
235
+ def home(self) -> Optional[pulumi.Input[_builtins.str]]:
237
236
  """
238
237
  Home folder of the user, e.g. `/Users/mr.foo@example.com`.
239
238
  """
240
239
  return pulumi.get(self, "home")
241
240
 
242
241
  @home.setter
243
- def home(self, value: Optional[pulumi.Input[builtins.str]]):
242
+ def home(self, value: Optional[pulumi.Input[_builtins.str]]):
244
243
  pulumi.set(self, "home", value)
245
244
 
246
- @property
245
+ @_builtins.property
247
246
  @pulumi.getter
248
- def repos(self) -> Optional[pulumi.Input[builtins.str]]:
247
+ def repos(self) -> Optional[pulumi.Input[_builtins.str]]:
249
248
  """
250
249
  Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
251
250
  """
252
251
  return pulumi.get(self, "repos")
253
252
 
254
253
  @repos.setter
255
- def repos(self, value: Optional[pulumi.Input[builtins.str]]):
254
+ def repos(self, value: Optional[pulumi.Input[_builtins.str]]):
256
255
  pulumi.set(self, "repos", value)
257
256
 
258
- @property
257
+ @_builtins.property
259
258
  @pulumi.getter(name="workspaceAccess")
260
- def workspace_access(self) -> Optional[pulumi.Input[builtins.bool]]:
259
+ def workspace_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
261
260
  """
262
- This is a field to allow the user to have access to a Databricks Workspace.
261
+ This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
263
262
  """
264
263
  return pulumi.get(self, "workspace_access")
265
264
 
266
265
  @workspace_access.setter
267
- def workspace_access(self, value: Optional[pulumi.Input[builtins.bool]]):
266
+ def workspace_access(self, value: Optional[pulumi.Input[_builtins.bool]]):
268
267
  pulumi.set(self, "workspace_access", value)
269
268
 
270
- @property
269
+ @_builtins.property
271
270
  @pulumi.getter(name="workspaceConsume")
272
- def workspace_consume(self) -> Optional[pulumi.Input[builtins.bool]]:
271
+ def workspace_consume(self) -> Optional[pulumi.Input[_builtins.bool]]:
273
272
  """
274
- This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
273
+ This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
275
274
  """
276
275
  return pulumi.get(self, "workspace_consume")
277
276
 
278
277
  @workspace_consume.setter
279
- def workspace_consume(self, value: Optional[pulumi.Input[builtins.bool]]):
278
+ def workspace_consume(self, value: Optional[pulumi.Input[_builtins.bool]]):
280
279
  pulumi.set(self, "workspace_consume", value)
281
280
 
282
281
 
283
282
  @pulumi.input_type
284
283
  class _UserState:
285
284
  def __init__(__self__, *,
286
- acl_principal_id: Optional[pulumi.Input[builtins.str]] = None,
287
- active: Optional[pulumi.Input[builtins.bool]] = None,
288
- allow_cluster_create: Optional[pulumi.Input[builtins.bool]] = None,
289
- allow_instance_pool_create: Optional[pulumi.Input[builtins.bool]] = None,
290
- databricks_sql_access: Optional[pulumi.Input[builtins.bool]] = None,
291
- disable_as_user_deletion: Optional[pulumi.Input[builtins.bool]] = None,
292
- display_name: Optional[pulumi.Input[builtins.str]] = None,
293
- external_id: Optional[pulumi.Input[builtins.str]] = None,
294
- force: Optional[pulumi.Input[builtins.bool]] = None,
295
- force_delete_home_dir: Optional[pulumi.Input[builtins.bool]] = None,
296
- force_delete_repos: Optional[pulumi.Input[builtins.bool]] = None,
297
- home: Optional[pulumi.Input[builtins.str]] = None,
298
- repos: Optional[pulumi.Input[builtins.str]] = None,
299
- user_name: Optional[pulumi.Input[builtins.str]] = None,
300
- workspace_access: Optional[pulumi.Input[builtins.bool]] = None,
301
- workspace_consume: Optional[pulumi.Input[builtins.bool]] = None):
285
+ acl_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
286
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
287
+ allow_cluster_create: Optional[pulumi.Input[_builtins.bool]] = None,
288
+ allow_instance_pool_create: Optional[pulumi.Input[_builtins.bool]] = None,
289
+ databricks_sql_access: Optional[pulumi.Input[_builtins.bool]] = None,
290
+ disable_as_user_deletion: Optional[pulumi.Input[_builtins.bool]] = None,
291
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
292
+ external_id: Optional[pulumi.Input[_builtins.str]] = None,
293
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
294
+ force_delete_home_dir: Optional[pulumi.Input[_builtins.bool]] = None,
295
+ force_delete_repos: Optional[pulumi.Input[_builtins.bool]] = None,
296
+ home: Optional[pulumi.Input[_builtins.str]] = None,
297
+ repos: Optional[pulumi.Input[_builtins.str]] = None,
298
+ user_name: Optional[pulumi.Input[_builtins.str]] = None,
299
+ workspace_access: Optional[pulumi.Input[_builtins.bool]] = None,
300
+ workspace_consume: Optional[pulumi.Input[_builtins.bool]] = None):
302
301
  """
303
302
  Input properties used for looking up and filtering User resources.
304
- :param pulumi.Input[builtins.str] acl_principal_id: identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com`.
305
- :param pulumi.Input[builtins.bool] active: Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
306
- :param pulumi.Input[builtins.bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
307
- :param pulumi.Input[builtins.bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
308
- :param pulumi.Input[builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
309
- :param pulumi.Input[builtins.bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
310
- :param pulumi.Input[builtins.str] display_name: This is an alias for the username that can be the full name of the user.
311
- :param pulumi.Input[builtins.str] external_id: ID of the user in an external identity provider.
312
- :param pulumi.Input[builtins.bool] force: Ignore `cannot create user: User with username X already exists` errors and implicitly import the specific user into Pulumi state, enforcing entitlements defined in the instance of resource. _This functionality is experimental_ and is designed to simplify corner cases, like Azure Active Directory synchronisation.
313
- :param pulumi.Input[builtins.bool] force_delete_home_dir: This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default.
314
- :param pulumi.Input[builtins.bool] force_delete_repos: This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default.
315
- :param pulumi.Input[builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
316
- :param pulumi.Input[builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
317
- :param pulumi.Input[builtins.str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
318
- :param pulumi.Input[builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace.
319
- :param pulumi.Input[builtins.bool] workspace_consume: This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
303
+ :param pulumi.Input[_builtins.str] acl_principal_id: identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com`.
304
+ :param pulumi.Input[_builtins.bool] active: Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
305
+ :param pulumi.Input[_builtins.bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
306
+ :param pulumi.Input[_builtins.bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
307
+ :param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
308
+ :param pulumi.Input[_builtins.bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
309
+ :param pulumi.Input[_builtins.str] display_name: This is an alias for the username that can be the full name of the user.
310
+ :param pulumi.Input[_builtins.str] external_id: ID of the user in an external identity provider.
311
+ :param pulumi.Input[_builtins.bool] force: Ignore `cannot create user: User with username X already exists` errors and implicitly import the specific user into Pulumi state, enforcing entitlements defined in the instance of resource. _This functionality is experimental_ and is designed to simplify corner cases, like Azure Active Directory synchronisation.
312
+ :param pulumi.Input[_builtins.bool] force_delete_home_dir: This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default.
313
+ :param pulumi.Input[_builtins.bool] force_delete_repos: This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default.
314
+ :param pulumi.Input[_builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
315
+ :param pulumi.Input[_builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
316
+ :param pulumi.Input[_builtins.str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
317
+ :param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
318
+ :param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
320
319
  """
321
320
  if acl_principal_id is not None:
322
321
  pulumi.set(__self__, "acl_principal_id", acl_principal_id)
@@ -351,196 +350,196 @@ class _UserState:
351
350
  if workspace_consume is not None:
352
351
  pulumi.set(__self__, "workspace_consume", workspace_consume)
353
352
 
354
- @property
353
+ @_builtins.property
355
354
  @pulumi.getter(name="aclPrincipalId")
356
- def acl_principal_id(self) -> Optional[pulumi.Input[builtins.str]]:
355
+ def acl_principal_id(self) -> Optional[pulumi.Input[_builtins.str]]:
357
356
  """
358
357
  identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com`.
359
358
  """
360
359
  return pulumi.get(self, "acl_principal_id")
361
360
 
362
361
  @acl_principal_id.setter
363
- def acl_principal_id(self, value: Optional[pulumi.Input[builtins.str]]):
362
+ def acl_principal_id(self, value: Optional[pulumi.Input[_builtins.str]]):
364
363
  pulumi.set(self, "acl_principal_id", value)
365
364
 
366
- @property
365
+ @_builtins.property
367
366
  @pulumi.getter
368
- def active(self) -> Optional[pulumi.Input[builtins.bool]]:
367
+ def active(self) -> Optional[pulumi.Input[_builtins.bool]]:
369
368
  """
370
369
  Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
371
370
  """
372
371
  return pulumi.get(self, "active")
373
372
 
374
373
  @active.setter
375
- def active(self, value: Optional[pulumi.Input[builtins.bool]]):
374
+ def active(self, value: Optional[pulumi.Input[_builtins.bool]]):
376
375
  pulumi.set(self, "active", value)
377
376
 
378
- @property
377
+ @_builtins.property
379
378
  @pulumi.getter(name="allowClusterCreate")
380
- def allow_cluster_create(self) -> Optional[pulumi.Input[builtins.bool]]:
379
+ def allow_cluster_create(self) -> Optional[pulumi.Input[_builtins.bool]]:
381
380
  """
382
381
  Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
383
382
  """
384
383
  return pulumi.get(self, "allow_cluster_create")
385
384
 
386
385
  @allow_cluster_create.setter
387
- def allow_cluster_create(self, value: Optional[pulumi.Input[builtins.bool]]):
386
+ def allow_cluster_create(self, value: Optional[pulumi.Input[_builtins.bool]]):
388
387
  pulumi.set(self, "allow_cluster_create", value)
389
388
 
390
- @property
389
+ @_builtins.property
391
390
  @pulumi.getter(name="allowInstancePoolCreate")
392
- def allow_instance_pool_create(self) -> Optional[pulumi.Input[builtins.bool]]:
391
+ def allow_instance_pool_create(self) -> Optional[pulumi.Input[_builtins.bool]]:
393
392
  """
394
393
  Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
395
394
  """
396
395
  return pulumi.get(self, "allow_instance_pool_create")
397
396
 
398
397
  @allow_instance_pool_create.setter
399
- def allow_instance_pool_create(self, value: Optional[pulumi.Input[builtins.bool]]):
398
+ def allow_instance_pool_create(self, value: Optional[pulumi.Input[_builtins.bool]]):
400
399
  pulumi.set(self, "allow_instance_pool_create", value)
401
400
 
402
- @property
401
+ @_builtins.property
403
402
  @pulumi.getter(name="databricksSqlAccess")
404
- def databricks_sql_access(self) -> Optional[pulumi.Input[builtins.bool]]:
403
+ def databricks_sql_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
405
404
  """
406
- This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
405
+ This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
407
406
  """
408
407
  return pulumi.get(self, "databricks_sql_access")
409
408
 
410
409
  @databricks_sql_access.setter
411
- def databricks_sql_access(self, value: Optional[pulumi.Input[builtins.bool]]):
410
+ def databricks_sql_access(self, value: Optional[pulumi.Input[_builtins.bool]]):
412
411
  pulumi.set(self, "databricks_sql_access", value)
413
412
 
414
- @property
413
+ @_builtins.property
415
414
  @pulumi.getter(name="disableAsUserDeletion")
416
- def disable_as_user_deletion(self) -> Optional[pulumi.Input[builtins.bool]]:
415
+ def disable_as_user_deletion(self) -> Optional[pulumi.Input[_builtins.bool]]:
417
416
  """
418
417
  Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
419
418
  """
420
419
  return pulumi.get(self, "disable_as_user_deletion")
421
420
 
422
421
  @disable_as_user_deletion.setter
423
- def disable_as_user_deletion(self, value: Optional[pulumi.Input[builtins.bool]]):
422
+ def disable_as_user_deletion(self, value: Optional[pulumi.Input[_builtins.bool]]):
424
423
  pulumi.set(self, "disable_as_user_deletion", value)
425
424
 
426
- @property
425
+ @_builtins.property
427
426
  @pulumi.getter(name="displayName")
428
- def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
427
+ def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
429
428
  """
430
429
  This is an alias for the username that can be the full name of the user.
431
430
  """
432
431
  return pulumi.get(self, "display_name")
433
432
 
434
433
  @display_name.setter
435
- def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
434
+ def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
436
435
  pulumi.set(self, "display_name", value)
437
436
 
438
- @property
437
+ @_builtins.property
439
438
  @pulumi.getter(name="externalId")
440
- def external_id(self) -> Optional[pulumi.Input[builtins.str]]:
439
+ def external_id(self) -> Optional[pulumi.Input[_builtins.str]]:
441
440
  """
442
441
  ID of the user in an external identity provider.
443
442
  """
444
443
  return pulumi.get(self, "external_id")
445
444
 
446
445
  @external_id.setter
447
- def external_id(self, value: Optional[pulumi.Input[builtins.str]]):
446
+ def external_id(self, value: Optional[pulumi.Input[_builtins.str]]):
448
447
  pulumi.set(self, "external_id", value)
449
448
 
450
- @property
449
+ @_builtins.property
451
450
  @pulumi.getter
452
- def force(self) -> Optional[pulumi.Input[builtins.bool]]:
451
+ def force(self) -> Optional[pulumi.Input[_builtins.bool]]:
453
452
  """
454
453
  Ignore `cannot create user: User with username X already exists` errors and implicitly import the specific user into Pulumi state, enforcing entitlements defined in the instance of resource. _This functionality is experimental_ and is designed to simplify corner cases, like Azure Active Directory synchronisation.
455
454
  """
456
455
  return pulumi.get(self, "force")
457
456
 
458
457
  @force.setter
459
- def force(self, value: Optional[pulumi.Input[builtins.bool]]):
458
+ def force(self, value: Optional[pulumi.Input[_builtins.bool]]):
460
459
  pulumi.set(self, "force", value)
461
460
 
462
- @property
461
+ @_builtins.property
463
462
  @pulumi.getter(name="forceDeleteHomeDir")
464
- def force_delete_home_dir(self) -> Optional[pulumi.Input[builtins.bool]]:
463
+ def force_delete_home_dir(self) -> Optional[pulumi.Input[_builtins.bool]]:
465
464
  """
466
465
  This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default.
467
466
  """
468
467
  return pulumi.get(self, "force_delete_home_dir")
469
468
 
470
469
  @force_delete_home_dir.setter
471
- def force_delete_home_dir(self, value: Optional[pulumi.Input[builtins.bool]]):
470
+ def force_delete_home_dir(self, value: Optional[pulumi.Input[_builtins.bool]]):
472
471
  pulumi.set(self, "force_delete_home_dir", value)
473
472
 
474
- @property
473
+ @_builtins.property
475
474
  @pulumi.getter(name="forceDeleteRepos")
476
- def force_delete_repos(self) -> Optional[pulumi.Input[builtins.bool]]:
475
+ def force_delete_repos(self) -> Optional[pulumi.Input[_builtins.bool]]:
477
476
  """
478
477
  This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default.
479
478
  """
480
479
  return pulumi.get(self, "force_delete_repos")
481
480
 
482
481
  @force_delete_repos.setter
483
- def force_delete_repos(self, value: Optional[pulumi.Input[builtins.bool]]):
482
+ def force_delete_repos(self, value: Optional[pulumi.Input[_builtins.bool]]):
484
483
  pulumi.set(self, "force_delete_repos", value)
485
484
 
486
- @property
485
+ @_builtins.property
487
486
  @pulumi.getter
488
- def home(self) -> Optional[pulumi.Input[builtins.str]]:
487
+ def home(self) -> Optional[pulumi.Input[_builtins.str]]:
489
488
  """
490
489
  Home folder of the user, e.g. `/Users/mr.foo@example.com`.
491
490
  """
492
491
  return pulumi.get(self, "home")
493
492
 
494
493
  @home.setter
495
- def home(self, value: Optional[pulumi.Input[builtins.str]]):
494
+ def home(self, value: Optional[pulumi.Input[_builtins.str]]):
496
495
  pulumi.set(self, "home", value)
497
496
 
498
- @property
497
+ @_builtins.property
499
498
  @pulumi.getter
500
- def repos(self) -> Optional[pulumi.Input[builtins.str]]:
499
+ def repos(self) -> Optional[pulumi.Input[_builtins.str]]:
501
500
  """
502
501
  Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
503
502
  """
504
503
  return pulumi.get(self, "repos")
505
504
 
506
505
  @repos.setter
507
- def repos(self, value: Optional[pulumi.Input[builtins.str]]):
506
+ def repos(self, value: Optional[pulumi.Input[_builtins.str]]):
508
507
  pulumi.set(self, "repos", value)
509
508
 
510
- @property
509
+ @_builtins.property
511
510
  @pulumi.getter(name="userName")
512
- def user_name(self) -> Optional[pulumi.Input[builtins.str]]:
511
+ def user_name(self) -> Optional[pulumi.Input[_builtins.str]]:
513
512
  """
514
513
  This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
515
514
  """
516
515
  return pulumi.get(self, "user_name")
517
516
 
518
517
  @user_name.setter
519
- def user_name(self, value: Optional[pulumi.Input[builtins.str]]):
518
+ def user_name(self, value: Optional[pulumi.Input[_builtins.str]]):
520
519
  pulumi.set(self, "user_name", value)
521
520
 
522
- @property
521
+ @_builtins.property
523
522
  @pulumi.getter(name="workspaceAccess")
524
- def workspace_access(self) -> Optional[pulumi.Input[builtins.bool]]:
523
+ def workspace_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
525
524
  """
526
- This is a field to allow the user to have access to a Databricks Workspace.
525
+ This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
527
526
  """
528
527
  return pulumi.get(self, "workspace_access")
529
528
 
530
529
  @workspace_access.setter
531
- def workspace_access(self, value: Optional[pulumi.Input[builtins.bool]]):
530
+ def workspace_access(self, value: Optional[pulumi.Input[_builtins.bool]]):
532
531
  pulumi.set(self, "workspace_access", value)
533
532
 
534
- @property
533
+ @_builtins.property
535
534
  @pulumi.getter(name="workspaceConsume")
536
- def workspace_consume(self) -> Optional[pulumi.Input[builtins.bool]]:
535
+ def workspace_consume(self) -> Optional[pulumi.Input[_builtins.bool]]:
537
536
  """
538
- This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
537
+ This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
539
538
  """
540
539
  return pulumi.get(self, "workspace_consume")
541
540
 
542
541
  @workspace_consume.setter
543
- def workspace_consume(self, value: Optional[pulumi.Input[builtins.bool]]):
542
+ def workspace_consume(self, value: Optional[pulumi.Input[_builtins.bool]]):
544
543
  pulumi.set(self, "workspace_consume", value)
545
544
 
546
545
 
@@ -550,22 +549,22 @@ class User(pulumi.CustomResource):
550
549
  def __init__(__self__,
551
550
  resource_name: str,
552
551
  opts: Optional[pulumi.ResourceOptions] = None,
553
- acl_principal_id: Optional[pulumi.Input[builtins.str]] = None,
554
- active: Optional[pulumi.Input[builtins.bool]] = None,
555
- allow_cluster_create: Optional[pulumi.Input[builtins.bool]] = None,
556
- allow_instance_pool_create: Optional[pulumi.Input[builtins.bool]] = None,
557
- databricks_sql_access: Optional[pulumi.Input[builtins.bool]] = None,
558
- disable_as_user_deletion: Optional[pulumi.Input[builtins.bool]] = None,
559
- display_name: Optional[pulumi.Input[builtins.str]] = None,
560
- external_id: Optional[pulumi.Input[builtins.str]] = None,
561
- force: Optional[pulumi.Input[builtins.bool]] = None,
562
- force_delete_home_dir: Optional[pulumi.Input[builtins.bool]] = None,
563
- force_delete_repos: Optional[pulumi.Input[builtins.bool]] = None,
564
- home: Optional[pulumi.Input[builtins.str]] = None,
565
- repos: Optional[pulumi.Input[builtins.str]] = None,
566
- user_name: Optional[pulumi.Input[builtins.str]] = None,
567
- workspace_access: Optional[pulumi.Input[builtins.bool]] = None,
568
- workspace_consume: Optional[pulumi.Input[builtins.bool]] = None,
552
+ acl_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
553
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
554
+ allow_cluster_create: Optional[pulumi.Input[_builtins.bool]] = None,
555
+ allow_instance_pool_create: Optional[pulumi.Input[_builtins.bool]] = None,
556
+ databricks_sql_access: Optional[pulumi.Input[_builtins.bool]] = None,
557
+ disable_as_user_deletion: Optional[pulumi.Input[_builtins.bool]] = None,
558
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
559
+ external_id: Optional[pulumi.Input[_builtins.str]] = None,
560
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
561
+ force_delete_home_dir: Optional[pulumi.Input[_builtins.bool]] = None,
562
+ force_delete_repos: Optional[pulumi.Input[_builtins.bool]] = None,
563
+ home: Optional[pulumi.Input[_builtins.str]] = None,
564
+ repos: Optional[pulumi.Input[_builtins.str]] = None,
565
+ user_name: Optional[pulumi.Input[_builtins.str]] = None,
566
+ workspace_access: Optional[pulumi.Input[_builtins.bool]] = None,
567
+ workspace_consume: Optional[pulumi.Input[_builtins.bool]] = None,
569
568
  __props__=None):
570
569
  """
571
570
  This resource allows you to manage [users in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/users.html), [Databricks Account Console](https://accounts.cloud.databricks.com/) or [Azure Databricks Account Console](https://accounts.azuredatabricks.net). You can also associate Databricks users to databricks_group. Upon user creation the user will receive a welcome email. You can also get information about caller identity using get_current_user data source.
@@ -643,7 +642,7 @@ class User(pulumi.CustomResource):
643
642
  The following resources are often used in the same context:
644
643
 
645
644
  * End to end workspace management guide.
646
- * Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
645
+ * Group to manage [Account-level](https://docs.databricks.com/aws/en/admin/users-groups/groups) or [Workspace-level](https://docs.databricks.com/aws/en/admin/users-groups/workspace-local-groups) groups.
647
646
  * Group data to retrieve information about Group members, entitlements and instance profiles.
648
647
  * GroupInstanceProfile to attach InstanceProfile (AWS) to databricks_group.
649
648
  * GroupMember to attach users and groups as group members.
@@ -674,22 +673,22 @@ class User(pulumi.CustomResource):
674
673
 
675
674
  :param str resource_name: The name of the resource.
676
675
  :param pulumi.ResourceOptions opts: Options for the resource.
677
- :param pulumi.Input[builtins.str] acl_principal_id: identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com`.
678
- :param pulumi.Input[builtins.bool] active: Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
679
- :param pulumi.Input[builtins.bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
680
- :param pulumi.Input[builtins.bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
681
- :param pulumi.Input[builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
682
- :param pulumi.Input[builtins.bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
683
- :param pulumi.Input[builtins.str] display_name: This is an alias for the username that can be the full name of the user.
684
- :param pulumi.Input[builtins.str] external_id: ID of the user in an external identity provider.
685
- :param pulumi.Input[builtins.bool] force: Ignore `cannot create user: User with username X already exists` errors and implicitly import the specific user into Pulumi state, enforcing entitlements defined in the instance of resource. _This functionality is experimental_ and is designed to simplify corner cases, like Azure Active Directory synchronisation.
686
- :param pulumi.Input[builtins.bool] force_delete_home_dir: This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default.
687
- :param pulumi.Input[builtins.bool] force_delete_repos: This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default.
688
- :param pulumi.Input[builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
689
- :param pulumi.Input[builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
690
- :param pulumi.Input[builtins.str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
691
- :param pulumi.Input[builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace.
692
- :param pulumi.Input[builtins.bool] workspace_consume: This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
676
+ :param pulumi.Input[_builtins.str] acl_principal_id: identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com`.
677
+ :param pulumi.Input[_builtins.bool] active: Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
678
+ :param pulumi.Input[_builtins.bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
679
+ :param pulumi.Input[_builtins.bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
680
+ :param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
681
+ :param pulumi.Input[_builtins.bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
682
+ :param pulumi.Input[_builtins.str] display_name: This is an alias for the username that can be the full name of the user.
683
+ :param pulumi.Input[_builtins.str] external_id: ID of the user in an external identity provider.
684
+ :param pulumi.Input[_builtins.bool] force: Ignore `cannot create user: User with username X already exists` errors and implicitly import the specific user into Pulumi state, enforcing entitlements defined in the instance of resource. _This functionality is experimental_ and is designed to simplify corner cases, like Azure Active Directory synchronisation.
685
+ :param pulumi.Input[_builtins.bool] force_delete_home_dir: This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default.
686
+ :param pulumi.Input[_builtins.bool] force_delete_repos: This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default.
687
+ :param pulumi.Input[_builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
688
+ :param pulumi.Input[_builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
689
+ :param pulumi.Input[_builtins.str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
690
+ :param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
691
+ :param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
693
692
  """
694
693
  ...
695
694
  @overload
@@ -773,7 +772,7 @@ class User(pulumi.CustomResource):
773
772
  The following resources are often used in the same context:
774
773
 
775
774
  * End to end workspace management guide.
776
- * Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
775
+ * Group to manage [Account-level](https://docs.databricks.com/aws/en/admin/users-groups/groups) or [Workspace-level](https://docs.databricks.com/aws/en/admin/users-groups/workspace-local-groups) groups.
777
776
  * Group data to retrieve information about Group members, entitlements and instance profiles.
778
777
  * GroupInstanceProfile to attach InstanceProfile (AWS) to databricks_group.
779
778
  * GroupMember to attach users and groups as group members.
@@ -817,22 +816,22 @@ class User(pulumi.CustomResource):
817
816
  def _internal_init(__self__,
818
817
  resource_name: str,
819
818
  opts: Optional[pulumi.ResourceOptions] = None,
820
- acl_principal_id: Optional[pulumi.Input[builtins.str]] = None,
821
- active: Optional[pulumi.Input[builtins.bool]] = None,
822
- allow_cluster_create: Optional[pulumi.Input[builtins.bool]] = None,
823
- allow_instance_pool_create: Optional[pulumi.Input[builtins.bool]] = None,
824
- databricks_sql_access: Optional[pulumi.Input[builtins.bool]] = None,
825
- disable_as_user_deletion: Optional[pulumi.Input[builtins.bool]] = None,
826
- display_name: Optional[pulumi.Input[builtins.str]] = None,
827
- external_id: Optional[pulumi.Input[builtins.str]] = None,
828
- force: Optional[pulumi.Input[builtins.bool]] = None,
829
- force_delete_home_dir: Optional[pulumi.Input[builtins.bool]] = None,
830
- force_delete_repos: Optional[pulumi.Input[builtins.bool]] = None,
831
- home: Optional[pulumi.Input[builtins.str]] = None,
832
- repos: Optional[pulumi.Input[builtins.str]] = None,
833
- user_name: Optional[pulumi.Input[builtins.str]] = None,
834
- workspace_access: Optional[pulumi.Input[builtins.bool]] = None,
835
- workspace_consume: Optional[pulumi.Input[builtins.bool]] = None,
819
+ acl_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
820
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
821
+ allow_cluster_create: Optional[pulumi.Input[_builtins.bool]] = None,
822
+ allow_instance_pool_create: Optional[pulumi.Input[_builtins.bool]] = None,
823
+ databricks_sql_access: Optional[pulumi.Input[_builtins.bool]] = None,
824
+ disable_as_user_deletion: Optional[pulumi.Input[_builtins.bool]] = None,
825
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
826
+ external_id: Optional[pulumi.Input[_builtins.str]] = None,
827
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
828
+ force_delete_home_dir: Optional[pulumi.Input[_builtins.bool]] = None,
829
+ force_delete_repos: Optional[pulumi.Input[_builtins.bool]] = None,
830
+ home: Optional[pulumi.Input[_builtins.str]] = None,
831
+ repos: Optional[pulumi.Input[_builtins.str]] = None,
832
+ user_name: Optional[pulumi.Input[_builtins.str]] = None,
833
+ workspace_access: Optional[pulumi.Input[_builtins.bool]] = None,
834
+ workspace_consume: Optional[pulumi.Input[_builtins.bool]] = None,
836
835
  __props__=None):
837
836
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
838
837
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -870,22 +869,22 @@ class User(pulumi.CustomResource):
870
869
  def get(resource_name: str,
871
870
  id: pulumi.Input[str],
872
871
  opts: Optional[pulumi.ResourceOptions] = None,
873
- acl_principal_id: Optional[pulumi.Input[builtins.str]] = None,
874
- active: Optional[pulumi.Input[builtins.bool]] = None,
875
- allow_cluster_create: Optional[pulumi.Input[builtins.bool]] = None,
876
- allow_instance_pool_create: Optional[pulumi.Input[builtins.bool]] = None,
877
- databricks_sql_access: Optional[pulumi.Input[builtins.bool]] = None,
878
- disable_as_user_deletion: Optional[pulumi.Input[builtins.bool]] = None,
879
- display_name: Optional[pulumi.Input[builtins.str]] = None,
880
- external_id: Optional[pulumi.Input[builtins.str]] = None,
881
- force: Optional[pulumi.Input[builtins.bool]] = None,
882
- force_delete_home_dir: Optional[pulumi.Input[builtins.bool]] = None,
883
- force_delete_repos: Optional[pulumi.Input[builtins.bool]] = None,
884
- home: Optional[pulumi.Input[builtins.str]] = None,
885
- repos: Optional[pulumi.Input[builtins.str]] = None,
886
- user_name: Optional[pulumi.Input[builtins.str]] = None,
887
- workspace_access: Optional[pulumi.Input[builtins.bool]] = None,
888
- workspace_consume: Optional[pulumi.Input[builtins.bool]] = None) -> 'User':
872
+ acl_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
873
+ active: Optional[pulumi.Input[_builtins.bool]] = None,
874
+ allow_cluster_create: Optional[pulumi.Input[_builtins.bool]] = None,
875
+ allow_instance_pool_create: Optional[pulumi.Input[_builtins.bool]] = None,
876
+ databricks_sql_access: Optional[pulumi.Input[_builtins.bool]] = None,
877
+ disable_as_user_deletion: Optional[pulumi.Input[_builtins.bool]] = None,
878
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
879
+ external_id: Optional[pulumi.Input[_builtins.str]] = None,
880
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
881
+ force_delete_home_dir: Optional[pulumi.Input[_builtins.bool]] = None,
882
+ force_delete_repos: Optional[pulumi.Input[_builtins.bool]] = None,
883
+ home: Optional[pulumi.Input[_builtins.str]] = None,
884
+ repos: Optional[pulumi.Input[_builtins.str]] = None,
885
+ user_name: Optional[pulumi.Input[_builtins.str]] = None,
886
+ workspace_access: Optional[pulumi.Input[_builtins.bool]] = None,
887
+ workspace_consume: Optional[pulumi.Input[_builtins.bool]] = None) -> 'User':
889
888
  """
890
889
  Get an existing User resource's state with the given name, id, and optional extra
891
890
  properties used to qualify the lookup.
@@ -893,22 +892,22 @@ class User(pulumi.CustomResource):
893
892
  :param str resource_name: The unique name of the resulting resource.
894
893
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
895
894
  :param pulumi.ResourceOptions opts: Options for the resource.
896
- :param pulumi.Input[builtins.str] acl_principal_id: identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com`.
897
- :param pulumi.Input[builtins.bool] active: Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
898
- :param pulumi.Input[builtins.bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
899
- :param pulumi.Input[builtins.bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
900
- :param pulumi.Input[builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
901
- :param pulumi.Input[builtins.bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
902
- :param pulumi.Input[builtins.str] display_name: This is an alias for the username that can be the full name of the user.
903
- :param pulumi.Input[builtins.str] external_id: ID of the user in an external identity provider.
904
- :param pulumi.Input[builtins.bool] force: Ignore `cannot create user: User with username X already exists` errors and implicitly import the specific user into Pulumi state, enforcing entitlements defined in the instance of resource. _This functionality is experimental_ and is designed to simplify corner cases, like Azure Active Directory synchronisation.
905
- :param pulumi.Input[builtins.bool] force_delete_home_dir: This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default.
906
- :param pulumi.Input[builtins.bool] force_delete_repos: This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default.
907
- :param pulumi.Input[builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
908
- :param pulumi.Input[builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
909
- :param pulumi.Input[builtins.str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
910
- :param pulumi.Input[builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace.
911
- :param pulumi.Input[builtins.bool] workspace_consume: This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
895
+ :param pulumi.Input[_builtins.str] acl_principal_id: identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com`.
896
+ :param pulumi.Input[_builtins.bool] active: Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
897
+ :param pulumi.Input[_builtins.bool] allow_cluster_create: Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
898
+ :param pulumi.Input[_builtins.bool] allow_instance_pool_create: Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
899
+ :param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
900
+ :param pulumi.Input[_builtins.bool] disable_as_user_deletion: Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
901
+ :param pulumi.Input[_builtins.str] display_name: This is an alias for the username that can be the full name of the user.
902
+ :param pulumi.Input[_builtins.str] external_id: ID of the user in an external identity provider.
903
+ :param pulumi.Input[_builtins.bool] force: Ignore `cannot create user: User with username X already exists` errors and implicitly import the specific user into Pulumi state, enforcing entitlements defined in the instance of resource. _This functionality is experimental_ and is designed to simplify corner cases, like Azure Active Directory synchronisation.
904
+ :param pulumi.Input[_builtins.bool] force_delete_home_dir: This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default.
905
+ :param pulumi.Input[_builtins.bool] force_delete_repos: This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default.
906
+ :param pulumi.Input[_builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
907
+ :param pulumi.Input[_builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
908
+ :param pulumi.Input[_builtins.str] user_name: This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
909
+ :param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
910
+ :param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
912
911
  """
913
912
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
914
913
 
@@ -932,131 +931,131 @@ class User(pulumi.CustomResource):
932
931
  __props__.__dict__["workspace_consume"] = workspace_consume
933
932
  return User(resource_name, opts=opts, __props__=__props__)
934
933
 
935
- @property
934
+ @_builtins.property
936
935
  @pulumi.getter(name="aclPrincipalId")
937
- def acl_principal_id(self) -> pulumi.Output[builtins.str]:
936
+ def acl_principal_id(self) -> pulumi.Output[_builtins.str]:
938
937
  """
939
938
  identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com`.
940
939
  """
941
940
  return pulumi.get(self, "acl_principal_id")
942
941
 
943
- @property
942
+ @_builtins.property
944
943
  @pulumi.getter
945
- def active(self) -> pulumi.Output[Optional[builtins.bool]]:
944
+ def active(self) -> pulumi.Output[Optional[_builtins.bool]]:
946
945
  """
947
946
  Either user is active or not. True by default, but can be set to false in case of user deactivation with preserving user assets.
948
947
  """
949
948
  return pulumi.get(self, "active")
950
949
 
951
- @property
950
+ @_builtins.property
952
951
  @pulumi.getter(name="allowClusterCreate")
953
- def allow_cluster_create(self) -> pulumi.Output[Optional[builtins.bool]]:
952
+ def allow_cluster_create(self) -> pulumi.Output[Optional[_builtins.bool]]:
954
953
  """
955
954
  Allow the user to have cluster create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and `cluster_id` argument. Everyone without `allow_cluster_create` argument set, but with permission to use Cluster Policy would be able to create clusters, but within boundaries of that specific policy.
956
955
  """
957
956
  return pulumi.get(self, "allow_cluster_create")
958
957
 
959
- @property
958
+ @_builtins.property
960
959
  @pulumi.getter(name="allowInstancePoolCreate")
961
- def allow_instance_pool_create(self) -> pulumi.Output[Optional[builtins.bool]]:
960
+ def allow_instance_pool_create(self) -> pulumi.Output[Optional[_builtins.bool]]:
962
961
  """
963
962
  Allow the user to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
964
963
  """
965
964
  return pulumi.get(self, "allow_instance_pool_create")
966
965
 
967
- @property
966
+ @_builtins.property
968
967
  @pulumi.getter(name="databricksSqlAccess")
969
- def databricks_sql_access(self) -> pulumi.Output[Optional[builtins.bool]]:
968
+ def databricks_sql_access(self) -> pulumi.Output[Optional[_builtins.bool]]:
970
969
  """
971
- This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) feature in User Interface and through databricks_sql_endpoint.
970
+ This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql) UI, [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one) and through databricks_sql_endpoint.
972
971
  """
973
972
  return pulumi.get(self, "databricks_sql_access")
974
973
 
975
- @property
974
+ @_builtins.property
976
975
  @pulumi.getter(name="disableAsUserDeletion")
977
- def disable_as_user_deletion(self) -> pulumi.Output[builtins.bool]:
976
+ def disable_as_user_deletion(self) -> pulumi.Output[_builtins.bool]:
978
977
  """
979
978
  Deactivate the user when deleting the resource, rather than deleting the user entirely. Defaults to `true` when the provider is configured at the account-level and `false` when configured at the workspace-level. This flag is exclusive to force_delete_repos and force_delete_home_dir flags.
980
979
  """
981
980
  return pulumi.get(self, "disable_as_user_deletion")
982
981
 
983
- @property
982
+ @_builtins.property
984
983
  @pulumi.getter(name="displayName")
985
- def display_name(self) -> pulumi.Output[builtins.str]:
984
+ def display_name(self) -> pulumi.Output[_builtins.str]:
986
985
  """
987
986
  This is an alias for the username that can be the full name of the user.
988
987
  """
989
988
  return pulumi.get(self, "display_name")
990
989
 
991
- @property
990
+ @_builtins.property
992
991
  @pulumi.getter(name="externalId")
993
- def external_id(self) -> pulumi.Output[Optional[builtins.str]]:
992
+ def external_id(self) -> pulumi.Output[Optional[_builtins.str]]:
994
993
  """
995
994
  ID of the user in an external identity provider.
996
995
  """
997
996
  return pulumi.get(self, "external_id")
998
997
 
999
- @property
998
+ @_builtins.property
1000
999
  @pulumi.getter
1001
- def force(self) -> pulumi.Output[Optional[builtins.bool]]:
1000
+ def force(self) -> pulumi.Output[Optional[_builtins.bool]]:
1002
1001
  """
1003
1002
  Ignore `cannot create user: User with username X already exists` errors and implicitly import the specific user into Pulumi state, enforcing entitlements defined in the instance of resource. _This functionality is experimental_ and is designed to simplify corner cases, like Azure Active Directory synchronisation.
1004
1003
  """
1005
1004
  return pulumi.get(self, "force")
1006
1005
 
1007
- @property
1006
+ @_builtins.property
1008
1007
  @pulumi.getter(name="forceDeleteHomeDir")
1009
- def force_delete_home_dir(self) -> pulumi.Output[Optional[builtins.bool]]:
1008
+ def force_delete_home_dir(self) -> pulumi.Output[Optional[_builtins.bool]]:
1010
1009
  """
1011
1010
  This flag determines whether the user's home directory is deleted when the user is deleted. It will have not impact when in the accounts SCIM API. False by default.
1012
1011
  """
1013
1012
  return pulumi.get(self, "force_delete_home_dir")
1014
1013
 
1015
- @property
1014
+ @_builtins.property
1016
1015
  @pulumi.getter(name="forceDeleteRepos")
1017
- def force_delete_repos(self) -> pulumi.Output[Optional[builtins.bool]]:
1016
+ def force_delete_repos(self) -> pulumi.Output[Optional[_builtins.bool]]:
1018
1017
  """
1019
1018
  This flag determines whether the user's repo directory is deleted when the user is deleted. It will have no impact when in the accounts SCIM API. False by default.
1020
1019
  """
1021
1020
  return pulumi.get(self, "force_delete_repos")
1022
1021
 
1023
- @property
1022
+ @_builtins.property
1024
1023
  @pulumi.getter
1025
- def home(self) -> pulumi.Output[builtins.str]:
1024
+ def home(self) -> pulumi.Output[_builtins.str]:
1026
1025
  """
1027
1026
  Home folder of the user, e.g. `/Users/mr.foo@example.com`.
1028
1027
  """
1029
1028
  return pulumi.get(self, "home")
1030
1029
 
1031
- @property
1030
+ @_builtins.property
1032
1031
  @pulumi.getter
1033
- def repos(self) -> pulumi.Output[builtins.str]:
1032
+ def repos(self) -> pulumi.Output[_builtins.str]:
1034
1033
  """
1035
1034
  Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
1036
1035
  """
1037
1036
  return pulumi.get(self, "repos")
1038
1037
 
1039
- @property
1038
+ @_builtins.property
1040
1039
  @pulumi.getter(name="userName")
1041
- def user_name(self) -> pulumi.Output[builtins.str]:
1040
+ def user_name(self) -> pulumi.Output[_builtins.str]:
1042
1041
  """
1043
1042
  This is the username of the given user and will be their form of access and identity. Provided username will be converted to lower case if it contains upper case characters.
1044
1043
  """
1045
1044
  return pulumi.get(self, "user_name")
1046
1045
 
1047
- @property
1046
+ @_builtins.property
1048
1047
  @pulumi.getter(name="workspaceAccess")
1049
- def workspace_access(self) -> pulumi.Output[Optional[builtins.bool]]:
1048
+ def workspace_access(self) -> pulumi.Output[Optional[_builtins.bool]]:
1050
1049
  """
1051
- This is a field to allow the user to have access to a Databricks Workspace.
1050
+ This is a field to allow the user to have access to a Databricks Workspace UI and [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one).
1052
1051
  """
1053
1052
  return pulumi.get(self, "workspace_access")
1054
1053
 
1055
- @property
1054
+ @_builtins.property
1056
1055
  @pulumi.getter(name="workspaceConsume")
1057
- def workspace_consume(self) -> pulumi.Output[Optional[builtins.bool]]:
1056
+ def workspace_consume(self) -> pulumi.Output[Optional[_builtins.bool]]:
1058
1057
  """
1059
- This is a field to allow the user to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspace_access` or `databricks_sql_access`.
1058
+ This is a field to allow the user to have access only to [Databricks One](https://docs.databricks.com/aws/en/workspace/databricks-one#who-can-access-databricks-one). Couldn't be used with `workspace_access` or `databricks_sql_access`.
1060
1059
  """
1061
1060
  return pulumi.get(self, "workspace_consume")
1062
1061