@alicloud/cs20151215 3.0.24 → 3.0.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cs20151215",
3
- "version": "3.0.24",
3
+ "version": "3.0.25",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -70,6 +70,79 @@ export class DataDisk extends $tea.Model {
70
70
  }
71
71
  }
72
72
 
73
+ export class KubeletConfig extends $tea.Model {
74
+ allowedUnsafeSysctls?: string[];
75
+ containerLogMaxFiles?: number;
76
+ containerLogMaxSize?: string;
77
+ cpuManagerPolicy?: string;
78
+ eventBurst?: number;
79
+ eventRecordQPS?: number;
80
+ evictionHard?: { [key: string]: any };
81
+ evictionSoft?: { [key: string]: any };
82
+ evictionSoftGracePeriod?: { [key: string]: any };
83
+ featureGates?: { [key: string]: any };
84
+ kubeAPIBurst?: number;
85
+ kubeAPIQPS?: number;
86
+ kubeReserved?: { [key: string]: any };
87
+ maxPods?: number;
88
+ readOnlyPort?: number;
89
+ registryBurst?: number;
90
+ registryPullQPS?: number;
91
+ serializeImagePulls?: boolean;
92
+ systemReserved?: { [key: string]: any };
93
+ static names(): { [key: string]: string } {
94
+ return {
95
+ allowedUnsafeSysctls: 'allowedUnsafeSysctls',
96
+ containerLogMaxFiles: 'containerLogMaxFiles',
97
+ containerLogMaxSize: 'containerLogMaxSize',
98
+ cpuManagerPolicy: 'cpuManagerPolicy',
99
+ eventBurst: 'eventBurst',
100
+ eventRecordQPS: 'eventRecordQPS',
101
+ evictionHard: 'evictionHard',
102
+ evictionSoft: 'evictionSoft',
103
+ evictionSoftGracePeriod: 'evictionSoftGracePeriod',
104
+ featureGates: 'featureGates',
105
+ kubeAPIBurst: 'kubeAPIBurst',
106
+ kubeAPIQPS: 'kubeAPIQPS',
107
+ kubeReserved: 'kubeReserved',
108
+ maxPods: 'maxPods',
109
+ readOnlyPort: 'readOnlyPort',
110
+ registryBurst: 'registryBurst',
111
+ registryPullQPS: 'registryPullQPS',
112
+ serializeImagePulls: 'serializeImagePulls',
113
+ systemReserved: 'systemReserved',
114
+ };
115
+ }
116
+
117
+ static types(): { [key: string]: any } {
118
+ return {
119
+ allowedUnsafeSysctls: { 'type': 'array', 'itemType': 'string' },
120
+ containerLogMaxFiles: 'number',
121
+ containerLogMaxSize: 'string',
122
+ cpuManagerPolicy: 'string',
123
+ eventBurst: 'number',
124
+ eventRecordQPS: 'number',
125
+ evictionHard: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
126
+ evictionSoft: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
127
+ evictionSoftGracePeriod: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
128
+ featureGates: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
129
+ kubeAPIBurst: 'number',
130
+ kubeAPIQPS: 'number',
131
+ kubeReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
132
+ maxPods: 'number',
133
+ readOnlyPort: 'number',
134
+ registryBurst: 'number',
135
+ registryPullQPS: 'number',
136
+ serializeImagePulls: 'boolean',
137
+ systemReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
138
+ };
139
+ }
140
+
141
+ constructor(map?: { [key: string]: any }) {
142
+ super(map);
143
+ }
144
+ }
145
+
73
146
  export class MaintenanceWindow extends $tea.Model {
74
147
  duration?: string;
75
148
  enable?: boolean;
@@ -690,6 +763,7 @@ export class CreateAutoscalingConfigResponse extends $tea.Model {
690
763
  }
691
764
 
692
765
  export class CreateClusterRequest extends $tea.Model {
766
+ accessControlList?: string[];
693
767
  addons?: Addon[];
694
768
  apiAudiences?: string;
695
769
  chargeType?: string;
@@ -781,6 +855,7 @@ export class CreateClusterRequest extends $tea.Model {
781
855
  zoneId?: string;
782
856
  static names(): { [key: string]: string } {
783
857
  return {
858
+ accessControlList: 'access_control_list',
784
859
  addons: 'addons',
785
860
  apiAudiences: 'api_audiences',
786
861
  chargeType: 'charge_type',
@@ -875,6 +950,7 @@ export class CreateClusterRequest extends $tea.Model {
875
950
 
876
951
  static types(): { [key: string]: any } {
877
952
  return {
953
+ accessControlList: { 'type': 'array', 'itemType': 'string' },
878
954
  addons: { 'type': 'array', 'itemType': Addon },
879
955
  apiAudiences: 'string',
880
956
  chargeType: 'string',
@@ -1070,15 +1146,18 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
1070
1146
 
1071
1147
  export class CreateClusterNodePoolResponseBody extends $tea.Model {
1072
1148
  nodepoolId?: string;
1149
+ taskId?: string;
1073
1150
  static names(): { [key: string]: string } {
1074
1151
  return {
1075
1152
  nodepoolId: 'nodepool_id',
1153
+ taskId: 'task_id',
1076
1154
  };
1077
1155
  }
1078
1156
 
1079
1157
  static types(): { [key: string]: any } {
1080
1158
  return {
1081
1159
  nodepoolId: 'string',
1160
+ taskId: 'string',
1082
1161
  };
1083
1162
  }
1084
1163
 
@@ -2604,6 +2683,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
2604
2683
  kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
2605
2684
  management?: DescribeClusterNodePoolDetailResponseBodyManagement;
2606
2685
  maxNodes?: number;
2686
+ nodeConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfig;
2607
2687
  nodepoolInfo?: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo;
2608
2688
  scalingGroup?: DescribeClusterNodePoolDetailResponseBodyScalingGroup;
2609
2689
  status?: DescribeClusterNodePoolDetailResponseBodyStatus;
@@ -2616,6 +2696,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
2616
2696
  kubernetesConfig: 'kubernetes_config',
2617
2697
  management: 'management',
2618
2698
  maxNodes: 'max_nodes',
2699
+ nodeConfig: 'node_config',
2619
2700
  nodepoolInfo: 'nodepool_info',
2620
2701
  scalingGroup: 'scaling_group',
2621
2702
  status: 'status',
@@ -2631,6 +2712,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
2631
2712
  kubernetesConfig: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig,
2632
2713
  management: DescribeClusterNodePoolDetailResponseBodyManagement,
2633
2714
  maxNodes: 'number',
2715
+ nodeConfig: DescribeClusterNodePoolDetailResponseBodyNodeConfig,
2634
2716
  nodepoolInfo: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo,
2635
2717
  scalingGroup: DescribeClusterNodePoolDetailResponseBodyScalingGroup,
2636
2718
  status: DescribeClusterNodePoolDetailResponseBodyStatus,
@@ -4909,19 +4991,23 @@ export class MigrateClusterResponse extends $tea.Model {
4909
4991
  }
4910
4992
 
4911
4993
  export class ModifyClusterRequest extends $tea.Model {
4994
+ accessControlList?: string[];
4912
4995
  apiServerEip?: boolean;
4913
4996
  apiServerEipId?: string;
4997
+ clusterName?: string;
4914
4998
  deletionProtection?: boolean;
4915
4999
  enableRrsa?: boolean;
4916
- ingressDomainRebinding?: string;
5000
+ ingressDomainRebinding?: boolean;
4917
5001
  ingressLoadbalancerId?: string;
4918
5002
  instanceDeletionProtection?: boolean;
4919
5003
  maintenanceWindow?: MaintenanceWindow;
4920
5004
  resourceGroupId?: string;
4921
5005
  static names(): { [key: string]: string } {
4922
5006
  return {
5007
+ accessControlList: 'access_control_list',
4923
5008
  apiServerEip: 'api_server_eip',
4924
5009
  apiServerEipId: 'api_server_eip_id',
5010
+ clusterName: 'cluster_name',
4925
5011
  deletionProtection: 'deletion_protection',
4926
5012
  enableRrsa: 'enable_rrsa',
4927
5013
  ingressDomainRebinding: 'ingress_domain_rebinding',
@@ -4934,11 +5020,13 @@ export class ModifyClusterRequest extends $tea.Model {
4934
5020
 
4935
5021
  static types(): { [key: string]: any } {
4936
5022
  return {
5023
+ accessControlList: { 'type': 'array', 'itemType': 'string' },
4937
5024
  apiServerEip: 'boolean',
4938
5025
  apiServerEipId: 'string',
5026
+ clusterName: 'string',
4939
5027
  deletionProtection: 'boolean',
4940
5028
  enableRrsa: 'boolean',
4941
- ingressDomainRebinding: 'string',
5029
+ ingressDomainRebinding: 'boolean',
4942
5030
  ingressLoadbalancerId: 'string',
4943
5031
  instanceDeletionProtection: 'boolean',
4944
5032
  maintenanceWindow: MaintenanceWindow,
@@ -5209,7 +5297,7 @@ export class ModifyClusterTagsResponse extends $tea.Model {
5209
5297
  }
5210
5298
 
5211
5299
  export class ModifyNodePoolNodeConfigRequest extends $tea.Model {
5212
- kubeletConfig?: ModifyNodePoolNodeConfigRequestKubeletConfig;
5300
+ kubeletConfig?: KubeletConfig;
5213
5301
  rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
5214
5302
  static names(): { [key: string]: string } {
5215
5303
  return {
@@ -5220,7 +5308,7 @@ export class ModifyNodePoolNodeConfigRequest extends $tea.Model {
5220
5308
 
5221
5309
  static types(): { [key: string]: any } {
5222
5310
  return {
5223
- kubeletConfig: ModifyNodePoolNodeConfigRequestKubeletConfig,
5311
+ kubeletConfig: KubeletConfig,
5224
5312
  rollingPolicy: ModifyNodePoolNodeConfigRequestRollingPolicy,
5225
5313
  };
5226
5314
  }
@@ -8122,6 +8210,25 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Mo
8122
8210
  }
8123
8211
  }
8124
8212
 
8213
+ export class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $tea.Model {
8214
+ kubeletConfiguration?: KubeletConfig;
8215
+ static names(): { [key: string]: string } {
8216
+ return {
8217
+ kubeletConfiguration: 'kubelet_configuration',
8218
+ };
8219
+ }
8220
+
8221
+ static types(): { [key: string]: any } {
8222
+ return {
8223
+ kubeletConfiguration: KubeletConfig,
8224
+ };
8225
+ }
8226
+
8227
+ constructor(map?: { [key: string]: any }) {
8228
+ super(map);
8229
+ }
8230
+ }
8231
+
8125
8232
  export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $tea.Model {
8126
8233
  created?: string;
8127
8234
  isDefault?: boolean;
@@ -8547,6 +8654,25 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $te
8547
8654
  }
8548
8655
  }
8549
8656
 
8657
+ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig extends $tea.Model {
8658
+ kubeletConfiguration?: KubeletConfig;
8659
+ static names(): { [key: string]: string } {
8660
+ return {
8661
+ kubeletConfiguration: 'kubelet_configuration',
8662
+ };
8663
+ }
8664
+
8665
+ static types(): { [key: string]: any } {
8666
+ return {
8667
+ kubeletConfiguration: KubeletConfig,
8668
+ };
8669
+ }
8670
+
8671
+ constructor(map?: { [key: string]: any }) {
8672
+ super(map);
8673
+ }
8674
+ }
8675
+
8550
8676
  export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $tea.Model {
8551
8677
  created?: string;
8552
8678
  isDefault?: boolean;
@@ -8818,6 +8944,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.Model {
8818
8944
  kubernetesConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig;
8819
8945
  management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
8820
8946
  maxNodes?: number;
8947
+ nodeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig;
8821
8948
  nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
8822
8949
  scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
8823
8950
  status?: DescribeClusterNodePoolsResponseBodyNodepoolsStatus;
@@ -8830,6 +8957,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.Model {
8830
8957
  kubernetesConfig: 'kubernetes_config',
8831
8958
  management: 'management',
8832
8959
  maxNodes: 'max_nodes',
8960
+ nodeConfig: 'node_config',
8833
8961
  nodepoolInfo: 'nodepool_info',
8834
8962
  scalingGroup: 'scaling_group',
8835
8963
  status: 'status',
@@ -8845,6 +8973,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.Model {
8845
8973
  kubernetesConfig: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig,
8846
8974
  management: DescribeClusterNodePoolsResponseBodyNodepoolsManagement,
8847
8975
  maxNodes: 'number',
8976
+ nodeConfig: DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig,
8848
8977
  nodepoolInfo: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo,
8849
8978
  scalingGroup: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup,
8850
8979
  status: DescribeClusterNodePoolsResponseBodyNodepoolsStatus,
@@ -10920,61 +11049,6 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
10920
11049
  }
10921
11050
  }
10922
11051
 
10923
- export class ModifyNodePoolNodeConfigRequestKubeletConfig extends $tea.Model {
10924
- cpuManagerPolicy?: string;
10925
- eventBurst?: number;
10926
- eventRecordQPS?: number;
10927
- evictionHard?: { [key: string]: any };
10928
- evictionSoft?: { [key: string]: any };
10929
- evictionSoftGracePeriod?: { [key: string]: any };
10930
- kubeAPIBurst?: number;
10931
- kubeAPIQPS?: number;
10932
- kubeReserved?: { [key: string]: any };
10933
- registryBurst?: number;
10934
- registryPullQPS?: number;
10935
- serializeImagePulls?: boolean;
10936
- systemReserved?: { [key: string]: any };
10937
- static names(): { [key: string]: string } {
10938
- return {
10939
- cpuManagerPolicy: 'cpuManagerPolicy',
10940
- eventBurst: 'eventBurst',
10941
- eventRecordQPS: 'eventRecordQPS',
10942
- evictionHard: 'evictionHard',
10943
- evictionSoft: 'evictionSoft',
10944
- evictionSoftGracePeriod: 'evictionSoftGracePeriod',
10945
- kubeAPIBurst: 'kubeAPIBurst',
10946
- kubeAPIQPS: 'kubeAPIQPS',
10947
- kubeReserved: 'kubeReserved',
10948
- registryBurst: 'registryBurst',
10949
- registryPullQPS: 'registryPullQPS',
10950
- serializeImagePulls: 'serializeImagePulls',
10951
- systemReserved: 'systemReserved',
10952
- };
10953
- }
10954
-
10955
- static types(): { [key: string]: any } {
10956
- return {
10957
- cpuManagerPolicy: 'string',
10958
- eventBurst: 'number',
10959
- eventRecordQPS: 'number',
10960
- evictionHard: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10961
- evictionSoft: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10962
- evictionSoftGracePeriod: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10963
- kubeAPIBurst: 'number',
10964
- kubeAPIQPS: 'number',
10965
- kubeReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10966
- registryBurst: 'number',
10967
- registryPullQPS: 'number',
10968
- serializeImagePulls: 'boolean',
10969
- systemReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10970
- };
10971
- }
10972
-
10973
- constructor(map?: { [key: string]: any }) {
10974
- super(map);
10975
- }
10976
- }
10977
-
10978
11052
  export class ModifyNodePoolNodeConfigRequestRollingPolicy extends $tea.Model {
10979
11053
  maxParallelism?: number;
10980
11054
  static names(): { [key: string]: string } {
@@ -11092,15 +11166,18 @@ export class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
11092
11166
  }
11093
11167
 
11094
11168
  export class UnInstallClusterAddonsRequestAddons extends $tea.Model {
11169
+ cleanupCloudResources?: boolean;
11095
11170
  name?: string;
11096
11171
  static names(): { [key: string]: string } {
11097
11172
  return {
11173
+ cleanupCloudResources: 'cleanup_cloud_resources',
11098
11174
  name: 'name',
11099
11175
  };
11100
11176
  }
11101
11177
 
11102
11178
  static types(): { [key: string]: any } {
11103
11179
  return {
11180
+ cleanupCloudResources: 'boolean',
11104
11181
  name: 'string',
11105
11182
  };
11106
11183
  }
@@ -11532,6 +11609,10 @@ export default class Client extends OpenApi {
11532
11609
  async createClusterWithOptions(request: CreateClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateClusterResponse> {
11533
11610
  Util.validateModel(request);
11534
11611
  let body : {[key: string ]: any} = { };
11612
+ if (!Util.isUnset(request.accessControlList)) {
11613
+ body["access_control_list"] = request.accessControlList;
11614
+ }
11615
+
11535
11616
  if (!Util.isUnset(request.addons)) {
11536
11617
  body["addons"] = request.addons;
11537
11618
  }
@@ -12277,10 +12358,7 @@ export default class Client extends OpenApi {
12277
12358
 
12278
12359
  /**
12279
12360
  * >
12280
- * * 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.
12281
- * * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
12282
- * * Nodes remain in the unschedulable state when they are being removed.
12283
- * * You can remove only worker nodes by calling this operation.
12361
+ * * 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. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
12284
12362
  *
12285
12363
  * @param request DeleteClusterNodesRequest
12286
12364
  * @param headers map
@@ -12322,10 +12400,7 @@ export default class Client extends OpenApi {
12322
12400
 
12323
12401
  /**
12324
12402
  * >
12325
- * * 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.
12326
- * * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
12327
- * * Nodes remain in the unschedulable state when they are being removed.
12328
- * * You can remove only worker nodes by calling this operation.
12403
+ * * 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. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
12329
12404
  *
12330
12405
  * @param request DeleteClusterNodesRequest
12331
12406
  * @return DeleteClusterNodesResponse
@@ -13649,7 +13724,8 @@ export default class Client extends OpenApi {
13649
13724
  }
13650
13725
 
13651
13726
  /**
13652
- * > You can call this operation only with an Alibaba Cloud account.
13727
+ * **
13728
+ * ****Only Alibaba Cloud accounts can call this API operation.
13653
13729
  *
13654
13730
  * @param request DescribeSubaccountK8sClusterUserConfigRequest
13655
13731
  * @param headers map
@@ -13686,7 +13762,8 @@ export default class Client extends OpenApi {
13686
13762
  }
13687
13763
 
13688
13764
  /**
13689
- * > You can call this operation only with an Alibaba Cloud account.
13765
+ * **
13766
+ * ****Only Alibaba Cloud accounts can call this API operation.
13690
13767
  *
13691
13768
  * @param request DescribeSubaccountK8sClusterUserConfigRequest
13692
13769
  * @return DescribeSubaccountK8sClusterUserConfigResponse
@@ -14076,10 +14153,9 @@ export default class Client extends OpenApi {
14076
14153
  }
14077
14154
 
14078
14155
  /**
14079
- * **Precautions**:
14080
- * * Make sure that you have granted the specified RAM user at least read permissions on the specified cluster by attaching RAM policies. Otherwise, the `ErrorRamPolicyConfig` error will be returned.
14081
- * For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
14082
- * * If you call this operation as a RAM user, make sure that this RAM user has the permissions to grant other RAM users the permissions to manage ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` errors will be returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
14156
+ * ****
14157
+ * * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
14158
+ * * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
14083
14159
  * * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included.
14084
14160
  *
14085
14161
  * @param request GrantPermissionsRequest
@@ -14108,10 +14184,9 @@ export default class Client extends OpenApi {
14108
14184
  }
14109
14185
 
14110
14186
  /**
14111
- * **Precautions**:
14112
- * * Make sure that you have granted the specified RAM user at least read permissions on the specified cluster by attaching RAM policies. Otherwise, the `ErrorRamPolicyConfig` error will be returned.
14113
- * For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
14114
- * * If you call this operation as a RAM user, make sure that this RAM user has the permissions to grant other RAM users the permissions to manage ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` errors will be returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
14187
+ * ****
14188
+ * * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
14189
+ * * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
14115
14190
  * * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included.
14116
14191
  *
14117
14192
  * @param request GrantPermissionsRequest
@@ -14244,6 +14319,10 @@ export default class Client extends OpenApi {
14244
14319
  async modifyClusterWithOptions(ClusterId: string, request: ModifyClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterResponse> {
14245
14320
  Util.validateModel(request);
14246
14321
  let body : {[key: string ]: any} = { };
14322
+ if (!Util.isUnset(request.accessControlList)) {
14323
+ body["access_control_list"] = request.accessControlList;
14324
+ }
14325
+
14247
14326
  if (!Util.isUnset(request.apiServerEip)) {
14248
14327
  body["api_server_eip"] = request.apiServerEip;
14249
14328
  }
@@ -14252,6 +14331,10 @@ export default class Client extends OpenApi {
14252
14331
  body["api_server_eip_id"] = request.apiServerEipId;
14253
14332
  }
14254
14333
 
14334
+ if (!Util.isUnset(request.clusterName)) {
14335
+ body["cluster_name"] = request.clusterName;
14336
+ }
14337
+
14255
14338
  if (!Util.isUnset(request.deletionProtection)) {
14256
14339
  body["deletion_protection"] = request.deletionProtection;
14257
14340
  }
@@ -14308,7 +14391,7 @@ export default class Client extends OpenApi {
14308
14391
  * You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
14309
14392
  * * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/query).
14310
14393
  * * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/customize-control-plane-parameters-for-a-professional-kubernetes-cluster).
14311
- * After you call this operation, the component may be redeployed and restarted. We recommend that you evaluate the impact before you call this operation.
14394
+ * After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
14312
14395
  *
14313
14396
  * @param request ModifyClusterAddonRequest
14314
14397
  * @param headers map
@@ -14344,7 +14427,7 @@ export default class Client extends OpenApi {
14344
14427
  * You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
14345
14428
  * * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/query).
14346
14429
  * * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/customize-control-plane-parameters-for-a-professional-kubernetes-cluster).
14347
- * After you call this operation, the component may be redeployed and restarted. We recommend that you evaluate the impact before you call this operation.
14430
+ * After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
14348
14431
  *
14349
14432
  * @param request ModifyClusterAddonRequest
14350
14433
  * @return ModifyClusterAddonResponse
@@ -14467,6 +14550,14 @@ export default class Client extends OpenApi {
14467
14550
  return await this.modifyClusterTagsWithOptions(ClusterId, request, headers, runtime);
14468
14551
  }
14469
14552
 
14553
+ /**
14554
+ * This operation progressively modifies the kubelet configuration of the nodes in a node pool and restarts the kubelet process, which may affect your businesses.
14555
+ *
14556
+ * @param request ModifyNodePoolNodeConfigRequest
14557
+ * @param headers map
14558
+ * @param runtime runtime options for this request RuntimeOptions
14559
+ * @return ModifyNodePoolNodeConfigResponse
14560
+ */
14470
14561
  async modifyNodePoolNodeConfigWithOptions(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyNodePoolNodeConfigResponse> {
14471
14562
  Util.validateModel(request);
14472
14563
  let body : {[key: string ]: any} = { };
@@ -14496,6 +14587,12 @@ export default class Client extends OpenApi {
14496
14587
  return $tea.cast<ModifyNodePoolNodeConfigResponse>(await this.callApi(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
14497
14588
  }
14498
14589
 
14590
+ /**
14591
+ * This operation progressively modifies the kubelet configuration of the nodes in a node pool and restarts the kubelet process, which may affect your businesses.
14592
+ *
14593
+ * @param request ModifyNodePoolNodeConfigRequest
14594
+ * @return ModifyNodePoolNodeConfigResponse
14595
+ */
14499
14596
  async modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest): Promise<ModifyNodePoolNodeConfigResponse> {
14500
14597
  let runtime = new $Util.RuntimeOptions({ });
14501
14598
  let headers : {[key: string ]: string} = { };
@@ -14546,7 +14643,8 @@ export default class Client extends OpenApi {
14546
14643
  }
14547
14644
 
14548
14645
  /**
14549
- * You can activate ACK with Alibaba Cloud accounts or RAM users that have the authority of AdministratorAccess.
14646
+ * * You can activate ACK by using Alibaba Cloud accounts.
14647
+ * * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
14550
14648
  *
14551
14649
  * @param request OpenAckServiceRequest
14552
14650
  * @param headers map
@@ -14579,7 +14677,8 @@ export default class Client extends OpenApi {
14579
14677
  }
14580
14678
 
14581
14679
  /**
14582
- * You can activate ACK with Alibaba Cloud accounts or RAM users that have the authority of AdministratorAccess.
14680
+ * * You can activate ACK by using Alibaba Cloud accounts.
14681
+ * * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
14583
14682
  *
14584
14683
  * @param request OpenAckServiceRequest
14585
14684
  * @return OpenAckServiceResponse
@@ -14718,11 +14817,9 @@ export default class Client extends OpenApi {
14718
14817
  }
14719
14818
 
14720
14819
  /**
14721
- * >
14722
- * * 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.
14723
- * * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
14724
- * * Nodes remain in the Unschedulable state when they are being removed.
14725
- * * You can remove only worker nodes. You cannot remove control planes.
14820
+ * **
14821
+ * ****
14822
+ * * 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. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
14726
14823
  *
14727
14824
  * @param tmpReq RemoveNodePoolNodesRequest
14728
14825
  * @param headers map
@@ -14777,11 +14874,9 @@ export default class Client extends OpenApi {
14777
14874
  }
14778
14875
 
14779
14876
  /**
14780
- * >
14781
- * * 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.
14782
- * * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
14783
- * * Nodes remain in the Unschedulable state when they are being removed.
14784
- * * You can remove only worker nodes. You cannot remove control planes.
14877
+ * **
14878
+ * ****
14879
+ * * 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. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
14785
14880
  *
14786
14881
  * @param request RemoveNodePoolNodesRequest
14787
14882
  * @return RemoveNodePoolNodesResponse
@@ -15070,7 +15165,8 @@ export default class Client extends OpenApi {
15070
15165
  }
15071
15166
 
15072
15167
  /**
15073
- * > The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to an ACK cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](~~184928~~).
15168
+ * **
15169
+ * ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](~~184928~~).
15074
15170
  *
15075
15171
  * @param request ScaleOutClusterRequest
15076
15172
  * @param headers map
@@ -15183,7 +15279,8 @@ export default class Client extends OpenApi {
15183
15279
  }
15184
15280
 
15185
15281
  /**
15186
- * > The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to an ACK cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](~~184928~~).
15282
+ * **
15283
+ * ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](~~184928~~).
15187
15284
  *
15188
15285
  * @param request ScaleOutClusterRequest
15189
15286
  * @return ScaleOutClusterResponse
@@ -15587,9 +15684,9 @@ export default class Client extends OpenApi {
15587
15684
  }
15588
15685
 
15589
15686
  /**
15590
- * >
15591
- * * You can call this operation only with an Alibaba Cloud account.
15592
- * * After you revoke the kubeconfig file of a cluster, the validity period of the kubeconfig file that you specified becomes invalid. You can call this API operation to specify the validity period again.
15687
+ * **
15688
+ * ****
15689
+ * * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
15593
15690
  *
15594
15691
  * @param request UpdateK8sClusterUserConfigExpireRequest
15595
15692
  * @param headers map
@@ -15626,9 +15723,9 @@ export default class Client extends OpenApi {
15626
15723
  }
15627
15724
 
15628
15725
  /**
15629
- * >
15630
- * * You can call this operation only with an Alibaba Cloud account.
15631
- * * After you revoke the kubeconfig file of a cluster, the validity period of the kubeconfig file that you specified becomes invalid. You can call this API operation to specify the validity period again.
15726
+ * **
15727
+ * ****
15728
+ * * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
15632
15729
  *
15633
15730
  * @param request UpdateK8sClusterUserConfigExpireRequest
15634
15731
  * @return UpdateK8sClusterUserConfigExpireResponse
@@ -15756,7 +15853,7 @@ export default class Client extends OpenApi {
15756
15853
  }
15757
15854
 
15758
15855
  /**
15759
- * You can call the UpgradeClusterNodepool operation to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
15856
+ * This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
15760
15857
  *
15761
15858
  * @param request UpgradeClusterNodepoolRequest
15762
15859
  * @param headers map
@@ -15801,7 +15898,7 @@ export default class Client extends OpenApi {
15801
15898
  }
15802
15899
 
15803
15900
  /**
15804
- * You can call the UpgradeClusterNodepool operation to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
15901
+ * This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
15805
15902
  *
15806
15903
  * @param request UpgradeClusterNodepoolRequest
15807
15904
  * @return UpgradeClusterNodepoolResponse