@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/dist/client.d.ts CHANGED
@@ -1198,6 +1198,11 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
1198
1198
  * true
1199
1199
  */
1200
1200
  scaleUpFromZero?: boolean;
1201
+ /**
1202
+ * @example
1203
+ * cluster-autoscaler
1204
+ */
1205
+ scalerType?: string;
1201
1206
  /**
1202
1207
  * @remarks
1203
1208
  * The interval at which the system scans for events that trigger scaling activities. Unit: seconds. Default value: 60.
@@ -1256,11 +1261,38 @@ export declare class CreateAutoscalingConfigRequest extends $tea.Model {
1256
1261
  [key: string]: any;
1257
1262
  });
1258
1263
  }
1264
+ export declare class CreateAutoscalingConfigResponseBody extends $tea.Model {
1265
+ /**
1266
+ * @example
1267
+ * cc212d04dfe184547bffaa596********
1268
+ */
1269
+ clusterId?: string;
1270
+ /**
1271
+ * @example
1272
+ * AF8BE105-C32B-1269-9774-5510********
1273
+ */
1274
+ requestId?: string;
1275
+ /**
1276
+ * @example
1277
+ * T-5fd211e924e1d007********
1278
+ */
1279
+ taskId?: string;
1280
+ static names(): {
1281
+ [key: string]: string;
1282
+ };
1283
+ static types(): {
1284
+ [key: string]: any;
1285
+ };
1286
+ constructor(map?: {
1287
+ [key: string]: any;
1288
+ });
1289
+ }
1259
1290
  export declare class CreateAutoscalingConfigResponse extends $tea.Model {
1260
1291
  headers?: {
1261
1292
  [key: string]: string;
1262
1293
  };
1263
1294
  statusCode?: number;
1295
+ body?: CreateAutoscalingConfigResponseBody;
1264
1296
  static names(): {
1265
1297
  [key: string]: string;
1266
1298
  };
@@ -1330,6 +1362,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1330
1362
  *
1331
1363
  * @example
1332
1364
  * true
1365
+ *
1366
+ * @deprecated
1333
1367
  */
1334
1368
  autoRenew?: boolean;
1335
1369
  /**
@@ -1342,6 +1376,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1342
1376
  *
1343
1377
  * @example
1344
1378
  * 1
1379
+ *
1380
+ * @deprecated
1345
1381
  */
1346
1382
  autoRenewPeriod?: number;
1347
1383
  /**
@@ -1362,6 +1398,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1362
1398
  *
1363
1399
  * @example
1364
1400
  * 1
1401
+ *
1402
+ * @deprecated
1365
1403
  */
1366
1404
  chargeType?: string;
1367
1405
  /**
@@ -1960,6 +1998,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1960
1998
  *
1961
1999
  * @example
1962
2000
  * FY2023
2001
+ *
2002
+ * @deprecated
1963
2003
  */
1964
2004
  period?: number;
1965
2005
  /**
@@ -1972,6 +2012,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1972
2012
  *
1973
2013
  * @example
1974
2014
  * Month
2015
+ *
2016
+ * @deprecated
1975
2017
  */
1976
2018
  periodUnit?: string;
1977
2019
  /**
@@ -2587,6 +2629,16 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
2587
2629
  * @deprecated
2588
2630
  */
2589
2631
  count?: number;
2632
+ /**
2633
+ * @remarks
2634
+ * Specifies whether set the network type of the pod to host network.
2635
+ *
2636
+ * * `true`: sets to host network.
2637
+ * * `false`: sets to container network.
2638
+ *
2639
+ * @example
2640
+ * true
2641
+ */
2590
2642
  hostNetwork?: boolean;
2591
2643
  /**
2592
2644
  * @remarks
@@ -2601,13 +2653,23 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
2601
2653
  * @remarks
2602
2654
  * 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:
2603
2655
  *
2604
- * * `basic`: basic.
2605
- * * `private`: dedicated. Only clusters that run Kubernetes 1.22 and later support this value.
2656
+ * * `basic`: Internet.
2657
+ * * `private`: private network.
2606
2658
  *
2607
2659
  * @example
2608
2660
  * basic
2609
2661
  */
2610
2662
  interconnectMode?: string;
2663
+ /**
2664
+ * @remarks
2665
+ * Specifies whether all nodes in the edge node pool can communicate with each other at Layer 3.
2666
+ *
2667
+ * * `true`: The nodes in the edge node pool can communicate with each other at Layer 3.
2668
+ * * `false`: The nodes in the edge node pool cannot communicate with each other at Layer 3.
2669
+ *
2670
+ * @example
2671
+ * true
2672
+ */
2611
2673
  intranet?: boolean;
2612
2674
  /**
2613
2675
  * @remarks
@@ -2621,10 +2683,9 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
2621
2683
  management?: CreateClusterNodePoolRequestManagement;
2622
2684
  /**
2623
2685
  * @remarks
2624
- * 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.
2686
+ * This parameter is deprecated.
2625
2687
  *
2626
- * * In most cases, this parameter is set to a value greater than 0 for edge node pools.
2627
- * * This parameter is set to 0 for node pools whose types are ess or default edge node pools.
2688
+ * The maximum number of nodes that can be contained in the edge node pool.
2628
2689
  *
2629
2690
  * @example
2630
2691
  * 10
@@ -4289,7 +4350,7 @@ export declare class DescribeClusterAttachScriptsRequest extends $tea.Model {
4289
4350
  * * `true`: retains the instance name.
4290
4351
  * * `false`: does not retain the instance name.
4291
4352
  *
4292
- * Default value: `true`
4353
+ * Default value: `true`.
4293
4354
  *
4294
4355
  * @example
4295
4356
  * true
@@ -4297,9 +4358,9 @@ export declare class DescribeClusterAttachScriptsRequest extends $tea.Model {
4297
4358
  keepInstanceName?: boolean;
4298
4359
  /**
4299
4360
  * @remarks
4300
- * 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.
4361
+ * The ID of the node pool to which you want to add an existing node.
4301
4362
  *
4302
- * > If you do not specify a node pool ID, the node is added to the default node pool.
4363
+ * > If you do not specify a node pool ID, the node is added to a default node pool.
4303
4364
  *
4304
4365
  * @example
4305
4366
  * np1c9229d9be2d432c93f77a88fca0****
@@ -4317,7 +4378,7 @@ export declare class DescribeClusterAttachScriptsRequest extends $tea.Model {
4317
4378
  options?: string;
4318
4379
  /**
4319
4380
  * @remarks
4320
- * After you specify the list of RDS instances, the ECS instances in the cluster are automatically added to the whitelist of the RDS instances.
4381
+ * 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.
4321
4382
  */
4322
4383
  rdsInstances?: string[];
4323
4384
  static names(): {
@@ -4817,6 +4878,13 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
4817
4878
  * The auto scaling configuration of the node pool.
4818
4879
  */
4819
4880
  autoScaling?: DescribeClusterNodePoolDetailResponseBodyAutoScaling;
4881
+ /**
4882
+ * @remarks
4883
+ * Indicates whether the pods in the edge node pool can use the host network.
4884
+ *
4885
+ * @example
4886
+ * true
4887
+ */
4820
4888
  hostNetwork?: boolean;
4821
4889
  /**
4822
4890
  * @remarks
@@ -4831,10 +4899,17 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
4831
4899
  * improved
4832
4900
  */
4833
4901
  interconnectMode?: string;
4902
+ /**
4903
+ * @remarks
4904
+ * Indicates whether all nodes in the edge node pool can communicate with each other at Layer 3.
4905
+ *
4906
+ * @example
4907
+ * true
4908
+ */
4834
4909
  intranet?: boolean;
4835
4910
  /**
4836
4911
  * @remarks
4837
- * The configurations of the cluster in which the node pool is deployed.
4912
+ * The configurations of the cluster.
4838
4913
  */
4839
4914
  kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
4840
4915
  /**
@@ -4852,7 +4927,7 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
4852
4927
  maxNodes?: number;
4853
4928
  /**
4854
4929
  * @remarks
4855
- * Node configuration.
4930
+ * The node configurations.
4856
4931
  */
4857
4932
  nodeConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfig;
4858
4933
  /**
@@ -4862,7 +4937,7 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
4862
4937
  nodepoolInfo?: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo;
4863
4938
  /**
4864
4939
  * @remarks
4865
- * The configurations of the scaling group.
4940
+ * The configurations of the scaling group used by the node pool.
4866
4941
  */
4867
4942
  scalingGroup?: DescribeClusterNodePoolDetailResponseBodyScalingGroup;
4868
4943
  /**
@@ -5351,36 +5426,57 @@ export declare class DescribeClustersResponse extends $tea.Model {
5351
5426
  }
5352
5427
  export declare class DescribeClustersForRegionRequest extends $tea.Model {
5353
5428
  /**
5429
+ * @remarks
5430
+ * The cluster ID.
5431
+ *
5354
5432
  * @example
5355
5433
  * c8155823d057948c69a****
5356
5434
  */
5357
5435
  clusterId?: string;
5358
5436
  /**
5437
+ * @remarks
5438
+ * The specification of the cluster.
5439
+ *
5359
5440
  * @example
5360
5441
  * ack.standard
5361
5442
  */
5362
5443
  clusterSpec?: string;
5363
5444
  /**
5445
+ * @remarks
5446
+ * The type of the cluster.
5447
+ *
5364
5448
  * @example
5365
5449
  * Kubernetes
5366
5450
  */
5367
5451
  clusterType?: string;
5368
5452
  /**
5453
+ * @remarks
5454
+ * Perform a fuzzy search by using the cluster name.
5455
+ *
5369
5456
  * @example
5370
5457
  * test-cluster
5371
5458
  */
5372
5459
  name?: string;
5373
5460
  /**
5461
+ * @remarks
5462
+ * The number of pages.
5463
+ *
5374
5464
  * @example
5375
5465
  * 10
5376
5466
  */
5377
5467
  pageNumber?: number;
5378
5468
  /**
5469
+ * @remarks
5470
+ * The number of records on each page.
5471
+ *
5379
5472
  * @example
5380
5473
  * 3
5381
5474
  */
5382
5475
  pageSize?: number;
5383
5476
  /**
5477
+ * @remarks
5478
+ * The identifier of the cluster.
5479
+ *
5384
5480
  * @example
5385
5481
  * Serverless
5386
5482
  */
@@ -5396,7 +5492,15 @@ export declare class DescribeClustersForRegionRequest extends $tea.Model {
5396
5492
  });
5397
5493
  }
5398
5494
  export declare class DescribeClustersForRegionResponseBody extends $tea.Model {
5495
+ /**
5496
+ * @remarks
5497
+ * The details of the clusters.
5498
+ */
5399
5499
  clusters?: DescribeClustersForRegionResponseBodyClusters[];
5500
+ /**
5501
+ * @remarks
5502
+ * The pagination details.
5503
+ */
5400
5504
  pageInfo?: DescribeClustersForRegionResponseBodyPageInfo;
5401
5505
  static names(): {
5402
5506
  [key: string]: string;
@@ -5928,16 +6032,25 @@ export declare class DescribeEventsResponse extends $tea.Model {
5928
6032
  }
5929
6033
  export declare class DescribeEventsForRegionRequest extends $tea.Model {
5930
6034
  /**
6035
+ * @remarks
6036
+ * The cluster ID.
6037
+ *
5931
6038
  * @example
5932
6039
  * cf62854ac2130470897be7a27ed1f****
5933
6040
  */
5934
6041
  clusterId?: string;
5935
6042
  /**
6043
+ * @remarks
6044
+ * The number of pages.
6045
+ *
5936
6046
  * @example
5937
6047
  * 1
5938
6048
  */
5939
6049
  pageNumber?: number;
5940
6050
  /**
6051
+ * @remarks
6052
+ * The number of records on each page.
6053
+ *
5941
6054
  * @example
5942
6055
  * 50
5943
6056
  */
@@ -5953,7 +6066,15 @@ export declare class DescribeEventsForRegionRequest extends $tea.Model {
5953
6066
  });
5954
6067
  }
5955
6068
  export declare class DescribeEventsForRegionResponseBody extends $tea.Model {
6069
+ /**
6070
+ * @remarks
6071
+ * The events.
6072
+ */
5956
6073
  events?: DescribeEventsForRegionResponseBodyEvents[];
6074
+ /**
6075
+ * @remarks
6076
+ * The pagination details.
6077
+ */
5957
6078
  pageInfo?: DescribeEventsForRegionResponseBodyPageInfo;
5958
6079
  static names(): {
5959
6080
  [key: string]: string;
@@ -8779,17 +8900,17 @@ export declare class ModifyClusterTagsResponse extends $tea.Model {
8779
8900
  export declare class ModifyNodePoolNodeConfigRequest extends $tea.Model {
8780
8901
  /**
8781
8902
  * @remarks
8782
- * The parameters of the kubelet.
8903
+ * The kubelet configuration.
8783
8904
  */
8784
8905
  kubeletConfig?: KubeletConfig;
8785
8906
  /**
8786
8907
  * @remarks
8787
- * Operating system parameter configuration.
8908
+ * The OS configuration.
8788
8909
  */
8789
8910
  osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
8790
8911
  /**
8791
8912
  * @remarks
8792
- * The rotation configurations.
8913
+ * The rotation configuration.
8793
8914
  */
8794
8915
  rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
8795
8916
  static names(): {
@@ -12078,7 +12199,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
12078
12199
  * * `true`: installs the CloudMonitor agent on ECS nodes.
12079
12200
  * * `false`: does not install the CloudMonitor agent on ECS nodes.
12080
12201
  *
12081
- * Default value: `false`.
12202
+ * Default value: `false`
12082
12203
  *
12083
12204
  * @example
12084
12205
  * true
@@ -12147,7 +12268,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
12147
12268
  runtimeVersion?: string;
12148
12269
  /**
12149
12270
  * @remarks
12150
- * The taints.
12271
+ * The configuration of the taint.
12151
12272
  */
12152
12273
  taints?: Taint[];
12153
12274
  /**
@@ -12302,7 +12423,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
12302
12423
  * @remarks
12303
12424
  * The maximum number of nodes that can be in the Unavailable state. Valid values: 1 to 1000.
12304
12425
  *
12305
- * Default value: 1.
12426
+ * Default value: 1
12306
12427
  *
12307
12428
  * @example
12308
12429
  * 1
@@ -12537,7 +12658,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
12537
12658
  export declare class CreateClusterNodePoolRequestScalingGroupTags extends $tea.Model {
12538
12659
  /**
12539
12660
  * @remarks
12540
- * The label key.
12661
+ * The tag key.
12541
12662
  *
12542
12663
  * @example
12543
12664
  * node-k-1
@@ -12545,7 +12666,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $tea.M
12545
12666
  key?: string;
12546
12667
  /**
12547
12668
  * @remarks
12548
- * The label value.
12669
+ * The tag value.
12549
12670
  *
12550
12671
  * @example
12551
12672
  * node-v-1
@@ -12569,7 +12690,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
12569
12690
  * * `true`: enables auto-renewal.
12570
12691
  * * `false`: disables auto-renewal.
12571
12692
  *
12572
- * Default value: `false`.
12693
+ * Default value: `false`
12573
12694
  *
12574
12695
  * @example
12575
12696
  * true
@@ -12577,9 +12698,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
12577
12698
  autoRenew?: boolean;
12578
12699
  /**
12579
12700
  * @remarks
12580
- * 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.
12701
+ * The auto-renewal period. Valid values:
12581
12702
  *
12582
- * Default value: 1.
12703
+ * * Valid values when PeriodUnit is set to Week: 1, 2, and 3
12704
+ * * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
12705
+ *
12706
+ * Default value: 1
12583
12707
  *
12584
12708
  * @example
12585
12709
  * 1
@@ -13664,10 +13788,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
13664
13788
  cpuPolicy?: string;
13665
13789
  /**
13666
13790
  * @remarks
13667
- * 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:
13791
+ * The labels that you want to add to the nodes in the cluster. You must add labels based on the following rules:
13668
13792
  *
13669
- * * Each label is a case-sensitive key-value pair. You can add up to 20 labels.
13670
- * * 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).
13793
+ * * A label is a case-sensitive key-value pair. You can add up to 20 labels.
13794
+ * * 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).
13671
13795
  */
13672
13796
  labels?: Tag[];
13673
13797
  /**
@@ -13686,6 +13810,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
13686
13810
  /**
13687
13811
  * @remarks
13688
13812
  * 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).
13813
+ *
13814
+ * @example
13815
+ * dGhpcyBpcyBhIGV4YW1wbGU
13689
13816
  */
13690
13817
  preUserData?: string;
13691
13818
  /**
@@ -13706,7 +13833,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
13706
13833
  runtimeVersion?: string;
13707
13834
  /**
13708
13835
  * @remarks
13709
- * 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/).
13836
+ * 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/).
13710
13837
  */
13711
13838
  taints?: Taint[];
13712
13839
  /**
@@ -13920,7 +14047,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
13920
14047
  export declare class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $tea.Model {
13921
14048
  /**
13922
14049
  * @remarks
13923
- * Kubelet parameter configuration.
14050
+ * The configurations of the kubelet.
13924
14051
  */
13925
14052
  kubeletConfiguration?: KubeletConfig;
13926
14053
  static names(): {
@@ -14115,7 +14242,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
14115
14242
  compensateWithOnDemand?: boolean;
14116
14243
  /**
14117
14244
  * @remarks
14118
- * 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.
14245
+ * 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.
14119
14246
  */
14120
14247
  dataDisks?: DataDisk[];
14121
14248
  /**
@@ -14163,7 +14290,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
14163
14290
  instanceChargeType?: string;
14164
14291
  /**
14165
14292
  * @remarks
14166
- * Instance attributes
14293
+ * The instance properties.
14167
14294
  */
14168
14295
  instancePatterns?: InstancePatterns[];
14169
14296
  /**
@@ -14408,14 +14535,14 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
14408
14535
  systemDiskBurstingEnabled?: boolean;
14409
14536
  /**
14410
14537
  * @remarks
14411
- * 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:
14538
+ * 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:
14412
14539
  *
14413
- * * `cloud`: basic disk
14414
- * * `cloud_efficiency`: ultra disk
14415
- * * `cloud_ssd`: standard SSD
14416
- * * `cloud_essd`: ESSD
14417
- * * `cloud_auto`: ESSD AutoPL disk
14418
- * * `cloud_essd_entry`: ESSD Entry disk
14540
+ * * `cloud`: basic disk.
14541
+ * * `cloud_efficiency`: ultra disk.
14542
+ * * `cloud_ssd`: standard SSD.
14543
+ * * `cloud_essd`: Enterprise SSD (ESSD).
14544
+ * * `cloud_auto`: ESSD AutoPL disk.
14545
+ * * `cloud_essd_entry`: ESSD Entry disk.
14419
14546
  *
14420
14547
  * Default value: `cloud_efficiency`.
14421
14548
  */
@@ -14439,7 +14566,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
14439
14566
  systemDiskCategory?: string;
14440
14567
  /**
14441
14568
  * @remarks
14442
- * Encryption algorithm used for the system disk. Valid values: aes-256.
14569
+ * The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256.
14443
14570
  *
14444
14571
  * @example
14445
14572
  * aes-256
@@ -14492,9 +14619,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
14492
14619
  systemDiskSize?: number;
14493
14620
  /**
14494
14621
  * @remarks
14495
- * The labels that you want to add to the ECS instances.
14622
+ * The labels that you want to add only to ECS instances.
14496
14623
  *
14497
- * 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://.
14624
+ * 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://.
14498
14625
  */
14499
14626
  tags?: Tag[];
14500
14627
  /**
@@ -16487,92 +16614,165 @@ export declare class DescribeClustersResponseBody extends $tea.Model {
16487
16614
  }
16488
16615
  export declare class DescribeClustersForRegionResponseBodyClusters extends $tea.Model {
16489
16616
  /**
16617
+ * @remarks
16618
+ * The domain name of the cluster.
16619
+ *
16490
16620
  * @example
16491
16621
  * cluster.local
16492
16622
  */
16493
16623
  clusterDomain?: string;
16494
16624
  /**
16625
+ * @remarks
16626
+ * The cluster ID.
16627
+ *
16495
16628
  * @example
16496
16629
  * c905d1364c2dd4b6284a3f41790c4****
16497
16630
  */
16498
16631
  clusterId?: string;
16499
16632
  /**
16633
+ * @remarks
16634
+ * The types of ACK managed clusters:
16635
+ *
16636
+ * * ack.pro.small: ACK Pro cluster
16637
+ * * ack.standard: ACK Basic cluster
16638
+ *
16500
16639
  * @example
16501
16640
  * ack.standard
16502
16641
  */
16503
16642
  clusterSpec?: string;
16504
16643
  /**
16644
+ * @remarks
16645
+ * The type of the cluster. Valid values:
16646
+ *
16647
+ * * Kubernetes: ACK dedicated cluster
16648
+ * * 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.
16649
+ * * ExternalKubernetes: registered cluster
16650
+ *
16505
16651
  * @example
16506
16652
  * ManagedKubernetes
16507
16653
  */
16508
16654
  clusterType?: string;
16509
16655
  /**
16656
+ * @remarks
16657
+ * The CIDR block of pods in the cluster.
16658
+ *
16510
16659
  * @example
16511
16660
  * 172.20.0.0/16
16512
16661
  */
16513
16662
  containerCidr?: string;
16514
16663
  /**
16664
+ * @remarks
16665
+ * The time at which the instance is created.
16666
+ *
16515
16667
  * @example
16516
16668
  * 2020-12-01T20:40:40+08:00
16517
16669
  */
16518
16670
  created?: string;
16519
16671
  /**
16672
+ * @remarks
16673
+ * The current Kubernetes version of the cluster.
16674
+ *
16520
16675
  * @example
16521
16676
  * 1.16.6-aliyun.1
16522
16677
  */
16523
16678
  currentVersion?: string;
16524
16679
  /**
16680
+ * @remarks
16681
+ * 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:
16682
+ *
16683
+ * * true: enables deletion protection for the cluster. This way, the cluster cannot be deleted in the ACK console or by calling API operations.
16684
+ * * false: disables deletion protection for the cluster. This way, the cluster can be deleted in the ACK console or by calling API operations.
16685
+ *
16525
16686
  * @example
16526
16687
  * false
16527
16688
  */
16528
16689
  deletionProtection?: boolean;
16529
16690
  /**
16691
+ * @remarks
16692
+ * The initial Kubernetes version of the cluster.
16693
+ *
16530
16694
  * @example
16531
16695
  * 1.16.6-aliyun.1
16532
16696
  */
16533
16697
  initVersion?: string;
16534
16698
  /**
16699
+ * @remarks
16700
+ * The IP protocol stack of the cluster.
16701
+ *
16535
16702
  * @example
16536
16703
  * ipv4
16537
16704
  */
16538
16705
  ipStack?: string;
16539
16706
  /**
16707
+ * @remarks
16708
+ * The name of the cluster.
16709
+ *
16540
16710
  * @example
16541
16711
  * test-cluster
16542
16712
  */
16543
16713
  name?: string;
16544
16714
  /**
16715
+ * @remarks
16716
+ * The Kubernetes version to which the cluster can be updated.
16717
+ *
16545
16718
  * @example
16546
16719
  * 1.18.8-aliyun.1
16547
16720
  */
16548
16721
  nextVersion?: string;
16549
16722
  /**
16723
+ * @remarks
16724
+ * The subtype of the cluster. Valid values:
16725
+ *
16726
+ * * Default: ACK managed clusters. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
16727
+ * * Edge: ACK Edge clusters. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
16728
+ * * Serverless: ACK Serverless clusters. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
16729
+ * * Lingjun: ACK Lingjun Pro clusters.
16730
+ *
16550
16731
  * @example
16551
16732
  * Default
16552
16733
  */
16553
16734
  profile?: string;
16554
16735
  /**
16736
+ * @remarks
16737
+ * The kube-proxy mode of the cluster.
16738
+ *
16739
+ * Valid value:
16740
+ *
16741
+ * * iptables: iptables.
16742
+ * * ipvs: ipvs.
16743
+ *
16555
16744
  * @example
16556
16745
  * ipvs
16557
16746
  */
16558
16747
  proxyMode?: string;
16559
16748
  /**
16749
+ * @remarks
16750
+ * The region ID.
16751
+ *
16560
16752
  * @example
16561
16753
  * cn-beijing-a
16562
16754
  */
16563
16755
  regionId?: string;
16564
16756
  /**
16757
+ * @remarks
16758
+ * The ID of the cluster resource group.
16759
+ *
16565
16760
  * @example
16566
16761
  * rg-acfmyvw3wjm****
16567
16762
  */
16568
16763
  resourceGroupId?: string;
16569
16764
  /**
16765
+ * @remarks
16766
+ * The ID of the security group of the cluster.
16767
+ *
16570
16768
  * @example
16571
16769
  * sg-2zeihch86ooz9io4****
16572
16770
  */
16573
16771
  securityGroupId?: string;
16574
16772
  /**
16575
16773
  * @remarks
16774
+ * The CIDR block of the service network.
16775
+ *
16576
16776
  * This parameter is required.
16577
16777
  *
16578
16778
  * @example
@@ -16580,31 +16780,67 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $tea.
16580
16780
  */
16581
16781
  serviceCidr?: string;
16582
16782
  /**
16783
+ * @remarks
16784
+ * The number of nodes in the ACK cluster.
16785
+ *
16583
16786
  * @example
16584
16787
  * 2
16585
16788
  */
16586
16789
  size?: number;
16587
16790
  /**
16791
+ * @remarks
16792
+ * The status of the cluster. Valid values:
16793
+ *
16794
+ * * initial: The cluster is being created.
16795
+ * * failed: The cluster failed to be created.
16796
+ * * running: The cluster is running.
16797
+ * * Upgrading: The cluster is being updated.
16798
+ * * scaling: The cluster is being scaled.
16799
+ * * waiting: The cluster is waiting for connection requests.
16800
+ * * disconnected: The cluster is disconnected.
16801
+ * * inactive: The cluster is inactive.
16802
+ * * unavailable: The cluster is unavailable.
16803
+ * * deleting: The cluster is being deleted.
16804
+ * * deleted: The ACK cluster is deleted.
16805
+ * * delete_failed: The cluster failed to be deleted.
16806
+ *
16588
16807
  * @example
16589
16808
  * running
16590
16809
  */
16591
16810
  state?: string;
16811
+ /**
16812
+ * @remarks
16813
+ * The list of tags.
16814
+ */
16592
16815
  tags?: Tag[];
16593
16816
  /**
16817
+ * @remarks
16818
+ * The time zone.
16819
+ *
16594
16820
  * @example
16595
16821
  * Asia/Shanghai
16596
16822
  */
16597
16823
  timezone?: string;
16598
16824
  /**
16825
+ * @remarks
16826
+ * The time when the cluster was updated.
16827
+ *
16599
16828
  * @example
16600
16829
  * 2020-12-08T15:37:00+08:00
16601
16830
  */
16602
16831
  updated?: string;
16603
16832
  /**
16833
+ * @remarks
16834
+ * The ID of the virtual private cloud (VPC) to which the cluster belongs.
16835
+ *
16604
16836
  * @example
16605
16837
  * vpc-2zeg8nf1ukc0fcmvq****
16606
16838
  */
16607
16839
  vpcId?: string;
16840
+ /**
16841
+ * @remarks
16842
+ * The vSwitches for the control plane of the cluster.
16843
+ */
16608
16844
  vswitchIds?: string[];
16609
16845
  static names(): {
16610
16846
  [key: string]: string;
@@ -16618,16 +16854,25 @@ export declare class DescribeClustersForRegionResponseBodyClusters extends $tea.
16618
16854
  }
16619
16855
  export declare class DescribeClustersForRegionResponseBodyPageInfo extends $tea.Model {
16620
16856
  /**
16857
+ * @remarks
16858
+ * The number of pages.
16859
+ *
16621
16860
  * @example
16622
16861
  * 1
16623
16862
  */
16624
16863
  pageNumber?: number;
16625
16864
  /**
16865
+ * @remarks
16866
+ * The number of records on each page.
16867
+ *
16626
16868
  * @example
16627
16869
  * 10
16628
16870
  */
16629
16871
  pageSize?: number;
16630
16872
  /**
16873
+ * @remarks
16874
+ * The total number of entries returned.
16875
+ *
16631
16876
  * @example
16632
16877
  * 10
16633
16878
  */
@@ -17435,16 +17680,25 @@ export declare class DescribeEventsResponseBodyPageInfo extends $tea.Model {
17435
17680
  }
17436
17681
  export declare class DescribeEventsForRegionResponseBodyEventsData extends $tea.Model {
17437
17682
  /**
17683
+ * @remarks
17684
+ * The severity level of the event.
17685
+ *
17438
17686
  * @example
17439
17687
  * info
17440
17688
  */
17441
17689
  level?: string;
17442
17690
  /**
17691
+ * @remarks
17692
+ * The details of the event.
17693
+ *
17443
17694
  * @example
17444
17695
  * Start to upgrade NodePool nodePool/nodePool-A
17445
17696
  */
17446
17697
  message?: string;
17447
17698
  /**
17699
+ * @remarks
17700
+ * The event status.
17701
+ *
17448
17702
  * @example
17449
17703
  * Started
17450
17704
  */
@@ -17461,28 +17715,51 @@ export declare class DescribeEventsForRegionResponseBodyEventsData extends $tea.
17461
17715
  }
17462
17716
  export declare class DescribeEventsForRegionResponseBodyEvents extends $tea.Model {
17463
17717
  /**
17718
+ * @remarks
17719
+ * The cluster ID.
17720
+ *
17464
17721
  * @example
17465
17722
  * cluster-id
17466
17723
  */
17467
17724
  clusterId?: string;
17725
+ /**
17726
+ * @remarks
17727
+ * The description of the event.
17728
+ */
17468
17729
  data?: DescribeEventsForRegionResponseBodyEventsData;
17469
17730
  /**
17731
+ * @remarks
17732
+ * The event ID.
17733
+ *
17470
17734
  * @example
17471
17735
  * A234-1234-1234
17472
17736
  */
17473
17737
  eventId?: string;
17738
+ /**
17739
+ * @remarks
17740
+ * The event source.
17741
+ */
17474
17742
  source?: string;
17475
17743
  /**
17744
+ * @remarks
17745
+ * The object associated with the event.
17746
+ *
17476
17747
  * @example
17477
17748
  * nodePool-id
17478
17749
  */
17479
17750
  subject?: string;
17480
17751
  /**
17752
+ * @remarks
17753
+ * The time when the event was generated.
17754
+ *
17481
17755
  * @example
17482
17756
  * 2020-12-01T17:31:00Z
17483
17757
  */
17484
17758
  time?: string;
17485
17759
  /**
17760
+ * @remarks
17761
+ * The event type.
17762
+ *
17486
17763
  * @example
17487
17764
  * nodePool_upgrade
17488
17765
  */
@@ -17499,16 +17776,25 @@ export declare class DescribeEventsForRegionResponseBodyEvents extends $tea.Mode
17499
17776
  }
17500
17777
  export declare class DescribeEventsForRegionResponseBodyPageInfo extends $tea.Model {
17501
17778
  /**
17779
+ * @remarks
17780
+ * The number of pages.
17781
+ *
17502
17782
  * @example
17503
17783
  * 1
17504
17784
  */
17505
17785
  pageNumber?: number;
17506
17786
  /**
17787
+ * @remarks
17788
+ * The number of records on each page.
17789
+ *
17507
17790
  * @example
17508
17791
  * 50
17509
17792
  */
17510
17793
  pageSize?: number;
17511
17794
  /**
17795
+ * @remarks
17796
+ * The total number of entries returned.
17797
+ *
17512
17798
  * @example
17513
17799
  * 3
17514
17800
  */
@@ -20974,7 +21260,7 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
20974
21260
  export declare class ModifyNodePoolNodeConfigRequestOsConfig extends $tea.Model {
20975
21261
  /**
20976
21262
  * @remarks
20977
- * sysctl parameter configuration
21263
+ * The sysctl configuration.
20978
21264
  */
20979
21265
  sysctl?: {
20980
21266
  [key: string]: any;
@@ -22266,7 +22552,7 @@ export default class Client extends OpenApi {
22266
22552
  */
22267
22553
  describeClusters(request: DescribeClustersRequest): Promise<DescribeClustersResponse>;
22268
22554
  /**
22269
- * 查询指定地域内全部集群列表
22555
+ * Queries all clusters in a specified region.
22270
22556
  *
22271
22557
  * @param request - DescribeClustersForRegionRequest
22272
22558
  * @param headers - map
@@ -22277,7 +22563,7 @@ export default class Client extends OpenApi {
22277
22563
  [key: string]: string;
22278
22564
  }, runtime: $Util.RuntimeOptions): Promise<DescribeClustersForRegionResponse>;
22279
22565
  /**
22280
- * 查询指定地域内全部集群列表
22566
+ * Queries all clusters in a specified region.
22281
22567
  *
22282
22568
  * @param request - DescribeClustersForRegionRequest
22283
22569
  * @returns DescribeClustersForRegionResponse
@@ -22383,7 +22669,7 @@ export default class Client extends OpenApi {
22383
22669
  */
22384
22670
  describeEvents(request: DescribeEventsRequest): Promise<DescribeEventsResponse>;
22385
22671
  /**
22386
- * 查询指定地域内全部事件列表
22672
+ * Queries all events in a specified region.
22387
22673
  *
22388
22674
  * @param request - DescribeEventsForRegionRequest
22389
22675
  * @param headers - map
@@ -22394,7 +22680,7 @@ export default class Client extends OpenApi {
22394
22680
  [key: string]: string;
22395
22681
  }, runtime: $Util.RuntimeOptions): Promise<DescribeEventsForRegionResponse>;
22396
22682
  /**
22397
- * 查询指定地域内全部事件列表
22683
+ * Queries all events in a specified region.
22398
22684
  *
22399
22685
  * @param request - DescribeEventsForRegionRequest
22400
22686
  * @returns DescribeEventsForRegionResponse
@@ -23328,9 +23614,10 @@ export default class Client extends OpenApi {
23328
23614
  * Removes nodes from a node pool.
23329
23615
  *
23330
23616
  * @remarks
23331
- * *
23332
- * ****
23333
- * * 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.
23617
+ * - 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.
23618
+ * - The operation may have unexpected risks. Back up the data before you perform this operation.
23619
+ * - When the system removes a node, it sets the status of the node to Unschedulable.
23620
+ * - The system removes only worker nodes. It does not remove master nodes.
23334
23621
  *
23335
23622
  * @param tmpReq - RemoveNodePoolNodesRequest
23336
23623
  * @param headers - map
@@ -23344,9 +23631,10 @@ export default class Client extends OpenApi {
23344
23631
  * Removes nodes from a node pool.
23345
23632
  *
23346
23633
  * @remarks
23347
- * *
23348
- * ****
23349
- * * 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.
23634
+ * - 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.
23635
+ * - The operation may have unexpected risks. Back up the data before you perform this operation.
23636
+ * - When the system removes a node, it sets the status of the node to Unschedulable.
23637
+ * - The system removes only worker nodes. It does not remove master nodes.
23350
23638
  *
23351
23639
  * @param request - RemoveNodePoolNodesRequest
23352
23640
  * @returns RemoveNodePoolNodesResponse