@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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -35,16 +35,20 @@ export class Addon extends $tea.Model {
|
|
|
35
35
|
|
|
36
36
|
export class DataDisk extends $tea.Model {
|
|
37
37
|
autoSnapshotPolicyId?: string;
|
|
38
|
+
burstingEnabled?: boolean;
|
|
38
39
|
category?: string;
|
|
39
40
|
encrypted?: string;
|
|
40
41
|
performanceLevel?: string;
|
|
42
|
+
provisionedIops?: number;
|
|
41
43
|
size?: number;
|
|
42
44
|
static names(): { [key: string]: string } {
|
|
43
45
|
return {
|
|
44
46
|
autoSnapshotPolicyId: 'auto_snapshot_policy_id',
|
|
47
|
+
burstingEnabled: 'bursting_enabled',
|
|
45
48
|
category: 'category',
|
|
46
49
|
encrypted: 'encrypted',
|
|
47
50
|
performanceLevel: 'performance_level',
|
|
51
|
+
provisionedIops: 'provisioned_iops',
|
|
48
52
|
size: 'size',
|
|
49
53
|
};
|
|
50
54
|
}
|
|
@@ -52,9 +56,11 @@ export class DataDisk extends $tea.Model {
|
|
|
52
56
|
static types(): { [key: string]: any } {
|
|
53
57
|
return {
|
|
54
58
|
autoSnapshotPolicyId: 'string',
|
|
59
|
+
burstingEnabled: 'boolean',
|
|
55
60
|
category: 'string',
|
|
56
61
|
encrypted: 'string',
|
|
57
62
|
performanceLevel: 'string',
|
|
63
|
+
provisionedIops: 'number',
|
|
58
64
|
size: 'number',
|
|
59
65
|
};
|
|
60
66
|
}
|
|
@@ -92,6 +98,52 @@ export class MaintenanceWindow extends $tea.Model {
|
|
|
92
98
|
}
|
|
93
99
|
}
|
|
94
100
|
|
|
101
|
+
export class Nodepool extends $tea.Model {
|
|
102
|
+
autoScaling?: NodepoolAutoScaling;
|
|
103
|
+
count?: number;
|
|
104
|
+
interconnectConfig?: NodepoolInterconnectConfig;
|
|
105
|
+
interconnectMode?: string;
|
|
106
|
+
kubernetesConfig?: NodepoolKubernetesConfig;
|
|
107
|
+
management?: NodepoolManagement;
|
|
108
|
+
maxNodes?: number;
|
|
109
|
+
nodepoolInfo?: NodepoolNodepoolInfo;
|
|
110
|
+
scalingGroup?: NodepoolScalingGroup;
|
|
111
|
+
teeConfig?: NodepoolTeeConfig;
|
|
112
|
+
static names(): { [key: string]: string } {
|
|
113
|
+
return {
|
|
114
|
+
autoScaling: 'auto_scaling',
|
|
115
|
+
count: 'count',
|
|
116
|
+
interconnectConfig: 'interconnect_config',
|
|
117
|
+
interconnectMode: 'interconnect_mode',
|
|
118
|
+
kubernetesConfig: 'kubernetes_config',
|
|
119
|
+
management: 'management',
|
|
120
|
+
maxNodes: 'max_nodes',
|
|
121
|
+
nodepoolInfo: 'nodepool_info',
|
|
122
|
+
scalingGroup: 'scaling_group',
|
|
123
|
+
teeConfig: 'tee_config',
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
static types(): { [key: string]: any } {
|
|
128
|
+
return {
|
|
129
|
+
autoScaling: NodepoolAutoScaling,
|
|
130
|
+
count: 'number',
|
|
131
|
+
interconnectConfig: NodepoolInterconnectConfig,
|
|
132
|
+
interconnectMode: 'string',
|
|
133
|
+
kubernetesConfig: NodepoolKubernetesConfig,
|
|
134
|
+
management: NodepoolManagement,
|
|
135
|
+
maxNodes: 'number',
|
|
136
|
+
nodepoolInfo: NodepoolNodepoolInfo,
|
|
137
|
+
scalingGroup: NodepoolScalingGroup,
|
|
138
|
+
teeConfig: NodepoolTeeConfig,
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
constructor(map?: { [key: string]: any }) {
|
|
143
|
+
super(map);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
95
147
|
export class Runtime extends $tea.Model {
|
|
96
148
|
name?: string;
|
|
97
149
|
version?: string;
|
|
@@ -686,6 +738,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
686
738
|
nodeCidrMask?: string;
|
|
687
739
|
nodeNameMode?: string;
|
|
688
740
|
nodePortRange?: string;
|
|
741
|
+
nodepools?: Nodepool[];
|
|
689
742
|
numOfNodes?: number;
|
|
690
743
|
osType?: string;
|
|
691
744
|
period?: number;
|
|
@@ -776,6 +829,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
776
829
|
nodeCidrMask: 'node_cidr_mask',
|
|
777
830
|
nodeNameMode: 'node_name_mode',
|
|
778
831
|
nodePortRange: 'node_port_range',
|
|
832
|
+
nodepools: 'nodepools',
|
|
779
833
|
numOfNodes: 'num_of_nodes',
|
|
780
834
|
osType: 'os_type',
|
|
781
835
|
period: 'period',
|
|
@@ -869,6 +923,7 @@ export class CreateClusterRequest extends $tea.Model {
|
|
|
869
923
|
nodeCidrMask: 'string',
|
|
870
924
|
nodeNameMode: 'string',
|
|
871
925
|
nodePortRange: 'string',
|
|
926
|
+
nodepools: { 'type': 'array', 'itemType': Nodepool },
|
|
872
927
|
numOfNodes: 'number',
|
|
873
928
|
osType: 'string',
|
|
874
929
|
period: 'number',
|
|
@@ -6901,6 +6956,401 @@ export class UpgradeClusterNodepoolResponse extends $tea.Model {
|
|
|
6901
6956
|
}
|
|
6902
6957
|
}
|
|
6903
6958
|
|
|
6959
|
+
export class NodepoolAutoScaling extends $tea.Model {
|
|
6960
|
+
eipBandwidth?: number;
|
|
6961
|
+
eipInternetChargeType?: string;
|
|
6962
|
+
enable?: boolean;
|
|
6963
|
+
isBondEip?: boolean;
|
|
6964
|
+
maxInstances?: number;
|
|
6965
|
+
minInstances?: number;
|
|
6966
|
+
type?: string;
|
|
6967
|
+
static names(): { [key: string]: string } {
|
|
6968
|
+
return {
|
|
6969
|
+
eipBandwidth: 'eip_bandwidth',
|
|
6970
|
+
eipInternetChargeType: 'eip_internet_charge_type',
|
|
6971
|
+
enable: 'enable',
|
|
6972
|
+
isBondEip: 'is_bond_eip',
|
|
6973
|
+
maxInstances: 'max_instances',
|
|
6974
|
+
minInstances: 'min_instances',
|
|
6975
|
+
type: 'type',
|
|
6976
|
+
};
|
|
6977
|
+
}
|
|
6978
|
+
|
|
6979
|
+
static types(): { [key: string]: any } {
|
|
6980
|
+
return {
|
|
6981
|
+
eipBandwidth: 'number',
|
|
6982
|
+
eipInternetChargeType: 'string',
|
|
6983
|
+
enable: 'boolean',
|
|
6984
|
+
isBondEip: 'boolean',
|
|
6985
|
+
maxInstances: 'number',
|
|
6986
|
+
minInstances: 'number',
|
|
6987
|
+
type: 'string',
|
|
6988
|
+
};
|
|
6989
|
+
}
|
|
6990
|
+
|
|
6991
|
+
constructor(map?: { [key: string]: any }) {
|
|
6992
|
+
super(map);
|
|
6993
|
+
}
|
|
6994
|
+
}
|
|
6995
|
+
|
|
6996
|
+
export class NodepoolInterconnectConfig extends $tea.Model {
|
|
6997
|
+
bandwidth?: number;
|
|
6998
|
+
ccnId?: string;
|
|
6999
|
+
ccnRegionId?: string;
|
|
7000
|
+
cenId?: string;
|
|
7001
|
+
improvedPeriod?: string;
|
|
7002
|
+
static names(): { [key: string]: string } {
|
|
7003
|
+
return {
|
|
7004
|
+
bandwidth: 'bandwidth',
|
|
7005
|
+
ccnId: 'ccn_id',
|
|
7006
|
+
ccnRegionId: 'ccn_region_id',
|
|
7007
|
+
cenId: 'cen_id',
|
|
7008
|
+
improvedPeriod: 'improved_period',
|
|
7009
|
+
};
|
|
7010
|
+
}
|
|
7011
|
+
|
|
7012
|
+
static types(): { [key: string]: any } {
|
|
7013
|
+
return {
|
|
7014
|
+
bandwidth: 'number',
|
|
7015
|
+
ccnId: 'string',
|
|
7016
|
+
ccnRegionId: 'string',
|
|
7017
|
+
cenId: 'string',
|
|
7018
|
+
improvedPeriod: 'string',
|
|
7019
|
+
};
|
|
7020
|
+
}
|
|
7021
|
+
|
|
7022
|
+
constructor(map?: { [key: string]: any }) {
|
|
7023
|
+
super(map);
|
|
7024
|
+
}
|
|
7025
|
+
}
|
|
7026
|
+
|
|
7027
|
+
export class NodepoolKubernetesConfig extends $tea.Model {
|
|
7028
|
+
cmsEnabled?: boolean;
|
|
7029
|
+
cpuPolicy?: string;
|
|
7030
|
+
labels?: Tag[];
|
|
7031
|
+
nodeNameMode?: string;
|
|
7032
|
+
runtime?: string;
|
|
7033
|
+
runtimeVersion?: string;
|
|
7034
|
+
taints?: Taint[];
|
|
7035
|
+
userData?: string;
|
|
7036
|
+
static names(): { [key: string]: string } {
|
|
7037
|
+
return {
|
|
7038
|
+
cmsEnabled: 'cms_enabled',
|
|
7039
|
+
cpuPolicy: 'cpu_policy',
|
|
7040
|
+
labels: 'labels',
|
|
7041
|
+
nodeNameMode: 'node_name_mode',
|
|
7042
|
+
runtime: 'runtime',
|
|
7043
|
+
runtimeVersion: 'runtime_version',
|
|
7044
|
+
taints: 'taints',
|
|
7045
|
+
userData: 'user_data',
|
|
7046
|
+
};
|
|
7047
|
+
}
|
|
7048
|
+
|
|
7049
|
+
static types(): { [key: string]: any } {
|
|
7050
|
+
return {
|
|
7051
|
+
cmsEnabled: 'boolean',
|
|
7052
|
+
cpuPolicy: 'string',
|
|
7053
|
+
labels: { 'type': 'array', 'itemType': Tag },
|
|
7054
|
+
nodeNameMode: 'string',
|
|
7055
|
+
runtime: 'string',
|
|
7056
|
+
runtimeVersion: 'string',
|
|
7057
|
+
taints: { 'type': 'array', 'itemType': Taint },
|
|
7058
|
+
userData: 'string',
|
|
7059
|
+
};
|
|
7060
|
+
}
|
|
7061
|
+
|
|
7062
|
+
constructor(map?: { [key: string]: any }) {
|
|
7063
|
+
super(map);
|
|
7064
|
+
}
|
|
7065
|
+
}
|
|
7066
|
+
|
|
7067
|
+
export class NodepoolManagementUpgradeConfig extends $tea.Model {
|
|
7068
|
+
autoUpgrade?: boolean;
|
|
7069
|
+
maxUnavailable?: number;
|
|
7070
|
+
surge?: number;
|
|
7071
|
+
surgePercentage?: number;
|
|
7072
|
+
static names(): { [key: string]: string } {
|
|
7073
|
+
return {
|
|
7074
|
+
autoUpgrade: 'auto_upgrade',
|
|
7075
|
+
maxUnavailable: 'max_unavailable',
|
|
7076
|
+
surge: 'surge',
|
|
7077
|
+
surgePercentage: 'surge_percentage',
|
|
7078
|
+
};
|
|
7079
|
+
}
|
|
7080
|
+
|
|
7081
|
+
static types(): { [key: string]: any } {
|
|
7082
|
+
return {
|
|
7083
|
+
autoUpgrade: 'boolean',
|
|
7084
|
+
maxUnavailable: 'number',
|
|
7085
|
+
surge: 'number',
|
|
7086
|
+
surgePercentage: 'number',
|
|
7087
|
+
};
|
|
7088
|
+
}
|
|
7089
|
+
|
|
7090
|
+
constructor(map?: { [key: string]: any }) {
|
|
7091
|
+
super(map);
|
|
7092
|
+
}
|
|
7093
|
+
}
|
|
7094
|
+
|
|
7095
|
+
export class NodepoolManagement extends $tea.Model {
|
|
7096
|
+
autoRepair?: boolean;
|
|
7097
|
+
enable?: boolean;
|
|
7098
|
+
upgradeConfig?: NodepoolManagementUpgradeConfig;
|
|
7099
|
+
static names(): { [key: string]: string } {
|
|
7100
|
+
return {
|
|
7101
|
+
autoRepair: 'auto_repair',
|
|
7102
|
+
enable: 'enable',
|
|
7103
|
+
upgradeConfig: 'upgrade_config',
|
|
7104
|
+
};
|
|
7105
|
+
}
|
|
7106
|
+
|
|
7107
|
+
static types(): { [key: string]: any } {
|
|
7108
|
+
return {
|
|
7109
|
+
autoRepair: 'boolean',
|
|
7110
|
+
enable: 'boolean',
|
|
7111
|
+
upgradeConfig: NodepoolManagementUpgradeConfig,
|
|
7112
|
+
};
|
|
7113
|
+
}
|
|
7114
|
+
|
|
7115
|
+
constructor(map?: { [key: string]: any }) {
|
|
7116
|
+
super(map);
|
|
7117
|
+
}
|
|
7118
|
+
}
|
|
7119
|
+
|
|
7120
|
+
export class NodepoolNodepoolInfo extends $tea.Model {
|
|
7121
|
+
name?: string;
|
|
7122
|
+
resourceGroupId?: string;
|
|
7123
|
+
type?: string;
|
|
7124
|
+
static names(): { [key: string]: string } {
|
|
7125
|
+
return {
|
|
7126
|
+
name: 'name',
|
|
7127
|
+
resourceGroupId: 'resource_group_id',
|
|
7128
|
+
type: 'type',
|
|
7129
|
+
};
|
|
7130
|
+
}
|
|
7131
|
+
|
|
7132
|
+
static types(): { [key: string]: any } {
|
|
7133
|
+
return {
|
|
7134
|
+
name: 'string',
|
|
7135
|
+
resourceGroupId: 'string',
|
|
7136
|
+
type: 'string',
|
|
7137
|
+
};
|
|
7138
|
+
}
|
|
7139
|
+
|
|
7140
|
+
constructor(map?: { [key: string]: any }) {
|
|
7141
|
+
super(map);
|
|
7142
|
+
}
|
|
7143
|
+
}
|
|
7144
|
+
|
|
7145
|
+
export class NodepoolScalingGroupPrivatePoolOptions extends $tea.Model {
|
|
7146
|
+
id?: string;
|
|
7147
|
+
matchCriteria?: string;
|
|
7148
|
+
static names(): { [key: string]: string } {
|
|
7149
|
+
return {
|
|
7150
|
+
id: 'id',
|
|
7151
|
+
matchCriteria: 'match_criteria',
|
|
7152
|
+
};
|
|
7153
|
+
}
|
|
7154
|
+
|
|
7155
|
+
static types(): { [key: string]: any } {
|
|
7156
|
+
return {
|
|
7157
|
+
id: 'string',
|
|
7158
|
+
matchCriteria: 'string',
|
|
7159
|
+
};
|
|
7160
|
+
}
|
|
7161
|
+
|
|
7162
|
+
constructor(map?: { [key: string]: any }) {
|
|
7163
|
+
super(map);
|
|
7164
|
+
}
|
|
7165
|
+
}
|
|
7166
|
+
|
|
7167
|
+
export class NodepoolScalingGroupSpotPriceLimit extends $tea.Model {
|
|
7168
|
+
instanceType?: string;
|
|
7169
|
+
priceLimit?: string;
|
|
7170
|
+
static names(): { [key: string]: string } {
|
|
7171
|
+
return {
|
|
7172
|
+
instanceType: 'instance_type',
|
|
7173
|
+
priceLimit: 'price_limit',
|
|
7174
|
+
};
|
|
7175
|
+
}
|
|
7176
|
+
|
|
7177
|
+
static types(): { [key: string]: any } {
|
|
7178
|
+
return {
|
|
7179
|
+
instanceType: 'string',
|
|
7180
|
+
priceLimit: 'string',
|
|
7181
|
+
};
|
|
7182
|
+
}
|
|
7183
|
+
|
|
7184
|
+
constructor(map?: { [key: string]: any }) {
|
|
7185
|
+
super(map);
|
|
7186
|
+
}
|
|
7187
|
+
}
|
|
7188
|
+
|
|
7189
|
+
export class NodepoolScalingGroupTags extends $tea.Model {
|
|
7190
|
+
key?: string;
|
|
7191
|
+
value?: string;
|
|
7192
|
+
static names(): { [key: string]: string } {
|
|
7193
|
+
return {
|
|
7194
|
+
key: 'key',
|
|
7195
|
+
value: 'value',
|
|
7196
|
+
};
|
|
7197
|
+
}
|
|
7198
|
+
|
|
7199
|
+
static types(): { [key: string]: any } {
|
|
7200
|
+
return {
|
|
7201
|
+
key: 'string',
|
|
7202
|
+
value: 'string',
|
|
7203
|
+
};
|
|
7204
|
+
}
|
|
7205
|
+
|
|
7206
|
+
constructor(map?: { [key: string]: any }) {
|
|
7207
|
+
super(map);
|
|
7208
|
+
}
|
|
7209
|
+
}
|
|
7210
|
+
|
|
7211
|
+
export class NodepoolScalingGroup extends $tea.Model {
|
|
7212
|
+
autoRenew?: boolean;
|
|
7213
|
+
autoRenewPeriod?: number;
|
|
7214
|
+
compensateWithOnDemand?: boolean;
|
|
7215
|
+
dataDisks?: DataDisk[];
|
|
7216
|
+
deploymentsetId?: string;
|
|
7217
|
+
desiredSize?: number;
|
|
7218
|
+
imageId?: string;
|
|
7219
|
+
imageType?: string;
|
|
7220
|
+
instanceChargeType?: string;
|
|
7221
|
+
instanceTypes?: string[];
|
|
7222
|
+
internetChargeType?: string;
|
|
7223
|
+
internetMaxBandwidthOut?: number;
|
|
7224
|
+
keyPair?: string;
|
|
7225
|
+
loginPassword?: string;
|
|
7226
|
+
multiAzPolicy?: string;
|
|
7227
|
+
onDemandBaseCapacity?: number;
|
|
7228
|
+
onDemandPercentageAboveBaseCapacity?: number;
|
|
7229
|
+
period?: number;
|
|
7230
|
+
periodUnit?: string;
|
|
7231
|
+
platform?: string;
|
|
7232
|
+
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
7233
|
+
rdsInstances?: string[];
|
|
7234
|
+
scalingPolicy?: string;
|
|
7235
|
+
securityGroupId?: string;
|
|
7236
|
+
securityGroupIds?: string[];
|
|
7237
|
+
spotInstancePools?: number;
|
|
7238
|
+
spotInstanceRemedy?: boolean;
|
|
7239
|
+
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
7240
|
+
spotStrategy?: string;
|
|
7241
|
+
systemDiskBurstingEnabled?: boolean;
|
|
7242
|
+
systemDiskCategory?: string;
|
|
7243
|
+
systemDiskPerformanceLevel?: string;
|
|
7244
|
+
systemDiskProvisionedIops?: number;
|
|
7245
|
+
systemDiskSize?: number;
|
|
7246
|
+
tags?: NodepoolScalingGroupTags[];
|
|
7247
|
+
vswitchIds?: string[];
|
|
7248
|
+
static names(): { [key: string]: string } {
|
|
7249
|
+
return {
|
|
7250
|
+
autoRenew: 'auto_renew',
|
|
7251
|
+
autoRenewPeriod: 'auto_renew_period',
|
|
7252
|
+
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
7253
|
+
dataDisks: 'data_disks',
|
|
7254
|
+
deploymentsetId: 'deploymentset_id',
|
|
7255
|
+
desiredSize: 'desired_size',
|
|
7256
|
+
imageId: 'image_id',
|
|
7257
|
+
imageType: 'image_type',
|
|
7258
|
+
instanceChargeType: 'instance_charge_type',
|
|
7259
|
+
instanceTypes: 'instance_types',
|
|
7260
|
+
internetChargeType: 'internet_charge_type',
|
|
7261
|
+
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
7262
|
+
keyPair: 'key_pair',
|
|
7263
|
+
loginPassword: 'login_password',
|
|
7264
|
+
multiAzPolicy: 'multi_az_policy',
|
|
7265
|
+
onDemandBaseCapacity: 'on_demand_base_capacity',
|
|
7266
|
+
onDemandPercentageAboveBaseCapacity: 'on_demand_percentage_above_base_capacity',
|
|
7267
|
+
period: 'period',
|
|
7268
|
+
periodUnit: 'period_unit',
|
|
7269
|
+
platform: 'platform',
|
|
7270
|
+
privatePoolOptions: 'private_pool_options',
|
|
7271
|
+
rdsInstances: 'rds_instances',
|
|
7272
|
+
scalingPolicy: 'scaling_policy',
|
|
7273
|
+
securityGroupId: 'security_group_id',
|
|
7274
|
+
securityGroupIds: 'security_group_ids',
|
|
7275
|
+
spotInstancePools: 'spot_instance_pools',
|
|
7276
|
+
spotInstanceRemedy: 'spot_instance_remedy',
|
|
7277
|
+
spotPriceLimit: 'spot_price_limit',
|
|
7278
|
+
spotStrategy: 'spot_strategy',
|
|
7279
|
+
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
7280
|
+
systemDiskCategory: 'system_disk_category',
|
|
7281
|
+
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
7282
|
+
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
7283
|
+
systemDiskSize: 'system_disk_size',
|
|
7284
|
+
tags: 'tags',
|
|
7285
|
+
vswitchIds: 'vswitch_ids',
|
|
7286
|
+
};
|
|
7287
|
+
}
|
|
7288
|
+
|
|
7289
|
+
static types(): { [key: string]: any } {
|
|
7290
|
+
return {
|
|
7291
|
+
autoRenew: 'boolean',
|
|
7292
|
+
autoRenewPeriod: 'number',
|
|
7293
|
+
compensateWithOnDemand: 'boolean',
|
|
7294
|
+
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
7295
|
+
deploymentsetId: 'string',
|
|
7296
|
+
desiredSize: 'number',
|
|
7297
|
+
imageId: 'string',
|
|
7298
|
+
imageType: 'string',
|
|
7299
|
+
instanceChargeType: 'string',
|
|
7300
|
+
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
7301
|
+
internetChargeType: 'string',
|
|
7302
|
+
internetMaxBandwidthOut: 'number',
|
|
7303
|
+
keyPair: 'string',
|
|
7304
|
+
loginPassword: 'string',
|
|
7305
|
+
multiAzPolicy: 'string',
|
|
7306
|
+
onDemandBaseCapacity: 'number',
|
|
7307
|
+
onDemandPercentageAboveBaseCapacity: 'number',
|
|
7308
|
+
period: 'number',
|
|
7309
|
+
periodUnit: 'string',
|
|
7310
|
+
platform: 'string',
|
|
7311
|
+
privatePoolOptions: NodepoolScalingGroupPrivatePoolOptions,
|
|
7312
|
+
rdsInstances: { 'type': 'array', 'itemType': 'string' },
|
|
7313
|
+
scalingPolicy: 'string',
|
|
7314
|
+
securityGroupId: 'string',
|
|
7315
|
+
securityGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
7316
|
+
spotInstancePools: 'number',
|
|
7317
|
+
spotInstanceRemedy: 'boolean',
|
|
7318
|
+
spotPriceLimit: { 'type': 'array', 'itemType': NodepoolScalingGroupSpotPriceLimit },
|
|
7319
|
+
spotStrategy: 'string',
|
|
7320
|
+
systemDiskBurstingEnabled: 'boolean',
|
|
7321
|
+
systemDiskCategory: 'string',
|
|
7322
|
+
systemDiskPerformanceLevel: 'string',
|
|
7323
|
+
systemDiskProvisionedIops: 'number',
|
|
7324
|
+
systemDiskSize: 'number',
|
|
7325
|
+
tags: { 'type': 'array', 'itemType': NodepoolScalingGroupTags },
|
|
7326
|
+
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
7327
|
+
};
|
|
7328
|
+
}
|
|
7329
|
+
|
|
7330
|
+
constructor(map?: { [key: string]: any }) {
|
|
7331
|
+
super(map);
|
|
7332
|
+
}
|
|
7333
|
+
}
|
|
7334
|
+
|
|
7335
|
+
export class NodepoolTeeConfig extends $tea.Model {
|
|
7336
|
+
teeEnable?: boolean;
|
|
7337
|
+
static names(): { [key: string]: string } {
|
|
7338
|
+
return {
|
|
7339
|
+
teeEnable: 'tee_enable',
|
|
7340
|
+
};
|
|
7341
|
+
}
|
|
7342
|
+
|
|
7343
|
+
static types(): { [key: string]: any } {
|
|
7344
|
+
return {
|
|
7345
|
+
teeEnable: 'boolean',
|
|
7346
|
+
};
|
|
7347
|
+
}
|
|
7348
|
+
|
|
7349
|
+
constructor(map?: { [key: string]: any }) {
|
|
7350
|
+
super(map);
|
|
7351
|
+
}
|
|
7352
|
+
}
|
|
7353
|
+
|
|
6904
7354
|
export class AttachInstancesResponseBodyList extends $tea.Model {
|
|
6905
7355
|
code?: string;
|
|
6906
7356
|
instanceId?: string;
|
|
@@ -7236,8 +7686,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
7236
7686
|
spotInstanceRemedy?: boolean;
|
|
7237
7687
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
7238
7688
|
spotStrategy?: string;
|
|
7689
|
+
systemDiskBurstingEnabled?: boolean;
|
|
7239
7690
|
systemDiskCategory?: string;
|
|
7240
7691
|
systemDiskPerformanceLevel?: string;
|
|
7692
|
+
systemDiskProvisionedIops?: number;
|
|
7241
7693
|
systemDiskSize?: number;
|
|
7242
7694
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
7243
7695
|
vswitchIds?: string[];
|
|
@@ -7272,8 +7724,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
7272
7724
|
spotInstanceRemedy: 'spot_instance_remedy',
|
|
7273
7725
|
spotPriceLimit: 'spot_price_limit',
|
|
7274
7726
|
spotStrategy: 'spot_strategy',
|
|
7727
|
+
systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
|
|
7275
7728
|
systemDiskCategory: 'system_disk_category',
|
|
7276
7729
|
systemDiskPerformanceLevel: 'system_disk_performance_level',
|
|
7730
|
+
systemDiskProvisionedIops: 'system_disk_provisioned_iops',
|
|
7277
7731
|
systemDiskSize: 'system_disk_size',
|
|
7278
7732
|
tags: 'tags',
|
|
7279
7733
|
vswitchIds: 'vswitch_ids',
|
|
@@ -7311,8 +7765,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
7311
7765
|
spotInstanceRemedy: 'boolean',
|
|
7312
7766
|
spotPriceLimit: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupSpotPriceLimit },
|
|
7313
7767
|
spotStrategy: 'string',
|
|
7768
|
+
systemDiskBurstingEnabled: 'boolean',
|
|
7314
7769
|
systemDiskCategory: 'string',
|
|
7315
7770
|
systemDiskPerformanceLevel: 'string',
|
|
7771
|
+
systemDiskProvisionedIops: 'number',
|
|
7316
7772
|
systemDiskSize: 'number',
|
|
7317
7773
|
tags: { 'type': 'array', 'itemType': CreateClusterNodePoolRequestScalingGroupTags },
|
|
7318
7774
|
vswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -11265,6 +11721,10 @@ export default class Client extends OpenApi {
|
|
|
11265
11721
|
body["node_port_range"] = request.nodePortRange;
|
|
11266
11722
|
}
|
|
11267
11723
|
|
|
11724
|
+
if (!Util.isUnset(request.nodepools)) {
|
|
11725
|
+
body["nodepools"] = request.nodepools;
|
|
11726
|
+
}
|
|
11727
|
+
|
|
11268
11728
|
if (!Util.isUnset(request.numOfNodes)) {
|
|
11269
11729
|
body["num_of_nodes"] = request.numOfNodes;
|
|
11270
11730
|
}
|