@alicloud/cs20151215 4.8.1 → 4.8.3

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/src/client.ts CHANGED
@@ -224,6 +224,7 @@ export class InstancePatterns extends $tea.Model {
224
224
 
225
225
  export class KubeletConfig extends $tea.Model {
226
226
  allowedUnsafeSysctls?: string[];
227
+ clusterDNS?: string[];
227
228
  /**
228
229
  * @example
229
230
  * 5
@@ -234,6 +235,16 @@ export class KubeletConfig extends $tea.Model {
234
235
  * 10Mi
235
236
  */
236
237
  containerLogMaxSize?: string;
238
+ /**
239
+ * @example
240
+ * true
241
+ */
242
+ cpuCFSQuota?: boolean;
243
+ /**
244
+ * @example
245
+ * 100ms
246
+ */
247
+ cpuCFSQuotaPeriod?: string;
237
248
  /**
238
249
  * @example
239
250
  * none
@@ -253,6 +264,16 @@ export class KubeletConfig extends $tea.Model {
253
264
  evictionSoft?: { [key: string]: any };
254
265
  evictionSoftGracePeriod?: { [key: string]: any };
255
266
  featureGates?: { [key: string]: any };
267
+ /**
268
+ * @example
269
+ * 85
270
+ */
271
+ imageGCHighThresholdPercent?: number;
272
+ /**
273
+ * @example
274
+ * 80
275
+ */
276
+ imageGCLowThresholdPercent?: number;
256
277
  /**
257
278
  * @example
258
279
  * 10
@@ -269,6 +290,16 @@ export class KubeletConfig extends $tea.Model {
269
290
  * 110
270
291
  */
271
292
  maxPods?: number;
293
+ /**
294
+ * @example
295
+ * none
296
+ */
297
+ memoryManagerPolicy?: string;
298
+ /**
299
+ * @example
300
+ * -1
301
+ */
302
+ podPidsLimit?: number;
272
303
  /**
273
304
  * @example
274
305
  * 0
@@ -284,17 +315,27 @@ export class KubeletConfig extends $tea.Model {
284
315
  * 5
285
316
  */
286
317
  registryPullQPS?: number;
318
+ reservedMemory?: KubeletConfigReservedMemory[];
287
319
  /**
288
320
  * @example
289
321
  * true
290
322
  */
291
323
  serializeImagePulls?: boolean;
292
324
  systemReserved?: { [key: string]: any };
325
+ /**
326
+ * @example
327
+ * restricted
328
+ */
329
+ topologyManagerPolicy?: string;
330
+ tracing?: KubeletConfigTracing;
293
331
  static names(): { [key: string]: string } {
294
332
  return {
295
333
  allowedUnsafeSysctls: 'allowedUnsafeSysctls',
334
+ clusterDNS: 'clusterDNS',
296
335
  containerLogMaxFiles: 'containerLogMaxFiles',
297
336
  containerLogMaxSize: 'containerLogMaxSize',
337
+ cpuCFSQuota: 'cpuCFSQuota',
338
+ cpuCFSQuotaPeriod: 'cpuCFSQuotaPeriod',
298
339
  cpuManagerPolicy: 'cpuManagerPolicy',
299
340
  eventBurst: 'eventBurst',
300
341
  eventRecordQPS: 'eventRecordQPS',
@@ -302,23 +343,33 @@ export class KubeletConfig extends $tea.Model {
302
343
  evictionSoft: 'evictionSoft',
303
344
  evictionSoftGracePeriod: 'evictionSoftGracePeriod',
304
345
  featureGates: 'featureGates',
346
+ imageGCHighThresholdPercent: 'imageGCHighThresholdPercent',
347
+ imageGCLowThresholdPercent: 'imageGCLowThresholdPercent',
305
348
  kubeAPIBurst: 'kubeAPIBurst',
306
349
  kubeAPIQPS: 'kubeAPIQPS',
307
350
  kubeReserved: 'kubeReserved',
308
351
  maxPods: 'maxPods',
352
+ memoryManagerPolicy: 'memoryManagerPolicy',
353
+ podPidsLimit: 'podPidsLimit',
309
354
  readOnlyPort: 'readOnlyPort',
310
355
  registryBurst: 'registryBurst',
311
356
  registryPullQPS: 'registryPullQPS',
357
+ reservedMemory: 'reservedMemory',
312
358
  serializeImagePulls: 'serializeImagePulls',
313
359
  systemReserved: 'systemReserved',
360
+ topologyManagerPolicy: 'topologyManagerPolicy',
361
+ tracing: 'tracing',
314
362
  };
315
363
  }
316
364
 
317
365
  static types(): { [key: string]: any } {
318
366
  return {
319
367
  allowedUnsafeSysctls: { 'type': 'array', 'itemType': 'string' },
368
+ clusterDNS: { 'type': 'array', 'itemType': 'string' },
320
369
  containerLogMaxFiles: 'number',
321
370
  containerLogMaxSize: 'string',
371
+ cpuCFSQuota: 'boolean',
372
+ cpuCFSQuotaPeriod: 'string',
322
373
  cpuManagerPolicy: 'string',
323
374
  eventBurst: 'number',
324
375
  eventRecordQPS: 'number',
@@ -326,15 +377,22 @@ export class KubeletConfig extends $tea.Model {
326
377
  evictionSoft: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
327
378
  evictionSoftGracePeriod: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
328
379
  featureGates: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
380
+ imageGCHighThresholdPercent: 'number',
381
+ imageGCLowThresholdPercent: 'number',
329
382
  kubeAPIBurst: 'number',
330
383
  kubeAPIQPS: 'number',
331
384
  kubeReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
332
385
  maxPods: 'number',
386
+ memoryManagerPolicy: 'string',
387
+ podPidsLimit: 'number',
333
388
  readOnlyPort: 'number',
334
389
  registryBurst: 'number',
335
390
  registryPullQPS: 'number',
391
+ reservedMemory: { 'type': 'array', 'itemType': KubeletConfigReservedMemory },
336
392
  serializeImagePulls: 'boolean',
337
393
  systemReserved: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
394
+ topologyManagerPolicy: 'string',
395
+ tracing: KubeletConfigTracing,
338
396
  };
339
397
  }
340
398
 
@@ -1609,6 +1667,11 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
1609
1667
  * true
1610
1668
  */
1611
1669
  scaleUpFromZero?: boolean;
1670
+ /**
1671
+ * @example
1672
+ * cluster-autoscaler
1673
+ */
1674
+ scalerType?: string;
1612
1675
  /**
1613
1676
  * @remarks
1614
1677
  * The interval at which the system scans for events that trigger scaling activities. Unit: seconds. Default value: 60.
@@ -1668,6 +1731,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
1668
1731
  recycleNodeDeletionEnabled: 'recycle_node_deletion_enabled',
1669
1732
  scaleDownEnabled: 'scale_down_enabled',
1670
1733
  scaleUpFromZero: 'scale_up_from_zero',
1734
+ scalerType: 'scaler_type',
1671
1735
  scanInterval: 'scan_interval',
1672
1736
  skipNodesWithLocalStorage: 'skip_nodes_with_local_storage',
1673
1737
  skipNodesWithSystemPods: 'skip_nodes_with_system_pods',
@@ -1687,6 +1751,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
1687
1751
  recycleNodeDeletionEnabled: 'boolean',
1688
1752
  scaleDownEnabled: 'boolean',
1689
1753
  scaleUpFromZero: 'boolean',
1754
+ scalerType: 'string',
1690
1755
  scanInterval: 'string',
1691
1756
  skipNodesWithLocalStorage: 'boolean',
1692
1757
  skipNodesWithSystemPods: 'boolean',
@@ -1700,13 +1765,52 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
1700
1765
  }
1701
1766
  }
1702
1767
 
1768
+ export class CreateAutoscalingConfigResponseBody extends $tea.Model {
1769
+ /**
1770
+ * @example
1771
+ * cc212d04dfe184547bffaa596********
1772
+ */
1773
+ clusterId?: string;
1774
+ /**
1775
+ * @example
1776
+ * AF8BE105-C32B-1269-9774-5510********
1777
+ */
1778
+ requestId?: string;
1779
+ /**
1780
+ * @example
1781
+ * T-5fd211e924e1d007********
1782
+ */
1783
+ taskId?: string;
1784
+ static names(): { [key: string]: string } {
1785
+ return {
1786
+ clusterId: 'cluster_id',
1787
+ requestId: 'request_id',
1788
+ taskId: 'task_id',
1789
+ };
1790
+ }
1791
+
1792
+ static types(): { [key: string]: any } {
1793
+ return {
1794
+ clusterId: 'string',
1795
+ requestId: 'string',
1796
+ taskId: 'string',
1797
+ };
1798
+ }
1799
+
1800
+ constructor(map?: { [key: string]: any }) {
1801
+ super(map);
1802
+ }
1803
+ }
1804
+
1703
1805
  export class CreateAutoscalingConfigResponse extends $tea.Model {
1704
1806
  headers?: { [key: string]: string };
1705
1807
  statusCode?: number;
1808
+ body?: CreateAutoscalingConfigResponseBody;
1706
1809
  static names(): { [key: string]: string } {
1707
1810
  return {
1708
1811
  headers: 'headers',
1709
1812
  statusCode: 'statusCode',
1813
+ body: 'body',
1710
1814
  };
1711
1815
  }
1712
1816
 
@@ -1714,6 +1818,7 @@ export class CreateAutoscalingConfigResponse extends $tea.Model {
1714
1818
  return {
1715
1819
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1716
1820
  statusCode: 'number',
1821
+ body: CreateAutoscalingConfigResponseBody,
1717
1822
  };
1718
1823
  }
1719
1824
 
@@ -1781,6 +1886,8 @@ export class CreateClusterRequest extends $tea.Model {
1781
1886
  *
1782
1887
  * @example
1783
1888
  * true
1889
+ *
1890
+ * @deprecated
1784
1891
  */
1785
1892
  autoRenew?: boolean;
1786
1893
  /**
@@ -1793,6 +1900,8 @@ export class CreateClusterRequest extends $tea.Model {
1793
1900
  *
1794
1901
  * @example
1795
1902
  * 1
1903
+ *
1904
+ * @deprecated
1796
1905
  */
1797
1906
  autoRenewPeriod?: number;
1798
1907
  /**
@@ -1813,6 +1922,8 @@ export class CreateClusterRequest extends $tea.Model {
1813
1922
  *
1814
1923
  * @example
1815
1924
  * 1
1925
+ *
1926
+ * @deprecated
1816
1927
  */
1817
1928
  chargeType?: string;
1818
1929
  /**
@@ -2411,6 +2522,8 @@ export class CreateClusterRequest extends $tea.Model {
2411
2522
  *
2412
2523
  * @example
2413
2524
  * FY2023
2525
+ *
2526
+ * @deprecated
2414
2527
  */
2415
2528
  period?: number;
2416
2529
  /**
@@ -2423,6 +2536,8 @@ export class CreateClusterRequest extends $tea.Model {
2423
2536
  *
2424
2537
  * @example
2425
2538
  * Month
2539
+ *
2540
+ * @deprecated
2426
2541
  */
2427
2542
  periodUnit?: string;
2428
2543
  /**
@@ -3286,6 +3401,16 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
3286
3401
  * @deprecated
3287
3402
  */
3288
3403
  count?: number;
3404
+ /**
3405
+ * @remarks
3406
+ * Specifies whether set the network type of the pod to host network.
3407
+ *
3408
+ * * `true`: sets to host network.
3409
+ * * `false`: sets to container network.
3410
+ *
3411
+ * @example
3412
+ * true
3413
+ */
3289
3414
  hostNetwork?: boolean;
3290
3415
  /**
3291
3416
  * @remarks
@@ -3300,13 +3425,23 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
3300
3425
  * @remarks
3301
3426
  * The network type of the edge node pool. This parameter takes effect only when the `type` of the node pool is set to `edge`. Valid values:
3302
3427
  *
3303
- * * `basic`: basic.
3304
- * * `private`: dedicated. Only clusters that run Kubernetes 1.22 and later support this value.
3428
+ * * `basic`: Internet.
3429
+ * * `private`: private network.
3305
3430
  *
3306
3431
  * @example
3307
3432
  * basic
3308
3433
  */
3309
3434
  interconnectMode?: string;
3435
+ /**
3436
+ * @remarks
3437
+ * Specifies whether all nodes in the edge node pool can communicate with each other at Layer 3.
3438
+ *
3439
+ * * `true`: The nodes in the edge node pool can communicate with each other at Layer 3.
3440
+ * * `false`: The nodes in the edge node pool cannot communicate with each other at Layer 3.
3441
+ *
3442
+ * @example
3443
+ * true
3444
+ */
3310
3445
  intranet?: boolean;
3311
3446
  /**
3312
3447
  * @remarks
@@ -3320,10 +3455,9 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
3320
3455
  management?: CreateClusterNodePoolRequestManagement;
3321
3456
  /**
3322
3457
  * @remarks
3323
- * The maximum number of nodes that can be contained in the edge node pool. The value of this parameter must be greater than or equal to 0. A value of 0 indicates that the number of nodes in the node pool is limited only by the quota of nodes in the cluster.
3458
+ * This parameter is deprecated.
3324
3459
  *
3325
- * * In most cases, this parameter is set to a value greater than 0 for edge node pools.
3326
- * * This parameter is set to 0 for node pools whose types are ess or default edge node pools.
3460
+ * The maximum number of nodes that can be contained in the edge node pool.
3327
3461
  *
3328
3462
  * @example
3329
3463
  * 10
@@ -5570,7 +5704,7 @@ export class DescribeClusterAttachScriptsRequest extends $tea.Model {
5570
5704
  * * `true`: retains the instance name.
5571
5705
  * * `false`: does not retain the instance name.
5572
5706
  *
5573
- * Default value: `true`
5707
+ * Default value: `true`.
5574
5708
  *
5575
5709
  * @example
5576
5710
  * true
@@ -5578,9 +5712,9 @@ export class DescribeClusterAttachScriptsRequest extends $tea.Model {
5578
5712
  keepInstanceName?: boolean;
5579
5713
  /**
5580
5714
  * @remarks
5581
- * The ID of the node pool to which you want to add an existing node. This parameter allows you to add an existing node to a specified node pool.
5715
+ * The ID of the node pool to which you want to add an existing node.
5582
5716
  *
5583
- * > If you do not specify a node pool ID, the node is added to the default node pool.
5717
+ * > If you do not specify a node pool ID, the node is added to a default node pool.
5584
5718
  *
5585
5719
  * @example
5586
5720
  * np1c9229d9be2d432c93f77a88fca0****
@@ -5598,7 +5732,7 @@ export class DescribeClusterAttachScriptsRequest extends $tea.Model {
5598
5732
  options?: string;
5599
5733
  /**
5600
5734
  * @remarks
5601
- * After you specify the list of RDS instances, the ECS instances in the cluster are automatically added to the whitelist of the RDS instances.
5735
+ * The ApsaraDB RDS instances. If you specify a list of ApsaraDB RDS instances, ECS instances in the cluster are automatically added to the whitelist of the ApsaraDB RDS instances.
5602
5736
  */
5603
5737
  rdsInstances?: string[];
5604
5738
  static names(): { [key: string]: string } {
@@ -6254,6 +6388,13 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
6254
6388
  * The auto scaling configuration of the node pool.
6255
6389
  */
6256
6390
  autoScaling?: DescribeClusterNodePoolDetailResponseBodyAutoScaling;
6391
+ /**
6392
+ * @remarks
6393
+ * Indicates whether the pods in the edge node pool can use the host network.
6394
+ *
6395
+ * @example
6396
+ * true
6397
+ */
6257
6398
  hostNetwork?: boolean;
6258
6399
  /**
6259
6400
  * @remarks
@@ -6268,10 +6409,17 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
6268
6409
  * improved
6269
6410
  */
6270
6411
  interconnectMode?: string;
6412
+ /**
6413
+ * @remarks
6414
+ * Indicates whether all nodes in the edge node pool can communicate with each other at Layer 3.
6415
+ *
6416
+ * @example
6417
+ * true
6418
+ */
6271
6419
  intranet?: boolean;
6272
6420
  /**
6273
6421
  * @remarks
6274
- * The configurations of the cluster in which the node pool is deployed.
6422
+ * The configurations of the cluster.
6275
6423
  */
6276
6424
  kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
6277
6425
  /**
@@ -6289,7 +6437,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
6289
6437
  maxNodes?: number;
6290
6438
  /**
6291
6439
  * @remarks
6292
- * Node configuration.
6440
+ * The node configurations.
6293
6441
  */
6294
6442
  nodeConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfig;
6295
6443
  /**
@@ -6299,7 +6447,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
6299
6447
  nodepoolInfo?: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo;
6300
6448
  /**
6301
6449
  * @remarks
6302
- * The configurations of the scaling group.
6450
+ * The configurations of the scaling group used by the node pool.
6303
6451
  */
6304
6452
  scalingGroup?: DescribeClusterNodePoolDetailResponseBodyScalingGroup;
6305
6453
  /**
@@ -6840,15 +6988,18 @@ export class DescribeClusterUserKubeconfigResponse extends $tea.Model {
6840
6988
 
6841
6989
  export class DescribeClusterV2UserKubeconfigRequest extends $tea.Model {
6842
6990
  privateIpAddress?: boolean;
6991
+ temporaryDurationMinutes?: number;
6843
6992
  static names(): { [key: string]: string } {
6844
6993
  return {
6845
6994
  privateIpAddress: 'PrivateIpAddress',
6995
+ temporaryDurationMinutes: 'TemporaryDurationMinutes',
6846
6996
  };
6847
6997
  }
6848
6998
 
6849
6999
  static types(): { [key: string]: any } {
6850
7000
  return {
6851
7001
  privateIpAddress: 'boolean',
7002
+ temporaryDurationMinutes: 'number',
6852
7003
  };
6853
7004
  }
6854
7005
 
@@ -7015,36 +7166,57 @@ export class DescribeClustersResponse extends $tea.Model {
7015
7166
 
7016
7167
  export class DescribeClustersForRegionRequest extends $tea.Model {
7017
7168
  /**
7169
+ * @remarks
7170
+ * The cluster ID.
7171
+ *
7018
7172
  * @example
7019
7173
  * c8155823d057948c69a****
7020
7174
  */
7021
7175
  clusterId?: string;
7022
7176
  /**
7177
+ * @remarks
7178
+ * The specification of the cluster.
7179
+ *
7023
7180
  * @example
7024
7181
  * ack.standard
7025
7182
  */
7026
7183
  clusterSpec?: string;
7027
7184
  /**
7185
+ * @remarks
7186
+ * The type of the cluster.
7187
+ *
7028
7188
  * @example
7029
7189
  * Kubernetes
7030
7190
  */
7031
7191
  clusterType?: string;
7032
7192
  /**
7193
+ * @remarks
7194
+ * Perform a fuzzy search by using the cluster name.
7195
+ *
7033
7196
  * @example
7034
7197
  * test-cluster
7035
7198
  */
7036
7199
  name?: string;
7037
7200
  /**
7201
+ * @remarks
7202
+ * The number of pages.
7203
+ *
7038
7204
  * @example
7039
7205
  * 10
7040
7206
  */
7041
7207
  pageNumber?: number;
7042
7208
  /**
7209
+ * @remarks
7210
+ * The number of records on each page.
7211
+ *
7043
7212
  * @example
7044
7213
  * 3
7045
7214
  */
7046
7215
  pageSize?: number;
7047
7216
  /**
7217
+ * @remarks
7218
+ * The identifier of the cluster.
7219
+ *
7048
7220
  * @example
7049
7221
  * Serverless
7050
7222
  */
@@ -7079,7 +7251,15 @@ export class DescribeClustersForRegionRequest extends $tea.Model {
7079
7251
  }
7080
7252
 
7081
7253
  export class DescribeClustersForRegionResponseBody extends $tea.Model {
7254
+ /**
7255
+ * @remarks
7256
+ * The details of the clusters.
7257
+ */
7082
7258
  clusters?: DescribeClustersForRegionResponseBodyClusters[];
7259
+ /**
7260
+ * @remarks
7261
+ * The pagination details.
7262
+ */
7083
7263
  pageInfo?: DescribeClustersForRegionResponseBodyPageInfo;
7084
7264
  static names(): { [key: string]: string } {
7085
7265
  return {
@@ -7802,16 +7982,25 @@ export class DescribeEventsResponse extends $tea.Model {
7802
7982
 
7803
7983
  export class DescribeEventsForRegionRequest extends $tea.Model {
7804
7984
  /**
7985
+ * @remarks
7986
+ * The cluster ID.
7987
+ *
7805
7988
  * @example
7806
7989
  * cf62854ac2130470897be7a27ed1f****
7807
7990
  */
7808
7991
  clusterId?: string;
7809
7992
  /**
7993
+ * @remarks
7994
+ * The number of pages.
7995
+ *
7810
7996
  * @example
7811
7997
  * 1
7812
7998
  */
7813
7999
  pageNumber?: number;
7814
8000
  /**
8001
+ * @remarks
8002
+ * The number of records on each page.
8003
+ *
7815
8004
  * @example
7816
8005
  * 50
7817
8006
  */
@@ -7838,7 +8027,15 @@ export class DescribeEventsForRegionRequest extends $tea.Model {
7838
8027
  }
7839
8028
 
7840
8029
  export class DescribeEventsForRegionResponseBody extends $tea.Model {
8030
+ /**
8031
+ * @remarks
8032
+ * The events.
8033
+ */
7841
8034
  events?: DescribeEventsForRegionResponseBodyEvents[];
8035
+ /**
8036
+ * @remarks
8037
+ * The pagination details.
8038
+ */
7842
8039
  pageInfo?: DescribeEventsForRegionResponseBodyPageInfo;
7843
8040
  static names(): { [key: string]: string } {
7844
8041
  return {
@@ -11671,17 +11868,17 @@ export class ModifyClusterTagsResponse extends $tea.Model {
11671
11868
  export class ModifyNodePoolNodeConfigRequest extends $tea.Model {
11672
11869
  /**
11673
11870
  * @remarks
11674
- * The parameters of the kubelet.
11871
+ * The kubelet configuration.
11675
11872
  */
11676
11873
  kubeletConfig?: KubeletConfig;
11677
11874
  /**
11678
11875
  * @remarks
11679
- * Operating system parameter configuration.
11876
+ * The OS configuration.
11680
11877
  */
11681
11878
  osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
11682
11879
  /**
11683
11880
  * @remarks
11684
- * The rotation configurations.
11881
+ * The rotation configuration.
11685
11882
  */
11686
11883
  rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
11687
11884
  static names(): { [key: string]: string } {
@@ -14852,6 +15049,54 @@ export class UpgradeClusterNodepoolResponse extends $tea.Model {
14852
15049
  }
14853
15050
  }
14854
15051
 
15052
+ export class KubeletConfigReservedMemory extends $tea.Model {
15053
+ limits?: { [key: string]: any };
15054
+ numaNode?: number;
15055
+ static names(): { [key: string]: string } {
15056
+ return {
15057
+ limits: 'limits',
15058
+ numaNode: 'numaNode',
15059
+ };
15060
+ }
15061
+
15062
+ static types(): { [key: string]: any } {
15063
+ return {
15064
+ limits: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
15065
+ numaNode: 'number',
15066
+ };
15067
+ }
15068
+
15069
+ constructor(map?: { [key: string]: any }) {
15070
+ super(map);
15071
+ }
15072
+ }
15073
+
15074
+ export class KubeletConfigTracing extends $tea.Model {
15075
+ /**
15076
+ * @example
15077
+ * localhost:4317
15078
+ */
15079
+ endpoint?: string;
15080
+ samplingRatePerMillion?: number;
15081
+ static names(): { [key: string]: string } {
15082
+ return {
15083
+ endpoint: 'endpoint',
15084
+ samplingRatePerMillion: 'samplingRatePerMillion',
15085
+ };
15086
+ }
15087
+
15088
+ static types(): { [key: string]: any } {
15089
+ return {
15090
+ endpoint: 'string',
15091
+ samplingRatePerMillion: 'number',
15092
+ };
15093
+ }
15094
+
15095
+ constructor(map?: { [key: string]: any }) {
15096
+ super(map);
15097
+ }
15098
+ }
15099
+
14855
15100
  export class NodepoolAutoScaling extends $tea.Model {
14856
15101
  /**
14857
15102
  * @example
@@ -16242,7 +16487,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
16242
16487
  * * `true`: installs the CloudMonitor agent on ECS nodes.
16243
16488
  * * `false`: does not install the CloudMonitor agent on ECS nodes.
16244
16489
  *
16245
- * Default value: `false`.
16490
+ * Default value: `false`
16246
16491
  *
16247
16492
  * @example
16248
16493
  * true
@@ -16311,7 +16556,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
16311
16556
  runtimeVersion?: string;
16312
16557
  /**
16313
16558
  * @remarks
16314
- * The taints.
16559
+ * The configuration of the taint.
16315
16560
  */
16316
16561
  taints?: Taint[];
16317
16562
  /**
@@ -16518,7 +16763,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
16518
16763
  * @remarks
16519
16764
  * The maximum number of nodes that can be in the Unavailable state. Valid values: 1 to 1000.
16520
16765
  *
16521
- * Default value: 1.
16766
+ * Default value: 1
16522
16767
  *
16523
16768
  * @example
16524
16769
  * 1
@@ -16823,7 +17068,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea
16823
17068
  export class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
16824
17069
  /**
16825
17070
  * @remarks
16826
- * The label key.
17071
+ * The tag key.
16827
17072
  *
16828
17073
  * @example
16829
17074
  * node-k-1
@@ -16831,7 +17076,7 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
16831
17076
  key?: string;
16832
17077
  /**
16833
17078
  * @remarks
16834
- * The label value.
17079
+ * The tag value.
16835
17080
  *
16836
17081
  * @example
16837
17082
  * node-v-1
@@ -16864,7 +17109,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16864
17109
  * * `true`: enables auto-renewal.
16865
17110
  * * `false`: disables auto-renewal.
16866
17111
  *
16867
- * Default value: `false`.
17112
+ * Default value: `false`
16868
17113
  *
16869
17114
  * @example
16870
17115
  * true
@@ -16872,9 +17117,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16872
17117
  autoRenew?: boolean;
16873
17118
  /**
16874
17119
  * @remarks
16875
- * The auto-renewal duration of nodes in the node pool. This parameter is available and required only if you set instance_charge_type to PrePaid and auto_renew to true. If `PeriodUnit=Month` is configured, the valid values are 1, 2, 3, 6, and 12.
17120
+ * The auto-renewal period. Valid values:
16876
17121
  *
16877
- * Default value: 1.
17122
+ * * Valid values when PeriodUnit is set to Week: 1, 2, and 3
17123
+ * * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
17124
+ *
17125
+ * Default value: 1
16878
17126
  *
16879
17127
  * @example
16880
17128
  * 1
@@ -18285,10 +18533,10 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
18285
18533
  cpuPolicy?: string;
18286
18534
  /**
18287
18535
  * @remarks
18288
- * The labels of the nodes in the node pool. You can add labels to the nodes in the cluster. You must add labels based on the following rules:
18536
+ * The labels that you want to add to the nodes in the cluster. You must add labels based on the following rules:
18289
18537
  *
18290
- * * Each label is a case-sensitive key-value pair. You can add up to 20 labels.
18291
- * * A key must be unique and cannot exceed 64 characters in length. A value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
18538
+ * * A label is a case-sensitive key-value pair. You can add up to 20 labels.
18539
+ * * The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
18292
18540
  */
18293
18541
  labels?: Tag[];
18294
18542
  /**
@@ -18307,6 +18555,9 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
18307
18555
  /**
18308
18556
  * @remarks
18309
18557
  * The custom script to be executed before nodes in the node pool are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
18558
+ *
18559
+ * @example
18560
+ * dGhpcyBpcyBhIGV4YW1wbGU
18310
18561
  */
18311
18562
  preUserData?: string;
18312
18563
  /**
@@ -18327,7 +18578,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
18327
18578
  runtimeVersion?: string;
18328
18579
  /**
18329
18580
  * @remarks
18330
- * The taints of the nodes in the node pool. Taints are added to nodes to prevent pods from being scheduled to inappropriate nodes. However, tolerations allow pods to be scheduled to nodes with matching taints. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
18581
+ * The taints that you want to add to nodes. Taints can be used together with tolerations to prevent pods from being scheduled to specific nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
18331
18582
  */
18332
18583
  taints?: Taint[];
18333
18584
  /**
@@ -18623,7 +18874,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Mo
18623
18874
  export class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $tea.Model {
18624
18875
  /**
18625
18876
  * @remarks
18626
- * Kubelet parameter configuration.
18877
+ * The configurations of the kubelet.
18627
18878
  */
18628
18879
  kubeletConfiguration?: KubeletConfig;
18629
18880
  static names(): { [key: string]: string } {
@@ -18864,7 +19115,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
18864
19115
  compensateWithOnDemand?: boolean;
18865
19116
  /**
18866
19117
  * @remarks
18867
- * The configurations of the data disks that are attached to the nodes in the node pool. The configurations include the disk type and disk size.
19118
+ * The configurations of the data disks that are attached to the nodes in the node pool. The configurations include the disk category and disk size.
18868
19119
  */
18869
19120
  dataDisks?: DataDisk[];
18870
19121
  /**
@@ -18912,7 +19163,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
18912
19163
  instanceChargeType?: string;
18913
19164
  /**
18914
19165
  * @remarks
18915
- * Instance attributes
19166
+ * The instance properties.
18916
19167
  */
18917
19168
  instancePatterns?: InstancePatterns[];
18918
19169
  /**
@@ -19157,14 +19408,14 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
19157
19408
  systemDiskBurstingEnabled?: boolean;
19158
19409
  /**
19159
19410
  * @remarks
19160
- * The system disk types. The system attempts to create system disks from a disk type with a lower priority when the disk type with a higher priority is unavailable. Valid values: Valid values:
19411
+ * The categories of the system disk for nodes. The system attempts to create system disks of a disk category with a lower priority if the disk category with a higher priority is unavailable. Valid values: Valid values:
19161
19412
  *
19162
- * * `cloud`: basic disk
19163
- * * `cloud_efficiency`: ultra disk
19164
- * * `cloud_ssd`: standard SSD
19165
- * * `cloud_essd`: ESSD
19166
- * * `cloud_auto`: ESSD AutoPL disk
19167
- * * `cloud_essd_entry`: ESSD Entry disk
19413
+ * * `cloud`: basic disk.
19414
+ * * `cloud_efficiency`: ultra disk.
19415
+ * * `cloud_ssd`: standard SSD.
19416
+ * * `cloud_essd`: Enterprise SSD (ESSD).
19417
+ * * `cloud_auto`: ESSD AutoPL disk.
19418
+ * * `cloud_essd_entry`: ESSD Entry disk.
19168
19419
  *
19169
19420
  * Default value: `cloud_efficiency`.
19170
19421
  */
@@ -19188,7 +19439,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
19188
19439
  systemDiskCategory?: string;
19189
19440
  /**
19190
19441
  * @remarks
19191
- * Encryption algorithm used for the system disk. Valid values: aes-256.
19442
+ * The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256.
19192
19443
  *
19193
19444
  * @example
19194
19445
  * aes-256
@@ -19241,9 +19492,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
19241
19492
  systemDiskSize?: number;
19242
19493
  /**
19243
19494
  * @remarks
19244
- * The labels that you want to add to the ECS instances.
19495
+ * The labels that you want to add only to ECS instances.
19245
19496
  *
19246
- * A key must be unique and cannot exceed 128 characters in length. Neither keys nor values can start with aliyun or acs:. Neither keys nor values can contain https:// or http://.
19497
+ * The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: or contain https:// or http://.
19247
19498
  */
19248
19499
  tags?: Tag[];
19249
19500
  /**
@@ -21927,92 +22178,165 @@ export class DescribeClustersResponseBody extends $tea.Model {
21927
22178
 
21928
22179
  export class DescribeClustersForRegionResponseBodyClusters extends $tea.Model {
21929
22180
  /**
22181
+ * @remarks
22182
+ * The domain name of the cluster.
22183
+ *
21930
22184
  * @example
21931
22185
  * cluster.local
21932
22186
  */
21933
22187
  clusterDomain?: string;
21934
22188
  /**
22189
+ * @remarks
22190
+ * The cluster ID.
22191
+ *
21935
22192
  * @example
21936
22193
  * c905d1364c2dd4b6284a3f41790c4****
21937
22194
  */
21938
22195
  clusterId?: string;
21939
22196
  /**
22197
+ * @remarks
22198
+ * The types of ACK managed clusters:
22199
+ *
22200
+ * * ack.pro.small: ACK Pro cluster
22201
+ * * ack.standard: ACK Basic cluster
22202
+ *
21940
22203
  * @example
21941
22204
  * ack.standard
21942
22205
  */
21943
22206
  clusterSpec?: string;
21944
22207
  /**
22208
+ * @remarks
22209
+ * The type of the cluster. Valid values:
22210
+ *
22211
+ * * Kubernetes: ACK dedicated cluster
22212
+ * * ManagedKubernetes: ACK managed clusters. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters.
22213
+ * * ExternalKubernetes: registered cluster
22214
+ *
21945
22215
  * @example
21946
22216
  * ManagedKubernetes
21947
22217
  */
21948
22218
  clusterType?: string;
21949
22219
  /**
22220
+ * @remarks
22221
+ * The CIDR block of pods in the cluster.
22222
+ *
21950
22223
  * @example
21951
22224
  * 172.20.0.0/16
21952
22225
  */
21953
22226
  containerCidr?: string;
21954
22227
  /**
22228
+ * @remarks
22229
+ * The time at which the instance is created.
22230
+ *
21955
22231
  * @example
21956
22232
  * 2020-12-01T20:40:40+08:00
21957
22233
  */
21958
22234
  created?: string;
21959
22235
  /**
22236
+ * @remarks
22237
+ * The current Kubernetes version of the cluster.
22238
+ *
21960
22239
  * @example
21961
22240
  * 1.16.6-aliyun.1
21962
22241
  */
21963
22242
  currentVersion?: string;
21964
22243
  /**
22244
+ * @remarks
22245
+ * Specifies whether to enable cluster deletion protection. If you enable this option, the cluster cannot be deleted in the console or by calling API operations. You can obtain the terminal ID by calling one of the following operations:
22246
+ *
22247
+ * * true: enables deletion protection for the cluster. This way, the cluster cannot be deleted in the ACK console or by calling API operations.
22248
+ * * false: disables deletion protection for the cluster. This way, the cluster can be deleted in the ACK console or by calling API operations.
22249
+ *
21965
22250
  * @example
21966
22251
  * false
21967
22252
  */
21968
22253
  deletionProtection?: boolean;
21969
22254
  /**
22255
+ * @remarks
22256
+ * The initial Kubernetes version of the cluster.
22257
+ *
21970
22258
  * @example
21971
22259
  * 1.16.6-aliyun.1
21972
22260
  */
21973
22261
  initVersion?: string;
21974
22262
  /**
22263
+ * @remarks
22264
+ * The IP protocol stack of the cluster.
22265
+ *
21975
22266
  * @example
21976
22267
  * ipv4
21977
22268
  */
21978
22269
  ipStack?: string;
21979
22270
  /**
22271
+ * @remarks
22272
+ * The name of the cluster.
22273
+ *
21980
22274
  * @example
21981
22275
  * test-cluster
21982
22276
  */
21983
22277
  name?: string;
21984
22278
  /**
22279
+ * @remarks
22280
+ * The Kubernetes version to which the cluster can be updated.
22281
+ *
21985
22282
  * @example
21986
22283
  * 1.18.8-aliyun.1
21987
22284
  */
21988
22285
  nextVersion?: string;
21989
22286
  /**
22287
+ * @remarks
22288
+ * The subtype of the cluster. Valid values:
22289
+ *
22290
+ * * Default: ACK managed clusters. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
22291
+ * * Edge: ACK Edge clusters. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
22292
+ * * Serverless: ACK Serverless clusters. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
22293
+ * * Lingjun: ACK Lingjun Pro clusters.
22294
+ *
21990
22295
  * @example
21991
22296
  * Default
21992
22297
  */
21993
22298
  profile?: string;
21994
22299
  /**
22300
+ * @remarks
22301
+ * The kube-proxy mode of the cluster.
22302
+ *
22303
+ * Valid value:
22304
+ *
22305
+ * * iptables: iptables.
22306
+ * * ipvs: ipvs.
22307
+ *
21995
22308
  * @example
21996
22309
  * ipvs
21997
22310
  */
21998
22311
  proxyMode?: string;
21999
22312
  /**
22313
+ * @remarks
22314
+ * The region ID.
22315
+ *
22000
22316
  * @example
22001
22317
  * cn-beijing-a
22002
22318
  */
22003
22319
  regionId?: string;
22004
22320
  /**
22321
+ * @remarks
22322
+ * The ID of the cluster resource group.
22323
+ *
22005
22324
  * @example
22006
22325
  * rg-acfmyvw3wjm****
22007
22326
  */
22008
22327
  resourceGroupId?: string;
22009
22328
  /**
22329
+ * @remarks
22330
+ * The ID of the security group of the cluster.
22331
+ *
22010
22332
  * @example
22011
22333
  * sg-2zeihch86ooz9io4****
22012
22334
  */
22013
22335
  securityGroupId?: string;
22014
22336
  /**
22015
22337
  * @remarks
22338
+ * The CIDR block of the service network.
22339
+ *
22016
22340
  * This parameter is required.
22017
22341
  *
22018
22342
  * @example
@@ -22020,31 +22344,67 @@ export class DescribeClustersForRegionResponseBodyClusters extends $tea.Model {
22020
22344
  */
22021
22345
  serviceCidr?: string;
22022
22346
  /**
22347
+ * @remarks
22348
+ * The number of nodes in the ACK cluster.
22349
+ *
22023
22350
  * @example
22024
22351
  * 2
22025
22352
  */
22026
22353
  size?: number;
22027
22354
  /**
22355
+ * @remarks
22356
+ * The status of the cluster. Valid values:
22357
+ *
22358
+ * * initial: The cluster is being created.
22359
+ * * failed: The cluster failed to be created.
22360
+ * * running: The cluster is running.
22361
+ * * Upgrading: The cluster is being updated.
22362
+ * * scaling: The cluster is being scaled.
22363
+ * * waiting: The cluster is waiting for connection requests.
22364
+ * * disconnected: The cluster is disconnected.
22365
+ * * inactive: The cluster is inactive.
22366
+ * * unavailable: The cluster is unavailable.
22367
+ * * deleting: The cluster is being deleted.
22368
+ * * deleted: The ACK cluster is deleted.
22369
+ * * delete_failed: The cluster failed to be deleted.
22370
+ *
22028
22371
  * @example
22029
22372
  * running
22030
22373
  */
22031
22374
  state?: string;
22375
+ /**
22376
+ * @remarks
22377
+ * The list of tags.
22378
+ */
22032
22379
  tags?: Tag[];
22033
22380
  /**
22381
+ * @remarks
22382
+ * The time zone.
22383
+ *
22034
22384
  * @example
22035
22385
  * Asia/Shanghai
22036
22386
  */
22037
22387
  timezone?: string;
22038
22388
  /**
22389
+ * @remarks
22390
+ * The time when the cluster was updated.
22391
+ *
22039
22392
  * @example
22040
22393
  * 2020-12-08T15:37:00+08:00
22041
22394
  */
22042
22395
  updated?: string;
22043
22396
  /**
22397
+ * @remarks
22398
+ * The ID of the virtual private cloud (VPC) to which the cluster belongs.
22399
+ *
22044
22400
  * @example
22045
22401
  * vpc-2zeg8nf1ukc0fcmvq****
22046
22402
  */
22047
22403
  vpcId?: string;
22404
+ /**
22405
+ * @remarks
22406
+ * The vSwitches for the control plane of the cluster.
22407
+ */
22048
22408
  vswitchIds?: string[];
22049
22409
  static names(): { [key: string]: string } {
22050
22410
  return {
@@ -22113,16 +22473,25 @@ export class DescribeClustersForRegionResponseBodyClusters extends $tea.Model {
22113
22473
 
22114
22474
  export class DescribeClustersForRegionResponseBodyPageInfo extends $tea.Model {
22115
22475
  /**
22476
+ * @remarks
22477
+ * The number of pages.
22478
+ *
22116
22479
  * @example
22117
22480
  * 1
22118
22481
  */
22119
22482
  pageNumber?: number;
22120
22483
  /**
22484
+ * @remarks
22485
+ * The number of records on each page.
22486
+ *
22121
22487
  * @example
22122
22488
  * 10
22123
22489
  */
22124
22490
  pageSize?: number;
22125
22491
  /**
22492
+ * @remarks
22493
+ * The total number of entries returned.
22494
+ *
22126
22495
  * @example
22127
22496
  * 10
22128
22497
  */
@@ -23145,16 +23514,25 @@ export class DescribeEventsResponseBodyPageInfo extends $tea.Model {
23145
23514
 
23146
23515
  export class DescribeEventsForRegionResponseBodyEventsData extends $tea.Model {
23147
23516
  /**
23517
+ * @remarks
23518
+ * The severity level of the event.
23519
+ *
23148
23520
  * @example
23149
23521
  * info
23150
23522
  */
23151
23523
  level?: string;
23152
23524
  /**
23525
+ * @remarks
23526
+ * The details of the event.
23527
+ *
23153
23528
  * @example
23154
23529
  * Start to upgrade NodePool nodePool/nodePool-A
23155
23530
  */
23156
23531
  message?: string;
23157
23532
  /**
23533
+ * @remarks
23534
+ * The event status.
23535
+ *
23158
23536
  * @example
23159
23537
  * Started
23160
23538
  */
@@ -23182,28 +23560,51 @@ export class DescribeEventsForRegionResponseBodyEventsData extends $tea.Model {
23182
23560
 
23183
23561
  export class DescribeEventsForRegionResponseBodyEvents extends $tea.Model {
23184
23562
  /**
23563
+ * @remarks
23564
+ * The cluster ID.
23565
+ *
23185
23566
  * @example
23186
23567
  * cluster-id
23187
23568
  */
23188
23569
  clusterId?: string;
23570
+ /**
23571
+ * @remarks
23572
+ * The description of the event.
23573
+ */
23189
23574
  data?: DescribeEventsForRegionResponseBodyEventsData;
23190
23575
  /**
23576
+ * @remarks
23577
+ * The event ID.
23578
+ *
23191
23579
  * @example
23192
23580
  * A234-1234-1234
23193
23581
  */
23194
23582
  eventId?: string;
23583
+ /**
23584
+ * @remarks
23585
+ * The event source.
23586
+ */
23195
23587
  source?: string;
23196
23588
  /**
23589
+ * @remarks
23590
+ * The object associated with the event.
23591
+ *
23197
23592
  * @example
23198
23593
  * nodePool-id
23199
23594
  */
23200
23595
  subject?: string;
23201
23596
  /**
23597
+ * @remarks
23598
+ * The time when the event was generated.
23599
+ *
23202
23600
  * @example
23203
23601
  * 2020-12-01T17:31:00Z
23204
23602
  */
23205
23603
  time?: string;
23206
23604
  /**
23605
+ * @remarks
23606
+ * The event type.
23607
+ *
23207
23608
  * @example
23208
23609
  * nodePool_upgrade
23209
23610
  */
@@ -23239,16 +23640,25 @@ export class DescribeEventsForRegionResponseBodyEvents extends $tea.Model {
23239
23640
 
23240
23641
  export class DescribeEventsForRegionResponseBodyPageInfo extends $tea.Model {
23241
23642
  /**
23643
+ * @remarks
23644
+ * The number of pages.
23645
+ *
23242
23646
  * @example
23243
23647
  * 1
23244
23648
  */
23245
23649
  pageNumber?: number;
23246
23650
  /**
23651
+ * @remarks
23652
+ * The number of records on each page.
23653
+ *
23247
23654
  * @example
23248
23655
  * 50
23249
23656
  */
23250
23657
  pageSize?: number;
23251
23658
  /**
23659
+ * @remarks
23660
+ * The total number of entries returned.
23661
+ *
23252
23662
  * @example
23253
23663
  * 3
23254
23664
  */
@@ -27690,7 +28100,7 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
27690
28100
  export class ModifyNodePoolNodeConfigRequestOsConfig extends $tea.Model {
27691
28101
  /**
27692
28102
  * @remarks
27693
- * sysctl parameter configuration
28103
+ * The sysctl configuration.
27694
28104
  */
27695
28105
  sysctl?: { [key: string]: any };
27696
28106
  static names(): { [key: string]: string } {
@@ -28770,6 +29180,10 @@ export default class Client extends OpenApi {
28770
29180
  body["scale_up_from_zero"] = request.scaleUpFromZero;
28771
29181
  }
28772
29182
 
29183
+ if (!Util.isUnset(request.scalerType)) {
29184
+ body["scaler_type"] = request.scalerType;
29185
+ }
29186
+
28773
29187
  if (!Util.isUnset(request.scanInterval)) {
28774
29188
  body["scan_interval"] = request.scanInterval;
28775
29189
  }
@@ -28803,7 +29217,7 @@ export default class Client extends OpenApi {
28803
29217
  authType: "AK",
28804
29218
  style: "ROA",
28805
29219
  reqBodyType: "json",
28806
- bodyType: "none",
29220
+ bodyType: "json",
28807
29221
  });
28808
29222
  return $tea.cast<CreateAutoscalingConfigResponse>(await this.callApi(params, req, runtime), new CreateAutoscalingConfigResponse({}));
28809
29223
  }
@@ -29469,11 +29883,14 @@ export default class Client extends OpenApi {
29469
29883
  /**
29470
29884
  * You can call the CreateKubernetesTrigger operation to create a trigger for an application.
29471
29885
  *
29886
+ * @deprecated OpenAPI CreateKubernetesTrigger is deprecated
29887
+ *
29472
29888
  * @param request - CreateKubernetesTriggerRequest
29473
29889
  * @param headers - map
29474
29890
  * @param runtime - runtime options for this request RuntimeOptions
29475
29891
  * @returns CreateKubernetesTriggerResponse
29476
29892
  */
29893
+ // Deprecated
29477
29894
  async createKubernetesTriggerWithOptions(request: CreateKubernetesTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateKubernetesTriggerResponse> {
29478
29895
  Util.validateModel(request);
29479
29896
  let body : {[key: string ]: any} = { };
@@ -29514,9 +29931,12 @@ export default class Client extends OpenApi {
29514
29931
  /**
29515
29932
  * You can call the CreateKubernetesTrigger operation to create a trigger for an application.
29516
29933
  *
29934
+ * @deprecated OpenAPI CreateKubernetesTrigger is deprecated
29935
+ *
29517
29936
  * @param request - CreateKubernetesTriggerRequest
29518
29937
  * @returns CreateKubernetesTriggerResponse
29519
29938
  */
29939
+ // Deprecated
29520
29940
  async createKubernetesTrigger(request: CreateKubernetesTriggerRequest): Promise<CreateKubernetesTriggerResponse> {
29521
29941
  let runtime = new $Util.RuntimeOptions({ });
29522
29942
  let headers : {[key: string ]: string} = { };
@@ -29968,10 +30388,13 @@ export default class Client extends OpenApi {
29968
30388
  /**
29969
30389
  * You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
29970
30390
  *
30391
+ * @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
30392
+ *
29971
30393
  * @param headers - map
29972
30394
  * @param runtime - runtime options for this request RuntimeOptions
29973
30395
  * @returns DeleteKubernetesTriggerResponse
29974
30396
  */
30397
+ // Deprecated
29975
30398
  async deleteKubernetesTriggerWithOptions(Id: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteKubernetesTriggerResponse> {
29976
30399
  let req = new $OpenApi.OpenApiRequest({
29977
30400
  headers: headers,
@@ -29992,8 +30415,11 @@ export default class Client extends OpenApi {
29992
30415
 
29993
30416
  /**
29994
30417
  * You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
30418
+ *
30419
+ * @deprecated OpenAPI DeleteKubernetesTrigger is deprecated
29995
30420
  * @returns DeleteKubernetesTriggerResponse
29996
30421
  */
30422
+ // Deprecated
29997
30423
  async deleteKubernetesTrigger(Id: string): Promise<DeleteKubernetesTriggerResponse> {
29998
30424
  let runtime = new $Util.RuntimeOptions({ });
29999
30425
  let headers : {[key: string ]: string} = { };
@@ -31031,6 +31457,10 @@ export default class Client extends OpenApi {
31031
31457
  query["PrivateIpAddress"] = request.privateIpAddress;
31032
31458
  }
31033
31459
 
31460
+ if (!Util.isUnset(request.temporaryDurationMinutes)) {
31461
+ query["TemporaryDurationMinutes"] = request.temporaryDurationMinutes;
31462
+ }
31463
+
31034
31464
  let req = new $OpenApi.OpenApiRequest({
31035
31465
  headers: headers,
31036
31466
  query: OpenApiUtil.query(query),
@@ -31159,7 +31589,7 @@ export default class Client extends OpenApi {
31159
31589
  }
31160
31590
 
31161
31591
  /**
31162
- * 查询指定地域内全部集群列表
31592
+ * Queries all clusters in a specified region.
31163
31593
  *
31164
31594
  * @param request - DescribeClustersForRegionRequest
31165
31595
  * @param headers - map
@@ -31216,7 +31646,7 @@ export default class Client extends OpenApi {
31216
31646
  }
31217
31647
 
31218
31648
  /**
31219
- * 查询指定地域内全部集群列表
31649
+ * Queries all clusters in a specified region.
31220
31650
  *
31221
31651
  * @param request - DescribeClustersForRegionRequest
31222
31652
  * @returns DescribeClustersForRegionResponse
@@ -31303,10 +31733,13 @@ export default class Client extends OpenApi {
31303
31733
  /**
31304
31734
  * You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
31305
31735
  *
31736
+ * @deprecated OpenAPI DescribeEdgeMachineActiveProcess is deprecated
31737
+ *
31306
31738
  * @param headers - map
31307
31739
  * @param runtime - runtime options for this request RuntimeOptions
31308
31740
  * @returns DescribeEdgeMachineActiveProcessResponse
31309
31741
  */
31742
+ // Deprecated
31310
31743
  async describeEdgeMachineActiveProcessWithOptions(edgeMachineid: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEdgeMachineActiveProcessResponse> {
31311
31744
  let req = new $OpenApi.OpenApiRequest({
31312
31745
  headers: headers,
@@ -31327,8 +31760,11 @@ export default class Client extends OpenApi {
31327
31760
 
31328
31761
  /**
31329
31762
  * You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
31763
+ *
31764
+ * @deprecated OpenAPI DescribeEdgeMachineActiveProcess is deprecated
31330
31765
  * @returns DescribeEdgeMachineActiveProcessResponse
31331
31766
  */
31767
+ // Deprecated
31332
31768
  async describeEdgeMachineActiveProcess(edgeMachineid: string): Promise<DescribeEdgeMachineActiveProcessResponse> {
31333
31769
  let runtime = new $Util.RuntimeOptions({ });
31334
31770
  let headers : {[key: string ]: string} = { };
@@ -31528,7 +31964,7 @@ export default class Client extends OpenApi {
31528
31964
  }
31529
31965
 
31530
31966
  /**
31531
- * 查询指定地域内全部事件列表
31967
+ * Queries all events in a specified region.
31532
31968
  *
31533
31969
  * @param request - DescribeEventsForRegionRequest
31534
31970
  * @param headers - map
@@ -31569,7 +32005,7 @@ export default class Client extends OpenApi {
31569
32005
  }
31570
32006
 
31571
32007
  /**
31572
- * 查询指定地域内全部事件列表
32008
+ * Queries all events in a specified region.
31573
32009
  *
31574
32010
  * @param request - DescribeEventsForRegionRequest
31575
32011
  * @returns DescribeEventsForRegionResponse
@@ -31586,11 +32022,14 @@ export default class Client extends OpenApi {
31586
32022
  * @remarks
31587
32023
  * For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
31588
32024
  *
32025
+ * @deprecated OpenAPI DescribeExternalAgent is deprecated
32026
+ *
31589
32027
  * @param request - DescribeExternalAgentRequest
31590
32028
  * @param headers - map
31591
32029
  * @param runtime - runtime options for this request RuntimeOptions
31592
32030
  * @returns DescribeExternalAgentResponse
31593
32031
  */
32032
+ // Deprecated
31594
32033
  async describeExternalAgentWithOptions(ClusterId: string, request: DescribeExternalAgentRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeExternalAgentResponse> {
31595
32034
  Util.validateModel(request);
31596
32035
  let query : {[key: string ]: any} = { };
@@ -31626,9 +32065,12 @@ export default class Client extends OpenApi {
31626
32065
  * @remarks
31627
32066
  * For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
31628
32067
  *
32068
+ * @deprecated OpenAPI DescribeExternalAgent is deprecated
32069
+ *
31629
32070
  * @param request - DescribeExternalAgentRequest
31630
32071
  * @returns DescribeExternalAgentResponse
31631
32072
  */
32073
+ // Deprecated
31632
32074
  async describeExternalAgent(ClusterId: string, request: DescribeExternalAgentRequest): Promise<DescribeExternalAgentResponse> {
31633
32075
  let runtime = new $Util.RuntimeOptions({ });
31634
32076
  let headers : {[key: string ]: string} = { };
@@ -32350,11 +32792,14 @@ export default class Client extends OpenApi {
32350
32792
  /**
32351
32793
  * You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
32352
32794
  *
32795
+ * @deprecated OpenAPI EdgeClusterAddEdgeMachine is deprecated
32796
+ *
32353
32797
  * @param request - EdgeClusterAddEdgeMachineRequest
32354
32798
  * @param headers - map
32355
32799
  * @param runtime - runtime options for this request RuntimeOptions
32356
32800
  * @returns EdgeClusterAddEdgeMachineResponse
32357
32801
  */
32802
+ // Deprecated
32358
32803
  async edgeClusterAddEdgeMachineWithOptions(clusterid: string, edgeMachineid: string, request: EdgeClusterAddEdgeMachineRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<EdgeClusterAddEdgeMachineResponse> {
32359
32804
  Util.validateModel(request);
32360
32805
  let body : {[key: string ]: any} = { };
@@ -32391,9 +32836,12 @@ export default class Client extends OpenApi {
32391
32836
  /**
32392
32837
  * You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
32393
32838
  *
32839
+ * @deprecated OpenAPI EdgeClusterAddEdgeMachine is deprecated
32840
+ *
32394
32841
  * @param request - EdgeClusterAddEdgeMachineRequest
32395
32842
  * @returns EdgeClusterAddEdgeMachineResponse
32396
32843
  */
32844
+ // Deprecated
32397
32845
  async edgeClusterAddEdgeMachine(clusterid: string, edgeMachineid: string, request: EdgeClusterAddEdgeMachineRequest): Promise<EdgeClusterAddEdgeMachineResponse> {
32398
32846
  let runtime = new $Util.RuntimeOptions({ });
32399
32847
  let headers : {[key: string ]: string} = { };
@@ -32647,11 +33095,14 @@ export default class Client extends OpenApi {
32647
33095
  /**
32648
33096
  * You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
32649
33097
  *
33098
+ * @deprecated OpenAPI GetKubernetesTrigger is deprecated
33099
+ *
32650
33100
  * @param request - GetKubernetesTriggerRequest
32651
33101
  * @param headers - map
32652
33102
  * @param runtime - runtime options for this request RuntimeOptions
32653
33103
  * @returns GetKubernetesTriggerResponse
32654
33104
  */
33105
+ // Deprecated
32655
33106
  async getKubernetesTriggerWithOptions(ClusterId: string, request: GetKubernetesTriggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetKubernetesTriggerResponse> {
32656
33107
  Util.validateModel(request);
32657
33108
  let query : {[key: string ]: any} = { };
@@ -32692,9 +33143,12 @@ export default class Client extends OpenApi {
32692
33143
  /**
32693
33144
  * You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
32694
33145
  *
33146
+ * @deprecated OpenAPI GetKubernetesTrigger is deprecated
33147
+ *
32695
33148
  * @param request - GetKubernetesTriggerRequest
32696
33149
  * @returns GetKubernetesTriggerResponse
32697
33150
  */
33151
+ // Deprecated
32698
33152
  async getKubernetesTrigger(ClusterId: string, request: GetKubernetesTriggerRequest): Promise<GetKubernetesTriggerResponse> {
32699
33153
  let runtime = new $Util.RuntimeOptions({ });
32700
33154
  let headers : {[key: string ]: string} = { };
@@ -33427,11 +33881,14 @@ export default class Client extends OpenApi {
33427
33881
  /**
33428
33882
  * This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
33429
33883
  *
33884
+ * @deprecated OpenAPI ModifyClusterConfiguration is deprecated
33885
+ *
33430
33886
  * @param request - ModifyClusterConfigurationRequest
33431
33887
  * @param headers - map
33432
33888
  * @param runtime - runtime options for this request RuntimeOptions
33433
33889
  * @returns ModifyClusterConfigurationResponse
33434
33890
  */
33891
+ // Deprecated
33435
33892
  async modifyClusterConfigurationWithOptions(ClusterId: string, request: ModifyClusterConfigurationRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterConfigurationResponse> {
33436
33893
  Util.validateModel(request);
33437
33894
  let body : {[key: string ]: any} = { };
@@ -33460,9 +33917,12 @@ export default class Client extends OpenApi {
33460
33917
  /**
33461
33918
  * This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
33462
33919
  *
33920
+ * @deprecated OpenAPI ModifyClusterConfiguration is deprecated
33921
+ *
33463
33922
  * @param request - ModifyClusterConfigurationRequest
33464
33923
  * @returns ModifyClusterConfigurationResponse
33465
33924
  */
33925
+ // Deprecated
33466
33926
  async modifyClusterConfiguration(ClusterId: string, request: ModifyClusterConfigurationRequest): Promise<ModifyClusterConfigurationResponse> {
33467
33927
  let runtime = new $Util.RuntimeOptions({ });
33468
33928
  let headers : {[key: string ]: string} = { };
@@ -33945,9 +34405,10 @@ export default class Client extends OpenApi {
33945
34405
  * Removes nodes from a node pool.
33946
34406
  *
33947
34407
  * @remarks
33948
- * *
33949
- * ****
33950
- * * 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.
34408
+ * - 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.
34409
+ * - The operation may have unexpected risks. Back up the data before you perform this operation.
34410
+ * - When the system removes a node, it sets the status of the node to Unschedulable.
34411
+ * - The system removes only worker nodes. It does not remove master nodes.
33951
34412
  *
33952
34413
  * @param tmpReq - RemoveNodePoolNodesRequest
33953
34414
  * @param headers - map
@@ -34009,9 +34470,10 @@ export default class Client extends OpenApi {
34009
34470
  * Removes nodes from a node pool.
34010
34471
  *
34011
34472
  * @remarks
34012
- * *
34013
- * ****
34014
- * * 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.
34473
+ * - 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.
34474
+ * - The operation may have unexpected risks. Back up the data before you perform this operation.
34475
+ * - When the system removes a node, it sets the status of the node to Unschedulable.
34476
+ * - The system removes only worker nodes. It does not remove master nodes.
34015
34477
  *
34016
34478
  * @param request - RemoveNodePoolNodesRequest
34017
34479
  * @returns RemoveNodePoolNodesResponse