@alicloud/cs20151215 4.7.11 → 4.8.1

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
@@ -1385,6 +1385,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1385
1385
  *
1386
1386
  * @example
1387
1387
  * true
1388
+ *
1389
+ * @deprecated
1388
1390
  */
1389
1391
  cloudMonitorFlags?: boolean;
1390
1392
  /**
@@ -1432,6 +1434,7 @@ export declare class CreateClusterRequest extends $tea.Model {
1432
1434
  * 172.20.0.0/16
1433
1435
  */
1434
1436
  containerCidr?: string;
1437
+ controlPlaneConfig?: CreateClusterRequestControlPlaneConfig;
1435
1438
  /**
1436
1439
  * @remarks
1437
1440
  * The control plane component for which you want to enable log collection.
@@ -1466,6 +1469,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1466
1469
  *
1467
1470
  * @example
1468
1471
  * none
1472
+ *
1473
+ * @deprecated
1469
1474
  */
1470
1475
  cpuPolicy?: string;
1471
1476
  /**
@@ -1551,6 +1556,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1551
1556
  *
1552
1557
  * @example
1553
1558
  * false
1559
+ *
1560
+ * @deprecated
1554
1561
  */
1555
1562
  formatDisk?: boolean;
1556
1563
  /**
@@ -1559,6 +1566,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1559
1566
  *
1560
1567
  * @example
1561
1568
  * m-bp16z7xko3vvv8gt****
1569
+ *
1570
+ * @deprecated
1562
1571
  */
1563
1572
  imageId?: string;
1564
1573
  /**
@@ -1579,6 +1588,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1579
1588
  *
1580
1589
  * @example
1581
1590
  * AliyunLinux
1591
+ *
1592
+ * @deprecated
1582
1593
  */
1583
1594
  imageType?: string;
1584
1595
  /**
@@ -1586,6 +1597,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1586
1597
  * The existing Elastic Compute Service (ECS) instances that are specified as worker nodes for the cluster.
1587
1598
  *
1588
1599
  * > This parameter is required if you create worker nodes on existing ECS instances.
1600
+ *
1601
+ * @deprecated
1589
1602
  */
1590
1603
  instances?: string[];
1591
1604
  /**
@@ -1623,6 +1636,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1623
1636
  *
1624
1637
  * @example
1625
1638
  * true
1639
+ *
1640
+ * @deprecated
1626
1641
  */
1627
1642
  keepInstanceName?: boolean;
1628
1643
  /**
@@ -1631,6 +1646,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1631
1646
  *
1632
1647
  * @example
1633
1648
  * secrity-key
1649
+ *
1650
+ * @deprecated
1634
1651
  */
1635
1652
  keyPair?: string;
1636
1653
  /**
@@ -1666,6 +1683,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1666
1683
  *
1667
1684
  * @example
1668
1685
  * slb.s2.small
1686
+ *
1687
+ * @deprecated
1669
1688
  */
1670
1689
  loadBalancerSpec?: string;
1671
1690
  /**
@@ -1682,6 +1701,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1682
1701
  *
1683
1702
  * @example
1684
1703
  * Hello@1234
1704
+ *
1705
+ * @deprecated
1685
1706
  */
1686
1707
  loginPassword?: string;
1687
1708
  /**
@@ -1700,6 +1721,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1700
1721
  *
1701
1722
  * @example
1702
1723
  * true
1724
+ *
1725
+ * @deprecated
1703
1726
  */
1704
1727
  masterAutoRenew?: boolean;
1705
1728
  /**
@@ -1712,6 +1735,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1712
1735
  *
1713
1736
  * @example
1714
1737
  * 1
1738
+ *
1739
+ * @deprecated
1715
1740
  */
1716
1741
  masterAutoRenewPeriod?: number;
1717
1742
  /**
@@ -1722,6 +1747,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1722
1747
  *
1723
1748
  * @example
1724
1749
  * 3
1750
+ *
1751
+ * @deprecated
1725
1752
  */
1726
1753
  masterCount?: number;
1727
1754
  /**
@@ -1735,11 +1762,15 @@ export declare class CreateClusterRequest extends $tea.Model {
1735
1762
  *
1736
1763
  * @example
1737
1764
  * PrePaid
1765
+ *
1766
+ * @deprecated
1738
1767
  */
1739
1768
  masterInstanceChargeType?: string;
1740
1769
  /**
1741
1770
  * @remarks
1742
1771
  * The instance types of master nodes. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
1772
+ *
1773
+ * @deprecated
1743
1774
  */
1744
1775
  masterInstanceTypes?: string[];
1745
1776
  /**
@@ -1752,6 +1783,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1752
1783
  *
1753
1784
  * @example
1754
1785
  * 1
1786
+ *
1787
+ * @deprecated
1755
1788
  */
1756
1789
  masterPeriod?: number;
1757
1790
  /**
@@ -1762,6 +1795,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1762
1795
  *
1763
1796
  * @example
1764
1797
  * Month
1798
+ *
1799
+ * @deprecated
1765
1800
  */
1766
1801
  masterPeriodUnit?: string;
1767
1802
  /**
@@ -1776,6 +1811,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1776
1811
  *
1777
1812
  * @example
1778
1813
  * cloud_ssd
1814
+ *
1815
+ * @deprecated
1779
1816
  */
1780
1817
  masterSystemDiskCategory?: string;
1781
1818
  /**
@@ -1784,6 +1821,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1784
1821
  *
1785
1822
  * @example
1786
1823
  * PL1
1824
+ *
1825
+ * @deprecated
1787
1826
  */
1788
1827
  masterSystemDiskPerformanceLevel?: string;
1789
1828
  /**
@@ -1794,6 +1833,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1794
1833
  *
1795
1834
  * @example
1796
1835
  * 120
1836
+ *
1837
+ * @deprecated
1797
1838
  */
1798
1839
  masterSystemDiskSize?: number;
1799
1840
  /**
@@ -1802,6 +1843,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1802
1843
  *
1803
1844
  * @example
1804
1845
  * sp-2zej1nogjvovnz4z****
1846
+ *
1847
+ * @deprecated
1805
1848
  */
1806
1849
  masterSystemDiskSnapshotPolicyId?: string;
1807
1850
  /**
@@ -1809,6 +1852,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1809
1852
  * The IDs of the vSwitches that are specified for master nodes. You can specify up to three vSwitches. We recommend that you specify three vSwitches in different zones to ensure high availability.
1810
1853
  *
1811
1854
  * The number of vSwitches must be the same as that specified in `master_count` and the same as those specified in `master_vswitch_ids`.
1855
+ *
1856
+ * @deprecated
1812
1857
  */
1813
1858
  masterVswitchIds?: string[];
1814
1859
  /**
@@ -1854,6 +1899,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1854
1899
  *
1855
1900
  * @example
1856
1901
  * aliyun.com00055test
1902
+ *
1903
+ * @deprecated
1857
1904
  */
1858
1905
  nodeNameMode?: string;
1859
1906
  /**
@@ -1897,6 +1944,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1897
1944
  *
1898
1945
  * @example
1899
1946
  * Linux
1947
+ *
1948
+ * @deprecated
1900
1949
  */
1901
1950
  osType?: string;
1902
1951
  /**
@@ -1940,6 +1989,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1940
1989
  *
1941
1990
  * @example
1942
1991
  * CentOS
1992
+ *
1993
+ * @deprecated
1943
1994
  */
1944
1995
  platform?: string;
1945
1996
  /**
@@ -1978,6 +2029,8 @@ export declare class CreateClusterRequest extends $tea.Model {
1978
2029
  /**
1979
2030
  * @remarks
1980
2031
  * The ApsaraDB RDS instances. Select the ApsaraDB RDS instances that you want to add to the whitelist. We recommend that you add the pod CIDR block and node CIDR block to the ApsaraDB RDS instances in the ApsaraDB RDS console. When you configure the ApsaraDB RDS instances, you cannot scale out the number of nodes because the instances are not in the Running state.
2032
+ *
2033
+ * @deprecated
1981
2034
  */
1982
2035
  rdsInstances?: string[];
1983
2036
  /**
@@ -2024,6 +2077,8 @@ export declare class CreateClusterRequest extends $tea.Model {
2024
2077
  *
2025
2078
  * @example
2026
2079
  * false
2080
+ *
2081
+ * @deprecated
2027
2082
  */
2028
2083
  securityHardeningOs?: boolean;
2029
2084
  /**
@@ -2086,6 +2141,8 @@ export declare class CreateClusterRequest extends $tea.Model {
2086
2141
  *
2087
2142
  * @example
2088
2143
  * false
2144
+ *
2145
+ * @deprecated
2089
2146
  */
2090
2147
  socEnabled?: boolean;
2091
2148
  /**
@@ -2112,6 +2169,8 @@ export declare class CreateClusterRequest extends $tea.Model {
2112
2169
  /**
2113
2170
  * @remarks
2114
2171
  * The taint. Taints can be used together with tolerations to avoid scheduling pods to specified nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
2172
+ *
2173
+ * @deprecated
2115
2174
  */
2116
2175
  taints?: Taint[];
2117
2176
  /**
@@ -2122,6 +2181,8 @@ export declare class CreateClusterRequest extends $tea.Model {
2122
2181
  *
2123
2182
  * @example
2124
2183
  * 60
2184
+ *
2185
+ * @deprecated
2125
2186
  */
2126
2187
  timeoutMins?: number;
2127
2188
  /**
@@ -4331,6 +4392,7 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
4331
4392
  * 172.20.0.0/16
4332
4393
  */
4333
4394
  containerCidr?: string;
4395
+ controlPlaneConfig?: DescribeClusterDetailResponseBodyControlPlaneConfig;
4334
4396
  /**
4335
4397
  * @remarks
4336
4398
  * The time when the cluster was created.
@@ -5287,6 +5349,81 @@ export declare class DescribeClustersResponse extends $tea.Model {
5287
5349
  [key: string]: any;
5288
5350
  });
5289
5351
  }
5352
+ export declare class DescribeClustersForRegionRequest extends $tea.Model {
5353
+ /**
5354
+ * @example
5355
+ * c8155823d057948c69a****
5356
+ */
5357
+ clusterId?: string;
5358
+ /**
5359
+ * @example
5360
+ * ack.standard
5361
+ */
5362
+ clusterSpec?: string;
5363
+ /**
5364
+ * @example
5365
+ * Kubernetes
5366
+ */
5367
+ clusterType?: string;
5368
+ /**
5369
+ * @example
5370
+ * test-cluster
5371
+ */
5372
+ name?: string;
5373
+ /**
5374
+ * @example
5375
+ * 10
5376
+ */
5377
+ pageNumber?: number;
5378
+ /**
5379
+ * @example
5380
+ * 3
5381
+ */
5382
+ pageSize?: number;
5383
+ /**
5384
+ * @example
5385
+ * Serverless
5386
+ */
5387
+ profile?: string;
5388
+ static names(): {
5389
+ [key: string]: string;
5390
+ };
5391
+ static types(): {
5392
+ [key: string]: any;
5393
+ };
5394
+ constructor(map?: {
5395
+ [key: string]: any;
5396
+ });
5397
+ }
5398
+ export declare class DescribeClustersForRegionResponseBody extends $tea.Model {
5399
+ clusters?: DescribeClustersForRegionResponseBodyClusters[];
5400
+ pageInfo?: DescribeClustersForRegionResponseBodyPageInfo;
5401
+ static names(): {
5402
+ [key: string]: string;
5403
+ };
5404
+ static types(): {
5405
+ [key: string]: any;
5406
+ };
5407
+ constructor(map?: {
5408
+ [key: string]: any;
5409
+ });
5410
+ }
5411
+ export declare class DescribeClustersForRegionResponse extends $tea.Model {
5412
+ headers?: {
5413
+ [key: string]: string;
5414
+ };
5415
+ statusCode?: number;
5416
+ body?: DescribeClustersForRegionResponseBody;
5417
+ static names(): {
5418
+ [key: string]: string;
5419
+ };
5420
+ static types(): {
5421
+ [key: string]: any;
5422
+ };
5423
+ constructor(map?: {
5424
+ [key: string]: any;
5425
+ });
5426
+ }
5290
5427
  export declare class DescribeClustersV1Request extends $tea.Model {
5291
5428
  /**
5292
5429
  * @remarks
@@ -5789,6 +5926,61 @@ export declare class DescribeEventsResponse extends $tea.Model {
5789
5926
  [key: string]: any;
5790
5927
  });
5791
5928
  }
5929
+ export declare class DescribeEventsForRegionRequest extends $tea.Model {
5930
+ /**
5931
+ * @example
5932
+ * cf62854ac2130470897be7a27ed1f****
5933
+ */
5934
+ clusterId?: string;
5935
+ /**
5936
+ * @example
5937
+ * 1
5938
+ */
5939
+ pageNumber?: number;
5940
+ /**
5941
+ * @example
5942
+ * 50
5943
+ */
5944
+ pageSize?: number;
5945
+ static names(): {
5946
+ [key: string]: string;
5947
+ };
5948
+ static types(): {
5949
+ [key: string]: any;
5950
+ };
5951
+ constructor(map?: {
5952
+ [key: string]: any;
5953
+ });
5954
+ }
5955
+ export declare class DescribeEventsForRegionResponseBody extends $tea.Model {
5956
+ events?: DescribeEventsForRegionResponseBodyEvents[];
5957
+ pageInfo?: DescribeEventsForRegionResponseBodyPageInfo;
5958
+ static names(): {
5959
+ [key: string]: string;
5960
+ };
5961
+ static types(): {
5962
+ [key: string]: any;
5963
+ };
5964
+ constructor(map?: {
5965
+ [key: string]: any;
5966
+ });
5967
+ }
5968
+ export declare class DescribeEventsForRegionResponse extends $tea.Model {
5969
+ headers?: {
5970
+ [key: string]: string;
5971
+ };
5972
+ statusCode?: number;
5973
+ body?: DescribeEventsForRegionResponseBody;
5974
+ static names(): {
5975
+ [key: string]: string;
5976
+ };
5977
+ static types(): {
5978
+ [key: string]: any;
5979
+ };
5980
+ constructor(map?: {
5981
+ [key: string]: any;
5982
+ });
5983
+ }
5792
5984
  export declare class DescribeExternalAgentRequest extends $tea.Model {
5793
5985
  /**
5794
5986
  * @remarks
@@ -8236,6 +8428,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
8236
8428
  * cluster-new-name
8237
8429
  */
8238
8430
  clusterName?: string;
8431
+ controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
8239
8432
  /**
8240
8433
  * @remarks
8241
8434
  * 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. Valid values:
@@ -11567,6 +11760,41 @@ export declare class CheckServiceRoleResponseBodyRoles extends $tea.Model {
11567
11760
  [key: string]: any;
11568
11761
  });
11569
11762
  }
11763
+ export declare class CreateClusterRequestControlPlaneConfig extends $tea.Model {
11764
+ autoRenew?: boolean;
11765
+ autoRenewPeriod?: number;
11766
+ chargeType?: string;
11767
+ cloudMonitorFlags?: boolean;
11768
+ cpuPolicy?: string;
11769
+ deploymentsetId?: string;
11770
+ imageId?: string;
11771
+ imageType?: string;
11772
+ instanceTypes?: string[];
11773
+ keyPair?: string;
11774
+ loginPassword?: string;
11775
+ nodePortRange?: string;
11776
+ period?: number;
11777
+ periodUnit?: string;
11778
+ runtime?: string;
11779
+ securityHardeningOs?: boolean;
11780
+ size?: number;
11781
+ socEnabled?: boolean;
11782
+ systemDiskBurstingEnabled?: boolean;
11783
+ systemDiskCategory?: string;
11784
+ systemDiskPerformanceLevel?: string;
11785
+ systemDiskProvisionedIops?: number;
11786
+ systemDiskSize?: number;
11787
+ systemDiskSnapshotPolicyId?: string;
11788
+ static names(): {
11789
+ [key: string]: string;
11790
+ };
11791
+ static types(): {
11792
+ [key: string]: any;
11793
+ };
11794
+ constructor(map?: {
11795
+ [key: string]: any;
11796
+ });
11797
+ }
11570
11798
  export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
11571
11799
  /**
11572
11800
  * @remarks
@@ -12985,6 +13213,40 @@ export declare class DescribeAddonsResponseBodyComponentGroups extends $tea.Mode
12985
13213
  [key: string]: any;
12986
13214
  });
12987
13215
  }
13216
+ export declare class DescribeClusterDetailResponseBodyControlPlaneConfig extends $tea.Model {
13217
+ autoRenew?: boolean;
13218
+ autoRenewPeriod?: number;
13219
+ chargeType?: string;
13220
+ cloudMonitorFlags?: boolean;
13221
+ cpuPolicy?: string;
13222
+ deploymentsetId?: string;
13223
+ imageId?: string;
13224
+ imageType?: string;
13225
+ instanceTypes?: string[];
13226
+ keyPair?: string;
13227
+ nodePortRange?: string;
13228
+ period?: number;
13229
+ periodUnit?: string;
13230
+ runtime?: string;
13231
+ securityHardeningOs?: boolean;
13232
+ size?: number;
13233
+ socEnabled?: boolean;
13234
+ systemDiskBurstingEnabled?: boolean;
13235
+ systemDiskCategory?: string;
13236
+ systemDiskPerformanceLevel?: string;
13237
+ systemDiskProvisionedIops?: number;
13238
+ systemDiskSize?: number;
13239
+ systemDiskSnapshotPolicyId?: string;
13240
+ static names(): {
13241
+ [key: string]: string;
13242
+ };
13243
+ static types(): {
13244
+ [key: string]: any;
13245
+ };
13246
+ constructor(map?: {
13247
+ [key: string]: any;
13248
+ });
13249
+ }
12988
13250
  export declare class DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade extends $tea.Model {
12989
13251
  /**
12990
13252
  * @remarks
@@ -16223,23 +16485,180 @@ export declare class DescribeClustersResponseBody extends $tea.Model {
16223
16485
  [key: string]: any;
16224
16486
  });
16225
16487
  }
16226
- export declare class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade extends $tea.Model {
16488
+ export declare class DescribeClustersForRegionResponseBodyClusters extends $tea.Model {
16227
16489
  /**
16228
- * @remarks
16229
- * The frequency of auto cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
16230
- *
16231
- * Valid values:
16232
- *
16233
- * * patch: the latest patch version.
16234
- * * stables: the second-latest minor version.
16235
- * * rapid: the latest minor version.
16236
- *
16237
16490
  * @example
16238
- * patch
16491
+ * cluster.local
16239
16492
  */
16240
- channel?: string;
16493
+ clusterDomain?: string;
16241
16494
  /**
16242
- * @remarks
16495
+ * @example
16496
+ * c905d1364c2dd4b6284a3f41790c4****
16497
+ */
16498
+ clusterId?: string;
16499
+ /**
16500
+ * @example
16501
+ * ack.standard
16502
+ */
16503
+ clusterSpec?: string;
16504
+ /**
16505
+ * @example
16506
+ * ManagedKubernetes
16507
+ */
16508
+ clusterType?: string;
16509
+ /**
16510
+ * @example
16511
+ * 172.20.0.0/16
16512
+ */
16513
+ containerCidr?: string;
16514
+ /**
16515
+ * @example
16516
+ * 2020-12-01T20:40:40+08:00
16517
+ */
16518
+ created?: string;
16519
+ /**
16520
+ * @example
16521
+ * 1.16.6-aliyun.1
16522
+ */
16523
+ currentVersion?: string;
16524
+ /**
16525
+ * @example
16526
+ * false
16527
+ */
16528
+ deletionProtection?: boolean;
16529
+ /**
16530
+ * @example
16531
+ * 1.16.6-aliyun.1
16532
+ */
16533
+ initVersion?: string;
16534
+ /**
16535
+ * @example
16536
+ * ipv4
16537
+ */
16538
+ ipStack?: string;
16539
+ /**
16540
+ * @example
16541
+ * test-cluster
16542
+ */
16543
+ name?: string;
16544
+ /**
16545
+ * @example
16546
+ * 1.18.8-aliyun.1
16547
+ */
16548
+ nextVersion?: string;
16549
+ /**
16550
+ * @example
16551
+ * Default
16552
+ */
16553
+ profile?: string;
16554
+ /**
16555
+ * @example
16556
+ * ipvs
16557
+ */
16558
+ proxyMode?: string;
16559
+ /**
16560
+ * @example
16561
+ * cn-beijing-a
16562
+ */
16563
+ regionId?: string;
16564
+ /**
16565
+ * @example
16566
+ * rg-acfmyvw3wjm****
16567
+ */
16568
+ resourceGroupId?: string;
16569
+ /**
16570
+ * @example
16571
+ * sg-2zeihch86ooz9io4****
16572
+ */
16573
+ securityGroupId?: string;
16574
+ /**
16575
+ * @remarks
16576
+ * This parameter is required.
16577
+ *
16578
+ * @example
16579
+ * 172.21.0.0/20
16580
+ */
16581
+ serviceCidr?: string;
16582
+ /**
16583
+ * @example
16584
+ * 2
16585
+ */
16586
+ size?: number;
16587
+ /**
16588
+ * @example
16589
+ * running
16590
+ */
16591
+ state?: string;
16592
+ tags?: Tag[];
16593
+ /**
16594
+ * @example
16595
+ * Asia/Shanghai
16596
+ */
16597
+ timezone?: string;
16598
+ /**
16599
+ * @example
16600
+ * 2020-12-08T15:37:00+08:00
16601
+ */
16602
+ updated?: string;
16603
+ /**
16604
+ * @example
16605
+ * vpc-2zeg8nf1ukc0fcmvq****
16606
+ */
16607
+ vpcId?: string;
16608
+ vswitchIds?: string[];
16609
+ static names(): {
16610
+ [key: string]: string;
16611
+ };
16612
+ static types(): {
16613
+ [key: string]: any;
16614
+ };
16615
+ constructor(map?: {
16616
+ [key: string]: any;
16617
+ });
16618
+ }
16619
+ export declare class DescribeClustersForRegionResponseBodyPageInfo extends $tea.Model {
16620
+ /**
16621
+ * @example
16622
+ * 1
16623
+ */
16624
+ pageNumber?: number;
16625
+ /**
16626
+ * @example
16627
+ * 10
16628
+ */
16629
+ pageSize?: number;
16630
+ /**
16631
+ * @example
16632
+ * 10
16633
+ */
16634
+ totalCount?: number;
16635
+ static names(): {
16636
+ [key: string]: string;
16637
+ };
16638
+ static types(): {
16639
+ [key: string]: any;
16640
+ };
16641
+ constructor(map?: {
16642
+ [key: string]: any;
16643
+ });
16644
+ }
16645
+ export declare class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade extends $tea.Model {
16646
+ /**
16647
+ * @remarks
16648
+ * The frequency of auto cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
16649
+ *
16650
+ * Valid values:
16651
+ *
16652
+ * * patch: the latest patch version.
16653
+ * * stables: the second-latest minor version.
16654
+ * * rapid: the latest minor version.
16655
+ *
16656
+ * @example
16657
+ * patch
16658
+ */
16659
+ channel?: string;
16660
+ /**
16661
+ * @remarks
16243
16662
  * Specifies whether to enable auto cluster update.
16244
16663
  *
16245
16664
  * @example
@@ -17014,6 +17433,96 @@ export declare class DescribeEventsResponseBodyPageInfo extends $tea.Model {
17014
17433
  [key: string]: any;
17015
17434
  });
17016
17435
  }
17436
+ export declare class DescribeEventsForRegionResponseBodyEventsData extends $tea.Model {
17437
+ /**
17438
+ * @example
17439
+ * info
17440
+ */
17441
+ level?: string;
17442
+ /**
17443
+ * @example
17444
+ * Start to upgrade NodePool nodePool/nodePool-A
17445
+ */
17446
+ message?: string;
17447
+ /**
17448
+ * @example
17449
+ * Started
17450
+ */
17451
+ reason?: string;
17452
+ static names(): {
17453
+ [key: string]: string;
17454
+ };
17455
+ static types(): {
17456
+ [key: string]: any;
17457
+ };
17458
+ constructor(map?: {
17459
+ [key: string]: any;
17460
+ });
17461
+ }
17462
+ export declare class DescribeEventsForRegionResponseBodyEvents extends $tea.Model {
17463
+ /**
17464
+ * @example
17465
+ * cluster-id
17466
+ */
17467
+ clusterId?: string;
17468
+ data?: DescribeEventsForRegionResponseBodyEventsData;
17469
+ /**
17470
+ * @example
17471
+ * A234-1234-1234
17472
+ */
17473
+ eventId?: string;
17474
+ source?: string;
17475
+ /**
17476
+ * @example
17477
+ * nodePool-id
17478
+ */
17479
+ subject?: string;
17480
+ /**
17481
+ * @example
17482
+ * 2020-12-01T17:31:00Z
17483
+ */
17484
+ time?: string;
17485
+ /**
17486
+ * @example
17487
+ * nodePool_upgrade
17488
+ */
17489
+ type?: string;
17490
+ static names(): {
17491
+ [key: string]: string;
17492
+ };
17493
+ static types(): {
17494
+ [key: string]: any;
17495
+ };
17496
+ constructor(map?: {
17497
+ [key: string]: any;
17498
+ });
17499
+ }
17500
+ export declare class DescribeEventsForRegionResponseBodyPageInfo extends $tea.Model {
17501
+ /**
17502
+ * @example
17503
+ * 1
17504
+ */
17505
+ pageNumber?: number;
17506
+ /**
17507
+ * @example
17508
+ * 50
17509
+ */
17510
+ pageSize?: number;
17511
+ /**
17512
+ * @example
17513
+ * 3
17514
+ */
17515
+ totalCount?: number;
17516
+ static names(): {
17517
+ [key: string]: string;
17518
+ };
17519
+ static types(): {
17520
+ [key: string]: any;
17521
+ };
17522
+ constructor(map?: {
17523
+ [key: string]: any;
17524
+ });
17525
+ }
17017
17526
  export declare class DescribeKubernetesVersionMetadataResponseBodyImages extends $tea.Model {
17018
17527
  /**
17019
17528
  * @remarks
@@ -17670,22 +18179,52 @@ export declare class DescribePolicyInstancesResponseBody extends $tea.Model {
17670
18179
  */
17671
18180
  policyAction?: string;
17672
18181
  /**
18182
+ * @remarks
18183
+ * Creation time (deprecated, do not use).
18184
+ *
18185
+ * @example
18186
+ * 2024-10-29T18:09:12+08:00
18187
+ *
17673
18188
  * @deprecated
17674
18189
  */
17675
18190
  created?: string;
17676
18191
  /**
18192
+ * @remarks
18193
+ * Update time (deprecated, do not use).
18194
+ *
18195
+ * @example
18196
+ * 2024-10-29T18:09:12+08:00
18197
+ *
17677
18198
  * @deprecated
17678
18199
  */
17679
18200
  updated?: string;
17680
18201
  /**
18202
+ * @remarks
18203
+ * Resource ID (deprecated, do not use).
18204
+ *
18205
+ * @example
18206
+ * 123456***
18207
+ *
17681
18208
  * @deprecated
17682
18209
  */
17683
18210
  resourceId?: string;
17684
18211
  /**
18212
+ * @remarks
18213
+ * Violation count processing in the cluster (deprecated, do not use).
18214
+ *
18215
+ * @example
18216
+ * 0
18217
+ *
17685
18218
  * @deprecated
17686
18219
  */
17687
18220
  totalViolations?: number;
17688
18221
  /**
18222
+ * @remarks
18223
+ * Deletion status (deprecated, do not use).
18224
+ *
18225
+ * @example
18226
+ * 0
18227
+ *
17689
18228
  * @deprecated
17690
18229
  */
17691
18230
  isDeleted?: number;
@@ -19373,6 +19912,41 @@ export declare class ModifyClusterRequestApiServerCustomCertSans extends $tea.Mo
19373
19912
  [key: string]: any;
19374
19913
  });
19375
19914
  }
19915
+ export declare class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
19916
+ autoRenew?: boolean;
19917
+ autoRenewPeriod?: number;
19918
+ chargeType?: string;
19919
+ cloudMonitorFlags?: boolean;
19920
+ cpuPolicy?: string;
19921
+ deploymentsetId?: string;
19922
+ imageId?: string;
19923
+ imageType?: string;
19924
+ instanceTypes?: string[];
19925
+ keyPair?: string;
19926
+ loginPassword?: string;
19927
+ nodePortRange?: string;
19928
+ period?: number;
19929
+ periodUnit?: string;
19930
+ runtime?: string;
19931
+ securityHardeningOs?: boolean;
19932
+ size?: number;
19933
+ socEnabled?: boolean;
19934
+ systemDiskBurstingEnabled?: boolean;
19935
+ systemDiskCategory?: string;
19936
+ systemDiskPerformanceLevel?: string;
19937
+ systemDiskProvisionedIops?: number;
19938
+ systemDiskSize?: number;
19939
+ systemDiskSnapshotPolicyId?: string;
19940
+ static names(): {
19941
+ [key: string]: string;
19942
+ };
19943
+ static types(): {
19944
+ [key: string]: any;
19945
+ };
19946
+ constructor(map?: {
19947
+ [key: string]: any;
19948
+ });
19949
+ }
19376
19950
  export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
19377
19951
  /**
19378
19952
  * @remarks
@@ -21691,6 +22265,24 @@ export default class Client extends OpenApi {
21691
22265
  * @returns DescribeClustersResponse
21692
22266
  */
21693
22267
  describeClusters(request: DescribeClustersRequest): Promise<DescribeClustersResponse>;
22268
+ /**
22269
+ * 查询指定地域内全部集群列表
22270
+ *
22271
+ * @param request - DescribeClustersForRegionRequest
22272
+ * @param headers - map
22273
+ * @param runtime - runtime options for this request RuntimeOptions
22274
+ * @returns DescribeClustersForRegionResponse
22275
+ */
22276
+ describeClustersForRegionWithOptions(regionId: string, request: DescribeClustersForRegionRequest, headers: {
22277
+ [key: string]: string;
22278
+ }, runtime: $Util.RuntimeOptions): Promise<DescribeClustersForRegionResponse>;
22279
+ /**
22280
+ * 查询指定地域内全部集群列表
22281
+ *
22282
+ * @param request - DescribeClustersForRegionRequest
22283
+ * @returns DescribeClustersForRegionResponse
22284
+ */
22285
+ describeClustersForRegion(regionId: string, request: DescribeClustersForRegionRequest): Promise<DescribeClustersForRegionResponse>;
21694
22286
  /**
21695
22287
  * Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
21696
22288
  *
@@ -21790,6 +22382,24 @@ export default class Client extends OpenApi {
21790
22382
  * @returns DescribeEventsResponse
21791
22383
  */
21792
22384
  describeEvents(request: DescribeEventsRequest): Promise<DescribeEventsResponse>;
22385
+ /**
22386
+ * 查询指定地域内全部事件列表
22387
+ *
22388
+ * @param request - DescribeEventsForRegionRequest
22389
+ * @param headers - map
22390
+ * @param runtime - runtime options for this request RuntimeOptions
22391
+ * @returns DescribeEventsForRegionResponse
22392
+ */
22393
+ describeEventsForRegionWithOptions(regionId: string, request: DescribeEventsForRegionRequest, headers: {
22394
+ [key: string]: string;
22395
+ }, runtime: $Util.RuntimeOptions): Promise<DescribeEventsForRegionResponse>;
22396
+ /**
22397
+ * 查询指定地域内全部事件列表
22398
+ *
22399
+ * @param request - DescribeEventsForRegionRequest
22400
+ * @returns DescribeEventsForRegionResponse
22401
+ */
22402
+ describeEventsForRegion(regionId: string, request: DescribeEventsForRegionRequest): Promise<DescribeEventsForRegionResponse>;
21793
22403
  /**
21794
22404
  * Queries the proxy configurations of a registered cluster based on the cluster ID.
21795
22405
  *