pulumi-databricks 1.77.0a1761975834__py3-none-any.whl → 1.79.0a1764888194__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.

Potentially problematic release.


This version of pulumi-databricks might be problematic. Click here for more details.

Files changed (176) hide show
  1. pulumi_databricks/__init__.py +54 -46
  2. pulumi_databricks/_inputs.py +19547 -26284
  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 +111 -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 +568 -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 +52 -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 +11558 -13079
  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 +354 -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.0a1761975834.dist-info → pulumi_databricks-1.79.0a1764888194.dist-info}/METADATA +1 -1
  159. pulumi_databricks-1.79.0a1764888194.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.0a1761975834.dist-info/RECORD +0 -250
  175. {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1764888194.dist-info}/WHEEL +0 -0
  176. {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1764888194.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,568 @@
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
+ ```python
252
+ import pulumi
253
+ import pulumi_databricks as databricks
254
+
255
+ sandbox = databricks.Catalog("sandbox",
256
+ name="sandbox",
257
+ comment="this catalog is managed by terraform",
258
+ properties={
259
+ "purpose": "testing",
260
+ })
261
+ my_test_schema = databricks.Schema("myTestSchema",
262
+ catalog_name=sandbox.id,
263
+ name="myTestSchema",
264
+ comment="this database is managed by terraform",
265
+ properties={
266
+ "kind": "various",
267
+ })
268
+ my_test_table = databricks.SqlTable("myTestTable",
269
+ catalog_name="main",
270
+ schema_name=my_test_schema.name,
271
+ name="bar",
272
+ table_type="MANAGED",
273
+ data_source_format="DELTA",
274
+ columns=[{
275
+ "name": "timestamp",
276
+ "type": "int",
277
+ }])
278
+ this = databricks.DataQualityMonitor("this",
279
+ object_type="table",
280
+ object_id=my_test_table.id,
281
+ data_profiling_config={
282
+ "output_schema": my_test_schema.schema_id,
283
+ })
284
+ this_data_quality_refresh = databricks.DataQualityRefresh("this",
285
+ object_type="table",
286
+ object_id=my_test_table.id)
287
+ ```
288
+
289
+ ## Import
290
+
291
+ As of Pulumi v1.5, resources can be imported through configuration.
292
+
293
+ hcl
294
+
295
+ import {
296
+
297
+ id = "object_type,object_id,refresh_id"
298
+
299
+ to = databricks_data_quality_refresh.this
300
+
301
+ }
302
+
303
+ If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
304
+
305
+ ```sh
306
+ $ pulumi import databricks:index/dataQualityRefresh:DataQualityRefresh this "object_type,object_id,refresh_id"
307
+ ```
308
+
309
+ :param str resource_name: The name of the resource.
310
+ :param pulumi.ResourceOptions opts: Options for the resource.
311
+ :param pulumi.Input[_builtins.str] object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
312
+
313
+ Find the `schema_id` from either:
314
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
315
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
316
+
317
+ Find the `table_id` from either:
318
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
319
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
320
+ :param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: `schema`or `table`
321
+ """
322
+ ...
323
+ @overload
324
+ def __init__(__self__,
325
+ resource_name: str,
326
+ args: DataQualityRefreshArgs,
327
+ opts: Optional[pulumi.ResourceOptions] = None):
328
+ """
329
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
330
+
331
+ This resource allows you to refresh the data quality monitoring checks on Unity Catalog tables.
332
+
333
+ You must either:
334
+ 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
335
+ 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.
336
+ 3. have the following permissions:
337
+ - **USE_CATALOG** on the table's parent catalog
338
+ - **USE_SCHEMA** on the table's parent schema
339
+ - be an owner of the table.
340
+
341
+ > **Note** This resource can only be used with a workspace-level provider!
342
+
343
+ ## Example Usage
344
+
345
+ ```python
346
+ import pulumi
347
+ import pulumi_databricks as databricks
348
+
349
+ sandbox = databricks.Catalog("sandbox",
350
+ name="sandbox",
351
+ comment="this catalog is managed by terraform",
352
+ properties={
353
+ "purpose": "testing",
354
+ })
355
+ my_test_schema = databricks.Schema("myTestSchema",
356
+ catalog_name=sandbox.id,
357
+ name="myTestSchema",
358
+ comment="this database is managed by terraform",
359
+ properties={
360
+ "kind": "various",
361
+ })
362
+ my_test_table = databricks.SqlTable("myTestTable",
363
+ catalog_name="main",
364
+ schema_name=my_test_schema.name,
365
+ name="bar",
366
+ table_type="MANAGED",
367
+ data_source_format="DELTA",
368
+ columns=[{
369
+ "name": "timestamp",
370
+ "type": "int",
371
+ }])
372
+ this = databricks.DataQualityMonitor("this",
373
+ object_type="table",
374
+ object_id=my_test_table.id,
375
+ data_profiling_config={
376
+ "output_schema": my_test_schema.schema_id,
377
+ })
378
+ this_data_quality_refresh = databricks.DataQualityRefresh("this",
379
+ object_type="table",
380
+ object_id=my_test_table.id)
381
+ ```
382
+
383
+ ## Import
384
+
385
+ As of Pulumi v1.5, resources can be imported through configuration.
386
+
387
+ hcl
388
+
389
+ import {
390
+
391
+ id = "object_type,object_id,refresh_id"
392
+
393
+ to = databricks_data_quality_refresh.this
394
+
395
+ }
396
+
397
+ If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
398
+
399
+ ```sh
400
+ $ pulumi import databricks:index/dataQualityRefresh:DataQualityRefresh this "object_type,object_id,refresh_id"
401
+ ```
402
+
403
+ :param str resource_name: The name of the resource.
404
+ :param DataQualityRefreshArgs args: The arguments to use to populate this resource's properties.
405
+ :param pulumi.ResourceOptions opts: Options for the resource.
406
+ """
407
+ ...
408
+ def __init__(__self__, resource_name: str, *args, **kwargs):
409
+ resource_args, opts = _utilities.get_resource_args_opts(DataQualityRefreshArgs, pulumi.ResourceOptions, *args, **kwargs)
410
+ if resource_args is not None:
411
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
412
+ else:
413
+ __self__._internal_init(resource_name, *args, **kwargs)
414
+
415
+ def _internal_init(__self__,
416
+ resource_name: str,
417
+ opts: Optional[pulumi.ResourceOptions] = None,
418
+ object_id: Optional[pulumi.Input[_builtins.str]] = None,
419
+ object_type: Optional[pulumi.Input[_builtins.str]] = None,
420
+ __props__=None):
421
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
422
+ if not isinstance(opts, pulumi.ResourceOptions):
423
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
424
+ if opts.id is None:
425
+ if __props__ is not None:
426
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
427
+ __props__ = DataQualityRefreshArgs.__new__(DataQualityRefreshArgs)
428
+
429
+ if object_id is None and not opts.urn:
430
+ raise TypeError("Missing required property 'object_id'")
431
+ __props__.__dict__["object_id"] = object_id
432
+ if object_type is None and not opts.urn:
433
+ raise TypeError("Missing required property 'object_type'")
434
+ __props__.__dict__["object_type"] = object_type
435
+ __props__.__dict__["end_time_ms"] = None
436
+ __props__.__dict__["message"] = None
437
+ __props__.__dict__["refresh_id"] = None
438
+ __props__.__dict__["start_time_ms"] = None
439
+ __props__.__dict__["state"] = None
440
+ __props__.__dict__["trigger"] = None
441
+ super(DataQualityRefresh, __self__).__init__(
442
+ 'databricks:index/dataQualityRefresh:DataQualityRefresh',
443
+ resource_name,
444
+ __props__,
445
+ opts)
446
+
447
+ @staticmethod
448
+ def get(resource_name: str,
449
+ id: pulumi.Input[str],
450
+ opts: Optional[pulumi.ResourceOptions] = None,
451
+ end_time_ms: Optional[pulumi.Input[_builtins.int]] = None,
452
+ message: Optional[pulumi.Input[_builtins.str]] = None,
453
+ object_id: Optional[pulumi.Input[_builtins.str]] = None,
454
+ object_type: Optional[pulumi.Input[_builtins.str]] = None,
455
+ refresh_id: Optional[pulumi.Input[_builtins.int]] = None,
456
+ start_time_ms: Optional[pulumi.Input[_builtins.int]] = None,
457
+ state: Optional[pulumi.Input[_builtins.str]] = None,
458
+ trigger: Optional[pulumi.Input[_builtins.str]] = None) -> 'DataQualityRefresh':
459
+ """
460
+ Get an existing DataQualityRefresh resource's state with the given name, id, and optional extra
461
+ properties used to qualify the lookup.
462
+
463
+ :param str resource_name: The unique name of the resulting resource.
464
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
465
+ :param pulumi.ResourceOptions opts: Options for the resource.
466
+ :param pulumi.Input[_builtins.int] end_time_ms: (integer) - Time when the refresh ended (milliseconds since 1/1/1970 UTC)
467
+ :param pulumi.Input[_builtins.str] message: (string) - An optional message to give insight into the current state of the refresh (e.g. FAILURE messages)
468
+ :param pulumi.Input[_builtins.str] object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
469
+
470
+ Find the `schema_id` from either:
471
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
472
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
473
+
474
+ Find the `table_id` from either:
475
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
476
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
477
+ :param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: `schema`or `table`
478
+ :param pulumi.Input[_builtins.int] refresh_id: (integer) - Unique id of the refresh operation
479
+ :param pulumi.Input[_builtins.int] start_time_ms: (integer) - Time when the refresh started (milliseconds since 1/1/1970 UTC)
480
+ :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`
481
+ :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`
482
+ """
483
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
484
+
485
+ __props__ = _DataQualityRefreshState.__new__(_DataQualityRefreshState)
486
+
487
+ __props__.__dict__["end_time_ms"] = end_time_ms
488
+ __props__.__dict__["message"] = message
489
+ __props__.__dict__["object_id"] = object_id
490
+ __props__.__dict__["object_type"] = object_type
491
+ __props__.__dict__["refresh_id"] = refresh_id
492
+ __props__.__dict__["start_time_ms"] = start_time_ms
493
+ __props__.__dict__["state"] = state
494
+ __props__.__dict__["trigger"] = trigger
495
+ return DataQualityRefresh(resource_name, opts=opts, __props__=__props__)
496
+
497
+ @_builtins.property
498
+ @pulumi.getter(name="endTimeMs")
499
+ def end_time_ms(self) -> pulumi.Output[_builtins.int]:
500
+ """
501
+ (integer) - Time when the refresh ended (milliseconds since 1/1/1970 UTC)
502
+ """
503
+ return pulumi.get(self, "end_time_ms")
504
+
505
+ @_builtins.property
506
+ @pulumi.getter
507
+ def message(self) -> pulumi.Output[_builtins.str]:
508
+ """
509
+ (string) - An optional message to give insight into the current state of the refresh (e.g. FAILURE messages)
510
+ """
511
+ return pulumi.get(self, "message")
512
+
513
+ @_builtins.property
514
+ @pulumi.getter(name="objectId")
515
+ def object_id(self) -> pulumi.Output[_builtins.str]:
516
+ """
517
+ The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
518
+
519
+ Find the `schema_id` from either:
520
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
521
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
522
+
523
+ Find the `table_id` from either:
524
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
525
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
526
+ """
527
+ return pulumi.get(self, "object_id")
528
+
529
+ @_builtins.property
530
+ @pulumi.getter(name="objectType")
531
+ def object_type(self) -> pulumi.Output[_builtins.str]:
532
+ """
533
+ The type of the monitored object. Can be one of the following: `schema`or `table`
534
+ """
535
+ return pulumi.get(self, "object_type")
536
+
537
+ @_builtins.property
538
+ @pulumi.getter(name="refreshId")
539
+ def refresh_id(self) -> pulumi.Output[_builtins.int]:
540
+ """
541
+ (integer) - Unique id of the refresh operation
542
+ """
543
+ return pulumi.get(self, "refresh_id")
544
+
545
+ @_builtins.property
546
+ @pulumi.getter(name="startTimeMs")
547
+ def start_time_ms(self) -> pulumi.Output[_builtins.int]:
548
+ """
549
+ (integer) - Time when the refresh started (milliseconds since 1/1/1970 UTC)
550
+ """
551
+ return pulumi.get(self, "start_time_ms")
552
+
553
+ @_builtins.property
554
+ @pulumi.getter
555
+ def state(self) -> pulumi.Output[_builtins.str]:
556
+ """
557
+ (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`
558
+ """
559
+ return pulumi.get(self, "state")
560
+
561
+ @_builtins.property
562
+ @pulumi.getter
563
+ def trigger(self) -> pulumi.Output[_builtins.str]:
564
+ """
565
+ (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`
566
+ """
567
+ return pulumi.get(self, "trigger")
568
+