@alicloud/ess20220222 1.8.23 → 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 (103) hide show
  1. package/dist/client.d.ts +81 -0
  2. package/dist/client.js +369 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DeleteDiagnoseReportRequest.d.ts +29 -0
  5. package/dist/models/DeleteDiagnoseReportRequest.js +60 -0
  6. package/dist/models/DeleteDiagnoseReportRequest.js.map +1 -0
  7. package/dist/models/DeleteDiagnoseReportResponse.d.ts +19 -0
  8. package/dist/models/DeleteDiagnoseReportResponse.js +69 -0
  9. package/dist/models/DeleteDiagnoseReportResponse.js.map +1 -0
  10. package/dist/models/DeleteDiagnoseReportResponseBody.d.ts +18 -0
  11. package/dist/models/DeleteDiagnoseReportResponseBody.js +58 -0
  12. package/dist/models/DeleteDiagnoseReportResponseBody.js.map +1 -0
  13. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.d.ts +45 -0
  14. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.js +70 -0
  15. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.js.map +1 -0
  16. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponse.d.ts +19 -0
  17. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponse.js +69 -0
  18. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponse.js.map +1 -0
  19. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.d.ts +69 -0
  20. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.js +112 -0
  21. package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.js.map +1 -0
  22. package/dist/models/DescribeScalingActivityStatisticsRequest.d.ts +50 -0
  23. package/dist/models/DescribeScalingActivityStatisticsRequest.js +72 -0
  24. package/dist/models/DescribeScalingActivityStatisticsRequest.js.map +1 -0
  25. package/dist/models/DescribeScalingActivityStatisticsResponse.d.ts +19 -0
  26. package/dist/models/DescribeScalingActivityStatisticsResponse.js +69 -0
  27. package/dist/models/DescribeScalingActivityStatisticsResponse.js.map +1 -0
  28. package/dist/models/DescribeScalingActivityStatisticsResponseBody.d.ts +105 -0
  29. package/dist/models/DescribeScalingActivityStatisticsResponseBody.js +160 -0
  30. package/dist/models/DescribeScalingActivityStatisticsResponseBody.js.map +1 -0
  31. package/dist/models/ModifyEciScalingConfigurationRequest.d.ts +9 -0
  32. package/dist/models/ModifyEciScalingConfigurationRequest.js.map +1 -1
  33. package/dist/models/QueryHistoricalMetricRequest.d.ts +56 -0
  34. package/dist/models/QueryHistoricalMetricRequest.js +72 -0
  35. package/dist/models/QueryHistoricalMetricRequest.js.map +1 -0
  36. package/dist/models/QueryHistoricalMetricResponse.d.ts +19 -0
  37. package/dist/models/QueryHistoricalMetricResponse.js +69 -0
  38. package/dist/models/QueryHistoricalMetricResponse.js.map +1 -0
  39. package/dist/models/QueryHistoricalMetricResponseBody.d.ts +54 -0
  40. package/dist/models/QueryHistoricalMetricResponseBody.js +106 -0
  41. package/dist/models/QueryHistoricalMetricResponseBody.js.map +1 -0
  42. package/dist/models/QueryPredictiveMetricRequest.d.ts +56 -0
  43. package/dist/models/QueryPredictiveMetricRequest.js +72 -0
  44. package/dist/models/QueryPredictiveMetricRequest.js.map +1 -0
  45. package/dist/models/QueryPredictiveMetricResponse.d.ts +19 -0
  46. package/dist/models/QueryPredictiveMetricResponse.js +69 -0
  47. package/dist/models/QueryPredictiveMetricResponse.js.map +1 -0
  48. package/dist/models/QueryPredictiveMetricResponseBody.d.ts +54 -0
  49. package/dist/models/QueryPredictiveMetricResponseBody.js +106 -0
  50. package/dist/models/QueryPredictiveMetricResponseBody.js.map +1 -0
  51. package/dist/models/QueryPredictiveTaskInfoRequest.d.ts +48 -0
  52. package/dist/models/QueryPredictiveTaskInfoRequest.js +70 -0
  53. package/dist/models/QueryPredictiveTaskInfoRequest.js.map +1 -0
  54. package/dist/models/QueryPredictiveTaskInfoResponse.d.ts +19 -0
  55. package/dist/models/QueryPredictiveTaskInfoResponse.js +69 -0
  56. package/dist/models/QueryPredictiveTaskInfoResponse.js.map +1 -0
  57. package/dist/models/QueryPredictiveTaskInfoResponseBody.d.ts +59 -0
  58. package/dist/models/QueryPredictiveTaskInfoResponseBody.js +108 -0
  59. package/dist/models/QueryPredictiveTaskInfoResponseBody.js.map +1 -0
  60. package/dist/models/QueryPredictiveValueRequest.d.ts +64 -0
  61. package/dist/models/QueryPredictiveValueRequest.js +74 -0
  62. package/dist/models/QueryPredictiveValueRequest.js.map +1 -0
  63. package/dist/models/QueryPredictiveValueResponse.d.ts +19 -0
  64. package/dist/models/QueryPredictiveValueResponse.js +69 -0
  65. package/dist/models/QueryPredictiveValueResponse.js.map +1 -0
  66. package/dist/models/QueryPredictiveValueResponseBody.d.ts +54 -0
  67. package/dist/models/QueryPredictiveValueResponseBody.js +106 -0
  68. package/dist/models/QueryPredictiveValueResponseBody.js.map +1 -0
  69. package/dist/models/RemoveInstancesRequest.d.ts +1 -1
  70. package/dist/models/ScaleWithAdjustmentRequest.d.ts +6 -3
  71. package/dist/models/ScaleWithAdjustmentRequest.js.map +1 -1
  72. package/dist/models/ScaleWithAdjustmentShrinkRequest.d.ts +1 -1
  73. package/dist/models/model.d.ts +35 -0
  74. package/dist/models/model.js +80 -10
  75. package/dist/models/model.js.map +1 -1
  76. package/package.json +1 -1
  77. package/src/client.ts +430 -0
  78. package/src/models/DeleteDiagnoseReportRequest.ts +44 -0
  79. package/src/models/DeleteDiagnoseReportResponse.ts +40 -0
  80. package/src/models/DeleteDiagnoseReportResponseBody.ts +31 -0
  81. package/src/models/DescribeInstanceCreateAndDeleteStatisticsRequest.ts +70 -0
  82. package/src/models/DescribeInstanceCreateAndDeleteStatisticsResponse.ts +40 -0
  83. package/src/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.ts +118 -0
  84. package/src/models/DescribeScalingActivityStatisticsRequest.ts +77 -0
  85. package/src/models/DescribeScalingActivityStatisticsResponse.ts +40 -0
  86. package/src/models/DescribeScalingActivityStatisticsResponseBody.ts +184 -0
  87. package/src/models/ModifyEciScalingConfigurationRequest.ts +9 -0
  88. package/src/models/QueryHistoricalMetricRequest.ts +83 -0
  89. package/src/models/QueryHistoricalMetricResponse.ts +40 -0
  90. package/src/models/QueryHistoricalMetricResponseBody.ts +97 -0
  91. package/src/models/QueryPredictiveMetricRequest.ts +83 -0
  92. package/src/models/QueryPredictiveMetricResponse.ts +40 -0
  93. package/src/models/QueryPredictiveMetricResponseBody.ts +97 -0
  94. package/src/models/QueryPredictiveTaskInfoRequest.ts +73 -0
  95. package/src/models/QueryPredictiveTaskInfoResponse.ts +40 -0
  96. package/src/models/QueryPredictiveTaskInfoResponseBody.ts +104 -0
  97. package/src/models/QueryPredictiveValueRequest.ts +93 -0
  98. package/src/models/QueryPredictiveValueResponse.ts +40 -0
  99. package/src/models/QueryPredictiveValueResponseBody.ts +97 -0
  100. package/src/models/RemoveInstancesRequest.ts +1 -1
  101. package/src/models/ScaleWithAdjustmentRequest.ts +6 -3
  102. package/src/models/ScaleWithAdjustmentShrinkRequest.ts +1 -1
  103. package/src/models/model.ts +35 -0
@@ -0,0 +1,83 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryPredictiveMetricRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 2025-12-18T08:00Z
12
+ */
13
+ endTime?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * CpuUtilization
20
+ */
21
+ metricName?: string;
22
+ ownerId?: number;
23
+ /**
24
+ * @remarks
25
+ * This parameter is required.
26
+ *
27
+ * @example
28
+ * cn-hangzhou
29
+ */
30
+ regionId?: string;
31
+ resourceOwnerAccount?: string;
32
+ resourceOwnerId?: number;
33
+ /**
34
+ * @remarks
35
+ * This parameter is required.
36
+ *
37
+ * @example
38
+ * asg-bp1igpak5ft1flyp****
39
+ */
40
+ scalingGroupId?: string;
41
+ /**
42
+ * @remarks
43
+ * This parameter is required.
44
+ *
45
+ * @example
46
+ * 2025-12-17T08:00Z
47
+ */
48
+ startTime?: string;
49
+ static names(): { [key: string]: string } {
50
+ return {
51
+ endTime: 'EndTime',
52
+ metricName: 'MetricName',
53
+ ownerId: 'OwnerId',
54
+ regionId: 'RegionId',
55
+ resourceOwnerAccount: 'ResourceOwnerAccount',
56
+ resourceOwnerId: 'ResourceOwnerId',
57
+ scalingGroupId: 'ScalingGroupId',
58
+ startTime: 'StartTime',
59
+ };
60
+ }
61
+
62
+ static types(): { [key: string]: any } {
63
+ return {
64
+ endTime: 'string',
65
+ metricName: 'string',
66
+ ownerId: 'number',
67
+ regionId: 'string',
68
+ resourceOwnerAccount: 'string',
69
+ resourceOwnerId: 'number',
70
+ scalingGroupId: 'string',
71
+ startTime: 'string',
72
+ };
73
+ }
74
+
75
+ validate() {
76
+ super.validate();
77
+ }
78
+
79
+ constructor(map?: { [key: string]: any }) {
80
+ super(map);
81
+ }
82
+ }
83
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { QueryPredictiveMetricResponseBody } from "./QueryPredictiveMetricResponseBody";
4
+
5
+
6
+ export class QueryPredictiveMetricResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: QueryPredictiveMetricResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: QueryPredictiveMetricResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,97 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 10.0
9
+ */
10
+ metricValue?: string;
11
+ /**
12
+ * @example
13
+ * 2025-12-17T16:00Z
14
+ */
15
+ time?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ metricValue: 'MetricValue',
19
+ time: 'Time',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ metricValue: 'string',
26
+ time: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class QueryPredictiveMetricResponseBodyPredictiveMetrics extends $dara.Model {
40
+ predictiveMetric?: QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric[];
41
+ static names(): { [key: string]: string } {
42
+ return {
43
+ predictiveMetric: 'PredictiveMetric',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ predictiveMetric: { 'type': 'array', 'itemType': QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric },
50
+ };
51
+ }
52
+
53
+ validate() {
54
+ if(Array.isArray(this.predictiveMetric)) {
55
+ $dara.Model.validateArray(this.predictiveMetric);
56
+ }
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
65
+ export class QueryPredictiveMetricResponseBody extends $dara.Model {
66
+ predictiveMetrics?: QueryPredictiveMetricResponseBodyPredictiveMetrics;
67
+ /**
68
+ * @example
69
+ * CC107349-57B7-4405-B1BF-9BF5AF7F****
70
+ */
71
+ requestId?: string;
72
+ static names(): { [key: string]: string } {
73
+ return {
74
+ predictiveMetrics: 'PredictiveMetrics',
75
+ requestId: 'RequestId',
76
+ };
77
+ }
78
+
79
+ static types(): { [key: string]: any } {
80
+ return {
81
+ predictiveMetrics: QueryPredictiveMetricResponseBodyPredictiveMetrics,
82
+ requestId: 'string',
83
+ };
84
+ }
85
+
86
+ validate() {
87
+ if(this.predictiveMetrics && typeof (this.predictiveMetrics as any).validate === 'function') {
88
+ (this.predictiveMetrics as any).validate();
89
+ }
90
+ super.validate();
91
+ }
92
+
93
+ constructor(map?: { [key: string]: any }) {
94
+ super(map);
95
+ }
96
+ }
97
+
@@ -0,0 +1,73 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryPredictiveTaskInfoRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 2025-12-18T08:00Z
12
+ */
13
+ endTime?: string;
14
+ ownerId?: number;
15
+ /**
16
+ * @remarks
17
+ * This parameter is required.
18
+ *
19
+ * @example
20
+ * cn-hangzhou
21
+ */
22
+ regionId?: string;
23
+ resourceOwnerAccount?: string;
24
+ resourceOwnerId?: number;
25
+ /**
26
+ * @remarks
27
+ * This parameter is required.
28
+ *
29
+ * @example
30
+ * asr-bp1dp8yd9f8xxxxx
31
+ */
32
+ scalingRuleId?: string;
33
+ /**
34
+ * @remarks
35
+ * This parameter is required.
36
+ *
37
+ * @example
38
+ * 2025-12-17T08:00Z
39
+ */
40
+ startTime?: string;
41
+ static names(): { [key: string]: string } {
42
+ return {
43
+ endTime: 'EndTime',
44
+ ownerId: 'OwnerId',
45
+ regionId: 'RegionId',
46
+ resourceOwnerAccount: 'ResourceOwnerAccount',
47
+ resourceOwnerId: 'ResourceOwnerId',
48
+ scalingRuleId: 'ScalingRuleId',
49
+ startTime: 'StartTime',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ endTime: 'string',
56
+ ownerId: 'number',
57
+ regionId: 'string',
58
+ resourceOwnerAccount: 'string',
59
+ resourceOwnerId: 'number',
60
+ scalingRuleId: 'string',
61
+ startTime: 'string',
62
+ };
63
+ }
64
+
65
+ validate() {
66
+ super.validate();
67
+ }
68
+
69
+ constructor(map?: { [key: string]: any }) {
70
+ super(map);
71
+ }
72
+ }
73
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { QueryPredictiveTaskInfoResponseBody } from "./QueryPredictiveTaskInfoResponseBody";
4
+
5
+
6
+ export class QueryPredictiveTaskInfoResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: QueryPredictiveTaskInfoResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: QueryPredictiveTaskInfoResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,104 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryPredictiveTaskInfoResponseBodyTaskInfosTaskInfo extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 10
9
+ */
10
+ maxValue?: number;
11
+ /**
12
+ * @example
13
+ * 2
14
+ */
15
+ minValue?: number;
16
+ /**
17
+ * @example
18
+ * 2025-12-17T10:00Z
19
+ */
20
+ time?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ maxValue: 'MaxValue',
24
+ minValue: 'MinValue',
25
+ time: 'Time',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ maxValue: 'number',
32
+ minValue: 'number',
33
+ time: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
46
+ export class QueryPredictiveTaskInfoResponseBodyTaskInfos extends $dara.Model {
47
+ taskInfo?: QueryPredictiveTaskInfoResponseBodyTaskInfosTaskInfo[];
48
+ static names(): { [key: string]: string } {
49
+ return {
50
+ taskInfo: 'TaskInfo',
51
+ };
52
+ }
53
+
54
+ static types(): { [key: string]: any } {
55
+ return {
56
+ taskInfo: { 'type': 'array', 'itemType': QueryPredictiveTaskInfoResponseBodyTaskInfosTaskInfo },
57
+ };
58
+ }
59
+
60
+ validate() {
61
+ if(Array.isArray(this.taskInfo)) {
62
+ $dara.Model.validateArray(this.taskInfo);
63
+ }
64
+ super.validate();
65
+ }
66
+
67
+ constructor(map?: { [key: string]: any }) {
68
+ super(map);
69
+ }
70
+ }
71
+
72
+ export class QueryPredictiveTaskInfoResponseBody extends $dara.Model {
73
+ /**
74
+ * @example
75
+ * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
76
+ */
77
+ requestId?: string;
78
+ taskInfos?: QueryPredictiveTaskInfoResponseBodyTaskInfos;
79
+ static names(): { [key: string]: string } {
80
+ return {
81
+ requestId: 'RequestId',
82
+ taskInfos: 'TaskInfos',
83
+ };
84
+ }
85
+
86
+ static types(): { [key: string]: any } {
87
+ return {
88
+ requestId: 'string',
89
+ taskInfos: QueryPredictiveTaskInfoResponseBodyTaskInfos,
90
+ };
91
+ }
92
+
93
+ validate() {
94
+ if(this.taskInfos && typeof (this.taskInfos as any).validate === 'function') {
95
+ (this.taskInfos as any).validate();
96
+ }
97
+ super.validate();
98
+ }
99
+
100
+ constructor(map?: { [key: string]: any }) {
101
+ super(map);
102
+ }
103
+ }
104
+
@@ -0,0 +1,93 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryPredictiveValueRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 2025-12-18T08:00Z
12
+ */
13
+ endTime?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * CpuUtilization
20
+ */
21
+ metricName?: string;
22
+ ownerId?: number;
23
+ /**
24
+ * @remarks
25
+ * This parameter is required.
26
+ *
27
+ * @example
28
+ * cn-hangzhou
29
+ */
30
+ regionId?: string;
31
+ resourceOwnerAccount?: string;
32
+ resourceOwnerId?: number;
33
+ /**
34
+ * @remarks
35
+ * This parameter is required.
36
+ *
37
+ * @example
38
+ * asg-2zee0wsy0zkdxxxxx
39
+ */
40
+ scalingGroupId?: string;
41
+ /**
42
+ * @remarks
43
+ * This parameter is required.
44
+ *
45
+ * @example
46
+ * 2025-12-17T08:00Z
47
+ */
48
+ startTime?: string;
49
+ /**
50
+ * @remarks
51
+ * This parameter is required.
52
+ *
53
+ * @example
54
+ * 60
55
+ */
56
+ targetValue?: number;
57
+ static names(): { [key: string]: string } {
58
+ return {
59
+ endTime: 'EndTime',
60
+ metricName: 'MetricName',
61
+ ownerId: 'OwnerId',
62
+ regionId: 'RegionId',
63
+ resourceOwnerAccount: 'ResourceOwnerAccount',
64
+ resourceOwnerId: 'ResourceOwnerId',
65
+ scalingGroupId: 'ScalingGroupId',
66
+ startTime: 'StartTime',
67
+ targetValue: 'TargetValue',
68
+ };
69
+ }
70
+
71
+ static types(): { [key: string]: any } {
72
+ return {
73
+ endTime: 'string',
74
+ metricName: 'string',
75
+ ownerId: 'number',
76
+ regionId: 'string',
77
+ resourceOwnerAccount: 'string',
78
+ resourceOwnerId: 'number',
79
+ scalingGroupId: 'string',
80
+ startTime: 'string',
81
+ targetValue: 'number',
82
+ };
83
+ }
84
+
85
+ validate() {
86
+ super.validate();
87
+ }
88
+
89
+ constructor(map?: { [key: string]: any }) {
90
+ super(map);
91
+ }
92
+ }
93
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { QueryPredictiveValueResponseBody } from "./QueryPredictiveValueResponseBody";
4
+
5
+
6
+ export class QueryPredictiveValueResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: QueryPredictiveValueResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: QueryPredictiveValueResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,97 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryPredictiveValueResponseBodyPredictiveValuesPredictiveValue extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 2025-12-17T10:00Z
9
+ */
10
+ time?: string;
11
+ /**
12
+ * @example
13
+ * 3
14
+ */
15
+ value?: number;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ time: 'Time',
19
+ value: 'Value',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ time: 'string',
26
+ value: 'number',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class QueryPredictiveValueResponseBodyPredictiveValues extends $dara.Model {
40
+ predictiveValue?: QueryPredictiveValueResponseBodyPredictiveValuesPredictiveValue[];
41
+ static names(): { [key: string]: string } {
42
+ return {
43
+ predictiveValue: 'PredictiveValue',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ predictiveValue: { 'type': 'array', 'itemType': QueryPredictiveValueResponseBodyPredictiveValuesPredictiveValue },
50
+ };
51
+ }
52
+
53
+ validate() {
54
+ if(Array.isArray(this.predictiveValue)) {
55
+ $dara.Model.validateArray(this.predictiveValue);
56
+ }
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
65
+ export class QueryPredictiveValueResponseBody extends $dara.Model {
66
+ predictiveValues?: QueryPredictiveValueResponseBodyPredictiveValues;
67
+ /**
68
+ * @example
69
+ * FA5F448E-DC84-5EBC-B6D5-F659ADxxxx
70
+ */
71
+ requestId?: string;
72
+ static names(): { [key: string]: string } {
73
+ return {
74
+ predictiveValues: 'PredictiveValues',
75
+ requestId: 'RequestId',
76
+ };
77
+ }
78
+
79
+ static types(): { [key: string]: any } {
80
+ return {
81
+ predictiveValues: QueryPredictiveValueResponseBodyPredictiveValues,
82
+ requestId: 'string',
83
+ };
84
+ }
85
+
86
+ validate() {
87
+ if(this.predictiveValues && typeof (this.predictiveValues as any).validate === 'function') {
88
+ (this.predictiveValues as any).validate();
89
+ }
90
+ super.validate();
91
+ }
92
+
93
+ constructor(map?: { [key: string]: any }) {
94
+ super(map);
95
+ }
96
+ }
97
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class RemoveInstancesRequestLifecycleHookContext extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to disable the lifecycle hook. Valid Values:
8
+ * Specifies whether to disable the lifecycle hook. Valid values:
9
9
  *
10
10
  * * true
11
11
  * * false