tencentcloud-sdk-nodejs-intl-en 3.0.455 → 3.0.458

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": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.455",
3
+ "version": "3.0.458",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -375,6 +375,38 @@ Note: This field may return null, indicating that no valid values can be obtaine
375
375
  */
376
376
  this.RegionId = null;
377
377
 
378
+ /**
379
+ * The special instance (resource pack, reserved instance, savings plan, or spot instance) that is applied to deduction. Valid values:
380
+
381
+ ri=Standard RI
382
+
383
+ svp=Savings Plan
384
+
385
+ si=Spot Instances
386
+
387
+ rp=Resource Pack
388
+ * @type {string || null}
389
+ */
390
+ this.InstanceType = null;
391
+
392
+ /**
393
+ * The amount deducted by a reserved instance based on the original component cost.
394
+ * @type {string || null}
395
+ */
396
+ this.OriginalCostWithRI = null;
397
+
398
+ /**
399
+ * The savings plan deduction amount.
400
+ * @type {string || null}
401
+ */
402
+ this.SPDeduction = null;
403
+
404
+ /**
405
+ * The amount deducted by a savings plan based on the original component cost.
406
+ * @type {string || null}
407
+ */
408
+ this.OriginalCostWithSP = null;
409
+
378
410
  }
379
411
 
380
412
  /**
@@ -425,6 +457,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
425
457
  this.BusinessCode = 'BusinessCode' in params ? params.BusinessCode : null;
426
458
  this.ProductCode = 'ProductCode' in params ? params.ProductCode : null;
427
459
  this.RegionId = 'RegionId' in params ? params.RegionId : null;
460
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
461
+ this.OriginalCostWithRI = 'OriginalCostWithRI' in params ? params.OriginalCostWithRI : null;
462
+ this.SPDeduction = 'SPDeduction' in params ? params.SPDeduction : null;
463
+ this.OriginalCostWithSP = 'OriginalCostWithSP' in params ? params.OriginalCostWithSP : null;
428
464
 
429
465
  }
430
466
  }
@@ -1234,6 +1270,55 @@ Note: this field may return `null`, indicating that no valid values can be obtai
1234
1270
  */
1235
1271
  this.ContractPrice = null;
1236
1272
 
1273
+ /**
1274
+ * The special instance (resource pack, reserved instance, savings plan, or spot instance) that is applied to deduction. Valid values:
1275
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1276
+ * @type {string || null}
1277
+ */
1278
+ this.InstanceType = null;
1279
+
1280
+ /**
1281
+ * The usage duration deducted by a reserved instance. The unit of measurement for deduction is the same as that for usage duration.
1282
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1283
+ * @type {string || null}
1284
+ */
1285
+ this.RiTimeSpan = null;
1286
+
1287
+ /**
1288
+ * The amount deducted by a reserved instance based on the original component cost.
1289
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1290
+ * @type {string || null}
1291
+ */
1292
+ this.OriginalCostWithRI = null;
1293
+
1294
+ /**
1295
+ * The discount multiplier that applies to the component based on the remaining commitment of the savings plan.
1296
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1297
+ * @type {string || null}
1298
+ */
1299
+ this.SPDeductionRate = null;
1300
+
1301
+ /**
1302
+ * The savings plan deduction amount.
1303
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1304
+ * @type {string || null}
1305
+ */
1306
+ this.SPDeduction = null;
1307
+
1308
+ /**
1309
+ * The amount deducted by a savings plan based on the original component cost.
1310
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1311
+ * @type {string || null}
1312
+ */
1313
+ this.OriginalCostWithSP = null;
1314
+
1315
+ /**
1316
+ * The blended discount multiplier that combines the official website discount, reserved instance discount, and savings plan discount. If no reserved instance and savings plan discounts are available, the blended discount multiplier equals the discount multiplier.
1317
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1318
+ * @type {string || null}
1319
+ */
1320
+ this.BlendedDiscount = null;
1321
+
1237
1322
  }
1238
1323
 
1239
1324
  /**
@@ -1262,6 +1347,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
1262
1347
  this.ItemCode = 'ItemCode' in params ? params.ItemCode : null;
1263
1348
  this.ComponentCode = 'ComponentCode' in params ? params.ComponentCode : null;
1264
1349
  this.ContractPrice = 'ContractPrice' in params ? params.ContractPrice : null;
1350
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
1351
+ this.RiTimeSpan = 'RiTimeSpan' in params ? params.RiTimeSpan : null;
1352
+ this.OriginalCostWithRI = 'OriginalCostWithRI' in params ? params.OriginalCostWithRI : null;
1353
+ this.SPDeductionRate = 'SPDeductionRate' in params ? params.SPDeductionRate : null;
1354
+ this.SPDeduction = 'SPDeduction' in params ? params.SPDeduction : null;
1355
+ this.OriginalCostWithSP = 'OriginalCostWithSP' in params ? params.OriginalCostWithSP : null;
1356
+ this.BlendedDiscount = 'BlendedDiscount' in params ? params.BlendedDiscount : null;
1265
1357
 
1266
1358
  }
1267
1359
  }
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.455";
1
+ const sdkVersion = "3.0.458";
2
2
  module.exports = sdkVersion
@@ -74,6 +74,7 @@ const ModifyInstancesAttributeRequest = models.ModifyInstancesAttributeRequest;
74
74
  const DescribeZonesRequest = models.DescribeZonesRequest;
75
75
  const StartInstancesRequest = models.StartInstancesRequest;
76
76
  const Tag = models.Tag;
77
+ const RunSecurityServiceEnabled = models.RunSecurityServiceEnabled;
77
78
  const Placement = models.Placement;
78
79
  const DescribeDisasterRecoverGroupsRequest = models.DescribeDisasterRecoverGroupsRequest;
79
80
  const ModifyKeyPairAttributeResponse = models.ModifyKeyPairAttributeResponse;
@@ -110,7 +111,7 @@ const DescribeLaunchTemplatesResponse = models.DescribeLaunchTemplatesResponse;
110
111
  const DescribeReservedInstancesOfferingsRequest = models.DescribeReservedInstancesOfferingsRequest;
111
112
  const ReservedInstanceFamilyItem = models.ReservedInstanceFamilyItem;
112
113
  const DescribeDisasterRecoverGroupsResponse = models.DescribeDisasterRecoverGroupsResponse;
113
- const RunSecurityServiceEnabled = models.RunSecurityServiceEnabled;
114
+ const ExportImagesRequest = models.ExportImagesRequest;
114
115
  const ActionTimer = models.ActionTimer;
115
116
  const DescribeReservedInstancesConfigInfosRequest = models.DescribeReservedInstancesConfigInfosRequest;
116
117
  const TagSpecification = models.TagSpecification;
@@ -144,7 +145,7 @@ const ItemPrice = models.ItemPrice;
144
145
  const InstanceTypeQuotaItem = models.InstanceTypeQuotaItem;
145
146
  const ImageOsList = models.ImageOsList;
146
147
  const ReservedInstanceTypeItem = models.ReservedInstanceTypeItem;
147
- const RunAutomationServiceEnabled = models.RunAutomationServiceEnabled;
148
+ const ExportImagesResponse = models.ExportImagesResponse;
148
149
  const ReservedInstancePrice = models.ReservedInstancePrice;
149
150
  const DescribeHostsRequest = models.DescribeHostsRequest;
150
151
  const DescribeInstancesStatusRequest = models.DescribeInstancesStatusRequest;
@@ -176,6 +177,7 @@ const ImportKeyPairRequest = models.ImportKeyPairRequest;
176
177
  const KeyPair = models.KeyPair;
177
178
  const DescribeReservedInstancesOfferingsResponse = models.DescribeReservedInstancesOfferingsResponse;
178
179
  const DescribeLaunchTemplateVersionsResponse = models.DescribeLaunchTemplateVersionsResponse;
180
+ const RunAutomationServiceEnabled = models.RunAutomationServiceEnabled;
179
181
  const RunMonitorServiceEnabled = models.RunMonitorServiceEnabled;
180
182
  const ResetInstanceResponse = models.ResetInstanceResponse;
181
183
  const VirtualPrivateCloud = models.VirtualPrivateCloud;
@@ -488,10 +490,10 @@ If you currently use a password to log in, you will no longer be able to do so a
488
490
  /**
489
491
  * This API is used to create one or more instances with a specified configuration.
490
492
 
491
- * After an instance is created successfully, it will start up automatically, and the [instance state](https://intl.cloud.tencent.com/document/api/213/9452?from_cn_redirect=1#instance_state) will become "Running".
492
- * If you create a pay-as-you-go instance billed on an hourly basis, an amount equivalent to the hourly rate will be frozen before the creation. Make sure your account balance is sufficient before calling this API.
493
- * The number of instances you can purchase through this API is subject to the [CVM instance purchase limit](https://intl.cloud.tencent.com/document/product/213/2664?from_cn_redirect=1). Both the instances created through this API and the console will be counted toward the quota.
494
- * This API is an async API. An instance `ID` list will be returned after you successfully make a creation request. However, it does not mean the creation has been completed. The state of the instance will be `Creating` during the creation. You can use [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) to query the status of the instance. If the status changes from `Creating` to `Running`, it means that the instance has been created successfully.
493
+ * After an instance is created successfully, it will start up automatically, and the [instance status](https://intl.cloud.tencent.com/document/api/213/9452?from_cn_redirect=1#instance_state) will become "Running".
494
+ * If you create a pay-as-you-go instance billed on an hourly basis, an amount equivalent to the hourly rate will be frozen. Make sure your account balance is sufficient before calling this API.
495
+ * The number of instances you can purchase through this API is subject to the [Quota for CVM Instances](https://intl.cloud.tencent.com/document/product/213/2664?from_cn_redirect=1). Instances created through this API and in the CVM console are counted toward the quota.
496
+ * This API is an async API. An instance ID list is returned after the creation request is sent. However, it does not mean the creation has been completed. The status of the instance will be `Creating` during the creation. You can use [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) to query the status of the instance. If the status changes from `Creating` to `Running`, it means that the instance has been created successfully.
495
497
  * @param {RunInstancesRequest} req
496
498
  * @param {function(string, RunInstancesResponse):void} cb
497
499
  * @public
@@ -793,6 +795,17 @@ If you currently use a password to log in, you will no longer be able to do so a
793
795
  this.request("ResetInstancesInternetMaxBandwidth", req, resp, cb);
794
796
  }
795
797
 
798
+ /**
799
+ * This API is used to export custom images to the specified COS bucket.
800
+ * @param {ExportImagesRequest} req
801
+ * @param {function(string, ExportImagesResponse):void} cb
802
+ * @public
803
+ */
804
+ ExportImages(req, cb) {
805
+ let resp = new ExportImagesResponse();
806
+ this.request("ExportImages", req, resp, cb);
807
+ }
808
+
796
809
  /**
797
810
  * This API is used to reinstall the operating system of the specified instance.
798
811