@alicloud/cs20151215 3.0.21 → 3.0.23
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 +220 -0
- package/dist/client.js +347 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +460 -0
package/dist/client.d.ts
CHANGED
|
@@ -20,9 +20,11 @@ export declare class Addon extends $tea.Model {
|
|
|
20
20
|
}
|
|
21
21
|
export declare class DataDisk extends $tea.Model {
|
|
22
22
|
autoSnapshotPolicyId?: string;
|
|
23
|
+
burstingEnabled?: boolean;
|
|
23
24
|
category?: string;
|
|
24
25
|
encrypted?: string;
|
|
25
26
|
performanceLevel?: string;
|
|
27
|
+
provisionedIops?: number;
|
|
26
28
|
size?: number;
|
|
27
29
|
static names(): {
|
|
28
30
|
[key: string]: string;
|
|
@@ -49,6 +51,27 @@ export declare class MaintenanceWindow extends $tea.Model {
|
|
|
49
51
|
[key: string]: any;
|
|
50
52
|
});
|
|
51
53
|
}
|
|
54
|
+
export declare class Nodepool extends $tea.Model {
|
|
55
|
+
autoScaling?: NodepoolAutoScaling;
|
|
56
|
+
count?: number;
|
|
57
|
+
interconnectConfig?: NodepoolInterconnectConfig;
|
|
58
|
+
interconnectMode?: string;
|
|
59
|
+
kubernetesConfig?: NodepoolKubernetesConfig;
|
|
60
|
+
management?: NodepoolManagement;
|
|
61
|
+
maxNodes?: number;
|
|
62
|
+
nodepoolInfo?: NodepoolNodepoolInfo;
|
|
63
|
+
scalingGroup?: NodepoolScalingGroup;
|
|
64
|
+
teeConfig?: NodepoolTeeConfig;
|
|
65
|
+
static names(): {
|
|
66
|
+
[key: string]: string;
|
|
67
|
+
};
|
|
68
|
+
static types(): {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
};
|
|
71
|
+
constructor(map?: {
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
});
|
|
74
|
+
}
|
|
52
75
|
export declare class Runtime extends $tea.Model {
|
|
53
76
|
name?: string;
|
|
54
77
|
version?: string;
|
|
@@ -409,6 +432,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
409
432
|
nodeCidrMask?: string;
|
|
410
433
|
nodeNameMode?: string;
|
|
411
434
|
nodePortRange?: string;
|
|
435
|
+
nodepools?: Nodepool[];
|
|
412
436
|
numOfNodes?: number;
|
|
413
437
|
osType?: string;
|
|
414
438
|
period?: number;
|
|
@@ -4004,6 +4028,200 @@ export declare class UpgradeClusterNodepoolResponse extends $tea.Model {
|
|
|
4004
4028
|
[key: string]: any;
|
|
4005
4029
|
});
|
|
4006
4030
|
}
|
|
4031
|
+
export declare class NodepoolAutoScaling extends $tea.Model {
|
|
4032
|
+
eipBandwidth?: number;
|
|
4033
|
+
eipInternetChargeType?: string;
|
|
4034
|
+
enable?: boolean;
|
|
4035
|
+
isBondEip?: boolean;
|
|
4036
|
+
maxInstances?: number;
|
|
4037
|
+
minInstances?: number;
|
|
4038
|
+
type?: string;
|
|
4039
|
+
static names(): {
|
|
4040
|
+
[key: string]: string;
|
|
4041
|
+
};
|
|
4042
|
+
static types(): {
|
|
4043
|
+
[key: string]: any;
|
|
4044
|
+
};
|
|
4045
|
+
constructor(map?: {
|
|
4046
|
+
[key: string]: any;
|
|
4047
|
+
});
|
|
4048
|
+
}
|
|
4049
|
+
export declare class NodepoolInterconnectConfig extends $tea.Model {
|
|
4050
|
+
bandwidth?: number;
|
|
4051
|
+
ccnId?: string;
|
|
4052
|
+
ccnRegionId?: string;
|
|
4053
|
+
cenId?: string;
|
|
4054
|
+
improvedPeriod?: string;
|
|
4055
|
+
static names(): {
|
|
4056
|
+
[key: string]: string;
|
|
4057
|
+
};
|
|
4058
|
+
static types(): {
|
|
4059
|
+
[key: string]: any;
|
|
4060
|
+
};
|
|
4061
|
+
constructor(map?: {
|
|
4062
|
+
[key: string]: any;
|
|
4063
|
+
});
|
|
4064
|
+
}
|
|
4065
|
+
export declare class NodepoolKubernetesConfig extends $tea.Model {
|
|
4066
|
+
cmsEnabled?: boolean;
|
|
4067
|
+
cpuPolicy?: string;
|
|
4068
|
+
labels?: Tag[];
|
|
4069
|
+
nodeNameMode?: string;
|
|
4070
|
+
runtime?: string;
|
|
4071
|
+
runtimeVersion?: string;
|
|
4072
|
+
taints?: Taint[];
|
|
4073
|
+
userData?: string;
|
|
4074
|
+
static names(): {
|
|
4075
|
+
[key: string]: string;
|
|
4076
|
+
};
|
|
4077
|
+
static types(): {
|
|
4078
|
+
[key: string]: any;
|
|
4079
|
+
};
|
|
4080
|
+
constructor(map?: {
|
|
4081
|
+
[key: string]: any;
|
|
4082
|
+
});
|
|
4083
|
+
}
|
|
4084
|
+
export declare class NodepoolManagementUpgradeConfig extends $tea.Model {
|
|
4085
|
+
autoUpgrade?: boolean;
|
|
4086
|
+
maxUnavailable?: number;
|
|
4087
|
+
surge?: number;
|
|
4088
|
+
surgePercentage?: number;
|
|
4089
|
+
static names(): {
|
|
4090
|
+
[key: string]: string;
|
|
4091
|
+
};
|
|
4092
|
+
static types(): {
|
|
4093
|
+
[key: string]: any;
|
|
4094
|
+
};
|
|
4095
|
+
constructor(map?: {
|
|
4096
|
+
[key: string]: any;
|
|
4097
|
+
});
|
|
4098
|
+
}
|
|
4099
|
+
export declare class NodepoolManagement extends $tea.Model {
|
|
4100
|
+
autoRepair?: boolean;
|
|
4101
|
+
enable?: boolean;
|
|
4102
|
+
upgradeConfig?: NodepoolManagementUpgradeConfig;
|
|
4103
|
+
static names(): {
|
|
4104
|
+
[key: string]: string;
|
|
4105
|
+
};
|
|
4106
|
+
static types(): {
|
|
4107
|
+
[key: string]: any;
|
|
4108
|
+
};
|
|
4109
|
+
constructor(map?: {
|
|
4110
|
+
[key: string]: any;
|
|
4111
|
+
});
|
|
4112
|
+
}
|
|
4113
|
+
export declare class NodepoolNodepoolInfo extends $tea.Model {
|
|
4114
|
+
name?: string;
|
|
4115
|
+
resourceGroupId?: string;
|
|
4116
|
+
type?: string;
|
|
4117
|
+
static names(): {
|
|
4118
|
+
[key: string]: string;
|
|
4119
|
+
};
|
|
4120
|
+
static types(): {
|
|
4121
|
+
[key: string]: any;
|
|
4122
|
+
};
|
|
4123
|
+
constructor(map?: {
|
|
4124
|
+
[key: string]: any;
|
|
4125
|
+
});
|
|
4126
|
+
}
|
|
4127
|
+
export declare class NodepoolScalingGroupPrivatePoolOptions extends $tea.Model {
|
|
4128
|
+
id?: string;
|
|
4129
|
+
matchCriteria?: string;
|
|
4130
|
+
static names(): {
|
|
4131
|
+
[key: string]: string;
|
|
4132
|
+
};
|
|
4133
|
+
static types(): {
|
|
4134
|
+
[key: string]: any;
|
|
4135
|
+
};
|
|
4136
|
+
constructor(map?: {
|
|
4137
|
+
[key: string]: any;
|
|
4138
|
+
});
|
|
4139
|
+
}
|
|
4140
|
+
export declare class NodepoolScalingGroupSpotPriceLimit extends $tea.Model {
|
|
4141
|
+
instanceType?: string;
|
|
4142
|
+
priceLimit?: string;
|
|
4143
|
+
static names(): {
|
|
4144
|
+
[key: string]: string;
|
|
4145
|
+
};
|
|
4146
|
+
static types(): {
|
|
4147
|
+
[key: string]: any;
|
|
4148
|
+
};
|
|
4149
|
+
constructor(map?: {
|
|
4150
|
+
[key: string]: any;
|
|
4151
|
+
});
|
|
4152
|
+
}
|
|
4153
|
+
export declare class NodepoolScalingGroupTags extends $tea.Model {
|
|
4154
|
+
key?: string;
|
|
4155
|
+
value?: string;
|
|
4156
|
+
static names(): {
|
|
4157
|
+
[key: string]: string;
|
|
4158
|
+
};
|
|
4159
|
+
static types(): {
|
|
4160
|
+
[key: string]: any;
|
|
4161
|
+
};
|
|
4162
|
+
constructor(map?: {
|
|
4163
|
+
[key: string]: any;
|
|
4164
|
+
});
|
|
4165
|
+
}
|
|
4166
|
+
export declare class NodepoolScalingGroup extends $tea.Model {
|
|
4167
|
+
autoRenew?: boolean;
|
|
4168
|
+
autoRenewPeriod?: number;
|
|
4169
|
+
compensateWithOnDemand?: boolean;
|
|
4170
|
+
dataDisks?: DataDisk[];
|
|
4171
|
+
deploymentsetId?: string;
|
|
4172
|
+
desiredSize?: number;
|
|
4173
|
+
imageId?: string;
|
|
4174
|
+
imageType?: string;
|
|
4175
|
+
instanceChargeType?: string;
|
|
4176
|
+
instanceTypes?: string[];
|
|
4177
|
+
internetChargeType?: string;
|
|
4178
|
+
internetMaxBandwidthOut?: number;
|
|
4179
|
+
keyPair?: string;
|
|
4180
|
+
loginPassword?: string;
|
|
4181
|
+
multiAzPolicy?: string;
|
|
4182
|
+
onDemandBaseCapacity?: number;
|
|
4183
|
+
onDemandPercentageAboveBaseCapacity?: number;
|
|
4184
|
+
period?: number;
|
|
4185
|
+
periodUnit?: string;
|
|
4186
|
+
platform?: string;
|
|
4187
|
+
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
4188
|
+
rdsInstances?: string[];
|
|
4189
|
+
scalingPolicy?: string;
|
|
4190
|
+
securityGroupId?: string;
|
|
4191
|
+
securityGroupIds?: string[];
|
|
4192
|
+
spotInstancePools?: number;
|
|
4193
|
+
spotInstanceRemedy?: boolean;
|
|
4194
|
+
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
4195
|
+
spotStrategy?: string;
|
|
4196
|
+
systemDiskBurstingEnabled?: boolean;
|
|
4197
|
+
systemDiskCategory?: string;
|
|
4198
|
+
systemDiskPerformanceLevel?: string;
|
|
4199
|
+
systemDiskProvisionedIops?: number;
|
|
4200
|
+
systemDiskSize?: number;
|
|
4201
|
+
tags?: NodepoolScalingGroupTags[];
|
|
4202
|
+
vswitchIds?: string[];
|
|
4203
|
+
static names(): {
|
|
4204
|
+
[key: string]: string;
|
|
4205
|
+
};
|
|
4206
|
+
static types(): {
|
|
4207
|
+
[key: string]: any;
|
|
4208
|
+
};
|
|
4209
|
+
constructor(map?: {
|
|
4210
|
+
[key: string]: any;
|
|
4211
|
+
});
|
|
4212
|
+
}
|
|
4213
|
+
export declare class NodepoolTeeConfig extends $tea.Model {
|
|
4214
|
+
teeEnable?: boolean;
|
|
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
|
+
}
|
|
4007
4225
|
export declare class AttachInstancesResponseBodyList extends $tea.Model {
|
|
4008
4226
|
code?: string;
|
|
4009
4227
|
instanceId?: string;
|
|
@@ -4198,8 +4416,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
4198
4416
|
spotInstanceRemedy?: boolean;
|
|
4199
4417
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
4200
4418
|
spotStrategy?: string;
|
|
4419
|
+
systemDiskBurstingEnabled?: boolean;
|
|
4201
4420
|
systemDiskCategory?: string;
|
|
4202
4421
|
systemDiskPerformanceLevel?: string;
|
|
4422
|
+
systemDiskProvisionedIops?: number;
|
|
4203
4423
|
systemDiskSize?: number;
|
|
4204
4424
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
4205
4425
|
vswitchIds?: string[];
|
package/dist/client.js
CHANGED
|
@@ -46,18 +46,22 @@ class DataDisk extends $tea.Model {
|
|
|
46
46
|
static names() {
|
|
47
47
|
return {
|
|
48
48
|
autoSnapshotPolicyId: 'auto_snapshot_policy_id',
|
|
49
|
+
burstingEnabled: 'bursting_enabled',
|
|
49
50
|
category: 'category',
|
|
50
51
|
encrypted: 'encrypted',
|
|
51
52
|
performanceLevel: 'performance_level',
|
|
53
|
+
provisionedIops: 'provisioned_iops',
|
|
52
54
|
size: 'size',
|
|
53
55
|
};
|
|
54
56
|
}
|
|
55
57
|
static types() {
|
|
56
58
|
return {
|
|
57
59
|
autoSnapshotPolicyId: 'string',
|
|
60
|
+
burstingEnabled: 'boolean',
|
|
58
61
|
category: 'string',
|
|
59
62
|
encrypted: 'string',
|
|
60
63
|
performanceLevel: 'string',
|
|
64
|
+
provisionedIops: 'number',
|
|
61
65
|
size: 'number',
|
|
62
66
|
};
|
|
63
67
|
}
|
|
@@ -85,6 +89,40 @@ class MaintenanceWindow extends $tea.Model {
|
|
|
85
89
|
}
|
|
86
90
|
}
|
|
87
91
|
exports.MaintenanceWindow = MaintenanceWindow;
|
|
92
|
+
class Nodepool extends $tea.Model {
|
|
93
|
+
constructor(map) {
|
|
94
|
+
super(map);
|
|
95
|
+
}
|
|
96
|
+
static names() {
|
|
97
|
+
return {
|
|
98
|
+
autoScaling: 'auto_scaling',
|
|
99
|
+
count: 'count',
|
|
100
|
+
interconnectConfig: 'interconnect_config',
|
|
101
|
+
interconnectMode: 'interconnect_mode',
|
|
102
|
+
kubernetesConfig: 'kubernetes_config',
|
|
103
|
+
management: 'management',
|
|
104
|
+
maxNodes: 'max_nodes',
|
|
105
|
+
nodepoolInfo: 'nodepool_info',
|
|
106
|
+
scalingGroup: 'scaling_group',
|
|
107
|
+
teeConfig: 'tee_config',
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
static types() {
|
|
111
|
+
return {
|
|
112
|
+
autoScaling: NodepoolAutoScaling,
|
|
113
|
+
count: 'number',
|
|
114
|
+
interconnectConfig: NodepoolInterconnectConfig,
|
|
115
|
+
interconnectMode: 'string',
|
|
116
|
+
kubernetesConfig: NodepoolKubernetesConfig,
|
|
117
|
+
management: NodepoolManagement,
|
|
118
|
+
maxNodes: 'number',
|
|
119
|
+
nodepoolInfo: NodepoolNodepoolInfo,
|
|
120
|
+
scalingGroup: NodepoolScalingGroup,
|
|
121
|
+
teeConfig: NodepoolTeeConfig,
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
exports.Nodepool = Nodepool;
|
|
88
126
|
class Runtime extends $tea.Model {
|
|
89
127
|
constructor(map) {
|
|
90
128
|
super(map);
|
|
@@ -569,6 +607,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
569
607
|
nodeCidrMask: 'node_cidr_mask',
|
|
570
608
|
nodeNameMode: 'node_name_mode',
|
|
571
609
|
nodePortRange: 'node_port_range',
|
|
610
|
+
nodepools: 'nodepools',
|
|
572
611
|
numOfNodes: 'num_of_nodes',
|
|
573
612
|
osType: 'os_type',
|
|
574
613
|
period: 'period',
|
|
@@ -661,6 +700,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
661
700
|
nodeCidrMask: 'string',
|
|
662
701
|
nodeNameMode: 'string',
|
|
663
702
|
nodePortRange: 'string',
|
|
703
|
+
nodepools: { 'type': 'array', 'itemType': Nodepool },
|
|
664
704
|
numOfNodes: 'number',
|
|
665
705
|
osType: 'string',
|
|
666
706
|
period: 'number',
|
|
@@ -5471,6 +5511,306 @@ class UpgradeClusterNodepoolResponse extends $tea.Model {
|
|
|
5471
5511
|
}
|
|
5472
5512
|
}
|
|
5473
5513
|
exports.UpgradeClusterNodepoolResponse = UpgradeClusterNodepoolResponse;
|
|
5514
|
+
class NodepoolAutoScaling extends $tea.Model {
|
|
5515
|
+
constructor(map) {
|
|
5516
|
+
super(map);
|
|
5517
|
+
}
|
|
5518
|
+
static names() {
|
|
5519
|
+
return {
|
|
5520
|
+
eipBandwidth: 'eip_bandwidth',
|
|
5521
|
+
eipInternetChargeType: 'eip_internet_charge_type',
|
|
5522
|
+
enable: 'enable',
|
|
5523
|
+
isBondEip: 'is_bond_eip',
|
|
5524
|
+
maxInstances: 'max_instances',
|
|
5525
|
+
minInstances: 'min_instances',
|
|
5526
|
+
type: 'type',
|
|
5527
|
+
};
|
|
5528
|
+
}
|
|
5529
|
+
static types() {
|
|
5530
|
+
return {
|
|
5531
|
+
eipBandwidth: 'number',
|
|
5532
|
+
eipInternetChargeType: 'string',
|
|
5533
|
+
enable: 'boolean',
|
|
5534
|
+
isBondEip: 'boolean',
|
|
5535
|
+
maxInstances: 'number',
|
|
5536
|
+
minInstances: 'number',
|
|
5537
|
+
type: 'string',
|
|
5538
|
+
};
|
|
5539
|
+
}
|
|
5540
|
+
}
|
|
5541
|
+
exports.NodepoolAutoScaling = NodepoolAutoScaling;
|
|
5542
|
+
class NodepoolInterconnectConfig extends $tea.Model {
|
|
5543
|
+
constructor(map) {
|
|
5544
|
+
super(map);
|
|
5545
|
+
}
|
|
5546
|
+
static names() {
|
|
5547
|
+
return {
|
|
5548
|
+
bandwidth: 'bandwidth',
|
|
5549
|
+
ccnId: 'ccn_id',
|
|
5550
|
+
ccnRegionId: 'ccn_region_id',
|
|
5551
|
+
cenId: 'cen_id',
|
|
5552
|
+
improvedPeriod: 'improved_period',
|
|
5553
|
+
};
|
|
5554
|
+
}
|
|
5555
|
+
static types() {
|
|
5556
|
+
return {
|
|
5557
|
+
bandwidth: 'number',
|
|
5558
|
+
ccnId: 'string',
|
|
5559
|
+
ccnRegionId: 'string',
|
|
5560
|
+
cenId: 'string',
|
|
5561
|
+
improvedPeriod: 'string',
|
|
5562
|
+
};
|
|
5563
|
+
}
|
|
5564
|
+
}
|
|
5565
|
+
exports.NodepoolInterconnectConfig = NodepoolInterconnectConfig;
|
|
5566
|
+
class NodepoolKubernetesConfig extends $tea.Model {
|
|
5567
|
+
constructor(map) {
|
|
5568
|
+
super(map);
|
|
5569
|
+
}
|
|
5570
|
+
static names() {
|
|
5571
|
+
return {
|
|
5572
|
+
cmsEnabled: 'cms_enabled',
|
|
5573
|
+
cpuPolicy: 'cpu_policy',
|
|
5574
|
+
labels: 'labels',
|
|
5575
|
+
nodeNameMode: 'node_name_mode',
|
|
5576
|
+
runtime: 'runtime',
|
|
5577
|
+
runtimeVersion: 'runtime_version',
|
|
5578
|
+
taints: 'taints',
|
|
5579
|
+
userData: 'user_data',
|
|
5580
|
+
};
|
|
5581
|
+
}
|
|
5582
|
+
static types() {
|
|
5583
|
+
return {
|
|
5584
|
+
cmsEnabled: 'boolean',
|
|
5585
|
+
cpuPolicy: 'string',
|
|
5586
|
+
labels: { 'type': 'array', 'itemType': Tag },
|
|
5587
|
+
nodeNameMode: 'string',
|
|
5588
|
+
runtime: 'string',
|
|
5589
|
+
runtimeVersion: 'string',
|
|
5590
|
+
taints: { 'type': 'array', 'itemType': Taint },
|
|
5591
|
+
userData: 'string',
|
|
5592
|
+
};
|
|
5593
|
+
}
|
|
5594
|
+
}
|
|
5595
|
+
exports.NodepoolKubernetesConfig = NodepoolKubernetesConfig;
|
|
5596
|
+
class NodepoolManagementUpgradeConfig extends $tea.Model {
|
|
5597
|
+
constructor(map) {
|
|
5598
|
+
super(map);
|
|
5599
|
+
}
|
|
5600
|
+
static names() {
|
|
5601
|
+
return {
|
|
5602
|
+
autoUpgrade: 'auto_upgrade',
|
|
5603
|
+
maxUnavailable: 'max_unavailable',
|
|
5604
|
+
surge: 'surge',
|
|
5605
|
+
surgePercentage: 'surge_percentage',
|
|
5606
|
+
};
|
|
5607
|
+
}
|
|
5608
|
+
static types() {
|
|
5609
|
+
return {
|
|
5610
|
+
autoUpgrade: 'boolean',
|
|
5611
|
+
maxUnavailable: 'number',
|
|
5612
|
+
surge: 'number',
|
|
5613
|
+
surgePercentage: 'number',
|
|
5614
|
+
};
|
|
5615
|
+
}
|
|
5616
|
+
}
|
|
5617
|
+
exports.NodepoolManagementUpgradeConfig = NodepoolManagementUpgradeConfig;
|
|
5618
|
+
class NodepoolManagement extends $tea.Model {
|
|
5619
|
+
constructor(map) {
|
|
5620
|
+
super(map);
|
|
5621
|
+
}
|
|
5622
|
+
static names() {
|
|
5623
|
+
return {
|
|
5624
|
+
autoRepair: 'auto_repair',
|
|
5625
|
+
enable: 'enable',
|
|
5626
|
+
upgradeConfig: 'upgrade_config',
|
|
5627
|
+
};
|
|
5628
|
+
}
|
|
5629
|
+
static types() {
|
|
5630
|
+
return {
|
|
5631
|
+
autoRepair: 'boolean',
|
|
5632
|
+
enable: 'boolean',
|
|
5633
|
+
upgradeConfig: NodepoolManagementUpgradeConfig,
|
|
5634
|
+
};
|
|
5635
|
+
}
|
|
5636
|
+
}
|
|
5637
|
+
exports.NodepoolManagement = NodepoolManagement;
|
|
5638
|
+
class NodepoolNodepoolInfo extends $tea.Model {
|
|
5639
|
+
constructor(map) {
|
|
5640
|
+
super(map);
|
|
5641
|
+
}
|
|
5642
|
+
static names() {
|
|
5643
|
+
return {
|
|
5644
|
+
name: 'name',
|
|
5645
|
+
resourceGroupId: 'resource_group_id',
|
|
5646
|
+
type: 'type',
|
|
5647
|
+
};
|
|
5648
|
+
}
|
|
5649
|
+
static types() {
|
|
5650
|
+
return {
|
|
5651
|
+
name: 'string',
|
|
5652
|
+
resourceGroupId: 'string',
|
|
5653
|
+
type: 'string',
|
|
5654
|
+
};
|
|
5655
|
+
}
|
|
5656
|
+
}
|
|
5657
|
+
exports.NodepoolNodepoolInfo = NodepoolNodepoolInfo;
|
|
5658
|
+
class NodepoolScalingGroupPrivatePoolOptions extends $tea.Model {
|
|
5659
|
+
constructor(map) {
|
|
5660
|
+
super(map);
|
|
5661
|
+
}
|
|
5662
|
+
static names() {
|
|
5663
|
+
return {
|
|
5664
|
+
id: 'id',
|
|
5665
|
+
matchCriteria: 'match_criteria',
|
|
5666
|
+
};
|
|
5667
|
+
}
|
|
5668
|
+
static types() {
|
|
5669
|
+
return {
|
|
5670
|
+
id: 'string',
|
|
5671
|
+
matchCriteria: 'string',
|
|
5672
|
+
};
|
|
5673
|
+
}
|
|
5674
|
+
}
|
|
5675
|
+
exports.NodepoolScalingGroupPrivatePoolOptions = NodepoolScalingGroupPrivatePoolOptions;
|
|
5676
|
+
class NodepoolScalingGroupSpotPriceLimit extends $tea.Model {
|
|
5677
|
+
constructor(map) {
|
|
5678
|
+
super(map);
|
|
5679
|
+
}
|
|
5680
|
+
static names() {
|
|
5681
|
+
return {
|
|
5682
|
+
instanceType: 'instance_type',
|
|
5683
|
+
priceLimit: 'price_limit',
|
|
5684
|
+
};
|
|
5685
|
+
}
|
|
5686
|
+
static types() {
|
|
5687
|
+
return {
|
|
5688
|
+
instanceType: 'string',
|
|
5689
|
+
priceLimit: 'string',
|
|
5690
|
+
};
|
|
5691
|
+
}
|
|
5692
|
+
}
|
|
5693
|
+
exports.NodepoolScalingGroupSpotPriceLimit = NodepoolScalingGroupSpotPriceLimit;
|
|
5694
|
+
class NodepoolScalingGroupTags extends $tea.Model {
|
|
5695
|
+
constructor(map) {
|
|
5696
|
+
super(map);
|
|
5697
|
+
}
|
|
5698
|
+
static names() {
|
|
5699
|
+
return {
|
|
5700
|
+
key: 'key',
|
|
5701
|
+
value: 'value',
|
|
5702
|
+
};
|
|
5703
|
+
}
|
|
5704
|
+
static types() {
|
|
5705
|
+
return {
|
|
5706
|
+
key: 'string',
|
|
5707
|
+
value: 'string',
|
|
5708
|
+
};
|
|
5709
|
+
}
|
|
5710
|
+
}
|
|
5711
|
+
exports.NodepoolScalingGroupTags = NodepoolScalingGroupTags;
|
|
5712
|
+
class NodepoolScalingGroup extends $tea.Model {
|
|
5713
|
+
constructor(map) {
|
|
5714
|
+
super(map);
|
|
5715
|
+
}
|
|
5716
|
+
static names() {
|
|
5717
|
+
return {
|
|
5718
|
+
autoRenew: 'auto_renew',
|
|
5719
|
+
autoRenewPeriod: 'auto_renew_period',
|
|
5720
|
+
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
5721
|
+
dataDisks: 'data_disks',
|
|
5722
|
+
deploymentsetId: 'deploymentset_id',
|
|
5723
|
+
desiredSize: 'desired_size',
|
|
5724
|
+
imageId: 'image_id',
|
|
5725
|
+
imageType: 'image_type',
|
|
5726
|
+
instanceChargeType: 'instance_charge_type',
|
|
5727
|
+
instanceTypes: 'instance_types',
|
|
5728
|
+
internetChargeType: 'internet_charge_type',
|
|
5729
|
+
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
5730
|
+
keyPair: 'key_pair',
|
|
5731
|
+
loginPassword: 'login_password',
|
|
5732
|
+
multiAzPolicy: 'multi_az_policy',
|
|
5733
|
+
onDemandBaseCapacity: 'on_demand_base_capacity',
|
|
5734
|
+
onDemandPercentageAboveBaseCapacity: 'on_demand_percentage_above_base_capacity',
|
|
5735
|
+
period: 'period',
|
|
5736
|
+
periodUnit: 'period_unit',
|
|
5737
|
+
platform: 'platform',
|
|
5738
|
+
privatePoolOptions: 'private_pool_options',
|
|
5739
|
+
rdsInstances: 'rds_instances',
|
|
5740
|
+
scalingPolicy: 'scaling_policy',
|
|
5741
|
+
securityGroupId: 'security_group_id',
|
|
5742
|
+
securityGroupIds: 'security_group_ids',
|
|
5743
|
+
spotInstancePools: 'spot_instance_pools',
|
|
5744
|
+
spotInstanceRemedy: 'spot_instance_remedy',
|
|
5745
|
+
spotPriceLimit: 'spot_price_limit',
|
|
5746
|
+
spotStrategy: 'spot_strategy',
|
|
5747
|
+
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
5748
|
+
systemDiskCategory: 'system_disk_category',
|
|
5749
|
+
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
5750
|
+
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
5751
|
+
systemDiskSize: 'system_disk_size',
|
|
5752
|
+
tags: 'tags',
|
|
5753
|
+
vswitchIds: 'vswitch_ids',
|
|
5754
|
+
};
|
|
5755
|
+
}
|
|
5756
|
+
static types() {
|
|
5757
|
+
return {
|
|
5758
|
+
autoRenew: 'boolean',
|
|
5759
|
+
autoRenewPeriod: 'number',
|
|
5760
|
+
compensateWithOnDemand: 'boolean',
|
|
5761
|
+
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
5762
|
+
deploymentsetId: 'string',
|
|
5763
|
+
desiredSize: 'number',
|
|
5764
|
+
imageId: 'string',
|
|
5765
|
+
imageType: 'string',
|
|
5766
|
+
instanceChargeType: 'string',
|
|
5767
|
+
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
5768
|
+
internetChargeType: 'string',
|
|
5769
|
+
internetMaxBandwidthOut: 'number',
|
|
5770
|
+
keyPair: 'string',
|
|
5771
|
+
loginPassword: 'string',
|
|
5772
|
+
multiAzPolicy: 'string',
|
|
5773
|
+
onDemandBaseCapacity: 'number',
|
|
5774
|
+
onDemandPercentageAboveBaseCapacity: 'number',
|
|
5775
|
+
period: 'number',
|
|
5776
|
+
periodUnit: 'string',
|
|
5777
|
+
platform: 'string',
|
|
5778
|
+
privatePoolOptions: NodepoolScalingGroupPrivatePoolOptions,
|
|
5779
|
+
rdsInstances: { 'type': 'array', 'itemType': 'string' },
|
|
5780
|
+
scalingPolicy: 'string',
|
|
5781
|
+
securityGroupId: 'string',
|
|
5782
|
+
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
5783
|
+
spotInstancePools: 'number',
|
|
5784
|
+
spotInstanceRemedy: 'boolean',
|
|
5785
|
+
spotPriceLimit: { 'type': 'array', 'itemType': NodepoolScalingGroupSpotPriceLimit },
|
|
5786
|
+
spotStrategy: 'string',
|
|
5787
|
+
systemDiskBurstingEnabled: 'boolean',
|
|
5788
|
+
systemDiskCategory: 'string',
|
|
5789
|
+
systemDiskPerformanceLevel: 'string',
|
|
5790
|
+
systemDiskProvisionedIops: 'number',
|
|
5791
|
+
systemDiskSize: 'number',
|
|
5792
|
+
tags: { 'type': 'array', 'itemType': NodepoolScalingGroupTags },
|
|
5793
|
+
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
5794
|
+
};
|
|
5795
|
+
}
|
|
5796
|
+
}
|
|
5797
|
+
exports.NodepoolScalingGroup = NodepoolScalingGroup;
|
|
5798
|
+
class NodepoolTeeConfig extends $tea.Model {
|
|
5799
|
+
constructor(map) {
|
|
5800
|
+
super(map);
|
|
5801
|
+
}
|
|
5802
|
+
static names() {
|
|
5803
|
+
return {
|
|
5804
|
+
teeEnable: 'tee_enable',
|
|
5805
|
+
};
|
|
5806
|
+
}
|
|
5807
|
+
static types() {
|
|
5808
|
+
return {
|
|
5809
|
+
teeEnable: 'boolean',
|
|
5810
|
+
};
|
|
5811
|
+
}
|
|
5812
|
+
}
|
|
5813
|
+
exports.NodepoolTeeConfig = NodepoolTeeConfig;
|
|
5474
5814
|
class AttachInstancesResponseBodyList extends $tea.Model {
|
|
5475
5815
|
constructor(map) {
|
|
5476
5816
|
super(map);
|
|
@@ -5746,8 +6086,10 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
5746
6086
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
5747
6087
|
spotPriceLimit: 'spot_price_limit',
|
|
5748
6088
|
spotStrategy: 'spot_strategy',
|
|
6089
|
+
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
5749
6090
|
systemDiskCategory: 'system_disk_category',
|
|
5750
6091
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
6092
|
+
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
5751
6093
|
systemDiskSize: 'system_disk_size',
|
|
5752
6094
|
tags: 'tags',
|
|
5753
6095
|
vswitchIds: 'vswitch_ids',
|
|
@@ -5784,8 +6126,10 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
5784
6126
|
spotInstanceRemedy: 'boolean',
|
|
5785
6127
|
spotPriceLimit: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupSpotPriceLimit },
|
|
5786
6128
|
spotStrategy: 'string',
|
|
6129
|
+
systemDiskBurstingEnabled: 'boolean',
|
|
5787
6130
|
systemDiskCategory: 'string',
|
|
5788
6131
|
systemDiskPerformanceLevel: 'string',
|
|
6132
|
+
systemDiskProvisionedIops: 'number',
|
|
5789
6133
|
systemDiskSize: 'number',
|
|
5790
6134
|
tags: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupTags },
|
|
5791
6135
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -8845,6 +9189,9 @@ class Client extends openapi_client_1.default {
|
|
|
8845
9189
|
if (!tea_util_1.default.isUnset(request.nodePortRange)) {
|
|
8846
9190
|
body["node_port_range"] = request.nodePortRange;
|
|
8847
9191
|
}
|
|
9192
|
+
if (!tea_util_1.default.isUnset(request.nodepools)) {
|
|
9193
|
+
body["nodepools"] = request.nodepools;
|
|
9194
|
+
}
|
|
8848
9195
|
if (!tea_util_1.default.isUnset(request.numOfNodes)) {
|
|
8849
9196
|
body["num_of_nodes"] = request.numOfNodes;
|
|
8850
9197
|
}
|