tencentcloud-sdk-nodejs-intl-en 3.0.1360 → 3.0.1361

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.1360",
3
+ "version": "3.0.1361",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2861,7 +2861,7 @@ class ModifyDiskAttributesRequest extends AbstractModel {
2861
2861
  this.Portable = null;
2862
2862
 
2863
2863
  /**
2864
- * The new project ID of the cloud disk. Only the project ID of elastic cloud disk can be modified. The available projects and their IDs can be queried via the API [DescribeProject](https://intl.cloud.tencent.com/document/api/378/4400?from_cn_redirect=1).
2864
+ * The new project ID of the cloud disk. Only the project ID of elastic cloud disk can be modified. The available projects and their IDs can be queried via the API [DescribeProject](https://www.tencentcloud.com/document/api/651/54679).
2865
2865
  * @type {number || null}
2866
2866
  */
2867
2867
  this.ProjectId = null;
@@ -5027,7 +5027,7 @@ class CopySnapshotCrossRegionsRequest extends AbstractModel {
5027
5027
  super();
5028
5028
 
5029
5029
  /**
5030
- * Destination regions of the replication task. You can query the value of regions by calling [DescribeRegions](https://intl.cloud.tencent.com/document/product/213/9456?from_cn_redirect=1) API. Note that you can only specify regions that support snapshots.
5030
+ * Destination regions of the replication task. You can query the value of regions by calling [DescribeRegions](https://www.tencentcloud.com/document/product/1271/71925) API. Note that you can only specify regions that support snapshots.
5031
5031
  * @type {Array.<string> || null}
5032
5032
  */
5033
5033
  this.DestinationRegions = null;
@@ -5039,7 +5039,7 @@ class CopySnapshotCrossRegionsRequest extends AbstractModel {
5039
5039
  this.SnapshotId = null;
5040
5040
 
5041
5041
  /**
5042
- * Name of the snapshot replica. If it’s not specified, it defaults to Copied [source snapshot ID from [region name]
5042
+ * Name of the snapshot replica. If it is not specified, it defaults to Copied [source snapshot ID from [region name]
5043
5043
  * @type {string || null}
5044
5044
  */
5045
5045
  this.SnapshotName = null;
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1360";
1
+ const sdkVersion = "3.0.1361";
2
2
  module.exports = sdkVersion
@@ -474,6 +474,98 @@ class DescribeProjectLimitsResponse extends AbstractModel {
474
474
  }
475
475
  }
476
476
 
477
+ /**
478
+ * DescribeTawInstances request structure.
479
+ * @class
480
+ */
481
+ class DescribeTawInstancesRequest extends AbstractModel {
482
+ constructor(){
483
+ super();
484
+
485
+ /**
486
+ * Billing status
487
+ * @type {Array.<number> || null}
488
+ */
489
+ this.ChargeStatuses = null;
490
+
491
+ /**
492
+ * Billing type
493
+ * @type {Array.<number> || null}
494
+ */
495
+ this.ChargeTypes = null;
496
+
497
+ /**
498
+ * Pagination limit
499
+ * @type {number || null}
500
+ */
501
+ this.Limit = null;
502
+
503
+ /**
504
+ * Pagination offset
505
+ * @type {number || null}
506
+ */
507
+ this.Offset = null;
508
+
509
+ /**
510
+ * Region ID
511
+ * @type {Array.<number> || null}
512
+ */
513
+ this.AreaIds = null;
514
+
515
+ /**
516
+ * Instance status (1: creating; 2: running; 3: exceptional; 4: restarting; 5: stopping; 6: stopped; 7: terminating; 8: terminated)
517
+ * @type {Array.<number> || null}
518
+ */
519
+ this.InstanceStatuses = null;
520
+
521
+ /**
522
+ * Instance ID
523
+ * @type {Array.<string> || null}
524
+ */
525
+ this.InstanceIds = null;
526
+
527
+ /**
528
+ * Filter parameter
529
+ * @type {Array.<Filter> || null}
530
+ */
531
+ this.Filters = null;
532
+
533
+ /**
534
+ * Whether it is in the demo mode. `1`: Yes; `2`: No.
535
+ * @type {number || null}
536
+ */
537
+ this.IsDemo = null;
538
+
539
+ }
540
+
541
+ /**
542
+ * @private
543
+ */
544
+ deserialize(params) {
545
+ if (!params) {
546
+ return;
547
+ }
548
+ this.ChargeStatuses = 'ChargeStatuses' in params ? params.ChargeStatuses : null;
549
+ this.ChargeTypes = 'ChargeTypes' in params ? params.ChargeTypes : null;
550
+ this.Limit = 'Limit' in params ? params.Limit : null;
551
+ this.Offset = 'Offset' in params ? params.Offset : null;
552
+ this.AreaIds = 'AreaIds' in params ? params.AreaIds : null;
553
+ this.InstanceStatuses = 'InstanceStatuses' in params ? params.InstanceStatuses : null;
554
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
555
+
556
+ if (params.Filters) {
557
+ this.Filters = new Array();
558
+ for (let z in params.Filters) {
559
+ let obj = new Filter();
560
+ obj.deserialize(params.Filters[z]);
561
+ this.Filters.push(obj);
562
+ }
563
+ }
564
+ this.IsDemo = 'IsDemo' in params ? params.IsDemo : null;
565
+
566
+ }
567
+ }
568
+
477
569
  /**
478
570
  * DeleteOfflineLogConfig response structure.
479
571
  * @class
@@ -10538,6 +10630,56 @@ class DescribeDataStaticResourceRequest extends AbstractModel {
10538
10630
  }
10539
10631
  }
10540
10632
 
10633
+ /**
10634
+ * DescribeTawInstances response structure.
10635
+ * @class
10636
+ */
10637
+ class DescribeTawInstancesResponse extends AbstractModel {
10638
+ constructor(){
10639
+ super();
10640
+
10641
+ /**
10642
+ * Instance list
10643
+ * @type {Array.<RumInstanceInfo> || null}
10644
+ */
10645
+ this.InstanceSet = null;
10646
+
10647
+ /**
10648
+ * Total number of instances
10649
+ * @type {number || null}
10650
+ */
10651
+ this.TotalCount = null;
10652
+
10653
+ /**
10654
+ * 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.
10655
+ * @type {string || null}
10656
+ */
10657
+ this.RequestId = null;
10658
+
10659
+ }
10660
+
10661
+ /**
10662
+ * @private
10663
+ */
10664
+ deserialize(params) {
10665
+ if (!params) {
10666
+ return;
10667
+ }
10668
+
10669
+ if (params.InstanceSet) {
10670
+ this.InstanceSet = new Array();
10671
+ for (let z in params.InstanceSet) {
10672
+ let obj = new RumInstanceInfo();
10673
+ obj.deserialize(params.InstanceSet[z]);
10674
+ this.InstanceSet.push(obj);
10675
+ }
10676
+ }
10677
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
10678
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
10679
+
10680
+ }
10681
+ }
10682
+
10541
10683
  /**
10542
10684
  * DescribePvList request structure.
10543
10685
  * @class
@@ -11427,6 +11569,126 @@ class DescribeDataSetUrlStatisticsResponse extends AbstractModel {
11427
11569
  }
11428
11570
  }
11429
11571
 
11572
+ /**
11573
+ * RUM instance information
11574
+ * @class
11575
+ */
11576
+ class RumInstanceInfo extends AbstractModel {
11577
+ constructor(){
11578
+ super();
11579
+
11580
+ /**
11581
+ * Instance status (1: creating; 2: running; 3: exceptional; 4: restarting; 5: stopping; 6: stopped; 7: deleted)
11582
+ * @type {number || null}
11583
+ */
11584
+ this.InstanceStatus = null;
11585
+
11586
+ /**
11587
+ * Region ID
11588
+ * @type {number || null}
11589
+ */
11590
+ this.AreaId = null;
11591
+
11592
+ /**
11593
+ * Tag list
11594
+ * @type {Array.<Tag> || null}
11595
+ */
11596
+ this.Tags = null;
11597
+
11598
+ /**
11599
+ * Instance ID
11600
+ * @type {string || null}
11601
+ */
11602
+ this.InstanceId = null;
11603
+
11604
+ /**
11605
+ * Cluster ID
11606
+ * @type {number || null}
11607
+ */
11608
+ this.ClusterId = null;
11609
+
11610
+ /**
11611
+ * Instance description
11612
+ * @type {string || null}
11613
+ */
11614
+ this.InstanceDesc = null;
11615
+
11616
+ /**
11617
+ * Billing status (1: in use; 2: expired; 3: terminated; 4: assigning; 5: assignment failed)
11618
+ * @type {number || null}
11619
+ */
11620
+ this.ChargeStatus = null;
11621
+
11622
+ /**
11623
+ * Billing type (1: free; 2: prepaid; 3: postpaid)
11624
+ * @type {number || null}
11625
+ */
11626
+ this.ChargeType = null;
11627
+
11628
+ /**
11629
+ * Update time
11630
+ * @type {string || null}
11631
+ */
11632
+ this.UpdatedAt = null;
11633
+
11634
+ /**
11635
+ * Data retention period (in days)
11636
+ * @type {number || null}
11637
+ */
11638
+ this.DataRetentionDays = null;
11639
+
11640
+ /**
11641
+ * Instance name
11642
+ * @type {string || null}
11643
+ */
11644
+ this.InstanceName = null;
11645
+
11646
+ /**
11647
+ * Creation time
11648
+ * @type {string || null}
11649
+ */
11650
+ this.CreatedAt = null;
11651
+
11652
+ /**
11653
+ *
11654
+ * @type {number || null}
11655
+ */
11656
+ this.InstanceType = null;
11657
+
11658
+ }
11659
+
11660
+ /**
11661
+ * @private
11662
+ */
11663
+ deserialize(params) {
11664
+ if (!params) {
11665
+ return;
11666
+ }
11667
+ this.InstanceStatus = 'InstanceStatus' in params ? params.InstanceStatus : null;
11668
+ this.AreaId = 'AreaId' in params ? params.AreaId : null;
11669
+
11670
+ if (params.Tags) {
11671
+ this.Tags = new Array();
11672
+ for (let z in params.Tags) {
11673
+ let obj = new Tag();
11674
+ obj.deserialize(params.Tags[z]);
11675
+ this.Tags.push(obj);
11676
+ }
11677
+ }
11678
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
11679
+ this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
11680
+ this.InstanceDesc = 'InstanceDesc' in params ? params.InstanceDesc : null;
11681
+ this.ChargeStatus = 'ChargeStatus' in params ? params.ChargeStatus : null;
11682
+ this.ChargeType = 'ChargeType' in params ? params.ChargeType : null;
11683
+ this.UpdatedAt = 'UpdatedAt' in params ? params.UpdatedAt : null;
11684
+ this.DataRetentionDays = 'DataRetentionDays' in params ? params.DataRetentionDays : null;
11685
+ this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
11686
+ this.CreatedAt = 'CreatedAt' in params ? params.CreatedAt : null;
11687
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
11688
+
11689
+ }
11690
+ }
11691
+
11430
11692
  module.exports = {
11431
11693
  CreateTawInstanceRequest: CreateTawInstanceRequest,
11432
11694
  DescribeDataFetchProjectRequest: DescribeDataFetchProjectRequest,
@@ -11434,6 +11696,7 @@ module.exports = {
11434
11696
  CreateTawInstanceResponse: CreateTawInstanceResponse,
11435
11697
  DeleteProjectRequest: DeleteProjectRequest,
11436
11698
  DescribeProjectLimitsResponse: DescribeProjectLimitsResponse,
11699
+ DescribeTawInstancesRequest: DescribeTawInstancesRequest,
11437
11700
  DeleteOfflineLogConfigResponse: DeleteOfflineLogConfigResponse,
11438
11701
  ResumeProjectResponse: ResumeProjectResponse,
11439
11702
  DescribeRumLogListResponse: DescribeRumLogListResponse,
@@ -11577,6 +11840,7 @@ module.exports = {
11577
11840
  DescribeRumLogListRequest: DescribeRumLogListRequest,
11578
11841
  DescribeDataPerformancePageV2Request: DescribeDataPerformancePageV2Request,
11579
11842
  DescribeDataStaticResourceRequest: DescribeDataStaticResourceRequest,
11843
+ DescribeTawInstancesResponse: DescribeTawInstancesResponse,
11580
11844
  DescribePvListRequest: DescribePvListRequest,
11581
11845
  DescribeDataPvUrlInfoRequest: DescribeDataPvUrlInfoRequest,
11582
11846
  CreateReleaseFileResponse: CreateReleaseFileResponse,
@@ -11588,5 +11852,6 @@ module.exports = {
11588
11852
  RumProject: RumProject,
11589
11853
  DescribeDataStaticResourceV2Response: DescribeDataStaticResourceV2Response,
11590
11854
  DescribeDataSetUrlStatisticsResponse: DescribeDataSetUrlStatisticsResponse,
11855
+ RumInstanceInfo: RumInstanceInfo,
11591
11856
 
11592
11857
  }
@@ -22,6 +22,7 @@ const DescribeDataResponse = models.DescribeDataResponse;
22
22
  const CreateTawInstanceResponse = models.CreateTawInstanceResponse;
23
23
  const DeleteProjectRequest = models.DeleteProjectRequest;
24
24
  const DescribeProjectLimitsResponse = models.DescribeProjectLimitsResponse;
25
+ const DescribeTawInstancesRequest = models.DescribeTawInstancesRequest;
25
26
  const DeleteOfflineLogConfigResponse = models.DeleteOfflineLogConfigResponse;
26
27
  const ResumeProjectResponse = models.ResumeProjectResponse;
27
28
  const DescribeRumLogListResponse = models.DescribeRumLogListResponse;
@@ -165,6 +166,7 @@ const ModifyProjectRequest = models.ModifyProjectRequest;
165
166
  const DescribeRumLogListRequest = models.DescribeRumLogListRequest;
166
167
  const DescribeDataPerformancePageV2Request = models.DescribeDataPerformancePageV2Request;
167
168
  const DescribeDataStaticResourceRequest = models.DescribeDataStaticResourceRequest;
169
+ const DescribeTawInstancesResponse = models.DescribeTawInstancesResponse;
168
170
  const DescribePvListRequest = models.DescribePvListRequest;
169
171
  const DescribeDataPvUrlInfoRequest = models.DescribeDataPvUrlInfoRequest;
170
172
  const CreateReleaseFileResponse = models.CreateReleaseFileResponse;
@@ -176,6 +178,7 @@ const DescribeDataLogUrlStatisticsV2Request = models.DescribeDataLogUrlStatistic
176
178
  const RumProject = models.RumProject;
177
179
  const DescribeDataStaticResourceV2Response = models.DescribeDataStaticResourceV2Response;
178
180
  const DescribeDataSetUrlStatisticsResponse = models.DescribeDataSetUrlStatisticsResponse;
181
+ const RumInstanceInfo = models.RumInstanceInfo;
179
182
 
180
183
 
181
184
  /**
@@ -243,6 +246,17 @@ class RumClient extends AbstractClient {
243
246
  this.request("DescribeRumLogList", req, resp, cb);
244
247
  }
245
248
 
249
+ /**
250
+ * This API is used to query instance information.
251
+ * @param {DescribeTawInstancesRequest} req
252
+ * @param {function(string, DescribeTawInstancesResponse):void} cb
253
+ * @public
254
+ */
255
+ DescribeTawInstances(req, cb) {
256
+ let resp = new DescribeTawInstancesResponse();
257
+ this.request("DescribeTawInstances", req, resp, cb);
258
+ }
259
+
246
260
  /**
247
261
  * This API is used to get the PerformancePage information.
248
262
  * @param {DescribeDataPerformancePageRequest} req