pulumi-databricks 1.77.0a1761975834__py3-none-any.whl → 1.79.0a1762839813__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 +54 -46
- pulumi_databricks/_inputs.py +26079 -32918
- pulumi_databricks/account_federation_policy.py +44 -16
- pulumi_databricks/account_network_policy.py +56 -2
- pulumi_databricks/account_setting_v2.py +46 -83
- pulumi_databricks/alert_v2.py +168 -134
- pulumi_databricks/app.py +153 -0
- pulumi_databricks/apps_settings_custom_template.py +75 -52
- pulumi_databricks/budget_policy.py +6 -2
- pulumi_databricks/catalog.py +65 -23
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +9 -52
- pulumi_databricks/database_instance.py +271 -120
- pulumi_databricks/database_synced_database_table.py +239 -52
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +83 -52
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/external_metadata.py +16 -59
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +2 -2
- pulumi_databricks/get_account_federation_policies.py +22 -3
- pulumi_databricks/get_account_federation_policy.py +12 -27
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +9 -18
- pulumi_databricks/get_account_setting_v2.py +36 -141
- pulumi_databricks/get_alert_v2.py +41 -107
- pulumi_databricks/get_alerts_v2.py +29 -31
- pulumi_databricks/get_app.py +21 -5
- pulumi_databricks/get_apps.py +22 -6
- pulumi_databricks/get_apps_settings_custom_template.py +11 -55
- pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
- pulumi_databricks/get_aws_assume_role_policy.py +14 -14
- pulumi_databricks/get_aws_bucket_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +9 -32
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +75 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_config.py +4 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +20 -4
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +10 -41
- pulumi_databricks/get_database_database_catalogs.py +37 -18
- pulumi_databricks/get_database_instance.py +93 -99
- pulumi_databricks/get_database_instances.py +20 -16
- pulumi_databricks/get_database_synced_database_table.py +11 -49
- pulumi_databricks/get_database_synced_database_tables.py +42 -23
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +63 -30
- pulumi_databricks/get_entity_tag_assignments.py +69 -23
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +18 -73
- pulumi_databricks/get_external_metadatas.py +22 -16
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +7 -32
- pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
- pulumi_databricks/get_metastore.py +6 -6
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notebook.py +20 -1
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +11 -38
- pulumi_databricks/get_online_stores.py +20 -18
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +21 -109
- pulumi_databricks/get_policy_infos.py +50 -25
- pulumi_databricks/get_quality_monitor_v2.py +8 -21
- pulumi_databricks/get_quality_monitors_v2.py +23 -25
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +23 -4
- pulumi_databricks/get_service_principal_federation_policy.py +15 -24
- pulumi_databricks/get_service_principals.py +64 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +55 -23
- pulumi_databricks/get_tag_policy.py +60 -40
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +41 -163
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/instance_profile.py +0 -182
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +9 -52
- pulumi_databricks/metastore.py +81 -7
- pulumi_databricks/metastore_data_access.py +48 -0
- pulumi_databricks/mlflow_webhook.py +4 -4
- pulumi_databricks/mws_credentials.py +10 -10
- pulumi_databricks/mws_customer_managed_keys.py +0 -288
- pulumi_databricks/mws_log_delivery.py +146 -0
- pulumi_databricks/mws_storage_configurations.py +16 -16
- pulumi_databricks/mws_vpc_endpoint.py +56 -56
- pulumi_databricks/mws_workspaces.py +146 -65
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/online_store.py +9 -52
- pulumi_databricks/outputs.py +11885 -13474
- pulumi_databricks/permission_assignment.py +299 -8
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +9 -52
- pulumi_databricks/provider.py +36 -1
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +9 -52
- pulumi_databricks/recipient.py +74 -0
- pulumi_databricks/registered_model.py +308 -36
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +48 -16
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_table.py +42 -14
- pulumi_databricks/storage_credential.py +15 -2
- pulumi_databricks/tag_policy.py +111 -54
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/volume.py +7 -7
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +6 -2
- pulumi_databricks/workspace_setting_v2.py +49 -133
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/METADATA +1 -1
- pulumi_databricks-1.79.0a1762839813.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -938
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
- pulumi_databricks/clean_rooms_clean_room.py +0 -569
- pulumi_databricks/get_clean_room_asset.py +0 -416
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
- pulumi_databricks/get_clean_room_assets.py +0 -146
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
- pulumi_databricks/get_recipient_federation_policies.py +0 -101
- pulumi_databricks/get_recipient_federation_policy.py +0 -182
- pulumi_databricks/recipient_federation_policy.py +0 -393
- pulumi_databricks-1.77.0a1761975834.dist-info/RECORD +0 -250
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
|
@@ -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
|
'GetAppsSettingsCustomTemplateResult',
|
|
@@ -28,7 +27,7 @@ class GetAppsSettingsCustomTemplateResult:
|
|
|
28
27
|
"""
|
|
29
28
|
A collection of values returned by getAppsSettingsCustomTemplate.
|
|
30
29
|
"""
|
|
31
|
-
def __init__(__self__, creator=None, description=None, git_provider=None, git_repo=None, id=None, manifest=None, name=None, path=None
|
|
30
|
+
def __init__(__self__, creator=None, description=None, git_provider=None, git_repo=None, id=None, manifest=None, name=None, path=None):
|
|
32
31
|
if creator and not isinstance(creator, str):
|
|
33
32
|
raise TypeError("Expected argument 'creator' to be a str")
|
|
34
33
|
pulumi.set(__self__, "creator", creator)
|
|
@@ -53,9 +52,6 @@ class GetAppsSettingsCustomTemplateResult:
|
|
|
53
52
|
if path and not isinstance(path, str):
|
|
54
53
|
raise TypeError("Expected argument 'path' to be a str")
|
|
55
54
|
pulumi.set(__self__, "path", path)
|
|
56
|
-
if workspace_id and not isinstance(workspace_id, str):
|
|
57
|
-
raise TypeError("Expected argument 'workspace_id' to be a str")
|
|
58
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
59
55
|
|
|
60
56
|
@_builtins.property
|
|
61
57
|
@pulumi.getter
|
|
@@ -67,7 +63,7 @@ class GetAppsSettingsCustomTemplateResult:
|
|
|
67
63
|
|
|
68
64
|
@_builtins.property
|
|
69
65
|
@pulumi.getter
|
|
70
|
-
def description(self) ->
|
|
66
|
+
def description(self) -> _builtins.str:
|
|
71
67
|
"""
|
|
72
68
|
(string) - Description of the App Resource
|
|
73
69
|
"""
|
|
@@ -121,11 +117,6 @@ class GetAppsSettingsCustomTemplateResult:
|
|
|
121
117
|
"""
|
|
122
118
|
return pulumi.get(self, "path")
|
|
123
119
|
|
|
124
|
-
@_builtins.property
|
|
125
|
-
@pulumi.getter(name="workspaceId")
|
|
126
|
-
def workspace_id(self) -> Optional[_builtins.str]:
|
|
127
|
-
return pulumi.get(self, "workspace_id")
|
|
128
|
-
|
|
129
120
|
|
|
130
121
|
class AwaitableGetAppsSettingsCustomTemplateResult(GetAppsSettingsCustomTemplateResult):
|
|
131
122
|
# pylint: disable=using-constant-test
|
|
@@ -140,19 +131,14 @@ class AwaitableGetAppsSettingsCustomTemplateResult(GetAppsSettingsCustomTemplate
|
|
|
140
131
|
id=self.id,
|
|
141
132
|
manifest=self.manifest,
|
|
142
133
|
name=self.name,
|
|
143
|
-
path=self.path
|
|
144
|
-
workspace_id=self.workspace_id)
|
|
134
|
+
path=self.path)
|
|
145
135
|
|
|
146
136
|
|
|
147
|
-
def get_apps_settings_custom_template(
|
|
148
|
-
git_provider: Optional[_builtins.str] = None,
|
|
149
|
-
git_repo: Optional[_builtins.str] = None,
|
|
150
|
-
manifest: Optional[Union['GetAppsSettingsCustomTemplateManifestArgs', 'GetAppsSettingsCustomTemplateManifestArgsDict']] = None,
|
|
151
|
-
name: Optional[_builtins.str] = None,
|
|
152
|
-
path: Optional[_builtins.str] = None,
|
|
153
|
-
workspace_id: Optional[_builtins.str] = None,
|
|
137
|
+
def get_apps_settings_custom_template(name: Optional[_builtins.str] = None,
|
|
154
138
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAppsSettingsCustomTemplateResult:
|
|
155
139
|
"""
|
|
140
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
141
|
+
|
|
156
142
|
This data source can be used to get a single Custom Template.
|
|
157
143
|
|
|
158
144
|
## Example Usage
|
|
@@ -167,23 +153,11 @@ def get_apps_settings_custom_template(description: Optional[_builtins.str] = Non
|
|
|
167
153
|
```
|
|
168
154
|
|
|
169
155
|
|
|
170
|
-
:param _builtins.str description: (string) - Description of the App Resource
|
|
171
|
-
:param _builtins.str git_provider: (string) - The Git provider of the template
|
|
172
|
-
:param _builtins.str git_repo: (string) - The Git repository URL that the template resides in
|
|
173
|
-
:param Union['GetAppsSettingsCustomTemplateManifestArgs', 'GetAppsSettingsCustomTemplateManifestArgsDict'] manifest: (AppManifest) - The manifest of the template. It defines fields and default values when installing the template
|
|
174
156
|
:param _builtins.str name: The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
175
157
|
It must be unique within the workspace
|
|
176
|
-
:param _builtins.str path: (string) - The path to the template within the Git repository
|
|
177
|
-
:param _builtins.str workspace_id: Workspace ID of the resource
|
|
178
158
|
"""
|
|
179
159
|
__args__ = dict()
|
|
180
|
-
__args__['description'] = description
|
|
181
|
-
__args__['gitProvider'] = git_provider
|
|
182
|
-
__args__['gitRepo'] = git_repo
|
|
183
|
-
__args__['manifest'] = manifest
|
|
184
160
|
__args__['name'] = name
|
|
185
|
-
__args__['path'] = path
|
|
186
|
-
__args__['workspaceId'] = workspace_id
|
|
187
161
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
188
162
|
__ret__ = pulumi.runtime.invoke('databricks:index/getAppsSettingsCustomTemplate:getAppsSettingsCustomTemplate', __args__, opts=opts, typ=GetAppsSettingsCustomTemplateResult).value
|
|
189
163
|
|
|
@@ -195,17 +169,12 @@ def get_apps_settings_custom_template(description: Optional[_builtins.str] = Non
|
|
|
195
169
|
id=pulumi.get(__ret__, 'id'),
|
|
196
170
|
manifest=pulumi.get(__ret__, 'manifest'),
|
|
197
171
|
name=pulumi.get(__ret__, 'name'),
|
|
198
|
-
path=pulumi.get(__ret__, 'path')
|
|
199
|
-
|
|
200
|
-
def get_apps_settings_custom_template_output(description: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
201
|
-
git_provider: Optional[pulumi.Input[_builtins.str]] = None,
|
|
202
|
-
git_repo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
203
|
-
manifest: Optional[pulumi.Input[Union['GetAppsSettingsCustomTemplateManifestArgs', 'GetAppsSettingsCustomTemplateManifestArgsDict']]] = None,
|
|
204
|
-
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
205
|
-
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
206
|
-
workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
172
|
+
path=pulumi.get(__ret__, 'path'))
|
|
173
|
+
def get_apps_settings_custom_template_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
207
174
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppsSettingsCustomTemplateResult]:
|
|
208
175
|
"""
|
|
176
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
177
|
+
|
|
209
178
|
This data source can be used to get a single Custom Template.
|
|
210
179
|
|
|
211
180
|
## Example Usage
|
|
@@ -220,23 +189,11 @@ def get_apps_settings_custom_template_output(description: Optional[pulumi.Input[
|
|
|
220
189
|
```
|
|
221
190
|
|
|
222
191
|
|
|
223
|
-
:param _builtins.str description: (string) - Description of the App Resource
|
|
224
|
-
:param _builtins.str git_provider: (string) - The Git provider of the template
|
|
225
|
-
:param _builtins.str git_repo: (string) - The Git repository URL that the template resides in
|
|
226
|
-
:param Union['GetAppsSettingsCustomTemplateManifestArgs', 'GetAppsSettingsCustomTemplateManifestArgsDict'] manifest: (AppManifest) - The manifest of the template. It defines fields and default values when installing the template
|
|
227
192
|
:param _builtins.str name: The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
228
193
|
It must be unique within the workspace
|
|
229
|
-
:param _builtins.str path: (string) - The path to the template within the Git repository
|
|
230
|
-
:param _builtins.str workspace_id: Workspace ID of the resource
|
|
231
194
|
"""
|
|
232
195
|
__args__ = dict()
|
|
233
|
-
__args__['description'] = description
|
|
234
|
-
__args__['gitProvider'] = git_provider
|
|
235
|
-
__args__['gitRepo'] = git_repo
|
|
236
|
-
__args__['manifest'] = manifest
|
|
237
196
|
__args__['name'] = name
|
|
238
|
-
__args__['path'] = path
|
|
239
|
-
__args__['workspaceId'] = workspace_id
|
|
240
197
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
241
198
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getAppsSettingsCustomTemplate:getAppsSettingsCustomTemplate', __args__, opts=opts, typ=GetAppsSettingsCustomTemplateResult)
|
|
242
199
|
return __ret__.apply(lambda __response__: GetAppsSettingsCustomTemplateResult(
|
|
@@ -247,5 +204,4 @@ def get_apps_settings_custom_template_output(description: Optional[pulumi.Input[
|
|
|
247
204
|
id=pulumi.get(__response__, 'id'),
|
|
248
205
|
manifest=pulumi.get(__response__, 'manifest'),
|
|
249
206
|
name=pulumi.get(__response__, 'name'),
|
|
250
|
-
path=pulumi.get(__response__, 'path')
|
|
251
|
-
workspace_id=pulumi.get(__response__, 'workspace_id')))
|
|
207
|
+
path=pulumi.get(__response__, 'path')))
|
|
@@ -27,16 +27,16 @@ class GetAppsSettingsCustomTemplatesResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getAppsSettingsCustomTemplates.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, id=None,
|
|
30
|
+
def __init__(__self__, id=None, page_size=None, templates=None):
|
|
31
31
|
if id and not isinstance(id, str):
|
|
32
32
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
33
|
pulumi.set(__self__, "id", id)
|
|
34
|
+
if page_size and not isinstance(page_size, int):
|
|
35
|
+
raise TypeError("Expected argument 'page_size' to be a int")
|
|
36
|
+
pulumi.set(__self__, "page_size", page_size)
|
|
34
37
|
if templates and not isinstance(templates, list):
|
|
35
38
|
raise TypeError("Expected argument 'templates' to be a list")
|
|
36
39
|
pulumi.set(__self__, "templates", templates)
|
|
37
|
-
if workspace_id and not isinstance(workspace_id, str):
|
|
38
|
-
raise TypeError("Expected argument 'workspace_id' to be a str")
|
|
39
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
40
40
|
|
|
41
41
|
@_builtins.property
|
|
42
42
|
@pulumi.getter
|
|
@@ -46,16 +46,16 @@ class GetAppsSettingsCustomTemplatesResult:
|
|
|
46
46
|
"""
|
|
47
47
|
return pulumi.get(self, "id")
|
|
48
48
|
|
|
49
|
+
@_builtins.property
|
|
50
|
+
@pulumi.getter(name="pageSize")
|
|
51
|
+
def page_size(self) -> Optional[_builtins.int]:
|
|
52
|
+
return pulumi.get(self, "page_size")
|
|
53
|
+
|
|
49
54
|
@_builtins.property
|
|
50
55
|
@pulumi.getter
|
|
51
56
|
def templates(self) -> Sequence['outputs.GetAppsSettingsCustomTemplatesTemplateResult']:
|
|
52
57
|
return pulumi.get(self, "templates")
|
|
53
58
|
|
|
54
|
-
@_builtins.property
|
|
55
|
-
@pulumi.getter(name="workspaceId")
|
|
56
|
-
def workspace_id(self) -> Optional[_builtins.str]:
|
|
57
|
-
return pulumi.get(self, "workspace_id")
|
|
58
|
-
|
|
59
59
|
|
|
60
60
|
class AwaitableGetAppsSettingsCustomTemplatesResult(GetAppsSettingsCustomTemplatesResult):
|
|
61
61
|
# pylint: disable=using-constant-test
|
|
@@ -64,13 +64,15 @@ class AwaitableGetAppsSettingsCustomTemplatesResult(GetAppsSettingsCustomTemplat
|
|
|
64
64
|
yield self
|
|
65
65
|
return GetAppsSettingsCustomTemplatesResult(
|
|
66
66
|
id=self.id,
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
page_size=self.page_size,
|
|
68
|
+
templates=self.templates)
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
def get_apps_settings_custom_templates(
|
|
71
|
+
def get_apps_settings_custom_templates(page_size: Optional[_builtins.int] = None,
|
|
72
72
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAppsSettingsCustomTemplatesResult:
|
|
73
73
|
"""
|
|
74
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
75
|
+
|
|
74
76
|
This data source can be used to fetch the list of Custom Templates within the workspace.
|
|
75
77
|
The list can then be accessed via the data object's `templates` field.
|
|
76
78
|
|
|
@@ -87,20 +89,22 @@ def get_apps_settings_custom_templates(workspace_id: Optional[_builtins.str] = N
|
|
|
87
89
|
```
|
|
88
90
|
|
|
89
91
|
|
|
90
|
-
:param _builtins.
|
|
92
|
+
:param _builtins.int page_size: Upper bound for items returned
|
|
91
93
|
"""
|
|
92
94
|
__args__ = dict()
|
|
93
|
-
__args__['
|
|
95
|
+
__args__['pageSize'] = page_size
|
|
94
96
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
95
97
|
__ret__ = pulumi.runtime.invoke('databricks:index/getAppsSettingsCustomTemplates:getAppsSettingsCustomTemplates', __args__, opts=opts, typ=GetAppsSettingsCustomTemplatesResult).value
|
|
96
98
|
|
|
97
99
|
return AwaitableGetAppsSettingsCustomTemplatesResult(
|
|
98
100
|
id=pulumi.get(__ret__, 'id'),
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
def get_apps_settings_custom_templates_output(
|
|
101
|
+
page_size=pulumi.get(__ret__, 'page_size'),
|
|
102
|
+
templates=pulumi.get(__ret__, 'templates'))
|
|
103
|
+
def get_apps_settings_custom_templates_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
102
104
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppsSettingsCustomTemplatesResult]:
|
|
103
105
|
"""
|
|
106
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
107
|
+
|
|
104
108
|
This data source can be used to fetch the list of Custom Templates within the workspace.
|
|
105
109
|
The list can then be accessed via the data object's `templates` field.
|
|
106
110
|
|
|
@@ -117,13 +121,13 @@ def get_apps_settings_custom_templates_output(workspace_id: Optional[pulumi.Inpu
|
|
|
117
121
|
```
|
|
118
122
|
|
|
119
123
|
|
|
120
|
-
:param _builtins.
|
|
124
|
+
:param _builtins.int page_size: Upper bound for items returned
|
|
121
125
|
"""
|
|
122
126
|
__args__ = dict()
|
|
123
|
-
__args__['
|
|
127
|
+
__args__['pageSize'] = page_size
|
|
124
128
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
125
129
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getAppsSettingsCustomTemplates:getAppsSettingsCustomTemplates', __args__, opts=opts, typ=GetAppsSettingsCustomTemplatesResult)
|
|
126
130
|
return __ret__.apply(lambda __response__: GetAppsSettingsCustomTemplatesResult(
|
|
127
131
|
id=pulumi.get(__response__, 'id'),
|
|
128
|
-
|
|
129
|
-
|
|
132
|
+
page_size=pulumi.get(__response__, 'page_size'),
|
|
133
|
+
templates=pulumi.get(__response__, 'templates')))
|
|
@@ -121,22 +121,22 @@ def get_aws_assume_role_policy(aws_partition: Optional[_builtins.str] = None,
|
|
|
121
121
|
# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
122
122
|
databricks_account_id = config.require_object("databricksAccountId")
|
|
123
123
|
this = databricks.get_aws_cross_account_policy()
|
|
124
|
-
cross_account_policy = aws.
|
|
125
|
-
name=f
|
|
124
|
+
cross_account_policy = aws.index.IamPolicy("cross_account_policy",
|
|
125
|
+
name=f{prefix}-crossaccount-iam-policy,
|
|
126
126
|
policy=this.json)
|
|
127
127
|
this_get_aws_assume_role_policy = databricks.get_aws_assume_role_policy(external_id=databricks_account_id)
|
|
128
|
-
cross_account = aws.
|
|
129
|
-
name=f
|
|
128
|
+
cross_account = aws.index.IamRole("cross_account",
|
|
129
|
+
name=f{prefix}-crossaccount-iam-role,
|
|
130
130
|
assume_role_policy=this_get_aws_assume_role_policy.json,
|
|
131
|
-
description=
|
|
132
|
-
|
|
131
|
+
description=Grants Databricks full access to VPC resources)
|
|
132
|
+
cross_account_iam_role_policy_attachment = aws.index.IamRolePolicyAttachment("cross_account",
|
|
133
133
|
policy_arn=cross_account_policy.arn,
|
|
134
134
|
role=cross_account.name)
|
|
135
135
|
# required only in case of multi-workspace setup
|
|
136
136
|
this_mws_credentials = databricks.MwsCredentials("this",
|
|
137
137
|
account_id=databricks_account_id,
|
|
138
138
|
credentials_name=f"{prefix}-creds",
|
|
139
|
-
role_arn=cross_account
|
|
139
|
+
role_arn=cross_account["arn"])
|
|
140
140
|
```
|
|
141
141
|
|
|
142
142
|
## Related Resources
|
|
@@ -190,22 +190,22 @@ def get_aws_assume_role_policy_output(aws_partition: Optional[pulumi.Input[Optio
|
|
|
190
190
|
# Account Id that could be found in the top right corner of https://accounts.cloud.databricks.com/
|
|
191
191
|
databricks_account_id = config.require_object("databricksAccountId")
|
|
192
192
|
this = databricks.get_aws_cross_account_policy()
|
|
193
|
-
cross_account_policy = aws.
|
|
194
|
-
name=f
|
|
193
|
+
cross_account_policy = aws.index.IamPolicy("cross_account_policy",
|
|
194
|
+
name=f{prefix}-crossaccount-iam-policy,
|
|
195
195
|
policy=this.json)
|
|
196
196
|
this_get_aws_assume_role_policy = databricks.get_aws_assume_role_policy(external_id=databricks_account_id)
|
|
197
|
-
cross_account = aws.
|
|
198
|
-
name=f
|
|
197
|
+
cross_account = aws.index.IamRole("cross_account",
|
|
198
|
+
name=f{prefix}-crossaccount-iam-role,
|
|
199
199
|
assume_role_policy=this_get_aws_assume_role_policy.json,
|
|
200
|
-
description=
|
|
201
|
-
|
|
200
|
+
description=Grants Databricks full access to VPC resources)
|
|
201
|
+
cross_account_iam_role_policy_attachment = aws.index.IamRolePolicyAttachment("cross_account",
|
|
202
202
|
policy_arn=cross_account_policy.arn,
|
|
203
203
|
role=cross_account.name)
|
|
204
204
|
# required only in case of multi-workspace setup
|
|
205
205
|
this_mws_credentials = databricks.MwsCredentials("this",
|
|
206
206
|
account_id=databricks_account_id,
|
|
207
207
|
credentials_name=f"{prefix}-creds",
|
|
208
|
-
role_arn=cross_account
|
|
208
|
+
role_arn=cross_account["arn"])
|
|
209
209
|
```
|
|
210
210
|
|
|
211
211
|
## Related Resources
|
|
@@ -125,12 +125,12 @@ def get_aws_bucket_policy(aws_partition: Optional[_builtins.str] = None,
|
|
|
125
125
|
import pulumi_aws as aws
|
|
126
126
|
import pulumi_databricks as databricks
|
|
127
127
|
|
|
128
|
-
|
|
129
|
-
bucket
|
|
128
|
+
this_s3_bucket = aws.index.S3Bucket("this",
|
|
129
|
+
bucket=<unique_bucket_name>,
|
|
130
130
|
force_destroy=True)
|
|
131
|
-
this = databricks.
|
|
132
|
-
|
|
133
|
-
bucket=
|
|
131
|
+
this = databricks.get_aws_bucket_policy(bucket=this_s3_bucket["bucket"])
|
|
132
|
+
this_s3_bucket_policy = aws.index.S3BucketPolicy("this",
|
|
133
|
+
bucket=this_s3_bucket.id,
|
|
134
134
|
policy=this.json)
|
|
135
135
|
```
|
|
136
136
|
|
|
@@ -177,12 +177,12 @@ def get_aws_bucket_policy_output(aws_partition: Optional[pulumi.Input[Optional[_
|
|
|
177
177
|
import pulumi_aws as aws
|
|
178
178
|
import pulumi_databricks as databricks
|
|
179
179
|
|
|
180
|
-
|
|
181
|
-
bucket
|
|
180
|
+
this_s3_bucket = aws.index.S3Bucket("this",
|
|
181
|
+
bucket=<unique_bucket_name>,
|
|
182
182
|
force_destroy=True)
|
|
183
|
-
this = databricks.
|
|
184
|
-
|
|
185
|
-
bucket=
|
|
183
|
+
this = databricks.get_aws_bucket_policy(bucket=this_s3_bucket["bucket"])
|
|
184
|
+
this_s3_bucket_policy = aws.index.S3BucketPolicy("this",
|
|
185
|
+
bucket=this_s3_bucket.id,
|
|
186
186
|
policy=this.json)
|
|
187
187
|
```
|
|
188
188
|
|
|
@@ -130,13 +130,13 @@ def get_aws_unity_catalog_assume_role_policy(aws_account_id: Optional[_builtins.
|
|
|
130
130
|
this_get_aws_unity_catalog_assume_role_policy = databricks.get_aws_unity_catalog_assume_role_policy(aws_account_id=aws_account_id,
|
|
131
131
|
role_name=f"{prefix}-uc-access",
|
|
132
132
|
external_id="12345")
|
|
133
|
-
unity_metastore = aws.
|
|
134
|
-
name=f
|
|
133
|
+
unity_metastore = aws.index.IamPolicy("unity_metastore",
|
|
134
|
+
name=f{prefix}-unity-catalog-metastore-access-iam-policy,
|
|
135
135
|
policy=this.json)
|
|
136
|
-
metastore_data_access = aws.
|
|
137
|
-
name=f
|
|
136
|
+
metastore_data_access = aws.index.IamRole("metastore_data_access",
|
|
137
|
+
name=f{prefix}-uc-access,
|
|
138
138
|
assume_role_policy=this_get_aws_unity_catalog_assume_role_policy.json)
|
|
139
|
-
|
|
139
|
+
metastore_data_access_iam_role_policy_attachment = aws.index.IamRolePolicyAttachment("metastore_data_access",
|
|
140
140
|
role=metastore_data_access.name,
|
|
141
141
|
policy_arn=unity_metastore.arn)
|
|
142
142
|
```
|
|
@@ -192,13 +192,13 @@ def get_aws_unity_catalog_assume_role_policy_output(aws_account_id: Optional[pul
|
|
|
192
192
|
this_get_aws_unity_catalog_assume_role_policy = databricks.get_aws_unity_catalog_assume_role_policy(aws_account_id=aws_account_id,
|
|
193
193
|
role_name=f"{prefix}-uc-access",
|
|
194
194
|
external_id="12345")
|
|
195
|
-
unity_metastore = aws.
|
|
196
|
-
name=f
|
|
195
|
+
unity_metastore = aws.index.IamPolicy("unity_metastore",
|
|
196
|
+
name=f{prefix}-unity-catalog-metastore-access-iam-policy,
|
|
197
197
|
policy=this.json)
|
|
198
|
-
metastore_data_access = aws.
|
|
199
|
-
name=f
|
|
198
|
+
metastore_data_access = aws.index.IamRole("metastore_data_access",
|
|
199
|
+
name=f{prefix}-uc-access,
|
|
200
200
|
assume_role_policy=this_get_aws_unity_catalog_assume_role_policy.json)
|
|
201
|
-
|
|
201
|
+
metastore_data_access_iam_role_policy_attachment = aws.index.IamRolePolicyAttachment("metastore_data_access",
|
|
202
202
|
role=metastore_data_access.name,
|
|
203
203
|
policy_arn=unity_metastore.arn)
|
|
204
204
|
```
|
|
@@ -133,13 +133,13 @@ def get_aws_unity_catalog_policy(aws_account_id: Optional[_builtins.str] = None,
|
|
|
133
133
|
this_get_aws_unity_catalog_assume_role_policy = databricks.get_aws_unity_catalog_assume_role_policy(aws_account_id=aws_account_id,
|
|
134
134
|
role_name=f"{prefix}-uc-access",
|
|
135
135
|
external_id="12345")
|
|
136
|
-
unity_metastore = aws.
|
|
137
|
-
name=f
|
|
136
|
+
unity_metastore = aws.index.IamPolicy("unity_metastore",
|
|
137
|
+
name=f{prefix}-unity-catalog-metastore-access-iam-policy,
|
|
138
138
|
policy=this.json)
|
|
139
|
-
metastore_data_access = aws.
|
|
140
|
-
name=f
|
|
139
|
+
metastore_data_access = aws.index.IamRole("metastore_data_access",
|
|
140
|
+
name=f{prefix}-uc-access,
|
|
141
141
|
assume_role_policy=this_get_aws_unity_catalog_assume_role_policy.json)
|
|
142
|
-
|
|
142
|
+
metastore_data_access_iam_role_policy_attachment = aws.index.IamRolePolicyAttachment("metastore_data_access",
|
|
143
143
|
role=metastore_data_access.name,
|
|
144
144
|
policy_arn=unity_metastore.arn)
|
|
145
145
|
```
|
|
@@ -195,13 +195,13 @@ def get_aws_unity_catalog_policy_output(aws_account_id: Optional[pulumi.Input[_b
|
|
|
195
195
|
this_get_aws_unity_catalog_assume_role_policy = databricks.get_aws_unity_catalog_assume_role_policy(aws_account_id=aws_account_id,
|
|
196
196
|
role_name=f"{prefix}-uc-access",
|
|
197
197
|
external_id="12345")
|
|
198
|
-
unity_metastore = aws.
|
|
199
|
-
name=f
|
|
198
|
+
unity_metastore = aws.index.IamPolicy("unity_metastore",
|
|
199
|
+
name=f{prefix}-unity-catalog-metastore-access-iam-policy,
|
|
200
200
|
policy=this.json)
|
|
201
|
-
metastore_data_access = aws.
|
|
202
|
-
name=f
|
|
201
|
+
metastore_data_access = aws.index.IamRole("metastore_data_access",
|
|
202
|
+
name=f{prefix}-uc-access,
|
|
203
203
|
assume_role_policy=this_get_aws_unity_catalog_assume_role_policy.json)
|
|
204
|
-
|
|
204
|
+
metastore_data_access_iam_role_policy_attachment = aws.index.IamRolePolicyAttachment("metastore_data_access",
|
|
205
205
|
role=metastore_data_access.name,
|
|
206
206
|
policy_arn=unity_metastore.arn)
|
|
207
207
|
```
|
|
@@ -14,6 +14,7 @@ else:
|
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
16
|
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
17
18
|
|
|
18
19
|
__all__ = [
|
|
19
20
|
'GetBudgetPoliciesResult',
|
|
@@ -27,13 +28,27 @@ class GetBudgetPoliciesResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getBudgetPolicies.
|
|
29
30
|
"""
|
|
30
|
-
def __init__(__self__, id=None, policies=None):
|
|
31
|
+
def __init__(__self__, filter_by=None, id=None, page_size=None, policies=None, sort_spec=None):
|
|
32
|
+
if filter_by and not isinstance(filter_by, dict):
|
|
33
|
+
raise TypeError("Expected argument 'filter_by' to be a dict")
|
|
34
|
+
pulumi.set(__self__, "filter_by", filter_by)
|
|
31
35
|
if id and not isinstance(id, str):
|
|
32
36
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
37
|
pulumi.set(__self__, "id", id)
|
|
38
|
+
if page_size and not isinstance(page_size, int):
|
|
39
|
+
raise TypeError("Expected argument 'page_size' to be a int")
|
|
40
|
+
pulumi.set(__self__, "page_size", page_size)
|
|
34
41
|
if policies and not isinstance(policies, list):
|
|
35
42
|
raise TypeError("Expected argument 'policies' to be a list")
|
|
36
43
|
pulumi.set(__self__, "policies", policies)
|
|
44
|
+
if sort_spec and not isinstance(sort_spec, dict):
|
|
45
|
+
raise TypeError("Expected argument 'sort_spec' to be a dict")
|
|
46
|
+
pulumi.set(__self__, "sort_spec", sort_spec)
|
|
47
|
+
|
|
48
|
+
@_builtins.property
|
|
49
|
+
@pulumi.getter(name="filterBy")
|
|
50
|
+
def filter_by(self) -> Optional['outputs.GetBudgetPoliciesFilterByResult']:
|
|
51
|
+
return pulumi.get(self, "filter_by")
|
|
37
52
|
|
|
38
53
|
@_builtins.property
|
|
39
54
|
@pulumi.getter
|
|
@@ -43,11 +58,21 @@ class GetBudgetPoliciesResult:
|
|
|
43
58
|
"""
|
|
44
59
|
return pulumi.get(self, "id")
|
|
45
60
|
|
|
61
|
+
@_builtins.property
|
|
62
|
+
@pulumi.getter(name="pageSize")
|
|
63
|
+
def page_size(self) -> Optional[_builtins.int]:
|
|
64
|
+
return pulumi.get(self, "page_size")
|
|
65
|
+
|
|
46
66
|
@_builtins.property
|
|
47
67
|
@pulumi.getter
|
|
48
68
|
def policies(self) -> Sequence['outputs.GetBudgetPoliciesPolicyResult']:
|
|
49
69
|
return pulumi.get(self, "policies")
|
|
50
70
|
|
|
71
|
+
@_builtins.property
|
|
72
|
+
@pulumi.getter(name="sortSpec")
|
|
73
|
+
def sort_spec(self) -> Optional['outputs.GetBudgetPoliciesSortSpecResult']:
|
|
74
|
+
return pulumi.get(self, "sort_spec")
|
|
75
|
+
|
|
51
76
|
|
|
52
77
|
class AwaitableGetBudgetPoliciesResult(GetBudgetPoliciesResult):
|
|
53
78
|
# pylint: disable=using-constant-test
|
|
@@ -55,12 +80,20 @@ class AwaitableGetBudgetPoliciesResult(GetBudgetPoliciesResult):
|
|
|
55
80
|
if False:
|
|
56
81
|
yield self
|
|
57
82
|
return GetBudgetPoliciesResult(
|
|
83
|
+
filter_by=self.filter_by,
|
|
58
84
|
id=self.id,
|
|
59
|
-
|
|
85
|
+
page_size=self.page_size,
|
|
86
|
+
policies=self.policies,
|
|
87
|
+
sort_spec=self.sort_spec)
|
|
60
88
|
|
|
61
89
|
|
|
62
|
-
def get_budget_policies(
|
|
90
|
+
def get_budget_policies(filter_by: Optional[Union['GetBudgetPoliciesFilterByArgs', 'GetBudgetPoliciesFilterByArgsDict']] = None,
|
|
91
|
+
page_size: Optional[_builtins.int] = None,
|
|
92
|
+
sort_spec: Optional[Union['GetBudgetPoliciesSortSpecArgs', 'GetBudgetPoliciesSortSpecArgsDict']] = None,
|
|
93
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBudgetPoliciesResult:
|
|
63
94
|
"""
|
|
95
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
96
|
+
|
|
64
97
|
This data source can be used to fetch the list of budget policies.
|
|
65
98
|
|
|
66
99
|
> **Note** This data source can only be used with an account-level provider!
|
|
@@ -75,16 +108,34 @@ def get_budget_policies(opts: Optional[pulumi.InvokeOptions] = None) -> Awaitabl
|
|
|
75
108
|
|
|
76
109
|
all = databricks.get_budget_policies()
|
|
77
110
|
```
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
:param Union['GetBudgetPoliciesFilterByArgs', 'GetBudgetPoliciesFilterByArgsDict'] filter_by: A filter to apply to the list of policies
|
|
114
|
+
:param _builtins.int page_size: The maximum number of budget policies to return.
|
|
115
|
+
If unspecified, at most 100 budget policies will be returned.
|
|
116
|
+
The maximum value is 1000; values above 1000 will be coerced to 1000
|
|
117
|
+
:param Union['GetBudgetPoliciesSortSpecArgs', 'GetBudgetPoliciesSortSpecArgsDict'] sort_spec: The sort specification
|
|
78
118
|
"""
|
|
79
119
|
__args__ = dict()
|
|
120
|
+
__args__['filterBy'] = filter_by
|
|
121
|
+
__args__['pageSize'] = page_size
|
|
122
|
+
__args__['sortSpec'] = sort_spec
|
|
80
123
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
81
124
|
__ret__ = pulumi.runtime.invoke('databricks:index/getBudgetPolicies:getBudgetPolicies', __args__, opts=opts, typ=GetBudgetPoliciesResult).value
|
|
82
125
|
|
|
83
126
|
return AwaitableGetBudgetPoliciesResult(
|
|
127
|
+
filter_by=pulumi.get(__ret__, 'filter_by'),
|
|
84
128
|
id=pulumi.get(__ret__, 'id'),
|
|
85
|
-
|
|
86
|
-
|
|
129
|
+
page_size=pulumi.get(__ret__, 'page_size'),
|
|
130
|
+
policies=pulumi.get(__ret__, 'policies'),
|
|
131
|
+
sort_spec=pulumi.get(__ret__, 'sort_spec'))
|
|
132
|
+
def get_budget_policies_output(filter_by: Optional[pulumi.Input[Optional[Union['GetBudgetPoliciesFilterByArgs', 'GetBudgetPoliciesFilterByArgsDict']]]] = None,
|
|
133
|
+
page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
134
|
+
sort_spec: Optional[pulumi.Input[Optional[Union['GetBudgetPoliciesSortSpecArgs', 'GetBudgetPoliciesSortSpecArgsDict']]]] = None,
|
|
135
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBudgetPoliciesResult]:
|
|
87
136
|
"""
|
|
137
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
138
|
+
|
|
88
139
|
This data source can be used to fetch the list of budget policies.
|
|
89
140
|
|
|
90
141
|
> **Note** This data source can only be used with an account-level provider!
|
|
@@ -99,10 +150,23 @@ def get_budget_policies_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi
|
|
|
99
150
|
|
|
100
151
|
all = databricks.get_budget_policies()
|
|
101
152
|
```
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
:param Union['GetBudgetPoliciesFilterByArgs', 'GetBudgetPoliciesFilterByArgsDict'] filter_by: A filter to apply to the list of policies
|
|
156
|
+
:param _builtins.int page_size: The maximum number of budget policies to return.
|
|
157
|
+
If unspecified, at most 100 budget policies will be returned.
|
|
158
|
+
The maximum value is 1000; values above 1000 will be coerced to 1000
|
|
159
|
+
:param Union['GetBudgetPoliciesSortSpecArgs', 'GetBudgetPoliciesSortSpecArgsDict'] sort_spec: The sort specification
|
|
102
160
|
"""
|
|
103
161
|
__args__ = dict()
|
|
162
|
+
__args__['filterBy'] = filter_by
|
|
163
|
+
__args__['pageSize'] = page_size
|
|
164
|
+
__args__['sortSpec'] = sort_spec
|
|
104
165
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
105
166
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getBudgetPolicies:getBudgetPolicies', __args__, opts=opts, typ=GetBudgetPoliciesResult)
|
|
106
167
|
return __ret__.apply(lambda __response__: GetBudgetPoliciesResult(
|
|
168
|
+
filter_by=pulumi.get(__response__, 'filter_by'),
|
|
107
169
|
id=pulumi.get(__response__, 'id'),
|
|
108
|
-
|
|
170
|
+
page_size=pulumi.get(__response__, 'page_size'),
|
|
171
|
+
policies=pulumi.get(__response__, 'policies'),
|
|
172
|
+
sort_spec=pulumi.get(__response__, 'sort_spec')))
|