@alicloud/cs20151215 4.8.0 → 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.
@@ -8366,6 +8428,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
8366
8428
  * cluster-new-name
8367
8429
  */
8368
8430
  clusterName?: string;
8431
+ controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
8369
8432
  /**
8370
8433
  * @remarks
8371
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:
@@ -11697,6 +11760,41 @@ export declare class CheckServiceRoleResponseBodyRoles extends $tea.Model {
11697
11760
  [key: string]: any;
11698
11761
  });
11699
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
+ }
11700
11798
  export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
11701
11799
  /**
11702
11800
  * @remarks
@@ -13115,6 +13213,40 @@ export declare class DescribeAddonsResponseBodyComponentGroups extends $tea.Mode
13115
13213
  [key: string]: any;
13116
13214
  });
13117
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
+ }
13118
13250
  export declare class DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade extends $tea.Model {
13119
13251
  /**
13120
13252
  * @remarks
@@ -18047,22 +18179,52 @@ export declare class DescribePolicyInstancesResponseBody extends $tea.Model {
18047
18179
  */
18048
18180
  policyAction?: string;
18049
18181
  /**
18182
+ * @remarks
18183
+ * Creation time (deprecated, do not use).
18184
+ *
18185
+ * @example
18186
+ * 2024-10-29T18:09:12+08:00
18187
+ *
18050
18188
  * @deprecated
18051
18189
  */
18052
18190
  created?: string;
18053
18191
  /**
18192
+ * @remarks
18193
+ * Update time (deprecated, do not use).
18194
+ *
18195
+ * @example
18196
+ * 2024-10-29T18:09:12+08:00
18197
+ *
18054
18198
  * @deprecated
18055
18199
  */
18056
18200
  updated?: string;
18057
18201
  /**
18202
+ * @remarks
18203
+ * Resource ID (deprecated, do not use).
18204
+ *
18205
+ * @example
18206
+ * 123456***
18207
+ *
18058
18208
  * @deprecated
18059
18209
  */
18060
18210
  resourceId?: string;
18061
18211
  /**
18212
+ * @remarks
18213
+ * Violation count processing in the cluster (deprecated, do not use).
18214
+ *
18215
+ * @example
18216
+ * 0
18217
+ *
18062
18218
  * @deprecated
18063
18219
  */
18064
18220
  totalViolations?: number;
18065
18221
  /**
18222
+ * @remarks
18223
+ * Deletion status (deprecated, do not use).
18224
+ *
18225
+ * @example
18226
+ * 0
18227
+ *
18066
18228
  * @deprecated
18067
18229
  */
18068
18230
  isDeleted?: number;
@@ -19750,6 +19912,41 @@ export declare class ModifyClusterRequestApiServerCustomCertSans extends $tea.Mo
19750
19912
  [key: string]: any;
19751
19913
  });
19752
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
+ }
19753
19950
  export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
19754
19951
  /**
19755
19952
  * @remarks