tencentcloud-sdk-nodejs-intl-en 3.0.1313 → 3.0.1315

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.
Files changed (29) hide show
  1. package/package.json +1 -1
  2. package/tencentcloud/apm/v20210622/apm_client.js +19 -0
  3. package/tencentcloud/apm/v20210622/models.js +1 -1
  4. package/tencentcloud/billing/v20180709/billing_client.js +28 -0
  5. package/tencentcloud/billing/v20180709/models.js +203 -0
  6. package/tencentcloud/cbs/v20170312/models.js +4 -3
  7. package/tencentcloud/cdb/v20170320/models.js +2 -2
  8. package/tencentcloud/common/sdk_version.js +1 -1
  9. package/tencentcloud/csip/v20221121/csip_client.js +558 -59
  10. package/tencentcloud/csip/v20221121/models.js +13937 -5480
  11. package/tencentcloud/cvm/v20170312/models.js +2 -4
  12. package/tencentcloud/faceid/v20180301/models.js +1 -1
  13. package/tencentcloud/hunyuan/v20230901/hunyuan_client.js +90 -12
  14. package/tencentcloud/hunyuan/v20230901/models.js +1155 -242
  15. package/tencentcloud/iai/v20200303/models.js +1 -1
  16. package/tencentcloud/intlpartnersmgt/v20220928/models.js +16 -0
  17. package/tencentcloud/mdl/v20200326/models.js +1 -1
  18. package/tencentcloud/mdp/v20200527/models.js +1 -1
  19. package/tencentcloud/mps/v20190612/models.js +742 -762
  20. package/tencentcloud/mps/v20190612/mps_client.js +25 -5
  21. package/tencentcloud/ocr/v20181119/models.js +8 -2
  22. package/tencentcloud/ocr/v20181119/ocr_client.js +1 -1
  23. package/tencentcloud/ses/v20201002/models.js +2215 -1276
  24. package/tencentcloud/ses/v20201002/ses_client.js +151 -70
  25. package/tencentcloud/sms/v20210111/models.js +3 -2
  26. package/tencentcloud/teo/v20220901/models.js +9 -9
  27. package/tencentcloud/teo/v20220901/teo_client.js +2 -1
  28. package/tencentcloud/vpc/v20170312/models.js +1508 -232
  29. package/tencentcloud/vpc/v20170312/vpc_client.js +178 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1313",
3
+ "version": "3.0.1315",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -197,6 +197,25 @@ class ApmClient extends AbstractClient {
197
197
  /**
198
198
  * This API is a general API used to obtain metric data. Users submit request parameters as needed and receive the corresponding metric data.
199
199
  The API call frequency is limited to 20 requests per second and 1200 requests per minute. The number of data points per request is limited to 1440.
200
+ **Usage of the General Interface for Fetching Metric Data**
201
+ DescribeGeneralMetricData is a general interface for querying metric data, supporting flexible data retrieval. The query method of this interface is similar to using the following SQL statement:
202
+ SELECT {Metrics} FROM {ViewName} WHERE {Filters} GROUP BY {GroupBy}.
203
+ 1. View (ViewName)
204
+ Determines the data domain you want to query.
205
+ Examples: service_metric (Service Monitoring View), db_metric (Database View), etc. For views supported by APM, please refer to [Metric Views](https://www.tencentcloud.com/document/product/248/68462?has_map=1&lang=en&pg=)
206
+ 2. Metrics (Metrics)
207
+ Used to specify one or more metric items to be included in the returned results.
208
+ Examples: request_count (Total Requests), duration_avg (Average Latency), error_rate (Error Rate). For metrics supported by APM, please refer to the [APM Metric Protocol Standard](https://www.tencentcloud.com/document/product/248/68462?has_map=1&lang=en&pg=).
209
+ 3. Filters (Filters)
210
+ Supports one or more filtering conditions in the form of Key-Value pairs.
211
+ Example: Querying only a specific service: service.name = "order-service". Common dimensions and specific dimensions supported by each ViewName can be used as keys in filtering conditions. For more details, please refer to the [APM Metric Protocol Standard](https://www.tencentcloud.com/document/product/248/68462?has_map=1&lang=en&pg=).
212
+ 4. Aggregation (GroupBy)
213
+ Supports one or more aggregation dimensions, equivalent to the GROUP BY clause in SQL.
214
+ Example: Grouping by the interface name operation to view the performance of each interface. Common dimensions and specific dimensions supported by each ViewName can be used as aggregation dimensions. For more details, please refer to the [APM Metric Protocol Standard](https://www.tencentcloud.com/document/product/248/68462?has_map=1&lang=en&pg=).
215
+ 5. Granularity (Period)
216
+ This parameter determines whether the data needs to be aggregated by time slices.
217
+ - Period = 1 (Time Series Mode): The returned results are aggregated by time slices. The multiple values contained in the TimeSerial and DataSerial correspond one-to-one, representing the aggregation results for specific time slices. Time Series Mode is primarily used for displaying time trend charts.
218
+ - Period = 0 (Summary Statistics Mode): In the returned results, the DataSerial contains only a single value, representing the summarized data for the entire time range.
200
219
  * @param {DescribeGeneralMetricDataRequest} req
201
220
  * @param {function(string, DescribeGeneralMetricDataResponse):void} cb
202
221
  * @public
@@ -4796,7 +4796,7 @@ class DescribeGeneralMetricDataRequest extends AbstractModel {
4796
4796
  - if 1 is filled in, the aggregation granularity will be selected according to the time span from the start time to the deadline:.
4797
4797
  -If the time span is (0,12) hours, it is aggregated by one-minute granularity.
4798
4798
  -If the time span is [12,48] hours, it is aggregated at a five-minute granularity.
4799
- -If the time span is (48, +∞) hours, it is aggregated at an hourly granularity.
4799
+ -If the time span is (48, +inf) hours, it is aggregated at an hourly granularity.
4800
4800
  * @type {number || null}
4801
4801
  */
4802
4802
  this.Period = null;
@@ -94,12 +94,14 @@ const PayDealsRequest = models.PayDealsRequest;
94
94
  const SummaryTotal = models.SummaryTotal;
95
95
  const BusinessSummaryTotal = models.BusinessSummaryTotal;
96
96
  const CostComponentSet = models.CostComponentSet;
97
+ const RenewInstanceResponse = models.RenewInstanceResponse;
97
98
  const AnalyseHeaderDetail = models.AnalyseHeaderDetail;
98
99
  const AnalysePayModeDetail = models.AnalysePayModeDetail;
99
100
  const DescribeBillSummaryResponse = models.DescribeBillSummaryResponse;
100
101
  const AnalyseOwnerUinDetail = models.AnalyseOwnerUinDetail;
101
102
  const Conditions = models.Conditions;
102
103
  const AnalyseTimeDetail = models.AnalyseTimeDetail;
104
+ const RefundInstanceRequest = models.RefundInstanceRequest;
103
105
  const RegionSummaryOverviewItem = models.RegionSummaryOverviewItem;
104
106
  const ConsumptionProjectSummaryDataItem = models.ConsumptionProjectSummaryDataItem;
105
107
  const AnalyseRegionDetail = models.AnalyseRegionDetail;
@@ -118,6 +120,7 @@ const ConsumptionResourceSummaryConditionValue = models.ConsumptionResourceSumma
118
120
  const DescribeCostSummaryByRegionResponse = models.DescribeCostSummaryByRegionResponse;
119
121
  const DescribeCostDetailRequest = models.DescribeCostDetailRequest;
120
122
  const GatherRuleSummary = models.GatherRuleSummary;
123
+ const RenewInstanceRequest = models.RenewInstanceRequest;
121
124
  const DescribeTagListRequest = models.DescribeTagListRequest;
122
125
  const DescribeBillResourceSummaryForOrganizationResponse = models.DescribeBillResourceSummaryForOrganizationResponse;
123
126
  const DescribeAllocationTreeRequest = models.DescribeAllocationTreeRequest;
@@ -152,6 +155,7 @@ const DescribeDealsByCondRequest = models.DescribeDealsByCondRequest;
152
155
  const CreateAllocationUnitResponse = models.CreateAllocationUnitResponse;
153
156
  const DescribeDosageCosDetailByDateResponse = models.DescribeDosageCosDetailByDateResponse;
154
157
  const AnalyseHeaderTimeDetail = models.AnalyseHeaderTimeDetail;
158
+ const RefundInstanceResponse = models.RefundInstanceResponse;
155
159
  const AllocationRuleExpression = models.AllocationRuleExpression;
156
160
  const DescribeBillSummaryForOrganizationResponse = models.DescribeBillSummaryForOrganizationResponse;
157
161
  const DeleteAllocationUnitResponse = models.DeleteAllocationUnitResponse;
@@ -567,6 +571,18 @@ Currently, the integrated and supported product for purchase includes: Cloud Fir
567
571
  this.request("DescribeTagList", req, resp, cb);
568
572
  }
569
573
 
574
+ /**
575
+ * Renewing an instance: when calling this API to renew a server, ensure that your Tencent Cloud account has sufficient balance; otherwise, the renewal will fail. The account calling this API must be granted the finace:tradepermission; otherwise, the renewal will fail.
576
+ Currently, the integrated and supported product for renewal includes: Cloud Firewall.
577
+ * @param {RenewInstanceRequest} req
578
+ * @param {function(string, RenewInstanceResponse):void} cb
579
+ * @public
580
+ */
581
+ RenewInstance(req, cb) {
582
+ let resp = new RenewInstanceResponse();
583
+ this.request("RenewInstance", req, resp, cb);
584
+ }
585
+
570
586
  /**
571
587
  * This API is used to modify cost allocation unit information.
572
588
  * @param {ModifyAllocationUnitRequest} req
@@ -622,6 +638,18 @@ Currently, the integrated and supported product for purchase includes: Cloud Fir
622
638
  this.request("DescribeDealsByCond", req, resp, cb);
623
639
  }
624
640
 
641
+ /**
642
+ * To unsubscribe from an unneeded instance, only the actual payment amount will be refunded, any used vouchers will not be returned. The refunded amount will be credited to your Tencent Cloud account balance by default.The account calling this API must be granted the finace:RefundInstance permission; otherwise, the refund process will fail.
643
+ Currently, the integrated and supported product for this operation includes: Cloud Firewall.
644
+ * @param {RefundInstanceRequest} req
645
+ * @param {function(string, RefundInstanceResponse):void} cb
646
+ * @public
647
+ */
648
+ RefundInstance(req, cb) {
649
+ let resp = new RefundInstanceResponse();
650
+ this.request("RefundInstance", req, resp, cb);
651
+ }
652
+
625
653
  /**
626
654
  * Gets the bill summarized according to product
627
655
  * @param {DescribeBillSummaryByProductRequest} req
@@ -5107,6 +5107,41 @@ class CostComponentSet extends AbstractModel {
5107
5107
  }
5108
5108
  }
5109
5109
 
5110
+ /**
5111
+ * RenewInstance response structure.
5112
+ * @class
5113
+ */
5114
+ class RenewInstanceResponse extends AbstractModel {
5115
+ constructor(){
5116
+ super();
5117
+
5118
+ /**
5119
+ * Order ID list
5120
+ * @type {Array.<string> || null}
5121
+ */
5122
+ this.OrderIdList = null;
5123
+
5124
+ /**
5125
+ * 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.
5126
+ * @type {string || null}
5127
+ */
5128
+ this.RequestId = null;
5129
+
5130
+ }
5131
+
5132
+ /**
5133
+ * @private
5134
+ */
5135
+ deserialize(params) {
5136
+ if (!params) {
5137
+ return;
5138
+ }
5139
+ this.OrderIdList = 'OrderIdList' in params ? params.OrderIdList : null;
5140
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5141
+
5142
+ }
5143
+ }
5144
+
5110
5145
  /**
5111
5146
  * Cost analysis header data complex type
5112
5147
  * @class
@@ -5460,6 +5495,62 @@ class AnalyseTimeDetail extends AbstractModel {
5460
5495
  }
5461
5496
  }
5462
5497
 
5498
+ /**
5499
+ * RefundInstance request structure.
5500
+ * @class
5501
+ */
5502
+ class RefundInstanceRequest extends AbstractModel {
5503
+ constructor(){
5504
+ super();
5505
+
5506
+ /**
5507
+ * ClientToken is a unique, case-sensitive string generated by the client, no more than 64 ASCII characters. for example, ClientToken=123e4567-e89b-12d3-a456-42665544****.
5508
+ * @type {string || null}
5509
+ */
5510
+ this.ClientToken = null;
5511
+
5512
+ /**
5513
+ * Product code.
5514
+ * @type {string || null}
5515
+ */
5516
+ this.ProductCode = null;
5517
+
5518
+ /**
5519
+ * Sub-product code.
5520
+ * @type {string || null}
5521
+ */
5522
+ this.SubProductCode = null;
5523
+
5524
+ /**
5525
+ * Instance ID.
5526
+ * @type {string || null}
5527
+ */
5528
+ this.InstanceId = null;
5529
+
5530
+ /**
5531
+ * Region code.
5532
+ * @type {string || null}
5533
+ */
5534
+ this.RegionCode = null;
5535
+
5536
+ }
5537
+
5538
+ /**
5539
+ * @private
5540
+ */
5541
+ deserialize(params) {
5542
+ if (!params) {
5543
+ return;
5544
+ }
5545
+ this.ClientToken = 'ClientToken' in params ? params.ClientToken : null;
5546
+ this.ProductCode = 'ProductCode' in params ? params.ProductCode : null;
5547
+ this.SubProductCode = 'SubProductCode' in params ? params.SubProductCode : null;
5548
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
5549
+ this.RegionCode = 'RegionCode' in params ? params.RegionCode : null;
5550
+
5551
+ }
5552
+ }
5553
+
5463
5554
  /**
5464
5555
  * Detailed summary of purchases by region
5465
5556
  * @class
@@ -6957,6 +7048,79 @@ class GatherRuleSummary extends AbstractModel {
6957
7048
  }
6958
7049
  }
6959
7050
 
7051
+ /**
7052
+ * RenewInstance request structure.
7053
+ * @class
7054
+ */
7055
+ class RenewInstanceRequest extends AbstractModel {
7056
+ constructor(){
7057
+ super();
7058
+
7059
+ /**
7060
+ * ClientToken is a unique, case-sensitive string generated by the client, with no more than 64 ASCII characters. for example, ClientToken=123e4567-e89b-12d3-a456-42665544.
7061
+ * @type {string || null}
7062
+ */
7063
+ this.ClientToken = null;
7064
+
7065
+ /**
7066
+ * Product code.
7067
+ * @type {string || null}
7068
+ */
7069
+ this.ProductCode = null;
7070
+
7071
+ /**
7072
+ * Sub-product code.
7073
+ * @type {string || null}
7074
+ */
7075
+ this.SubProductCode = null;
7076
+
7077
+ /**
7078
+ * Region code.
7079
+ * @type {string || null}
7080
+ */
7081
+ this.RegionCode = null;
7082
+
7083
+ /**
7084
+ * Instance ID.
7085
+ * @type {string || null}
7086
+ */
7087
+ this.InstanceId = null;
7088
+
7089
+ /**
7090
+ * Manual renewal duration, upper limit: 36, default value is 1.
7091
+ * @type {number || null}
7092
+ */
7093
+ this.Period = null;
7094
+
7095
+ /**
7096
+ * Manual renewal duration unit. available values:
7097
+ m: renew monthly,
7098
+ y: renew annually.
7099
+ default value is m.
7100
+ * @type {string || null}
7101
+ */
7102
+ this.PeriodUnit = null;
7103
+
7104
+ }
7105
+
7106
+ /**
7107
+ * @private
7108
+ */
7109
+ deserialize(params) {
7110
+ if (!params) {
7111
+ return;
7112
+ }
7113
+ this.ClientToken = 'ClientToken' in params ? params.ClientToken : null;
7114
+ this.ProductCode = 'ProductCode' in params ? params.ProductCode : null;
7115
+ this.SubProductCode = 'SubProductCode' in params ? params.SubProductCode : null;
7116
+ this.RegionCode = 'RegionCode' in params ? params.RegionCode : null;
7117
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
7118
+ this.Period = 'Period' in params ? params.Period : null;
7119
+ this.PeriodUnit = 'PeriodUnit' in params ? params.PeriodUnit : null;
7120
+
7121
+ }
7122
+ }
7123
+
6960
7124
  /**
6961
7125
  * DescribeTagList request structure.
6962
7126
  * @class
@@ -9395,6 +9559,41 @@ class AnalyseHeaderTimeDetail extends AbstractModel {
9395
9559
  }
9396
9560
  }
9397
9561
 
9562
+ /**
9563
+ * RefundInstance response structure.
9564
+ * @class
9565
+ */
9566
+ class RefundInstanceResponse extends AbstractModel {
9567
+ constructor(){
9568
+ super();
9569
+
9570
+ /**
9571
+ * Order ID list
9572
+ * @type {Array.<string> || null}
9573
+ */
9574
+ this.OrderIdList = null;
9575
+
9576
+ /**
9577
+ * 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.
9578
+ * @type {string || null}
9579
+ */
9580
+ this.RequestId = null;
9581
+
9582
+ }
9583
+
9584
+ /**
9585
+ * @private
9586
+ */
9587
+ deserialize(params) {
9588
+ if (!params) {
9589
+ return;
9590
+ }
9591
+ this.OrderIdList = 'OrderIdList' in params ? params.OrderIdList : null;
9592
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
9593
+
9594
+ }
9595
+ }
9596
+
9398
9597
  /**
9399
9598
  * Cost allocation regular expression.
9400
9599
  * @class
@@ -10486,12 +10685,14 @@ module.exports = {
10486
10685
  SummaryTotal: SummaryTotal,
10487
10686
  BusinessSummaryTotal: BusinessSummaryTotal,
10488
10687
  CostComponentSet: CostComponentSet,
10688
+ RenewInstanceResponse: RenewInstanceResponse,
10489
10689
  AnalyseHeaderDetail: AnalyseHeaderDetail,
10490
10690
  AnalysePayModeDetail: AnalysePayModeDetail,
10491
10691
  DescribeBillSummaryResponse: DescribeBillSummaryResponse,
10492
10692
  AnalyseOwnerUinDetail: AnalyseOwnerUinDetail,
10493
10693
  Conditions: Conditions,
10494
10694
  AnalyseTimeDetail: AnalyseTimeDetail,
10695
+ RefundInstanceRequest: RefundInstanceRequest,
10495
10696
  RegionSummaryOverviewItem: RegionSummaryOverviewItem,
10496
10697
  ConsumptionProjectSummaryDataItem: ConsumptionProjectSummaryDataItem,
10497
10698
  AnalyseRegionDetail: AnalyseRegionDetail,
@@ -10510,6 +10711,7 @@ module.exports = {
10510
10711
  DescribeCostSummaryByRegionResponse: DescribeCostSummaryByRegionResponse,
10511
10712
  DescribeCostDetailRequest: DescribeCostDetailRequest,
10512
10713
  GatherRuleSummary: GatherRuleSummary,
10714
+ RenewInstanceRequest: RenewInstanceRequest,
10513
10715
  DescribeTagListRequest: DescribeTagListRequest,
10514
10716
  DescribeBillResourceSummaryForOrganizationResponse: DescribeBillResourceSummaryForOrganizationResponse,
10515
10717
  DescribeAllocationTreeRequest: DescribeAllocationTreeRequest,
@@ -10544,6 +10746,7 @@ module.exports = {
10544
10746
  CreateAllocationUnitResponse: CreateAllocationUnitResponse,
10545
10747
  DescribeDosageCosDetailByDateResponse: DescribeDosageCosDetailByDateResponse,
10546
10748
  AnalyseHeaderTimeDetail: AnalyseHeaderTimeDetail,
10749
+ RefundInstanceResponse: RefundInstanceResponse,
10547
10750
  AllocationRuleExpression: AllocationRuleExpression,
10548
10751
  DescribeBillSummaryForOrganizationResponse: DescribeBillSummaryForOrganizationResponse,
10549
10752
  DeleteAllocationUnitResponse: DeleteAllocationUnitResponse,
@@ -2125,7 +2125,7 @@ class ApplySnapshotResponse extends AbstractModel {
2125
2125
  super();
2126
2126
 
2127
2127
  /**
2128
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2128
+ * 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.
2129
2129
  * @type {string || null}
2130
2130
  */
2131
2131
  this.RequestId = null;
@@ -5086,13 +5086,14 @@ class ApplySnapshotRequest extends AbstractModel {
5086
5086
  this.DiskId = null;
5087
5087
 
5088
5088
  /**
5089
- * Specifies whether to shut down a CVM automatically before a rollback
5089
+ * Specifies whether to perform automatic shutdown before rolling back. only supports rolling back snapshots to mounted cbs.
5090
+ Specifies whether AutoStartInstance can be set to true when this parameter is true.
5090
5091
  * @type {boolean || null}
5091
5092
  */
5092
5093
  this.AutoStopInstance = null;
5093
5094
 
5094
5095
  /**
5095
- * Specifies whether to start up a CVM automatically after a rollback
5096
+ * Specifies whether to automatically start after completion. only supports rolling back snapshots to mounted cbs. this parameter requires simultaneous parameter passing of AutoStopInstance.
5096
5097
  * @type {boolean || null}
5097
5098
  */
5098
5099
  this.AutoStartInstance = null;
@@ -5639,13 +5639,13 @@ class AuditInstanceInfo extends AbstractModel {
5639
5639
  this.TagList = null;
5640
5640
 
5641
5641
  /**
5642
- * Database engine type.
5642
+ * Database kernel type.
5643
5643
  * @type {string || null}
5644
5644
  */
5645
5645
  this.DbType = null;
5646
5646
 
5647
5647
  /**
5648
- * Database engine version.
5648
+ * Database kernel version.
5649
5649
  * @type {string || null}
5650
5650
  */
5651
5651
  this.DbVersion = null;
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1313";
1
+ const sdkVersion = "3.0.1315";
2
2
  module.exports = sdkVersion