tencentcloud-sdk-nodejs-intl-en 3.0.1255 → 3.0.1257

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.
@@ -486,10 +486,10 @@ class TerminateInstancesResponse extends AbstractModel {
486
486
  }
487
487
 
488
488
  /**
489
- * ResetInstancesInternetMaxBandwidth response structure.
489
+ * ModifyInstancesChargeType response structure.
490
490
  * @class
491
491
  */
492
- class ResetInstancesInternetMaxBandwidthResponse extends AbstractModel {
492
+ class ModifyInstancesChargeTypeResponse extends AbstractModel {
493
493
  constructor(){
494
494
  super();
495
495
 
@@ -2006,13 +2006,19 @@ Note: This field may return `null`, indicating that no valid values can be obtai
2006
2006
  }
2007
2007
 
2008
2008
  /**
2009
- * ModifyImageSharePermission response structure.
2009
+ * InquiryPriceModifyInstancesChargeType response structure.
2010
2010
  * @class
2011
2011
  */
2012
- class ModifyImageSharePermissionResponse extends AbstractModel {
2012
+ class InquiryPriceModifyInstancesChargeTypeResponse extends AbstractModel {
2013
2013
  constructor(){
2014
2014
  super();
2015
2015
 
2016
+ /**
2017
+ * This parameter indicates the price for switching the billing mode of the corresponding configuration instance.
2018
+ * @type {Price || null}
2019
+ */
2020
+ this.Price = null;
2021
+
2016
2022
  /**
2017
2023
  * 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.
2018
2024
  * @type {string || null}
@@ -2028,6 +2034,12 @@ class ModifyImageSharePermissionResponse extends AbstractModel {
2028
2034
  if (!params) {
2029
2035
  return;
2030
2036
  }
2037
+
2038
+ if (params.Price) {
2039
+ let obj = new Price();
2040
+ obj.deserialize(params.Price)
2041
+ this.Price = obj;
2042
+ }
2031
2043
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
2032
2044
 
2033
2045
  }
@@ -2414,6 +2426,63 @@ class DeleteKeyPairsResponse extends AbstractModel {
2414
2426
  }
2415
2427
  }
2416
2428
 
2429
+ /**
2430
+ * ModifyInstancesChargeType request structure.
2431
+ * @class
2432
+ */
2433
+ class ModifyInstancesChargeTypeRequest extends AbstractModel {
2434
+ constructor(){
2435
+ super();
2436
+
2437
+ /**
2438
+ * One or more instance ids to be operated. you can obtain the instance ID through the `InstanceId` in the return value from the api [DescribeInstances](https://www.tencentcloud.com/document/api/213/15728?from_cn_redirect=1). the maximum number of instances per request is 30.
2439
+ * @type {Array.<string> || null}
2440
+ */
2441
+ this.InstanceIds = null;
2442
+
2443
+ /**
2444
+ * Modified instance [billing type](https://www.tencentcloud.com/document/product/213/2180?from_cn_redirect=1). <li>`PREPAID`: monthly subscription.</li>
2445
+ **Note:** Only supports converting pay-as-you-go instances to annual and monthly subscription instances.
2446
+
2447
+ default value: `PREPAID`
2448
+ * @type {string || null}
2449
+ */
2450
+ this.InstanceChargeType = null;
2451
+
2452
+ /**
2453
+ * Modified prepaid mode, parameter settings related to monthly/annual subscription. by specifying this parameter, you can specify the purchase duration of annual and monthly subscription instances, whether to enable auto-renewal, and other attributes.
2454
+ * @type {InstanceChargePrepaid || null}
2455
+ */
2456
+ this.InstanceChargePrepaid = null;
2457
+
2458
+ /**
2459
+ * Whether to switch the billing mode of elastic data cloud disks simultaneously. valid values: <li> true: means switching the billing mode of elastic data cloud disks</li><li> false: means not switching the billing mode of elastic data cloud disks</li>default value: false.
2460
+ * @type {boolean || null}
2461
+ */
2462
+ this.ModifyPortableDataDisk = null;
2463
+
2464
+ }
2465
+
2466
+ /**
2467
+ * @private
2468
+ */
2469
+ deserialize(params) {
2470
+ if (!params) {
2471
+ return;
2472
+ }
2473
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
2474
+ this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
2475
+
2476
+ if (params.InstanceChargePrepaid) {
2477
+ let obj = new InstanceChargePrepaid();
2478
+ obj.deserialize(params.InstanceChargePrepaid)
2479
+ this.InstanceChargePrepaid = obj;
2480
+ }
2481
+ this.ModifyPortableDataDisk = 'ModifyPortableDataDisk' in params ? params.ModifyPortableDataDisk : null;
2482
+
2483
+ }
2484
+ }
2485
+
2417
2486
  /**
2418
2487
  * EnterRescueMode request structure.
2419
2488
  * @class
@@ -2838,10 +2907,10 @@ Note: This field may return null, indicating that no valid value is found.
2838
2907
  }
2839
2908
 
2840
2909
  /**
2841
- * ModifyInstancesAttribute response structure.
2910
+ * ResetInstancesInternetMaxBandwidth response structure.
2842
2911
  * @class
2843
2912
  */
2844
- class ModifyInstancesAttributeResponse extends AbstractModel {
2913
+ class ResetInstancesInternetMaxBandwidthResponse extends AbstractModel {
2845
2914
  constructor(){
2846
2915
  super();
2847
2916
 
@@ -2866,24 +2935,46 @@ class ModifyInstancesAttributeResponse extends AbstractModel {
2866
2935
  }
2867
2936
 
2868
2937
  /**
2869
- * ModifyInstancesRenewFlag request structure.
2938
+ * ModifyInstancesAttribute response structure.
2870
2939
  * @class
2871
2940
  */
2872
- class ModifyInstancesRenewFlagRequest extends AbstractModel {
2941
+ class ModifyInstancesAttributeResponse extends AbstractModel {
2873
2942
  constructor(){
2874
2943
  super();
2875
2944
 
2876
2945
  /**
2877
- * For one or more instance IDs to be operated. You can obtain the instance ID through the `instanceid` in the returned value from the API [DescribeInstances](https://cloud.tencent.com/document/api/213/15728). The maximum number of instances that can be operated for each request is 100.
2878
- * @type {Array.<string> || null}
2946
+ * 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.
2947
+ * @type {string || null}
2879
2948
  */
2880
- this.InstanceIds = null;
2949
+ this.RequestId = null;
2950
+
2951
+ }
2952
+
2953
+ /**
2954
+ * @private
2955
+ */
2956
+ deserialize(params) {
2957
+ if (!params) {
2958
+ return;
2959
+ }
2960
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2961
+
2962
+ }
2963
+ }
2964
+
2965
+ /**
2966
+ * ModifyImageSharePermission response structure.
2967
+ * @class
2968
+ */
2969
+ class ModifyImageSharePermissionResponse extends AbstractModel {
2970
+ constructor(){
2971
+ super();
2881
2972
 
2882
2973
  /**
2883
- * Auto-renewal flag. Valid values: <br><li>NOTIFY_AND_AUTO_RENEW: Notifies of expiration and performs auto-renewal.</li><li>NOTIFY_AND_MANUAL_RENEW: Notifies of expiration but does not perform auto-renewal.</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW: Not notifies of expiration nor perform auto-renewal.</li><br>If this parameter is specified to NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis after it expires when there is sufficient account balance.
2974
+ * 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.
2884
2975
  * @type {string || null}
2885
2976
  */
2886
- this.RenewFlag = null;
2977
+ this.RequestId = null;
2887
2978
 
2888
2979
  }
2889
2980
 
@@ -2894,8 +2985,7 @@ class ModifyInstancesRenewFlagRequest extends AbstractModel {
2894
2985
  if (!params) {
2895
2986
  return;
2896
2987
  }
2897
- this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
2898
- this.RenewFlag = 'RenewFlag' in params ? params.RenewFlag : null;
2988
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2899
2989
 
2900
2990
  }
2901
2991
  }
@@ -3501,6 +3591,41 @@ class ModifyKeyPairAttributeResponse extends AbstractModel {
3501
3591
  }
3502
3592
  }
3503
3593
 
3594
+ /**
3595
+ * ModifyInstancesRenewFlag request structure.
3596
+ * @class
3597
+ */
3598
+ class ModifyInstancesRenewFlagRequest extends AbstractModel {
3599
+ constructor(){
3600
+ super();
3601
+
3602
+ /**
3603
+ * For one or more instance IDs to be operated. You can obtain the instance ID through the `instanceid` in the returned value from the API [DescribeInstances](https://cloud.tencent.com/document/api/213/15728). The maximum number of instances that can be operated for each request is 100.
3604
+ * @type {Array.<string> || null}
3605
+ */
3606
+ this.InstanceIds = null;
3607
+
3608
+ /**
3609
+ * Auto-renewal flag. Valid values: <br><li>NOTIFY_AND_AUTO_RENEW: Notifies of expiration and performs auto-renewal.</li><li>NOTIFY_AND_MANUAL_RENEW: Notifies of expiration but does not perform auto-renewal.</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW: Not notifies of expiration nor perform auto-renewal.</li><br>If this parameter is specified to NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis after it expires when there is sufficient account balance.
3610
+ * @type {string || null}
3611
+ */
3612
+ this.RenewFlag = null;
3613
+
3614
+ }
3615
+
3616
+ /**
3617
+ * @private
3618
+ */
3619
+ deserialize(params) {
3620
+ if (!params) {
3621
+ return;
3622
+ }
3623
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
3624
+ this.RenewFlag = 'RenewFlag' in params ? params.RenewFlag : null;
3625
+
3626
+ }
3627
+ }
3628
+
3504
3629
  /**
3505
3630
  * SyncImages request structure.
3506
3631
  * @class
@@ -5594,6 +5719,64 @@ Note: This field may return null, indicating that no valid value is found.
5594
5719
  }
5595
5720
  }
5596
5721
 
5722
+ /**
5723
+ * InquiryPriceModifyInstancesChargeType request structure.
5724
+ * @class
5725
+ */
5726
+ class InquiryPriceModifyInstancesChargeTypeRequest extends AbstractModel {
5727
+ constructor(){
5728
+ super();
5729
+
5730
+ /**
5731
+ * One or more instance IDs to be operated. You can obtain the instance ID through the `InstanceId` in the return value from the API [DescribeInstances](https://www.tencentcloud.com/document/api/213/15728?from_cn_redirect=1). The maximum number of instances per request is 100.
5732
+ * @type {Array.<string> || null}
5733
+ */
5734
+ this.InstanceIds = null;
5735
+
5736
+ /**
5737
+ * Modified instance [billing type](https://www.tencentcloud.com/document/product/213/2180?from_cn_redirect=1). <br><li>`PREPAID`: monthly subscription.</li>
5738
+
5739
+ **Note:** Only supports converting pay-as-you-go instances to annual and monthly subscription instances.
5740
+
5741
+ default value: `PREPAID`
5742
+ * @type {string || null}
5743
+ */
5744
+ this.InstanceChargeType = null;
5745
+
5746
+ /**
5747
+ * Prepaid mode, parameter settings related to monthly/annual subscription. through this parameter, specify the purchase duration of annual and monthly subscription instances, whether to enable auto-renewal, and other attributes.
5748
+ * @type {InstanceChargePrepaid || null}
5749
+ */
5750
+ this.InstanceChargePrepaid = null;
5751
+
5752
+ /**
5753
+ * Whether to switch the billing mode of elastic data cloud disks simultaneously. valid values: <br><li>true: means switching the billing mode of elastic data cloud disks</li><li>false: means not switching the billing mode of elastic data cloud disks</li><br>default value: false.
5754
+ * @type {boolean || null}
5755
+ */
5756
+ this.ModifyPortableDataDisk = null;
5757
+
5758
+ }
5759
+
5760
+ /**
5761
+ * @private
5762
+ */
5763
+ deserialize(params) {
5764
+ if (!params) {
5765
+ return;
5766
+ }
5767
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
5768
+ this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
5769
+
5770
+ if (params.InstanceChargePrepaid) {
5771
+ let obj = new InstanceChargePrepaid();
5772
+ obj.deserialize(params.InstanceChargePrepaid)
5773
+ this.InstanceChargePrepaid = obj;
5774
+ }
5775
+ this.ModifyPortableDataDisk = 'ModifyPortableDataDisk' in params ? params.ModifyPortableDataDisk : null;
5776
+
5777
+ }
5778
+ }
5779
+
5597
5780
  /**
5598
5781
  * CreateImage request structure.
5599
5782
  * @class
@@ -12617,7 +12800,7 @@ module.exports = {
12617
12800
  DeleteDisasterRecoverGroupsRequest: DeleteDisasterRecoverGroupsRequest,
12618
12801
  DescribeInstancesOperationLimitRequest: DescribeInstancesOperationLimitRequest,
12619
12802
  TerminateInstancesResponse: TerminateInstancesResponse,
12620
- ResetInstancesInternetMaxBandwidthResponse: ResetInstancesInternetMaxBandwidthResponse,
12803
+ ModifyInstancesChargeTypeResponse: ModifyInstancesChargeTypeResponse,
12621
12804
  DescribeZonesRequest: DescribeZonesRequest,
12622
12805
  InquiryPriceResetInstancesInternetMaxBandwidthResponse: InquiryPriceResetInstancesInternetMaxBandwidthResponse,
12623
12806
  Metadata: Metadata,
@@ -12647,7 +12830,7 @@ module.exports = {
12647
12830
  ZoneInfo: ZoneInfo,
12648
12831
  ModifyLaunchTemplateDefaultVersionResponse: ModifyLaunchTemplateDefaultVersionResponse,
12649
12832
  LaunchTemplateVersionInfo: LaunchTemplateVersionInfo,
12650
- ModifyImageSharePermissionResponse: ModifyImageSharePermissionResponse,
12833
+ InquiryPriceModifyInstancesChargeTypeResponse: InquiryPriceModifyInstancesChargeTypeResponse,
12651
12834
  ImportKeyPairResponse: ImportKeyPairResponse,
12652
12835
  DescribeKeyPairsResponse: DescribeKeyPairsResponse,
12653
12836
  ResetInstancesPasswordRequest: ResetInstancesPasswordRequest,
@@ -12658,6 +12841,7 @@ module.exports = {
12658
12841
  CpuTopology: CpuTopology,
12659
12842
  CreateKeyPairResponse: CreateKeyPairResponse,
12660
12843
  DeleteKeyPairsResponse: DeleteKeyPairsResponse,
12844
+ ModifyInstancesChargeTypeRequest: ModifyInstancesChargeTypeRequest,
12661
12845
  EnterRescueModeRequest: EnterRescueModeRequest,
12662
12846
  TagSpecification: TagSpecification,
12663
12847
  ModifyImageSharePermissionRequest: ModifyImageSharePermissionRequest,
@@ -12667,8 +12851,9 @@ module.exports = {
12667
12851
  RunInstancesResponse: RunInstancesResponse,
12668
12852
  InstanceAttribute: InstanceAttribute,
12669
12853
  ReservedInstancePrice: ReservedInstancePrice,
12854
+ ResetInstancesInternetMaxBandwidthResponse: ResetInstancesInternetMaxBandwidthResponse,
12670
12855
  ModifyInstancesAttributeResponse: ModifyInstancesAttributeResponse,
12671
- ModifyInstancesRenewFlagRequest: ModifyInstancesRenewFlagRequest,
12856
+ ModifyImageSharePermissionResponse: ModifyImageSharePermissionResponse,
12672
12857
  DescribeInstancesOperationLimitResponse: DescribeInstancesOperationLimitResponse,
12673
12858
  SyncImagesResponse: SyncImagesResponse,
12674
12859
  DescribeZoneInstanceConfigInfosResponse: DescribeZoneInstanceConfigInfosResponse,
@@ -12682,6 +12867,7 @@ module.exports = {
12682
12867
  Placement: Placement,
12683
12868
  DescribeDisasterRecoverGroupsRequest: DescribeDisasterRecoverGroupsRequest,
12684
12869
  ModifyKeyPairAttributeResponse: ModifyKeyPairAttributeResponse,
12870
+ ModifyInstancesRenewFlagRequest: ModifyInstancesRenewFlagRequest,
12685
12871
  SyncImagesRequest: SyncImagesRequest,
12686
12872
  DisassociateInstancesKeyPairsRequest: DisassociateInstancesKeyPairsRequest,
12687
12873
  DescribeImageQuotaRequest: DescribeImageQuotaRequest,
@@ -12713,6 +12899,7 @@ module.exports = {
12713
12899
  HostItem: HostItem,
12714
12900
  Externals: Externals,
12715
12901
  ConvertOperatingSystemsResponse: ConvertOperatingSystemsResponse,
12902
+ InquiryPriceModifyInstancesChargeTypeRequest: InquiryPriceModifyInstancesChargeTypeRequest,
12716
12903
  CreateImageRequest: CreateImageRequest,
12717
12904
  Instance: Instance,
12718
12905
  CreateLaunchTemplateVersionRequest: CreateLaunchTemplateVersionRequest,
@@ -67,7 +67,7 @@ const DeleteRecordGroupResponse = models.DeleteRecordGroupResponse;
67
67
  const RecordInfo = models.RecordInfo;
68
68
  const CreateRecordBatchDetail = models.CreateRecordBatchDetail;
69
69
  const DescribeSubdomainAnalyticsResponse = models.DescribeSubdomainAnalyticsResponse;
70
- const ModifyRecordResponse = models.ModifyRecordResponse;
70
+ const DescribeRecordLineCategoryListRequest = models.DescribeRecordLineCategoryListRequest;
71
71
  const ModifyRecordToGroupResponse = models.ModifyRecordToGroupResponse;
72
72
  const ModifyDomainUnlockResponse = models.ModifyDomainUnlockResponse;
73
73
  const DescribeDomainLogListRequest = models.DescribeDomainLogListRequest;
@@ -75,6 +75,7 @@ const DescribeDomainListResponse = models.DescribeDomainListResponse;
75
75
  const ModifyRecordBatchRequest = models.ModifyRecordBatchRequest;
76
76
  const DeleteRecordResponse = models.DeleteRecordResponse;
77
77
  const CreateRecordBatchRecord = models.CreateRecordBatchRecord;
78
+ const DescribeRecordLineCategoryListResponse = models.DescribeRecordLineCategoryListResponse;
78
79
  const CreateDomainResponse = models.CreateDomainResponse;
79
80
  const DomainCountInfo = models.DomainCountInfo;
80
81
  const ModifyRecordBatchResponse = models.ModifyRecordBatchResponse;
@@ -88,6 +89,7 @@ const SubdomainAnalyticsInfo = models.SubdomainAnalyticsInfo;
88
89
  const ModifyRecordBatchDetail = models.ModifyRecordBatchDetail;
89
90
  const DeleteDomainBatchDetail = models.DeleteDomainBatchDetail;
90
91
  const CreateDomainRequest = models.CreateDomainRequest;
92
+ const ModifyRecordResponse = models.ModifyRecordResponse;
91
93
  const DescribeDomainShareInfoResponse = models.DescribeDomainShareInfoResponse;
92
94
  const ModifyDomainRemarkRequest = models.ModifyDomainRemarkRequest;
93
95
  const CreateDomainAliasResponse = models.CreateDomainAliasResponse;
@@ -115,8 +117,11 @@ const DescribeDomainPurviewRequest = models.DescribeDomainPurviewRequest;
115
117
  const CreateDomainBatchDetail = models.CreateDomainBatchDetail;
116
118
  const ModifyDomainUnlockRequest = models.ModifyDomainUnlockRequest;
117
119
  const ModifyDomainLockResponse = models.ModifyDomainLockResponse;
120
+ const DeletePackageOrderResponse = models.DeletePackageOrderResponse;
121
+ const LineItem = models.LineItem;
118
122
  const LockInfo = models.LockInfo;
119
123
  const CreateRecordGroupResponse = models.CreateRecordGroupResponse;
124
+ const DeletePackageOrderRequest = models.DeletePackageOrderRequest;
120
125
  const DescribeDomainShareInfoRequest = models.DescribeDomainShareInfoRequest;
121
126
 
122
127
 
@@ -295,6 +300,17 @@ class DnspodClient extends AbstractClient {
295
300
  this.request("DeleteShareDomain", req, resp, cb);
296
301
  }
297
302
 
303
+ /**
304
+ * This API is used to set the remarks of a domain.
305
+ * @param {ModifyDomainRemarkRequest} req
306
+ * @param {function(string, ModifyDomainRemarkResponse):void} cb
307
+ * @public
308
+ */
309
+ ModifyDomainRemark(req, cb) {
310
+ let resp = new ModifyDomainRemarkResponse();
311
+ this.request("ModifyDomainRemark", req, resp, cb);
312
+ }
313
+
298
314
  /**
299
315
  * This API is used to modify a record group.
300
316
  * @param {ModifyRecordGroupRequest} req
@@ -317,6 +333,17 @@ class DnspodClient extends AbstractClient {
317
333
  this.request("DescribeDomain", req, resp, cb);
318
334
  }
319
335
 
336
+ /**
337
+ * This API is used to disable the paid plan on the international website.
338
+ * @param {DeletePackageOrderRequest} req
339
+ * @param {function(string, DeletePackageOrderResponse):void} cb
340
+ * @public
341
+ */
342
+ DeletePackageOrder(req, cb) {
343
+ let resp = new DeletePackageOrderResponse();
344
+ this.request("DeletePackageOrder", req, resp, cb);
345
+ }
346
+
320
347
  /**
321
348
  * This API is used to bulk add records.
322
349
  * @param {CreateRecordBatchRequest} req
@@ -406,14 +433,14 @@ class DnspodClient extends AbstractClient {
406
433
  }
407
434
 
408
435
  /**
409
- * This API is used to set the remarks of a domain.
410
- * @param {ModifyDomainRemarkRequest} req
411
- * @param {function(string, ModifyDomainRemarkResponse):void} cb
436
+ * This API is used to return a line list by category.
437
+ * @param {DescribeRecordLineCategoryListRequest} req
438
+ * @param {function(string, DescribeRecordLineCategoryListResponse):void} cb
412
439
  * @public
413
440
  */
414
- ModifyDomainRemark(req, cb) {
415
- let resp = new ModifyDomainRemarkResponse();
416
- this.request("ModifyDomainRemark", req, resp, cb);
441
+ DescribeRecordLineCategoryList(req, cb) {
442
+ let resp = new DescribeRecordLineCategoryListResponse();
443
+ this.request("DescribeRecordLineCategoryList", req, resp, cb);
417
444
  }
418
445
 
419
446
  /**