Databricks v1.74.0 published on Thursday, Aug 14, 2025 by Pulumi
databricks.getQualityMonitorV2
Explore with Pulumi AI
This data source can be used to fetch a quality monitors v2.
Note This data source can only be used with an workspace-level provider!
Example Usage
Referring to a quality monitor by uc object type (currently only support schema
) and object id:
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const _this = databricks.getSchema({
name: "my_catalog.my_schema",
});
const thisGetQualityMonitorV2 = _this.then(_this => databricks.getQualityMonitorV2({
objectType: "schema",
objectId: _this.schemaInfo?.schemaId,
}));
import pulumi
import pulumi_databricks as databricks
this = databricks.get_schema(name="my_catalog.my_schema")
this_get_quality_monitor_v2 = databricks.get_quality_monitor_v2(object_type="schema",
object_id=this.schema_info.schema_id)
package main
import (
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
this, err := databricks.LookupSchema(ctx, &databricks.LookupSchemaArgs{
Name: "my_catalog.my_schema",
}, nil)
if err != nil {
return err
}
_, err = databricks.LookupQualityMonitorV2(ctx, &databricks.LookupQualityMonitorV2Args{
ObjectType: "schema",
ObjectId: this.SchemaInfo.SchemaId,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var @this = Databricks.GetSchema.Invoke(new()
{
Name = "my_catalog.my_schema",
});
var thisGetQualityMonitorV2 = Databricks.GetQualityMonitorV2.Invoke(new()
{
ObjectType = "schema",
ObjectId = @this.Apply(getSchemaResult => getSchemaResult.SchemaInfo?.SchemaId),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.DatabricksFunctions;
import com.pulumi.databricks.inputs.GetSchemaArgs;
import com.pulumi.databricks.inputs.GetQualityMonitorV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var this = DatabricksFunctions.getSchema(GetSchemaArgs.builder()
.name("my_catalog.my_schema")
.build());
final var thisGetQualityMonitorV2 = DatabricksFunctions.getQualityMonitorV2(GetQualityMonitorV2Args.builder()
.objectType("schema")
.objectId(this_.schemaInfo().schemaId())
.build());
}
}
variables:
this:
fn::invoke:
function: databricks:getSchema
arguments:
name: my_catalog.my_schema
thisGetQualityMonitorV2:
fn::invoke:
function: databricks:getQualityMonitorV2
arguments:
objectType: schema
objectId: ${this.schemaInfo.schemaId}
Using getQualityMonitorV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getQualityMonitorV2(args: GetQualityMonitorV2Args, opts?: InvokeOptions): Promise<GetQualityMonitorV2Result>
function getQualityMonitorV2Output(args: GetQualityMonitorV2OutputArgs, opts?: InvokeOptions): Output<GetQualityMonitorV2Result>
def get_quality_monitor_v2(object_id: Optional[str] = None,
object_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetQualityMonitorV2Result
def get_quality_monitor_v2_output(object_id: Optional[pulumi.Input[str]] = None,
object_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetQualityMonitorV2Result]
func LookupQualityMonitorV2(ctx *Context, args *LookupQualityMonitorV2Args, opts ...InvokeOption) (*LookupQualityMonitorV2Result, error)
func LookupQualityMonitorV2Output(ctx *Context, args *LookupQualityMonitorV2OutputArgs, opts ...InvokeOption) LookupQualityMonitorV2ResultOutput
> Note: This function is named LookupQualityMonitorV2
in the Go SDK.
public static class GetQualityMonitorV2
{
public static Task<GetQualityMonitorV2Result> InvokeAsync(GetQualityMonitorV2Args args, InvokeOptions? opts = null)
public static Output<GetQualityMonitorV2Result> Invoke(GetQualityMonitorV2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetQualityMonitorV2Result> getQualityMonitorV2(GetQualityMonitorV2Args args, InvokeOptions options)
public static Output<GetQualityMonitorV2Result> getQualityMonitorV2(GetQualityMonitorV2Args args, InvokeOptions options)
fn::invoke:
function: databricks:index/getQualityMonitorV2:getQualityMonitorV2
arguments:
# arguments dictionary
The following arguments are supported:
- Object
Id string - The uuid of the request object. For example, schema id
- Object
Type string - The type of the monitored object. Can be one of the following: schema
- Object
Id string - The uuid of the request object. For example, schema id
- Object
Type string - The type of the monitored object. Can be one of the following: schema
- object
Id String - The uuid of the request object. For example, schema id
- object
Type String - The type of the monitored object. Can be one of the following: schema
- object
Id string - The uuid of the request object. For example, schema id
- object
Type string - The type of the monitored object. Can be one of the following: schema
- object_
id str - The uuid of the request object. For example, schema id
- object_
type str - The type of the monitored object. Can be one of the following: schema
- object
Id String - The uuid of the request object. For example, schema id
- object
Type String - The type of the monitored object. Can be one of the following: schema
getQualityMonitorV2 Result
The following output properties are available:
- Anomaly
Detection GetConfig Quality Monitor V2Anomaly Detection Config - (AnomalyDetectionConfig)
- Id string
- The provider-assigned unique ID for this managed resource.
- Object
Id string - (string) - The uuid of the request object. For example, schema id
- Object
Type string - (string) - The type of the monitored object. Can be one of the following: schema
- Anomaly
Detection GetConfig Quality Monitor V2Anomaly Detection Config - (AnomalyDetectionConfig)
- Id string
- The provider-assigned unique ID for this managed resource.
- Object
Id string - (string) - The uuid of the request object. For example, schema id
- Object
Type string - (string) - The type of the monitored object. Can be one of the following: schema
- anomaly
Detection GetConfig Quality Monitor V2Anomaly Detection Config - (AnomalyDetectionConfig)
- id String
- The provider-assigned unique ID for this managed resource.
- object
Id String - (string) - The uuid of the request object. For example, schema id
- object
Type String - (string) - The type of the monitored object. Can be one of the following: schema
- anomaly
Detection GetConfig Quality Monitor V2Anomaly Detection Config - (AnomalyDetectionConfig)
- id string
- The provider-assigned unique ID for this managed resource.
- object
Id string - (string) - The uuid of the request object. For example, schema id
- object
Type string - (string) - The type of the monitored object. Can be one of the following: schema
- anomaly_
detection_ Getconfig Quality Monitor V2Anomaly Detection Config - (AnomalyDetectionConfig)
- id str
- The provider-assigned unique ID for this managed resource.
- object_
id str - (string) - The uuid of the request object. For example, schema id
- object_
type str - (string) - The type of the monitored object. Can be one of the following: schema
- anomaly
Detection Property MapConfig - (AnomalyDetectionConfig)
- id String
- The provider-assigned unique ID for this managed resource.
- object
Id String - (string) - The uuid of the request object. For example, schema id
- object
Type String - (string) - The type of the monitored object. Can be one of the following: schema
Supporting Types
GetQualityMonitorV2AnomalyDetectionConfig
- Last
Run stringId - (string) - Run id of the last run of the workflow
- Latest
Run stringStatus - (string) - The status of the last run of the workflow. Possible values are:
ANOMALY_DETECTION_RUN_STATUS_CANCELED
,ANOMALY_DETECTION_RUN_STATUS_FAILED
,ANOMALY_DETECTION_RUN_STATUS_JOB_DELETED
,ANOMALY_DETECTION_RUN_STATUS_PENDING
,ANOMALY_DETECTION_RUN_STATUS_RUNNING
,ANOMALY_DETECTION_RUN_STATUS_SUCCESS
,ANOMALY_DETECTION_RUN_STATUS_UNKNOWN
,ANOMALY_DETECTION_RUN_STATUS_WORKSPACE_MISMATCH_ERROR
- Last
Run stringId - (string) - Run id of the last run of the workflow
- Latest
Run stringStatus - (string) - The status of the last run of the workflow. Possible values are:
ANOMALY_DETECTION_RUN_STATUS_CANCELED
,ANOMALY_DETECTION_RUN_STATUS_FAILED
,ANOMALY_DETECTION_RUN_STATUS_JOB_DELETED
,ANOMALY_DETECTION_RUN_STATUS_PENDING
,ANOMALY_DETECTION_RUN_STATUS_RUNNING
,ANOMALY_DETECTION_RUN_STATUS_SUCCESS
,ANOMALY_DETECTION_RUN_STATUS_UNKNOWN
,ANOMALY_DETECTION_RUN_STATUS_WORKSPACE_MISMATCH_ERROR
- last
Run StringId - (string) - Run id of the last run of the workflow
- latest
Run StringStatus - (string) - The status of the last run of the workflow. Possible values are:
ANOMALY_DETECTION_RUN_STATUS_CANCELED
,ANOMALY_DETECTION_RUN_STATUS_FAILED
,ANOMALY_DETECTION_RUN_STATUS_JOB_DELETED
,ANOMALY_DETECTION_RUN_STATUS_PENDING
,ANOMALY_DETECTION_RUN_STATUS_RUNNING
,ANOMALY_DETECTION_RUN_STATUS_SUCCESS
,ANOMALY_DETECTION_RUN_STATUS_UNKNOWN
,ANOMALY_DETECTION_RUN_STATUS_WORKSPACE_MISMATCH_ERROR
- last
Run stringId - (string) - Run id of the last run of the workflow
- latest
Run stringStatus - (string) - The status of the last run of the workflow. Possible values are:
ANOMALY_DETECTION_RUN_STATUS_CANCELED
,ANOMALY_DETECTION_RUN_STATUS_FAILED
,ANOMALY_DETECTION_RUN_STATUS_JOB_DELETED
,ANOMALY_DETECTION_RUN_STATUS_PENDING
,ANOMALY_DETECTION_RUN_STATUS_RUNNING
,ANOMALY_DETECTION_RUN_STATUS_SUCCESS
,ANOMALY_DETECTION_RUN_STATUS_UNKNOWN
,ANOMALY_DETECTION_RUN_STATUS_WORKSPACE_MISMATCH_ERROR
- last_
run_ strid - (string) - Run id of the last run of the workflow
- latest_
run_ strstatus - (string) - The status of the last run of the workflow. Possible values are:
ANOMALY_DETECTION_RUN_STATUS_CANCELED
,ANOMALY_DETECTION_RUN_STATUS_FAILED
,ANOMALY_DETECTION_RUN_STATUS_JOB_DELETED
,ANOMALY_DETECTION_RUN_STATUS_PENDING
,ANOMALY_DETECTION_RUN_STATUS_RUNNING
,ANOMALY_DETECTION_RUN_STATUS_SUCCESS
,ANOMALY_DETECTION_RUN_STATUS_UNKNOWN
,ANOMALY_DETECTION_RUN_STATUS_WORKSPACE_MISMATCH_ERROR
- last
Run StringId - (string) - Run id of the last run of the workflow
- latest
Run StringStatus - (string) - The status of the last run of the workflow. Possible values are:
ANOMALY_DETECTION_RUN_STATUS_CANCELED
,ANOMALY_DETECTION_RUN_STATUS_FAILED
,ANOMALY_DETECTION_RUN_STATUS_JOB_DELETED
,ANOMALY_DETECTION_RUN_STATUS_PENDING
,ANOMALY_DETECTION_RUN_STATUS_RUNNING
,ANOMALY_DETECTION_RUN_STATUS_SUCCESS
,ANOMALY_DETECTION_RUN_STATUS_UNKNOWN
,ANOMALY_DETECTION_RUN_STATUS_WORKSPACE_MISMATCH_ERROR
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricks
Terraform Provider.