@alicloud/cs20151215 3.0.23 → 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.23",
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,
@@ -3491,15 +3573,18 @@ export class DescribeEventsResponse extends $tea.Model {
3491
3573
  }
3492
3574
 
3493
3575
  export class DescribeExternalAgentRequest extends $tea.Model {
3576
+ agentMode?: string;
3494
3577
  privateIpAddress?: string;
3495
3578
  static names(): { [key: string]: string } {
3496
3579
  return {
3580
+ agentMode: 'AgentMode',
3497
3581
  privateIpAddress: 'PrivateIpAddress',
3498
3582
  };
3499
3583
  }
3500
3584
 
3501
3585
  static types(): { [key: string]: any } {
3502
3586
  return {
3587
+ agentMode: 'string',
3503
3588
  privateIpAddress: 'string',
3504
3589
  };
3505
3590
  }
@@ -4906,19 +4991,23 @@ export class MigrateClusterResponse extends $tea.Model {
4906
4991
  }
4907
4992
 
4908
4993
  export class ModifyClusterRequest extends $tea.Model {
4994
+ accessControlList?: string[];
4909
4995
  apiServerEip?: boolean;
4910
4996
  apiServerEipId?: string;
4997
+ clusterName?: string;
4911
4998
  deletionProtection?: boolean;
4912
4999
  enableRrsa?: boolean;
4913
- ingressDomainRebinding?: string;
5000
+ ingressDomainRebinding?: boolean;
4914
5001
  ingressLoadbalancerId?: string;
4915
5002
  instanceDeletionProtection?: boolean;
4916
5003
  maintenanceWindow?: MaintenanceWindow;
4917
5004
  resourceGroupId?: string;
4918
5005
  static names(): { [key: string]: string } {
4919
5006
  return {
5007
+ accessControlList: 'access_control_list',
4920
5008
  apiServerEip: 'api_server_eip',
4921
5009
  apiServerEipId: 'api_server_eip_id',
5010
+ clusterName: 'cluster_name',
4922
5011
  deletionProtection: 'deletion_protection',
4923
5012
  enableRrsa: 'enable_rrsa',
4924
5013
  ingressDomainRebinding: 'ingress_domain_rebinding',
@@ -4931,11 +5020,13 @@ export class ModifyClusterRequest extends $tea.Model {
4931
5020
 
4932
5021
  static types(): { [key: string]: any } {
4933
5022
  return {
5023
+ accessControlList: { 'type': 'array', 'itemType': 'string' },
4934
5024
  apiServerEip: 'boolean',
4935
5025
  apiServerEipId: 'string',
5026
+ clusterName: 'string',
4936
5027
  deletionProtection: 'boolean',
4937
5028
  enableRrsa: 'boolean',
4938
- ingressDomainRebinding: 'string',
5029
+ ingressDomainRebinding: 'boolean',
4939
5030
  ingressLoadbalancerId: 'string',
4940
5031
  instanceDeletionProtection: 'boolean',
4941
5032
  maintenanceWindow: MaintenanceWindow,
@@ -5206,7 +5297,7 @@ export class ModifyClusterTagsResponse extends $tea.Model {
5206
5297
  }
5207
5298
 
5208
5299
  export class ModifyNodePoolNodeConfigRequest extends $tea.Model {
5209
- kubeletConfig?: ModifyNodePoolNodeConfigRequestKubeletConfig;
5300
+ kubeletConfig?: KubeletConfig;
5210
5301
  rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
5211
5302
  static names(): { [key: string]: string } {
5212
5303
  return {
@@ -5217,7 +5308,7 @@ export class ModifyNodePoolNodeConfigRequest extends $tea.Model {
5217
5308
 
5218
5309
  static types(): { [key: string]: any } {
5219
5310
  return {
5220
- kubeletConfig: ModifyNodePoolNodeConfigRequestKubeletConfig,
5311
+ kubeletConfig: KubeletConfig,
5221
5312
  rollingPolicy: ModifyNodePoolNodeConfigRequestRollingPolicy,
5222
5313
  };
5223
5314
  }
@@ -8119,6 +8210,25 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Mo
8119
8210
  }
8120
8211
  }
8121
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
+
8122
8232
  export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $tea.Model {
8123
8233
  created?: string;
8124
8234
  isDefault?: boolean;
@@ -8544,6 +8654,25 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $te
8544
8654
  }
8545
8655
  }
8546
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
+
8547
8676
  export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $tea.Model {
8548
8677
  created?: string;
8549
8678
  isDefault?: boolean;
@@ -8815,6 +8944,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.Model {
8815
8944
  kubernetesConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig;
8816
8945
  management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
8817
8946
  maxNodes?: number;
8947
+ nodeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig;
8818
8948
  nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
8819
8949
  scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
8820
8950
  status?: DescribeClusterNodePoolsResponseBodyNodepoolsStatus;
@@ -8827,6 +8957,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.Model {
8827
8957
  kubernetesConfig: 'kubernetes_config',
8828
8958
  management: 'management',
8829
8959
  maxNodes: 'max_nodes',
8960
+ nodeConfig: 'node_config',
8830
8961
  nodepoolInfo: 'nodepool_info',
8831
8962
  scalingGroup: 'scaling_group',
8832
8963
  status: 'status',
@@ -8842,6 +8973,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.Model {
8842
8973
  kubernetesConfig: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig,
8843
8974
  management: DescribeClusterNodePoolsResponseBodyNodepoolsManagement,
8844
8975
  maxNodes: 'number',
8976
+ nodeConfig: DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig,
8845
8977
  nodepoolInfo: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo,
8846
8978
  scalingGroup: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup,
8847
8979
  status: DescribeClusterNodePoolsResponseBodyNodepoolsStatus,
@@ -10917,61 +11049,6 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
10917
11049
  }
10918
11050
  }
10919
11051
 
10920
- export class ModifyNodePoolNodeConfigRequestKubeletConfig extends $tea.Model {
10921
- cpuManagerPolicy?: string;
10922
- eventBurst?: number;
10923
- eventRecordQPS?: number;
10924
- evictionHard?: { [key: string]: any };
10925
- evictionSoft?: { [key: string]: any };
10926
- evictionSoftGracePeriod?: { [key: string]: any };
10927
- kubeAPIBurst?: number;
10928
- kubeAPIQPS?: number;
10929
- kubeReserved?: { [key: string]: any };
10930
- registryBurst?: number;
10931
- registryPullQPS?: number;
10932
- serializeImagePulls?: boolean;
10933
- systemReserved?: { [key: string]: any };
10934
- static names(): { [key: string]: string } {
10935
- return {
10936
- cpuManagerPolicy: 'cpuManagerPolicy',
10937
- eventBurst: 'eventBurst',
10938
- eventRecordQPS: 'eventRecordQPS',
10939
- evictionHard: 'evictionHard',
10940
- evictionSoft: 'evictionSoft',
10941
- evictionSoftGracePeriod: 'evictionSoftGracePeriod',
10942
- kubeAPIBurst: 'kubeAPIBurst',
10943
- kubeAPIQPS: 'kubeAPIQPS',
10944
- kubeReserved: 'kubeReserved',
10945
- registryBurst: 'registryBurst',
10946
- registryPullQPS: 'registryPullQPS',
10947
- serializeImagePulls: 'serializeImagePulls',
10948
- systemReserved: 'systemReserved',
10949
- };
10950
- }
10951
-
10952
- static types(): { [key: string]: any } {
10953
- return {
10954
- cpuManagerPolicy: 'string',
10955
- eventBurst: 'number',
10956
- eventRecordQPS: 'number',
10957
- evictionHard: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10958
- evictionSoft: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10959
- evictionSoftGracePeriod: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10960
- kubeAPIBurst: 'number',
10961
- kubeAPIQPS: 'number',
10962
- kubeReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10963
- registryBurst: 'number',
10964
- registryPullQPS: 'number',
10965
- serializeImagePulls: 'boolean',
10966
- systemReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10967
- };
10968
- }
10969
-
10970
- constructor(map?: { [key: string]: any }) {
10971
- super(map);
10972
- }
10973
- }
10974
-
10975
11052
  export class ModifyNodePoolNodeConfigRequestRollingPolicy extends $tea.Model {
10976
11053
  maxParallelism?: number;
10977
11054
  static names(): { [key: string]: string } {
@@ -11089,15 +11166,18 @@ export class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
11089
11166
  }
11090
11167
 
11091
11168
  export class UnInstallClusterAddonsRequestAddons extends $tea.Model {
11169
+ cleanupCloudResources?: boolean;
11092
11170
  name?: string;
11093
11171
  static names(): { [key: string]: string } {
11094
11172
  return {
11173
+ cleanupCloudResources: 'cleanup_cloud_resources',
11095
11174
  name: 'name',
11096
11175
  };
11097
11176
  }
11098
11177
 
11099
11178
  static types(): { [key: string]: any } {
11100
11179
  return {
11180
+ cleanupCloudResources: 'boolean',
11101
11181
  name: 'string',
11102
11182
  };
11103
11183
  }
@@ -11529,6 +11609,10 @@ export default class Client extends OpenApi {
11529
11609
  async createClusterWithOptions(request: CreateClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateClusterResponse> {
11530
11610
  Util.validateModel(request);
11531
11611
  let body : {[key: string ]: any} = { };
11612
+ if (!Util.isUnset(request.accessControlList)) {
11613
+ body["access_control_list"] = request.accessControlList;
11614
+ }
11615
+
11532
11616
  if (!Util.isUnset(request.addons)) {
11533
11617
  body["addons"] = request.addons;
11534
11618
  }
@@ -12274,10 +12358,7 @@ export default class Client extends OpenApi {
12274
12358
 
12275
12359
  /**
12276
12360
  * >
12277
- * * 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.
12278
- * * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
12279
- * * Nodes remain in the unschedulable state when they are being removed.
12280
- * * 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.
12281
12362
  *
12282
12363
  * @param request DeleteClusterNodesRequest
12283
12364
  * @param headers map
@@ -12319,10 +12400,7 @@ export default class Client extends OpenApi {
12319
12400
 
12320
12401
  /**
12321
12402
  * >
12322
- * * 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.
12323
- * * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
12324
- * * Nodes remain in the unschedulable state when they are being removed.
12325
- * * 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.
12326
12404
  *
12327
12405
  * @param request DeleteClusterNodesRequest
12328
12406
  * @return DeleteClusterNodesResponse
@@ -13394,6 +13472,10 @@ export default class Client extends OpenApi {
13394
13472
  async describeExternalAgentWithOptions(ClusterId: string, request: DescribeExternalAgentRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeExternalAgentResponse> {
13395
13473
  Util.validateModel(request);
13396
13474
  let query : {[key: string ]: any} = { };
13475
+ if (!Util.isUnset(request.agentMode)) {
13476
+ query["AgentMode"] = request.agentMode;
13477
+ }
13478
+
13397
13479
  if (!Util.isUnset(request.privateIpAddress)) {
13398
13480
  query["PrivateIpAddress"] = request.privateIpAddress;
13399
13481
  }
@@ -13642,7 +13724,8 @@ export default class Client extends OpenApi {
13642
13724
  }
13643
13725
 
13644
13726
  /**
13645
- * > You can call this operation only with an Alibaba Cloud account.
13727
+ * **
13728
+ * ****Only Alibaba Cloud accounts can call this API operation.
13646
13729
  *
13647
13730
  * @param request DescribeSubaccountK8sClusterUserConfigRequest
13648
13731
  * @param headers map
@@ -13679,7 +13762,8 @@ export default class Client extends OpenApi {
13679
13762
  }
13680
13763
 
13681
13764
  /**
13682
- * > You can call this operation only with an Alibaba Cloud account.
13765
+ * **
13766
+ * ****Only Alibaba Cloud accounts can call this API operation.
13683
13767
  *
13684
13768
  * @param request DescribeSubaccountK8sClusterUserConfigRequest
13685
13769
  * @return DescribeSubaccountK8sClusterUserConfigResponse
@@ -14069,10 +14153,9 @@ export default class Client extends OpenApi {
14069
14153
  }
14070
14154
 
14071
14155
  /**
14072
- * **Precautions**:
14073
- * * 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.
14074
- * For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
14075
- * * 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~~).
14076
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.
14077
14160
  *
14078
14161
  * @param request GrantPermissionsRequest
@@ -14101,10 +14184,9 @@ export default class Client extends OpenApi {
14101
14184
  }
14102
14185
 
14103
14186
  /**
14104
- * **Precautions**:
14105
- * * 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.
14106
- * For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
14107
- * * 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~~).
14108
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.
14109
14191
  *
14110
14192
  * @param request GrantPermissionsRequest
@@ -14237,6 +14319,10 @@ export default class Client extends OpenApi {
14237
14319
  async modifyClusterWithOptions(ClusterId: string, request: ModifyClusterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterResponse> {
14238
14320
  Util.validateModel(request);
14239
14321
  let body : {[key: string ]: any} = { };
14322
+ if (!Util.isUnset(request.accessControlList)) {
14323
+ body["access_control_list"] = request.accessControlList;
14324
+ }
14325
+
14240
14326
  if (!Util.isUnset(request.apiServerEip)) {
14241
14327
  body["api_server_eip"] = request.apiServerEip;
14242
14328
  }
@@ -14245,6 +14331,10 @@ export default class Client extends OpenApi {
14245
14331
  body["api_server_eip_id"] = request.apiServerEipId;
14246
14332
  }
14247
14333
 
14334
+ if (!Util.isUnset(request.clusterName)) {
14335
+ body["cluster_name"] = request.clusterName;
14336
+ }
14337
+
14248
14338
  if (!Util.isUnset(request.deletionProtection)) {
14249
14339
  body["deletion_protection"] = request.deletionProtection;
14250
14340
  }
@@ -14301,7 +14391,7 @@ export default class Client extends OpenApi {
14301
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.
14302
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).
14303
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).
14304
- * 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.
14305
14395
  *
14306
14396
  * @param request ModifyClusterAddonRequest
14307
14397
  * @param headers map
@@ -14337,7 +14427,7 @@ export default class Client extends OpenApi {
14337
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.
14338
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).
14339
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).
14340
- * 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.
14341
14431
  *
14342
14432
  * @param request ModifyClusterAddonRequest
14343
14433
  * @return ModifyClusterAddonResponse
@@ -14460,6 +14550,14 @@ export default class Client extends OpenApi {
14460
14550
  return await this.modifyClusterTagsWithOptions(ClusterId, request, headers, runtime);
14461
14551
  }
14462
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
+ */
14463
14561
  async modifyNodePoolNodeConfigWithOptions(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyNodePoolNodeConfigResponse> {
14464
14562
  Util.validateModel(request);
14465
14563
  let body : {[key: string ]: any} = { };
@@ -14489,6 +14587,12 @@ export default class Client extends OpenApi {
14489
14587
  return $tea.cast<ModifyNodePoolNodeConfigResponse>(await this.callApi(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
14490
14588
  }
14491
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
+ */
14492
14596
  async modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest): Promise<ModifyNodePoolNodeConfigResponse> {
14493
14597
  let runtime = new $Util.RuntimeOptions({ });
14494
14598
  let headers : {[key: string ]: string} = { };
@@ -14539,7 +14643,8 @@ export default class Client extends OpenApi {
14539
14643
  }
14540
14644
 
14541
14645
  /**
14542
- * 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.
14543
14648
  *
14544
14649
  * @param request OpenAckServiceRequest
14545
14650
  * @param headers map
@@ -14572,7 +14677,8 @@ export default class Client extends OpenApi {
14572
14677
  }
14573
14678
 
14574
14679
  /**
14575
- * 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.
14576
14682
  *
14577
14683
  * @param request OpenAckServiceRequest
14578
14684
  * @return OpenAckServiceResponse
@@ -14711,11 +14817,9 @@ export default class Client extends OpenApi {
14711
14817
  }
14712
14818
 
14713
14819
  /**
14714
- * >
14715
- * * 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.
14716
- * * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
14717
- * * Nodes remain in the Unschedulable state when they are being removed.
14718
- * * 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.
14719
14823
  *
14720
14824
  * @param tmpReq RemoveNodePoolNodesRequest
14721
14825
  * @param headers map
@@ -14770,11 +14874,9 @@ export default class Client extends OpenApi {
14770
14874
  }
14771
14875
 
14772
14876
  /**
14773
- * >
14774
- * * 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.
14775
- * * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
14776
- * * Nodes remain in the Unschedulable state when they are being removed.
14777
- * * 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.
14778
14880
  *
14779
14881
  * @param request RemoveNodePoolNodesRequest
14780
14882
  * @return RemoveNodePoolNodesResponse
@@ -15063,7 +15165,8 @@ export default class Client extends OpenApi {
15063
15165
  }
15064
15166
 
15065
15167
  /**
15066
- * > 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~~).
15067
15170
  *
15068
15171
  * @param request ScaleOutClusterRequest
15069
15172
  * @param headers map
@@ -15176,7 +15279,8 @@ export default class Client extends OpenApi {
15176
15279
  }
15177
15280
 
15178
15281
  /**
15179
- * > 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~~).
15180
15284
  *
15181
15285
  * @param request ScaleOutClusterRequest
15182
15286
  * @return ScaleOutClusterResponse
@@ -15580,9 +15684,9 @@ export default class Client extends OpenApi {
15580
15684
  }
15581
15685
 
15582
15686
  /**
15583
- * >
15584
- * * You can call this operation only with an Alibaba Cloud account.
15585
- * * 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.
15586
15690
  *
15587
15691
  * @param request UpdateK8sClusterUserConfigExpireRequest
15588
15692
  * @param headers map
@@ -15619,9 +15723,9 @@ export default class Client extends OpenApi {
15619
15723
  }
15620
15724
 
15621
15725
  /**
15622
- * >
15623
- * * You can call this operation only with an Alibaba Cloud account.
15624
- * * 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.
15625
15729
  *
15626
15730
  * @param request UpdateK8sClusterUserConfigExpireRequest
15627
15731
  * @return UpdateK8sClusterUserConfigExpireResponse
@@ -15749,7 +15853,7 @@ export default class Client extends OpenApi {
15749
15853
  }
15750
15854
 
15751
15855
  /**
15752
- * 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.
15753
15857
  *
15754
15858
  * @param request UpgradeClusterNodepoolRequest
15755
15859
  * @param headers map
@@ -15794,7 +15898,7 @@ export default class Client extends OpenApi {
15794
15898
  }
15795
15899
 
15796
15900
  /**
15797
- * 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.
15798
15902
  *
15799
15903
  * @param request UpgradeClusterNodepoolRequest
15800
15904
  * @return UpgradeClusterNodepoolResponse