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