pulumi-databricks 1.77.0a1761975834__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.0a1761975834.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.0a1761975834.dist-info/RECORD +0 -250
  175. {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
  176. {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,453 @@
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__ = ['DataQualityMonitorArgs', 'DataQualityMonitor']
20
+
21
+ @pulumi.input_type
22
+ class DataQualityMonitorArgs:
23
+ def __init__(__self__, *,
24
+ object_id: pulumi.Input[_builtins.str],
25
+ object_type: pulumi.Input[_builtins.str],
26
+ anomaly_detection_config: Optional[pulumi.Input['DataQualityMonitorAnomalyDetectionConfigArgs']] = None,
27
+ data_profiling_config: Optional[pulumi.Input['DataQualityMonitorDataProfilingConfigArgs']] = None):
28
+ """
29
+ The set of arguments for constructing a DataQualityMonitor resource.
30
+ :param pulumi.Input[_builtins.str] object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
31
+
32
+ Find the `schema_id` from either:
33
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
34
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
35
+
36
+ Find the `table_id` from either:
37
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
38
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
39
+ :param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: `schema` or `table`
40
+ :param pulumi.Input['DataQualityMonitorAnomalyDetectionConfigArgs'] anomaly_detection_config: Anomaly Detection Configuration, applicable to `schema` object types
41
+ :param pulumi.Input['DataQualityMonitorDataProfilingConfigArgs'] data_profiling_config: Data Profiling Configuration, applicable to `table` object types. Exactly one `Analysis Configuration`
42
+ must be present
43
+ """
44
+ pulumi.set(__self__, "object_id", object_id)
45
+ pulumi.set(__self__, "object_type", object_type)
46
+ if anomaly_detection_config is not None:
47
+ pulumi.set(__self__, "anomaly_detection_config", anomaly_detection_config)
48
+ if data_profiling_config is not None:
49
+ pulumi.set(__self__, "data_profiling_config", data_profiling_config)
50
+
51
+ @_builtins.property
52
+ @pulumi.getter(name="objectId")
53
+ def object_id(self) -> pulumi.Input[_builtins.str]:
54
+ """
55
+ The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
56
+
57
+ Find the `schema_id` from either:
58
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
59
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
60
+
61
+ Find the `table_id` from either:
62
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
63
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
64
+ """
65
+ return pulumi.get(self, "object_id")
66
+
67
+ @object_id.setter
68
+ def object_id(self, value: pulumi.Input[_builtins.str]):
69
+ pulumi.set(self, "object_id", value)
70
+
71
+ @_builtins.property
72
+ @pulumi.getter(name="objectType")
73
+ def object_type(self) -> pulumi.Input[_builtins.str]:
74
+ """
75
+ The type of the monitored object. Can be one of the following: `schema` or `table`
76
+ """
77
+ return pulumi.get(self, "object_type")
78
+
79
+ @object_type.setter
80
+ def object_type(self, value: pulumi.Input[_builtins.str]):
81
+ pulumi.set(self, "object_type", value)
82
+
83
+ @_builtins.property
84
+ @pulumi.getter(name="anomalyDetectionConfig")
85
+ def anomaly_detection_config(self) -> Optional[pulumi.Input['DataQualityMonitorAnomalyDetectionConfigArgs']]:
86
+ """
87
+ Anomaly Detection Configuration, applicable to `schema` object types
88
+ """
89
+ return pulumi.get(self, "anomaly_detection_config")
90
+
91
+ @anomaly_detection_config.setter
92
+ def anomaly_detection_config(self, value: Optional[pulumi.Input['DataQualityMonitorAnomalyDetectionConfigArgs']]):
93
+ pulumi.set(self, "anomaly_detection_config", value)
94
+
95
+ @_builtins.property
96
+ @pulumi.getter(name="dataProfilingConfig")
97
+ def data_profiling_config(self) -> Optional[pulumi.Input['DataQualityMonitorDataProfilingConfigArgs']]:
98
+ """
99
+ Data Profiling Configuration, applicable to `table` object types. Exactly one `Analysis Configuration`
100
+ must be present
101
+ """
102
+ return pulumi.get(self, "data_profiling_config")
103
+
104
+ @data_profiling_config.setter
105
+ def data_profiling_config(self, value: Optional[pulumi.Input['DataQualityMonitorDataProfilingConfigArgs']]):
106
+ pulumi.set(self, "data_profiling_config", value)
107
+
108
+
109
+ @pulumi.input_type
110
+ class _DataQualityMonitorState:
111
+ def __init__(__self__, *,
112
+ anomaly_detection_config: Optional[pulumi.Input['DataQualityMonitorAnomalyDetectionConfigArgs']] = None,
113
+ data_profiling_config: Optional[pulumi.Input['DataQualityMonitorDataProfilingConfigArgs']] = None,
114
+ object_id: Optional[pulumi.Input[_builtins.str]] = None,
115
+ object_type: Optional[pulumi.Input[_builtins.str]] = None):
116
+ """
117
+ Input properties used for looking up and filtering DataQualityMonitor resources.
118
+ :param pulumi.Input['DataQualityMonitorAnomalyDetectionConfigArgs'] anomaly_detection_config: Anomaly Detection Configuration, applicable to `schema` object types
119
+ :param pulumi.Input['DataQualityMonitorDataProfilingConfigArgs'] data_profiling_config: Data Profiling Configuration, applicable to `table` object types. Exactly one `Analysis Configuration`
120
+ must be present
121
+ :param pulumi.Input[_builtins.str] object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
122
+
123
+ Find the `schema_id` from either:
124
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
125
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
126
+
127
+ Find the `table_id` from either:
128
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
129
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
130
+ :param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: `schema` or `table`
131
+ """
132
+ if anomaly_detection_config is not None:
133
+ pulumi.set(__self__, "anomaly_detection_config", anomaly_detection_config)
134
+ if data_profiling_config is not None:
135
+ pulumi.set(__self__, "data_profiling_config", data_profiling_config)
136
+ if object_id is not None:
137
+ pulumi.set(__self__, "object_id", object_id)
138
+ if object_type is not None:
139
+ pulumi.set(__self__, "object_type", object_type)
140
+
141
+ @_builtins.property
142
+ @pulumi.getter(name="anomalyDetectionConfig")
143
+ def anomaly_detection_config(self) -> Optional[pulumi.Input['DataQualityMonitorAnomalyDetectionConfigArgs']]:
144
+ """
145
+ Anomaly Detection Configuration, applicable to `schema` object types
146
+ """
147
+ return pulumi.get(self, "anomaly_detection_config")
148
+
149
+ @anomaly_detection_config.setter
150
+ def anomaly_detection_config(self, value: Optional[pulumi.Input['DataQualityMonitorAnomalyDetectionConfigArgs']]):
151
+ pulumi.set(self, "anomaly_detection_config", value)
152
+
153
+ @_builtins.property
154
+ @pulumi.getter(name="dataProfilingConfig")
155
+ def data_profiling_config(self) -> Optional[pulumi.Input['DataQualityMonitorDataProfilingConfigArgs']]:
156
+ """
157
+ Data Profiling Configuration, applicable to `table` object types. Exactly one `Analysis Configuration`
158
+ must be present
159
+ """
160
+ return pulumi.get(self, "data_profiling_config")
161
+
162
+ @data_profiling_config.setter
163
+ def data_profiling_config(self, value: Optional[pulumi.Input['DataQualityMonitorDataProfilingConfigArgs']]):
164
+ pulumi.set(self, "data_profiling_config", value)
165
+
166
+ @_builtins.property
167
+ @pulumi.getter(name="objectId")
168
+ def object_id(self) -> Optional[pulumi.Input[_builtins.str]]:
169
+ """
170
+ The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
171
+
172
+ Find the `schema_id` from either:
173
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
174
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
175
+
176
+ Find the `table_id` from either:
177
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
178
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
179
+ """
180
+ return pulumi.get(self, "object_id")
181
+
182
+ @object_id.setter
183
+ def object_id(self, value: Optional[pulumi.Input[_builtins.str]]):
184
+ pulumi.set(self, "object_id", value)
185
+
186
+ @_builtins.property
187
+ @pulumi.getter(name="objectType")
188
+ def object_type(self) -> Optional[pulumi.Input[_builtins.str]]:
189
+ """
190
+ The type of the monitored object. Can be one of the following: `schema` or `table`
191
+ """
192
+ return pulumi.get(self, "object_type")
193
+
194
+ @object_type.setter
195
+ def object_type(self, value: Optional[pulumi.Input[_builtins.str]]):
196
+ pulumi.set(self, "object_type", value)
197
+
198
+
199
+ @pulumi.type_token("databricks:index/dataQualityMonitor:DataQualityMonitor")
200
+ class DataQualityMonitor(pulumi.CustomResource):
201
+ @overload
202
+ def __init__(__self__,
203
+ resource_name: str,
204
+ opts: Optional[pulumi.ResourceOptions] = None,
205
+ anomaly_detection_config: Optional[pulumi.Input[Union['DataQualityMonitorAnomalyDetectionConfigArgs', 'DataQualityMonitorAnomalyDetectionConfigArgsDict']]] = None,
206
+ data_profiling_config: Optional[pulumi.Input[Union['DataQualityMonitorDataProfilingConfigArgs', 'DataQualityMonitorDataProfilingConfigArgsDict']]] = None,
207
+ object_id: Optional[pulumi.Input[_builtins.str]] = None,
208
+ object_type: Optional[pulumi.Input[_builtins.str]] = None,
209
+ __props__=None):
210
+ """
211
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
212
+
213
+ This resource allows you to set up data quality monitoring checks for Unity Catalog objects, currently schema and table.
214
+
215
+ For the `table` `object_type`, you must either:
216
+ 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
217
+ 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.
218
+ 3. have the following permissions:
219
+ - **USE_CATALOG** on the table's parent catalog
220
+ - **USE_SCHEMA** on the table's parent schema
221
+ - be an owner of the table.
222
+
223
+ > **Note** This resource can only be used with a workspace-level provider!
224
+
225
+ ## Example Usage
226
+
227
+ ```python
228
+ import pulumi
229
+ import pulumi_databricks as databricks
230
+
231
+ this = databricks.Schema("this",
232
+ catalog_name="my_catalog",
233
+ name="my_schema")
234
+ this_data_quality_monitor = databricks.DataQualityMonitor("this",
235
+ object_type="schema",
236
+ object_id=this.schema_id,
237
+ anomaly_detection_config={})
238
+ ```
239
+
240
+ ## Import
241
+
242
+ As of Pulumi v1.5, resources can be imported through configuration.
243
+
244
+ hcl
245
+
246
+ import {
247
+
248
+ id = "object_type,object_id"
249
+
250
+ to = databricks_data_quality_monitor.this
251
+
252
+ }
253
+
254
+ If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
255
+
256
+ ```sh
257
+ $ pulumi import databricks:index/dataQualityMonitor:DataQualityMonitor this "object_type,object_id"
258
+ ```
259
+
260
+ :param str resource_name: The name of the resource.
261
+ :param pulumi.ResourceOptions opts: Options for the resource.
262
+ :param pulumi.Input[Union['DataQualityMonitorAnomalyDetectionConfigArgs', 'DataQualityMonitorAnomalyDetectionConfigArgsDict']] anomaly_detection_config: Anomaly Detection Configuration, applicable to `schema` object types
263
+ :param pulumi.Input[Union['DataQualityMonitorDataProfilingConfigArgs', 'DataQualityMonitorDataProfilingConfigArgsDict']] data_profiling_config: Data Profiling Configuration, applicable to `table` object types. Exactly one `Analysis Configuration`
264
+ must be present
265
+ :param pulumi.Input[_builtins.str] object_id: The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
266
+
267
+ Find the `schema_id` from either:
268
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
269
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
270
+
271
+ Find the `table_id` from either:
272
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
273
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
274
+ :param pulumi.Input[_builtins.str] object_type: The type of the monitored object. Can be one of the following: `schema` or `table`
275
+ """
276
+ ...
277
+ @overload
278
+ def __init__(__self__,
279
+ resource_name: str,
280
+ args: DataQualityMonitorArgs,
281
+ opts: Optional[pulumi.ResourceOptions] = None):
282
+ """
283
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
284
+
285
+ This resource allows you to set up data quality monitoring checks for Unity Catalog objects, currently schema and table.
286
+
287
+ For the `table` `object_type`, you must either:
288
+ 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
289
+ 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.
290
+ 3. have the following permissions:
291
+ - **USE_CATALOG** on the table's parent catalog
292
+ - **USE_SCHEMA** on the table's parent schema
293
+ - be an owner of the table.
294
+
295
+ > **Note** This resource can only be used with a workspace-level provider!
296
+
297
+ ## Example Usage
298
+
299
+ ```python
300
+ import pulumi
301
+ import pulumi_databricks as databricks
302
+
303
+ this = databricks.Schema("this",
304
+ catalog_name="my_catalog",
305
+ name="my_schema")
306
+ this_data_quality_monitor = databricks.DataQualityMonitor("this",
307
+ object_type="schema",
308
+ object_id=this.schema_id,
309
+ anomaly_detection_config={})
310
+ ```
311
+
312
+ ## Import
313
+
314
+ As of Pulumi v1.5, resources can be imported through configuration.
315
+
316
+ hcl
317
+
318
+ import {
319
+
320
+ id = "object_type,object_id"
321
+
322
+ to = databricks_data_quality_monitor.this
323
+
324
+ }
325
+
326
+ If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
327
+
328
+ ```sh
329
+ $ pulumi import databricks:index/dataQualityMonitor:DataQualityMonitor this "object_type,object_id"
330
+ ```
331
+
332
+ :param str resource_name: The name of the resource.
333
+ :param DataQualityMonitorArgs args: The arguments to use to populate this resource's properties.
334
+ :param pulumi.ResourceOptions opts: Options for the resource.
335
+ """
336
+ ...
337
+ def __init__(__self__, resource_name: str, *args, **kwargs):
338
+ resource_args, opts = _utilities.get_resource_args_opts(DataQualityMonitorArgs, pulumi.ResourceOptions, *args, **kwargs)
339
+ if resource_args is not None:
340
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
341
+ else:
342
+ __self__._internal_init(resource_name, *args, **kwargs)
343
+
344
+ def _internal_init(__self__,
345
+ resource_name: str,
346
+ opts: Optional[pulumi.ResourceOptions] = None,
347
+ anomaly_detection_config: Optional[pulumi.Input[Union['DataQualityMonitorAnomalyDetectionConfigArgs', 'DataQualityMonitorAnomalyDetectionConfigArgsDict']]] = None,
348
+ data_profiling_config: Optional[pulumi.Input[Union['DataQualityMonitorDataProfilingConfigArgs', 'DataQualityMonitorDataProfilingConfigArgsDict']]] = None,
349
+ object_id: Optional[pulumi.Input[_builtins.str]] = None,
350
+ object_type: Optional[pulumi.Input[_builtins.str]] = None,
351
+ __props__=None):
352
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
353
+ if not isinstance(opts, pulumi.ResourceOptions):
354
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
355
+ if opts.id is None:
356
+ if __props__ is not None:
357
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
358
+ __props__ = DataQualityMonitorArgs.__new__(DataQualityMonitorArgs)
359
+
360
+ __props__.__dict__["anomaly_detection_config"] = anomaly_detection_config
361
+ __props__.__dict__["data_profiling_config"] = data_profiling_config
362
+ if object_id is None and not opts.urn:
363
+ raise TypeError("Missing required property 'object_id'")
364
+ __props__.__dict__["object_id"] = object_id
365
+ if object_type is None and not opts.urn:
366
+ raise TypeError("Missing required property 'object_type'")
367
+ __props__.__dict__["object_type"] = object_type
368
+ super(DataQualityMonitor, __self__).__init__(
369
+ 'databricks:index/dataQualityMonitor:DataQualityMonitor',
370
+ resource_name,
371
+ __props__,
372
+ opts)
373
+
374
+ @staticmethod
375
+ def get(resource_name: str,
376
+ id: pulumi.Input[str],
377
+ opts: Optional[pulumi.ResourceOptions] = None,
378
+ anomaly_detection_config: Optional[pulumi.Input[Union['DataQualityMonitorAnomalyDetectionConfigArgs', 'DataQualityMonitorAnomalyDetectionConfigArgsDict']]] = None,
379
+ data_profiling_config: Optional[pulumi.Input[Union['DataQualityMonitorDataProfilingConfigArgs', 'DataQualityMonitorDataProfilingConfigArgsDict']]] = None,
380
+ object_id: Optional[pulumi.Input[_builtins.str]] = None,
381
+ object_type: Optional[pulumi.Input[_builtins.str]] = None) -> 'DataQualityMonitor':
382
+ """
383
+ Get an existing DataQualityMonitor resource's state with the given name, id, and optional extra
384
+ properties used to qualify the lookup.
385
+
386
+ :param str resource_name: The unique name of the resulting resource.
387
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
388
+ :param pulumi.ResourceOptions opts: Options for the resource.
389
+ :param pulumi.Input[Union['DataQualityMonitorAnomalyDetectionConfigArgs', 'DataQualityMonitorAnomalyDetectionConfigArgsDict']] anomaly_detection_config: Anomaly Detection Configuration, applicable to `schema` object types
390
+ :param pulumi.Input[Union['DataQualityMonitorDataProfilingConfigArgs', 'DataQualityMonitorDataProfilingConfigArgsDict']] data_profiling_config: Data Profiling Configuration, applicable to `table` object types. Exactly one `Analysis Configuration`
391
+ must be present
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
+ """
403
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
404
+
405
+ __props__ = _DataQualityMonitorState.__new__(_DataQualityMonitorState)
406
+
407
+ __props__.__dict__["anomaly_detection_config"] = anomaly_detection_config
408
+ __props__.__dict__["data_profiling_config"] = data_profiling_config
409
+ __props__.__dict__["object_id"] = object_id
410
+ __props__.__dict__["object_type"] = object_type
411
+ return DataQualityMonitor(resource_name, opts=opts, __props__=__props__)
412
+
413
+ @_builtins.property
414
+ @pulumi.getter(name="anomalyDetectionConfig")
415
+ def anomaly_detection_config(self) -> pulumi.Output[Optional['outputs.DataQualityMonitorAnomalyDetectionConfig']]:
416
+ """
417
+ Anomaly Detection Configuration, applicable to `schema` object types
418
+ """
419
+ return pulumi.get(self, "anomaly_detection_config")
420
+
421
+ @_builtins.property
422
+ @pulumi.getter(name="dataProfilingConfig")
423
+ def data_profiling_config(self) -> pulumi.Output[Optional['outputs.DataQualityMonitorDataProfilingConfig']]:
424
+ """
425
+ Data Profiling Configuration, applicable to `table` object types. Exactly one `Analysis Configuration`
426
+ must be present
427
+ """
428
+ return pulumi.get(self, "data_profiling_config")
429
+
430
+ @_builtins.property
431
+ @pulumi.getter(name="objectId")
432
+ def object_id(self) -> pulumi.Output[_builtins.str]:
433
+ """
434
+ The UUID of the request object. It is `schema_id` for `schema`, and `table_id` for `table`.
435
+
436
+ Find the `schema_id` from either:
437
+ 1. The [schema_id](https://docs.databricks.com/api/workspace/schemas/get#schema_id) of the `Schemas` resource.
438
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `schema` > go to the `Details` tab > the `Schema ID` field.
439
+
440
+ Find the `table_id` from either:
441
+ 1. The [table_id](https://docs.databricks.com/api/workspace/tables/get#table_id) of the `Tables` resource.
442
+ 2. In [Catalog Explorer](https://docs.databricks.com/aws/en/catalog-explorer/) > select the `table` > go to the `Details` tab > the `Table ID` field
443
+ """
444
+ return pulumi.get(self, "object_id")
445
+
446
+ @_builtins.property
447
+ @pulumi.getter(name="objectType")
448
+ def object_type(self) -> pulumi.Output[_builtins.str]:
449
+ """
450
+ The type of the monitored object. Can be one of the following: `schema` or `table`
451
+ """
452
+ return pulumi.get(self, "object_type")
453
+