tencentcloud-sdk-nodejs-intl-en 3.0.1335 → 3.0.1337
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 +18 -5
- package/tencentcloud/cvm/v20170312/models.js +198 -133
- package/tencentcloud/dlc/v20210125/dlc_client.js +2 -0
- package/tencentcloud/dlc/v20210125/models.js +211 -0
- package/tencentcloud/mps/v20190612/models.js +1357 -931
- package/tencentcloud/mps/v20190612/mps_client.js +92 -33
- package/tencentcloud/trtc/v20190722/models.js +711 -175
- package/tencentcloud/trtc/v20190722/trtc_client.js +50 -6
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1337";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
-
const ChargePrepaid = models.ChargePrepaid;
|
|
20
19
|
const LocalDiskType = models.LocalDiskType;
|
|
21
20
|
const AssociateInstancesKeyPairsResponse = models.AssociateInstancesKeyPairsResponse;
|
|
22
21
|
const RenewInstancesRequest = models.RenewInstancesRequest;
|
|
@@ -26,7 +25,7 @@ const ConfigureChcDeployVpcResponse = models.ConfigureChcDeployVpcResponse;
|
|
|
26
25
|
const ResetInstancesTypeResponse = models.ResetInstancesTypeResponse;
|
|
27
26
|
const HostResource = models.HostResource;
|
|
28
27
|
const DeleteDisasterRecoverGroupsRequest = models.DeleteDisasterRecoverGroupsRequest;
|
|
29
|
-
const
|
|
28
|
+
const DeleteKeyPairsResponse = models.DeleteKeyPairsResponse;
|
|
30
29
|
const TerminateInstancesResponse = models.TerminateInstancesResponse;
|
|
31
30
|
const ModifyInstancesChargeTypeResponse = models.ModifyInstancesChargeTypeResponse;
|
|
32
31
|
const DescribeZonesRequest = models.DescribeZonesRequest;
|
|
@@ -68,7 +67,8 @@ const DescribeImagesResponse = models.DescribeImagesResponse;
|
|
|
68
67
|
const ModifyInstancesVpcAttributeResponse = models.ModifyInstancesVpcAttributeResponse;
|
|
69
68
|
const CpuTopology = models.CpuTopology;
|
|
70
69
|
const CreateKeyPairResponse = models.CreateKeyPairResponse;
|
|
71
|
-
const
|
|
70
|
+
const DeleteInstancesDisasterRecoverGroupsRequest = models.DeleteInstancesDisasterRecoverGroupsRequest;
|
|
71
|
+
const DescribeInstancesOperationLimitRequest = models.DescribeInstancesOperationLimitRequest;
|
|
72
72
|
const ModifyInstancesChargeTypeRequest = models.ModifyInstancesChargeTypeRequest;
|
|
73
73
|
const EnterRescueModeRequest = models.EnterRescueModeRequest;
|
|
74
74
|
const TagSpecification = models.TagSpecification;
|
|
@@ -84,6 +84,7 @@ const ModifyInstancesAttributeResponse = models.ModifyInstancesAttributeResponse
|
|
|
84
84
|
const ModifyImageSharePermissionResponse = models.ModifyImageSharePermissionResponse;
|
|
85
85
|
const DescribeInstancesOperationLimitResponse = models.DescribeInstancesOperationLimitResponse;
|
|
86
86
|
const SyncImagesResponse = models.SyncImagesResponse;
|
|
87
|
+
const ModifyChcAttributeRequest = models.ModifyChcAttributeRequest;
|
|
87
88
|
const DescribeZoneInstanceConfigInfosResponse = models.DescribeZoneInstanceConfigInfosResponse;
|
|
88
89
|
const ModifyInstancesAttributeRequest = models.ModifyInstancesAttributeRequest;
|
|
89
90
|
const CreateDisasterRecoverGroupResponse = models.CreateDisasterRecoverGroupResponse;
|
|
@@ -171,7 +172,8 @@ const DescribeDisasterRecoverGroupQuotaRequest = models.DescribeDisasterRecoverG
|
|
|
171
172
|
const DeleteLaunchTemplateVersionsResponse = models.DeleteLaunchTemplateVersionsResponse;
|
|
172
173
|
const StartInstancesResponse = models.StartInstancesResponse;
|
|
173
174
|
const ModifyInstancesVpcAttributeRequest = models.ModifyInstancesVpcAttributeRequest;
|
|
174
|
-
const
|
|
175
|
+
const DeleteInstancesDisasterRecoverGroupsResponse = models.DeleteInstancesDisasterRecoverGroupsResponse;
|
|
176
|
+
const ChargePrepaid = models.ChargePrepaid;
|
|
175
177
|
const DescribeInternetChargeTypeConfigsResponse = models.DescribeInternetChargeTypeConfigsResponse;
|
|
176
178
|
const DescribeZoneInstanceConfigInfosRequest = models.DescribeZoneInstanceConfigInfosRequest;
|
|
177
179
|
const DescribeZonesResponse = models.DescribeZonesResponse;
|
|
@@ -183,7 +185,7 @@ const ExportImagesResponse = models.ExportImagesResponse;
|
|
|
183
185
|
const RemoveChcDeployVpcRequest = models.RemoveChcDeployVpcRequest;
|
|
184
186
|
const InquiryPriceRunInstancesResponse = models.InquiryPriceRunInstancesResponse;
|
|
185
187
|
const DescribeHostsRequest = models.DescribeHostsRequest;
|
|
186
|
-
const
|
|
188
|
+
const DescribeReservedInstancesRequest = models.DescribeReservedInstancesRequest;
|
|
187
189
|
const ModifyInstancesRenewFlagResponse = models.ModifyInstancesRenewFlagResponse;
|
|
188
190
|
const DescribeInstancesStatusRequest = models.DescribeInstancesStatusRequest;
|
|
189
191
|
const InquiryPriceResizeInstanceDisksResponse = models.InquiryPriceResizeInstanceDisksResponse;
|
|
@@ -1002,6 +1004,17 @@ This API is used to create an instance launch template. After the initial creati
|
|
|
1002
1004
|
this.request("ExportImages", req, resp, cb);
|
|
1003
1005
|
}
|
|
1004
1006
|
|
|
1007
|
+
/**
|
|
1008
|
+
* This API is used to batch remove CVM instances from specified placement groups.
|
|
1009
|
+
* @param {DeleteInstancesDisasterRecoverGroupsRequest} req
|
|
1010
|
+
* @param {function(string, DeleteInstancesDisasterRecoverGroupsResponse):void} cb
|
|
1011
|
+
* @public
|
|
1012
|
+
*/
|
|
1013
|
+
DeleteInstancesDisasterRecoverGroups(req, cb) {
|
|
1014
|
+
let resp = new DeleteInstancesDisasterRecoverGroupsResponse();
|
|
1015
|
+
this.request("DeleteInstancesDisasterRecoverGroups", req, resp, cb);
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1005
1018
|
/**
|
|
1006
1019
|
* This API (ResetInstance) is used to reinstall the operating system on a specified instance.
|
|
1007
1020
|
|
|
@@ -16,41 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
|
-
/**
|
|
20
|
-
* Parameters related to the prepaid billing method, including the subscription period, the auto renewal logic, etc.
|
|
21
|
-
* @class
|
|
22
|
-
*/
|
|
23
|
-
class ChargePrepaid extends AbstractModel {
|
|
24
|
-
constructor(){
|
|
25
|
-
super();
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Purchased usage period, in month. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36
|
|
29
|
-
* @type {number || null}
|
|
30
|
-
*/
|
|
31
|
-
this.Period = null;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Auto renewal flag. Valid values: <br><li>NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically <br><li>NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically <br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically <br><br>Default value: NOTIFY_AND_AUTO_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient.
|
|
35
|
-
* @type {string || null}
|
|
36
|
-
*/
|
|
37
|
-
this.RenewFlag = null;
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* @private
|
|
43
|
-
*/
|
|
44
|
-
deserialize(params) {
|
|
45
|
-
if (!params) {
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
this.Period = 'Period' in params ? params.Period : null;
|
|
49
|
-
this.RenewFlag = 'RenewFlag' in params ? params.RenewFlag : null;
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
19
|
/**
|
|
55
20
|
* Describes local disk specifications.
|
|
56
21
|
* @class
|
|
@@ -422,25 +387,18 @@ class DeleteDisasterRecoverGroupsRequest extends AbstractModel {
|
|
|
422
387
|
}
|
|
423
388
|
|
|
424
389
|
/**
|
|
425
|
-
*
|
|
390
|
+
* DeleteKeyPairs response structure.
|
|
426
391
|
* @class
|
|
427
392
|
*/
|
|
428
|
-
class
|
|
393
|
+
class DeleteKeyPairsResponse extends AbstractModel {
|
|
429
394
|
constructor(){
|
|
430
395
|
super();
|
|
431
396
|
|
|
432
397
|
/**
|
|
433
|
-
*
|
|
434
|
-
* @type {Array.<string> || null}
|
|
435
|
-
*/
|
|
436
|
-
this.InstanceIds = null;
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* Operation on the instance(s).
|
|
440
|
-
<li> INSTANCE_DEGRADE: downgrade the instance configurations</li>
|
|
398
|
+
* 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.
|
|
441
399
|
* @type {string || null}
|
|
442
400
|
*/
|
|
443
|
-
this.
|
|
401
|
+
this.RequestId = null;
|
|
444
402
|
|
|
445
403
|
}
|
|
446
404
|
|
|
@@ -451,8 +409,7 @@ class DescribeInstancesOperationLimitRequest extends AbstractModel {
|
|
|
451
409
|
if (!params) {
|
|
452
410
|
return;
|
|
453
411
|
}
|
|
454
|
-
this.
|
|
455
|
-
this.Operation = 'Operation' in params ? params.Operation : null;
|
|
412
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
456
413
|
|
|
457
414
|
}
|
|
458
415
|
}
|
|
@@ -2397,18 +2354,60 @@ class CreateKeyPairResponse extends AbstractModel {
|
|
|
2397
2354
|
}
|
|
2398
2355
|
|
|
2399
2356
|
/**
|
|
2400
|
-
*
|
|
2357
|
+
* DeleteInstancesDisasterRecoverGroups request structure.
|
|
2401
2358
|
* @class
|
|
2402
2359
|
*/
|
|
2403
|
-
class
|
|
2360
|
+
class DeleteInstancesDisasterRecoverGroupsRequest extends AbstractModel {
|
|
2404
2361
|
constructor(){
|
|
2405
2362
|
super();
|
|
2406
2363
|
|
|
2407
2364
|
/**
|
|
2408
|
-
*
|
|
2365
|
+
* 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/zh/document/api/213/33258). The maximum number of instances per request is 100.
|
|
2366
|
+
* @type {Array.<string> || null}
|
|
2367
|
+
*/
|
|
2368
|
+
this.InstanceIds = null;
|
|
2369
|
+
|
|
2370
|
+
/**
|
|
2371
|
+
* ID list of placement groups, obtainable via the [DescribeDisasterRecoverGroups](https://www.tencentcloud.com/zh/document/api/213/33261) API.
|
|
2372
|
+
* @type {Array.<string> || null}
|
|
2373
|
+
*/
|
|
2374
|
+
this.DisasterRecoverGroupIds = null;
|
|
2375
|
+
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
/**
|
|
2379
|
+
* @private
|
|
2380
|
+
*/
|
|
2381
|
+
deserialize(params) {
|
|
2382
|
+
if (!params) {
|
|
2383
|
+
return;
|
|
2384
|
+
}
|
|
2385
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
2386
|
+
this.DisasterRecoverGroupIds = 'DisasterRecoverGroupIds' in params ? params.DisasterRecoverGroupIds : null;
|
|
2387
|
+
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2391
|
+
/**
|
|
2392
|
+
* DescribeInstancesOperationLimit request structure.
|
|
2393
|
+
* @class
|
|
2394
|
+
*/
|
|
2395
|
+
class DescribeInstancesOperationLimitRequest extends AbstractModel {
|
|
2396
|
+
constructor(){
|
|
2397
|
+
super();
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
* Query by instance ID(s). You can obtain the instance IDs from the value of `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) API. For example, instance ID: ins-xxxxxxxx. (For the specific format, refer to section `ids.N` of the API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).) You can query up to 100 instances in each request.
|
|
2401
|
+
* @type {Array.<string> || null}
|
|
2402
|
+
*/
|
|
2403
|
+
this.InstanceIds = null;
|
|
2404
|
+
|
|
2405
|
+
/**
|
|
2406
|
+
* Operation on the instance(s).
|
|
2407
|
+
<li> INSTANCE_DEGRADE: downgrade the instance configurations</li>
|
|
2409
2408
|
* @type {string || null}
|
|
2410
2409
|
*/
|
|
2411
|
-
this.
|
|
2410
|
+
this.Operation = null;
|
|
2412
2411
|
|
|
2413
2412
|
}
|
|
2414
2413
|
|
|
@@ -2419,7 +2418,8 @@ class DeleteKeyPairsResponse extends AbstractModel {
|
|
|
2419
2418
|
if (!params) {
|
|
2420
2419
|
return;
|
|
2421
2420
|
}
|
|
2422
|
-
this.
|
|
2421
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
2422
|
+
this.Operation = 'Operation' in params ? params.Operation : null;
|
|
2423
2423
|
|
|
2424
2424
|
}
|
|
2425
2425
|
}
|
|
@@ -3081,6 +3081,69 @@ class SyncImagesResponse extends AbstractModel {
|
|
|
3081
3081
|
}
|
|
3082
3082
|
}
|
|
3083
3083
|
|
|
3084
|
+
/**
|
|
3085
|
+
* ModifyChcAttribute request structure.
|
|
3086
|
+
* @class
|
|
3087
|
+
*/
|
|
3088
|
+
class ModifyChcAttributeRequest extends AbstractModel {
|
|
3089
|
+
constructor(){
|
|
3090
|
+
super();
|
|
3091
|
+
|
|
3092
|
+
/**
|
|
3093
|
+
* CHC host IDs
|
|
3094
|
+
* @type {Array.<string> || null}
|
|
3095
|
+
*/
|
|
3096
|
+
this.ChcIds = null;
|
|
3097
|
+
|
|
3098
|
+
/**
|
|
3099
|
+
* CHC host name
|
|
3100
|
+
* @type {string || null}
|
|
3101
|
+
*/
|
|
3102
|
+
this.InstanceName = null;
|
|
3103
|
+
|
|
3104
|
+
/**
|
|
3105
|
+
* Server type
|
|
3106
|
+
* @type {string || null}
|
|
3107
|
+
*/
|
|
3108
|
+
this.DeviceType = null;
|
|
3109
|
+
|
|
3110
|
+
/**
|
|
3111
|
+
* Valid characters: Letters, numbers, hyphens and underscores
|
|
3112
|
+
* @type {string || null}
|
|
3113
|
+
*/
|
|
3114
|
+
this.BmcUser = null;
|
|
3115
|
+
|
|
3116
|
+
/**
|
|
3117
|
+
* The password can contain 8 to 16 characters, including letters, numbers and special symbols (()`~!@#$%^&*-+=_|{}).
|
|
3118
|
+
* @type {string || null}
|
|
3119
|
+
*/
|
|
3120
|
+
this.Password = null;
|
|
3121
|
+
|
|
3122
|
+
/**
|
|
3123
|
+
* BMC network security group list
|
|
3124
|
+
* @type {Array.<string> || null}
|
|
3125
|
+
*/
|
|
3126
|
+
this.BmcSecurityGroupIds = null;
|
|
3127
|
+
|
|
3128
|
+
}
|
|
3129
|
+
|
|
3130
|
+
/**
|
|
3131
|
+
* @private
|
|
3132
|
+
*/
|
|
3133
|
+
deserialize(params) {
|
|
3134
|
+
if (!params) {
|
|
3135
|
+
return;
|
|
3136
|
+
}
|
|
3137
|
+
this.ChcIds = 'ChcIds' in params ? params.ChcIds : null;
|
|
3138
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
3139
|
+
this.DeviceType = 'DeviceType' in params ? params.DeviceType : null;
|
|
3140
|
+
this.BmcUser = 'BmcUser' in params ? params.BmcUser : null;
|
|
3141
|
+
this.Password = 'Password' in params ? params.Password : null;
|
|
3142
|
+
this.BmcSecurityGroupIds = 'BmcSecurityGroupIds' in params ? params.BmcSecurityGroupIds : null;
|
|
3143
|
+
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3146
|
+
|
|
3084
3147
|
/**
|
|
3085
3148
|
* DescribeZoneInstanceConfigInfos response structure.
|
|
3086
3149
|
* @class
|
|
@@ -9097,52 +9160,52 @@ class ModifyInstancesVpcAttributeRequest extends AbstractModel {
|
|
|
9097
9160
|
}
|
|
9098
9161
|
|
|
9099
9162
|
/**
|
|
9100
|
-
*
|
|
9163
|
+
* DeleteInstancesDisasterRecoverGroups response structure.
|
|
9101
9164
|
* @class
|
|
9102
9165
|
*/
|
|
9103
|
-
class
|
|
9166
|
+
class DeleteInstancesDisasterRecoverGroupsResponse extends AbstractModel {
|
|
9104
9167
|
constructor(){
|
|
9105
9168
|
super();
|
|
9106
9169
|
|
|
9107
9170
|
/**
|
|
9108
|
-
*
|
|
9109
|
-
* @type {
|
|
9171
|
+
* 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.
|
|
9172
|
+
* @type {string || null}
|
|
9110
9173
|
*/
|
|
9111
|
-
this.
|
|
9174
|
+
this.RequestId = null;
|
|
9112
9175
|
|
|
9113
|
-
|
|
9114
|
-
|
|
9115
|
-
|
|
9116
|
-
|
|
9117
|
-
|
|
9176
|
+
}
|
|
9177
|
+
|
|
9178
|
+
/**
|
|
9179
|
+
* @private
|
|
9180
|
+
*/
|
|
9181
|
+
deserialize(params) {
|
|
9182
|
+
if (!params) {
|
|
9183
|
+
return;
|
|
9184
|
+
}
|
|
9185
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9186
|
+
|
|
9187
|
+
}
|
|
9188
|
+
}
|
|
9189
|
+
|
|
9190
|
+
/**
|
|
9191
|
+
* Parameters related to the prepaid billing method, including the subscription period, the auto renewal logic, etc.
|
|
9192
|
+
* @class
|
|
9193
|
+
*/
|
|
9194
|
+
class ChargePrepaid extends AbstractModel {
|
|
9195
|
+
constructor(){
|
|
9196
|
+
super();
|
|
9118
9197
|
|
|
9119
9198
|
/**
|
|
9120
|
-
*
|
|
9199
|
+
* Purchased usage period, in month. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36
|
|
9121
9200
|
* @type {number || null}
|
|
9122
9201
|
*/
|
|
9123
|
-
this.
|
|
9202
|
+
this.Period = null;
|
|
9124
9203
|
|
|
9125
9204
|
/**
|
|
9126
|
-
* <li><
|
|
9127
|
-
|
|
9128
|
-
<li><strong>duration</strong></li>
|
|
9129
|
-
<p style="padding-left: 30px;">Filter by [<strong>validity periods</strong>] of reserved instances, which is the instance purchase duration. For example, 31536000.</p><p style="padding-left: 30px;">Type: Integer.</p><p style="padding-left: 30px;">Unit: Second.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: 31536000 (1 year) | 94608000 (3 years).</p>
|
|
9130
|
-
<li><strong>instance-type</strong></li>
|
|
9131
|
-
<p style="padding-left: 30px;">Filter by [<strong>specifications of reserved instances</strong>]. For example, S3.MEDIUM4.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">reserved instance specification list</a>.</p>
|
|
9132
|
-
<li><strong>instance-family</strong></li>
|
|
9133
|
-
<p style="padding-left: 30px;">Filter by [<strong>types of reserved instances</strong>]. For example, S3.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">reserved instance type list</a>.</p>
|
|
9134
|
-
<li><strong>offering-type</strong></li>
|
|
9135
|
-
<p style="padding-left: 30px;">Filter by <strong>payment types</strong>]. For example, All Upfront (fully prepaid).</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: All Upfront (fully prepaid) | Partial Upfront (partially prepaid) | No Upfront (non-prepaid).</p>
|
|
9136
|
-
<li><strong>product-description</strong></li>
|
|
9137
|
-
<p style="padding-left: 30px;">Filter by [<strong>platform descriptions</strong>] (operating system) of reserved instances. For example, linux.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid value: linux.</p>
|
|
9138
|
-
<li><strong>reserved-instances-id</strong></li>
|
|
9139
|
-
<p style="padding-left: 30px;">Filter by [<strong>IDs of purchased reserved instances</strong>]. For example, 650c138f-ae7e-4750-952a-96841d6e9fc1.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p>
|
|
9140
|
-
<li><strong>state</strong></li>
|
|
9141
|
-
<p style="padding-left: 30px;">Filter by [<strong>statuses of purchased reserved instances</strong>]. For example, active.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: active (created) | pending (waiting to be created) | retired (expired).</p>
|
|
9142
|
-
Each request can have up to 10 filters, and each filter can have up to 5 values.
|
|
9143
|
-
* @type {Array.<Filter> || null}
|
|
9205
|
+
* Auto renewal flag. Valid values: <br><li>NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically <br><li>NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically <br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically <br><br>Default value: NOTIFY_AND_AUTO_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient.
|
|
9206
|
+
* @type {string || null}
|
|
9144
9207
|
*/
|
|
9145
|
-
this.
|
|
9208
|
+
this.RenewFlag = null;
|
|
9146
9209
|
|
|
9147
9210
|
}
|
|
9148
9211
|
|
|
@@ -9153,18 +9216,8 @@ Each request can have up to 10 filters, and each filter can have up to 5 values.
|
|
|
9153
9216
|
if (!params) {
|
|
9154
9217
|
return;
|
|
9155
9218
|
}
|
|
9156
|
-
this.
|
|
9157
|
-
this.
|
|
9158
|
-
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
9159
|
-
|
|
9160
|
-
if (params.Filters) {
|
|
9161
|
-
this.Filters = new Array();
|
|
9162
|
-
for (let z in params.Filters) {
|
|
9163
|
-
let obj = new Filter();
|
|
9164
|
-
obj.deserialize(params.Filters[z]);
|
|
9165
|
-
this.Filters.push(obj);
|
|
9166
|
-
}
|
|
9167
|
-
}
|
|
9219
|
+
this.Period = 'Period' in params ? params.Period : null;
|
|
9220
|
+
this.RenewFlag = 'RenewFlag' in params ? params.RenewFlag : null;
|
|
9168
9221
|
|
|
9169
9222
|
}
|
|
9170
9223
|
}
|
|
@@ -10008,48 +10061,52 @@ Each request can have up to 10 `Filters` and 5 `Filter.Values`.
|
|
|
10008
10061
|
}
|
|
10009
10062
|
|
|
10010
10063
|
/**
|
|
10011
|
-
*
|
|
10064
|
+
* DescribeReservedInstances request structure.
|
|
10012
10065
|
* @class
|
|
10013
10066
|
*/
|
|
10014
|
-
class
|
|
10067
|
+
class DescribeReservedInstancesRequest extends AbstractModel {
|
|
10015
10068
|
constructor(){
|
|
10016
10069
|
super();
|
|
10017
10070
|
|
|
10018
10071
|
/**
|
|
10019
|
-
*
|
|
10020
|
-
* @type {
|
|
10021
|
-
*/
|
|
10022
|
-
this.ChcIds = null;
|
|
10023
|
-
|
|
10024
|
-
/**
|
|
10025
|
-
* CHC host name
|
|
10026
|
-
* @type {string || null}
|
|
10027
|
-
*/
|
|
10028
|
-
this.InstanceName = null;
|
|
10029
|
-
|
|
10030
|
-
/**
|
|
10031
|
-
* Server type
|
|
10032
|
-
* @type {string || null}
|
|
10072
|
+
* Trial run. Default value: false.
|
|
10073
|
+
* @type {boolean || null}
|
|
10033
10074
|
*/
|
|
10034
|
-
this.
|
|
10075
|
+
this.DryRun = null;
|
|
10035
10076
|
|
|
10036
10077
|
/**
|
|
10037
|
-
*
|
|
10038
|
-
* @type {
|
|
10078
|
+
* Offset. Default value: 0. For more information on `Offset`, see the relevant section in API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
10079
|
+
* @type {number || null}
|
|
10039
10080
|
*/
|
|
10040
|
-
this.
|
|
10081
|
+
this.Offset = null;
|
|
10041
10082
|
|
|
10042
10083
|
/**
|
|
10043
|
-
*
|
|
10044
|
-
* @type {
|
|
10084
|
+
* Number of returned instances. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section in API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
|
|
10085
|
+
* @type {number || null}
|
|
10045
10086
|
*/
|
|
10046
|
-
this.
|
|
10087
|
+
this.Limit = null;
|
|
10047
10088
|
|
|
10048
10089
|
/**
|
|
10049
|
-
*
|
|
10050
|
-
|
|
10090
|
+
* <li><strong>zone</strong></li>
|
|
10091
|
+
<p style="padding-left: 30px;">Filter by [<strong>availability zones</strong>] in which reserved instances can be purchased. For example, ap-guangzhou-1.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/6091?from_cn_redirect=1">availability zone list</a>.</p>
|
|
10092
|
+
<li><strong>duration</strong></li>
|
|
10093
|
+
<p style="padding-left: 30px;">Filter by [<strong>validity periods</strong>] of reserved instances, which is the instance purchase duration. For example, 31536000.</p><p style="padding-left: 30px;">Type: Integer.</p><p style="padding-left: 30px;">Unit: Second.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: 31536000 (1 year) | 94608000 (3 years).</p>
|
|
10094
|
+
<li><strong>instance-type</strong></li>
|
|
10095
|
+
<p style="padding-left: 30px;">Filter by [<strong>specifications of reserved instances</strong>]. For example, S3.MEDIUM4.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">reserved instance specification list</a>.</p>
|
|
10096
|
+
<li><strong>instance-family</strong></li>
|
|
10097
|
+
<p style="padding-left: 30px;">Filter by [<strong>types of reserved instances</strong>]. For example, S3.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">reserved instance type list</a>.</p>
|
|
10098
|
+
<li><strong>offering-type</strong></li>
|
|
10099
|
+
<p style="padding-left: 30px;">Filter by <strong>payment types</strong>]. For example, All Upfront (fully prepaid).</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: All Upfront (fully prepaid) | Partial Upfront (partially prepaid) | No Upfront (non-prepaid).</p>
|
|
10100
|
+
<li><strong>product-description</strong></li>
|
|
10101
|
+
<p style="padding-left: 30px;">Filter by [<strong>platform descriptions</strong>] (operating system) of reserved instances. For example, linux.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid value: linux.</p>
|
|
10102
|
+
<li><strong>reserved-instances-id</strong></li>
|
|
10103
|
+
<p style="padding-left: 30px;">Filter by [<strong>IDs of purchased reserved instances</strong>]. For example, 650c138f-ae7e-4750-952a-96841d6e9fc1.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p>
|
|
10104
|
+
<li><strong>state</strong></li>
|
|
10105
|
+
<p style="padding-left: 30px;">Filter by [<strong>statuses of purchased reserved instances</strong>]. For example, active.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: active (created) | pending (waiting to be created) | retired (expired).</p>
|
|
10106
|
+
Each request can have up to 10 filters, and each filter can have up to 5 values.
|
|
10107
|
+
* @type {Array.<Filter> || null}
|
|
10051
10108
|
*/
|
|
10052
|
-
this.
|
|
10109
|
+
this.Filters = null;
|
|
10053
10110
|
|
|
10054
10111
|
}
|
|
10055
10112
|
|
|
@@ -10060,12 +10117,18 @@ class ModifyChcAttributeRequest extends AbstractModel {
|
|
|
10060
10117
|
if (!params) {
|
|
10061
10118
|
return;
|
|
10062
10119
|
}
|
|
10063
|
-
this.
|
|
10064
|
-
this.
|
|
10065
|
-
this.
|
|
10066
|
-
|
|
10067
|
-
|
|
10068
|
-
|
|
10120
|
+
this.DryRun = 'DryRun' in params ? params.DryRun : null;
|
|
10121
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
10122
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
10123
|
+
|
|
10124
|
+
if (params.Filters) {
|
|
10125
|
+
this.Filters = new Array();
|
|
10126
|
+
for (let z in params.Filters) {
|
|
10127
|
+
let obj = new Filter();
|
|
10128
|
+
obj.deserialize(params.Filters[z]);
|
|
10129
|
+
this.Filters.push(obj);
|
|
10130
|
+
}
|
|
10131
|
+
}
|
|
10069
10132
|
|
|
10070
10133
|
}
|
|
10071
10134
|
}
|
|
@@ -12892,7 +12955,6 @@ class InquiryPriceResetInstancesTypeRequest extends AbstractModel {
|
|
|
12892
12955
|
}
|
|
12893
12956
|
|
|
12894
12957
|
module.exports = {
|
|
12895
|
-
ChargePrepaid: ChargePrepaid,
|
|
12896
12958
|
LocalDiskType: LocalDiskType,
|
|
12897
12959
|
AssociateInstancesKeyPairsResponse: AssociateInstancesKeyPairsResponse,
|
|
12898
12960
|
RenewInstancesRequest: RenewInstancesRequest,
|
|
@@ -12902,7 +12964,7 @@ module.exports = {
|
|
|
12902
12964
|
ResetInstancesTypeResponse: ResetInstancesTypeResponse,
|
|
12903
12965
|
HostResource: HostResource,
|
|
12904
12966
|
DeleteDisasterRecoverGroupsRequest: DeleteDisasterRecoverGroupsRequest,
|
|
12905
|
-
|
|
12967
|
+
DeleteKeyPairsResponse: DeleteKeyPairsResponse,
|
|
12906
12968
|
TerminateInstancesResponse: TerminateInstancesResponse,
|
|
12907
12969
|
ModifyInstancesChargeTypeResponse: ModifyInstancesChargeTypeResponse,
|
|
12908
12970
|
DescribeZonesRequest: DescribeZonesRequest,
|
|
@@ -12944,7 +13006,8 @@ module.exports = {
|
|
|
12944
13006
|
ModifyInstancesVpcAttributeResponse: ModifyInstancesVpcAttributeResponse,
|
|
12945
13007
|
CpuTopology: CpuTopology,
|
|
12946
13008
|
CreateKeyPairResponse: CreateKeyPairResponse,
|
|
12947
|
-
|
|
13009
|
+
DeleteInstancesDisasterRecoverGroupsRequest: DeleteInstancesDisasterRecoverGroupsRequest,
|
|
13010
|
+
DescribeInstancesOperationLimitRequest: DescribeInstancesOperationLimitRequest,
|
|
12948
13011
|
ModifyInstancesChargeTypeRequest: ModifyInstancesChargeTypeRequest,
|
|
12949
13012
|
EnterRescueModeRequest: EnterRescueModeRequest,
|
|
12950
13013
|
TagSpecification: TagSpecification,
|
|
@@ -12960,6 +13023,7 @@ module.exports = {
|
|
|
12960
13023
|
ModifyImageSharePermissionResponse: ModifyImageSharePermissionResponse,
|
|
12961
13024
|
DescribeInstancesOperationLimitResponse: DescribeInstancesOperationLimitResponse,
|
|
12962
13025
|
SyncImagesResponse: SyncImagesResponse,
|
|
13026
|
+
ModifyChcAttributeRequest: ModifyChcAttributeRequest,
|
|
12963
13027
|
DescribeZoneInstanceConfigInfosResponse: DescribeZoneInstanceConfigInfosResponse,
|
|
12964
13028
|
ModifyInstancesAttributeRequest: ModifyInstancesAttributeRequest,
|
|
12965
13029
|
CreateDisasterRecoverGroupResponse: CreateDisasterRecoverGroupResponse,
|
|
@@ -13047,7 +13111,8 @@ module.exports = {
|
|
|
13047
13111
|
DeleteLaunchTemplateVersionsResponse: DeleteLaunchTemplateVersionsResponse,
|
|
13048
13112
|
StartInstancesResponse: StartInstancesResponse,
|
|
13049
13113
|
ModifyInstancesVpcAttributeRequest: ModifyInstancesVpcAttributeRequest,
|
|
13050
|
-
|
|
13114
|
+
DeleteInstancesDisasterRecoverGroupsResponse: DeleteInstancesDisasterRecoverGroupsResponse,
|
|
13115
|
+
ChargePrepaid: ChargePrepaid,
|
|
13051
13116
|
DescribeInternetChargeTypeConfigsResponse: DescribeInternetChargeTypeConfigsResponse,
|
|
13052
13117
|
DescribeZoneInstanceConfigInfosRequest: DescribeZoneInstanceConfigInfosRequest,
|
|
13053
13118
|
DescribeZonesResponse: DescribeZonesResponse,
|
|
@@ -13059,7 +13124,7 @@ module.exports = {
|
|
|
13059
13124
|
RemoveChcDeployVpcRequest: RemoveChcDeployVpcRequest,
|
|
13060
13125
|
InquiryPriceRunInstancesResponse: InquiryPriceRunInstancesResponse,
|
|
13061
13126
|
DescribeHostsRequest: DescribeHostsRequest,
|
|
13062
|
-
|
|
13127
|
+
DescribeReservedInstancesRequest: DescribeReservedInstancesRequest,
|
|
13063
13128
|
ModifyInstancesRenewFlagResponse: ModifyInstancesRenewFlagResponse,
|
|
13064
13129
|
DescribeInstancesStatusRequest: DescribeInstancesStatusRequest,
|
|
13065
13130
|
InquiryPriceResizeInstanceDisksResponse: InquiryPriceResizeInstanceDisksResponse,
|
|
@@ -118,6 +118,7 @@ const DeleteCHDFSBindingProductRequest = models.DeleteCHDFSBindingProductRequest
|
|
|
118
118
|
const UpdateDataEngineResponse = models.UpdateDataEngineResponse;
|
|
119
119
|
const DescribeTaskStatisticsResponse = models.DescribeTaskStatisticsResponse;
|
|
120
120
|
const DeleteUserResponse = models.DeleteUserResponse;
|
|
121
|
+
const SortOrder = models.SortOrder;
|
|
121
122
|
const SparkSessionBatchLog = models.SparkSessionBatchLog;
|
|
122
123
|
const DescribeEngineUsageInfoRequest = models.DescribeEngineUsageInfoRequest;
|
|
123
124
|
const SmartOptimizerWrittenPolicy = models.SmartOptimizerWrittenPolicy;
|
|
@@ -213,6 +214,7 @@ const VpcCidrBlock = models.VpcCidrBlock;
|
|
|
213
214
|
const RenewDataEngineRequest = models.RenewDataEngineRequest;
|
|
214
215
|
const DescribeTaskResultRequest = models.DescribeTaskResultRequest;
|
|
215
216
|
const UpdateUserDataEngineConfigRequest = models.UpdateUserDataEngineConfigRequest;
|
|
217
|
+
const WrittenAdvancePolicy = models.WrittenAdvancePolicy;
|
|
216
218
|
const Filter = models.Filter;
|
|
217
219
|
const DescribeLakeFsDirSummaryResponse = models.DescribeLakeFsDirSummaryResponse;
|
|
218
220
|
const TableBaseInfo = models.TableBaseInfo;
|