@alicloud/cs20151215 3.0.13 → 3.0.16

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
@@ -250,6 +250,7 @@ export declare class CreateAutoscalingConfigResponse extends $tea.Model {
250
250
  export declare class CreateClusterRequest extends $tea.Model {
251
251
  addons?: Addon[];
252
252
  apiAudiences?: string;
253
+ chargeType?: string;
253
254
  cisEnabled?: boolean;
254
255
  cloudMonitorFlags?: boolean;
255
256
  clusterDomain?: string;
@@ -296,6 +297,8 @@ export declare class CreateClusterRequest extends $tea.Model {
296
297
  nodePortRange?: string;
297
298
  numOfNodes?: number;
298
299
  osType?: string;
300
+ period?: number;
301
+ periodUnit?: string;
299
302
  platform?: string;
300
303
  podVswitchIds?: string[];
301
304
  profile?: string;
@@ -1194,6 +1197,49 @@ export declare class DescribeClusterDetailResponse extends $tea.Model {
1194
1197
  [key: string]: any;
1195
1198
  });
1196
1199
  }
1200
+ export declare class DescribeClusterEventsRequest extends $tea.Model {
1201
+ pageNumber?: number;
1202
+ pageSize?: number;
1203
+ taskId?: number;
1204
+ static names(): {
1205
+ [key: string]: string;
1206
+ };
1207
+ static types(): {
1208
+ [key: string]: any;
1209
+ };
1210
+ constructor(map?: {
1211
+ [key: string]: any;
1212
+ });
1213
+ }
1214
+ export declare class DescribeClusterEventsResponseBody extends $tea.Model {
1215
+ events?: DescribeClusterEventsResponseBodyEvents[];
1216
+ pageInfo?: DescribeClusterEventsResponseBodyPageInfo;
1217
+ static names(): {
1218
+ [key: string]: string;
1219
+ };
1220
+ static types(): {
1221
+ [key: string]: any;
1222
+ };
1223
+ constructor(map?: {
1224
+ [key: string]: any;
1225
+ });
1226
+ }
1227
+ export declare class DescribeClusterEventsResponse extends $tea.Model {
1228
+ headers: {
1229
+ [key: string]: string;
1230
+ };
1231
+ statusCode: number;
1232
+ body: DescribeClusterEventsResponseBody;
1233
+ static names(): {
1234
+ [key: string]: string;
1235
+ };
1236
+ static types(): {
1237
+ [key: string]: any;
1238
+ };
1239
+ constructor(map?: {
1240
+ [key: string]: any;
1241
+ });
1242
+ }
1197
1243
  export declare class DescribeClusterLogsResponse extends $tea.Model {
1198
1244
  headers: {
1199
1245
  [key: string]: string;
@@ -1336,6 +1382,36 @@ export declare class DescribeClusterResourcesResponse extends $tea.Model {
1336
1382
  [key: string]: any;
1337
1383
  });
1338
1384
  }
1385
+ export declare class DescribeClusterTasksResponseBody extends $tea.Model {
1386
+ pageInfo?: DescribeClusterTasksResponseBodyPageInfo;
1387
+ requestId?: string;
1388
+ tasks?: DescribeClusterTasksResponseBodyTasks[];
1389
+ static names(): {
1390
+ [key: string]: string;
1391
+ };
1392
+ static types(): {
1393
+ [key: string]: any;
1394
+ };
1395
+ constructor(map?: {
1396
+ [key: string]: any;
1397
+ });
1398
+ }
1399
+ export declare class DescribeClusterTasksResponse extends $tea.Model {
1400
+ headers: {
1401
+ [key: string]: string;
1402
+ };
1403
+ statusCode: number;
1404
+ body: DescribeClusterTasksResponseBody;
1405
+ static names(): {
1406
+ [key: string]: string;
1407
+ };
1408
+ static types(): {
1409
+ [key: string]: any;
1410
+ };
1411
+ constructor(map?: {
1412
+ [key: string]: any;
1413
+ });
1414
+ }
1339
1415
  export declare class DescribeClusterUserKubeconfigRequest extends $tea.Model {
1340
1416
  privateIpAddress?: boolean;
1341
1417
  temporaryDurationMinutes?: number;
@@ -1752,6 +1828,7 @@ export declare class DescribeKubernetesVersionMetadataResponse extends $tea.Mode
1752
1828
  }
1753
1829
  export declare class DescribeNodePoolVulsResponseBody extends $tea.Model {
1754
1830
  vulRecords?: DescribeNodePoolVulsResponseBodyVulRecords[];
1831
+ vulsFixServicePurchased?: boolean;
1755
1832
  static names(): {
1756
1833
  [key: string]: string;
1757
1834
  };
@@ -1925,7 +2002,15 @@ export declare class DescribePolicyInstancesStatusResponse extends $tea.Model {
1925
2002
  export declare class DescribeTaskInfoResponseBody extends $tea.Model {
1926
2003
  clusterId?: string;
1927
2004
  created?: string;
2005
+ currentStage?: string;
2006
+ error?: DescribeTaskInfoResponseBodyError;
2007
+ events?: DescribeTaskInfoResponseBodyEvents[];
2008
+ parameters?: {
2009
+ [key: string]: any;
2010
+ };
2011
+ stages?: DescribeTaskInfoResponseBodyStages[];
1928
2012
  state?: string;
2013
+ target?: DescribeTaskInfoResponseBodyTarget;
1929
2014
  taskId?: string;
1930
2015
  taskResult?: DescribeTaskInfoResponseBodyTaskResult[];
1931
2016
  taskType?: string;
@@ -2398,11 +2483,39 @@ export declare class ListTagResourcesResponse extends $tea.Model {
2398
2483
  [key: string]: any;
2399
2484
  });
2400
2485
  }
2486
+ export declare class MigrateClusterRequest extends $tea.Model {
2487
+ ossBucketEndpoint?: string;
2488
+ ossBucketName?: string;
2489
+ static names(): {
2490
+ [key: string]: string;
2491
+ };
2492
+ static types(): {
2493
+ [key: string]: any;
2494
+ };
2495
+ constructor(map?: {
2496
+ [key: string]: any;
2497
+ });
2498
+ }
2499
+ export declare class MigrateClusterResponseBody extends $tea.Model {
2500
+ clusterId?: string;
2501
+ requestId?: string;
2502
+ taskId?: string;
2503
+ static names(): {
2504
+ [key: string]: string;
2505
+ };
2506
+ static types(): {
2507
+ [key: string]: any;
2508
+ };
2509
+ constructor(map?: {
2510
+ [key: string]: any;
2511
+ });
2512
+ }
2401
2513
  export declare class MigrateClusterResponse extends $tea.Model {
2402
2514
  headers: {
2403
2515
  [key: string]: string;
2404
2516
  };
2405
2517
  statusCode: number;
2518
+ body: MigrateClusterResponseBody;
2406
2519
  static names(): {
2407
2520
  [key: string]: string;
2408
2521
  };
@@ -2591,6 +2704,49 @@ export declare class ModifyClusterTagsResponse extends $tea.Model {
2591
2704
  [key: string]: any;
2592
2705
  });
2593
2706
  }
2707
+ export declare class ModifyNodePoolNodeConfigRequest extends $tea.Model {
2708
+ kubeletConfig?: ModifyNodePoolNodeConfigRequestKubeletConfig;
2709
+ rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
2710
+ static names(): {
2711
+ [key: string]: string;
2712
+ };
2713
+ static types(): {
2714
+ [key: string]: any;
2715
+ };
2716
+ constructor(map?: {
2717
+ [key: string]: any;
2718
+ });
2719
+ }
2720
+ export declare class ModifyNodePoolNodeConfigResponseBody extends $tea.Model {
2721
+ nodepoolId?: string;
2722
+ requestId?: string;
2723
+ taskId?: string;
2724
+ static names(): {
2725
+ [key: string]: string;
2726
+ };
2727
+ static types(): {
2728
+ [key: string]: any;
2729
+ };
2730
+ constructor(map?: {
2731
+ [key: string]: any;
2732
+ });
2733
+ }
2734
+ export declare class ModifyNodePoolNodeConfigResponse extends $tea.Model {
2735
+ headers: {
2736
+ [key: string]: string;
2737
+ };
2738
+ statusCode: number;
2739
+ body: ModifyNodePoolNodeConfigResponseBody;
2740
+ static names(): {
2741
+ [key: string]: string;
2742
+ };
2743
+ static types(): {
2744
+ [key: string]: any;
2745
+ };
2746
+ constructor(map?: {
2747
+ [key: string]: any;
2748
+ });
2749
+ }
2594
2750
  export declare class ModifyPolicyInstanceRequest extends $tea.Model {
2595
2751
  action?: string;
2596
2752
  instanceName?: string;
@@ -3564,6 +3720,52 @@ export declare class DescribeAddonsResponseBodyComponentGroups extends $tea.Mode
3564
3720
  [key: string]: any;
3565
3721
  });
3566
3722
  }
3723
+ export declare class DescribeClusterEventsResponseBodyEventsData extends $tea.Model {
3724
+ level?: string;
3725
+ message?: string;
3726
+ reason?: string;
3727
+ static names(): {
3728
+ [key: string]: string;
3729
+ };
3730
+ static types(): {
3731
+ [key: string]: any;
3732
+ };
3733
+ constructor(map?: {
3734
+ [key: string]: any;
3735
+ });
3736
+ }
3737
+ export declare class DescribeClusterEventsResponseBodyEvents extends $tea.Model {
3738
+ clusterId?: string;
3739
+ data?: DescribeClusterEventsResponseBodyEventsData;
3740
+ eventId?: string;
3741
+ source?: string;
3742
+ subject?: string;
3743
+ time?: string;
3744
+ type?: string;
3745
+ static names(): {
3746
+ [key: string]: string;
3747
+ };
3748
+ static types(): {
3749
+ [key: string]: any;
3750
+ };
3751
+ constructor(map?: {
3752
+ [key: string]: any;
3753
+ });
3754
+ }
3755
+ export declare class DescribeClusterEventsResponseBodyPageInfo extends $tea.Model {
3756
+ pageNumber?: number;
3757
+ pageSize?: number;
3758
+ totalCount?: number;
3759
+ static names(): {
3760
+ [key: string]: string;
3761
+ };
3762
+ static types(): {
3763
+ [key: string]: any;
3764
+ };
3765
+ constructor(map?: {
3766
+ [key: string]: any;
3767
+ });
3768
+ }
3567
3769
  export declare class DescribeClusterLogsResponseBody extends $tea.Model {
3568
3770
  ID?: number;
3569
3771
  clusterId?: string;
@@ -4044,6 +4246,50 @@ export declare class DescribeClusterResourcesResponseBody extends $tea.Model {
4044
4246
  [key: string]: any;
4045
4247
  });
4046
4248
  }
4249
+ export declare class DescribeClusterTasksResponseBodyPageInfo extends $tea.Model {
4250
+ pageNumber?: number;
4251
+ pageSize?: number;
4252
+ totalCount?: number;
4253
+ static names(): {
4254
+ [key: string]: string;
4255
+ };
4256
+ static types(): {
4257
+ [key: string]: any;
4258
+ };
4259
+ constructor(map?: {
4260
+ [key: string]: any;
4261
+ });
4262
+ }
4263
+ export declare class DescribeClusterTasksResponseBodyTasksError extends $tea.Model {
4264
+ code?: string;
4265
+ message?: string;
4266
+ static names(): {
4267
+ [key: string]: string;
4268
+ };
4269
+ static types(): {
4270
+ [key: string]: any;
4271
+ };
4272
+ constructor(map?: {
4273
+ [key: string]: any;
4274
+ });
4275
+ }
4276
+ export declare class DescribeClusterTasksResponseBodyTasks extends $tea.Model {
4277
+ created?: string;
4278
+ error?: DescribeClusterTasksResponseBodyTasksError;
4279
+ state?: string;
4280
+ taskId?: string;
4281
+ taskType?: string;
4282
+ updated?: string;
4283
+ static names(): {
4284
+ [key: string]: string;
4285
+ };
4286
+ static types(): {
4287
+ [key: string]: any;
4288
+ };
4289
+ constructor(map?: {
4290
+ [key: string]: any;
4291
+ });
4292
+ }
4047
4293
  export declare class DescribeClustersResponseBodyTags extends $tea.Model {
4048
4294
  key?: string;
4049
4295
  value?: string;
@@ -4482,6 +4728,67 @@ export declare class DescribePolicyInstancesStatusResponseBodyPolicyInstances ex
4482
4728
  [key: string]: any;
4483
4729
  });
4484
4730
  }
4731
+ export declare class DescribeTaskInfoResponseBodyError extends $tea.Model {
4732
+ code?: string;
4733
+ message?: string;
4734
+ static names(): {
4735
+ [key: string]: string;
4736
+ };
4737
+ static types(): {
4738
+ [key: string]: any;
4739
+ };
4740
+ constructor(map?: {
4741
+ [key: string]: any;
4742
+ });
4743
+ }
4744
+ export declare class DescribeTaskInfoResponseBodyEvents extends $tea.Model {
4745
+ action?: string;
4746
+ level?: string;
4747
+ message?: string;
4748
+ reason?: string;
4749
+ source?: string;
4750
+ timestamp?: string;
4751
+ static names(): {
4752
+ [key: string]: string;
4753
+ };
4754
+ static types(): {
4755
+ [key: string]: any;
4756
+ };
4757
+ constructor(map?: {
4758
+ [key: string]: any;
4759
+ });
4760
+ }
4761
+ export declare class DescribeTaskInfoResponseBodyStages extends $tea.Model {
4762
+ endTime?: string;
4763
+ message?: string;
4764
+ outputs?: {
4765
+ [key: string]: any;
4766
+ };
4767
+ startTime?: string;
4768
+ state?: string;
4769
+ static names(): {
4770
+ [key: string]: string;
4771
+ };
4772
+ static types(): {
4773
+ [key: string]: any;
4774
+ };
4775
+ constructor(map?: {
4776
+ [key: string]: any;
4777
+ });
4778
+ }
4779
+ export declare class DescribeTaskInfoResponseBodyTarget extends $tea.Model {
4780
+ id?: string;
4781
+ type?: string;
4782
+ static names(): {
4783
+ [key: string]: string;
4784
+ };
4785
+ static types(): {
4786
+ [key: string]: any;
4787
+ };
4788
+ constructor(map?: {
4789
+ [key: string]: any;
4790
+ });
4791
+ }
4485
4792
  export declare class DescribeTaskInfoResponseBodyTaskResult extends $tea.Model {
4486
4793
  data?: string;
4487
4794
  status?: string;
@@ -4870,6 +5177,52 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
4870
5177
  [key: string]: any;
4871
5178
  });
4872
5179
  }
5180
+ export declare class ModifyNodePoolNodeConfigRequestKubeletConfig extends $tea.Model {
5181
+ cpuManagerPolicy?: string;
5182
+ eventBurst?: number;
5183
+ eventRecordQPS?: number;
5184
+ evictionHard?: {
5185
+ [key: string]: any;
5186
+ };
5187
+ evictionSoft?: {
5188
+ [key: string]: any;
5189
+ };
5190
+ evictionSoftGracePeriod?: {
5191
+ [key: string]: any;
5192
+ };
5193
+ kubeAPIBurst?: number;
5194
+ kubeAPIQPS?: number;
5195
+ kubeReserved?: {
5196
+ [key: string]: any;
5197
+ };
5198
+ registryBurst?: number;
5199
+ registryPullQPS?: number;
5200
+ serializeImagePulls?: boolean;
5201
+ systemReserved?: {
5202
+ [key: string]: any;
5203
+ };
5204
+ static names(): {
5205
+ [key: string]: string;
5206
+ };
5207
+ static types(): {
5208
+ [key: string]: any;
5209
+ };
5210
+ constructor(map?: {
5211
+ [key: string]: any;
5212
+ });
5213
+ }
5214
+ export declare class ModifyNodePoolNodeConfigRequestRollingPolicy extends $tea.Model {
5215
+ maxParallelism?: number;
5216
+ static names(): {
5217
+ [key: string]: string;
5218
+ };
5219
+ static types(): {
5220
+ [key: string]: any;
5221
+ };
5222
+ constructor(map?: {
5223
+ [key: string]: any;
5224
+ });
5225
+ }
4873
5226
  export declare class ScaleClusterRequestTags extends $tea.Model {
4874
5227
  key?: string;
4875
5228
  static names(): {
@@ -5081,6 +5434,10 @@ export default class Client extends OpenApi {
5081
5434
  describeClusterDetailWithOptions(ClusterId: string, headers: {
5082
5435
  [key: string]: string;
5083
5436
  }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterDetailResponse>;
5437
+ describeClusterEvents(ClusterId: string, request: DescribeClusterEventsRequest): Promise<DescribeClusterEventsResponse>;
5438
+ describeClusterEventsWithOptions(ClusterId: string, request: DescribeClusterEventsRequest, headers: {
5439
+ [key: string]: string;
5440
+ }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterEventsResponse>;
5084
5441
  describeClusterLogs(ClusterId: string): Promise<DescribeClusterLogsResponse>;
5085
5442
  describeClusterLogsWithOptions(ClusterId: string, headers: {
5086
5443
  [key: string]: string;
@@ -5101,6 +5458,10 @@ export default class Client extends OpenApi {
5101
5458
  describeClusterResourcesWithOptions(ClusterId: string, headers: {
5102
5459
  [key: string]: string;
5103
5460
  }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterResourcesResponse>;
5461
+ describeClusterTasks(clusterId: string): Promise<DescribeClusterTasksResponse>;
5462
+ describeClusterTasksWithOptions(clusterId: string, headers: {
5463
+ [key: string]: string;
5464
+ }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterTasksResponse>;
5104
5465
  describeClusterUserKubeconfig(ClusterId: string, request: DescribeClusterUserKubeconfigRequest): Promise<DescribeClusterUserKubeconfigResponse>;
5105
5466
  describeClusterUserKubeconfigWithOptions(ClusterId: string, request: DescribeClusterUserKubeconfigRequest, headers: {
5106
5467
  [key: string]: string;
@@ -5225,8 +5586,8 @@ export default class Client extends OpenApi {
5225
5586
  listTagResourcesWithOptions(tmpReq: ListTagResourcesRequest, headers: {
5226
5587
  [key: string]: string;
5227
5588
  }, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
5228
- migrateCluster(clusterId: string): Promise<MigrateClusterResponse>;
5229
- migrateClusterWithOptions(clusterId: string, headers: {
5589
+ migrateCluster(clusterId: string, request: MigrateClusterRequest): Promise<MigrateClusterResponse>;
5590
+ migrateClusterWithOptions(clusterId: string, request: MigrateClusterRequest, headers: {
5230
5591
  [key: string]: string;
5231
5592
  }, runtime: $Util.RuntimeOptions): Promise<MigrateClusterResponse>;
5232
5593
  modifyCluster(ClusterId: string, request: ModifyClusterRequest): Promise<ModifyClusterResponse>;
@@ -5249,6 +5610,10 @@ export default class Client extends OpenApi {
5249
5610
  modifyClusterTagsWithOptions(ClusterId: string, request: ModifyClusterTagsRequest, headers: {
5250
5611
  [key: string]: string;
5251
5612
  }, runtime: $Util.RuntimeOptions): Promise<ModifyClusterTagsResponse>;
5613
+ modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest): Promise<ModifyNodePoolNodeConfigResponse>;
5614
+ modifyNodePoolNodeConfigWithOptions(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest, headers: {
5615
+ [key: string]: string;
5616
+ }, runtime: $Util.RuntimeOptions): Promise<ModifyNodePoolNodeConfigResponse>;
5252
5617
  modifyPolicyInstance(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest): Promise<ModifyPolicyInstanceResponse>;
5253
5618
  modifyPolicyInstanceWithOptions(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest, headers: {
5254
5619
  [key: string]: string;