@alicloud/cs20151215 3.2.0 → 3.3.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 +157 -0
- package/dist/client.js +302 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +381 -1
package/dist/client.d.ts
CHANGED
|
@@ -881,6 +881,8 @@ export declare class DeleteClusterShrinkRequest extends $tea.Model {
|
|
|
881
881
|
});
|
|
882
882
|
}
|
|
883
883
|
export declare class DeleteClusterResponseBody extends $tea.Model {
|
|
884
|
+
clusterId?: string;
|
|
885
|
+
requestId?: string;
|
|
884
886
|
taskId?: string;
|
|
885
887
|
static names(): {
|
|
886
888
|
[key: string]: string;
|
|
@@ -1187,6 +1189,60 @@ export declare class DescirbeWorkflowResponse extends $tea.Model {
|
|
|
1187
1189
|
[key: string]: any;
|
|
1188
1190
|
});
|
|
1189
1191
|
}
|
|
1192
|
+
export declare class DescribeAddonRequest extends $tea.Model {
|
|
1193
|
+
clusterId?: string;
|
|
1194
|
+
clusterSpec?: string;
|
|
1195
|
+
clusterType?: string;
|
|
1196
|
+
clusterVersion?: string;
|
|
1197
|
+
profile?: string;
|
|
1198
|
+
regionId?: string;
|
|
1199
|
+
version?: string;
|
|
1200
|
+
static names(): {
|
|
1201
|
+
[key: string]: string;
|
|
1202
|
+
};
|
|
1203
|
+
static types(): {
|
|
1204
|
+
[key: string]: any;
|
|
1205
|
+
};
|
|
1206
|
+
constructor(map?: {
|
|
1207
|
+
[key: string]: any;
|
|
1208
|
+
});
|
|
1209
|
+
}
|
|
1210
|
+
export declare class DescribeAddonResponseBody extends $tea.Model {
|
|
1211
|
+
architecture?: string[];
|
|
1212
|
+
category?: string;
|
|
1213
|
+
configSchema?: string;
|
|
1214
|
+
installByDefault?: boolean;
|
|
1215
|
+
managed?: boolean;
|
|
1216
|
+
name?: string;
|
|
1217
|
+
newerVersions?: DescribeAddonResponseBodyNewerVersions[];
|
|
1218
|
+
supportedActions?: string[];
|
|
1219
|
+
version?: string;
|
|
1220
|
+
static names(): {
|
|
1221
|
+
[key: string]: string;
|
|
1222
|
+
};
|
|
1223
|
+
static types(): {
|
|
1224
|
+
[key: string]: any;
|
|
1225
|
+
};
|
|
1226
|
+
constructor(map?: {
|
|
1227
|
+
[key: string]: any;
|
|
1228
|
+
});
|
|
1229
|
+
}
|
|
1230
|
+
export declare class DescribeAddonResponse extends $tea.Model {
|
|
1231
|
+
headers: {
|
|
1232
|
+
[key: string]: string;
|
|
1233
|
+
};
|
|
1234
|
+
statusCode: number;
|
|
1235
|
+
body: DescribeAddonResponseBody;
|
|
1236
|
+
static names(): {
|
|
1237
|
+
[key: string]: string;
|
|
1238
|
+
};
|
|
1239
|
+
static types(): {
|
|
1240
|
+
[key: string]: any;
|
|
1241
|
+
};
|
|
1242
|
+
constructor(map?: {
|
|
1243
|
+
[key: string]: any;
|
|
1244
|
+
});
|
|
1245
|
+
}
|
|
1190
1246
|
export declare class DescribeAddonsRequest extends $tea.Model {
|
|
1191
1247
|
clusterProfile?: string;
|
|
1192
1248
|
clusterSpec?: string;
|
|
@@ -2992,6 +3048,47 @@ export declare class ListClusterChecksResponse extends $tea.Model {
|
|
|
2992
3048
|
[key: string]: any;
|
|
2993
3049
|
});
|
|
2994
3050
|
}
|
|
3051
|
+
export declare class ListOperationPlansRequest extends $tea.Model {
|
|
3052
|
+
clusterId?: string;
|
|
3053
|
+
type?: string;
|
|
3054
|
+
static names(): {
|
|
3055
|
+
[key: string]: string;
|
|
3056
|
+
};
|
|
3057
|
+
static types(): {
|
|
3058
|
+
[key: string]: any;
|
|
3059
|
+
};
|
|
3060
|
+
constructor(map?: {
|
|
3061
|
+
[key: string]: any;
|
|
3062
|
+
});
|
|
3063
|
+
}
|
|
3064
|
+
export declare class ListOperationPlansResponseBody extends $tea.Model {
|
|
3065
|
+
plans?: ListOperationPlansResponseBodyPlans[];
|
|
3066
|
+
static names(): {
|
|
3067
|
+
[key: string]: string;
|
|
3068
|
+
};
|
|
3069
|
+
static types(): {
|
|
3070
|
+
[key: string]: any;
|
|
3071
|
+
};
|
|
3072
|
+
constructor(map?: {
|
|
3073
|
+
[key: string]: any;
|
|
3074
|
+
});
|
|
3075
|
+
}
|
|
3076
|
+
export declare class ListOperationPlansResponse extends $tea.Model {
|
|
3077
|
+
headers: {
|
|
3078
|
+
[key: string]: string;
|
|
3079
|
+
};
|
|
3080
|
+
statusCode: number;
|
|
3081
|
+
body: ListOperationPlansResponseBody;
|
|
3082
|
+
static names(): {
|
|
3083
|
+
[key: string]: string;
|
|
3084
|
+
};
|
|
3085
|
+
static types(): {
|
|
3086
|
+
[key: string]: any;
|
|
3087
|
+
};
|
|
3088
|
+
constructor(map?: {
|
|
3089
|
+
[key: string]: any;
|
|
3090
|
+
});
|
|
3091
|
+
}
|
|
2995
3092
|
export declare class ListTagResourcesRequest extends $tea.Model {
|
|
2996
3093
|
nextToken?: string;
|
|
2997
3094
|
regionId?: string;
|
|
@@ -3206,6 +3303,7 @@ export declare class ModifyClusterConfigurationResponse extends $tea.Model {
|
|
|
3206
3303
|
}
|
|
3207
3304
|
export declare class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
3208
3305
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
3306
|
+
concurrency?: boolean;
|
|
3209
3307
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
3210
3308
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
3211
3309
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
@@ -3482,6 +3580,7 @@ export declare class RemoveClusterNodesResponse extends $tea.Model {
|
|
|
3482
3580
|
});
|
|
3483
3581
|
}
|
|
3484
3582
|
export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
3583
|
+
concurrency?: boolean;
|
|
3485
3584
|
drainNode?: boolean;
|
|
3486
3585
|
instanceIds?: string[];
|
|
3487
3586
|
nodes?: string[];
|
|
@@ -3497,6 +3596,7 @@ export declare class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
3497
3596
|
});
|
|
3498
3597
|
}
|
|
3499
3598
|
export declare class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
3599
|
+
concurrency?: boolean;
|
|
3500
3600
|
drainNode?: boolean;
|
|
3501
3601
|
instanceIdsShrink?: string;
|
|
3502
3602
|
nodesShrink?: string;
|
|
@@ -4181,11 +4281,26 @@ export declare class UpdateControlPlaneLogRequest extends $tea.Model {
|
|
|
4181
4281
|
[key: string]: any;
|
|
4182
4282
|
});
|
|
4183
4283
|
}
|
|
4284
|
+
export declare class UpdateControlPlaneLogResponseBody extends $tea.Model {
|
|
4285
|
+
clusterId?: string;
|
|
4286
|
+
requestId?: string;
|
|
4287
|
+
taskId?: string;
|
|
4288
|
+
static names(): {
|
|
4289
|
+
[key: string]: string;
|
|
4290
|
+
};
|
|
4291
|
+
static types(): {
|
|
4292
|
+
[key: string]: any;
|
|
4293
|
+
};
|
|
4294
|
+
constructor(map?: {
|
|
4295
|
+
[key: string]: any;
|
|
4296
|
+
});
|
|
4297
|
+
}
|
|
4184
4298
|
export declare class UpdateControlPlaneLogResponse extends $tea.Model {
|
|
4185
4299
|
headers: {
|
|
4186
4300
|
[key: string]: string;
|
|
4187
4301
|
};
|
|
4188
4302
|
statusCode: number;
|
|
4303
|
+
body: UpdateControlPlaneLogResponseBody;
|
|
4189
4304
|
static names(): {
|
|
4190
4305
|
[key: string]: string;
|
|
4191
4306
|
};
|
|
@@ -4894,6 +5009,20 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
4894
5009
|
[key: string]: any;
|
|
4895
5010
|
});
|
|
4896
5011
|
}
|
|
5012
|
+
export declare class DescribeAddonResponseBodyNewerVersions extends $tea.Model {
|
|
5013
|
+
minimumClusterVersion?: string;
|
|
5014
|
+
upgradable?: boolean;
|
|
5015
|
+
version?: string;
|
|
5016
|
+
static names(): {
|
|
5017
|
+
[key: string]: string;
|
|
5018
|
+
};
|
|
5019
|
+
static types(): {
|
|
5020
|
+
[key: string]: any;
|
|
5021
|
+
};
|
|
5022
|
+
constructor(map?: {
|
|
5023
|
+
[key: string]: any;
|
|
5024
|
+
});
|
|
5025
|
+
}
|
|
4897
5026
|
export declare class DescribeAddonsResponseBodyComponentGroupsItems extends $tea.Model {
|
|
4898
5027
|
name?: string;
|
|
4899
5028
|
static names(): {
|
|
@@ -6456,6 +6585,26 @@ export declare class ListClusterChecksResponseBodyChecks extends $tea.Model {
|
|
|
6456
6585
|
[key: string]: any;
|
|
6457
6586
|
});
|
|
6458
6587
|
}
|
|
6588
|
+
export declare class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
6589
|
+
clusterId?: string;
|
|
6590
|
+
created?: string;
|
|
6591
|
+
endTime?: string;
|
|
6592
|
+
planId?: string;
|
|
6593
|
+
startTime?: string;
|
|
6594
|
+
state?: string;
|
|
6595
|
+
targetId?: string;
|
|
6596
|
+
targetType?: string;
|
|
6597
|
+
type?: string;
|
|
6598
|
+
static names(): {
|
|
6599
|
+
[key: string]: string;
|
|
6600
|
+
};
|
|
6601
|
+
static types(): {
|
|
6602
|
+
[key: string]: any;
|
|
6603
|
+
};
|
|
6604
|
+
constructor(map?: {
|
|
6605
|
+
[key: string]: any;
|
|
6606
|
+
});
|
|
6607
|
+
}
|
|
6459
6608
|
export declare class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
|
|
6460
6609
|
resourceId?: string;
|
|
6461
6610
|
resourceType?: string;
|
|
@@ -6953,6 +7102,10 @@ export default class Client extends OpenApi {
|
|
|
6953
7102
|
[key: string]: string;
|
|
6954
7103
|
}, runtime: $Util.RuntimeOptions): Promise<DescirbeWorkflowResponse>;
|
|
6955
7104
|
descirbeWorkflow(workflowName: string): Promise<DescirbeWorkflowResponse>;
|
|
7105
|
+
describeAddonWithOptions(addonName: string, request: DescribeAddonRequest, headers: {
|
|
7106
|
+
[key: string]: string;
|
|
7107
|
+
}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonResponse>;
|
|
7108
|
+
describeAddon(addonName: string, request: DescribeAddonRequest): Promise<DescribeAddonResponse>;
|
|
6956
7109
|
describeAddonsWithOptions(request: DescribeAddonsRequest, headers: {
|
|
6957
7110
|
[key: string]: string;
|
|
6958
7111
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeAddonsResponse>;
|
|
@@ -7275,6 +7428,10 @@ export default class Client extends OpenApi {
|
|
|
7275
7428
|
[key: string]: string;
|
|
7276
7429
|
}, runtime: $Util.RuntimeOptions): Promise<ListClusterChecksResponse>;
|
|
7277
7430
|
listClusterChecks(clusterId: string, request: ListClusterChecksRequest): Promise<ListClusterChecksResponse>;
|
|
7431
|
+
listOperationPlansWithOptions(request: ListOperationPlansRequest, headers: {
|
|
7432
|
+
[key: string]: string;
|
|
7433
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListOperationPlansResponse>;
|
|
7434
|
+
listOperationPlans(request: ListOperationPlansRequest): Promise<ListOperationPlansResponse>;
|
|
7278
7435
|
listTagResourcesWithOptions(tmpReq: ListTagResourcesRequest, headers: {
|
|
7279
7436
|
[key: string]: string;
|
|
7280
7437
|
}, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
|
package/dist/client.js
CHANGED
|
@@ -1293,11 +1293,15 @@ class DeleteClusterResponseBody extends $tea.Model {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
static names() {
|
|
1295
1295
|
return {
|
|
1296
|
+
clusterId: 'cluster_id',
|
|
1297
|
+
requestId: 'request_id',
|
|
1296
1298
|
taskId: 'task_id',
|
|
1297
1299
|
};
|
|
1298
1300
|
}
|
|
1299
1301
|
static types() {
|
|
1300
1302
|
return {
|
|
1303
|
+
clusterId: 'string',
|
|
1304
|
+
requestId: 'string',
|
|
1301
1305
|
taskId: 'string',
|
|
1302
1306
|
};
|
|
1303
1307
|
}
|
|
@@ -1689,6 +1693,86 @@ class DescirbeWorkflowResponse extends $tea.Model {
|
|
|
1689
1693
|
}
|
|
1690
1694
|
}
|
|
1691
1695
|
exports.DescirbeWorkflowResponse = DescirbeWorkflowResponse;
|
|
1696
|
+
class DescribeAddonRequest extends $tea.Model {
|
|
1697
|
+
constructor(map) {
|
|
1698
|
+
super(map);
|
|
1699
|
+
}
|
|
1700
|
+
static names() {
|
|
1701
|
+
return {
|
|
1702
|
+
clusterId: 'cluster_id',
|
|
1703
|
+
clusterSpec: 'cluster_spec',
|
|
1704
|
+
clusterType: 'cluster_type',
|
|
1705
|
+
clusterVersion: 'cluster_version',
|
|
1706
|
+
profile: 'profile',
|
|
1707
|
+
regionId: 'region_id',
|
|
1708
|
+
version: 'version',
|
|
1709
|
+
};
|
|
1710
|
+
}
|
|
1711
|
+
static types() {
|
|
1712
|
+
return {
|
|
1713
|
+
clusterId: 'string',
|
|
1714
|
+
clusterSpec: 'string',
|
|
1715
|
+
clusterType: 'string',
|
|
1716
|
+
clusterVersion: 'string',
|
|
1717
|
+
profile: 'string',
|
|
1718
|
+
regionId: 'string',
|
|
1719
|
+
version: 'string',
|
|
1720
|
+
};
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
exports.DescribeAddonRequest = DescribeAddonRequest;
|
|
1724
|
+
class DescribeAddonResponseBody extends $tea.Model {
|
|
1725
|
+
constructor(map) {
|
|
1726
|
+
super(map);
|
|
1727
|
+
}
|
|
1728
|
+
static names() {
|
|
1729
|
+
return {
|
|
1730
|
+
architecture: 'architecture',
|
|
1731
|
+
category: 'category',
|
|
1732
|
+
configSchema: 'config_schema',
|
|
1733
|
+
installByDefault: 'install_by_default',
|
|
1734
|
+
managed: 'managed',
|
|
1735
|
+
name: 'name',
|
|
1736
|
+
newerVersions: 'newer_versions',
|
|
1737
|
+
supportedActions: 'supported_actions',
|
|
1738
|
+
version: 'version',
|
|
1739
|
+
};
|
|
1740
|
+
}
|
|
1741
|
+
static types() {
|
|
1742
|
+
return {
|
|
1743
|
+
architecture: { 'type': 'array', 'itemType': 'string' },
|
|
1744
|
+
category: 'string',
|
|
1745
|
+
configSchema: 'string',
|
|
1746
|
+
installByDefault: 'boolean',
|
|
1747
|
+
managed: 'boolean',
|
|
1748
|
+
name: 'string',
|
|
1749
|
+
newerVersions: { 'type': 'array', 'itemType': DescribeAddonResponseBodyNewerVersions },
|
|
1750
|
+
supportedActions: { 'type': 'array', 'itemType': 'string' },
|
|
1751
|
+
version: 'string',
|
|
1752
|
+
};
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
exports.DescribeAddonResponseBody = DescribeAddonResponseBody;
|
|
1756
|
+
class DescribeAddonResponse extends $tea.Model {
|
|
1757
|
+
constructor(map) {
|
|
1758
|
+
super(map);
|
|
1759
|
+
}
|
|
1760
|
+
static names() {
|
|
1761
|
+
return {
|
|
1762
|
+
headers: 'headers',
|
|
1763
|
+
statusCode: 'statusCode',
|
|
1764
|
+
body: 'body',
|
|
1765
|
+
};
|
|
1766
|
+
}
|
|
1767
|
+
static types() {
|
|
1768
|
+
return {
|
|
1769
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1770
|
+
statusCode: 'number',
|
|
1771
|
+
body: DescribeAddonResponseBody,
|
|
1772
|
+
};
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
exports.DescribeAddonResponse = DescribeAddonResponse;
|
|
1692
1776
|
class DescribeAddonsRequest extends $tea.Model {
|
|
1693
1777
|
constructor(map) {
|
|
1694
1778
|
super(map);
|
|
@@ -4107,6 +4191,60 @@ class ListClusterChecksResponse extends $tea.Model {
|
|
|
4107
4191
|
}
|
|
4108
4192
|
}
|
|
4109
4193
|
exports.ListClusterChecksResponse = ListClusterChecksResponse;
|
|
4194
|
+
class ListOperationPlansRequest extends $tea.Model {
|
|
4195
|
+
constructor(map) {
|
|
4196
|
+
super(map);
|
|
4197
|
+
}
|
|
4198
|
+
static names() {
|
|
4199
|
+
return {
|
|
4200
|
+
clusterId: 'cluster_id',
|
|
4201
|
+
type: 'type',
|
|
4202
|
+
};
|
|
4203
|
+
}
|
|
4204
|
+
static types() {
|
|
4205
|
+
return {
|
|
4206
|
+
clusterId: 'string',
|
|
4207
|
+
type: 'string',
|
|
4208
|
+
};
|
|
4209
|
+
}
|
|
4210
|
+
}
|
|
4211
|
+
exports.ListOperationPlansRequest = ListOperationPlansRequest;
|
|
4212
|
+
class ListOperationPlansResponseBody extends $tea.Model {
|
|
4213
|
+
constructor(map) {
|
|
4214
|
+
super(map);
|
|
4215
|
+
}
|
|
4216
|
+
static names() {
|
|
4217
|
+
return {
|
|
4218
|
+
plans: 'plans',
|
|
4219
|
+
};
|
|
4220
|
+
}
|
|
4221
|
+
static types() {
|
|
4222
|
+
return {
|
|
4223
|
+
plans: { 'type': 'array', 'itemType': ListOperationPlansResponseBodyPlans },
|
|
4224
|
+
};
|
|
4225
|
+
}
|
|
4226
|
+
}
|
|
4227
|
+
exports.ListOperationPlansResponseBody = ListOperationPlansResponseBody;
|
|
4228
|
+
class ListOperationPlansResponse extends $tea.Model {
|
|
4229
|
+
constructor(map) {
|
|
4230
|
+
super(map);
|
|
4231
|
+
}
|
|
4232
|
+
static names() {
|
|
4233
|
+
return {
|
|
4234
|
+
headers: 'headers',
|
|
4235
|
+
statusCode: 'statusCode',
|
|
4236
|
+
body: 'body',
|
|
4237
|
+
};
|
|
4238
|
+
}
|
|
4239
|
+
static types() {
|
|
4240
|
+
return {
|
|
4241
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4242
|
+
statusCode: 'number',
|
|
4243
|
+
body: ListOperationPlansResponseBody,
|
|
4244
|
+
};
|
|
4245
|
+
}
|
|
4246
|
+
}
|
|
4247
|
+
exports.ListOperationPlansResponse = ListOperationPlansResponse;
|
|
4110
4248
|
class ListTagResourcesRequest extends $tea.Model {
|
|
4111
4249
|
constructor(map) {
|
|
4112
4250
|
super(map);
|
|
@@ -4406,6 +4544,7 @@ class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
4406
4544
|
static names() {
|
|
4407
4545
|
return {
|
|
4408
4546
|
autoScaling: 'auto_scaling',
|
|
4547
|
+
concurrency: 'concurrency',
|
|
4409
4548
|
kubernetesConfig: 'kubernetes_config',
|
|
4410
4549
|
management: 'management',
|
|
4411
4550
|
nodepoolInfo: 'nodepool_info',
|
|
@@ -4417,6 +4556,7 @@ class ModifyClusterNodePoolRequest extends $tea.Model {
|
|
|
4417
4556
|
static types() {
|
|
4418
4557
|
return {
|
|
4419
4558
|
autoScaling: ModifyClusterNodePoolRequestAutoScaling,
|
|
4559
|
+
concurrency: 'boolean',
|
|
4420
4560
|
kubernetesConfig: ModifyClusterNodePoolRequestKubernetesConfig,
|
|
4421
4561
|
management: ModifyClusterNodePoolRequestManagement,
|
|
4422
4562
|
nodepoolInfo: ModifyClusterNodePoolRequestNodepoolInfo,
|
|
@@ -4767,6 +4907,7 @@ class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
4767
4907
|
}
|
|
4768
4908
|
static names() {
|
|
4769
4909
|
return {
|
|
4910
|
+
concurrency: 'concurrency',
|
|
4770
4911
|
drainNode: 'drain_node',
|
|
4771
4912
|
instanceIds: 'instance_ids',
|
|
4772
4913
|
nodes: 'nodes',
|
|
@@ -4775,6 +4916,7 @@ class RemoveNodePoolNodesRequest extends $tea.Model {
|
|
|
4775
4916
|
}
|
|
4776
4917
|
static types() {
|
|
4777
4918
|
return {
|
|
4919
|
+
concurrency: 'boolean',
|
|
4778
4920
|
drainNode: 'boolean',
|
|
4779
4921
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
4780
4922
|
nodes: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -4789,6 +4931,7 @@ class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
|
4789
4931
|
}
|
|
4790
4932
|
static names() {
|
|
4791
4933
|
return {
|
|
4934
|
+
concurrency: 'concurrency',
|
|
4792
4935
|
drainNode: 'drain_node',
|
|
4793
4936
|
instanceIdsShrink: 'instance_ids',
|
|
4794
4937
|
nodesShrink: 'nodes',
|
|
@@ -4797,6 +4940,7 @@ class RemoveNodePoolNodesShrinkRequest extends $tea.Model {
|
|
|
4797
4940
|
}
|
|
4798
4941
|
static types() {
|
|
4799
4942
|
return {
|
|
4943
|
+
concurrency: 'boolean',
|
|
4800
4944
|
drainNode: 'boolean',
|
|
4801
4945
|
instanceIdsShrink: 'string',
|
|
4802
4946
|
nodesShrink: 'string',
|
|
@@ -5721,6 +5865,26 @@ class UpdateControlPlaneLogRequest extends $tea.Model {
|
|
|
5721
5865
|
}
|
|
5722
5866
|
}
|
|
5723
5867
|
exports.UpdateControlPlaneLogRequest = UpdateControlPlaneLogRequest;
|
|
5868
|
+
class UpdateControlPlaneLogResponseBody extends $tea.Model {
|
|
5869
|
+
constructor(map) {
|
|
5870
|
+
super(map);
|
|
5871
|
+
}
|
|
5872
|
+
static names() {
|
|
5873
|
+
return {
|
|
5874
|
+
clusterId: 'cluster_id',
|
|
5875
|
+
requestId: 'request_id',
|
|
5876
|
+
taskId: 'task_id',
|
|
5877
|
+
};
|
|
5878
|
+
}
|
|
5879
|
+
static types() {
|
|
5880
|
+
return {
|
|
5881
|
+
clusterId: 'string',
|
|
5882
|
+
requestId: 'string',
|
|
5883
|
+
taskId: 'string',
|
|
5884
|
+
};
|
|
5885
|
+
}
|
|
5886
|
+
}
|
|
5887
|
+
exports.UpdateControlPlaneLogResponseBody = UpdateControlPlaneLogResponseBody;
|
|
5724
5888
|
class UpdateControlPlaneLogResponse extends $tea.Model {
|
|
5725
5889
|
constructor(map) {
|
|
5726
5890
|
super(map);
|
|
@@ -5729,12 +5893,14 @@ class UpdateControlPlaneLogResponse extends $tea.Model {
|
|
|
5729
5893
|
return {
|
|
5730
5894
|
headers: 'headers',
|
|
5731
5895
|
statusCode: 'statusCode',
|
|
5896
|
+
body: 'body',
|
|
5732
5897
|
};
|
|
5733
5898
|
}
|
|
5734
5899
|
static types() {
|
|
5735
5900
|
return {
|
|
5736
5901
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5737
5902
|
statusCode: 'number',
|
|
5903
|
+
body: UpdateControlPlaneLogResponseBody,
|
|
5738
5904
|
};
|
|
5739
5905
|
}
|
|
5740
5906
|
}
|
|
@@ -6771,6 +6937,26 @@ class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
6771
6937
|
}
|
|
6772
6938
|
}
|
|
6773
6939
|
exports.CreateClusterNodePoolRequestTeeConfig = CreateClusterNodePoolRequestTeeConfig;
|
|
6940
|
+
class DescribeAddonResponseBodyNewerVersions extends $tea.Model {
|
|
6941
|
+
constructor(map) {
|
|
6942
|
+
super(map);
|
|
6943
|
+
}
|
|
6944
|
+
static names() {
|
|
6945
|
+
return {
|
|
6946
|
+
minimumClusterVersion: 'minimum_cluster_version',
|
|
6947
|
+
upgradable: 'upgradable',
|
|
6948
|
+
version: 'version',
|
|
6949
|
+
};
|
|
6950
|
+
}
|
|
6951
|
+
static types() {
|
|
6952
|
+
return {
|
|
6953
|
+
minimumClusterVersion: 'string',
|
|
6954
|
+
upgradable: 'boolean',
|
|
6955
|
+
version: 'string',
|
|
6956
|
+
};
|
|
6957
|
+
}
|
|
6958
|
+
}
|
|
6959
|
+
exports.DescribeAddonResponseBodyNewerVersions = DescribeAddonResponseBodyNewerVersions;
|
|
6774
6960
|
class DescribeAddonsResponseBodyComponentGroupsItems extends $tea.Model {
|
|
6775
6961
|
constructor(map) {
|
|
6776
6962
|
super(map);
|
|
@@ -9155,6 +9341,38 @@ class ListClusterChecksResponseBodyChecks extends $tea.Model {
|
|
|
9155
9341
|
}
|
|
9156
9342
|
}
|
|
9157
9343
|
exports.ListClusterChecksResponseBodyChecks = ListClusterChecksResponseBodyChecks;
|
|
9344
|
+
class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
9345
|
+
constructor(map) {
|
|
9346
|
+
super(map);
|
|
9347
|
+
}
|
|
9348
|
+
static names() {
|
|
9349
|
+
return {
|
|
9350
|
+
clusterId: 'cluster_id',
|
|
9351
|
+
created: 'created',
|
|
9352
|
+
endTime: 'end_time',
|
|
9353
|
+
planId: 'plan_id',
|
|
9354
|
+
startTime: 'start_time',
|
|
9355
|
+
state: 'state',
|
|
9356
|
+
targetId: 'target_id',
|
|
9357
|
+
targetType: 'target_type',
|
|
9358
|
+
type: 'type',
|
|
9359
|
+
};
|
|
9360
|
+
}
|
|
9361
|
+
static types() {
|
|
9362
|
+
return {
|
|
9363
|
+
clusterId: 'string',
|
|
9364
|
+
created: 'string',
|
|
9365
|
+
endTime: 'string',
|
|
9366
|
+
planId: 'string',
|
|
9367
|
+
startTime: 'string',
|
|
9368
|
+
state: 'string',
|
|
9369
|
+
targetId: 'string',
|
|
9370
|
+
targetType: 'string',
|
|
9371
|
+
type: 'string',
|
|
9372
|
+
};
|
|
9373
|
+
}
|
|
9374
|
+
}
|
|
9375
|
+
exports.ListOperationPlansResponseBodyPlans = ListOperationPlansResponseBodyPlans;
|
|
9158
9376
|
class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
|
|
9159
9377
|
constructor(map) {
|
|
9160
9378
|
super(map);
|
|
@@ -10894,6 +11112,52 @@ class Client extends openapi_client_1.default {
|
|
|
10894
11112
|
let headers = {};
|
|
10895
11113
|
return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
|
|
10896
11114
|
}
|
|
11115
|
+
async describeAddonWithOptions(addonName, request, headers, runtime) {
|
|
11116
|
+
tea_util_1.default.validateModel(request);
|
|
11117
|
+
let query = {};
|
|
11118
|
+
if (!tea_util_1.default.isUnset(request.clusterId)) {
|
|
11119
|
+
query["cluster_id"] = request.clusterId;
|
|
11120
|
+
}
|
|
11121
|
+
if (!tea_util_1.default.isUnset(request.clusterSpec)) {
|
|
11122
|
+
query["cluster_spec"] = request.clusterSpec;
|
|
11123
|
+
}
|
|
11124
|
+
if (!tea_util_1.default.isUnset(request.clusterType)) {
|
|
11125
|
+
query["cluster_type"] = request.clusterType;
|
|
11126
|
+
}
|
|
11127
|
+
if (!tea_util_1.default.isUnset(request.clusterVersion)) {
|
|
11128
|
+
query["cluster_version"] = request.clusterVersion;
|
|
11129
|
+
}
|
|
11130
|
+
if (!tea_util_1.default.isUnset(request.profile)) {
|
|
11131
|
+
query["profile"] = request.profile;
|
|
11132
|
+
}
|
|
11133
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
11134
|
+
query["region_id"] = request.regionId;
|
|
11135
|
+
}
|
|
11136
|
+
if (!tea_util_1.default.isUnset(request.version)) {
|
|
11137
|
+
query["version"] = request.version;
|
|
11138
|
+
}
|
|
11139
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
11140
|
+
headers: headers,
|
|
11141
|
+
query: openapi_util_1.default.query(query),
|
|
11142
|
+
});
|
|
11143
|
+
let params = new $OpenApi.Params({
|
|
11144
|
+
action: "DescribeAddon",
|
|
11145
|
+
version: "2015-12-15",
|
|
11146
|
+
protocol: "HTTPS",
|
|
11147
|
+
pathname: `/addons/${openapi_util_1.default.getEncodeParam(addonName)}`,
|
|
11148
|
+
method: "GET",
|
|
11149
|
+
authType: "AK",
|
|
11150
|
+
style: "ROA",
|
|
11151
|
+
reqBodyType: "json",
|
|
11152
|
+
bodyType: "json",
|
|
11153
|
+
});
|
|
11154
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
|
|
11155
|
+
}
|
|
11156
|
+
async describeAddon(addonName, request) {
|
|
11157
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
11158
|
+
let headers = {};
|
|
11159
|
+
return await this.describeAddonWithOptions(addonName, request, headers, runtime);
|
|
11160
|
+
}
|
|
10897
11161
|
async describeAddonsWithOptions(request, headers, runtime) {
|
|
10898
11162
|
tea_util_1.default.validateModel(request);
|
|
10899
11163
|
let query = {};
|
|
@@ -12512,6 +12776,37 @@ class Client extends openapi_client_1.default {
|
|
|
12512
12776
|
let headers = {};
|
|
12513
12777
|
return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
|
|
12514
12778
|
}
|
|
12779
|
+
async listOperationPlansWithOptions(request, headers, runtime) {
|
|
12780
|
+
tea_util_1.default.validateModel(request);
|
|
12781
|
+
let query = {};
|
|
12782
|
+
if (!tea_util_1.default.isUnset(request.clusterId)) {
|
|
12783
|
+
query["cluster_id"] = request.clusterId;
|
|
12784
|
+
}
|
|
12785
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
12786
|
+
query["type"] = request.type;
|
|
12787
|
+
}
|
|
12788
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12789
|
+
headers: headers,
|
|
12790
|
+
query: openapi_util_1.default.query(query),
|
|
12791
|
+
});
|
|
12792
|
+
let params = new $OpenApi.Params({
|
|
12793
|
+
action: "ListOperationPlans",
|
|
12794
|
+
version: "2015-12-15",
|
|
12795
|
+
protocol: "HTTPS",
|
|
12796
|
+
pathname: `/operation/plans`,
|
|
12797
|
+
method: "GET",
|
|
12798
|
+
authType: "AK",
|
|
12799
|
+
style: "ROA",
|
|
12800
|
+
reqBodyType: "json",
|
|
12801
|
+
bodyType: "json",
|
|
12802
|
+
});
|
|
12803
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
|
|
12804
|
+
}
|
|
12805
|
+
async listOperationPlans(request) {
|
|
12806
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12807
|
+
let headers = {};
|
|
12808
|
+
return await this.listOperationPlansWithOptions(request, headers, runtime);
|
|
12809
|
+
}
|
|
12515
12810
|
async listTagResourcesWithOptions(tmpReq, headers, runtime) {
|
|
12516
12811
|
tea_util_1.default.validateModel(tmpReq);
|
|
12517
12812
|
let request = new ListTagResourcesShrinkRequest({});
|
|
@@ -12734,6 +13029,9 @@ class Client extends openapi_client_1.default {
|
|
|
12734
13029
|
if (!tea_util_1.default.isUnset(request.autoScaling)) {
|
|
12735
13030
|
body["auto_scaling"] = request.autoScaling;
|
|
12736
13031
|
}
|
|
13032
|
+
if (!tea_util_1.default.isUnset(request.concurrency)) {
|
|
13033
|
+
body["concurrency"] = request.concurrency;
|
|
13034
|
+
}
|
|
12737
13035
|
if (!tea_util_1.default.isUnset(request.kubernetesConfig)) {
|
|
12738
13036
|
body["kubernetes_config"] = request.kubernetesConfig;
|
|
12739
13037
|
}
|
|
@@ -13071,6 +13369,9 @@ class Client extends openapi_client_1.default {
|
|
|
13071
13369
|
request.nodesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.nodes, "nodes", "json");
|
|
13072
13370
|
}
|
|
13073
13371
|
let query = {};
|
|
13372
|
+
if (!tea_util_1.default.isUnset(request.concurrency)) {
|
|
13373
|
+
query["concurrency"] = request.concurrency;
|
|
13374
|
+
}
|
|
13074
13375
|
if (!tea_util_1.default.isUnset(request.drainNode)) {
|
|
13075
13376
|
query["drain_node"] = request.drainNode;
|
|
13076
13377
|
}
|
|
@@ -13822,7 +14123,7 @@ class Client extends openapi_client_1.default {
|
|
|
13822
14123
|
authType: "AK",
|
|
13823
14124
|
style: "ROA",
|
|
13824
14125
|
reqBodyType: "json",
|
|
13825
|
-
bodyType: "
|
|
14126
|
+
bodyType: "json",
|
|
13826
14127
|
});
|
|
13827
14128
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
13828
14129
|
}
|