@alicloud/waf-openapi20211001 6.1.1 → 6.2.0
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/client.d.ts +75 -0
- package/dist/client.js +246 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeAlarmBannerRequest.d.ts +31 -0
- package/dist/models/DescribeAlarmBannerRequest.js +62 -0
- package/dist/models/DescribeAlarmBannerRequest.js.map +1 -0
- package/dist/models/DescribeAlarmBannerResponse.d.ts +19 -0
- package/dist/models/DescribeAlarmBannerResponse.js +69 -0
- package/dist/models/DescribeAlarmBannerResponse.js.map +1 -0
- package/dist/models/DescribeAlarmBannerResponseBody.d.ts +51 -0
- package/dist/models/DescribeAlarmBannerResponseBody.js +88 -0
- package/dist/models/DescribeAlarmBannerResponseBody.js.map +1 -0
- package/dist/models/DescribeAlarmListRequest.d.ts +31 -0
- package/dist/models/DescribeAlarmListRequest.js +62 -0
- package/dist/models/DescribeAlarmListRequest.js.map +1 -0
- package/dist/models/DescribeAlarmListResponse.d.ts +19 -0
- package/dist/models/DescribeAlarmListResponse.js +69 -0
- package/dist/models/DescribeAlarmListResponse.js.map +1 -0
- package/dist/models/DescribeAlarmListResponseBody.d.ts +66 -0
- package/dist/models/DescribeAlarmListResponseBody.js +94 -0
- package/dist/models/DescribeAlarmListResponseBody.js.map +1 -0
- package/dist/models/DescribeBotAppKeyRequest.d.ts +36 -0
- package/dist/models/DescribeBotAppKeyRequest.js +64 -0
- package/dist/models/DescribeBotAppKeyRequest.js.map +1 -0
- package/dist/models/DescribeBotAppKeyResponse.d.ts +19 -0
- package/dist/models/DescribeBotAppKeyResponse.js +69 -0
- package/dist/models/DescribeBotAppKeyResponse.js.map +1 -0
- package/dist/models/DescribeBotAppKeyResponseBody.d.ts +26 -0
- package/dist/models/DescribeBotAppKeyResponseBody.js +60 -0
- package/dist/models/DescribeBotAppKeyResponseBody.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailRequest.d.ts +39 -0
- package/dist/models/DescribeThreatEventDetailRequest.js +64 -0
- package/dist/models/DescribeThreatEventDetailRequest.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailResponse.d.ts +19 -0
- package/dist/models/DescribeThreatEventDetailResponse.js +69 -0
- package/dist/models/DescribeThreatEventDetailResponse.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.d.ts +91 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.js +104 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.js.map +1 -0
- package/dist/models/DescribeThreatEventRequest.d.ts +62 -0
- package/dist/models/DescribeThreatEventRequest.js +72 -0
- package/dist/models/DescribeThreatEventRequest.js.map +1 -0
- package/dist/models/DescribeThreatEventResponse.d.ts +19 -0
- package/dist/models/DescribeThreatEventResponse.js +69 -0
- package/dist/models/DescribeThreatEventResponse.js.map +1 -0
- package/dist/models/DescribeThreatEventResponseBody.d.ts +71 -0
- package/dist/models/DescribeThreatEventResponseBody.js +96 -0
- package/dist/models/DescribeThreatEventResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +19 -0
- package/dist/models/model.js +56 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +278 -0
- package/src/models/DescribeAlarmBannerRequest.ts +48 -0
- package/src/models/DescribeAlarmBannerResponse.ts +40 -0
- package/src/models/DescribeAlarmBannerResponseBody.ts +85 -0
- package/src/models/DescribeAlarmListRequest.ts +48 -0
- package/src/models/DescribeAlarmListResponse.ts +40 -0
- package/src/models/DescribeAlarmListResponseBody.ts +106 -0
- package/src/models/DescribeBotAppKeyRequest.ts +55 -0
- package/src/models/DescribeBotAppKeyResponse.ts +40 -0
- package/src/models/DescribeBotAppKeyResponseBody.ts +41 -0
- package/src/models/DescribeThreatEventDetailRequest.ts +58 -0
- package/src/models/DescribeThreatEventDetailResponse.ts +40 -0
- package/src/models/DescribeThreatEventDetailResponseBody.ts +141 -0
- package/src/models/DescribeThreatEventRequest.ts +89 -0
- package/src/models/DescribeThreatEventResponse.ts +40 -0
- package/src/models/DescribeThreatEventResponseBody.ts +113 -0
- package/src/models/model.ts +19 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DescribeAlarmBannerRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* This parameter is required.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* waf_v3prepaid_public_cn-kf74****
|
|
9
|
+
*/
|
|
10
|
+
instanceId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* cn-hangzhou
|
|
14
|
+
*/
|
|
15
|
+
regionId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* rg-aek2zerdgm****
|
|
19
|
+
*/
|
|
20
|
+
resourceManagerResourceGroupId?: string;
|
|
21
|
+
static names(): {
|
|
22
|
+
[key: string]: string;
|
|
23
|
+
};
|
|
24
|
+
static types(): {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
};
|
|
27
|
+
validate(): void;
|
|
28
|
+
constructor(map?: {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -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.DescribeAlarmBannerRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DescribeAlarmBannerRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
instanceId: 'InstanceId',
|
|
43
|
+
regionId: 'RegionId',
|
|
44
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static types() {
|
|
48
|
+
return {
|
|
49
|
+
instanceId: 'string',
|
|
50
|
+
regionId: 'string',
|
|
51
|
+
resourceManagerResourceGroupId: 'string',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
constructor(map) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.DescribeAlarmBannerRequest = DescribeAlarmBannerRequest;
|
|
62
|
+
//# sourceMappingURL=DescribeAlarmBannerRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeAlarmBannerRequest.js","sourceRoot":"","sources":["../../src/models/DescribeAlarmBannerRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAmBzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,8BAA8B,EAAE,gCAAgC;SACjE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;SACzC,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;AA1CD,gEA0CC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { DescribeAlarmBannerResponseBody } from "./DescribeAlarmBannerResponseBody";
|
|
3
|
+
export declare class DescribeAlarmBannerResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: DescribeAlarmBannerResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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.DescribeAlarmBannerResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const DescribeAlarmBannerResponseBody_1 = require("./DescribeAlarmBannerResponseBody");
|
|
40
|
+
class DescribeAlarmBannerResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: DescribeAlarmBannerResponseBody_1.DescribeAlarmBannerResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.DescribeAlarmBannerResponse = DescribeAlarmBannerResponse;
|
|
69
|
+
//# sourceMappingURL=DescribeAlarmBannerResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeAlarmBannerResponse.js","sourceRoot":"","sources":["../../src/models/DescribeAlarmBannerResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uFAAoF;AAGpF,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAI1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,iEAA+B;SACtC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,kEAiCC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DescribeAlarmBannerResponseBodyBannerStatus extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* 4count
|
|
6
|
+
*/
|
|
7
|
+
cause?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 9008
|
|
11
|
+
*/
|
|
12
|
+
count?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* true
|
|
16
|
+
*/
|
|
17
|
+
status?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* sandbox
|
|
21
|
+
*/
|
|
22
|
+
type?: string;
|
|
23
|
+
static names(): {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
static types(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
validate(): void;
|
|
30
|
+
constructor(map?: {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
export declare class DescribeAlarmBannerResponseBody extends $dara.Model {
|
|
35
|
+
bannerStatus?: DescribeAlarmBannerResponseBodyBannerStatus;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 5555DC36-0CF2-5AA3-B1C7-D6BD8****
|
|
39
|
+
*/
|
|
40
|
+
requestId?: string;
|
|
41
|
+
static names(): {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
static types(): {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
};
|
|
47
|
+
validate(): void;
|
|
48
|
+
constructor(map?: {
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
});
|
|
51
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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.DescribeAlarmBannerResponseBody = exports.DescribeAlarmBannerResponseBodyBannerStatus = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DescribeAlarmBannerResponseBodyBannerStatus extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
cause: 'Cause',
|
|
43
|
+
count: 'Count',
|
|
44
|
+
status: 'Status',
|
|
45
|
+
type: 'Type',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
cause: 'string',
|
|
51
|
+
count: 'number',
|
|
52
|
+
status: 'boolean',
|
|
53
|
+
type: 'string',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
constructor(map) {
|
|
60
|
+
super(map);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.DescribeAlarmBannerResponseBodyBannerStatus = DescribeAlarmBannerResponseBodyBannerStatus;
|
|
64
|
+
class DescribeAlarmBannerResponseBody extends $dara.Model {
|
|
65
|
+
static names() {
|
|
66
|
+
return {
|
|
67
|
+
bannerStatus: 'BannerStatus',
|
|
68
|
+
requestId: 'RequestId',
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
static types() {
|
|
72
|
+
return {
|
|
73
|
+
bannerStatus: DescribeAlarmBannerResponseBodyBannerStatus,
|
|
74
|
+
requestId: 'string',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
validate() {
|
|
78
|
+
if (this.bannerStatus && typeof this.bannerStatus.validate === 'function') {
|
|
79
|
+
this.bannerStatus.validate();
|
|
80
|
+
}
|
|
81
|
+
super.validate();
|
|
82
|
+
}
|
|
83
|
+
constructor(map) {
|
|
84
|
+
super(map);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.DescribeAlarmBannerResponseBody = DescribeAlarmBannerResponseBody;
|
|
88
|
+
//# sourceMappingURL=DescribeAlarmBannerResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeAlarmBannerResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeAlarmBannerResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAqB1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,KAAK,EAAE,QAAQ;YACf,MAAM,EAAE,SAAS;YACjB,IAAI,EAAE,QAAQ;SACf,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;AA9CD,kGA8CC;AAED,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAO9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,2CAA2C;YACzD,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,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;AA/BD,0EA+BC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DescribeAlarmListRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* This parameter is required.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* waf_v2_public_cn-pe33e****
|
|
9
|
+
*/
|
|
10
|
+
instanceId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* cn-hangzhou
|
|
14
|
+
*/
|
|
15
|
+
regionId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* rg-aek2ipnu***
|
|
19
|
+
*/
|
|
20
|
+
resourceManagerResourceGroupId?: string;
|
|
21
|
+
static names(): {
|
|
22
|
+
[key: string]: string;
|
|
23
|
+
};
|
|
24
|
+
static types(): {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
};
|
|
27
|
+
validate(): void;
|
|
28
|
+
constructor(map?: {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -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.DescribeAlarmListRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DescribeAlarmListRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
instanceId: 'InstanceId',
|
|
43
|
+
regionId: 'RegionId',
|
|
44
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static types() {
|
|
48
|
+
return {
|
|
49
|
+
instanceId: 'string',
|
|
50
|
+
regionId: 'string',
|
|
51
|
+
resourceManagerResourceGroupId: 'string',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
constructor(map) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.DescribeAlarmListRequest = DescribeAlarmListRequest;
|
|
62
|
+
//# sourceMappingURL=DescribeAlarmListRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeAlarmListRequest.js","sourceRoot":"","sources":["../../src/models/DescribeAlarmListRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAmBvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,8BAA8B,EAAE,gCAAgC;SACjE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;SACzC,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;AA1CD,4DA0CC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { DescribeAlarmListResponseBody } from "./DescribeAlarmListResponseBody";
|
|
3
|
+
export declare class DescribeAlarmListResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: DescribeAlarmListResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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.DescribeAlarmListResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const DescribeAlarmListResponseBody_1 = require("./DescribeAlarmListResponseBody");
|
|
40
|
+
class DescribeAlarmListResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: DescribeAlarmListResponseBody_1.DescribeAlarmListResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.DescribeAlarmListResponse = DescribeAlarmListResponse;
|
|
69
|
+
//# sourceMappingURL=DescribeAlarmListResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeAlarmListResponse.js","sourceRoot":"","sources":["../../src/models/DescribeAlarmListResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mFAAgF;AAGhF,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAIxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,6DAA6B;SACpC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,8DAiCC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DescribeAlarmListResponseBodyAlarms extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* 4count
|
|
6
|
+
*/
|
|
7
|
+
cause?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 1605600798
|
|
11
|
+
*/
|
|
12
|
+
endTime?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* 12000
|
|
16
|
+
*/
|
|
17
|
+
maxQps?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* 10000
|
|
21
|
+
*/
|
|
22
|
+
spec?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* 1605600767
|
|
26
|
+
*/
|
|
27
|
+
startTime?: number;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* 1
|
|
31
|
+
*/
|
|
32
|
+
status?: number;
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* qps
|
|
36
|
+
*/
|
|
37
|
+
type?: string;
|
|
38
|
+
static names(): {
|
|
39
|
+
[key: string]: string;
|
|
40
|
+
};
|
|
41
|
+
static types(): {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
};
|
|
44
|
+
validate(): void;
|
|
45
|
+
constructor(map?: {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
export declare class DescribeAlarmListResponseBody extends $dara.Model {
|
|
50
|
+
alarms?: DescribeAlarmListResponseBodyAlarms[];
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* 8D8EBFB7-E1EB-5236-952A-092EDC72***
|
|
54
|
+
*/
|
|
55
|
+
requestId?: string;
|
|
56
|
+
static names(): {
|
|
57
|
+
[key: string]: string;
|
|
58
|
+
};
|
|
59
|
+
static types(): {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
};
|
|
62
|
+
validate(): void;
|
|
63
|
+
constructor(map?: {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
});
|
|
66
|
+
}
|