@pulumi/signalfx 7.1.7 → 7.1.8

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.
@@ -36,6 +36,14 @@ export declare class MetricRuleset extends pulumi.CustomResource {
36
36
  * ID of the creator of the metric ruleset
37
37
  */
38
38
  readonly creator: pulumi.Output<string>;
39
+ /**
40
+ * Information about the metric ruleset
41
+ */
42
+ readonly description: pulumi.Output<string | undefined>;
43
+ /**
44
+ * List of exception rules for the metric
45
+ */
46
+ readonly exceptionRules: pulumi.Output<outputs.MetricRulesetExceptionRule[] | undefined>;
39
47
  /**
40
48
  * Timestamp of when the metric ruleset was last updated
41
49
  */
@@ -85,6 +93,14 @@ export interface MetricRulesetState {
85
93
  * ID of the creator of the metric ruleset
86
94
  */
87
95
  creator?: pulumi.Input<string>;
96
+ /**
97
+ * Information about the metric ruleset
98
+ */
99
+ description?: pulumi.Input<string>;
100
+ /**
101
+ * List of exception rules for the metric
102
+ */
103
+ exceptionRules?: pulumi.Input<pulumi.Input<inputs.MetricRulesetExceptionRule>[]>;
88
104
  /**
89
105
  * Timestamp of when the metric ruleset was last updated
90
106
  */
@@ -118,6 +134,14 @@ export interface MetricRulesetArgs {
118
134
  * List of aggregation rules for the metric
119
135
  */
120
136
  aggregationRules?: pulumi.Input<pulumi.Input<inputs.MetricRulesetAggregationRule>[]>;
137
+ /**
138
+ * Information about the metric ruleset
139
+ */
140
+ description?: pulumi.Input<string>;
141
+ /**
142
+ * List of exception rules for the metric
143
+ */
144
+ exceptionRules?: pulumi.Input<pulumi.Input<inputs.MetricRulesetExceptionRule>[]>;
121
145
  /**
122
146
  * Name of the input metric
123
147
  */
package/metricRuleset.js CHANGED
@@ -43,6 +43,8 @@ class MetricRuleset extends pulumi.CustomResource {
43
43
  resourceInputs["aggregationRules"] = state ? state.aggregationRules : undefined;
44
44
  resourceInputs["created"] = state ? state.created : undefined;
45
45
  resourceInputs["creator"] = state ? state.creator : undefined;
46
+ resourceInputs["description"] = state ? state.description : undefined;
47
+ resourceInputs["exceptionRules"] = state ? state.exceptionRules : undefined;
46
48
  resourceInputs["lastUpdated"] = state ? state.lastUpdated : undefined;
47
49
  resourceInputs["lastUpdatedBy"] = state ? state.lastUpdatedBy : undefined;
48
50
  resourceInputs["lastUpdatedByName"] = state ? state.lastUpdatedByName : undefined;
@@ -59,6 +61,8 @@ class MetricRuleset extends pulumi.CustomResource {
59
61
  throw new Error("Missing required property 'routingRules'");
60
62
  }
61
63
  resourceInputs["aggregationRules"] = args ? args.aggregationRules : undefined;
64
+ resourceInputs["description"] = args ? args.description : undefined;
65
+ resourceInputs["exceptionRules"] = args ? args.exceptionRules : undefined;
62
66
  resourceInputs["metricName"] = args ? args.metricName : undefined;
63
67
  resourceInputs["routingRules"] = args ? args.routingRules : undefined;
64
68
  resourceInputs["created"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"metricRuleset.js","sourceRoot":"","sources":["../metricRuleset.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,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  "description": "A Pulumi package for creating and managing SignalFx resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "signalfx",
26
- "version": "7.1.7"
26
+ "version": "7.1.8"
27
27
  }
28
28
  }
package/types/input.d.ts CHANGED
@@ -536,6 +536,10 @@ export interface MetricRulesetAggregationRule {
536
536
  * Aggregator object
537
537
  */
538
538
  aggregators: pulumi.Input<pulumi.Input<inputs.MetricRulesetAggregationRuleAggregator>[]>;
539
+ /**
540
+ * Information about an aggregation rule
541
+ */
542
+ description?: pulumi.Input<string>;
539
543
  /**
540
544
  * When false, this rule will not generate aggregated MTSs
541
545
  */
@@ -591,9 +595,65 @@ export interface MetricRulesetAggregationRuleMatcherFilter {
591
595
  */
592
596
  propertyValues: pulumi.Input<pulumi.Input<string>[]>;
593
597
  }
598
+ export interface MetricRulesetExceptionRule {
599
+ /**
600
+ * Information about an exception rule
601
+ */
602
+ description?: pulumi.Input<string>;
603
+ /**
604
+ * When false, this rule will not route matched data to real-time
605
+ */
606
+ enabled: pulumi.Input<boolean>;
607
+ /**
608
+ * Matcher object
609
+ */
610
+ matchers: pulumi.Input<pulumi.Input<inputs.MetricRulesetExceptionRuleMatcher>[]>;
611
+ /**
612
+ * name of the exception rule
613
+ */
614
+ name?: pulumi.Input<string>;
615
+ /**
616
+ * Properties of a restoration job
617
+ */
618
+ restorations?: pulumi.Input<pulumi.Input<inputs.MetricRulesetExceptionRuleRestoration>[]>;
619
+ }
620
+ export interface MetricRulesetExceptionRuleMatcher {
621
+ /**
622
+ * List of filters to filter the set of input MTSs
623
+ */
624
+ filters?: pulumi.Input<pulumi.Input<inputs.MetricRulesetExceptionRuleMatcherFilter>[]>;
625
+ /**
626
+ * Type of matcher. Must always be "dimension"
627
+ */
628
+ type: pulumi.Input<string>;
629
+ }
630
+ export interface MetricRulesetExceptionRuleMatcherFilter {
631
+ /**
632
+ * When true, this filter will match all values not matching the property_values
633
+ */
634
+ not: pulumi.Input<boolean>;
635
+ /**
636
+ * Name of the dimension
637
+ */
638
+ property: pulumi.Input<string>;
639
+ /**
640
+ * Value of the dimension
641
+ */
642
+ propertyValues: pulumi.Input<pulumi.Input<string>[]>;
643
+ }
644
+ export interface MetricRulesetExceptionRuleRestoration {
645
+ /**
646
+ * ID of the restoration job.
647
+ */
648
+ restorationId?: pulumi.Input<string>;
649
+ /**
650
+ * Time from which the restoration job will restore archived data, in the form of *nix time in milliseconds
651
+ */
652
+ startTime?: pulumi.Input<string>;
653
+ }
594
654
  export interface MetricRulesetRoutingRule {
595
655
  /**
596
- * end destination of the input metric. Must be `RealTime` or `Drop`
656
+ * end destination of the input metric. Must be `RealTime`, `Archived`, or `Drop`
597
657
  */
598
658
  destination: pulumi.Input<string>;
599
659
  }
package/types/output.d.ts CHANGED
@@ -535,6 +535,10 @@ export interface MetricRulesetAggregationRule {
535
535
  * Aggregator object
536
536
  */
537
537
  aggregators: outputs.MetricRulesetAggregationRuleAggregator[];
538
+ /**
539
+ * Information about an aggregation rule
540
+ */
541
+ description?: string;
538
542
  /**
539
543
  * When false, this rule will not generate aggregated MTSs
540
544
  */
@@ -590,9 +594,65 @@ export interface MetricRulesetAggregationRuleMatcherFilter {
590
594
  */
591
595
  propertyValues: string[];
592
596
  }
597
+ export interface MetricRulesetExceptionRule {
598
+ /**
599
+ * Information about an exception rule
600
+ */
601
+ description?: string;
602
+ /**
603
+ * When false, this rule will not route matched data to real-time
604
+ */
605
+ enabled: boolean;
606
+ /**
607
+ * Matcher object
608
+ */
609
+ matchers: outputs.MetricRulesetExceptionRuleMatcher[];
610
+ /**
611
+ * name of the exception rule
612
+ */
613
+ name?: string;
614
+ /**
615
+ * Properties of a restoration job
616
+ */
617
+ restorations?: outputs.MetricRulesetExceptionRuleRestoration[];
618
+ }
619
+ export interface MetricRulesetExceptionRuleMatcher {
620
+ /**
621
+ * List of filters to filter the set of input MTSs
622
+ */
623
+ filters?: outputs.MetricRulesetExceptionRuleMatcherFilter[];
624
+ /**
625
+ * Type of matcher. Must always be "dimension"
626
+ */
627
+ type: string;
628
+ }
629
+ export interface MetricRulesetExceptionRuleMatcherFilter {
630
+ /**
631
+ * When true, this filter will match all values not matching the property_values
632
+ */
633
+ not: boolean;
634
+ /**
635
+ * Name of the dimension
636
+ */
637
+ property: string;
638
+ /**
639
+ * Value of the dimension
640
+ */
641
+ propertyValues: string[];
642
+ }
643
+ export interface MetricRulesetExceptionRuleRestoration {
644
+ /**
645
+ * ID of the restoration job.
646
+ */
647
+ restorationId: string;
648
+ /**
649
+ * Time from which the restoration job will restore archived data, in the form of *nix time in milliseconds
650
+ */
651
+ startTime?: string;
652
+ }
593
653
  export interface MetricRulesetRoutingRule {
594
654
  /**
595
- * end destination of the input metric. Must be `RealTime` or `Drop`
655
+ * end destination of the input metric. Must be `RealTime`, `Archived`, or `Drop`
596
656
  */
597
657
  destination: string;
598
658
  }