@alicloud/waf-openapi20211001 6.5.2 → 6.6.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.
Files changed (45) hide show
  1. package/dist/client.d.ts +45 -0
  2. package/dist/client.js +156 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeBaseRuleChangeLogRequest.d.ts +46 -0
  5. package/dist/models/DescribeBaseRuleChangeLogRequest.js +68 -0
  6. package/dist/models/DescribeBaseRuleChangeLogRequest.js.map +1 -0
  7. package/dist/models/DescribeBaseRuleChangeLogResponse.d.ts +19 -0
  8. package/dist/models/DescribeBaseRuleChangeLogResponse.js +69 -0
  9. package/dist/models/DescribeBaseRuleChangeLogResponse.js.map +1 -0
  10. package/dist/models/DescribeBaseRuleChangeLogResponseBody.d.ts +61 -0
  11. package/dist/models/DescribeBaseRuleChangeLogResponseBody.js +92 -0
  12. package/dist/models/DescribeBaseRuleChangeLogResponseBody.js.map +1 -0
  13. package/dist/models/DescribeElasticBillsRequest.d.ts +57 -0
  14. package/dist/models/DescribeElasticBillsRequest.js +66 -0
  15. package/dist/models/DescribeElasticBillsRequest.js.map +1 -0
  16. package/dist/models/DescribeElasticBillsResponse.d.ts +19 -0
  17. package/dist/models/DescribeElasticBillsResponse.js +69 -0
  18. package/dist/models/DescribeElasticBillsResponse.js.map +1 -0
  19. package/dist/models/DescribeElasticBillsResponseBody.d.ts +86 -0
  20. package/dist/models/DescribeElasticBillsResponseBody.js +92 -0
  21. package/dist/models/DescribeElasticBillsResponseBody.js.map +1 -0
  22. package/dist/models/DescribePrepayDailyBillsRequest.d.ts +60 -0
  23. package/dist/models/DescribePrepayDailyBillsRequest.js +66 -0
  24. package/dist/models/DescribePrepayDailyBillsRequest.js.map +1 -0
  25. package/dist/models/DescribePrepayDailyBillsResponse.d.ts +19 -0
  26. package/dist/models/DescribePrepayDailyBillsResponse.js +69 -0
  27. package/dist/models/DescribePrepayDailyBillsResponse.js.map +1 -0
  28. package/dist/models/DescribePrepayDailyBillsResponseBody.d.ts +146 -0
  29. package/dist/models/DescribePrepayDailyBillsResponseBody.js +109 -0
  30. package/dist/models/DescribePrepayDailyBillsResponseBody.js.map +1 -0
  31. package/dist/models/model.d.ts +12 -0
  32. package/dist/models/model.js +43 -19
  33. package/dist/models/model.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/client.ts +178 -0
  36. package/src/models/DescribeBaseRuleChangeLogRequest.ts +69 -0
  37. package/src/models/DescribeBaseRuleChangeLogResponse.ts +40 -0
  38. package/src/models/DescribeBaseRuleChangeLogResponseBody.ts +99 -0
  39. package/src/models/DescribeElasticBillsRequest.ts +78 -0
  40. package/src/models/DescribeElasticBillsResponse.ts +40 -0
  41. package/src/models/DescribeElasticBillsResponseBody.ts +124 -0
  42. package/src/models/DescribePrepayDailyBillsRequest.ts +81 -0
  43. package/src/models/DescribePrepayDailyBillsResponse.ts +40 -0
  44. package/src/models/DescribePrepayDailyBillsResponseBody.ts +201 -0
  45. package/src/models/model.ts +12 -0
@@ -0,0 +1,46 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeBaseRuleChangeLogRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * waf-cn-mp9153****
9
+ */
10
+ instanceId?: string;
11
+ /**
12
+ * @example
13
+ * zh
14
+ */
15
+ lang?: string;
16
+ /**
17
+ * @example
18
+ * 1
19
+ */
20
+ pageNumber?: number;
21
+ /**
22
+ * @example
23
+ * 10
24
+ */
25
+ pageSize?: number;
26
+ /**
27
+ * @example
28
+ * cn-hangzhou
29
+ */
30
+ regionId?: string;
31
+ /**
32
+ * @example
33
+ * rg-acfm***q
34
+ */
35
+ resourceManagerResourceGroupId?: string;
36
+ static names(): {
37
+ [key: string]: string;
38
+ };
39
+ static types(): {
40
+ [key: string]: any;
41
+ };
42
+ validate(): void;
43
+ constructor(map?: {
44
+ [key: string]: any;
45
+ });
46
+ }
@@ -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.DescribeBaseRuleChangeLogRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeBaseRuleChangeLogRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ instanceId: 'InstanceId',
43
+ lang: 'Lang',
44
+ pageNumber: 'PageNumber',
45
+ pageSize: 'PageSize',
46
+ regionId: 'RegionId',
47
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
48
+ };
49
+ }
50
+ static types() {
51
+ return {
52
+ instanceId: 'string',
53
+ lang: 'string',
54
+ pageNumber: 'number',
55
+ pageSize: 'number',
56
+ regionId: 'string',
57
+ resourceManagerResourceGroupId: 'string',
58
+ };
59
+ }
60
+ validate() {
61
+ super.validate();
62
+ }
63
+ constructor(map) {
64
+ super(map);
65
+ }
66
+ }
67
+ exports.DescribeBaseRuleChangeLogRequest = DescribeBaseRuleChangeLogRequest;
68
+ //# sourceMappingURL=DescribeBaseRuleChangeLogRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeBaseRuleChangeLogRequest.js","sourceRoot":"","sources":["../../src/models/DescribeBaseRuleChangeLogRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAkC/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,8BAA8B,EAAE,gCAAgC;SACjE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,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;AA/DD,4EA+DC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeBaseRuleChangeLogResponseBody } from "./DescribeBaseRuleChangeLogResponseBody";
3
+ export declare class DescribeBaseRuleChangeLogResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeBaseRuleChangeLogResponseBody;
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.DescribeBaseRuleChangeLogResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeBaseRuleChangeLogResponseBody_1 = require("./DescribeBaseRuleChangeLogResponseBody");
40
+ class DescribeBaseRuleChangeLogResponse 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: DescribeBaseRuleChangeLogResponseBody_1.DescribeBaseRuleChangeLogResponseBody,
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.DescribeBaseRuleChangeLogResponse = DescribeBaseRuleChangeLogResponse;
69
+ //# sourceMappingURL=DescribeBaseRuleChangeLogResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeBaseRuleChangeLogResponse.js","sourceRoot":"","sources":["../../src/models/DescribeBaseRuleChangeLogResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mGAAgG;AAGhG,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAIhE,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,6EAAqC;SAC5C,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,8EAiCC"}
@@ -0,0 +1,61 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeBaseRuleChangeLogResponseBodyRules extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * CVE-2021-34538
6
+ */
7
+ cveId?: string;
8
+ /**
9
+ * @example
10
+ * add
11
+ */
12
+ operation?: string;
13
+ /**
14
+ * @example
15
+ * 42755
16
+ */
17
+ ruleId?: number;
18
+ /**
19
+ * @example
20
+ * Header XSS Scanner Behavior
21
+ */
22
+ ruleName?: string;
23
+ /**
24
+ * @example
25
+ * 1665460629000
26
+ */
27
+ updateTime?: number;
28
+ static names(): {
29
+ [key: string]: string;
30
+ };
31
+ static types(): {
32
+ [key: string]: any;
33
+ };
34
+ validate(): void;
35
+ constructor(map?: {
36
+ [key: string]: any;
37
+ });
38
+ }
39
+ export declare class DescribeBaseRuleChangeLogResponseBody extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * 6FBF08CB-8691-5B65-BBF8-***
43
+ */
44
+ requestId?: string;
45
+ rules?: DescribeBaseRuleChangeLogResponseBodyRules[];
46
+ /**
47
+ * @example
48
+ * 63
49
+ */
50
+ totalCount?: number;
51
+ static names(): {
52
+ [key: string]: string;
53
+ };
54
+ static types(): {
55
+ [key: string]: any;
56
+ };
57
+ validate(): void;
58
+ constructor(map?: {
59
+ [key: string]: any;
60
+ });
61
+ }
@@ -0,0 +1,92 @@
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.DescribeBaseRuleChangeLogResponseBody = exports.DescribeBaseRuleChangeLogResponseBodyRules = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeBaseRuleChangeLogResponseBodyRules extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ cveId: 'CveId',
43
+ operation: 'Operation',
44
+ ruleId: 'RuleId',
45
+ ruleName: 'RuleName',
46
+ updateTime: 'UpdateTime',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ cveId: 'string',
52
+ operation: 'string',
53
+ ruleId: 'number',
54
+ ruleName: 'string',
55
+ updateTime: 'number',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.DescribeBaseRuleChangeLogResponseBodyRules = DescribeBaseRuleChangeLogResponseBodyRules;
66
+ class DescribeBaseRuleChangeLogResponseBody extends $dara.Model {
67
+ static names() {
68
+ return {
69
+ requestId: 'RequestId',
70
+ rules: 'Rules',
71
+ totalCount: 'TotalCount',
72
+ };
73
+ }
74
+ static types() {
75
+ return {
76
+ requestId: 'string',
77
+ rules: { 'type': 'array', 'itemType': DescribeBaseRuleChangeLogResponseBodyRules },
78
+ totalCount: 'number',
79
+ };
80
+ }
81
+ validate() {
82
+ if (Array.isArray(this.rules)) {
83
+ $dara.Model.validateArray(this.rules);
84
+ }
85
+ super.validate();
86
+ }
87
+ constructor(map) {
88
+ super(map);
89
+ }
90
+ }
91
+ exports.DescribeBaseRuleChangeLogResponseBody = DescribeBaseRuleChangeLogResponseBody;
92
+ //# sourceMappingURL=DescribeBaseRuleChangeLogResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeBaseRuleChangeLogResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeBaseRuleChangeLogResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0CAA2C,SAAQ,KAAK,CAAC,KAAK;IA0BzE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;SACrB,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;AArDD,gGAqDC;AAED,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAYpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,0CAA0C,EAAE;YAClF,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,sFAsCC"}
@@ -0,0 +1,57 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeElasticBillsRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The ID of the WAF instance.
6
+ *
7
+ * > You can call the [DescribeInstance](https://help.aliyun.com/document_detail/433756.html) operation to query the ID of the WAF instance.
8
+ *
9
+ * This parameter is required.
10
+ *
11
+ * @example
12
+ * waf_v2_public_cn-***
13
+ */
14
+ instanceId?: string;
15
+ /**
16
+ * @remarks
17
+ * The page number. Default value: **1**.
18
+ *
19
+ * @example
20
+ * 1
21
+ */
22
+ pageNumber?: number;
23
+ /**
24
+ * @remarks
25
+ * The number of entries per page. Default value: **10**.
26
+ *
27
+ * @example
28
+ * 10
29
+ */
30
+ pageSize?: number;
31
+ /**
32
+ * @remarks
33
+ * The region ID of the WAF instance. Valid values:
34
+ *
35
+ * * **cn-hangzhou**: Chinese mainland
36
+ * * **ap-southeast-1**: outside the Chinese mainland.
37
+ *
38
+ * @example
39
+ * cn-hangzhou
40
+ */
41
+ regionId?: string;
42
+ /**
43
+ * @example
44
+ * rg-acfm***q
45
+ */
46
+ resourceManagerResourceGroupId?: string;
47
+ static names(): {
48
+ [key: string]: string;
49
+ };
50
+ static types(): {
51
+ [key: string]: any;
52
+ };
53
+ validate(): void;
54
+ constructor(map?: {
55
+ [key: string]: any;
56
+ });
57
+ }
@@ -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.DescribeElasticBillsRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeElasticBillsRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ instanceId: 'InstanceId',
43
+ pageNumber: 'PageNumber',
44
+ pageSize: 'PageSize',
45
+ regionId: 'RegionId',
46
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ instanceId: 'string',
52
+ pageNumber: 'number',
53
+ pageSize: 'number',
54
+ regionId: 'string',
55
+ resourceManagerResourceGroupId: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.DescribeElasticBillsRequest = DescribeElasticBillsRequest;
66
+ //# sourceMappingURL=DescribeElasticBillsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeElasticBillsRequest.js","sourceRoot":"","sources":["../../src/models/DescribeElasticBillsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IA6C1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,8BAA8B,EAAE,gCAAgC;SACjE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,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;AAxED,kEAwEC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeElasticBillsResponseBody } from "./DescribeElasticBillsResponseBody";
3
+ export declare class DescribeElasticBillsResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeElasticBillsResponseBody;
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.DescribeElasticBillsResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeElasticBillsResponseBody_1 = require("./DescribeElasticBillsResponseBody");
40
+ class DescribeElasticBillsResponse 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: DescribeElasticBillsResponseBody_1.DescribeElasticBillsResponseBody,
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.DescribeElasticBillsResponse = DescribeElasticBillsResponse;
69
+ //# sourceMappingURL=DescribeElasticBillsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeElasticBillsResponse.js","sourceRoot":"","sources":["../../src/models/DescribeElasticBillsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yFAAsF;AAGtF,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAI3D,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,mEAAgC;SACvC,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,oEAiCC"}
@@ -0,0 +1,86 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeElasticBillsResponseBodyBills extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The total number of SeCUs.
6
+ *
7
+ * @example
8
+ * 2
9
+ */
10
+ cu?: number;
11
+ /**
12
+ * @remarks
13
+ * The billing end time. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
14
+ *
15
+ * @example
16
+ * 1717084800000
17
+ */
18
+ endTime?: number;
19
+ /**
20
+ * @remarks
21
+ * The SeCUs generated by the features that you configure.
22
+ *
23
+ * @example
24
+ * 1
25
+ */
26
+ functionCu?: number;
27
+ /**
28
+ * @remarks
29
+ * The billing start time. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
30
+ *
31
+ * @example
32
+ * 1665484616000
33
+ */
34
+ startTime?: number;
35
+ /**
36
+ * @remarks
37
+ * The SeCUs generated by traffic processing.
38
+ *
39
+ * @example
40
+ * 1
41
+ */
42
+ trafficCu?: number;
43
+ static names(): {
44
+ [key: string]: string;
45
+ };
46
+ static types(): {
47
+ [key: string]: any;
48
+ };
49
+ validate(): void;
50
+ constructor(map?: {
51
+ [key: string]: any;
52
+ });
53
+ }
54
+ export declare class DescribeElasticBillsResponseBody extends $dara.Model {
55
+ /**
56
+ * @remarks
57
+ * The pay-as-you-go bills.
58
+ */
59
+ bills?: DescribeElasticBillsResponseBodyBills[];
60
+ /**
61
+ * @remarks
62
+ * The ID of the request.
63
+ *
64
+ * @example
65
+ * 6FBF08CB-8691-5B65-BBF8-***
66
+ */
67
+ requestId?: string;
68
+ /**
69
+ * @remarks
70
+ * The total number of entries returned.
71
+ *
72
+ * @example
73
+ * 1
74
+ */
75
+ totalCount?: number;
76
+ static names(): {
77
+ [key: string]: string;
78
+ };
79
+ static types(): {
80
+ [key: string]: any;
81
+ };
82
+ validate(): void;
83
+ constructor(map?: {
84
+ [key: string]: any;
85
+ });
86
+ }