@cdktf-providers/newrelic 3.75.4 → 3.76.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/account-management/index.d.ts +59 -6
- package/dist/account-management/index.js +168 -6
- package/dist/alert-channel/index.d.ts +30 -30
- package/dist/alert-channel/index.js +6 -6
- package/dist/alert-condition/index.d.ts +23 -23
- package/dist/alert-condition/index.js +6 -6
- package/dist/alert-muting-rule/index.d.ts +23 -23
- package/dist/alert-muting-rule/index.js +6 -6
- package/dist/alert-policy/index.d.ts +8 -8
- package/dist/alert-policy/index.js +6 -6
- package/dist/alert-policy-channel/index.d.ts +9 -9
- package/dist/alert-policy-channel/index.js +6 -6
- package/dist/api-access-key/index.d.ts +10 -10
- package/dist/api-access-key/index.js +6 -6
- package/dist/application-settings/index.d.ts +27 -27
- package/dist/application-settings/index.js +6 -6
- package/dist/browser-application/index.d.ts +9 -9
- package/dist/browser-application/index.js +6 -6
- package/dist/cloud-aws-govcloud-integrations/index.d.ts +110 -110
- package/dist/cloud-aws-govcloud-integrations/index.js +6 -6
- package/dist/cloud-aws-govcloud-link-account/index.d.ts +8 -8
- package/dist/cloud-aws-govcloud-link-account/index.js +6 -6
- package/dist/cloud-aws-integrations/index.d.ts +231 -231
- package/dist/cloud-aws-integrations/index.js +6 -6
- package/dist/cloud-aws-link-account/index.d.ts +8 -8
- package/dist/cloud-aws-link-account/index.js +6 -6
- package/dist/cloud-azure-integrations/index.d.ts +109 -109
- package/dist/cloud-azure-integrations/index.js +6 -6
- package/dist/cloud-azure-link-account/index.d.ts +10 -10
- package/dist/cloud-azure-link-account/index.js +6 -6
- package/dist/cloud-gcp-integrations/index.d.ts +62 -62
- package/dist/cloud-gcp-integrations/index.js +6 -6
- package/dist/cloud-gcp-link-account/index.d.ts +7 -7
- package/dist/cloud-gcp-link-account/index.js +6 -6
- package/dist/cloud-oci-link-account/index.d.ts +18 -18
- package/dist/cloud-oci-link-account/index.js +6 -6
- package/dist/data-newrelic-account/index.d.ts +8 -7
- package/dist/data-newrelic-account/index.js +10 -6
- package/dist/data-newrelic-alert-channel/index.d.ts +6 -6
- package/dist/data-newrelic-alert-channel/index.js +6 -6
- package/dist/data-newrelic-alert-policy/index.d.ts +7 -7
- package/dist/data-newrelic-alert-policy/index.js +6 -6
- package/dist/data-newrelic-application/index.d.ts +5 -5
- package/dist/data-newrelic-application/index.js +6 -6
- package/dist/data-newrelic-authentication-domain/index.d.ts +4 -4
- package/dist/data-newrelic-authentication-domain/index.js +6 -6
- package/dist/data-newrelic-cloud-account/index.d.ts +7 -7
- package/dist/data-newrelic-cloud-account/index.js +6 -6
- package/dist/data-newrelic-entity/index.d.ts +14 -14
- package/dist/data-newrelic-entity/index.js +6 -6
- package/dist/data-newrelic-group/index.d.ts +5 -5
- package/dist/data-newrelic-group/index.js +6 -6
- package/dist/data-newrelic-key-transaction/index.d.ts +7 -7
- package/dist/data-newrelic-key-transaction/index.js +6 -6
- package/dist/data-newrelic-notification-destination/index.d.ts +8 -8
- package/dist/data-newrelic-notification-destination/index.js +6 -6
- package/dist/data-newrelic-obfuscation-expression/index.d.ts +6 -6
- package/dist/data-newrelic-obfuscation-expression/index.js +6 -6
- package/dist/data-newrelic-service-level-alert-helper/index.d.ts +11 -11
- package/dist/data-newrelic-service-level-alert-helper/index.js +6 -6
- package/dist/data-newrelic-synthetics-private-location/index.d.ts +7 -7
- package/dist/data-newrelic-synthetics-private-location/index.js +6 -6
- package/dist/data-newrelic-synthetics-secure-credential/index.d.ts +6 -6
- package/dist/data-newrelic-synthetics-secure-credential/index.js +6 -6
- package/dist/data-newrelic-test-grok-pattern/index.d.ts +7 -7
- package/dist/data-newrelic-test-grok-pattern/index.js +6 -6
- package/dist/data-newrelic-user/index.d.ts +6 -6
- package/dist/data-newrelic-user/index.js +6 -6
- package/dist/data-partition-rule/index.d.ts +12 -12
- package/dist/data-partition-rule/index.js +6 -6
- package/dist/entity-tags/index.d.ts +10 -10
- package/dist/entity-tags/index.js +6 -6
- package/dist/events-to-metrics-rule/index.d.ts +9 -9
- package/dist/events-to-metrics-rule/index.js +6 -6
- package/dist/group/index.d.ts +7 -7
- package/dist/group/index.js +6 -6
- package/dist/infra-alert-condition/index.d.ts +25 -25
- package/dist/infra-alert-condition/index.js +6 -6
- package/dist/insights-event/index.d.ts +11 -11
- package/dist/insights-event/index.js +6 -6
- package/dist/key-transaction/index.d.ts +9 -9
- package/dist/key-transaction/index.js +6 -6
- package/dist/log-parsing-rule/index.d.ts +12 -12
- package/dist/log-parsing-rule/index.js +6 -6
- package/dist/monitor-downtime/index.d.ts +20 -20
- package/dist/monitor-downtime/index.js +6 -6
- package/dist/notification-channel/index.d.ts +18 -18
- package/dist/notification-channel/index.js +6 -6
- package/dist/notification-destination/index.d.ts +28 -28
- package/dist/notification-destination/index.js +6 -6
- package/dist/nrql-alert-condition/index.d.ts +151 -71
- package/dist/nrql-alert-condition/index.js +222 -6
- package/dist/nrql-drop-rule/index.d.ts +10 -10
- package/dist/nrql-drop-rule/index.js +6 -6
- package/dist/obfuscation-expression/index.d.ts +8 -8
- package/dist/obfuscation-expression/index.js +6 -6
- package/dist/obfuscation-rule/index.d.ts +13 -13
- package/dist/obfuscation-rule/index.js +6 -6
- package/dist/one-dashboard/index-structs/structs0.d.ts +382 -382
- package/dist/one-dashboard/index-structs/structs400.d.ts +212 -212
- package/dist/one-dashboard/index.d.ts +10 -10
- package/dist/one-dashboard/index.js +5 -5
- package/dist/one-dashboard-json/index.d.ts +9 -9
- package/dist/one-dashboard-json/index.js +6 -6
- package/dist/one-dashboard-raw/index.d.ts +20 -20
- package/dist/one-dashboard-raw/index.js +6 -6
- package/dist/pipeline-cloud-rule/index.d.ts +8 -8
- package/dist/pipeline-cloud-rule/index.js +6 -6
- package/dist/provider/index.d.ts +17 -17
- package/dist/provider/index.js +6 -6
- package/dist/service-level/index.d.ts +38 -38
- package/dist/service-level/index.js +6 -6
- package/dist/synthetics-alert-condition/index.d.ts +9 -9
- package/dist/synthetics-alert-condition/index.js +6 -6
- package/dist/synthetics-broken-links-monitor/index.d.ts +17 -17
- package/dist/synthetics-broken-links-monitor/index.js +6 -6
- package/dist/synthetics-cert-check-monitor/index.d.ts +18 -18
- package/dist/synthetics-cert-check-monitor/index.js +6 -6
- package/dist/synthetics-monitor/index.d.ts +31 -31
- package/dist/synthetics-monitor/index.js +6 -6
- package/dist/synthetics-multilocation-alert-condition/index.d.ts +14 -14
- package/dist/synthetics-multilocation-alert-condition/index.js +6 -6
- package/dist/synthetics-private-location/index.d.ts +8 -8
- package/dist/synthetics-private-location/index.js +6 -6
- package/dist/synthetics-script-monitor/index.d.ts +26 -26
- package/dist/synthetics-script-monitor/index.js +6 -6
- package/dist/synthetics-secure-credential/index.d.ts +11 -11
- package/dist/synthetics-secure-credential/index.js +6 -6
- package/dist/synthetics-step-monitor/index.d.ts +25 -25
- package/dist/synthetics-step-monitor/index.js +6 -6
- package/dist/user/index.d.ts +8 -8
- package/dist/user/index.js +6 -6
- package/dist/workflow/index.d.ts +26 -26
- package/dist/workflow/index.js +6 -6
- package/dist/workload/index.d.ts +32 -32
- package/dist/workload/index.js +6 -6
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition
|
|
2
2
|
// generated from terraform resource schema
|
|
3
3
|
import * as cdktf from 'cdktf';
|
|
4
4
|
export function nrqlAlertConditionCriticalPredictionToTerraform(struct) {
|
|
@@ -522,6 +522,199 @@ export class NrqlAlertConditionNrqlOutputReference extends cdktf.ComplexObject {
|
|
|
522
522
|
return this._sinceValue;
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
+
export function nrqlAlertConditionOutlierConfigurationDbscanToTerraform(struct) {
|
|
526
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
527
|
+
return struct;
|
|
528
|
+
}
|
|
529
|
+
if (cdktf.isComplexElement(struct)) {
|
|
530
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
531
|
+
}
|
|
532
|
+
return {
|
|
533
|
+
epsilon: cdktf.numberToTerraform(struct.epsilon),
|
|
534
|
+
evaluation_group_facet: cdktf.stringToTerraform(struct.evaluationGroupFacet),
|
|
535
|
+
minimum_points: cdktf.numberToTerraform(struct.minimumPoints),
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
export function nrqlAlertConditionOutlierConfigurationDbscanToHclTerraform(struct) {
|
|
539
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
540
|
+
return struct;
|
|
541
|
+
}
|
|
542
|
+
if (cdktf.isComplexElement(struct)) {
|
|
543
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
544
|
+
}
|
|
545
|
+
const attrs = {
|
|
546
|
+
epsilon: {
|
|
547
|
+
value: cdktf.numberToHclTerraform(struct.epsilon),
|
|
548
|
+
isBlock: false,
|
|
549
|
+
type: "simple",
|
|
550
|
+
storageClassType: "number",
|
|
551
|
+
},
|
|
552
|
+
evaluation_group_facet: {
|
|
553
|
+
value: cdktf.stringToHclTerraform(struct.evaluationGroupFacet),
|
|
554
|
+
isBlock: false,
|
|
555
|
+
type: "simple",
|
|
556
|
+
storageClassType: "string",
|
|
557
|
+
},
|
|
558
|
+
minimum_points: {
|
|
559
|
+
value: cdktf.numberToHclTerraform(struct.minimumPoints),
|
|
560
|
+
isBlock: false,
|
|
561
|
+
type: "simple",
|
|
562
|
+
storageClassType: "number",
|
|
563
|
+
},
|
|
564
|
+
};
|
|
565
|
+
// remove undefined attributes
|
|
566
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
567
|
+
}
|
|
568
|
+
export class NrqlAlertConditionOutlierConfigurationDbscanOutputReference extends cdktf.ComplexObject {
|
|
569
|
+
isEmptyObject = false;
|
|
570
|
+
/**
|
|
571
|
+
* @param terraformResource The parent resource
|
|
572
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
573
|
+
*/
|
|
574
|
+
constructor(terraformResource, terraformAttribute) {
|
|
575
|
+
super(terraformResource, terraformAttribute, false, 0);
|
|
576
|
+
}
|
|
577
|
+
get internalValue() {
|
|
578
|
+
let hasAnyValues = this.isEmptyObject;
|
|
579
|
+
const internalValueResult = {};
|
|
580
|
+
if (this._epsilon !== undefined) {
|
|
581
|
+
hasAnyValues = true;
|
|
582
|
+
internalValueResult.epsilon = this._epsilon;
|
|
583
|
+
}
|
|
584
|
+
if (this._evaluationGroupFacet !== undefined) {
|
|
585
|
+
hasAnyValues = true;
|
|
586
|
+
internalValueResult.evaluationGroupFacet = this._evaluationGroupFacet;
|
|
587
|
+
}
|
|
588
|
+
if (this._minimumPoints !== undefined) {
|
|
589
|
+
hasAnyValues = true;
|
|
590
|
+
internalValueResult.minimumPoints = this._minimumPoints;
|
|
591
|
+
}
|
|
592
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
593
|
+
}
|
|
594
|
+
set internalValue(value) {
|
|
595
|
+
if (value === undefined) {
|
|
596
|
+
this.isEmptyObject = false;
|
|
597
|
+
this._epsilon = undefined;
|
|
598
|
+
this._evaluationGroupFacet = undefined;
|
|
599
|
+
this._minimumPoints = undefined;
|
|
600
|
+
}
|
|
601
|
+
else {
|
|
602
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
603
|
+
this._epsilon = value.epsilon;
|
|
604
|
+
this._evaluationGroupFacet = value.evaluationGroupFacet;
|
|
605
|
+
this._minimumPoints = value.minimumPoints;
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
// epsilon - computed: false, optional: false, required: true
|
|
609
|
+
_epsilon;
|
|
610
|
+
get epsilon() {
|
|
611
|
+
return this.getNumberAttribute('epsilon');
|
|
612
|
+
}
|
|
613
|
+
set epsilon(value) {
|
|
614
|
+
this._epsilon = value;
|
|
615
|
+
}
|
|
616
|
+
// Temporarily expose input value. Use with caution.
|
|
617
|
+
get epsilonInput() {
|
|
618
|
+
return this._epsilon;
|
|
619
|
+
}
|
|
620
|
+
// evaluation_group_facet - computed: false, optional: true, required: false
|
|
621
|
+
_evaluationGroupFacet;
|
|
622
|
+
get evaluationGroupFacet() {
|
|
623
|
+
return this.getStringAttribute('evaluation_group_facet');
|
|
624
|
+
}
|
|
625
|
+
set evaluationGroupFacet(value) {
|
|
626
|
+
this._evaluationGroupFacet = value;
|
|
627
|
+
}
|
|
628
|
+
resetEvaluationGroupFacet() {
|
|
629
|
+
this._evaluationGroupFacet = undefined;
|
|
630
|
+
}
|
|
631
|
+
// Temporarily expose input value. Use with caution.
|
|
632
|
+
get evaluationGroupFacetInput() {
|
|
633
|
+
return this._evaluationGroupFacet;
|
|
634
|
+
}
|
|
635
|
+
// minimum_points - computed: false, optional: false, required: true
|
|
636
|
+
_minimumPoints;
|
|
637
|
+
get minimumPoints() {
|
|
638
|
+
return this.getNumberAttribute('minimum_points');
|
|
639
|
+
}
|
|
640
|
+
set minimumPoints(value) {
|
|
641
|
+
this._minimumPoints = value;
|
|
642
|
+
}
|
|
643
|
+
// Temporarily expose input value. Use with caution.
|
|
644
|
+
get minimumPointsInput() {
|
|
645
|
+
return this._minimumPoints;
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
export function nrqlAlertConditionOutlierConfigurationToTerraform(struct) {
|
|
649
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
650
|
+
return struct;
|
|
651
|
+
}
|
|
652
|
+
if (cdktf.isComplexElement(struct)) {
|
|
653
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
654
|
+
}
|
|
655
|
+
return {
|
|
656
|
+
dbscan: nrqlAlertConditionOutlierConfigurationDbscanToTerraform(struct.dbscan),
|
|
657
|
+
};
|
|
658
|
+
}
|
|
659
|
+
export function nrqlAlertConditionOutlierConfigurationToHclTerraform(struct) {
|
|
660
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
661
|
+
return struct;
|
|
662
|
+
}
|
|
663
|
+
if (cdktf.isComplexElement(struct)) {
|
|
664
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
665
|
+
}
|
|
666
|
+
const attrs = {
|
|
667
|
+
dbscan: {
|
|
668
|
+
value: nrqlAlertConditionOutlierConfigurationDbscanToHclTerraform(struct.dbscan),
|
|
669
|
+
isBlock: true,
|
|
670
|
+
type: "list",
|
|
671
|
+
storageClassType: "NrqlAlertConditionOutlierConfigurationDbscanList",
|
|
672
|
+
},
|
|
673
|
+
};
|
|
674
|
+
// remove undefined attributes
|
|
675
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
676
|
+
}
|
|
677
|
+
export class NrqlAlertConditionOutlierConfigurationOutputReference extends cdktf.ComplexObject {
|
|
678
|
+
isEmptyObject = false;
|
|
679
|
+
/**
|
|
680
|
+
* @param terraformResource The parent resource
|
|
681
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
682
|
+
*/
|
|
683
|
+
constructor(terraformResource, terraformAttribute) {
|
|
684
|
+
super(terraformResource, terraformAttribute, false, 0);
|
|
685
|
+
}
|
|
686
|
+
get internalValue() {
|
|
687
|
+
let hasAnyValues = this.isEmptyObject;
|
|
688
|
+
const internalValueResult = {};
|
|
689
|
+
if (this._dbscan?.internalValue !== undefined) {
|
|
690
|
+
hasAnyValues = true;
|
|
691
|
+
internalValueResult.dbscan = this._dbscan?.internalValue;
|
|
692
|
+
}
|
|
693
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
694
|
+
}
|
|
695
|
+
set internalValue(value) {
|
|
696
|
+
if (value === undefined) {
|
|
697
|
+
this.isEmptyObject = false;
|
|
698
|
+
this._dbscan.internalValue = undefined;
|
|
699
|
+
}
|
|
700
|
+
else {
|
|
701
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
702
|
+
this._dbscan.internalValue = value.dbscan;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
// dbscan - computed: false, optional: false, required: true
|
|
706
|
+
_dbscan = new NrqlAlertConditionOutlierConfigurationDbscanOutputReference(this, "dbscan");
|
|
707
|
+
get dbscan() {
|
|
708
|
+
return this._dbscan;
|
|
709
|
+
}
|
|
710
|
+
putDbscan(value) {
|
|
711
|
+
this._dbscan.internalValue = value;
|
|
712
|
+
}
|
|
713
|
+
// Temporarily expose input value. Use with caution.
|
|
714
|
+
get dbscanInput() {
|
|
715
|
+
return this._dbscan.internalValue;
|
|
716
|
+
}
|
|
717
|
+
}
|
|
525
718
|
export function nrqlAlertConditionTermPredictionToTerraform(struct) {
|
|
526
719
|
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
527
720
|
return struct;
|
|
@@ -1403,7 +1596,7 @@ export class NrqlAlertConditionWarningOutputReference extends cdktf.ComplexObjec
|
|
|
1403
1596
|
}
|
|
1404
1597
|
}
|
|
1405
1598
|
/**
|
|
1406
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
1599
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition}
|
|
1407
1600
|
*/
|
|
1408
1601
|
export class NrqlAlertCondition extends cdktf.TerraformResource {
|
|
1409
1602
|
// =================
|
|
@@ -1417,7 +1610,7 @@ export class NrqlAlertCondition extends cdktf.TerraformResource {
|
|
|
1417
1610
|
* Generates CDKTF code for importing a NrqlAlertCondition resource upon running "cdktf plan <stack-name>"
|
|
1418
1611
|
* @param scope The scope in which to define this construct
|
|
1419
1612
|
* @param importToId The construct id used in the generated config for the NrqlAlertCondition to import
|
|
1420
|
-
* @param importFromId The id of the existing NrqlAlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
1613
|
+
* @param importFromId The id of the existing NrqlAlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition#import import section} in the documentation of this resource for the id to use
|
|
1421
1614
|
* @param provider? Optional instance of the provider where the NrqlAlertCondition to import is found
|
|
1422
1615
|
*/
|
|
1423
1616
|
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
@@ -1427,7 +1620,7 @@ export class NrqlAlertCondition extends cdktf.TerraformResource {
|
|
|
1427
1620
|
// INITIALIZER
|
|
1428
1621
|
// ===========
|
|
1429
1622
|
/**
|
|
1430
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
1623
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition} Resource
|
|
1431
1624
|
*
|
|
1432
1625
|
* @param scope The scope in which to define this construct
|
|
1433
1626
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -1438,8 +1631,8 @@ export class NrqlAlertCondition extends cdktf.TerraformResource {
|
|
|
1438
1631
|
terraformResourceType: 'newrelic_nrql_alert_condition',
|
|
1439
1632
|
terraformGeneratorMetadata: {
|
|
1440
1633
|
providerName: 'newrelic',
|
|
1441
|
-
providerVersion: '3.
|
|
1442
|
-
providerVersionConstraint: '3.
|
|
1634
|
+
providerVersion: '3.76.1',
|
|
1635
|
+
providerVersionConstraint: '3.76.1'
|
|
1443
1636
|
},
|
|
1444
1637
|
provider: config.provider,
|
|
1445
1638
|
dependsOn: config.dependsOn,
|
|
@@ -1477,6 +1670,7 @@ export class NrqlAlertCondition extends cdktf.TerraformResource {
|
|
|
1477
1670
|
this._violationTimeLimitSeconds = config.violationTimeLimitSeconds;
|
|
1478
1671
|
this._critical.internalValue = config.critical;
|
|
1479
1672
|
this._nrql.internalValue = config.nrql;
|
|
1673
|
+
this._outlierConfiguration.internalValue = config.outlierConfiguration;
|
|
1480
1674
|
this._term.internalValue = config.term;
|
|
1481
1675
|
this._timeouts.internalValue = config.timeouts;
|
|
1482
1676
|
this._warning.internalValue = config.warning;
|
|
@@ -1899,6 +2093,21 @@ export class NrqlAlertCondition extends cdktf.TerraformResource {
|
|
|
1899
2093
|
get nrqlInput() {
|
|
1900
2094
|
return this._nrql.internalValue;
|
|
1901
2095
|
}
|
|
2096
|
+
// outlier_configuration - computed: false, optional: true, required: false
|
|
2097
|
+
_outlierConfiguration = new NrqlAlertConditionOutlierConfigurationOutputReference(this, "outlier_configuration");
|
|
2098
|
+
get outlierConfiguration() {
|
|
2099
|
+
return this._outlierConfiguration;
|
|
2100
|
+
}
|
|
2101
|
+
putOutlierConfiguration(value) {
|
|
2102
|
+
this._outlierConfiguration.internalValue = value;
|
|
2103
|
+
}
|
|
2104
|
+
resetOutlierConfiguration() {
|
|
2105
|
+
this._outlierConfiguration.internalValue = undefined;
|
|
2106
|
+
}
|
|
2107
|
+
// Temporarily expose input value. Use with caution.
|
|
2108
|
+
get outlierConfigurationInput() {
|
|
2109
|
+
return this._outlierConfiguration.internalValue;
|
|
2110
|
+
}
|
|
1902
2111
|
// term - computed: false, optional: true, required: false
|
|
1903
2112
|
_term = new NrqlAlertConditionTermList(this, "term", true);
|
|
1904
2113
|
get term() {
|
|
@@ -1977,6 +2186,7 @@ export class NrqlAlertCondition extends cdktf.TerraformResource {
|
|
|
1977
2186
|
violation_time_limit_seconds: cdktf.numberToTerraform(this._violationTimeLimitSeconds),
|
|
1978
2187
|
critical: nrqlAlertConditionCriticalToTerraform(this._critical.internalValue),
|
|
1979
2188
|
nrql: nrqlAlertConditionNrqlToTerraform(this._nrql.internalValue),
|
|
2189
|
+
outlier_configuration: nrqlAlertConditionOutlierConfigurationToTerraform(this._outlierConfiguration.internalValue),
|
|
1980
2190
|
term: cdktf.listMapper(nrqlAlertConditionTermToTerraform, true)(this._term.internalValue),
|
|
1981
2191
|
timeouts: nrqlAlertConditionTimeoutsToTerraform(this._timeouts.internalValue),
|
|
1982
2192
|
warning: nrqlAlertConditionWarningToTerraform(this._warning.internalValue),
|
|
@@ -2152,6 +2362,12 @@ export class NrqlAlertCondition extends cdktf.TerraformResource {
|
|
|
2152
2362
|
type: "list",
|
|
2153
2363
|
storageClassType: "NrqlAlertConditionNrqlList",
|
|
2154
2364
|
},
|
|
2365
|
+
outlier_configuration: {
|
|
2366
|
+
value: nrqlAlertConditionOutlierConfigurationToHclTerraform(this._outlierConfiguration.internalValue),
|
|
2367
|
+
isBlock: true,
|
|
2368
|
+
type: "list",
|
|
2369
|
+
storageClassType: "NrqlAlertConditionOutlierConfigurationList",
|
|
2370
|
+
},
|
|
2155
2371
|
term: {
|
|
2156
2372
|
value: cdktf.listMapperHcl(nrqlAlertConditionTermToHclTerraform, true)(this._term.internalValue),
|
|
2157
2373
|
isBlock: true,
|
|
@@ -4,23 +4,23 @@ export interface NrqlDropRuleConfig extends cdktf.TerraformMetaArguments {
|
|
|
4
4
|
/**
|
|
5
5
|
* Account with the NRQL drop rule will be put.
|
|
6
6
|
*
|
|
7
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule#account_id NrqlDropRule#account_id}
|
|
8
8
|
*/
|
|
9
9
|
readonly accountId?: number;
|
|
10
10
|
/**
|
|
11
11
|
* The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates).
|
|
12
12
|
*
|
|
13
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule#action NrqlDropRule#action}
|
|
14
14
|
*/
|
|
15
15
|
readonly action: string;
|
|
16
16
|
/**
|
|
17
17
|
* Provides additional information about the rule.
|
|
18
18
|
*
|
|
19
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule#description NrqlDropRule#description}
|
|
20
20
|
*/
|
|
21
21
|
readonly description?: string;
|
|
22
22
|
/**
|
|
23
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
23
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule#id NrqlDropRule#id}
|
|
24
24
|
*
|
|
25
25
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
26
26
|
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
@@ -29,19 +29,19 @@ export interface NrqlDropRuleConfig extends cdktf.TerraformMetaArguments {
|
|
|
29
29
|
/**
|
|
30
30
|
* Explains which data to apply the drop rule to.
|
|
31
31
|
*
|
|
32
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
32
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule#nrql NrqlDropRule#nrql}
|
|
33
33
|
*/
|
|
34
34
|
readonly nrql: string;
|
|
35
35
|
/**
|
|
36
36
|
* timeouts block
|
|
37
37
|
*
|
|
38
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule#timeouts NrqlDropRule#timeouts}
|
|
39
39
|
*/
|
|
40
40
|
readonly timeouts?: NrqlDropRuleTimeouts;
|
|
41
41
|
}
|
|
42
42
|
export interface NrqlDropRuleTimeouts {
|
|
43
43
|
/**
|
|
44
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
44
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule#read NrqlDropRule#read}
|
|
45
45
|
*/
|
|
46
46
|
readonly read?: string;
|
|
47
47
|
}
|
|
@@ -64,7 +64,7 @@ export declare class NrqlDropRuleTimeoutsOutputReference extends cdktf.ComplexOb
|
|
|
64
64
|
get readInput(): string;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
67
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule newrelic_nrql_drop_rule}
|
|
68
68
|
*/
|
|
69
69
|
export declare class NrqlDropRule extends cdktf.TerraformResource {
|
|
70
70
|
static readonly tfResourceType = "newrelic_nrql_drop_rule";
|
|
@@ -72,12 +72,12 @@ export declare class NrqlDropRule extends cdktf.TerraformResource {
|
|
|
72
72
|
* Generates CDKTF code for importing a NrqlDropRule resource upon running "cdktf plan <stack-name>"
|
|
73
73
|
* @param scope The scope in which to define this construct
|
|
74
74
|
* @param importToId The construct id used in the generated config for the NrqlDropRule to import
|
|
75
|
-
* @param importFromId The id of the existing NrqlDropRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
75
|
+
* @param importFromId The id of the existing NrqlDropRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule#import import section} in the documentation of this resource for the id to use
|
|
76
76
|
* @param provider? Optional instance of the provider where the NrqlDropRule to import is found
|
|
77
77
|
*/
|
|
78
78
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
79
79
|
/**
|
|
80
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
80
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule newrelic_nrql_drop_rule} Resource
|
|
81
81
|
*
|
|
82
82
|
* @param scope The scope in which to define this construct
|
|
83
83
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule
|
|
2
2
|
// generated from terraform resource schema
|
|
3
3
|
import * as cdktf from 'cdktf';
|
|
4
4
|
export function nrqlDropRuleTimeoutsToTerraform(struct) {
|
|
@@ -85,7 +85,7 @@ export class NrqlDropRuleTimeoutsOutputReference extends cdktf.ComplexObject {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
88
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule newrelic_nrql_drop_rule}
|
|
89
89
|
*/
|
|
90
90
|
export class NrqlDropRule extends cdktf.TerraformResource {
|
|
91
91
|
// =================
|
|
@@ -99,7 +99,7 @@ export class NrqlDropRule extends cdktf.TerraformResource {
|
|
|
99
99
|
* Generates CDKTF code for importing a NrqlDropRule resource upon running "cdktf plan <stack-name>"
|
|
100
100
|
* @param scope The scope in which to define this construct
|
|
101
101
|
* @param importToId The construct id used in the generated config for the NrqlDropRule to import
|
|
102
|
-
* @param importFromId The id of the existing NrqlDropRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
102
|
+
* @param importFromId The id of the existing NrqlDropRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule#import import section} in the documentation of this resource for the id to use
|
|
103
103
|
* @param provider? Optional instance of the provider where the NrqlDropRule to import is found
|
|
104
104
|
*/
|
|
105
105
|
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
@@ -109,7 +109,7 @@ export class NrqlDropRule extends cdktf.TerraformResource {
|
|
|
109
109
|
// INITIALIZER
|
|
110
110
|
// ===========
|
|
111
111
|
/**
|
|
112
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
112
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/nrql_drop_rule newrelic_nrql_drop_rule} Resource
|
|
113
113
|
*
|
|
114
114
|
* @param scope The scope in which to define this construct
|
|
115
115
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -120,8 +120,8 @@ export class NrqlDropRule extends cdktf.TerraformResource {
|
|
|
120
120
|
terraformResourceType: 'newrelic_nrql_drop_rule',
|
|
121
121
|
terraformGeneratorMetadata: {
|
|
122
122
|
providerName: 'newrelic',
|
|
123
|
-
providerVersion: '3.
|
|
124
|
-
providerVersionConstraint: '3.
|
|
123
|
+
providerVersion: '3.76.1',
|
|
124
|
+
providerVersionConstraint: '3.76.1'
|
|
125
125
|
},
|
|
126
126
|
provider: config.provider,
|
|
127
127
|
dependsOn: config.dependsOn,
|
|
@@ -4,17 +4,17 @@ export interface ObfuscationExpressionConfig extends cdktf.TerraformMetaArgument
|
|
|
4
4
|
/**
|
|
5
5
|
* The account id associated with the obfuscation expression.
|
|
6
6
|
*
|
|
7
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_expression#account_id ObfuscationExpression#account_id}
|
|
8
8
|
*/
|
|
9
9
|
readonly accountId?: number;
|
|
10
10
|
/**
|
|
11
11
|
* Description of expression.
|
|
12
12
|
*
|
|
13
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_expression#description ObfuscationExpression#description}
|
|
14
14
|
*/
|
|
15
15
|
readonly description?: string;
|
|
16
16
|
/**
|
|
17
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_expression#id ObfuscationExpression#id}
|
|
18
18
|
*
|
|
19
19
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
20
20
|
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
@@ -23,18 +23,18 @@ export interface ObfuscationExpressionConfig extends cdktf.TerraformMetaArgument
|
|
|
23
23
|
/**
|
|
24
24
|
* Name of expression.
|
|
25
25
|
*
|
|
26
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_expression#name ObfuscationExpression#name}
|
|
27
27
|
*/
|
|
28
28
|
readonly name: string;
|
|
29
29
|
/**
|
|
30
30
|
* Regex of expression.
|
|
31
31
|
*
|
|
32
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
32
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_expression#regex ObfuscationExpression#regex}
|
|
33
33
|
*/
|
|
34
34
|
readonly regex: string;
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
37
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_expression newrelic_obfuscation_expression}
|
|
38
38
|
*/
|
|
39
39
|
export declare class ObfuscationExpression extends cdktf.TerraformResource {
|
|
40
40
|
static readonly tfResourceType = "newrelic_obfuscation_expression";
|
|
@@ -42,12 +42,12 @@ export declare class ObfuscationExpression extends cdktf.TerraformResource {
|
|
|
42
42
|
* Generates CDKTF code for importing a ObfuscationExpression resource upon running "cdktf plan <stack-name>"
|
|
43
43
|
* @param scope The scope in which to define this construct
|
|
44
44
|
* @param importToId The construct id used in the generated config for the ObfuscationExpression to import
|
|
45
|
-
* @param importFromId The id of the existing ObfuscationExpression that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
45
|
+
* @param importFromId The id of the existing ObfuscationExpression that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_expression#import import section} in the documentation of this resource for the id to use
|
|
46
46
|
* @param provider? Optional instance of the provider where the ObfuscationExpression to import is found
|
|
47
47
|
*/
|
|
48
48
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
49
49
|
/**
|
|
50
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
50
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_expression newrelic_obfuscation_expression} Resource
|
|
51
51
|
*
|
|
52
52
|
* @param scope The scope in which to define this construct
|
|
53
53
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_expression
|
|
2
2
|
// generated from terraform resource schema
|
|
3
3
|
import * as cdktf from 'cdktf';
|
|
4
4
|
/**
|
|
5
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_expression newrelic_obfuscation_expression}
|
|
6
6
|
*/
|
|
7
7
|
export class ObfuscationExpression extends cdktf.TerraformResource {
|
|
8
8
|
// =================
|
|
@@ -16,7 +16,7 @@ export class ObfuscationExpression extends cdktf.TerraformResource {
|
|
|
16
16
|
* Generates CDKTF code for importing a ObfuscationExpression resource upon running "cdktf plan <stack-name>"
|
|
17
17
|
* @param scope The scope in which to define this construct
|
|
18
18
|
* @param importToId The construct id used in the generated config for the ObfuscationExpression to import
|
|
19
|
-
* @param importFromId The id of the existing ObfuscationExpression that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
19
|
+
* @param importFromId The id of the existing ObfuscationExpression that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_expression#import import section} in the documentation of this resource for the id to use
|
|
20
20
|
* @param provider? Optional instance of the provider where the ObfuscationExpression to import is found
|
|
21
21
|
*/
|
|
22
22
|
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
@@ -26,7 +26,7 @@ export class ObfuscationExpression extends cdktf.TerraformResource {
|
|
|
26
26
|
// INITIALIZER
|
|
27
27
|
// ===========
|
|
28
28
|
/**
|
|
29
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_expression newrelic_obfuscation_expression} Resource
|
|
30
30
|
*
|
|
31
31
|
* @param scope The scope in which to define this construct
|
|
32
32
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -37,8 +37,8 @@ export class ObfuscationExpression extends cdktf.TerraformResource {
|
|
|
37
37
|
terraformResourceType: 'newrelic_obfuscation_expression',
|
|
38
38
|
terraformGeneratorMetadata: {
|
|
39
39
|
providerName: 'newrelic',
|
|
40
|
-
providerVersion: '3.
|
|
41
|
-
providerVersionConstraint: '3.
|
|
40
|
+
providerVersion: '3.76.1',
|
|
41
|
+
providerVersionConstraint: '3.76.1'
|
|
42
42
|
},
|
|
43
43
|
provider: config.provider,
|
|
44
44
|
dependsOn: config.dependsOn,
|
|
@@ -4,29 +4,29 @@ export interface ObfuscationRuleConfig extends cdktf.TerraformMetaArguments {
|
|
|
4
4
|
/**
|
|
5
5
|
* The account id associated with the obfuscation rule.
|
|
6
6
|
*
|
|
7
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_rule#account_id ObfuscationRule#account_id}
|
|
8
8
|
*/
|
|
9
9
|
readonly accountId?: number;
|
|
10
10
|
/**
|
|
11
11
|
* Description of rule.
|
|
12
12
|
*
|
|
13
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_rule#description ObfuscationRule#description}
|
|
14
14
|
*/
|
|
15
15
|
readonly description?: string;
|
|
16
16
|
/**
|
|
17
17
|
* Whether the rule should be applied or not to incoming data.
|
|
18
18
|
*
|
|
19
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_rule#enabled ObfuscationRule#enabled}
|
|
20
20
|
*/
|
|
21
21
|
readonly enabled: boolean | cdktf.IResolvable;
|
|
22
22
|
/**
|
|
23
23
|
* NRQL for determining whether a given log record should have obfuscation actions applied.
|
|
24
24
|
*
|
|
25
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_rule#filter ObfuscationRule#filter}
|
|
26
26
|
*/
|
|
27
27
|
readonly filter: string;
|
|
28
28
|
/**
|
|
29
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_rule#id ObfuscationRule#id}
|
|
30
30
|
*
|
|
31
31
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
32
32
|
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
@@ -35,13 +35,13 @@ export interface ObfuscationRuleConfig extends cdktf.TerraformMetaArguments {
|
|
|
35
35
|
/**
|
|
36
36
|
* Name of rule.
|
|
37
37
|
*
|
|
38
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_rule#name ObfuscationRule#name}
|
|
39
39
|
*/
|
|
40
40
|
readonly name: string;
|
|
41
41
|
/**
|
|
42
42
|
* action block
|
|
43
43
|
*
|
|
44
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
44
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_rule#action ObfuscationRule#action}
|
|
45
45
|
*/
|
|
46
46
|
readonly action: ObfuscationRuleAction[] | cdktf.IResolvable;
|
|
47
47
|
}
|
|
@@ -49,19 +49,19 @@ export interface ObfuscationRuleAction {
|
|
|
49
49
|
/**
|
|
50
50
|
* Attribute names for action. An empty list applies the action to all the attributes.
|
|
51
51
|
*
|
|
52
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
52
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_rule#attribute ObfuscationRule#attribute}
|
|
53
53
|
*/
|
|
54
54
|
readonly attribute: string[];
|
|
55
55
|
/**
|
|
56
56
|
* Expression Id for action.
|
|
57
57
|
*
|
|
58
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
58
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_rule#expression_id ObfuscationRule#expression_id}
|
|
59
59
|
*/
|
|
60
60
|
readonly expressionId: string;
|
|
61
61
|
/**
|
|
62
62
|
* Obfuscation method to use.
|
|
63
63
|
*
|
|
64
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
64
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_rule#method ObfuscationRule#method}
|
|
65
65
|
*/
|
|
66
66
|
readonly method: string;
|
|
67
67
|
}
|
|
@@ -109,7 +109,7 @@ export declare class ObfuscationRuleActionList extends cdktf.ComplexList {
|
|
|
109
109
|
get(index: number): ObfuscationRuleActionOutputReference;
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
112
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_rule newrelic_obfuscation_rule}
|
|
113
113
|
*/
|
|
114
114
|
export declare class ObfuscationRule extends cdktf.TerraformResource {
|
|
115
115
|
static readonly tfResourceType = "newrelic_obfuscation_rule";
|
|
@@ -117,12 +117,12 @@ export declare class ObfuscationRule extends cdktf.TerraformResource {
|
|
|
117
117
|
* Generates CDKTF code for importing a ObfuscationRule resource upon running "cdktf plan <stack-name>"
|
|
118
118
|
* @param scope The scope in which to define this construct
|
|
119
119
|
* @param importToId The construct id used in the generated config for the ObfuscationRule to import
|
|
120
|
-
* @param importFromId The id of the existing ObfuscationRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
120
|
+
* @param importFromId The id of the existing ObfuscationRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_rule#import import section} in the documentation of this resource for the id to use
|
|
121
121
|
* @param provider? Optional instance of the provider where the ObfuscationRule to import is found
|
|
122
122
|
*/
|
|
123
123
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
124
124
|
/**
|
|
125
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
125
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/obfuscation_rule newrelic_obfuscation_rule} Resource
|
|
126
126
|
*
|
|
127
127
|
* @param scope The scope in which to define this construct
|
|
128
128
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|