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
pulumi_databricks/get_volumes.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -14,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
14
13
|
else:
|
|
15
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
17
18
|
|
|
18
19
|
__all__ = [
|
|
19
20
|
'GetVolumesResult',
|
|
@@ -27,7 +28,7 @@ class GetVolumesResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getVolumes.
|
|
29
30
|
"""
|
|
30
|
-
def __init__(__self__, catalog_name=None, id=None, ids=None, schema_name=None):
|
|
31
|
+
def __init__(__self__, catalog_name=None, id=None, ids=None, provider_config=None, schema_name=None):
|
|
31
32
|
if catalog_name and not isinstance(catalog_name, str):
|
|
32
33
|
raise TypeError("Expected argument 'catalog_name' to be a str")
|
|
33
34
|
pulumi.set(__self__, "catalog_name", catalog_name)
|
|
@@ -37,34 +38,42 @@ class GetVolumesResult:
|
|
|
37
38
|
if ids and not isinstance(ids, list):
|
|
38
39
|
raise TypeError("Expected argument 'ids' to be a list")
|
|
39
40
|
pulumi.set(__self__, "ids", ids)
|
|
41
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
42
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
43
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
40
44
|
if schema_name and not isinstance(schema_name, str):
|
|
41
45
|
raise TypeError("Expected argument 'schema_name' to be a str")
|
|
42
46
|
pulumi.set(__self__, "schema_name", schema_name)
|
|
43
47
|
|
|
44
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
45
49
|
@pulumi.getter(name="catalogName")
|
|
46
|
-
def catalog_name(self) ->
|
|
50
|
+
def catalog_name(self) -> _builtins.str:
|
|
47
51
|
return pulumi.get(self, "catalog_name")
|
|
48
52
|
|
|
49
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
50
54
|
@pulumi.getter
|
|
51
|
-
def id(self) ->
|
|
55
|
+
def id(self) -> _builtins.str:
|
|
52
56
|
"""
|
|
53
57
|
The provider-assigned unique ID for this managed resource.
|
|
54
58
|
"""
|
|
55
59
|
return pulumi.get(self, "id")
|
|
56
60
|
|
|
57
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
58
62
|
@pulumi.getter
|
|
59
|
-
def ids(self) -> Sequence[
|
|
63
|
+
def ids(self) -> Sequence[_builtins.str]:
|
|
60
64
|
"""
|
|
61
65
|
a list of Volume full names: *`catalog`.`schema`.`volume`*
|
|
62
66
|
"""
|
|
63
67
|
return pulumi.get(self, "ids")
|
|
64
68
|
|
|
65
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
70
|
+
@pulumi.getter(name="providerConfig")
|
|
71
|
+
def provider_config(self) -> Optional['outputs.GetVolumesProviderConfigResult']:
|
|
72
|
+
return pulumi.get(self, "provider_config")
|
|
73
|
+
|
|
74
|
+
@_builtins.property
|
|
66
75
|
@pulumi.getter(name="schemaName")
|
|
67
|
-
def schema_name(self) ->
|
|
76
|
+
def schema_name(self) -> _builtins.str:
|
|
68
77
|
return pulumi.get(self, "schema_name")
|
|
69
78
|
|
|
70
79
|
|
|
@@ -77,12 +86,14 @@ class AwaitableGetVolumesResult(GetVolumesResult):
|
|
|
77
86
|
catalog_name=self.catalog_name,
|
|
78
87
|
id=self.id,
|
|
79
88
|
ids=self.ids,
|
|
89
|
+
provider_config=self.provider_config,
|
|
80
90
|
schema_name=self.schema_name)
|
|
81
91
|
|
|
82
92
|
|
|
83
|
-
def get_volumes(catalog_name: Optional[
|
|
84
|
-
ids: Optional[Sequence[
|
|
85
|
-
|
|
93
|
+
def get_volumes(catalog_name: Optional[_builtins.str] = None,
|
|
94
|
+
ids: Optional[Sequence[_builtins.str]] = None,
|
|
95
|
+
provider_config: Optional[Union['GetVolumesProviderConfigArgs', 'GetVolumesProviderConfigArgsDict']] = None,
|
|
96
|
+
schema_name: Optional[_builtins.str] = None,
|
|
86
97
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumesResult:
|
|
87
98
|
"""
|
|
88
99
|
Retrieves a list of Volume ids (full names), that were created by Pulumi or manually.
|
|
@@ -115,13 +126,15 @@ def get_volumes(catalog_name: Optional[builtins.str] = None,
|
|
|
115
126
|
* Catalog to manage catalogs within Unity Catalog.
|
|
116
127
|
|
|
117
128
|
|
|
118
|
-
:param
|
|
119
|
-
:param Sequence[
|
|
120
|
-
:param
|
|
129
|
+
:param _builtins.str catalog_name: Name of databricks_catalog
|
|
130
|
+
:param Sequence[_builtins.str] ids: a list of Volume full names: *`catalog`.`schema`.`volume`*
|
|
131
|
+
:param Union['GetVolumesProviderConfigArgs', 'GetVolumesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
132
|
+
:param _builtins.str schema_name: Name of databricks_schema
|
|
121
133
|
"""
|
|
122
134
|
__args__ = dict()
|
|
123
135
|
__args__['catalogName'] = catalog_name
|
|
124
136
|
__args__['ids'] = ids
|
|
137
|
+
__args__['providerConfig'] = provider_config
|
|
125
138
|
__args__['schemaName'] = schema_name
|
|
126
139
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
127
140
|
__ret__ = pulumi.runtime.invoke('databricks:index/getVolumes:getVolumes', __args__, opts=opts, typ=GetVolumesResult).value
|
|
@@ -130,10 +143,12 @@ def get_volumes(catalog_name: Optional[builtins.str] = None,
|
|
|
130
143
|
catalog_name=pulumi.get(__ret__, 'catalog_name'),
|
|
131
144
|
id=pulumi.get(__ret__, 'id'),
|
|
132
145
|
ids=pulumi.get(__ret__, 'ids'),
|
|
146
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
133
147
|
schema_name=pulumi.get(__ret__, 'schema_name'))
|
|
134
|
-
def get_volumes_output(catalog_name: Optional[pulumi.Input[
|
|
135
|
-
ids: Optional[pulumi.Input[Optional[Sequence[
|
|
136
|
-
|
|
148
|
+
def get_volumes_output(catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
149
|
+
ids: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
150
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetVolumesProviderConfigArgs', 'GetVolumesProviderConfigArgsDict']]]] = None,
|
|
151
|
+
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
137
152
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumesResult]:
|
|
138
153
|
"""
|
|
139
154
|
Retrieves a list of Volume ids (full names), that were created by Pulumi or manually.
|
|
@@ -166,13 +181,15 @@ def get_volumes_output(catalog_name: Optional[pulumi.Input[builtins.str]] = None
|
|
|
166
181
|
* Catalog to manage catalogs within Unity Catalog.
|
|
167
182
|
|
|
168
183
|
|
|
169
|
-
:param
|
|
170
|
-
:param Sequence[
|
|
171
|
-
:param
|
|
184
|
+
:param _builtins.str catalog_name: Name of databricks_catalog
|
|
185
|
+
:param Sequence[_builtins.str] ids: a list of Volume full names: *`catalog`.`schema`.`volume`*
|
|
186
|
+
:param Union['GetVolumesProviderConfigArgs', 'GetVolumesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
187
|
+
:param _builtins.str schema_name: Name of databricks_schema
|
|
172
188
|
"""
|
|
173
189
|
__args__ = dict()
|
|
174
190
|
__args__['catalogName'] = catalog_name
|
|
175
191
|
__args__['ids'] = ids
|
|
192
|
+
__args__['providerConfig'] = provider_config
|
|
176
193
|
__args__['schemaName'] = schema_name
|
|
177
194
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
178
195
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getVolumes:getVolumes', __args__, opts=opts, typ=GetVolumesResult)
|
|
@@ -180,4 +197,5 @@ def get_volumes_output(catalog_name: Optional[pulumi.Input[builtins.str]] = None
|
|
|
180
197
|
catalog_name=pulumi.get(__response__, 'catalog_name'),
|
|
181
198
|
id=pulumi.get(__response__, 'id'),
|
|
182
199
|
ids=pulumi.get(__response__, 'ids'),
|
|
200
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
183
201
|
schema_name=pulumi.get(__response__, 'schema_name')))
|
|
@@ -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
|
|
@@ -38,17 +37,17 @@ class GetWorkspaceNetworkOptionResult:
|
|
|
38
37
|
raise TypeError("Expected argument 'workspace_id' to be a str")
|
|
39
38
|
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
40
39
|
|
|
41
|
-
@property
|
|
40
|
+
@_builtins.property
|
|
42
41
|
@pulumi.getter
|
|
43
|
-
def id(self) ->
|
|
42
|
+
def id(self) -> _builtins.str:
|
|
44
43
|
"""
|
|
45
44
|
The provider-assigned unique ID for this managed resource.
|
|
46
45
|
"""
|
|
47
46
|
return pulumi.get(self, "id")
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter(name="networkPolicyId")
|
|
51
|
-
def network_policy_id(self) ->
|
|
50
|
+
def network_policy_id(self) -> _builtins.str:
|
|
52
51
|
"""
|
|
53
52
|
(string) - The network policy ID to apply to the workspace. This controls the network access rules
|
|
54
53
|
for all serverless compute resources in the workspace. Each workspace can only be
|
|
@@ -57,9 +56,9 @@ class GetWorkspaceNetworkOptionResult:
|
|
|
57
56
|
"""
|
|
58
57
|
return pulumi.get(self, "network_policy_id")
|
|
59
58
|
|
|
60
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
61
60
|
@pulumi.getter(name="workspaceId")
|
|
62
|
-
def workspace_id(self) ->
|
|
61
|
+
def workspace_id(self) -> _builtins.str:
|
|
63
62
|
"""
|
|
64
63
|
(integer) - The workspace ID
|
|
65
64
|
"""
|
|
@@ -77,20 +76,30 @@ class AwaitableGetWorkspaceNetworkOptionResult(GetWorkspaceNetworkOptionResult):
|
|
|
77
76
|
workspace_id=self.workspace_id)
|
|
78
77
|
|
|
79
78
|
|
|
80
|
-
def get_workspace_network_option(
|
|
81
|
-
workspace_id: Optional[builtins.str] = None,
|
|
79
|
+
def get_workspace_network_option(workspace_id: Optional[_builtins.str] = None,
|
|
82
80
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkspaceNetworkOptionResult:
|
|
83
81
|
"""
|
|
84
|
-
|
|
82
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
85
83
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
84
|
+
This data source can be used to get a single workspace network option.
|
|
85
|
+
|
|
86
|
+
> **Note** This data source can only be used with an account-level provider!
|
|
87
|
+
|
|
88
|
+
## Example Usage
|
|
89
|
+
|
|
90
|
+
Referring to a network policy by id:
|
|
91
|
+
|
|
92
|
+
```python
|
|
93
|
+
import pulumi
|
|
94
|
+
import pulumi_databricks as databricks
|
|
95
|
+
|
|
96
|
+
this = databricks.get_workspace_network_option(workspace_id="9999999999999999")
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:param _builtins.str workspace_id: The workspace ID
|
|
91
101
|
"""
|
|
92
102
|
__args__ = dict()
|
|
93
|
-
__args__['networkPolicyId'] = network_policy_id
|
|
94
103
|
__args__['workspaceId'] = workspace_id
|
|
95
104
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
96
105
|
__ret__ = pulumi.runtime.invoke('databricks:index/getWorkspaceNetworkOption:getWorkspaceNetworkOption', __args__, opts=opts, typ=GetWorkspaceNetworkOptionResult).value
|
|
@@ -99,20 +108,30 @@ def get_workspace_network_option(network_policy_id: Optional[builtins.str] = Non
|
|
|
99
108
|
id=pulumi.get(__ret__, 'id'),
|
|
100
109
|
network_policy_id=pulumi.get(__ret__, 'network_policy_id'),
|
|
101
110
|
workspace_id=pulumi.get(__ret__, 'workspace_id'))
|
|
102
|
-
def get_workspace_network_option_output(
|
|
103
|
-
workspace_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
111
|
+
def get_workspace_network_option_output(workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
104
112
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetWorkspaceNetworkOptionResult]:
|
|
105
113
|
"""
|
|
106
|
-
|
|
114
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
115
|
+
|
|
116
|
+
This data source can be used to get a single workspace network option.
|
|
117
|
+
|
|
118
|
+
> **Note** This data source can only be used with an account-level provider!
|
|
119
|
+
|
|
120
|
+
## Example Usage
|
|
121
|
+
|
|
122
|
+
Referring to a network policy by id:
|
|
123
|
+
|
|
124
|
+
```python
|
|
125
|
+
import pulumi
|
|
126
|
+
import pulumi_databricks as databricks
|
|
127
|
+
|
|
128
|
+
this = databricks.get_workspace_network_option(workspace_id="9999999999999999")
|
|
129
|
+
```
|
|
130
|
+
|
|
107
131
|
|
|
108
|
-
:param
|
|
109
|
-
for all serverless compute resources in the workspace. Each workspace can only be
|
|
110
|
-
linked to one policy at a time. If no policy is explicitly assigned,
|
|
111
|
-
the workspace will use 'default-policy'
|
|
112
|
-
:param builtins.str workspace_id: The workspace ID
|
|
132
|
+
:param _builtins.str workspace_id: The workspace ID
|
|
113
133
|
"""
|
|
114
134
|
__args__ = dict()
|
|
115
|
-
__args__['networkPolicyId'] = network_policy_id
|
|
116
135
|
__args__['workspaceId'] = workspace_id
|
|
117
136
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
118
137
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getWorkspaceNetworkOption:getWorkspaceNetworkOption', __args__, opts=opts, typ=GetWorkspaceNetworkOptionResult)
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetWorkspaceSettingV2Result',
|
|
20
|
+
'AwaitableGetWorkspaceSettingV2Result',
|
|
21
|
+
'get_workspace_setting_v2',
|
|
22
|
+
'get_workspace_setting_v2_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetWorkspaceSettingV2Result:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getWorkspaceSettingV2.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, aibi_dashboard_embedding_access_policy=None, aibi_dashboard_embedding_approved_domains=None, automatic_cluster_update_workspace=None, boolean_val=None, effective_aibi_dashboard_embedding_access_policy=None, effective_aibi_dashboard_embedding_approved_domains=None, effective_automatic_cluster_update_workspace=None, effective_boolean_val=None, effective_integer_val=None, effective_personal_compute=None, effective_restrict_workspace_admins=None, effective_string_val=None, id=None, integer_val=None, name=None, personal_compute=None, restrict_workspace_admins=None, string_val=None):
|
|
31
|
+
if aibi_dashboard_embedding_access_policy and not isinstance(aibi_dashboard_embedding_access_policy, dict):
|
|
32
|
+
raise TypeError("Expected argument 'aibi_dashboard_embedding_access_policy' to be a dict")
|
|
33
|
+
pulumi.set(__self__, "aibi_dashboard_embedding_access_policy", aibi_dashboard_embedding_access_policy)
|
|
34
|
+
if aibi_dashboard_embedding_approved_domains and not isinstance(aibi_dashboard_embedding_approved_domains, dict):
|
|
35
|
+
raise TypeError("Expected argument 'aibi_dashboard_embedding_approved_domains' to be a dict")
|
|
36
|
+
pulumi.set(__self__, "aibi_dashboard_embedding_approved_domains", aibi_dashboard_embedding_approved_domains)
|
|
37
|
+
if automatic_cluster_update_workspace and not isinstance(automatic_cluster_update_workspace, dict):
|
|
38
|
+
raise TypeError("Expected argument 'automatic_cluster_update_workspace' to be a dict")
|
|
39
|
+
pulumi.set(__self__, "automatic_cluster_update_workspace", automatic_cluster_update_workspace)
|
|
40
|
+
if boolean_val and not isinstance(boolean_val, dict):
|
|
41
|
+
raise TypeError("Expected argument 'boolean_val' to be a dict")
|
|
42
|
+
pulumi.set(__self__, "boolean_val", boolean_val)
|
|
43
|
+
if effective_aibi_dashboard_embedding_access_policy and not isinstance(effective_aibi_dashboard_embedding_access_policy, dict):
|
|
44
|
+
raise TypeError("Expected argument 'effective_aibi_dashboard_embedding_access_policy' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "effective_aibi_dashboard_embedding_access_policy", effective_aibi_dashboard_embedding_access_policy)
|
|
46
|
+
if effective_aibi_dashboard_embedding_approved_domains and not isinstance(effective_aibi_dashboard_embedding_approved_domains, dict):
|
|
47
|
+
raise TypeError("Expected argument 'effective_aibi_dashboard_embedding_approved_domains' to be a dict")
|
|
48
|
+
pulumi.set(__self__, "effective_aibi_dashboard_embedding_approved_domains", effective_aibi_dashboard_embedding_approved_domains)
|
|
49
|
+
if effective_automatic_cluster_update_workspace and not isinstance(effective_automatic_cluster_update_workspace, dict):
|
|
50
|
+
raise TypeError("Expected argument 'effective_automatic_cluster_update_workspace' to be a dict")
|
|
51
|
+
pulumi.set(__self__, "effective_automatic_cluster_update_workspace", effective_automatic_cluster_update_workspace)
|
|
52
|
+
if effective_boolean_val and not isinstance(effective_boolean_val, dict):
|
|
53
|
+
raise TypeError("Expected argument 'effective_boolean_val' to be a dict")
|
|
54
|
+
pulumi.set(__self__, "effective_boolean_val", effective_boolean_val)
|
|
55
|
+
if effective_integer_val and not isinstance(effective_integer_val, dict):
|
|
56
|
+
raise TypeError("Expected argument 'effective_integer_val' to be a dict")
|
|
57
|
+
pulumi.set(__self__, "effective_integer_val", effective_integer_val)
|
|
58
|
+
if effective_personal_compute and not isinstance(effective_personal_compute, dict):
|
|
59
|
+
raise TypeError("Expected argument 'effective_personal_compute' to be a dict")
|
|
60
|
+
pulumi.set(__self__, "effective_personal_compute", effective_personal_compute)
|
|
61
|
+
if effective_restrict_workspace_admins and not isinstance(effective_restrict_workspace_admins, dict):
|
|
62
|
+
raise TypeError("Expected argument 'effective_restrict_workspace_admins' to be a dict")
|
|
63
|
+
pulumi.set(__self__, "effective_restrict_workspace_admins", effective_restrict_workspace_admins)
|
|
64
|
+
if effective_string_val and not isinstance(effective_string_val, dict):
|
|
65
|
+
raise TypeError("Expected argument 'effective_string_val' to be a dict")
|
|
66
|
+
pulumi.set(__self__, "effective_string_val", effective_string_val)
|
|
67
|
+
if id and not isinstance(id, str):
|
|
68
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
69
|
+
pulumi.set(__self__, "id", id)
|
|
70
|
+
if integer_val and not isinstance(integer_val, dict):
|
|
71
|
+
raise TypeError("Expected argument 'integer_val' to be a dict")
|
|
72
|
+
pulumi.set(__self__, "integer_val", integer_val)
|
|
73
|
+
if name and not isinstance(name, str):
|
|
74
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
75
|
+
pulumi.set(__self__, "name", name)
|
|
76
|
+
if personal_compute and not isinstance(personal_compute, dict):
|
|
77
|
+
raise TypeError("Expected argument 'personal_compute' to be a dict")
|
|
78
|
+
pulumi.set(__self__, "personal_compute", personal_compute)
|
|
79
|
+
if restrict_workspace_admins and not isinstance(restrict_workspace_admins, dict):
|
|
80
|
+
raise TypeError("Expected argument 'restrict_workspace_admins' to be a dict")
|
|
81
|
+
pulumi.set(__self__, "restrict_workspace_admins", restrict_workspace_admins)
|
|
82
|
+
if string_val and not isinstance(string_val, dict):
|
|
83
|
+
raise TypeError("Expected argument 'string_val' to be a dict")
|
|
84
|
+
pulumi.set(__self__, "string_val", string_val)
|
|
85
|
+
|
|
86
|
+
@_builtins.property
|
|
87
|
+
@pulumi.getter(name="aibiDashboardEmbeddingAccessPolicy")
|
|
88
|
+
def aibi_dashboard_embedding_access_policy(self) -> 'outputs.GetWorkspaceSettingV2AibiDashboardEmbeddingAccessPolicyResult':
|
|
89
|
+
"""
|
|
90
|
+
(AibiDashboardEmbeddingAccessPolicy)
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "aibi_dashboard_embedding_access_policy")
|
|
93
|
+
|
|
94
|
+
@_builtins.property
|
|
95
|
+
@pulumi.getter(name="aibiDashboardEmbeddingApprovedDomains")
|
|
96
|
+
def aibi_dashboard_embedding_approved_domains(self) -> 'outputs.GetWorkspaceSettingV2AibiDashboardEmbeddingApprovedDomainsResult':
|
|
97
|
+
"""
|
|
98
|
+
(AibiDashboardEmbeddingApprovedDomains)
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "aibi_dashboard_embedding_approved_domains")
|
|
101
|
+
|
|
102
|
+
@_builtins.property
|
|
103
|
+
@pulumi.getter(name="automaticClusterUpdateWorkspace")
|
|
104
|
+
def automatic_cluster_update_workspace(self) -> 'outputs.GetWorkspaceSettingV2AutomaticClusterUpdateWorkspaceResult':
|
|
105
|
+
"""
|
|
106
|
+
(ClusterAutoRestartMessage)
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "automatic_cluster_update_workspace")
|
|
109
|
+
|
|
110
|
+
@_builtins.property
|
|
111
|
+
@pulumi.getter(name="booleanVal")
|
|
112
|
+
def boolean_val(self) -> 'outputs.GetWorkspaceSettingV2BooleanValResult':
|
|
113
|
+
"""
|
|
114
|
+
(BooleanMessage)
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "boolean_val")
|
|
117
|
+
|
|
118
|
+
@_builtins.property
|
|
119
|
+
@pulumi.getter(name="effectiveAibiDashboardEmbeddingAccessPolicy")
|
|
120
|
+
def effective_aibi_dashboard_embedding_access_policy(self) -> 'outputs.GetWorkspaceSettingV2EffectiveAibiDashboardEmbeddingAccessPolicyResult':
|
|
121
|
+
"""
|
|
122
|
+
(AibiDashboardEmbeddingAccessPolicy)
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "effective_aibi_dashboard_embedding_access_policy")
|
|
125
|
+
|
|
126
|
+
@_builtins.property
|
|
127
|
+
@pulumi.getter(name="effectiveAibiDashboardEmbeddingApprovedDomains")
|
|
128
|
+
def effective_aibi_dashboard_embedding_approved_domains(self) -> 'outputs.GetWorkspaceSettingV2EffectiveAibiDashboardEmbeddingApprovedDomainsResult':
|
|
129
|
+
"""
|
|
130
|
+
(AibiDashboardEmbeddingApprovedDomains)
|
|
131
|
+
"""
|
|
132
|
+
return pulumi.get(self, "effective_aibi_dashboard_embedding_approved_domains")
|
|
133
|
+
|
|
134
|
+
@_builtins.property
|
|
135
|
+
@pulumi.getter(name="effectiveAutomaticClusterUpdateWorkspace")
|
|
136
|
+
def effective_automatic_cluster_update_workspace(self) -> 'outputs.GetWorkspaceSettingV2EffectiveAutomaticClusterUpdateWorkspaceResult':
|
|
137
|
+
"""
|
|
138
|
+
(ClusterAutoRestartMessage)
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "effective_automatic_cluster_update_workspace")
|
|
141
|
+
|
|
142
|
+
@_builtins.property
|
|
143
|
+
@pulumi.getter(name="effectiveBooleanVal")
|
|
144
|
+
def effective_boolean_val(self) -> 'outputs.GetWorkspaceSettingV2EffectiveBooleanValResult':
|
|
145
|
+
"""
|
|
146
|
+
(BooleanMessage)
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "effective_boolean_val")
|
|
149
|
+
|
|
150
|
+
@_builtins.property
|
|
151
|
+
@pulumi.getter(name="effectiveIntegerVal")
|
|
152
|
+
def effective_integer_val(self) -> 'outputs.GetWorkspaceSettingV2EffectiveIntegerValResult':
|
|
153
|
+
"""
|
|
154
|
+
(IntegerMessage)
|
|
155
|
+
"""
|
|
156
|
+
return pulumi.get(self, "effective_integer_val")
|
|
157
|
+
|
|
158
|
+
@_builtins.property
|
|
159
|
+
@pulumi.getter(name="effectivePersonalCompute")
|
|
160
|
+
def effective_personal_compute(self) -> 'outputs.GetWorkspaceSettingV2EffectivePersonalComputeResult':
|
|
161
|
+
"""
|
|
162
|
+
(PersonalComputeMessage)
|
|
163
|
+
"""
|
|
164
|
+
return pulumi.get(self, "effective_personal_compute")
|
|
165
|
+
|
|
166
|
+
@_builtins.property
|
|
167
|
+
@pulumi.getter(name="effectiveRestrictWorkspaceAdmins")
|
|
168
|
+
def effective_restrict_workspace_admins(self) -> 'outputs.GetWorkspaceSettingV2EffectiveRestrictWorkspaceAdminsResult':
|
|
169
|
+
"""
|
|
170
|
+
(RestrictWorkspaceAdminsMessage)
|
|
171
|
+
"""
|
|
172
|
+
return pulumi.get(self, "effective_restrict_workspace_admins")
|
|
173
|
+
|
|
174
|
+
@_builtins.property
|
|
175
|
+
@pulumi.getter(name="effectiveStringVal")
|
|
176
|
+
def effective_string_val(self) -> 'outputs.GetWorkspaceSettingV2EffectiveStringValResult':
|
|
177
|
+
"""
|
|
178
|
+
(StringMessage)
|
|
179
|
+
"""
|
|
180
|
+
return pulumi.get(self, "effective_string_val")
|
|
181
|
+
|
|
182
|
+
@_builtins.property
|
|
183
|
+
@pulumi.getter
|
|
184
|
+
def id(self) -> _builtins.str:
|
|
185
|
+
"""
|
|
186
|
+
The provider-assigned unique ID for this managed resource.
|
|
187
|
+
"""
|
|
188
|
+
return pulumi.get(self, "id")
|
|
189
|
+
|
|
190
|
+
@_builtins.property
|
|
191
|
+
@pulumi.getter(name="integerVal")
|
|
192
|
+
def integer_val(self) -> 'outputs.GetWorkspaceSettingV2IntegerValResult':
|
|
193
|
+
"""
|
|
194
|
+
(IntegerMessage)
|
|
195
|
+
"""
|
|
196
|
+
return pulumi.get(self, "integer_val")
|
|
197
|
+
|
|
198
|
+
@_builtins.property
|
|
199
|
+
@pulumi.getter
|
|
200
|
+
def name(self) -> _builtins.str:
|
|
201
|
+
"""
|
|
202
|
+
(string) - Name of the setting
|
|
203
|
+
"""
|
|
204
|
+
return pulumi.get(self, "name")
|
|
205
|
+
|
|
206
|
+
@_builtins.property
|
|
207
|
+
@pulumi.getter(name="personalCompute")
|
|
208
|
+
def personal_compute(self) -> 'outputs.GetWorkspaceSettingV2PersonalComputeResult':
|
|
209
|
+
"""
|
|
210
|
+
(PersonalComputeMessage)
|
|
211
|
+
"""
|
|
212
|
+
return pulumi.get(self, "personal_compute")
|
|
213
|
+
|
|
214
|
+
@_builtins.property
|
|
215
|
+
@pulumi.getter(name="restrictWorkspaceAdmins")
|
|
216
|
+
def restrict_workspace_admins(self) -> 'outputs.GetWorkspaceSettingV2RestrictWorkspaceAdminsResult':
|
|
217
|
+
"""
|
|
218
|
+
(RestrictWorkspaceAdminsMessage)
|
|
219
|
+
"""
|
|
220
|
+
return pulumi.get(self, "restrict_workspace_admins")
|
|
221
|
+
|
|
222
|
+
@_builtins.property
|
|
223
|
+
@pulumi.getter(name="stringVal")
|
|
224
|
+
def string_val(self) -> 'outputs.GetWorkspaceSettingV2StringValResult':
|
|
225
|
+
"""
|
|
226
|
+
(StringMessage)
|
|
227
|
+
"""
|
|
228
|
+
return pulumi.get(self, "string_val")
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
class AwaitableGetWorkspaceSettingV2Result(GetWorkspaceSettingV2Result):
|
|
232
|
+
# pylint: disable=using-constant-test
|
|
233
|
+
def __await__(self):
|
|
234
|
+
if False:
|
|
235
|
+
yield self
|
|
236
|
+
return GetWorkspaceSettingV2Result(
|
|
237
|
+
aibi_dashboard_embedding_access_policy=self.aibi_dashboard_embedding_access_policy,
|
|
238
|
+
aibi_dashboard_embedding_approved_domains=self.aibi_dashboard_embedding_approved_domains,
|
|
239
|
+
automatic_cluster_update_workspace=self.automatic_cluster_update_workspace,
|
|
240
|
+
boolean_val=self.boolean_val,
|
|
241
|
+
effective_aibi_dashboard_embedding_access_policy=self.effective_aibi_dashboard_embedding_access_policy,
|
|
242
|
+
effective_aibi_dashboard_embedding_approved_domains=self.effective_aibi_dashboard_embedding_approved_domains,
|
|
243
|
+
effective_automatic_cluster_update_workspace=self.effective_automatic_cluster_update_workspace,
|
|
244
|
+
effective_boolean_val=self.effective_boolean_val,
|
|
245
|
+
effective_integer_val=self.effective_integer_val,
|
|
246
|
+
effective_personal_compute=self.effective_personal_compute,
|
|
247
|
+
effective_restrict_workspace_admins=self.effective_restrict_workspace_admins,
|
|
248
|
+
effective_string_val=self.effective_string_val,
|
|
249
|
+
id=self.id,
|
|
250
|
+
integer_val=self.integer_val,
|
|
251
|
+
name=self.name,
|
|
252
|
+
personal_compute=self.personal_compute,
|
|
253
|
+
restrict_workspace_admins=self.restrict_workspace_admins,
|
|
254
|
+
string_val=self.string_val)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
def get_workspace_setting_v2(name: Optional[_builtins.str] = None,
|
|
258
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkspaceSettingV2Result:
|
|
259
|
+
"""
|
|
260
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
261
|
+
|
|
262
|
+
This data source can be used to get a single account setting.
|
|
263
|
+
|
|
264
|
+
## Example Usage
|
|
265
|
+
|
|
266
|
+
Referring to a setting by id
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
:param _builtins.str name: Name of the setting
|
|
270
|
+
"""
|
|
271
|
+
__args__ = dict()
|
|
272
|
+
__args__['name'] = name
|
|
273
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
274
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getWorkspaceSettingV2:getWorkspaceSettingV2', __args__, opts=opts, typ=GetWorkspaceSettingV2Result).value
|
|
275
|
+
|
|
276
|
+
return AwaitableGetWorkspaceSettingV2Result(
|
|
277
|
+
aibi_dashboard_embedding_access_policy=pulumi.get(__ret__, 'aibi_dashboard_embedding_access_policy'),
|
|
278
|
+
aibi_dashboard_embedding_approved_domains=pulumi.get(__ret__, 'aibi_dashboard_embedding_approved_domains'),
|
|
279
|
+
automatic_cluster_update_workspace=pulumi.get(__ret__, 'automatic_cluster_update_workspace'),
|
|
280
|
+
boolean_val=pulumi.get(__ret__, 'boolean_val'),
|
|
281
|
+
effective_aibi_dashboard_embedding_access_policy=pulumi.get(__ret__, 'effective_aibi_dashboard_embedding_access_policy'),
|
|
282
|
+
effective_aibi_dashboard_embedding_approved_domains=pulumi.get(__ret__, 'effective_aibi_dashboard_embedding_approved_domains'),
|
|
283
|
+
effective_automatic_cluster_update_workspace=pulumi.get(__ret__, 'effective_automatic_cluster_update_workspace'),
|
|
284
|
+
effective_boolean_val=pulumi.get(__ret__, 'effective_boolean_val'),
|
|
285
|
+
effective_integer_val=pulumi.get(__ret__, 'effective_integer_val'),
|
|
286
|
+
effective_personal_compute=pulumi.get(__ret__, 'effective_personal_compute'),
|
|
287
|
+
effective_restrict_workspace_admins=pulumi.get(__ret__, 'effective_restrict_workspace_admins'),
|
|
288
|
+
effective_string_val=pulumi.get(__ret__, 'effective_string_val'),
|
|
289
|
+
id=pulumi.get(__ret__, 'id'),
|
|
290
|
+
integer_val=pulumi.get(__ret__, 'integer_val'),
|
|
291
|
+
name=pulumi.get(__ret__, 'name'),
|
|
292
|
+
personal_compute=pulumi.get(__ret__, 'personal_compute'),
|
|
293
|
+
restrict_workspace_admins=pulumi.get(__ret__, 'restrict_workspace_admins'),
|
|
294
|
+
string_val=pulumi.get(__ret__, 'string_val'))
|
|
295
|
+
def get_workspace_setting_v2_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
296
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetWorkspaceSettingV2Result]:
|
|
297
|
+
"""
|
|
298
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
299
|
+
|
|
300
|
+
This data source can be used to get a single account setting.
|
|
301
|
+
|
|
302
|
+
## Example Usage
|
|
303
|
+
|
|
304
|
+
Referring to a setting by id
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
:param _builtins.str name: Name of the setting
|
|
308
|
+
"""
|
|
309
|
+
__args__ = dict()
|
|
310
|
+
__args__['name'] = name
|
|
311
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
312
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getWorkspaceSettingV2:getWorkspaceSettingV2', __args__, opts=opts, typ=GetWorkspaceSettingV2Result)
|
|
313
|
+
return __ret__.apply(lambda __response__: GetWorkspaceSettingV2Result(
|
|
314
|
+
aibi_dashboard_embedding_access_policy=pulumi.get(__response__, 'aibi_dashboard_embedding_access_policy'),
|
|
315
|
+
aibi_dashboard_embedding_approved_domains=pulumi.get(__response__, 'aibi_dashboard_embedding_approved_domains'),
|
|
316
|
+
automatic_cluster_update_workspace=pulumi.get(__response__, 'automatic_cluster_update_workspace'),
|
|
317
|
+
boolean_val=pulumi.get(__response__, 'boolean_val'),
|
|
318
|
+
effective_aibi_dashboard_embedding_access_policy=pulumi.get(__response__, 'effective_aibi_dashboard_embedding_access_policy'),
|
|
319
|
+
effective_aibi_dashboard_embedding_approved_domains=pulumi.get(__response__, 'effective_aibi_dashboard_embedding_approved_domains'),
|
|
320
|
+
effective_automatic_cluster_update_workspace=pulumi.get(__response__, 'effective_automatic_cluster_update_workspace'),
|
|
321
|
+
effective_boolean_val=pulumi.get(__response__, 'effective_boolean_val'),
|
|
322
|
+
effective_integer_val=pulumi.get(__response__, 'effective_integer_val'),
|
|
323
|
+
effective_personal_compute=pulumi.get(__response__, 'effective_personal_compute'),
|
|
324
|
+
effective_restrict_workspace_admins=pulumi.get(__response__, 'effective_restrict_workspace_admins'),
|
|
325
|
+
effective_string_val=pulumi.get(__response__, 'effective_string_val'),
|
|
326
|
+
id=pulumi.get(__response__, 'id'),
|
|
327
|
+
integer_val=pulumi.get(__response__, 'integer_val'),
|
|
328
|
+
name=pulumi.get(__response__, 'name'),
|
|
329
|
+
personal_compute=pulumi.get(__response__, 'personal_compute'),
|
|
330
|
+
restrict_workspace_admins=pulumi.get(__response__, 'restrict_workspace_admins'),
|
|
331
|
+
string_val=pulumi.get(__response__, 'string_val')))
|