@alicloud/cs20151215 3.0.21 → 3.0.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cs20151215",
3
- "version": "3.0.21",
3
+ "version": "3.0.22",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
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;
@@ -6901,6 +6953,401 @@ export class UpgradeClusterNodepoolResponse extends $tea.Model {
6901
6953
  }
6902
6954
  }
6903
6955
 
6956
+ export class NodepoolAutoScaling extends $tea.Model {
6957
+ eipBandwidth?: number;
6958
+ eipInternetChargeType?: string;
6959
+ enable?: boolean;
6960
+ isBondEip?: boolean;
6961
+ maxInstances?: number;
6962
+ minInstances?: number;
6963
+ type?: string;
6964
+ static names(): { [key: string]: string } {
6965
+ return {
6966
+ eipBandwidth: 'eip_bandwidth',
6967
+ eipInternetChargeType: 'eip_internet_charge_type',
6968
+ enable: 'enable',
6969
+ isBondEip: 'is_bond_eip',
6970
+ maxInstances: 'max_instances',
6971
+ minInstances: 'min_instances',
6972
+ type: 'type',
6973
+ };
6974
+ }
6975
+
6976
+ static types(): { [key: string]: any } {
6977
+ return {
6978
+ eipBandwidth: 'number',
6979
+ eipInternetChargeType: 'string',
6980
+ enable: 'boolean',
6981
+ isBondEip: 'boolean',
6982
+ maxInstances: 'number',
6983
+ minInstances: 'number',
6984
+ type: 'string',
6985
+ };
6986
+ }
6987
+
6988
+ constructor(map?: { [key: string]: any }) {
6989
+ super(map);
6990
+ }
6991
+ }
6992
+
6993
+ export class NodepoolInterconnectConfig extends $tea.Model {
6994
+ bandwidth?: number;
6995
+ ccnId?: string;
6996
+ ccnRegionId?: string;
6997
+ cenId?: string;
6998
+ improvedPeriod?: string;
6999
+ static names(): { [key: string]: string } {
7000
+ return {
7001
+ bandwidth: 'bandwidth',
7002
+ ccnId: 'ccn_id',
7003
+ ccnRegionId: 'ccn_region_id',
7004
+ cenId: 'cen_id',
7005
+ improvedPeriod: 'improved_period',
7006
+ };
7007
+ }
7008
+
7009
+ static types(): { [key: string]: any } {
7010
+ return {
7011
+ bandwidth: 'number',
7012
+ ccnId: 'string',
7013
+ ccnRegionId: 'string',
7014
+ cenId: 'string',
7015
+ improvedPeriod: 'string',
7016
+ };
7017
+ }
7018
+
7019
+ constructor(map?: { [key: string]: any }) {
7020
+ super(map);
7021
+ }
7022
+ }
7023
+
7024
+ export class NodepoolKubernetesConfig extends $tea.Model {
7025
+ cmsEnabled?: boolean;
7026
+ cpuPolicy?: string;
7027
+ labels?: Tag[];
7028
+ nodeNameMode?: string;
7029
+ runtime?: string;
7030
+ runtimeVersion?: string;
7031
+ taints?: Taint[];
7032
+ userData?: string;
7033
+ static names(): { [key: string]: string } {
7034
+ return {
7035
+ cmsEnabled: 'cms_enabled',
7036
+ cpuPolicy: 'cpu_policy',
7037
+ labels: 'labels',
7038
+ nodeNameMode: 'node_name_mode',
7039
+ runtime: 'runtime',
7040
+ runtimeVersion: 'runtime_version',
7041
+ taints: 'taints',
7042
+ userData: 'user_data',
7043
+ };
7044
+ }
7045
+
7046
+ static types(): { [key: string]: any } {
7047
+ return {
7048
+ cmsEnabled: 'boolean',
7049
+ cpuPolicy: 'string',
7050
+ labels: { 'type': 'array', 'itemType': Tag },
7051
+ nodeNameMode: 'string',
7052
+ runtime: 'string',
7053
+ runtimeVersion: 'string',
7054
+ taints: { 'type': 'array', 'itemType': Taint },
7055
+ userData: 'string',
7056
+ };
7057
+ }
7058
+
7059
+ constructor(map?: { [key: string]: any }) {
7060
+ super(map);
7061
+ }
7062
+ }
7063
+
7064
+ export class NodepoolManagementUpgradeConfig extends $tea.Model {
7065
+ autoUpgrade?: boolean;
7066
+ maxUnavailable?: number;
7067
+ surge?: number;
7068
+ surgePercentage?: number;
7069
+ static names(): { [key: string]: string } {
7070
+ return {
7071
+ autoUpgrade: 'auto_upgrade',
7072
+ maxUnavailable: 'max_unavailable',
7073
+ surge: 'surge',
7074
+ surgePercentage: 'surge_percentage',
7075
+ };
7076
+ }
7077
+
7078
+ static types(): { [key: string]: any } {
7079
+ return {
7080
+ autoUpgrade: 'boolean',
7081
+ maxUnavailable: 'number',
7082
+ surge: 'number',
7083
+ surgePercentage: 'number',
7084
+ };
7085
+ }
7086
+
7087
+ constructor(map?: { [key: string]: any }) {
7088
+ super(map);
7089
+ }
7090
+ }
7091
+
7092
+ export class NodepoolManagement extends $tea.Model {
7093
+ autoRepair?: boolean;
7094
+ enable?: boolean;
7095
+ upgradeConfig?: NodepoolManagementUpgradeConfig;
7096
+ static names(): { [key: string]: string } {
7097
+ return {
7098
+ autoRepair: 'auto_repair',
7099
+ enable: 'enable',
7100
+ upgradeConfig: 'upgrade_config',
7101
+ };
7102
+ }
7103
+
7104
+ static types(): { [key: string]: any } {
7105
+ return {
7106
+ autoRepair: 'boolean',
7107
+ enable: 'boolean',
7108
+ upgradeConfig: NodepoolManagementUpgradeConfig,
7109
+ };
7110
+ }
7111
+
7112
+ constructor(map?: { [key: string]: any }) {
7113
+ super(map);
7114
+ }
7115
+ }
7116
+
7117
+ export class NodepoolNodepoolInfo extends $tea.Model {
7118
+ name?: string;
7119
+ resourceGroupId?: string;
7120
+ type?: string;
7121
+ static names(): { [key: string]: string } {
7122
+ return {
7123
+ name: 'name',
7124
+ resourceGroupId: 'resource_group_id',
7125
+ type: 'type',
7126
+ };
7127
+ }
7128
+
7129
+ static types(): { [key: string]: any } {
7130
+ return {
7131
+ name: 'string',
7132
+ resourceGroupId: 'string',
7133
+ type: 'string',
7134
+ };
7135
+ }
7136
+
7137
+ constructor(map?: { [key: string]: any }) {
7138
+ super(map);
7139
+ }
7140
+ }
7141
+
7142
+ export class NodepoolScalingGroupPrivatePoolOptions extends $tea.Model {
7143
+ id?: string;
7144
+ matchCriteria?: string;
7145
+ static names(): { [key: string]: string } {
7146
+ return {
7147
+ id: 'id',
7148
+ matchCriteria: 'match_criteria',
7149
+ };
7150
+ }
7151
+
7152
+ static types(): { [key: string]: any } {
7153
+ return {
7154
+ id: 'string',
7155
+ matchCriteria: 'string',
7156
+ };
7157
+ }
7158
+
7159
+ constructor(map?: { [key: string]: any }) {
7160
+ super(map);
7161
+ }
7162
+ }
7163
+
7164
+ export class NodepoolScalingGroupSpotPriceLimit extends $tea.Model {
7165
+ instanceType?: string;
7166
+ priceLimit?: string;
7167
+ static names(): { [key: string]: string } {
7168
+ return {
7169
+ instanceType: 'instance_type',
7170
+ priceLimit: 'price_limit',
7171
+ };
7172
+ }
7173
+
7174
+ static types(): { [key: string]: any } {
7175
+ return {
7176
+ instanceType: 'string',
7177
+ priceLimit: 'string',
7178
+ };
7179
+ }
7180
+
7181
+ constructor(map?: { [key: string]: any }) {
7182
+ super(map);
7183
+ }
7184
+ }
7185
+
7186
+ export class NodepoolScalingGroupTags extends $tea.Model {
7187
+ key?: string;
7188
+ value?: string;
7189
+ static names(): { [key: string]: string } {
7190
+ return {
7191
+ key: 'key',
7192
+ value: 'value',
7193
+ };
7194
+ }
7195
+
7196
+ static types(): { [key: string]: any } {
7197
+ return {
7198
+ key: 'string',
7199
+ value: 'string',
7200
+ };
7201
+ }
7202
+
7203
+ constructor(map?: { [key: string]: any }) {
7204
+ super(map);
7205
+ }
7206
+ }
7207
+
7208
+ export class NodepoolScalingGroup extends $tea.Model {
7209
+ autoRenew?: boolean;
7210
+ autoRenewPeriod?: number;
7211
+ compensateWithOnDemand?: boolean;
7212
+ dataDisks?: DataDisk[];
7213
+ deploymentsetId?: string;
7214
+ desiredSize?: number;
7215
+ imageId?: string;
7216
+ imageType?: string;
7217
+ instanceChargeType?: string;
7218
+ instanceTypes?: string[];
7219
+ internetChargeType?: string;
7220
+ internetMaxBandwidthOut?: number;
7221
+ keyPair?: string;
7222
+ loginPassword?: string;
7223
+ multiAzPolicy?: string;
7224
+ onDemandBaseCapacity?: number;
7225
+ onDemandPercentageAboveBaseCapacity?: number;
7226
+ period?: number;
7227
+ periodUnit?: string;
7228
+ platform?: string;
7229
+ privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
7230
+ rdsInstances?: string[];
7231
+ scalingPolicy?: string;
7232
+ securityGroupId?: string;
7233
+ securityGroupIds?: string[];
7234
+ spotInstancePools?: number;
7235
+ spotInstanceRemedy?: boolean;
7236
+ spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
7237
+ spotStrategy?: string;
7238
+ systemDiskBurstingEnabled?: boolean;
7239
+ systemDiskCategory?: string;
7240
+ systemDiskPerformanceLevel?: string;
7241
+ systemDiskProvisionedIops?: number;
7242
+ systemDiskSize?: number;
7243
+ tags?: NodepoolScalingGroupTags[];
7244
+ vswitchIds?: string[];
7245
+ static names(): { [key: string]: string } {
7246
+ return {
7247
+ autoRenew: 'auto_renew',
7248
+ autoRenewPeriod: 'auto_renew_period',
7249
+ compensateWithOnDemand: 'compensate_with_on_demand',
7250
+ dataDisks: 'data_disks',
7251
+ deploymentsetId: 'deploymentset_id',
7252
+ desiredSize: 'desired_size',
7253
+ imageId: 'image_id',
7254
+ imageType: 'image_type',
7255
+ instanceChargeType: 'instance_charge_type',
7256
+ instanceTypes: 'instance_types',
7257
+ internetChargeType: 'internet_charge_type',
7258
+ internetMaxBandwidthOut: 'internet_max_bandwidth_out',
7259
+ keyPair: 'key_pair',
7260
+ loginPassword: 'login_password',
7261
+ multiAzPolicy: 'multi_az_policy',
7262
+ onDemandBaseCapacity: 'on_demand_base_capacity',
7263
+ onDemandPercentageAboveBaseCapacity: 'on_demand_percentage_above_base_capacity',
7264
+ period: 'period',
7265
+ periodUnit: 'period_unit',
7266
+ platform: 'platform',
7267
+ privatePoolOptions: 'private_pool_options',
7268
+ rdsInstances: 'rds_instances',
7269
+ scalingPolicy: 'scaling_policy',
7270
+ securityGroupId: 'security_group_id',
7271
+ securityGroupIds: 'security_group_ids',
7272
+ spotInstancePools: 'spot_instance_pools',
7273
+ spotInstanceRemedy: 'spot_instance_remedy',
7274
+ spotPriceLimit: 'spot_price_limit',
7275
+ spotStrategy: 'spot_strategy',
7276
+ systemDiskBurstingEnabled: 'system_disk_bursting_enabled',
7277
+ systemDiskCategory: 'system_disk_category',
7278
+ systemDiskPerformanceLevel: 'system_disk_performance_level',
7279
+ systemDiskProvisionedIops: 'system_disk_provisioned_iops',
7280
+ systemDiskSize: 'system_disk_size',
7281
+ tags: 'tags',
7282
+ vswitchIds: 'vswitch_ids',
7283
+ };
7284
+ }
7285
+
7286
+ static types(): { [key: string]: any } {
7287
+ return {
7288
+ autoRenew: 'boolean',
7289
+ autoRenewPeriod: 'number',
7290
+ compensateWithOnDemand: 'boolean',
7291
+ dataDisks: { 'type': 'array', 'itemType': DataDisk },
7292
+ deploymentsetId: 'string',
7293
+ desiredSize: 'number',
7294
+ imageId: 'string',
7295
+ imageType: 'string',
7296
+ instanceChargeType: 'string',
7297
+ instanceTypes: { 'type': 'array', 'itemType': 'string' },
7298
+ internetChargeType: 'string',
7299
+ internetMaxBandwidthOut: 'number',
7300
+ keyPair: 'string',
7301
+ loginPassword: 'string',
7302
+ multiAzPolicy: 'string',
7303
+ onDemandBaseCapacity: 'number',
7304
+ onDemandPercentageAboveBaseCapacity: 'number',
7305
+ period: 'number',
7306
+ periodUnit: 'string',
7307
+ platform: 'string',
7308
+ privatePoolOptions: NodepoolScalingGroupPrivatePoolOptions,
7309
+ rdsInstances: { 'type': 'array', 'itemType': 'string' },
7310
+ scalingPolicy: 'string',
7311
+ securityGroupId: 'string',
7312
+ securityGroupIds: { 'type': 'array', 'itemType': 'string' },
7313
+ spotInstancePools: 'number',
7314
+ spotInstanceRemedy: 'boolean',
7315
+ spotPriceLimit: { 'type': 'array', 'itemType': NodepoolScalingGroupSpotPriceLimit },
7316
+ spotStrategy: 'string',
7317
+ systemDiskBurstingEnabled: 'boolean',
7318
+ systemDiskCategory: 'string',
7319
+ systemDiskPerformanceLevel: 'string',
7320
+ systemDiskProvisionedIops: 'number',
7321
+ systemDiskSize: 'number',
7322
+ tags: { 'type': 'array', 'itemType': NodepoolScalingGroupTags },
7323
+ vswitchIds: { 'type': 'array', 'itemType': 'string' },
7324
+ };
7325
+ }
7326
+
7327
+ constructor(map?: { [key: string]: any }) {
7328
+ super(map);
7329
+ }
7330
+ }
7331
+
7332
+ export class NodepoolTeeConfig extends $tea.Model {
7333
+ teeEnable?: boolean;
7334
+ static names(): { [key: string]: string } {
7335
+ return {
7336
+ teeEnable: 'tee_enable',
7337
+ };
7338
+ }
7339
+
7340
+ static types(): { [key: string]: any } {
7341
+ return {
7342
+ teeEnable: 'boolean',
7343
+ };
7344
+ }
7345
+
7346
+ constructor(map?: { [key: string]: any }) {
7347
+ super(map);
7348
+ }
7349
+ }
7350
+
6904
7351
  export class AttachInstancesResponseBodyList extends $tea.Model {
6905
7352
  code?: string;
6906
7353
  instanceId?: string;