UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

80 lines (79 loc) 3.02 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types) * * This data source can be used to fetch the list of data quality monitors. * * For the `table` `objectType`, the caller must either: * 1. be an owner of the table's parent catalog * 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema. * 3. have the following permissions: * - **USE_CATALOG** on the table's parent catalog * - **USE_SCHEMA** on the table's parent schema * - **SELECT** privilege on the table. * * > **Note** This data source can only be used with a workspace-level provider! * * ## Example Usage * * Getting a list of all data quality monitors: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const all = databricks.getDataQualityMonitors({}); * ``` */ export declare function getDataQualityMonitors(args?: GetDataQualityMonitorsArgs, opts?: pulumi.InvokeOptions): Promise<GetDataQualityMonitorsResult>; /** * A collection of arguments for invoking getDataQualityMonitors. */ export interface GetDataQualityMonitorsArgs { pageSize?: number; } /** * A collection of values returned by getDataQualityMonitors. */ export interface GetDataQualityMonitorsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly monitors: outputs.GetDataQualityMonitorsMonitor[]; readonly pageSize?: number; } /** * [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types) * * This data source can be used to fetch the list of data quality monitors. * * For the `table` `objectType`, the caller must either: * 1. be an owner of the table's parent catalog * 2. have **USE_CATALOG** on the table's parent catalog and be an owner of the table's parent schema. * 3. have the following permissions: * - **USE_CATALOG** on the table's parent catalog * - **USE_SCHEMA** on the table's parent schema * - **SELECT** privilege on the table. * * > **Note** This data source can only be used with a workspace-level provider! * * ## Example Usage * * Getting a list of all data quality monitors: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const all = databricks.getDataQualityMonitors({}); * ``` */ export declare function getDataQualityMonitorsOutput(args?: GetDataQualityMonitorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDataQualityMonitorsResult>; /** * A collection of arguments for invoking getDataQualityMonitors. */ export interface GetDataQualityMonitorsOutputArgs { pageSize?: pulumi.Input<number>; }