@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.
- package/dist/client.d.ts +81 -0
- package/dist/client.js +369 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DeleteDiagnoseReportRequest.d.ts +29 -0
- package/dist/models/DeleteDiagnoseReportRequest.js +60 -0
- package/dist/models/DeleteDiagnoseReportRequest.js.map +1 -0
- package/dist/models/DeleteDiagnoseReportResponse.d.ts +19 -0
- package/dist/models/DeleteDiagnoseReportResponse.js +69 -0
- package/dist/models/DeleteDiagnoseReportResponse.js.map +1 -0
- package/dist/models/DeleteDiagnoseReportResponseBody.d.ts +18 -0
- package/dist/models/DeleteDiagnoseReportResponseBody.js +58 -0
- package/dist/models/DeleteDiagnoseReportResponseBody.js.map +1 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.d.ts +45 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.js +70 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.js.map +1 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponse.d.ts +19 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponse.js +69 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponse.js.map +1 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.d.ts +69 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.js +112 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.js.map +1 -0
- package/dist/models/DescribeScalingActivityStatisticsRequest.d.ts +50 -0
- package/dist/models/DescribeScalingActivityStatisticsRequest.js +72 -0
- package/dist/models/DescribeScalingActivityStatisticsRequest.js.map +1 -0
- package/dist/models/DescribeScalingActivityStatisticsResponse.d.ts +19 -0
- package/dist/models/DescribeScalingActivityStatisticsResponse.js +69 -0
- package/dist/models/DescribeScalingActivityStatisticsResponse.js.map +1 -0
- package/dist/models/DescribeScalingActivityStatisticsResponseBody.d.ts +105 -0
- package/dist/models/DescribeScalingActivityStatisticsResponseBody.js +160 -0
- package/dist/models/DescribeScalingActivityStatisticsResponseBody.js.map +1 -0
- package/dist/models/ModifyEciScalingConfigurationRequest.d.ts +9 -0
- package/dist/models/ModifyEciScalingConfigurationRequest.js.map +1 -1
- package/dist/models/QueryHistoricalMetricRequest.d.ts +56 -0
- package/dist/models/QueryHistoricalMetricRequest.js +72 -0
- package/dist/models/QueryHistoricalMetricRequest.js.map +1 -0
- package/dist/models/QueryHistoricalMetricResponse.d.ts +19 -0
- package/dist/models/QueryHistoricalMetricResponse.js +69 -0
- package/dist/models/QueryHistoricalMetricResponse.js.map +1 -0
- package/dist/models/QueryHistoricalMetricResponseBody.d.ts +54 -0
- package/dist/models/QueryHistoricalMetricResponseBody.js +106 -0
- package/dist/models/QueryHistoricalMetricResponseBody.js.map +1 -0
- package/dist/models/QueryPredictiveMetricRequest.d.ts +56 -0
- package/dist/models/QueryPredictiveMetricRequest.js +72 -0
- package/dist/models/QueryPredictiveMetricRequest.js.map +1 -0
- package/dist/models/QueryPredictiveMetricResponse.d.ts +19 -0
- package/dist/models/QueryPredictiveMetricResponse.js +69 -0
- package/dist/models/QueryPredictiveMetricResponse.js.map +1 -0
- package/dist/models/QueryPredictiveMetricResponseBody.d.ts +54 -0
- package/dist/models/QueryPredictiveMetricResponseBody.js +106 -0
- package/dist/models/QueryPredictiveMetricResponseBody.js.map +1 -0
- package/dist/models/QueryPredictiveTaskInfoRequest.d.ts +48 -0
- package/dist/models/QueryPredictiveTaskInfoRequest.js +70 -0
- package/dist/models/QueryPredictiveTaskInfoRequest.js.map +1 -0
- package/dist/models/QueryPredictiveTaskInfoResponse.d.ts +19 -0
- package/dist/models/QueryPredictiveTaskInfoResponse.js +69 -0
- package/dist/models/QueryPredictiveTaskInfoResponse.js.map +1 -0
- package/dist/models/QueryPredictiveTaskInfoResponseBody.d.ts +59 -0
- package/dist/models/QueryPredictiveTaskInfoResponseBody.js +108 -0
- package/dist/models/QueryPredictiveTaskInfoResponseBody.js.map +1 -0
- package/dist/models/QueryPredictiveValueRequest.d.ts +64 -0
- package/dist/models/QueryPredictiveValueRequest.js +74 -0
- package/dist/models/QueryPredictiveValueRequest.js.map +1 -0
- package/dist/models/QueryPredictiveValueResponse.d.ts +19 -0
- package/dist/models/QueryPredictiveValueResponse.js +69 -0
- package/dist/models/QueryPredictiveValueResponse.js.map +1 -0
- package/dist/models/QueryPredictiveValueResponseBody.d.ts +54 -0
- package/dist/models/QueryPredictiveValueResponseBody.js +106 -0
- package/dist/models/QueryPredictiveValueResponseBody.js.map +1 -0
- package/dist/models/RemoveInstancesRequest.d.ts +1 -1
- package/dist/models/ScaleWithAdjustmentRequest.d.ts +6 -3
- package/dist/models/ScaleWithAdjustmentRequest.js.map +1 -1
- package/dist/models/ScaleWithAdjustmentShrinkRequest.d.ts +1 -1
- package/dist/models/model.d.ts +35 -0
- package/dist/models/model.js +80 -10
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +430 -0
- package/src/models/DeleteDiagnoseReportRequest.ts +44 -0
- package/src/models/DeleteDiagnoseReportResponse.ts +40 -0
- package/src/models/DeleteDiagnoseReportResponseBody.ts +31 -0
- package/src/models/DescribeInstanceCreateAndDeleteStatisticsRequest.ts +70 -0
- package/src/models/DescribeInstanceCreateAndDeleteStatisticsResponse.ts +40 -0
- package/src/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.ts +118 -0
- package/src/models/DescribeScalingActivityStatisticsRequest.ts +77 -0
- package/src/models/DescribeScalingActivityStatisticsResponse.ts +40 -0
- package/src/models/DescribeScalingActivityStatisticsResponseBody.ts +184 -0
- package/src/models/ModifyEciScalingConfigurationRequest.ts +9 -0
- package/src/models/QueryHistoricalMetricRequest.ts +83 -0
- package/src/models/QueryHistoricalMetricResponse.ts +40 -0
- package/src/models/QueryHistoricalMetricResponseBody.ts +97 -0
- package/src/models/QueryPredictiveMetricRequest.ts +83 -0
- package/src/models/QueryPredictiveMetricResponse.ts +40 -0
- package/src/models/QueryPredictiveMetricResponseBody.ts +97 -0
- package/src/models/QueryPredictiveTaskInfoRequest.ts +73 -0
- package/src/models/QueryPredictiveTaskInfoResponse.ts +40 -0
- package/src/models/QueryPredictiveTaskInfoResponseBody.ts +104 -0
- package/src/models/QueryPredictiveValueRequest.ts +93 -0
- package/src/models/QueryPredictiveValueResponse.ts +40 -0
- package/src/models/QueryPredictiveValueResponseBody.ts +97 -0
- package/src/models/RemoveInstancesRequest.ts +1 -1
- package/src/models/ScaleWithAdjustmentRequest.ts +6 -3
- package/src/models/ScaleWithAdjustmentShrinkRequest.ts +1 -1
- package/src/models/model.ts +35 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeInstanceCreateAndDeleteStatisticsResponseBodyInstanceCreateAndDeleteStatisticsStatistic extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 12
|
|
9
|
+
*/
|
|
10
|
+
createdVmCount?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 34
|
|
14
|
+
*/
|
|
15
|
+
destroyedVmCount?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 5
|
|
19
|
+
*/
|
|
20
|
+
startedVmCount?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 10
|
|
24
|
+
*/
|
|
25
|
+
stoppedVmCount?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 2025121623
|
|
29
|
+
*/
|
|
30
|
+
time?: string;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
createdVmCount: 'CreatedVmCount',
|
|
34
|
+
destroyedVmCount: 'DestroyedVmCount',
|
|
35
|
+
startedVmCount: 'StartedVmCount',
|
|
36
|
+
stoppedVmCount: 'StoppedVmCount',
|
|
37
|
+
time: 'Time',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
createdVmCount: 'number',
|
|
44
|
+
destroyedVmCount: 'number',
|
|
45
|
+
startedVmCount: 'number',
|
|
46
|
+
stoppedVmCount: 'number',
|
|
47
|
+
time: 'string',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
validate() {
|
|
52
|
+
super.validate();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
constructor(map?: { [key: string]: any }) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export class DescribeInstanceCreateAndDeleteStatisticsResponseBodyInstanceCreateAndDeleteStatistics extends $dara.Model {
|
|
61
|
+
statistic?: DescribeInstanceCreateAndDeleteStatisticsResponseBodyInstanceCreateAndDeleteStatisticsStatistic[];
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
statistic: 'Statistic',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
static types(): { [key: string]: any } {
|
|
69
|
+
return {
|
|
70
|
+
statistic: { 'type': 'array', 'itemType': DescribeInstanceCreateAndDeleteStatisticsResponseBodyInstanceCreateAndDeleteStatisticsStatistic },
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
validate() {
|
|
75
|
+
if(Array.isArray(this.statistic)) {
|
|
76
|
+
$dara.Model.validateArray(this.statistic);
|
|
77
|
+
}
|
|
78
|
+
super.validate();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
constructor(map?: { [key: string]: any }) {
|
|
82
|
+
super(map);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export class DescribeInstanceCreateAndDeleteStatisticsResponseBody extends $dara.Model {
|
|
87
|
+
instanceCreateAndDeleteStatistics?: DescribeInstanceCreateAndDeleteStatisticsResponseBodyInstanceCreateAndDeleteStatistics;
|
|
88
|
+
/**
|
|
89
|
+
* @example
|
|
90
|
+
* 086EFCD4-C76F-4DC6-9EE9-0D9B711E****
|
|
91
|
+
*/
|
|
92
|
+
requestId?: string;
|
|
93
|
+
static names(): { [key: string]: string } {
|
|
94
|
+
return {
|
|
95
|
+
instanceCreateAndDeleteStatistics: 'InstanceCreateAndDeleteStatistics',
|
|
96
|
+
requestId: 'RequestId',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
static types(): { [key: string]: any } {
|
|
101
|
+
return {
|
|
102
|
+
instanceCreateAndDeleteStatistics: DescribeInstanceCreateAndDeleteStatisticsResponseBodyInstanceCreateAndDeleteStatistics,
|
|
103
|
+
requestId: 'string',
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
validate() {
|
|
108
|
+
if(this.instanceCreateAndDeleteStatistics && typeof (this.instanceCreateAndDeleteStatistics as any).validate === 'function') {
|
|
109
|
+
(this.instanceCreateAndDeleteStatistics as any).validate();
|
|
110
|
+
}
|
|
111
|
+
super.validate();
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
constructor(map?: { [key: string]: any }) {
|
|
115
|
+
super(map);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeScalingActivityStatisticsRequest 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
|
+
* @example
|
|
16
|
+
* ScalingActivityStatus
|
|
17
|
+
*/
|
|
18
|
+
metricType?: 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
|
+
* @example
|
|
32
|
+
* asg-8vbje5pofxxxxxxxx
|
|
33
|
+
*/
|
|
34
|
+
scalingGroupId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* This parameter is required.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* 2025-12-15T08:00Z
|
|
41
|
+
*/
|
|
42
|
+
startTime?: string;
|
|
43
|
+
static names(): { [key: string]: string } {
|
|
44
|
+
return {
|
|
45
|
+
endTime: 'EndTime',
|
|
46
|
+
metricType: 'MetricType',
|
|
47
|
+
ownerId: 'OwnerId',
|
|
48
|
+
regionId: 'RegionId',
|
|
49
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
50
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
51
|
+
scalingGroupId: 'ScalingGroupId',
|
|
52
|
+
startTime: 'StartTime',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
endTime: 'string',
|
|
59
|
+
metricType: 'string',
|
|
60
|
+
ownerId: 'number',
|
|
61
|
+
regionId: 'string',
|
|
62
|
+
resourceOwnerAccount: 'string',
|
|
63
|
+
resourceOwnerId: 'number',
|
|
64
|
+
scalingGroupId: 'string',
|
|
65
|
+
startTime: 'string',
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
validate() {
|
|
70
|
+
super.validate();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
constructor(map?: { [key: string]: any }) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeScalingActivityStatisticsResponseBody } from "./DescribeScalingActivityStatisticsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeScalingActivityStatisticsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeScalingActivityStatisticsResponseBody;
|
|
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: DescribeScalingActivityStatisticsResponseBody,
|
|
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,184 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeScalingActivityStatisticsResponseBodyScalingActivityErrorCodeStatisticsErrorStatistic extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 4
|
|
9
|
+
*/
|
|
10
|
+
count?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* QuotaExceeded.PrivateIpAddress
|
|
14
|
+
*/
|
|
15
|
+
errorCode?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 2025121623
|
|
19
|
+
*/
|
|
20
|
+
time?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
count: 'Count',
|
|
24
|
+
errorCode: 'ErrorCode',
|
|
25
|
+
time: 'Time',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
count: 'number',
|
|
32
|
+
errorCode: 'string',
|
|
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 DescribeScalingActivityStatisticsResponseBodyScalingActivityErrorCodeStatistics extends $dara.Model {
|
|
47
|
+
errorStatistic?: DescribeScalingActivityStatisticsResponseBodyScalingActivityErrorCodeStatisticsErrorStatistic[];
|
|
48
|
+
static names(): { [key: string]: string } {
|
|
49
|
+
return {
|
|
50
|
+
errorStatistic: 'ErrorStatistic',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
static types(): { [key: string]: any } {
|
|
55
|
+
return {
|
|
56
|
+
errorStatistic: { 'type': 'array', 'itemType': DescribeScalingActivityStatisticsResponseBodyScalingActivityErrorCodeStatisticsErrorStatistic },
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validate() {
|
|
61
|
+
if(Array.isArray(this.errorStatistic)) {
|
|
62
|
+
$dara.Model.validateArray(this.errorStatistic);
|
|
63
|
+
}
|
|
64
|
+
super.validate();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
constructor(map?: { [key: string]: any }) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class DescribeScalingActivityStatisticsResponseBodyScalingActivityStatusStatisticsStatistic extends $dara.Model {
|
|
73
|
+
/**
|
|
74
|
+
* @example
|
|
75
|
+
* 1
|
|
76
|
+
*/
|
|
77
|
+
failedActivityCount?: number;
|
|
78
|
+
/**
|
|
79
|
+
* @example
|
|
80
|
+
* 10
|
|
81
|
+
*/
|
|
82
|
+
successActivityCount?: number;
|
|
83
|
+
/**
|
|
84
|
+
* @example
|
|
85
|
+
* 2025121623
|
|
86
|
+
*/
|
|
87
|
+
time?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @example
|
|
90
|
+
* 2
|
|
91
|
+
*/
|
|
92
|
+
warningActivityCount?: number;
|
|
93
|
+
static names(): { [key: string]: string } {
|
|
94
|
+
return {
|
|
95
|
+
failedActivityCount: 'FailedActivityCount',
|
|
96
|
+
successActivityCount: 'SuccessActivityCount',
|
|
97
|
+
time: 'Time',
|
|
98
|
+
warningActivityCount: 'WarningActivityCount',
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
static types(): { [key: string]: any } {
|
|
103
|
+
return {
|
|
104
|
+
failedActivityCount: 'number',
|
|
105
|
+
successActivityCount: 'number',
|
|
106
|
+
time: 'string',
|
|
107
|
+
warningActivityCount: 'number',
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
validate() {
|
|
112
|
+
super.validate();
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
constructor(map?: { [key: string]: any }) {
|
|
116
|
+
super(map);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export class DescribeScalingActivityStatisticsResponseBodyScalingActivityStatusStatistics extends $dara.Model {
|
|
121
|
+
statistic?: DescribeScalingActivityStatisticsResponseBodyScalingActivityStatusStatisticsStatistic[];
|
|
122
|
+
static names(): { [key: string]: string } {
|
|
123
|
+
return {
|
|
124
|
+
statistic: 'Statistic',
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
static types(): { [key: string]: any } {
|
|
129
|
+
return {
|
|
130
|
+
statistic: { 'type': 'array', 'itemType': DescribeScalingActivityStatisticsResponseBodyScalingActivityStatusStatisticsStatistic },
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
validate() {
|
|
135
|
+
if(Array.isArray(this.statistic)) {
|
|
136
|
+
$dara.Model.validateArray(this.statistic);
|
|
137
|
+
}
|
|
138
|
+
super.validate();
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
constructor(map?: { [key: string]: any }) {
|
|
142
|
+
super(map);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export class DescribeScalingActivityStatisticsResponseBody extends $dara.Model {
|
|
147
|
+
/**
|
|
148
|
+
* @example
|
|
149
|
+
* A8F44B4D-BAB4-5176-8705-5984xxxxx
|
|
150
|
+
*/
|
|
151
|
+
requestId?: string;
|
|
152
|
+
scalingActivityErrorCodeStatistics?: DescribeScalingActivityStatisticsResponseBodyScalingActivityErrorCodeStatistics;
|
|
153
|
+
scalingActivityStatusStatistics?: DescribeScalingActivityStatisticsResponseBodyScalingActivityStatusStatistics;
|
|
154
|
+
static names(): { [key: string]: string } {
|
|
155
|
+
return {
|
|
156
|
+
requestId: 'RequestId',
|
|
157
|
+
scalingActivityErrorCodeStatistics: 'ScalingActivityErrorCodeStatistics',
|
|
158
|
+
scalingActivityStatusStatistics: 'ScalingActivityStatusStatistics',
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
static types(): { [key: string]: any } {
|
|
163
|
+
return {
|
|
164
|
+
requestId: 'string',
|
|
165
|
+
scalingActivityErrorCodeStatistics: DescribeScalingActivityStatisticsResponseBodyScalingActivityErrorCodeStatistics,
|
|
166
|
+
scalingActivityStatusStatistics: DescribeScalingActivityStatisticsResponseBodyScalingActivityStatusStatistics,
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
validate() {
|
|
171
|
+
if(this.scalingActivityErrorCodeStatistics && typeof (this.scalingActivityErrorCodeStatistics as any).validate === 'function') {
|
|
172
|
+
(this.scalingActivityErrorCodeStatistics as any).validate();
|
|
173
|
+
}
|
|
174
|
+
if(this.scalingActivityStatusStatistics && typeof (this.scalingActivityStatusStatistics as any).validate === 'function') {
|
|
175
|
+
(this.scalingActivityStatusStatistics as any).validate();
|
|
176
|
+
}
|
|
177
|
+
super.validate();
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
constructor(map?: { [key: string]: any }) {
|
|
181
|
+
super(map);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
@@ -2119,6 +2119,15 @@ export class ModifyEciScalingConfigurationRequest extends $dara.Model {
|
|
|
2119
2119
|
* The endpoints of Network Time Protocol (NTP) servers.
|
|
2120
2120
|
*/
|
|
2121
2121
|
ntpServers?: string[];
|
|
2122
|
+
/**
|
|
2123
|
+
* @remarks
|
|
2124
|
+
* Specifies whether to override existing data. Valid Values:
|
|
2125
|
+
*
|
|
2126
|
+
* true false
|
|
2127
|
+
*
|
|
2128
|
+
* @example
|
|
2129
|
+
* false
|
|
2130
|
+
*/
|
|
2122
2131
|
override?: boolean;
|
|
2123
2132
|
ownerId?: number;
|
|
2124
2133
|
/**
|
|
@@ -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 QueryHistoricalMetricRequest 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-bp15oubotmrq11xe****
|
|
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 { QueryHistoricalMetricResponseBody } from "./QueryHistoricalMetricResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryHistoricalMetricResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: QueryHistoricalMetricResponseBody;
|
|
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: QueryHistoricalMetricResponseBody,
|
|
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 QueryHistoricalMetricResponseBodyHistoricalMetricsHistoricalMetric 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 QueryHistoricalMetricResponseBodyHistoricalMetrics extends $dara.Model {
|
|
40
|
+
historicalMetric?: QueryHistoricalMetricResponseBodyHistoricalMetricsHistoricalMetric[];
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
historicalMetric: 'HistoricalMetric',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
historicalMetric: { 'type': 'array', 'itemType': QueryHistoricalMetricResponseBodyHistoricalMetricsHistoricalMetric },
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
validate() {
|
|
54
|
+
if(Array.isArray(this.historicalMetric)) {
|
|
55
|
+
$dara.Model.validateArray(this.historicalMetric);
|
|
56
|
+
}
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class QueryHistoricalMetricResponseBody extends $dara.Model {
|
|
66
|
+
historicalMetrics?: QueryHistoricalMetricResponseBodyHistoricalMetrics;
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
70
|
+
*/
|
|
71
|
+
requestId?: string;
|
|
72
|
+
static names(): { [key: string]: string } {
|
|
73
|
+
return {
|
|
74
|
+
historicalMetrics: 'HistoricalMetrics',
|
|
75
|
+
requestId: 'RequestId',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
static types(): { [key: string]: any } {
|
|
80
|
+
return {
|
|
81
|
+
historicalMetrics: QueryHistoricalMetricResponseBodyHistoricalMetrics,
|
|
82
|
+
requestId: 'string',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
validate() {
|
|
87
|
+
if(this.historicalMetrics && typeof (this.historicalMetrics as any).validate === 'function') {
|
|
88
|
+
(this.historicalMetrics as any).validate();
|
|
89
|
+
}
|
|
90
|
+
super.validate();
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
constructor(map?: { [key: string]: any }) {
|
|
94
|
+
super(map);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|