1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. WedataDqRule
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.WedataDqRule

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a wedata dq_rule

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.WedataDqRule;
    import com.pulumi.tencentcloud.WedataDqRuleArgs;
    import com.pulumi.tencentcloud.inputs.WedataDqRuleCompareRuleArgs;
    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) {
            var example = new WedataDqRule("example", WedataDqRuleArgs.builder()
                .alarmLevel(1)
                .compareRule(WedataDqRuleCompareRuleArgs.builder()
                    .items(WedataDqRuleCompareRuleItemArgs.builder()
                        .compareType(1)
                        .operator("==")
                        .valueList(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                        .build())
                    .build())
                .conditionType(1)
                .description("description.")
                .projectId("1948767646355341312")
                .ruleGroupId(312)
                .ruleTemplateId(1)
                .sourceObjectDataTypeName("table")
                .sourceObjectValue("表")
                .tableId("N85hbsh5QQ2VLHL2iOUVeQ")
                .type(1)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:WedataDqRule
        properties:
          alarmLevel: 1
          compareRule:
            items:
              - compareType: 1
                operator: ==
                valueList:
                  - value: '100'
                    valueType: 3
          conditionType: 1
          description: description.
          projectId: '1948767646355341312'
          ruleGroupId: 312
          ruleTemplateId: 1
          sourceObjectDataTypeName: table
          sourceObjectValue: 
          tableId: N85hbsh5QQ2VLHL2iOUVeQ
          type: 1
    

    Create WedataDqRule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WedataDqRule(name: string, args: WedataDqRuleArgs, opts?: CustomResourceOptions);
    @overload
    def WedataDqRule(resource_name: str,
                     args: WedataDqRuleArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def WedataDqRule(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     project_id: Optional[str] = None,
                     compare_rule: Optional[WedataDqRuleCompareRuleArgs] = None,
                     type: Optional[float] = None,
                     condition_type: Optional[float] = None,
                     source_object_value: Optional[str] = None,
                     alarm_level: Optional[float] = None,
                     source_object_data_type_name: Optional[str] = None,
                     rule_template_id: Optional[float] = None,
                     description: Optional[str] = None,
                     custom_sql: Optional[str] = None,
                     rel_condition_expr: Optional[str] = None,
                     rule_group_id: Optional[float] = None,
                     name: Optional[str] = None,
                     source_engine_types: Optional[Sequence[float]] = None,
                     field_config: Optional[WedataDqRuleFieldConfigArgs] = None,
                     quality_dim: Optional[float] = None,
                     table_id: Optional[str] = None,
                     target_condition_expr: Optional[str] = None,
                     target_database_id: Optional[str] = None,
                     target_object_value: Optional[str] = None,
                     target_table_id: Optional[str] = None,
                     condition_expression: Optional[str] = None,
                     wedata_dq_rule_id: Optional[str] = None)
    func NewWedataDqRule(ctx *Context, name string, args WedataDqRuleArgs, opts ...ResourceOption) (*WedataDqRule, error)
    public WedataDqRule(string name, WedataDqRuleArgs args, CustomResourceOptions? opts = null)
    public WedataDqRule(String name, WedataDqRuleArgs args)
    public WedataDqRule(String name, WedataDqRuleArgs args, CustomResourceOptions options)
    
    type: tencentcloud:WedataDqRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args WedataDqRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WedataDqRuleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WedataDqRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WedataDqRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WedataDqRuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    WedataDqRule Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The WedataDqRule resource accepts the following input properties:

    AlarmLevel double
    Alarm trigger levels 1. Low, 2. Medium, 3. High.
    CompareRule WedataDqRuleCompareRule
    Alarm trigger condition.
    ConditionType double
    Detection scope 1. Full Table 2. Conditional scan.
    ProjectId string
    Project id.
    RuleTemplateId double
    Rule template id.
    SourceObjectDataTypeName string
    Source field type. int, string.
    SourceObjectValue string
    Source field name.
    Type double
    Rule Type 1. System Template, 2. Custom Template, 3. Custom SQL.
    ConditionExpression string
    Condition scans WHERE condition expressions.
    CustomSql string
    Custom sql.
    Description string
    Rule description.
    FieldConfig WedataDqRuleFieldConfig
    Custom template sql expression field replacement parameters.
    Name string
    Rule name.
    QualityDim double
    Rules belong to quality dimensions (1. accuracy, 2. uniqueness, 3. completeness, 4. consistency, 5. timeliness, 6. effectiveness).
    RelConditionExpr string
    The source field and the target field are associated with a conditional on expression.
    RuleGroupId double
    Rule group id.
    SourceEngineTypes List<double>
    List of execution engines supported by this rule.
    TableId string
    Table id.
    TargetConditionExpr string
    Target filter condition expression.
    TargetDatabaseId string
    Target database id.
    TargetObjectValue string
    Target field name CITY.
    TargetTableId string
    Target table id.
    WedataDqRuleId string
    ID of the resource.
    AlarmLevel float64
    Alarm trigger levels 1. Low, 2. Medium, 3. High.
    CompareRule WedataDqRuleCompareRuleArgs
    Alarm trigger condition.
    ConditionType float64
    Detection scope 1. Full Table 2. Conditional scan.
    ProjectId string
    Project id.
    RuleTemplateId float64
    Rule template id.
    SourceObjectDataTypeName string
    Source field type. int, string.
    SourceObjectValue string
    Source field name.
    Type float64
    Rule Type 1. System Template, 2. Custom Template, 3. Custom SQL.
    ConditionExpression string
    Condition scans WHERE condition expressions.
    CustomSql string
    Custom sql.
    Description string
    Rule description.
    FieldConfig WedataDqRuleFieldConfigArgs
    Custom template sql expression field replacement parameters.
    Name string
    Rule name.
    QualityDim float64
    Rules belong to quality dimensions (1. accuracy, 2. uniqueness, 3. completeness, 4. consistency, 5. timeliness, 6. effectiveness).
    RelConditionExpr string
    The source field and the target field are associated with a conditional on expression.
    RuleGroupId float64
    Rule group id.
    SourceEngineTypes []float64
    List of execution engines supported by this rule.
    TableId string
    Table id.
    TargetConditionExpr string
    Target filter condition expression.
    TargetDatabaseId string
    Target database id.
    TargetObjectValue string
    Target field name CITY.
    TargetTableId string
    Target table id.
    WedataDqRuleId string
    ID of the resource.
    alarmLevel Double
    Alarm trigger levels 1. Low, 2. Medium, 3. High.
    compareRule WedataDqRuleCompareRule
    Alarm trigger condition.
    conditionType Double
    Detection scope 1. Full Table 2. Conditional scan.
    projectId String
    Project id.
    ruleTemplateId Double
    Rule template id.
    sourceObjectDataTypeName String
    Source field type. int, string.
    sourceObjectValue String
    Source field name.
    type Double
    Rule Type 1. System Template, 2. Custom Template, 3. Custom SQL.
    conditionExpression String
    Condition scans WHERE condition expressions.
    customSql String
    Custom sql.
    description String
    Rule description.
    fieldConfig WedataDqRuleFieldConfig
    Custom template sql expression field replacement parameters.
    name String
    Rule name.
    qualityDim Double
    Rules belong to quality dimensions (1. accuracy, 2. uniqueness, 3. completeness, 4. consistency, 5. timeliness, 6. effectiveness).
    relConditionExpr String
    The source field and the target field are associated with a conditional on expression.
    ruleGroupId Double
    Rule group id.
    sourceEngineTypes List<Double>
    List of execution engines supported by this rule.
    tableId String
    Table id.
    targetConditionExpr String
    Target filter condition expression.
    targetDatabaseId String
    Target database id.
    targetObjectValue String
    Target field name CITY.
    targetTableId String
    Target table id.
    wedataDqRuleId String
    ID of the resource.
    alarmLevel number
    Alarm trigger levels 1. Low, 2. Medium, 3. High.
    compareRule WedataDqRuleCompareRule
    Alarm trigger condition.
    conditionType number
    Detection scope 1. Full Table 2. Conditional scan.
    projectId string
    Project id.
    ruleTemplateId number
    Rule template id.
    sourceObjectDataTypeName string
    Source field type. int, string.
    sourceObjectValue string
    Source field name.
    type number
    Rule Type 1. System Template, 2. Custom Template, 3. Custom SQL.
    conditionExpression string
    Condition scans WHERE condition expressions.
    customSql string
    Custom sql.
    description string
    Rule description.
    fieldConfig WedataDqRuleFieldConfig
    Custom template sql expression field replacement parameters.
    name string
    Rule name.
    qualityDim number
    Rules belong to quality dimensions (1. accuracy, 2. uniqueness, 3. completeness, 4. consistency, 5. timeliness, 6. effectiveness).
    relConditionExpr string
    The source field and the target field are associated with a conditional on expression.
    ruleGroupId number
    Rule group id.
    sourceEngineTypes number[]
    List of execution engines supported by this rule.
    tableId string
    Table id.
    targetConditionExpr string
    Target filter condition expression.
    targetDatabaseId string
    Target database id.
    targetObjectValue string
    Target field name CITY.
    targetTableId string
    Target table id.
    wedataDqRuleId string
    ID of the resource.
    alarm_level float
    Alarm trigger levels 1. Low, 2. Medium, 3. High.
    compare_rule WedataDqRuleCompareRuleArgs
    Alarm trigger condition.
    condition_type float
    Detection scope 1. Full Table 2. Conditional scan.
    project_id str
    Project id.
    rule_template_id float
    Rule template id.
    source_object_data_type_name str
    Source field type. int, string.
    source_object_value str
    Source field name.
    type float
    Rule Type 1. System Template, 2. Custom Template, 3. Custom SQL.
    condition_expression str
    Condition scans WHERE condition expressions.
    custom_sql str
    Custom sql.
    description str
    Rule description.
    field_config WedataDqRuleFieldConfigArgs
    Custom template sql expression field replacement parameters.
    name str
    Rule name.
    quality_dim float
    Rules belong to quality dimensions (1. accuracy, 2. uniqueness, 3. completeness, 4. consistency, 5. timeliness, 6. effectiveness).
    rel_condition_expr str
    The source field and the target field are associated with a conditional on expression.
    rule_group_id float
    Rule group id.
    source_engine_types Sequence[float]
    List of execution engines supported by this rule.
    table_id str
    Table id.
    target_condition_expr str
    Target filter condition expression.
    target_database_id str
    Target database id.
    target_object_value str
    Target field name CITY.
    target_table_id str
    Target table id.
    wedata_dq_rule_id str
    ID of the resource.
    alarmLevel Number
    Alarm trigger levels 1. Low, 2. Medium, 3. High.
    compareRule Property Map
    Alarm trigger condition.
    conditionType Number
    Detection scope 1. Full Table 2. Conditional scan.
    projectId String
    Project id.
    ruleTemplateId Number
    Rule template id.
    sourceObjectDataTypeName String
    Source field type. int, string.
    sourceObjectValue String
    Source field name.
    type Number
    Rule Type 1. System Template, 2. Custom Template, 3. Custom SQL.
    conditionExpression String
    Condition scans WHERE condition expressions.
    customSql String
    Custom sql.
    description String
    Rule description.
    fieldConfig Property Map
    Custom template sql expression field replacement parameters.
    name String
    Rule name.
    qualityDim Number
    Rules belong to quality dimensions (1. accuracy, 2. uniqueness, 3. completeness, 4. consistency, 5. timeliness, 6. effectiveness).
    relConditionExpr String
    The source field and the target field are associated with a conditional on expression.
    ruleGroupId Number
    Rule group id.
    sourceEngineTypes List<Number>
    List of execution engines supported by this rule.
    tableId String
    Table id.
    targetConditionExpr String
    Target filter condition expression.
    targetDatabaseId String
    Target database id.
    targetObjectValue String
    Target field name CITY.
    targetTableId String
    Target table id.
    wedataDqRuleId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WedataDqRule resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    RuleId string
    Rule ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    RuleId string
    Rule ID.
    id String
    The provider-assigned unique ID for this managed resource.
    ruleId String
    Rule ID.
    id string
    The provider-assigned unique ID for this managed resource.
    ruleId string
    Rule ID.
    id str
    The provider-assigned unique ID for this managed resource.
    rule_id str
    Rule ID.
    id String
    The provider-assigned unique ID for this managed resource.
    ruleId String
    Rule ID.

    Look up Existing WedataDqRule Resource

    Get an existing WedataDqRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: WedataDqRuleState, opts?: CustomResourceOptions): WedataDqRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alarm_level: Optional[float] = None,
            compare_rule: Optional[WedataDqRuleCompareRuleArgs] = None,
            condition_expression: Optional[str] = None,
            condition_type: Optional[float] = None,
            custom_sql: Optional[str] = None,
            description: Optional[str] = None,
            field_config: Optional[WedataDqRuleFieldConfigArgs] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            quality_dim: Optional[float] = None,
            rel_condition_expr: Optional[str] = None,
            rule_group_id: Optional[float] = None,
            rule_id: Optional[str] = None,
            rule_template_id: Optional[float] = None,
            source_engine_types: Optional[Sequence[float]] = None,
            source_object_data_type_name: Optional[str] = None,
            source_object_value: Optional[str] = None,
            table_id: Optional[str] = None,
            target_condition_expr: Optional[str] = None,
            target_database_id: Optional[str] = None,
            target_object_value: Optional[str] = None,
            target_table_id: Optional[str] = None,
            type: Optional[float] = None,
            wedata_dq_rule_id: Optional[str] = None) -> WedataDqRule
    func GetWedataDqRule(ctx *Context, name string, id IDInput, state *WedataDqRuleState, opts ...ResourceOption) (*WedataDqRule, error)
    public static WedataDqRule Get(string name, Input<string> id, WedataDqRuleState? state, CustomResourceOptions? opts = null)
    public static WedataDqRule get(String name, Output<String> id, WedataDqRuleState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:WedataDqRule    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AlarmLevel double
    Alarm trigger levels 1. Low, 2. Medium, 3. High.
    CompareRule WedataDqRuleCompareRule
    Alarm trigger condition.
    ConditionExpression string
    Condition scans WHERE condition expressions.
    ConditionType double
    Detection scope 1. Full Table 2. Conditional scan.
    CustomSql string
    Custom sql.
    Description string
    Rule description.
    FieldConfig WedataDqRuleFieldConfig
    Custom template sql expression field replacement parameters.
    Name string
    Rule name.
    ProjectId string
    Project id.
    QualityDim double
    Rules belong to quality dimensions (1. accuracy, 2. uniqueness, 3. completeness, 4. consistency, 5. timeliness, 6. effectiveness).
    RelConditionExpr string
    The source field and the target field are associated with a conditional on expression.
    RuleGroupId double
    Rule group id.
    RuleId string
    Rule ID.
    RuleTemplateId double
    Rule template id.
    SourceEngineTypes List<double>
    List of execution engines supported by this rule.
    SourceObjectDataTypeName string
    Source field type. int, string.
    SourceObjectValue string
    Source field name.
    TableId string
    Table id.
    TargetConditionExpr string
    Target filter condition expression.
    TargetDatabaseId string
    Target database id.
    TargetObjectValue string
    Target field name CITY.
    TargetTableId string
    Target table id.
    Type double
    Rule Type 1. System Template, 2. Custom Template, 3. Custom SQL.
    WedataDqRuleId string
    ID of the resource.
    AlarmLevel float64
    Alarm trigger levels 1. Low, 2. Medium, 3. High.
    CompareRule WedataDqRuleCompareRuleArgs
    Alarm trigger condition.
    ConditionExpression string
    Condition scans WHERE condition expressions.
    ConditionType float64
    Detection scope 1. Full Table 2. Conditional scan.
    CustomSql string
    Custom sql.
    Description string
    Rule description.
    FieldConfig WedataDqRuleFieldConfigArgs
    Custom template sql expression field replacement parameters.
    Name string
    Rule name.
    ProjectId string
    Project id.
    QualityDim float64
    Rules belong to quality dimensions (1. accuracy, 2. uniqueness, 3. completeness, 4. consistency, 5. timeliness, 6. effectiveness).
    RelConditionExpr string
    The source field and the target field are associated with a conditional on expression.
    RuleGroupId float64
    Rule group id.
    RuleId string
    Rule ID.
    RuleTemplateId float64
    Rule template id.
    SourceEngineTypes []float64
    List of execution engines supported by this rule.
    SourceObjectDataTypeName string
    Source field type. int, string.
    SourceObjectValue string
    Source field name.
    TableId string
    Table id.
    TargetConditionExpr string
    Target filter condition expression.
    TargetDatabaseId string
    Target database id.
    TargetObjectValue string
    Target field name CITY.
    TargetTableId string
    Target table id.
    Type float64
    Rule Type 1. System Template, 2. Custom Template, 3. Custom SQL.
    WedataDqRuleId string
    ID of the resource.
    alarmLevel Double
    Alarm trigger levels 1. Low, 2. Medium, 3. High.
    compareRule WedataDqRuleCompareRule
    Alarm trigger condition.
    conditionExpression String
    Condition scans WHERE condition expressions.
    conditionType Double
    Detection scope 1. Full Table 2. Conditional scan.
    customSql String
    Custom sql.
    description String
    Rule description.
    fieldConfig WedataDqRuleFieldConfig
    Custom template sql expression field replacement parameters.
    name String
    Rule name.
    projectId String
    Project id.
    qualityDim Double
    Rules belong to quality dimensions (1. accuracy, 2. uniqueness, 3. completeness, 4. consistency, 5. timeliness, 6. effectiveness).
    relConditionExpr String
    The source field and the target field are associated with a conditional on expression.
    ruleGroupId Double
    Rule group id.
    ruleId String
    Rule ID.
    ruleTemplateId Double
    Rule template id.
    sourceEngineTypes List<Double>
    List of execution engines supported by this rule.
    sourceObjectDataTypeName String
    Source field type. int, string.
    sourceObjectValue String
    Source field name.
    tableId String
    Table id.
    targetConditionExpr String
    Target filter condition expression.
    targetDatabaseId String
    Target database id.
    targetObjectValue String
    Target field name CITY.
    targetTableId String
    Target table id.
    type Double
    Rule Type 1. System Template, 2. Custom Template, 3. Custom SQL.
    wedataDqRuleId String
    ID of the resource.
    alarmLevel number
    Alarm trigger levels 1. Low, 2. Medium, 3. High.
    compareRule WedataDqRuleCompareRule
    Alarm trigger condition.
    conditionExpression string
    Condition scans WHERE condition expressions.
    conditionType number
    Detection scope 1. Full Table 2. Conditional scan.
    customSql string
    Custom sql.
    description string
    Rule description.
    fieldConfig WedataDqRuleFieldConfig
    Custom template sql expression field replacement parameters.
    name string
    Rule name.
    projectId string
    Project id.
    qualityDim number
    Rules belong to quality dimensions (1. accuracy, 2. uniqueness, 3. completeness, 4. consistency, 5. timeliness, 6. effectiveness).
    relConditionExpr string
    The source field and the target field are associated with a conditional on expression.
    ruleGroupId number
    Rule group id.
    ruleId string
    Rule ID.
    ruleTemplateId number
    Rule template id.
    sourceEngineTypes number[]
    List of execution engines supported by this rule.
    sourceObjectDataTypeName string
    Source field type. int, string.
    sourceObjectValue string
    Source field name.
    tableId string
    Table id.
    targetConditionExpr string
    Target filter condition expression.
    targetDatabaseId string
    Target database id.
    targetObjectValue string
    Target field name CITY.
    targetTableId string
    Target table id.
    type number
    Rule Type 1. System Template, 2. Custom Template, 3. Custom SQL.
    wedataDqRuleId string
    ID of the resource.
    alarm_level float
    Alarm trigger levels 1. Low, 2. Medium, 3. High.
    compare_rule WedataDqRuleCompareRuleArgs
    Alarm trigger condition.
    condition_expression str
    Condition scans WHERE condition expressions.
    condition_type float
    Detection scope 1. Full Table 2. Conditional scan.
    custom_sql str
    Custom sql.
    description str
    Rule description.
    field_config WedataDqRuleFieldConfigArgs
    Custom template sql expression field replacement parameters.
    name str
    Rule name.
    project_id str
    Project id.
    quality_dim float
    Rules belong to quality dimensions (1. accuracy, 2. uniqueness, 3. completeness, 4. consistency, 5. timeliness, 6. effectiveness).
    rel_condition_expr str
    The source field and the target field are associated with a conditional on expression.
    rule_group_id float
    Rule group id.
    rule_id str
    Rule ID.
    rule_template_id float
    Rule template id.
    source_engine_types Sequence[float]
    List of execution engines supported by this rule.
    source_object_data_type_name str
    Source field type. int, string.
    source_object_value str
    Source field name.
    table_id str
    Table id.
    target_condition_expr str
    Target filter condition expression.
    target_database_id str
    Target database id.
    target_object_value str
    Target field name CITY.
    target_table_id str
    Target table id.
    type float
    Rule Type 1. System Template, 2. Custom Template, 3. Custom SQL.
    wedata_dq_rule_id str
    ID of the resource.
    alarmLevel Number
    Alarm trigger levels 1. Low, 2. Medium, 3. High.
    compareRule Property Map
    Alarm trigger condition.
    conditionExpression String
    Condition scans WHERE condition expressions.
    conditionType Number
    Detection scope 1. Full Table 2. Conditional scan.
    customSql String
    Custom sql.
    description String
    Rule description.
    fieldConfig Property Map
    Custom template sql expression field replacement parameters.
    name String
    Rule name.
    projectId String
    Project id.
    qualityDim Number
    Rules belong to quality dimensions (1. accuracy, 2. uniqueness, 3. completeness, 4. consistency, 5. timeliness, 6. effectiveness).
    relConditionExpr String
    The source field and the target field are associated with a conditional on expression.
    ruleGroupId Number
    Rule group id.
    ruleId String
    Rule ID.
    ruleTemplateId Number
    Rule template id.
    sourceEngineTypes List<Number>
    List of execution engines supported by this rule.
    sourceObjectDataTypeName String
    Source field type. int, string.
    sourceObjectValue String
    Source field name.
    tableId String
    Table id.
    targetConditionExpr String
    Target filter condition expression.
    targetDatabaseId String
    Target database id.
    targetObjectValue String
    Target field name CITY.
    targetTableId String
    Target table id.
    type Number
    Rule Type 1. System Template, 2. Custom Template, 3. Custom SQL.
    wedataDqRuleId String
    ID of the resource.

    Supporting Types

    WedataDqRuleCompareRule, WedataDqRuleCompareRuleArgs

    CycleStep double
    Periodic Indicates the default period of a template, in secondsNote: This field may return null, indicating that a valid value cannot be obtained.
    Items List<WedataDqRuleCompareRuleItem>
    Comparison condition listNote: This field may return null, indicating that a valid value cannot be obtained.
    CycleStep float64
    Periodic Indicates the default period of a template, in secondsNote: This field may return null, indicating that a valid value cannot be obtained.
    Items []WedataDqRuleCompareRuleItem
    Comparison condition listNote: This field may return null, indicating that a valid value cannot be obtained.
    cycleStep Double
    Periodic Indicates the default period of a template, in secondsNote: This field may return null, indicating that a valid value cannot be obtained.
    items List<WedataDqRuleCompareRuleItem>
    Comparison condition listNote: This field may return null, indicating that a valid value cannot be obtained.
    cycleStep number
    Periodic Indicates the default period of a template, in secondsNote: This field may return null, indicating that a valid value cannot be obtained.
    items WedataDqRuleCompareRuleItem[]
    Comparison condition listNote: This field may return null, indicating that a valid value cannot be obtained.
    cycle_step float
    Periodic Indicates the default period of a template, in secondsNote: This field may return null, indicating that a valid value cannot be obtained.
    items Sequence[WedataDqRuleCompareRuleItem]
    Comparison condition listNote: This field may return null, indicating that a valid value cannot be obtained.
    cycleStep Number
    Periodic Indicates the default period of a template, in secondsNote: This field may return null, indicating that a valid value cannot be obtained.
    items List<Property Map>
    Comparison condition listNote: This field may return null, indicating that a valid value cannot be obtained.

    WedataDqRuleCompareRuleItem, WedataDqRuleCompareRuleItemArgs

    CompareType double
    Comparison type 1. Fixed value 2. Fluctuating value 3. Comparison of value range 4. Enumeration range comparison 5. Do not compareNote: This field may return null, indicating that a valid value cannot be obtained.
    Operator string
    Comparison operation type &lt; &lt;= == =&gt; &gt;Note: This field may return null, indicating that a valid value cannot be obtained.
    ValueComputeType double
    Quality statistics Type 1. Absolute value 2. Increase 3. Decrease 4. C contains 5. N C does not containNote: This field may return null, indicating that a valid value cannot be obtained.
    ValueLists List<WedataDqRuleCompareRuleItemValueList>
    Compare the threshold listNote: This field may return null, indicating that a valid value cannot be obtained.
    CompareType float64
    Comparison type 1. Fixed value 2. Fluctuating value 3. Comparison of value range 4. Enumeration range comparison 5. Do not compareNote: This field may return null, indicating that a valid value cannot be obtained.
    Operator string
    Comparison operation type &lt; &lt;= == =&gt; &gt;Note: This field may return null, indicating that a valid value cannot be obtained.
    ValueComputeType float64
    Quality statistics Type 1. Absolute value 2. Increase 3. Decrease 4. C contains 5. N C does not containNote: This field may return null, indicating that a valid value cannot be obtained.
    ValueLists []WedataDqRuleCompareRuleItemValueList
    Compare the threshold listNote: This field may return null, indicating that a valid value cannot be obtained.
    compareType Double
    Comparison type 1. Fixed value 2. Fluctuating value 3. Comparison of value range 4. Enumeration range comparison 5. Do not compareNote: This field may return null, indicating that a valid value cannot be obtained.
    operator String
    Comparison operation type &lt; &lt;= == =&gt; &gt;Note: This field may return null, indicating that a valid value cannot be obtained.
    valueComputeType Double
    Quality statistics Type 1. Absolute value 2. Increase 3. Decrease 4. C contains 5. N C does not containNote: This field may return null, indicating that a valid value cannot be obtained.
    valueLists List<WedataDqRuleCompareRuleItemValueList>
    Compare the threshold listNote: This field may return null, indicating that a valid value cannot be obtained.
    compareType number
    Comparison type 1. Fixed value 2. Fluctuating value 3. Comparison of value range 4. Enumeration range comparison 5. Do not compareNote: This field may return null, indicating that a valid value cannot be obtained.
    operator string
    Comparison operation type &lt; &lt;= == =&gt; &gt;Note: This field may return null, indicating that a valid value cannot be obtained.
    valueComputeType number
    Quality statistics Type 1. Absolute value 2. Increase 3. Decrease 4. C contains 5. N C does not containNote: This field may return null, indicating that a valid value cannot be obtained.
    valueLists WedataDqRuleCompareRuleItemValueList[]
    Compare the threshold listNote: This field may return null, indicating that a valid value cannot be obtained.
    compare_type float
    Comparison type 1. Fixed value 2. Fluctuating value 3. Comparison of value range 4. Enumeration range comparison 5. Do not compareNote: This field may return null, indicating that a valid value cannot be obtained.
    operator str
    Comparison operation type &lt; &lt;= == =&gt; &gt;Note: This field may return null, indicating that a valid value cannot be obtained.
    value_compute_type float
    Quality statistics Type 1. Absolute value 2. Increase 3. Decrease 4. C contains 5. N C does not containNote: This field may return null, indicating that a valid value cannot be obtained.
    value_lists Sequence[WedataDqRuleCompareRuleItemValueList]
    Compare the threshold listNote: This field may return null, indicating that a valid value cannot be obtained.
    compareType Number
    Comparison type 1. Fixed value 2. Fluctuating value 3. Comparison of value range 4. Enumeration range comparison 5. Do not compareNote: This field may return null, indicating that a valid value cannot be obtained.
    operator String
    Comparison operation type &lt; &lt;= == =&gt; &gt;Note: This field may return null, indicating that a valid value cannot be obtained.
    valueComputeType Number
    Quality statistics Type 1. Absolute value 2. Increase 3. Decrease 4. C contains 5. N C does not containNote: This field may return null, indicating that a valid value cannot be obtained.
    valueLists List<Property Map>
    Compare the threshold listNote: This field may return null, indicating that a valid value cannot be obtained.

    WedataDqRuleCompareRuleItemValueList, WedataDqRuleCompareRuleItemValueListArgs

    Value string
    Threshold valueNote: This field may return null, indicating that a valid value cannot be obtained.
    ValueType double
    Threshold type 1. Low threshold 2. High threshold 3. Common threshold 4. Enumerated valueNote: This field may return null, indicating that a valid value cannot be obtained.
    Value string
    Threshold valueNote: This field may return null, indicating that a valid value cannot be obtained.
    ValueType float64
    Threshold type 1. Low threshold 2. High threshold 3. Common threshold 4. Enumerated valueNote: This field may return null, indicating that a valid value cannot be obtained.
    value String
    Threshold valueNote: This field may return null, indicating that a valid value cannot be obtained.
    valueType Double
    Threshold type 1. Low threshold 2. High threshold 3. Common threshold 4. Enumerated valueNote: This field may return null, indicating that a valid value cannot be obtained.
    value string
    Threshold valueNote: This field may return null, indicating that a valid value cannot be obtained.
    valueType number
    Threshold type 1. Low threshold 2. High threshold 3. Common threshold 4. Enumerated valueNote: This field may return null, indicating that a valid value cannot be obtained.
    value str
    Threshold valueNote: This field may return null, indicating that a valid value cannot be obtained.
    value_type float
    Threshold type 1. Low threshold 2. High threshold 3. Common threshold 4. Enumerated valueNote: This field may return null, indicating that a valid value cannot be obtained.
    value String
    Threshold valueNote: This field may return null, indicating that a valid value cannot be obtained.
    valueType Number
    Threshold type 1. Low threshold 2. High threshold 3. Common threshold 4. Enumerated valueNote: This field may return null, indicating that a valid value cannot be obtained.

    WedataDqRuleFieldConfig, WedataDqRuleFieldConfigArgs

    TableConfigs List<WedataDqRuleFieldConfigTableConfig>
    Library table variableNote: This field may return null, indicating that a valid value cannot be obtained.
    WhereConfigs List<WedataDqRuleFieldConfigWhereConfig>
    Where variableNote: This field may return null, indicating that a valid value cannot be obtained.
    TableConfigs []WedataDqRuleFieldConfigTableConfig
    Library table variableNote: This field may return null, indicating that a valid value cannot be obtained.
    WhereConfigs []WedataDqRuleFieldConfigWhereConfig
    Where variableNote: This field may return null, indicating that a valid value cannot be obtained.
    tableConfigs List<WedataDqRuleFieldConfigTableConfig>
    Library table variableNote: This field may return null, indicating that a valid value cannot be obtained.
    whereConfigs List<WedataDqRuleFieldConfigWhereConfig>
    Where variableNote: This field may return null, indicating that a valid value cannot be obtained.
    tableConfigs WedataDqRuleFieldConfigTableConfig[]
    Library table variableNote: This field may return null, indicating that a valid value cannot be obtained.
    whereConfigs WedataDqRuleFieldConfigWhereConfig[]
    Where variableNote: This field may return null, indicating that a valid value cannot be obtained.
    table_configs Sequence[WedataDqRuleFieldConfigTableConfig]
    Library table variableNote: This field may return null, indicating that a valid value cannot be obtained.
    where_configs Sequence[WedataDqRuleFieldConfigWhereConfig]
    Where variableNote: This field may return null, indicating that a valid value cannot be obtained.
    tableConfigs List<Property Map>
    Library table variableNote: This field may return null, indicating that a valid value cannot be obtained.
    whereConfigs List<Property Map>
    Where variableNote: This field may return null, indicating that a valid value cannot be obtained.

    WedataDqRuleFieldConfigTableConfig, WedataDqRuleFieldConfigTableConfigArgs

    DatabaseId string
    Database idNote: This field may return null, indicating that a valid value cannot be obtained.
    DatabaseName string
    Database nameNote: This field may return null, indicating that a valid value cannot be obtained.
    FieldConfigs List<WedataDqRuleFieldConfigTableConfigFieldConfig>
    Field variableNote: This field may return null, indicating that a valid value cannot be obtained.
    TableId string
    Table idNote: This field may return null, indicating that a valid value cannot be obtained.
    TableKey string
    Table keyNote: This field may return null, indicating that a valid value cannot be obtained.
    TableName string
    Table nameNote: This field may return null, indicating that a valid value cannot be obtained.
    DatabaseId string
    Database idNote: This field may return null, indicating that a valid value cannot be obtained.
    DatabaseName string
    Database nameNote: This field may return null, indicating that a valid value cannot be obtained.
    FieldConfigs []WedataDqRuleFieldConfigTableConfigFieldConfig
    Field variableNote: This field may return null, indicating that a valid value cannot be obtained.
    TableId string
    Table idNote: This field may return null, indicating that a valid value cannot be obtained.
    TableKey string
    Table keyNote: This field may return null, indicating that a valid value cannot be obtained.
    TableName string
    Table nameNote: This field may return null, indicating that a valid value cannot be obtained.
    databaseId String
    Database idNote: This field may return null, indicating that a valid value cannot be obtained.
    databaseName String
    Database nameNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldConfigs List<WedataDqRuleFieldConfigTableConfigFieldConfig>
    Field variableNote: This field may return null, indicating that a valid value cannot be obtained.
    tableId String
    Table idNote: This field may return null, indicating that a valid value cannot be obtained.
    tableKey String
    Table keyNote: This field may return null, indicating that a valid value cannot be obtained.
    tableName String
    Table nameNote: This field may return null, indicating that a valid value cannot be obtained.
    databaseId string
    Database idNote: This field may return null, indicating that a valid value cannot be obtained.
    databaseName string
    Database nameNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldConfigs WedataDqRuleFieldConfigTableConfigFieldConfig[]
    Field variableNote: This field may return null, indicating that a valid value cannot be obtained.
    tableId string
    Table idNote: This field may return null, indicating that a valid value cannot be obtained.
    tableKey string
    Table keyNote: This field may return null, indicating that a valid value cannot be obtained.
    tableName string
    Table nameNote: This field may return null, indicating that a valid value cannot be obtained.
    database_id str
    Database idNote: This field may return null, indicating that a valid value cannot be obtained.
    database_name str
    Database nameNote: This field may return null, indicating that a valid value cannot be obtained.
    field_configs Sequence[WedataDqRuleFieldConfigTableConfigFieldConfig]
    Field variableNote: This field may return null, indicating that a valid value cannot be obtained.
    table_id str
    Table idNote: This field may return null, indicating that a valid value cannot be obtained.
    table_key str
    Table keyNote: This field may return null, indicating that a valid value cannot be obtained.
    table_name str
    Table nameNote: This field may return null, indicating that a valid value cannot be obtained.
    databaseId String
    Database idNote: This field may return null, indicating that a valid value cannot be obtained.
    databaseName String
    Database nameNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldConfigs List<Property Map>
    Field variableNote: This field may return null, indicating that a valid value cannot be obtained.
    tableId String
    Table idNote: This field may return null, indicating that a valid value cannot be obtained.
    tableKey String
    Table keyNote: This field may return null, indicating that a valid value cannot be obtained.
    tableName String
    Table nameNote: This field may return null, indicating that a valid value cannot be obtained.

    WedataDqRuleFieldConfigTableConfigFieldConfig, WedataDqRuleFieldConfigTableConfigFieldConfigArgs

    FieldDataType string
    Field typeNote: This field may return null, indicating that a valid value cannot be obtained.
    FieldKey string
    Field keyNote: This field may return null, indicating that a valid value cannot be obtained.
    FieldValue string
    Field valueNote: This field may return null, indicating that a valid value cannot be obtained.
    FieldDataType string
    Field typeNote: This field may return null, indicating that a valid value cannot be obtained.
    FieldKey string
    Field keyNote: This field may return null, indicating that a valid value cannot be obtained.
    FieldValue string
    Field valueNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldDataType String
    Field typeNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldKey String
    Field keyNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldValue String
    Field valueNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldDataType string
    Field typeNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldKey string
    Field keyNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldValue string
    Field valueNote: This field may return null, indicating that a valid value cannot be obtained.
    field_data_type str
    Field typeNote: This field may return null, indicating that a valid value cannot be obtained.
    field_key str
    Field keyNote: This field may return null, indicating that a valid value cannot be obtained.
    field_value str
    Field valueNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldDataType String
    Field typeNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldKey String
    Field keyNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldValue String
    Field valueNote: This field may return null, indicating that a valid value cannot be obtained.

    WedataDqRuleFieldConfigWhereConfig, WedataDqRuleFieldConfigWhereConfigArgs

    FieldDataType string
    Field typeNote: This field may return null, indicating that a valid value cannot be obtained.
    FieldKey string
    Field keyNote: This field may return null, indicating that a valid value cannot be obtained.
    FieldValue string
    Field valueNote: This field may return null, indicating that a valid value cannot be obtained.
    FieldDataType string
    Field typeNote: This field may return null, indicating that a valid value cannot be obtained.
    FieldKey string
    Field keyNote: This field may return null, indicating that a valid value cannot be obtained.
    FieldValue string
    Field valueNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldDataType String
    Field typeNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldKey String
    Field keyNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldValue String
    Field valueNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldDataType string
    Field typeNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldKey string
    Field keyNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldValue string
    Field valueNote: This field may return null, indicating that a valid value cannot be obtained.
    field_data_type str
    Field typeNote: This field may return null, indicating that a valid value cannot be obtained.
    field_key str
    Field keyNote: This field may return null, indicating that a valid value cannot be obtained.
    field_value str
    Field valueNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldDataType String
    Field typeNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldKey String
    Field keyNote: This field may return null, indicating that a valid value cannot be obtained.
    fieldValue String
    Field valueNote: This field may return null, indicating that a valid value cannot be obtained.

    Import

    wedata dq_rule can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/wedataDqRule:WedataDqRule example 1948767646355341312#894
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack