@alicloud/ess20220222 1.9.0 → 1.10.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 (81) hide show
  1. package/dist/client.d.ts +66 -0
  2. package/dist/client.js +333 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.d.ts +45 -0
  5. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.js +70 -0
  6. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.js.map +1 -0
  7. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponse.d.ts +19 -0
  8. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponse.js +69 -0
  9. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponse.js.map +1 -0
  10. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.d.ts +69 -0
  11. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.js +112 -0
  12. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.js.map +1 -0
  13. package/dist/models/DescribeScalingActivityStatisticsRequest.d.ts +50 -0
  14. package/dist/models/DescribeScalingActivityStatisticsRequest.js +72 -0
  15. package/dist/models/DescribeScalingActivityStatisticsRequest.js.map +1 -0
  16. package/dist/models/DescribeScalingActivityStatisticsResponse.d.ts +19 -0
  17. package/dist/models/DescribeScalingActivityStatisticsResponse.js +69 -0
  18. package/dist/models/DescribeScalingActivityStatisticsResponse.js.map +1 -0
  19. package/dist/models/DescribeScalingActivityStatisticsResponseBody.d.ts +105 -0
  20. package/dist/models/DescribeScalingActivityStatisticsResponseBody.js +160 -0
  21. package/dist/models/DescribeScalingActivityStatisticsResponseBody.js.map +1 -0
  22. package/dist/models/QueryHistoricalMetricRequest.d.ts +56 -0
  23. package/dist/models/QueryHistoricalMetricRequest.js +72 -0
  24. package/dist/models/QueryHistoricalMetricRequest.js.map +1 -0
  25. package/dist/models/QueryHistoricalMetricResponse.d.ts +19 -0
  26. package/dist/models/QueryHistoricalMetricResponse.js +69 -0
  27. package/dist/models/QueryHistoricalMetricResponse.js.map +1 -0
  28. package/dist/models/QueryHistoricalMetricResponseBody.d.ts +54 -0
  29. package/dist/models/QueryHistoricalMetricResponseBody.js +106 -0
  30. package/dist/models/QueryHistoricalMetricResponseBody.js.map +1 -0
  31. package/dist/models/QueryPredictiveMetricRequest.d.ts +56 -0
  32. package/dist/models/QueryPredictiveMetricRequest.js +72 -0
  33. package/dist/models/QueryPredictiveMetricRequest.js.map +1 -0
  34. package/dist/models/QueryPredictiveMetricResponse.d.ts +19 -0
  35. package/dist/models/QueryPredictiveMetricResponse.js +69 -0
  36. package/dist/models/QueryPredictiveMetricResponse.js.map +1 -0
  37. package/dist/models/QueryPredictiveMetricResponseBody.d.ts +54 -0
  38. package/dist/models/QueryPredictiveMetricResponseBody.js +106 -0
  39. package/dist/models/QueryPredictiveMetricResponseBody.js.map +1 -0
  40. package/dist/models/QueryPredictiveTaskInfoRequest.d.ts +48 -0
  41. package/dist/models/QueryPredictiveTaskInfoRequest.js +70 -0
  42. package/dist/models/QueryPredictiveTaskInfoRequest.js.map +1 -0
  43. package/dist/models/QueryPredictiveTaskInfoResponse.d.ts +19 -0
  44. package/dist/models/QueryPredictiveTaskInfoResponse.js +69 -0
  45. package/dist/models/QueryPredictiveTaskInfoResponse.js.map +1 -0
  46. package/dist/models/QueryPredictiveTaskInfoResponseBody.d.ts +59 -0
  47. package/dist/models/QueryPredictiveTaskInfoResponseBody.js +108 -0
  48. package/dist/models/QueryPredictiveTaskInfoResponseBody.js.map +1 -0
  49. package/dist/models/QueryPredictiveValueRequest.d.ts +64 -0
  50. package/dist/models/QueryPredictiveValueRequest.js +74 -0
  51. package/dist/models/QueryPredictiveValueRequest.js.map +1 -0
  52. package/dist/models/QueryPredictiveValueResponse.d.ts +19 -0
  53. package/dist/models/QueryPredictiveValueResponse.js +69 -0
  54. package/dist/models/QueryPredictiveValueResponse.js.map +1 -0
  55. package/dist/models/QueryPredictiveValueResponseBody.d.ts +54 -0
  56. package/dist/models/QueryPredictiveValueResponseBody.js +106 -0
  57. package/dist/models/QueryPredictiveValueResponseBody.js.map +1 -0
  58. package/dist/models/model.d.ts +32 -0
  59. package/dist/models/model.js +74 -10
  60. package/dist/models/model.js.map +1 -1
  61. package/package.json +1 -1
  62. package/src/client.ts +392 -0
  63. package/src/models/DescribeInstanceCreateAndDeleteStatisticsRequest.ts +70 -0
  64. package/src/models/DescribeInstanceCreateAndDeleteStatisticsResponse.ts +40 -0
  65. package/src/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.ts +118 -0
  66. package/src/models/DescribeScalingActivityStatisticsRequest.ts +77 -0
  67. package/src/models/DescribeScalingActivityStatisticsResponse.ts +40 -0
  68. package/src/models/DescribeScalingActivityStatisticsResponseBody.ts +184 -0
  69. package/src/models/QueryHistoricalMetricRequest.ts +83 -0
  70. package/src/models/QueryHistoricalMetricResponse.ts +40 -0
  71. package/src/models/QueryHistoricalMetricResponseBody.ts +97 -0
  72. package/src/models/QueryPredictiveMetricRequest.ts +83 -0
  73. package/src/models/QueryPredictiveMetricResponse.ts +40 -0
  74. package/src/models/QueryPredictiveMetricResponseBody.ts +97 -0
  75. package/src/models/QueryPredictiveTaskInfoRequest.ts +73 -0
  76. package/src/models/QueryPredictiveTaskInfoResponse.ts +40 -0
  77. package/src/models/QueryPredictiveTaskInfoResponseBody.ts +104 -0
  78. package/src/models/QueryPredictiveValueRequest.ts +93 -0
  79. package/src/models/QueryPredictiveValueResponse.ts +40 -0
  80. package/src/models/QueryPredictiveValueResponseBody.ts +97 -0
  81. package/src/models/model.ts +32 -0
@@ -0,0 +1,56 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class QueryPredictiveMetricRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * 2025-12-18T08:00Z
9
+ */
10
+ endTime?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * CpuUtilization
17
+ */
18
+ metricName?: string;
19
+ ownerId?: number;
20
+ /**
21
+ * @remarks
22
+ * This parameter is required.
23
+ *
24
+ * @example
25
+ * cn-hangzhou
26
+ */
27
+ regionId?: string;
28
+ resourceOwnerAccount?: string;
29
+ resourceOwnerId?: number;
30
+ /**
31
+ * @remarks
32
+ * This parameter is required.
33
+ *
34
+ * @example
35
+ * asg-bp1igpak5ft1flyp****
36
+ */
37
+ scalingGroupId?: string;
38
+ /**
39
+ * @remarks
40
+ * This parameter is required.
41
+ *
42
+ * @example
43
+ * 2025-12-17T08:00Z
44
+ */
45
+ startTime?: string;
46
+ static names(): {
47
+ [key: string]: string;
48
+ };
49
+ static types(): {
50
+ [key: string]: any;
51
+ };
52
+ validate(): void;
53
+ constructor(map?: {
54
+ [key: string]: any;
55
+ });
56
+ }
@@ -0,0 +1,72 @@
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.QueryPredictiveMetricRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class QueryPredictiveMetricRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ endTime: 'EndTime',
43
+ metricName: 'MetricName',
44
+ ownerId: 'OwnerId',
45
+ regionId: 'RegionId',
46
+ resourceOwnerAccount: 'ResourceOwnerAccount',
47
+ resourceOwnerId: 'ResourceOwnerId',
48
+ scalingGroupId: 'ScalingGroupId',
49
+ startTime: 'StartTime',
50
+ };
51
+ }
52
+ static types() {
53
+ return {
54
+ endTime: 'string',
55
+ metricName: 'string',
56
+ ownerId: 'number',
57
+ regionId: 'string',
58
+ resourceOwnerAccount: 'string',
59
+ resourceOwnerId: 'number',
60
+ scalingGroupId: 'string',
61
+ startTime: 'string',
62
+ };
63
+ }
64
+ validate() {
65
+ super.validate();
66
+ }
67
+ constructor(map) {
68
+ super(map);
69
+ }
70
+ }
71
+ exports.QueryPredictiveMetricRequest = QueryPredictiveMetricRequest;
72
+ //# sourceMappingURL=QueryPredictiveMetricRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryPredictiveMetricRequest.js","sourceRoot":"","sources":["../../src/models/QueryPredictiveMetricRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IA4C3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,cAAc,EAAE,gBAAgB;YAChC,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,cAAc,EAAE,QAAQ;YACxB,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;AA7ED,oEA6EC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { QueryPredictiveMetricResponseBody } from "./QueryPredictiveMetricResponseBody";
3
+ export declare class QueryPredictiveMetricResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: QueryPredictiveMetricResponseBody;
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.QueryPredictiveMetricResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const QueryPredictiveMetricResponseBody_1 = require("./QueryPredictiveMetricResponseBody");
40
+ class QueryPredictiveMetricResponse 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: QueryPredictiveMetricResponseBody_1.QueryPredictiveMetricResponseBody,
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.QueryPredictiveMetricResponse = QueryPredictiveMetricResponse;
69
+ //# sourceMappingURL=QueryPredictiveMetricResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryPredictiveMetricResponse.js","sourceRoot":"","sources":["../../src/models/QueryPredictiveMetricResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2FAAwF;AAGxF,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAI5D,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,qEAAiC;SACxC,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,sEAiCC"}
@@ -0,0 +1,54 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 10.0
6
+ */
7
+ metricValue?: string;
8
+ /**
9
+ * @example
10
+ * 2025-12-17T16:00Z
11
+ */
12
+ time?: string;
13
+ static names(): {
14
+ [key: string]: string;
15
+ };
16
+ static types(): {
17
+ [key: string]: any;
18
+ };
19
+ validate(): void;
20
+ constructor(map?: {
21
+ [key: string]: any;
22
+ });
23
+ }
24
+ export declare class QueryPredictiveMetricResponseBodyPredictiveMetrics extends $dara.Model {
25
+ predictiveMetric?: QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric[];
26
+ static names(): {
27
+ [key: string]: string;
28
+ };
29
+ static types(): {
30
+ [key: string]: any;
31
+ };
32
+ validate(): void;
33
+ constructor(map?: {
34
+ [key: string]: any;
35
+ });
36
+ }
37
+ export declare class QueryPredictiveMetricResponseBody extends $dara.Model {
38
+ predictiveMetrics?: QueryPredictiveMetricResponseBodyPredictiveMetrics;
39
+ /**
40
+ * @example
41
+ * CC107349-57B7-4405-B1BF-9BF5AF7F****
42
+ */
43
+ requestId?: string;
44
+ static names(): {
45
+ [key: string]: string;
46
+ };
47
+ static types(): {
48
+ [key: string]: any;
49
+ };
50
+ validate(): void;
51
+ constructor(map?: {
52
+ [key: string]: any;
53
+ });
54
+ }
@@ -0,0 +1,106 @@
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.QueryPredictiveMetricResponseBody = exports.QueryPredictiveMetricResponseBodyPredictiveMetrics = exports.QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ metricValue: 'MetricValue',
43
+ time: 'Time',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ metricValue: 'string',
49
+ time: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric = QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric;
60
+ class QueryPredictiveMetricResponseBodyPredictiveMetrics extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ predictiveMetric: 'PredictiveMetric',
64
+ };
65
+ }
66
+ static types() {
67
+ return {
68
+ predictiveMetric: { 'type': 'array', 'itemType': QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric },
69
+ };
70
+ }
71
+ validate() {
72
+ if (Array.isArray(this.predictiveMetric)) {
73
+ $dara.Model.validateArray(this.predictiveMetric);
74
+ }
75
+ super.validate();
76
+ }
77
+ constructor(map) {
78
+ super(map);
79
+ }
80
+ }
81
+ exports.QueryPredictiveMetricResponseBodyPredictiveMetrics = QueryPredictiveMetricResponseBodyPredictiveMetrics;
82
+ class QueryPredictiveMetricResponseBody extends $dara.Model {
83
+ static names() {
84
+ return {
85
+ predictiveMetrics: 'PredictiveMetrics',
86
+ requestId: 'RequestId',
87
+ };
88
+ }
89
+ static types() {
90
+ return {
91
+ predictiveMetrics: QueryPredictiveMetricResponseBodyPredictiveMetrics,
92
+ requestId: 'string',
93
+ };
94
+ }
95
+ validate() {
96
+ if (this.predictiveMetrics && typeof this.predictiveMetrics.validate === 'function') {
97
+ this.predictiveMetrics.validate();
98
+ }
99
+ super.validate();
100
+ }
101
+ constructor(map) {
102
+ super(map);
103
+ }
104
+ }
105
+ exports.QueryPredictiveMetricResponseBody = QueryPredictiveMetricResponseBody;
106
+ //# sourceMappingURL=QueryPredictiveMetricResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryPredictiveMetricResponseBody.js","sourceRoot":"","sources":["../../src/models/QueryPredictiveMetricResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kEAAmE,SAAQ,KAAK,CAAC,KAAK;IAWjG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,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;AAhCD,gJAgCC;AAED,MAAa,kDAAmD,SAAQ,KAAK,CAAC,KAAK;IAEjF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;SACrC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,kEAAkE,EAAE;SACtH,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAAC;YACxC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACnD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxBD,gHAwBC;AAED,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAOhE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,iBAAiB,EAAE,mBAAmB;YACtC,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,iBAAiB,EAAE,kDAAkD;YACrE,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,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,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/BD,8EA+BC"}
@@ -0,0 +1,48 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class QueryPredictiveTaskInfoRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * 2025-12-18T08:00Z
9
+ */
10
+ endTime?: string;
11
+ ownerId?: number;
12
+ /**
13
+ * @remarks
14
+ * This parameter is required.
15
+ *
16
+ * @example
17
+ * cn-hangzhou
18
+ */
19
+ regionId?: string;
20
+ resourceOwnerAccount?: string;
21
+ resourceOwnerId?: number;
22
+ /**
23
+ * @remarks
24
+ * This parameter is required.
25
+ *
26
+ * @example
27
+ * asr-bp1dp8yd9f8xxxxx
28
+ */
29
+ scalingRuleId?: string;
30
+ /**
31
+ * @remarks
32
+ * This parameter is required.
33
+ *
34
+ * @example
35
+ * 2025-12-17T08:00Z
36
+ */
37
+ startTime?: 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
+ }
@@ -0,0 +1,70 @@
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.QueryPredictiveTaskInfoRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class QueryPredictiveTaskInfoRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ endTime: 'EndTime',
43
+ ownerId: 'OwnerId',
44
+ regionId: 'RegionId',
45
+ resourceOwnerAccount: 'ResourceOwnerAccount',
46
+ resourceOwnerId: 'ResourceOwnerId',
47
+ scalingRuleId: 'ScalingRuleId',
48
+ startTime: 'StartTime',
49
+ };
50
+ }
51
+ static types() {
52
+ return {
53
+ endTime: 'string',
54
+ ownerId: 'number',
55
+ regionId: 'string',
56
+ resourceOwnerAccount: 'string',
57
+ resourceOwnerId: 'number',
58
+ scalingRuleId: 'string',
59
+ startTime: 'string',
60
+ };
61
+ }
62
+ validate() {
63
+ super.validate();
64
+ }
65
+ constructor(map) {
66
+ super(map);
67
+ }
68
+ }
69
+ exports.QueryPredictiveTaskInfoRequest = QueryPredictiveTaskInfoRequest;
70
+ //# sourceMappingURL=QueryPredictiveTaskInfoRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryPredictiveTaskInfoRequest.js","sourceRoot":"","sources":["../../src/models/QueryPredictiveTaskInfoRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAoC7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,aAAa,EAAE,eAAe;YAC9B,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,aAAa,EAAE,QAAQ;YACvB,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;AAnED,wEAmEC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { QueryPredictiveTaskInfoResponseBody } from "./QueryPredictiveTaskInfoResponseBody";
3
+ export declare class QueryPredictiveTaskInfoResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: QueryPredictiveTaskInfoResponseBody;
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.QueryPredictiveTaskInfoResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const QueryPredictiveTaskInfoResponseBody_1 = require("./QueryPredictiveTaskInfoResponseBody");
40
+ class QueryPredictiveTaskInfoResponse 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: QueryPredictiveTaskInfoResponseBody_1.QueryPredictiveTaskInfoResponseBody,
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.QueryPredictiveTaskInfoResponse = QueryPredictiveTaskInfoResponse;
69
+ //# sourceMappingURL=QueryPredictiveTaskInfoResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryPredictiveTaskInfoResponse.js","sourceRoot":"","sources":["../../src/models/QueryPredictiveTaskInfoResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+FAA4F;AAG5F,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAI9D,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,yEAAmC;SAC1C,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,0EAiCC"}
@@ -0,0 +1,59 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class QueryPredictiveTaskInfoResponseBodyTaskInfosTaskInfo extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 10
6
+ */
7
+ maxValue?: number;
8
+ /**
9
+ * @example
10
+ * 2
11
+ */
12
+ minValue?: number;
13
+ /**
14
+ * @example
15
+ * 2025-12-17T10:00Z
16
+ */
17
+ time?: string;
18
+ static names(): {
19
+ [key: string]: string;
20
+ };
21
+ static types(): {
22
+ [key: string]: any;
23
+ };
24
+ validate(): void;
25
+ constructor(map?: {
26
+ [key: string]: any;
27
+ });
28
+ }
29
+ export declare class QueryPredictiveTaskInfoResponseBodyTaskInfos extends $dara.Model {
30
+ taskInfo?: QueryPredictiveTaskInfoResponseBodyTaskInfosTaskInfo[];
31
+ static names(): {
32
+ [key: string]: string;
33
+ };
34
+ static types(): {
35
+ [key: string]: any;
36
+ };
37
+ validate(): void;
38
+ constructor(map?: {
39
+ [key: string]: any;
40
+ });
41
+ }
42
+ export declare class QueryPredictiveTaskInfoResponseBody extends $dara.Model {
43
+ /**
44
+ * @example
45
+ * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
46
+ */
47
+ requestId?: string;
48
+ taskInfos?: QueryPredictiveTaskInfoResponseBodyTaskInfos;
49
+ static names(): {
50
+ [key: string]: string;
51
+ };
52
+ static types(): {
53
+ [key: string]: any;
54
+ };
55
+ validate(): void;
56
+ constructor(map?: {
57
+ [key: string]: any;
58
+ });
59
+ }