@alicloud/cs20151215 3.0.25 → 3.0.27
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 +210 -0
- package/dist/client.js +301 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +376 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -34,19 +34,25 @@ export class Addon extends $tea.Model {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
export class DataDisk extends $tea.Model {
|
|
37
|
+
autoFormat?: boolean;
|
|
37
38
|
autoSnapshotPolicyId?: string;
|
|
38
39
|
burstingEnabled?: boolean;
|
|
39
40
|
category?: string;
|
|
40
41
|
encrypted?: string;
|
|
42
|
+
fileSystem?: string;
|
|
43
|
+
mountTarget?: string;
|
|
41
44
|
performanceLevel?: string;
|
|
42
45
|
provisionedIops?: number;
|
|
43
46
|
size?: number;
|
|
44
47
|
static names(): { [key: string]: string } {
|
|
45
48
|
return {
|
|
49
|
+
autoFormat: 'auto_format',
|
|
46
50
|
autoSnapshotPolicyId: 'auto_snapshot_policy_id',
|
|
47
51
|
burstingEnabled: 'bursting_enabled',
|
|
48
52
|
category: 'category',
|
|
49
53
|
encrypted: 'encrypted',
|
|
54
|
+
fileSystem: 'file_system',
|
|
55
|
+
mountTarget: 'mount_target',
|
|
50
56
|
performanceLevel: 'performance_level',
|
|
51
57
|
provisionedIops: 'provisioned_iops',
|
|
52
58
|
size: 'size',
|
|
@@ -55,10 +61,13 @@ export class DataDisk extends $tea.Model {
|
|
|
55
61
|
|
|
56
62
|
static types(): { [key: string]: any } {
|
|
57
63
|
return {
|
|
64
|
+
autoFormat: 'boolean',
|
|
58
65
|
autoSnapshotPolicyId: 'string',
|
|
59
66
|
burstingEnabled: 'boolean',
|
|
60
67
|
category: 'string',
|
|
61
68
|
encrypted: 'string',
|
|
69
|
+
fileSystem: 'string',
|
|
70
|
+
mountTarget: 'string',
|
|
62
71
|
performanceLevel: 'string',
|
|
63
72
|
provisionedIops: 'number',
|
|
64
73
|
size: 'number',
|
|
@@ -5002,6 +5011,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
5002
5011
|
instanceDeletionProtection?: boolean;
|
|
5003
5012
|
maintenanceWindow?: MaintenanceWindow;
|
|
5004
5013
|
resourceGroupId?: string;
|
|
5014
|
+
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
5005
5015
|
static names(): { [key: string]: string } {
|
|
5006
5016
|
return {
|
|
5007
5017
|
accessControlList: 'access_control_list',
|
|
@@ -5015,6 +5025,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
5015
5025
|
instanceDeletionProtection: 'instance_deletion_protection',
|
|
5016
5026
|
maintenanceWindow: 'maintenance_window',
|
|
5017
5027
|
resourceGroupId: 'resource_group_id',
|
|
5028
|
+
systemEventsLogging: 'system_events_logging',
|
|
5018
5029
|
};
|
|
5019
5030
|
}
|
|
5020
5031
|
|
|
@@ -5031,6 +5042,7 @@ export class ModifyClusterRequest extends $tea.Model {
|
|
|
5031
5042
|
instanceDeletionProtection: 'boolean',
|
|
5032
5043
|
maintenanceWindow: MaintenanceWindow,
|
|
5033
5044
|
resourceGroupId: 'string',
|
|
5045
|
+
systemEventsLogging: ModifyClusterRequestSystemEventsLogging,
|
|
5034
5046
|
};
|
|
5035
5047
|
}
|
|
5036
5048
|
|
|
@@ -7603,6 +7615,66 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
7603
7615
|
}
|
|
7604
7616
|
}
|
|
7605
7617
|
|
|
7618
|
+
export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
7619
|
+
restartNode?: boolean;
|
|
7620
|
+
static names(): { [key: string]: string } {
|
|
7621
|
+
return {
|
|
7622
|
+
restartNode: 'restart_node',
|
|
7623
|
+
};
|
|
7624
|
+
}
|
|
7625
|
+
|
|
7626
|
+
static types(): { [key: string]: any } {
|
|
7627
|
+
return {
|
|
7628
|
+
restartNode: 'boolean',
|
|
7629
|
+
};
|
|
7630
|
+
}
|
|
7631
|
+
|
|
7632
|
+
constructor(map?: { [key: string]: any }) {
|
|
7633
|
+
super(map);
|
|
7634
|
+
}
|
|
7635
|
+
}
|
|
7636
|
+
|
|
7637
|
+
export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
7638
|
+
autoUpgradeKubelet?: boolean;
|
|
7639
|
+
static names(): { [key: string]: string } {
|
|
7640
|
+
return {
|
|
7641
|
+
autoUpgradeKubelet: 'auto_upgrade_kubelet',
|
|
7642
|
+
};
|
|
7643
|
+
}
|
|
7644
|
+
|
|
7645
|
+
static types(): { [key: string]: any } {
|
|
7646
|
+
return {
|
|
7647
|
+
autoUpgradeKubelet: 'boolean',
|
|
7648
|
+
};
|
|
7649
|
+
}
|
|
7650
|
+
|
|
7651
|
+
constructor(map?: { [key: string]: any }) {
|
|
7652
|
+
super(map);
|
|
7653
|
+
}
|
|
7654
|
+
}
|
|
7655
|
+
|
|
7656
|
+
export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
7657
|
+
restartNode?: boolean;
|
|
7658
|
+
vulLevel?: string;
|
|
7659
|
+
static names(): { [key: string]: string } {
|
|
7660
|
+
return {
|
|
7661
|
+
restartNode: 'restart_node',
|
|
7662
|
+
vulLevel: 'vul_level',
|
|
7663
|
+
};
|
|
7664
|
+
}
|
|
7665
|
+
|
|
7666
|
+
static types(): { [key: string]: any } {
|
|
7667
|
+
return {
|
|
7668
|
+
restartNode: 'boolean',
|
|
7669
|
+
vulLevel: 'string',
|
|
7670
|
+
};
|
|
7671
|
+
}
|
|
7672
|
+
|
|
7673
|
+
constructor(map?: { [key: string]: any }) {
|
|
7674
|
+
super(map);
|
|
7675
|
+
}
|
|
7676
|
+
}
|
|
7677
|
+
|
|
7606
7678
|
export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
7607
7679
|
autoUpgrade?: boolean;
|
|
7608
7680
|
maxUnavailable?: number;
|
|
@@ -7633,11 +7705,21 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
7633
7705
|
|
|
7634
7706
|
export class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
7635
7707
|
autoRepair?: boolean;
|
|
7708
|
+
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
7709
|
+
autoUpgrade?: boolean;
|
|
7710
|
+
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
7711
|
+
autoVulFix?: boolean;
|
|
7712
|
+
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
7636
7713
|
enable?: boolean;
|
|
7637
7714
|
upgradeConfig?: CreateClusterNodePoolRequestManagementUpgradeConfig;
|
|
7638
7715
|
static names(): { [key: string]: string } {
|
|
7639
7716
|
return {
|
|
7640
7717
|
autoRepair: 'auto_repair',
|
|
7718
|
+
autoRepairPolicy: 'auto_repair_policy',
|
|
7719
|
+
autoUpgrade: 'auto_upgrade',
|
|
7720
|
+
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
7721
|
+
autoVulFix: 'auto_vul_fix',
|
|
7722
|
+
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
7641
7723
|
enable: 'enable',
|
|
7642
7724
|
upgradeConfig: 'upgrade_config',
|
|
7643
7725
|
};
|
|
@@ -7646,6 +7728,11 @@ export class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
7646
7728
|
static types(): { [key: string]: any } {
|
|
7647
7729
|
return {
|
|
7648
7730
|
autoRepair: 'boolean',
|
|
7731
|
+
autoRepairPolicy: CreateClusterNodePoolRequestManagementAutoRepairPolicy,
|
|
7732
|
+
autoUpgrade: 'boolean',
|
|
7733
|
+
autoUpgradePolicy: CreateClusterNodePoolRequestManagementAutoUpgradePolicy,
|
|
7734
|
+
autoVulFix: 'boolean',
|
|
7735
|
+
autoVulFixPolicy: CreateClusterNodePoolRequestManagementAutoVulFixPolicy,
|
|
7649
7736
|
enable: 'boolean',
|
|
7650
7737
|
upgradeConfig: CreateClusterNodePoolRequestManagementUpgradeConfig,
|
|
7651
7738
|
};
|
|
@@ -8157,6 +8244,66 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
8157
8244
|
}
|
|
8158
8245
|
}
|
|
8159
8246
|
|
|
8247
|
+
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy extends $tea.Model {
|
|
8248
|
+
restartNode?: boolean;
|
|
8249
|
+
static names(): { [key: string]: string } {
|
|
8250
|
+
return {
|
|
8251
|
+
restartNode: 'restart_node',
|
|
8252
|
+
};
|
|
8253
|
+
}
|
|
8254
|
+
|
|
8255
|
+
static types(): { [key: string]: any } {
|
|
8256
|
+
return {
|
|
8257
|
+
restartNode: 'boolean',
|
|
8258
|
+
};
|
|
8259
|
+
}
|
|
8260
|
+
|
|
8261
|
+
constructor(map?: { [key: string]: any }) {
|
|
8262
|
+
super(map);
|
|
8263
|
+
}
|
|
8264
|
+
}
|
|
8265
|
+
|
|
8266
|
+
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $tea.Model {
|
|
8267
|
+
autoUpgradeKubelet?: boolean;
|
|
8268
|
+
static names(): { [key: string]: string } {
|
|
8269
|
+
return {
|
|
8270
|
+
autoUpgradeKubelet: 'auto_upgrade_kubelet',
|
|
8271
|
+
};
|
|
8272
|
+
}
|
|
8273
|
+
|
|
8274
|
+
static types(): { [key: string]: any } {
|
|
8275
|
+
return {
|
|
8276
|
+
autoUpgradeKubelet: 'boolean',
|
|
8277
|
+
};
|
|
8278
|
+
}
|
|
8279
|
+
|
|
8280
|
+
constructor(map?: { [key: string]: any }) {
|
|
8281
|
+
super(map);
|
|
8282
|
+
}
|
|
8283
|
+
}
|
|
8284
|
+
|
|
8285
|
+
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $tea.Model {
|
|
8286
|
+
restartNode?: boolean;
|
|
8287
|
+
vulLevel?: string;
|
|
8288
|
+
static names(): { [key: string]: string } {
|
|
8289
|
+
return {
|
|
8290
|
+
restartNode: 'restart_node',
|
|
8291
|
+
vulLevel: 'vul_level',
|
|
8292
|
+
};
|
|
8293
|
+
}
|
|
8294
|
+
|
|
8295
|
+
static types(): { [key: string]: any } {
|
|
8296
|
+
return {
|
|
8297
|
+
restartNode: 'boolean',
|
|
8298
|
+
vulLevel: 'string',
|
|
8299
|
+
};
|
|
8300
|
+
}
|
|
8301
|
+
|
|
8302
|
+
constructor(map?: { [key: string]: any }) {
|
|
8303
|
+
super(map);
|
|
8304
|
+
}
|
|
8305
|
+
}
|
|
8306
|
+
|
|
8160
8307
|
export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig extends $tea.Model {
|
|
8161
8308
|
autoUpgrade?: boolean;
|
|
8162
8309
|
maxUnavailable?: number;
|
|
@@ -8187,11 +8334,21 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
8187
8334
|
|
|
8188
8335
|
export class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Model {
|
|
8189
8336
|
autoRepair?: boolean;
|
|
8337
|
+
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
8338
|
+
autoUpgrade?: boolean;
|
|
8339
|
+
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
8340
|
+
autoVulFix?: boolean;
|
|
8341
|
+
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
8190
8342
|
enable?: boolean;
|
|
8191
8343
|
upgradeConfig?: DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig;
|
|
8192
8344
|
static names(): { [key: string]: string } {
|
|
8193
8345
|
return {
|
|
8194
8346
|
autoRepair: 'auto_repair',
|
|
8347
|
+
autoRepairPolicy: 'auto_repair_policy',
|
|
8348
|
+
autoUpgrade: 'auto_upgrade',
|
|
8349
|
+
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
8350
|
+
autoVulFix: 'auto_vul_fix',
|
|
8351
|
+
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
8195
8352
|
enable: 'enable',
|
|
8196
8353
|
upgradeConfig: 'upgrade_config',
|
|
8197
8354
|
};
|
|
@@ -8200,6 +8357,11 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $tea.Mo
|
|
|
8200
8357
|
static types(): { [key: string]: any } {
|
|
8201
8358
|
return {
|
|
8202
8359
|
autoRepair: 'boolean',
|
|
8360
|
+
autoRepairPolicy: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy,
|
|
8361
|
+
autoUpgrade: 'boolean',
|
|
8362
|
+
autoUpgradePolicy: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy,
|
|
8363
|
+
autoVulFix: 'boolean',
|
|
8364
|
+
autoVulFixPolicy: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy,
|
|
8203
8365
|
enable: 'boolean',
|
|
8204
8366
|
upgradeConfig: DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig,
|
|
8205
8367
|
};
|
|
@@ -8601,6 +8763,66 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
8601
8763
|
}
|
|
8602
8764
|
}
|
|
8603
8765
|
|
|
8766
|
+
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $tea.Model {
|
|
8767
|
+
restartNode?: boolean;
|
|
8768
|
+
static names(): { [key: string]: string } {
|
|
8769
|
+
return {
|
|
8770
|
+
restartNode: 'restart_node',
|
|
8771
|
+
};
|
|
8772
|
+
}
|
|
8773
|
+
|
|
8774
|
+
static types(): { [key: string]: any } {
|
|
8775
|
+
return {
|
|
8776
|
+
restartNode: 'boolean',
|
|
8777
|
+
};
|
|
8778
|
+
}
|
|
8779
|
+
|
|
8780
|
+
constructor(map?: { [key: string]: any }) {
|
|
8781
|
+
super(map);
|
|
8782
|
+
}
|
|
8783
|
+
}
|
|
8784
|
+
|
|
8785
|
+
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $tea.Model {
|
|
8786
|
+
autoUpgradeKubelet?: boolean;
|
|
8787
|
+
static names(): { [key: string]: string } {
|
|
8788
|
+
return {
|
|
8789
|
+
autoUpgradeKubelet: 'auto_upgrade_kubelet',
|
|
8790
|
+
};
|
|
8791
|
+
}
|
|
8792
|
+
|
|
8793
|
+
static types(): { [key: string]: any } {
|
|
8794
|
+
return {
|
|
8795
|
+
autoUpgradeKubelet: 'boolean',
|
|
8796
|
+
};
|
|
8797
|
+
}
|
|
8798
|
+
|
|
8799
|
+
constructor(map?: { [key: string]: any }) {
|
|
8800
|
+
super(map);
|
|
8801
|
+
}
|
|
8802
|
+
}
|
|
8803
|
+
|
|
8804
|
+
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy extends $tea.Model {
|
|
8805
|
+
restartNode?: boolean;
|
|
8806
|
+
vulLevel?: string;
|
|
8807
|
+
static names(): { [key: string]: string } {
|
|
8808
|
+
return {
|
|
8809
|
+
restartNode: 'restart_node',
|
|
8810
|
+
vulLevel: 'vul_level',
|
|
8811
|
+
};
|
|
8812
|
+
}
|
|
8813
|
+
|
|
8814
|
+
static types(): { [key: string]: any } {
|
|
8815
|
+
return {
|
|
8816
|
+
restartNode: 'boolean',
|
|
8817
|
+
vulLevel: 'string',
|
|
8818
|
+
};
|
|
8819
|
+
}
|
|
8820
|
+
|
|
8821
|
+
constructor(map?: { [key: string]: any }) {
|
|
8822
|
+
super(map);
|
|
8823
|
+
}
|
|
8824
|
+
}
|
|
8825
|
+
|
|
8604
8826
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $tea.Model {
|
|
8605
8827
|
autoUpgrade?: boolean;
|
|
8606
8828
|
maxUnavailable?: number;
|
|
@@ -8631,11 +8853,21 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
8631
8853
|
|
|
8632
8854
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $tea.Model {
|
|
8633
8855
|
autoRepair?: boolean;
|
|
8856
|
+
autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
8857
|
+
autoUpgrade?: boolean;
|
|
8858
|
+
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
8859
|
+
autoVulFix?: boolean;
|
|
8860
|
+
autoVulFixPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy;
|
|
8634
8861
|
enable?: boolean;
|
|
8635
8862
|
upgradeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig;
|
|
8636
8863
|
static names(): { [key: string]: string } {
|
|
8637
8864
|
return {
|
|
8638
8865
|
autoRepair: 'auto_repair',
|
|
8866
|
+
autoRepairPolicy: 'auto_repair_policy',
|
|
8867
|
+
autoUpgrade: 'auto_upgrade',
|
|
8868
|
+
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
8869
|
+
autoVulFix: 'auto_vul_fix',
|
|
8870
|
+
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
8639
8871
|
enable: 'enable',
|
|
8640
8872
|
upgradeConfig: 'upgrade_config',
|
|
8641
8873
|
};
|
|
@@ -8644,6 +8876,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $te
|
|
|
8644
8876
|
static types(): { [key: string]: any } {
|
|
8645
8877
|
return {
|
|
8646
8878
|
autoRepair: 'boolean',
|
|
8879
|
+
autoRepairPolicy: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy,
|
|
8880
|
+
autoUpgrade: 'boolean',
|
|
8881
|
+
autoUpgradePolicy: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy,
|
|
8882
|
+
autoVulFix: 'boolean',
|
|
8883
|
+
autoVulFixPolicy: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy,
|
|
8647
8884
|
enable: 'boolean',
|
|
8648
8885
|
upgradeConfig: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig,
|
|
8649
8886
|
};
|
|
@@ -9087,6 +9324,31 @@ export class DescribeClusterNodesResponseBodyPage extends $tea.Model {
|
|
|
9087
9324
|
}
|
|
9088
9325
|
}
|
|
9089
9326
|
|
|
9327
|
+
export class DescribeClusterResourcesResponseBodyDependencies extends $tea.Model {
|
|
9328
|
+
clusterId?: string;
|
|
9329
|
+
resourceType?: string;
|
|
9330
|
+
instanceId?: string;
|
|
9331
|
+
static names(): { [key: string]: string } {
|
|
9332
|
+
return {
|
|
9333
|
+
clusterId: 'cluster_id',
|
|
9334
|
+
resourceType: 'resource_type',
|
|
9335
|
+
instanceId: 'instance_id',
|
|
9336
|
+
};
|
|
9337
|
+
}
|
|
9338
|
+
|
|
9339
|
+
static types(): { [key: string]: any } {
|
|
9340
|
+
return {
|
|
9341
|
+
clusterId: 'string',
|
|
9342
|
+
resourceType: 'string',
|
|
9343
|
+
instanceId: 'string',
|
|
9344
|
+
};
|
|
9345
|
+
}
|
|
9346
|
+
|
|
9347
|
+
constructor(map?: { [key: string]: any }) {
|
|
9348
|
+
super(map);
|
|
9349
|
+
}
|
|
9350
|
+
}
|
|
9351
|
+
|
|
9090
9352
|
export class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
9091
9353
|
clusterId?: string;
|
|
9092
9354
|
created?: string;
|
|
@@ -9095,6 +9357,7 @@ export class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
9095
9357
|
resourceType?: string;
|
|
9096
9358
|
state?: string;
|
|
9097
9359
|
autoCreate?: number;
|
|
9360
|
+
dependencies?: DescribeClusterResourcesResponseBodyDependencies;
|
|
9098
9361
|
static names(): { [key: string]: string } {
|
|
9099
9362
|
return {
|
|
9100
9363
|
clusterId: 'cluster_id',
|
|
@@ -9104,6 +9367,7 @@ export class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
9104
9367
|
resourceType: 'resource_type',
|
|
9105
9368
|
state: 'state',
|
|
9106
9369
|
autoCreate: 'auto_create',
|
|
9370
|
+
dependencies: 'dependencies',
|
|
9107
9371
|
};
|
|
9108
9372
|
}
|
|
9109
9373
|
|
|
@@ -9116,6 +9380,7 @@ export class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
9116
9380
|
resourceType: 'string',
|
|
9117
9381
|
state: 'string',
|
|
9118
9382
|
autoCreate: 'number',
|
|
9383
|
+
dependencies: DescribeClusterResourcesResponseBodyDependencies,
|
|
9119
9384
|
};
|
|
9120
9385
|
}
|
|
9121
9386
|
|
|
@@ -10687,6 +10952,28 @@ export class ListTagResourcesResponseBodyTagResources extends $tea.Model {
|
|
|
10687
10952
|
}
|
|
10688
10953
|
}
|
|
10689
10954
|
|
|
10955
|
+
export class ModifyClusterRequestSystemEventsLogging extends $tea.Model {
|
|
10956
|
+
enabled?: boolean;
|
|
10957
|
+
loggingProject?: string;
|
|
10958
|
+
static names(): { [key: string]: string } {
|
|
10959
|
+
return {
|
|
10960
|
+
enabled: 'enabled',
|
|
10961
|
+
loggingProject: 'logging_project',
|
|
10962
|
+
};
|
|
10963
|
+
}
|
|
10964
|
+
|
|
10965
|
+
static types(): { [key: string]: any } {
|
|
10966
|
+
return {
|
|
10967
|
+
enabled: 'boolean',
|
|
10968
|
+
loggingProject: 'string',
|
|
10969
|
+
};
|
|
10970
|
+
}
|
|
10971
|
+
|
|
10972
|
+
constructor(map?: { [key: string]: any }) {
|
|
10973
|
+
super(map);
|
|
10974
|
+
}
|
|
10975
|
+
}
|
|
10976
|
+
|
|
10690
10977
|
export class ModifyClusterConfigurationRequestCustomizeConfigConfigs extends $tea.Model {
|
|
10691
10978
|
key?: string;
|
|
10692
10979
|
value?: string;
|
|
@@ -10805,6 +11092,66 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
10805
11092
|
}
|
|
10806
11093
|
}
|
|
10807
11094
|
|
|
11095
|
+
export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $tea.Model {
|
|
11096
|
+
restartNode?: boolean;
|
|
11097
|
+
static names(): { [key: string]: string } {
|
|
11098
|
+
return {
|
|
11099
|
+
restartNode: 'restart_node',
|
|
11100
|
+
};
|
|
11101
|
+
}
|
|
11102
|
+
|
|
11103
|
+
static types(): { [key: string]: any } {
|
|
11104
|
+
return {
|
|
11105
|
+
restartNode: 'boolean',
|
|
11106
|
+
};
|
|
11107
|
+
}
|
|
11108
|
+
|
|
11109
|
+
constructor(map?: { [key: string]: any }) {
|
|
11110
|
+
super(map);
|
|
11111
|
+
}
|
|
11112
|
+
}
|
|
11113
|
+
|
|
11114
|
+
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $tea.Model {
|
|
11115
|
+
autoUpgradeKubelet?: boolean;
|
|
11116
|
+
static names(): { [key: string]: string } {
|
|
11117
|
+
return {
|
|
11118
|
+
autoUpgradeKubelet: 'auto_upgrade_kubelet',
|
|
11119
|
+
};
|
|
11120
|
+
}
|
|
11121
|
+
|
|
11122
|
+
static types(): { [key: string]: any } {
|
|
11123
|
+
return {
|
|
11124
|
+
autoUpgradeKubelet: 'boolean',
|
|
11125
|
+
};
|
|
11126
|
+
}
|
|
11127
|
+
|
|
11128
|
+
constructor(map?: { [key: string]: any }) {
|
|
11129
|
+
super(map);
|
|
11130
|
+
}
|
|
11131
|
+
}
|
|
11132
|
+
|
|
11133
|
+
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $tea.Model {
|
|
11134
|
+
restartNode?: boolean;
|
|
11135
|
+
vulLevel?: string;
|
|
11136
|
+
static names(): { [key: string]: string } {
|
|
11137
|
+
return {
|
|
11138
|
+
restartNode: 'restart_node',
|
|
11139
|
+
vulLevel: 'vul_level',
|
|
11140
|
+
};
|
|
11141
|
+
}
|
|
11142
|
+
|
|
11143
|
+
static types(): { [key: string]: any } {
|
|
11144
|
+
return {
|
|
11145
|
+
restartNode: 'boolean',
|
|
11146
|
+
vulLevel: 'string',
|
|
11147
|
+
};
|
|
11148
|
+
}
|
|
11149
|
+
|
|
11150
|
+
constructor(map?: { [key: string]: any }) {
|
|
11151
|
+
super(map);
|
|
11152
|
+
}
|
|
11153
|
+
}
|
|
11154
|
+
|
|
10808
11155
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Model {
|
|
10809
11156
|
autoUpgrade?: boolean;
|
|
10810
11157
|
maxUnavailable?: number;
|
|
@@ -10835,11 +11182,21 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $tea.Mo
|
|
|
10835
11182
|
|
|
10836
11183
|
export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
10837
11184
|
autoRepair?: boolean;
|
|
11185
|
+
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
11186
|
+
autoUpgrade?: boolean;
|
|
11187
|
+
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
11188
|
+
autoVulFix?: boolean;
|
|
11189
|
+
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
10838
11190
|
enable?: boolean;
|
|
10839
11191
|
upgradeConfig?: ModifyClusterNodePoolRequestManagementUpgradeConfig;
|
|
10840
11192
|
static names(): { [key: string]: string } {
|
|
10841
11193
|
return {
|
|
10842
11194
|
autoRepair: 'auto_repair',
|
|
11195
|
+
autoRepairPolicy: 'auto_repair_policy',
|
|
11196
|
+
autoUpgrade: 'auto_upgrade',
|
|
11197
|
+
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
11198
|
+
autoVulFix: 'auto_vul_fix',
|
|
11199
|
+
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
10843
11200
|
enable: 'enable',
|
|
10844
11201
|
upgradeConfig: 'upgrade_config',
|
|
10845
11202
|
};
|
|
@@ -10848,6 +11205,11 @@ export class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
10848
11205
|
static types(): { [key: string]: any } {
|
|
10849
11206
|
return {
|
|
10850
11207
|
autoRepair: 'boolean',
|
|
11208
|
+
autoRepairPolicy: ModifyClusterNodePoolRequestManagementAutoRepairPolicy,
|
|
11209
|
+
autoUpgrade: 'boolean',
|
|
11210
|
+
autoUpgradePolicy: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy,
|
|
11211
|
+
autoVulFix: 'boolean',
|
|
11212
|
+
autoVulFixPolicy: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy,
|
|
10851
11213
|
enable: 'boolean',
|
|
10852
11214
|
upgradeConfig: ModifyClusterNodePoolRequestManagementUpgradeConfig,
|
|
10853
11215
|
};
|
|
@@ -14363,6 +14725,10 @@ export default class Client extends OpenApi {
|
|
|
14363
14725
|
body["resource_group_id"] = request.resourceGroupId;
|
|
14364
14726
|
}
|
|
14365
14727
|
|
|
14728
|
+
if (!Util.isUnset(request.systemEventsLogging)) {
|
|
14729
|
+
body["system_events_logging"] = request.systemEventsLogging;
|
|
14730
|
+
}
|
|
14731
|
+
|
|
14366
14732
|
let req = new $OpenApi.OpenApiRequest({
|
|
14367
14733
|
headers: headers,
|
|
14368
14734
|
body: OpenApiUtil.parseToMap(body),
|
|
@@ -14763,6 +15129,11 @@ export default class Client extends OpenApi {
|
|
|
14763
15129
|
|
|
14764
15130
|
/**
|
|
14765
15131
|
* @deprecated
|
|
15132
|
+
* ****
|
|
15133
|
+
* * 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.
|
|
15134
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
15135
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
15136
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
14766
15137
|
*
|
|
14767
15138
|
* @param request RemoveClusterNodesRequest
|
|
14768
15139
|
* @param headers map
|
|
@@ -14805,6 +15176,11 @@ export default class Client extends OpenApi {
|
|
|
14805
15176
|
|
|
14806
15177
|
/**
|
|
14807
15178
|
* @deprecated
|
|
15179
|
+
* ****
|
|
15180
|
+
* * 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.
|
|
15181
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
15182
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
15183
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
14808
15184
|
*
|
|
14809
15185
|
* @param request RemoveClusterNodesRequest
|
|
14810
15186
|
* @return RemoveClusterNodesResponse
|