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
@@ -0,0 +1,492 @@
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
+
17
+ __all__ = ['DataQualityRefreshArgs', 'DataQualityRefresh']
18
+
19
+ @pulumi.input_type
20
+ class DataQualityRefreshArgs:
21
+ def __init__(__self__, *,
22
+ object_id: pulumi.Input[_builtins.str],
23
+ object_type: pulumi.Input[_builtins.str]):
24
+ """
25
+ The set of arguments for constructing a DataQualityRefresh resource.
26
+ :param pulumi.Input[_builtins.str] object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
27
+
28
+ Find the `schema_id` from either:
29
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
30
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
31
+
32
+ Find the `table_id` from either:
33
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
34
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
35
+ :param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: `schema`or `table`
36
+ """
37
+ pulumi.set(__self__, "object_id", object_id)
38
+ pulumi.set(__self__, "object_type", object_type)
39
+
40
+ @_builtins.property
41
+ @pulumi.getter(name="objectId")
42
+ def object_id(self) -> pulumi.Input[_builtins.str]:
43
+ """
44
+ The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
45
+
46
+ Find the `schema_id` from either:
47
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
48
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
49
+
50
+ Find the `table_id` from either:
51
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
52
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
53
+ """
54
+ return pulumi.get(self, "object_id")
55
+
56
+ @object_id.setter
57
+ def object_id(self, value: pulumi.Input[_builtins.str]):
58
+ pulumi.set(self, "object_id", value)
59
+
60
+ @_builtins.property
61
+ @pulumi.getter(name="objectType")
62
+ def object_type(self) -> pulumi.Input[_builtins.str]:
63
+ """
64
+ The type of the monitored object. Can be one of the following: `schema`or `table`
65
+ """
66
+ return pulumi.get(self, "object_type")
67
+
68
+ @object_type.setter
69
+ def object_type(self, value: pulumi.Input[_builtins.str]):
70
+ pulumi.set(self, "object_type", value)
71
+
72
+
73
+ @pulumi.input_type
74
+ class _DataQualityRefreshState:
75
+ def __init__(__self__, *,
76
+ end_time_ms: Optional[pulumi.Input[_builtins.int]] = None,
77
+ message: Optional[pulumi.Input[_builtins.str]] = None,
78
+ object_id: Optional[pulumi.Input[_builtins.str]] = None,
79
+ object_type: Optional[pulumi.Input[_builtins.str]] = None,
80
+ refresh_id: Optional[pulumi.Input[_builtins.int]] = None,
81
+ start_time_ms: Optional[pulumi.Input[_builtins.int]] = None,
82
+ state: Optional[pulumi.Input[_builtins.str]] = None,
83
+ trigger: Optional[pulumi.Input[_builtins.str]] = None):
84
+ """
85
+ Input properties used for looking up and filtering DataQualityRefresh resources.
86
+ :param pulumi.Input[_builtins.int] end_time_ms: (integer) - Time when the refresh ended (milliseconds since 1/1/1970 UTC)
87
+ :param pulumi.Input[_builtins.str] message: (string) - An optional message to give insight into the current state of the refresh (e.g. FAILURE messages)
88
+ :param pulumi.Input[_builtins.str] object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
89
+
90
+ Find the `schema_id` from either:
91
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
92
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
93
+
94
+ Find the `table_id` from either:
95
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
96
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
97
+ :param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: `schema`or `table`
98
+ :param pulumi.Input[_builtins.int] refresh_id: (integer) - Unique id of the refresh operation
99
+ :param pulumi.Input[_builtins.int] start_time_ms: (integer) - Time when the refresh started (milliseconds since 1/1/1970 UTC)
100
+ :param pulumi.Input[_builtins.str] state: (string) - The current state of the refresh. Possible values are: `MONITOR_REFRESH_STATE_CANCELED`, `MONITOR_REFRESH_STATE_FAILED`, `MONITOR_REFRESH_STATE_PENDING`, `MONITOR_REFRESH_STATE_RUNNING`, `MONITOR_REFRESH_STATE_SUCCESS`, `MONITOR_REFRESH_STATE_UNKNOWN`
101
+ :param pulumi.Input[_builtins.str] trigger: (string) - What triggered the refresh. Possible values are: `MONITOR_REFRESH_TRIGGER_DATA_CHANGE`, `MONITOR_REFRESH_TRIGGER_MANUAL`, `MONITOR_REFRESH_TRIGGER_SCHEDULE`, `MONITOR_REFRESH_TRIGGER_UNKNOWN`
102
+ """
103
+ if end_time_ms is not None:
104
+ pulumi.set(__self__, "end_time_ms", end_time_ms)
105
+ if message is not None:
106
+ pulumi.set(__self__, "message", message)
107
+ if object_id is not None:
108
+ pulumi.set(__self__, "object_id", object_id)
109
+ if object_type is not None:
110
+ pulumi.set(__self__, "object_type", object_type)
111
+ if refresh_id is not None:
112
+ pulumi.set(__self__, "refresh_id", refresh_id)
113
+ if start_time_ms is not None:
114
+ pulumi.set(__self__, "start_time_ms", start_time_ms)
115
+ if state is not None:
116
+ pulumi.set(__self__, "state", state)
117
+ if trigger is not None:
118
+ pulumi.set(__self__, "trigger", trigger)
119
+
120
+ @_builtins.property
121
+ @pulumi.getter(name="endTimeMs")
122
+ def end_time_ms(self) -> Optional[pulumi.Input[_builtins.int]]:
123
+ """
124
+ (integer) - Time when the refresh ended (milliseconds since 1/1/1970 UTC)
125
+ """
126
+ return pulumi.get(self, "end_time_ms")
127
+
128
+ @end_time_ms.setter
129
+ def end_time_ms(self, value: Optional[pulumi.Input[_builtins.int]]):
130
+ pulumi.set(self, "end_time_ms", value)
131
+
132
+ @_builtins.property
133
+ @pulumi.getter
134
+ def message(self) -> Optional[pulumi.Input[_builtins.str]]:
135
+ """
136
+ (string) - An optional message to give insight into the current state of the refresh (e.g. FAILURE messages)
137
+ """
138
+ return pulumi.get(self, "message")
139
+
140
+ @message.setter
141
+ def message(self, value: Optional[pulumi.Input[_builtins.str]]):
142
+ pulumi.set(self, "message", value)
143
+
144
+ @_builtins.property
145
+ @pulumi.getter(name="objectId")
146
+ def object_id(self) -> Optional[pulumi.Input[_builtins.str]]:
147
+ """
148
+ The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
149
+
150
+ Find the `schema_id` from either:
151
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
152
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
153
+
154
+ Find the `table_id` from either:
155
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
156
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
157
+ """
158
+ return pulumi.get(self, "object_id")
159
+
160
+ @object_id.setter
161
+ def object_id(self, value: Optional[pulumi.Input[_builtins.str]]):
162
+ pulumi.set(self, "object_id", value)
163
+
164
+ @_builtins.property
165
+ @pulumi.getter(name="objectType")
166
+ def object_type(self) -> Optional[pulumi.Input[_builtins.str]]:
167
+ """
168
+ The type of the monitored object. Can be one of the following: `schema`or `table`
169
+ """
170
+ return pulumi.get(self, "object_type")
171
+
172
+ @object_type.setter
173
+ def object_type(self, value: Optional[pulumi.Input[_builtins.str]]):
174
+ pulumi.set(self, "object_type", value)
175
+
176
+ @_builtins.property
177
+ @pulumi.getter(name="refreshId")
178
+ def refresh_id(self) -> Optional[pulumi.Input[_builtins.int]]:
179
+ """
180
+ (integer) - Unique id of the refresh operation
181
+ """
182
+ return pulumi.get(self, "refresh_id")
183
+
184
+ @refresh_id.setter
185
+ def refresh_id(self, value: Optional[pulumi.Input[_builtins.int]]):
186
+ pulumi.set(self, "refresh_id", value)
187
+
188
+ @_builtins.property
189
+ @pulumi.getter(name="startTimeMs")
190
+ def start_time_ms(self) -> Optional[pulumi.Input[_builtins.int]]:
191
+ """
192
+ (integer) - Time when the refresh started (milliseconds since 1/1/1970 UTC)
193
+ """
194
+ return pulumi.get(self, "start_time_ms")
195
+
196
+ @start_time_ms.setter
197
+ def start_time_ms(self, value: Optional[pulumi.Input[_builtins.int]]):
198
+ pulumi.set(self, "start_time_ms", value)
199
+
200
+ @_builtins.property
201
+ @pulumi.getter
202
+ def state(self) -> Optional[pulumi.Input[_builtins.str]]:
203
+ """
204
+ (string) - The current state of the refresh. Possible values are: `MONITOR_REFRESH_STATE_CANCELED`, `MONITOR_REFRESH_STATE_FAILED`, `MONITOR_REFRESH_STATE_PENDING`, `MONITOR_REFRESH_STATE_RUNNING`, `MONITOR_REFRESH_STATE_SUCCESS`, `MONITOR_REFRESH_STATE_UNKNOWN`
205
+ """
206
+ return pulumi.get(self, "state")
207
+
208
+ @state.setter
209
+ def state(self, value: Optional[pulumi.Input[_builtins.str]]):
210
+ pulumi.set(self, "state", value)
211
+
212
+ @_builtins.property
213
+ @pulumi.getter
214
+ def trigger(self) -> Optional[pulumi.Input[_builtins.str]]:
215
+ """
216
+ (string) - What triggered the refresh. Possible values are: `MONITOR_REFRESH_TRIGGER_DATA_CHANGE`, `MONITOR_REFRESH_TRIGGER_MANUAL`, `MONITOR_REFRESH_TRIGGER_SCHEDULE`, `MONITOR_REFRESH_TRIGGER_UNKNOWN`
217
+ """
218
+ return pulumi.get(self, "trigger")
219
+
220
+ @trigger.setter
221
+ def trigger(self, value: Optional[pulumi.Input[_builtins.str]]):
222
+ pulumi.set(self, "trigger", value)
223
+
224
+
225
+ @pulumi.type_token("databricks:index/dataQualityRefresh:DataQualityRefresh")
226
+ class DataQualityRefresh(pulumi.CustomResource):
227
+ @overload
228
+ def __init__(__self__,
229
+ resource_name: str,
230
+ opts: Optional[pulumi.ResourceOptions] = None,
231
+ object_id: Optional[pulumi.Input[_builtins.str]] = None,
232
+ object_type: Optional[pulumi.Input[_builtins.str]] = None,
233
+ __props__=None):
234
+ """
235
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
236
+
237
+ This resource allows you to refresh the data quality monitoring checks on Unity Catalog tables.
238
+
239
+ You must either:
240
+ 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on the table's parent schema, and have **SELECT** access on the table
241
+ 2. have **USE_CATALOG** on the table's parent catalog, be an owner of the table's parent schema, and have **SELECT** access on the table.
242
+ 3. have the following permissions:
243
+ - **USE_CATALOG** on the table's parent catalog
244
+ - **USE_SCHEMA** on the table's parent schema
245
+ - be an owner of the table.
246
+
247
+ > **Note** This resource can only be used with a workspace-level provider!
248
+
249
+ ## Example Usage
250
+
251
+ ## Import
252
+
253
+ As of Pulumi v1.5, resources can be imported through configuration.
254
+
255
+ hcl
256
+
257
+ import {
258
+
259
+ id = "object_type,object_id,refresh_id"
260
+
261
+ to = databricks_data_quality_refresh.this
262
+
263
+ }
264
+
265
+ If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
266
+
267
+ ```sh
268
+ $ pulumi import databricks:index/dataQualityRefresh:DataQualityRefresh this "object_type,object_id,refresh_id"
269
+ ```
270
+
271
+ :param str resource_name: The name of the resource.
272
+ :param pulumi.ResourceOptions opts: Options for the resource.
273
+ :param pulumi.Input[_builtins.str] object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
274
+
275
+ Find the `schema_id` from either:
276
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
277
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
278
+
279
+ Find the `table_id` from either:
280
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
281
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
282
+ :param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: `schema`or `table`
283
+ """
284
+ ...
285
+ @overload
286
+ def __init__(__self__,
287
+ resource_name: str,
288
+ args: DataQualityRefreshArgs,
289
+ opts: Optional[pulumi.ResourceOptions] = None):
290
+ """
291
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
292
+
293
+ This resource allows you to refresh the data quality monitoring checks on Unity Catalog tables.
294
+
295
+ You must either:
296
+ 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on the table's parent schema, and have **SELECT** access on the table
297
+ 2. have **USE_CATALOG** on the table's parent catalog, be an owner of the table's parent schema, and have **SELECT** access on the table.
298
+ 3. have the following permissions:
299
+ - **USE_CATALOG** on the table's parent catalog
300
+ - **USE_SCHEMA** on the table's parent schema
301
+ - be an owner of the table.
302
+
303
+ > **Note** This resource can only be used with a workspace-level provider!
304
+
305
+ ## Example Usage
306
+
307
+ ## Import
308
+
309
+ As of Pulumi v1.5, resources can be imported through configuration.
310
+
311
+ hcl
312
+
313
+ import {
314
+
315
+ id = "object_type,object_id,refresh_id"
316
+
317
+ to = databricks_data_quality_refresh.this
318
+
319
+ }
320
+
321
+ If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
322
+
323
+ ```sh
324
+ $ pulumi import databricks:index/dataQualityRefresh:DataQualityRefresh this "object_type,object_id,refresh_id"
325
+ ```
326
+
327
+ :param str resource_name: The name of the resource.
328
+ :param DataQualityRefreshArgs args: The arguments to use to populate this resource's properties.
329
+ :param pulumi.ResourceOptions opts: Options for the resource.
330
+ """
331
+ ...
332
+ def __init__(__self__, resource_name: str, *args, **kwargs):
333
+ resource_args, opts = _utilities.get_resource_args_opts(DataQualityRefreshArgs, pulumi.ResourceOptions, *args, **kwargs)
334
+ if resource_args is not None:
335
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
336
+ else:
337
+ __self__._internal_init(resource_name, *args, **kwargs)
338
+
339
+ def _internal_init(__self__,
340
+ resource_name: str,
341
+ opts: Optional[pulumi.ResourceOptions] = None,
342
+ object_id: Optional[pulumi.Input[_builtins.str]] = None,
343
+ object_type: Optional[pulumi.Input[_builtins.str]] = None,
344
+ __props__=None):
345
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
346
+ if not isinstance(opts, pulumi.ResourceOptions):
347
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
348
+ if opts.id is None:
349
+ if __props__ is not None:
350
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
351
+ __props__ = DataQualityRefreshArgs.__new__(DataQualityRefreshArgs)
352
+
353
+ if object_id is None and not opts.urn:
354
+ raise TypeError("Missing required property 'object_id'")
355
+ __props__.__dict__["object_id"] = object_id
356
+ if object_type is None and not opts.urn:
357
+ raise TypeError("Missing required property 'object_type'")
358
+ __props__.__dict__["object_type"] = object_type
359
+ __props__.__dict__["end_time_ms"] = None
360
+ __props__.__dict__["message"] = None
361
+ __props__.__dict__["refresh_id"] = None
362
+ __props__.__dict__["start_time_ms"] = None
363
+ __props__.__dict__["state"] = None
364
+ __props__.__dict__["trigger"] = None
365
+ super(DataQualityRefresh, __self__).__init__(
366
+ 'databricks:index/dataQualityRefresh:DataQualityRefresh',
367
+ resource_name,
368
+ __props__,
369
+ opts)
370
+
371
+ @staticmethod
372
+ def get(resource_name: str,
373
+ id: pulumi.Input[str],
374
+ opts: Optional[pulumi.ResourceOptions] = None,
375
+ end_time_ms: Optional[pulumi.Input[_builtins.int]] = None,
376
+ message: Optional[pulumi.Input[_builtins.str]] = None,
377
+ object_id: Optional[pulumi.Input[_builtins.str]] = None,
378
+ object_type: Optional[pulumi.Input[_builtins.str]] = None,
379
+ refresh_id: Optional[pulumi.Input[_builtins.int]] = None,
380
+ start_time_ms: Optional[pulumi.Input[_builtins.int]] = None,
381
+ state: Optional[pulumi.Input[_builtins.str]] = None,
382
+ trigger: Optional[pulumi.Input[_builtins.str]] = None) -> 'DataQualityRefresh':
383
+ """
384
+ Get an existing DataQualityRefresh resource's state with the given name, id, and optional extra
385
+ properties used to qualify the lookup.
386
+
387
+ :param str resource_name: The unique name of the resulting resource.
388
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
389
+ :param pulumi.ResourceOptions opts: Options for the resource.
390
+ :param pulumi.Input[_builtins.int] end_time_ms: (integer) - Time when the refresh ended (milliseconds since 1/1/1970 UTC)
391
+ :param pulumi.Input[_builtins.str] message: (string) - An optional message to give insight into the current state of the refresh (e.g. FAILURE messages)
392
+ :param pulumi.Input[_builtins.str] object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
393
+
394
+ Find the `schema_id` from either:
395
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
396
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
397
+
398
+ Find the `table_id` from either:
399
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
400
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
401
+ :param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: `schema`or `table`
402
+ :param pulumi.Input[_builtins.int] refresh_id: (integer) - Unique id of the refresh operation
403
+ :param pulumi.Input[_builtins.int] start_time_ms: (integer) - Time when the refresh started (milliseconds since 1/1/1970 UTC)
404
+ :param pulumi.Input[_builtins.str] state: (string) - The current state of the refresh. Possible values are: `MONITOR_REFRESH_STATE_CANCELED`, `MONITOR_REFRESH_STATE_FAILED`, `MONITOR_REFRESH_STATE_PENDING`, `MONITOR_REFRESH_STATE_RUNNING`, `MONITOR_REFRESH_STATE_SUCCESS`, `MONITOR_REFRESH_STATE_UNKNOWN`
405
+ :param pulumi.Input[_builtins.str] trigger: (string) - What triggered the refresh. Possible values are: `MONITOR_REFRESH_TRIGGER_DATA_CHANGE`, `MONITOR_REFRESH_TRIGGER_MANUAL`, `MONITOR_REFRESH_TRIGGER_SCHEDULE`, `MONITOR_REFRESH_TRIGGER_UNKNOWN`
406
+ """
407
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
408
+
409
+ __props__ = _DataQualityRefreshState.__new__(_DataQualityRefreshState)
410
+
411
+ __props__.__dict__["end_time_ms"] = end_time_ms
412
+ __props__.__dict__["message"] = message
413
+ __props__.__dict__["object_id"] = object_id
414
+ __props__.__dict__["object_type"] = object_type
415
+ __props__.__dict__["refresh_id"] = refresh_id
416
+ __props__.__dict__["start_time_ms"] = start_time_ms
417
+ __props__.__dict__["state"] = state
418
+ __props__.__dict__["trigger"] = trigger
419
+ return DataQualityRefresh(resource_name, opts=opts, __props__=__props__)
420
+
421
+ @_builtins.property
422
+ @pulumi.getter(name="endTimeMs")
423
+ def end_time_ms(self) -> pulumi.Output[_builtins.int]:
424
+ """
425
+ (integer) - Time when the refresh ended (milliseconds since 1/1/1970 UTC)
426
+ """
427
+ return pulumi.get(self, "end_time_ms")
428
+
429
+ @_builtins.property
430
+ @pulumi.getter
431
+ def message(self) -> pulumi.Output[_builtins.str]:
432
+ """
433
+ (string) - An optional message to give insight into the current state of the refresh (e.g. FAILURE messages)
434
+ """
435
+ return pulumi.get(self, "message")
436
+
437
+ @_builtins.property
438
+ @pulumi.getter(name="objectId")
439
+ def object_id(self) -> pulumi.Output[_builtins.str]:
440
+ """
441
+ The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
442
+
443
+ Find the `schema_id` from either:
444
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
445
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
446
+
447
+ Find the `table_id` from either:
448
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
449
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
450
+ """
451
+ return pulumi.get(self, "object_id")
452
+
453
+ @_builtins.property
454
+ @pulumi.getter(name="objectType")
455
+ def object_type(self) -> pulumi.Output[_builtins.str]:
456
+ """
457
+ The type of the monitored object. Can be one of the following: `schema`or `table`
458
+ """
459
+ return pulumi.get(self, "object_type")
460
+
461
+ @_builtins.property
462
+ @pulumi.getter(name="refreshId")
463
+ def refresh_id(self) -> pulumi.Output[_builtins.int]:
464
+ """
465
+ (integer) - Unique id of the refresh operation
466
+ """
467
+ return pulumi.get(self, "refresh_id")
468
+
469
+ @_builtins.property
470
+ @pulumi.getter(name="startTimeMs")
471
+ def start_time_ms(self) -> pulumi.Output[_builtins.int]:
472
+ """
473
+ (integer) - Time when the refresh started (milliseconds since 1/1/1970 UTC)
474
+ """
475
+ return pulumi.get(self, "start_time_ms")
476
+
477
+ @_builtins.property
478
+ @pulumi.getter
479
+ def state(self) -> pulumi.Output[_builtins.str]:
480
+ """
481
+ (string) - The current state of the refresh. Possible values are: `MONITOR_REFRESH_STATE_CANCELED`, `MONITOR_REFRESH_STATE_FAILED`, `MONITOR_REFRESH_STATE_PENDING`, `MONITOR_REFRESH_STATE_RUNNING`, `MONITOR_REFRESH_STATE_SUCCESS`, `MONITOR_REFRESH_STATE_UNKNOWN`
482
+ """
483
+ return pulumi.get(self, "state")
484
+
485
+ @_builtins.property
486
+ @pulumi.getter
487
+ def trigger(self) -> pulumi.Output[_builtins.str]:
488
+ """
489
+ (string) - What triggered the refresh. Possible values are: `MONITOR_REFRESH_TRIGGER_DATA_CHANGE`, `MONITOR_REFRESH_TRIGGER_MANUAL`, `MONITOR_REFRESH_TRIGGER_SCHEDULE`, `MONITOR_REFRESH_TRIGGER_UNKNOWN`
490
+ """
491
+ return pulumi.get(self, "trigger")
492
+
@@ -178,6 +178,8 @@ class DatabaseDatabaseCatalog(pulumi.CustomResource):
178
178
  name: Optional[pulumi.Input[_builtins.str]] = None,
179
179
  __props__=None):
180
180
  """
181
+ [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
182
+
181
183
  Database Catalogs are databases inside a Lakebase Database Instance which are synced into a Postgres Catalog inside Unity Catalog.
182
184
 
183
185
  ## Example Usage
@@ -230,7 +232,7 @@ class DatabaseDatabaseCatalog(pulumi.CustomResource):
230
232
 
231
233
  import {
232
234
 
233
- id = name
235
+ id = "name"
234
236
 
235
237
  to = databricks_database_database_catalog.this
236
238
 
@@ -239,7 +241,7 @@ class DatabaseDatabaseCatalog(pulumi.CustomResource):
239
241
  If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
240
242
 
241
243
  ```sh
242
- $ pulumi import databricks:index/databaseDatabaseCatalog:DatabaseDatabaseCatalog databricks_database_database_catalog name
244
+ $ pulumi import databricks:index/databaseDatabaseCatalog:DatabaseDatabaseCatalog this "name"
243
245
  ```
244
246
 
245
247
  :param str resource_name: The name of the resource.
@@ -255,6 +257,8 @@ class DatabaseDatabaseCatalog(pulumi.CustomResource):
255
257
  args: DatabaseDatabaseCatalogArgs,
256
258
  opts: Optional[pulumi.ResourceOptions] = None):
257
259
  """
260
+ [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
261
+
258
262
  Database Catalogs are databases inside a Lakebase Database Instance which are synced into a Postgres Catalog inside Unity Catalog.
259
263
 
260
264
  ## Example Usage
@@ -307,7 +311,7 @@ class DatabaseDatabaseCatalog(pulumi.CustomResource):
307
311
 
308
312
  import {
309
313
 
310
- id = name
314
+ id = "name"
311
315
 
312
316
  to = databricks_database_database_catalog.this
313
317
 
@@ -316,7 +320,7 @@ class DatabaseDatabaseCatalog(pulumi.CustomResource):
316
320
  If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
317
321
 
318
322
  ```sh
319
- $ pulumi import databricks:index/databaseDatabaseCatalog:DatabaseDatabaseCatalog databricks_database_database_catalog name
323
+ $ pulumi import databricks:index/databaseDatabaseCatalog:DatabaseDatabaseCatalog this "name"
320
324
  ```
321
325
 
322
326
  :param str resource_name: The name of the resource.