tencentcloud-sdk-nodejs-intl-en 3.0.1129 → 3.0.1131
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 +1 -1
- package/tencentcloud/as/v20180419/models.js +3 -2
- package/tencentcloud/cloudaudit/v20190319/models.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/cvm_client.js +16 -2
- package/tencentcloud/cvm/v20170312/models.js +272 -19
- package/tencentcloud/dbbrain/index.js +1 -1
- package/tencentcloud/ip/v20210409/models.js +1 -1
- package/tencentcloud/monitor/v20180724/models.js +1 -1
- package/tencentcloud/organization/index.js +1 -1
- package/tencentcloud/tem/index.js +1 -1
- package/tencentcloud/tke/index.js +1 -1
- package/tencentcloud/tts/v20190823/models.js +21 -0
- package/tencentcloud/vm/index.js +1 -1
- package/tencentcloud/vpc/v20170312/models.js +7 -0
package/package.json
CHANGED
|
@@ -109,8 +109,9 @@ When the public outbound network bandwidth is 0 Mbps, assigning a public IP is n
|
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
111
|
* Instance billing mode. Valid values:
|
|
112
|
-
<
|
|
113
|
-
<
|
|
112
|
+
<li>POSTPAID_BY_HOUR: pay-as-you-go hourly</li>
|
|
113
|
+
<li>SPOTPAID: spot instance</li>
|
|
114
|
+
<li> CDCPAID: dedicated cluster</li>
|
|
114
115
|
* @type {string || null}
|
|
115
116
|
*/
|
|
116
117
|
this.InstanceChargeType = null;
|
|
@@ -388,7 +388,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
388
388
|
this.TotalCount = null;
|
|
389
389
|
|
|
390
390
|
/**
|
|
391
|
-
* The unique request ID,
|
|
391
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
392
392
|
* @type {string || null}
|
|
393
393
|
*/
|
|
394
394
|
this.RequestId = null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1131";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
+
const ChargePrepaid = models.ChargePrepaid;
|
|
19
20
|
const LocalDiskType = models.LocalDiskType;
|
|
20
21
|
const AssociateInstancesKeyPairsResponse = models.AssociateInstancesKeyPairsResponse;
|
|
21
22
|
const DescribeImageQuotaResponse = models.DescribeImageQuotaResponse;
|
|
@@ -107,6 +108,7 @@ const DescribeDisasterRecoverGroupQuotaResponse = models.DescribeDisasterRecover
|
|
|
107
108
|
const DescribeRegionsRequest = models.DescribeRegionsRequest;
|
|
108
109
|
const CreateDisasterRecoverGroupRequest = models.CreateDisasterRecoverGroupRequest;
|
|
109
110
|
const DescribeReservedInstancesConfigInfosResponse = models.DescribeReservedInstancesConfigInfosResponse;
|
|
111
|
+
const DescribeReservedInstancesResponse = models.DescribeReservedInstancesResponse;
|
|
110
112
|
const DescribeImportImageOsResponse = models.DescribeImportImageOsResponse;
|
|
111
113
|
const InquirePricePurchaseReservedInstancesOfferingRequest = models.InquirePricePurchaseReservedInstancesOfferingRequest;
|
|
112
114
|
const DataDisk = models.DataDisk;
|
|
@@ -160,7 +162,7 @@ const ModifyChcAttributeResponse = models.ModifyChcAttributeResponse;
|
|
|
160
162
|
const DescribeDisasterRecoverGroupQuotaRequest = models.DescribeDisasterRecoverGroupQuotaRequest;
|
|
161
163
|
const StartInstancesResponse = models.StartInstancesResponse;
|
|
162
164
|
const ModifyInstancesVpcAttributeRequest = models.ModifyInstancesVpcAttributeRequest;
|
|
163
|
-
const
|
|
165
|
+
const DescribeReservedInstancesRequest = models.DescribeReservedInstancesRequest;
|
|
164
166
|
const DescribeInternetChargeTypeConfigsResponse = models.DescribeInternetChargeTypeConfigsResponse;
|
|
165
167
|
const DescribeZoneInstanceConfigInfosRequest = models.DescribeZoneInstanceConfigInfosRequest;
|
|
166
168
|
const DescribeZonesResponse = models.DescribeZonesResponse;
|
|
@@ -178,6 +180,7 @@ const DescribeInstancesStatusRequest = models.DescribeInstancesStatusRequest;
|
|
|
178
180
|
const InquiryPriceResizeInstanceDisksResponse = models.InquiryPriceResizeInstanceDisksResponse;
|
|
179
181
|
const TerminateInstancesRequest = models.TerminateInstancesRequest;
|
|
180
182
|
const SharePermission = models.SharePermission;
|
|
183
|
+
const ReservedInstances = models.ReservedInstances;
|
|
181
184
|
const DeleteImagesResponse = models.DeleteImagesResponse;
|
|
182
185
|
const ImportImageResponse = models.ImportImageResponse;
|
|
183
186
|
const ModifyDisasterRecoverGroupAttributeRequest = models.ModifyDisasterRecoverGroupAttributeRequest;
|
|
@@ -741,7 +744,18 @@ When a template is created, it defaults to Version 1. You can use `CreateLaunchT
|
|
|
741
744
|
}
|
|
742
745
|
|
|
743
746
|
/**
|
|
744
|
-
* This API is used to
|
|
747
|
+
* This API is used to list the reserved instances purchased by the user.
|
|
748
|
+
* @param {DescribeReservedInstancesRequest} req
|
|
749
|
+
* @param {function(string, DescribeReservedInstancesResponse):void} cb
|
|
750
|
+
* @public
|
|
751
|
+
*/
|
|
752
|
+
DescribeReservedInstances(req, cb) {
|
|
753
|
+
let resp = new DescribeReservedInstancesResponse();
|
|
754
|
+
this.request("DescribeReservedInstances", req, resp, cb);
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* This API is used to describe reserved instance (RI) offerings.
|
|
745
759
|
* @param {DescribeReservedInstancesConfigInfosRequest} req
|
|
746
760
|
* @param {function(string, DescribeReservedInstancesConfigInfosResponse):void} cb
|
|
747
761
|
* @public
|
|
@@ -16,6 +16,41 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
|
+
/**
|
|
20
|
+
* Parameters related to the prepaid billing method, including the subscription period, the auto renewal logic, etc.
|
|
21
|
+
* @class
|
|
22
|
+
*/
|
|
23
|
+
class ChargePrepaid extends AbstractModel {
|
|
24
|
+
constructor(){
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Purchased usage period, in month. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36
|
|
29
|
+
* @type {number || null}
|
|
30
|
+
*/
|
|
31
|
+
this.Period = null;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Auto renewal flag. Valid values: <br><li>NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically <br><li>NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically <br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically <br><br>Default value: NOTIFY_AND_AUTO_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient.
|
|
35
|
+
* @type {string || null}
|
|
36
|
+
*/
|
|
37
|
+
this.RenewFlag = null;
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @private
|
|
43
|
+
*/
|
|
44
|
+
deserialize(params) {
|
|
45
|
+
if (!params) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
this.Period = 'Period' in params ? params.Period : null;
|
|
49
|
+
this.RenewFlag = 'RenewFlag' in params ? params.RenewFlag : null;
|
|
50
|
+
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
19
54
|
/**
|
|
20
55
|
* Describes local disk specifications.
|
|
21
56
|
* @class
|
|
@@ -4449,6 +4484,56 @@ class DescribeReservedInstancesConfigInfosResponse extends AbstractModel {
|
|
|
4449
4484
|
}
|
|
4450
4485
|
}
|
|
4451
4486
|
|
|
4487
|
+
/**
|
|
4488
|
+
* DescribeReservedInstances response structure.
|
|
4489
|
+
* @class
|
|
4490
|
+
*/
|
|
4491
|
+
class DescribeReservedInstancesResponse extends AbstractModel {
|
|
4492
|
+
constructor(){
|
|
4493
|
+
super();
|
|
4494
|
+
|
|
4495
|
+
/**
|
|
4496
|
+
* Number of reserved instances that meet the conditions.
|
|
4497
|
+
* @type {number || null}
|
|
4498
|
+
*/
|
|
4499
|
+
this.TotalCount = null;
|
|
4500
|
+
|
|
4501
|
+
/**
|
|
4502
|
+
* List of reserved instances that meet the conditions.
|
|
4503
|
+
* @type {Array.<ReservedInstances> || null}
|
|
4504
|
+
*/
|
|
4505
|
+
this.ReservedInstancesSet = null;
|
|
4506
|
+
|
|
4507
|
+
/**
|
|
4508
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4509
|
+
* @type {string || null}
|
|
4510
|
+
*/
|
|
4511
|
+
this.RequestId = null;
|
|
4512
|
+
|
|
4513
|
+
}
|
|
4514
|
+
|
|
4515
|
+
/**
|
|
4516
|
+
* @private
|
|
4517
|
+
*/
|
|
4518
|
+
deserialize(params) {
|
|
4519
|
+
if (!params) {
|
|
4520
|
+
return;
|
|
4521
|
+
}
|
|
4522
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
4523
|
+
|
|
4524
|
+
if (params.ReservedInstancesSet) {
|
|
4525
|
+
this.ReservedInstancesSet = new Array();
|
|
4526
|
+
for (let z in params.ReservedInstancesSet) {
|
|
4527
|
+
let obj = new ReservedInstances();
|
|
4528
|
+
obj.deserialize(params.ReservedInstancesSet[z]);
|
|
4529
|
+
this.ReservedInstancesSet.push(obj);
|
|
4530
|
+
}
|
|
4531
|
+
}
|
|
4532
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4533
|
+
|
|
4534
|
+
}
|
|
4535
|
+
}
|
|
4536
|
+
|
|
4452
4537
|
/**
|
|
4453
4538
|
* DescribeImportImageOs response structure.
|
|
4454
4539
|
* @class
|
|
@@ -4794,7 +4879,7 @@ class OperationCountLimit extends AbstractModel {
|
|
|
4794
4879
|
}
|
|
4795
4880
|
|
|
4796
4881
|
/**
|
|
4797
|
-
* Static configurations of the reserved instance.
|
|
4882
|
+
* Static configurations of the reserved instance.
|
|
4798
4883
|
* @class
|
|
4799
4884
|
*/
|
|
4800
4885
|
class ReservedInstanceConfigInfoItem extends AbstractModel {
|
|
@@ -6366,7 +6451,7 @@ Each request can have up to 10 `Filters` and 5 `Filter.Values`.
|
|
|
6366
6451
|
}
|
|
6367
6452
|
|
|
6368
6453
|
/**
|
|
6369
|
-
* RI-related instance family.
|
|
6454
|
+
* RI-related instance family.
|
|
6370
6455
|
* @class
|
|
6371
6456
|
*/
|
|
6372
6457
|
class ReservedInstanceFamilyItem extends AbstractModel {
|
|
@@ -6939,19 +7024,19 @@ class DescribeReservedInstancesConfigInfosRequest extends AbstractModel {
|
|
|
6939
7024
|
super();
|
|
6940
7025
|
|
|
6941
7026
|
/**
|
|
6942
|
-
* zone
|
|
7027
|
+
* <li><strong>zone</li></strong>
|
|
6943
7028
|
Filters by the availability zones in which the reserved instance can be purchased, such as `ap-guangzhou-1`.
|
|
6944
7029
|
Type: String
|
|
6945
7030
|
Required: no
|
|
6946
7031
|
Valid values: list of regions/availability zones
|
|
6947
7032
|
|
|
6948
|
-
product-description
|
|
7033
|
+
<li><strong>product-description</li></strong>
|
|
6949
7034
|
Filters by the platform description (operating system) of the reserved instance, such as `linux`.
|
|
6950
7035
|
Type: String
|
|
6951
7036
|
Required: no
|
|
6952
7037
|
Valid value: linux
|
|
6953
7038
|
|
|
6954
|
-
duration
|
|
7039
|
+
<li><strong>duration</li></strong>
|
|
6955
7040
|
Filters by the **validity** of the reserved instance, which is the purchased usage period. For example, `31536000`.
|
|
6956
7041
|
Type: Integer
|
|
6957
7042
|
Unit: second
|
|
@@ -7621,7 +7706,7 @@ class InstanceStatus extends AbstractModel {
|
|
|
7621
7706
|
}
|
|
7622
7707
|
|
|
7623
7708
|
/**
|
|
7624
|
-
* Price information of the reserved instance based on the payment method.
|
|
7709
|
+
* Price information of the reserved instance based on the payment method.
|
|
7625
7710
|
* @class
|
|
7626
7711
|
*/
|
|
7627
7712
|
class ReservedInstancePriceItem extends AbstractModel {
|
|
@@ -7673,13 +7758,13 @@ Valid value: `Linux`.
|
|
|
7673
7758
|
this.ProductDescription = null;
|
|
7674
7759
|
|
|
7675
7760
|
/**
|
|
7676
|
-
*
|
|
7761
|
+
* Discount price for subsequent total cost, in USD/hr.
|
|
7677
7762
|
* @type {number || null}
|
|
7678
7763
|
*/
|
|
7679
7764
|
this.DiscountUsagePrice = null;
|
|
7680
7765
|
|
|
7681
7766
|
/**
|
|
7682
|
-
* Discount price for
|
|
7767
|
+
* Discount price for upfront total cost, in USD.
|
|
7683
7768
|
* @type {number || null}
|
|
7684
7769
|
*/
|
|
7685
7770
|
this.DiscountFixedPrice = null;
|
|
@@ -8547,24 +8632,52 @@ class ModifyInstancesVpcAttributeRequest extends AbstractModel {
|
|
|
8547
8632
|
}
|
|
8548
8633
|
|
|
8549
8634
|
/**
|
|
8550
|
-
*
|
|
8635
|
+
* DescribeReservedInstances request structure.
|
|
8551
8636
|
* @class
|
|
8552
8637
|
*/
|
|
8553
|
-
class
|
|
8638
|
+
class DescribeReservedInstancesRequest extends AbstractModel {
|
|
8554
8639
|
constructor(){
|
|
8555
8640
|
super();
|
|
8556
8641
|
|
|
8557
8642
|
/**
|
|
8558
|
-
*
|
|
8643
|
+
* Trial run. Default value: false.
|
|
8644
|
+
* @type {boolean || null}
|
|
8645
|
+
*/
|
|
8646
|
+
this.DryRun = null;
|
|
8647
|
+
|
|
8648
|
+
/**
|
|
8649
|
+
* Offset. Default value: 0. For more information on `Offset`, see the relevant section in API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
8559
8650
|
* @type {number || null}
|
|
8560
8651
|
*/
|
|
8561
|
-
this.
|
|
8652
|
+
this.Offset = null;
|
|
8562
8653
|
|
|
8563
8654
|
/**
|
|
8564
|
-
*
|
|
8565
|
-
* @type {
|
|
8655
|
+
* Number of returned instances. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section in API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
8656
|
+
* @type {number || null}
|
|
8566
8657
|
*/
|
|
8567
|
-
this.
|
|
8658
|
+
this.Limit = null;
|
|
8659
|
+
|
|
8660
|
+
/**
|
|
8661
|
+
* <li><strong>zone</strong></li>
|
|
8662
|
+
<p style="padding-left: 30px;">Filter by [<strong>availability zones</strong>] in which reserved instances can be purchased. For example, ap-guangzhou-1.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/6091?from_cn_redirect=1">availability zone list</a>.</p>
|
|
8663
|
+
<li><strong>duration</strong></li>
|
|
8664
|
+
<p style="padding-left: 30px;">Filter by [<strong>validity periods</strong>] of reserved instances, which is the instance purchase duration. For example, 31536000.</p><p style="padding-left: 30px;">Type: Integer.</p><p style="padding-left: 30px;">Unit: Second.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: 31536000 (1 year) | 94608000 (3 years).</p>
|
|
8665
|
+
<li><strong>instance-type</strong></li>
|
|
8666
|
+
<p style="padding-left: 30px;">Filter by [<strong>specifications of reserved instances</strong>]. For example, S3.MEDIUM4.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">reserved instance specification list</a>.</p>
|
|
8667
|
+
<li><strong>instance-family</strong></li>
|
|
8668
|
+
<p style="padding-left: 30px;">Filter by [<strong>types of reserved instances</strong>]. For example, S3.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">reserved instance type list</a>.</p>
|
|
8669
|
+
<li><strong>offering-type</strong></li>
|
|
8670
|
+
<p style="padding-left: 30px;">Filter by <strong>payment types</strong>]. For example, All Upfront (fully prepaid).</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: All Upfront (fully prepaid) | Partial Upfront (partially prepaid) | No Upfront (non-prepaid).</p>
|
|
8671
|
+
<li><strong>product-description</strong></li>
|
|
8672
|
+
<p style="padding-left: 30px;">Filter by [<strong>platform descriptions</strong>] (operating system) of reserved instances. For example, linux.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid value: linux.</p>
|
|
8673
|
+
<li><strong>reserved-instances-id</strong></li>
|
|
8674
|
+
<p style="padding-left: 30px;">Filter by [<strong>IDs of purchased reserved instances</strong>]. For example, 650c138f-ae7e-4750-952a-96841d6e9fc1.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p>
|
|
8675
|
+
<li><strong>state</strong></li>
|
|
8676
|
+
<p style="padding-left: 30px;">Filter by [<strong>statuses of purchased reserved instances</strong>]. For example, active.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: active (created) | pending (waiting to be created) | retired (expired).</p>
|
|
8677
|
+
Each request can have up to 10 filters, and each filter can have up to 5 values.
|
|
8678
|
+
* @type {Array.<Filter> || null}
|
|
8679
|
+
*/
|
|
8680
|
+
this.Filters = null;
|
|
8568
8681
|
|
|
8569
8682
|
}
|
|
8570
8683
|
|
|
@@ -8575,8 +8688,18 @@ class ChargePrepaid extends AbstractModel {
|
|
|
8575
8688
|
if (!params) {
|
|
8576
8689
|
return;
|
|
8577
8690
|
}
|
|
8578
|
-
this.
|
|
8579
|
-
this.
|
|
8691
|
+
this.DryRun = 'DryRun' in params ? params.DryRun : null;
|
|
8692
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
8693
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
8694
|
+
|
|
8695
|
+
if (params.Filters) {
|
|
8696
|
+
this.Filters = new Array();
|
|
8697
|
+
for (let z in params.Filters) {
|
|
8698
|
+
let obj = new Filter();
|
|
8699
|
+
obj.deserialize(params.Filters[z]);
|
|
8700
|
+
this.Filters.push(obj);
|
|
8701
|
+
}
|
|
8702
|
+
}
|
|
8580
8703
|
|
|
8581
8704
|
}
|
|
8582
8705
|
}
|
|
@@ -9137,7 +9260,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
9137
9260
|
}
|
|
9138
9261
|
|
|
9139
9262
|
/**
|
|
9140
|
-
* Reserved instance specification.
|
|
9263
|
+
* Reserved instance specification.
|
|
9141
9264
|
* @class
|
|
9142
9265
|
*/
|
|
9143
9266
|
class ReservedInstanceTypeItem extends AbstractModel {
|
|
@@ -9682,6 +9805,133 @@ class SharePermission extends AbstractModel {
|
|
|
9682
9805
|
}
|
|
9683
9806
|
}
|
|
9684
9807
|
|
|
9808
|
+
/**
|
|
9809
|
+
* Information on reserved instances purchased by the user.
|
|
9810
|
+
* @class
|
|
9811
|
+
*/
|
|
9812
|
+
class ReservedInstances extends AbstractModel {
|
|
9813
|
+
constructor(){
|
|
9814
|
+
super();
|
|
9815
|
+
|
|
9816
|
+
/**
|
|
9817
|
+
* (This field has been deprecated. ReservedInstanceId is recommended.) IDs of purchased reserved instances. For example, ri-rtbh4han.
|
|
9818
|
+
* @type {string || null}
|
|
9819
|
+
*/
|
|
9820
|
+
this.ReservedInstancesId = null;
|
|
9821
|
+
|
|
9822
|
+
/**
|
|
9823
|
+
* Specifications of reserved instances. For example, S3.MEDIUM4.
|
|
9824
|
+
Return values: <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">Reserved instance specification list.</a>
|
|
9825
|
+
* @type {string || null}
|
|
9826
|
+
*/
|
|
9827
|
+
this.InstanceType = null;
|
|
9828
|
+
|
|
9829
|
+
/**
|
|
9830
|
+
* Availability zones in which reserved instances can be purchased. For example, ap-guangzhou-1.
|
|
9831
|
+
Return values: <a href="https://intl.cloud.tencent.com/document/product/213/6091?from_cn_redirect=1">Availability zone list.</a>
|
|
9832
|
+
* @type {string || null}
|
|
9833
|
+
*/
|
|
9834
|
+
this.Zone = null;
|
|
9835
|
+
|
|
9836
|
+
/**
|
|
9837
|
+
* Billing start time of reserved instances. For example, 1949-10-01 00:00:00.
|
|
9838
|
+
* @type {string || null}
|
|
9839
|
+
*/
|
|
9840
|
+
this.StartTime = null;
|
|
9841
|
+
|
|
9842
|
+
/**
|
|
9843
|
+
* Billing end time of reserved instances. For example, 1949-10-01 00:00:00.
|
|
9844
|
+
* @type {string || null}
|
|
9845
|
+
*/
|
|
9846
|
+
this.EndTime = null;
|
|
9847
|
+
|
|
9848
|
+
/**
|
|
9849
|
+
* Validity periods of reserved instances, which is the purchase duration of reserved instances. For example, 31536000.
|
|
9850
|
+
Unit: second.
|
|
9851
|
+
* @type {number || null}
|
|
9852
|
+
*/
|
|
9853
|
+
this.Duration = null;
|
|
9854
|
+
|
|
9855
|
+
/**
|
|
9856
|
+
* Number of purchased reserved instances. For example, 10.
|
|
9857
|
+
* @type {number || null}
|
|
9858
|
+
*/
|
|
9859
|
+
this.InstanceCount = null;
|
|
9860
|
+
|
|
9861
|
+
/**
|
|
9862
|
+
* Platform descriptions (operating systems) of reserved instances. For example, linux.
|
|
9863
|
+
Return value: linux.
|
|
9864
|
+
* @type {string || null}
|
|
9865
|
+
*/
|
|
9866
|
+
this.ProductDescription = null;
|
|
9867
|
+
|
|
9868
|
+
/**
|
|
9869
|
+
* Statuses of purchased reserved instances. For example: active.
|
|
9870
|
+
Return values: active (created) | pending (waiting to be created) | retired (expired).
|
|
9871
|
+
* @type {string || null}
|
|
9872
|
+
*/
|
|
9873
|
+
this.State = null;
|
|
9874
|
+
|
|
9875
|
+
/**
|
|
9876
|
+
* Billing currencies of purchasable reserved instances. Use standard currency codes defined in ISO 4217. For example, USD.
|
|
9877
|
+
Return value: USD.
|
|
9878
|
+
* @type {string || null}
|
|
9879
|
+
*/
|
|
9880
|
+
this.CurrencyCode = null;
|
|
9881
|
+
|
|
9882
|
+
/**
|
|
9883
|
+
* Payment types of reserved instances. For example, All Upfront.
|
|
9884
|
+
Return value: All Upfront (fully prepaid).
|
|
9885
|
+
* @type {string || null}
|
|
9886
|
+
*/
|
|
9887
|
+
this.OfferingType = null;
|
|
9888
|
+
|
|
9889
|
+
/**
|
|
9890
|
+
* Types of reserved instances. For example, S3.
|
|
9891
|
+
Return values: <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">Reserved instance type list.</a>
|
|
9892
|
+
* @type {string || null}
|
|
9893
|
+
*/
|
|
9894
|
+
this.InstanceFamily = null;
|
|
9895
|
+
|
|
9896
|
+
/**
|
|
9897
|
+
* IDs of purchased reserved instances. For example, ri-rtbh4han.
|
|
9898
|
+
* @type {string || null}
|
|
9899
|
+
*/
|
|
9900
|
+
this.ReservedInstanceId = null;
|
|
9901
|
+
|
|
9902
|
+
/**
|
|
9903
|
+
* Display names of reserved instances. For example, riname-01.
|
|
9904
|
+
* @type {string || null}
|
|
9905
|
+
*/
|
|
9906
|
+
this.ReservedInstanceName = null;
|
|
9907
|
+
|
|
9908
|
+
}
|
|
9909
|
+
|
|
9910
|
+
/**
|
|
9911
|
+
* @private
|
|
9912
|
+
*/
|
|
9913
|
+
deserialize(params) {
|
|
9914
|
+
if (!params) {
|
|
9915
|
+
return;
|
|
9916
|
+
}
|
|
9917
|
+
this.ReservedInstancesId = 'ReservedInstancesId' in params ? params.ReservedInstancesId : null;
|
|
9918
|
+
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
9919
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
9920
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
9921
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
9922
|
+
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
9923
|
+
this.InstanceCount = 'InstanceCount' in params ? params.InstanceCount : null;
|
|
9924
|
+
this.ProductDescription = 'ProductDescription' in params ? params.ProductDescription : null;
|
|
9925
|
+
this.State = 'State' in params ? params.State : null;
|
|
9926
|
+
this.CurrencyCode = 'CurrencyCode' in params ? params.CurrencyCode : null;
|
|
9927
|
+
this.OfferingType = 'OfferingType' in params ? params.OfferingType : null;
|
|
9928
|
+
this.InstanceFamily = 'InstanceFamily' in params ? params.InstanceFamily : null;
|
|
9929
|
+
this.ReservedInstanceId = 'ReservedInstanceId' in params ? params.ReservedInstanceId : null;
|
|
9930
|
+
this.ReservedInstanceName = 'ReservedInstanceName' in params ? params.ReservedInstanceName : null;
|
|
9931
|
+
|
|
9932
|
+
}
|
|
9933
|
+
}
|
|
9934
|
+
|
|
9685
9935
|
/**
|
|
9686
9936
|
* DeleteImages response structure.
|
|
9687
9937
|
* @class
|
|
@@ -11791,6 +12041,7 @@ class InquiryPriceResetInstancesTypeRequest extends AbstractModel {
|
|
|
11791
12041
|
}
|
|
11792
12042
|
|
|
11793
12043
|
module.exports = {
|
|
12044
|
+
ChargePrepaid: ChargePrepaid,
|
|
11794
12045
|
LocalDiskType: LocalDiskType,
|
|
11795
12046
|
AssociateInstancesKeyPairsResponse: AssociateInstancesKeyPairsResponse,
|
|
11796
12047
|
DescribeImageQuotaResponse: DescribeImageQuotaResponse,
|
|
@@ -11882,6 +12133,7 @@ module.exports = {
|
|
|
11882
12133
|
DescribeRegionsRequest: DescribeRegionsRequest,
|
|
11883
12134
|
CreateDisasterRecoverGroupRequest: CreateDisasterRecoverGroupRequest,
|
|
11884
12135
|
DescribeReservedInstancesConfigInfosResponse: DescribeReservedInstancesConfigInfosResponse,
|
|
12136
|
+
DescribeReservedInstancesResponse: DescribeReservedInstancesResponse,
|
|
11885
12137
|
DescribeImportImageOsResponse: DescribeImportImageOsResponse,
|
|
11886
12138
|
InquirePricePurchaseReservedInstancesOfferingRequest: InquirePricePurchaseReservedInstancesOfferingRequest,
|
|
11887
12139
|
DataDisk: DataDisk,
|
|
@@ -11935,7 +12187,7 @@ module.exports = {
|
|
|
11935
12187
|
DescribeDisasterRecoverGroupQuotaRequest: DescribeDisasterRecoverGroupQuotaRequest,
|
|
11936
12188
|
StartInstancesResponse: StartInstancesResponse,
|
|
11937
12189
|
ModifyInstancesVpcAttributeRequest: ModifyInstancesVpcAttributeRequest,
|
|
11938
|
-
|
|
12190
|
+
DescribeReservedInstancesRequest: DescribeReservedInstancesRequest,
|
|
11939
12191
|
DescribeInternetChargeTypeConfigsResponse: DescribeInternetChargeTypeConfigsResponse,
|
|
11940
12192
|
DescribeZoneInstanceConfigInfosRequest: DescribeZoneInstanceConfigInfosRequest,
|
|
11941
12193
|
DescribeZonesResponse: DescribeZonesResponse,
|
|
@@ -11953,6 +12205,7 @@ module.exports = {
|
|
|
11953
12205
|
InquiryPriceResizeInstanceDisksResponse: InquiryPriceResizeInstanceDisksResponse,
|
|
11954
12206
|
TerminateInstancesRequest: TerminateInstancesRequest,
|
|
11955
12207
|
SharePermission: SharePermission,
|
|
12208
|
+
ReservedInstances: ReservedInstances,
|
|
11956
12209
|
DeleteImagesResponse: DeleteImagesResponse,
|
|
11957
12210
|
ImportImageResponse: ImportImageResponse,
|
|
11958
12211
|
ModifyDisasterRecoverGroupAttributeRequest: ModifyDisasterRecoverGroupAttributeRequest,
|
|
@@ -66,7 +66,7 @@ class GetCountryCodesResponse extends AbstractModel {
|
|
|
66
66
|
this.Data = null;
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
* The unique request ID,
|
|
69
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
70
70
|
* @type {string || null}
|
|
71
71
|
*/
|
|
72
72
|
this.RequestId = null;
|
|
@@ -745,7 +745,7 @@ class DescribeBaseMetricsResponse extends AbstractModel {
|
|
|
745
745
|
this.MetricSet = null;
|
|
746
746
|
|
|
747
747
|
/**
|
|
748
|
-
* The unique request ID,
|
|
748
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
749
749
|
* @type {string || null}
|
|
750
750
|
*/
|
|
751
751
|
this.RequestId = null;
|
|
@@ -222,6 +222,24 @@ It can contain up to 150 Chinese characters (a full-width punctuation as a Chine
|
|
|
222
222
|
*/
|
|
223
223
|
this.SegmentRate = null;
|
|
224
224
|
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @type {string || null}
|
|
228
|
+
*/
|
|
229
|
+
this.EmotionCategory = null;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @type {number || null}
|
|
234
|
+
*/
|
|
235
|
+
this.EmotionIntensity = null;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @type {string || null}
|
|
240
|
+
*/
|
|
241
|
+
this.FastVoiceType = null;
|
|
242
|
+
|
|
225
243
|
}
|
|
226
244
|
|
|
227
245
|
/**
|
|
@@ -243,6 +261,9 @@ It can contain up to 150 Chinese characters (a full-width punctuation as a Chine
|
|
|
243
261
|
this.Codec = 'Codec' in params ? params.Codec : null;
|
|
244
262
|
this.EnableSubtitle = 'EnableSubtitle' in params ? params.EnableSubtitle : null;
|
|
245
263
|
this.SegmentRate = 'SegmentRate' in params ? params.SegmentRate : null;
|
|
264
|
+
this.EmotionCategory = 'EmotionCategory' in params ? params.EmotionCategory : null;
|
|
265
|
+
this.EmotionIntensity = 'EmotionIntensity' in params ? params.EmotionIntensity : null;
|
|
266
|
+
this.FastVoiceType = 'FastVoiceType' in params ? params.FastVoiceType : null;
|
|
246
267
|
|
|
247
268
|
}
|
|
248
269
|
}
|
package/tencentcloud/vm/index.js
CHANGED
|
@@ -17942,6 +17942,12 @@ Whether the Anycast EIP can be bound to CLB instances.
|
|
|
17942
17942
|
*/
|
|
17943
17943
|
this.DedicatedClusterId = null;
|
|
17944
17944
|
|
|
17945
|
+
/**
|
|
17946
|
+
*
|
|
17947
|
+
* @type {boolean || null}
|
|
17948
|
+
*/
|
|
17949
|
+
this.IsDedicatedAddressPool = null;
|
|
17950
|
+
|
|
17945
17951
|
/**
|
|
17946
17952
|
* Network egress. It defaults to `center_egress1`.
|
|
17947
17953
|
* @type {string || null}
|
|
@@ -17995,6 +18001,7 @@ Whether the Anycast EIP can be bound to CLB instances.
|
|
|
17995
18001
|
this.BandwidthPackageId = 'BandwidthPackageId' in params ? params.BandwidthPackageId : null;
|
|
17996
18002
|
this.AddressName = 'AddressName' in params ? params.AddressName : null;
|
|
17997
18003
|
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
18004
|
+
this.IsDedicatedAddressPool = 'IsDedicatedAddressPool' in params ? params.IsDedicatedAddressPool : null;
|
|
17998
18005
|
this.Egress = 'Egress' in params ? params.Egress : null;
|
|
17999
18006
|
this.AntiDDoSPackageId = 'AntiDDoSPackageId' in params ? params.AntiDDoSPackageId : null;
|
|
18000
18007
|
this.ClientToken = 'ClientToken' in params ? params.ClientToken : null;
|