tencentcloud-sdk-nodejs-intl-en 3.0.690 → 3.0.695
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/antiddos/v20200309/models.js +8 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/eb/v20210416/eb_client.js +3 -1
- package/tencentcloud/eb/v20210416/models.js +203 -16
- package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +39 -8
- package/tencentcloud/lighthouse/v20200324/models.js +200 -21
- package/tencentcloud/ocr/v20181119/models.js +771 -327
- package/tencentcloud/ocr/v20181119/ocr_client.js +25 -3
- package/tencentcloud/teo/v20220901/models.js +1288 -318
- package/tencentcloud/teo/v20220901/teo_client.js +34 -11
- package/tencentcloud/vpc/v20170312/models.js +405 -25
- package/tencentcloud/vpc/v20170312/vpc_client.js +40 -10
package/package.json
CHANGED
|
@@ -7565,6 +7565,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
7565
7565
|
*/
|
|
7566
7566
|
this.ElasticLimit = null;
|
|
7567
7567
|
|
|
7568
|
+
/**
|
|
7569
|
+
* Protection bandwidth after the plan downgrade, in Gbps.
|
|
7570
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
7571
|
+
* @type {number || null}
|
|
7572
|
+
*/
|
|
7573
|
+
this.DownGradeProtect = null;
|
|
7574
|
+
|
|
7568
7575
|
}
|
|
7569
7576
|
|
|
7570
7577
|
/**
|
|
@@ -7584,6 +7591,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
7584
7591
|
this.ChannelEditionFlag = 'ChannelEditionFlag' in params ? params.ChannelEditionFlag : null;
|
|
7585
7592
|
this.EnterpriseFlag = 'EnterpriseFlag' in params ? params.EnterpriseFlag : null;
|
|
7586
7593
|
this.ElasticLimit = 'ElasticLimit' in params ? params.ElasticLimit : null;
|
|
7594
|
+
this.DownGradeProtect = 'DownGradeProtect' in params ? params.DownGradeProtect : null;
|
|
7587
7595
|
|
|
7588
7596
|
}
|
|
7589
7597
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.695";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -28,6 +28,7 @@ const CreateTargetRequest = models.CreateTargetRequest;
|
|
|
28
28
|
const DeleteTargetResponse = models.DeleteTargetResponse;
|
|
29
29
|
const Extraction = models.Extraction;
|
|
30
30
|
const TargetBrief = models.TargetBrief;
|
|
31
|
+
const DTSParams = models.DTSParams;
|
|
31
32
|
const ListRulesResponse = models.ListRulesResponse;
|
|
32
33
|
const CreateTargetResponse = models.CreateTargetResponse;
|
|
33
34
|
const CheckRuleRequest = models.CheckRuleRequest;
|
|
@@ -63,7 +64,7 @@ const CreateConnectionRequest = models.CreateConnectionRequest;
|
|
|
63
64
|
const DeleteEventBusRequest = models.DeleteEventBusRequest;
|
|
64
65
|
const ListEventBusesRequest = models.ListEventBusesRequest;
|
|
65
66
|
const CreateTransformationResponse = models.CreateTransformationResponse;
|
|
66
|
-
const
|
|
67
|
+
const ConnectionBrief = models.ConnectionBrief;
|
|
67
68
|
const Filter = models.Filter;
|
|
68
69
|
const Connection = models.Connection;
|
|
69
70
|
const DeleteEventBusResponse = models.DeleteEventBusResponse;
|
|
@@ -80,6 +81,7 @@ const UpdateConnectionRequest = models.UpdateConnectionRequest;
|
|
|
80
81
|
const DeleteTargetRequest = models.DeleteTargetRequest;
|
|
81
82
|
const CkafkaParams = models.CkafkaParams;
|
|
82
83
|
const OutputStructParam = models.OutputStructParam;
|
|
84
|
+
const Transform = models.Transform;
|
|
83
85
|
const CheckTransformationRequest = models.CheckTransformationRequest;
|
|
84
86
|
const UpdateConnectionResponse = models.UpdateConnectionResponse;
|
|
85
87
|
const GetRuleRequest = models.GetRuleRequest;
|
|
@@ -185,6 +185,40 @@ class GetEventBusResponse extends AbstractModel {
|
|
|
185
185
|
*/
|
|
186
186
|
this.Type = null;
|
|
187
187
|
|
|
188
|
+
/**
|
|
189
|
+
* Billing mode
|
|
190
|
+
* @type {string || null}
|
|
191
|
+
*/
|
|
192
|
+
this.PayMode = null;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* EventBridge log storage period
|
|
196
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
197
|
+
* @type {number || null}
|
|
198
|
+
*/
|
|
199
|
+
this.SaveDays = null;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* EventBridge log topic ID
|
|
203
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
204
|
+
* @type {string || null}
|
|
205
|
+
*/
|
|
206
|
+
this.LogTopicId = null;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Whether to enable log storage
|
|
210
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
211
|
+
* @type {boolean || null}
|
|
212
|
+
*/
|
|
213
|
+
this.EnableStore = null;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Whether to sort the message
|
|
217
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
218
|
+
* @type {string || null}
|
|
219
|
+
*/
|
|
220
|
+
this.LinkMode = null;
|
|
221
|
+
|
|
188
222
|
/**
|
|
189
223
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
190
224
|
* @type {string || null}
|
|
@@ -208,6 +242,11 @@ class GetEventBusResponse extends AbstractModel {
|
|
|
208
242
|
this.EventBusName = 'EventBusName' in params ? params.EventBusName : null;
|
|
209
243
|
this.EventBusId = 'EventBusId' in params ? params.EventBusId : null;
|
|
210
244
|
this.Type = 'Type' in params ? params.Type : null;
|
|
245
|
+
this.PayMode = 'PayMode' in params ? params.PayMode : null;
|
|
246
|
+
this.SaveDays = 'SaveDays' in params ? params.SaveDays : null;
|
|
247
|
+
this.LogTopicId = 'LogTopicId' in params ? params.LogTopicId : null;
|
|
248
|
+
this.EnableStore = 'EnableStore' in params ? params.EnableStore : null;
|
|
249
|
+
this.LinkMode = 'LinkMode' in params ? params.LinkMode : null;
|
|
211
250
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
212
251
|
|
|
213
252
|
}
|
|
@@ -572,6 +611,27 @@ class TargetBrief extends AbstractModel {
|
|
|
572
611
|
}
|
|
573
612
|
}
|
|
574
613
|
|
|
614
|
+
/**
|
|
615
|
+
* Data Transfer Service (DTS) connector information
|
|
616
|
+
* @class
|
|
617
|
+
*/
|
|
618
|
+
class DTSParams extends AbstractModel {
|
|
619
|
+
constructor(){
|
|
620
|
+
super();
|
|
621
|
+
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* @private
|
|
626
|
+
*/
|
|
627
|
+
deserialize(params) {
|
|
628
|
+
if (!params) {
|
|
629
|
+
return;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
|
|
575
635
|
/**
|
|
576
636
|
* ListRules response structure.
|
|
577
637
|
* @class
|
|
@@ -848,6 +908,27 @@ class EventBus extends AbstractModel {
|
|
|
848
908
|
*/
|
|
849
909
|
this.Type = null;
|
|
850
910
|
|
|
911
|
+
/**
|
|
912
|
+
* Billing Mode
|
|
913
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
914
|
+
* @type {string || null}
|
|
915
|
+
*/
|
|
916
|
+
this.PayMode = null;
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* Connector basic information
|
|
920
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
921
|
+
* @type {Array.<ConnectionBrief> || null}
|
|
922
|
+
*/
|
|
923
|
+
this.ConnectionBriefs = null;
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Target information
|
|
927
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
928
|
+
* @type {Array.<TargetBrief> || null}
|
|
929
|
+
*/
|
|
930
|
+
this.TargetBriefs = null;
|
|
931
|
+
|
|
851
932
|
}
|
|
852
933
|
|
|
853
934
|
/**
|
|
@@ -863,6 +944,25 @@ class EventBus extends AbstractModel {
|
|
|
863
944
|
this.EventBusName = 'EventBusName' in params ? params.EventBusName : null;
|
|
864
945
|
this.EventBusId = 'EventBusId' in params ? params.EventBusId : null;
|
|
865
946
|
this.Type = 'Type' in params ? params.Type : null;
|
|
947
|
+
this.PayMode = 'PayMode' in params ? params.PayMode : null;
|
|
948
|
+
|
|
949
|
+
if (params.ConnectionBriefs) {
|
|
950
|
+
this.ConnectionBriefs = new Array();
|
|
951
|
+
for (let z in params.ConnectionBriefs) {
|
|
952
|
+
let obj = new ConnectionBrief();
|
|
953
|
+
obj.deserialize(params.ConnectionBriefs[z]);
|
|
954
|
+
this.ConnectionBriefs.push(obj);
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
if (params.TargetBriefs) {
|
|
959
|
+
this.TargetBriefs = new Array();
|
|
960
|
+
for (let z in params.TargetBriefs) {
|
|
961
|
+
let obj = new TargetBrief();
|
|
962
|
+
obj.deserialize(params.TargetBriefs[z]);
|
|
963
|
+
this.TargetBriefs.push(obj);
|
|
964
|
+
}
|
|
965
|
+
}
|
|
866
966
|
|
|
867
967
|
}
|
|
868
968
|
}
|
|
@@ -1268,6 +1368,24 @@ class UpdateEventBusRequest extends AbstractModel {
|
|
|
1268
1368
|
*/
|
|
1269
1369
|
this.EventBusName = null;
|
|
1270
1370
|
|
|
1371
|
+
/**
|
|
1372
|
+
* Log retention period
|
|
1373
|
+
* @type {number || null}
|
|
1374
|
+
*/
|
|
1375
|
+
this.SaveDays = null;
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* EventBridge log topic ID
|
|
1379
|
+
* @type {string || null}
|
|
1380
|
+
*/
|
|
1381
|
+
this.LogTopicId = null;
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* Whether to enable log retention
|
|
1385
|
+
* @type {boolean || null}
|
|
1386
|
+
*/
|
|
1387
|
+
this.EnableStore = null;
|
|
1388
|
+
|
|
1271
1389
|
}
|
|
1272
1390
|
|
|
1273
1391
|
/**
|
|
@@ -1280,6 +1398,9 @@ class UpdateEventBusRequest extends AbstractModel {
|
|
|
1280
1398
|
this.EventBusId = 'EventBusId' in params ? params.EventBusId : null;
|
|
1281
1399
|
this.Description = 'Description' in params ? params.Description : null;
|
|
1282
1400
|
this.EventBusName = 'EventBusName' in params ? params.EventBusName : null;
|
|
1401
|
+
this.SaveDays = 'SaveDays' in params ? params.SaveDays : null;
|
|
1402
|
+
this.LogTopicId = 'LogTopicId' in params ? params.LogTopicId : null;
|
|
1403
|
+
this.EnableStore = 'EnableStore' in params ? params.EnableStore : null;
|
|
1283
1404
|
|
|
1284
1405
|
}
|
|
1285
1406
|
}
|
|
@@ -1304,6 +1425,18 @@ class CreateEventBusRequest extends AbstractModel {
|
|
|
1304
1425
|
*/
|
|
1305
1426
|
this.Description = null;
|
|
1306
1427
|
|
|
1428
|
+
/**
|
|
1429
|
+
* Log retention period
|
|
1430
|
+
* @type {number || null}
|
|
1431
|
+
*/
|
|
1432
|
+
this.SaveDays = null;
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* Whether to enable log storage
|
|
1436
|
+
* @type {boolean || null}
|
|
1437
|
+
*/
|
|
1438
|
+
this.EnableStore = null;
|
|
1439
|
+
|
|
1307
1440
|
}
|
|
1308
1441
|
|
|
1309
1442
|
/**
|
|
@@ -1315,6 +1448,8 @@ class CreateEventBusRequest extends AbstractModel {
|
|
|
1315
1448
|
}
|
|
1316
1449
|
this.EventBusName = 'EventBusName' in params ? params.EventBusName : null;
|
|
1317
1450
|
this.Description = 'Description' in params ? params.Description : null;
|
|
1451
|
+
this.SaveDays = 'SaveDays' in params ? params.SaveDays : null;
|
|
1452
|
+
this.EnableStore = 'EnableStore' in params ? params.EnableStore : null;
|
|
1318
1453
|
|
|
1319
1454
|
}
|
|
1320
1455
|
}
|
|
@@ -1949,6 +2084,13 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1949
2084
|
*/
|
|
1950
2085
|
this.CkafkaParams = null;
|
|
1951
2086
|
|
|
2087
|
+
/**
|
|
2088
|
+
* Data Transfer Service (DTS) connector information
|
|
2089
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
2090
|
+
* @type {DTSParams || null}
|
|
2091
|
+
*/
|
|
2092
|
+
this.DTSParams = null;
|
|
2093
|
+
|
|
1952
2094
|
}
|
|
1953
2095
|
|
|
1954
2096
|
/**
|
|
@@ -1972,6 +2114,12 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1972
2114
|
this.CkafkaParams = obj;
|
|
1973
2115
|
}
|
|
1974
2116
|
|
|
2117
|
+
if (params.DTSParams) {
|
|
2118
|
+
let obj = new DTSParams();
|
|
2119
|
+
obj.deserialize(params.DTSParams)
|
|
2120
|
+
this.DTSParams = obj;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
1975
2123
|
}
|
|
1976
2124
|
}
|
|
1977
2125
|
|
|
@@ -2234,19 +2382,26 @@ class CreateTransformationResponse extends AbstractModel {
|
|
|
2234
2382
|
}
|
|
2235
2383
|
|
|
2236
2384
|
/**
|
|
2237
|
-
*
|
|
2238
|
-
|
|
2385
|
+
* Connector basic information
|
|
2239
2386
|
* @class
|
|
2240
2387
|
*/
|
|
2241
|
-
class
|
|
2388
|
+
class ConnectionBrief extends AbstractModel {
|
|
2242
2389
|
constructor(){
|
|
2243
2390
|
super();
|
|
2244
2391
|
|
|
2245
2392
|
/**
|
|
2246
|
-
*
|
|
2247
|
-
|
|
2393
|
+
* Connector type
|
|
2394
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
2395
|
+
* @type {string || null}
|
|
2248
2396
|
*/
|
|
2249
|
-
this.
|
|
2397
|
+
this.Type = null;
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
* Connector status
|
|
2401
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
2402
|
+
* @type {string || null}
|
|
2403
|
+
*/
|
|
2404
|
+
this.Status = null;
|
|
2250
2405
|
|
|
2251
2406
|
}
|
|
2252
2407
|
|
|
@@ -2257,15 +2412,8 @@ class Transform extends AbstractModel {
|
|
|
2257
2412
|
if (!params) {
|
|
2258
2413
|
return;
|
|
2259
2414
|
}
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
this.OutputStructs = new Array();
|
|
2263
|
-
for (let z in params.OutputStructs) {
|
|
2264
|
-
let obj = new OutputStructParam();
|
|
2265
|
-
obj.deserialize(params.OutputStructs[z]);
|
|
2266
|
-
this.OutputStructs.push(obj);
|
|
2267
|
-
}
|
|
2268
|
-
}
|
|
2415
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
2416
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
2269
2417
|
|
|
2270
2418
|
}
|
|
2271
2419
|
}
|
|
@@ -2972,6 +3120,43 @@ class OutputStructParam extends AbstractModel {
|
|
|
2972
3120
|
}
|
|
2973
3121
|
}
|
|
2974
3122
|
|
|
3123
|
+
/**
|
|
3124
|
+
* Describes how to transform data
|
|
3125
|
+
|
|
3126
|
+
* @class
|
|
3127
|
+
*/
|
|
3128
|
+
class Transform extends AbstractModel {
|
|
3129
|
+
constructor(){
|
|
3130
|
+
super();
|
|
3131
|
+
|
|
3132
|
+
/**
|
|
3133
|
+
* Describes how to transform data
|
|
3134
|
+
* @type {Array.<OutputStructParam> || null}
|
|
3135
|
+
*/
|
|
3136
|
+
this.OutputStructs = null;
|
|
3137
|
+
|
|
3138
|
+
}
|
|
3139
|
+
|
|
3140
|
+
/**
|
|
3141
|
+
* @private
|
|
3142
|
+
*/
|
|
3143
|
+
deserialize(params) {
|
|
3144
|
+
if (!params) {
|
|
3145
|
+
return;
|
|
3146
|
+
}
|
|
3147
|
+
|
|
3148
|
+
if (params.OutputStructs) {
|
|
3149
|
+
this.OutputStructs = new Array();
|
|
3150
|
+
for (let z in params.OutputStructs) {
|
|
3151
|
+
let obj = new OutputStructParam();
|
|
3152
|
+
obj.deserialize(params.OutputStructs[z]);
|
|
3153
|
+
this.OutputStructs.push(obj);
|
|
3154
|
+
}
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
}
|
|
3158
|
+
}
|
|
3159
|
+
|
|
2975
3160
|
/**
|
|
2976
3161
|
* CheckTransformation request structure.
|
|
2977
3162
|
* @class
|
|
@@ -3217,6 +3402,7 @@ module.exports = {
|
|
|
3217
3402
|
DeleteTargetResponse: DeleteTargetResponse,
|
|
3218
3403
|
Extraction: Extraction,
|
|
3219
3404
|
TargetBrief: TargetBrief,
|
|
3405
|
+
DTSParams: DTSParams,
|
|
3220
3406
|
ListRulesResponse: ListRulesResponse,
|
|
3221
3407
|
CreateTargetResponse: CreateTargetResponse,
|
|
3222
3408
|
CheckRuleRequest: CheckRuleRequest,
|
|
@@ -3252,7 +3438,7 @@ module.exports = {
|
|
|
3252
3438
|
DeleteEventBusRequest: DeleteEventBusRequest,
|
|
3253
3439
|
ListEventBusesRequest: ListEventBusesRequest,
|
|
3254
3440
|
CreateTransformationResponse: CreateTransformationResponse,
|
|
3255
|
-
|
|
3441
|
+
ConnectionBrief: ConnectionBrief,
|
|
3256
3442
|
Filter: Filter,
|
|
3257
3443
|
Connection: Connection,
|
|
3258
3444
|
DeleteEventBusResponse: DeleteEventBusResponse,
|
|
@@ -3269,6 +3455,7 @@ module.exports = {
|
|
|
3269
3455
|
DeleteTargetRequest: DeleteTargetRequest,
|
|
3270
3456
|
CkafkaParams: CkafkaParams,
|
|
3271
3457
|
OutputStructParam: OutputStructParam,
|
|
3458
|
+
Transform: Transform,
|
|
3272
3459
|
CheckTransformationRequest: CheckTransformationRequest,
|
|
3273
3460
|
UpdateConnectionResponse: UpdateConnectionResponse,
|
|
3274
3461
|
GetRuleRequest: GetRuleRequest,
|
|
@@ -41,6 +41,7 @@ const DeleteKeyPairsRequest = models.DeleteKeyPairsRequest;
|
|
|
41
41
|
const SystemDisk = models.SystemDisk;
|
|
42
42
|
const ResetInstanceBlueprint = models.ResetInstanceBlueprint;
|
|
43
43
|
const DescribeBundlesResponse = models.DescribeBundlesResponse;
|
|
44
|
+
const ModifyInstancesBundleRequest = models.ModifyInstancesBundleRequest;
|
|
44
45
|
const InstancePriceDetail = models.InstancePriceDetail;
|
|
45
46
|
const InquirePriceRenewInstancesRequest = models.InquirePriceRenewInstancesRequest;
|
|
46
47
|
const DiscountDetail = models.DiscountDetail;
|
|
@@ -97,6 +98,7 @@ const SceneInfo = models.SceneInfo;
|
|
|
97
98
|
const ImportKeyPairRequest = models.ImportKeyPairRequest;
|
|
98
99
|
const DeleteBlueprintsResponse = models.DeleteBlueprintsResponse;
|
|
99
100
|
const ModifyInstancesLoginKeyPairAttributeRequest = models.ModifyInstancesLoginKeyPairAttributeRequest;
|
|
101
|
+
const IsolateInstancesRequest = models.IsolateInstancesRequest;
|
|
100
102
|
const StopInstancesResponse = models.StopInstancesResponse;
|
|
101
103
|
const CreateInstancesResponse = models.CreateInstancesResponse;
|
|
102
104
|
const ModifyBlueprintAttributeResponse = models.ModifyBlueprintAttributeResponse;
|
|
@@ -113,6 +115,7 @@ const ResetInstancesPasswordResponse = models.ResetInstancesPasswordResponse;
|
|
|
113
115
|
const LoginSettings = models.LoginSettings;
|
|
114
116
|
const Instance = models.Instance;
|
|
115
117
|
const DockerContainerVolume = models.DockerContainerVolume;
|
|
118
|
+
const IsolateInstancesResponse = models.IsolateInstancesResponse;
|
|
116
119
|
const CreateKeyPairResponse = models.CreateKeyPairResponse;
|
|
117
120
|
const DescribeInstanceVncUrlResponse = models.DescribeInstanceVncUrlResponse;
|
|
118
121
|
const ModifyFirewallRulesResponse = models.ModifyFirewallRulesResponse;
|
|
@@ -177,6 +180,7 @@ const DescribeBundleDiscountRequest = models.DescribeBundleDiscountRequest;
|
|
|
177
180
|
const Price = models.Price;
|
|
178
181
|
const DescribeDisksReturnableResponse = models.DescribeDisksReturnableResponse;
|
|
179
182
|
const BlueprintPrice = models.BlueprintPrice;
|
|
183
|
+
const ModifyInstancesBundleResponse = models.ModifyInstancesBundleResponse;
|
|
180
184
|
const GeneralResourceQuota = models.GeneralResourceQuota;
|
|
181
185
|
const DescribeResetInstanceBlueprintsResponse = models.DescribeResetInstanceBlueprintsResponse;
|
|
182
186
|
const DescribeDisksReturnableRequest = models.DescribeDisksReturnableRequest;
|
|
@@ -274,11 +278,25 @@ In the `FirewallRule` parameter:
|
|
|
274
278
|
}
|
|
275
279
|
|
|
276
280
|
/**
|
|
277
|
-
* This API is used to
|
|
281
|
+
* This API is used to return one or more Lighthouse instances.
|
|
282
|
+
* Only `RUNNING` and `STOPPED` instances can be returned.
|
|
283
|
+
* The instance status goes to `SHUTDOWN` after the API is called successfully.
|
|
284
|
+
* Batch operations are supported. Up to 20 resources (including instances and data disks) can be returned in each request.
|
|
285
|
+
* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.
|
|
286
|
+
* @param {IsolateInstancesRequest} req
|
|
287
|
+
* @param {function(string, IsolateInstancesResponse):void} cb
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
IsolateInstances(req, cb) {
|
|
291
|
+
let resp = new IsolateInstancesResponse();
|
|
292
|
+
this.request("IsolateInstances", req, resp, cb);
|
|
293
|
+
}
|
|
278
294
|
|
|
279
|
-
|
|
280
|
-
*
|
|
281
|
-
|
|
295
|
+
/**
|
|
296
|
+
* This API is used to change the auto-renewal setting of monthly-subscribed instances.
|
|
297
|
+
|
|
298
|
+
* Instances with auto-renewal enabled are automatically renewed on a monthly basis upon the expiration.
|
|
299
|
+
* Batch operations are supported. Up to 100 instances per request is allowed.
|
|
282
300
|
* @param {ModifyInstancesRenewFlagRequest} req
|
|
283
301
|
* @param {function(string, ModifyInstancesRenewFlagResponse):void} cb
|
|
284
302
|
* @public
|
|
@@ -321,10 +339,9 @@ In the `FirewallRules` parameter:
|
|
|
321
339
|
}
|
|
322
340
|
|
|
323
341
|
/**
|
|
324
|
-
* This API is used to modify
|
|
325
|
-
* The instance name is used only for users’ convenience.
|
|
326
|
-
* Batch operations are supported.
|
|
327
|
-
* This API is async. A successful request will return a `RequestId`, it does not mean the operation is completed. You can call the `DescribeInstances` API to query the operation result. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.
|
|
342
|
+
* This API is used to modify an instance attribute.
|
|
343
|
+
* The instance name is used only for users’ convenience.
|
|
344
|
+
* Batch operations are supported. The maximum number of instances in each request is 100.
|
|
328
345
|
* @param {ModifyInstancesAttributeRequest} req
|
|
329
346
|
* @param {function(string, ModifyInstancesAttributeResponse):void} cb
|
|
330
347
|
* @public
|
|
@@ -1075,6 +1092,20 @@ https://img.qcloud.com/qcloud/app/active_vnc/index.html?InstanceVncUrl=wss%3A%2F
|
|
|
1075
1092
|
this.request("DetachDisks", req, resp, cb);
|
|
1076
1093
|
}
|
|
1077
1094
|
|
|
1095
|
+
/**
|
|
1096
|
+
* This API is used change one or more Lighthouse instance bundles.
|
|
1097
|
+
* Only `RUNNING` and `STOPPED` instances can be changed.
|
|
1098
|
+
* Batch operations are supported. The maximum number of instances in each request is 30.
|
|
1099
|
+
* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.
|
|
1100
|
+
* @param {ModifyInstancesBundleRequest} req
|
|
1101
|
+
* @param {function(string, ModifyInstancesBundleResponse):void} cb
|
|
1102
|
+
* @public
|
|
1103
|
+
*/
|
|
1104
|
+
ModifyInstancesBundle(req, cb) {
|
|
1105
|
+
let resp = new ModifyInstancesBundleResponse();
|
|
1106
|
+
this.request("ModifyInstancesBundle", req, resp, cb);
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1078
1109
|
|
|
1079
1110
|
}
|
|
1080
1111
|
module.exports = LighthouseClient;
|