tencentcloud-sdk-nodejs-intl-en 3.0.652 → 3.0.653

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.652",
3
+ "version": "3.0.653",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -21,6 +21,7 @@ const ModifyDiskExtraPerformanceRequest = models.ModifyDiskExtraPerformanceReque
21
21
  const ModifyDiskAttributesResponse = models.ModifyDiskAttributesResponse;
22
22
  const DescribeDiskBackupsRequest = models.DescribeDiskBackupsRequest;
23
23
  const AutoSnapshotPolicy = models.AutoSnapshotPolicy;
24
+ const DetailPrice = models.DetailPrice;
24
25
  const DescribeSnapshotOperationLogsRequest = models.DescribeSnapshotOperationLogsRequest;
25
26
  const CreateDiskBackupRequest = models.CreateDiskBackupRequest;
26
27
  const CopySnapshotCrossRegionsResponse = models.CopySnapshotCrossRegionsResponse;
@@ -202,11 +203,10 @@ class CbsClient extends AbstractClient {
202
203
  }
203
204
 
204
205
  /**
205
- * This API (DescribeAutoSnapshotPolicies) is used to query scheduled snapshot policies.
206
-
207
- * You can query the detailed information of scheduled snapshot policies by ID, name, or status. Insert `AND` between different values. For details on filtering information, see `Filter`.
208
- * If the parameter is empty, a certain number (specified by `Limit`; the default is 20) of the scheduled snapshot policy lists are returned to the current user.
206
+ * This API is used to query scheduled snapshot policies.
209
207
 
208
+ * You can filter scheduled snapshot policies by ID, name, state, etc. The relationship between different filters is logical `AND`. For details on filters, see `Filter`.
209
+ * If no parameter is specified, a certain number of scheduled snapshot policies under the current account will be returned. The number is specified by `Limit` and is 20 by default.
210
210
  * @param {DescribeAutoSnapshotPoliciesRequest} req
211
211
  * @param {function(string, DescribeAutoSnapshotPoliciesResponse):void} cb
212
212
  * @public
@@ -337,13 +337,15 @@ Note: This field may return null, indicating that no valid values can be obtaine
337
337
  this.AdvancedRetentionPolicy = null;
338
338
 
339
339
  /**
340
- *
340
+ * Source account ID of the copied snapshot policy
341
+ Note: This field may return null, indicating that no valid values can be obtained.
341
342
  * @type {string || null}
342
343
  */
343
344
  this.CopyFromAccountUin = null;
344
345
 
345
346
  /**
346
- *
347
+ * Tag.
348
+ Note: This field may return null, indicating that no valid values can be obtained.
347
349
  * @type {Array.<Tag> || null}
348
350
  */
349
351
  this.Tags = null;
@@ -400,6 +402,114 @@ Note: This field may return null, indicating that no valid values can be obtaine
400
402
  }
401
403
  }
402
404
 
405
+ /**
406
+ * Pricing details for the cloud disk.
407
+ * @class
408
+ */
409
+ class DetailPrice extends AbstractModel {
410
+ constructor(){
411
+ super();
412
+
413
+ /**
414
+ * Name of the billable item.
415
+ Note: This field may return null, indicating that no valid values can be obtained.
416
+ * @type {string || null}
417
+ */
418
+ this.PriceTitle = null;
419
+
420
+ /**
421
+ * Name of the billable item displayed in the console.
422
+ * @type {string || null}
423
+ */
424
+ this.PriceName = null;
425
+
426
+ /**
427
+ * Original price of a monthly subscribed cloud disk, in USD.
428
+ Note: This field may return null, indicating that no valid values can be obtained.
429
+ * @type {number || null}
430
+ */
431
+ this.OriginalPrice = null;
432
+
433
+ /**
434
+ * Discounted price of a monthly subscribed cloud disk, in USD.
435
+ Note: This field may return null, indicating that no valid values can be obtained.
436
+ * @type {number || null}
437
+ */
438
+ this.DiscountPrice = null;
439
+
440
+ /**
441
+ * Original unit price of a pay-as-you-go cloud disk, in USD.
442
+ Note: This field may return null, indicating that no valid values can be obtained.
443
+ * @type {number || null}
444
+ */
445
+ this.UnitPrice = null;
446
+
447
+ /**
448
+ * Discount unit price of a pay-as-you-go cloud disk, in USD.
449
+ Note: This field may return null, indicating that no valid values can be obtained.
450
+ * @type {number || null}
451
+ */
452
+ this.UnitPriceDiscount = null;
453
+
454
+ /**
455
+ * Billing unit for pay-as-you-go cloud disks. Valid value: `HOUR` (billed hourly).
456
+ Note: This field may return null, indicating that no valid values can be obtained.
457
+ * @type {string || null}
458
+ */
459
+ this.ChargeUnit = null;
460
+
461
+ /**
462
+ * Original highly-precise price of a monthly subscribed cloud disk, in USD.
463
+ Note: This field may return null, indicating that no valid values can be obtained.
464
+ * @type {string || null}
465
+ */
466
+ this.OriginalPriceHigh = null;
467
+
468
+ /**
469
+ * Discounted highly-precise price of a monthly subscribed cloud disk, in USD.
470
+ Note: This field may return null, indicating that no valid values can be obtained.
471
+ * @type {string || null}
472
+ */
473
+ this.DiscountPriceHigh = null;
474
+
475
+ /**
476
+ * Original highly-precise unit price of a pay-as-you-go cloud disk, in USD.
477
+ Note: This field may return null, indicating that no valid values can be obtained.
478
+ * @type {string || null}
479
+ */
480
+ this.UnitPriceHigh = null;
481
+
482
+ /**
483
+ * Discounted highly-precise unit price of a pay-as-you-go cloud disk, in USD.
484
+ Note: This field may return null, indicating that no valid values can be obtained.
485
+ * @type {string || null}
486
+ */
487
+ this.UnitPriceDiscountHigh = null;
488
+
489
+ }
490
+
491
+ /**
492
+ * @private
493
+ */
494
+ deserialize(params) {
495
+ if (!params) {
496
+ return;
497
+ }
498
+ this.PriceTitle = 'PriceTitle' in params ? params.PriceTitle : null;
499
+ this.PriceName = 'PriceName' in params ? params.PriceName : null;
500
+ this.OriginalPrice = 'OriginalPrice' in params ? params.OriginalPrice : null;
501
+ this.DiscountPrice = 'DiscountPrice' in params ? params.DiscountPrice : null;
502
+ this.UnitPrice = 'UnitPrice' in params ? params.UnitPrice : null;
503
+ this.UnitPriceDiscount = 'UnitPriceDiscount' in params ? params.UnitPriceDiscount : null;
504
+ this.ChargeUnit = 'ChargeUnit' in params ? params.ChargeUnit : null;
505
+ this.OriginalPriceHigh = 'OriginalPriceHigh' in params ? params.OriginalPriceHigh : null;
506
+ this.DiscountPriceHigh = 'DiscountPriceHigh' in params ? params.DiscountPriceHigh : null;
507
+ this.UnitPriceHigh = 'UnitPriceHigh' in params ? params.UnitPriceHigh : null;
508
+ this.UnitPriceDiscountHigh = 'UnitPriceDiscountHigh' in params ? params.UnitPriceDiscountHigh : null;
509
+
510
+ }
511
+ }
512
+
403
513
  /**
404
514
  * DescribeSnapshotOperationLogs request structure.
405
515
  * @class
@@ -1884,13 +1994,15 @@ Note: This field may return null, indicating that no valid value was found.
1884
1994
  this.InstanceType = null;
1885
1995
 
1886
1996
  /**
1887
- *
1997
+ * ID of the last instance to which the cloud disk is attached
1998
+ Note: This field may return null, indicating that no valid values can be obtained.
1888
1999
  * @type {string || null}
1889
2000
  */
1890
2001
  this.LastAttachInsId = null;
1891
2002
 
1892
2003
  /**
1893
- *
2004
+ * Error message for the last operation of the cloud disk
2005
+ Note: This field may return null, indicating that no valid values can be obtained.
1894
2006
  * @type {string || null}
1895
2007
  */
1896
2008
  this.ErrorPrompt = null;
@@ -2462,6 +2574,13 @@ Note: This field may return null, indicating that no valid value was found.
2462
2574
  */
2463
2575
  this.ProjectId = null;
2464
2576
 
2577
+ /**
2578
+ * Project name of the instance.
2579
+ Note: This field may return null, indicating that no valid values can be obtained.
2580
+ * @type {string || null}
2581
+ */
2582
+ this.ProjectName = null;
2583
+
2465
2584
  /**
2466
2585
  * Dedicated cluster name. When it is an input parameter, it is ignored. When it is an output parameter, it is the name of the dedicated cluster the cloud disk belongs to, and it can be left blank.
2467
2586
  Note: This field may return null, indicating that no valid value was found.
@@ -2494,6 +2613,7 @@ Note: This field may return null, indicating that no valid value was found.
2494
2613
  this.Zone = 'Zone' in params ? params.Zone : null;
2495
2614
  this.CageId = 'CageId' in params ? params.CageId : null;
2496
2615
  this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
2616
+ this.ProjectName = 'ProjectName' in params ? params.ProjectName : null;
2497
2617
  this.CdcName = 'CdcName' in params ? params.CdcName : null;
2498
2618
  this.CdcId = 'CdcId' in params ? params.CdcId : null;
2499
2619
  this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
@@ -3064,6 +3184,13 @@ Note: This field may return null, indicating that no valid value was found.
3064
3184
  */
3065
3185
  this.MaxDiskSize = null;
3066
3186
 
3187
+ /**
3188
+ * Price of a monthly subscribed or pay-as-you-go cloud disk.
3189
+ Note: This field may return null, indicating that no valid values can be obtained.
3190
+ * @type {Price || null}
3191
+ */
3192
+ this.Price = null;
3193
+
3067
3194
  }
3068
3195
 
3069
3196
  /**
@@ -3085,6 +3212,12 @@ Note: This field may return null, indicating that no valid value was found.
3085
3212
  this.MinDiskSize = 'MinDiskSize' in params ? params.MinDiskSize : null;
3086
3213
  this.MaxDiskSize = 'MaxDiskSize' in params ? params.MaxDiskSize : null;
3087
3214
 
3215
+ if (params.Price) {
3216
+ let obj = new Price();
3217
+ obj.deserialize(params.Price)
3218
+ this.Price = obj;
3219
+ }
3220
+
3088
3221
  }
3089
3222
  }
3090
3223
 
@@ -4495,12 +4628,6 @@ class PrepayPrice extends AbstractModel {
4495
4628
  constructor(){
4496
4629
  super();
4497
4630
 
4498
- /**
4499
- * Original payment of a monthly-subscribed cloud disk or a snapshot, in USD.
4500
- * @type {number || null}
4501
- */
4502
- this.OriginalPrice = null;
4503
-
4504
4631
  /**
4505
4632
  * Discounted price of a monthly-subscribed cloud disk or a snapshot, in USD.
4506
4633
  * @type {number || null}
@@ -4508,30 +4635,30 @@ class PrepayPrice extends AbstractModel {
4508
4635
  this.DiscountPrice = null;
4509
4636
 
4510
4637
  /**
4511
- * Original payment of a monthly-subscribed cloud disk or a snapshot, in USD, with six decimal places.
4638
+ * Billing unit for pay-as-you-go cloud disks. Valid value: <br><li>HOUR: billed hourly.
4639
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4512
4640
  * @type {string || null}
4513
4641
  */
4514
- this.OriginalPriceHigh = null;
4642
+ this.ChargeUnit = null;
4515
4643
 
4516
4644
  /**
4517
- * Discounted price of a monthly-subscribed cloud disk or a snapshot, in USD, with six decimal places.
4645
+ * Original unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
4646
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4518
4647
  * @type {string || null}
4519
4648
  */
4520
- this.DiscountPriceHigh = null;
4649
+ this.UnitPriceHigh = null;
4521
4650
 
4522
4651
  /**
4523
- * Original unit price of a pay-as-you-go cloud disk, in USD.
4524
- Note: this field may return `null`, indicating that no valid values can be obtained.
4525
- * @type {number || null}
4652
+ * Original payment of a monthly-subscribed cloud disk or a snapshot, in USD, with six decimal places.
4653
+ * @type {string || null}
4526
4654
  */
4527
- this.UnitPrice = null;
4655
+ this.OriginalPriceHigh = null;
4528
4656
 
4529
4657
  /**
4530
- * Billing unit for pay-as-you-go cloud disks. Valid value: <br><li>HOUR: billed hourly.
4531
- Note: this field may return `null`, indicating that no valid values can be obtained.
4532
- * @type {string || null}
4658
+ * Original payment of a monthly-subscribed cloud disk or a snapshot, in USD.
4659
+ * @type {number || null}
4533
4660
  */
4534
- this.ChargeUnit = null;
4661
+ this.OriginalPrice = null;
4535
4662
 
4536
4663
  /**
4537
4664
  * Discount unit price of a pay-as-you-go cloud disk, in USD.
@@ -4541,18 +4668,31 @@ Note: this field may return `null`, indicating that no valid values can be obtai
4541
4668
  this.UnitPriceDiscount = null;
4542
4669
 
4543
4670
  /**
4544
- * Original unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
4671
+ * Discounted unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
4545
4672
  Note: this field may return `null`, indicating that no valid values can be obtained.
4546
4673
  * @type {string || null}
4547
4674
  */
4548
- this.UnitPriceHigh = null;
4675
+ this.UnitPriceDiscountHigh = null;
4549
4676
 
4550
4677
  /**
4551
- * Discounted unit price of a pay-as-you-go cloud disk, in USD, with six decimal places.
4552
- Note: this field may return `null`, indicating that no valid values can be obtained.
4678
+ * Discounted price of a monthly-subscribed cloud disk or a snapshot, in USD, with six decimal places.
4553
4679
  * @type {string || null}
4554
4680
  */
4555
- this.UnitPriceDiscountHigh = null;
4681
+ this.DiscountPriceHigh = null;
4682
+
4683
+ /**
4684
+ * Original unit price of a pay-as-you-go cloud disk, in USD.
4685
+ Note: this field may return `null`, indicating that no valid values can be obtained.
4686
+ * @type {number || null}
4687
+ */
4688
+ this.UnitPrice = null;
4689
+
4690
+ /**
4691
+ * Detailed billing items
4692
+ Note: This field may return null, indicating that no valid values can be obtained.
4693
+ * @type {Array.<DetailPrice> || null}
4694
+ */
4695
+ this.DetailPrices = null;
4556
4696
 
4557
4697
  }
4558
4698
 
@@ -4563,15 +4703,24 @@ Note: this field may return `null`, indicating that no valid values can be obtai
4563
4703
  if (!params) {
4564
4704
  return;
4565
4705
  }
4566
- this.OriginalPrice = 'OriginalPrice' in params ? params.OriginalPrice : null;
4567
4706
  this.DiscountPrice = 'DiscountPrice' in params ? params.DiscountPrice : null;
4568
- this.OriginalPriceHigh = 'OriginalPriceHigh' in params ? params.OriginalPriceHigh : null;
4569
- this.DiscountPriceHigh = 'DiscountPriceHigh' in params ? params.DiscountPriceHigh : null;
4570
- this.UnitPrice = 'UnitPrice' in params ? params.UnitPrice : null;
4571
4707
  this.ChargeUnit = 'ChargeUnit' in params ? params.ChargeUnit : null;
4572
- this.UnitPriceDiscount = 'UnitPriceDiscount' in params ? params.UnitPriceDiscount : null;
4573
4708
  this.UnitPriceHigh = 'UnitPriceHigh' in params ? params.UnitPriceHigh : null;
4709
+ this.OriginalPriceHigh = 'OriginalPriceHigh' in params ? params.OriginalPriceHigh : null;
4710
+ this.OriginalPrice = 'OriginalPrice' in params ? params.OriginalPrice : null;
4711
+ this.UnitPriceDiscount = 'UnitPriceDiscount' in params ? params.UnitPriceDiscount : null;
4574
4712
  this.UnitPriceDiscountHigh = 'UnitPriceDiscountHigh' in params ? params.UnitPriceDiscountHigh : null;
4713
+ this.DiscountPriceHigh = 'DiscountPriceHigh' in params ? params.DiscountPriceHigh : null;
4714
+ this.UnitPrice = 'UnitPrice' in params ? params.UnitPrice : null;
4715
+
4716
+ if (params.DetailPrices) {
4717
+ this.DetailPrices = new Array();
4718
+ for (let z in params.DetailPrices) {
4719
+ let obj = new DetailPrice();
4720
+ obj.deserialize(params.DetailPrices[z]);
4721
+ this.DetailPrices.push(obj);
4722
+ }
4723
+ }
4575
4724
 
4576
4725
  }
4577
4726
  }
@@ -4950,6 +5099,7 @@ module.exports = {
4950
5099
  ModifyDiskAttributesResponse: ModifyDiskAttributesResponse,
4951
5100
  DescribeDiskBackupsRequest: DescribeDiskBackupsRequest,
4952
5101
  AutoSnapshotPolicy: AutoSnapshotPolicy,
5102
+ DetailPrice: DetailPrice,
4953
5103
  DescribeSnapshotOperationLogsRequest: DescribeSnapshotOperationLogsRequest,
4954
5104
  CreateDiskBackupRequest: CreateDiskBackupRequest,
4955
5105
  CopySnapshotCrossRegionsResponse: CopySnapshotCrossRegionsResponse,
@@ -113,6 +113,13 @@ Note: `null` may be returned for this field, indicating that no valid values can
113
113
  */
114
114
  this.Status = null;
115
115
 
116
+ /**
117
+ * Tag list
118
+ Note: This field may return null, indicating that no valid values can be obtained.
119
+ * @type {Array.<Tag> || null}
120
+ */
121
+ this.Tags = null;
122
+
116
123
  }
117
124
 
118
125
  /**
@@ -147,6 +154,15 @@ Note: `null` may be returned for this field, indicating that no valid values can
147
154
  }
148
155
  this.Status = 'Status' in params ? params.Status : null;
149
156
 
157
+ if (params.Tags) {
158
+ this.Tags = new Array();
159
+ for (let z in params.Tags) {
160
+ let obj = new Tag();
161
+ obj.deserialize(params.Tags[z]);
162
+ this.Tags.push(obj);
163
+ }
164
+ }
165
+
150
166
  }
151
167
  }
152
168
 
@@ -7118,6 +7134,13 @@ Note: This field may return `null`, indicating that no valid values can be obtai
7118
7134
  */
7119
7135
  this.QuotaConfig = null;
7120
7136
 
7137
+ /**
7138
+ * Number of replicas
7139
+ Note: This field may return null, indicating that no valid values can be obtained.
7140
+ * @type {number || null}
7141
+ */
7142
+ this.ReplicaNum = null;
7143
+
7121
7144
  }
7122
7145
 
7123
7146
  /**
@@ -7164,6 +7187,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
7164
7187
  obj.deserialize(params.QuotaConfig)
7165
7188
  this.QuotaConfig = obj;
7166
7189
  }
7190
+ this.ReplicaNum = 'ReplicaNum' in params ? params.ReplicaNum : null;
7167
7191
 
7168
7192
  }
7169
7193
  }
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.652";
1
+ const sdkVersion = "3.0.653";
2
2
  module.exports = sdkVersion
@@ -1315,6 +1315,18 @@ class Label extends AbstractModel {
1315
1315
  constructor(){
1316
1316
  super();
1317
1317
 
1318
+ /**
1319
+ * Label name
1320
+ * @type {string || null}
1321
+ */
1322
+ this.Name = null;
1323
+
1324
+ /**
1325
+ * Label value
1326
+ * @type {string || null}
1327
+ */
1328
+ this.Value = null;
1329
+
1318
1330
  }
1319
1331
 
1320
1332
  /**
@@ -1324,6 +1336,8 @@ class Label extends AbstractModel {
1324
1336
  if (!params) {
1325
1337
  return;
1326
1338
  }
1339
+ this.Name = 'Name' in params ? params.Name : null;
1340
+ this.Value = 'Value' in params ? params.Value : null;
1327
1341
 
1328
1342
  }
1329
1343
  }
@@ -8826,6 +8840,24 @@ class PrometheusAgentInfo extends AbstractModel {
8826
8840
  constructor(){
8827
8841
  super();
8828
8842
 
8843
+ /**
8844
+ * Cluster type
8845
+ * @type {string || null}
8846
+ */
8847
+ this.ClusterType = null;
8848
+
8849
+ /**
8850
+ * Cluster ID
8851
+ * @type {string || null}
8852
+ */
8853
+ this.ClusterId = null;
8854
+
8855
+ /**
8856
+ * Remarks
8857
+ * @type {string || null}
8858
+ */
8859
+ this.Describe = null;
8860
+
8829
8861
  }
8830
8862
 
8831
8863
  /**
@@ -8835,6 +8867,9 @@ class PrometheusAgentInfo extends AbstractModel {
8835
8867
  if (!params) {
8836
8868
  return;
8837
8869
  }
8870
+ this.ClusterType = 'ClusterType' in params ? params.ClusterType : null;
8871
+ this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
8872
+ this.Describe = 'Describe' in params ? params.Describe : null;
8838
8873
 
8839
8874
  }
8840
8875
  }
@@ -17686,7 +17721,7 @@ class DescribePrometheusConfigResponse extends AbstractModel {
17686
17721
  this.RawJobs = null;
17687
17722
 
17688
17723
  /**
17689
- *
17724
+ * Probes
17690
17725
  * @type {Array.<PrometheusConfigItem> || null}
17691
17726
  */
17692
17727
  this.Probes = null;
@@ -20877,6 +20912,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
20877
20912
  */
20878
20913
  this.FailedReason = null;
20879
20914
 
20915
+ /**
20916
+ * Agent name
20917
+ Note: This field may return null, indicating that no valid values can be obtained.
20918
+ * @type {string || null}
20919
+ */
20920
+ this.Name = null;
20921
+
20880
20922
  }
20881
20923
 
20882
20924
  /**
@@ -20902,6 +20944,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
20902
20944
  this.Region = 'Region' in params ? params.Region : null;
20903
20945
  this.VpcId = 'VpcId' in params ? params.VpcId : null;
20904
20946
  this.FailedReason = 'FailedReason' in params ? params.FailedReason : null;
20947
+ this.Name = 'Name' in params ? params.Name : null;
20905
20948
 
20906
20949
  }
20907
20950
  }
@@ -22070,7 +22113,7 @@ class DescribeStatisticDataRequest extends AbstractModel {
22070
22113
  this.Module = null;
22071
22114
 
22072
22115
  /**
22073
- * Namespace. Valid values: QCE/TKE
22116
+ * Namespace. Valid values: `QCE`, `TKE2`.
22074
22117
  * @type {string || null}
22075
22118
  */
22076
22119
  this.Namespace = null;