tencentcloud-sdk-nodejs-intl-en 3.0.1255 → 3.0.1256
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/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/cvm_client.js +63 -31
- package/tencentcloud/cvm/v20170312/models.js +205 -18
- package/tencentcloud/dnspod/v20210323/dnspod_client.js +34 -7
- package/tencentcloud/dnspod/v20210323/models.js +225 -11
- package/tencentcloud/teo/v20220901/models.js +7 -7
- package/tencentcloud/teo/v20220901/teo_client.js +1 -1
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1256";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -28,7 +28,7 @@ const HostResource = models.HostResource;
|
|
|
28
28
|
const DeleteDisasterRecoverGroupsRequest = models.DeleteDisasterRecoverGroupsRequest;
|
|
29
29
|
const DescribeInstancesOperationLimitRequest = models.DescribeInstancesOperationLimitRequest;
|
|
30
30
|
const TerminateInstancesResponse = models.TerminateInstancesResponse;
|
|
31
|
-
const
|
|
31
|
+
const ModifyInstancesChargeTypeResponse = models.ModifyInstancesChargeTypeResponse;
|
|
32
32
|
const DescribeZonesRequest = models.DescribeZonesRequest;
|
|
33
33
|
const InquiryPriceResetInstancesInternetMaxBandwidthResponse = models.InquiryPriceResetInstancesInternetMaxBandwidthResponse;
|
|
34
34
|
const Metadata = models.Metadata;
|
|
@@ -58,7 +58,7 @@ const DescribeInstancesStatusResponse = models.DescribeInstancesStatusResponse;
|
|
|
58
58
|
const ZoneInfo = models.ZoneInfo;
|
|
59
59
|
const ModifyLaunchTemplateDefaultVersionResponse = models.ModifyLaunchTemplateDefaultVersionResponse;
|
|
60
60
|
const LaunchTemplateVersionInfo = models.LaunchTemplateVersionInfo;
|
|
61
|
-
const
|
|
61
|
+
const InquiryPriceModifyInstancesChargeTypeResponse = models.InquiryPriceModifyInstancesChargeTypeResponse;
|
|
62
62
|
const ImportKeyPairResponse = models.ImportKeyPairResponse;
|
|
63
63
|
const DescribeKeyPairsResponse = models.DescribeKeyPairsResponse;
|
|
64
64
|
const ResetInstancesPasswordRequest = models.ResetInstancesPasswordRequest;
|
|
@@ -69,6 +69,7 @@ const ModifyInstancesVpcAttributeResponse = models.ModifyInstancesVpcAttributeRe
|
|
|
69
69
|
const CpuTopology = models.CpuTopology;
|
|
70
70
|
const CreateKeyPairResponse = models.CreateKeyPairResponse;
|
|
71
71
|
const DeleteKeyPairsResponse = models.DeleteKeyPairsResponse;
|
|
72
|
+
const ModifyInstancesChargeTypeRequest = models.ModifyInstancesChargeTypeRequest;
|
|
72
73
|
const EnterRescueModeRequest = models.EnterRescueModeRequest;
|
|
73
74
|
const TagSpecification = models.TagSpecification;
|
|
74
75
|
const ModifyImageSharePermissionRequest = models.ModifyImageSharePermissionRequest;
|
|
@@ -78,8 +79,9 @@ const InquiryPriceResizeInstanceDisksRequest = models.InquiryPriceResizeInstance
|
|
|
78
79
|
const RunInstancesResponse = models.RunInstancesResponse;
|
|
79
80
|
const InstanceAttribute = models.InstanceAttribute;
|
|
80
81
|
const ReservedInstancePrice = models.ReservedInstancePrice;
|
|
82
|
+
const ResetInstancesInternetMaxBandwidthResponse = models.ResetInstancesInternetMaxBandwidthResponse;
|
|
81
83
|
const ModifyInstancesAttributeResponse = models.ModifyInstancesAttributeResponse;
|
|
82
|
-
const
|
|
84
|
+
const ModifyImageSharePermissionResponse = models.ModifyImageSharePermissionResponse;
|
|
83
85
|
const DescribeInstancesOperationLimitResponse = models.DescribeInstancesOperationLimitResponse;
|
|
84
86
|
const SyncImagesResponse = models.SyncImagesResponse;
|
|
85
87
|
const DescribeZoneInstanceConfigInfosResponse = models.DescribeZoneInstanceConfigInfosResponse;
|
|
@@ -93,6 +95,7 @@ const RunSecurityServiceEnabled = models.RunSecurityServiceEnabled;
|
|
|
93
95
|
const Placement = models.Placement;
|
|
94
96
|
const DescribeDisasterRecoverGroupsRequest = models.DescribeDisasterRecoverGroupsRequest;
|
|
95
97
|
const ModifyKeyPairAttributeResponse = models.ModifyKeyPairAttributeResponse;
|
|
98
|
+
const ModifyInstancesRenewFlagRequest = models.ModifyInstancesRenewFlagRequest;
|
|
96
99
|
const SyncImagesRequest = models.SyncImagesRequest;
|
|
97
100
|
const DisassociateInstancesKeyPairsRequest = models.DisassociateInstancesKeyPairsRequest;
|
|
98
101
|
const DescribeImageQuotaRequest = models.DescribeImageQuotaRequest;
|
|
@@ -124,6 +127,7 @@ const DeleteDisasterRecoverGroupsResponse = models.DeleteDisasterRecoverGroupsRe
|
|
|
124
127
|
const HostItem = models.HostItem;
|
|
125
128
|
const Externals = models.Externals;
|
|
126
129
|
const ConvertOperatingSystemsResponse = models.ConvertOperatingSystemsResponse;
|
|
130
|
+
const InquiryPriceModifyInstancesChargeTypeRequest = models.InquiryPriceModifyInstancesChargeTypeRequest;
|
|
127
131
|
const CreateImageRequest = models.CreateImageRequest;
|
|
128
132
|
const Instance = models.Instance;
|
|
129
133
|
const CreateLaunchTemplateVersionRequest = models.CreateLaunchTemplateVersionRequest;
|
|
@@ -351,14 +355,17 @@ class CvmClient extends AbstractClient {
|
|
|
351
355
|
}
|
|
352
356
|
|
|
353
357
|
/**
|
|
354
|
-
* This API is used to
|
|
355
|
-
|
|
356
|
-
|
|
358
|
+
* This API is used to inquire about the price for switching billing modes of instance.
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
This API is used to indicate that instances with no charge when shut down, instances of the model families Batch Computing BC1 and Batch Computing BS1, instances of scheduled termination, and spot instances do not support this operation.
|
|
362
|
+
* @param {InquiryPriceModifyInstancesChargeTypeRequest} req
|
|
363
|
+
* @param {function(string, InquiryPriceModifyInstancesChargeTypeResponse):void} cb
|
|
357
364
|
* @public
|
|
358
365
|
*/
|
|
359
|
-
|
|
360
|
-
let resp = new
|
|
361
|
-
this.request("
|
|
366
|
+
InquiryPriceModifyInstancesChargeType(req, cb) {
|
|
367
|
+
let resp = new InquiryPriceModifyInstancesChargeTypeResponse();
|
|
368
|
+
this.request("InquiryPriceModifyInstancesChargeType", req, resp, cb);
|
|
362
369
|
}
|
|
363
370
|
|
|
364
371
|
/**
|
|
@@ -383,6 +390,23 @@ class CvmClient extends AbstractClient {
|
|
|
383
390
|
this.request("AssociateSecurityGroups", req, resp, cb);
|
|
384
391
|
}
|
|
385
392
|
|
|
393
|
+
/**
|
|
394
|
+
* This API is used to modify attributes of a key pair.
|
|
395
|
+
|
|
396
|
+
* Modify the name and description information of the key pair specified by the key pair ID.
|
|
397
|
+
* The key pair name should not be the same as the name of an existing key pair.
|
|
398
|
+
* The key pair ID is the unique identifier of a key pair and cannot be modified.
|
|
399
|
+
|
|
400
|
+
* Either the key pair name or description information should be specified, and both can also be specified simultaneously.
|
|
401
|
+
* @param {ModifyKeyPairAttributeRequest} req
|
|
402
|
+
* @param {function(string, ModifyKeyPairAttributeResponse):void} cb
|
|
403
|
+
* @public
|
|
404
|
+
*/
|
|
405
|
+
ModifyKeyPairAttribute(req, cb) {
|
|
406
|
+
let resp = new ModifyKeyPairAttributeResponse();
|
|
407
|
+
this.request("ModifyKeyPairAttribute", req, resp, cb);
|
|
408
|
+
}
|
|
409
|
+
|
|
386
410
|
/**
|
|
387
411
|
* This API is used to query the configurations of models in an availability zone.
|
|
388
412
|
* @param {DescribeZoneInstanceConfigInfosRequest} req
|
|
@@ -1010,20 +1034,14 @@ This API is used to query the renewal price of monthly subscription instances.
|
|
|
1010
1034
|
}
|
|
1011
1035
|
|
|
1012
1036
|
/**
|
|
1013
|
-
* This API is used to
|
|
1014
|
-
|
|
1015
|
-
*
|
|
1016
|
-
* The key pair name should not be the same as the name of an existing key pair.
|
|
1017
|
-
* The key pair ID is the unique identifier of a key pair and cannot be modified.
|
|
1018
|
-
|
|
1019
|
-
* Either the key pair name or description information should be specified, and both can also be specified simultaneously.
|
|
1020
|
-
* @param {ModifyKeyPairAttributeRequest} req
|
|
1021
|
-
* @param {function(string, ModifyKeyPairAttributeResponse):void} cb
|
|
1037
|
+
* This API is used to query the price of creating instances. You can only use this API for instances whose configuration is within the purchase limit. For more information, see [RunInstances](https://intl.cloud.tencent.com/document/api/213/15730?from_cn_redirect=1).
|
|
1038
|
+
* @param {InquiryPriceRunInstancesRequest} req
|
|
1039
|
+
* @param {function(string, InquiryPriceRunInstancesResponse):void} cb
|
|
1022
1040
|
* @public
|
|
1023
1041
|
*/
|
|
1024
|
-
|
|
1025
|
-
let resp = new
|
|
1026
|
-
this.request("
|
|
1042
|
+
InquiryPriceRunInstances(req, cb) {
|
|
1043
|
+
let resp = new InquiryPriceRunInstancesResponse();
|
|
1044
|
+
this.request("InquiryPriceRunInstances", req, resp, cb);
|
|
1027
1045
|
}
|
|
1028
1046
|
|
|
1029
1047
|
/**
|
|
@@ -1086,19 +1104,17 @@ This API is used to query the renewal price of monthly subscription instances.
|
|
|
1086
1104
|
}
|
|
1087
1105
|
|
|
1088
1106
|
/**
|
|
1089
|
-
* This API is used to
|
|
1107
|
+
* This API is used to switch the billing mode of an instance.
|
|
1090
1108
|
|
|
1091
|
-
|
|
1092
|
-
* You
|
|
1093
|
-
*
|
|
1094
|
-
*
|
|
1095
|
-
* @param {ModifyInstancesProjectRequest} req
|
|
1096
|
-
* @param {function(string, ModifyInstancesProjectResponse):void} cb
|
|
1109
|
+
This API is used to perform operations that do not support instances with no charge when shut down, instances of the model families Batch Compute BC1 and Batch Compute BS1, or instances of scheduled termination.
|
|
1110
|
+
* You can query the result of the instance operation by calling the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5). If the latest operation status (LatestOperationState) of the instance is **SUCCESS**, the operation is successful.
|
|
1111
|
+
* @param {ModifyInstancesChargeTypeRequest} req
|
|
1112
|
+
* @param {function(string, ModifyInstancesChargeTypeResponse):void} cb
|
|
1097
1113
|
* @public
|
|
1098
1114
|
*/
|
|
1099
|
-
|
|
1100
|
-
let resp = new
|
|
1101
|
-
this.request("
|
|
1115
|
+
ModifyInstancesChargeType(req, cb) {
|
|
1116
|
+
let resp = new ModifyInstancesChargeTypeResponse();
|
|
1117
|
+
this.request("ModifyInstancesChargeType", req, resp, cb);
|
|
1102
1118
|
}
|
|
1103
1119
|
|
|
1104
1120
|
/**
|
|
@@ -1266,6 +1282,22 @@ This API is used to ensure your account balance is sufficient for renewal. You c
|
|
|
1266
1282
|
this.request("PurchaseReservedInstancesOffering", req, resp, cb);
|
|
1267
1283
|
}
|
|
1268
1284
|
|
|
1285
|
+
/**
|
|
1286
|
+
* This API is used to change the project to which an instance is assigned.
|
|
1287
|
+
|
|
1288
|
+
* Project is a virtual concept. You can create multiple projects under one account, manage different resources in each project, and assign different instances to different projects. You may use the [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) API to query instances and use the project ID to filter the results.
|
|
1289
|
+
* You cannot modify the project of an instance that is bound to a load balancer. You need to unbind the load balancer from the instance by using the [DeregisterInstancesFromLoadBalancer](https://intl.cloud.tencent.com/document/api/214/1258?from_cn_redirect=1) API before using this API.
|
|
1290
|
+
* Batch operations are supported. Up to 100 instances per request is allowed.
|
|
1291
|
+
* You can use the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) to query the operation result. If the `LatestOperationState` in the response is `SUCCESS`, the operation is successful.
|
|
1292
|
+
* @param {ModifyInstancesProjectRequest} req
|
|
1293
|
+
* @param {function(string, ModifyInstancesProjectResponse):void} cb
|
|
1294
|
+
* @public
|
|
1295
|
+
*/
|
|
1296
|
+
ModifyInstancesProject(req, cb) {
|
|
1297
|
+
let resp = new ModifyInstancesProjectResponse();
|
|
1298
|
+
this.request("ModifyInstancesProject", req, resp, cb);
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1269
1301
|
/**
|
|
1270
1302
|
* This API is used to disassociate security groups from instances.
|
|
1271
1303
|
* @param {DisassociateSecurityGroupsRequest} req
|
|
@@ -486,10 +486,10 @@ class TerminateInstancesResponse extends AbstractModel {
|
|
|
486
486
|
}
|
|
487
487
|
|
|
488
488
|
/**
|
|
489
|
-
*
|
|
489
|
+
* ModifyInstancesChargeType response structure.
|
|
490
490
|
* @class
|
|
491
491
|
*/
|
|
492
|
-
class
|
|
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
|
-
*
|
|
2009
|
+
* InquiryPriceModifyInstancesChargeType response structure.
|
|
2010
2010
|
* @class
|
|
2011
2011
|
*/
|
|
2012
|
-
class
|
|
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
|
-
*
|
|
2910
|
+
* ResetInstancesInternetMaxBandwidth response structure.
|
|
2842
2911
|
* @class
|
|
2843
2912
|
*/
|
|
2844
|
-
class
|
|
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
|
-
*
|
|
2938
|
+
* ModifyInstancesAttribute response structure.
|
|
2870
2939
|
* @class
|
|
2871
2940
|
*/
|
|
2872
|
-
class
|
|
2941
|
+
class ModifyInstancesAttributeResponse extends AbstractModel {
|
|
2873
2942
|
constructor(){
|
|
2874
2943
|
super();
|
|
2875
2944
|
|
|
2876
2945
|
/**
|
|
2877
|
-
*
|
|
2878
|
-
* @type {
|
|
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.
|
|
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
|
-
*
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
410
|
-
* @param {
|
|
411
|
-
* @param {function(string,
|
|
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
|
-
|
|
415
|
-
let resp = new
|
|
416
|
-
this.request("
|
|
441
|
+
DescribeRecordLineCategoryList(req, cb) {
|
|
442
|
+
let resp = new DescribeRecordLineCategoryListResponse();
|
|
443
|
+
this.request("DescribeRecordLineCategoryList", req, resp, cb);
|
|
417
444
|
}
|
|
418
445
|
|
|
419
446
|
/**
|
|
@@ -2845,24 +2845,24 @@ class DescribeSubdomainAnalyticsResponse extends AbstractModel {
|
|
|
2845
2845
|
}
|
|
2846
2846
|
|
|
2847
2847
|
/**
|
|
2848
|
-
*
|
|
2848
|
+
* DescribeRecordLineCategoryList request structure.
|
|
2849
2849
|
* @class
|
|
2850
2850
|
*/
|
|
2851
|
-
class
|
|
2851
|
+
class DescribeRecordLineCategoryListRequest extends AbstractModel {
|
|
2852
2852
|
constructor(){
|
|
2853
2853
|
super();
|
|
2854
2854
|
|
|
2855
2855
|
/**
|
|
2856
|
-
*
|
|
2857
|
-
* @type {
|
|
2856
|
+
* Specifies the domain name to query the line list.
|
|
2857
|
+
* @type {string || null}
|
|
2858
2858
|
*/
|
|
2859
|
-
this.
|
|
2859
|
+
this.Domain = null;
|
|
2860
2860
|
|
|
2861
2861
|
/**
|
|
2862
|
-
*
|
|
2863
|
-
* @type {
|
|
2862
|
+
* Domain ID for querying the route list. parameter DomainId has higher priority than parameter Domain. if you pass parameter DomainId, it will ignore parameter Domain.
|
|
2863
|
+
* @type {number || null}
|
|
2864
2864
|
*/
|
|
2865
|
-
this.
|
|
2865
|
+
this.DomainId = null;
|
|
2866
2866
|
|
|
2867
2867
|
}
|
|
2868
2868
|
|
|
@@ -2873,8 +2873,8 @@ class ModifyRecordResponse extends AbstractModel {
|
|
|
2873
2873
|
if (!params) {
|
|
2874
2874
|
return;
|
|
2875
2875
|
}
|
|
2876
|
-
this.
|
|
2877
|
-
this.
|
|
2876
|
+
this.Domain = 'Domain' in params ? params.Domain : null;
|
|
2877
|
+
this.DomainId = 'DomainId' in params ? params.DomainId : null;
|
|
2878
2878
|
|
|
2879
2879
|
}
|
|
2880
2880
|
}
|
|
@@ -3231,6 +3231,49 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3231
3231
|
}
|
|
3232
3232
|
}
|
|
3233
3233
|
|
|
3234
|
+
/**
|
|
3235
|
+
* DescribeRecordLineCategoryList response structure.
|
|
3236
|
+
* @class
|
|
3237
|
+
*/
|
|
3238
|
+
class DescribeRecordLineCategoryListResponse extends AbstractModel {
|
|
3239
|
+
constructor(){
|
|
3240
|
+
super();
|
|
3241
|
+
|
|
3242
|
+
/**
|
|
3243
|
+
* Lists lines by category.
|
|
3244
|
+
* @type {Array.<LineItem> || null}
|
|
3245
|
+
*/
|
|
3246
|
+
this.LineList = null;
|
|
3247
|
+
|
|
3248
|
+
/**
|
|
3249
|
+
* 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.
|
|
3250
|
+
* @type {string || null}
|
|
3251
|
+
*/
|
|
3252
|
+
this.RequestId = null;
|
|
3253
|
+
|
|
3254
|
+
}
|
|
3255
|
+
|
|
3256
|
+
/**
|
|
3257
|
+
* @private
|
|
3258
|
+
*/
|
|
3259
|
+
deserialize(params) {
|
|
3260
|
+
if (!params) {
|
|
3261
|
+
return;
|
|
3262
|
+
}
|
|
3263
|
+
|
|
3264
|
+
if (params.LineList) {
|
|
3265
|
+
this.LineList = new Array();
|
|
3266
|
+
for (let z in params.LineList) {
|
|
3267
|
+
let obj = new LineItem();
|
|
3268
|
+
obj.deserialize(params.LineList[z]);
|
|
3269
|
+
this.LineList.push(obj);
|
|
3270
|
+
}
|
|
3271
|
+
}
|
|
3272
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3273
|
+
|
|
3274
|
+
}
|
|
3275
|
+
}
|
|
3276
|
+
|
|
3234
3277
|
/**
|
|
3235
3278
|
* CreateDomain response structure.
|
|
3236
3279
|
* @class
|
|
@@ -4002,6 +4045,41 @@ class CreateDomainRequest extends AbstractModel {
|
|
|
4002
4045
|
}
|
|
4003
4046
|
}
|
|
4004
4047
|
|
|
4048
|
+
/**
|
|
4049
|
+
* ModifyRecord response structure.
|
|
4050
|
+
* @class
|
|
4051
|
+
*/
|
|
4052
|
+
class ModifyRecordResponse extends AbstractModel {
|
|
4053
|
+
constructor(){
|
|
4054
|
+
super();
|
|
4055
|
+
|
|
4056
|
+
/**
|
|
4057
|
+
* Record ID
|
|
4058
|
+
* @type {number || null}
|
|
4059
|
+
*/
|
|
4060
|
+
this.RecordId = null;
|
|
4061
|
+
|
|
4062
|
+
/**
|
|
4063
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
4064
|
+
* @type {string || null}
|
|
4065
|
+
*/
|
|
4066
|
+
this.RequestId = null;
|
|
4067
|
+
|
|
4068
|
+
}
|
|
4069
|
+
|
|
4070
|
+
/**
|
|
4071
|
+
* @private
|
|
4072
|
+
*/
|
|
4073
|
+
deserialize(params) {
|
|
4074
|
+
if (!params) {
|
|
4075
|
+
return;
|
|
4076
|
+
}
|
|
4077
|
+
this.RecordId = 'RecordId' in params ? params.RecordId : null;
|
|
4078
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4079
|
+
|
|
4080
|
+
}
|
|
4081
|
+
}
|
|
4082
|
+
|
|
4005
4083
|
/**
|
|
4006
4084
|
* DescribeDomainShareInfo response structure.
|
|
4007
4085
|
* @class
|
|
@@ -5180,6 +5258,109 @@ class ModifyDomainLockResponse extends AbstractModel {
|
|
|
5180
5258
|
}
|
|
5181
5259
|
}
|
|
5182
5260
|
|
|
5261
|
+
/**
|
|
5262
|
+
* DeletePackageOrder response structure.
|
|
5263
|
+
* @class
|
|
5264
|
+
*/
|
|
5265
|
+
class DeletePackageOrderResponse extends AbstractModel {
|
|
5266
|
+
constructor(){
|
|
5267
|
+
super();
|
|
5268
|
+
|
|
5269
|
+
/**
|
|
5270
|
+
* 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.
|
|
5271
|
+
* @type {string || null}
|
|
5272
|
+
*/
|
|
5273
|
+
this.RequestId = null;
|
|
5274
|
+
|
|
5275
|
+
}
|
|
5276
|
+
|
|
5277
|
+
/**
|
|
5278
|
+
* @private
|
|
5279
|
+
*/
|
|
5280
|
+
deserialize(params) {
|
|
5281
|
+
if (!params) {
|
|
5282
|
+
return;
|
|
5283
|
+
}
|
|
5284
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5285
|
+
|
|
5286
|
+
}
|
|
5287
|
+
}
|
|
5288
|
+
|
|
5289
|
+
/**
|
|
5290
|
+
* Describes the line information of dns records.
|
|
5291
|
+
* @class
|
|
5292
|
+
*/
|
|
5293
|
+
class LineItem extends AbstractModel {
|
|
5294
|
+
constructor(){
|
|
5295
|
+
super();
|
|
5296
|
+
|
|
5297
|
+
/**
|
|
5298
|
+
* Parses the line name.
|
|
5299
|
+
* @type {string || null}
|
|
5300
|
+
*/
|
|
5301
|
+
this.LineName = null;
|
|
5302
|
+
|
|
5303
|
+
/**
|
|
5304
|
+
* Resolution route ID.
|
|
5305
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5306
|
+
* @type {string || null}
|
|
5307
|
+
*/
|
|
5308
|
+
this.LineId = null;
|
|
5309
|
+
|
|
5310
|
+
/**
|
|
5311
|
+
* Indicates whether the current line is available under the current domain.
|
|
5312
|
+
* @type {boolean || null}
|
|
5313
|
+
*/
|
|
5314
|
+
this.Useful = null;
|
|
5315
|
+
|
|
5316
|
+
/**
|
|
5317
|
+
* Current line min plan level requirement.
|
|
5318
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5319
|
+
* @type {string || null}
|
|
5320
|
+
*/
|
|
5321
|
+
this.Grade = null;
|
|
5322
|
+
|
|
5323
|
+
/**
|
|
5324
|
+
* Describes the sub-line list under the current line category.
|
|
5325
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5326
|
+
* @type {Array.<LineItem> || null}
|
|
5327
|
+
*/
|
|
5328
|
+
this.SubGroup = null;
|
|
5329
|
+
|
|
5330
|
+
/**
|
|
5331
|
+
* Specifies the lines included in the custom line grouping.
|
|
5332
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5333
|
+
* @type {Array.<string> || null}
|
|
5334
|
+
*/
|
|
5335
|
+
this.Lines = null;
|
|
5336
|
+
|
|
5337
|
+
}
|
|
5338
|
+
|
|
5339
|
+
/**
|
|
5340
|
+
* @private
|
|
5341
|
+
*/
|
|
5342
|
+
deserialize(params) {
|
|
5343
|
+
if (!params) {
|
|
5344
|
+
return;
|
|
5345
|
+
}
|
|
5346
|
+
this.LineName = 'LineName' in params ? params.LineName : null;
|
|
5347
|
+
this.LineId = 'LineId' in params ? params.LineId : null;
|
|
5348
|
+
this.Useful = 'Useful' in params ? params.Useful : null;
|
|
5349
|
+
this.Grade = 'Grade' in params ? params.Grade : null;
|
|
5350
|
+
|
|
5351
|
+
if (params.SubGroup) {
|
|
5352
|
+
this.SubGroup = new Array();
|
|
5353
|
+
for (let z in params.SubGroup) {
|
|
5354
|
+
let obj = new LineItem();
|
|
5355
|
+
obj.deserialize(params.SubGroup[z]);
|
|
5356
|
+
this.SubGroup.push(obj);
|
|
5357
|
+
}
|
|
5358
|
+
}
|
|
5359
|
+
this.Lines = 'Lines' in params ? params.Lines : null;
|
|
5360
|
+
|
|
5361
|
+
}
|
|
5362
|
+
}
|
|
5363
|
+
|
|
5183
5364
|
/**
|
|
5184
5365
|
* Domain lock information
|
|
5185
5366
|
* @class
|
|
@@ -5257,6 +5438,34 @@ class CreateRecordGroupResponse extends AbstractModel {
|
|
|
5257
5438
|
}
|
|
5258
5439
|
}
|
|
5259
5440
|
|
|
5441
|
+
/**
|
|
5442
|
+
* DeletePackageOrder request structure.
|
|
5443
|
+
* @class
|
|
5444
|
+
*/
|
|
5445
|
+
class DeletePackageOrderRequest extends AbstractModel {
|
|
5446
|
+
constructor(){
|
|
5447
|
+
super();
|
|
5448
|
+
|
|
5449
|
+
/**
|
|
5450
|
+
* Specifies the domain name of the package to be terminated.
|
|
5451
|
+
* @type {string || null}
|
|
5452
|
+
*/
|
|
5453
|
+
this.Domain = null;
|
|
5454
|
+
|
|
5455
|
+
}
|
|
5456
|
+
|
|
5457
|
+
/**
|
|
5458
|
+
* @private
|
|
5459
|
+
*/
|
|
5460
|
+
deserialize(params) {
|
|
5461
|
+
if (!params) {
|
|
5462
|
+
return;
|
|
5463
|
+
}
|
|
5464
|
+
this.Domain = 'Domain' in params ? params.Domain : null;
|
|
5465
|
+
|
|
5466
|
+
}
|
|
5467
|
+
}
|
|
5468
|
+
|
|
5260
5469
|
/**
|
|
5261
5470
|
* DescribeDomainShareInfo request structure.
|
|
5262
5471
|
* @class
|
|
@@ -5344,7 +5553,7 @@ module.exports = {
|
|
|
5344
5553
|
RecordInfo: RecordInfo,
|
|
5345
5554
|
CreateRecordBatchDetail: CreateRecordBatchDetail,
|
|
5346
5555
|
DescribeSubdomainAnalyticsResponse: DescribeSubdomainAnalyticsResponse,
|
|
5347
|
-
|
|
5556
|
+
DescribeRecordLineCategoryListRequest: DescribeRecordLineCategoryListRequest,
|
|
5348
5557
|
ModifyRecordToGroupResponse: ModifyRecordToGroupResponse,
|
|
5349
5558
|
ModifyDomainUnlockResponse: ModifyDomainUnlockResponse,
|
|
5350
5559
|
DescribeDomainLogListRequest: DescribeDomainLogListRequest,
|
|
@@ -5352,6 +5561,7 @@ module.exports = {
|
|
|
5352
5561
|
ModifyRecordBatchRequest: ModifyRecordBatchRequest,
|
|
5353
5562
|
DeleteRecordResponse: DeleteRecordResponse,
|
|
5354
5563
|
CreateRecordBatchRecord: CreateRecordBatchRecord,
|
|
5564
|
+
DescribeRecordLineCategoryListResponse: DescribeRecordLineCategoryListResponse,
|
|
5355
5565
|
CreateDomainResponse: CreateDomainResponse,
|
|
5356
5566
|
DomainCountInfo: DomainCountInfo,
|
|
5357
5567
|
ModifyRecordBatchResponse: ModifyRecordBatchResponse,
|
|
@@ -5365,6 +5575,7 @@ module.exports = {
|
|
|
5365
5575
|
ModifyRecordBatchDetail: ModifyRecordBatchDetail,
|
|
5366
5576
|
DeleteDomainBatchDetail: DeleteDomainBatchDetail,
|
|
5367
5577
|
CreateDomainRequest: CreateDomainRequest,
|
|
5578
|
+
ModifyRecordResponse: ModifyRecordResponse,
|
|
5368
5579
|
DescribeDomainShareInfoResponse: DescribeDomainShareInfoResponse,
|
|
5369
5580
|
ModifyDomainRemarkRequest: ModifyDomainRemarkRequest,
|
|
5370
5581
|
CreateDomainAliasResponse: CreateDomainAliasResponse,
|
|
@@ -5392,8 +5603,11 @@ module.exports = {
|
|
|
5392
5603
|
CreateDomainBatchDetail: CreateDomainBatchDetail,
|
|
5393
5604
|
ModifyDomainUnlockRequest: ModifyDomainUnlockRequest,
|
|
5394
5605
|
ModifyDomainLockResponse: ModifyDomainLockResponse,
|
|
5606
|
+
DeletePackageOrderResponse: DeletePackageOrderResponse,
|
|
5607
|
+
LineItem: LineItem,
|
|
5395
5608
|
LockInfo: LockInfo,
|
|
5396
5609
|
CreateRecordGroupResponse: CreateRecordGroupResponse,
|
|
5610
|
+
DeletePackageOrderRequest: DeletePackageOrderRequest,
|
|
5397
5611
|
DescribeDomainShareInfoRequest: DescribeDomainShareInfoRequest,
|
|
5398
5612
|
|
|
5399
5613
|
}
|
|
@@ -5140,11 +5140,11 @@ Note: If `Type` is `CUSTOM_NUM` or `CUSTOM_STRING`, this parameter will be an em
|
|
|
5140
5140
|
|
|
5141
5141
|
/**
|
|
5142
5142
|
* The parameter value type.
|
|
5143
|
-
<Li>`CHOICE`: the parameter value can only be selected from `choicesvalue`.</li
|
|
5144
|
-
<Li>TOGGLE: the parameter value is of switch type and can be selected from `choicesvalue`.</li
|
|
5145
|
-
<Li>OBJECT: the parameter value is of object type, and `choiceproperties` are the properties associated with this object type.</li
|
|
5146
|
-
<Li>`CUSTOM_NUM`: (integer) custom value.</li
|
|
5147
|
-
<Li> custom_string: parameter value is user-customized, string type.</li>
|
|
5143
|
+
<Li>`CHOICE`: the parameter value can only be selected from `choicesvalue`.</li>
|
|
5144
|
+
<Li>TOGGLE: the parameter value is of switch type and can be selected from `choicesvalue`.</li>
|
|
5145
|
+
<Li>OBJECT: the parameter value is of object type, and `choiceproperties` are the properties associated with this object type.</li>
|
|
5146
|
+
<Li>`CUSTOM_NUM`: (integer) custom value.</li>
|
|
5147
|
+
<Li> custom_string: parameter value is user-customized, string type.</li>
|
|
5148
5148
|
* @type {string || null}
|
|
5149
5149
|
*/
|
|
5150
5150
|
this.Type = null;
|
|
@@ -23318,13 +23318,13 @@ class JustInTimeTranscodeTemplate extends AbstractModel {
|
|
|
23318
23318
|
this.AudioTemplate = null;
|
|
23319
23319
|
|
|
23320
23320
|
/**
|
|
23321
|
-
* Template creation time. uses [ISO date format](https://www.tencentcloud.
|
|
23321
|
+
* Template creation time. uses [ISO date format](https://www.tencentcloud.com/zh/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
|
|
23322
23322
|
* @type {string || null}
|
|
23323
23323
|
*/
|
|
23324
23324
|
this.CreateTime = null;
|
|
23325
23325
|
|
|
23326
23326
|
/**
|
|
23327
|
-
* Template last modified time. uses [ISO date format](https://www.tencentcloud.
|
|
23327
|
+
* Template last modified time. uses [ISO date format](https://www.tencentcloud.com/zh/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
|
|
23328
23328
|
* @type {string || null}
|
|
23329
23329
|
*/
|
|
23330
23330
|
this.UpdateTime = null;
|
|
@@ -1768,7 +1768,7 @@ Notes:
|
|
|
1768
1768
|
}
|
|
1769
1769
|
|
|
1770
1770
|
/**
|
|
1771
|
-
* This API is used to delete a LoadBalancer. If the LoadBalancer is referenced by other services (for example, Layer-4 proxy), the LoadBalancer cannot be deleted until the reference relationship is removed. The load balancing feature is in beta test. If you need to use it, [contact us](https://
|
|
1771
|
+
* This API is used to delete a LoadBalancer. If the LoadBalancer is referenced by other services (for example, Layer-4 proxy), the LoadBalancer cannot be deleted until the reference relationship is removed. The load balancing feature is in beta test. If you need to use it, [contact us](https://www.tencentcloud.com/contact-us).
|
|
1772
1772
|
* @param {DeleteLoadBalancerRequest} req
|
|
1773
1773
|
* @param {function(string, DeleteLoadBalancerResponse):void} cb
|
|
1774
1774
|
* @public
|