@alicloud/cs20151215 3.0.26 → 3.0.27
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 +195 -0
- package/dist/client.js +279 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +348 -0
package/dist/client.d.ts
CHANGED
|
@@ -19,10 +19,13 @@ export declare class Addon extends $tea.Model {
|
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
export declare class DataDisk extends $tea.Model {
|
|
22
|
+
autoFormat?: boolean;
|
|
22
23
|
autoSnapshotPolicyId?: string;
|
|
23
24
|
burstingEnabled?: boolean;
|
|
24
25
|
category?: string;
|
|
25
26
|
encrypted?: string;
|
|
27
|
+
fileSystem?: string;
|
|
28
|
+
mountTarget?: string;
|
|
26
29
|
performanceLevel?: string;
|
|
27
30
|
provisionedIops?: number;
|
|
28
31
|
size?: number;
|
|
@@ -2875,6 +2878,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
2875
2878
|
instanceDeletionProtection?: boolean;
|
|
2876
2879
|
maintenanceWindow?: MaintenanceWindow;
|
|
2877
2880
|
resourceGroupId?: string;
|
|
2881
|
+
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
2878
2882
|
static names(): {
|
|
2879
2883
|
[key: string]: string;
|
|
2880
2884
|
};
|
|
@@ -4352,6 +4356,43 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
4352
4356
|
[key: string]: any;
|
|
4353
4357
|
});
|
|
4354
4358
|
}
|
|
4359
|
+
export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
4360
|
+
restartNode?: boolean;
|
|
4361
|
+
static names(): {
|
|
4362
|
+
[key: string]: string;
|
|
4363
|
+
};
|
|
4364
|
+
static types(): {
|
|
4365
|
+
[key: string]: any;
|
|
4366
|
+
};
|
|
4367
|
+
constructor(map?: {
|
|
4368
|
+
[key: string]: any;
|
|
4369
|
+
});
|
|
4370
|
+
}
|
|
4371
|
+
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
4372
|
+
autoUpgradeKubelet?: boolean;
|
|
4373
|
+
static names(): {
|
|
4374
|
+
[key: string]: string;
|
|
4375
|
+
};
|
|
4376
|
+
static types(): {
|
|
4377
|
+
[key: string]: any;
|
|
4378
|
+
};
|
|
4379
|
+
constructor(map?: {
|
|
4380
|
+
[key: string]: any;
|
|
4381
|
+
});
|
|
4382
|
+
}
|
|
4383
|
+
export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
4384
|
+
restartNode?: boolean;
|
|
4385
|
+
vulLevel?: string;
|
|
4386
|
+
static names(): {
|
|
4387
|
+
[key: string]: string;
|
|
4388
|
+
};
|
|
4389
|
+
static types(): {
|
|
4390
|
+
[key: string]: any;
|
|
4391
|
+
};
|
|
4392
|
+
constructor(map?: {
|
|
4393
|
+
[key: string]: any;
|
|
4394
|
+
});
|
|
4395
|
+
}
|
|
4355
4396
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
4356
4397
|
autoUpgrade?: boolean;
|
|
4357
4398
|
maxUnavailable?: number;
|
|
@@ -4369,6 +4410,11 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
4369
4410
|
}
|
|
4370
4411
|
export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
4371
4412
|
autoRepair?: boolean;
|
|
4413
|
+
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
4414
|
+
autoUpgrade?: boolean;
|
|
4415
|
+
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
4416
|
+
autoVulFix?: boolean;
|
|
4417
|
+
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
4372
4418
|
enable?: boolean;
|
|
4373
4419
|
upgradeConfig?: CreateClusterNodePoolRequestManagementUpgradeConfig;
|
|
4374
4420
|
static names(): {
|
|
@@ -4633,6 +4679,43 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
4633
4679
|
[key: string]: any;
|
|
4634
4680
|
});
|
|
4635
4681
|
}
|
|
4682
|
+
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy extends $tea.Model {
|
|
4683
|
+
restartNode?: boolean;
|
|
4684
|
+
static names(): {
|
|
4685
|
+
[key: string]: string;
|
|
4686
|
+
};
|
|
4687
|
+
static types(): {
|
|
4688
|
+
[key: string]: any;
|
|
4689
|
+
};
|
|
4690
|
+
constructor(map?: {
|
|
4691
|
+
[key: string]: any;
|
|
4692
|
+
});
|
|
4693
|
+
}
|
|
4694
|
+
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $tea.Model {
|
|
4695
|
+
autoUpgradeKubelet?: boolean;
|
|
4696
|
+
static names(): {
|
|
4697
|
+
[key: string]: string;
|
|
4698
|
+
};
|
|
4699
|
+
static types(): {
|
|
4700
|
+
[key: string]: any;
|
|
4701
|
+
};
|
|
4702
|
+
constructor(map?: {
|
|
4703
|
+
[key: string]: any;
|
|
4704
|
+
});
|
|
4705
|
+
}
|
|
4706
|
+
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $tea.Model {
|
|
4707
|
+
restartNode?: boolean;
|
|
4708
|
+
vulLevel?: string;
|
|
4709
|
+
static names(): {
|
|
4710
|
+
[key: string]: string;
|
|
4711
|
+
};
|
|
4712
|
+
static types(): {
|
|
4713
|
+
[key: string]: any;
|
|
4714
|
+
};
|
|
4715
|
+
constructor(map?: {
|
|
4716
|
+
[key: string]: any;
|
|
4717
|
+
});
|
|
4718
|
+
}
|
|
4636
4719
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig extends $tea.Model {
|
|
4637
4720
|
autoUpgrade?: boolean;
|
|
4638
4721
|
maxUnavailable?: number;
|
|
@@ -4650,6 +4733,11 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeC
|
|
|
4650
4733
|
}
|
|
4651
4734
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Model {
|
|
4652
4735
|
autoRepair?: boolean;
|
|
4736
|
+
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
4737
|
+
autoUpgrade?: boolean;
|
|
4738
|
+
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
4739
|
+
autoVulFix?: boolean;
|
|
4740
|
+
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
4653
4741
|
enable?: boolean;
|
|
4654
4742
|
upgradeConfig?: DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig;
|
|
4655
4743
|
static names(): {
|
|
@@ -4849,6 +4937,43 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
4849
4937
|
[key: string]: any;
|
|
4850
4938
|
});
|
|
4851
4939
|
}
|
|
4940
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $tea.Model {
|
|
4941
|
+
restartNode?: boolean;
|
|
4942
|
+
static names(): {
|
|
4943
|
+
[key: string]: string;
|
|
4944
|
+
};
|
|
4945
|
+
static types(): {
|
|
4946
|
+
[key: string]: any;
|
|
4947
|
+
};
|
|
4948
|
+
constructor(map?: {
|
|
4949
|
+
[key: string]: any;
|
|
4950
|
+
});
|
|
4951
|
+
}
|
|
4952
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $tea.Model {
|
|
4953
|
+
autoUpgradeKubelet?: boolean;
|
|
4954
|
+
static names(): {
|
|
4955
|
+
[key: string]: string;
|
|
4956
|
+
};
|
|
4957
|
+
static types(): {
|
|
4958
|
+
[key: string]: any;
|
|
4959
|
+
};
|
|
4960
|
+
constructor(map?: {
|
|
4961
|
+
[key: string]: any;
|
|
4962
|
+
});
|
|
4963
|
+
}
|
|
4964
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy extends $tea.Model {
|
|
4965
|
+
restartNode?: boolean;
|
|
4966
|
+
vulLevel?: string;
|
|
4967
|
+
static names(): {
|
|
4968
|
+
[key: string]: string;
|
|
4969
|
+
};
|
|
4970
|
+
static types(): {
|
|
4971
|
+
[key: string]: any;
|
|
4972
|
+
};
|
|
4973
|
+
constructor(map?: {
|
|
4974
|
+
[key: string]: any;
|
|
4975
|
+
});
|
|
4976
|
+
}
|
|
4852
4977
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $tea.Model {
|
|
4853
4978
|
autoUpgrade?: boolean;
|
|
4854
4979
|
maxUnavailable?: number;
|
|
@@ -4866,6 +4991,11 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
4866
4991
|
}
|
|
4867
4992
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $tea.Model {
|
|
4868
4993
|
autoRepair?: boolean;
|
|
4994
|
+
autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
4995
|
+
autoUpgrade?: boolean;
|
|
4996
|
+
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
4997
|
+
autoVulFix?: boolean;
|
|
4998
|
+
autoVulFixPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy;
|
|
4869
4999
|
enable?: boolean;
|
|
4870
5000
|
upgradeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig;
|
|
4871
5001
|
static names(): {
|
|
@@ -5911,6 +6041,19 @@ export declare class ListTagResourcesResponseBodyTagResources extends $tea.Model
|
|
|
5911
6041
|
[key: string]: any;
|
|
5912
6042
|
});
|
|
5913
6043
|
}
|
|
6044
|
+
export declare class ModifyClusterRequestSystemEventsLogging extends $tea.Model {
|
|
6045
|
+
enabled?: boolean;
|
|
6046
|
+
loggingProject?: string;
|
|
6047
|
+
static names(): {
|
|
6048
|
+
[key: string]: string;
|
|
6049
|
+
};
|
|
6050
|
+
static types(): {
|
|
6051
|
+
[key: string]: any;
|
|
6052
|
+
};
|
|
6053
|
+
constructor(map?: {
|
|
6054
|
+
[key: string]: any;
|
|
6055
|
+
});
|
|
6056
|
+
}
|
|
5914
6057
|
export declare class ModifyClusterConfigurationRequestCustomizeConfigConfigs extends $tea.Model {
|
|
5915
6058
|
key?: string;
|
|
5916
6059
|
value?: string;
|
|
@@ -5973,6 +6116,43 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
5973
6116
|
[key: string]: any;
|
|
5974
6117
|
});
|
|
5975
6118
|
}
|
|
6119
|
+
export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
6120
|
+
restartNode?: boolean;
|
|
6121
|
+
static names(): {
|
|
6122
|
+
[key: string]: string;
|
|
6123
|
+
};
|
|
6124
|
+
static types(): {
|
|
6125
|
+
[key: string]: any;
|
|
6126
|
+
};
|
|
6127
|
+
constructor(map?: {
|
|
6128
|
+
[key: string]: any;
|
|
6129
|
+
});
|
|
6130
|
+
}
|
|
6131
|
+
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
6132
|
+
autoUpgradeKubelet?: boolean;
|
|
6133
|
+
static names(): {
|
|
6134
|
+
[key: string]: string;
|
|
6135
|
+
};
|
|
6136
|
+
static types(): {
|
|
6137
|
+
[key: string]: any;
|
|
6138
|
+
};
|
|
6139
|
+
constructor(map?: {
|
|
6140
|
+
[key: string]: any;
|
|
6141
|
+
});
|
|
6142
|
+
}
|
|
6143
|
+
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
6144
|
+
restartNode?: boolean;
|
|
6145
|
+
vulLevel?: string;
|
|
6146
|
+
static names(): {
|
|
6147
|
+
[key: string]: string;
|
|
6148
|
+
};
|
|
6149
|
+
static types(): {
|
|
6150
|
+
[key: string]: any;
|
|
6151
|
+
};
|
|
6152
|
+
constructor(map?: {
|
|
6153
|
+
[key: string]: any;
|
|
6154
|
+
});
|
|
6155
|
+
}
|
|
5976
6156
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
5977
6157
|
autoUpgrade?: boolean;
|
|
5978
6158
|
maxUnavailable?: number;
|
|
@@ -5990,6 +6170,11 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
5990
6170
|
}
|
|
5991
6171
|
export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
5992
6172
|
autoRepair?: boolean;
|
|
6173
|
+
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
6174
|
+
autoUpgrade?: boolean;
|
|
6175
|
+
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
6176
|
+
autoVulFix?: boolean;
|
|
6177
|
+
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
5993
6178
|
enable?: boolean;
|
|
5994
6179
|
upgradeConfig?: ModifyClusterNodePoolRequestManagementUpgradeConfig;
|
|
5995
6180
|
static names(): {
|
|
@@ -6701,6 +6886,11 @@ export default class Client extends OpenApi {
|
|
|
6701
6886
|
pauseTask(taskId: string): Promise<PauseTaskResponse>;
|
|
6702
6887
|
/**
|
|
6703
6888
|
* @deprecated
|
|
6889
|
+
* ****
|
|
6890
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
6891
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
6892
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
6893
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
6704
6894
|
*
|
|
6705
6895
|
* @param request RemoveClusterNodesRequest
|
|
6706
6896
|
* @param headers map
|
|
@@ -6712,6 +6902,11 @@ export default class Client extends OpenApi {
|
|
|
6712
6902
|
}, runtime: $Util.RuntimeOptions): Promise<RemoveClusterNodesResponse>;
|
|
6713
6903
|
/**
|
|
6714
6904
|
* @deprecated
|
|
6905
|
+
* ****
|
|
6906
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
6907
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
6908
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
6909
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
6715
6910
|
*
|
|
6716
6911
|
* @param request RemoveClusterNodesRequest
|
|
6717
6912
|
* @return RemoveClusterNodesResponse
|
package/dist/client.js
CHANGED
|
@@ -45,10 +45,13 @@ class DataDisk extends $tea.Model {
|
|
|
45
45
|
}
|
|
46
46
|
static names() {
|
|
47
47
|
return {
|
|
48
|
+
autoFormat: 'auto_format',
|
|
48
49
|
autoSnapshotPolicyId: 'auto_snapshot_policy_id',
|
|
49
50
|
burstingEnabled: 'bursting_enabled',
|
|
50
51
|
category: 'category',
|
|
51
52
|
encrypted: 'encrypted',
|
|
53
|
+
fileSystem: 'file_system',
|
|
54
|
+
mountTarget: 'mount_target',
|
|
52
55
|
performanceLevel: 'performance_level',
|
|
53
56
|
provisionedIops: 'provisioned_iops',
|
|
54
57
|
size: 'size',
|
|
@@ -56,10 +59,13 @@ class DataDisk extends $tea.Model {
|
|
|
56
59
|
}
|
|
57
60
|
static types() {
|
|
58
61
|
return {
|
|
62
|
+
autoFormat: 'boolean',
|
|
59
63
|
autoSnapshotPolicyId: 'string',
|
|
60
64
|
burstingEnabled: 'boolean',
|
|
61
65
|
category: 'string',
|
|
62
66
|
encrypted: 'string',
|
|
67
|
+
fileSystem: 'string',
|
|
68
|
+
mountTarget: 'string',
|
|
63
69
|
performanceLevel: 'string',
|
|
64
70
|
provisionedIops: 'number',
|
|
65
71
|
size: 'number',
|
|
@@ -3954,6 +3960,7 @@ class ModifyClusterRequest extends $tea.Model {
|
|
|
3954
3960
|
instanceDeletionProtection: 'instance_deletion_protection',
|
|
3955
3961
|
maintenanceWindow: 'maintenance_window',
|
|
3956
3962
|
resourceGroupId: 'resource_group_id',
|
|
3963
|
+
systemEventsLogging: 'system_events_logging',
|
|
3957
3964
|
};
|
|
3958
3965
|
}
|
|
3959
3966
|
static types() {
|
|
@@ -3969,6 +3976,7 @@ class ModifyClusterRequest extends $tea.Model {
|
|
|
3969
3976
|
instanceDeletionProtection: 'boolean',
|
|
3970
3977
|
maintenanceWindow: MaintenanceWindow,
|
|
3971
3978
|
resourceGroupId: 'string',
|
|
3979
|
+
systemEventsLogging: ModifyClusterRequestSystemEventsLogging,
|
|
3972
3980
|
};
|
|
3973
3981
|
}
|
|
3974
3982
|
}
|
|
@@ -5999,6 +6007,56 @@ class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
5999
6007
|
}
|
|
6000
6008
|
}
|
|
6001
6009
|
exports.CreateClusterNodePoolRequestKubernetesConfig = CreateClusterNodePoolRequestKubernetesConfig;
|
|
6010
|
+
class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
6011
|
+
constructor(map) {
|
|
6012
|
+
super(map);
|
|
6013
|
+
}
|
|
6014
|
+
static names() {
|
|
6015
|
+
return {
|
|
6016
|
+
restartNode: 'restart_node',
|
|
6017
|
+
};
|
|
6018
|
+
}
|
|
6019
|
+
static types() {
|
|
6020
|
+
return {
|
|
6021
|
+
restartNode: 'boolean',
|
|
6022
|
+
};
|
|
6023
|
+
}
|
|
6024
|
+
}
|
|
6025
|
+
exports.CreateClusterNodePoolRequestManagementAutoRepairPolicy = CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
6026
|
+
class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
6027
|
+
constructor(map) {
|
|
6028
|
+
super(map);
|
|
6029
|
+
}
|
|
6030
|
+
static names() {
|
|
6031
|
+
return {
|
|
6032
|
+
autoUpgradeKubelet: 'auto_upgrade_kubelet',
|
|
6033
|
+
};
|
|
6034
|
+
}
|
|
6035
|
+
static types() {
|
|
6036
|
+
return {
|
|
6037
|
+
autoUpgradeKubelet: 'boolean',
|
|
6038
|
+
};
|
|
6039
|
+
}
|
|
6040
|
+
}
|
|
6041
|
+
exports.CreateClusterNodePoolRequestManagementAutoUpgradePolicy = CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
6042
|
+
class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
6043
|
+
constructor(map) {
|
|
6044
|
+
super(map);
|
|
6045
|
+
}
|
|
6046
|
+
static names() {
|
|
6047
|
+
return {
|
|
6048
|
+
restartNode: 'restart_node',
|
|
6049
|
+
vulLevel: 'vul_level',
|
|
6050
|
+
};
|
|
6051
|
+
}
|
|
6052
|
+
static types() {
|
|
6053
|
+
return {
|
|
6054
|
+
restartNode: 'boolean',
|
|
6055
|
+
vulLevel: 'string',
|
|
6056
|
+
};
|
|
6057
|
+
}
|
|
6058
|
+
}
|
|
6059
|
+
exports.CreateClusterNodePoolRequestManagementAutoVulFixPolicy = CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
6002
6060
|
class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
6003
6061
|
constructor(map) {
|
|
6004
6062
|
super(map);
|
|
@@ -6028,6 +6086,11 @@ class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
6028
6086
|
static names() {
|
|
6029
6087
|
return {
|
|
6030
6088
|
autoRepair: 'auto_repair',
|
|
6089
|
+
autoRepairPolicy: 'auto_repair_policy',
|
|
6090
|
+
autoUpgrade: 'auto_upgrade',
|
|
6091
|
+
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
6092
|
+
autoVulFix: 'auto_vul_fix',
|
|
6093
|
+
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
6031
6094
|
enable: 'enable',
|
|
6032
6095
|
upgradeConfig: 'upgrade_config',
|
|
6033
6096
|
};
|
|
@@ -6035,6 +6098,11 @@ class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
6035
6098
|
static types() {
|
|
6036
6099
|
return {
|
|
6037
6100
|
autoRepair: 'boolean',
|
|
6101
|
+
autoRepairPolicy: CreateClusterNodePoolRequestManagementAutoRepairPolicy,
|
|
6102
|
+
autoUpgrade: 'boolean',
|
|
6103
|
+
autoUpgradePolicy: CreateClusterNodePoolRequestManagementAutoUpgradePolicy,
|
|
6104
|
+
autoVulFix: 'boolean',
|
|
6105
|
+
autoVulFixPolicy: CreateClusterNodePoolRequestManagementAutoVulFixPolicy,
|
|
6038
6106
|
enable: 'boolean',
|
|
6039
6107
|
upgradeConfig: CreateClusterNodePoolRequestManagementUpgradeConfig,
|
|
6040
6108
|
};
|
|
@@ -6425,6 +6493,56 @@ class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $tea.Mod
|
|
|
6425
6493
|
}
|
|
6426
6494
|
}
|
|
6427
6495
|
exports.DescribeClusterNodePoolDetailResponseBodyKubernetesConfig = DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
|
|
6496
|
+
class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy extends $tea.Model {
|
|
6497
|
+
constructor(map) {
|
|
6498
|
+
super(map);
|
|
6499
|
+
}
|
|
6500
|
+
static names() {
|
|
6501
|
+
return {
|
|
6502
|
+
restartNode: 'restart_node',
|
|
6503
|
+
};
|
|
6504
|
+
}
|
|
6505
|
+
static types() {
|
|
6506
|
+
return {
|
|
6507
|
+
restartNode: 'boolean',
|
|
6508
|
+
};
|
|
6509
|
+
}
|
|
6510
|
+
}
|
|
6511
|
+
exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy = DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
6512
|
+
class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $tea.Model {
|
|
6513
|
+
constructor(map) {
|
|
6514
|
+
super(map);
|
|
6515
|
+
}
|
|
6516
|
+
static names() {
|
|
6517
|
+
return {
|
|
6518
|
+
autoUpgradeKubelet: 'auto_upgrade_kubelet',
|
|
6519
|
+
};
|
|
6520
|
+
}
|
|
6521
|
+
static types() {
|
|
6522
|
+
return {
|
|
6523
|
+
autoUpgradeKubelet: 'boolean',
|
|
6524
|
+
};
|
|
6525
|
+
}
|
|
6526
|
+
}
|
|
6527
|
+
exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy = DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
6528
|
+
class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $tea.Model {
|
|
6529
|
+
constructor(map) {
|
|
6530
|
+
super(map);
|
|
6531
|
+
}
|
|
6532
|
+
static names() {
|
|
6533
|
+
return {
|
|
6534
|
+
restartNode: 'restart_node',
|
|
6535
|
+
vulLevel: 'vul_level',
|
|
6536
|
+
};
|
|
6537
|
+
}
|
|
6538
|
+
static types() {
|
|
6539
|
+
return {
|
|
6540
|
+
restartNode: 'boolean',
|
|
6541
|
+
vulLevel: 'string',
|
|
6542
|
+
};
|
|
6543
|
+
}
|
|
6544
|
+
}
|
|
6545
|
+
exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy = DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
6428
6546
|
class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig extends $tea.Model {
|
|
6429
6547
|
constructor(map) {
|
|
6430
6548
|
super(map);
|
|
@@ -6454,6 +6572,11 @@ class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Model {
|
|
|
6454
6572
|
static names() {
|
|
6455
6573
|
return {
|
|
6456
6574
|
autoRepair: 'auto_repair',
|
|
6575
|
+
autoRepairPolicy: 'auto_repair_policy',
|
|
6576
|
+
autoUpgrade: 'auto_upgrade',
|
|
6577
|
+
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
6578
|
+
autoVulFix: 'auto_vul_fix',
|
|
6579
|
+
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
6457
6580
|
enable: 'enable',
|
|
6458
6581
|
upgradeConfig: 'upgrade_config',
|
|
6459
6582
|
};
|
|
@@ -6461,6 +6584,11 @@ class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Model {
|
|
|
6461
6584
|
static types() {
|
|
6462
6585
|
return {
|
|
6463
6586
|
autoRepair: 'boolean',
|
|
6587
|
+
autoRepairPolicy: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy,
|
|
6588
|
+
autoUpgrade: 'boolean',
|
|
6589
|
+
autoUpgradePolicy: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy,
|
|
6590
|
+
autoVulFix: 'boolean',
|
|
6591
|
+
autoVulFixPolicy: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy,
|
|
6464
6592
|
enable: 'boolean',
|
|
6465
6593
|
upgradeConfig: DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig,
|
|
6466
6594
|
};
|
|
@@ -6761,6 +6889,56 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $tea
|
|
|
6761
6889
|
}
|
|
6762
6890
|
}
|
|
6763
6891
|
exports.DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig = DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig;
|
|
6892
|
+
class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $tea.Model {
|
|
6893
|
+
constructor(map) {
|
|
6894
|
+
super(map);
|
|
6895
|
+
}
|
|
6896
|
+
static names() {
|
|
6897
|
+
return {
|
|
6898
|
+
restartNode: 'restart_node',
|
|
6899
|
+
};
|
|
6900
|
+
}
|
|
6901
|
+
static types() {
|
|
6902
|
+
return {
|
|
6903
|
+
restartNode: 'boolean',
|
|
6904
|
+
};
|
|
6905
|
+
}
|
|
6906
|
+
}
|
|
6907
|
+
exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy = DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
6908
|
+
class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $tea.Model {
|
|
6909
|
+
constructor(map) {
|
|
6910
|
+
super(map);
|
|
6911
|
+
}
|
|
6912
|
+
static names() {
|
|
6913
|
+
return {
|
|
6914
|
+
autoUpgradeKubelet: 'auto_upgrade_kubelet',
|
|
6915
|
+
};
|
|
6916
|
+
}
|
|
6917
|
+
static types() {
|
|
6918
|
+
return {
|
|
6919
|
+
autoUpgradeKubelet: 'boolean',
|
|
6920
|
+
};
|
|
6921
|
+
}
|
|
6922
|
+
}
|
|
6923
|
+
exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy = DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
6924
|
+
class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy extends $tea.Model {
|
|
6925
|
+
constructor(map) {
|
|
6926
|
+
super(map);
|
|
6927
|
+
}
|
|
6928
|
+
static names() {
|
|
6929
|
+
return {
|
|
6930
|
+
restartNode: 'restart_node',
|
|
6931
|
+
vulLevel: 'vul_level',
|
|
6932
|
+
};
|
|
6933
|
+
}
|
|
6934
|
+
static types() {
|
|
6935
|
+
return {
|
|
6936
|
+
restartNode: 'boolean',
|
|
6937
|
+
vulLevel: 'string',
|
|
6938
|
+
};
|
|
6939
|
+
}
|
|
6940
|
+
}
|
|
6941
|
+
exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy = DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy;
|
|
6764
6942
|
class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $tea.Model {
|
|
6765
6943
|
constructor(map) {
|
|
6766
6944
|
super(map);
|
|
@@ -6790,6 +6968,11 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $tea.Model
|
|
|
6790
6968
|
static names() {
|
|
6791
6969
|
return {
|
|
6792
6970
|
autoRepair: 'auto_repair',
|
|
6971
|
+
autoRepairPolicy: 'auto_repair_policy',
|
|
6972
|
+
autoUpgrade: 'auto_upgrade',
|
|
6973
|
+
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
6974
|
+
autoVulFix: 'auto_vul_fix',
|
|
6975
|
+
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
6793
6976
|
enable: 'enable',
|
|
6794
6977
|
upgradeConfig: 'upgrade_config',
|
|
6795
6978
|
};
|
|
@@ -6797,6 +6980,11 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $tea.Model
|
|
|
6797
6980
|
static types() {
|
|
6798
6981
|
return {
|
|
6799
6982
|
autoRepair: 'boolean',
|
|
6983
|
+
autoRepairPolicy: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy,
|
|
6984
|
+
autoUpgrade: 'boolean',
|
|
6985
|
+
autoUpgradePolicy: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy,
|
|
6986
|
+
autoVulFix: 'boolean',
|
|
6987
|
+
autoVulFixPolicy: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy,
|
|
6800
6988
|
enable: 'boolean',
|
|
6801
6989
|
upgradeConfig: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig,
|
|
6802
6990
|
};
|
|
@@ -8377,6 +8565,24 @@ class ListTagResourcesResponseBodyTagResources extends $tea.Model {
|
|
|
8377
8565
|
}
|
|
8378
8566
|
}
|
|
8379
8567
|
exports.ListTagResourcesResponseBodyTagResources = ListTagResourcesResponseBodyTagResources;
|
|
8568
|
+
class ModifyClusterRequestSystemEventsLogging extends $tea.Model {
|
|
8569
|
+
constructor(map) {
|
|
8570
|
+
super(map);
|
|
8571
|
+
}
|
|
8572
|
+
static names() {
|
|
8573
|
+
return {
|
|
8574
|
+
enabled: 'enabled',
|
|
8575
|
+
loggingProject: 'logging_project',
|
|
8576
|
+
};
|
|
8577
|
+
}
|
|
8578
|
+
static types() {
|
|
8579
|
+
return {
|
|
8580
|
+
enabled: 'boolean',
|
|
8581
|
+
loggingProject: 'string',
|
|
8582
|
+
};
|
|
8583
|
+
}
|
|
8584
|
+
}
|
|
8585
|
+
exports.ModifyClusterRequestSystemEventsLogging = ModifyClusterRequestSystemEventsLogging;
|
|
8380
8586
|
class ModifyClusterConfigurationRequestCustomizeConfigConfigs extends $tea.Model {
|
|
8381
8587
|
constructor(map) {
|
|
8382
8588
|
super(map);
|
|
@@ -8469,6 +8675,56 @@ class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
8469
8675
|
}
|
|
8470
8676
|
}
|
|
8471
8677
|
exports.ModifyClusterNodePoolRequestKubernetesConfig = ModifyClusterNodePoolRequestKubernetesConfig;
|
|
8678
|
+
class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
8679
|
+
constructor(map) {
|
|
8680
|
+
super(map);
|
|
8681
|
+
}
|
|
8682
|
+
static names() {
|
|
8683
|
+
return {
|
|
8684
|
+
restartNode: 'restart_node',
|
|
8685
|
+
};
|
|
8686
|
+
}
|
|
8687
|
+
static types() {
|
|
8688
|
+
return {
|
|
8689
|
+
restartNode: 'boolean',
|
|
8690
|
+
};
|
|
8691
|
+
}
|
|
8692
|
+
}
|
|
8693
|
+
exports.ModifyClusterNodePoolRequestManagementAutoRepairPolicy = ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
8694
|
+
class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
8695
|
+
constructor(map) {
|
|
8696
|
+
super(map);
|
|
8697
|
+
}
|
|
8698
|
+
static names() {
|
|
8699
|
+
return {
|
|
8700
|
+
autoUpgradeKubelet: 'auto_upgrade_kubelet',
|
|
8701
|
+
};
|
|
8702
|
+
}
|
|
8703
|
+
static types() {
|
|
8704
|
+
return {
|
|
8705
|
+
autoUpgradeKubelet: 'boolean',
|
|
8706
|
+
};
|
|
8707
|
+
}
|
|
8708
|
+
}
|
|
8709
|
+
exports.ModifyClusterNodePoolRequestManagementAutoUpgradePolicy = ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
8710
|
+
class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
8711
|
+
constructor(map) {
|
|
8712
|
+
super(map);
|
|
8713
|
+
}
|
|
8714
|
+
static names() {
|
|
8715
|
+
return {
|
|
8716
|
+
restartNode: 'restart_node',
|
|
8717
|
+
vulLevel: 'vul_level',
|
|
8718
|
+
};
|
|
8719
|
+
}
|
|
8720
|
+
static types() {
|
|
8721
|
+
return {
|
|
8722
|
+
restartNode: 'boolean',
|
|
8723
|
+
vulLevel: 'string',
|
|
8724
|
+
};
|
|
8725
|
+
}
|
|
8726
|
+
}
|
|
8727
|
+
exports.ModifyClusterNodePoolRequestManagementAutoVulFixPolicy = ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
8472
8728
|
class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
8473
8729
|
constructor(map) {
|
|
8474
8730
|
super(map);
|
|
@@ -8498,6 +8754,11 @@ class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
8498
8754
|
static names() {
|
|
8499
8755
|
return {
|
|
8500
8756
|
autoRepair: 'auto_repair',
|
|
8757
|
+
autoRepairPolicy: 'auto_repair_policy',
|
|
8758
|
+
autoUpgrade: 'auto_upgrade',
|
|
8759
|
+
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
8760
|
+
autoVulFix: 'auto_vul_fix',
|
|
8761
|
+
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
8501
8762
|
enable: 'enable',
|
|
8502
8763
|
upgradeConfig: 'upgrade_config',
|
|
8503
8764
|
};
|
|
@@ -8505,6 +8766,11 @@ class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
8505
8766
|
static types() {
|
|
8506
8767
|
return {
|
|
8507
8768
|
autoRepair: 'boolean',
|
|
8769
|
+
autoRepairPolicy: ModifyClusterNodePoolRequestManagementAutoRepairPolicy,
|
|
8770
|
+
autoUpgrade: 'boolean',
|
|
8771
|
+
autoUpgradePolicy: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy,
|
|
8772
|
+
autoVulFix: 'boolean',
|
|
8773
|
+
autoVulFixPolicy: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy,
|
|
8508
8774
|
enable: 'boolean',
|
|
8509
8775
|
upgradeConfig: ModifyClusterNodePoolRequestManagementUpgradeConfig,
|
|
8510
8776
|
};
|
|
@@ -11522,6 +11788,9 @@ class Client extends openapi_client_1.default {
|
|
|
11522
11788
|
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
11523
11789
|
body["resource_group_id"] = request.resourceGroupId;
|
|
11524
11790
|
}
|
|
11791
|
+
if (!tea_util_1.default.isUnset(request.systemEventsLogging)) {
|
|
11792
|
+
body["system_events_logging"] = request.systemEventsLogging;
|
|
11793
|
+
}
|
|
11525
11794
|
let req = new $OpenApi.OpenApiRequest({
|
|
11526
11795
|
headers: headers,
|
|
11527
11796
|
body: openapi_util_1.default.parseToMap(body),
|
|
@@ -11884,6 +12153,11 @@ class Client extends openapi_client_1.default {
|
|
|
11884
12153
|
}
|
|
11885
12154
|
/**
|
|
11886
12155
|
* @deprecated
|
|
12156
|
+
* ****
|
|
12157
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
12158
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
12159
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
12160
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
11887
12161
|
*
|
|
11888
12162
|
* @param request RemoveClusterNodesRequest
|
|
11889
12163
|
* @param headers map
|
|
@@ -11922,6 +12196,11 @@ class Client extends openapi_client_1.default {
|
|
|
11922
12196
|
}
|
|
11923
12197
|
/**
|
|
11924
12198
|
* @deprecated
|
|
12199
|
+
* ****
|
|
12200
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
12201
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
12202
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
12203
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
11925
12204
|
*
|
|
11926
12205
|
* @param request RemoveClusterNodesRequest
|
|
11927
12206
|
* @return RemoveClusterNodesResponse
|