@alicloud/cs20151215 4.8.1 → 4.8.2

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
@@ -1609,6 +1609,11 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
1609
1609
  * true
1610
1610
  */
1611
1611
  scaleUpFromZero?: boolean;
1612
+ /**
1613
+ * @example
1614
+ * cluster-autoscaler
1615
+ */
1616
+ scalerType?: string;
1612
1617
  /**
1613
1618
  * @remarks
1614
1619
  * The interval at which the system scans for events that trigger scaling activities. Unit: seconds. Default value: 60.
@@ -1668,6 +1673,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
1668
1673
  recycleNodeDeletionEnabled: 'recycle_node_deletion_enabled',
1669
1674
  scaleDownEnabled: 'scale_down_enabled',
1670
1675
  scaleUpFromZero: 'scale_up_from_zero',
1676
+ scalerType: 'scaler_type',
1671
1677
  scanInterval: 'scan_interval',
1672
1678
  skipNodesWithLocalStorage: 'skip_nodes_with_local_storage',
1673
1679
  skipNodesWithSystemPods: 'skip_nodes_with_system_pods',
@@ -1687,6 +1693,7 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
1687
1693
  recycleNodeDeletionEnabled: 'boolean',
1688
1694
  scaleDownEnabled: 'boolean',
1689
1695
  scaleUpFromZero: 'boolean',
1696
+ scalerType: 'string',
1690
1697
  scanInterval: 'string',
1691
1698
  skipNodesWithLocalStorage: 'boolean',
1692
1699
  skipNodesWithSystemPods: 'boolean',
@@ -1700,13 +1707,52 @@ export class CreateAutoscalingConfigRequest extends $tea.Model {
1700
1707
  }
1701
1708
  }
1702
1709
 
1710
+ export class CreateAutoscalingConfigResponseBody extends $tea.Model {
1711
+ /**
1712
+ * @example
1713
+ * cc212d04dfe184547bffaa596********
1714
+ */
1715
+ clusterId?: string;
1716
+ /**
1717
+ * @example
1718
+ * AF8BE105-C32B-1269-9774-5510********
1719
+ */
1720
+ requestId?: string;
1721
+ /**
1722
+ * @example
1723
+ * T-5fd211e924e1d007********
1724
+ */
1725
+ taskId?: string;
1726
+ static names(): { [key: string]: string } {
1727
+ return {
1728
+ clusterId: 'cluster_id',
1729
+ requestId: 'request_id',
1730
+ taskId: 'task_id',
1731
+ };
1732
+ }
1733
+
1734
+ static types(): { [key: string]: any } {
1735
+ return {
1736
+ clusterId: 'string',
1737
+ requestId: 'string',
1738
+ taskId: 'string',
1739
+ };
1740
+ }
1741
+
1742
+ constructor(map?: { [key: string]: any }) {
1743
+ super(map);
1744
+ }
1745
+ }
1746
+
1703
1747
  export class CreateAutoscalingConfigResponse extends $tea.Model {
1704
1748
  headers?: { [key: string]: string };
1705
1749
  statusCode?: number;
1750
+ body?: CreateAutoscalingConfigResponseBody;
1706
1751
  static names(): { [key: string]: string } {
1707
1752
  return {
1708
1753
  headers: 'headers',
1709
1754
  statusCode: 'statusCode',
1755
+ body: 'body',
1710
1756
  };
1711
1757
  }
1712
1758
 
@@ -1714,6 +1760,7 @@ export class CreateAutoscalingConfigResponse extends $tea.Model {
1714
1760
  return {
1715
1761
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1716
1762
  statusCode: 'number',
1763
+ body: CreateAutoscalingConfigResponseBody,
1717
1764
  };
1718
1765
  }
1719
1766
 
@@ -1781,6 +1828,8 @@ export class CreateClusterRequest extends $tea.Model {
1781
1828
  *
1782
1829
  * @example
1783
1830
  * true
1831
+ *
1832
+ * @deprecated
1784
1833
  */
1785
1834
  autoRenew?: boolean;
1786
1835
  /**
@@ -1793,6 +1842,8 @@ export class CreateClusterRequest extends $tea.Model {
1793
1842
  *
1794
1843
  * @example
1795
1844
  * 1
1845
+ *
1846
+ * @deprecated
1796
1847
  */
1797
1848
  autoRenewPeriod?: number;
1798
1849
  /**
@@ -1813,6 +1864,8 @@ export class CreateClusterRequest extends $tea.Model {
1813
1864
  *
1814
1865
  * @example
1815
1866
  * 1
1867
+ *
1868
+ * @deprecated
1816
1869
  */
1817
1870
  chargeType?: string;
1818
1871
  /**
@@ -2411,6 +2464,8 @@ export class CreateClusterRequest extends $tea.Model {
2411
2464
  *
2412
2465
  * @example
2413
2466
  * FY2023
2467
+ *
2468
+ * @deprecated
2414
2469
  */
2415
2470
  period?: number;
2416
2471
  /**
@@ -2423,6 +2478,8 @@ export class CreateClusterRequest extends $tea.Model {
2423
2478
  *
2424
2479
  * @example
2425
2480
  * Month
2481
+ *
2482
+ * @deprecated
2426
2483
  */
2427
2484
  periodUnit?: string;
2428
2485
  /**
@@ -3286,6 +3343,16 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
3286
3343
  * @deprecated
3287
3344
  */
3288
3345
  count?: number;
3346
+ /**
3347
+ * @remarks
3348
+ * Specifies whether set the network type of the pod to host network.
3349
+ *
3350
+ * * `true`: sets to host network.
3351
+ * * `false`: sets to container network.
3352
+ *
3353
+ * @example
3354
+ * true
3355
+ */
3289
3356
  hostNetwork?: boolean;
3290
3357
  /**
3291
3358
  * @remarks
@@ -3300,13 +3367,23 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
3300
3367
  * @remarks
3301
3368
  * 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
3369
  *
3303
- * * `basic`: basic.
3304
- * * `private`: dedicated. Only clusters that run Kubernetes 1.22 and later support this value.
3370
+ * * `basic`: Internet.
3371
+ * * `private`: private network.
3305
3372
  *
3306
3373
  * @example
3307
3374
  * basic
3308
3375
  */
3309
3376
  interconnectMode?: string;
3377
+ /**
3378
+ * @remarks
3379
+ * Specifies whether all nodes in the edge node pool can communicate with each other at Layer 3.
3380
+ *
3381
+ * * `true`: The nodes in the edge node pool can communicate with each other at Layer 3.
3382
+ * * `false`: The nodes in the edge node pool cannot communicate with each other at Layer 3.
3383
+ *
3384
+ * @example
3385
+ * true
3386
+ */
3310
3387
  intranet?: boolean;
3311
3388
  /**
3312
3389
  * @remarks
@@ -3320,10 +3397,9 @@ export class CreateClusterNodePoolRequest extends $tea.Model {
3320
3397
  management?: CreateClusterNodePoolRequestManagement;
3321
3398
  /**
3322
3399
  * @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.
3400
+ * This parameter is deprecated.
3324
3401
  *
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.
3402
+ * The maximum number of nodes that can be contained in the edge node pool.
3327
3403
  *
3328
3404
  * @example
3329
3405
  * 10
@@ -5570,7 +5646,7 @@ export class DescribeClusterAttachScriptsRequest extends $tea.Model {
5570
5646
  * * `true`: retains the instance name.
5571
5647
  * * `false`: does not retain the instance name.
5572
5648
  *
5573
- * Default value: `true`
5649
+ * Default value: `true`.
5574
5650
  *
5575
5651
  * @example
5576
5652
  * true
@@ -5578,9 +5654,9 @@ export class DescribeClusterAttachScriptsRequest extends $tea.Model {
5578
5654
  keepInstanceName?: boolean;
5579
5655
  /**
5580
5656
  * @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.
5657
+ * The ID of the node pool to which you want to add an existing node.
5582
5658
  *
5583
- * > If you do not specify a node pool ID, the node is added to the default node pool.
5659
+ * > If you do not specify a node pool ID, the node is added to a default node pool.
5584
5660
  *
5585
5661
  * @example
5586
5662
  * np1c9229d9be2d432c93f77a88fca0****
@@ -5598,7 +5674,7 @@ export class DescribeClusterAttachScriptsRequest extends $tea.Model {
5598
5674
  options?: string;
5599
5675
  /**
5600
5676
  * @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.
5677
+ * 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
5678
  */
5603
5679
  rdsInstances?: string[];
5604
5680
  static names(): { [key: string]: string } {
@@ -6254,6 +6330,13 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
6254
6330
  * The auto scaling configuration of the node pool.
6255
6331
  */
6256
6332
  autoScaling?: DescribeClusterNodePoolDetailResponseBodyAutoScaling;
6333
+ /**
6334
+ * @remarks
6335
+ * Indicates whether the pods in the edge node pool can use the host network.
6336
+ *
6337
+ * @example
6338
+ * true
6339
+ */
6257
6340
  hostNetwork?: boolean;
6258
6341
  /**
6259
6342
  * @remarks
@@ -6268,10 +6351,17 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
6268
6351
  * improved
6269
6352
  */
6270
6353
  interconnectMode?: string;
6354
+ /**
6355
+ * @remarks
6356
+ * Indicates whether all nodes in the edge node pool can communicate with each other at Layer 3.
6357
+ *
6358
+ * @example
6359
+ * true
6360
+ */
6271
6361
  intranet?: boolean;
6272
6362
  /**
6273
6363
  * @remarks
6274
- * The configurations of the cluster in which the node pool is deployed.
6364
+ * The configurations of the cluster.
6275
6365
  */
6276
6366
  kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
6277
6367
  /**
@@ -6289,7 +6379,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
6289
6379
  maxNodes?: number;
6290
6380
  /**
6291
6381
  * @remarks
6292
- * Node configuration.
6382
+ * The node configurations.
6293
6383
  */
6294
6384
  nodeConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfig;
6295
6385
  /**
@@ -6299,7 +6389,7 @@ export class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
6299
6389
  nodepoolInfo?: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo;
6300
6390
  /**
6301
6391
  * @remarks
6302
- * The configurations of the scaling group.
6392
+ * The configurations of the scaling group used by the node pool.
6303
6393
  */
6304
6394
  scalingGroup?: DescribeClusterNodePoolDetailResponseBodyScalingGroup;
6305
6395
  /**
@@ -7015,36 +7105,57 @@ export class DescribeClustersResponse extends $tea.Model {
7015
7105
 
7016
7106
  export class DescribeClustersForRegionRequest extends $tea.Model {
7017
7107
  /**
7108
+ * @remarks
7109
+ * The cluster ID.
7110
+ *
7018
7111
  * @example
7019
7112
  * c8155823d057948c69a****
7020
7113
  */
7021
7114
  clusterId?: string;
7022
7115
  /**
7116
+ * @remarks
7117
+ * The specification of the cluster.
7118
+ *
7023
7119
  * @example
7024
7120
  * ack.standard
7025
7121
  */
7026
7122
  clusterSpec?: string;
7027
7123
  /**
7124
+ * @remarks
7125
+ * The type of the cluster.
7126
+ *
7028
7127
  * @example
7029
7128
  * Kubernetes
7030
7129
  */
7031
7130
  clusterType?: string;
7032
7131
  /**
7132
+ * @remarks
7133
+ * Perform a fuzzy search by using the cluster name.
7134
+ *
7033
7135
  * @example
7034
7136
  * test-cluster
7035
7137
  */
7036
7138
  name?: string;
7037
7139
  /**
7140
+ * @remarks
7141
+ * The number of pages.
7142
+ *
7038
7143
  * @example
7039
7144
  * 10
7040
7145
  */
7041
7146
  pageNumber?: number;
7042
7147
  /**
7148
+ * @remarks
7149
+ * The number of records on each page.
7150
+ *
7043
7151
  * @example
7044
7152
  * 3
7045
7153
  */
7046
7154
  pageSize?: number;
7047
7155
  /**
7156
+ * @remarks
7157
+ * The identifier of the cluster.
7158
+ *
7048
7159
  * @example
7049
7160
  * Serverless
7050
7161
  */
@@ -7079,7 +7190,15 @@ export class DescribeClustersForRegionRequest extends $tea.Model {
7079
7190
  }
7080
7191
 
7081
7192
  export class DescribeClustersForRegionResponseBody extends $tea.Model {
7193
+ /**
7194
+ * @remarks
7195
+ * The details of the clusters.
7196
+ */
7082
7197
  clusters?: DescribeClustersForRegionResponseBodyClusters[];
7198
+ /**
7199
+ * @remarks
7200
+ * The pagination details.
7201
+ */
7083
7202
  pageInfo?: DescribeClustersForRegionResponseBodyPageInfo;
7084
7203
  static names(): { [key: string]: string } {
7085
7204
  return {
@@ -7802,16 +7921,25 @@ export class DescribeEventsResponse extends $tea.Model {
7802
7921
 
7803
7922
  export class DescribeEventsForRegionRequest extends $tea.Model {
7804
7923
  /**
7924
+ * @remarks
7925
+ * The cluster ID.
7926
+ *
7805
7927
  * @example
7806
7928
  * cf62854ac2130470897be7a27ed1f****
7807
7929
  */
7808
7930
  clusterId?: string;
7809
7931
  /**
7932
+ * @remarks
7933
+ * The number of pages.
7934
+ *
7810
7935
  * @example
7811
7936
  * 1
7812
7937
  */
7813
7938
  pageNumber?: number;
7814
7939
  /**
7940
+ * @remarks
7941
+ * The number of records on each page.
7942
+ *
7815
7943
  * @example
7816
7944
  * 50
7817
7945
  */
@@ -7838,7 +7966,15 @@ export class DescribeEventsForRegionRequest extends $tea.Model {
7838
7966
  }
7839
7967
 
7840
7968
  export class DescribeEventsForRegionResponseBody extends $tea.Model {
7969
+ /**
7970
+ * @remarks
7971
+ * The events.
7972
+ */
7841
7973
  events?: DescribeEventsForRegionResponseBodyEvents[];
7974
+ /**
7975
+ * @remarks
7976
+ * The pagination details.
7977
+ */
7842
7978
  pageInfo?: DescribeEventsForRegionResponseBodyPageInfo;
7843
7979
  static names(): { [key: string]: string } {
7844
7980
  return {
@@ -11671,17 +11807,17 @@ export class ModifyClusterTagsResponse extends $tea.Model {
11671
11807
  export class ModifyNodePoolNodeConfigRequest extends $tea.Model {
11672
11808
  /**
11673
11809
  * @remarks
11674
- * The parameters of the kubelet.
11810
+ * The kubelet configuration.
11675
11811
  */
11676
11812
  kubeletConfig?: KubeletConfig;
11677
11813
  /**
11678
11814
  * @remarks
11679
- * Operating system parameter configuration.
11815
+ * The OS configuration.
11680
11816
  */
11681
11817
  osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
11682
11818
  /**
11683
11819
  * @remarks
11684
- * The rotation configurations.
11820
+ * The rotation configuration.
11685
11821
  */
11686
11822
  rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
11687
11823
  static names(): { [key: string]: string } {
@@ -16242,7 +16378,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
16242
16378
  * * `true`: installs the CloudMonitor agent on ECS nodes.
16243
16379
  * * `false`: does not install the CloudMonitor agent on ECS nodes.
16244
16380
  *
16245
- * Default value: `false`.
16381
+ * Default value: `false`
16246
16382
  *
16247
16383
  * @example
16248
16384
  * true
@@ -16311,7 +16447,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
16311
16447
  runtimeVersion?: string;
16312
16448
  /**
16313
16449
  * @remarks
16314
- * The taints.
16450
+ * The configuration of the taint.
16315
16451
  */
16316
16452
  taints?: Taint[];
16317
16453
  /**
@@ -16518,7 +16654,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
16518
16654
  * @remarks
16519
16655
  * The maximum number of nodes that can be in the Unavailable state. Valid values: 1 to 1000.
16520
16656
  *
16521
- * Default value: 1.
16657
+ * Default value: 1
16522
16658
  *
16523
16659
  * @example
16524
16660
  * 1
@@ -16823,7 +16959,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea
16823
16959
  export class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
16824
16960
  /**
16825
16961
  * @remarks
16826
- * The label key.
16962
+ * The tag key.
16827
16963
  *
16828
16964
  * @example
16829
16965
  * node-k-1
@@ -16831,7 +16967,7 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
16831
16967
  key?: string;
16832
16968
  /**
16833
16969
  * @remarks
16834
- * The label value.
16970
+ * The tag value.
16835
16971
  *
16836
16972
  * @example
16837
16973
  * node-v-1
@@ -16864,7 +17000,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16864
17000
  * * `true`: enables auto-renewal.
16865
17001
  * * `false`: disables auto-renewal.
16866
17002
  *
16867
- * Default value: `false`.
17003
+ * Default value: `false`
16868
17004
  *
16869
17005
  * @example
16870
17006
  * true
@@ -16872,9 +17008,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
16872
17008
  autoRenew?: boolean;
16873
17009
  /**
16874
17010
  * @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.
17011
+ * The auto-renewal period. Valid values:
16876
17012
  *
16877
- * Default value: 1.
17013
+ * * Valid values when PeriodUnit is set to Week: 1, 2, and 3
17014
+ * * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
17015
+ *
17016
+ * Default value: 1
16878
17017
  *
16879
17018
  * @example
16880
17019
  * 1
@@ -18285,10 +18424,10 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
18285
18424
  cpuPolicy?: string;
18286
18425
  /**
18287
18426
  * @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:
18427
+ * The labels that you want to add to the nodes in the cluster. You must add labels based on the following rules:
18289
18428
  *
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).
18429
+ * * A label is a case-sensitive key-value pair. You can add up to 20 labels.
18430
+ * * 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
18431
  */
18293
18432
  labels?: Tag[];
18294
18433
  /**
@@ -18307,6 +18446,9 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
18307
18446
  /**
18308
18447
  * @remarks
18309
18448
  * 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).
18449
+ *
18450
+ * @example
18451
+ * dGhpcyBpcyBhIGV4YW1wbGU
18310
18452
  */
18311
18453
  preUserData?: string;
18312
18454
  /**
@@ -18327,7 +18469,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
18327
18469
  runtimeVersion?: string;
18328
18470
  /**
18329
18471
  * @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/).
18472
+ * 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
18473
  */
18332
18474
  taints?: Taint[];
18333
18475
  /**
@@ -18623,7 +18765,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Mo
18623
18765
  export class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $tea.Model {
18624
18766
  /**
18625
18767
  * @remarks
18626
- * Kubelet parameter configuration.
18768
+ * The configurations of the kubelet.
18627
18769
  */
18628
18770
  kubeletConfiguration?: KubeletConfig;
18629
18771
  static names(): { [key: string]: string } {
@@ -18864,7 +19006,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
18864
19006
  compensateWithOnDemand?: boolean;
18865
19007
  /**
18866
19008
  * @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.
19009
+ * 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
19010
  */
18869
19011
  dataDisks?: DataDisk[];
18870
19012
  /**
@@ -18912,7 +19054,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
18912
19054
  instanceChargeType?: string;
18913
19055
  /**
18914
19056
  * @remarks
18915
- * Instance attributes
19057
+ * The instance properties.
18916
19058
  */
18917
19059
  instancePatterns?: InstancePatterns[];
18918
19060
  /**
@@ -19157,14 +19299,14 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
19157
19299
  systemDiskBurstingEnabled?: boolean;
19158
19300
  /**
19159
19301
  * @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:
19302
+ * 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
19303
  *
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
19304
+ * * `cloud`: basic disk.
19305
+ * * `cloud_efficiency`: ultra disk.
19306
+ * * `cloud_ssd`: standard SSD.
19307
+ * * `cloud_essd`: Enterprise SSD (ESSD).
19308
+ * * `cloud_auto`: ESSD AutoPL disk.
19309
+ * * `cloud_essd_entry`: ESSD Entry disk.
19168
19310
  *
19169
19311
  * Default value: `cloud_efficiency`.
19170
19312
  */
@@ -19188,7 +19330,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
19188
19330
  systemDiskCategory?: string;
19189
19331
  /**
19190
19332
  * @remarks
19191
- * Encryption algorithm used for the system disk. Valid values: aes-256.
19333
+ * The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256.
19192
19334
  *
19193
19335
  * @example
19194
19336
  * aes-256
@@ -19241,9 +19383,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.
19241
19383
  systemDiskSize?: number;
19242
19384
  /**
19243
19385
  * @remarks
19244
- * The labels that you want to add to the ECS instances.
19386
+ * The labels that you want to add only to ECS instances.
19245
19387
  *
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://.
19388
+ * 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
19389
  */
19248
19390
  tags?: Tag[];
19249
19391
  /**
@@ -21927,92 +22069,165 @@ export class DescribeClustersResponseBody extends $tea.Model {
21927
22069
 
21928
22070
  export class DescribeClustersForRegionResponseBodyClusters extends $tea.Model {
21929
22071
  /**
22072
+ * @remarks
22073
+ * The domain name of the cluster.
22074
+ *
21930
22075
  * @example
21931
22076
  * cluster.local
21932
22077
  */
21933
22078
  clusterDomain?: string;
21934
22079
  /**
22080
+ * @remarks
22081
+ * The cluster ID.
22082
+ *
21935
22083
  * @example
21936
22084
  * c905d1364c2dd4b6284a3f41790c4****
21937
22085
  */
21938
22086
  clusterId?: string;
21939
22087
  /**
22088
+ * @remarks
22089
+ * The types of ACK managed clusters:
22090
+ *
22091
+ * * ack.pro.small: ACK Pro cluster
22092
+ * * ack.standard: ACK Basic cluster
22093
+ *
21940
22094
  * @example
21941
22095
  * ack.standard
21942
22096
  */
21943
22097
  clusterSpec?: string;
21944
22098
  /**
22099
+ * @remarks
22100
+ * The type of the cluster. Valid values:
22101
+ *
22102
+ * * Kubernetes: ACK dedicated cluster
22103
+ * * 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.
22104
+ * * ExternalKubernetes: registered cluster
22105
+ *
21945
22106
  * @example
21946
22107
  * ManagedKubernetes
21947
22108
  */
21948
22109
  clusterType?: string;
21949
22110
  /**
22111
+ * @remarks
22112
+ * The CIDR block of pods in the cluster.
22113
+ *
21950
22114
  * @example
21951
22115
  * 172.20.0.0/16
21952
22116
  */
21953
22117
  containerCidr?: string;
21954
22118
  /**
22119
+ * @remarks
22120
+ * The time at which the instance is created.
22121
+ *
21955
22122
  * @example
21956
22123
  * 2020-12-01T20:40:40+08:00
21957
22124
  */
21958
22125
  created?: string;
21959
22126
  /**
22127
+ * @remarks
22128
+ * The current Kubernetes version of the cluster.
22129
+ *
21960
22130
  * @example
21961
22131
  * 1.16.6-aliyun.1
21962
22132
  */
21963
22133
  currentVersion?: string;
21964
22134
  /**
22135
+ * @remarks
22136
+ * 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:
22137
+ *
22138
+ * * true: enables deletion protection for the cluster. This way, the cluster cannot be deleted in the ACK console or by calling API operations.
22139
+ * * false: disables deletion protection for the cluster. This way, the cluster can be deleted in the ACK console or by calling API operations.
22140
+ *
21965
22141
  * @example
21966
22142
  * false
21967
22143
  */
21968
22144
  deletionProtection?: boolean;
21969
22145
  /**
22146
+ * @remarks
22147
+ * The initial Kubernetes version of the cluster.
22148
+ *
21970
22149
  * @example
21971
22150
  * 1.16.6-aliyun.1
21972
22151
  */
21973
22152
  initVersion?: string;
21974
22153
  /**
22154
+ * @remarks
22155
+ * The IP protocol stack of the cluster.
22156
+ *
21975
22157
  * @example
21976
22158
  * ipv4
21977
22159
  */
21978
22160
  ipStack?: string;
21979
22161
  /**
22162
+ * @remarks
22163
+ * The name of the cluster.
22164
+ *
21980
22165
  * @example
21981
22166
  * test-cluster
21982
22167
  */
21983
22168
  name?: string;
21984
22169
  /**
22170
+ * @remarks
22171
+ * The Kubernetes version to which the cluster can be updated.
22172
+ *
21985
22173
  * @example
21986
22174
  * 1.18.8-aliyun.1
21987
22175
  */
21988
22176
  nextVersion?: string;
21989
22177
  /**
22178
+ * @remarks
22179
+ * The subtype of the cluster. Valid values:
22180
+ *
22181
+ * * Default: ACK managed clusters. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
22182
+ * * Edge: ACK Edge clusters. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
22183
+ * * Serverless: ACK Serverless clusters. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
22184
+ * * Lingjun: ACK Lingjun Pro clusters.
22185
+ *
21990
22186
  * @example
21991
22187
  * Default
21992
22188
  */
21993
22189
  profile?: string;
21994
22190
  /**
22191
+ * @remarks
22192
+ * The kube-proxy mode of the cluster.
22193
+ *
22194
+ * Valid value:
22195
+ *
22196
+ * * iptables: iptables.
22197
+ * * ipvs: ipvs.
22198
+ *
21995
22199
  * @example
21996
22200
  * ipvs
21997
22201
  */
21998
22202
  proxyMode?: string;
21999
22203
  /**
22204
+ * @remarks
22205
+ * The region ID.
22206
+ *
22000
22207
  * @example
22001
22208
  * cn-beijing-a
22002
22209
  */
22003
22210
  regionId?: string;
22004
22211
  /**
22212
+ * @remarks
22213
+ * The ID of the cluster resource group.
22214
+ *
22005
22215
  * @example
22006
22216
  * rg-acfmyvw3wjm****
22007
22217
  */
22008
22218
  resourceGroupId?: string;
22009
22219
  /**
22220
+ * @remarks
22221
+ * The ID of the security group of the cluster.
22222
+ *
22010
22223
  * @example
22011
22224
  * sg-2zeihch86ooz9io4****
22012
22225
  */
22013
22226
  securityGroupId?: string;
22014
22227
  /**
22015
22228
  * @remarks
22229
+ * The CIDR block of the service network.
22230
+ *
22016
22231
  * This parameter is required.
22017
22232
  *
22018
22233
  * @example
@@ -22020,31 +22235,67 @@ export class DescribeClustersForRegionResponseBodyClusters extends $tea.Model {
22020
22235
  */
22021
22236
  serviceCidr?: string;
22022
22237
  /**
22238
+ * @remarks
22239
+ * The number of nodes in the ACK cluster.
22240
+ *
22023
22241
  * @example
22024
22242
  * 2
22025
22243
  */
22026
22244
  size?: number;
22027
22245
  /**
22246
+ * @remarks
22247
+ * The status of the cluster. Valid values:
22248
+ *
22249
+ * * initial: The cluster is being created.
22250
+ * * failed: The cluster failed to be created.
22251
+ * * running: The cluster is running.
22252
+ * * Upgrading: The cluster is being updated.
22253
+ * * scaling: The cluster is being scaled.
22254
+ * * waiting: The cluster is waiting for connection requests.
22255
+ * * disconnected: The cluster is disconnected.
22256
+ * * inactive: The cluster is inactive.
22257
+ * * unavailable: The cluster is unavailable.
22258
+ * * deleting: The cluster is being deleted.
22259
+ * * deleted: The ACK cluster is deleted.
22260
+ * * delete_failed: The cluster failed to be deleted.
22261
+ *
22028
22262
  * @example
22029
22263
  * running
22030
22264
  */
22031
22265
  state?: string;
22266
+ /**
22267
+ * @remarks
22268
+ * The list of tags.
22269
+ */
22032
22270
  tags?: Tag[];
22033
22271
  /**
22272
+ * @remarks
22273
+ * The time zone.
22274
+ *
22034
22275
  * @example
22035
22276
  * Asia/Shanghai
22036
22277
  */
22037
22278
  timezone?: string;
22038
22279
  /**
22280
+ * @remarks
22281
+ * The time when the cluster was updated.
22282
+ *
22039
22283
  * @example
22040
22284
  * 2020-12-08T15:37:00+08:00
22041
22285
  */
22042
22286
  updated?: string;
22043
22287
  /**
22288
+ * @remarks
22289
+ * The ID of the virtual private cloud (VPC) to which the cluster belongs.
22290
+ *
22044
22291
  * @example
22045
22292
  * vpc-2zeg8nf1ukc0fcmvq****
22046
22293
  */
22047
22294
  vpcId?: string;
22295
+ /**
22296
+ * @remarks
22297
+ * The vSwitches for the control plane of the cluster.
22298
+ */
22048
22299
  vswitchIds?: string[];
22049
22300
  static names(): { [key: string]: string } {
22050
22301
  return {
@@ -22113,16 +22364,25 @@ export class DescribeClustersForRegionResponseBodyClusters extends $tea.Model {
22113
22364
 
22114
22365
  export class DescribeClustersForRegionResponseBodyPageInfo extends $tea.Model {
22115
22366
  /**
22367
+ * @remarks
22368
+ * The number of pages.
22369
+ *
22116
22370
  * @example
22117
22371
  * 1
22118
22372
  */
22119
22373
  pageNumber?: number;
22120
22374
  /**
22375
+ * @remarks
22376
+ * The number of records on each page.
22377
+ *
22121
22378
  * @example
22122
22379
  * 10
22123
22380
  */
22124
22381
  pageSize?: number;
22125
22382
  /**
22383
+ * @remarks
22384
+ * The total number of entries returned.
22385
+ *
22126
22386
  * @example
22127
22387
  * 10
22128
22388
  */
@@ -23145,16 +23405,25 @@ export class DescribeEventsResponseBodyPageInfo extends $tea.Model {
23145
23405
 
23146
23406
  export class DescribeEventsForRegionResponseBodyEventsData extends $tea.Model {
23147
23407
  /**
23408
+ * @remarks
23409
+ * The severity level of the event.
23410
+ *
23148
23411
  * @example
23149
23412
  * info
23150
23413
  */
23151
23414
  level?: string;
23152
23415
  /**
23416
+ * @remarks
23417
+ * The details of the event.
23418
+ *
23153
23419
  * @example
23154
23420
  * Start to upgrade NodePool nodePool/nodePool-A
23155
23421
  */
23156
23422
  message?: string;
23157
23423
  /**
23424
+ * @remarks
23425
+ * The event status.
23426
+ *
23158
23427
  * @example
23159
23428
  * Started
23160
23429
  */
@@ -23182,28 +23451,51 @@ export class DescribeEventsForRegionResponseBodyEventsData extends $tea.Model {
23182
23451
 
23183
23452
  export class DescribeEventsForRegionResponseBodyEvents extends $tea.Model {
23184
23453
  /**
23454
+ * @remarks
23455
+ * The cluster ID.
23456
+ *
23185
23457
  * @example
23186
23458
  * cluster-id
23187
23459
  */
23188
23460
  clusterId?: string;
23461
+ /**
23462
+ * @remarks
23463
+ * The description of the event.
23464
+ */
23189
23465
  data?: DescribeEventsForRegionResponseBodyEventsData;
23190
23466
  /**
23467
+ * @remarks
23468
+ * The event ID.
23469
+ *
23191
23470
  * @example
23192
23471
  * A234-1234-1234
23193
23472
  */
23194
23473
  eventId?: string;
23474
+ /**
23475
+ * @remarks
23476
+ * The event source.
23477
+ */
23195
23478
  source?: string;
23196
23479
  /**
23480
+ * @remarks
23481
+ * The object associated with the event.
23482
+ *
23197
23483
  * @example
23198
23484
  * nodePool-id
23199
23485
  */
23200
23486
  subject?: string;
23201
23487
  /**
23488
+ * @remarks
23489
+ * The time when the event was generated.
23490
+ *
23202
23491
  * @example
23203
23492
  * 2020-12-01T17:31:00Z
23204
23493
  */
23205
23494
  time?: string;
23206
23495
  /**
23496
+ * @remarks
23497
+ * The event type.
23498
+ *
23207
23499
  * @example
23208
23500
  * nodePool_upgrade
23209
23501
  */
@@ -23239,16 +23531,25 @@ export class DescribeEventsForRegionResponseBodyEvents extends $tea.Model {
23239
23531
 
23240
23532
  export class DescribeEventsForRegionResponseBodyPageInfo extends $tea.Model {
23241
23533
  /**
23534
+ * @remarks
23535
+ * The number of pages.
23536
+ *
23242
23537
  * @example
23243
23538
  * 1
23244
23539
  */
23245
23540
  pageNumber?: number;
23246
23541
  /**
23542
+ * @remarks
23543
+ * The number of records on each page.
23544
+ *
23247
23545
  * @example
23248
23546
  * 50
23249
23547
  */
23250
23548
  pageSize?: number;
23251
23549
  /**
23550
+ * @remarks
23551
+ * The total number of entries returned.
23552
+ *
23252
23553
  * @example
23253
23554
  * 3
23254
23555
  */
@@ -27690,7 +27991,7 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
27690
27991
  export class ModifyNodePoolNodeConfigRequestOsConfig extends $tea.Model {
27691
27992
  /**
27692
27993
  * @remarks
27693
- * sysctl parameter configuration
27994
+ * The sysctl configuration.
27694
27995
  */
27695
27996
  sysctl?: { [key: string]: any };
27696
27997
  static names(): { [key: string]: string } {
@@ -28770,6 +29071,10 @@ export default class Client extends OpenApi {
28770
29071
  body["scale_up_from_zero"] = request.scaleUpFromZero;
28771
29072
  }
28772
29073
 
29074
+ if (!Util.isUnset(request.scalerType)) {
29075
+ body["scaler_type"] = request.scalerType;
29076
+ }
29077
+
28773
29078
  if (!Util.isUnset(request.scanInterval)) {
28774
29079
  body["scan_interval"] = request.scanInterval;
28775
29080
  }
@@ -28803,7 +29108,7 @@ export default class Client extends OpenApi {
28803
29108
  authType: "AK",
28804
29109
  style: "ROA",
28805
29110
  reqBodyType: "json",
28806
- bodyType: "none",
29111
+ bodyType: "json",
28807
29112
  });
28808
29113
  return $tea.cast<CreateAutoscalingConfigResponse>(await this.callApi(params, req, runtime), new CreateAutoscalingConfigResponse({}));
28809
29114
  }
@@ -31159,7 +31464,7 @@ export default class Client extends OpenApi {
31159
31464
  }
31160
31465
 
31161
31466
  /**
31162
- * 查询指定地域内全部集群列表
31467
+ * Queries all clusters in a specified region.
31163
31468
  *
31164
31469
  * @param request - DescribeClustersForRegionRequest
31165
31470
  * @param headers - map
@@ -31216,7 +31521,7 @@ export default class Client extends OpenApi {
31216
31521
  }
31217
31522
 
31218
31523
  /**
31219
- * 查询指定地域内全部集群列表
31524
+ * Queries all clusters in a specified region.
31220
31525
  *
31221
31526
  * @param request - DescribeClustersForRegionRequest
31222
31527
  * @returns DescribeClustersForRegionResponse
@@ -31528,7 +31833,7 @@ export default class Client extends OpenApi {
31528
31833
  }
31529
31834
 
31530
31835
  /**
31531
- * 查询指定地域内全部事件列表
31836
+ * Queries all events in a specified region.
31532
31837
  *
31533
31838
  * @param request - DescribeEventsForRegionRequest
31534
31839
  * @param headers - map
@@ -31569,7 +31874,7 @@ export default class Client extends OpenApi {
31569
31874
  }
31570
31875
 
31571
31876
  /**
31572
- * 查询指定地域内全部事件列表
31877
+ * Queries all events in a specified region.
31573
31878
  *
31574
31879
  * @param request - DescribeEventsForRegionRequest
31575
31880
  * @returns DescribeEventsForRegionResponse
@@ -33945,9 +34250,10 @@ export default class Client extends OpenApi {
33945
34250
  * Removes nodes from a node pool.
33946
34251
  *
33947
34252
  * @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.
34253
+ * - 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.
34254
+ * - The operation may have unexpected risks. Back up the data before you perform this operation.
34255
+ * - When the system removes a node, it sets the status of the node to Unschedulable.
34256
+ * - The system removes only worker nodes. It does not remove master nodes.
33951
34257
  *
33952
34258
  * @param tmpReq - RemoveNodePoolNodesRequest
33953
34259
  * @param headers - map
@@ -34009,9 +34315,10 @@ export default class Client extends OpenApi {
34009
34315
  * Removes nodes from a node pool.
34010
34316
  *
34011
34317
  * @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.
34318
+ * - 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.
34319
+ * - The operation may have unexpected risks. Back up the data before you perform this operation.
34320
+ * - When the system removes a node, it sets the status of the node to Unschedulable.
34321
+ * - The system removes only worker nodes. It does not remove master nodes.
34015
34322
  *
34016
34323
  * @param request - RemoveNodePoolNodesRequest
34017
34324
  * @returns RemoveNodePoolNodesResponse