@@ -651,6 +651,12 @@ Only relevant if a minValue has been defined. Default = false.`,
651
651
},
652
652
},
653
653
},
654
+ "suspended" : {
655
+ Type : schema .TypeBool ,
656
+ Optional : true ,
657
+ Description : `Whether the Rule is active or suspended. Default = false.` ,
658
+ Default : false ,
659
+ },
654
660
"table_condition_expectation" : {
655
661
Type : schema .TypeList ,
656
662
Optional : true ,
@@ -1512,6 +1518,7 @@ func flattenDataplexDatascanDataQualitySpecRules(v interface{}, d *schema.Resour
1512
1518
"dimension" : flattenDataplexDatascanDataQualitySpecRulesDimension (original ["dimension" ], d , config ),
1513
1519
"threshold" : flattenDataplexDatascanDataQualitySpecRulesThreshold (original ["threshold" ], d , config ),
1514
1520
"name" : flattenDataplexDatascanDataQualitySpecRulesName (original ["name" ], d , config ),
1521
+ "suspended" : flattenDataplexDatascanDataQualitySpecRulesSuspended (original ["suspended" ], d , config ),
1515
1522
"description" : flattenDataplexDatascanDataQualitySpecRulesDescription (original ["description" ], d , config ),
1516
1523
"range_expectation" : flattenDataplexDatascanDataQualitySpecRulesRangeExpectation (original ["rangeExpectation" ], d , config ),
1517
1524
"non_null_expectation" : flattenDataplexDatascanDataQualitySpecRulesNonNullExpectation (original ["nonNullExpectation" ], d , config ),
@@ -1546,6 +1553,10 @@ func flattenDataplexDatascanDataQualitySpecRulesName(v interface{}, d *schema.Re
1546
1553
return v
1547
1554
}
1548
1555
1556
+ func flattenDataplexDatascanDataQualitySpecRulesSuspended (v interface {}, d * schema.ResourceData , config * transport_tpg.Config ) interface {} {
1557
+ return v
1558
+ }
1559
+
1549
1560
func flattenDataplexDatascanDataQualitySpecRulesDescription (v interface {}, d * schema.ResourceData , config * transport_tpg.Config ) interface {} {
1550
1561
return v
1551
1562
}
@@ -2392,6 +2403,13 @@ func expandDataplexDatascanDataQualitySpecRules(v interface{}, d tpgresource.Ter
2392
2403
transformed ["name" ] = transformedName
2393
2404
}
2394
2405
2406
+ transformedSuspended , err := expandDataplexDatascanDataQualitySpecRulesSuspended (original ["suspended" ], d , config )
2407
+ if err != nil {
2408
+ return nil , err
2409
+ } else if val := reflect .ValueOf (transformedSuspended ); val .IsValid () && ! tpgresource .IsEmptyValue (val ) {
2410
+ transformed ["suspended" ] = transformedSuspended
2411
+ }
2412
+
2395
2413
transformedDescription , err := expandDataplexDatascanDataQualitySpecRulesDescription (original ["description" ], d , config )
2396
2414
if err != nil {
2397
2415
return nil , err
@@ -2487,6 +2505,10 @@ func expandDataplexDatascanDataQualitySpecRulesName(v interface{}, d tpgresource
2487
2505
return v , nil
2488
2506
}
2489
2507
2508
+ func expandDataplexDatascanDataQualitySpecRulesSuspended (v interface {}, d tpgresource.TerraformResourceData , config * transport_tpg.Config ) (interface {}, error ) {
2509
+ return v , nil
2510
+ }
2511
+
2490
2512
func expandDataplexDatascanDataQualitySpecRulesDescription (v interface {}, d tpgresource.TerraformResourceData , config * transport_tpg.Config ) (interface {}, error ) {
2491
2513
return v , nil
2492
2514
}
0 commit comments