@alicloud/cs20151215 3.0.26 → 3.1.0
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 +370 -1
- package/dist/client.js +575 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +705 -2
package/dist/client.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare class Addon extends $tea.Model {
|
|
|
8
8
|
config?: string;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
name?: string;
|
|
11
|
+
version?: string;
|
|
11
12
|
static names(): {
|
|
12
13
|
[key: string]: string;
|
|
13
14
|
};
|
|
@@ -19,10 +20,13 @@ export declare class Addon extends $tea.Model {
|
|
|
19
20
|
});
|
|
20
21
|
}
|
|
21
22
|
export declare class DataDisk extends $tea.Model {
|
|
23
|
+
autoFormat?: boolean;
|
|
22
24
|
autoSnapshotPolicyId?: string;
|
|
23
25
|
burstingEnabled?: boolean;
|
|
24
26
|
category?: string;
|
|
25
27
|
encrypted?: string;
|
|
28
|
+
fileSystem?: string;
|
|
29
|
+
mountTarget?: string;
|
|
26
30
|
performanceLevel?: string;
|
|
27
31
|
provisionedIops?: number;
|
|
28
32
|
size?: number;
|
|
@@ -2600,6 +2604,7 @@ export declare class EdgeClusterAddEdgeMachineResponse extends $tea.Model {
|
|
|
2600
2604
|
});
|
|
2601
2605
|
}
|
|
2602
2606
|
export declare class FixNodePoolVulsRequest extends $tea.Model {
|
|
2607
|
+
autoRestart?: boolean;
|
|
2603
2608
|
nodes?: string[];
|
|
2604
2609
|
rolloutPolicy?: FixNodePoolVulsRequestRolloutPolicy;
|
|
2605
2610
|
vuls?: string[];
|
|
@@ -2641,6 +2646,44 @@ export declare class FixNodePoolVulsResponse extends $tea.Model {
|
|
|
2641
2646
|
[key: string]: any;
|
|
2642
2647
|
});
|
|
2643
2648
|
}
|
|
2649
|
+
export declare class GetClusterCheckResponseBody extends $tea.Model {
|
|
2650
|
+
checkId?: string;
|
|
2651
|
+
checkItems?: {
|
|
2652
|
+
[key: string]: {
|
|
2653
|
+
[key: string]: any;
|
|
2654
|
+
}[];
|
|
2655
|
+
};
|
|
2656
|
+
createdAt?: string;
|
|
2657
|
+
finishedAt?: string;
|
|
2658
|
+
message?: string;
|
|
2659
|
+
status?: string;
|
|
2660
|
+
type?: string;
|
|
2661
|
+
static names(): {
|
|
2662
|
+
[key: string]: string;
|
|
2663
|
+
};
|
|
2664
|
+
static types(): {
|
|
2665
|
+
[key: string]: any;
|
|
2666
|
+
};
|
|
2667
|
+
constructor(map?: {
|
|
2668
|
+
[key: string]: any;
|
|
2669
|
+
});
|
|
2670
|
+
}
|
|
2671
|
+
export declare class GetClusterCheckResponse extends $tea.Model {
|
|
2672
|
+
headers: {
|
|
2673
|
+
[key: string]: string;
|
|
2674
|
+
};
|
|
2675
|
+
statusCode: number;
|
|
2676
|
+
body: GetClusterCheckResponseBody;
|
|
2677
|
+
static names(): {
|
|
2678
|
+
[key: string]: string;
|
|
2679
|
+
};
|
|
2680
|
+
static types(): {
|
|
2681
|
+
[key: string]: any;
|
|
2682
|
+
};
|
|
2683
|
+
constructor(map?: {
|
|
2684
|
+
[key: string]: any;
|
|
2685
|
+
});
|
|
2686
|
+
}
|
|
2644
2687
|
export declare class GetKubernetesTriggerRequest extends $tea.Model {
|
|
2645
2688
|
name?: string;
|
|
2646
2689
|
namespace?: string;
|
|
@@ -2758,6 +2801,46 @@ export declare class InstallClusterAddonsResponse extends $tea.Model {
|
|
|
2758
2801
|
[key: string]: any;
|
|
2759
2802
|
});
|
|
2760
2803
|
}
|
|
2804
|
+
export declare class ListClusterChecksRequest extends $tea.Model {
|
|
2805
|
+
type?: string;
|
|
2806
|
+
static names(): {
|
|
2807
|
+
[key: string]: string;
|
|
2808
|
+
};
|
|
2809
|
+
static types(): {
|
|
2810
|
+
[key: string]: any;
|
|
2811
|
+
};
|
|
2812
|
+
constructor(map?: {
|
|
2813
|
+
[key: string]: any;
|
|
2814
|
+
});
|
|
2815
|
+
}
|
|
2816
|
+
export declare class ListClusterChecksResponseBody extends $tea.Model {
|
|
2817
|
+
checks?: ListClusterChecksResponseBodyChecks[];
|
|
2818
|
+
static names(): {
|
|
2819
|
+
[key: string]: string;
|
|
2820
|
+
};
|
|
2821
|
+
static types(): {
|
|
2822
|
+
[key: string]: any;
|
|
2823
|
+
};
|
|
2824
|
+
constructor(map?: {
|
|
2825
|
+
[key: string]: any;
|
|
2826
|
+
});
|
|
2827
|
+
}
|
|
2828
|
+
export declare class ListClusterChecksResponse extends $tea.Model {
|
|
2829
|
+
headers: {
|
|
2830
|
+
[key: string]: string;
|
|
2831
|
+
};
|
|
2832
|
+
statusCode: number;
|
|
2833
|
+
body: ListClusterChecksResponseBody;
|
|
2834
|
+
static names(): {
|
|
2835
|
+
[key: string]: string;
|
|
2836
|
+
};
|
|
2837
|
+
static types(): {
|
|
2838
|
+
[key: string]: any;
|
|
2839
|
+
};
|
|
2840
|
+
constructor(map?: {
|
|
2841
|
+
[key: string]: any;
|
|
2842
|
+
});
|
|
2843
|
+
}
|
|
2761
2844
|
export declare class ListTagResourcesRequest extends $tea.Model {
|
|
2762
2845
|
nextToken?: string;
|
|
2763
2846
|
regionId?: string;
|
|
@@ -2875,6 +2958,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
2875
2958
|
instanceDeletionProtection?: boolean;
|
|
2876
2959
|
maintenanceWindow?: MaintenanceWindow;
|
|
2877
2960
|
resourceGroupId?: string;
|
|
2961
|
+
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
2878
2962
|
static names(): {
|
|
2879
2963
|
[key: string]: string;
|
|
2880
2964
|
};
|
|
@@ -3321,6 +3405,7 @@ export declare class RemoveWorkflowResponse extends $tea.Model {
|
|
|
3321
3405
|
});
|
|
3322
3406
|
}
|
|
3323
3407
|
export declare class RepairClusterNodePoolRequest extends $tea.Model {
|
|
3408
|
+
autoRestart?: boolean;
|
|
3324
3409
|
nodes?: string[];
|
|
3325
3410
|
static names(): {
|
|
3326
3411
|
[key: string]: string;
|
|
@@ -3406,6 +3491,50 @@ export declare class ResumeUpgradeClusterResponse extends $tea.Model {
|
|
|
3406
3491
|
[key: string]: any;
|
|
3407
3492
|
});
|
|
3408
3493
|
}
|
|
3494
|
+
export declare class RunClusterCheckRequest extends $tea.Model {
|
|
3495
|
+
options?: {
|
|
3496
|
+
[key: string]: string;
|
|
3497
|
+
};
|
|
3498
|
+
type?: string;
|
|
3499
|
+
static names(): {
|
|
3500
|
+
[key: string]: string;
|
|
3501
|
+
};
|
|
3502
|
+
static types(): {
|
|
3503
|
+
[key: string]: any;
|
|
3504
|
+
};
|
|
3505
|
+
constructor(map?: {
|
|
3506
|
+
[key: string]: any;
|
|
3507
|
+
});
|
|
3508
|
+
}
|
|
3509
|
+
export declare class RunClusterCheckResponseBody extends $tea.Model {
|
|
3510
|
+
checkId?: string;
|
|
3511
|
+
requestId?: string;
|
|
3512
|
+
static names(): {
|
|
3513
|
+
[key: string]: string;
|
|
3514
|
+
};
|
|
3515
|
+
static types(): {
|
|
3516
|
+
[key: string]: any;
|
|
3517
|
+
};
|
|
3518
|
+
constructor(map?: {
|
|
3519
|
+
[key: string]: any;
|
|
3520
|
+
});
|
|
3521
|
+
}
|
|
3522
|
+
export declare class RunClusterCheckResponse extends $tea.Model {
|
|
3523
|
+
headers: {
|
|
3524
|
+
[key: string]: string;
|
|
3525
|
+
};
|
|
3526
|
+
statusCode: number;
|
|
3527
|
+
body: RunClusterCheckResponseBody;
|
|
3528
|
+
static names(): {
|
|
3529
|
+
[key: string]: string;
|
|
3530
|
+
};
|
|
3531
|
+
static types(): {
|
|
3532
|
+
[key: string]: any;
|
|
3533
|
+
};
|
|
3534
|
+
constructor(map?: {
|
|
3535
|
+
[key: string]: any;
|
|
3536
|
+
});
|
|
3537
|
+
}
|
|
3409
3538
|
export declare class ScaleClusterRequest extends $tea.Model {
|
|
3410
3539
|
cloudMonitorFlags?: boolean;
|
|
3411
3540
|
count?: number;
|
|
@@ -4352,6 +4481,43 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
4352
4481
|
[key: string]: any;
|
|
4353
4482
|
});
|
|
4354
4483
|
}
|
|
4484
|
+
export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
4485
|
+
restartNode?: boolean;
|
|
4486
|
+
static names(): {
|
|
4487
|
+
[key: string]: string;
|
|
4488
|
+
};
|
|
4489
|
+
static types(): {
|
|
4490
|
+
[key: string]: any;
|
|
4491
|
+
};
|
|
4492
|
+
constructor(map?: {
|
|
4493
|
+
[key: string]: any;
|
|
4494
|
+
});
|
|
4495
|
+
}
|
|
4496
|
+
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
4497
|
+
autoUpgradeKubelet?: boolean;
|
|
4498
|
+
static names(): {
|
|
4499
|
+
[key: string]: string;
|
|
4500
|
+
};
|
|
4501
|
+
static types(): {
|
|
4502
|
+
[key: string]: any;
|
|
4503
|
+
};
|
|
4504
|
+
constructor(map?: {
|
|
4505
|
+
[key: string]: any;
|
|
4506
|
+
});
|
|
4507
|
+
}
|
|
4508
|
+
export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
4509
|
+
restartNode?: boolean;
|
|
4510
|
+
vulLevel?: string;
|
|
4511
|
+
static names(): {
|
|
4512
|
+
[key: string]: string;
|
|
4513
|
+
};
|
|
4514
|
+
static types(): {
|
|
4515
|
+
[key: string]: any;
|
|
4516
|
+
};
|
|
4517
|
+
constructor(map?: {
|
|
4518
|
+
[key: string]: any;
|
|
4519
|
+
});
|
|
4520
|
+
}
|
|
4355
4521
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
4356
4522
|
autoUpgrade?: boolean;
|
|
4357
4523
|
maxUnavailable?: number;
|
|
@@ -4369,6 +4535,11 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
4369
4535
|
}
|
|
4370
4536
|
export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
4371
4537
|
autoRepair?: boolean;
|
|
4538
|
+
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
4539
|
+
autoUpgrade?: boolean;
|
|
4540
|
+
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
4541
|
+
autoVulFix?: boolean;
|
|
4542
|
+
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
4372
4543
|
enable?: boolean;
|
|
4373
4544
|
upgradeConfig?: CreateClusterNodePoolRequestManagementUpgradeConfig;
|
|
4374
4545
|
static names(): {
|
|
@@ -4633,6 +4804,43 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
4633
4804
|
[key: string]: any;
|
|
4634
4805
|
});
|
|
4635
4806
|
}
|
|
4807
|
+
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy extends $tea.Model {
|
|
4808
|
+
restartNode?: boolean;
|
|
4809
|
+
static names(): {
|
|
4810
|
+
[key: string]: string;
|
|
4811
|
+
};
|
|
4812
|
+
static types(): {
|
|
4813
|
+
[key: string]: any;
|
|
4814
|
+
};
|
|
4815
|
+
constructor(map?: {
|
|
4816
|
+
[key: string]: any;
|
|
4817
|
+
});
|
|
4818
|
+
}
|
|
4819
|
+
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $tea.Model {
|
|
4820
|
+
autoUpgradeKubelet?: boolean;
|
|
4821
|
+
static names(): {
|
|
4822
|
+
[key: string]: string;
|
|
4823
|
+
};
|
|
4824
|
+
static types(): {
|
|
4825
|
+
[key: string]: any;
|
|
4826
|
+
};
|
|
4827
|
+
constructor(map?: {
|
|
4828
|
+
[key: string]: any;
|
|
4829
|
+
});
|
|
4830
|
+
}
|
|
4831
|
+
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $tea.Model {
|
|
4832
|
+
restartNode?: boolean;
|
|
4833
|
+
vulLevel?: string;
|
|
4834
|
+
static names(): {
|
|
4835
|
+
[key: string]: string;
|
|
4836
|
+
};
|
|
4837
|
+
static types(): {
|
|
4838
|
+
[key: string]: any;
|
|
4839
|
+
};
|
|
4840
|
+
constructor(map?: {
|
|
4841
|
+
[key: string]: any;
|
|
4842
|
+
});
|
|
4843
|
+
}
|
|
4636
4844
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig extends $tea.Model {
|
|
4637
4845
|
autoUpgrade?: boolean;
|
|
4638
4846
|
maxUnavailable?: number;
|
|
@@ -4650,6 +4858,11 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeC
|
|
|
4650
4858
|
}
|
|
4651
4859
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Model {
|
|
4652
4860
|
autoRepair?: boolean;
|
|
4861
|
+
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
4862
|
+
autoUpgrade?: boolean;
|
|
4863
|
+
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
4864
|
+
autoVulFix?: boolean;
|
|
4865
|
+
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
4653
4866
|
enable?: boolean;
|
|
4654
4867
|
upgradeConfig?: DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig;
|
|
4655
4868
|
static names(): {
|
|
@@ -4849,6 +5062,43 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
4849
5062
|
[key: string]: any;
|
|
4850
5063
|
});
|
|
4851
5064
|
}
|
|
5065
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $tea.Model {
|
|
5066
|
+
restartNode?: boolean;
|
|
5067
|
+
static names(): {
|
|
5068
|
+
[key: string]: string;
|
|
5069
|
+
};
|
|
5070
|
+
static types(): {
|
|
5071
|
+
[key: string]: any;
|
|
5072
|
+
};
|
|
5073
|
+
constructor(map?: {
|
|
5074
|
+
[key: string]: any;
|
|
5075
|
+
});
|
|
5076
|
+
}
|
|
5077
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $tea.Model {
|
|
5078
|
+
autoUpgradeKubelet?: boolean;
|
|
5079
|
+
static names(): {
|
|
5080
|
+
[key: string]: string;
|
|
5081
|
+
};
|
|
5082
|
+
static types(): {
|
|
5083
|
+
[key: string]: any;
|
|
5084
|
+
};
|
|
5085
|
+
constructor(map?: {
|
|
5086
|
+
[key: string]: any;
|
|
5087
|
+
});
|
|
5088
|
+
}
|
|
5089
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy extends $tea.Model {
|
|
5090
|
+
restartNode?: boolean;
|
|
5091
|
+
vulLevel?: string;
|
|
5092
|
+
static names(): {
|
|
5093
|
+
[key: string]: string;
|
|
5094
|
+
};
|
|
5095
|
+
static types(): {
|
|
5096
|
+
[key: string]: any;
|
|
5097
|
+
};
|
|
5098
|
+
constructor(map?: {
|
|
5099
|
+
[key: string]: any;
|
|
5100
|
+
});
|
|
5101
|
+
}
|
|
4852
5102
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $tea.Model {
|
|
4853
5103
|
autoUpgrade?: boolean;
|
|
4854
5104
|
maxUnavailable?: number;
|
|
@@ -4866,6 +5116,11 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
4866
5116
|
}
|
|
4867
5117
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $tea.Model {
|
|
4868
5118
|
autoRepair?: boolean;
|
|
5119
|
+
autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
5120
|
+
autoUpgrade?: boolean;
|
|
5121
|
+
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
5122
|
+
autoVulFix?: boolean;
|
|
5123
|
+
autoVulFixPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy;
|
|
4869
5124
|
enable?: boolean;
|
|
4870
5125
|
upgradeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig;
|
|
4871
5126
|
static names(): {
|
|
@@ -5101,7 +5356,7 @@ export declare class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
5101
5356
|
resourceType?: string;
|
|
5102
5357
|
state?: string;
|
|
5103
5358
|
autoCreate?: number;
|
|
5104
|
-
dependencies?: DescribeClusterResourcesResponseBodyDependencies;
|
|
5359
|
+
dependencies?: DescribeClusterResourcesResponseBodyDependencies[];
|
|
5105
5360
|
static names(): {
|
|
5106
5361
|
[key: string]: string;
|
|
5107
5362
|
};
|
|
@@ -5884,6 +6139,23 @@ export declare class InstallClusterAddonsRequestBody extends $tea.Model {
|
|
|
5884
6139
|
[key: string]: any;
|
|
5885
6140
|
});
|
|
5886
6141
|
}
|
|
6142
|
+
export declare class ListClusterChecksResponseBodyChecks extends $tea.Model {
|
|
6143
|
+
checkId?: string;
|
|
6144
|
+
createdAt?: string;
|
|
6145
|
+
finishedAt?: string;
|
|
6146
|
+
message?: string;
|
|
6147
|
+
status?: string;
|
|
6148
|
+
type?: string;
|
|
6149
|
+
static names(): {
|
|
6150
|
+
[key: string]: string;
|
|
6151
|
+
};
|
|
6152
|
+
static types(): {
|
|
6153
|
+
[key: string]: any;
|
|
6154
|
+
};
|
|
6155
|
+
constructor(map?: {
|
|
6156
|
+
[key: string]: any;
|
|
6157
|
+
});
|
|
6158
|
+
}
|
|
5887
6159
|
export declare class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
|
|
5888
6160
|
resourceId?: string;
|
|
5889
6161
|
resourceType?: string;
|
|
@@ -5911,6 +6183,19 @@ export declare class ListTagResourcesResponseBodyTagResources extends $tea.Model
|
|
|
5911
6183
|
[key: string]: any;
|
|
5912
6184
|
});
|
|
5913
6185
|
}
|
|
6186
|
+
export declare class ModifyClusterRequestSystemEventsLogging extends $tea.Model {
|
|
6187
|
+
enabled?: boolean;
|
|
6188
|
+
loggingProject?: string;
|
|
6189
|
+
static names(): {
|
|
6190
|
+
[key: string]: string;
|
|
6191
|
+
};
|
|
6192
|
+
static types(): {
|
|
6193
|
+
[key: string]: any;
|
|
6194
|
+
};
|
|
6195
|
+
constructor(map?: {
|
|
6196
|
+
[key: string]: any;
|
|
6197
|
+
});
|
|
6198
|
+
}
|
|
5914
6199
|
export declare class ModifyClusterConfigurationRequestCustomizeConfigConfigs extends $tea.Model {
|
|
5915
6200
|
key?: string;
|
|
5916
6201
|
value?: string;
|
|
@@ -5973,6 +6258,43 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
5973
6258
|
[key: string]: any;
|
|
5974
6259
|
});
|
|
5975
6260
|
}
|
|
6261
|
+
export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
6262
|
+
restartNode?: boolean;
|
|
6263
|
+
static names(): {
|
|
6264
|
+
[key: string]: string;
|
|
6265
|
+
};
|
|
6266
|
+
static types(): {
|
|
6267
|
+
[key: string]: any;
|
|
6268
|
+
};
|
|
6269
|
+
constructor(map?: {
|
|
6270
|
+
[key: string]: any;
|
|
6271
|
+
});
|
|
6272
|
+
}
|
|
6273
|
+
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
6274
|
+
autoUpgradeKubelet?: boolean;
|
|
6275
|
+
static names(): {
|
|
6276
|
+
[key: string]: string;
|
|
6277
|
+
};
|
|
6278
|
+
static types(): {
|
|
6279
|
+
[key: string]: any;
|
|
6280
|
+
};
|
|
6281
|
+
constructor(map?: {
|
|
6282
|
+
[key: string]: any;
|
|
6283
|
+
});
|
|
6284
|
+
}
|
|
6285
|
+
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
6286
|
+
restartNode?: boolean;
|
|
6287
|
+
vulLevel?: string;
|
|
6288
|
+
static names(): {
|
|
6289
|
+
[key: string]: string;
|
|
6290
|
+
};
|
|
6291
|
+
static types(): {
|
|
6292
|
+
[key: string]: any;
|
|
6293
|
+
};
|
|
6294
|
+
constructor(map?: {
|
|
6295
|
+
[key: string]: any;
|
|
6296
|
+
});
|
|
6297
|
+
}
|
|
5976
6298
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
5977
6299
|
autoUpgrade?: boolean;
|
|
5978
6300
|
maxUnavailable?: number;
|
|
@@ -5990,6 +6312,11 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
5990
6312
|
}
|
|
5991
6313
|
export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
5992
6314
|
autoRepair?: boolean;
|
|
6315
|
+
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
6316
|
+
autoUpgrade?: boolean;
|
|
6317
|
+
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
6318
|
+
autoVulFix?: boolean;
|
|
6319
|
+
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
5993
6320
|
enable?: boolean;
|
|
5994
6321
|
upgradeConfig?: ModifyClusterNodePoolRequestManagementUpgradeConfig;
|
|
5995
6322
|
static names(): {
|
|
@@ -6557,10 +6884,34 @@ export default class Client extends OpenApi {
|
|
|
6557
6884
|
[key: string]: string;
|
|
6558
6885
|
}, runtime: $Util.RuntimeOptions): Promise<EdgeClusterAddEdgeMachineResponse>;
|
|
6559
6886
|
edgeClusterAddEdgeMachine(clusterid: string, edgeMachineid: string, request: EdgeClusterAddEdgeMachineRequest): Promise<EdgeClusterAddEdgeMachineResponse>;
|
|
6887
|
+
/**
|
|
6888
|
+
* 1. The Common Vulnerabilities and Exposures (CVE) patching feature is developed based on Security Center. To use this feature, you must purchase the Security Center Ultimate Edition that supports Container Service for Kubernetes (ACK).
|
|
6889
|
+
* 2. ACK may need to restart nodes to patch certain vulnerabilities. ACK drains a node before the node restarts. Make sure that the ACK cluster has sufficient idle nodes to host the pods evicted from the trained nodes. For example, you can scale out a node pool before you patch vulnerabilities for the nodes in the node pool.
|
|
6890
|
+
* 3. Security Center ensures the compatibility of CVE patches. We recommend that you check the compatibility of a CVE patch with your application before you install the patch. You can pause or cancel a CVE patching task anytime.
|
|
6891
|
+
* 4. CVE patching is a progressive task that consists of multiple batches. After you pause or cancel a CVE patching task, ACK continues to process the dispatched batches. Only the batches that have not been dispatched are paused or canceled.
|
|
6892
|
+
*
|
|
6893
|
+
* @param request FixNodePoolVulsRequest
|
|
6894
|
+
* @param headers map
|
|
6895
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6896
|
+
* @return FixNodePoolVulsResponse
|
|
6897
|
+
*/
|
|
6560
6898
|
fixNodePoolVulsWithOptions(clusterId: string, nodepoolId: string, request: FixNodePoolVulsRequest, headers: {
|
|
6561
6899
|
[key: string]: string;
|
|
6562
6900
|
}, runtime: $Util.RuntimeOptions): Promise<FixNodePoolVulsResponse>;
|
|
6901
|
+
/**
|
|
6902
|
+
* 1. The Common Vulnerabilities and Exposures (CVE) patching feature is developed based on Security Center. To use this feature, you must purchase the Security Center Ultimate Edition that supports Container Service for Kubernetes (ACK).
|
|
6903
|
+
* 2. ACK may need to restart nodes to patch certain vulnerabilities. ACK drains a node before the node restarts. Make sure that the ACK cluster has sufficient idle nodes to host the pods evicted from the trained nodes. For example, you can scale out a node pool before you patch vulnerabilities for the nodes in the node pool.
|
|
6904
|
+
* 3. Security Center ensures the compatibility of CVE patches. We recommend that you check the compatibility of a CVE patch with your application before you install the patch. You can pause or cancel a CVE patching task anytime.
|
|
6905
|
+
* 4. CVE patching is a progressive task that consists of multiple batches. After you pause or cancel a CVE patching task, ACK continues to process the dispatched batches. Only the batches that have not been dispatched are paused or canceled.
|
|
6906
|
+
*
|
|
6907
|
+
* @param request FixNodePoolVulsRequest
|
|
6908
|
+
* @return FixNodePoolVulsResponse
|
|
6909
|
+
*/
|
|
6563
6910
|
fixNodePoolVuls(clusterId: string, nodepoolId: string, request: FixNodePoolVulsRequest): Promise<FixNodePoolVulsResponse>;
|
|
6911
|
+
getClusterCheckWithOptions(clusterId: string, checkId: string, headers: {
|
|
6912
|
+
[key: string]: string;
|
|
6913
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetClusterCheckResponse>;
|
|
6914
|
+
getClusterCheck(clusterId: string, checkId: string): Promise<GetClusterCheckResponse>;
|
|
6564
6915
|
getKubernetesTriggerWithOptions(ClusterId: string, request: GetKubernetesTriggerRequest, headers: {
|
|
6565
6916
|
[key: string]: string;
|
|
6566
6917
|
}, runtime: $Util.RuntimeOptions): Promise<GetKubernetesTriggerResponse>;
|
|
@@ -6597,6 +6948,10 @@ export default class Client extends OpenApi {
|
|
|
6597
6948
|
[key: string]: string;
|
|
6598
6949
|
}, runtime: $Util.RuntimeOptions): Promise<InstallClusterAddonsResponse>;
|
|
6599
6950
|
installClusterAddons(ClusterId: string, request: InstallClusterAddonsRequest): Promise<InstallClusterAddonsResponse>;
|
|
6951
|
+
listClusterChecksWithOptions(clusterId: string, request: ListClusterChecksRequest, headers: {
|
|
6952
|
+
[key: string]: string;
|
|
6953
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListClusterChecksResponse>;
|
|
6954
|
+
listClusterChecks(clusterId: string, request: ListClusterChecksRequest): Promise<ListClusterChecksResponse>;
|
|
6600
6955
|
listTagResourcesWithOptions(tmpReq: ListTagResourcesRequest, headers: {
|
|
6601
6956
|
[key: string]: string;
|
|
6602
6957
|
}, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
|
|
@@ -6701,6 +7056,11 @@ export default class Client extends OpenApi {
|
|
|
6701
7056
|
pauseTask(taskId: string): Promise<PauseTaskResponse>;
|
|
6702
7057
|
/**
|
|
6703
7058
|
* @deprecated
|
|
7059
|
+
* ****
|
|
7060
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
7061
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
7062
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
7063
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
6704
7064
|
*
|
|
6705
7065
|
* @param request RemoveClusterNodesRequest
|
|
6706
7066
|
* @param headers map
|
|
@@ -6712,6 +7072,11 @@ export default class Client extends OpenApi {
|
|
|
6712
7072
|
}, runtime: $Util.RuntimeOptions): Promise<RemoveClusterNodesResponse>;
|
|
6713
7073
|
/**
|
|
6714
7074
|
* @deprecated
|
|
7075
|
+
* ****
|
|
7076
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
7077
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
7078
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
7079
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
6715
7080
|
*
|
|
6716
7081
|
* @param request RemoveClusterNodesRequest
|
|
6717
7082
|
* @return RemoveClusterNodesResponse
|
|
@@ -6759,6 +7124,10 @@ export default class Client extends OpenApi {
|
|
|
6759
7124
|
[key: string]: string;
|
|
6760
7125
|
}, runtime: $Util.RuntimeOptions): Promise<ResumeUpgradeClusterResponse>;
|
|
6761
7126
|
resumeUpgradeCluster(ClusterId: string): Promise<ResumeUpgradeClusterResponse>;
|
|
7127
|
+
runClusterCheckWithOptions(clusterId: string, request: RunClusterCheckRequest, headers: {
|
|
7128
|
+
[key: string]: string;
|
|
7129
|
+
}, runtime: $Util.RuntimeOptions): Promise<RunClusterCheckResponse>;
|
|
7130
|
+
runClusterCheck(clusterId: string, request: RunClusterCheckRequest): Promise<RunClusterCheckResponse>;
|
|
6762
7131
|
/**
|
|
6763
7132
|
* @deprecated
|
|
6764
7133
|
*
|