pulumi-databricks 1.76.0a1757569246__py3-none-any.whl → 1.79.0a1764800092__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.
Potentially problematic release.
This version of pulumi-databricks might be problematic. Click here for more details.
- pulumi_databricks/__init__.py +54 -46
- pulumi_databricks/_inputs.py +19547 -26284
- pulumi_databricks/account_federation_policy.py +48 -16
- pulumi_databricks/account_network_policy.py +60 -2
- pulumi_databricks/account_setting_v2.py +46 -83
- pulumi_databricks/alert_v2.py +174 -134
- pulumi_databricks/app.py +175 -0
- pulumi_databricks/apps_settings_custom_template.py +127 -52
- pulumi_databricks/budget_policy.py +6 -2
- pulumi_databricks/catalog.py +65 -23
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +568 -0
- pulumi_databricks/database_database_catalog.py +9 -52
- pulumi_databricks/database_instance.py +271 -120
- pulumi_databricks/database_synced_database_table.py +265 -52
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +83 -52
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/external_metadata.py +16 -59
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +2 -2
- pulumi_databricks/get_account_federation_policies.py +22 -3
- pulumi_databricks/get_account_federation_policy.py +20 -27
- 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 +36 -141
- pulumi_databricks/get_alert_v2.py +47 -107
- pulumi_databricks/get_alerts_v2.py +29 -31
- pulumi_databricks/get_app.py +21 -5
- pulumi_databricks/get_apps.py +22 -6
- pulumi_databricks/get_apps_settings_custom_template.py +11 -55
- pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
- pulumi_databricks/get_aws_assume_role_policy.py +14 -14
- pulumi_databricks/get_aws_bucket_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +9 -32
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +75 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_config.py +4 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +56 -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 +10 -41
- pulumi_databricks/get_database_database_catalogs.py +37 -18
- pulumi_databricks/get_database_instance.py +93 -99
- pulumi_databricks/get_database_instances.py +20 -16
- pulumi_databricks/get_database_synced_database_table.py +11 -49
- pulumi_databricks/get_database_synced_database_tables.py +42 -23
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +63 -30
- pulumi_databricks/get_entity_tag_assignments.py +69 -23
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +18 -73
- pulumi_databricks/get_external_metadatas.py +22 -16
- 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 +7 -32
- pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
- pulumi_databricks/get_metastore.py +6 -6
- 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_notebook.py +20 -1
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +11 -38
- pulumi_databricks/get_online_stores.py +20 -18
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +21 -109
- pulumi_databricks/get_policy_infos.py +50 -25
- pulumi_databricks/get_quality_monitor_v2.py +8 -21
- pulumi_databricks/get_quality_monitors_v2.py +23 -25
- 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 +23 -4
- pulumi_databricks/get_service_principal_federation_policy.py +23 -24
- pulumi_databricks/get_service_principals.py +64 -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 +55 -23
- pulumi_databricks/get_tag_policy.py +60 -40
- 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 +41 -163
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/instance_profile.py +0 -182
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +9 -52
- pulumi_databricks/metastore.py +81 -7
- pulumi_databricks/metastore_data_access.py +48 -0
- pulumi_databricks/mlflow_webhook.py +4 -4
- pulumi_databricks/mws_credentials.py +10 -10
- pulumi_databricks/mws_customer_managed_keys.py +0 -288
- pulumi_databricks/mws_log_delivery.py +146 -0
- pulumi_databricks/mws_storage_configurations.py +16 -16
- pulumi_databricks/mws_vpc_endpoint.py +56 -56
- pulumi_databricks/mws_workspaces.py +146 -65
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/online_store.py +9 -52
- pulumi_databricks/outputs.py +11558 -13079
- pulumi_databricks/permission_assignment.py +299 -8
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +9 -52
- pulumi_databricks/provider.py +36 -1
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +9 -52
- pulumi_databricks/recipient.py +74 -0
- pulumi_databricks/registered_model.py +308 -36
- pulumi_databricks/rfa_access_request_destinations.py +354 -0
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +52 -16
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_endpoint.py +47 -0
- pulumi_databricks/sql_table.py +42 -14
- pulumi_databricks/storage_credential.py +15 -2
- pulumi_databricks/tag_policy.py +111 -54
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/volume.py +7 -7
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +6 -2
- pulumi_databricks/workspace_setting_v2.py +49 -133
- {pulumi_databricks-1.76.0a1757569246.dist-info → pulumi_databricks-1.79.0a1764800092.dist-info}/METADATA +1 -1
- pulumi_databricks-1.79.0a1764800092.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -938
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
- pulumi_databricks/clean_rooms_clean_room.py +0 -565
- pulumi_databricks/get_clean_room_asset.py +0 -416
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
- pulumi_databricks/get_clean_room_assets.py +0 -146
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
- pulumi_databricks/get_recipient_federation_policies.py +0 -101
- pulumi_databricks/get_recipient_federation_policy.py +0 -182
- pulumi_databricks/recipient_federation_policy.py +0 -393
- pulumi_databricks-1.76.0a1757569246.dist-info/RECORD +0 -250
- {pulumi_databricks-1.76.0a1757569246.dist-info → pulumi_databricks-1.79.0a1764800092.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.76.0a1757569246.dist-info → pulumi_databricks-1.79.0a1764800092.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
|
|
pulumi_databricks/volume.py
CHANGED
|
@@ -34,7 +34,7 @@ class VolumeArgs:
|
|
|
34
34
|
:param pulumi.Input[_builtins.str] comment: Free-form text.
|
|
35
35
|
:param pulumi.Input[_builtins.str] name: Name of the Volume
|
|
36
36
|
:param pulumi.Input[_builtins.str] owner: Name of the volume owner.
|
|
37
|
-
:param pulumi.Input[_builtins.str] storage_location:
|
|
37
|
+
:param pulumi.Input[_builtins.str] storage_location: URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
38
38
|
"""
|
|
39
39
|
pulumi.set(__self__, "catalog_name", catalog_name)
|
|
40
40
|
pulumi.set(__self__, "schema_name", schema_name)
|
|
@@ -124,7 +124,7 @@ class VolumeArgs:
|
|
|
124
124
|
@pulumi.getter(name="storageLocation")
|
|
125
125
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
126
126
|
"""
|
|
127
|
-
|
|
127
|
+
URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
128
128
|
"""
|
|
129
129
|
return pulumi.get(self, "storage_location")
|
|
130
130
|
|
|
@@ -151,7 +151,7 @@ class _VolumeState:
|
|
|
151
151
|
:param pulumi.Input[_builtins.str] name: Name of the Volume
|
|
152
152
|
:param pulumi.Input[_builtins.str] owner: Name of the volume owner.
|
|
153
153
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource.
|
|
154
|
-
:param pulumi.Input[_builtins.str] storage_location:
|
|
154
|
+
:param pulumi.Input[_builtins.str] storage_location: URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
155
155
|
:param pulumi.Input[_builtins.str] volume_path: base file path for this Unity Catalog Volume in form of `/Volumes/<catalog>/<schema>/<name>`.
|
|
156
156
|
:param pulumi.Input[_builtins.str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource.
|
|
157
157
|
"""
|
|
@@ -236,7 +236,7 @@ class _VolumeState:
|
|
|
236
236
|
@pulumi.getter(name="storageLocation")
|
|
237
237
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
238
238
|
"""
|
|
239
|
-
|
|
239
|
+
URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
240
240
|
"""
|
|
241
241
|
return pulumi.get(self, "storage_location")
|
|
242
242
|
|
|
@@ -378,7 +378,7 @@ class Volume(pulumi.CustomResource):
|
|
|
378
378
|
:param pulumi.Input[_builtins.str] name: Name of the Volume
|
|
379
379
|
:param pulumi.Input[_builtins.str] owner: Name of the volume owner.
|
|
380
380
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource.
|
|
381
|
-
:param pulumi.Input[_builtins.str] storage_location:
|
|
381
|
+
:param pulumi.Input[_builtins.str] storage_location: URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
382
382
|
:param pulumi.Input[_builtins.str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource.
|
|
383
383
|
"""
|
|
384
384
|
...
|
|
@@ -550,7 +550,7 @@ class Volume(pulumi.CustomResource):
|
|
|
550
550
|
:param pulumi.Input[_builtins.str] name: Name of the Volume
|
|
551
551
|
:param pulumi.Input[_builtins.str] owner: Name of the volume owner.
|
|
552
552
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces creation of a new resource.
|
|
553
|
-
:param pulumi.Input[_builtins.str] storage_location:
|
|
553
|
+
:param pulumi.Input[_builtins.str] storage_location: URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
554
554
|
:param pulumi.Input[_builtins.str] volume_path: base file path for this Unity Catalog Volume in form of `/Volumes/<catalog>/<schema>/<name>`.
|
|
555
555
|
:param pulumi.Input[_builtins.str] volume_type: Volume type. `EXTERNAL` or `MANAGED`. Change forces creation of a new resource.
|
|
556
556
|
"""
|
|
@@ -612,7 +612,7 @@ class Volume(pulumi.CustomResource):
|
|
|
612
612
|
@pulumi.getter(name="storageLocation")
|
|
613
613
|
def storage_location(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
614
614
|
"""
|
|
615
|
-
|
|
615
|
+
URL for the volume (should be inside of an existing External Location). Only used for `EXTERNAL` Volumes. If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Change forces creation of a new resource.
|
|
616
616
|
"""
|
|
617
617
|
return pulumi.get(self, "storage_location")
|
|
618
618
|
|
|
@@ -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.
|
|
@@ -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.
|
|
@@ -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.
|