tencentcloud-sdk-nodejs-intl-en 3.0.950 → 3.0.952
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
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.952";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -415,13 +415,13 @@ class OriginDetail extends AbstractModel {
|
|
|
415
415
|
super();
|
|
416
416
|
|
|
417
417
|
/**
|
|
418
|
-
*
|
|
419
|
-
<li>IP_DOMAIN: IPv4, IPv6, or domain name
|
|
420
|
-
<li>COS: Tencent Cloud COS origin
|
|
421
|
-
<li>AWS_S3: AWS S3
|
|
422
|
-
<li>ORIGIN_GROUP: origin server group
|
|
423
|
-
<li>VODEO:
|
|
424
|
-
<li>SPACE:
|
|
418
|
+
* The origin server type, with values:
|
|
419
|
+
<li>IP_DOMAIN: IPv4, IPv6, or domain name type origin server;</li>
|
|
420
|
+
<li>COS: Tencent Cloud COS origin server;</li>
|
|
421
|
+
<li>AWS_S3: AWS S3 origin server;</li>
|
|
422
|
+
<li>ORIGIN_GROUP: origin server group type origin server;</li>
|
|
423
|
+
<li>VODEO: VOD on EO;</li>
|
|
424
|
+
<li>SPACE: origin server uninstallation. Currently only available to the allowlist;</li>
|
|
425
425
|
<li>LB: load balancing. Currently only available to the allowlist. </li>
|
|
426
426
|
* @type {string || null}
|
|
427
427
|
*/
|
|
@@ -3670,12 +3670,6 @@ class Rule extends AbstractModel {
|
|
|
3670
3670
|
constructor(){
|
|
3671
3671
|
super();
|
|
3672
3672
|
|
|
3673
|
-
/**
|
|
3674
|
-
* Feature to be executed.
|
|
3675
|
-
* @type {Array.<Action> || null}
|
|
3676
|
-
*/
|
|
3677
|
-
this.Actions = null;
|
|
3678
|
-
|
|
3679
3673
|
/**
|
|
3680
3674
|
* Feature execution conditions.
|
|
3681
3675
|
Note: If any condition in the array is met, the feature will run.
|
|
@@ -3683,8 +3677,16 @@ Note: If any condition in the array is met, the feature will run.
|
|
|
3683
3677
|
*/
|
|
3684
3678
|
this.Conditions = null;
|
|
3685
3679
|
|
|
3680
|
+
/**
|
|
3681
|
+
* Feature to be executed.
|
|
3682
|
+
Note: Actions and SubRules cannot both be empty.
|
|
3683
|
+
* @type {Array.<Action> || null}
|
|
3684
|
+
*/
|
|
3685
|
+
this.Actions = null;
|
|
3686
|
+
|
|
3686
3687
|
/**
|
|
3687
3688
|
* The nested rule.
|
|
3689
|
+
Note: Actions and SubRules cannot both be empty.
|
|
3688
3690
|
* @type {Array.<SubRuleItem> || null}
|
|
3689
3691
|
*/
|
|
3690
3692
|
this.SubRules = null;
|
|
@@ -3699,15 +3701,6 @@ Note: If any condition in the array is met, the feature will run.
|
|
|
3699
3701
|
return;
|
|
3700
3702
|
}
|
|
3701
3703
|
|
|
3702
|
-
if (params.Actions) {
|
|
3703
|
-
this.Actions = new Array();
|
|
3704
|
-
for (let z in params.Actions) {
|
|
3705
|
-
let obj = new Action();
|
|
3706
|
-
obj.deserialize(params.Actions[z]);
|
|
3707
|
-
this.Actions.push(obj);
|
|
3708
|
-
}
|
|
3709
|
-
}
|
|
3710
|
-
|
|
3711
3704
|
if (params.Conditions) {
|
|
3712
3705
|
this.Conditions = new Array();
|
|
3713
3706
|
for (let z in params.Conditions) {
|
|
@@ -3717,6 +3710,15 @@ Note: If any condition in the array is met, the feature will run.
|
|
|
3717
3710
|
}
|
|
3718
3711
|
}
|
|
3719
3712
|
|
|
3713
|
+
if (params.Actions) {
|
|
3714
|
+
this.Actions = new Array();
|
|
3715
|
+
for (let z in params.Actions) {
|
|
3716
|
+
let obj = new Action();
|
|
3717
|
+
obj.deserialize(params.Actions[z]);
|
|
3718
|
+
this.Actions.push(obj);
|
|
3719
|
+
}
|
|
3720
|
+
}
|
|
3721
|
+
|
|
3720
3722
|
if (params.SubRules) {
|
|
3721
3723
|
this.SubRules = new Array();
|
|
3722
3724
|
for (let z in params.SubRules) {
|
|
@@ -6712,7 +6714,10 @@ class Task extends AbstractModel {
|
|
|
6712
6714
|
this.Type = null;
|
|
6713
6715
|
|
|
6714
6716
|
/**
|
|
6715
|
-
*
|
|
6717
|
+
* Node cache purge method, with values:
|
|
6718
|
+
<li>invalidate: Marks as expired. A back-to-origin validation is triggered upon user request, sending an HTTP conditional request with If-None-Match and If-Modified-Since headers. If the origin server responds with 200, the node will fetch new resources from the origin and update the cache; if the origin server responds with 304, the cache will not be updated;</li>
|
|
6719
|
+
<li>delete: Directly deletes the node's cache, triggering a resource fetch from the origin upon user request.</li>
|
|
6720
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
6716
6721
|
* @type {string || null}
|
|
6717
6722
|
*/
|
|
6718
6723
|
this.Method = null;
|
|
@@ -8375,7 +8380,7 @@ class ModifyRealtimeLogDeliveryTaskRequest extends AbstractModel {
|
|
|
8375
8380
|
this.Sample = null;
|
|
8376
8381
|
|
|
8377
8382
|
/**
|
|
8378
|
-
* Output format for log delivery. If this field is not specified, the original configuration will be retained.
|
|
8383
|
+
* Output format for log delivery. If this field is not specified, the original configuration will be retained.Specifically, when TaskType is set to cls, the value of LogFormat.FormatType can only be json, and other parameters in LogFormat will be ignored. It is recommended not to input LogFormat.
|
|
8379
8384
|
* @type {LogFormat || null}
|
|
8380
8385
|
*/
|
|
8381
8386
|
this.LogFormat = null;
|
|
@@ -16982,14 +16987,14 @@ class OriginInfo extends AbstractModel {
|
|
|
16982
16987
|
super();
|
|
16983
16988
|
|
|
16984
16989
|
/**
|
|
16985
|
-
*
|
|
16986
|
-
<li>IP_DOMAIN:
|
|
16987
|
-
<li>COS: Tencent Cloud
|
|
16988
|
-
<li>AWS_S3: AWS S3
|
|
16989
|
-
<li>ORIGIN_GROUP:
|
|
16990
|
-
<li>VODEO:
|
|
16991
|
-
<li>SPACE:
|
|
16992
|
-
<li>LB:
|
|
16990
|
+
* The origin server type, with values:
|
|
16991
|
+
<li>IP_DOMAIN: IPv4, IPv6, or domain name type origin server;</li>
|
|
16992
|
+
<li>COS: Tencent Cloud COS origin server;</li>
|
|
16993
|
+
<li>AWS_S3: AWS S3 origin server;</li>
|
|
16994
|
+
<li>ORIGIN_GROUP: origin server group type origin server;</li>
|
|
16995
|
+
<li>VODEO: VOD on EO;</li>
|
|
16996
|
+
<li>SPACE: origin server uninstallation. Currently only available to the allowlist;</li>
|
|
16997
|
+
<li>LB: load balancing. Currently only available to the allowlist. </li>
|
|
16993
16998
|
* @type {string || null}
|
|
16994
16999
|
*/
|
|
16995
17000
|
this.OriginType = null;
|
|
@@ -17138,11 +17143,11 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
17138
17143
|
this.ApplyType = null;
|
|
17139
17144
|
|
|
17140
17145
|
/**
|
|
17141
|
-
*
|
|
17142
|
-
<li
|
|
17143
|
-
<li
|
|
17144
|
-
<li
|
|
17145
|
-
Note: This field may return
|
|
17146
|
+
* The cipher suite, with values:
|
|
17147
|
+
<li>loose-v2023: Provides high compatibility with general security, and supports TLS 1.0-1.3 cipher suites;</li>
|
|
17148
|
+
<li>general-v2023: Provides relatively high compatibility with moderate security, and supports TLS 1.2-1.3 cipher suites;</li>
|
|
17149
|
+
<li>strict-v2023: Provides high security, disables all cipher suites with security risks, and supports TLS 1.2-1.3 cipher suites.</li>
|
|
17150
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
17146
17151
|
* @type {string || null}
|
|
17147
17152
|
*/
|
|
17148
17153
|
this.CipherSuite = null;
|
|
@@ -19135,6 +19140,43 @@ class IPWhitelist extends AbstractModel {
|
|
|
19135
19140
|
}
|
|
19136
19141
|
}
|
|
19137
19142
|
|
|
19143
|
+
/**
|
|
19144
|
+
* DescribeSecurityIPGroup request structure.
|
|
19145
|
+
* @class
|
|
19146
|
+
*/
|
|
19147
|
+
class DescribeSecurityIPGroupRequest extends AbstractModel {
|
|
19148
|
+
constructor(){
|
|
19149
|
+
super();
|
|
19150
|
+
|
|
19151
|
+
/**
|
|
19152
|
+
* Site ID, used to specify the scope of the queried site.
|
|
19153
|
+
* @type {string || null}
|
|
19154
|
+
*/
|
|
19155
|
+
this.ZoneId = null;
|
|
19156
|
+
|
|
19157
|
+
/**
|
|
19158
|
+
* Specifies the ID of a security IP group.
|
|
19159
|
+
<li>When this parameter is provided, only the configuration of the security IP group with the specified ID is queried.</li>
|
|
19160
|
+
<li>When this parameter is not provided, information of all security IP groups under the site is returned.</li>
|
|
19161
|
+
* @type {Array.<number> || null}
|
|
19162
|
+
*/
|
|
19163
|
+
this.GroupIds = null;
|
|
19164
|
+
|
|
19165
|
+
}
|
|
19166
|
+
|
|
19167
|
+
/**
|
|
19168
|
+
* @private
|
|
19169
|
+
*/
|
|
19170
|
+
deserialize(params) {
|
|
19171
|
+
if (!params) {
|
|
19172
|
+
return;
|
|
19173
|
+
}
|
|
19174
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
19175
|
+
this.GroupIds = 'GroupIds' in params ? params.GroupIds : null;
|
|
19176
|
+
|
|
19177
|
+
}
|
|
19178
|
+
}
|
|
19179
|
+
|
|
19138
19180
|
/**
|
|
19139
19181
|
* ModifyApplicationProxyStatus response structure.
|
|
19140
19182
|
* @class
|
|
@@ -19908,6 +19950,34 @@ class SecurityTemplateBinding extends AbstractModel {
|
|
|
19908
19950
|
}
|
|
19909
19951
|
}
|
|
19910
19952
|
|
|
19953
|
+
/**
|
|
19954
|
+
* The information attached when the node cache purge type is set to purge_cache_tag.
|
|
19955
|
+
* @class
|
|
19956
|
+
*/
|
|
19957
|
+
class CacheTag extends AbstractModel {
|
|
19958
|
+
constructor(){
|
|
19959
|
+
super();
|
|
19960
|
+
|
|
19961
|
+
/**
|
|
19962
|
+
* List of domain names to purge cache for.
|
|
19963
|
+
* @type {Array.<string> || null}
|
|
19964
|
+
*/
|
|
19965
|
+
this.Domains = null;
|
|
19966
|
+
|
|
19967
|
+
}
|
|
19968
|
+
|
|
19969
|
+
/**
|
|
19970
|
+
* @private
|
|
19971
|
+
*/
|
|
19972
|
+
deserialize(params) {
|
|
19973
|
+
if (!params) {
|
|
19974
|
+
return;
|
|
19975
|
+
}
|
|
19976
|
+
this.Domains = 'Domains' in params ? params.Domains : null;
|
|
19977
|
+
|
|
19978
|
+
}
|
|
19979
|
+
}
|
|
19980
|
+
|
|
19911
19981
|
/**
|
|
19912
19982
|
* DescribeDefaultCertificates response structure.
|
|
19913
19983
|
* @class
|
|
@@ -20297,6 +20367,49 @@ class ModifyZoneStatusResponse extends AbstractModel {
|
|
|
20297
20367
|
}
|
|
20298
20368
|
}
|
|
20299
20369
|
|
|
20370
|
+
/**
|
|
20371
|
+
* DescribeSecurityIPGroup response structure.
|
|
20372
|
+
* @class
|
|
20373
|
+
*/
|
|
20374
|
+
class DescribeSecurityIPGroupResponse extends AbstractModel {
|
|
20375
|
+
constructor(){
|
|
20376
|
+
super();
|
|
20377
|
+
|
|
20378
|
+
/**
|
|
20379
|
+
* Detailed configuration information of security IP groups, including the ID, name, and IP/IP range list information of each security IP group.
|
|
20380
|
+
* @type {Array.<IPGroup> || null}
|
|
20381
|
+
*/
|
|
20382
|
+
this.IPGroups = null;
|
|
20383
|
+
|
|
20384
|
+
/**
|
|
20385
|
+
* 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.
|
|
20386
|
+
* @type {string || null}
|
|
20387
|
+
*/
|
|
20388
|
+
this.RequestId = null;
|
|
20389
|
+
|
|
20390
|
+
}
|
|
20391
|
+
|
|
20392
|
+
/**
|
|
20393
|
+
* @private
|
|
20394
|
+
*/
|
|
20395
|
+
deserialize(params) {
|
|
20396
|
+
if (!params) {
|
|
20397
|
+
return;
|
|
20398
|
+
}
|
|
20399
|
+
|
|
20400
|
+
if (params.IPGroups) {
|
|
20401
|
+
this.IPGroups = new Array();
|
|
20402
|
+
for (let z in params.IPGroups) {
|
|
20403
|
+
let obj = new IPGroup();
|
|
20404
|
+
obj.deserialize(params.IPGroups[z]);
|
|
20405
|
+
this.IPGroups.push(obj);
|
|
20406
|
+
}
|
|
20407
|
+
}
|
|
20408
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
20409
|
+
|
|
20410
|
+
}
|
|
20411
|
+
}
|
|
20412
|
+
|
|
20300
20413
|
/**
|
|
20301
20414
|
* UpgradePlan request structure.
|
|
20302
20415
|
* @class
|
|
@@ -20383,6 +20496,12 @@ Note that if it’s enabled, the purging is based on the converted URLs.
|
|
|
20383
20496
|
*/
|
|
20384
20497
|
this.EncodeUrl = null;
|
|
20385
20498
|
|
|
20499
|
+
/**
|
|
20500
|
+
* The information attached when the node cache purge type is set to purge_cache_tag.
|
|
20501
|
+
* @type {CacheTag || null}
|
|
20502
|
+
*/
|
|
20503
|
+
this.CacheTag = null;
|
|
20504
|
+
|
|
20386
20505
|
}
|
|
20387
20506
|
|
|
20388
20507
|
/**
|
|
@@ -20398,6 +20517,12 @@ Note that if it’s enabled, the purging is based on the converted URLs.
|
|
|
20398
20517
|
this.Targets = 'Targets' in params ? params.Targets : null;
|
|
20399
20518
|
this.EncodeUrl = 'EncodeUrl' in params ? params.EncodeUrl : null;
|
|
20400
20519
|
|
|
20520
|
+
if (params.CacheTag) {
|
|
20521
|
+
let obj = new CacheTag();
|
|
20522
|
+
obj.deserialize(params.CacheTag)
|
|
20523
|
+
this.CacheTag = obj;
|
|
20524
|
+
}
|
|
20525
|
+
|
|
20401
20526
|
}
|
|
20402
20527
|
}
|
|
20403
20528
|
|
|
@@ -21187,6 +21312,7 @@ module.exports = {
|
|
|
21187
21312
|
BindZoneToPlanRequest: BindZoneToPlanRequest,
|
|
21188
21313
|
SecurityType: SecurityType,
|
|
21189
21314
|
IPWhitelist: IPWhitelist,
|
|
21315
|
+
DescribeSecurityIPGroupRequest: DescribeSecurityIPGroupRequest,
|
|
21190
21316
|
ModifyApplicationProxyStatusResponse: ModifyApplicationProxyStatusResponse,
|
|
21191
21317
|
Identification: Identification,
|
|
21192
21318
|
TopEntry: TopEntry,
|
|
@@ -21204,6 +21330,7 @@ module.exports = {
|
|
|
21204
21330
|
ModifySecurityPolicyResponse: ModifySecurityPolicyResponse,
|
|
21205
21331
|
ModifyOriginGroupRequest: ModifyOriginGroupRequest,
|
|
21206
21332
|
SecurityTemplateBinding: SecurityTemplateBinding,
|
|
21333
|
+
CacheTag: CacheTag,
|
|
21207
21334
|
DescribeDefaultCertificatesResponse: DescribeDefaultCertificatesResponse,
|
|
21208
21335
|
OwnershipVerification: OwnershipVerification,
|
|
21209
21336
|
DescribeConfigGroupVersionsRequest: DescribeConfigGroupVersionsRequest,
|
|
@@ -21212,6 +21339,7 @@ module.exports = {
|
|
|
21212
21339
|
Quota: Quota,
|
|
21213
21340
|
CheckCnameStatusRequest: CheckCnameStatusRequest,
|
|
21214
21341
|
ModifyZoneStatusResponse: ModifyZoneStatusResponse,
|
|
21342
|
+
DescribeSecurityIPGroupResponse: DescribeSecurityIPGroupResponse,
|
|
21215
21343
|
UpgradePlanRequest: UpgradePlanRequest,
|
|
21216
21344
|
CreatePurgeTaskRequest: CreatePurgeTaskRequest,
|
|
21217
21345
|
DescribePurgeTasksResponse: DescribePurgeTasksResponse,
|
|
@@ -346,6 +346,7 @@ const DeleteL4ProxyRulesResponse = models.DeleteL4ProxyRulesResponse;
|
|
|
346
346
|
const BindZoneToPlanRequest = models.BindZoneToPlanRequest;
|
|
347
347
|
const SecurityType = models.SecurityType;
|
|
348
348
|
const IPWhitelist = models.IPWhitelist;
|
|
349
|
+
const DescribeSecurityIPGroupRequest = models.DescribeSecurityIPGroupRequest;
|
|
349
350
|
const ModifyApplicationProxyStatusResponse = models.ModifyApplicationProxyStatusResponse;
|
|
350
351
|
const Identification = models.Identification;
|
|
351
352
|
const TopEntry = models.TopEntry;
|
|
@@ -363,6 +364,7 @@ const CreateZoneResponse = models.CreateZoneResponse;
|
|
|
363
364
|
const ModifySecurityPolicyResponse = models.ModifySecurityPolicyResponse;
|
|
364
365
|
const ModifyOriginGroupRequest = models.ModifyOriginGroupRequest;
|
|
365
366
|
const SecurityTemplateBinding = models.SecurityTemplateBinding;
|
|
367
|
+
const CacheTag = models.CacheTag;
|
|
366
368
|
const DescribeDefaultCertificatesResponse = models.DescribeDefaultCertificatesResponse;
|
|
367
369
|
const OwnershipVerification = models.OwnershipVerification;
|
|
368
370
|
const DescribeConfigGroupVersionsRequest = models.DescribeConfigGroupVersionsRequest;
|
|
@@ -371,6 +373,7 @@ const AiRule = models.AiRule;
|
|
|
371
373
|
const Quota = models.Quota;
|
|
372
374
|
const CheckCnameStatusRequest = models.CheckCnameStatusRequest;
|
|
373
375
|
const ModifyZoneStatusResponse = models.ModifyZoneStatusResponse;
|
|
376
|
+
const DescribeSecurityIPGroupResponse = models.DescribeSecurityIPGroupResponse;
|
|
374
377
|
const UpgradePlanRequest = models.UpgradePlanRequest;
|
|
375
378
|
const CreatePurgeTaskRequest = models.CreatePurgeTaskRequest;
|
|
376
379
|
const DescribePurgeTasksResponse = models.DescribePurgeTasksResponse;
|
|
@@ -1476,7 +1479,10 @@ To use an external certificate, upload the certificate to [SSL Certificates Cons
|
|
|
1476
1479
|
}
|
|
1477
1480
|
|
|
1478
1481
|
/**
|
|
1479
|
-
*
|
|
1482
|
+
* The API is deprecated and will be discontinued on June 30, 2024. Please use the API [DescribeSecurityIPGroup
|
|
1483
|
+
](https://intl.cloud.tencent.com/document/product/1552/105866?from_cn_redirect=1).
|
|
1484
|
+
|
|
1485
|
+
This API is used to query the configuration information of an IP group, including the IP group name, IP group content, and the site the IP group belongs to.
|
|
1480
1486
|
* @param {DescribeSecurityIPGroupInfoRequest} req
|
|
1481
1487
|
* @param {function(string, DescribeSecurityIPGroupInfoResponse):void} cb
|
|
1482
1488
|
* @public
|
|
@@ -1486,6 +1492,17 @@ To use an external certificate, upload the certificate to [SSL Certificates Cons
|
|
|
1486
1492
|
this.request("DescribeSecurityIPGroupInfo", req, resp, cb);
|
|
1487
1493
|
}
|
|
1488
1494
|
|
|
1495
|
+
/**
|
|
1496
|
+
* This API is used to query the configuration information of a security IP group, including the ID, name, and content of the security IP group.
|
|
1497
|
+
* @param {DescribeSecurityIPGroupRequest} req
|
|
1498
|
+
* @param {function(string, DescribeSecurityIPGroupResponse):void} cb
|
|
1499
|
+
* @public
|
|
1500
|
+
*/
|
|
1501
|
+
DescribeSecurityIPGroup(req, cb) {
|
|
1502
|
+
let resp = new DescribeSecurityIPGroupResponse();
|
|
1503
|
+
this.request("DescribeSecurityIPGroup", req, resp, cb);
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1489
1506
|
/**
|
|
1490
1507
|
* This API is used to query the time-series data of DDoS attacks.
|
|
1491
1508
|
* @param {DescribeDDoSAttackDataRequest} req
|