@alicloud/eas20210701 1.1.7 → 2.0.2
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 +400 -19
- package/dist/client.js +806 -161
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +1036 -216
package/dist/client.d.ts
CHANGED
|
@@ -4,6 +4,25 @@
|
|
|
4
4
|
import * as $Util from '@alicloud/tea-util';
|
|
5
5
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
6
6
|
import * as $tea from '@alicloud/tea-typescript';
|
|
7
|
+
export declare class Group extends $tea.Model {
|
|
8
|
+
accessToken?: string;
|
|
9
|
+
clusterId?: string;
|
|
10
|
+
createTime?: string;
|
|
11
|
+
internetEndpoint?: string;
|
|
12
|
+
intranetEndpoint?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
queueService?: string;
|
|
15
|
+
updateTime?: string;
|
|
16
|
+
static names(): {
|
|
17
|
+
[key: string]: string;
|
|
18
|
+
};
|
|
19
|
+
static types(): {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
constructor(map?: {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
7
26
|
export declare class Instance extends $tea.Model {
|
|
8
27
|
hostIP?: string;
|
|
9
28
|
hostName?: string;
|
|
@@ -57,12 +76,14 @@ export declare class Resource extends $tea.Model {
|
|
|
57
76
|
});
|
|
58
77
|
}
|
|
59
78
|
export declare class ResourceInstance extends $tea.Model {
|
|
79
|
+
arch?: string;
|
|
60
80
|
autoRenewal?: boolean;
|
|
61
81
|
chargeType?: string;
|
|
62
82
|
createTime?: string;
|
|
63
83
|
expiredTime?: string;
|
|
64
84
|
instanceCpuCount?: number;
|
|
65
85
|
instanceGpuCount?: number;
|
|
86
|
+
instanceGpuMemory?: string;
|
|
66
87
|
instanceId?: string;
|
|
67
88
|
instanceIp?: string;
|
|
68
89
|
instanceMemory?: string;
|
|
@@ -72,6 +93,8 @@ export declare class ResourceInstance extends $tea.Model {
|
|
|
72
93
|
instanceUsedCpu?: number;
|
|
73
94
|
instanceUsedGpu?: number;
|
|
74
95
|
instanceUsedMemory?: string;
|
|
96
|
+
region?: string;
|
|
97
|
+
zone?: string;
|
|
75
98
|
static names(): {
|
|
76
99
|
[key: string]: string;
|
|
77
100
|
};
|
|
@@ -127,7 +150,10 @@ export declare class Service extends $tea.Model {
|
|
|
127
150
|
requestId?: string;
|
|
128
151
|
resource?: string;
|
|
129
152
|
resourceAlias?: string;
|
|
153
|
+
role?: string;
|
|
154
|
+
roleAttrs?: string;
|
|
130
155
|
runningInstance?: number;
|
|
156
|
+
safetyLock?: string;
|
|
131
157
|
serviceConfig?: string;
|
|
132
158
|
serviceGroup?: string;
|
|
133
159
|
serviceId?: string;
|
|
@@ -162,9 +188,9 @@ export declare class CreateBenchmarkTaskRequest extends $tea.Model {
|
|
|
162
188
|
}
|
|
163
189
|
export declare class CreateBenchmarkTaskResponseBody extends $tea.Model {
|
|
164
190
|
message?: string;
|
|
165
|
-
name?: string;
|
|
166
191
|
region?: string;
|
|
167
192
|
requestId?: string;
|
|
193
|
+
taskName?: string;
|
|
168
194
|
static names(): {
|
|
169
195
|
[key: string]: string;
|
|
170
196
|
};
|
|
@@ -374,7 +400,7 @@ export declare class CreateServiceResponse extends $tea.Model {
|
|
|
374
400
|
export declare class CreateServiceAutoScalerRequest extends $tea.Model {
|
|
375
401
|
max?: number;
|
|
376
402
|
min?: number;
|
|
377
|
-
|
|
403
|
+
scaleStrategies?: CreateServiceAutoScalerRequestScaleStrategies[];
|
|
378
404
|
static names(): {
|
|
379
405
|
[key: string]: string;
|
|
380
406
|
};
|
|
@@ -817,6 +843,7 @@ export declare class DescribeBenchmarkTaskResponseBody extends $tea.Model {
|
|
|
817
843
|
availableAgent?: number;
|
|
818
844
|
callerUid?: string;
|
|
819
845
|
desiredAgent?: number;
|
|
846
|
+
endpoint?: string;
|
|
820
847
|
message?: string;
|
|
821
848
|
parentUid?: string;
|
|
822
849
|
reason?: string;
|
|
@@ -852,7 +879,20 @@ export declare class DescribeBenchmarkTaskResponse extends $tea.Model {
|
|
|
852
879
|
[key: string]: any;
|
|
853
880
|
});
|
|
854
881
|
}
|
|
882
|
+
export declare class DescribeBenchmarkTaskReportRequest extends $tea.Model {
|
|
883
|
+
reportType?: string;
|
|
884
|
+
static names(): {
|
|
885
|
+
[key: string]: string;
|
|
886
|
+
};
|
|
887
|
+
static types(): {
|
|
888
|
+
[key: string]: any;
|
|
889
|
+
};
|
|
890
|
+
constructor(map?: {
|
|
891
|
+
[key: string]: any;
|
|
892
|
+
});
|
|
893
|
+
}
|
|
855
894
|
export declare class DescribeBenchmarkTaskReportResponseBody extends $tea.Model {
|
|
895
|
+
data?: any;
|
|
856
896
|
reportUrl?: string;
|
|
857
897
|
requestId?: string;
|
|
858
898
|
static names(): {
|
|
@@ -881,6 +921,22 @@ export declare class DescribeBenchmarkTaskReportResponse extends $tea.Model {
|
|
|
881
921
|
[key: string]: any;
|
|
882
922
|
});
|
|
883
923
|
}
|
|
924
|
+
export declare class DescribeGroupResponse extends $tea.Model {
|
|
925
|
+
headers: {
|
|
926
|
+
[key: string]: string;
|
|
927
|
+
};
|
|
928
|
+
statusCode: number;
|
|
929
|
+
body: Group;
|
|
930
|
+
static names(): {
|
|
931
|
+
[key: string]: string;
|
|
932
|
+
};
|
|
933
|
+
static types(): {
|
|
934
|
+
[key: string]: any;
|
|
935
|
+
};
|
|
936
|
+
constructor(map?: {
|
|
937
|
+
[key: string]: any;
|
|
938
|
+
});
|
|
939
|
+
}
|
|
884
940
|
export declare class DescribeResourceResponseBody extends $tea.Model {
|
|
885
941
|
clusterId?: string;
|
|
886
942
|
cpuCount?: number;
|
|
@@ -1008,16 +1064,12 @@ export declare class DescribeServiceAutoScalerResponseBody extends $tea.Model {
|
|
|
1008
1064
|
behavior?: {
|
|
1009
1065
|
[key: string]: any;
|
|
1010
1066
|
};
|
|
1011
|
-
|
|
1012
|
-
[key: string]: any;
|
|
1013
|
-
};
|
|
1067
|
+
currentMetrics?: DescribeServiceAutoScalerResponseBodyCurrentMetrics[];
|
|
1014
1068
|
maxReplica?: number;
|
|
1015
1069
|
minReplica?: number;
|
|
1016
1070
|
requestId?: string;
|
|
1071
|
+
scaleStrategies?: DescribeServiceAutoScalerResponseBodyScaleStrategies[];
|
|
1017
1072
|
serviceName?: string;
|
|
1018
|
-
strategies?: {
|
|
1019
|
-
[key: string]: any;
|
|
1020
|
-
};
|
|
1021
1073
|
static names(): {
|
|
1022
1074
|
[key: string]: string;
|
|
1023
1075
|
};
|
|
@@ -1075,6 +1127,53 @@ export declare class DescribeServiceCronScalerResponse extends $tea.Model {
|
|
|
1075
1127
|
[key: string]: any;
|
|
1076
1128
|
});
|
|
1077
1129
|
}
|
|
1130
|
+
export declare class DescribeServiceEventRequest extends $tea.Model {
|
|
1131
|
+
endTime?: string;
|
|
1132
|
+
pageNum?: string;
|
|
1133
|
+
pageSize?: string;
|
|
1134
|
+
startTime?: string;
|
|
1135
|
+
static names(): {
|
|
1136
|
+
[key: string]: string;
|
|
1137
|
+
};
|
|
1138
|
+
static types(): {
|
|
1139
|
+
[key: string]: any;
|
|
1140
|
+
};
|
|
1141
|
+
constructor(map?: {
|
|
1142
|
+
[key: string]: any;
|
|
1143
|
+
});
|
|
1144
|
+
}
|
|
1145
|
+
export declare class DescribeServiceEventResponseBody extends $tea.Model {
|
|
1146
|
+
events?: DescribeServiceEventResponseBodyEvents[];
|
|
1147
|
+
pageNum?: number;
|
|
1148
|
+
requestId?: string;
|
|
1149
|
+
totalCount?: number;
|
|
1150
|
+
totalPageNum?: number;
|
|
1151
|
+
static names(): {
|
|
1152
|
+
[key: string]: string;
|
|
1153
|
+
};
|
|
1154
|
+
static types(): {
|
|
1155
|
+
[key: string]: any;
|
|
1156
|
+
};
|
|
1157
|
+
constructor(map?: {
|
|
1158
|
+
[key: string]: any;
|
|
1159
|
+
});
|
|
1160
|
+
}
|
|
1161
|
+
export declare class DescribeServiceEventResponse extends $tea.Model {
|
|
1162
|
+
headers: {
|
|
1163
|
+
[key: string]: string;
|
|
1164
|
+
};
|
|
1165
|
+
statusCode: number;
|
|
1166
|
+
body: DescribeServiceEventResponseBody;
|
|
1167
|
+
static names(): {
|
|
1168
|
+
[key: string]: string;
|
|
1169
|
+
};
|
|
1170
|
+
static types(): {
|
|
1171
|
+
[key: string]: any;
|
|
1172
|
+
};
|
|
1173
|
+
constructor(map?: {
|
|
1174
|
+
[key: string]: any;
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1078
1177
|
export declare class DescribeServiceLogRequest extends $tea.Model {
|
|
1079
1178
|
endTime?: string;
|
|
1080
1179
|
ip?: string;
|
|
@@ -1155,9 +1254,27 @@ export declare class DescribeServiceMirrorResponse extends $tea.Model {
|
|
|
1155
1254
|
[key: string]: any;
|
|
1156
1255
|
});
|
|
1157
1256
|
}
|
|
1257
|
+
export declare class ListBenchmarkTaskRequest extends $tea.Model {
|
|
1258
|
+
filter?: string;
|
|
1259
|
+
pageNumber?: string;
|
|
1260
|
+
pageSize?: string;
|
|
1261
|
+
serviceName?: string;
|
|
1262
|
+
static names(): {
|
|
1263
|
+
[key: string]: string;
|
|
1264
|
+
};
|
|
1265
|
+
static types(): {
|
|
1266
|
+
[key: string]: any;
|
|
1267
|
+
};
|
|
1268
|
+
constructor(map?: {
|
|
1269
|
+
[key: string]: any;
|
|
1270
|
+
});
|
|
1271
|
+
}
|
|
1158
1272
|
export declare class ListBenchmarkTaskResponseBody extends $tea.Model {
|
|
1273
|
+
pageNumber?: number;
|
|
1274
|
+
pageSize?: number;
|
|
1159
1275
|
requestId?: string;
|
|
1160
1276
|
tasks?: ListBenchmarkTaskResponseBodyTasks[];
|
|
1277
|
+
totalCount?: number;
|
|
1161
1278
|
static names(): {
|
|
1162
1279
|
[key: string]: string;
|
|
1163
1280
|
};
|
|
@@ -1184,6 +1301,52 @@ export declare class ListBenchmarkTaskResponse extends $tea.Model {
|
|
|
1184
1301
|
[key: string]: any;
|
|
1185
1302
|
});
|
|
1186
1303
|
}
|
|
1304
|
+
export declare class ListGroupsRequest extends $tea.Model {
|
|
1305
|
+
filter?: string;
|
|
1306
|
+
pageNumber?: string;
|
|
1307
|
+
pageSize?: string;
|
|
1308
|
+
static names(): {
|
|
1309
|
+
[key: string]: string;
|
|
1310
|
+
};
|
|
1311
|
+
static types(): {
|
|
1312
|
+
[key: string]: any;
|
|
1313
|
+
};
|
|
1314
|
+
constructor(map?: {
|
|
1315
|
+
[key: string]: any;
|
|
1316
|
+
});
|
|
1317
|
+
}
|
|
1318
|
+
export declare class ListGroupsResponseBody extends $tea.Model {
|
|
1319
|
+
groups?: Group[];
|
|
1320
|
+
pageNumber?: number;
|
|
1321
|
+
pageSize?: number;
|
|
1322
|
+
requestId?: string;
|
|
1323
|
+
totalCount?: number;
|
|
1324
|
+
static names(): {
|
|
1325
|
+
[key: string]: string;
|
|
1326
|
+
};
|
|
1327
|
+
static types(): {
|
|
1328
|
+
[key: string]: any;
|
|
1329
|
+
};
|
|
1330
|
+
constructor(map?: {
|
|
1331
|
+
[key: string]: any;
|
|
1332
|
+
});
|
|
1333
|
+
}
|
|
1334
|
+
export declare class ListGroupsResponse extends $tea.Model {
|
|
1335
|
+
headers: {
|
|
1336
|
+
[key: string]: string;
|
|
1337
|
+
};
|
|
1338
|
+
statusCode: number;
|
|
1339
|
+
body: ListGroupsResponseBody;
|
|
1340
|
+
static names(): {
|
|
1341
|
+
[key: string]: string;
|
|
1342
|
+
};
|
|
1343
|
+
static types(): {
|
|
1344
|
+
[key: string]: any;
|
|
1345
|
+
};
|
|
1346
|
+
constructor(map?: {
|
|
1347
|
+
[key: string]: any;
|
|
1348
|
+
});
|
|
1349
|
+
}
|
|
1187
1350
|
export declare class ListResourceInstanceWorkerRequest extends $tea.Model {
|
|
1188
1351
|
pageNumber?: number;
|
|
1189
1352
|
pageSize?: number;
|
|
@@ -1231,6 +1394,8 @@ export declare class ListResourceInstanceWorkerResponse extends $tea.Model {
|
|
|
1231
1394
|
}
|
|
1232
1395
|
export declare class ListResourceInstancesRequest extends $tea.Model {
|
|
1233
1396
|
chargeType?: string;
|
|
1397
|
+
instanceId?: string;
|
|
1398
|
+
instanceName?: string;
|
|
1234
1399
|
pageNumber?: number;
|
|
1235
1400
|
pageSize?: number;
|
|
1236
1401
|
static names(): {
|
|
@@ -1323,6 +1488,8 @@ export declare class ListResourceServicesResponse extends $tea.Model {
|
|
|
1323
1488
|
export declare class ListResourcesRequest extends $tea.Model {
|
|
1324
1489
|
pageNumber?: number;
|
|
1325
1490
|
pageSize?: number;
|
|
1491
|
+
resourceId?: string;
|
|
1492
|
+
resourceName?: string;
|
|
1326
1493
|
static names(): {
|
|
1327
1494
|
[key: string]: string;
|
|
1328
1495
|
};
|
|
@@ -1410,8 +1577,54 @@ export declare class ListServiceInstancesResponse extends $tea.Model {
|
|
|
1410
1577
|
[key: string]: any;
|
|
1411
1578
|
});
|
|
1412
1579
|
}
|
|
1580
|
+
export declare class ListServiceVersionsRequest extends $tea.Model {
|
|
1581
|
+
pageNumber?: number;
|
|
1582
|
+
pageSize?: number;
|
|
1583
|
+
static names(): {
|
|
1584
|
+
[key: string]: string;
|
|
1585
|
+
};
|
|
1586
|
+
static types(): {
|
|
1587
|
+
[key: string]: any;
|
|
1588
|
+
};
|
|
1589
|
+
constructor(map?: {
|
|
1590
|
+
[key: string]: any;
|
|
1591
|
+
});
|
|
1592
|
+
}
|
|
1593
|
+
export declare class ListServiceVersionsResponseBody extends $tea.Model {
|
|
1594
|
+
pageNumber?: number;
|
|
1595
|
+
pageSize?: number;
|
|
1596
|
+
requestId?: string;
|
|
1597
|
+
totalCount?: number;
|
|
1598
|
+
versions?: ListServiceVersionsResponseBodyVersions[];
|
|
1599
|
+
static names(): {
|
|
1600
|
+
[key: string]: string;
|
|
1601
|
+
};
|
|
1602
|
+
static types(): {
|
|
1603
|
+
[key: string]: any;
|
|
1604
|
+
};
|
|
1605
|
+
constructor(map?: {
|
|
1606
|
+
[key: string]: any;
|
|
1607
|
+
});
|
|
1608
|
+
}
|
|
1609
|
+
export declare class ListServiceVersionsResponse extends $tea.Model {
|
|
1610
|
+
headers: {
|
|
1611
|
+
[key: string]: string;
|
|
1612
|
+
};
|
|
1613
|
+
statusCode: number;
|
|
1614
|
+
body: ListServiceVersionsResponseBody;
|
|
1615
|
+
static names(): {
|
|
1616
|
+
[key: string]: string;
|
|
1617
|
+
};
|
|
1618
|
+
static types(): {
|
|
1619
|
+
[key: string]: any;
|
|
1620
|
+
};
|
|
1621
|
+
constructor(map?: {
|
|
1622
|
+
[key: string]: any;
|
|
1623
|
+
});
|
|
1624
|
+
}
|
|
1413
1625
|
export declare class ListServicesRequest extends $tea.Model {
|
|
1414
1626
|
filter?: string;
|
|
1627
|
+
groupName?: string;
|
|
1415
1628
|
order?: string;
|
|
1416
1629
|
pageNumber?: number;
|
|
1417
1630
|
pageSize?: number;
|
|
@@ -1743,6 +1956,48 @@ export declare class UpdateResourceDLinkResponse extends $tea.Model {
|
|
|
1743
1956
|
[key: string]: any;
|
|
1744
1957
|
});
|
|
1745
1958
|
}
|
|
1959
|
+
export declare class UpdateResourceInstanceRequest extends $tea.Model {
|
|
1960
|
+
action?: string;
|
|
1961
|
+
static names(): {
|
|
1962
|
+
[key: string]: string;
|
|
1963
|
+
};
|
|
1964
|
+
static types(): {
|
|
1965
|
+
[key: string]: any;
|
|
1966
|
+
};
|
|
1967
|
+
constructor(map?: {
|
|
1968
|
+
[key: string]: any;
|
|
1969
|
+
});
|
|
1970
|
+
}
|
|
1971
|
+
export declare class UpdateResourceInstanceResponseBody extends $tea.Model {
|
|
1972
|
+
instanceId?: string;
|
|
1973
|
+
requestId?: string;
|
|
1974
|
+
resourceId?: string;
|
|
1975
|
+
static names(): {
|
|
1976
|
+
[key: string]: string;
|
|
1977
|
+
};
|
|
1978
|
+
static types(): {
|
|
1979
|
+
[key: string]: any;
|
|
1980
|
+
};
|
|
1981
|
+
constructor(map?: {
|
|
1982
|
+
[key: string]: any;
|
|
1983
|
+
});
|
|
1984
|
+
}
|
|
1985
|
+
export declare class UpdateResourceInstanceResponse extends $tea.Model {
|
|
1986
|
+
headers: {
|
|
1987
|
+
[key: string]: string;
|
|
1988
|
+
};
|
|
1989
|
+
statusCode: number;
|
|
1990
|
+
body: UpdateResourceInstanceResponseBody;
|
|
1991
|
+
static names(): {
|
|
1992
|
+
[key: string]: string;
|
|
1993
|
+
};
|
|
1994
|
+
static types(): {
|
|
1995
|
+
[key: string]: any;
|
|
1996
|
+
};
|
|
1997
|
+
constructor(map?: {
|
|
1998
|
+
[key: string]: any;
|
|
1999
|
+
});
|
|
2000
|
+
}
|
|
1746
2001
|
export declare class UpdateServiceRequest extends $tea.Model {
|
|
1747
2002
|
body?: string;
|
|
1748
2003
|
static names(): {
|
|
@@ -1787,7 +2042,7 @@ export declare class UpdateServiceResponse extends $tea.Model {
|
|
|
1787
2042
|
export declare class UpdateServiceAutoScalerRequest extends $tea.Model {
|
|
1788
2043
|
max?: number;
|
|
1789
2044
|
min?: number;
|
|
1790
|
-
|
|
2045
|
+
scaleStrategies?: UpdateServiceAutoScalerRequestScaleStrategies[];
|
|
1791
2046
|
static names(): {
|
|
1792
2047
|
[key: string]: string;
|
|
1793
2048
|
};
|
|
@@ -1911,6 +2166,47 @@ export declare class UpdateServiceMirrorResponse extends $tea.Model {
|
|
|
1911
2166
|
[key: string]: any;
|
|
1912
2167
|
});
|
|
1913
2168
|
}
|
|
2169
|
+
export declare class UpdateServiceSafetyLockRequest extends $tea.Model {
|
|
2170
|
+
lock?: string;
|
|
2171
|
+
static names(): {
|
|
2172
|
+
[key: string]: string;
|
|
2173
|
+
};
|
|
2174
|
+
static types(): {
|
|
2175
|
+
[key: string]: any;
|
|
2176
|
+
};
|
|
2177
|
+
constructor(map?: {
|
|
2178
|
+
[key: string]: any;
|
|
2179
|
+
});
|
|
2180
|
+
}
|
|
2181
|
+
export declare class UpdateServiceSafetyLockResponseBody extends $tea.Model {
|
|
2182
|
+
message?: string;
|
|
2183
|
+
requestId?: string;
|
|
2184
|
+
static names(): {
|
|
2185
|
+
[key: string]: string;
|
|
2186
|
+
};
|
|
2187
|
+
static types(): {
|
|
2188
|
+
[key: string]: any;
|
|
2189
|
+
};
|
|
2190
|
+
constructor(map?: {
|
|
2191
|
+
[key: string]: any;
|
|
2192
|
+
});
|
|
2193
|
+
}
|
|
2194
|
+
export declare class UpdateServiceSafetyLockResponse extends $tea.Model {
|
|
2195
|
+
headers: {
|
|
2196
|
+
[key: string]: string;
|
|
2197
|
+
};
|
|
2198
|
+
statusCode: number;
|
|
2199
|
+
body: UpdateServiceSafetyLockResponseBody;
|
|
2200
|
+
static names(): {
|
|
2201
|
+
[key: string]: string;
|
|
2202
|
+
};
|
|
2203
|
+
static types(): {
|
|
2204
|
+
[key: string]: any;
|
|
2205
|
+
};
|
|
2206
|
+
constructor(map?: {
|
|
2207
|
+
[key: string]: any;
|
|
2208
|
+
});
|
|
2209
|
+
}
|
|
1914
2210
|
export declare class UpdateServiceVersionRequest extends $tea.Model {
|
|
1915
2211
|
version?: number;
|
|
1916
2212
|
static names(): {
|
|
@@ -1952,9 +2248,10 @@ export declare class UpdateServiceVersionResponse extends $tea.Model {
|
|
|
1952
2248
|
[key: string]: any;
|
|
1953
2249
|
});
|
|
1954
2250
|
}
|
|
1955
|
-
export declare class
|
|
1956
|
-
|
|
1957
|
-
|
|
2251
|
+
export declare class CreateServiceAutoScalerRequestScaleStrategies extends $tea.Model {
|
|
2252
|
+
metricName?: string;
|
|
2253
|
+
service?: string;
|
|
2254
|
+
threshold?: number;
|
|
1958
2255
|
static names(): {
|
|
1959
2256
|
[key: string]: string;
|
|
1960
2257
|
};
|
|
@@ -1979,6 +2276,34 @@ export declare class CreateServiceCronScalerRequestScaleJobs extends $tea.Model
|
|
|
1979
2276
|
[key: string]: any;
|
|
1980
2277
|
});
|
|
1981
2278
|
}
|
|
2279
|
+
export declare class DescribeServiceAutoScalerResponseBodyCurrentMetrics extends $tea.Model {
|
|
2280
|
+
metricName?: string;
|
|
2281
|
+
service?: string;
|
|
2282
|
+
value?: number;
|
|
2283
|
+
static names(): {
|
|
2284
|
+
[key: string]: string;
|
|
2285
|
+
};
|
|
2286
|
+
static types(): {
|
|
2287
|
+
[key: string]: any;
|
|
2288
|
+
};
|
|
2289
|
+
constructor(map?: {
|
|
2290
|
+
[key: string]: any;
|
|
2291
|
+
});
|
|
2292
|
+
}
|
|
2293
|
+
export declare class DescribeServiceAutoScalerResponseBodyScaleStrategies extends $tea.Model {
|
|
2294
|
+
metricName?: string;
|
|
2295
|
+
service?: string;
|
|
2296
|
+
threshold?: number;
|
|
2297
|
+
static names(): {
|
|
2298
|
+
[key: string]: string;
|
|
2299
|
+
};
|
|
2300
|
+
static types(): {
|
|
2301
|
+
[key: string]: any;
|
|
2302
|
+
};
|
|
2303
|
+
constructor(map?: {
|
|
2304
|
+
[key: string]: any;
|
|
2305
|
+
});
|
|
2306
|
+
}
|
|
1982
2307
|
export declare class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea.Model {
|
|
1983
2308
|
createTime?: string;
|
|
1984
2309
|
lastProbeTime?: string;
|
|
@@ -1997,6 +2322,21 @@ export declare class DescribeServiceCronScalerResponseBodyScaleJobs extends $tea
|
|
|
1997
2322
|
[key: string]: any;
|
|
1998
2323
|
});
|
|
1999
2324
|
}
|
|
2325
|
+
export declare class DescribeServiceEventResponseBodyEvents extends $tea.Model {
|
|
2326
|
+
message?: string;
|
|
2327
|
+
reason?: string;
|
|
2328
|
+
time?: string;
|
|
2329
|
+
type?: string;
|
|
2330
|
+
static names(): {
|
|
2331
|
+
[key: string]: string;
|
|
2332
|
+
};
|
|
2333
|
+
static types(): {
|
|
2334
|
+
[key: string]: any;
|
|
2335
|
+
};
|
|
2336
|
+
constructor(map?: {
|
|
2337
|
+
[key: string]: any;
|
|
2338
|
+
});
|
|
2339
|
+
}
|
|
2000
2340
|
export declare class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
|
|
2001
2341
|
availableAgent?: number;
|
|
2002
2342
|
createTime?: string;
|
|
@@ -2017,9 +2357,26 @@ export declare class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
|
|
|
2017
2357
|
[key: string]: any;
|
|
2018
2358
|
});
|
|
2019
2359
|
}
|
|
2020
|
-
export declare class
|
|
2021
|
-
|
|
2022
|
-
|
|
2360
|
+
export declare class ListServiceVersionsResponseBodyVersions extends $tea.Model {
|
|
2361
|
+
buildTime?: string;
|
|
2362
|
+
imageAvailable?: string;
|
|
2363
|
+
imageId?: number;
|
|
2364
|
+
message?: string;
|
|
2365
|
+
serviceRunnable?: string;
|
|
2366
|
+
static names(): {
|
|
2367
|
+
[key: string]: string;
|
|
2368
|
+
};
|
|
2369
|
+
static types(): {
|
|
2370
|
+
[key: string]: any;
|
|
2371
|
+
};
|
|
2372
|
+
constructor(map?: {
|
|
2373
|
+
[key: string]: any;
|
|
2374
|
+
});
|
|
2375
|
+
}
|
|
2376
|
+
export declare class UpdateServiceAutoScalerRequestScaleStrategies extends $tea.Model {
|
|
2377
|
+
metricName?: string;
|
|
2378
|
+
service?: string;
|
|
2379
|
+
threshold?: number;
|
|
2023
2380
|
static names(): {
|
|
2024
2381
|
[key: string]: string;
|
|
2025
2382
|
};
|
|
@@ -2125,10 +2482,14 @@ export default class Client extends OpenApi {
|
|
|
2125
2482
|
describeBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {
|
|
2126
2483
|
[key: string]: string;
|
|
2127
2484
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskResponse>;
|
|
2128
|
-
describeBenchmarkTaskReport(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskReportResponse>;
|
|
2129
|
-
describeBenchmarkTaskReportWithOptions(ClusterId: string, TaskName: string, headers: {
|
|
2485
|
+
describeBenchmarkTaskReport(ClusterId: string, TaskName: string, request: DescribeBenchmarkTaskReportRequest): Promise<DescribeBenchmarkTaskReportResponse>;
|
|
2486
|
+
describeBenchmarkTaskReportWithOptions(ClusterId: string, TaskName: string, request: DescribeBenchmarkTaskReportRequest, headers: {
|
|
2130
2487
|
[key: string]: string;
|
|
2131
2488
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskReportResponse>;
|
|
2489
|
+
describeGroup(ClusterId: string, GroupName: string): Promise<DescribeGroupResponse>;
|
|
2490
|
+
describeGroupWithOptions(ClusterId: string, GroupName: string, headers: {
|
|
2491
|
+
[key: string]: string;
|
|
2492
|
+
}, runtime: $Util.RuntimeOptions): Promise<DescribeGroupResponse>;
|
|
2132
2493
|
describeResource(ClusterId: string, ResourceId: string): Promise<DescribeResourceResponse>;
|
|
2133
2494
|
describeResourceWithOptions(ClusterId: string, ResourceId: string, headers: {
|
|
2134
2495
|
[key: string]: string;
|
|
@@ -2153,6 +2514,10 @@ export default class Client extends OpenApi {
|
|
|
2153
2514
|
describeServiceCronScalerWithOptions(ClusterId: string, ServiceName: string, headers: {
|
|
2154
2515
|
[key: string]: string;
|
|
2155
2516
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceCronScalerResponse>;
|
|
2517
|
+
describeServiceEvent(ClusterId: string, ServiceName: string, request: DescribeServiceEventRequest): Promise<DescribeServiceEventResponse>;
|
|
2518
|
+
describeServiceEventWithOptions(ClusterId: string, ServiceName: string, request: DescribeServiceEventRequest, headers: {
|
|
2519
|
+
[key: string]: string;
|
|
2520
|
+
}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceEventResponse>;
|
|
2156
2521
|
describeServiceLog(ClusterId: string, ServiceName: string, request: DescribeServiceLogRequest): Promise<DescribeServiceLogResponse>;
|
|
2157
2522
|
describeServiceLogWithOptions(ClusterId: string, ServiceName: string, request: DescribeServiceLogRequest, headers: {
|
|
2158
2523
|
[key: string]: string;
|
|
@@ -2161,10 +2526,14 @@ export default class Client extends OpenApi {
|
|
|
2161
2526
|
describeServiceMirrorWithOptions(ClusterId: string, ServiceName: string, headers: {
|
|
2162
2527
|
[key: string]: string;
|
|
2163
2528
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceMirrorResponse>;
|
|
2164
|
-
listBenchmarkTask(): Promise<ListBenchmarkTaskResponse>;
|
|
2165
|
-
listBenchmarkTaskWithOptions(headers: {
|
|
2529
|
+
listBenchmarkTask(request: ListBenchmarkTaskRequest): Promise<ListBenchmarkTaskResponse>;
|
|
2530
|
+
listBenchmarkTaskWithOptions(request: ListBenchmarkTaskRequest, headers: {
|
|
2166
2531
|
[key: string]: string;
|
|
2167
2532
|
}, runtime: $Util.RuntimeOptions): Promise<ListBenchmarkTaskResponse>;
|
|
2533
|
+
listGroups(request: ListGroupsRequest): Promise<ListGroupsResponse>;
|
|
2534
|
+
listGroupsWithOptions(request: ListGroupsRequest, headers: {
|
|
2535
|
+
[key: string]: string;
|
|
2536
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListGroupsResponse>;
|
|
2168
2537
|
listResourceInstanceWorker(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest): Promise<ListResourceInstanceWorkerResponse>;
|
|
2169
2538
|
listResourceInstanceWorkerWithOptions(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest, headers: {
|
|
2170
2539
|
[key: string]: string;
|
|
@@ -2185,6 +2554,10 @@ export default class Client extends OpenApi {
|
|
|
2185
2554
|
listServiceInstancesWithOptions(ClusterId: string, ServiceName: string, request: ListServiceInstancesRequest, headers: {
|
|
2186
2555
|
[key: string]: string;
|
|
2187
2556
|
}, runtime: $Util.RuntimeOptions): Promise<ListServiceInstancesResponse>;
|
|
2557
|
+
listServiceVersions(ClusterId: string, ServiceName: string, request: ListServiceVersionsRequest): Promise<ListServiceVersionsResponse>;
|
|
2558
|
+
listServiceVersionsWithOptions(ClusterId: string, ServiceName: string, request: ListServiceVersionsRequest, headers: {
|
|
2559
|
+
[key: string]: string;
|
|
2560
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListServiceVersionsResponse>;
|
|
2188
2561
|
listServices(request: ListServicesRequest): Promise<ListServicesResponse>;
|
|
2189
2562
|
listServicesWithOptions(request: ListServicesRequest, headers: {
|
|
2190
2563
|
[key: string]: string;
|
|
@@ -2221,6 +2594,10 @@ export default class Client extends OpenApi {
|
|
|
2221
2594
|
updateResourceDLinkWithOptions(ClusterId: string, ResourceId: string, request: UpdateResourceDLinkRequest, headers: {
|
|
2222
2595
|
[key: string]: string;
|
|
2223
2596
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateResourceDLinkResponse>;
|
|
2597
|
+
updateResourceInstance(ClusterId: string, ResourceId: string, InstanceId: string, request: UpdateResourceInstanceRequest): Promise<UpdateResourceInstanceResponse>;
|
|
2598
|
+
updateResourceInstanceWithOptions(ClusterId: string, ResourceId: string, InstanceId: string, request: UpdateResourceInstanceRequest, headers: {
|
|
2599
|
+
[key: string]: string;
|
|
2600
|
+
}, runtime: $Util.RuntimeOptions): Promise<UpdateResourceInstanceResponse>;
|
|
2224
2601
|
updateService(ClusterId: string, ServiceName: string, request: UpdateServiceRequest): Promise<UpdateServiceResponse>;
|
|
2225
2602
|
updateServiceWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceRequest, headers: {
|
|
2226
2603
|
[key: string]: string;
|
|
@@ -2237,6 +2614,10 @@ export default class Client extends OpenApi {
|
|
|
2237
2614
|
updateServiceMirrorWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceMirrorRequest, headers: {
|
|
2238
2615
|
[key: string]: string;
|
|
2239
2616
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceMirrorResponse>;
|
|
2617
|
+
updateServiceSafetyLock(ClusterId: string, ServiceName: string, request: UpdateServiceSafetyLockRequest): Promise<UpdateServiceSafetyLockResponse>;
|
|
2618
|
+
updateServiceSafetyLockWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceSafetyLockRequest, headers: {
|
|
2619
|
+
[key: string]: string;
|
|
2620
|
+
}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceSafetyLockResponse>;
|
|
2240
2621
|
updateServiceVersion(ClusterId: string, ServiceName: string, request: UpdateServiceVersionRequest): Promise<UpdateServiceVersionResponse>;
|
|
2241
2622
|
updateServiceVersionWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceVersionRequest, headers: {
|
|
2242
2623
|
[key: string]: string;
|