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.
Files changed (159) hide show
  1. pulumi_databricks/__init__.py +129 -46
  2. pulumi_databricks/_inputs.py +13377 -13798
  3. pulumi_databricks/account_federation_policy.py +473 -0
  4. pulumi_databricks/account_network_policy.py +12 -4
  5. pulumi_databricks/account_setting_v2.py +759 -0
  6. pulumi_databricks/alert_v2.py +223 -90
  7. pulumi_databricks/app.py +111 -4
  8. pulumi_databricks/apps_settings_custom_template.py +531 -0
  9. pulumi_databricks/budget_policy.py +28 -5
  10. pulumi_databricks/catalog.py +322 -2
  11. pulumi_databricks/cluster.py +47 -168
  12. pulumi_databricks/config/__init__.pyi +2 -0
  13. pulumi_databricks/config/vars.py +4 -0
  14. pulumi_databricks/connection.py +0 -34
  15. pulumi_databricks/data_quality_monitor.py +453 -0
  16. pulumi_databricks/data_quality_refresh.py +492 -0
  17. pulumi_databricks/database_database_catalog.py +8 -4
  18. pulumi_databricks/database_instance.py +354 -73
  19. pulumi_databricks/database_synced_database_table.py +52 -4
  20. pulumi_databricks/entitlements.py +21 -21
  21. pulumi_databricks/entity_tag_assignment.py +409 -0
  22. pulumi_databricks/external_metadata.py +15 -11
  23. pulumi_databricks/feature_engineering_feature.py +480 -0
  24. pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
  25. pulumi_databricks/get_account_federation_policies.py +127 -0
  26. pulumi_databricks/get_account_federation_policy.py +214 -0
  27. pulumi_databricks/get_account_network_policies.py +4 -0
  28. pulumi_databricks/get_account_network_policy.py +17 -18
  29. pulumi_databricks/get_account_setting_v2.py +331 -0
  30. pulumi_databricks/get_alert_v2.py +78 -70
  31. pulumi_databricks/get_alerts_v2.py +31 -12
  32. pulumi_databricks/get_app.py +21 -9
  33. pulumi_databricks/get_apps.py +22 -10
  34. pulumi_databricks/get_apps_settings_custom_template.py +207 -0
  35. pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
  36. pulumi_databricks/get_aws_bucket_policy.py +6 -6
  37. pulumi_databricks/get_budget_policies.py +70 -6
  38. pulumi_databricks/get_budget_policy.py +35 -30
  39. pulumi_databricks/get_catalog.py +21 -4
  40. pulumi_databricks/get_catalogs.py +23 -4
  41. pulumi_databricks/get_cluster.py +21 -4
  42. pulumi_databricks/get_cluster_policy.py +23 -4
  43. pulumi_databricks/get_clusters.py +21 -4
  44. pulumi_databricks/get_current_metastore.py +21 -4
  45. pulumi_databricks/get_dashboards.py +24 -4
  46. pulumi_databricks/get_data_quality_monitor.py +210 -0
  47. pulumi_databricks/get_data_quality_monitors.py +143 -0
  48. pulumi_databricks/get_data_quality_refresh.py +270 -0
  49. pulumi_databricks/get_data_quality_refreshes.py +207 -0
  50. pulumi_databricks/get_database_database_catalog.py +6 -20
  51. pulumi_databricks/get_database_database_catalogs.py +46 -8
  52. pulumi_databricks/get_database_instance.py +122 -75
  53. pulumi_databricks/get_database_instances.py +31 -6
  54. pulumi_databricks/get_database_synced_database_table.py +7 -28
  55. pulumi_databricks/get_database_synced_database_tables.py +43 -5
  56. pulumi_databricks/get_directory.py +20 -1
  57. pulumi_databricks/get_entity_tag_assignment.py +202 -0
  58. pulumi_databricks/get_entity_tag_assignments.py +187 -0
  59. pulumi_databricks/get_external_location.py +21 -4
  60. pulumi_databricks/get_external_locations.py +23 -4
  61. pulumi_databricks/get_external_metadata.py +12 -50
  62. pulumi_databricks/get_external_metadatas.py +55 -6
  63. pulumi_databricks/get_feature_engineering_feature.py +179 -0
  64. pulumi_databricks/get_feature_engineering_features.py +103 -0
  65. pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
  66. pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
  67. pulumi_databricks/get_functions.py +16 -1
  68. pulumi_databricks/get_instance_profiles.py +21 -4
  69. pulumi_databricks/get_jobs.py +23 -4
  70. pulumi_databricks/get_materialized_features_feature_tag.py +3 -11
  71. pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
  72. pulumi_databricks/get_metastore.py +2 -2
  73. pulumi_databricks/get_mlflow_experiment.py +18 -1
  74. pulumi_databricks/get_mlflow_model.py +18 -1
  75. pulumi_databricks/get_mlflow_models.py +23 -4
  76. pulumi_databricks/get_node_type.py +42 -5
  77. pulumi_databricks/get_notification_destinations.py +17 -1
  78. pulumi_databricks/get_online_store.py +7 -17
  79. pulumi_databricks/get_online_stores.py +29 -8
  80. pulumi_databricks/get_pipelines.py +23 -4
  81. pulumi_databricks/get_policy_info.py +28 -99
  82. pulumi_databricks/get_policy_infos.py +92 -5
  83. pulumi_databricks/get_quality_monitor_v2.py +4 -0
  84. pulumi_databricks/get_quality_monitors_v2.py +22 -3
  85. pulumi_databricks/get_registered_model.py +19 -4
  86. pulumi_databricks/get_registered_model_versions.py +19 -4
  87. pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
  88. pulumi_databricks/get_schema.py +18 -1
  89. pulumi_databricks/get_schemas.py +23 -4
  90. pulumi_databricks/get_service_principal_federation_policies.py +151 -0
  91. pulumi_databricks/get_service_principal_federation_policy.py +220 -0
  92. pulumi_databricks/get_serving_endpoints.py +19 -4
  93. pulumi_databricks/get_share.py +117 -18
  94. pulumi_databricks/get_shares.py +22 -3
  95. pulumi_databricks/get_spark_version.py +20 -1
  96. pulumi_databricks/get_sql_warehouse.py +16 -1
  97. pulumi_databricks/get_sql_warehouses.py +20 -1
  98. pulumi_databricks/get_storage_credential.py +18 -1
  99. pulumi_databricks/get_storage_credentials.py +23 -4
  100. pulumi_databricks/get_table.py +18 -1
  101. pulumi_databricks/get_tables.py +20 -1
  102. pulumi_databricks/get_tag_policies.py +139 -0
  103. pulumi_databricks/get_tag_policy.py +175 -0
  104. pulumi_databricks/get_views.py +20 -1
  105. pulumi_databricks/get_volume.py +18 -1
  106. pulumi_databricks/get_volumes.py +20 -1
  107. pulumi_databricks/get_workspace_network_option.py +8 -16
  108. pulumi_databricks/get_workspace_setting_v2.py +331 -0
  109. pulumi_databricks/get_zones.py +20 -1
  110. pulumi_databricks/git_credential.py +54 -7
  111. pulumi_databricks/grant.py +2 -2
  112. pulumi_databricks/group.py +21 -21
  113. pulumi_databricks/job.py +47 -0
  114. pulumi_databricks/library.py +165 -0
  115. pulumi_databricks/materialized_features_feature_tag.py +8 -4
  116. pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
  117. pulumi_databricks/mws_permission_assignment.py +16 -16
  118. pulumi_databricks/mws_storage_configurations.py +6 -6
  119. pulumi_databricks/mws_workspaces.py +76 -29
  120. pulumi_databricks/online_store.py +8 -4
  121. pulumi_databricks/outputs.py +26397 -22382
  122. pulumi_databricks/permission_assignment.py +266 -24
  123. pulumi_databricks/pipeline.py +37 -3
  124. pulumi_databricks/policy_info.py +43 -39
  125. pulumi_databricks/provider.py +15 -0
  126. pulumi_databricks/pulumi-plugin.json +1 -1
  127. pulumi_databricks/quality_monitor.py +47 -0
  128. pulumi_databricks/quality_monitor_v2.py +8 -4
  129. pulumi_databricks/registered_model.py +301 -29
  130. pulumi_databricks/rfa_access_request_destinations.py +286 -0
  131. pulumi_databricks/service_principal_federation_policy.py +469 -0
  132. pulumi_databricks/share.py +71 -84
  133. pulumi_databricks/sql_endpoint.py +47 -0
  134. pulumi_databricks/sql_table.py +35 -7
  135. pulumi_databricks/storage_credential.py +59 -6
  136. pulumi_databricks/tag_policy.py +357 -0
  137. pulumi_databricks/user.py +21 -21
  138. pulumi_databricks/workspace_binding.py +0 -48
  139. pulumi_databricks/workspace_network_option.py +8 -4
  140. pulumi_databricks/workspace_setting_v2.py +759 -0
  141. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
  142. pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
  143. pulumi_databricks/clean_room_asset.py +0 -891
  144. pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
  145. pulumi_databricks/clean_rooms_clean_room.py +0 -518
  146. pulumi_databricks/get_clean_room_asset.py +0 -399
  147. pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
  148. pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
  149. pulumi_databricks/get_clean_room_assets.py +0 -104
  150. pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
  151. pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
  152. pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
  153. pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
  154. pulumi_databricks/get_recipient_federation_policies.py +0 -82
  155. pulumi_databricks/get_recipient_federation_policy.py +0 -165
  156. pulumi_databricks/recipient_federation_policy.py +0 -346
  157. pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
  158. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
  159. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
@@ -1,399 +0,0 @@
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
- from ._inputs import *
18
-
19
- __all__ = [
20
- 'GetCleanRoomAssetResult',
21
- 'AwaitableGetCleanRoomAssetResult',
22
- 'get_clean_room_asset',
23
- 'get_clean_room_asset_output',
24
- ]
25
-
26
- @pulumi.output_type
27
- class GetCleanRoomAssetResult:
28
- """
29
- A collection of values returned by getCleanRoomAsset.
30
- """
31
- def __init__(__self__, added_at=None, asset_type=None, clean_room_name=None, foreign_table=None, foreign_table_local_details=None, id=None, name=None, notebook=None, owner_collaborator_alias=None, status=None, table=None, table_local_details=None, view=None, view_local_details=None, volume_local_details=None):
32
- if added_at and not isinstance(added_at, int):
33
- raise TypeError("Expected argument 'added_at' to be a int")
34
- pulumi.set(__self__, "added_at", added_at)
35
- if asset_type and not isinstance(asset_type, str):
36
- raise TypeError("Expected argument 'asset_type' to be a str")
37
- pulumi.set(__self__, "asset_type", asset_type)
38
- if clean_room_name and not isinstance(clean_room_name, str):
39
- raise TypeError("Expected argument 'clean_room_name' to be a str")
40
- pulumi.set(__self__, "clean_room_name", clean_room_name)
41
- if foreign_table and not isinstance(foreign_table, dict):
42
- raise TypeError("Expected argument 'foreign_table' to be a dict")
43
- pulumi.set(__self__, "foreign_table", foreign_table)
44
- if foreign_table_local_details and not isinstance(foreign_table_local_details, dict):
45
- raise TypeError("Expected argument 'foreign_table_local_details' to be a dict")
46
- pulumi.set(__self__, "foreign_table_local_details", foreign_table_local_details)
47
- if id and not isinstance(id, str):
48
- raise TypeError("Expected argument 'id' to be a str")
49
- pulumi.set(__self__, "id", id)
50
- if name and not isinstance(name, str):
51
- raise TypeError("Expected argument 'name' to be a str")
52
- pulumi.set(__self__, "name", name)
53
- if notebook and not isinstance(notebook, dict):
54
- raise TypeError("Expected argument 'notebook' to be a dict")
55
- pulumi.set(__self__, "notebook", notebook)
56
- if owner_collaborator_alias and not isinstance(owner_collaborator_alias, str):
57
- raise TypeError("Expected argument 'owner_collaborator_alias' to be a str")
58
- pulumi.set(__self__, "owner_collaborator_alias", owner_collaborator_alias)
59
- if status and not isinstance(status, str):
60
- raise TypeError("Expected argument 'status' to be a str")
61
- pulumi.set(__self__, "status", status)
62
- if table and not isinstance(table, dict):
63
- raise TypeError("Expected argument 'table' to be a dict")
64
- pulumi.set(__self__, "table", table)
65
- if table_local_details and not isinstance(table_local_details, dict):
66
- raise TypeError("Expected argument 'table_local_details' to be a dict")
67
- pulumi.set(__self__, "table_local_details", table_local_details)
68
- if view and not isinstance(view, dict):
69
- raise TypeError("Expected argument 'view' to be a dict")
70
- pulumi.set(__self__, "view", view)
71
- if view_local_details and not isinstance(view_local_details, dict):
72
- raise TypeError("Expected argument 'view_local_details' to be a dict")
73
- pulumi.set(__self__, "view_local_details", view_local_details)
74
- if volume_local_details and not isinstance(volume_local_details, dict):
75
- raise TypeError("Expected argument 'volume_local_details' to be a dict")
76
- pulumi.set(__self__, "volume_local_details", volume_local_details)
77
-
78
- @_builtins.property
79
- @pulumi.getter(name="addedAt")
80
- def added_at(self) -> _builtins.int:
81
- """
82
- (integer) - When the asset is added to the clean room, in epoch milliseconds
83
- """
84
- return pulumi.get(self, "added_at")
85
-
86
- @_builtins.property
87
- @pulumi.getter(name="assetType")
88
- def asset_type(self) -> _builtins.str:
89
- """
90
- (string) - The type of the asset. Possible values are: `FOREIGN_TABLE`, `NOTEBOOK_FILE`, `TABLE`, `VIEW`, `VOLUME`
91
- """
92
- return pulumi.get(self, "asset_type")
93
-
94
- @_builtins.property
95
- @pulumi.getter(name="cleanRoomName")
96
- def clean_room_name(self) -> Optional[_builtins.str]:
97
- """
98
- (string) - The name of the clean room this asset belongs to.
99
- This field is required for create operations and populated by the server for responses
100
- """
101
- return pulumi.get(self, "clean_room_name")
102
-
103
- @_builtins.property
104
- @pulumi.getter(name="foreignTable")
105
- def foreign_table(self) -> Optional['outputs.GetCleanRoomAssetForeignTableResult']:
106
- """
107
- (CleanRoomAssetForeignTable) - Foreign table details available to all collaborators of the clean room.
108
- Present if and only if **asset_type** is **FOREIGN_TABLE**
109
- """
110
- return pulumi.get(self, "foreign_table")
111
-
112
- @_builtins.property
113
- @pulumi.getter(name="foreignTableLocalDetails")
114
- def foreign_table_local_details(self) -> Optional['outputs.GetCleanRoomAssetForeignTableLocalDetailsResult']:
115
- """
116
- (CleanRoomAssetForeignTableLocalDetails) - Local details for a foreign that are only available to its owner.
117
- Present if and only if **asset_type** is **FOREIGN_TABLE**
118
- """
119
- return pulumi.get(self, "foreign_table_local_details")
120
-
121
- @_builtins.property
122
- @pulumi.getter
123
- def id(self) -> _builtins.str:
124
- """
125
- The provider-assigned unique ID for this managed resource.
126
- """
127
- return pulumi.get(self, "id")
128
-
129
- @_builtins.property
130
- @pulumi.getter
131
- def name(self) -> _builtins.str:
132
- """
133
- (string) - The name of the partition column
134
- """
135
- return pulumi.get(self, "name")
136
-
137
- @_builtins.property
138
- @pulumi.getter
139
- def notebook(self) -> Optional['outputs.GetCleanRoomAssetNotebookResult']:
140
- """
141
- (CleanRoomAssetNotebook) - Notebook details available to all collaborators of the clean room.
142
- Present if and only if **asset_type** is **NOTEBOOK_FILE**
143
- """
144
- return pulumi.get(self, "notebook")
145
-
146
- @_builtins.property
147
- @pulumi.getter(name="ownerCollaboratorAlias")
148
- def owner_collaborator_alias(self) -> _builtins.str:
149
- """
150
- (string) - The alias of the collaborator who owns this asset
151
- """
152
- return pulumi.get(self, "owner_collaborator_alias")
153
-
154
- @_builtins.property
155
- @pulumi.getter
156
- def status(self) -> _builtins.str:
157
- """
158
- (string) - Status of the asset. Possible values are: `ACTIVE`, `PENDING`, `PERMISSION_DENIED`
159
- """
160
- return pulumi.get(self, "status")
161
-
162
- @_builtins.property
163
- @pulumi.getter
164
- def table(self) -> Optional['outputs.GetCleanRoomAssetTableResult']:
165
- """
166
- (CleanRoomAssetTable) - Table details available to all collaborators of the clean room.
167
- Present if and only if **asset_type** is **TABLE**
168
- """
169
- return pulumi.get(self, "table")
170
-
171
- @_builtins.property
172
- @pulumi.getter(name="tableLocalDetails")
173
- def table_local_details(self) -> Optional['outputs.GetCleanRoomAssetTableLocalDetailsResult']:
174
- """
175
- (CleanRoomAssetTableLocalDetails) - Local details for a table that are only available to its owner.
176
- Present if and only if **asset_type** is **TABLE**
177
- """
178
- return pulumi.get(self, "table_local_details")
179
-
180
- @_builtins.property
181
- @pulumi.getter
182
- def view(self) -> Optional['outputs.GetCleanRoomAssetViewResult']:
183
- """
184
- (CleanRoomAssetView) - View details available to all collaborators of the clean room.
185
- Present if and only if **asset_type** is **VIEW**
186
- """
187
- return pulumi.get(self, "view")
188
-
189
- @_builtins.property
190
- @pulumi.getter(name="viewLocalDetails")
191
- def view_local_details(self) -> Optional['outputs.GetCleanRoomAssetViewLocalDetailsResult']:
192
- """
193
- (CleanRoomAssetViewLocalDetails) - Local details for a view that are only available to its owner.
194
- Present if and only if **asset_type** is **VIEW**
195
- """
196
- return pulumi.get(self, "view_local_details")
197
-
198
- @_builtins.property
199
- @pulumi.getter(name="volumeLocalDetails")
200
- def volume_local_details(self) -> Optional['outputs.GetCleanRoomAssetVolumeLocalDetailsResult']:
201
- """
202
- (CleanRoomAssetVolumeLocalDetails) - Local details for a volume that are only available to its owner.
203
- Present if and only if **asset_type** is **VOLUME**
204
- """
205
- return pulumi.get(self, "volume_local_details")
206
-
207
-
208
- class AwaitableGetCleanRoomAssetResult(GetCleanRoomAssetResult):
209
- # pylint: disable=using-constant-test
210
- def __await__(self):
211
- if False:
212
- yield self
213
- return GetCleanRoomAssetResult(
214
- added_at=self.added_at,
215
- asset_type=self.asset_type,
216
- clean_room_name=self.clean_room_name,
217
- foreign_table=self.foreign_table,
218
- foreign_table_local_details=self.foreign_table_local_details,
219
- id=self.id,
220
- name=self.name,
221
- notebook=self.notebook,
222
- owner_collaborator_alias=self.owner_collaborator_alias,
223
- status=self.status,
224
- table=self.table,
225
- table_local_details=self.table_local_details,
226
- view=self.view,
227
- view_local_details=self.view_local_details,
228
- volume_local_details=self.volume_local_details)
229
-
230
-
231
- def get_clean_room_asset(asset_type: Optional[_builtins.str] = None,
232
- clean_room_name: Optional[_builtins.str] = None,
233
- foreign_table: Optional[Union['GetCleanRoomAssetForeignTableArgs', 'GetCleanRoomAssetForeignTableArgsDict']] = None,
234
- foreign_table_local_details: Optional[Union['GetCleanRoomAssetForeignTableLocalDetailsArgs', 'GetCleanRoomAssetForeignTableLocalDetailsArgsDict']] = None,
235
- name: Optional[_builtins.str] = None,
236
- notebook: Optional[Union['GetCleanRoomAssetNotebookArgs', 'GetCleanRoomAssetNotebookArgsDict']] = None,
237
- table: Optional[Union['GetCleanRoomAssetTableArgs', 'GetCleanRoomAssetTableArgsDict']] = None,
238
- table_local_details: Optional[Union['GetCleanRoomAssetTableLocalDetailsArgs', 'GetCleanRoomAssetTableLocalDetailsArgsDict']] = None,
239
- view: Optional[Union['GetCleanRoomAssetViewArgs', 'GetCleanRoomAssetViewArgsDict']] = None,
240
- view_local_details: Optional[Union['GetCleanRoomAssetViewLocalDetailsArgs', 'GetCleanRoomAssetViewLocalDetailsArgsDict']] = None,
241
- volume_local_details: Optional[Union['GetCleanRoomAssetVolumeLocalDetailsArgs', 'GetCleanRoomAssetVolumeLocalDetailsArgsDict']] = None,
242
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCleanRoomAssetResult:
243
- """
244
- This data source can be used to get a single clean room asset.
245
-
246
- ## Example Usage
247
-
248
- # Example: Clean Room Asset Datasource
249
-
250
- ```python
251
- import pulumi
252
- import pulumi_databricks as databricks
253
-
254
- this = databricks.index.CleanRoomsAsset("this", name=example-cleanroom-asset)
255
- ```
256
-
257
-
258
- :param _builtins.str asset_type: The type of the asset. Possible values are: `FOREIGN_TABLE`, `NOTEBOOK_FILE`, `TABLE`, `VIEW`, `VOLUME`
259
- :param _builtins.str clean_room_name: The name of the clean room this asset belongs to.
260
- This field is required for create operations and populated by the server for responses
261
- :param Union['GetCleanRoomAssetForeignTableArgs', 'GetCleanRoomAssetForeignTableArgsDict'] foreign_table: (CleanRoomAssetForeignTable) - Foreign table details available to all collaborators of the clean room.
262
- Present if and only if **asset_type** is **FOREIGN_TABLE**
263
- :param Union['GetCleanRoomAssetForeignTableLocalDetailsArgs', 'GetCleanRoomAssetForeignTableLocalDetailsArgsDict'] foreign_table_local_details: (CleanRoomAssetForeignTableLocalDetails) - Local details for a foreign that are only available to its owner.
264
- Present if and only if **asset_type** is **FOREIGN_TABLE**
265
- :param _builtins.str name: A fully qualified name that uniquely identifies the asset within the clean room.
266
- This is also the name displayed in the clean room UI.
267
-
268
- For UC securable assets (tables, volumes, etc.), the format is *shared_catalog*.*shared_schema*.*asset_name*
269
-
270
- For notebooks, the name is the notebook file name.
271
- For jar analyses, the name is the jar analysis name
272
- :param Union['GetCleanRoomAssetNotebookArgs', 'GetCleanRoomAssetNotebookArgsDict'] notebook: (CleanRoomAssetNotebook) - Notebook details available to all collaborators of the clean room.
273
- Present if and only if **asset_type** is **NOTEBOOK_FILE**
274
- :param Union['GetCleanRoomAssetTableArgs', 'GetCleanRoomAssetTableArgsDict'] table: (CleanRoomAssetTable) - Table details available to all collaborators of the clean room.
275
- Present if and only if **asset_type** is **TABLE**
276
- :param Union['GetCleanRoomAssetTableLocalDetailsArgs', 'GetCleanRoomAssetTableLocalDetailsArgsDict'] table_local_details: (CleanRoomAssetTableLocalDetails) - Local details for a table that are only available to its owner.
277
- Present if and only if **asset_type** is **TABLE**
278
- :param Union['GetCleanRoomAssetViewArgs', 'GetCleanRoomAssetViewArgsDict'] view: (CleanRoomAssetView) - View details available to all collaborators of the clean room.
279
- Present if and only if **asset_type** is **VIEW**
280
- :param Union['GetCleanRoomAssetViewLocalDetailsArgs', 'GetCleanRoomAssetViewLocalDetailsArgsDict'] view_local_details: (CleanRoomAssetViewLocalDetails) - Local details for a view that are only available to its owner.
281
- Present if and only if **asset_type** is **VIEW**
282
- :param Union['GetCleanRoomAssetVolumeLocalDetailsArgs', 'GetCleanRoomAssetVolumeLocalDetailsArgsDict'] volume_local_details: (CleanRoomAssetVolumeLocalDetails) - Local details for a volume that are only available to its owner.
283
- Present if and only if **asset_type** is **VOLUME**
284
- """
285
- __args__ = dict()
286
- __args__['assetType'] = asset_type
287
- __args__['cleanRoomName'] = clean_room_name
288
- __args__['foreignTable'] = foreign_table
289
- __args__['foreignTableLocalDetails'] = foreign_table_local_details
290
- __args__['name'] = name
291
- __args__['notebook'] = notebook
292
- __args__['table'] = table
293
- __args__['tableLocalDetails'] = table_local_details
294
- __args__['view'] = view
295
- __args__['viewLocalDetails'] = view_local_details
296
- __args__['volumeLocalDetails'] = volume_local_details
297
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
298
- __ret__ = pulumi.runtime.invoke('databricks:index/getCleanRoomAsset:getCleanRoomAsset', __args__, opts=opts, typ=GetCleanRoomAssetResult).value
299
-
300
- return AwaitableGetCleanRoomAssetResult(
301
- added_at=pulumi.get(__ret__, 'added_at'),
302
- asset_type=pulumi.get(__ret__, 'asset_type'),
303
- clean_room_name=pulumi.get(__ret__, 'clean_room_name'),
304
- foreign_table=pulumi.get(__ret__, 'foreign_table'),
305
- foreign_table_local_details=pulumi.get(__ret__, 'foreign_table_local_details'),
306
- id=pulumi.get(__ret__, 'id'),
307
- name=pulumi.get(__ret__, 'name'),
308
- notebook=pulumi.get(__ret__, 'notebook'),
309
- owner_collaborator_alias=pulumi.get(__ret__, 'owner_collaborator_alias'),
310
- status=pulumi.get(__ret__, 'status'),
311
- table=pulumi.get(__ret__, 'table'),
312
- table_local_details=pulumi.get(__ret__, 'table_local_details'),
313
- view=pulumi.get(__ret__, 'view'),
314
- view_local_details=pulumi.get(__ret__, 'view_local_details'),
315
- volume_local_details=pulumi.get(__ret__, 'volume_local_details'))
316
- def get_clean_room_asset_output(asset_type: Optional[pulumi.Input[_builtins.str]] = None,
317
- clean_room_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
318
- foreign_table: Optional[pulumi.Input[Optional[Union['GetCleanRoomAssetForeignTableArgs', 'GetCleanRoomAssetForeignTableArgsDict']]]] = None,
319
- foreign_table_local_details: Optional[pulumi.Input[Optional[Union['GetCleanRoomAssetForeignTableLocalDetailsArgs', 'GetCleanRoomAssetForeignTableLocalDetailsArgsDict']]]] = None,
320
- name: Optional[pulumi.Input[_builtins.str]] = None,
321
- notebook: Optional[pulumi.Input[Optional[Union['GetCleanRoomAssetNotebookArgs', 'GetCleanRoomAssetNotebookArgsDict']]]] = None,
322
- table: Optional[pulumi.Input[Optional[Union['GetCleanRoomAssetTableArgs', 'GetCleanRoomAssetTableArgsDict']]]] = None,
323
- table_local_details: Optional[pulumi.Input[Optional[Union['GetCleanRoomAssetTableLocalDetailsArgs', 'GetCleanRoomAssetTableLocalDetailsArgsDict']]]] = None,
324
- view: Optional[pulumi.Input[Optional[Union['GetCleanRoomAssetViewArgs', 'GetCleanRoomAssetViewArgsDict']]]] = None,
325
- view_local_details: Optional[pulumi.Input[Optional[Union['GetCleanRoomAssetViewLocalDetailsArgs', 'GetCleanRoomAssetViewLocalDetailsArgsDict']]]] = None,
326
- volume_local_details: Optional[pulumi.Input[Optional[Union['GetCleanRoomAssetVolumeLocalDetailsArgs', 'GetCleanRoomAssetVolumeLocalDetailsArgsDict']]]] = None,
327
- opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCleanRoomAssetResult]:
328
- """
329
- This data source can be used to get a single clean room asset.
330
-
331
- ## Example Usage
332
-
333
- # Example: Clean Room Asset Datasource
334
-
335
- ```python
336
- import pulumi
337
- import pulumi_databricks as databricks
338
-
339
- this = databricks.index.CleanRoomsAsset("this", name=example-cleanroom-asset)
340
- ```
341
-
342
-
343
- :param _builtins.str asset_type: The type of the asset. Possible values are: `FOREIGN_TABLE`, `NOTEBOOK_FILE`, `TABLE`, `VIEW`, `VOLUME`
344
- :param _builtins.str clean_room_name: The name of the clean room this asset belongs to.
345
- This field is required for create operations and populated by the server for responses
346
- :param Union['GetCleanRoomAssetForeignTableArgs', 'GetCleanRoomAssetForeignTableArgsDict'] foreign_table: (CleanRoomAssetForeignTable) - Foreign table details available to all collaborators of the clean room.
347
- Present if and only if **asset_type** is **FOREIGN_TABLE**
348
- :param Union['GetCleanRoomAssetForeignTableLocalDetailsArgs', 'GetCleanRoomAssetForeignTableLocalDetailsArgsDict'] foreign_table_local_details: (CleanRoomAssetForeignTableLocalDetails) - Local details for a foreign that are only available to its owner.
349
- Present if and only if **asset_type** is **FOREIGN_TABLE**
350
- :param _builtins.str name: A fully qualified name that uniquely identifies the asset within the clean room.
351
- This is also the name displayed in the clean room UI.
352
-
353
- For UC securable assets (tables, volumes, etc.), the format is *shared_catalog*.*shared_schema*.*asset_name*
354
-
355
- For notebooks, the name is the notebook file name.
356
- For jar analyses, the name is the jar analysis name
357
- :param Union['GetCleanRoomAssetNotebookArgs', 'GetCleanRoomAssetNotebookArgsDict'] notebook: (CleanRoomAssetNotebook) - Notebook details available to all collaborators of the clean room.
358
- Present if and only if **asset_type** is **NOTEBOOK_FILE**
359
- :param Union['GetCleanRoomAssetTableArgs', 'GetCleanRoomAssetTableArgsDict'] table: (CleanRoomAssetTable) - Table details available to all collaborators of the clean room.
360
- Present if and only if **asset_type** is **TABLE**
361
- :param Union['GetCleanRoomAssetTableLocalDetailsArgs', 'GetCleanRoomAssetTableLocalDetailsArgsDict'] table_local_details: (CleanRoomAssetTableLocalDetails) - Local details for a table that are only available to its owner.
362
- Present if and only if **asset_type** is **TABLE**
363
- :param Union['GetCleanRoomAssetViewArgs', 'GetCleanRoomAssetViewArgsDict'] view: (CleanRoomAssetView) - View details available to all collaborators of the clean room.
364
- Present if and only if **asset_type** is **VIEW**
365
- :param Union['GetCleanRoomAssetViewLocalDetailsArgs', 'GetCleanRoomAssetViewLocalDetailsArgsDict'] view_local_details: (CleanRoomAssetViewLocalDetails) - Local details for a view that are only available to its owner.
366
- Present if and only if **asset_type** is **VIEW**
367
- :param Union['GetCleanRoomAssetVolumeLocalDetailsArgs', 'GetCleanRoomAssetVolumeLocalDetailsArgsDict'] volume_local_details: (CleanRoomAssetVolumeLocalDetails) - Local details for a volume that are only available to its owner.
368
- Present if and only if **asset_type** is **VOLUME**
369
- """
370
- __args__ = dict()
371
- __args__['assetType'] = asset_type
372
- __args__['cleanRoomName'] = clean_room_name
373
- __args__['foreignTable'] = foreign_table
374
- __args__['foreignTableLocalDetails'] = foreign_table_local_details
375
- __args__['name'] = name
376
- __args__['notebook'] = notebook
377
- __args__['table'] = table
378
- __args__['tableLocalDetails'] = table_local_details
379
- __args__['view'] = view
380
- __args__['viewLocalDetails'] = view_local_details
381
- __args__['volumeLocalDetails'] = volume_local_details
382
- opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
383
- __ret__ = pulumi.runtime.invoke_output('databricks:index/getCleanRoomAsset:getCleanRoomAsset', __args__, opts=opts, typ=GetCleanRoomAssetResult)
384
- return __ret__.apply(lambda __response__: GetCleanRoomAssetResult(
385
- added_at=pulumi.get(__response__, 'added_at'),
386
- asset_type=pulumi.get(__response__, 'asset_type'),
387
- clean_room_name=pulumi.get(__response__, 'clean_room_name'),
388
- foreign_table=pulumi.get(__response__, 'foreign_table'),
389
- foreign_table_local_details=pulumi.get(__response__, 'foreign_table_local_details'),
390
- id=pulumi.get(__response__, 'id'),
391
- name=pulumi.get(__response__, 'name'),
392
- notebook=pulumi.get(__response__, 'notebook'),
393
- owner_collaborator_alias=pulumi.get(__response__, 'owner_collaborator_alias'),
394
- status=pulumi.get(__response__, 'status'),
395
- table=pulumi.get(__response__, 'table'),
396
- table_local_details=pulumi.get(__response__, 'table_local_details'),
397
- view=pulumi.get(__response__, 'view'),
398
- view_local_details=pulumi.get(__response__, 'view_local_details'),
399
- volume_local_details=pulumi.get(__response__, 'volume_local_details')))