tencentcloud-sdk-nodejs-intl-en 3.0.1430 → 3.0.1431
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/edgezone/v20260401/edgezone_client.js +14 -1
- package/tencentcloud/edgezone/v20260401/models.js +84 -26
- package/tencentcloud/ocr/v20181119/models.js +13 -15
- package/tencentcloud/teo/v20220901/models.js +197 -14
- package/tencentcloud/teo/v20220901/teo_client.js +15 -1
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1431";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -21,7 +21,7 @@ const DescribeInstanceTypesResponse = models.DescribeInstanceTypesResponse;
|
|
|
21
21
|
const DescribePrivateNetworkInstancesRequest = models.DescribePrivateNetworkInstancesRequest;
|
|
22
22
|
const DescribePublicNetworkInstancesResponse = models.DescribePublicNetworkInstancesResponse;
|
|
23
23
|
const DeletePublicNetworkInstanceRequest = models.DeletePublicNetworkInstanceRequest;
|
|
24
|
-
const
|
|
24
|
+
const CreateEdgeNodeServiceResponse = models.CreateEdgeNodeServiceResponse;
|
|
25
25
|
const CreateInstancesRequest = models.CreateInstancesRequest;
|
|
26
26
|
const DescribeInstanceTypesRequest = models.DescribeInstanceTypesRequest;
|
|
27
27
|
const PrivateNetworkInstanceInfo = models.PrivateNetworkInstanceInfo;
|
|
@@ -36,6 +36,7 @@ const InstanceTypeQuota = models.InstanceTypeQuota;
|
|
|
36
36
|
const ModifyPublicNetworkInstanceRequest = models.ModifyPublicNetworkInstanceRequest;
|
|
37
37
|
const ReleasePublicIpRequest = models.ReleasePublicIpRequest;
|
|
38
38
|
const DescribeInstancesResponse = models.DescribeInstancesResponse;
|
|
39
|
+
const CreateEdgeNodeServiceRequest = models.CreateEdgeNodeServiceRequest;
|
|
39
40
|
const DescribeInstancesRequest = models.DescribeInstancesRequest;
|
|
40
41
|
const PublicNetworkSegment = models.PublicNetworkSegment;
|
|
41
42
|
const ReleasePublicIpResponse = models.ReleasePublicIpResponse;
|
|
@@ -43,6 +44,7 @@ const DescribeZoneDataResponse = models.DescribeZoneDataResponse;
|
|
|
43
44
|
const DeletePrivateNetworkInstanceRequest = models.DeletePrivateNetworkInstanceRequest;
|
|
44
45
|
const DescribePrivateNetworkInstancesResponse = models.DescribePrivateNetworkInstancesResponse;
|
|
45
46
|
const CreatePrivateNetworkInstanceResponse = models.CreatePrivateNetworkInstanceResponse;
|
|
47
|
+
const TerminateInstancesResponse = models.TerminateInstancesResponse;
|
|
46
48
|
const ModifyInstanceAttributeRequest = models.ModifyInstanceAttributeRequest;
|
|
47
49
|
const ApplyPublicIpsRequest = models.ApplyPublicIpsRequest;
|
|
48
50
|
const DescribePublicIpsResponse = models.DescribePublicIpsResponse;
|
|
@@ -95,6 +97,17 @@ class EdgezoneClient extends AbstractClient {
|
|
|
95
97
|
this.request("DescribeInstances", req, resp, cb);
|
|
96
98
|
}
|
|
97
99
|
|
|
100
|
+
/**
|
|
101
|
+
* Enable the billing service for edge nodes.
|
|
102
|
+
* @param {CreateEdgeNodeServiceRequest} req
|
|
103
|
+
* @param {function(string, CreateEdgeNodeServiceResponse):void} cb
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
CreateEdgeNodeService(req, cb) {
|
|
107
|
+
let resp = new CreateEdgeNodeServiceResponse();
|
|
108
|
+
this.request("CreateEdgeNodeService", req, resp, cb);
|
|
109
|
+
}
|
|
110
|
+
|
|
98
111
|
/**
|
|
99
112
|
* Query the public network Ip information of the user. For public network instances with routing mode set to Static, return all applied public network Ip information. For public network instances with routing mode set to Ospf and Bgp, return Ip range information directly.
|
|
100
113
|
* @param {DescribePublicIpsRequest} req
|
|
@@ -229,26 +229,13 @@ class DeletePublicNetworkInstanceRequest extends AbstractModel {
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
|
-
*
|
|
232
|
+
* CreateEdgeNodeService response structure.
|
|
233
233
|
* @class
|
|
234
234
|
*/
|
|
235
|
-
class
|
|
235
|
+
class CreateEdgeNodeServiceResponse extends AbstractModel {
|
|
236
236
|
constructor(){
|
|
237
237
|
super();
|
|
238
238
|
|
|
239
|
-
/**
|
|
240
|
-
* List of instance IDs successfully terminated.
|
|
241
|
-
* @type {Array.<string> || null}
|
|
242
|
-
*/
|
|
243
|
-
this.InstanceIdSet = null;
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* List of instances with termination failed (returned when partially successful).
|
|
247
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
248
|
-
* @type {Array.<FailedInstance> || null}
|
|
249
|
-
*/
|
|
250
|
-
this.FailedInstanceSet = null;
|
|
251
|
-
|
|
252
239
|
/**
|
|
253
240
|
* 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.
|
|
254
241
|
* @type {string || null}
|
|
@@ -264,16 +251,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
264
251
|
if (!params) {
|
|
265
252
|
return;
|
|
266
253
|
}
|
|
267
|
-
this.InstanceIdSet = 'InstanceIdSet' in params ? params.InstanceIdSet : null;
|
|
268
|
-
|
|
269
|
-
if (params.FailedInstanceSet) {
|
|
270
|
-
this.FailedInstanceSet = new Array();
|
|
271
|
-
for (let z in params.FailedInstanceSet) {
|
|
272
|
-
let obj = new FailedInstance();
|
|
273
|
-
obj.deserialize(params.FailedInstanceSet[z]);
|
|
274
|
-
this.FailedInstanceSet.push(obj);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
254
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
278
255
|
|
|
279
256
|
}
|
|
@@ -1022,6 +999,34 @@ class DescribeInstancesResponse extends AbstractModel {
|
|
|
1022
999
|
}
|
|
1023
1000
|
}
|
|
1024
1001
|
|
|
1002
|
+
/**
|
|
1003
|
+
* CreateEdgeNodeService request structure.
|
|
1004
|
+
* @class
|
|
1005
|
+
*/
|
|
1006
|
+
class CreateEdgeNodeServiceRequest extends AbstractModel {
|
|
1007
|
+
constructor(){
|
|
1008
|
+
super();
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Availability zone code, such as ap-guangzhou-1.
|
|
1012
|
+
* @type {string || null}
|
|
1013
|
+
*/
|
|
1014
|
+
this.Zone = null;
|
|
1015
|
+
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* @private
|
|
1020
|
+
*/
|
|
1021
|
+
deserialize(params) {
|
|
1022
|
+
if (!params) {
|
|
1023
|
+
return;
|
|
1024
|
+
}
|
|
1025
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
1026
|
+
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1025
1030
|
/**
|
|
1026
1031
|
* DescribeInstances request structure.
|
|
1027
1032
|
* @class
|
|
@@ -1311,6 +1316,57 @@ class CreatePrivateNetworkInstanceResponse extends AbstractModel {
|
|
|
1311
1316
|
}
|
|
1312
1317
|
}
|
|
1313
1318
|
|
|
1319
|
+
/**
|
|
1320
|
+
* TerminateInstances response structure.
|
|
1321
|
+
* @class
|
|
1322
|
+
*/
|
|
1323
|
+
class TerminateInstancesResponse extends AbstractModel {
|
|
1324
|
+
constructor(){
|
|
1325
|
+
super();
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* List of instance IDs successfully terminated.
|
|
1329
|
+
* @type {Array.<string> || null}
|
|
1330
|
+
*/
|
|
1331
|
+
this.InstanceIdSet = null;
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* List of instances with termination failed (returned when partially successful).
|
|
1335
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1336
|
+
* @type {Array.<FailedInstance> || null}
|
|
1337
|
+
*/
|
|
1338
|
+
this.FailedInstanceSet = null;
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* 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.
|
|
1342
|
+
* @type {string || null}
|
|
1343
|
+
*/
|
|
1344
|
+
this.RequestId = null;
|
|
1345
|
+
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* @private
|
|
1350
|
+
*/
|
|
1351
|
+
deserialize(params) {
|
|
1352
|
+
if (!params) {
|
|
1353
|
+
return;
|
|
1354
|
+
}
|
|
1355
|
+
this.InstanceIdSet = 'InstanceIdSet' in params ? params.InstanceIdSet : null;
|
|
1356
|
+
|
|
1357
|
+
if (params.FailedInstanceSet) {
|
|
1358
|
+
this.FailedInstanceSet = new Array();
|
|
1359
|
+
for (let z in params.FailedInstanceSet) {
|
|
1360
|
+
let obj = new FailedInstance();
|
|
1361
|
+
obj.deserialize(params.FailedInstanceSet[z]);
|
|
1362
|
+
this.FailedInstanceSet.push(obj);
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1366
|
+
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1314
1370
|
/**
|
|
1315
1371
|
* ModifyInstanceAttribute request structure.
|
|
1316
1372
|
* @class
|
|
@@ -2305,7 +2361,7 @@ module.exports = {
|
|
|
2305
2361
|
DescribePrivateNetworkInstancesRequest: DescribePrivateNetworkInstancesRequest,
|
|
2306
2362
|
DescribePublicNetworkInstancesResponse: DescribePublicNetworkInstancesResponse,
|
|
2307
2363
|
DeletePublicNetworkInstanceRequest: DeletePublicNetworkInstanceRequest,
|
|
2308
|
-
|
|
2364
|
+
CreateEdgeNodeServiceResponse: CreateEdgeNodeServiceResponse,
|
|
2309
2365
|
CreateInstancesRequest: CreateInstancesRequest,
|
|
2310
2366
|
DescribeInstanceTypesRequest: DescribeInstanceTypesRequest,
|
|
2311
2367
|
PrivateNetworkInstanceInfo: PrivateNetworkInstanceInfo,
|
|
@@ -2320,6 +2376,7 @@ module.exports = {
|
|
|
2320
2376
|
ModifyPublicNetworkInstanceRequest: ModifyPublicNetworkInstanceRequest,
|
|
2321
2377
|
ReleasePublicIpRequest: ReleasePublicIpRequest,
|
|
2322
2378
|
DescribeInstancesResponse: DescribeInstancesResponse,
|
|
2379
|
+
CreateEdgeNodeServiceRequest: CreateEdgeNodeServiceRequest,
|
|
2323
2380
|
DescribeInstancesRequest: DescribeInstancesRequest,
|
|
2324
2381
|
PublicNetworkSegment: PublicNetworkSegment,
|
|
2325
2382
|
ReleasePublicIpResponse: ReleasePublicIpResponse,
|
|
@@ -2327,6 +2384,7 @@ module.exports = {
|
|
|
2327
2384
|
DeletePrivateNetworkInstanceRequest: DeletePrivateNetworkInstanceRequest,
|
|
2328
2385
|
DescribePrivateNetworkInstancesResponse: DescribePrivateNetworkInstancesResponse,
|
|
2329
2386
|
CreatePrivateNetworkInstanceResponse: CreatePrivateNetworkInstanceResponse,
|
|
2387
|
+
TerminateInstancesResponse: TerminateInstancesResponse,
|
|
2330
2388
|
ModifyInstanceAttributeRequest: ModifyInstanceAttributeRequest,
|
|
2331
2389
|
ApplyPublicIpsRequest: ApplyPublicIpsRequest,
|
|
2332
2390
|
DescribePublicIpsResponse: DescribePublicIpsResponse,
|
|
@@ -4488,43 +4488,43 @@ class MLIDPassportOCRResponse extends AbstractModel {
|
|
|
4488
4488
|
super();
|
|
4489
4489
|
|
|
4490
4490
|
/**
|
|
4491
|
-
*
|
|
4491
|
+
* Parsed passport ID extracted from the MRZ (Machine-Readable Zone) of passport
|
|
4492
4492
|
* @type {string || null}
|
|
4493
4493
|
*/
|
|
4494
4494
|
this.ID = null;
|
|
4495
4495
|
|
|
4496
4496
|
/**
|
|
4497
|
-
*
|
|
4497
|
+
* Parsed full name extracted from the MRZ (Machine-Readable Zone) of passport
|
|
4498
4498
|
* @type {string || null}
|
|
4499
4499
|
*/
|
|
4500
4500
|
this.Name = null;
|
|
4501
4501
|
|
|
4502
4502
|
/**
|
|
4503
|
-
*
|
|
4503
|
+
* Parsed date of birth extracted from the MRZ (Machine-Readable Zone) of passport
|
|
4504
4504
|
* @type {string || null}
|
|
4505
4505
|
*/
|
|
4506
4506
|
this.DateOfBirth = null;
|
|
4507
4507
|
|
|
4508
4508
|
/**
|
|
4509
|
-
*
|
|
4509
|
+
* Parsed gender extracted from the MRZ (Machine-Readable Zone) of passport
|
|
4510
4510
|
* @type {string || null}
|
|
4511
4511
|
*/
|
|
4512
4512
|
this.Sex = null;
|
|
4513
4513
|
|
|
4514
4514
|
/**
|
|
4515
|
-
*
|
|
4515
|
+
* Parsed expiry date extracted from the MRZ (Machine-Readable Zone) of passport
|
|
4516
4516
|
* @type {string || null}
|
|
4517
4517
|
*/
|
|
4518
4518
|
this.DateOfExpiration = null;
|
|
4519
4519
|
|
|
4520
4520
|
/**
|
|
4521
|
-
*
|
|
4521
|
+
* Parsed issuing country extracted from the MRZ (Machine-Readable Zone) of passport
|
|
4522
4522
|
* @type {string || null}
|
|
4523
4523
|
*/
|
|
4524
4524
|
this.IssuingCountry = null;
|
|
4525
4525
|
|
|
4526
4526
|
/**
|
|
4527
|
-
*
|
|
4527
|
+
* Parsed country-region code extracted from the MRZ (Machine-Readable Zone) of passport
|
|
4528
4528
|
* @type {string || null}
|
|
4529
4529
|
*/
|
|
4530
4530
|
this.Nationality = null;
|
|
@@ -4548,33 +4548,31 @@ class MLIDPassportOCRResponse extends AbstractModel {
|
|
|
4548
4548
|
this.AdvancedInfo = null;
|
|
4549
4549
|
|
|
4550
4550
|
/**
|
|
4551
|
-
*
|
|
4551
|
+
* Parsed MRZ line 1 raw sequence extracted from the MRZ (Machine-Readable Zone) of passport
|
|
4552
4552
|
* @type {string || null}
|
|
4553
4553
|
*/
|
|
4554
4554
|
this.CodeSet = null;
|
|
4555
4555
|
|
|
4556
4556
|
/**
|
|
4557
|
-
*
|
|
4557
|
+
* Parsed MRZ line 2 raw sequence extracted from the MRZ (Machine-Readable Zone) of passport
|
|
4558
4558
|
* @type {string || null}
|
|
4559
4559
|
*/
|
|
4560
4560
|
this.CodeCrc = null;
|
|
4561
4561
|
|
|
4562
4562
|
/**
|
|
4563
|
-
*
|
|
4564
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4563
|
+
* Parsed surname extracted from the MRZ (Machine-Readable Zone) of passport
|
|
4565
4564
|
* @type {string || null}
|
|
4566
4565
|
*/
|
|
4567
4566
|
this.Surname = null;
|
|
4568
4567
|
|
|
4569
4568
|
/**
|
|
4570
|
-
*
|
|
4571
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4569
|
+
* Parsed given name extracted from the MRZ (Machine-Readable Zone) of passport
|
|
4572
4570
|
* @type {string || null}
|
|
4573
4571
|
*/
|
|
4574
4572
|
this.GivenName = null;
|
|
4575
4573
|
|
|
4576
4574
|
/**
|
|
4577
|
-
*
|
|
4575
|
+
* Parsed document type extracted from the MRZ (Machine-Readable Zone) of passport
|
|
4578
4576
|
* @type {string || null}
|
|
4579
4577
|
*/
|
|
4580
4578
|
this.Type = null;
|
|
@@ -4591,7 +4589,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4591
4589
|
-9101 Alarm for covered certificate
|
|
4592
4590
|
-9102 Alarm for photocopied certificate
|
|
4593
4591
|
-9103 Alarm for photographed certificate
|
|
4594
|
-
-9104 Alarm for
|
|
4592
|
+
-9104 Alarm for PS certificate
|
|
4595
4593
|
-9107 Alarm for reflective certificate
|
|
4596
4594
|
-9108 Alarm for blurry certificate
|
|
4597
4595
|
-9109 This capability is not enabled. Please contact customer support to activate the alert service.
|
|
@@ -9436,6 +9436,56 @@ Note: This field may return null, which indicates a failure to obtain a valid va
|
|
|
9436
9436
|
}
|
|
9437
9437
|
}
|
|
9438
9438
|
|
|
9439
|
+
/**
|
|
9440
|
+
* DescribeIPGroupReferences response structure.
|
|
9441
|
+
* @class
|
|
9442
|
+
*/
|
|
9443
|
+
class DescribeIPGroupReferencesResponse extends AbstractModel {
|
|
9444
|
+
constructor(){
|
|
9445
|
+
super();
|
|
9446
|
+
|
|
9447
|
+
/**
|
|
9448
|
+
* <p>Details of policy configurations that reference the specified IP group.</p>
|
|
9449
|
+
* @type {Array.<IPGroupReference> || null}
|
|
9450
|
+
*/
|
|
9451
|
+
this.References = null;
|
|
9452
|
+
|
|
9453
|
+
/**
|
|
9454
|
+
* <p>Total number of query results.</p>
|
|
9455
|
+
* @type {number || null}
|
|
9456
|
+
*/
|
|
9457
|
+
this.TotalCount = null;
|
|
9458
|
+
|
|
9459
|
+
/**
|
|
9460
|
+
* 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.
|
|
9461
|
+
* @type {string || null}
|
|
9462
|
+
*/
|
|
9463
|
+
this.RequestId = null;
|
|
9464
|
+
|
|
9465
|
+
}
|
|
9466
|
+
|
|
9467
|
+
/**
|
|
9468
|
+
* @private
|
|
9469
|
+
*/
|
|
9470
|
+
deserialize(params) {
|
|
9471
|
+
if (!params) {
|
|
9472
|
+
return;
|
|
9473
|
+
}
|
|
9474
|
+
|
|
9475
|
+
if (params.References) {
|
|
9476
|
+
this.References = new Array();
|
|
9477
|
+
for (let z in params.References) {
|
|
9478
|
+
let obj = new IPGroupReference();
|
|
9479
|
+
obj.deserialize(params.References[z]);
|
|
9480
|
+
this.References.push(obj);
|
|
9481
|
+
}
|
|
9482
|
+
}
|
|
9483
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
9484
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9485
|
+
|
|
9486
|
+
}
|
|
9487
|
+
}
|
|
9488
|
+
|
|
9439
9489
|
/**
|
|
9440
9490
|
* CreateEdgeKVNamespace request structure.
|
|
9441
9491
|
* @class
|
|
@@ -17094,39 +17144,41 @@ class IPGroup extends AbstractModel {
|
|
|
17094
17144
|
super();
|
|
17095
17145
|
|
|
17096
17146
|
/**
|
|
17097
|
-
*
|
|
17147
|
+
* <p>IP group Id. Enter 0 when created.</p>
|
|
17098
17148
|
* @type {number || null}
|
|
17099
17149
|
*/
|
|
17100
17150
|
this.GroupId = null;
|
|
17101
17151
|
|
|
17102
17152
|
/**
|
|
17103
|
-
*
|
|
17153
|
+
* <p>IP group name.</p>
|
|
17104
17154
|
* @type {string || null}
|
|
17105
17155
|
*/
|
|
17106
17156
|
this.Name = null;
|
|
17107
17157
|
|
|
17108
17158
|
/**
|
|
17109
|
-
* IP group content
|
|
17159
|
+
* <p>IP group content supports only IP and IP range.</p>
|
|
17110
17160
|
* @type {Array.<string> || null}
|
|
17111
17161
|
*/
|
|
17112
17162
|
this.Content = null;
|
|
17113
17163
|
|
|
17114
17164
|
/**
|
|
17115
|
-
* Number of
|
|
17165
|
+
* <p>Number of IPs or IP ranges that are effective in the IP group. Valid as an output parameter. Not required as an input parameter.</p>
|
|
17116
17166
|
* @type {number || null}
|
|
17117
17167
|
*/
|
|
17118
17168
|
this.IPTotalCount = null;
|
|
17119
17169
|
|
|
17120
17170
|
/**
|
|
17121
|
-
*
|
|
17122
|
-
Specifies the IP address or IP range configuration with scheduled expiration time as an input parameter.
|
|
17123
|
-
As an output parameter, contains the following two categories of information.
|
|
17124
|
-
<Li>Currently not expired scheduled expiration information: expiration configuration not triggered.</li>.
|
|
17125
|
-
<Li>Scheduled expiration information expired within a week: cache expiration configuration has been triggered.</li>.
|
|
17171
|
+
* <p>Scheduled expiration information for IP.<br>As an input parameter, it is used to specify a scheduled expiration time for a given IP address or IP range.<br>As an output parameter, it contains the following two categories of information:</p><li>Current scheduled expiration information that has not expired: expiration configuration not triggered.</li><li>Scheduled expiration information that has expired within a week: expiration configuration that has been triggered.</li>
|
|
17126
17172
|
* @type {Array.<IPExpireInfo> || null}
|
|
17127
17173
|
*/
|
|
17128
17174
|
this.IPExpireInfo = null;
|
|
17129
17175
|
|
|
17176
|
+
/**
|
|
17177
|
+
* <p>The number of IP groups referenced.</p>
|
|
17178
|
+
* @type {number || null}
|
|
17179
|
+
*/
|
|
17180
|
+
this.RefCount = null;
|
|
17181
|
+
|
|
17130
17182
|
}
|
|
17131
17183
|
|
|
17132
17184
|
/**
|
|
@@ -17149,6 +17201,7 @@ As an output parameter, contains the following two categories of information.
|
|
|
17149
17201
|
this.IPExpireInfo.push(obj);
|
|
17150
17202
|
}
|
|
17151
17203
|
}
|
|
17204
|
+
this.RefCount = 'RefCount' in params ? params.RefCount : null;
|
|
17152
17205
|
|
|
17153
17206
|
}
|
|
17154
17207
|
}
|
|
@@ -28367,19 +28420,37 @@ class DescribeApplicationProxiesRequest extends AbstractModel {
|
|
|
28367
28420
|
}
|
|
28368
28421
|
|
|
28369
28422
|
/**
|
|
28370
|
-
*
|
|
28423
|
+
* DescribeIPGroupReferences request structure.
|
|
28371
28424
|
* @class
|
|
28372
28425
|
*/
|
|
28373
|
-
class
|
|
28426
|
+
class DescribeIPGroupReferencesRequest extends AbstractModel {
|
|
28374
28427
|
constructor(){
|
|
28375
28428
|
super();
|
|
28376
28429
|
|
|
28377
28430
|
/**
|
|
28378
|
-
* ID
|
|
28431
|
+
* <p>Site ID.</p>
|
|
28379
28432
|
* @type {string || null}
|
|
28380
28433
|
*/
|
|
28381
28434
|
this.ZoneId = null;
|
|
28382
28435
|
|
|
28436
|
+
/**
|
|
28437
|
+
* <p>IP group ID.</p>
|
|
28438
|
+
* @type {number || null}
|
|
28439
|
+
*/
|
|
28440
|
+
this.GroupId = null;
|
|
28441
|
+
|
|
28442
|
+
/**
|
|
28443
|
+
* <p>Paging offset.</p><p>Default value: 0.</p>
|
|
28444
|
+
* @type {number || null}
|
|
28445
|
+
*/
|
|
28446
|
+
this.Offset = null;
|
|
28447
|
+
|
|
28448
|
+
/**
|
|
28449
|
+
* <p>Paging query to refer to the number of entries of IP group configuration.</p><p>Value ranges from 1 to 200.</p><p>Default value: 20.</p>
|
|
28450
|
+
* @type {number || null}
|
|
28451
|
+
*/
|
|
28452
|
+
this.Limit = null;
|
|
28453
|
+
|
|
28383
28454
|
}
|
|
28384
28455
|
|
|
28385
28456
|
/**
|
|
@@ -28390,6 +28461,9 @@ class DescribeContentQuotaRequest extends AbstractModel {
|
|
|
28390
28461
|
return;
|
|
28391
28462
|
}
|
|
28392
28463
|
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
28464
|
+
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
28465
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
28466
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
28393
28467
|
|
|
28394
28468
|
}
|
|
28395
28469
|
}
|
|
@@ -34235,7 +34309,15 @@ class ExportZoneConfigRequest extends AbstractModel {
|
|
|
34235
34309
|
this.ZoneId = null;
|
|
34236
34310
|
|
|
34237
34311
|
/**
|
|
34238
|
-
* Export the type list of configuration items. Leave it blank to export all types of configurations. Currently supported values include:
|
|
34312
|
+
* Export the type list of configuration items. Leave it blank to export all types of configurations. Currently supported values include:
|
|
34313
|
+
<ul>
|
|
34314
|
+
<li>L7AccelerationConfig: Exporting the Layer-7 acceleration configuration, corresponding to the console "Site Acceleration - Global Acceleration Configuration" and "Site Acceleration - Rule Engine".</li>
|
|
34315
|
+
<li>WebSecurity: Exporting the web protection configuration.</li>
|
|
34316
|
+
<li>AccelerationDomain: Exporting the acceleration domain configuration, corresponding to the console "DNS - Domain Name Management" and "DNS - Shared CNAME Management".</li>
|
|
34317
|
+
<li>Origin: Exporting the origin configuration, corresponding to the console "Origin Configuration - Origin Group" and "Origin Configuration - Load Balancing".</li>
|
|
34318
|
+
</ul>
|
|
34319
|
+
Note: Types supported for future export will increase with iterations. When exporting all types, pay attention to export file size. It is recommended to specify the configuration types to be exported to control the request and response packet payload size.
|
|
34320
|
+
|
|
34239
34321
|
* @type {Array.<string> || null}
|
|
34240
34322
|
*/
|
|
34241
34323
|
this.Types = null;
|
|
@@ -38110,6 +38192,34 @@ class IPSSLSetting extends AbstractModel {
|
|
|
38110
38192
|
}
|
|
38111
38193
|
}
|
|
38112
38194
|
|
|
38195
|
+
/**
|
|
38196
|
+
* DescribeContentQuota request structure.
|
|
38197
|
+
* @class
|
|
38198
|
+
*/
|
|
38199
|
+
class DescribeContentQuotaRequest extends AbstractModel {
|
|
38200
|
+
constructor(){
|
|
38201
|
+
super();
|
|
38202
|
+
|
|
38203
|
+
/**
|
|
38204
|
+
* ID of the site.
|
|
38205
|
+
* @type {string || null}
|
|
38206
|
+
*/
|
|
38207
|
+
this.ZoneId = null;
|
|
38208
|
+
|
|
38209
|
+
}
|
|
38210
|
+
|
|
38211
|
+
/**
|
|
38212
|
+
* @private
|
|
38213
|
+
*/
|
|
38214
|
+
deserialize(params) {
|
|
38215
|
+
if (!params) {
|
|
38216
|
+
return;
|
|
38217
|
+
}
|
|
38218
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
38219
|
+
|
|
38220
|
+
}
|
|
38221
|
+
}
|
|
38222
|
+
|
|
38113
38223
|
/**
|
|
38114
38224
|
* ModifyFunctionReplica request structure.
|
|
38115
38225
|
* @class
|
|
@@ -41296,6 +41406,76 @@ class CreateMultiPathGatewayLineRequest extends AbstractModel {
|
|
|
41296
41406
|
}
|
|
41297
41407
|
}
|
|
41298
41408
|
|
|
41409
|
+
/**
|
|
41410
|
+
* Refer to the security module of the IP group.
|
|
41411
|
+
* @class
|
|
41412
|
+
*/
|
|
41413
|
+
class IPGroupReference extends AbstractModel {
|
|
41414
|
+
constructor(){
|
|
41415
|
+
super();
|
|
41416
|
+
|
|
41417
|
+
/**
|
|
41418
|
+
* <p>Site ID.</p>
|
|
41419
|
+
* @type {string || null}
|
|
41420
|
+
*/
|
|
41421
|
+
this.ZoneId = null;
|
|
41422
|
+
|
|
41423
|
+
/**
|
|
41424
|
+
* <p>Entity type.</p><p>Enumeration value:</p><ul><li>WebSec.ZonePolicy: Site-level protection strategy</li><li>WebSec.HostPolicy: Domain-level security policy</li><li>WebSec.Template: Policy template</li><li>DDoS.L4Proxy: Layer 4 proxy DDoS protection</li><li>DDoS.L3Transit: Layer-3 transit DDoS protection</li></ul>
|
|
41425
|
+
* @type {string || null}
|
|
41426
|
+
*/
|
|
41427
|
+
this.EntityType = null;
|
|
41428
|
+
|
|
41429
|
+
/**
|
|
41430
|
+
* <p>The physical identification represents different meanings based on EntityType:</p><ul><li>WebSec.ZonePolicy: site ID;</li><li>WebSec.HostPolicy: domain name;</li><li>WebSec.Template: template ID;</li><li>DDoS.L4Proxy: instance ID;</li><li>DDoS.L3Transit: instance ID.</li></ul>
|
|
41431
|
+
* @type {string || null}
|
|
41432
|
+
*/
|
|
41433
|
+
this.EntityId = null;
|
|
41434
|
+
|
|
41435
|
+
/**
|
|
41436
|
+
* <p>Entity identification represents different meanings based on EntityType:</p><ul><li>WebSec.ZonePolicy: empty;</li><li>WebSec.HostPolicy: empty;</li><li>WebSec.Template: template name;</li><li>DDoS.L4Proxy: empty;</li><li>DDoS.L3Transit: empty.</li></ul>
|
|
41437
|
+
* @type {string || null}
|
|
41438
|
+
*/
|
|
41439
|
+
this.EntityName = null;
|
|
41440
|
+
|
|
41441
|
+
/**
|
|
41442
|
+
* <p>Sub-entity type.</p><p>Enumeration value:</p><ul><li>WebSec.ExceptionRule: Protection exception rule</li><li>WebSec.BasicAccessRule: Basic access control</li><li>WebSec.PreciseMatchRule: Precise matching rule</li><li>WebSec.RateLimitRule: Precision rate limiting</li><li>WebSec.BotCustomRule: Advanced bot management - custom rule</li><li>DDoS.L4Proxy.IpAccessControl: Layer 4 proxy ddos protection - IP blocklist and allowlist</li><li>DDoS.L3Transit.IpAccessControl: Layer-3 transit ddos protection - IP blocklist and allowlist</li></ul>
|
|
41443
|
+
* @type {string || null}
|
|
41444
|
+
*/
|
|
41445
|
+
this.SubEntityType = null;
|
|
41446
|
+
|
|
41447
|
+
/**
|
|
41448
|
+
* <p>Sub-entity ID, which represents different meanings according to SubEntityType:</p><ul><li>WebSec.ExceptionRule: rule ID;</li><li>WebSec.BasicAccessRule: rule ID;</li><li>WebSec.PreciseMatchRule: rule ID;</li><li>WebSec.RateLimitRule: rule ID;</li><li>WebSec.BotCustomRule: rule ID;</li><li>DDoS.L4Proxy.IpAccessControl: null;</li><li>DDoS.L3Transit.IpAccessControl: null. </li></ul><p>EntityType and SubEntityType are correspondences, and different EntityTypes support different SubEntityTypes. <br>WebSec.ZonePolicy, WebSec.HostPolicy, and WebSec.Template support the following SubEntityTypes:</p><ul><li>WebSec.ExceptionRule;</li><li>WebSec.BasicAccessRule;</li><li>WebSec.PreciseMatchRule;</li><li>WebSec.RateLimitRule;</li><li>WebSec.BotCustomRule. </li></ul>DDoS.L4Proxy supports the following SubEntityTypes: <ul><li>DDoS.L4Proxy.IpAccessControl;</li></ul> DDoS.L3Transit supports the following SubEntityTypes: <ul><li>DDoS.L3Transit.IpAccessControl. </li></ul>
|
|
41449
|
+
* @type {string || null}
|
|
41450
|
+
*/
|
|
41451
|
+
this.SubEntityId = null;
|
|
41452
|
+
|
|
41453
|
+
/**
|
|
41454
|
+
* <p>Sub-entity name. It represents different meanings based on SubEntityType:</p><ul><li>WebSec.ExceptionRule: rule name;</li><li>WebSec.BasicAccessRule: rule name;</li><li>WebSec.PreciseMatchRule: rule name;</li><li>WebSec.RateLimitRule: rule name;</li><li>WebSec.BotCustomRule: rule name;</li><li>DDoS.L4Proxy.IpAccessControl: rule name, block indicates blocklist, allow indicates allowlist;</li><li>DDoS.L3Transit.IpAccessControl: rule name, block indicates blocklist, allow indicates allowlist.</li></ul>
|
|
41455
|
+
* @type {string || null}
|
|
41456
|
+
*/
|
|
41457
|
+
this.SubEntityName = null;
|
|
41458
|
+
|
|
41459
|
+
}
|
|
41460
|
+
|
|
41461
|
+
/**
|
|
41462
|
+
* @private
|
|
41463
|
+
*/
|
|
41464
|
+
deserialize(params) {
|
|
41465
|
+
if (!params) {
|
|
41466
|
+
return;
|
|
41467
|
+
}
|
|
41468
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
41469
|
+
this.EntityType = 'EntityType' in params ? params.EntityType : null;
|
|
41470
|
+
this.EntityId = 'EntityId' in params ? params.EntityId : null;
|
|
41471
|
+
this.EntityName = 'EntityName' in params ? params.EntityName : null;
|
|
41472
|
+
this.SubEntityType = 'SubEntityType' in params ? params.SubEntityType : null;
|
|
41473
|
+
this.SubEntityId = 'SubEntityId' in params ? params.SubEntityId : null;
|
|
41474
|
+
this.SubEntityName = 'SubEntityName' in params ? params.SubEntityName : null;
|
|
41475
|
+
|
|
41476
|
+
}
|
|
41477
|
+
}
|
|
41478
|
+
|
|
41299
41479
|
/**
|
|
41300
41480
|
* CreateContentIdentifier response structure.
|
|
41301
41481
|
* @class
|
|
@@ -44388,6 +44568,7 @@ module.exports = {
|
|
|
44388
44568
|
RangeOriginPullParameters: RangeOriginPullParameters,
|
|
44389
44569
|
ApplyFreeCertificateResponse: ApplyFreeCertificateResponse,
|
|
44390
44570
|
CurrentOriginACL: CurrentOriginACL,
|
|
44571
|
+
DescribeIPGroupReferencesResponse: DescribeIPGroupReferencesResponse,
|
|
44391
44572
|
CreateEdgeKVNamespaceRequest: CreateEdgeKVNamespaceRequest,
|
|
44392
44573
|
SecurityConfig: SecurityConfig,
|
|
44393
44574
|
CreateSecurityIPGroupRequest: CreateSecurityIPGroupRequest,
|
|
@@ -44755,7 +44936,7 @@ module.exports = {
|
|
|
44755
44936
|
InferenceEnvironmentVariable: InferenceEnvironmentVariable,
|
|
44756
44937
|
CreatePlanResponse: CreatePlanResponse,
|
|
44757
44938
|
DescribeApplicationProxiesRequest: DescribeApplicationProxiesRequest,
|
|
44758
|
-
|
|
44939
|
+
DescribeIPGroupReferencesRequest: DescribeIPGroupReferencesRequest,
|
|
44759
44940
|
AllowActionParameters: AllowActionParameters,
|
|
44760
44941
|
InferenceResourceConfigForModify: InferenceResourceConfigForModify,
|
|
44761
44942
|
Hsts: Hsts,
|
|
@@ -44928,6 +45109,7 @@ module.exports = {
|
|
|
44928
45109
|
DescribeMultiPathGatewaySecretKeyRequest: DescribeMultiPathGatewaySecretKeyRequest,
|
|
44929
45110
|
DDoSBlockData: DDoSBlockData,
|
|
44930
45111
|
IPSSLSetting: IPSSLSetting,
|
|
45112
|
+
DescribeContentQuotaRequest: DescribeContentQuotaRequest,
|
|
44931
45113
|
ModifyFunctionReplicaRequest: ModifyFunctionReplicaRequest,
|
|
44932
45114
|
DescribeMultiPathGatewaysRequest: DescribeMultiPathGatewaysRequest,
|
|
44933
45115
|
BotPortraitRule: BotPortraitRule,
|
|
@@ -44998,6 +45180,7 @@ module.exports = {
|
|
|
44998
45180
|
DescribeDefaultCertificatesResponse: DescribeDefaultCertificatesResponse,
|
|
44999
45181
|
CreateOriginGroupResponse: CreateOriginGroupResponse,
|
|
45000
45182
|
CreateMultiPathGatewayLineRequest: CreateMultiPathGatewayLineRequest,
|
|
45183
|
+
IPGroupReference: IPGroupReference,
|
|
45001
45184
|
CreateContentIdentifierResponse: CreateContentIdentifierResponse,
|
|
45002
45185
|
HostHeaderParameters: HostHeaderParameters,
|
|
45003
45186
|
DescribeConfigGroupVersionsRequest: DescribeConfigGroupVersionsRequest,
|
|
@@ -191,6 +191,7 @@ const DeleteZoneRequest = models.DeleteZoneRequest;
|
|
|
191
191
|
const RangeOriginPullParameters = models.RangeOriginPullParameters;
|
|
192
192
|
const ApplyFreeCertificateResponse = models.ApplyFreeCertificateResponse;
|
|
193
193
|
const CurrentOriginACL = models.CurrentOriginACL;
|
|
194
|
+
const DescribeIPGroupReferencesResponse = models.DescribeIPGroupReferencesResponse;
|
|
194
195
|
const CreateEdgeKVNamespaceRequest = models.CreateEdgeKVNamespaceRequest;
|
|
195
196
|
const SecurityConfig = models.SecurityConfig;
|
|
196
197
|
const CreateSecurityIPGroupRequest = models.CreateSecurityIPGroupRequest;
|
|
@@ -558,7 +559,7 @@ const CreateL4ProxyRequest = models.CreateL4ProxyRequest;
|
|
|
558
559
|
const InferenceEnvironmentVariable = models.InferenceEnvironmentVariable;
|
|
559
560
|
const CreatePlanResponse = models.CreatePlanResponse;
|
|
560
561
|
const DescribeApplicationProxiesRequest = models.DescribeApplicationProxiesRequest;
|
|
561
|
-
const
|
|
562
|
+
const DescribeIPGroupReferencesRequest = models.DescribeIPGroupReferencesRequest;
|
|
562
563
|
const AllowActionParameters = models.AllowActionParameters;
|
|
563
564
|
const InferenceResourceConfigForModify = models.InferenceResourceConfigForModify;
|
|
564
565
|
const Hsts = models.Hsts;
|
|
@@ -731,6 +732,7 @@ const ModifyMultiPathGatewaySecretKeyResponse = models.ModifyMultiPathGatewaySec
|
|
|
731
732
|
const DescribeMultiPathGatewaySecretKeyRequest = models.DescribeMultiPathGatewaySecretKeyRequest;
|
|
732
733
|
const DDoSBlockData = models.DDoSBlockData;
|
|
733
734
|
const IPSSLSetting = models.IPSSLSetting;
|
|
735
|
+
const DescribeContentQuotaRequest = models.DescribeContentQuotaRequest;
|
|
734
736
|
const ModifyFunctionReplicaRequest = models.ModifyFunctionReplicaRequest;
|
|
735
737
|
const DescribeMultiPathGatewaysRequest = models.DescribeMultiPathGatewaysRequest;
|
|
736
738
|
const BotPortraitRule = models.BotPortraitRule;
|
|
@@ -801,6 +803,7 @@ const ModifyMultiPathGatewayLineResponse = models.ModifyMultiPathGatewayLineResp
|
|
|
801
803
|
const DescribeDefaultCertificatesResponse = models.DescribeDefaultCertificatesResponse;
|
|
802
804
|
const CreateOriginGroupResponse = models.CreateOriginGroupResponse;
|
|
803
805
|
const CreateMultiPathGatewayLineRequest = models.CreateMultiPathGatewayLineRequest;
|
|
806
|
+
const IPGroupReference = models.IPGroupReference;
|
|
804
807
|
const CreateContentIdentifierResponse = models.CreateContentIdentifierResponse;
|
|
805
808
|
const HostHeaderParameters = models.HostHeaderParameters;
|
|
806
809
|
const DescribeConfigGroupVersionsRequest = models.DescribeConfigGroupVersionsRequest;
|
|
@@ -1278,6 +1281,17 @@ You can obtain the designated CNAME domain name assigned by EdgeOne for the inte
|
|
|
1278
1281
|
this.request("CheckCnameStatus", req, resp, cb);
|
|
1279
1282
|
}
|
|
1280
1283
|
|
|
1284
|
+
/**
|
|
1285
|
+
* This API is used to query policy configurations that reference a specified IP group.
|
|
1286
|
+
* @param {DescribeIPGroupReferencesRequest} req
|
|
1287
|
+
* @param {function(string, DescribeIPGroupReferencesResponse):void} cb
|
|
1288
|
+
* @public
|
|
1289
|
+
*/
|
|
1290
|
+
DescribeIPGroupReferences(req, cb) {
|
|
1291
|
+
let resp = new DescribeIPGroupReferencesResponse();
|
|
1292
|
+
this.request("DescribeIPGroupReferences", req, resp, cb);
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1281
1295
|
/**
|
|
1282
1296
|
* This API is an older version. EdgeOne has fully upgraded the APIs related to the rule engine. For details, please refer to [ModifyL7AccSetting](https://intl.cloud.tencent.com/document/product/1552/115817?from_cn_redirect=1).
|
|
1283
1297
|
* @param {ModifyZoneSettingRequest} req
|