44import com .databricks .sdk .support .Generated ;
55
66/**
7- * A monitor computes and monitors data or model quality metrics for a table over time. It generates
8- * metrics tables and a dashboard that you can use to monitor table health and set alerts. Most
9- * write operations require the user to be the owner of the table (or its parent schema or parent
10- * catalog). Viewing the dashboard, computed metrics, or monitor configuration only requires the
11- * user to have **SELECT** privileges on the table (along with **USE_SCHEMA** and **USE_CATALOG**).
7+ * [DEPRECATED] This API is deprecated. Please use the Data Quality Monitors API instead (REST:
8+ * /api/data-quality/v1/monitors), which manages both Data Profiling and Anomaly Detection.
9+ *
10+ * <p>A monitor computes and monitors data or model quality metrics for a table over time. It
11+ * generates metrics tables and a dashboard that you can use to monitor table health and set alerts.
12+ * Most write operations require the user to be the owner of the table (or its parent schema or
13+ * parent catalog). Viewing the dashboard, computed metrics, or monitor configuration only requires
14+ * the user to have **SELECT** privileges on the table (along with **USE_SCHEMA** and
15+ * **USE_CATALOG**).
1216 *
1317 * <p>This is the high-level interface, that contains generated methods.
1418 *
1519 * <p>Evolving: this interface is under development. Method signatures may change.
1620 */
1721@ Generated
1822public interface QualityMonitorsService {
19- /** Cancels an already-initiated refresh job. */
23+ /**
24+ * [DEPRECATED] Cancels an already-initiated refresh job. Use Data Quality Monitors API instead
25+ * (/api/data-quality/v1/monitors).
26+ */
2027 void cancelRefresh (CancelRefreshRequest cancelRefreshRequest );
2128
2229 /**
23- * Creates a new monitor for the specified table.
30+ * [DEPRECATED] Creates a new monitor for the specified table. Use Data Quality Monitors API
31+ * instead (/api/data-quality/v1/monitors).
2432 *
2533 * <p>The caller must either: 1. be an owner of the table's parent catalog, have **USE_SCHEMA** on
2634 * the table's parent schema, and have **SELECT** access on the table 2. have **USE_CATALOG** on
@@ -34,7 +42,8 @@ public interface QualityMonitorsService {
3442 MonitorInfo create (CreateMonitor createMonitor );
3543
3644 /**
37- * Deletes a monitor for the specified table.
45+ * [DEPRECATED] Deletes a monitor for the specified table. Use Data Quality Monitors API instead
46+ * (/api/data-quality/v1/monitors).
3847 *
3948 * <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
4049 * on the table's parent catalog and be an owner of the table's parent schema 3. have the
@@ -49,7 +58,8 @@ public interface QualityMonitorsService {
4958 DeleteMonitorResponse delete (DeleteQualityMonitorRequest deleteQualityMonitorRequest );
5059
5160 /**
52- * Gets a monitor for the specified table.
61+ * [DEPRECATED] Gets a monitor for the specified table. Use Data Quality Monitors API instead
62+ * (/api/data-quality/v1/monitors).
5363 *
5464 * <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
5565 * on the table's parent catalog and be an owner of the table's parent schema. 3. have the
@@ -63,7 +73,8 @@ public interface QualityMonitorsService {
6373 MonitorInfo get (GetQualityMonitorRequest getQualityMonitorRequest );
6474
6575 /**
66- * Gets info about a specific monitor refresh using the given refresh ID.
76+ * [DEPRECATED] Gets info about a specific monitor refresh using the given refresh ID. Use Data
77+ * Quality Monitors API instead (/api/data-quality/v1/monitors).
6778 *
6879 * <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
6980 * on the table's parent catalog and be an owner of the table's parent schema 3. have the
@@ -75,7 +86,8 @@ public interface QualityMonitorsService {
7586 MonitorRefreshInfo getRefresh (GetRefreshRequest getRefreshRequest );
7687
7788 /**
78- * Gets an array containing the history of the most recent refreshes (up to 25) for this table.
89+ * [DEPRECATED] Gets an array containing the history of the most recent refreshes (up to 25) for
90+ * this table. Use Data Quality Monitors API instead (/api/data-quality/v1/monitors).
7991 *
8092 * <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
8193 * on the table's parent catalog and be an owner of the table's parent schema 3. have the
@@ -87,7 +99,8 @@ public interface QualityMonitorsService {
8799 MonitorRefreshListResponse listRefreshes (ListRefreshesRequest listRefreshesRequest );
88100
89101 /**
90- * Regenerates the monitoring dashboard for the specified table.
102+ * [DEPRECATED] Regenerates the monitoring dashboard for the specified table. Use Data Quality
103+ * Monitors API instead (/api/data-quality/v1/monitors).
91104 *
92105 * <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
93106 * on the table's parent catalog and be an owner of the table's parent schema 3. have the
@@ -101,7 +114,8 @@ RegenerateDashboardResponse regenerateDashboard(
101114 RegenerateDashboardRequest regenerateDashboardRequest );
102115
103116 /**
104- * Queues a metric refresh on the monitor for the specified table. The refresh will execute in the
117+ * [DEPRECATED] Queues a metric refresh on the monitor for the specified table. Use Data Quality
118+ * Monitors API instead (/api/data-quality/v1/monitors). The refresh will execute in the
105119 * background.
106120 *
107121 * <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
@@ -114,7 +128,8 @@ RegenerateDashboardResponse regenerateDashboard(
114128 MonitorRefreshInfo runRefresh (RunRefreshRequest runRefreshRequest );
115129
116130 /**
117- * Updates a monitor for the specified table.
131+ * [DEPRECATED] Updates a monitor for the specified table. Use Data Quality Monitors API instead
132+ * (/api/data-quality/v1/monitors).
118133 *
119134 * <p>The caller must either: 1. be an owner of the table's parent catalog 2. have **USE_CATALOG**
120135 * on the table's parent catalog and be an owner of the table's parent schema 3. have the
0 commit comments