@alicloud/cms20240330 2.0.0 → 2.0.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/dist/models/AlertRuleCondition.d.ts +10 -2
- package/dist/models/AlertRuleCondition.js +24 -2
- package/dist/models/AlertRuleCondition.js.map +1 -1
- package/dist/models/AlertRuleConditionCompositeEscalation.d.ts +18 -0
- package/dist/models/AlertRuleConditionCompositeEscalation.js +68 -0
- package/dist/models/AlertRuleConditionCompositeEscalation.js.map +1 -0
- package/dist/models/AlertRuleConditionCompositeEscalationEscalations.d.ts +18 -0
- package/dist/models/AlertRuleConditionCompositeEscalationEscalations.js +66 -0
- package/dist/models/AlertRuleConditionCompositeEscalationEscalations.js.map +1 -0
- package/dist/models/AlertRuleConditionExpressEscalation.d.ts +16 -0
- package/dist/models/AlertRuleConditionExpressEscalation.js +62 -0
- package/dist/models/AlertRuleConditionExpressEscalation.js.map +1 -0
- package/dist/models/AlertRuleConditionSimpleEscalation.d.ts +17 -0
- package/dist/models/AlertRuleConditionSimpleEscalation.js +66 -0
- package/dist/models/AlertRuleConditionSimpleEscalation.js.map +1 -0
- package/dist/models/AlertRuleConditionSimpleEscalationEscalations.d.ts +18 -0
- package/dist/models/AlertRuleConditionSimpleEscalationEscalations.js +66 -0
- package/dist/models/AlertRuleConditionSimpleEscalationEscalations.js.map +1 -0
- package/dist/models/AlertRuleQuery.d.ts +6 -0
- package/dist/models/AlertRuleQuery.js +11 -0
- package/dist/models/AlertRuleQuery.js.map +1 -1
- package/dist/models/AlertRuleSend.d.ts +1 -0
- package/dist/models/AlertRuleSend.js +2 -0
- package/dist/models/AlertRuleSend.js.map +1 -1
- package/dist/models/ListAlertActionsResponseBodyAlertActions.d.ts +4 -0
- package/dist/models/ListAlertActionsResponseBodyAlertActions.js +12 -0
- package/dist/models/ListAlertActionsResponseBodyAlertActions.js.map +1 -1
- package/dist/models/ListAlertActionsResponseBodyAlertActionsEbParam.d.ts +17 -0
- package/dist/models/ListAlertActionsResponseBodyAlertActionsEbParam.js +64 -0
- package/dist/models/ListAlertActionsResponseBodyAlertActionsEbParam.js.map +1 -0
- package/dist/models/ListAlertActionsResponseBodyAlertActionsFc3param.d.ts +16 -0
- package/dist/models/ListAlertActionsResponseBodyAlertActionsFc3param.js +62 -0
- package/dist/models/ListAlertActionsResponseBodyAlertActionsFc3param.js.map +1 -0
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +17 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/models/AlertRuleCondition.ts +31 -4
- package/src/models/AlertRuleConditionCompositeEscalation.ts +40 -0
- package/src/models/AlertRuleConditionCompositeEscalationEscalations.ts +39 -0
- package/src/models/AlertRuleConditionExpressEscalation.ts +33 -0
- package/src/models/AlertRuleConditionSimpleEscalation.ts +37 -0
- package/src/models/AlertRuleConditionSimpleEscalationEscalations.ts +39 -0
- package/src/models/AlertRuleQuery.ts +15 -0
- package/src/models/AlertRuleSend.ts +3 -0
- package/src/models/ListAlertActionsResponseBodyAlertActions.ts +14 -0
- package/src/models/ListAlertActionsResponseBodyAlertActionsEbParam.ts +36 -0
- package/src/models/ListAlertActionsResponseBodyAlertActionsFc3param.ts +33 -0
- package/src/models/model.ts +7 -0
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
import { AlertRuleConditionCaseList } from "./AlertRuleConditionCaseList";
|
|
3
3
|
import { AlertRuleConditionCompareList } from "./AlertRuleConditionCompareList";
|
|
4
|
+
import { AlertRuleConditionCompositeEscalation } from "./AlertRuleConditionCompositeEscalation";
|
|
5
|
+
import { AlertRuleConditionExpressEscalation } from "./AlertRuleConditionExpressEscalation";
|
|
6
|
+
import { AlertRuleConditionSimpleEscalation } from "./AlertRuleConditionSimpleEscalation";
|
|
4
7
|
export declare class AlertRuleCondition extends $dara.Model {
|
|
5
8
|
/**
|
|
6
9
|
* @remarks
|
|
@@ -13,13 +16,18 @@ export declare class AlertRuleCondition extends $dara.Model {
|
|
|
13
16
|
*/
|
|
14
17
|
caseList?: AlertRuleConditionCaseList[];
|
|
15
18
|
compareList?: AlertRuleConditionCompareList[];
|
|
16
|
-
|
|
19
|
+
compositeEscalation?: AlertRuleConditionCompositeEscalation;
|
|
20
|
+
escalationType?: string;
|
|
21
|
+
expressEscalation?: AlertRuleConditionExpressEscalation;
|
|
17
22
|
/**
|
|
18
23
|
* @remarks
|
|
19
24
|
* 无数据时按什么级别告警,不指定则不对无数据报警
|
|
20
25
|
*/
|
|
21
|
-
|
|
26
|
+
noDataAlertLevel?: string;
|
|
27
|
+
noDataAppendValue?: string;
|
|
28
|
+
noDataPolicy?: string;
|
|
22
29
|
relation?: string;
|
|
30
|
+
simpleEscalation?: AlertRuleConditionSimpleEscalation;
|
|
23
31
|
/**
|
|
24
32
|
* @remarks
|
|
25
33
|
* 规则条件类型,可选值:SLS_CONDITION
|
|
@@ -38,15 +38,23 @@ exports.AlertRuleCondition = void 0;
|
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
39
|
const AlertRuleConditionCaseList_1 = require("./AlertRuleConditionCaseList");
|
|
40
40
|
const AlertRuleConditionCompareList_1 = require("./AlertRuleConditionCompareList");
|
|
41
|
+
const AlertRuleConditionCompositeEscalation_1 = require("./AlertRuleConditionCompositeEscalation");
|
|
42
|
+
const AlertRuleConditionExpressEscalation_1 = require("./AlertRuleConditionExpressEscalation");
|
|
43
|
+
const AlertRuleConditionSimpleEscalation_1 = require("./AlertRuleConditionSimpleEscalation");
|
|
41
44
|
class AlertRuleCondition extends $dara.Model {
|
|
42
45
|
static names() {
|
|
43
46
|
return {
|
|
44
47
|
alertCount: 'alertCount',
|
|
45
48
|
caseList: 'caseList',
|
|
46
49
|
compareList: 'compareList',
|
|
50
|
+
compositeEscalation: 'compositeEscalation',
|
|
51
|
+
escalationType: 'escalationType',
|
|
52
|
+
expressEscalation: 'expressEscalation',
|
|
53
|
+
noDataAlertLevel: 'noDataAlertLevel',
|
|
47
54
|
noDataAppendValue: 'noDataAppendValue',
|
|
48
|
-
|
|
55
|
+
noDataPolicy: 'noDataPolicy',
|
|
49
56
|
relation: 'relation',
|
|
57
|
+
simpleEscalation: 'simpleEscalation',
|
|
50
58
|
type: 'type',
|
|
51
59
|
};
|
|
52
60
|
}
|
|
@@ -55,9 +63,14 @@ class AlertRuleCondition extends $dara.Model {
|
|
|
55
63
|
alertCount: 'number',
|
|
56
64
|
caseList: { 'type': 'array', 'itemType': AlertRuleConditionCaseList_1.AlertRuleConditionCaseList },
|
|
57
65
|
compareList: { 'type': 'array', 'itemType': AlertRuleConditionCompareList_1.AlertRuleConditionCompareList },
|
|
66
|
+
compositeEscalation: AlertRuleConditionCompositeEscalation_1.AlertRuleConditionCompositeEscalation,
|
|
67
|
+
escalationType: 'string',
|
|
68
|
+
expressEscalation: AlertRuleConditionExpressEscalation_1.AlertRuleConditionExpressEscalation,
|
|
69
|
+
noDataAlertLevel: 'string',
|
|
58
70
|
noDataAppendValue: 'string',
|
|
59
|
-
|
|
71
|
+
noDataPolicy: 'string',
|
|
60
72
|
relation: 'string',
|
|
73
|
+
simpleEscalation: AlertRuleConditionSimpleEscalation_1.AlertRuleConditionSimpleEscalation,
|
|
61
74
|
type: 'string',
|
|
62
75
|
};
|
|
63
76
|
}
|
|
@@ -68,6 +81,15 @@ class AlertRuleCondition extends $dara.Model {
|
|
|
68
81
|
if (Array.isArray(this.compareList)) {
|
|
69
82
|
$dara.Model.validateArray(this.compareList);
|
|
70
83
|
}
|
|
84
|
+
if (this.compositeEscalation && typeof this.compositeEscalation.validate === 'function') {
|
|
85
|
+
this.compositeEscalation.validate();
|
|
86
|
+
}
|
|
87
|
+
if (this.expressEscalation && typeof this.expressEscalation.validate === 'function') {
|
|
88
|
+
this.expressEscalation.validate();
|
|
89
|
+
}
|
|
90
|
+
if (this.simpleEscalation && typeof this.simpleEscalation.validate === 'function') {
|
|
91
|
+
this.simpleEscalation.validate();
|
|
92
|
+
}
|
|
71
93
|
super.validate();
|
|
72
94
|
}
|
|
73
95
|
constructor(map) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertRuleCondition.js","sourceRoot":"","sources":["../../src/models/AlertRuleCondition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6EAA0E;AAC1E,mFAAgF;
|
|
1
|
+
{"version":3,"file":"AlertRuleCondition.js","sourceRoot":"","sources":["../../src/models/AlertRuleCondition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6EAA0E;AAC1E,mFAAgF;AAChF,mGAAgG;AAChG,+FAA4F;AAC5F,6FAA0F;AAG1F,MAAa,kBAAmB,SAAQ,KAAK,CAAC,KAAK;IA+BjD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,mBAAmB,EAAE,qBAAqB;YAC1C,cAAc,EAAE,gBAAgB;YAChC,iBAAiB,EAAE,mBAAmB;YACtC,gBAAgB,EAAE,kBAAkB;YACpC,iBAAiB,EAAE,mBAAmB;YACtC,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,gBAAgB,EAAE,kBAAkB;YACpC,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,uDAA0B,EAAE;YACrE,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,6DAA6B,EAAE;YAC3E,mBAAmB,EAAE,6EAAqC;YAC1D,cAAc,EAAE,QAAQ;YACxB,iBAAiB,EAAE,yEAAmC;YACtD,gBAAgB,EAAE,QAAQ;YAC1B,iBAAiB,EAAE,QAAQ;YAC3B,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,gBAAgB,EAAE,uEAAkC;YACpD,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YAChC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,IAAG,IAAI,CAAC,mBAAmB,IAAI,OAAQ,IAAI,CAAC,mBAA2B,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC/F,IAAI,CAAC,mBAA2B,CAAC,QAAQ,EAAE,CAAC;QAC/C,CAAC;QACD,IAAG,IAAI,CAAC,iBAAiB,IAAI,OAAQ,IAAI,CAAC,iBAAyB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC3F,IAAI,CAAC,iBAAyB,CAAC,QAAQ,EAAE,CAAC;QAC7C,CAAC;QACD,IAAG,IAAI,CAAC,gBAAgB,IAAI,OAAQ,IAAI,CAAC,gBAAwB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzF,IAAI,CAAC,gBAAwB,CAAC,QAAQ,EAAE,CAAC;QAC5C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvFD,gDAuFC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { AlertRuleConditionCompositeEscalationEscalations } from "./AlertRuleConditionCompositeEscalationEscalations";
|
|
3
|
+
export declare class AlertRuleConditionCompositeEscalation extends $dara.Model {
|
|
4
|
+
escalations?: AlertRuleConditionCompositeEscalationEscalations[];
|
|
5
|
+
level?: string;
|
|
6
|
+
relation?: string;
|
|
7
|
+
times?: number;
|
|
8
|
+
static names(): {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
static types(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
validate(): void;
|
|
15
|
+
constructor(map?: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.AlertRuleConditionCompositeEscalation = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const AlertRuleConditionCompositeEscalationEscalations_1 = require("./AlertRuleConditionCompositeEscalationEscalations");
|
|
40
|
+
class AlertRuleConditionCompositeEscalation extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
escalations: 'escalations',
|
|
44
|
+
level: 'level',
|
|
45
|
+
relation: 'relation',
|
|
46
|
+
times: 'times',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static types() {
|
|
50
|
+
return {
|
|
51
|
+
escalations: { 'type': 'array', 'itemType': AlertRuleConditionCompositeEscalationEscalations_1.AlertRuleConditionCompositeEscalationEscalations },
|
|
52
|
+
level: 'string',
|
|
53
|
+
relation: 'string',
|
|
54
|
+
times: 'number',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
validate() {
|
|
58
|
+
if (Array.isArray(this.escalations)) {
|
|
59
|
+
$dara.Model.validateArray(this.escalations);
|
|
60
|
+
}
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
constructor(map) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.AlertRuleConditionCompositeEscalation = AlertRuleConditionCompositeEscalation;
|
|
68
|
+
//# sourceMappingURL=AlertRuleConditionCompositeEscalation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertRuleConditionCompositeEscalation.js","sourceRoot":"","sources":["../../src/models/AlertRuleConditionCompositeEscalation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yHAAsH;AAGtH,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAKpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,mGAAgD,EAAE;YAC9F,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,sFAiCC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class AlertRuleConditionCompositeEscalationEscalations extends $dara.Model {
|
|
3
|
+
comparisonOperator?: string;
|
|
4
|
+
metricName?: string;
|
|
5
|
+
period?: number;
|
|
6
|
+
statistics?: string;
|
|
7
|
+
threshold?: number;
|
|
8
|
+
static names(): {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
static types(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
validate(): void;
|
|
15
|
+
constructor(map?: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.AlertRuleConditionCompositeEscalationEscalations = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class AlertRuleConditionCompositeEscalationEscalations extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
comparisonOperator: 'comparisonOperator',
|
|
43
|
+
metricName: 'metricName',
|
|
44
|
+
period: 'period',
|
|
45
|
+
statistics: 'statistics',
|
|
46
|
+
threshold: 'threshold',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static types() {
|
|
50
|
+
return {
|
|
51
|
+
comparisonOperator: 'string',
|
|
52
|
+
metricName: 'string',
|
|
53
|
+
period: 'number',
|
|
54
|
+
statistics: 'string',
|
|
55
|
+
threshold: 'number',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
constructor(map) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.AlertRuleConditionCompositeEscalationEscalations = AlertRuleConditionCompositeEscalationEscalations;
|
|
66
|
+
//# sourceMappingURL=AlertRuleConditionCompositeEscalationEscalations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertRuleConditionCompositeEscalationEscalations.js","sourceRoot":"","sources":["../../src/models/AlertRuleConditionCompositeEscalationEscalations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gDAAiD,SAAQ,KAAK,CAAC,KAAK;IAM/E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,oBAAoB;YACxC,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,QAAQ;YAC5B,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,4GAiCC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class AlertRuleConditionExpressEscalation extends $dara.Model {
|
|
3
|
+
level?: string;
|
|
4
|
+
rawExpression?: string;
|
|
5
|
+
times?: number;
|
|
6
|
+
static names(): {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
9
|
+
static types(): {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
validate(): void;
|
|
13
|
+
constructor(map?: {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.AlertRuleConditionExpressEscalation = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class AlertRuleConditionExpressEscalation extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
level: 'level',
|
|
43
|
+
rawExpression: 'rawExpression',
|
|
44
|
+
times: 'times',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static types() {
|
|
48
|
+
return {
|
|
49
|
+
level: 'string',
|
|
50
|
+
rawExpression: 'string',
|
|
51
|
+
times: 'number',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
constructor(map) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.AlertRuleConditionExpressEscalation = AlertRuleConditionExpressEscalation;
|
|
62
|
+
//# sourceMappingURL=AlertRuleConditionExpressEscalation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertRuleConditionExpressEscalation.js","sourceRoot":"","sources":["../../src/models/AlertRuleConditionExpressEscalation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAIlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,aAAa,EAAE,eAAe;YAC9B,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,aAAa,EAAE,QAAQ;YACvB,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3BD,kFA2BC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { AlertRuleConditionSimpleEscalationEscalations } from "./AlertRuleConditionSimpleEscalationEscalations";
|
|
3
|
+
export declare class AlertRuleConditionSimpleEscalation extends $dara.Model {
|
|
4
|
+
escalations?: AlertRuleConditionSimpleEscalationEscalations[];
|
|
5
|
+
metricName?: string;
|
|
6
|
+
period?: number;
|
|
7
|
+
static names(): {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
static types(): {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
validate(): void;
|
|
14
|
+
constructor(map?: {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
});
|
|
17
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.AlertRuleConditionSimpleEscalation = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const AlertRuleConditionSimpleEscalationEscalations_1 = require("./AlertRuleConditionSimpleEscalationEscalations");
|
|
40
|
+
class AlertRuleConditionSimpleEscalation extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
escalations: 'escalations',
|
|
44
|
+
metricName: 'metricName',
|
|
45
|
+
period: 'period',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
escalations: { 'type': 'array', 'itemType': AlertRuleConditionSimpleEscalationEscalations_1.AlertRuleConditionSimpleEscalationEscalations },
|
|
51
|
+
metricName: 'string',
|
|
52
|
+
period: 'number',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (Array.isArray(this.escalations)) {
|
|
57
|
+
$dara.Model.validateArray(this.escalations);
|
|
58
|
+
}
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
constructor(map) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.AlertRuleConditionSimpleEscalation = AlertRuleConditionSimpleEscalation;
|
|
66
|
+
//# sourceMappingURL=AlertRuleConditionSimpleEscalation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertRuleConditionSimpleEscalation.js","sourceRoot":"","sources":["../../src/models/AlertRuleConditionSimpleEscalation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mHAAgH;AAGhH,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAIjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,6FAA6C,EAAE;YAC3F,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9BD,gFA8BC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class AlertRuleConditionSimpleEscalationEscalations extends $dara.Model {
|
|
3
|
+
comparisonOperator?: string;
|
|
4
|
+
level?: string;
|
|
5
|
+
statistics?: string;
|
|
6
|
+
threshold?: number;
|
|
7
|
+
times?: number;
|
|
8
|
+
static names(): {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
static types(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
validate(): void;
|
|
15
|
+
constructor(map?: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.AlertRuleConditionSimpleEscalationEscalations = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class AlertRuleConditionSimpleEscalationEscalations extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
comparisonOperator: 'comparisonOperator',
|
|
43
|
+
level: 'level',
|
|
44
|
+
statistics: 'statistics',
|
|
45
|
+
threshold: 'threshold',
|
|
46
|
+
times: 'times',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static types() {
|
|
50
|
+
return {
|
|
51
|
+
comparisonOperator: 'string',
|
|
52
|
+
level: 'string',
|
|
53
|
+
statistics: 'string',
|
|
54
|
+
threshold: 'number',
|
|
55
|
+
times: 'number',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
constructor(map) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.AlertRuleConditionSimpleEscalationEscalations = AlertRuleConditionSimpleEscalationEscalations;
|
|
66
|
+
//# sourceMappingURL=AlertRuleConditionSimpleEscalationEscalations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertRuleConditionSimpleEscalationEscalations.js","sourceRoot":"","sources":["../../src/models/AlertRuleConditionSimpleEscalationEscalations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IAM5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,oBAAoB;YACxC,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,QAAQ;YAC5B,KAAK,EAAE,QAAQ;YACf,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,sGAiCC"}
|
|
@@ -3,12 +3,18 @@ import { AlertRuleSlsQueryJoin } from "./AlertRuleSlsQueryJoin";
|
|
|
3
3
|
import { AlertRuleQueryQueries } from "./AlertRuleQueryQueries";
|
|
4
4
|
export declare class AlertRuleQuery extends $dara.Model {
|
|
5
5
|
checkAfterDataComplete?: boolean;
|
|
6
|
+
dimensions?: {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
}[];
|
|
6
9
|
duration?: number;
|
|
7
10
|
expr?: string;
|
|
8
11
|
firstJoin?: AlertRuleSlsQueryJoin;
|
|
9
12
|
groupFieldList?: string[];
|
|
13
|
+
groupId?: string;
|
|
10
14
|
groupType?: string;
|
|
15
|
+
namespace?: string;
|
|
11
16
|
queries?: AlertRuleQueryQueries[];
|
|
17
|
+
relationType?: string;
|
|
12
18
|
secondJoin?: AlertRuleSlsQueryJoin;
|
|
13
19
|
/**
|
|
14
20
|
* @remarks
|
|
@@ -42,12 +42,16 @@ class AlertRuleQuery extends $dara.Model {
|
|
|
42
42
|
static names() {
|
|
43
43
|
return {
|
|
44
44
|
checkAfterDataComplete: 'checkAfterDataComplete',
|
|
45
|
+
dimensions: 'dimensions',
|
|
45
46
|
duration: 'duration',
|
|
46
47
|
expr: 'expr',
|
|
47
48
|
firstJoin: 'firstJoin',
|
|
48
49
|
groupFieldList: 'groupFieldList',
|
|
50
|
+
groupId: 'groupId',
|
|
49
51
|
groupType: 'groupType',
|
|
52
|
+
namespace: 'namespace',
|
|
50
53
|
queries: 'queries',
|
|
54
|
+
relationType: 'relationType',
|
|
51
55
|
secondJoin: 'secondJoin',
|
|
52
56
|
type: 'type',
|
|
53
57
|
};
|
|
@@ -55,17 +59,24 @@ class AlertRuleQuery extends $dara.Model {
|
|
|
55
59
|
static types() {
|
|
56
60
|
return {
|
|
57
61
|
checkAfterDataComplete: 'boolean',
|
|
62
|
+
dimensions: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
58
63
|
duration: 'number',
|
|
59
64
|
expr: 'string',
|
|
60
65
|
firstJoin: AlertRuleSlsQueryJoin_1.AlertRuleSlsQueryJoin,
|
|
61
66
|
groupFieldList: { 'type': 'array', 'itemType': 'string' },
|
|
67
|
+
groupId: 'string',
|
|
62
68
|
groupType: 'string',
|
|
69
|
+
namespace: 'string',
|
|
63
70
|
queries: { 'type': 'array', 'itemType': AlertRuleQueryQueries_1.AlertRuleQueryQueries },
|
|
71
|
+
relationType: 'string',
|
|
64
72
|
secondJoin: AlertRuleSlsQueryJoin_1.AlertRuleSlsQueryJoin,
|
|
65
73
|
type: 'string',
|
|
66
74
|
};
|
|
67
75
|
}
|
|
68
76
|
validate() {
|
|
77
|
+
if (Array.isArray(this.dimensions)) {
|
|
78
|
+
$dara.Model.validateArray(this.dimensions);
|
|
79
|
+
}
|
|
69
80
|
if (this.firstJoin && typeof this.firstJoin.validate === 'function') {
|
|
70
81
|
this.firstJoin.validate();
|
|
71
82
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertRuleQuery.js","sourceRoot":"","sources":["../../src/models/AlertRuleQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mEAAgE;AAChE,mEAAgE;AAGhE,MAAa,cAAe,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"AlertRuleQuery.js","sourceRoot":"","sources":["../../src/models/AlertRuleQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mEAAgE;AAChE,mEAAgE;AAGhE,MAAa,cAAe,SAAQ,KAAK,CAAC,KAAK;IAoB7C,MAAM,CAAC,KAAK;QACV,OAAO;YACL,sBAAsB,EAAE,wBAAwB;YAChD,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,cAAc,EAAE,gBAAgB;YAChC,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,sBAAsB,EAAE,SAAS;YACjC,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE;YAC1G,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,6CAAqB;YAChC,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACzD,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,6CAAqB,EAAE;YAC/D,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,6CAAqB;YACjC,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,IAAG,IAAI,CAAC,SAAS,IAAI,OAAQ,IAAI,CAAC,SAAiB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC3E,IAAI,CAAC,SAAiB,CAAC,QAAQ,EAAE,CAAC;QACrC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YAC/B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,CAAC;QACD,IAAG,IAAI,CAAC,UAAU,IAAI,OAAQ,IAAI,CAAC,UAAkB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC7E,IAAI,CAAC,UAAkB,CAAC,QAAQ,EAAE,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9ED,wCA8EC"}
|
|
@@ -43,12 +43,14 @@ class AlertRuleSend extends $dara.Model {
|
|
|
43
43
|
return {
|
|
44
44
|
action: 'action',
|
|
45
45
|
notification: 'notification',
|
|
46
|
+
sendToArms: 'sendToArms',
|
|
46
47
|
};
|
|
47
48
|
}
|
|
48
49
|
static types() {
|
|
49
50
|
return {
|
|
50
51
|
action: AlertRuleAction_1.AlertRuleAction,
|
|
51
52
|
notification: AlertRuleNotification_1.AlertRuleNotification,
|
|
53
|
+
sendToArms: 'boolean',
|
|
52
54
|
};
|
|
53
55
|
}
|
|
54
56
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertRuleSend.js","sourceRoot":"","sources":["../../src/models/AlertRuleSend.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uDAAoD;AACpD,mEAAgE;AAGhE,MAAa,aAAc,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"AlertRuleSend.js","sourceRoot":"","sources":["../../src/models/AlertRuleSend.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uDAAoD;AACpD,mEAAgE;AAGhE,MAAa,aAAc,SAAQ,KAAK,CAAC,KAAK;IAI5C,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,iCAAe;YACvB,YAAY,EAAE,6CAAqB;YACnC,UAAU,EAAE,SAAS;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,MAAM,IAAI,OAAQ,IAAI,CAAC,MAAc,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACrE,IAAI,CAAC,MAAc,CAAC,QAAQ,EAAE,CAAC;QAClC,CAAC;QACD,IAAG,IAAI,CAAC,YAAY,IAAI,OAAQ,IAAI,CAAC,YAAoB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjF,IAAI,CAAC,YAAoB,CAAC,QAAQ,EAAE,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,sCAiCC"}
|