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,891 +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__ = ['CleanRoomAssetArgs', 'CleanRoomAsset']
20
-
21
- @pulumi.input_type
22
- class CleanRoomAssetArgs:
23
- def __init__(__self__, *,
24
- asset_type: pulumi.Input[_builtins.str],
25
- clean_room_name: Optional[pulumi.Input[_builtins.str]] = None,
26
- foreign_table: Optional[pulumi.Input['CleanRoomAssetForeignTableArgs']] = None,
27
- foreign_table_local_details: Optional[pulumi.Input['CleanRoomAssetForeignTableLocalDetailsArgs']] = None,
28
- name: Optional[pulumi.Input[_builtins.str]] = None,
29
- notebook: Optional[pulumi.Input['CleanRoomAssetNotebookArgs']] = None,
30
- table: Optional[pulumi.Input['CleanRoomAssetTableArgs']] = None,
31
- table_local_details: Optional[pulumi.Input['CleanRoomAssetTableLocalDetailsArgs']] = None,
32
- view: Optional[pulumi.Input['CleanRoomAssetViewArgs']] = None,
33
- view_local_details: Optional[pulumi.Input['CleanRoomAssetViewLocalDetailsArgs']] = None,
34
- volume_local_details: Optional[pulumi.Input['CleanRoomAssetVolumeLocalDetailsArgs']] = None):
35
- """
36
- The set of arguments for constructing a CleanRoomAsset resource.
37
- :param pulumi.Input[_builtins.str] asset_type: The type of the asset. Possible values are: `FOREIGN_TABLE`, `NOTEBOOK_FILE`, `TABLE`, `VIEW`, `VOLUME`
38
- :param pulumi.Input[_builtins.str] clean_room_name: The name of the clean room this asset belongs to.
39
- This field is required for create operations and populated by the server for responses
40
- :param pulumi.Input['CleanRoomAssetForeignTableArgs'] foreign_table: Foreign table details available to all collaborators of the clean room.
41
- Present if and only if **asset_type** is **FOREIGN_TABLE**
42
- :param pulumi.Input['CleanRoomAssetForeignTableLocalDetailsArgs'] foreign_table_local_details: Local details for a foreign that are only available to its owner.
43
- Present if and only if **asset_type** is **FOREIGN_TABLE**
44
- :param pulumi.Input[_builtins.str] name: A fully qualified name that uniquely identifies the asset within the clean room.
45
- This is also the name displayed in the clean room UI.
46
-
47
- For UC securable assets (tables, volumes, etc.), the format is *shared_catalog*.*shared_schema*.*asset_name*
48
-
49
- For notebooks, the name is the notebook file name.
50
- For jar analyses, the name is the jar analysis name
51
- :param pulumi.Input['CleanRoomAssetNotebookArgs'] notebook: Notebook details available to all collaborators of the clean room.
52
- Present if and only if **asset_type** is **NOTEBOOK_FILE**
53
- :param pulumi.Input['CleanRoomAssetTableArgs'] table: Table details available to all collaborators of the clean room.
54
- Present if and only if **asset_type** is **TABLE**
55
- :param pulumi.Input['CleanRoomAssetTableLocalDetailsArgs'] table_local_details: Local details for a table that are only available to its owner.
56
- Present if and only if **asset_type** is **TABLE**
57
- :param pulumi.Input['CleanRoomAssetViewArgs'] view: View details available to all collaborators of the clean room.
58
- Present if and only if **asset_type** is **VIEW**
59
- :param pulumi.Input['CleanRoomAssetViewLocalDetailsArgs'] view_local_details: Local details for a view that are only available to its owner.
60
- Present if and only if **asset_type** is **VIEW**
61
- :param pulumi.Input['CleanRoomAssetVolumeLocalDetailsArgs'] volume_local_details: Local details for a volume that are only available to its owner.
62
- Present if and only if **asset_type** is **VOLUME**
63
- """
64
- pulumi.set(__self__, "asset_type", asset_type)
65
- if clean_room_name is not None:
66
- pulumi.set(__self__, "clean_room_name", clean_room_name)
67
- if foreign_table is not None:
68
- pulumi.set(__self__, "foreign_table", foreign_table)
69
- if foreign_table_local_details is not None:
70
- pulumi.set(__self__, "foreign_table_local_details", foreign_table_local_details)
71
- if name is not None:
72
- pulumi.set(__self__, "name", name)
73
- if notebook is not None:
74
- pulumi.set(__self__, "notebook", notebook)
75
- if table is not None:
76
- pulumi.set(__self__, "table", table)
77
- if table_local_details is not None:
78
- pulumi.set(__self__, "table_local_details", table_local_details)
79
- if view is not None:
80
- pulumi.set(__self__, "view", view)
81
- if view_local_details is not None:
82
- pulumi.set(__self__, "view_local_details", view_local_details)
83
- if volume_local_details is not None:
84
- pulumi.set(__self__, "volume_local_details", volume_local_details)
85
-
86
- @_builtins.property
87
- @pulumi.getter(name="assetType")
88
- def asset_type(self) -> pulumi.Input[_builtins.str]:
89
- """
90
- 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
- @asset_type.setter
95
- def asset_type(self, value: pulumi.Input[_builtins.str]):
96
- pulumi.set(self, "asset_type", value)
97
-
98
- @_builtins.property
99
- @pulumi.getter(name="cleanRoomName")
100
- def clean_room_name(self) -> Optional[pulumi.Input[_builtins.str]]:
101
- """
102
- The name of the clean room this asset belongs to.
103
- This field is required for create operations and populated by the server for responses
104
- """
105
- return pulumi.get(self, "clean_room_name")
106
-
107
- @clean_room_name.setter
108
- def clean_room_name(self, value: Optional[pulumi.Input[_builtins.str]]):
109
- pulumi.set(self, "clean_room_name", value)
110
-
111
- @_builtins.property
112
- @pulumi.getter(name="foreignTable")
113
- def foreign_table(self) -> Optional[pulumi.Input['CleanRoomAssetForeignTableArgs']]:
114
- """
115
- Foreign table details available to all collaborators of the clean room.
116
- Present if and only if **asset_type** is **FOREIGN_TABLE**
117
- """
118
- return pulumi.get(self, "foreign_table")
119
-
120
- @foreign_table.setter
121
- def foreign_table(self, value: Optional[pulumi.Input['CleanRoomAssetForeignTableArgs']]):
122
- pulumi.set(self, "foreign_table", value)
123
-
124
- @_builtins.property
125
- @pulumi.getter(name="foreignTableLocalDetails")
126
- def foreign_table_local_details(self) -> Optional[pulumi.Input['CleanRoomAssetForeignTableLocalDetailsArgs']]:
127
- """
128
- Local details for a foreign that are only available to its owner.
129
- Present if and only if **asset_type** is **FOREIGN_TABLE**
130
- """
131
- return pulumi.get(self, "foreign_table_local_details")
132
-
133
- @foreign_table_local_details.setter
134
- def foreign_table_local_details(self, value: Optional[pulumi.Input['CleanRoomAssetForeignTableLocalDetailsArgs']]):
135
- pulumi.set(self, "foreign_table_local_details", value)
136
-
137
- @_builtins.property
138
- @pulumi.getter
139
- def name(self) -> Optional[pulumi.Input[_builtins.str]]:
140
- """
141
- A fully qualified name that uniquely identifies the asset within the clean room.
142
- This is also the name displayed in the clean room UI.
143
-
144
- For UC securable assets (tables, volumes, etc.), the format is *shared_catalog*.*shared_schema*.*asset_name*
145
-
146
- For notebooks, the name is the notebook file name.
147
- For jar analyses, the name is the jar analysis name
148
- """
149
- return pulumi.get(self, "name")
150
-
151
- @name.setter
152
- def name(self, value: Optional[pulumi.Input[_builtins.str]]):
153
- pulumi.set(self, "name", value)
154
-
155
- @_builtins.property
156
- @pulumi.getter
157
- def notebook(self) -> Optional[pulumi.Input['CleanRoomAssetNotebookArgs']]:
158
- """
159
- Notebook details available to all collaborators of the clean room.
160
- Present if and only if **asset_type** is **NOTEBOOK_FILE**
161
- """
162
- return pulumi.get(self, "notebook")
163
-
164
- @notebook.setter
165
- def notebook(self, value: Optional[pulumi.Input['CleanRoomAssetNotebookArgs']]):
166
- pulumi.set(self, "notebook", value)
167
-
168
- @_builtins.property
169
- @pulumi.getter
170
- def table(self) -> Optional[pulumi.Input['CleanRoomAssetTableArgs']]:
171
- """
172
- Table details available to all collaborators of the clean room.
173
- Present if and only if **asset_type** is **TABLE**
174
- """
175
- return pulumi.get(self, "table")
176
-
177
- @table.setter
178
- def table(self, value: Optional[pulumi.Input['CleanRoomAssetTableArgs']]):
179
- pulumi.set(self, "table", value)
180
-
181
- @_builtins.property
182
- @pulumi.getter(name="tableLocalDetails")
183
- def table_local_details(self) -> Optional[pulumi.Input['CleanRoomAssetTableLocalDetailsArgs']]:
184
- """
185
- Local details for a table that are only available to its owner.
186
- Present if and only if **asset_type** is **TABLE**
187
- """
188
- return pulumi.get(self, "table_local_details")
189
-
190
- @table_local_details.setter
191
- def table_local_details(self, value: Optional[pulumi.Input['CleanRoomAssetTableLocalDetailsArgs']]):
192
- pulumi.set(self, "table_local_details", value)
193
-
194
- @_builtins.property
195
- @pulumi.getter
196
- def view(self) -> Optional[pulumi.Input['CleanRoomAssetViewArgs']]:
197
- """
198
- View details available to all collaborators of the clean room.
199
- Present if and only if **asset_type** is **VIEW**
200
- """
201
- return pulumi.get(self, "view")
202
-
203
- @view.setter
204
- def view(self, value: Optional[pulumi.Input['CleanRoomAssetViewArgs']]):
205
- pulumi.set(self, "view", value)
206
-
207
- @_builtins.property
208
- @pulumi.getter(name="viewLocalDetails")
209
- def view_local_details(self) -> Optional[pulumi.Input['CleanRoomAssetViewLocalDetailsArgs']]:
210
- """
211
- Local details for a view that are only available to its owner.
212
- Present if and only if **asset_type** is **VIEW**
213
- """
214
- return pulumi.get(self, "view_local_details")
215
-
216
- @view_local_details.setter
217
- def view_local_details(self, value: Optional[pulumi.Input['CleanRoomAssetViewLocalDetailsArgs']]):
218
- pulumi.set(self, "view_local_details", value)
219
-
220
- @_builtins.property
221
- @pulumi.getter(name="volumeLocalDetails")
222
- def volume_local_details(self) -> Optional[pulumi.Input['CleanRoomAssetVolumeLocalDetailsArgs']]:
223
- """
224
- Local details for a volume that are only available to its owner.
225
- Present if and only if **asset_type** is **VOLUME**
226
- """
227
- return pulumi.get(self, "volume_local_details")
228
-
229
- @volume_local_details.setter
230
- def volume_local_details(self, value: Optional[pulumi.Input['CleanRoomAssetVolumeLocalDetailsArgs']]):
231
- pulumi.set(self, "volume_local_details", value)
232
-
233
-
234
- @pulumi.input_type
235
- class _CleanRoomAssetState:
236
- def __init__(__self__, *,
237
- added_at: Optional[pulumi.Input[_builtins.int]] = None,
238
- asset_type: Optional[pulumi.Input[_builtins.str]] = None,
239
- clean_room_name: Optional[pulumi.Input[_builtins.str]] = None,
240
- foreign_table: Optional[pulumi.Input['CleanRoomAssetForeignTableArgs']] = None,
241
- foreign_table_local_details: Optional[pulumi.Input['CleanRoomAssetForeignTableLocalDetailsArgs']] = None,
242
- name: Optional[pulumi.Input[_builtins.str]] = None,
243
- notebook: Optional[pulumi.Input['CleanRoomAssetNotebookArgs']] = None,
244
- owner_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
245
- status: Optional[pulumi.Input[_builtins.str]] = None,
246
- table: Optional[pulumi.Input['CleanRoomAssetTableArgs']] = None,
247
- table_local_details: Optional[pulumi.Input['CleanRoomAssetTableLocalDetailsArgs']] = None,
248
- view: Optional[pulumi.Input['CleanRoomAssetViewArgs']] = None,
249
- view_local_details: Optional[pulumi.Input['CleanRoomAssetViewLocalDetailsArgs']] = None,
250
- volume_local_details: Optional[pulumi.Input['CleanRoomAssetVolumeLocalDetailsArgs']] = None):
251
- """
252
- Input properties used for looking up and filtering CleanRoomAsset resources.
253
- :param pulumi.Input[_builtins.int] added_at: (integer) - When the asset is added to the clean room, in epoch milliseconds
254
- :param pulumi.Input[_builtins.str] asset_type: The type of the asset. Possible values are: `FOREIGN_TABLE`, `NOTEBOOK_FILE`, `TABLE`, `VIEW`, `VOLUME`
255
- :param pulumi.Input[_builtins.str] clean_room_name: The name of the clean room this asset belongs to.
256
- This field is required for create operations and populated by the server for responses
257
- :param pulumi.Input['CleanRoomAssetForeignTableArgs'] foreign_table: Foreign table details available to all collaborators of the clean room.
258
- Present if and only if **asset_type** is **FOREIGN_TABLE**
259
- :param pulumi.Input['CleanRoomAssetForeignTableLocalDetailsArgs'] foreign_table_local_details: Local details for a foreign that are only available to its owner.
260
- Present if and only if **asset_type** is **FOREIGN_TABLE**
261
- :param pulumi.Input[_builtins.str] name: A fully qualified name that uniquely identifies the asset within the clean room.
262
- This is also the name displayed in the clean room UI.
263
-
264
- For UC securable assets (tables, volumes, etc.), the format is *shared_catalog*.*shared_schema*.*asset_name*
265
-
266
- For notebooks, the name is the notebook file name.
267
- For jar analyses, the name is the jar analysis name
268
- :param pulumi.Input['CleanRoomAssetNotebookArgs'] notebook: Notebook details available to all collaborators of the clean room.
269
- Present if and only if **asset_type** is **NOTEBOOK_FILE**
270
- :param pulumi.Input[_builtins.str] owner_collaborator_alias: (string) - The alias of the collaborator who owns this asset
271
- :param pulumi.Input[_builtins.str] status: (string) - Status of the asset. Possible values are: `ACTIVE`, `PENDING`, `PERMISSION_DENIED`
272
- :param pulumi.Input['CleanRoomAssetTableArgs'] table: Table details available to all collaborators of the clean room.
273
- Present if and only if **asset_type** is **TABLE**
274
- :param pulumi.Input['CleanRoomAssetTableLocalDetailsArgs'] table_local_details: Local details for a table that are only available to its owner.
275
- Present if and only if **asset_type** is **TABLE**
276
- :param pulumi.Input['CleanRoomAssetViewArgs'] view: View details available to all collaborators of the clean room.
277
- Present if and only if **asset_type** is **VIEW**
278
- :param pulumi.Input['CleanRoomAssetViewLocalDetailsArgs'] view_local_details: Local details for a view that are only available to its owner.
279
- Present if and only if **asset_type** is **VIEW**
280
- :param pulumi.Input['CleanRoomAssetVolumeLocalDetailsArgs'] volume_local_details: Local details for a volume that are only available to its owner.
281
- Present if and only if **asset_type** is **VOLUME**
282
- """
283
- if added_at is not None:
284
- pulumi.set(__self__, "added_at", added_at)
285
- if asset_type is not None:
286
- pulumi.set(__self__, "asset_type", asset_type)
287
- if clean_room_name is not None:
288
- pulumi.set(__self__, "clean_room_name", clean_room_name)
289
- if foreign_table is not None:
290
- pulumi.set(__self__, "foreign_table", foreign_table)
291
- if foreign_table_local_details is not None:
292
- pulumi.set(__self__, "foreign_table_local_details", foreign_table_local_details)
293
- if name is not None:
294
- pulumi.set(__self__, "name", name)
295
- if notebook is not None:
296
- pulumi.set(__self__, "notebook", notebook)
297
- if owner_collaborator_alias is not None:
298
- pulumi.set(__self__, "owner_collaborator_alias", owner_collaborator_alias)
299
- if status is not None:
300
- pulumi.set(__self__, "status", status)
301
- if table is not None:
302
- pulumi.set(__self__, "table", table)
303
- if table_local_details is not None:
304
- pulumi.set(__self__, "table_local_details", table_local_details)
305
- if view is not None:
306
- pulumi.set(__self__, "view", view)
307
- if view_local_details is not None:
308
- pulumi.set(__self__, "view_local_details", view_local_details)
309
- if volume_local_details is not None:
310
- pulumi.set(__self__, "volume_local_details", volume_local_details)
311
-
312
- @_builtins.property
313
- @pulumi.getter(name="addedAt")
314
- def added_at(self) -> Optional[pulumi.Input[_builtins.int]]:
315
- """
316
- (integer) - When the asset is added to the clean room, in epoch milliseconds
317
- """
318
- return pulumi.get(self, "added_at")
319
-
320
- @added_at.setter
321
- def added_at(self, value: Optional[pulumi.Input[_builtins.int]]):
322
- pulumi.set(self, "added_at", value)
323
-
324
- @_builtins.property
325
- @pulumi.getter(name="assetType")
326
- def asset_type(self) -> Optional[pulumi.Input[_builtins.str]]:
327
- """
328
- The type of the asset. Possible values are: `FOREIGN_TABLE`, `NOTEBOOK_FILE`, `TABLE`, `VIEW`, `VOLUME`
329
- """
330
- return pulumi.get(self, "asset_type")
331
-
332
- @asset_type.setter
333
- def asset_type(self, value: Optional[pulumi.Input[_builtins.str]]):
334
- pulumi.set(self, "asset_type", value)
335
-
336
- @_builtins.property
337
- @pulumi.getter(name="cleanRoomName")
338
- def clean_room_name(self) -> Optional[pulumi.Input[_builtins.str]]:
339
- """
340
- The name of the clean room this asset belongs to.
341
- This field is required for create operations and populated by the server for responses
342
- """
343
- return pulumi.get(self, "clean_room_name")
344
-
345
- @clean_room_name.setter
346
- def clean_room_name(self, value: Optional[pulumi.Input[_builtins.str]]):
347
- pulumi.set(self, "clean_room_name", value)
348
-
349
- @_builtins.property
350
- @pulumi.getter(name="foreignTable")
351
- def foreign_table(self) -> Optional[pulumi.Input['CleanRoomAssetForeignTableArgs']]:
352
- """
353
- Foreign table details available to all collaborators of the clean room.
354
- Present if and only if **asset_type** is **FOREIGN_TABLE**
355
- """
356
- return pulumi.get(self, "foreign_table")
357
-
358
- @foreign_table.setter
359
- def foreign_table(self, value: Optional[pulumi.Input['CleanRoomAssetForeignTableArgs']]):
360
- pulumi.set(self, "foreign_table", value)
361
-
362
- @_builtins.property
363
- @pulumi.getter(name="foreignTableLocalDetails")
364
- def foreign_table_local_details(self) -> Optional[pulumi.Input['CleanRoomAssetForeignTableLocalDetailsArgs']]:
365
- """
366
- Local details for a foreign that are only available to its owner.
367
- Present if and only if **asset_type** is **FOREIGN_TABLE**
368
- """
369
- return pulumi.get(self, "foreign_table_local_details")
370
-
371
- @foreign_table_local_details.setter
372
- def foreign_table_local_details(self, value: Optional[pulumi.Input['CleanRoomAssetForeignTableLocalDetailsArgs']]):
373
- pulumi.set(self, "foreign_table_local_details", value)
374
-
375
- @_builtins.property
376
- @pulumi.getter
377
- def name(self) -> Optional[pulumi.Input[_builtins.str]]:
378
- """
379
- A fully qualified name that uniquely identifies the asset within the clean room.
380
- This is also the name displayed in the clean room UI.
381
-
382
- For UC securable assets (tables, volumes, etc.), the format is *shared_catalog*.*shared_schema*.*asset_name*
383
-
384
- For notebooks, the name is the notebook file name.
385
- For jar analyses, the name is the jar analysis name
386
- """
387
- return pulumi.get(self, "name")
388
-
389
- @name.setter
390
- def name(self, value: Optional[pulumi.Input[_builtins.str]]):
391
- pulumi.set(self, "name", value)
392
-
393
- @_builtins.property
394
- @pulumi.getter
395
- def notebook(self) -> Optional[pulumi.Input['CleanRoomAssetNotebookArgs']]:
396
- """
397
- Notebook details available to all collaborators of the clean room.
398
- Present if and only if **asset_type** is **NOTEBOOK_FILE**
399
- """
400
- return pulumi.get(self, "notebook")
401
-
402
- @notebook.setter
403
- def notebook(self, value: Optional[pulumi.Input['CleanRoomAssetNotebookArgs']]):
404
- pulumi.set(self, "notebook", value)
405
-
406
- @_builtins.property
407
- @pulumi.getter(name="ownerCollaboratorAlias")
408
- def owner_collaborator_alias(self) -> Optional[pulumi.Input[_builtins.str]]:
409
- """
410
- (string) - The alias of the collaborator who owns this asset
411
- """
412
- return pulumi.get(self, "owner_collaborator_alias")
413
-
414
- @owner_collaborator_alias.setter
415
- def owner_collaborator_alias(self, value: Optional[pulumi.Input[_builtins.str]]):
416
- pulumi.set(self, "owner_collaborator_alias", value)
417
-
418
- @_builtins.property
419
- @pulumi.getter
420
- def status(self) -> Optional[pulumi.Input[_builtins.str]]:
421
- """
422
- (string) - Status of the asset. Possible values are: `ACTIVE`, `PENDING`, `PERMISSION_DENIED`
423
- """
424
- return pulumi.get(self, "status")
425
-
426
- @status.setter
427
- def status(self, value: Optional[pulumi.Input[_builtins.str]]):
428
- pulumi.set(self, "status", value)
429
-
430
- @_builtins.property
431
- @pulumi.getter
432
- def table(self) -> Optional[pulumi.Input['CleanRoomAssetTableArgs']]:
433
- """
434
- Table details available to all collaborators of the clean room.
435
- Present if and only if **asset_type** is **TABLE**
436
- """
437
- return pulumi.get(self, "table")
438
-
439
- @table.setter
440
- def table(self, value: Optional[pulumi.Input['CleanRoomAssetTableArgs']]):
441
- pulumi.set(self, "table", value)
442
-
443
- @_builtins.property
444
- @pulumi.getter(name="tableLocalDetails")
445
- def table_local_details(self) -> Optional[pulumi.Input['CleanRoomAssetTableLocalDetailsArgs']]:
446
- """
447
- Local details for a table that are only available to its owner.
448
- Present if and only if **asset_type** is **TABLE**
449
- """
450
- return pulumi.get(self, "table_local_details")
451
-
452
- @table_local_details.setter
453
- def table_local_details(self, value: Optional[pulumi.Input['CleanRoomAssetTableLocalDetailsArgs']]):
454
- pulumi.set(self, "table_local_details", value)
455
-
456
- @_builtins.property
457
- @pulumi.getter
458
- def view(self) -> Optional[pulumi.Input['CleanRoomAssetViewArgs']]:
459
- """
460
- View details available to all collaborators of the clean room.
461
- Present if and only if **asset_type** is **VIEW**
462
- """
463
- return pulumi.get(self, "view")
464
-
465
- @view.setter
466
- def view(self, value: Optional[pulumi.Input['CleanRoomAssetViewArgs']]):
467
- pulumi.set(self, "view", value)
468
-
469
- @_builtins.property
470
- @pulumi.getter(name="viewLocalDetails")
471
- def view_local_details(self) -> Optional[pulumi.Input['CleanRoomAssetViewLocalDetailsArgs']]:
472
- """
473
- Local details for a view that are only available to its owner.
474
- Present if and only if **asset_type** is **VIEW**
475
- """
476
- return pulumi.get(self, "view_local_details")
477
-
478
- @view_local_details.setter
479
- def view_local_details(self, value: Optional[pulumi.Input['CleanRoomAssetViewLocalDetailsArgs']]):
480
- pulumi.set(self, "view_local_details", value)
481
-
482
- @_builtins.property
483
- @pulumi.getter(name="volumeLocalDetails")
484
- def volume_local_details(self) -> Optional[pulumi.Input['CleanRoomAssetVolumeLocalDetailsArgs']]:
485
- """
486
- Local details for a volume that are only available to its owner.
487
- Present if and only if **asset_type** is **VOLUME**
488
- """
489
- return pulumi.get(self, "volume_local_details")
490
-
491
- @volume_local_details.setter
492
- def volume_local_details(self, value: Optional[pulumi.Input['CleanRoomAssetVolumeLocalDetailsArgs']]):
493
- pulumi.set(self, "volume_local_details", value)
494
-
495
-
496
- @pulumi.type_token("databricks:index/cleanRoomAsset:CleanRoomAsset")
497
- class CleanRoomAsset(pulumi.CustomResource):
498
- @overload
499
- def __init__(__self__,
500
- resource_name: str,
501
- opts: Optional[pulumi.ResourceOptions] = None,
502
- asset_type: Optional[pulumi.Input[_builtins.str]] = None,
503
- clean_room_name: Optional[pulumi.Input[_builtins.str]] = None,
504
- foreign_table: Optional[pulumi.Input[Union['CleanRoomAssetForeignTableArgs', 'CleanRoomAssetForeignTableArgsDict']]] = None,
505
- foreign_table_local_details: Optional[pulumi.Input[Union['CleanRoomAssetForeignTableLocalDetailsArgs', 'CleanRoomAssetForeignTableLocalDetailsArgsDict']]] = None,
506
- name: Optional[pulumi.Input[_builtins.str]] = None,
507
- notebook: Optional[pulumi.Input[Union['CleanRoomAssetNotebookArgs', 'CleanRoomAssetNotebookArgsDict']]] = None,
508
- table: Optional[pulumi.Input[Union['CleanRoomAssetTableArgs', 'CleanRoomAssetTableArgsDict']]] = None,
509
- table_local_details: Optional[pulumi.Input[Union['CleanRoomAssetTableLocalDetailsArgs', 'CleanRoomAssetTableLocalDetailsArgsDict']]] = None,
510
- view: Optional[pulumi.Input[Union['CleanRoomAssetViewArgs', 'CleanRoomAssetViewArgsDict']]] = None,
511
- view_local_details: Optional[pulumi.Input[Union['CleanRoomAssetViewLocalDetailsArgs', 'CleanRoomAssetViewLocalDetailsArgsDict']]] = None,
512
- volume_local_details: Optional[pulumi.Input[Union['CleanRoomAssetVolumeLocalDetailsArgs', 'CleanRoomAssetVolumeLocalDetailsArgsDict']]] = None,
513
- __props__=None):
514
- """
515
- Clean room assets are data and code objects -- tables, volumes, and notebooks that are shared with the clean room.
516
-
517
- ## Example Usage
518
-
519
- # Example: Clean Room Asset Resource
520
-
521
- ### Example for sharing a table
522
- This is an example for sharing an asset (table) in a clean room:
523
- ```python
524
- import pulumi
525
- import pulumi_databricks as databricks
526
-
527
- this = databricks.index.CleanRoomsAsset("this",
528
- clean_room_name=existing_clean_room,
529
- name=creator.default.myasset,
530
- asset_type=TABLE,
531
- table_local_details={
532
- localName: some_creator.default.myasset,
533
- })
534
- ```
535
-
536
- ## Import
537
-
538
- As of Pulumi v1.5, resources can be imported through configuration.
539
-
540
- hcl
541
-
542
- import {
543
-
544
- id = clean_room_name,name,asset_type
545
-
546
- to = databricks_clean_room_asset.this
547
-
548
- }
549
-
550
- If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
551
-
552
- ```sh
553
- $ pulumi import databricks:index/cleanRoomAsset:CleanRoomAsset databricks_clean_room_asset clean_room_name,name,asset_type
554
- ```
555
-
556
- :param str resource_name: The name of the resource.
557
- :param pulumi.ResourceOptions opts: Options for the resource.
558
- :param pulumi.Input[_builtins.str] asset_type: The type of the asset. Possible values are: `FOREIGN_TABLE`, `NOTEBOOK_FILE`, `TABLE`, `VIEW`, `VOLUME`
559
- :param pulumi.Input[_builtins.str] clean_room_name: The name of the clean room this asset belongs to.
560
- This field is required for create operations and populated by the server for responses
561
- :param pulumi.Input[Union['CleanRoomAssetForeignTableArgs', 'CleanRoomAssetForeignTableArgsDict']] foreign_table: Foreign table details available to all collaborators of the clean room.
562
- Present if and only if **asset_type** is **FOREIGN_TABLE**
563
- :param pulumi.Input[Union['CleanRoomAssetForeignTableLocalDetailsArgs', 'CleanRoomAssetForeignTableLocalDetailsArgsDict']] foreign_table_local_details: Local details for a foreign that are only available to its owner.
564
- Present if and only if **asset_type** is **FOREIGN_TABLE**
565
- :param pulumi.Input[_builtins.str] name: A fully qualified name that uniquely identifies the asset within the clean room.
566
- This is also the name displayed in the clean room UI.
567
-
568
- For UC securable assets (tables, volumes, etc.), the format is *shared_catalog*.*shared_schema*.*asset_name*
569
-
570
- For notebooks, the name is the notebook file name.
571
- For jar analyses, the name is the jar analysis name
572
- :param pulumi.Input[Union['CleanRoomAssetNotebookArgs', 'CleanRoomAssetNotebookArgsDict']] notebook: Notebook details available to all collaborators of the clean room.
573
- Present if and only if **asset_type** is **NOTEBOOK_FILE**
574
- :param pulumi.Input[Union['CleanRoomAssetTableArgs', 'CleanRoomAssetTableArgsDict']] table: Table details available to all collaborators of the clean room.
575
- Present if and only if **asset_type** is **TABLE**
576
- :param pulumi.Input[Union['CleanRoomAssetTableLocalDetailsArgs', 'CleanRoomAssetTableLocalDetailsArgsDict']] table_local_details: Local details for a table that are only available to its owner.
577
- Present if and only if **asset_type** is **TABLE**
578
- :param pulumi.Input[Union['CleanRoomAssetViewArgs', 'CleanRoomAssetViewArgsDict']] view: View details available to all collaborators of the clean room.
579
- Present if and only if **asset_type** is **VIEW**
580
- :param pulumi.Input[Union['CleanRoomAssetViewLocalDetailsArgs', 'CleanRoomAssetViewLocalDetailsArgsDict']] view_local_details: Local details for a view that are only available to its owner.
581
- Present if and only if **asset_type** is **VIEW**
582
- :param pulumi.Input[Union['CleanRoomAssetVolumeLocalDetailsArgs', 'CleanRoomAssetVolumeLocalDetailsArgsDict']] volume_local_details: Local details for a volume that are only available to its owner.
583
- Present if and only if **asset_type** is **VOLUME**
584
- """
585
- ...
586
- @overload
587
- def __init__(__self__,
588
- resource_name: str,
589
- args: CleanRoomAssetArgs,
590
- opts: Optional[pulumi.ResourceOptions] = None):
591
- """
592
- Clean room assets are data and code objects -- tables, volumes, and notebooks that are shared with the clean room.
593
-
594
- ## Example Usage
595
-
596
- # Example: Clean Room Asset Resource
597
-
598
- ### Example for sharing a table
599
- This is an example for sharing an asset (table) in a clean room:
600
- ```python
601
- import pulumi
602
- import pulumi_databricks as databricks
603
-
604
- this = databricks.index.CleanRoomsAsset("this",
605
- clean_room_name=existing_clean_room,
606
- name=creator.default.myasset,
607
- asset_type=TABLE,
608
- table_local_details={
609
- localName: some_creator.default.myasset,
610
- })
611
- ```
612
-
613
- ## Import
614
-
615
- As of Pulumi v1.5, resources can be imported through configuration.
616
-
617
- hcl
618
-
619
- import {
620
-
621
- id = clean_room_name,name,asset_type
622
-
623
- to = databricks_clean_room_asset.this
624
-
625
- }
626
-
627
- If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
628
-
629
- ```sh
630
- $ pulumi import databricks:index/cleanRoomAsset:CleanRoomAsset databricks_clean_room_asset clean_room_name,name,asset_type
631
- ```
632
-
633
- :param str resource_name: The name of the resource.
634
- :param CleanRoomAssetArgs args: The arguments to use to populate this resource's properties.
635
- :param pulumi.ResourceOptions opts: Options for the resource.
636
- """
637
- ...
638
- def __init__(__self__, resource_name: str, *args, **kwargs):
639
- resource_args, opts = _utilities.get_resource_args_opts(CleanRoomAssetArgs, pulumi.ResourceOptions, *args, **kwargs)
640
- if resource_args is not None:
641
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
642
- else:
643
- __self__._internal_init(resource_name, *args, **kwargs)
644
-
645
- def _internal_init(__self__,
646
- resource_name: str,
647
- opts: Optional[pulumi.ResourceOptions] = None,
648
- asset_type: Optional[pulumi.Input[_builtins.str]] = None,
649
- clean_room_name: Optional[pulumi.Input[_builtins.str]] = None,
650
- foreign_table: Optional[pulumi.Input[Union['CleanRoomAssetForeignTableArgs', 'CleanRoomAssetForeignTableArgsDict']]] = None,
651
- foreign_table_local_details: Optional[pulumi.Input[Union['CleanRoomAssetForeignTableLocalDetailsArgs', 'CleanRoomAssetForeignTableLocalDetailsArgsDict']]] = None,
652
- name: Optional[pulumi.Input[_builtins.str]] = None,
653
- notebook: Optional[pulumi.Input[Union['CleanRoomAssetNotebookArgs', 'CleanRoomAssetNotebookArgsDict']]] = None,
654
- table: Optional[pulumi.Input[Union['CleanRoomAssetTableArgs', 'CleanRoomAssetTableArgsDict']]] = None,
655
- table_local_details: Optional[pulumi.Input[Union['CleanRoomAssetTableLocalDetailsArgs', 'CleanRoomAssetTableLocalDetailsArgsDict']]] = None,
656
- view: Optional[pulumi.Input[Union['CleanRoomAssetViewArgs', 'CleanRoomAssetViewArgsDict']]] = None,
657
- view_local_details: Optional[pulumi.Input[Union['CleanRoomAssetViewLocalDetailsArgs', 'CleanRoomAssetViewLocalDetailsArgsDict']]] = None,
658
- volume_local_details: Optional[pulumi.Input[Union['CleanRoomAssetVolumeLocalDetailsArgs', 'CleanRoomAssetVolumeLocalDetailsArgsDict']]] = None,
659
- __props__=None):
660
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
661
- if not isinstance(opts, pulumi.ResourceOptions):
662
- raise TypeError('Expected resource options to be a ResourceOptions instance')
663
- if opts.id is None:
664
- if __props__ is not None:
665
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
666
- __props__ = CleanRoomAssetArgs.__new__(CleanRoomAssetArgs)
667
-
668
- if asset_type is None and not opts.urn:
669
- raise TypeError("Missing required property 'asset_type'")
670
- __props__.__dict__["asset_type"] = asset_type
671
- __props__.__dict__["clean_room_name"] = clean_room_name
672
- __props__.__dict__["foreign_table"] = foreign_table
673
- __props__.__dict__["foreign_table_local_details"] = foreign_table_local_details
674
- __props__.__dict__["name"] = name
675
- __props__.__dict__["notebook"] = notebook
676
- __props__.__dict__["table"] = table
677
- __props__.__dict__["table_local_details"] = table_local_details
678
- __props__.__dict__["view"] = view
679
- __props__.__dict__["view_local_details"] = view_local_details
680
- __props__.__dict__["volume_local_details"] = volume_local_details
681
- __props__.__dict__["added_at"] = None
682
- __props__.__dict__["owner_collaborator_alias"] = None
683
- __props__.__dict__["status"] = None
684
- super(CleanRoomAsset, __self__).__init__(
685
- 'databricks:index/cleanRoomAsset:CleanRoomAsset',
686
- resource_name,
687
- __props__,
688
- opts)
689
-
690
- @staticmethod
691
- def get(resource_name: str,
692
- id: pulumi.Input[str],
693
- opts: Optional[pulumi.ResourceOptions] = None,
694
- added_at: Optional[pulumi.Input[_builtins.int]] = None,
695
- asset_type: Optional[pulumi.Input[_builtins.str]] = None,
696
- clean_room_name: Optional[pulumi.Input[_builtins.str]] = None,
697
- foreign_table: Optional[pulumi.Input[Union['CleanRoomAssetForeignTableArgs', 'CleanRoomAssetForeignTableArgsDict']]] = None,
698
- foreign_table_local_details: Optional[pulumi.Input[Union['CleanRoomAssetForeignTableLocalDetailsArgs', 'CleanRoomAssetForeignTableLocalDetailsArgsDict']]] = None,
699
- name: Optional[pulumi.Input[_builtins.str]] = None,
700
- notebook: Optional[pulumi.Input[Union['CleanRoomAssetNotebookArgs', 'CleanRoomAssetNotebookArgsDict']]] = None,
701
- owner_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
702
- status: Optional[pulumi.Input[_builtins.str]] = None,
703
- table: Optional[pulumi.Input[Union['CleanRoomAssetTableArgs', 'CleanRoomAssetTableArgsDict']]] = None,
704
- table_local_details: Optional[pulumi.Input[Union['CleanRoomAssetTableLocalDetailsArgs', 'CleanRoomAssetTableLocalDetailsArgsDict']]] = None,
705
- view: Optional[pulumi.Input[Union['CleanRoomAssetViewArgs', 'CleanRoomAssetViewArgsDict']]] = None,
706
- view_local_details: Optional[pulumi.Input[Union['CleanRoomAssetViewLocalDetailsArgs', 'CleanRoomAssetViewLocalDetailsArgsDict']]] = None,
707
- volume_local_details: Optional[pulumi.Input[Union['CleanRoomAssetVolumeLocalDetailsArgs', 'CleanRoomAssetVolumeLocalDetailsArgsDict']]] = None) -> 'CleanRoomAsset':
708
- """
709
- Get an existing CleanRoomAsset resource's state with the given name, id, and optional extra
710
- properties used to qualify the lookup.
711
-
712
- :param str resource_name: The unique name of the resulting resource.
713
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
714
- :param pulumi.ResourceOptions opts: Options for the resource.
715
- :param pulumi.Input[_builtins.int] added_at: (integer) - When the asset is added to the clean room, in epoch milliseconds
716
- :param pulumi.Input[_builtins.str] asset_type: The type of the asset. Possible values are: `FOREIGN_TABLE`, `NOTEBOOK_FILE`, `TABLE`, `VIEW`, `VOLUME`
717
- :param pulumi.Input[_builtins.str] clean_room_name: The name of the clean room this asset belongs to.
718
- This field is required for create operations and populated by the server for responses
719
- :param pulumi.Input[Union['CleanRoomAssetForeignTableArgs', 'CleanRoomAssetForeignTableArgsDict']] foreign_table: Foreign table details available to all collaborators of the clean room.
720
- Present if and only if **asset_type** is **FOREIGN_TABLE**
721
- :param pulumi.Input[Union['CleanRoomAssetForeignTableLocalDetailsArgs', 'CleanRoomAssetForeignTableLocalDetailsArgsDict']] foreign_table_local_details: Local details for a foreign that are only available to its owner.
722
- Present if and only if **asset_type** is **FOREIGN_TABLE**
723
- :param pulumi.Input[_builtins.str] name: A fully qualified name that uniquely identifies the asset within the clean room.
724
- This is also the name displayed in the clean room UI.
725
-
726
- For UC securable assets (tables, volumes, etc.), the format is *shared_catalog*.*shared_schema*.*asset_name*
727
-
728
- For notebooks, the name is the notebook file name.
729
- For jar analyses, the name is the jar analysis name
730
- :param pulumi.Input[Union['CleanRoomAssetNotebookArgs', 'CleanRoomAssetNotebookArgsDict']] notebook: Notebook details available to all collaborators of the clean room.
731
- Present if and only if **asset_type** is **NOTEBOOK_FILE**
732
- :param pulumi.Input[_builtins.str] owner_collaborator_alias: (string) - The alias of the collaborator who owns this asset
733
- :param pulumi.Input[_builtins.str] status: (string) - Status of the asset. Possible values are: `ACTIVE`, `PENDING`, `PERMISSION_DENIED`
734
- :param pulumi.Input[Union['CleanRoomAssetTableArgs', 'CleanRoomAssetTableArgsDict']] table: Table details available to all collaborators of the clean room.
735
- Present if and only if **asset_type** is **TABLE**
736
- :param pulumi.Input[Union['CleanRoomAssetTableLocalDetailsArgs', 'CleanRoomAssetTableLocalDetailsArgsDict']] table_local_details: Local details for a table that are only available to its owner.
737
- Present if and only if **asset_type** is **TABLE**
738
- :param pulumi.Input[Union['CleanRoomAssetViewArgs', 'CleanRoomAssetViewArgsDict']] view: View details available to all collaborators of the clean room.
739
- Present if and only if **asset_type** is **VIEW**
740
- :param pulumi.Input[Union['CleanRoomAssetViewLocalDetailsArgs', 'CleanRoomAssetViewLocalDetailsArgsDict']] view_local_details: Local details for a view that are only available to its owner.
741
- Present if and only if **asset_type** is **VIEW**
742
- :param pulumi.Input[Union['CleanRoomAssetVolumeLocalDetailsArgs', 'CleanRoomAssetVolumeLocalDetailsArgsDict']] volume_local_details: Local details for a volume that are only available to its owner.
743
- Present if and only if **asset_type** is **VOLUME**
744
- """
745
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
746
-
747
- __props__ = _CleanRoomAssetState.__new__(_CleanRoomAssetState)
748
-
749
- __props__.__dict__["added_at"] = added_at
750
- __props__.__dict__["asset_type"] = asset_type
751
- __props__.__dict__["clean_room_name"] = clean_room_name
752
- __props__.__dict__["foreign_table"] = foreign_table
753
- __props__.__dict__["foreign_table_local_details"] = foreign_table_local_details
754
- __props__.__dict__["name"] = name
755
- __props__.__dict__["notebook"] = notebook
756
- __props__.__dict__["owner_collaborator_alias"] = owner_collaborator_alias
757
- __props__.__dict__["status"] = status
758
- __props__.__dict__["table"] = table
759
- __props__.__dict__["table_local_details"] = table_local_details
760
- __props__.__dict__["view"] = view
761
- __props__.__dict__["view_local_details"] = view_local_details
762
- __props__.__dict__["volume_local_details"] = volume_local_details
763
- return CleanRoomAsset(resource_name, opts=opts, __props__=__props__)
764
-
765
- @_builtins.property
766
- @pulumi.getter(name="addedAt")
767
- def added_at(self) -> pulumi.Output[_builtins.int]:
768
- """
769
- (integer) - When the asset is added to the clean room, in epoch milliseconds
770
- """
771
- return pulumi.get(self, "added_at")
772
-
773
- @_builtins.property
774
- @pulumi.getter(name="assetType")
775
- def asset_type(self) -> pulumi.Output[_builtins.str]:
776
- """
777
- The type of the asset. Possible values are: `FOREIGN_TABLE`, `NOTEBOOK_FILE`, `TABLE`, `VIEW`, `VOLUME`
778
- """
779
- return pulumi.get(self, "asset_type")
780
-
781
- @_builtins.property
782
- @pulumi.getter(name="cleanRoomName")
783
- def clean_room_name(self) -> pulumi.Output[Optional[_builtins.str]]:
784
- """
785
- The name of the clean room this asset belongs to.
786
- This field is required for create operations and populated by the server for responses
787
- """
788
- return pulumi.get(self, "clean_room_name")
789
-
790
- @_builtins.property
791
- @pulumi.getter(name="foreignTable")
792
- def foreign_table(self) -> pulumi.Output[Optional['outputs.CleanRoomAssetForeignTable']]:
793
- """
794
- Foreign table details available to all collaborators of the clean room.
795
- Present if and only if **asset_type** is **FOREIGN_TABLE**
796
- """
797
- return pulumi.get(self, "foreign_table")
798
-
799
- @_builtins.property
800
- @pulumi.getter(name="foreignTableLocalDetails")
801
- def foreign_table_local_details(self) -> pulumi.Output[Optional['outputs.CleanRoomAssetForeignTableLocalDetails']]:
802
- """
803
- Local details for a foreign that are only available to its owner.
804
- Present if and only if **asset_type** is **FOREIGN_TABLE**
805
- """
806
- return pulumi.get(self, "foreign_table_local_details")
807
-
808
- @_builtins.property
809
- @pulumi.getter
810
- def name(self) -> pulumi.Output[_builtins.str]:
811
- """
812
- A fully qualified name that uniquely identifies the asset within the clean room.
813
- This is also the name displayed in the clean room UI.
814
-
815
- For UC securable assets (tables, volumes, etc.), the format is *shared_catalog*.*shared_schema*.*asset_name*
816
-
817
- For notebooks, the name is the notebook file name.
818
- For jar analyses, the name is the jar analysis name
819
- """
820
- return pulumi.get(self, "name")
821
-
822
- @_builtins.property
823
- @pulumi.getter
824
- def notebook(self) -> pulumi.Output[Optional['outputs.CleanRoomAssetNotebook']]:
825
- """
826
- Notebook details available to all collaborators of the clean room.
827
- Present if and only if **asset_type** is **NOTEBOOK_FILE**
828
- """
829
- return pulumi.get(self, "notebook")
830
-
831
- @_builtins.property
832
- @pulumi.getter(name="ownerCollaboratorAlias")
833
- def owner_collaborator_alias(self) -> pulumi.Output[_builtins.str]:
834
- """
835
- (string) - The alias of the collaborator who owns this asset
836
- """
837
- return pulumi.get(self, "owner_collaborator_alias")
838
-
839
- @_builtins.property
840
- @pulumi.getter
841
- def status(self) -> pulumi.Output[_builtins.str]:
842
- """
843
- (string) - Status of the asset. Possible values are: `ACTIVE`, `PENDING`, `PERMISSION_DENIED`
844
- """
845
- return pulumi.get(self, "status")
846
-
847
- @_builtins.property
848
- @pulumi.getter
849
- def table(self) -> pulumi.Output[Optional['outputs.CleanRoomAssetTable']]:
850
- """
851
- Table details available to all collaborators of the clean room.
852
- Present if and only if **asset_type** is **TABLE**
853
- """
854
- return pulumi.get(self, "table")
855
-
856
- @_builtins.property
857
- @pulumi.getter(name="tableLocalDetails")
858
- def table_local_details(self) -> pulumi.Output[Optional['outputs.CleanRoomAssetTableLocalDetails']]:
859
- """
860
- Local details for a table that are only available to its owner.
861
- Present if and only if **asset_type** is **TABLE**
862
- """
863
- return pulumi.get(self, "table_local_details")
864
-
865
- @_builtins.property
866
- @pulumi.getter
867
- def view(self) -> pulumi.Output[Optional['outputs.CleanRoomAssetView']]:
868
- """
869
- View details available to all collaborators of the clean room.
870
- Present if and only if **asset_type** is **VIEW**
871
- """
872
- return pulumi.get(self, "view")
873
-
874
- @_builtins.property
875
- @pulumi.getter(name="viewLocalDetails")
876
- def view_local_details(self) -> pulumi.Output[Optional['outputs.CleanRoomAssetViewLocalDetails']]:
877
- """
878
- Local details for a view that are only available to its owner.
879
- Present if and only if **asset_type** is **VIEW**
880
- """
881
- return pulumi.get(self, "view_local_details")
882
-
883
- @_builtins.property
884
- @pulumi.getter(name="volumeLocalDetails")
885
- def volume_local_details(self) -> pulumi.Output[Optional['outputs.CleanRoomAssetVolumeLocalDetails']]:
886
- """
887
- Local details for a volume that are only available to its owner.
888
- Present if and only if **asset_type** is **VOLUME**
889
- """
890
- return pulumi.get(self, "volume_local_details")
891
-