@alicloud/cs20151215 3.0.13 → 3.0.14

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;
@@ -2398,11 +2474,39 @@ export declare class ListTagResourcesResponse extends $tea.Model {
2398
2474
  [key: string]: any;
2399
2475
  });
2400
2476
  }
2477
+ export declare class MigrateClusterRequest extends $tea.Model {
2478
+ ossBucketEndpoint?: string;
2479
+ ossBucketName?: string;
2480
+ static names(): {
2481
+ [key: string]: string;
2482
+ };
2483
+ static types(): {
2484
+ [key: string]: any;
2485
+ };
2486
+ constructor(map?: {
2487
+ [key: string]: any;
2488
+ });
2489
+ }
2490
+ export declare class MigrateClusterResponseBody extends $tea.Model {
2491
+ clusterId?: string;
2492
+ requestId?: string;
2493
+ taskId?: string;
2494
+ static names(): {
2495
+ [key: string]: string;
2496
+ };
2497
+ static types(): {
2498
+ [key: string]: any;
2499
+ };
2500
+ constructor(map?: {
2501
+ [key: string]: any;
2502
+ });
2503
+ }
2401
2504
  export declare class MigrateClusterResponse extends $tea.Model {
2402
2505
  headers: {
2403
2506
  [key: string]: string;
2404
2507
  };
2405
2508
  statusCode: number;
2509
+ body: MigrateClusterResponseBody;
2406
2510
  static names(): {
2407
2511
  [key: string]: string;
2408
2512
  };
@@ -2521,6 +2625,7 @@ export declare class ModifyClusterNodePoolRequest extends $tea.Model {
2521
2625
  autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
2522
2626
  kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
2523
2627
  management?: ModifyClusterNodePoolRequestManagement;
2628
+ nodeConfig?: ModifyClusterNodePoolRequestNodeConfig;
2524
2629
  nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
2525
2630
  scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
2526
2631
  teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
@@ -3564,6 +3669,52 @@ export declare class DescribeAddonsResponseBodyComponentGroups extends $tea.Mode
3564
3669
  [key: string]: any;
3565
3670
  });
3566
3671
  }
3672
+ export declare class DescribeClusterEventsResponseBodyEventsData extends $tea.Model {
3673
+ level?: string;
3674
+ message?: string;
3675
+ reason?: string;
3676
+ static names(): {
3677
+ [key: string]: string;
3678
+ };
3679
+ static types(): {
3680
+ [key: string]: any;
3681
+ };
3682
+ constructor(map?: {
3683
+ [key: string]: any;
3684
+ });
3685
+ }
3686
+ export declare class DescribeClusterEventsResponseBodyEvents extends $tea.Model {
3687
+ clusterId?: string;
3688
+ data?: DescribeClusterEventsResponseBodyEventsData;
3689
+ eventId?: string;
3690
+ source?: string;
3691
+ subject?: string;
3692
+ time?: string;
3693
+ type?: string;
3694
+ static names(): {
3695
+ [key: string]: string;
3696
+ };
3697
+ static types(): {
3698
+ [key: string]: any;
3699
+ };
3700
+ constructor(map?: {
3701
+ [key: string]: any;
3702
+ });
3703
+ }
3704
+ export declare class DescribeClusterEventsResponseBodyPageInfo extends $tea.Model {
3705
+ pageNumber?: number;
3706
+ pageSize?: number;
3707
+ totalCount?: number;
3708
+ static names(): {
3709
+ [key: string]: string;
3710
+ };
3711
+ static types(): {
3712
+ [key: string]: any;
3713
+ };
3714
+ constructor(map?: {
3715
+ [key: string]: any;
3716
+ });
3717
+ }
3567
3718
  export declare class DescribeClusterLogsResponseBody extends $tea.Model {
3568
3719
  ID?: number;
3569
3720
  clusterId?: string;
@@ -4044,6 +4195,50 @@ export declare class DescribeClusterResourcesResponseBody extends $tea.Model {
4044
4195
  [key: string]: any;
4045
4196
  });
4046
4197
  }
4198
+ export declare class DescribeClusterTasksResponseBodyPageInfo extends $tea.Model {
4199
+ pageNumber?: number;
4200
+ pageSize?: number;
4201
+ totalCount?: number;
4202
+ static names(): {
4203
+ [key: string]: string;
4204
+ };
4205
+ static types(): {
4206
+ [key: string]: any;
4207
+ };
4208
+ constructor(map?: {
4209
+ [key: string]: any;
4210
+ });
4211
+ }
4212
+ export declare class DescribeClusterTasksResponseBodyTasksError extends $tea.Model {
4213
+ code?: string;
4214
+ message?: string;
4215
+ static names(): {
4216
+ [key: string]: string;
4217
+ };
4218
+ static types(): {
4219
+ [key: string]: any;
4220
+ };
4221
+ constructor(map?: {
4222
+ [key: string]: any;
4223
+ });
4224
+ }
4225
+ export declare class DescribeClusterTasksResponseBodyTasks extends $tea.Model {
4226
+ created?: string;
4227
+ error?: DescribeClusterTasksResponseBodyTasksError;
4228
+ state?: string;
4229
+ taskId?: string;
4230
+ taskType?: string;
4231
+ updated?: string;
4232
+ static names(): {
4233
+ [key: string]: string;
4234
+ };
4235
+ static types(): {
4236
+ [key: string]: any;
4237
+ };
4238
+ constructor(map?: {
4239
+ [key: string]: any;
4240
+ });
4241
+ }
4047
4242
  export declare class DescribeClustersResponseBodyTags extends $tea.Model {
4048
4243
  key?: string;
4049
4244
  value?: string;
@@ -4792,6 +4987,65 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
4792
4987
  [key: string]: any;
4793
4988
  });
4794
4989
  }
4990
+ export declare class ModifyClusterNodePoolRequestNodeConfigKubeletConfiguration extends $tea.Model {
4991
+ cpuManagerPolicy?: string;
4992
+ eventBurst?: number;
4993
+ eventRecordQPS?: number;
4994
+ evictionHard?: {
4995
+ [key: string]: any;
4996
+ };
4997
+ evictionSoft?: {
4998
+ [key: string]: any;
4999
+ };
5000
+ evictionSoftGracePeriod?: {
5001
+ [key: string]: any;
5002
+ };
5003
+ kubeAPIBurst?: number;
5004
+ kubeAPIQPS?: number;
5005
+ kubeReserved?: {
5006
+ [key: string]: any;
5007
+ };
5008
+ registryBurst?: number;
5009
+ registryPullQPS?: number;
5010
+ serializeImagePulls?: boolean;
5011
+ systemReserved?: {
5012
+ [key: string]: any;
5013
+ };
5014
+ static names(): {
5015
+ [key: string]: string;
5016
+ };
5017
+ static types(): {
5018
+ [key: string]: any;
5019
+ };
5020
+ constructor(map?: {
5021
+ [key: string]: any;
5022
+ });
5023
+ }
5024
+ export declare class ModifyClusterNodePoolRequestNodeConfigRolloutPolicy extends $tea.Model {
5025
+ maxUnavailable?: number;
5026
+ static names(): {
5027
+ [key: string]: string;
5028
+ };
5029
+ static types(): {
5030
+ [key: string]: any;
5031
+ };
5032
+ constructor(map?: {
5033
+ [key: string]: any;
5034
+ });
5035
+ }
5036
+ export declare class ModifyClusterNodePoolRequestNodeConfig extends $tea.Model {
5037
+ kubeletConfiguration?: ModifyClusterNodePoolRequestNodeConfigKubeletConfiguration;
5038
+ rolloutPolicy?: ModifyClusterNodePoolRequestNodeConfigRolloutPolicy;
5039
+ static names(): {
5040
+ [key: string]: string;
5041
+ };
5042
+ static types(): {
5043
+ [key: string]: any;
5044
+ };
5045
+ constructor(map?: {
5046
+ [key: string]: any;
5047
+ });
5048
+ }
4795
5049
  export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $tea.Model {
4796
5050
  name?: string;
4797
5051
  resourceGroupId?: string;
@@ -5081,6 +5335,10 @@ export default class Client extends OpenApi {
5081
5335
  describeClusterDetailWithOptions(ClusterId: string, headers: {
5082
5336
  [key: string]: string;
5083
5337
  }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterDetailResponse>;
5338
+ describeClusterEvents(ClusterId: string, request: DescribeClusterEventsRequest): Promise<DescribeClusterEventsResponse>;
5339
+ describeClusterEventsWithOptions(ClusterId: string, request: DescribeClusterEventsRequest, headers: {
5340
+ [key: string]: string;
5341
+ }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterEventsResponse>;
5084
5342
  describeClusterLogs(ClusterId: string): Promise<DescribeClusterLogsResponse>;
5085
5343
  describeClusterLogsWithOptions(ClusterId: string, headers: {
5086
5344
  [key: string]: string;
@@ -5101,6 +5359,10 @@ export default class Client extends OpenApi {
5101
5359
  describeClusterResourcesWithOptions(ClusterId: string, headers: {
5102
5360
  [key: string]: string;
5103
5361
  }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterResourcesResponse>;
5362
+ describeClusterTasks(clusterId: string): Promise<DescribeClusterTasksResponse>;
5363
+ describeClusterTasksWithOptions(clusterId: string, headers: {
5364
+ [key: string]: string;
5365
+ }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterTasksResponse>;
5104
5366
  describeClusterUserKubeconfig(ClusterId: string, request: DescribeClusterUserKubeconfigRequest): Promise<DescribeClusterUserKubeconfigResponse>;
5105
5367
  describeClusterUserKubeconfigWithOptions(ClusterId: string, request: DescribeClusterUserKubeconfigRequest, headers: {
5106
5368
  [key: string]: string;
@@ -5225,8 +5487,8 @@ export default class Client extends OpenApi {
5225
5487
  listTagResourcesWithOptions(tmpReq: ListTagResourcesRequest, headers: {
5226
5488
  [key: string]: string;
5227
5489
  }, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
5228
- migrateCluster(clusterId: string): Promise<MigrateClusterResponse>;
5229
- migrateClusterWithOptions(clusterId: string, headers: {
5490
+ migrateCluster(clusterId: string, request: MigrateClusterRequest): Promise<MigrateClusterResponse>;
5491
+ migrateClusterWithOptions(clusterId: string, request: MigrateClusterRequest, headers: {
5230
5492
  [key: string]: string;
5231
5493
  }, runtime: $Util.RuntimeOptions): Promise<MigrateClusterResponse>;
5232
5494
  modifyCluster(ClusterId: string, request: ModifyClusterRequest): Promise<ModifyClusterResponse>;