pulumi-databricks 1.75.0a1756323569__py3-none-any.whl → 1.77.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +129 -46
- pulumi_databricks/_inputs.py +13377 -13798
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +12 -4
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/alert_v2.py +223 -90
- pulumi_databricks/app.py +111 -4
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/budget_policy.py +28 -5
- pulumi_databricks/catalog.py +322 -2
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/config/__init__.pyi +2 -0
- pulumi_databricks/config/vars.py +4 -0
- pulumi_databricks/connection.py +0 -34
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +8 -4
- pulumi_databricks/database_instance.py +354 -73
- pulumi_databricks/database_synced_database_table.py +52 -4
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_metadata.py +15 -11
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +17 -18
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +78 -70
- pulumi_databricks/get_alerts_v2.py +31 -12
- pulumi_databricks/get_app.py +21 -9
- pulumi_databricks/get_apps.py +22 -10
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_bucket_policy.py +6 -6
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +35 -30
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +21 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +24 -4
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +6 -20
- pulumi_databricks/get_database_database_catalogs.py +46 -8
- pulumi_databricks/get_database_instance.py +122 -75
- pulumi_databricks/get_database_instances.py +31 -6
- pulumi_databricks/get_database_synced_database_table.py +7 -28
- pulumi_databricks/get_database_synced_database_tables.py +43 -5
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +12 -50
- pulumi_databricks/get_external_metadatas.py +55 -6
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +3 -11
- pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
- pulumi_databricks/get_metastore.py +2 -2
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +7 -17
- pulumi_databricks/get_online_stores.py +29 -8
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +28 -99
- pulumi_databricks/get_policy_infos.py +92 -5
- pulumi_databricks/get_quality_monitor_v2.py +4 -0
- pulumi_databricks/get_quality_monitors_v2.py +22 -3
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/grant.py +2 -2
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +8 -4
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
- pulumi_databricks/mws_permission_assignment.py +16 -16
- pulumi_databricks/mws_storage_configurations.py +6 -6
- pulumi_databricks/mws_workspaces.py +76 -29
- pulumi_databricks/online_store.py +8 -4
- pulumi_databricks/outputs.py +26397 -22382
- pulumi_databricks/permission_assignment.py +266 -24
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +43 -39
- pulumi_databricks/provider.py +15 -0
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +8 -4
- pulumi_databricks/registered_model.py +301 -29
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_endpoint.py +47 -0
- pulumi_databricks/sql_table.py +35 -7
- pulumi_databricks/storage_credential.py +59 -6
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +8 -4
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -891
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
- pulumi_databricks/clean_rooms_clean_room.py +0 -518
- pulumi_databricks/get_clean_room_asset.py +0 -399
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
- pulumi_databricks/get_clean_room_assets.py +0 -104
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
- pulumi_databricks/get_recipient_federation_policies.py +0 -82
- pulumi_databricks/get_recipient_federation_policy.py +0 -165
- pulumi_databricks/recipient_federation_policy.py +0 -346
- pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,214 @@
|
|
|
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
|
+
'GetAccountFederationPolicyResult',
|
|
20
|
+
'AwaitableGetAccountFederationPolicyResult',
|
|
21
|
+
'get_account_federation_policy',
|
|
22
|
+
'get_account_federation_policy_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetAccountFederationPolicyResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getAccountFederationPolicy.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, create_time=None, description=None, id=None, name=None, oidc_policy=None, policy_id=None, service_principal_id=None, uid=None, update_time=None):
|
|
31
|
+
if create_time and not isinstance(create_time, str):
|
|
32
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
|
33
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
34
|
+
if description and not isinstance(description, str):
|
|
35
|
+
raise TypeError("Expected argument 'description' to be a str")
|
|
36
|
+
pulumi.set(__self__, "description", description)
|
|
37
|
+
if id and not isinstance(id, str):
|
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "id", id)
|
|
40
|
+
if name and not isinstance(name, str):
|
|
41
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
42
|
+
pulumi.set(__self__, "name", name)
|
|
43
|
+
if oidc_policy and not isinstance(oidc_policy, dict):
|
|
44
|
+
raise TypeError("Expected argument 'oidc_policy' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "oidc_policy", oidc_policy)
|
|
46
|
+
if policy_id and not isinstance(policy_id, str):
|
|
47
|
+
raise TypeError("Expected argument 'policy_id' to be a str")
|
|
48
|
+
pulumi.set(__self__, "policy_id", policy_id)
|
|
49
|
+
if service_principal_id and not isinstance(service_principal_id, int):
|
|
50
|
+
raise TypeError("Expected argument 'service_principal_id' to be a int")
|
|
51
|
+
pulumi.set(__self__, "service_principal_id", service_principal_id)
|
|
52
|
+
if uid and not isinstance(uid, str):
|
|
53
|
+
raise TypeError("Expected argument 'uid' to be a str")
|
|
54
|
+
pulumi.set(__self__, "uid", uid)
|
|
55
|
+
if update_time and not isinstance(update_time, str):
|
|
56
|
+
raise TypeError("Expected argument 'update_time' to be a str")
|
|
57
|
+
pulumi.set(__self__, "update_time", update_time)
|
|
58
|
+
|
|
59
|
+
@_builtins.property
|
|
60
|
+
@pulumi.getter(name="createTime")
|
|
61
|
+
def create_time(self) -> _builtins.str:
|
|
62
|
+
"""
|
|
63
|
+
(string) - Creation time of the federation policy
|
|
64
|
+
"""
|
|
65
|
+
return pulumi.get(self, "create_time")
|
|
66
|
+
|
|
67
|
+
@_builtins.property
|
|
68
|
+
@pulumi.getter
|
|
69
|
+
def description(self) -> _builtins.str:
|
|
70
|
+
"""
|
|
71
|
+
(string) - Description of the federation policy
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "description")
|
|
74
|
+
|
|
75
|
+
@_builtins.property
|
|
76
|
+
@pulumi.getter
|
|
77
|
+
def id(self) -> _builtins.str:
|
|
78
|
+
"""
|
|
79
|
+
The provider-assigned unique ID for this managed resource.
|
|
80
|
+
"""
|
|
81
|
+
return pulumi.get(self, "id")
|
|
82
|
+
|
|
83
|
+
@_builtins.property
|
|
84
|
+
@pulumi.getter
|
|
85
|
+
def name(self) -> _builtins.str:
|
|
86
|
+
"""
|
|
87
|
+
(string) - Resource name for the federation policy. Example values include
|
|
88
|
+
`accounts/<account-id>/federationPolicies/my-federation-policy` for Account Federation Policies, and
|
|
89
|
+
`accounts/<account-id>/servicePrincipals/<service-principal-id>/federationPolicies/my-federation-policy`
|
|
90
|
+
for Service Principal Federation Policies. Typically an output parameter, which does not need to be
|
|
91
|
+
specified in create or update requests. If specified in a request, must match the value in the
|
|
92
|
+
request URL
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "name")
|
|
95
|
+
|
|
96
|
+
@_builtins.property
|
|
97
|
+
@pulumi.getter(name="oidcPolicy")
|
|
98
|
+
def oidc_policy(self) -> 'outputs.GetAccountFederationPolicyOidcPolicyResult':
|
|
99
|
+
"""
|
|
100
|
+
(OidcFederationPolicy)
|
|
101
|
+
"""
|
|
102
|
+
return pulumi.get(self, "oidc_policy")
|
|
103
|
+
|
|
104
|
+
@_builtins.property
|
|
105
|
+
@pulumi.getter(name="policyId")
|
|
106
|
+
def policy_id(self) -> _builtins.str:
|
|
107
|
+
"""
|
|
108
|
+
(string) - The ID of the federation policy. Output only
|
|
109
|
+
"""
|
|
110
|
+
return pulumi.get(self, "policy_id")
|
|
111
|
+
|
|
112
|
+
@_builtins.property
|
|
113
|
+
@pulumi.getter(name="servicePrincipalId")
|
|
114
|
+
def service_principal_id(self) -> _builtins.int:
|
|
115
|
+
"""
|
|
116
|
+
(integer) - The service principal ID that this federation policy applies to. Output only. Only set for service principal federation policies
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "service_principal_id")
|
|
119
|
+
|
|
120
|
+
@_builtins.property
|
|
121
|
+
@pulumi.getter
|
|
122
|
+
def uid(self) -> _builtins.str:
|
|
123
|
+
"""
|
|
124
|
+
(string) - Unique, immutable id of the federation policy
|
|
125
|
+
"""
|
|
126
|
+
return pulumi.get(self, "uid")
|
|
127
|
+
|
|
128
|
+
@_builtins.property
|
|
129
|
+
@pulumi.getter(name="updateTime")
|
|
130
|
+
def update_time(self) -> _builtins.str:
|
|
131
|
+
"""
|
|
132
|
+
(string) - Last update time of the federation policy
|
|
133
|
+
"""
|
|
134
|
+
return pulumi.get(self, "update_time")
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class AwaitableGetAccountFederationPolicyResult(GetAccountFederationPolicyResult):
|
|
138
|
+
# pylint: disable=using-constant-test
|
|
139
|
+
def __await__(self):
|
|
140
|
+
if False:
|
|
141
|
+
yield self
|
|
142
|
+
return GetAccountFederationPolicyResult(
|
|
143
|
+
create_time=self.create_time,
|
|
144
|
+
description=self.description,
|
|
145
|
+
id=self.id,
|
|
146
|
+
name=self.name,
|
|
147
|
+
oidc_policy=self.oidc_policy,
|
|
148
|
+
policy_id=self.policy_id,
|
|
149
|
+
service_principal_id=self.service_principal_id,
|
|
150
|
+
uid=self.uid,
|
|
151
|
+
update_time=self.update_time)
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
def get_account_federation_policy(policy_id: Optional[_builtins.str] = None,
|
|
155
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountFederationPolicyResult:
|
|
156
|
+
"""
|
|
157
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
158
|
+
|
|
159
|
+
This data source can be used to get a single account federation policy.
|
|
160
|
+
|
|
161
|
+
> **Note** This data source can only be used with an account-level provider!
|
|
162
|
+
|
|
163
|
+
## Example Usage
|
|
164
|
+
|
|
165
|
+
Referring to an account federation policy by id:
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
:param _builtins.str policy_id: The ID of the federation policy. Output only
|
|
169
|
+
"""
|
|
170
|
+
__args__ = dict()
|
|
171
|
+
__args__['policyId'] = policy_id
|
|
172
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
173
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getAccountFederationPolicy:getAccountFederationPolicy', __args__, opts=opts, typ=GetAccountFederationPolicyResult).value
|
|
174
|
+
|
|
175
|
+
return AwaitableGetAccountFederationPolicyResult(
|
|
176
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
|
177
|
+
description=pulumi.get(__ret__, 'description'),
|
|
178
|
+
id=pulumi.get(__ret__, 'id'),
|
|
179
|
+
name=pulumi.get(__ret__, 'name'),
|
|
180
|
+
oidc_policy=pulumi.get(__ret__, 'oidc_policy'),
|
|
181
|
+
policy_id=pulumi.get(__ret__, 'policy_id'),
|
|
182
|
+
service_principal_id=pulumi.get(__ret__, 'service_principal_id'),
|
|
183
|
+
uid=pulumi.get(__ret__, 'uid'),
|
|
184
|
+
update_time=pulumi.get(__ret__, 'update_time'))
|
|
185
|
+
def get_account_federation_policy_output(policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
186
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountFederationPolicyResult]:
|
|
187
|
+
"""
|
|
188
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
189
|
+
|
|
190
|
+
This data source can be used to get a single account federation policy.
|
|
191
|
+
|
|
192
|
+
> **Note** This data source can only be used with an account-level provider!
|
|
193
|
+
|
|
194
|
+
## Example Usage
|
|
195
|
+
|
|
196
|
+
Referring to an account federation policy by id:
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
:param _builtins.str policy_id: The ID of the federation policy. Output only
|
|
200
|
+
"""
|
|
201
|
+
__args__ = dict()
|
|
202
|
+
__args__['policyId'] = policy_id
|
|
203
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
204
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getAccountFederationPolicy:getAccountFederationPolicy', __args__, opts=opts, typ=GetAccountFederationPolicyResult)
|
|
205
|
+
return __ret__.apply(lambda __response__: GetAccountFederationPolicyResult(
|
|
206
|
+
create_time=pulumi.get(__response__, 'create_time'),
|
|
207
|
+
description=pulumi.get(__response__, 'description'),
|
|
208
|
+
id=pulumi.get(__response__, 'id'),
|
|
209
|
+
name=pulumi.get(__response__, 'name'),
|
|
210
|
+
oidc_policy=pulumi.get(__response__, 'oidc_policy'),
|
|
211
|
+
policy_id=pulumi.get(__response__, 'policy_id'),
|
|
212
|
+
service_principal_id=pulumi.get(__response__, 'service_principal_id'),
|
|
213
|
+
uid=pulumi.get(__response__, 'uid'),
|
|
214
|
+
update_time=pulumi.get(__response__, 'update_time')))
|
|
@@ -61,6 +61,8 @@ class AwaitableGetAccountNetworkPoliciesResult(GetAccountNetworkPoliciesResult):
|
|
|
61
61
|
|
|
62
62
|
def get_account_network_policies(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountNetworkPoliciesResult:
|
|
63
63
|
"""
|
|
64
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
65
|
+
|
|
64
66
|
This data source can be used to fetch the list of network policies.
|
|
65
67
|
|
|
66
68
|
> **Note** This data source can only be used with an account-level provider!
|
|
@@ -85,6 +87,8 @@ def get_account_network_policies(opts: Optional[pulumi.InvokeOptions] = None) ->
|
|
|
85
87
|
items=pulumi.get(__ret__, 'items'))
|
|
86
88
|
def get_account_network_policies_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountNetworkPoliciesResult]:
|
|
87
89
|
"""
|
|
90
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
91
|
+
|
|
88
92
|
This data source can be used to fetch the list of network policies.
|
|
89
93
|
|
|
90
94
|
> **Note** This data source can only be used with an account-level provider!
|
|
@@ -14,7 +14,6 @@ else:
|
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
16
|
from . import outputs
|
|
17
|
-
from ._inputs import *
|
|
18
17
|
|
|
19
18
|
__all__ = [
|
|
20
19
|
'GetAccountNetworkPolicyResult',
|
|
@@ -44,7 +43,7 @@ class GetAccountNetworkPolicyResult:
|
|
|
44
43
|
|
|
45
44
|
@_builtins.property
|
|
46
45
|
@pulumi.getter(name="accountId")
|
|
47
|
-
def account_id(self) ->
|
|
46
|
+
def account_id(self) -> _builtins.str:
|
|
48
47
|
"""
|
|
49
48
|
(string) - The associated account ID for this Network Policy object
|
|
50
49
|
"""
|
|
@@ -52,7 +51,7 @@ class GetAccountNetworkPolicyResult:
|
|
|
52
51
|
|
|
53
52
|
@_builtins.property
|
|
54
53
|
@pulumi.getter
|
|
55
|
-
def egress(self) ->
|
|
54
|
+
def egress(self) -> 'outputs.GetAccountNetworkPolicyEgressResult':
|
|
56
55
|
"""
|
|
57
56
|
(NetworkPolicyEgress) - The network policies applying for egress traffic
|
|
58
57
|
"""
|
|
@@ -68,7 +67,7 @@ class GetAccountNetworkPolicyResult:
|
|
|
68
67
|
|
|
69
68
|
@_builtins.property
|
|
70
69
|
@pulumi.getter(name="networkPolicyId")
|
|
71
|
-
def network_policy_id(self) ->
|
|
70
|
+
def network_policy_id(self) -> _builtins.str:
|
|
72
71
|
"""
|
|
73
72
|
(string) - The unique identifier for the network policy
|
|
74
73
|
"""
|
|
@@ -87,23 +86,23 @@ class AwaitableGetAccountNetworkPolicyResult(GetAccountNetworkPolicyResult):
|
|
|
87
86
|
network_policy_id=self.network_policy_id)
|
|
88
87
|
|
|
89
88
|
|
|
90
|
-
def get_account_network_policy(
|
|
91
|
-
egress: Optional[Union['GetAccountNetworkPolicyEgressArgs', 'GetAccountNetworkPolicyEgressArgsDict']] = None,
|
|
92
|
-
network_policy_id: Optional[_builtins.str] = None,
|
|
89
|
+
def get_account_network_policy(network_policy_id: Optional[_builtins.str] = None,
|
|
93
90
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountNetworkPolicyResult:
|
|
94
91
|
"""
|
|
92
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
93
|
+
|
|
95
94
|
This data source can be used to get a single network policy.
|
|
96
95
|
|
|
97
96
|
> **Note** This data source can only be used with an account-level provider!
|
|
98
97
|
|
|
98
|
+
## Example Usage
|
|
99
|
+
|
|
100
|
+
Referring to a network policy by id:
|
|
101
|
+
|
|
99
102
|
|
|
100
|
-
:param _builtins.str account_id: (string) - The associated account ID for this Network Policy object
|
|
101
|
-
:param Union['GetAccountNetworkPolicyEgressArgs', 'GetAccountNetworkPolicyEgressArgsDict'] egress: (NetworkPolicyEgress) - The network policies applying for egress traffic
|
|
102
103
|
:param _builtins.str network_policy_id: The unique identifier for the network policy
|
|
103
104
|
"""
|
|
104
105
|
__args__ = dict()
|
|
105
|
-
__args__['accountId'] = account_id
|
|
106
|
-
__args__['egress'] = egress
|
|
107
106
|
__args__['networkPolicyId'] = network_policy_id
|
|
108
107
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
109
108
|
__ret__ = pulumi.runtime.invoke('databricks:index/getAccountNetworkPolicy:getAccountNetworkPolicy', __args__, opts=opts, typ=GetAccountNetworkPolicyResult).value
|
|
@@ -113,23 +112,23 @@ def get_account_network_policy(account_id: Optional[_builtins.str] = None,
|
|
|
113
112
|
egress=pulumi.get(__ret__, 'egress'),
|
|
114
113
|
id=pulumi.get(__ret__, 'id'),
|
|
115
114
|
network_policy_id=pulumi.get(__ret__, 'network_policy_id'))
|
|
116
|
-
def get_account_network_policy_output(
|
|
117
|
-
egress: Optional[pulumi.Input[Optional[Union['GetAccountNetworkPolicyEgressArgs', 'GetAccountNetworkPolicyEgressArgsDict']]]] = None,
|
|
118
|
-
network_policy_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
115
|
+
def get_account_network_policy_output(network_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
119
116
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountNetworkPolicyResult]:
|
|
120
117
|
"""
|
|
118
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
119
|
+
|
|
121
120
|
This data source can be used to get a single network policy.
|
|
122
121
|
|
|
123
122
|
> **Note** This data source can only be used with an account-level provider!
|
|
124
123
|
|
|
124
|
+
## Example Usage
|
|
125
|
+
|
|
126
|
+
Referring to a network policy by id:
|
|
127
|
+
|
|
125
128
|
|
|
126
|
-
:param _builtins.str account_id: (string) - The associated account ID for this Network Policy object
|
|
127
|
-
:param Union['GetAccountNetworkPolicyEgressArgs', 'GetAccountNetworkPolicyEgressArgsDict'] egress: (NetworkPolicyEgress) - The network policies applying for egress traffic
|
|
128
129
|
:param _builtins.str network_policy_id: The unique identifier for the network policy
|
|
129
130
|
"""
|
|
130
131
|
__args__ = dict()
|
|
131
|
-
__args__['accountId'] = account_id
|
|
132
|
-
__args__['egress'] = egress
|
|
133
132
|
__args__['networkPolicyId'] = network_policy_id
|
|
134
133
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
135
134
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getAccountNetworkPolicy:getAccountNetworkPolicy', __args__, opts=opts, typ=GetAccountNetworkPolicyResult)
|
|
@@ -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
|
+
'GetAccountSettingV2Result',
|
|
20
|
+
'AwaitableGetAccountSettingV2Result',
|
|
21
|
+
'get_account_setting_v2',
|
|
22
|
+
'get_account_setting_v2_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetAccountSettingV2Result:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getAccountSettingV2.
|
|
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.GetAccountSettingV2AibiDashboardEmbeddingAccessPolicyResult':
|
|
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.GetAccountSettingV2AibiDashboardEmbeddingApprovedDomainsResult':
|
|
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.GetAccountSettingV2AutomaticClusterUpdateWorkspaceResult':
|
|
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.GetAccountSettingV2BooleanValResult':
|
|
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.GetAccountSettingV2EffectiveAibiDashboardEmbeddingAccessPolicyResult':
|
|
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.GetAccountSettingV2EffectiveAibiDashboardEmbeddingApprovedDomainsResult':
|
|
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.GetAccountSettingV2EffectiveAutomaticClusterUpdateWorkspaceResult':
|
|
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.GetAccountSettingV2EffectiveBooleanValResult':
|
|
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.GetAccountSettingV2EffectiveIntegerValResult':
|
|
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.GetAccountSettingV2EffectivePersonalComputeResult':
|
|
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.GetAccountSettingV2EffectiveRestrictWorkspaceAdminsResult':
|
|
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.GetAccountSettingV2EffectiveStringValResult':
|
|
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.GetAccountSettingV2IntegerValResult':
|
|
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.GetAccountSettingV2PersonalComputeResult':
|
|
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.GetAccountSettingV2RestrictWorkspaceAdminsResult':
|
|
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.GetAccountSettingV2StringValResult':
|
|
225
|
+
"""
|
|
226
|
+
(StringMessage)
|
|
227
|
+
"""
|
|
228
|
+
return pulumi.get(self, "string_val")
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
class AwaitableGetAccountSettingV2Result(GetAccountSettingV2Result):
|
|
232
|
+
# pylint: disable=using-constant-test
|
|
233
|
+
def __await__(self):
|
|
234
|
+
if False:
|
|
235
|
+
yield self
|
|
236
|
+
return GetAccountSettingV2Result(
|
|
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_account_setting_v2(name: Optional[_builtins.str] = None,
|
|
258
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountSettingV2Result:
|
|
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/getAccountSettingV2:getAccountSettingV2', __args__, opts=opts, typ=GetAccountSettingV2Result).value
|
|
275
|
+
|
|
276
|
+
return AwaitableGetAccountSettingV2Result(
|
|
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_account_setting_v2_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
296
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountSettingV2Result]:
|
|
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/getAccountSettingV2:getAccountSettingV2', __args__, opts=opts, typ=GetAccountSettingV2Result)
|
|
313
|
+
return __ret__.apply(lambda __response__: GetAccountSettingV2Result(
|
|
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')))
|