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