pulumi-databricks 1.75.0a1756323569__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.
- pulumi_databricks/__init__.py +129 -46
- pulumi_databricks/_inputs.py +13377 -13798
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +12 -4
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/alert_v2.py +223 -90
- pulumi_databricks/app.py +111 -4
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/budget_policy.py +28 -5
- pulumi_databricks/catalog.py +322 -2
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/config/__init__.pyi +2 -0
- pulumi_databricks/config/vars.py +4 -0
- pulumi_databricks/connection.py +0 -34
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +8 -4
- pulumi_databricks/database_instance.py +354 -73
- pulumi_databricks/database_synced_database_table.py +52 -4
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_metadata.py +15 -11
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +17 -18
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +78 -70
- pulumi_databricks/get_alerts_v2.py +31 -12
- pulumi_databricks/get_app.py +21 -9
- pulumi_databricks/get_apps.py +22 -10
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_bucket_policy.py +6 -6
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +35 -30
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +21 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +24 -4
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +6 -20
- pulumi_databricks/get_database_database_catalogs.py +46 -8
- pulumi_databricks/get_database_instance.py +122 -75
- pulumi_databricks/get_database_instances.py +31 -6
- pulumi_databricks/get_database_synced_database_table.py +7 -28
- pulumi_databricks/get_database_synced_database_tables.py +43 -5
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +12 -50
- pulumi_databricks/get_external_metadatas.py +55 -6
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +3 -11
- pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
- pulumi_databricks/get_metastore.py +2 -2
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +7 -17
- pulumi_databricks/get_online_stores.py +29 -8
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +28 -99
- pulumi_databricks/get_policy_infos.py +92 -5
- pulumi_databricks/get_quality_monitor_v2.py +4 -0
- pulumi_databricks/get_quality_monitors_v2.py +22 -3
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/grant.py +2 -2
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +8 -4
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
- pulumi_databricks/mws_permission_assignment.py +16 -16
- pulumi_databricks/mws_storage_configurations.py +6 -6
- pulumi_databricks/mws_workspaces.py +76 -29
- pulumi_databricks/online_store.py +8 -4
- pulumi_databricks/outputs.py +26397 -22382
- pulumi_databricks/permission_assignment.py +266 -24
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +43 -39
- pulumi_databricks/provider.py +15 -0
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +8 -4
- pulumi_databricks/registered_model.py +301 -29
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_endpoint.py +47 -0
- pulumi_databricks/sql_table.py +35 -7
- pulumi_databricks/storage_credential.py +59 -6
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +8 -4
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -891
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
- pulumi_databricks/clean_rooms_clean_room.py +0 -518
- pulumi_databricks/get_clean_room_asset.py +0 -399
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
- pulumi_databricks/get_clean_room_assets.py +0 -104
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
- pulumi_databricks/get_recipient_federation_policies.py +0 -82
- pulumi_databricks/get_recipient_federation_policy.py +0 -165
- pulumi_databricks/recipient_federation_policy.py +0 -346
- pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
pulumi_databricks/user.py
CHANGED
|
@@ -42,7 +42,7 @@ class UserArgs:
|
|
|
42
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
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
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)
|
|
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
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
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
48
|
:param pulumi.Input[_builtins.str] external_id: ID of the user in an external identity provider.
|
|
@@ -51,8 +51,8 @@ class UserArgs:
|
|
|
51
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
52
|
:param pulumi.Input[_builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
|
|
53
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.
|
|
55
|
-
:param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access to
|
|
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`.
|
|
56
56
|
"""
|
|
57
57
|
pulumi.set(__self__, "user_name", user_name)
|
|
58
58
|
if acl_principal_id is not None:
|
|
@@ -150,7 +150,7 @@ class UserArgs:
|
|
|
150
150
|
@pulumi.getter(name="databricksSqlAccess")
|
|
151
151
|
def databricks_sql_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
152
152
|
"""
|
|
153
|
-
This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql)
|
|
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.
|
|
154
154
|
"""
|
|
155
155
|
return pulumi.get(self, "databricks_sql_access")
|
|
156
156
|
|
|
@@ -258,7 +258,7 @@ class UserArgs:
|
|
|
258
258
|
@pulumi.getter(name="workspaceAccess")
|
|
259
259
|
def workspace_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
260
260
|
"""
|
|
261
|
-
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).
|
|
262
262
|
"""
|
|
263
263
|
return pulumi.get(self, "workspace_access")
|
|
264
264
|
|
|
@@ -270,7 +270,7 @@ class UserArgs:
|
|
|
270
270
|
@pulumi.getter(name="workspaceConsume")
|
|
271
271
|
def workspace_consume(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
272
272
|
"""
|
|
273
|
-
This is a field to allow the user to have access to
|
|
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`.
|
|
274
274
|
"""
|
|
275
275
|
return pulumi.get(self, "workspace_consume")
|
|
276
276
|
|
|
@@ -304,7 +304,7 @@ class _UserState:
|
|
|
304
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
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
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)
|
|
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
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
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
310
|
:param pulumi.Input[_builtins.str] external_id: ID of the user in an external identity provider.
|
|
@@ -314,8 +314,8 @@ class _UserState:
|
|
|
314
314
|
:param pulumi.Input[_builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
|
|
315
315
|
:param pulumi.Input[_builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
|
|
316
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.
|
|
318
|
-
:param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access to
|
|
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`.
|
|
319
319
|
"""
|
|
320
320
|
if acl_principal_id is not None:
|
|
321
321
|
pulumi.set(__self__, "acl_principal_id", acl_principal_id)
|
|
@@ -402,7 +402,7 @@ class _UserState:
|
|
|
402
402
|
@pulumi.getter(name="databricksSqlAccess")
|
|
403
403
|
def databricks_sql_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
404
404
|
"""
|
|
405
|
-
This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql)
|
|
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.
|
|
406
406
|
"""
|
|
407
407
|
return pulumi.get(self, "databricks_sql_access")
|
|
408
408
|
|
|
@@ -522,7 +522,7 @@ class _UserState:
|
|
|
522
522
|
@pulumi.getter(name="workspaceAccess")
|
|
523
523
|
def workspace_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
524
524
|
"""
|
|
525
|
-
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).
|
|
526
526
|
"""
|
|
527
527
|
return pulumi.get(self, "workspace_access")
|
|
528
528
|
|
|
@@ -534,7 +534,7 @@ class _UserState:
|
|
|
534
534
|
@pulumi.getter(name="workspaceConsume")
|
|
535
535
|
def workspace_consume(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
536
536
|
"""
|
|
537
|
-
This is a field to allow the user to have access to
|
|
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`.
|
|
538
538
|
"""
|
|
539
539
|
return pulumi.get(self, "workspace_consume")
|
|
540
540
|
|
|
@@ -677,7 +677,7 @@ class User(pulumi.CustomResource):
|
|
|
677
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
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
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)
|
|
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
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
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
683
|
:param pulumi.Input[_builtins.str] external_id: ID of the user in an external identity provider.
|
|
@@ -687,8 +687,8 @@ class User(pulumi.CustomResource):
|
|
|
687
687
|
:param pulumi.Input[_builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
|
|
688
688
|
:param pulumi.Input[_builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
|
|
689
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.
|
|
691
|
-
:param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access to
|
|
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`.
|
|
692
692
|
"""
|
|
693
693
|
...
|
|
694
694
|
@overload
|
|
@@ -896,7 +896,7 @@ class User(pulumi.CustomResource):
|
|
|
896
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
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
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)
|
|
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
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
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
902
|
:param pulumi.Input[_builtins.str] external_id: ID of the user in an external identity provider.
|
|
@@ -906,8 +906,8 @@ class User(pulumi.CustomResource):
|
|
|
906
906
|
:param pulumi.Input[_builtins.str] home: Home folder of the user, e.g. `/Users/mr.foo@example.com`.
|
|
907
907
|
:param pulumi.Input[_builtins.str] repos: Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
|
|
908
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.
|
|
910
|
-
:param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the user to have access to
|
|
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`.
|
|
911
911
|
"""
|
|
912
912
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
913
913
|
|
|
@@ -967,7 +967,7 @@ class User(pulumi.CustomResource):
|
|
|
967
967
|
@pulumi.getter(name="databricksSqlAccess")
|
|
968
968
|
def databricks_sql_access(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
969
969
|
"""
|
|
970
|
-
This is a field to allow the user to have access to [Databricks SQL](https://databricks.com/product/databricks-sql)
|
|
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.
|
|
971
971
|
"""
|
|
972
972
|
return pulumi.get(self, "databricks_sql_access")
|
|
973
973
|
|
|
@@ -1047,7 +1047,7 @@ class User(pulumi.CustomResource):
|
|
|
1047
1047
|
@pulumi.getter(name="workspaceAccess")
|
|
1048
1048
|
def workspace_access(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1049
1049
|
"""
|
|
1050
|
-
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).
|
|
1051
1051
|
"""
|
|
1052
1052
|
return pulumi.get(self, "workspace_access")
|
|
1053
1053
|
|
|
@@ -1055,7 +1055,7 @@ class User(pulumi.CustomResource):
|
|
|
1055
1055
|
@pulumi.getter(name="workspaceConsume")
|
|
1056
1056
|
def workspace_consume(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1057
1057
|
"""
|
|
1058
|
-
This is a field to allow the user to have access to
|
|
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`.
|
|
1059
1059
|
"""
|
|
1060
1060
|
return pulumi.get(self, "workspace_consume")
|
|
1061
1061
|
|
|
@@ -204,30 +204,6 @@ class WorkspaceBinding(pulumi.CustomResource):
|
|
|
204
204
|
workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
205
205
|
__props__=None):
|
|
206
206
|
"""
|
|
207
|
-
If you use workspaces to isolate user data access, you may want to limit access to catalog, external locations or storage credentials from specific workspaces in your account, also known as workspace binding
|
|
208
|
-
|
|
209
|
-
> This resource can only be used with a workspace-level provider!
|
|
210
|
-
|
|
211
|
-
By default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource.
|
|
212
|
-
|
|
213
|
-
> To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks_external_location, StorageCredential or databricks_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces).
|
|
214
|
-
|
|
215
|
-
> If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from.
|
|
216
|
-
|
|
217
|
-
## Example Usage
|
|
218
|
-
|
|
219
|
-
```python
|
|
220
|
-
import pulumi
|
|
221
|
-
import pulumi_databricks as databricks
|
|
222
|
-
|
|
223
|
-
sandbox = databricks.Catalog("sandbox",
|
|
224
|
-
name="sandbox",
|
|
225
|
-
isolation_mode="ISOLATED")
|
|
226
|
-
sandbox_workspace_binding = databricks.WorkspaceBinding("sandbox",
|
|
227
|
-
securable_name=sandbox.name,
|
|
228
|
-
workspace_id=other["workspaceId"])
|
|
229
|
-
```
|
|
230
|
-
|
|
231
207
|
## Import
|
|
232
208
|
|
|
233
209
|
This resource can be imported by using combination of workspace ID, securable type and name:
|
|
@@ -264,30 +240,6 @@ class WorkspaceBinding(pulumi.CustomResource):
|
|
|
264
240
|
args: WorkspaceBindingArgs,
|
|
265
241
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
266
242
|
"""
|
|
267
|
-
If you use workspaces to isolate user data access, you may want to limit access to catalog, external locations or storage credentials from specific workspaces in your account, also known as workspace binding
|
|
268
|
-
|
|
269
|
-
> This resource can only be used with a workspace-level provider!
|
|
270
|
-
|
|
271
|
-
By default, Databricks assigns the securable to all workspaces attached to the current metastore. By using `WorkspaceBinding`, the securable will be unassigned from all workspaces and only assigned explicitly using this resource.
|
|
272
|
-
|
|
273
|
-
> To use this resource the securable must have its isolation mode set to `ISOLATED` (for databricks_catalog) or `ISOLATION_MODE_ISOLATED` (for (for databricks_external_location, StorageCredential or databricks_credential) for the `isolation_mode` attribute. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration), [this guide](https://docs.databricks.com/en/connect/unity-catalog/external-locations.html#workspace-binding) or [this guide](https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html#optional-assign-a-storage-credential-to-specific-workspaces).
|
|
274
|
-
|
|
275
|
-
> If the securable's isolation mode was set to `ISOLATED` using Pulumi then the securable will have been automatically bound to the workspace it was created from.
|
|
276
|
-
|
|
277
|
-
## Example Usage
|
|
278
|
-
|
|
279
|
-
```python
|
|
280
|
-
import pulumi
|
|
281
|
-
import pulumi_databricks as databricks
|
|
282
|
-
|
|
283
|
-
sandbox = databricks.Catalog("sandbox",
|
|
284
|
-
name="sandbox",
|
|
285
|
-
isolation_mode="ISOLATED")
|
|
286
|
-
sandbox_workspace_binding = databricks.WorkspaceBinding("sandbox",
|
|
287
|
-
securable_name=sandbox.name,
|
|
288
|
-
workspace_id=other["workspaceId"])
|
|
289
|
-
```
|
|
290
|
-
|
|
291
243
|
## Import
|
|
292
244
|
|
|
293
245
|
This resource can be imported by using combination of workspace ID, securable type and name:
|
|
@@ -118,6 +118,8 @@ class WorkspaceNetworkOption(pulumi.CustomResource):
|
|
|
118
118
|
workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
119
119
|
__props__=None):
|
|
120
120
|
"""
|
|
121
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
122
|
+
|
|
121
123
|
Workspace network options allow configuration of network settings for Databricks workspaces by selecting which network policy to associate with the workspace.
|
|
122
124
|
|
|
123
125
|
Each workspace is always associated with exactly one network policy that controls which network destinations can be accessed from the Databricks environment. By default, workspaces are associated with the `default-policy` network policy.
|
|
@@ -149,7 +151,7 @@ class WorkspaceNetworkOption(pulumi.CustomResource):
|
|
|
149
151
|
|
|
150
152
|
import {
|
|
151
153
|
|
|
152
|
-
id = workspace_id
|
|
154
|
+
id = "workspace_id"
|
|
153
155
|
|
|
154
156
|
to = databricks_workspace_network_option.this
|
|
155
157
|
|
|
@@ -158,7 +160,7 @@ class WorkspaceNetworkOption(pulumi.CustomResource):
|
|
|
158
160
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
159
161
|
|
|
160
162
|
```sh
|
|
161
|
-
$ pulumi import databricks:index/workspaceNetworkOption:WorkspaceNetworkOption
|
|
163
|
+
$ pulumi import databricks:index/workspaceNetworkOption:WorkspaceNetworkOption this "workspace_id"
|
|
162
164
|
```
|
|
163
165
|
|
|
164
166
|
:param str resource_name: The name of the resource.
|
|
@@ -176,6 +178,8 @@ class WorkspaceNetworkOption(pulumi.CustomResource):
|
|
|
176
178
|
args: Optional[WorkspaceNetworkOptionArgs] = None,
|
|
177
179
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
178
180
|
"""
|
|
181
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
182
|
+
|
|
179
183
|
Workspace network options allow configuration of network settings for Databricks workspaces by selecting which network policy to associate with the workspace.
|
|
180
184
|
|
|
181
185
|
Each workspace is always associated with exactly one network policy that controls which network destinations can be accessed from the Databricks environment. By default, workspaces are associated with the `default-policy` network policy.
|
|
@@ -207,7 +211,7 @@ class WorkspaceNetworkOption(pulumi.CustomResource):
|
|
|
207
211
|
|
|
208
212
|
import {
|
|
209
213
|
|
|
210
|
-
id = workspace_id
|
|
214
|
+
id = "workspace_id"
|
|
211
215
|
|
|
212
216
|
to = databricks_workspace_network_option.this
|
|
213
217
|
|
|
@@ -216,7 +220,7 @@ class WorkspaceNetworkOption(pulumi.CustomResource):
|
|
|
216
220
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
217
221
|
|
|
218
222
|
```sh
|
|
219
|
-
$ pulumi import databricks:index/workspaceNetworkOption:WorkspaceNetworkOption
|
|
223
|
+
$ pulumi import databricks:index/workspaceNetworkOption:WorkspaceNetworkOption this "workspace_id"
|
|
220
224
|
```
|
|
221
225
|
|
|
222
226
|
:param str resource_name: The name of the resource.
|