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.
- pulumi_databricks/__init__.py +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- 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 +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- 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 +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- 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 +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,26 +19,26 @@ __all__ = ['EntitlementsArgs', 'Entitlements']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class EntitlementsArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
allow_cluster_create: Optional[pulumi.Input[
|
|
24
|
-
allow_instance_pool_create: Optional[pulumi.Input[
|
|
25
|
-
databricks_sql_access: Optional[pulumi.Input[
|
|
26
|
-
group_id: Optional[pulumi.Input[
|
|
27
|
-
service_principal_id: Optional[pulumi.Input[
|
|
28
|
-
user_id: Optional[pulumi.Input[
|
|
29
|
-
workspace_access: Optional[pulumi.Input[
|
|
30
|
-
workspace_consume: Optional[pulumi.Input[
|
|
22
|
+
allow_cluster_create: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
23
|
+
allow_instance_pool_create: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
24
|
+
databricks_sql_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
25
|
+
group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
service_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
user_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
workspace_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
29
|
+
workspace_consume: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
31
30
|
"""
|
|
32
31
|
The set of arguments for constructing a Entitlements resource.
|
|
33
|
-
:param pulumi.Input[
|
|
34
|
-
:param pulumi.Input[
|
|
35
|
-
:param pulumi.Input[
|
|
36
|
-
:param pulumi.Input[
|
|
37
|
-
:param pulumi.Input[
|
|
32
|
+
:param pulumi.Input[_builtins.bool] allow_cluster_create: Allow the principal 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.
|
|
33
|
+
:param pulumi.Input[_builtins.bool] allow_instance_pool_create: Allow the principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
|
|
34
|
+
:param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the principal 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.
|
|
35
|
+
:param pulumi.Input[_builtins.str] group_id: Canonical unique identifier for the group.
|
|
36
|
+
:param pulumi.Input[_builtins.str] service_principal_id: Canonical unique identifier for the service principal.
|
|
38
37
|
|
|
39
38
|
The following entitlements are available.
|
|
40
|
-
:param pulumi.Input[
|
|
41
|
-
:param pulumi.Input[
|
|
42
|
-
:param pulumi.Input[
|
|
39
|
+
:param pulumi.Input[_builtins.str] user_id: Canonical unique identifier for the user.
|
|
40
|
+
:param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the principal 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).
|
|
41
|
+
:param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the principal 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`.
|
|
43
42
|
"""
|
|
44
43
|
if allow_cluster_create is not None:
|
|
45
44
|
pulumi.set(__self__, "allow_cluster_create", allow_cluster_create)
|
|
@@ -58,57 +57,57 @@ class EntitlementsArgs:
|
|
|
58
57
|
if workspace_consume is not None:
|
|
59
58
|
pulumi.set(__self__, "workspace_consume", workspace_consume)
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter(name="allowClusterCreate")
|
|
63
|
-
def allow_cluster_create(self) -> Optional[pulumi.Input[
|
|
62
|
+
def allow_cluster_create(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
64
63
|
"""
|
|
65
64
|
Allow the principal 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.
|
|
66
65
|
"""
|
|
67
66
|
return pulumi.get(self, "allow_cluster_create")
|
|
68
67
|
|
|
69
68
|
@allow_cluster_create.setter
|
|
70
|
-
def allow_cluster_create(self, value: Optional[pulumi.Input[
|
|
69
|
+
def allow_cluster_create(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
71
70
|
pulumi.set(self, "allow_cluster_create", value)
|
|
72
71
|
|
|
73
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
74
73
|
@pulumi.getter(name="allowInstancePoolCreate")
|
|
75
|
-
def allow_instance_pool_create(self) -> Optional[pulumi.Input[
|
|
74
|
+
def allow_instance_pool_create(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
76
75
|
"""
|
|
77
76
|
Allow the principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
|
|
78
77
|
"""
|
|
79
78
|
return pulumi.get(self, "allow_instance_pool_create")
|
|
80
79
|
|
|
81
80
|
@allow_instance_pool_create.setter
|
|
82
|
-
def allow_instance_pool_create(self, value: Optional[pulumi.Input[
|
|
81
|
+
def allow_instance_pool_create(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
83
82
|
pulumi.set(self, "allow_instance_pool_create", value)
|
|
84
83
|
|
|
85
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
86
85
|
@pulumi.getter(name="databricksSqlAccess")
|
|
87
|
-
def databricks_sql_access(self) -> Optional[pulumi.Input[
|
|
86
|
+
def databricks_sql_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
88
87
|
"""
|
|
89
|
-
This is a field to allow the principal to have access to [Databricks SQL](https://databricks.com/product/databricks-sql)
|
|
88
|
+
This is a field to allow the principal 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.
|
|
90
89
|
"""
|
|
91
90
|
return pulumi.get(self, "databricks_sql_access")
|
|
92
91
|
|
|
93
92
|
@databricks_sql_access.setter
|
|
94
|
-
def databricks_sql_access(self, value: Optional[pulumi.Input[
|
|
93
|
+
def databricks_sql_access(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
95
94
|
pulumi.set(self, "databricks_sql_access", value)
|
|
96
95
|
|
|
97
|
-
@property
|
|
96
|
+
@_builtins.property
|
|
98
97
|
@pulumi.getter(name="groupId")
|
|
99
|
-
def group_id(self) -> Optional[pulumi.Input[
|
|
98
|
+
def group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
100
99
|
"""
|
|
101
100
|
Canonical unique identifier for the group.
|
|
102
101
|
"""
|
|
103
102
|
return pulumi.get(self, "group_id")
|
|
104
103
|
|
|
105
104
|
@group_id.setter
|
|
106
|
-
def group_id(self, value: Optional[pulumi.Input[
|
|
105
|
+
def group_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
107
106
|
pulumi.set(self, "group_id", value)
|
|
108
107
|
|
|
109
|
-
@property
|
|
108
|
+
@_builtins.property
|
|
110
109
|
@pulumi.getter(name="servicePrincipalId")
|
|
111
|
-
def service_principal_id(self) -> Optional[pulumi.Input[
|
|
110
|
+
def service_principal_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
112
111
|
"""
|
|
113
112
|
Canonical unique identifier for the service principal.
|
|
114
113
|
|
|
@@ -117,69 +116,69 @@ class EntitlementsArgs:
|
|
|
117
116
|
return pulumi.get(self, "service_principal_id")
|
|
118
117
|
|
|
119
118
|
@service_principal_id.setter
|
|
120
|
-
def service_principal_id(self, value: Optional[pulumi.Input[
|
|
119
|
+
def service_principal_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
121
120
|
pulumi.set(self, "service_principal_id", value)
|
|
122
121
|
|
|
123
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
124
123
|
@pulumi.getter(name="userId")
|
|
125
|
-
def user_id(self) -> Optional[pulumi.Input[
|
|
124
|
+
def user_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
126
125
|
"""
|
|
127
126
|
Canonical unique identifier for the user.
|
|
128
127
|
"""
|
|
129
128
|
return pulumi.get(self, "user_id")
|
|
130
129
|
|
|
131
130
|
@user_id.setter
|
|
132
|
-
def user_id(self, value: Optional[pulumi.Input[
|
|
131
|
+
def user_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
133
132
|
pulumi.set(self, "user_id", value)
|
|
134
133
|
|
|
135
|
-
@property
|
|
134
|
+
@_builtins.property
|
|
136
135
|
@pulumi.getter(name="workspaceAccess")
|
|
137
|
-
def workspace_access(self) -> Optional[pulumi.Input[
|
|
136
|
+
def workspace_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
138
137
|
"""
|
|
139
|
-
This is a field to allow the principal to have access to a Databricks Workspace.
|
|
138
|
+
This is a field to allow the principal 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).
|
|
140
139
|
"""
|
|
141
140
|
return pulumi.get(self, "workspace_access")
|
|
142
141
|
|
|
143
142
|
@workspace_access.setter
|
|
144
|
-
def workspace_access(self, value: Optional[pulumi.Input[
|
|
143
|
+
def workspace_access(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
145
144
|
pulumi.set(self, "workspace_access", value)
|
|
146
145
|
|
|
147
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
148
147
|
@pulumi.getter(name="workspaceConsume")
|
|
149
|
-
def workspace_consume(self) -> Optional[pulumi.Input[
|
|
148
|
+
def workspace_consume(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
150
149
|
"""
|
|
151
|
-
This is a field to allow the principal to have access to
|
|
150
|
+
This is a field to allow the principal 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`.
|
|
152
151
|
"""
|
|
153
152
|
return pulumi.get(self, "workspace_consume")
|
|
154
153
|
|
|
155
154
|
@workspace_consume.setter
|
|
156
|
-
def workspace_consume(self, value: Optional[pulumi.Input[
|
|
155
|
+
def workspace_consume(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
157
156
|
pulumi.set(self, "workspace_consume", value)
|
|
158
157
|
|
|
159
158
|
|
|
160
159
|
@pulumi.input_type
|
|
161
160
|
class _EntitlementsState:
|
|
162
161
|
def __init__(__self__, *,
|
|
163
|
-
allow_cluster_create: Optional[pulumi.Input[
|
|
164
|
-
allow_instance_pool_create: Optional[pulumi.Input[
|
|
165
|
-
databricks_sql_access: Optional[pulumi.Input[
|
|
166
|
-
group_id: Optional[pulumi.Input[
|
|
167
|
-
service_principal_id: Optional[pulumi.Input[
|
|
168
|
-
user_id: Optional[pulumi.Input[
|
|
169
|
-
workspace_access: Optional[pulumi.Input[
|
|
170
|
-
workspace_consume: Optional[pulumi.Input[
|
|
162
|
+
allow_cluster_create: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
163
|
+
allow_instance_pool_create: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
164
|
+
databricks_sql_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
165
|
+
group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
166
|
+
service_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
167
|
+
user_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
168
|
+
workspace_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
169
|
+
workspace_consume: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
171
170
|
"""
|
|
172
171
|
Input properties used for looking up and filtering Entitlements resources.
|
|
173
|
-
:param pulumi.Input[
|
|
174
|
-
:param pulumi.Input[
|
|
175
|
-
:param pulumi.Input[
|
|
176
|
-
:param pulumi.Input[
|
|
177
|
-
:param pulumi.Input[
|
|
172
|
+
:param pulumi.Input[_builtins.bool] allow_cluster_create: Allow the principal 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.
|
|
173
|
+
:param pulumi.Input[_builtins.bool] allow_instance_pool_create: Allow the principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
|
|
174
|
+
:param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the principal 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.
|
|
175
|
+
:param pulumi.Input[_builtins.str] group_id: Canonical unique identifier for the group.
|
|
176
|
+
:param pulumi.Input[_builtins.str] service_principal_id: Canonical unique identifier for the service principal.
|
|
178
177
|
|
|
179
178
|
The following entitlements are available.
|
|
180
|
-
:param pulumi.Input[
|
|
181
|
-
:param pulumi.Input[
|
|
182
|
-
:param pulumi.Input[
|
|
179
|
+
:param pulumi.Input[_builtins.str] user_id: Canonical unique identifier for the user.
|
|
180
|
+
:param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the principal 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).
|
|
181
|
+
:param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the principal 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`.
|
|
183
182
|
"""
|
|
184
183
|
if allow_cluster_create is not None:
|
|
185
184
|
pulumi.set(__self__, "allow_cluster_create", allow_cluster_create)
|
|
@@ -198,57 +197,57 @@ class _EntitlementsState:
|
|
|
198
197
|
if workspace_consume is not None:
|
|
199
198
|
pulumi.set(__self__, "workspace_consume", workspace_consume)
|
|
200
199
|
|
|
201
|
-
@property
|
|
200
|
+
@_builtins.property
|
|
202
201
|
@pulumi.getter(name="allowClusterCreate")
|
|
203
|
-
def allow_cluster_create(self) -> Optional[pulumi.Input[
|
|
202
|
+
def allow_cluster_create(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
204
203
|
"""
|
|
205
204
|
Allow the principal 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.
|
|
206
205
|
"""
|
|
207
206
|
return pulumi.get(self, "allow_cluster_create")
|
|
208
207
|
|
|
209
208
|
@allow_cluster_create.setter
|
|
210
|
-
def allow_cluster_create(self, value: Optional[pulumi.Input[
|
|
209
|
+
def allow_cluster_create(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
211
210
|
pulumi.set(self, "allow_cluster_create", value)
|
|
212
211
|
|
|
213
|
-
@property
|
|
212
|
+
@_builtins.property
|
|
214
213
|
@pulumi.getter(name="allowInstancePoolCreate")
|
|
215
|
-
def allow_instance_pool_create(self) -> Optional[pulumi.Input[
|
|
214
|
+
def allow_instance_pool_create(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
216
215
|
"""
|
|
217
216
|
Allow the principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
|
|
218
217
|
"""
|
|
219
218
|
return pulumi.get(self, "allow_instance_pool_create")
|
|
220
219
|
|
|
221
220
|
@allow_instance_pool_create.setter
|
|
222
|
-
def allow_instance_pool_create(self, value: Optional[pulumi.Input[
|
|
221
|
+
def allow_instance_pool_create(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
223
222
|
pulumi.set(self, "allow_instance_pool_create", value)
|
|
224
223
|
|
|
225
|
-
@property
|
|
224
|
+
@_builtins.property
|
|
226
225
|
@pulumi.getter(name="databricksSqlAccess")
|
|
227
|
-
def databricks_sql_access(self) -> Optional[pulumi.Input[
|
|
226
|
+
def databricks_sql_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
228
227
|
"""
|
|
229
|
-
This is a field to allow the principal to have access to [Databricks SQL](https://databricks.com/product/databricks-sql)
|
|
228
|
+
This is a field to allow the principal 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.
|
|
230
229
|
"""
|
|
231
230
|
return pulumi.get(self, "databricks_sql_access")
|
|
232
231
|
|
|
233
232
|
@databricks_sql_access.setter
|
|
234
|
-
def databricks_sql_access(self, value: Optional[pulumi.Input[
|
|
233
|
+
def databricks_sql_access(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
235
234
|
pulumi.set(self, "databricks_sql_access", value)
|
|
236
235
|
|
|
237
|
-
@property
|
|
236
|
+
@_builtins.property
|
|
238
237
|
@pulumi.getter(name="groupId")
|
|
239
|
-
def group_id(self) -> Optional[pulumi.Input[
|
|
238
|
+
def group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
240
239
|
"""
|
|
241
240
|
Canonical unique identifier for the group.
|
|
242
241
|
"""
|
|
243
242
|
return pulumi.get(self, "group_id")
|
|
244
243
|
|
|
245
244
|
@group_id.setter
|
|
246
|
-
def group_id(self, value: Optional[pulumi.Input[
|
|
245
|
+
def group_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
247
246
|
pulumi.set(self, "group_id", value)
|
|
248
247
|
|
|
249
|
-
@property
|
|
248
|
+
@_builtins.property
|
|
250
249
|
@pulumi.getter(name="servicePrincipalId")
|
|
251
|
-
def service_principal_id(self) -> Optional[pulumi.Input[
|
|
250
|
+
def service_principal_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
252
251
|
"""
|
|
253
252
|
Canonical unique identifier for the service principal.
|
|
254
253
|
|
|
@@ -257,43 +256,43 @@ class _EntitlementsState:
|
|
|
257
256
|
return pulumi.get(self, "service_principal_id")
|
|
258
257
|
|
|
259
258
|
@service_principal_id.setter
|
|
260
|
-
def service_principal_id(self, value: Optional[pulumi.Input[
|
|
259
|
+
def service_principal_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
261
260
|
pulumi.set(self, "service_principal_id", value)
|
|
262
261
|
|
|
263
|
-
@property
|
|
262
|
+
@_builtins.property
|
|
264
263
|
@pulumi.getter(name="userId")
|
|
265
|
-
def user_id(self) -> Optional[pulumi.Input[
|
|
264
|
+
def user_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
266
265
|
"""
|
|
267
266
|
Canonical unique identifier for the user.
|
|
268
267
|
"""
|
|
269
268
|
return pulumi.get(self, "user_id")
|
|
270
269
|
|
|
271
270
|
@user_id.setter
|
|
272
|
-
def user_id(self, value: Optional[pulumi.Input[
|
|
271
|
+
def user_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
273
272
|
pulumi.set(self, "user_id", value)
|
|
274
273
|
|
|
275
|
-
@property
|
|
274
|
+
@_builtins.property
|
|
276
275
|
@pulumi.getter(name="workspaceAccess")
|
|
277
|
-
def workspace_access(self) -> Optional[pulumi.Input[
|
|
276
|
+
def workspace_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
278
277
|
"""
|
|
279
|
-
This is a field to allow the principal to have access to a Databricks Workspace.
|
|
278
|
+
This is a field to allow the principal 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).
|
|
280
279
|
"""
|
|
281
280
|
return pulumi.get(self, "workspace_access")
|
|
282
281
|
|
|
283
282
|
@workspace_access.setter
|
|
284
|
-
def workspace_access(self, value: Optional[pulumi.Input[
|
|
283
|
+
def workspace_access(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
285
284
|
pulumi.set(self, "workspace_access", value)
|
|
286
285
|
|
|
287
|
-
@property
|
|
286
|
+
@_builtins.property
|
|
288
287
|
@pulumi.getter(name="workspaceConsume")
|
|
289
|
-
def workspace_consume(self) -> Optional[pulumi.Input[
|
|
288
|
+
def workspace_consume(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
290
289
|
"""
|
|
291
|
-
This is a field to allow the principal to have access to
|
|
290
|
+
This is a field to allow the principal 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`.
|
|
292
291
|
"""
|
|
293
292
|
return pulumi.get(self, "workspace_consume")
|
|
294
293
|
|
|
295
294
|
@workspace_consume.setter
|
|
296
|
-
def workspace_consume(self, value: Optional[pulumi.Input[
|
|
295
|
+
def workspace_consume(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
297
296
|
pulumi.set(self, "workspace_consume", value)
|
|
298
297
|
|
|
299
298
|
|
|
@@ -303,14 +302,14 @@ class Entitlements(pulumi.CustomResource):
|
|
|
303
302
|
def __init__(__self__,
|
|
304
303
|
resource_name: str,
|
|
305
304
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
306
|
-
allow_cluster_create: Optional[pulumi.Input[
|
|
307
|
-
allow_instance_pool_create: Optional[pulumi.Input[
|
|
308
|
-
databricks_sql_access: Optional[pulumi.Input[
|
|
309
|
-
group_id: Optional[pulumi.Input[
|
|
310
|
-
service_principal_id: Optional[pulumi.Input[
|
|
311
|
-
user_id: Optional[pulumi.Input[
|
|
312
|
-
workspace_access: Optional[pulumi.Input[
|
|
313
|
-
workspace_consume: Optional[pulumi.Input[
|
|
305
|
+
allow_cluster_create: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
306
|
+
allow_instance_pool_create: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
307
|
+
databricks_sql_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
308
|
+
group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
309
|
+
service_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
310
|
+
user_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
311
|
+
workspace_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
312
|
+
workspace_consume: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
314
313
|
__props__=None):
|
|
315
314
|
"""
|
|
316
315
|
This resource allows you to set entitlements to existing databricks_users, Group or databricks_service_principal.
|
|
@@ -365,7 +364,7 @@ class Entitlements(pulumi.CustomResource):
|
|
|
365
364
|
The following resources are often used in the same context:
|
|
366
365
|
|
|
367
366
|
* End to end workspace management guide.
|
|
368
|
-
* Group to manage [
|
|
367
|
+
* 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.
|
|
369
368
|
* Group data to retrieve information about Group members, entitlements and instance profiles.
|
|
370
369
|
* GroupInstanceProfile to attach InstanceProfile (AWS) to databricks_group.
|
|
371
370
|
* GroupMember to attach users and groups as group members.
|
|
@@ -402,16 +401,16 @@ class Entitlements(pulumi.CustomResource):
|
|
|
402
401
|
|
|
403
402
|
:param str resource_name: The name of the resource.
|
|
404
403
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
405
|
-
:param pulumi.Input[
|
|
406
|
-
:param pulumi.Input[
|
|
407
|
-
:param pulumi.Input[
|
|
408
|
-
:param pulumi.Input[
|
|
409
|
-
:param pulumi.Input[
|
|
404
|
+
:param pulumi.Input[_builtins.bool] allow_cluster_create: Allow the principal 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.
|
|
405
|
+
:param pulumi.Input[_builtins.bool] allow_instance_pool_create: Allow the principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
|
|
406
|
+
:param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the principal 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
|
+
:param pulumi.Input[_builtins.str] group_id: Canonical unique identifier for the group.
|
|
408
|
+
:param pulumi.Input[_builtins.str] service_principal_id: Canonical unique identifier for the service principal.
|
|
410
409
|
|
|
411
410
|
The following entitlements are available.
|
|
412
|
-
:param pulumi.Input[
|
|
413
|
-
:param pulumi.Input[
|
|
414
|
-
:param pulumi.Input[
|
|
411
|
+
:param pulumi.Input[_builtins.str] user_id: Canonical unique identifier for the user.
|
|
412
|
+
:param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the principal 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).
|
|
413
|
+
:param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the principal 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`.
|
|
415
414
|
"""
|
|
416
415
|
...
|
|
417
416
|
@overload
|
|
@@ -472,7 +471,7 @@ class Entitlements(pulumi.CustomResource):
|
|
|
472
471
|
The following resources are often used in the same context:
|
|
473
472
|
|
|
474
473
|
* End to end workspace management guide.
|
|
475
|
-
* Group to manage [
|
|
474
|
+
* 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.
|
|
476
475
|
* Group data to retrieve information about Group members, entitlements and instance profiles.
|
|
477
476
|
* GroupInstanceProfile to attach InstanceProfile (AWS) to databricks_group.
|
|
478
477
|
* GroupMember to attach users and groups as group members.
|
|
@@ -522,14 +521,14 @@ class Entitlements(pulumi.CustomResource):
|
|
|
522
521
|
def _internal_init(__self__,
|
|
523
522
|
resource_name: str,
|
|
524
523
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
525
|
-
allow_cluster_create: Optional[pulumi.Input[
|
|
526
|
-
allow_instance_pool_create: Optional[pulumi.Input[
|
|
527
|
-
databricks_sql_access: Optional[pulumi.Input[
|
|
528
|
-
group_id: Optional[pulumi.Input[
|
|
529
|
-
service_principal_id: Optional[pulumi.Input[
|
|
530
|
-
user_id: Optional[pulumi.Input[
|
|
531
|
-
workspace_access: Optional[pulumi.Input[
|
|
532
|
-
workspace_consume: Optional[pulumi.Input[
|
|
524
|
+
allow_cluster_create: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
525
|
+
allow_instance_pool_create: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
526
|
+
databricks_sql_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
527
|
+
group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
528
|
+
service_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
529
|
+
user_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
530
|
+
workspace_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
531
|
+
workspace_consume: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
533
532
|
__props__=None):
|
|
534
533
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
535
534
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -557,14 +556,14 @@ class Entitlements(pulumi.CustomResource):
|
|
|
557
556
|
def get(resource_name: str,
|
|
558
557
|
id: pulumi.Input[str],
|
|
559
558
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
560
|
-
allow_cluster_create: Optional[pulumi.Input[
|
|
561
|
-
allow_instance_pool_create: Optional[pulumi.Input[
|
|
562
|
-
databricks_sql_access: Optional[pulumi.Input[
|
|
563
|
-
group_id: Optional[pulumi.Input[
|
|
564
|
-
service_principal_id: Optional[pulumi.Input[
|
|
565
|
-
user_id: Optional[pulumi.Input[
|
|
566
|
-
workspace_access: Optional[pulumi.Input[
|
|
567
|
-
workspace_consume: Optional[pulumi.Input[
|
|
559
|
+
allow_cluster_create: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
560
|
+
allow_instance_pool_create: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
561
|
+
databricks_sql_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
562
|
+
group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
563
|
+
service_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
564
|
+
user_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
565
|
+
workspace_access: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
566
|
+
workspace_consume: Optional[pulumi.Input[_builtins.bool]] = None) -> 'Entitlements':
|
|
568
567
|
"""
|
|
569
568
|
Get an existing Entitlements resource's state with the given name, id, and optional extra
|
|
570
569
|
properties used to qualify the lookup.
|
|
@@ -572,16 +571,16 @@ class Entitlements(pulumi.CustomResource):
|
|
|
572
571
|
:param str resource_name: The unique name of the resulting resource.
|
|
573
572
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
574
573
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
575
|
-
:param pulumi.Input[
|
|
576
|
-
:param pulumi.Input[
|
|
577
|
-
:param pulumi.Input[
|
|
578
|
-
:param pulumi.Input[
|
|
579
|
-
:param pulumi.Input[
|
|
574
|
+
:param pulumi.Input[_builtins.bool] allow_cluster_create: Allow the principal 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.
|
|
575
|
+
:param pulumi.Input[_builtins.bool] allow_instance_pool_create: Allow the principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
|
|
576
|
+
:param pulumi.Input[_builtins.bool] databricks_sql_access: This is a field to allow the principal 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.
|
|
577
|
+
:param pulumi.Input[_builtins.str] group_id: Canonical unique identifier for the group.
|
|
578
|
+
:param pulumi.Input[_builtins.str] service_principal_id: Canonical unique identifier for the service principal.
|
|
580
579
|
|
|
581
580
|
The following entitlements are available.
|
|
582
|
-
:param pulumi.Input[
|
|
583
|
-
:param pulumi.Input[
|
|
584
|
-
:param pulumi.Input[
|
|
581
|
+
:param pulumi.Input[_builtins.str] user_id: Canonical unique identifier for the user.
|
|
582
|
+
:param pulumi.Input[_builtins.bool] workspace_access: This is a field to allow the principal 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).
|
|
583
|
+
:param pulumi.Input[_builtins.bool] workspace_consume: This is a field to allow the principal 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`.
|
|
585
584
|
"""
|
|
586
585
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
587
586
|
|
|
@@ -597,41 +596,41 @@ class Entitlements(pulumi.CustomResource):
|
|
|
597
596
|
__props__.__dict__["workspace_consume"] = workspace_consume
|
|
598
597
|
return Entitlements(resource_name, opts=opts, __props__=__props__)
|
|
599
598
|
|
|
600
|
-
@property
|
|
599
|
+
@_builtins.property
|
|
601
600
|
@pulumi.getter(name="allowClusterCreate")
|
|
602
|
-
def allow_cluster_create(self) -> pulumi.Output[Optional[
|
|
601
|
+
def allow_cluster_create(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
603
602
|
"""
|
|
604
603
|
Allow the principal 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.
|
|
605
604
|
"""
|
|
606
605
|
return pulumi.get(self, "allow_cluster_create")
|
|
607
606
|
|
|
608
|
-
@property
|
|
607
|
+
@_builtins.property
|
|
609
608
|
@pulumi.getter(name="allowInstancePoolCreate")
|
|
610
|
-
def allow_instance_pool_create(self) -> pulumi.Output[Optional[
|
|
609
|
+
def allow_instance_pool_create(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
611
610
|
"""
|
|
612
611
|
Allow the principal to have instance pool create privileges. Defaults to false. More fine grained permissions could be assigned with Permissions and instance_pool_id argument.
|
|
613
612
|
"""
|
|
614
613
|
return pulumi.get(self, "allow_instance_pool_create")
|
|
615
614
|
|
|
616
|
-
@property
|
|
615
|
+
@_builtins.property
|
|
617
616
|
@pulumi.getter(name="databricksSqlAccess")
|
|
618
|
-
def databricks_sql_access(self) -> pulumi.Output[Optional[
|
|
617
|
+
def databricks_sql_access(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
619
618
|
"""
|
|
620
|
-
This is a field to allow the principal to have access to [Databricks SQL](https://databricks.com/product/databricks-sql)
|
|
619
|
+
This is a field to allow the principal 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.
|
|
621
620
|
"""
|
|
622
621
|
return pulumi.get(self, "databricks_sql_access")
|
|
623
622
|
|
|
624
|
-
@property
|
|
623
|
+
@_builtins.property
|
|
625
624
|
@pulumi.getter(name="groupId")
|
|
626
|
-
def group_id(self) -> pulumi.Output[Optional[
|
|
625
|
+
def group_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
627
626
|
"""
|
|
628
627
|
Canonical unique identifier for the group.
|
|
629
628
|
"""
|
|
630
629
|
return pulumi.get(self, "group_id")
|
|
631
630
|
|
|
632
|
-
@property
|
|
631
|
+
@_builtins.property
|
|
633
632
|
@pulumi.getter(name="servicePrincipalId")
|
|
634
|
-
def service_principal_id(self) -> pulumi.Output[Optional[
|
|
633
|
+
def service_principal_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
635
634
|
"""
|
|
636
635
|
Canonical unique identifier for the service principal.
|
|
637
636
|
|
|
@@ -639,27 +638,27 @@ class Entitlements(pulumi.CustomResource):
|
|
|
639
638
|
"""
|
|
640
639
|
return pulumi.get(self, "service_principal_id")
|
|
641
640
|
|
|
642
|
-
@property
|
|
641
|
+
@_builtins.property
|
|
643
642
|
@pulumi.getter(name="userId")
|
|
644
|
-
def user_id(self) -> pulumi.Output[Optional[
|
|
643
|
+
def user_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
645
644
|
"""
|
|
646
645
|
Canonical unique identifier for the user.
|
|
647
646
|
"""
|
|
648
647
|
return pulumi.get(self, "user_id")
|
|
649
648
|
|
|
650
|
-
@property
|
|
649
|
+
@_builtins.property
|
|
651
650
|
@pulumi.getter(name="workspaceAccess")
|
|
652
|
-
def workspace_access(self) -> pulumi.Output[Optional[
|
|
651
|
+
def workspace_access(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
653
652
|
"""
|
|
654
|
-
This is a field to allow the principal to have access to a Databricks Workspace.
|
|
653
|
+
This is a field to allow the principal 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).
|
|
655
654
|
"""
|
|
656
655
|
return pulumi.get(self, "workspace_access")
|
|
657
656
|
|
|
658
|
-
@property
|
|
657
|
+
@_builtins.property
|
|
659
658
|
@pulumi.getter(name="workspaceConsume")
|
|
660
|
-
def workspace_consume(self) -> pulumi.Output[Optional[
|
|
659
|
+
def workspace_consume(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
661
660
|
"""
|
|
662
|
-
This is a field to allow the principal to have access to
|
|
661
|
+
This is a field to allow the principal 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`.
|
|
663
662
|
"""
|
|
664
663
|
return pulumi.get(self, "workspace_consume")
|
|
665
664
|
|