@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/src/client.ts CHANGED
@@ -1836,6 +1836,8 @@ export class CreateClusterRequest extends $tea.Model {
1836
1836
  *
1837
1837
  * @example
1838
1838
  * true
1839
+ *
1840
+ * @deprecated
1839
1841
  */
1840
1842
  cloudMonitorFlags?: boolean;
1841
1843
  /**
@@ -1883,6 +1885,7 @@ export class CreateClusterRequest extends $tea.Model {
1883
1885
  * 172.20.0.0/16
1884
1886
  */
1885
1887
  containerCidr?: string;
1888
+ controlPlaneConfig?: CreateClusterRequestControlPlaneConfig;
1886
1889
  /**
1887
1890
  * @remarks
1888
1891
  * The control plane component for which you want to enable log collection.
@@ -1917,6 +1920,8 @@ export class CreateClusterRequest extends $tea.Model {
1917
1920
  *
1918
1921
  * @example
1919
1922
  * none
1923
+ *
1924
+ * @deprecated
1920
1925
  */
1921
1926
  cpuPolicy?: string;
1922
1927
  /**
@@ -2002,6 +2007,8 @@ export class CreateClusterRequest extends $tea.Model {
2002
2007
  *
2003
2008
  * @example
2004
2009
  * false
2010
+ *
2011
+ * @deprecated
2005
2012
  */
2006
2013
  formatDisk?: boolean;
2007
2014
  /**
@@ -2010,6 +2017,8 @@ export class CreateClusterRequest extends $tea.Model {
2010
2017
  *
2011
2018
  * @example
2012
2019
  * m-bp16z7xko3vvv8gt****
2020
+ *
2021
+ * @deprecated
2013
2022
  */
2014
2023
  imageId?: string;
2015
2024
  /**
@@ -2030,6 +2039,8 @@ export class CreateClusterRequest extends $tea.Model {
2030
2039
  *
2031
2040
  * @example
2032
2041
  * AliyunLinux
2042
+ *
2043
+ * @deprecated
2033
2044
  */
2034
2045
  imageType?: string;
2035
2046
  /**
@@ -2037,6 +2048,8 @@ export class CreateClusterRequest extends $tea.Model {
2037
2048
  * The existing Elastic Compute Service (ECS) instances that are specified as worker nodes for the cluster.
2038
2049
  *
2039
2050
  * > This parameter is required if you create worker nodes on existing ECS instances.
2051
+ *
2052
+ * @deprecated
2040
2053
  */
2041
2054
  instances?: string[];
2042
2055
  /**
@@ -2074,6 +2087,8 @@ export class CreateClusterRequest extends $tea.Model {
2074
2087
  *
2075
2088
  * @example
2076
2089
  * true
2090
+ *
2091
+ * @deprecated
2077
2092
  */
2078
2093
  keepInstanceName?: boolean;
2079
2094
  /**
@@ -2082,6 +2097,8 @@ export class CreateClusterRequest extends $tea.Model {
2082
2097
  *
2083
2098
  * @example
2084
2099
  * secrity-key
2100
+ *
2101
+ * @deprecated
2085
2102
  */
2086
2103
  keyPair?: string;
2087
2104
  /**
@@ -2117,6 +2134,8 @@ export class CreateClusterRequest extends $tea.Model {
2117
2134
  *
2118
2135
  * @example
2119
2136
  * slb.s2.small
2137
+ *
2138
+ * @deprecated
2120
2139
  */
2121
2140
  loadBalancerSpec?: string;
2122
2141
  /**
@@ -2133,6 +2152,8 @@ export class CreateClusterRequest extends $tea.Model {
2133
2152
  *
2134
2153
  * @example
2135
2154
  * Hello@1234
2155
+ *
2156
+ * @deprecated
2136
2157
  */
2137
2158
  loginPassword?: string;
2138
2159
  /**
@@ -2151,6 +2172,8 @@ export class CreateClusterRequest extends $tea.Model {
2151
2172
  *
2152
2173
  * @example
2153
2174
  * true
2175
+ *
2176
+ * @deprecated
2154
2177
  */
2155
2178
  masterAutoRenew?: boolean;
2156
2179
  /**
@@ -2163,6 +2186,8 @@ export class CreateClusterRequest extends $tea.Model {
2163
2186
  *
2164
2187
  * @example
2165
2188
  * 1
2189
+ *
2190
+ * @deprecated
2166
2191
  */
2167
2192
  masterAutoRenewPeriod?: number;
2168
2193
  /**
@@ -2173,6 +2198,8 @@ export class CreateClusterRequest extends $tea.Model {
2173
2198
  *
2174
2199
  * @example
2175
2200
  * 3
2201
+ *
2202
+ * @deprecated
2176
2203
  */
2177
2204
  masterCount?: number;
2178
2205
  /**
@@ -2186,11 +2213,15 @@ export class CreateClusterRequest extends $tea.Model {
2186
2213
  *
2187
2214
  * @example
2188
2215
  * PrePaid
2216
+ *
2217
+ * @deprecated
2189
2218
  */
2190
2219
  masterInstanceChargeType?: string;
2191
2220
  /**
2192
2221
  * @remarks
2193
2222
  * The instance types of master nodes. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html).
2223
+ *
2224
+ * @deprecated
2194
2225
  */
2195
2226
  masterInstanceTypes?: string[];
2196
2227
  /**
@@ -2203,6 +2234,8 @@ export class CreateClusterRequest extends $tea.Model {
2203
2234
  *
2204
2235
  * @example
2205
2236
  * 1
2237
+ *
2238
+ * @deprecated
2206
2239
  */
2207
2240
  masterPeriod?: number;
2208
2241
  /**
@@ -2213,6 +2246,8 @@ export class CreateClusterRequest extends $tea.Model {
2213
2246
  *
2214
2247
  * @example
2215
2248
  * Month
2249
+ *
2250
+ * @deprecated
2216
2251
  */
2217
2252
  masterPeriodUnit?: string;
2218
2253
  /**
@@ -2227,6 +2262,8 @@ export class CreateClusterRequest extends $tea.Model {
2227
2262
  *
2228
2263
  * @example
2229
2264
  * cloud_ssd
2265
+ *
2266
+ * @deprecated
2230
2267
  */
2231
2268
  masterSystemDiskCategory?: string;
2232
2269
  /**
@@ -2235,6 +2272,8 @@ export class CreateClusterRequest extends $tea.Model {
2235
2272
  *
2236
2273
  * @example
2237
2274
  * PL1
2275
+ *
2276
+ * @deprecated
2238
2277
  */
2239
2278
  masterSystemDiskPerformanceLevel?: string;
2240
2279
  /**
@@ -2245,6 +2284,8 @@ export class CreateClusterRequest extends $tea.Model {
2245
2284
  *
2246
2285
  * @example
2247
2286
  * 120
2287
+ *
2288
+ * @deprecated
2248
2289
  */
2249
2290
  masterSystemDiskSize?: number;
2250
2291
  /**
@@ -2253,6 +2294,8 @@ export class CreateClusterRequest extends $tea.Model {
2253
2294
  *
2254
2295
  * @example
2255
2296
  * sp-2zej1nogjvovnz4z****
2297
+ *
2298
+ * @deprecated
2256
2299
  */
2257
2300
  masterSystemDiskSnapshotPolicyId?: string;
2258
2301
  /**
@@ -2260,6 +2303,8 @@ export class CreateClusterRequest extends $tea.Model {
2260
2303
  * 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.
2261
2304
  *
2262
2305
  * The number of vSwitches must be the same as that specified in `master_count` and the same as those specified in `master_vswitch_ids`.
2306
+ *
2307
+ * @deprecated
2263
2308
  */
2264
2309
  masterVswitchIds?: string[];
2265
2310
  /**
@@ -2305,6 +2350,8 @@ export class CreateClusterRequest extends $tea.Model {
2305
2350
  *
2306
2351
  * @example
2307
2352
  * aliyun.com00055test
2353
+ *
2354
+ * @deprecated
2308
2355
  */
2309
2356
  nodeNameMode?: string;
2310
2357
  /**
@@ -2348,6 +2395,8 @@ export class CreateClusterRequest extends $tea.Model {
2348
2395
  *
2349
2396
  * @example
2350
2397
  * Linux
2398
+ *
2399
+ * @deprecated
2351
2400
  */
2352
2401
  osType?: string;
2353
2402
  /**
@@ -2391,6 +2440,8 @@ export class CreateClusterRequest extends $tea.Model {
2391
2440
  *
2392
2441
  * @example
2393
2442
  * CentOS
2443
+ *
2444
+ * @deprecated
2394
2445
  */
2395
2446
  platform?: string;
2396
2447
  /**
@@ -2429,6 +2480,8 @@ export class CreateClusterRequest extends $tea.Model {
2429
2480
  /**
2430
2481
  * @remarks
2431
2482
  * 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.
2483
+ *
2484
+ * @deprecated
2432
2485
  */
2433
2486
  rdsInstances?: string[];
2434
2487
  /**
@@ -2475,6 +2528,8 @@ export class CreateClusterRequest extends $tea.Model {
2475
2528
  *
2476
2529
  * @example
2477
2530
  * false
2531
+ *
2532
+ * @deprecated
2478
2533
  */
2479
2534
  securityHardeningOs?: boolean;
2480
2535
  /**
@@ -2537,6 +2592,8 @@ export class CreateClusterRequest extends $tea.Model {
2537
2592
  *
2538
2593
  * @example
2539
2594
  * false
2595
+ *
2596
+ * @deprecated
2540
2597
  */
2541
2598
  socEnabled?: boolean;
2542
2599
  /**
@@ -2563,6 +2620,8 @@ export class CreateClusterRequest extends $tea.Model {
2563
2620
  /**
2564
2621
  * @remarks
2565
2622
  * 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/).
2623
+ *
2624
+ * @deprecated
2566
2625
  */
2567
2626
  taints?: Taint[];
2568
2627
  /**
@@ -2573,6 +2632,8 @@ export class CreateClusterRequest extends $tea.Model {
2573
2632
  *
2574
2633
  * @example
2575
2634
  * 60
2635
+ *
2636
+ * @deprecated
2576
2637
  */
2577
2638
  timeoutMins?: number;
2578
2639
  /**
@@ -2798,6 +2859,7 @@ export class CreateClusterRequest extends $tea.Model {
2798
2859
  clusterSpec: 'cluster_spec',
2799
2860
  clusterType: 'cluster_type',
2800
2861
  containerCidr: 'container_cidr',
2862
+ controlPlaneConfig: 'control_plane_config',
2801
2863
  controlplaneLogComponents: 'controlplane_log_components',
2802
2864
  controlplaneLogProject: 'controlplane_log_project',
2803
2865
  controlplaneLogTtl: 'controlplane_log_ttl',
@@ -2900,6 +2962,7 @@ export class CreateClusterRequest extends $tea.Model {
2900
2962
  clusterSpec: 'string',
2901
2963
  clusterType: 'string',
2902
2964
  containerCidr: 'string',
2965
+ controlPlaneConfig: CreateClusterRequestControlPlaneConfig,
2903
2966
  controlplaneLogComponents: { 'type': 'array', 'itemType': 'string' },
2904
2967
  controlplaneLogProject: 'string',
2905
2968
  controlplaneLogTtl: 'string',
@@ -5636,6 +5699,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5636
5699
  * 172.20.0.0/16
5637
5700
  */
5638
5701
  containerCidr?: string;
5702
+ controlPlaneConfig?: DescribeClusterDetailResponseBodyControlPlaneConfig;
5639
5703
  /**
5640
5704
  * @remarks
5641
5705
  * The time when the cluster was created.
@@ -5945,6 +6009,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5945
6009
  clusterSpec: 'cluster_spec',
5946
6010
  clusterType: 'cluster_type',
5947
6011
  containerCidr: 'container_cidr',
6012
+ controlPlaneConfig: 'control_plane_config',
5948
6013
  created: 'created',
5949
6014
  currentVersion: 'current_version',
5950
6015
  deletionProtection: 'deletion_protection',
@@ -5989,6 +6054,7 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5989
6054
  clusterSpec: 'string',
5990
6055
  clusterType: 'string',
5991
6056
  containerCidr: 'string',
6057
+ controlPlaneConfig: DescribeClusterDetailResponseBodyControlPlaneConfig,
5992
6058
  created: 'string',
5993
6059
  currentVersion: 'string',
5994
6060
  deletionProtection: 'boolean',
@@ -6947,6 +7013,118 @@ export class DescribeClustersResponse extends $tea.Model {
6947
7013
  }
6948
7014
  }
6949
7015
 
7016
+ export class DescribeClustersForRegionRequest extends $tea.Model {
7017
+ /**
7018
+ * @example
7019
+ * c8155823d057948c69a****
7020
+ */
7021
+ clusterId?: string;
7022
+ /**
7023
+ * @example
7024
+ * ack.standard
7025
+ */
7026
+ clusterSpec?: string;
7027
+ /**
7028
+ * @example
7029
+ * Kubernetes
7030
+ */
7031
+ clusterType?: string;
7032
+ /**
7033
+ * @example
7034
+ * test-cluster
7035
+ */
7036
+ name?: string;
7037
+ /**
7038
+ * @example
7039
+ * 10
7040
+ */
7041
+ pageNumber?: number;
7042
+ /**
7043
+ * @example
7044
+ * 3
7045
+ */
7046
+ pageSize?: number;
7047
+ /**
7048
+ * @example
7049
+ * Serverless
7050
+ */
7051
+ profile?: string;
7052
+ static names(): { [key: string]: string } {
7053
+ return {
7054
+ clusterId: 'cluster_id',
7055
+ clusterSpec: 'cluster_spec',
7056
+ clusterType: 'cluster_type',
7057
+ name: 'name',
7058
+ pageNumber: 'page_number',
7059
+ pageSize: 'page_size',
7060
+ profile: 'profile',
7061
+ };
7062
+ }
7063
+
7064
+ static types(): { [key: string]: any } {
7065
+ return {
7066
+ clusterId: 'string',
7067
+ clusterSpec: 'string',
7068
+ clusterType: 'string',
7069
+ name: 'string',
7070
+ pageNumber: 'number',
7071
+ pageSize: 'number',
7072
+ profile: 'string',
7073
+ };
7074
+ }
7075
+
7076
+ constructor(map?: { [key: string]: any }) {
7077
+ super(map);
7078
+ }
7079
+ }
7080
+
7081
+ export class DescribeClustersForRegionResponseBody extends $tea.Model {
7082
+ clusters?: DescribeClustersForRegionResponseBodyClusters[];
7083
+ pageInfo?: DescribeClustersForRegionResponseBodyPageInfo;
7084
+ static names(): { [key: string]: string } {
7085
+ return {
7086
+ clusters: 'clusters',
7087
+ pageInfo: 'page_info',
7088
+ };
7089
+ }
7090
+
7091
+ static types(): { [key: string]: any } {
7092
+ return {
7093
+ clusters: { 'type': 'array', 'itemType': DescribeClustersForRegionResponseBodyClusters },
7094
+ pageInfo: DescribeClustersForRegionResponseBodyPageInfo,
7095
+ };
7096
+ }
7097
+
7098
+ constructor(map?: { [key: string]: any }) {
7099
+ super(map);
7100
+ }
7101
+ }
7102
+
7103
+ export class DescribeClustersForRegionResponse extends $tea.Model {
7104
+ headers?: { [key: string]: string };
7105
+ statusCode?: number;
7106
+ body?: DescribeClustersForRegionResponseBody;
7107
+ static names(): { [key: string]: string } {
7108
+ return {
7109
+ headers: 'headers',
7110
+ statusCode: 'statusCode',
7111
+ body: 'body',
7112
+ };
7113
+ }
7114
+
7115
+ static types(): { [key: string]: any } {
7116
+ return {
7117
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7118
+ statusCode: 'number',
7119
+ body: DescribeClustersForRegionResponseBody,
7120
+ };
7121
+ }
7122
+
7123
+ constructor(map?: { [key: string]: any }) {
7124
+ super(map);
7125
+ }
7126
+ }
7127
+
6950
7128
  export class DescribeClustersV1Request extends $tea.Model {
6951
7129
  /**
6952
7130
  * @remarks
@@ -7622,6 +7800,90 @@ export class DescribeEventsResponse extends $tea.Model {
7622
7800
  }
7623
7801
  }
7624
7802
 
7803
+ export class DescribeEventsForRegionRequest extends $tea.Model {
7804
+ /**
7805
+ * @example
7806
+ * cf62854ac2130470897be7a27ed1f****
7807
+ */
7808
+ clusterId?: string;
7809
+ /**
7810
+ * @example
7811
+ * 1
7812
+ */
7813
+ pageNumber?: number;
7814
+ /**
7815
+ * @example
7816
+ * 50
7817
+ */
7818
+ pageSize?: number;
7819
+ static names(): { [key: string]: string } {
7820
+ return {
7821
+ clusterId: 'cluster_id',
7822
+ pageNumber: 'page_number',
7823
+ pageSize: 'page_size',
7824
+ };
7825
+ }
7826
+
7827
+ static types(): { [key: string]: any } {
7828
+ return {
7829
+ clusterId: 'string',
7830
+ pageNumber: 'number',
7831
+ pageSize: 'number',
7832
+ };
7833
+ }
7834
+
7835
+ constructor(map?: { [key: string]: any }) {
7836
+ super(map);
7837
+ }
7838
+ }
7839
+
7840
+ export class DescribeEventsForRegionResponseBody extends $tea.Model {
7841
+ events?: DescribeEventsForRegionResponseBodyEvents[];
7842
+ pageInfo?: DescribeEventsForRegionResponseBodyPageInfo;
7843
+ static names(): { [key: string]: string } {
7844
+ return {
7845
+ events: 'events',
7846
+ pageInfo: 'page_info',
7847
+ };
7848
+ }
7849
+
7850
+ static types(): { [key: string]: any } {
7851
+ return {
7852
+ events: { 'type': 'array', 'itemType': DescribeEventsForRegionResponseBodyEvents },
7853
+ pageInfo: DescribeEventsForRegionResponseBodyPageInfo,
7854
+ };
7855
+ }
7856
+
7857
+ constructor(map?: { [key: string]: any }) {
7858
+ super(map);
7859
+ }
7860
+ }
7861
+
7862
+ export class DescribeEventsForRegionResponse extends $tea.Model {
7863
+ headers?: { [key: string]: string };
7864
+ statusCode?: number;
7865
+ body?: DescribeEventsForRegionResponseBody;
7866
+ static names(): { [key: string]: string } {
7867
+ return {
7868
+ headers: 'headers',
7869
+ statusCode: 'statusCode',
7870
+ body: 'body',
7871
+ };
7872
+ }
7873
+
7874
+ static types(): { [key: string]: any } {
7875
+ return {
7876
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7877
+ statusCode: 'number',
7878
+ body: DescribeEventsForRegionResponseBody,
7879
+ };
7880
+ }
7881
+
7882
+ constructor(map?: { [key: string]: any }) {
7883
+ super(map);
7884
+ }
7885
+ }
7886
+
7625
7887
  export class DescribeExternalAgentRequest extends $tea.Model {
7626
7888
  /**
7627
7889
  * @remarks
@@ -10918,6 +11180,7 @@ export class ModifyClusterRequest extends $tea.Model {
10918
11180
  * cluster-new-name
10919
11181
  */
10920
11182
  clusterName?: string;
11183
+ controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
10921
11184
  /**
10922
11185
  * @remarks
10923
11186
  * 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:
@@ -11007,6 +11270,7 @@ export class ModifyClusterRequest extends $tea.Model {
11007
11270
  apiServerEip: 'api_server_eip',
11008
11271
  apiServerEipId: 'api_server_eip_id',
11009
11272
  clusterName: 'cluster_name',
11273
+ controlPlaneConfig: 'control_plane_config',
11010
11274
  deletionProtection: 'deletion_protection',
11011
11275
  enableRrsa: 'enable_rrsa',
11012
11276
  ingressDomainRebinding: 'ingress_domain_rebinding',
@@ -11027,6 +11291,7 @@ export class ModifyClusterRequest extends $tea.Model {
11027
11291
  apiServerEip: 'boolean',
11028
11292
  apiServerEipId: 'string',
11029
11293
  clusterName: 'string',
11294
+ controlPlaneConfig: ModifyClusterRequestControlPlaneConfig,
11030
11295
  deletionProtection: 'boolean',
11031
11296
  enableRrsa: 'boolean',
11032
11297
  ingressDomainRebinding: 'boolean',
@@ -15543,26 +15808,114 @@ export class CheckServiceRoleResponseBodyRoles extends $tea.Model {
15543
15808
  }
15544
15809
  }
15545
15810
 
15546
- export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
15547
- /**
15548
- * @remarks
15549
- * Cluster auto-upgrade frequency. Possible values:
15550
- *
15551
- * - patch
15552
- * - stable
15553
- * - rapid
15554
- *
15555
- * @example
15556
- * patch
15557
- */
15558
- channel?: string;
15559
- /**
15560
- * @remarks
15561
- * Whether to enable automatic cluster upgrades.
15562
- *
15563
- * @example
15564
- * true
15565
- */
15811
+ export class CreateClusterRequestControlPlaneConfig extends $tea.Model {
15812
+ autoRenew?: boolean;
15813
+ autoRenewPeriod?: number;
15814
+ chargeType?: string;
15815
+ cloudMonitorFlags?: boolean;
15816
+ cpuPolicy?: string;
15817
+ deploymentsetId?: string;
15818
+ imageId?: string;
15819
+ imageType?: string;
15820
+ instanceTypes?: string[];
15821
+ keyPair?: string;
15822
+ loginPassword?: string;
15823
+ nodePortRange?: string;
15824
+ period?: number;
15825
+ periodUnit?: string;
15826
+ runtime?: string;
15827
+ securityHardeningOs?: boolean;
15828
+ size?: number;
15829
+ socEnabled?: boolean;
15830
+ systemDiskBurstingEnabled?: boolean;
15831
+ systemDiskCategory?: string;
15832
+ systemDiskPerformanceLevel?: string;
15833
+ systemDiskProvisionedIops?: number;
15834
+ systemDiskSize?: number;
15835
+ systemDiskSnapshotPolicyId?: string;
15836
+ static names(): { [key: string]: string } {
15837
+ return {
15838
+ autoRenew: 'auto_renew',
15839
+ autoRenewPeriod: 'auto_renew_period',
15840
+ chargeType: 'charge_type',
15841
+ cloudMonitorFlags: 'cloud_monitor_flags',
15842
+ cpuPolicy: 'cpu_policy',
15843
+ deploymentsetId: 'deploymentset_id',
15844
+ imageId: 'image_id',
15845
+ imageType: 'image_type',
15846
+ instanceTypes: 'instance_types',
15847
+ keyPair: 'key_pair',
15848
+ loginPassword: 'login_password',
15849
+ nodePortRange: 'node_port_range',
15850
+ period: 'period',
15851
+ periodUnit: 'period_unit',
15852
+ runtime: 'runtime',
15853
+ securityHardeningOs: 'security_hardening_os',
15854
+ size: 'size',
15855
+ socEnabled: 'soc_enabled',
15856
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
15857
+ systemDiskCategory: 'system_disk_category',
15858
+ systemDiskPerformanceLevel: 'system_disk_performance_level',
15859
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
15860
+ systemDiskSize: 'system_disk_size',
15861
+ systemDiskSnapshotPolicyId: 'system_disk_snapshot_policy_id',
15862
+ };
15863
+ }
15864
+
15865
+ static types(): { [key: string]: any } {
15866
+ return {
15867
+ autoRenew: 'boolean',
15868
+ autoRenewPeriod: 'number',
15869
+ chargeType: 'string',
15870
+ cloudMonitorFlags: 'boolean',
15871
+ cpuPolicy: 'string',
15872
+ deploymentsetId: 'string',
15873
+ imageId: 'string',
15874
+ imageType: 'string',
15875
+ instanceTypes: { 'type': 'array', 'itemType': 'string' },
15876
+ keyPair: 'string',
15877
+ loginPassword: 'string',
15878
+ nodePortRange: 'string',
15879
+ period: 'number',
15880
+ periodUnit: 'string',
15881
+ runtime: 'string',
15882
+ securityHardeningOs: 'boolean',
15883
+ size: 'number',
15884
+ socEnabled: 'boolean',
15885
+ systemDiskBurstingEnabled: 'boolean',
15886
+ systemDiskCategory: 'string',
15887
+ systemDiskPerformanceLevel: 'string',
15888
+ systemDiskProvisionedIops: 'number',
15889
+ systemDiskSize: 'number',
15890
+ systemDiskSnapshotPolicyId: 'string',
15891
+ };
15892
+ }
15893
+
15894
+ constructor(map?: { [key: string]: any }) {
15895
+ super(map);
15896
+ }
15897
+ }
15898
+
15899
+ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
15900
+ /**
15901
+ * @remarks
15902
+ * Cluster auto-upgrade frequency. Possible values:
15903
+ *
15904
+ * - patch
15905
+ * - stable
15906
+ * - rapid
15907
+ *
15908
+ * @example
15909
+ * patch
15910
+ */
15911
+ channel?: string;
15912
+ /**
15913
+ * @remarks
15914
+ * Whether to enable automatic cluster upgrades.
15915
+ *
15916
+ * @example
15917
+ * true
15918
+ */
15566
15919
  enabled?: boolean;
15567
15920
  static names(): { [key: string]: string } {
15568
15921
  return {
@@ -17324,6 +17677,91 @@ export class DescribeAddonsResponseBodyComponentGroups extends $tea.Model {
17324
17677
  }
17325
17678
  }
17326
17679
 
17680
+ export class DescribeClusterDetailResponseBodyControlPlaneConfig extends $tea.Model {
17681
+ autoRenew?: boolean;
17682
+ autoRenewPeriod?: number;
17683
+ chargeType?: string;
17684
+ cloudMonitorFlags?: boolean;
17685
+ cpuPolicy?: string;
17686
+ deploymentsetId?: string;
17687
+ imageId?: string;
17688
+ imageType?: string;
17689
+ instanceTypes?: string[];
17690
+ keyPair?: string;
17691
+ nodePortRange?: string;
17692
+ period?: number;
17693
+ periodUnit?: string;
17694
+ runtime?: string;
17695
+ securityHardeningOs?: boolean;
17696
+ size?: number;
17697
+ socEnabled?: boolean;
17698
+ systemDiskBurstingEnabled?: boolean;
17699
+ systemDiskCategory?: string;
17700
+ systemDiskPerformanceLevel?: string;
17701
+ systemDiskProvisionedIops?: number;
17702
+ systemDiskSize?: number;
17703
+ systemDiskSnapshotPolicyId?: string;
17704
+ static names(): { [key: string]: string } {
17705
+ return {
17706
+ autoRenew: 'auto_renew',
17707
+ autoRenewPeriod: 'auto_renew_period',
17708
+ chargeType: 'charge_type',
17709
+ cloudMonitorFlags: 'cloud_monitor_flags',
17710
+ cpuPolicy: 'cpu_policy',
17711
+ deploymentsetId: 'deploymentset_id',
17712
+ imageId: 'image_id',
17713
+ imageType: 'image_type',
17714
+ instanceTypes: 'instance_types',
17715
+ keyPair: 'key_pair',
17716
+ nodePortRange: 'node_port_range',
17717
+ period: 'period',
17718
+ periodUnit: 'period_unit',
17719
+ runtime: 'runtime',
17720
+ securityHardeningOs: 'security_hardening_os',
17721
+ size: 'size',
17722
+ socEnabled: 'soc_enabled',
17723
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
17724
+ systemDiskCategory: 'system_disk_category',
17725
+ systemDiskPerformanceLevel: 'system_disk_performance_level',
17726
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
17727
+ systemDiskSize: 'system_disk_size',
17728
+ systemDiskSnapshotPolicyId: 'system_disk_snapshot_policy_id',
17729
+ };
17730
+ }
17731
+
17732
+ static types(): { [key: string]: any } {
17733
+ return {
17734
+ autoRenew: 'boolean',
17735
+ autoRenewPeriod: 'number',
17736
+ chargeType: 'string',
17737
+ cloudMonitorFlags: 'boolean',
17738
+ cpuPolicy: 'string',
17739
+ deploymentsetId: 'string',
17740
+ imageId: 'string',
17741
+ imageType: 'string',
17742
+ instanceTypes: { 'type': 'array', 'itemType': 'string' },
17743
+ keyPair: 'string',
17744
+ nodePortRange: 'string',
17745
+ period: 'number',
17746
+ periodUnit: 'string',
17747
+ runtime: 'string',
17748
+ securityHardeningOs: 'boolean',
17749
+ size: 'number',
17750
+ socEnabled: 'boolean',
17751
+ systemDiskBurstingEnabled: 'boolean',
17752
+ systemDiskCategory: 'string',
17753
+ systemDiskPerformanceLevel: 'string',
17754
+ systemDiskProvisionedIops: 'number',
17755
+ systemDiskSize: 'number',
17756
+ systemDiskSnapshotPolicyId: 'string',
17757
+ };
17758
+ }
17759
+
17760
+ constructor(map?: { [key: string]: any }) {
17761
+ super(map);
17762
+ }
17763
+ }
17764
+
17327
17765
  export class DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade extends $tea.Model {
17328
17766
  /**
17329
17767
  * @remarks
@@ -21487,80 +21925,303 @@ export class DescribeClustersResponseBody extends $tea.Model {
21487
21925
  }
21488
21926
  }
21489
21927
 
21490
- export class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade extends $tea.Model {
21928
+ export class DescribeClustersForRegionResponseBodyClusters extends $tea.Model {
21491
21929
  /**
21492
- * @remarks
21493
- * The frequency of auto cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
21494
- *
21495
- * Valid values:
21496
- *
21497
- * * patch: the latest patch version.
21498
- * * stables: the second-latest minor version.
21499
- * * rapid: the latest minor version.
21500
- *
21501
21930
  * @example
21502
- * patch
21931
+ * cluster.local
21503
21932
  */
21504
- channel?: string;
21933
+ clusterDomain?: string;
21505
21934
  /**
21506
- * @remarks
21507
- * Specifies whether to enable auto cluster update.
21508
- *
21509
21935
  * @example
21510
- * true
21936
+ * c905d1364c2dd4b6284a3f41790c4****
21511
21937
  */
21512
- enabled?: boolean;
21513
- static names(): { [key: string]: string } {
21514
- return {
21515
- channel: 'channel',
21516
- enabled: 'enabled',
21517
- };
21518
- }
21519
-
21520
- static types(): { [key: string]: any } {
21521
- return {
21522
- channel: 'string',
21523
- enabled: 'boolean',
21524
- };
21525
- }
21526
-
21527
- constructor(map?: { [key: string]: any }) {
21528
- super(map);
21529
- }
21530
- }
21531
-
21532
- export class DescribeClustersV1ResponseBodyClustersOperationPolicy extends $tea.Model {
21938
+ clusterId?: string;
21533
21939
  /**
21534
- * @remarks
21535
- * The configurations of auto cluster update.
21940
+ * @example
21941
+ * ack.standard
21536
21942
  */
21537
- clusterAutoUpgrade?: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade;
21538
- static names(): { [key: string]: string } {
21539
- return {
21540
- clusterAutoUpgrade: 'cluster_auto_upgrade',
21541
- };
21542
- }
21543
-
21544
- static types(): { [key: string]: any } {
21545
- return {
21546
- clusterAutoUpgrade: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade,
21547
- };
21548
- }
21549
-
21550
- constructor(map?: { [key: string]: any }) {
21551
- super(map);
21552
- }
21553
- }
21554
-
21555
- export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21943
+ clusterSpec?: string;
21556
21944
  /**
21557
- * @remarks
21558
- * The domain name of the cluster.
21559
- *
21560
21945
  * @example
21561
- * cluster.local
21946
+ * ManagedKubernetes
21562
21947
  */
21563
- clusterDomain?: string;
21948
+ clusterType?: string;
21949
+ /**
21950
+ * @example
21951
+ * 172.20.0.0/16
21952
+ */
21953
+ containerCidr?: string;
21954
+ /**
21955
+ * @example
21956
+ * 2020-12-01T20:40:40+08:00
21957
+ */
21958
+ created?: string;
21959
+ /**
21960
+ * @example
21961
+ * 1.16.6-aliyun.1
21962
+ */
21963
+ currentVersion?: string;
21964
+ /**
21965
+ * @example
21966
+ * false
21967
+ */
21968
+ deletionProtection?: boolean;
21969
+ /**
21970
+ * @example
21971
+ * 1.16.6-aliyun.1
21972
+ */
21973
+ initVersion?: string;
21974
+ /**
21975
+ * @example
21976
+ * ipv4
21977
+ */
21978
+ ipStack?: string;
21979
+ /**
21980
+ * @example
21981
+ * test-cluster
21982
+ */
21983
+ name?: string;
21984
+ /**
21985
+ * @example
21986
+ * 1.18.8-aliyun.1
21987
+ */
21988
+ nextVersion?: string;
21989
+ /**
21990
+ * @example
21991
+ * Default
21992
+ */
21993
+ profile?: string;
21994
+ /**
21995
+ * @example
21996
+ * ipvs
21997
+ */
21998
+ proxyMode?: string;
21999
+ /**
22000
+ * @example
22001
+ * cn-beijing-a
22002
+ */
22003
+ regionId?: string;
22004
+ /**
22005
+ * @example
22006
+ * rg-acfmyvw3wjm****
22007
+ */
22008
+ resourceGroupId?: string;
22009
+ /**
22010
+ * @example
22011
+ * sg-2zeihch86ooz9io4****
22012
+ */
22013
+ securityGroupId?: string;
22014
+ /**
22015
+ * @remarks
22016
+ * This parameter is required.
22017
+ *
22018
+ * @example
22019
+ * 172.21.0.0/20
22020
+ */
22021
+ serviceCidr?: string;
22022
+ /**
22023
+ * @example
22024
+ * 2
22025
+ */
22026
+ size?: number;
22027
+ /**
22028
+ * @example
22029
+ * running
22030
+ */
22031
+ state?: string;
22032
+ tags?: Tag[];
22033
+ /**
22034
+ * @example
22035
+ * Asia/Shanghai
22036
+ */
22037
+ timezone?: string;
22038
+ /**
22039
+ * @example
22040
+ * 2020-12-08T15:37:00+08:00
22041
+ */
22042
+ updated?: string;
22043
+ /**
22044
+ * @example
22045
+ * vpc-2zeg8nf1ukc0fcmvq****
22046
+ */
22047
+ vpcId?: string;
22048
+ vswitchIds?: string[];
22049
+ static names(): { [key: string]: string } {
22050
+ return {
22051
+ clusterDomain: 'cluster_domain',
22052
+ clusterId: 'cluster_id',
22053
+ clusterSpec: 'cluster_spec',
22054
+ clusterType: 'cluster_type',
22055
+ containerCidr: 'container_cidr',
22056
+ created: 'created',
22057
+ currentVersion: 'current_version',
22058
+ deletionProtection: 'deletion_protection',
22059
+ initVersion: 'init_version',
22060
+ ipStack: 'ip_stack',
22061
+ name: 'name',
22062
+ nextVersion: 'next_version',
22063
+ profile: 'profile',
22064
+ proxyMode: 'proxy_mode',
22065
+ regionId: 'region_id',
22066
+ resourceGroupId: 'resource_group_id',
22067
+ securityGroupId: 'security_group_id',
22068
+ serviceCidr: 'service_cidr',
22069
+ size: 'size',
22070
+ state: 'state',
22071
+ tags: 'tags',
22072
+ timezone: 'timezone',
22073
+ updated: 'updated',
22074
+ vpcId: 'vpc_id',
22075
+ vswitchIds: 'vswitch_ids',
22076
+ };
22077
+ }
22078
+
22079
+ static types(): { [key: string]: any } {
22080
+ return {
22081
+ clusterDomain: 'string',
22082
+ clusterId: 'string',
22083
+ clusterSpec: 'string',
22084
+ clusterType: 'string',
22085
+ containerCidr: 'string',
22086
+ created: 'string',
22087
+ currentVersion: 'string',
22088
+ deletionProtection: 'boolean',
22089
+ initVersion: 'string',
22090
+ ipStack: 'string',
22091
+ name: 'string',
22092
+ nextVersion: 'string',
22093
+ profile: 'string',
22094
+ proxyMode: 'string',
22095
+ regionId: 'string',
22096
+ resourceGroupId: 'string',
22097
+ securityGroupId: 'string',
22098
+ serviceCidr: 'string',
22099
+ size: 'number',
22100
+ state: 'string',
22101
+ tags: { 'type': 'array', 'itemType': Tag },
22102
+ timezone: 'string',
22103
+ updated: 'string',
22104
+ vpcId: 'string',
22105
+ vswitchIds: { 'type': 'array', 'itemType': 'string' },
22106
+ };
22107
+ }
22108
+
22109
+ constructor(map?: { [key: string]: any }) {
22110
+ super(map);
22111
+ }
22112
+ }
22113
+
22114
+ export class DescribeClustersForRegionResponseBodyPageInfo extends $tea.Model {
22115
+ /**
22116
+ * @example
22117
+ * 1
22118
+ */
22119
+ pageNumber?: number;
22120
+ /**
22121
+ * @example
22122
+ * 10
22123
+ */
22124
+ pageSize?: number;
22125
+ /**
22126
+ * @example
22127
+ * 10
22128
+ */
22129
+ totalCount?: number;
22130
+ static names(): { [key: string]: string } {
22131
+ return {
22132
+ pageNumber: 'page_number',
22133
+ pageSize: 'page_size',
22134
+ totalCount: 'total_count',
22135
+ };
22136
+ }
22137
+
22138
+ static types(): { [key: string]: any } {
22139
+ return {
22140
+ pageNumber: 'number',
22141
+ pageSize: 'number',
22142
+ totalCount: 'number',
22143
+ };
22144
+ }
22145
+
22146
+ constructor(map?: { [key: string]: any }) {
22147
+ super(map);
22148
+ }
22149
+ }
22150
+
22151
+ export class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade extends $tea.Model {
22152
+ /**
22153
+ * @remarks
22154
+ * The frequency of auto cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
22155
+ *
22156
+ * Valid values:
22157
+ *
22158
+ * * patch: the latest patch version.
22159
+ * * stables: the second-latest minor version.
22160
+ * * rapid: the latest minor version.
22161
+ *
22162
+ * @example
22163
+ * patch
22164
+ */
22165
+ channel?: string;
22166
+ /**
22167
+ * @remarks
22168
+ * Specifies whether to enable auto cluster update.
22169
+ *
22170
+ * @example
22171
+ * true
22172
+ */
22173
+ enabled?: boolean;
22174
+ static names(): { [key: string]: string } {
22175
+ return {
22176
+ channel: 'channel',
22177
+ enabled: 'enabled',
22178
+ };
22179
+ }
22180
+
22181
+ static types(): { [key: string]: any } {
22182
+ return {
22183
+ channel: 'string',
22184
+ enabled: 'boolean',
22185
+ };
22186
+ }
22187
+
22188
+ constructor(map?: { [key: string]: any }) {
22189
+ super(map);
22190
+ }
22191
+ }
22192
+
22193
+ export class DescribeClustersV1ResponseBodyClustersOperationPolicy extends $tea.Model {
22194
+ /**
22195
+ * @remarks
22196
+ * The configurations of auto cluster update.
22197
+ */
22198
+ clusterAutoUpgrade?: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade;
22199
+ static names(): { [key: string]: string } {
22200
+ return {
22201
+ clusterAutoUpgrade: 'cluster_auto_upgrade',
22202
+ };
22203
+ }
22204
+
22205
+ static types(): { [key: string]: any } {
22206
+ return {
22207
+ clusterAutoUpgrade: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade,
22208
+ };
22209
+ }
22210
+
22211
+ constructor(map?: { [key: string]: any }) {
22212
+ super(map);
22213
+ }
22214
+ }
22215
+
22216
+ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
22217
+ /**
22218
+ * @remarks
22219
+ * The domain name of the cluster.
22220
+ *
22221
+ * @example
22222
+ * cluster.local
22223
+ */
22224
+ clusterDomain?: string;
21564
22225
  /**
21565
22226
  * @remarks
21566
22227
  * The cluster ID.
@@ -22354,57 +23015,197 @@ export class DescribeEventsResponseBodyEvents extends $tea.Model {
22354
23015
  */
22355
23016
  data?: DescribeEventsResponseBodyEventsData;
22356
23017
  /**
22357
- * @remarks
22358
- * The event ID.
22359
- *
23018
+ * @remarks
23019
+ * The event ID.
23020
+ *
23021
+ * @example
23022
+ * A234-1234-1234
23023
+ */
23024
+ eventId?: string;
23025
+ /**
23026
+ * @remarks
23027
+ * The source of the event.
23028
+ */
23029
+ source?: string;
23030
+ /**
23031
+ * @remarks
23032
+ * The subject of the event.
23033
+ *
23034
+ * @example
23035
+ * nodePool-id
23036
+ */
23037
+ subject?: string;
23038
+ /**
23039
+ * @remarks
23040
+ * The time when the event started.
23041
+ *
23042
+ * @example
23043
+ * 2022-11-23T20:48:01+08:00
23044
+ */
23045
+ time?: string;
23046
+ /**
23047
+ * @remarks
23048
+ * The event type. Valid values:
23049
+ *
23050
+ * * `cluster_create`: cluster creation.
23051
+ * * `cluster_scaleout`: cluster scale-out.
23052
+ * * `cluster_attach`: node addition.
23053
+ * * `cluster_delete`: cluster deletion.
23054
+ * * `cluster_upgrade`: cluster upgrades.
23055
+ * * `cluster_migrate`: cluster migration.
23056
+ * * `cluster_node_delete`: node removal.
23057
+ * * `cluster_node_drain`: node draining.
23058
+ * * `cluster_modify`: cluster modifications.
23059
+ * * `cluster_configuration_modify`: modifications of control plane configurations.
23060
+ * * `cluster_addon_install`: component installation.
23061
+ * * `cluster_addon_upgrade`: component updates.
23062
+ * * `cluster_addon_uninstall`: component uninstallation.
23063
+ * * `runtime_upgrade`: runtime updates.
23064
+ * * `nodepool_upgrade`: node pool upgrades.
23065
+ * * `nodepool_update`: node pool updates.
23066
+ *
23067
+ * @example
23068
+ * nodepool_upgrade
23069
+ */
23070
+ type?: string;
23071
+ static names(): { [key: string]: string } {
23072
+ return {
23073
+ clusterId: 'cluster_id',
23074
+ data: 'data',
23075
+ eventId: 'event_id',
23076
+ source: 'source',
23077
+ subject: 'subject',
23078
+ time: 'time',
23079
+ type: 'type',
23080
+ };
23081
+ }
23082
+
23083
+ static types(): { [key: string]: any } {
23084
+ return {
23085
+ clusterId: 'string',
23086
+ data: DescribeEventsResponseBodyEventsData,
23087
+ eventId: 'string',
23088
+ source: 'string',
23089
+ subject: 'string',
23090
+ time: 'string',
23091
+ type: 'string',
23092
+ };
23093
+ }
23094
+
23095
+ constructor(map?: { [key: string]: any }) {
23096
+ super(map);
23097
+ }
23098
+ }
23099
+
23100
+ export class DescribeEventsResponseBodyPageInfo extends $tea.Model {
23101
+ /**
23102
+ * @remarks
23103
+ * The page number.
23104
+ *
23105
+ * @example
23106
+ * 1
23107
+ */
23108
+ pageNumber?: number;
23109
+ /**
23110
+ * @remarks
23111
+ * The number of entries per page.
23112
+ *
23113
+ * @example
23114
+ * 50
23115
+ */
23116
+ pageSize?: number;
23117
+ /**
23118
+ * @remarks
23119
+ * The total number of entries returned.
23120
+ *
23121
+ * @example
23122
+ * 3
23123
+ */
23124
+ totalCount?: number;
23125
+ static names(): { [key: string]: string } {
23126
+ return {
23127
+ pageNumber: 'page_number',
23128
+ pageSize: 'page_size',
23129
+ totalCount: 'total_count',
23130
+ };
23131
+ }
23132
+
23133
+ static types(): { [key: string]: any } {
23134
+ return {
23135
+ pageNumber: 'number',
23136
+ pageSize: 'number',
23137
+ totalCount: 'number',
23138
+ };
23139
+ }
23140
+
23141
+ constructor(map?: { [key: string]: any }) {
23142
+ super(map);
23143
+ }
23144
+ }
23145
+
23146
+ export class DescribeEventsForRegionResponseBodyEventsData extends $tea.Model {
23147
+ /**
23148
+ * @example
23149
+ * info
23150
+ */
23151
+ level?: string;
23152
+ /**
23153
+ * @example
23154
+ * Start to upgrade NodePool nodePool/nodePool-A
23155
+ */
23156
+ message?: string;
23157
+ /**
23158
+ * @example
23159
+ * Started
23160
+ */
23161
+ reason?: string;
23162
+ static names(): { [key: string]: string } {
23163
+ return {
23164
+ level: 'level',
23165
+ message: 'message',
23166
+ reason: 'reason',
23167
+ };
23168
+ }
23169
+
23170
+ static types(): { [key: string]: any } {
23171
+ return {
23172
+ level: 'string',
23173
+ message: 'string',
23174
+ reason: 'string',
23175
+ };
23176
+ }
23177
+
23178
+ constructor(map?: { [key: string]: any }) {
23179
+ super(map);
23180
+ }
23181
+ }
23182
+
23183
+ export class DescribeEventsForRegionResponseBodyEvents extends $tea.Model {
23184
+ /**
23185
+ * @example
23186
+ * cluster-id
23187
+ */
23188
+ clusterId?: string;
23189
+ data?: DescribeEventsForRegionResponseBodyEventsData;
23190
+ /**
22360
23191
  * @example
22361
23192
  * A234-1234-1234
22362
23193
  */
22363
23194
  eventId?: string;
22364
- /**
22365
- * @remarks
22366
- * The source of the event.
22367
- */
22368
23195
  source?: string;
22369
23196
  /**
22370
- * @remarks
22371
- * The subject of the event.
22372
- *
22373
23197
  * @example
22374
23198
  * nodePool-id
22375
23199
  */
22376
23200
  subject?: string;
22377
23201
  /**
22378
- * @remarks
22379
- * The time when the event started.
22380
- *
22381
23202
  * @example
22382
- * 2022-11-23T20:48:01+08:00
23203
+ * 2020-12-01T17:31:00Z
22383
23204
  */
22384
23205
  time?: string;
22385
23206
  /**
22386
- * @remarks
22387
- * The event type. Valid values:
22388
- *
22389
- * * `cluster_create`: cluster creation.
22390
- * * `cluster_scaleout`: cluster scale-out.
22391
- * * `cluster_attach`: node addition.
22392
- * * `cluster_delete`: cluster deletion.
22393
- * * `cluster_upgrade`: cluster upgrades.
22394
- * * `cluster_migrate`: cluster migration.
22395
- * * `cluster_node_delete`: node removal.
22396
- * * `cluster_node_drain`: node draining.
22397
- * * `cluster_modify`: cluster modifications.
22398
- * * `cluster_configuration_modify`: modifications of control plane configurations.
22399
- * * `cluster_addon_install`: component installation.
22400
- * * `cluster_addon_upgrade`: component updates.
22401
- * * `cluster_addon_uninstall`: component uninstallation.
22402
- * * `runtime_upgrade`: runtime updates.
22403
- * * `nodepool_upgrade`: node pool upgrades.
22404
- * * `nodepool_update`: node pool updates.
22405
- *
22406
23207
  * @example
22407
- * nodepool_upgrade
23208
+ * nodePool_upgrade
22408
23209
  */
22409
23210
  type?: string;
22410
23211
  static names(): { [key: string]: string } {
@@ -22422,7 +23223,7 @@ export class DescribeEventsResponseBodyEvents extends $tea.Model {
22422
23223
  static types(): { [key: string]: any } {
22423
23224
  return {
22424
23225
  clusterId: 'string',
22425
- data: DescribeEventsResponseBodyEventsData,
23226
+ data: DescribeEventsForRegionResponseBodyEventsData,
22426
23227
  eventId: 'string',
22427
23228
  source: 'string',
22428
23229
  subject: 'string',
@@ -22436,27 +23237,18 @@ export class DescribeEventsResponseBodyEvents extends $tea.Model {
22436
23237
  }
22437
23238
  }
22438
23239
 
22439
- export class DescribeEventsResponseBodyPageInfo extends $tea.Model {
23240
+ export class DescribeEventsForRegionResponseBodyPageInfo extends $tea.Model {
22440
23241
  /**
22441
- * @remarks
22442
- * The page number.
22443
- *
22444
23242
  * @example
22445
23243
  * 1
22446
23244
  */
22447
23245
  pageNumber?: number;
22448
23246
  /**
22449
- * @remarks
22450
- * The number of entries per page.
22451
- *
22452
23247
  * @example
22453
23248
  * 50
22454
23249
  */
22455
23250
  pageSize?: number;
22456
23251
  /**
22457
- * @remarks
22458
- * The total number of entries returned.
22459
- *
22460
23252
  * @example
22461
23253
  * 3
22462
23254
  */
@@ -23305,22 +24097,52 @@ export class DescribePolicyInstancesResponseBody extends $tea.Model {
23305
24097
  */
23306
24098
  policyAction?: string;
23307
24099
  /**
24100
+ * @remarks
24101
+ * Creation time (deprecated, do not use).
24102
+ *
24103
+ * @example
24104
+ * 2024-10-29T18:09:12+08:00
24105
+ *
23308
24106
  * @deprecated
23309
24107
  */
23310
24108
  created?: string;
23311
24109
  /**
24110
+ * @remarks
24111
+ * Update time (deprecated, do not use).
24112
+ *
24113
+ * @example
24114
+ * 2024-10-29T18:09:12+08:00
24115
+ *
23312
24116
  * @deprecated
23313
24117
  */
23314
24118
  updated?: string;
23315
24119
  /**
24120
+ * @remarks
24121
+ * Resource ID (deprecated, do not use).
24122
+ *
24123
+ * @example
24124
+ * 123456***
24125
+ *
23316
24126
  * @deprecated
23317
24127
  */
23318
24128
  resourceId?: string;
23319
24129
  /**
24130
+ * @remarks
24131
+ * Violation count processing in the cluster (deprecated, do not use).
24132
+ *
24133
+ * @example
24134
+ * 0
24135
+ *
23320
24136
  * @deprecated
23321
24137
  */
23322
24138
  totalViolations?: number;
23323
24139
  /**
24140
+ * @remarks
24141
+ * Deletion status (deprecated, do not use).
24142
+ *
24143
+ * @example
24144
+ * 0
24145
+ *
23324
24146
  * @deprecated
23325
24147
  */
23326
24148
  isDeleted?: number;
@@ -25492,6 +26314,94 @@ export class ModifyClusterRequestApiServerCustomCertSans extends $tea.Model {
25492
26314
  }
25493
26315
  }
25494
26316
 
26317
+ export class ModifyClusterRequestControlPlaneConfig extends $tea.Model {
26318
+ autoRenew?: boolean;
26319
+ autoRenewPeriod?: number;
26320
+ chargeType?: string;
26321
+ cloudMonitorFlags?: boolean;
26322
+ cpuPolicy?: string;
26323
+ deploymentsetId?: string;
26324
+ imageId?: string;
26325
+ imageType?: string;
26326
+ instanceTypes?: string[];
26327
+ keyPair?: string;
26328
+ loginPassword?: string;
26329
+ nodePortRange?: string;
26330
+ period?: number;
26331
+ periodUnit?: string;
26332
+ runtime?: string;
26333
+ securityHardeningOs?: boolean;
26334
+ size?: number;
26335
+ socEnabled?: boolean;
26336
+ systemDiskBurstingEnabled?: boolean;
26337
+ systemDiskCategory?: string;
26338
+ systemDiskPerformanceLevel?: string;
26339
+ systemDiskProvisionedIops?: number;
26340
+ systemDiskSize?: number;
26341
+ systemDiskSnapshotPolicyId?: string;
26342
+ static names(): { [key: string]: string } {
26343
+ return {
26344
+ autoRenew: 'auto_renew',
26345
+ autoRenewPeriod: 'auto_renew_period',
26346
+ chargeType: 'charge_type',
26347
+ cloudMonitorFlags: 'cloud_monitor_flags',
26348
+ cpuPolicy: 'cpu_policy',
26349
+ deploymentsetId: 'deploymentset_id',
26350
+ imageId: 'image_id',
26351
+ imageType: 'image_type',
26352
+ instanceTypes: 'instance_types',
26353
+ keyPair: 'key_pair',
26354
+ loginPassword: 'login_password',
26355
+ nodePortRange: 'node_port_range',
26356
+ period: 'period',
26357
+ periodUnit: 'period_unit',
26358
+ runtime: 'runtime',
26359
+ securityHardeningOs: 'security_hardening_os',
26360
+ size: 'size',
26361
+ socEnabled: 'soc_enabled',
26362
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
26363
+ systemDiskCategory: 'system_disk_category',
26364
+ systemDiskPerformanceLevel: 'system_disk_performance_level',
26365
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
26366
+ systemDiskSize: 'system_disk_size',
26367
+ systemDiskSnapshotPolicyId: 'system_disk_snapshot_policy_id',
26368
+ };
26369
+ }
26370
+
26371
+ static types(): { [key: string]: any } {
26372
+ return {
26373
+ autoRenew: 'boolean',
26374
+ autoRenewPeriod: 'number',
26375
+ chargeType: 'string',
26376
+ cloudMonitorFlags: 'boolean',
26377
+ cpuPolicy: 'string',
26378
+ deploymentsetId: 'string',
26379
+ imageId: 'string',
26380
+ imageType: 'string',
26381
+ instanceTypes: { 'type': 'array', 'itemType': 'string' },
26382
+ keyPair: 'string',
26383
+ loginPassword: 'string',
26384
+ nodePortRange: 'string',
26385
+ period: 'number',
26386
+ periodUnit: 'string',
26387
+ runtime: 'string',
26388
+ securityHardeningOs: 'boolean',
26389
+ size: 'number',
26390
+ socEnabled: 'boolean',
26391
+ systemDiskBurstingEnabled: 'boolean',
26392
+ systemDiskCategory: 'string',
26393
+ systemDiskPerformanceLevel: 'string',
26394
+ systemDiskProvisionedIops: 'number',
26395
+ systemDiskSize: 'number',
26396
+ systemDiskSnapshotPolicyId: 'string',
26397
+ };
26398
+ }
26399
+
26400
+ constructor(map?: { [key: string]: any }) {
26401
+ super(map);
26402
+ }
26403
+ }
26404
+
25495
26405
  export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
25496
26406
  /**
25497
26407
  * @remarks
@@ -27978,6 +28888,10 @@ export default class Client extends OpenApi {
27978
28888
  body["container_cidr"] = request.containerCidr;
27979
28889
  }
27980
28890
 
28891
+ if (!Util.isUnset(request.controlPlaneConfig)) {
28892
+ body["control_plane_config"] = request.controlPlaneConfig;
28893
+ }
28894
+
27981
28895
  if (!Util.isUnset(request.controlplaneLogComponents)) {
27982
28896
  body["controlplane_log_components"] = request.controlplaneLogComponents;
27983
28897
  }
@@ -30244,6 +31158,75 @@ export default class Client extends OpenApi {
30244
31158
  return await this.describeClustersWithOptions(request, headers, runtime);
30245
31159
  }
30246
31160
 
31161
+ /**
31162
+ * 查询指定地域内全部集群列表
31163
+ *
31164
+ * @param request - DescribeClustersForRegionRequest
31165
+ * @param headers - map
31166
+ * @param runtime - runtime options for this request RuntimeOptions
31167
+ * @returns DescribeClustersForRegionResponse
31168
+ */
31169
+ async describeClustersForRegionWithOptions(regionId: string, request: DescribeClustersForRegionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersForRegionResponse> {
31170
+ Util.validateModel(request);
31171
+ let query : {[key: string ]: any} = { };
31172
+ if (!Util.isUnset(request.clusterId)) {
31173
+ query["cluster_id"] = request.clusterId;
31174
+ }
31175
+
31176
+ if (!Util.isUnset(request.clusterSpec)) {
31177
+ query["cluster_spec"] = request.clusterSpec;
31178
+ }
31179
+
31180
+ if (!Util.isUnset(request.clusterType)) {
31181
+ query["cluster_type"] = request.clusterType;
31182
+ }
31183
+
31184
+ if (!Util.isUnset(request.name)) {
31185
+ query["name"] = request.name;
31186
+ }
31187
+
31188
+ if (!Util.isUnset(request.pageNumber)) {
31189
+ query["page_number"] = request.pageNumber;
31190
+ }
31191
+
31192
+ if (!Util.isUnset(request.pageSize)) {
31193
+ query["page_size"] = request.pageSize;
31194
+ }
31195
+
31196
+ if (!Util.isUnset(request.profile)) {
31197
+ query["profile"] = request.profile;
31198
+ }
31199
+
31200
+ let req = new $OpenApi.OpenApiRequest({
31201
+ headers: headers,
31202
+ query: OpenApiUtil.query(query),
31203
+ });
31204
+ let params = new $OpenApi.Params({
31205
+ action: "DescribeClustersForRegion",
31206
+ version: "2015-12-15",
31207
+ protocol: "HTTPS",
31208
+ pathname: `/regions/${OpenApiUtil.getEncodeParam(regionId)}/clusters`,
31209
+ method: "GET",
31210
+ authType: "AK",
31211
+ style: "ROA",
31212
+ reqBodyType: "json",
31213
+ bodyType: "json",
31214
+ });
31215
+ return $tea.cast<DescribeClustersForRegionResponse>(await this.callApi(params, req, runtime), new DescribeClustersForRegionResponse({}));
31216
+ }
31217
+
31218
+ /**
31219
+ * 查询指定地域内全部集群列表
31220
+ *
31221
+ * @param request - DescribeClustersForRegionRequest
31222
+ * @returns DescribeClustersForRegionResponse
31223
+ */
31224
+ async describeClustersForRegion(regionId: string, request: DescribeClustersForRegionRequest): Promise<DescribeClustersForRegionResponse> {
31225
+ let runtime = new $Util.RuntimeOptions({ });
31226
+ let headers : {[key: string ]: string} = { };
31227
+ return await this.describeClustersForRegionWithOptions(regionId, request, headers, runtime);
31228
+ }
31229
+
30247
31230
  /**
30248
31231
  * Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
30249
31232
  *
@@ -30544,6 +31527,59 @@ export default class Client extends OpenApi {
30544
31527
  return await this.describeEventsWithOptions(request, headers, runtime);
30545
31528
  }
30546
31529
 
31530
+ /**
31531
+ * 查询指定地域内全部事件列表
31532
+ *
31533
+ * @param request - DescribeEventsForRegionRequest
31534
+ * @param headers - map
31535
+ * @param runtime - runtime options for this request RuntimeOptions
31536
+ * @returns DescribeEventsForRegionResponse
31537
+ */
31538
+ async describeEventsForRegionWithOptions(regionId: string, request: DescribeEventsForRegionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEventsForRegionResponse> {
31539
+ Util.validateModel(request);
31540
+ let query : {[key: string ]: any} = { };
31541
+ if (!Util.isUnset(request.clusterId)) {
31542
+ query["cluster_id"] = request.clusterId;
31543
+ }
31544
+
31545
+ if (!Util.isUnset(request.pageNumber)) {
31546
+ query["page_number"] = request.pageNumber;
31547
+ }
31548
+
31549
+ if (!Util.isUnset(request.pageSize)) {
31550
+ query["page_size"] = request.pageSize;
31551
+ }
31552
+
31553
+ let req = new $OpenApi.OpenApiRequest({
31554
+ headers: headers,
31555
+ query: OpenApiUtil.query(query),
31556
+ });
31557
+ let params = new $OpenApi.Params({
31558
+ action: "DescribeEventsForRegion",
31559
+ version: "2015-12-15",
31560
+ protocol: "HTTPS",
31561
+ pathname: `/regions/${OpenApiUtil.getEncodeParam(regionId)}/events`,
31562
+ method: "GET",
31563
+ authType: "AK",
31564
+ style: "ROA",
31565
+ reqBodyType: "json",
31566
+ bodyType: "json",
31567
+ });
31568
+ return $tea.cast<DescribeEventsForRegionResponse>(await this.callApi(params, req, runtime), new DescribeEventsForRegionResponse({}));
31569
+ }
31570
+
31571
+ /**
31572
+ * 查询指定地域内全部事件列表
31573
+ *
31574
+ * @param request - DescribeEventsForRegionRequest
31575
+ * @returns DescribeEventsForRegionResponse
31576
+ */
31577
+ async describeEventsForRegion(regionId: string, request: DescribeEventsForRegionRequest): Promise<DescribeEventsForRegionResponse> {
31578
+ let runtime = new $Util.RuntimeOptions({ });
31579
+ let headers : {[key: string ]: string} = { };
31580
+ return await this.describeEventsForRegionWithOptions(regionId, request, headers, runtime);
31581
+ }
31582
+
30547
31583
  /**
30548
31584
  * Queries the proxy configurations of a registered cluster based on the cluster ID.
30549
31585
  *
@@ -32257,6 +33293,10 @@ export default class Client extends OpenApi {
32257
33293
  body["cluster_name"] = request.clusterName;
32258
33294
  }
32259
33295
 
33296
+ if (!Util.isUnset(request.controlPlaneConfig)) {
33297
+ body["control_plane_config"] = request.controlPlaneConfig;
33298
+ }
33299
+
32260
33300
  if (!Util.isUnset(request.deletionProtection)) {
32261
33301
  body["deletion_protection"] = request.deletionProtection;
32262
33302
  }