@alicloud/cs20151215 3.1.2 → 3.2.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 +309 -0
- package/dist/client.js +546 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +706 -13
package/dist/client.js
CHANGED
|
@@ -53,6 +53,7 @@ class DataDisk extends $tea.Model {
|
|
|
53
53
|
category: 'category',
|
|
54
54
|
encrypted: 'encrypted',
|
|
55
55
|
fileSystem: 'file_system',
|
|
56
|
+
kmsKeyId: 'kms_key_id',
|
|
56
57
|
mountTarget: 'mount_target',
|
|
57
58
|
performanceLevel: 'performance_level',
|
|
58
59
|
provisionedIops: 'provisioned_iops',
|
|
@@ -67,6 +68,7 @@ class DataDisk extends $tea.Model {
|
|
|
67
68
|
category: 'string',
|
|
68
69
|
encrypted: 'string',
|
|
69
70
|
fileSystem: 'string',
|
|
71
|
+
kmsKeyId: 'string',
|
|
70
72
|
mountTarget: 'string',
|
|
71
73
|
performanceLevel: 'string',
|
|
72
74
|
provisionedIops: 'number',
|
|
@@ -162,6 +164,7 @@ class Nodepool extends $tea.Model {
|
|
|
162
164
|
kubernetesConfig: 'kubernetes_config',
|
|
163
165
|
management: 'management',
|
|
164
166
|
maxNodes: 'max_nodes',
|
|
167
|
+
nodeConfig: 'node_config',
|
|
165
168
|
nodepoolInfo: 'nodepool_info',
|
|
166
169
|
scalingGroup: 'scaling_group',
|
|
167
170
|
teeConfig: 'tee_config',
|
|
@@ -176,6 +179,7 @@ class Nodepool extends $tea.Model {
|
|
|
176
179
|
kubernetesConfig: NodepoolKubernetesConfig,
|
|
177
180
|
management: NodepoolManagement,
|
|
178
181
|
maxNodes: 'number',
|
|
182
|
+
nodeConfig: NodepoolNodeConfig,
|
|
179
183
|
nodepoolInfo: NodepoolNodepoolInfo,
|
|
180
184
|
scalingGroup: NodepoolScalingGroup,
|
|
181
185
|
teeConfig: NodepoolTeeConfig,
|
|
@@ -459,6 +463,42 @@ class CancelComponentUpgradeResponse extends $tea.Model {
|
|
|
459
463
|
}
|
|
460
464
|
}
|
|
461
465
|
exports.CancelComponentUpgradeResponse = CancelComponentUpgradeResponse;
|
|
466
|
+
class CancelOperationPlanResponseBody extends $tea.Model {
|
|
467
|
+
constructor(map) {
|
|
468
|
+
super(map);
|
|
469
|
+
}
|
|
470
|
+
static names() {
|
|
471
|
+
return {
|
|
472
|
+
requestId: 'requestId',
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
static types() {
|
|
476
|
+
return {
|
|
477
|
+
requestId: 'string',
|
|
478
|
+
};
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
exports.CancelOperationPlanResponseBody = CancelOperationPlanResponseBody;
|
|
482
|
+
class CancelOperationPlanResponse extends $tea.Model {
|
|
483
|
+
constructor(map) {
|
|
484
|
+
super(map);
|
|
485
|
+
}
|
|
486
|
+
static names() {
|
|
487
|
+
return {
|
|
488
|
+
headers: 'headers',
|
|
489
|
+
statusCode: 'statusCode',
|
|
490
|
+
body: 'body',
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
static types() {
|
|
494
|
+
return {
|
|
495
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
496
|
+
statusCode: 'number',
|
|
497
|
+
body: CancelOperationPlanResponseBody,
|
|
498
|
+
};
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
exports.CancelOperationPlanResponse = CancelOperationPlanResponse;
|
|
462
502
|
class CancelTaskResponse extends $tea.Model {
|
|
463
503
|
constructor(map) {
|
|
464
504
|
super(map);
|
|
@@ -860,6 +900,7 @@ class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
860
900
|
kubernetesConfig: 'kubernetes_config',
|
|
861
901
|
management: 'management',
|
|
862
902
|
maxNodes: 'max_nodes',
|
|
903
|
+
nodeConfig: 'node_config',
|
|
863
904
|
nodepoolInfo: 'nodepool_info',
|
|
864
905
|
scalingGroup: 'scaling_group',
|
|
865
906
|
teeConfig: 'tee_config',
|
|
@@ -874,6 +915,7 @@ class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
874
915
|
kubernetesConfig: CreateClusterNodePoolRequestKubernetesConfig,
|
|
875
916
|
management: CreateClusterNodePoolRequestManagement,
|
|
876
917
|
maxNodes: 'number',
|
|
918
|
+
nodeConfig: CreateClusterNodePoolRequestNodeConfig,
|
|
877
919
|
nodepoolInfo: CreateClusterNodePoolRequestNodepoolInfo,
|
|
878
920
|
scalingGroup: CreateClusterNodePoolRequestScalingGroup,
|
|
879
921
|
teeConfig: CreateClusterNodePoolRequestTeeConfig,
|
|
@@ -1304,11 +1346,13 @@ class DeleteClusterNodepoolResponseBody extends $tea.Model {
|
|
|
1304
1346
|
static names() {
|
|
1305
1347
|
return {
|
|
1306
1348
|
requestId: 'request_id',
|
|
1349
|
+
taskId: 'task_id',
|
|
1307
1350
|
};
|
|
1308
1351
|
}
|
|
1309
1352
|
static types() {
|
|
1310
1353
|
return {
|
|
1311
1354
|
requestId: 'string',
|
|
1355
|
+
taskId: 'string',
|
|
1312
1356
|
};
|
|
1313
1357
|
}
|
|
1314
1358
|
}
|
|
@@ -3667,6 +3711,50 @@ class FixNodePoolVulsResponse extends $tea.Model {
|
|
|
3667
3711
|
}
|
|
3668
3712
|
}
|
|
3669
3713
|
exports.FixNodePoolVulsResponse = FixNodePoolVulsResponse;
|
|
3714
|
+
class GetClusterAddonInstanceResponseBody extends $tea.Model {
|
|
3715
|
+
constructor(map) {
|
|
3716
|
+
super(map);
|
|
3717
|
+
}
|
|
3718
|
+
static names() {
|
|
3719
|
+
return {
|
|
3720
|
+
config: 'config',
|
|
3721
|
+
logging: 'logging',
|
|
3722
|
+
name: 'name',
|
|
3723
|
+
state: 'state',
|
|
3724
|
+
version: 'version',
|
|
3725
|
+
};
|
|
3726
|
+
}
|
|
3727
|
+
static types() {
|
|
3728
|
+
return {
|
|
3729
|
+
config: 'string',
|
|
3730
|
+
logging: GetClusterAddonInstanceResponseBodyLogging,
|
|
3731
|
+
name: 'string',
|
|
3732
|
+
state: 'string',
|
|
3733
|
+
version: 'string',
|
|
3734
|
+
};
|
|
3735
|
+
}
|
|
3736
|
+
}
|
|
3737
|
+
exports.GetClusterAddonInstanceResponseBody = GetClusterAddonInstanceResponseBody;
|
|
3738
|
+
class GetClusterAddonInstanceResponse extends $tea.Model {
|
|
3739
|
+
constructor(map) {
|
|
3740
|
+
super(map);
|
|
3741
|
+
}
|
|
3742
|
+
static names() {
|
|
3743
|
+
return {
|
|
3744
|
+
headers: 'headers',
|
|
3745
|
+
statusCode: 'statusCode',
|
|
3746
|
+
body: 'body',
|
|
3747
|
+
};
|
|
3748
|
+
}
|
|
3749
|
+
static types() {
|
|
3750
|
+
return {
|
|
3751
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3752
|
+
statusCode: 'number',
|
|
3753
|
+
body: GetClusterAddonInstanceResponseBody,
|
|
3754
|
+
};
|
|
3755
|
+
}
|
|
3756
|
+
}
|
|
3757
|
+
exports.GetClusterAddonInstanceResponse = GetClusterAddonInstanceResponse;
|
|
3670
3758
|
class GetClusterCheckResponseBody extends $tea.Model {
|
|
3671
3759
|
constructor(map) {
|
|
3672
3760
|
super(map);
|
|
@@ -3869,6 +3957,104 @@ class InstallClusterAddonsResponse extends $tea.Model {
|
|
|
3869
3957
|
}
|
|
3870
3958
|
}
|
|
3871
3959
|
exports.InstallClusterAddonsResponse = InstallClusterAddonsResponse;
|
|
3960
|
+
class ListAddonsRequest extends $tea.Model {
|
|
3961
|
+
constructor(map) {
|
|
3962
|
+
super(map);
|
|
3963
|
+
}
|
|
3964
|
+
static names() {
|
|
3965
|
+
return {
|
|
3966
|
+
clusterId: 'cluster_id',
|
|
3967
|
+
clusterSpec: 'cluster_spec',
|
|
3968
|
+
clusterType: 'cluster_type',
|
|
3969
|
+
clusterVersion: 'cluster_version',
|
|
3970
|
+
profile: 'profile',
|
|
3971
|
+
regionId: 'region_id',
|
|
3972
|
+
};
|
|
3973
|
+
}
|
|
3974
|
+
static types() {
|
|
3975
|
+
return {
|
|
3976
|
+
clusterId: 'string',
|
|
3977
|
+
clusterSpec: 'string',
|
|
3978
|
+
clusterType: 'string',
|
|
3979
|
+
clusterVersion: 'string',
|
|
3980
|
+
profile: 'string',
|
|
3981
|
+
regionId: 'string',
|
|
3982
|
+
};
|
|
3983
|
+
}
|
|
3984
|
+
}
|
|
3985
|
+
exports.ListAddonsRequest = ListAddonsRequest;
|
|
3986
|
+
class ListAddonsResponseBody extends $tea.Model {
|
|
3987
|
+
constructor(map) {
|
|
3988
|
+
super(map);
|
|
3989
|
+
}
|
|
3990
|
+
static names() {
|
|
3991
|
+
return {
|
|
3992
|
+
addons: 'addons',
|
|
3993
|
+
};
|
|
3994
|
+
}
|
|
3995
|
+
static types() {
|
|
3996
|
+
return {
|
|
3997
|
+
addons: { 'type': 'array', 'itemType': ListAddonsResponseBodyAddons },
|
|
3998
|
+
};
|
|
3999
|
+
}
|
|
4000
|
+
}
|
|
4001
|
+
exports.ListAddonsResponseBody = ListAddonsResponseBody;
|
|
4002
|
+
class ListAddonsResponse extends $tea.Model {
|
|
4003
|
+
constructor(map) {
|
|
4004
|
+
super(map);
|
|
4005
|
+
}
|
|
4006
|
+
static names() {
|
|
4007
|
+
return {
|
|
4008
|
+
headers: 'headers',
|
|
4009
|
+
statusCode: 'statusCode',
|
|
4010
|
+
body: 'body',
|
|
4011
|
+
};
|
|
4012
|
+
}
|
|
4013
|
+
static types() {
|
|
4014
|
+
return {
|
|
4015
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4016
|
+
statusCode: 'number',
|
|
4017
|
+
body: ListAddonsResponseBody,
|
|
4018
|
+
};
|
|
4019
|
+
}
|
|
4020
|
+
}
|
|
4021
|
+
exports.ListAddonsResponse = ListAddonsResponse;
|
|
4022
|
+
class ListClusterAddonInstancesResponseBody extends $tea.Model {
|
|
4023
|
+
constructor(map) {
|
|
4024
|
+
super(map);
|
|
4025
|
+
}
|
|
4026
|
+
static names() {
|
|
4027
|
+
return {
|
|
4028
|
+
addons: 'addons',
|
|
4029
|
+
};
|
|
4030
|
+
}
|
|
4031
|
+
static types() {
|
|
4032
|
+
return {
|
|
4033
|
+
addons: { 'type': 'array', 'itemType': ListClusterAddonInstancesResponseBodyAddons },
|
|
4034
|
+
};
|
|
4035
|
+
}
|
|
4036
|
+
}
|
|
4037
|
+
exports.ListClusterAddonInstancesResponseBody = ListClusterAddonInstancesResponseBody;
|
|
4038
|
+
class ListClusterAddonInstancesResponse extends $tea.Model {
|
|
4039
|
+
constructor(map) {
|
|
4040
|
+
super(map);
|
|
4041
|
+
}
|
|
4042
|
+
static names() {
|
|
4043
|
+
return {
|
|
4044
|
+
headers: 'headers',
|
|
4045
|
+
statusCode: 'statusCode',
|
|
4046
|
+
body: 'body',
|
|
4047
|
+
};
|
|
4048
|
+
}
|
|
4049
|
+
static types() {
|
|
4050
|
+
return {
|
|
4051
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4052
|
+
statusCode: 'number',
|
|
4053
|
+
body: ListClusterAddonInstancesResponseBody,
|
|
4054
|
+
};
|
|
4055
|
+
}
|
|
4056
|
+
}
|
|
4057
|
+
exports.ListClusterAddonInstancesResponse = ListClusterAddonInstancesResponse;
|
|
3872
4058
|
class ListClusterChecksRequest extends $tea.Model {
|
|
3873
4059
|
constructor(map) {
|
|
3874
4060
|
super(map);
|
|
@@ -5847,6 +6033,56 @@ class NodepoolKubernetesConfig extends $tea.Model {
|
|
|
5847
6033
|
}
|
|
5848
6034
|
}
|
|
5849
6035
|
exports.NodepoolKubernetesConfig = NodepoolKubernetesConfig;
|
|
6036
|
+
class NodepoolManagementAutoRepairPolicy extends $tea.Model {
|
|
6037
|
+
constructor(map) {
|
|
6038
|
+
super(map);
|
|
6039
|
+
}
|
|
6040
|
+
static names() {
|
|
6041
|
+
return {
|
|
6042
|
+
restartNode: 'restart_node',
|
|
6043
|
+
};
|
|
6044
|
+
}
|
|
6045
|
+
static types() {
|
|
6046
|
+
return {
|
|
6047
|
+
restartNode: 'boolean',
|
|
6048
|
+
};
|
|
6049
|
+
}
|
|
6050
|
+
}
|
|
6051
|
+
exports.NodepoolManagementAutoRepairPolicy = NodepoolManagementAutoRepairPolicy;
|
|
6052
|
+
class NodepoolManagementAutoUpgradePolicy extends $tea.Model {
|
|
6053
|
+
constructor(map) {
|
|
6054
|
+
super(map);
|
|
6055
|
+
}
|
|
6056
|
+
static names() {
|
|
6057
|
+
return {
|
|
6058
|
+
autoUpgradeKubelet: 'auto_upgrade_kubelet',
|
|
6059
|
+
};
|
|
6060
|
+
}
|
|
6061
|
+
static types() {
|
|
6062
|
+
return {
|
|
6063
|
+
autoUpgradeKubelet: 'boolean',
|
|
6064
|
+
};
|
|
6065
|
+
}
|
|
6066
|
+
}
|
|
6067
|
+
exports.NodepoolManagementAutoUpgradePolicy = NodepoolManagementAutoUpgradePolicy;
|
|
6068
|
+
class NodepoolManagementAutoVulFixPolicy extends $tea.Model {
|
|
6069
|
+
constructor(map) {
|
|
6070
|
+
super(map);
|
|
6071
|
+
}
|
|
6072
|
+
static names() {
|
|
6073
|
+
return {
|
|
6074
|
+
restartNode: 'restart_node',
|
|
6075
|
+
vulLevel: 'vul_level',
|
|
6076
|
+
};
|
|
6077
|
+
}
|
|
6078
|
+
static types() {
|
|
6079
|
+
return {
|
|
6080
|
+
restartNode: 'boolean',
|
|
6081
|
+
vulLevel: 'string',
|
|
6082
|
+
};
|
|
6083
|
+
}
|
|
6084
|
+
}
|
|
6085
|
+
exports.NodepoolManagementAutoVulFixPolicy = NodepoolManagementAutoVulFixPolicy;
|
|
5850
6086
|
class NodepoolManagementUpgradeConfig extends $tea.Model {
|
|
5851
6087
|
constructor(map) {
|
|
5852
6088
|
super(map);
|
|
@@ -5876,6 +6112,11 @@ class NodepoolManagement extends $tea.Model {
|
|
|
5876
6112
|
static names() {
|
|
5877
6113
|
return {
|
|
5878
6114
|
autoRepair: 'auto_repair',
|
|
6115
|
+
autoRepairPolicy: 'auto_repair_policy',
|
|
6116
|
+
autoUpgrade: 'auto_upgrade',
|
|
6117
|
+
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
6118
|
+
autoVulFix: 'auto_vul_fix',
|
|
6119
|
+
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
5879
6120
|
enable: 'enable',
|
|
5880
6121
|
upgradeConfig: 'upgrade_config',
|
|
5881
6122
|
};
|
|
@@ -5883,12 +6124,33 @@ class NodepoolManagement extends $tea.Model {
|
|
|
5883
6124
|
static types() {
|
|
5884
6125
|
return {
|
|
5885
6126
|
autoRepair: 'boolean',
|
|
6127
|
+
autoRepairPolicy: NodepoolManagementAutoRepairPolicy,
|
|
6128
|
+
autoUpgrade: 'boolean',
|
|
6129
|
+
autoUpgradePolicy: NodepoolManagementAutoUpgradePolicy,
|
|
6130
|
+
autoVulFix: 'boolean',
|
|
6131
|
+
autoVulFixPolicy: NodepoolManagementAutoVulFixPolicy,
|
|
5886
6132
|
enable: 'boolean',
|
|
5887
6133
|
upgradeConfig: NodepoolManagementUpgradeConfig,
|
|
5888
6134
|
};
|
|
5889
6135
|
}
|
|
5890
6136
|
}
|
|
5891
6137
|
exports.NodepoolManagement = NodepoolManagement;
|
|
6138
|
+
class NodepoolNodeConfig extends $tea.Model {
|
|
6139
|
+
constructor(map) {
|
|
6140
|
+
super(map);
|
|
6141
|
+
}
|
|
6142
|
+
static names() {
|
|
6143
|
+
return {
|
|
6144
|
+
kubeletConfiguration: 'kubelet_configuration',
|
|
6145
|
+
};
|
|
6146
|
+
}
|
|
6147
|
+
static types() {
|
|
6148
|
+
return {
|
|
6149
|
+
kubeletConfiguration: KubeletConfig,
|
|
6150
|
+
};
|
|
6151
|
+
}
|
|
6152
|
+
}
|
|
6153
|
+
exports.NodepoolNodeConfig = NodepoolNodeConfig;
|
|
5892
6154
|
class NodepoolNodepoolInfo extends $tea.Model {
|
|
5893
6155
|
constructor(map) {
|
|
5894
6156
|
super(map);
|
|
@@ -5982,6 +6244,7 @@ class NodepoolScalingGroup extends $tea.Model {
|
|
|
5982
6244
|
internetChargeType: 'internet_charge_type',
|
|
5983
6245
|
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
5984
6246
|
keyPair: 'key_pair',
|
|
6247
|
+
loginAsNonRoot: 'login_as_non_root',
|
|
5985
6248
|
loginPassword: 'login_password',
|
|
5986
6249
|
multiAzPolicy: 'multi_az_policy',
|
|
5987
6250
|
onDemandBaseCapacity: 'on_demand_base_capacity',
|
|
@@ -5999,7 +6262,11 @@ class NodepoolScalingGroup extends $tea.Model {
|
|
|
5999
6262
|
spotPriceLimit: 'spot_price_limit',
|
|
6000
6263
|
spotStrategy: 'spot_strategy',
|
|
6001
6264
|
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
6265
|
+
systemDiskCategories: 'system_disk_categories',
|
|
6002
6266
|
systemDiskCategory: 'system_disk_category',
|
|
6267
|
+
systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
|
|
6268
|
+
systemDiskEncrypted: 'system_disk_encrypted',
|
|
6269
|
+
systemDiskKmsKeyId: 'system_disk_kms_key_id',
|
|
6003
6270
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
6004
6271
|
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
6005
6272
|
systemDiskSize: 'system_disk_size',
|
|
@@ -6022,6 +6289,7 @@ class NodepoolScalingGroup extends $tea.Model {
|
|
|
6022
6289
|
internetChargeType: 'string',
|
|
6023
6290
|
internetMaxBandwidthOut: 'number',
|
|
6024
6291
|
keyPair: 'string',
|
|
6292
|
+
loginAsNonRoot: 'boolean',
|
|
6025
6293
|
loginPassword: 'string',
|
|
6026
6294
|
multiAzPolicy: 'string',
|
|
6027
6295
|
onDemandBaseCapacity: 'number',
|
|
@@ -6039,7 +6307,11 @@ class NodepoolScalingGroup extends $tea.Model {
|
|
|
6039
6307
|
spotPriceLimit: { 'type': 'array', 'itemType': NodepoolScalingGroupSpotPriceLimit },
|
|
6040
6308
|
spotStrategy: 'string',
|
|
6041
6309
|
systemDiskBurstingEnabled: 'boolean',
|
|
6310
|
+
systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
|
|
6042
6311
|
systemDiskCategory: 'string',
|
|
6312
|
+
systemDiskEncryptAlgorithm: 'string',
|
|
6313
|
+
systemDiskEncrypted: 'boolean',
|
|
6314
|
+
systemDiskKmsKeyId: 'string',
|
|
6043
6315
|
systemDiskPerformanceLevel: 'string',
|
|
6044
6316
|
systemDiskProvisionedIops: 'number',
|
|
6045
6317
|
systemDiskSize: 'number',
|
|
@@ -6172,6 +6444,7 @@ class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
6172
6444
|
runtime: 'runtime',
|
|
6173
6445
|
runtimeVersion: 'runtime_version',
|
|
6174
6446
|
taints: 'taints',
|
|
6447
|
+
unschedulable: 'unschedulable',
|
|
6175
6448
|
userData: 'user_data',
|
|
6176
6449
|
};
|
|
6177
6450
|
}
|
|
@@ -6184,6 +6457,7 @@ class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
6184
6457
|
runtime: 'string',
|
|
6185
6458
|
runtimeVersion: 'string',
|
|
6186
6459
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
6460
|
+
unschedulable: 'boolean',
|
|
6187
6461
|
userData: 'string',
|
|
6188
6462
|
};
|
|
6189
6463
|
}
|
|
@@ -6291,6 +6565,22 @@ class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
6291
6565
|
}
|
|
6292
6566
|
}
|
|
6293
6567
|
exports.CreateClusterNodePoolRequestManagement = CreateClusterNodePoolRequestManagement;
|
|
6568
|
+
class CreateClusterNodePoolRequestNodeConfig extends $tea.Model {
|
|
6569
|
+
constructor(map) {
|
|
6570
|
+
super(map);
|
|
6571
|
+
}
|
|
6572
|
+
static names() {
|
|
6573
|
+
return {
|
|
6574
|
+
kubeletConfiguration: 'kubelet_configuration',
|
|
6575
|
+
};
|
|
6576
|
+
}
|
|
6577
|
+
static types() {
|
|
6578
|
+
return {
|
|
6579
|
+
kubeletConfiguration: KubeletConfig,
|
|
6580
|
+
};
|
|
6581
|
+
}
|
|
6582
|
+
}
|
|
6583
|
+
exports.CreateClusterNodePoolRequestNodeConfig = CreateClusterNodePoolRequestNodeConfig;
|
|
6294
6584
|
class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
6295
6585
|
constructor(map) {
|
|
6296
6586
|
super(map);
|
|
@@ -6373,6 +6663,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
6373
6663
|
return {
|
|
6374
6664
|
autoRenew: 'auto_renew',
|
|
6375
6665
|
autoRenewPeriod: 'auto_renew_period',
|
|
6666
|
+
cisEnabled: 'cis_enabled',
|
|
6376
6667
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
6377
6668
|
dataDisks: 'data_disks',
|
|
6378
6669
|
deploymentsetId: 'deploymentset_id',
|
|
@@ -6384,6 +6675,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
6384
6675
|
internetChargeType: 'internet_charge_type',
|
|
6385
6676
|
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
6386
6677
|
keyPair: 'key_pair',
|
|
6678
|
+
loginAsNonRoot: 'login_as_non_root',
|
|
6387
6679
|
loginPassword: 'login_password',
|
|
6388
6680
|
multiAzPolicy: 'multi_az_policy',
|
|
6389
6681
|
onDemandBaseCapacity: 'on_demand_base_capacity',
|
|
@@ -6396,12 +6688,17 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
6396
6688
|
scalingPolicy: 'scaling_policy',
|
|
6397
6689
|
securityGroupId: 'security_group_id',
|
|
6398
6690
|
securityGroupIds: 'security_group_ids',
|
|
6691
|
+
socEnabled: 'soc_enabled',
|
|
6399
6692
|
spotInstancePools: 'spot_instance_pools',
|
|
6400
6693
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
6401
6694
|
spotPriceLimit: 'spot_price_limit',
|
|
6402
6695
|
spotStrategy: 'spot_strategy',
|
|
6403
6696
|
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
6697
|
+
systemDiskCategories: 'system_disk_categories',
|
|
6404
6698
|
systemDiskCategory: 'system_disk_category',
|
|
6699
|
+
systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
|
|
6700
|
+
systemDiskEncrypted: 'system_disk_encrypted',
|
|
6701
|
+
systemDiskKmsKeyId: 'system_disk_kms_key_id',
|
|
6405
6702
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
6406
6703
|
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
6407
6704
|
systemDiskSize: 'system_disk_size',
|
|
@@ -6413,6 +6710,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
6413
6710
|
return {
|
|
6414
6711
|
autoRenew: 'boolean',
|
|
6415
6712
|
autoRenewPeriod: 'number',
|
|
6713
|
+
cisEnabled: 'boolean',
|
|
6416
6714
|
compensateWithOnDemand: 'boolean',
|
|
6417
6715
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
6418
6716
|
deploymentsetId: 'string',
|
|
@@ -6424,6 +6722,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
6424
6722
|
internetChargeType: 'string',
|
|
6425
6723
|
internetMaxBandwidthOut: 'number',
|
|
6426
6724
|
keyPair: 'string',
|
|
6725
|
+
loginAsNonRoot: 'boolean',
|
|
6427
6726
|
loginPassword: 'string',
|
|
6428
6727
|
multiAzPolicy: 'string',
|
|
6429
6728
|
onDemandBaseCapacity: 'number',
|
|
@@ -6436,12 +6735,17 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
6436
6735
|
scalingPolicy: 'string',
|
|
6437
6736
|
securityGroupId: 'string',
|
|
6438
6737
|
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
6738
|
+
socEnabled: 'boolean',
|
|
6439
6739
|
spotInstancePools: 'number',
|
|
6440
6740
|
spotInstanceRemedy: 'boolean',
|
|
6441
6741
|
spotPriceLimit: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupSpotPriceLimit },
|
|
6442
6742
|
spotStrategy: 'string',
|
|
6443
6743
|
systemDiskBurstingEnabled: 'boolean',
|
|
6744
|
+
systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
|
|
6444
6745
|
systemDiskCategory: 'string',
|
|
6746
|
+
systemDiskEncryptAlgorithm: 'string',
|
|
6747
|
+
systemDiskEncrypted: 'boolean',
|
|
6748
|
+
systemDiskKmsKeyId: 'string',
|
|
6445
6749
|
systemDiskPerformanceLevel: 'string',
|
|
6446
6750
|
systemDiskProvisionedIops: 'number',
|
|
6447
6751
|
systemDiskSize: 'number',
|
|
@@ -6658,6 +6962,7 @@ class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $tea.Mod
|
|
|
6658
6962
|
runtime: 'runtime',
|
|
6659
6963
|
runtimeVersion: 'runtime_version',
|
|
6660
6964
|
taints: 'taints',
|
|
6965
|
+
unschedulable: 'unschedulable',
|
|
6661
6966
|
userData: 'user_data',
|
|
6662
6967
|
};
|
|
6663
6968
|
}
|
|
@@ -6670,6 +6975,7 @@ class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $tea.Mod
|
|
|
6670
6975
|
runtime: 'string',
|
|
6671
6976
|
runtimeVersion: 'string',
|
|
6672
6977
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
6978
|
+
unschedulable: 'boolean',
|
|
6673
6979
|
userData: 'string',
|
|
6674
6980
|
};
|
|
6675
6981
|
}
|
|
@@ -6867,16 +7173,19 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
6867
7173
|
return {
|
|
6868
7174
|
autoRenew: 'auto_renew',
|
|
6869
7175
|
autoRenewPeriod: 'auto_renew_period',
|
|
7176
|
+
cisEnabled: 'cis_enabled',
|
|
6870
7177
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
6871
7178
|
dataDisks: 'data_disks',
|
|
6872
7179
|
deploymentsetId: 'deploymentset_id',
|
|
6873
7180
|
desiredSize: 'desired_size',
|
|
6874
7181
|
imageId: 'image_id',
|
|
7182
|
+
imageType: 'image_type',
|
|
6875
7183
|
instanceChargeType: 'instance_charge_type',
|
|
6876
7184
|
instanceTypes: 'instance_types',
|
|
6877
7185
|
internetChargeType: 'internet_charge_type',
|
|
6878
7186
|
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
6879
7187
|
keyPair: 'key_pair',
|
|
7188
|
+
loginAsNonRoot: 'login_as_non_root',
|
|
6880
7189
|
loginPassword: 'login_password',
|
|
6881
7190
|
multiAzPolicy: 'multi_az_policy',
|
|
6882
7191
|
onDemandBaseCapacity: 'on_demand_base_capacity',
|
|
@@ -6891,12 +7200,19 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
6891
7200
|
scalingPolicy: 'scaling_policy',
|
|
6892
7201
|
securityGroupId: 'security_group_id',
|
|
6893
7202
|
securityGroupIds: 'security_group_ids',
|
|
7203
|
+
socEnabled: 'soc_enabled',
|
|
6894
7204
|
spotInstancePools: 'spot_instance_pools',
|
|
6895
7205
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
6896
7206
|
spotPriceLimit: 'spot_price_limit',
|
|
6897
7207
|
spotStrategy: 'spot_strategy',
|
|
7208
|
+
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
7209
|
+
systemDiskCategories: 'system_disk_categories',
|
|
6898
7210
|
systemDiskCategory: 'system_disk_category',
|
|
7211
|
+
systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
|
|
7212
|
+
systemDiskEncrypted: 'system_disk_encrypted',
|
|
7213
|
+
systemDiskKmsKeyId: 'system_disk_kms_key_id',
|
|
6899
7214
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
7215
|
+
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
6900
7216
|
systemDiskSize: 'system_disk_size',
|
|
6901
7217
|
tags: 'tags',
|
|
6902
7218
|
vswitchIds: 'vswitch_ids',
|
|
@@ -6906,16 +7222,19 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
6906
7222
|
return {
|
|
6907
7223
|
autoRenew: 'boolean',
|
|
6908
7224
|
autoRenewPeriod: 'number',
|
|
7225
|
+
cisEnabled: 'boolean',
|
|
6909
7226
|
compensateWithOnDemand: 'boolean',
|
|
6910
7227
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
6911
7228
|
deploymentsetId: 'string',
|
|
6912
7229
|
desiredSize: 'number',
|
|
6913
7230
|
imageId: 'string',
|
|
7231
|
+
imageType: 'string',
|
|
6914
7232
|
instanceChargeType: 'string',
|
|
6915
7233
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
6916
7234
|
internetChargeType: 'string',
|
|
6917
7235
|
internetMaxBandwidthOut: 'number',
|
|
6918
7236
|
keyPair: 'string',
|
|
7237
|
+
loginAsNonRoot: 'boolean',
|
|
6919
7238
|
loginPassword: 'string',
|
|
6920
7239
|
multiAzPolicy: 'string',
|
|
6921
7240
|
onDemandBaseCapacity: 'number',
|
|
@@ -6930,12 +7249,19 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
6930
7249
|
scalingPolicy: 'string',
|
|
6931
7250
|
securityGroupId: 'string',
|
|
6932
7251
|
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
7252
|
+
socEnabled: 'boolean',
|
|
6933
7253
|
spotInstancePools: 'number',
|
|
6934
7254
|
spotInstanceRemedy: 'boolean',
|
|
6935
7255
|
spotPriceLimit: { 'type': 'array', 'itemType': DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit },
|
|
6936
7256
|
spotStrategy: 'string',
|
|
7257
|
+
systemDiskBurstingEnabled: 'boolean',
|
|
7258
|
+
systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
|
|
6937
7259
|
systemDiskCategory: 'string',
|
|
7260
|
+
systemDiskEncryptAlgorithm: 'string',
|
|
7261
|
+
systemDiskEncrypted: 'boolean',
|
|
7262
|
+
systemDiskKmsKeyId: 'string',
|
|
6938
7263
|
systemDiskPerformanceLevel: 'string',
|
|
7264
|
+
systemDiskProvisionedIops: 'number',
|
|
6939
7265
|
systemDiskSize: 'number',
|
|
6940
7266
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
6941
7267
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -7054,6 +7380,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $tea
|
|
|
7054
7380
|
runtime: 'runtime',
|
|
7055
7381
|
runtimeVersion: 'runtime_version',
|
|
7056
7382
|
taints: 'taints',
|
|
7383
|
+
unschedulable: 'unschedulable',
|
|
7057
7384
|
userData: 'user_data',
|
|
7058
7385
|
};
|
|
7059
7386
|
}
|
|
@@ -7066,6 +7393,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $tea
|
|
|
7066
7393
|
runtime: 'string',
|
|
7067
7394
|
runtimeVersion: 'string',
|
|
7068
7395
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
7396
|
+
unschedulable: 'boolean',
|
|
7069
7397
|
userData: 'string',
|
|
7070
7398
|
};
|
|
7071
7399
|
}
|
|
@@ -7263,16 +7591,19 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
7263
7591
|
return {
|
|
7264
7592
|
autoRenew: 'auto_renew',
|
|
7265
7593
|
autoRenewPeriod: 'auto_renew_period',
|
|
7594
|
+
cisEnabled: 'cis_enabled',
|
|
7266
7595
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
7267
7596
|
dataDisks: 'data_disks',
|
|
7268
7597
|
deploymentsetId: 'deploymentset_id',
|
|
7269
7598
|
desiredSize: 'desired_size',
|
|
7270
7599
|
imageId: 'image_id',
|
|
7600
|
+
imageType: 'image_type',
|
|
7271
7601
|
instanceChargeType: 'instance_charge_type',
|
|
7272
7602
|
instanceTypes: 'instance_types',
|
|
7273
7603
|
internetChargeType: 'internet_charge_type',
|
|
7274
7604
|
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
7275
7605
|
keyPair: 'key_pair',
|
|
7606
|
+
loginAsNonRoot: 'login_as_non_root',
|
|
7276
7607
|
loginPassword: 'login_password',
|
|
7277
7608
|
multiAzPolicy: 'multi_az_policy',
|
|
7278
7609
|
onDemandBaseCapacity: 'on_demand_base_capacity',
|
|
@@ -7287,12 +7618,19 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
7287
7618
|
scalingPolicy: 'scaling_policy',
|
|
7288
7619
|
securityGroupId: 'security_group_id',
|
|
7289
7620
|
securityGroupIds: 'security_group_ids',
|
|
7621
|
+
socEnabled: 'soc_enabled',
|
|
7290
7622
|
spotInstancePools: 'spot_instance_pools',
|
|
7291
7623
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
7292
7624
|
spotPriceLimit: 'spot_price_limit',
|
|
7293
7625
|
spotStrategy: 'spot_strategy',
|
|
7626
|
+
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
7627
|
+
systemDiskCategories: 'system_disk_categories',
|
|
7294
7628
|
systemDiskCategory: 'system_disk_category',
|
|
7629
|
+
systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
|
|
7630
|
+
systemDiskEncrypted: 'system_disk_encrypted',
|
|
7631
|
+
systemDiskKmsKeyId: 'system_disk_kms_key_id',
|
|
7295
7632
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
7633
|
+
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
7296
7634
|
systemDiskSize: 'system_disk_size',
|
|
7297
7635
|
tags: 'tags',
|
|
7298
7636
|
vswitchIds: 'vswitch_ids',
|
|
@@ -7302,16 +7640,19 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
7302
7640
|
return {
|
|
7303
7641
|
autoRenew: 'boolean',
|
|
7304
7642
|
autoRenewPeriod: 'number',
|
|
7643
|
+
cisEnabled: 'boolean',
|
|
7305
7644
|
compensateWithOnDemand: 'boolean',
|
|
7306
7645
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
7307
7646
|
deploymentsetId: 'string',
|
|
7308
7647
|
desiredSize: 'number',
|
|
7309
7648
|
imageId: 'string',
|
|
7649
|
+
imageType: 'string',
|
|
7310
7650
|
instanceChargeType: 'string',
|
|
7311
7651
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
7312
7652
|
internetChargeType: 'string',
|
|
7313
7653
|
internetMaxBandwidthOut: 'number',
|
|
7314
7654
|
keyPair: 'string',
|
|
7655
|
+
loginAsNonRoot: 'boolean',
|
|
7315
7656
|
loginPassword: 'string',
|
|
7316
7657
|
multiAzPolicy: 'string',
|
|
7317
7658
|
onDemandBaseCapacity: 'number',
|
|
@@ -7326,12 +7667,19 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
7326
7667
|
scalingPolicy: 'string',
|
|
7327
7668
|
securityGroupId: 'string',
|
|
7328
7669
|
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
7670
|
+
socEnabled: 'boolean',
|
|
7329
7671
|
spotInstancePools: 'number',
|
|
7330
7672
|
spotInstanceRemedy: 'boolean',
|
|
7331
7673
|
spotPriceLimit: { 'type': 'array', 'itemType': DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit },
|
|
7332
7674
|
spotStrategy: 'string',
|
|
7675
|
+
systemDiskBurstingEnabled: 'boolean',
|
|
7676
|
+
systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
|
|
7333
7677
|
systemDiskCategory: 'string',
|
|
7678
|
+
systemDiskEncryptAlgorithm: 'string',
|
|
7679
|
+
systemDiskEncrypted: 'boolean',
|
|
7680
|
+
systemDiskKmsKeyId: 'string',
|
|
7334
7681
|
systemDiskPerformanceLevel: 'string',
|
|
7682
|
+
systemDiskProvisionedIops: 'number',
|
|
7335
7683
|
systemDiskSize: 'number',
|
|
7336
7684
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
7337
7685
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -8617,6 +8965,28 @@ class FixNodePoolVulsRequestRolloutPolicy extends $tea.Model {
|
|
|
8617
8965
|
}
|
|
8618
8966
|
}
|
|
8619
8967
|
exports.FixNodePoolVulsRequestRolloutPolicy = FixNodePoolVulsRequestRolloutPolicy;
|
|
8968
|
+
class GetClusterAddonInstanceResponseBodyLogging extends $tea.Model {
|
|
8969
|
+
constructor(map) {
|
|
8970
|
+
super(map);
|
|
8971
|
+
}
|
|
8972
|
+
static names() {
|
|
8973
|
+
return {
|
|
8974
|
+
capable: 'capable',
|
|
8975
|
+
enabled: 'enabled',
|
|
8976
|
+
logProject: 'log_project',
|
|
8977
|
+
logstore: 'logstore',
|
|
8978
|
+
};
|
|
8979
|
+
}
|
|
8980
|
+
static types() {
|
|
8981
|
+
return {
|
|
8982
|
+
capable: 'boolean',
|
|
8983
|
+
enabled: 'boolean',
|
|
8984
|
+
logProject: 'string',
|
|
8985
|
+
logstore: 'string',
|
|
8986
|
+
};
|
|
8987
|
+
}
|
|
8988
|
+
}
|
|
8989
|
+
exports.GetClusterAddonInstanceResponseBodyLogging = GetClusterAddonInstanceResponseBodyLogging;
|
|
8620
8990
|
class GetKubernetesTriggerResponseBody extends $tea.Model {
|
|
8621
8991
|
constructor(map) {
|
|
8622
8992
|
super(map);
|
|
@@ -8709,6 +9079,56 @@ class InstallClusterAddonsRequestBody extends $tea.Model {
|
|
|
8709
9079
|
}
|
|
8710
9080
|
}
|
|
8711
9081
|
exports.InstallClusterAddonsRequestBody = InstallClusterAddonsRequestBody;
|
|
9082
|
+
class ListAddonsResponseBodyAddons extends $tea.Model {
|
|
9083
|
+
constructor(map) {
|
|
9084
|
+
super(map);
|
|
9085
|
+
}
|
|
9086
|
+
static names() {
|
|
9087
|
+
return {
|
|
9088
|
+
architecture: 'architecture',
|
|
9089
|
+
category: 'category',
|
|
9090
|
+
configSchema: 'config_schema',
|
|
9091
|
+
installByDefault: 'install_by_default',
|
|
9092
|
+
managed: 'managed',
|
|
9093
|
+
name: 'name',
|
|
9094
|
+
supportedActions: 'supported_actions',
|
|
9095
|
+
version: 'version',
|
|
9096
|
+
};
|
|
9097
|
+
}
|
|
9098
|
+
static types() {
|
|
9099
|
+
return {
|
|
9100
|
+
architecture: { 'type': 'array', 'itemType': 'string' },
|
|
9101
|
+
category: 'string',
|
|
9102
|
+
configSchema: 'string',
|
|
9103
|
+
installByDefault: 'boolean',
|
|
9104
|
+
managed: 'boolean',
|
|
9105
|
+
name: 'string',
|
|
9106
|
+
supportedActions: { 'type': 'array', 'itemType': 'string' },
|
|
9107
|
+
version: 'string',
|
|
9108
|
+
};
|
|
9109
|
+
}
|
|
9110
|
+
}
|
|
9111
|
+
exports.ListAddonsResponseBodyAddons = ListAddonsResponseBodyAddons;
|
|
9112
|
+
class ListClusterAddonInstancesResponseBodyAddons extends $tea.Model {
|
|
9113
|
+
constructor(map) {
|
|
9114
|
+
super(map);
|
|
9115
|
+
}
|
|
9116
|
+
static names() {
|
|
9117
|
+
return {
|
|
9118
|
+
name: 'name',
|
|
9119
|
+
state: 'state',
|
|
9120
|
+
version: 'version',
|
|
9121
|
+
};
|
|
9122
|
+
}
|
|
9123
|
+
static types() {
|
|
9124
|
+
return {
|
|
9125
|
+
name: 'string',
|
|
9126
|
+
state: 'string',
|
|
9127
|
+
version: 'string',
|
|
9128
|
+
};
|
|
9129
|
+
}
|
|
9130
|
+
}
|
|
9131
|
+
exports.ListClusterAddonInstancesResponseBodyAddons = ListClusterAddonInstancesResponseBodyAddons;
|
|
8712
9132
|
class ListClusterChecksResponseBodyChecks extends $tea.Model {
|
|
8713
9133
|
constructor(map) {
|
|
8714
9134
|
super(map);
|
|
@@ -9051,6 +9471,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
9051
9471
|
dataDisks: 'data_disks',
|
|
9052
9472
|
desiredSize: 'desired_size',
|
|
9053
9473
|
imageId: 'image_id',
|
|
9474
|
+
imageType: 'image_type',
|
|
9054
9475
|
instanceChargeType: 'instance_charge_type',
|
|
9055
9476
|
instanceTypes: 'instance_types',
|
|
9056
9477
|
internetChargeType: 'internet_charge_type',
|
|
@@ -9070,8 +9491,14 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
9070
9491
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
9071
9492
|
spotPriceLimit: 'spot_price_limit',
|
|
9072
9493
|
spotStrategy: 'spot_strategy',
|
|
9494
|
+
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
9495
|
+
systemDiskCategories: 'system_disk_categories',
|
|
9073
9496
|
systemDiskCategory: 'system_disk_category',
|
|
9497
|
+
systemDiskEncryptAlgorithm: 'system_disk_encrypt_algorithm',
|
|
9498
|
+
systemDiskEncrypted: 'system_disk_encrypted',
|
|
9499
|
+
systemDiskKmsKeyId: 'system_disk_kms_key_id',
|
|
9074
9500
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
9501
|
+
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
9075
9502
|
systemDiskSize: 'system_disk_size',
|
|
9076
9503
|
tags: 'tags',
|
|
9077
9504
|
vswitchIds: 'vswitch_ids',
|
|
@@ -9085,6 +9512,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
9085
9512
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
9086
9513
|
desiredSize: 'number',
|
|
9087
9514
|
imageId: 'string',
|
|
9515
|
+
imageType: 'string',
|
|
9088
9516
|
instanceChargeType: 'string',
|
|
9089
9517
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
9090
9518
|
internetChargeType: 'string',
|
|
@@ -9104,8 +9532,14 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
9104
9532
|
spotInstanceRemedy: 'boolean',
|
|
9105
9533
|
spotPriceLimit: { 'type': 'array', 'itemType': ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit },
|
|
9106
9534
|
spotStrategy: 'string',
|
|
9535
|
+
systemDiskBurstingEnabled: 'boolean',
|
|
9536
|
+
systemDiskCategories: { 'type': 'array', 'itemType': 'string' },
|
|
9107
9537
|
systemDiskCategory: 'string',
|
|
9538
|
+
systemDiskEncryptAlgorithm: 'string',
|
|
9539
|
+
systemDiskEncrypted: 'boolean',
|
|
9540
|
+
systemDiskKmsKeyId: 'string',
|
|
9108
9541
|
systemDiskPerformanceLevel: 'string',
|
|
9542
|
+
systemDiskProvisionedIops: 'number',
|
|
9109
9543
|
systemDiskSize: 'number',
|
|
9110
9544
|
tags: { 'type': 'array', 'itemType': Tag },
|
|
9111
9545
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -9459,6 +9893,28 @@ class Client extends openapi_client_1.default {
|
|
|
9459
9893
|
let headers = {};
|
|
9460
9894
|
return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
|
|
9461
9895
|
}
|
|
9896
|
+
async cancelOperationPlanWithOptions(planId, headers, runtime) {
|
|
9897
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9898
|
+
headers: headers,
|
|
9899
|
+
});
|
|
9900
|
+
let params = new $OpenApi.Params({
|
|
9901
|
+
action: "CancelOperationPlan",
|
|
9902
|
+
version: "2015-12-15",
|
|
9903
|
+
protocol: "HTTPS",
|
|
9904
|
+
pathname: `/operation/plans/${openapi_util_1.default.getEncodeParam(planId)}`,
|
|
9905
|
+
method: "DELETE",
|
|
9906
|
+
authType: "AK",
|
|
9907
|
+
style: "ROA",
|
|
9908
|
+
reqBodyType: "json",
|
|
9909
|
+
bodyType: "json",
|
|
9910
|
+
});
|
|
9911
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
|
|
9912
|
+
}
|
|
9913
|
+
async cancelOperationPlan(planId) {
|
|
9914
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9915
|
+
let headers = {};
|
|
9916
|
+
return await this.cancelOperationPlanWithOptions(planId, headers, runtime);
|
|
9917
|
+
}
|
|
9462
9918
|
async cancelTaskWithOptions(taskId, headers, runtime) {
|
|
9463
9919
|
let req = new $OpenApi.OpenApiRequest({
|
|
9464
9920
|
headers: headers,
|
|
@@ -9917,6 +10373,9 @@ class Client extends openapi_client_1.default {
|
|
|
9917
10373
|
if (!tea_util_1.default.isUnset(request.maxNodes)) {
|
|
9918
10374
|
body["max_nodes"] = request.maxNodes;
|
|
9919
10375
|
}
|
|
10376
|
+
if (!tea_util_1.default.isUnset(request.nodeConfig)) {
|
|
10377
|
+
body["node_config"] = request.nodeConfig;
|
|
10378
|
+
}
|
|
9920
10379
|
if (!tea_util_1.default.isUnset(request.nodepoolInfo)) {
|
|
9921
10380
|
body["nodepool_info"] = request.nodepoolInfo;
|
|
9922
10381
|
}
|
|
@@ -11789,6 +12248,28 @@ class Client extends openapi_client_1.default {
|
|
|
11789
12248
|
let headers = {};
|
|
11790
12249
|
return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
11791
12250
|
}
|
|
12251
|
+
async getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime) {
|
|
12252
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12253
|
+
headers: headers,
|
|
12254
|
+
});
|
|
12255
|
+
let params = new $OpenApi.Params({
|
|
12256
|
+
action: "GetClusterAddonInstance",
|
|
12257
|
+
version: "2015-12-15",
|
|
12258
|
+
protocol: "HTTPS",
|
|
12259
|
+
pathname: `/clusters/${openapi_util_1.default.getEncodeParam(clusterId)}/addon_instances/${openapi_util_1.default.getEncodeParam(instanceName)}`,
|
|
12260
|
+
method: "GET",
|
|
12261
|
+
authType: "AK",
|
|
12262
|
+
style: "ROA",
|
|
12263
|
+
reqBodyType: "json",
|
|
12264
|
+
bodyType: "json",
|
|
12265
|
+
});
|
|
12266
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
|
|
12267
|
+
}
|
|
12268
|
+
async getClusterAddonInstance(clusterId, instanceName) {
|
|
12269
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12270
|
+
let headers = {};
|
|
12271
|
+
return await this.getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime);
|
|
12272
|
+
}
|
|
11792
12273
|
async getClusterCheckWithOptions(clusterId, checkId, headers, runtime) {
|
|
11793
12274
|
let req = new $OpenApi.OpenApiRequest({
|
|
11794
12275
|
headers: headers,
|
|
@@ -11938,6 +12419,71 @@ class Client extends openapi_client_1.default {
|
|
|
11938
12419
|
let headers = {};
|
|
11939
12420
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
11940
12421
|
}
|
|
12422
|
+
async listAddonsWithOptions(request, headers, runtime) {
|
|
12423
|
+
tea_util_1.default.validateModel(request);
|
|
12424
|
+
let query = {};
|
|
12425
|
+
if (!tea_util_1.default.isUnset(request.clusterId)) {
|
|
12426
|
+
query["cluster_id"] = request.clusterId;
|
|
12427
|
+
}
|
|
12428
|
+
if (!tea_util_1.default.isUnset(request.clusterSpec)) {
|
|
12429
|
+
query["cluster_spec"] = request.clusterSpec;
|
|
12430
|
+
}
|
|
12431
|
+
if (!tea_util_1.default.isUnset(request.clusterType)) {
|
|
12432
|
+
query["cluster_type"] = request.clusterType;
|
|
12433
|
+
}
|
|
12434
|
+
if (!tea_util_1.default.isUnset(request.clusterVersion)) {
|
|
12435
|
+
query["cluster_version"] = request.clusterVersion;
|
|
12436
|
+
}
|
|
12437
|
+
if (!tea_util_1.default.isUnset(request.profile)) {
|
|
12438
|
+
query["profile"] = request.profile;
|
|
12439
|
+
}
|
|
12440
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
12441
|
+
query["region_id"] = request.regionId;
|
|
12442
|
+
}
|
|
12443
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12444
|
+
headers: headers,
|
|
12445
|
+
query: openapi_util_1.default.query(query),
|
|
12446
|
+
});
|
|
12447
|
+
let params = new $OpenApi.Params({
|
|
12448
|
+
action: "ListAddons",
|
|
12449
|
+
version: "2015-12-15",
|
|
12450
|
+
protocol: "HTTPS",
|
|
12451
|
+
pathname: `/addons`,
|
|
12452
|
+
method: "GET",
|
|
12453
|
+
authType: "AK",
|
|
12454
|
+
style: "ROA",
|
|
12455
|
+
reqBodyType: "json",
|
|
12456
|
+
bodyType: "json",
|
|
12457
|
+
});
|
|
12458
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
|
|
12459
|
+
}
|
|
12460
|
+
async listAddons(request) {
|
|
12461
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12462
|
+
let headers = {};
|
|
12463
|
+
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
12464
|
+
}
|
|
12465
|
+
async listClusterAddonInstancesWithOptions(clusterId, headers, runtime) {
|
|
12466
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12467
|
+
headers: headers,
|
|
12468
|
+
});
|
|
12469
|
+
let params = new $OpenApi.Params({
|
|
12470
|
+
action: "ListClusterAddonInstances",
|
|
12471
|
+
version: "2015-12-15",
|
|
12472
|
+
protocol: "HTTPS",
|
|
12473
|
+
pathname: `/clusters/${openapi_util_1.default.getEncodeParam(clusterId)}/addon_instances`,
|
|
12474
|
+
method: "GET",
|
|
12475
|
+
authType: "AK",
|
|
12476
|
+
style: "ROA",
|
|
12477
|
+
reqBodyType: "json",
|
|
12478
|
+
bodyType: "json",
|
|
12479
|
+
});
|
|
12480
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
|
|
12481
|
+
}
|
|
12482
|
+
async listClusterAddonInstances(clusterId) {
|
|
12483
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12484
|
+
let headers = {};
|
|
12485
|
+
return await this.listClusterAddonInstancesWithOptions(clusterId, headers, runtime);
|
|
12486
|
+
}
|
|
11941
12487
|
async listClusterChecksWithOptions(clusterId, request, headers, runtime) {
|
|
11942
12488
|
tea_util_1.default.validateModel(request);
|
|
11943
12489
|
let query = {};
|