tencentcloud-sdk-nodejs-intl-en 3.0.1409 → 3.0.1411
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/cfs/v20190719/models.js +8 -4
- package/tencentcloud/cfw/v20190904/cfw_client.js +64 -23
- package/tencentcloud/cfw/v20190904/models.js +671 -112
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +46 -18
- package/tencentcloud/ckafka/v20190819/models.js +518 -259
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +49 -8
- package/tencentcloud/cynosdb/v20190107/models.js +600 -139
- package/tencentcloud/ocr/v20181119/models.js +14 -7
- package/tencentcloud/ocr/v20181119/ocr_client.js +2 -6
- package/tencentcloud/teo/v20220901/models.js +10 -16
- package/tencentcloud/teo/v20220901/teo_client.js +4 -4
package/package.json
CHANGED
|
@@ -759,7 +759,8 @@ class FileSystemClient extends AbstractModel {
|
|
|
759
759
|
this.VpcId = null;
|
|
760
760
|
|
|
761
761
|
/**
|
|
762
|
-
* Availability zone name, such as ap-beijing-1. see the region and availability zone list in the description
|
|
762
|
+
* Availability zone name, such as ap-beijing-1. see the region and availability zone list in the description [Introduction
|
|
763
|
+
](https://www.tencentcloud.com/zh/document/product/582/50830)
|
|
763
764
|
* @type {string || null}
|
|
764
765
|
*/
|
|
765
766
|
this.Zone = null;
|
|
@@ -1568,7 +1569,8 @@ class UpdateCfsFileSystemNameRequest extends AbstractModel {
|
|
|
1568
1569
|
super();
|
|
1569
1570
|
|
|
1570
1571
|
/**
|
|
1571
|
-
* File system ID. obtain it by querying the file system interface
|
|
1572
|
+
* File system ID. obtain it by querying the file system interface [DescribeCfsFileSystems
|
|
1573
|
+
](https://www.tencentcloud.com/zh/document/product/582/34514)
|
|
1572
1574
|
* @type {string || null}
|
|
1573
1575
|
*/
|
|
1574
1576
|
this.FileSystemId = null;
|
|
@@ -4366,7 +4368,8 @@ class DescribeCfsFileSystemClientsRequest extends AbstractModel {
|
|
|
4366
4368
|
super();
|
|
4367
4369
|
|
|
4368
4370
|
/**
|
|
4369
|
-
* File system ID. obtain it by querying the file system interface
|
|
4371
|
+
* File system ID. obtain it by querying the file system interface [DescribeCfsFileSystems
|
|
4372
|
+
](https://www.tencentcloud.com/zh/document/product/582/34514)
|
|
4370
4373
|
* @type {string || null}
|
|
4371
4374
|
*/
|
|
4372
4375
|
this.FileSystemId = null;
|
|
@@ -5797,7 +5800,8 @@ class UpdateCfsFileSystemPGroupRequest extends AbstractModel {
|
|
|
5797
5800
|
this.PGroupId = null;
|
|
5798
5801
|
|
|
5799
5802
|
/**
|
|
5800
|
-
* File system ID. obtain it by querying the file system interface
|
|
5803
|
+
* File system ID. obtain it by querying the file system interface [DescribeCfsFileSystems
|
|
5804
|
+
](https://www.tencentcloud.com/zh/document/product/582/34514)
|
|
5801
5805
|
* @type {string || null}
|
|
5802
5806
|
*/
|
|
5803
5807
|
this.FileSystemId = null;
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
19
|
const DescribeNatFwInstanceRequest = models.DescribeNatFwInstanceRequest;
|
|
20
|
+
const CfwStatusMonitorFilter = models.CfwStatusMonitorFilter;
|
|
21
|
+
const DescribeCfwStatusMonitorRequest = models.DescribeCfwStatusMonitorRequest;
|
|
20
22
|
const ModifyNatFwVpcDnsSwitchResponse = models.ModifyNatFwVpcDnsSwitchResponse;
|
|
21
23
|
const DescribeNatFwInstanceWithRegionRequest = models.DescribeNatFwInstanceWithRegionRequest;
|
|
22
24
|
const ModifyNatAcRuleResponse = models.ModifyNatAcRuleResponse;
|
|
@@ -26,6 +28,7 @@ const FwCidrInfo = models.FwCidrInfo;
|
|
|
26
28
|
const StaticInfo = models.StaticInfo;
|
|
27
29
|
const DescribeNatAcRuleResponse = models.DescribeNatAcRuleResponse;
|
|
28
30
|
const ModifyPublicIPSwitchStatusResponse = models.ModifyPublicIPSwitchStatusResponse;
|
|
31
|
+
const AddAclRuleRequest = models.AddAclRuleRequest;
|
|
29
32
|
const ModifyNatAcRuleRequest = models.ModifyNatAcRuleRequest;
|
|
30
33
|
const ModifyAcRuleResponse = models.ModifyAcRuleResponse;
|
|
31
34
|
const ModifyNatSequenceRulesRequest = models.ModifyNatSequenceRulesRequest;
|
|
@@ -35,7 +38,9 @@ const IPDefendStatus = models.IPDefendStatus;
|
|
|
35
38
|
const BlockIgnoreRule = models.BlockIgnoreRule;
|
|
36
39
|
const ModifyNatFwVpcDnsSwitchRequest = models.ModifyNatFwVpcDnsSwitchRequest;
|
|
37
40
|
const UnHandleEvent = models.UnHandleEvent;
|
|
41
|
+
const DescribeCfwStatusMonitorResponse = models.DescribeCfwStatusMonitorResponse;
|
|
38
42
|
const DeleteAllAccessControlRuleRequest = models.DeleteAllAccessControlRuleRequest;
|
|
43
|
+
const ModifyBlockIgnoreListRequest = models.ModifyBlockIgnoreListRequest;
|
|
39
44
|
const ModifyAllVPCSwitchStatusResponse = models.ModifyAllVPCSwitchStatusResponse;
|
|
40
45
|
const CreateSecurityGroupRulesResponse = models.CreateSecurityGroupRulesResponse;
|
|
41
46
|
const DescribeNatFwVpcDnsLstRequest = models.DescribeNatFwVpcDnsLstRequest;
|
|
@@ -46,12 +51,14 @@ const AssociatedInstanceInfo = models.AssociatedInstanceInfo;
|
|
|
46
51
|
const ModifyStorageSettingResponse = models.ModifyStorageSettingResponse;
|
|
47
52
|
const RemoveAcRuleResponse = models.RemoveAcRuleResponse;
|
|
48
53
|
const NatFwInstance = models.NatFwInstance;
|
|
54
|
+
const DescribeCfwLogsResponse = models.DescribeCfwLogsResponse;
|
|
49
55
|
const ExpandCfwVerticalRequest = models.ExpandCfwVerticalRequest;
|
|
50
56
|
const ModifyAllPublicIPSwitchStatusResponse = models.ModifyAllPublicIPSwitchStatusResponse;
|
|
51
57
|
const DeleteVpcInstanceResponse = models.DeleteVpcInstanceResponse;
|
|
52
58
|
const ModifyAssetScanRequest = models.ModifyAssetScanRequest;
|
|
53
|
-
const
|
|
59
|
+
const DnsVpcSwitch = models.DnsVpcSwitch;
|
|
54
60
|
const AddEnterpriseSecurityGroupRulesRequest = models.AddEnterpriseSecurityGroupRulesRequest;
|
|
61
|
+
const DescribeIPStatusListResponse = models.DescribeIPStatusListResponse;
|
|
55
62
|
const SecurityGroupRule = models.SecurityGroupRule;
|
|
56
63
|
const DeleteSecurityGroupRuleResponse = models.DeleteSecurityGroupRuleResponse;
|
|
57
64
|
const ModifySequenceRulesRequest = models.ModifySequenceRulesRequest;
|
|
@@ -66,6 +73,7 @@ const VpcRuleItem = models.VpcRuleItem;
|
|
|
66
73
|
const ModifyNatFwReSelectResponse = models.ModifyNatFwReSelectResponse;
|
|
67
74
|
const DescribeVpcAcRuleRequest = models.DescribeVpcAcRuleRequest;
|
|
68
75
|
const DeleteSecurityGroupRuleRequest = models.DeleteSecurityGroupRuleRequest;
|
|
76
|
+
const AddAclRuleResponse = models.AddAclRuleResponse;
|
|
69
77
|
const SetNatFwEipRequest = models.SetNatFwEipRequest;
|
|
70
78
|
const SetNatFwEipResponse = models.SetNatFwEipResponse;
|
|
71
79
|
const AcListsData = models.AcListsData;
|
|
@@ -110,7 +118,7 @@ const NatFwFilter = models.NatFwFilter;
|
|
|
110
118
|
const ModifyRunSyncAssetResponse = models.ModifyRunSyncAssetResponse;
|
|
111
119
|
const ModifyEnterpriseSecurityGroupRuleResponse = models.ModifyEnterpriseSecurityGroupRuleResponse;
|
|
112
120
|
const ModifySecurityGroupSequenceRulesResponse = models.ModifySecurityGroupSequenceRulesResponse;
|
|
113
|
-
const
|
|
121
|
+
const DescribeVpcAcRuleResponse = models.DescribeVpcAcRuleResponse;
|
|
114
122
|
const AddEnterpriseSecurityGroupRulesResponse = models.AddEnterpriseSecurityGroupRulesResponse;
|
|
115
123
|
const UnHandleEventDetail = models.UnHandleEventDetail;
|
|
116
124
|
const RemoveEnterpriseSecurityGroupRuleRequest = models.RemoveEnterpriseSecurityGroupRuleRequest;
|
|
@@ -121,7 +129,7 @@ const ModifyEnterpriseSecurityGroupRuleRequest = models.ModifyEnterpriseSecurity
|
|
|
121
129
|
const ModifySequenceRulesResponse = models.ModifySequenceRulesResponse;
|
|
122
130
|
const DescribeResourceGroupNewResponse = models.DescribeResourceGroupNewResponse;
|
|
123
131
|
const DescribeNatFwInstanceWithRegionResponse = models.DescribeNatFwInstanceWithRegionResponse;
|
|
124
|
-
const
|
|
132
|
+
const DescribeResourceGroupNewRequest = models.DescribeResourceGroupNewRequest;
|
|
125
133
|
const ModifyBlockTopRequest = models.ModifyBlockTopRequest;
|
|
126
134
|
const DeleteAcRuleResponse = models.DeleteAcRuleResponse;
|
|
127
135
|
const IocListData = models.IocListData;
|
|
@@ -138,7 +146,7 @@ const DescribeAssociatedInstanceListRequest = models.DescribeAssociatedInstanceL
|
|
|
138
146
|
const DeleteAcRuleRequest = models.DeleteAcRuleRequest;
|
|
139
147
|
const DeleteAllAccessControlRuleResponse = models.DeleteAllAccessControlRuleResponse;
|
|
140
148
|
const ModifyNatFwSwitchRequest = models.ModifyNatFwSwitchRequest;
|
|
141
|
-
const
|
|
149
|
+
const DescribeCfwLogsRequest = models.DescribeCfwLogsRequest;
|
|
142
150
|
const NatInstanceInfo = models.NatInstanceInfo;
|
|
143
151
|
const DescribeTLogIpListResponse = models.DescribeTLogIpListResponse;
|
|
144
152
|
const StopSecurityGroupRuleDispatchResponse = models.StopSecurityGroupRuleDispatchResponse;
|
|
@@ -177,7 +185,7 @@ const DescribeNatFwInstancesInfoResponse = models.DescribeNatFwInstancesInfoResp
|
|
|
177
185
|
const AddNatAcRuleResponse = models.AddNatAcRuleResponse;
|
|
178
186
|
const ModifyBlockIgnoreListResponse = models.ModifyBlockIgnoreListResponse;
|
|
179
187
|
const DescribeNatFwInstanceResponse = models.DescribeNatFwInstanceResponse;
|
|
180
|
-
const
|
|
188
|
+
const CreateRuleItem = models.CreateRuleItem;
|
|
181
189
|
const CreateAcRulesRequest = models.CreateAcRulesRequest;
|
|
182
190
|
const ModifyEnterpriseSecurityDispatchStatusRequest = models.ModifyEnterpriseSecurityDispatchStatusRequest;
|
|
183
191
|
const DescribeBlockIgnoreListResponse = models.DescribeBlockIgnoreListResponse;
|
|
@@ -440,6 +448,17 @@ class CfwClient extends AbstractClient {
|
|
|
440
448
|
this.request("CreateSecurityGroupRules", req, resp, cb);
|
|
441
449
|
}
|
|
442
450
|
|
|
451
|
+
/**
|
|
452
|
+
* This API is used to enable or disable a NAT firewall.
|
|
453
|
+
* @param {ModifyNatFwSwitchRequest} req
|
|
454
|
+
* @param {function(string, ModifyNatFwSwitchResponse):void} cb
|
|
455
|
+
* @public
|
|
456
|
+
*/
|
|
457
|
+
ModifyNatFwSwitch(req, cb) {
|
|
458
|
+
let resp = new ModifyNatFwSwitchResponse();
|
|
459
|
+
this.request("ModifyNatFwSwitch", req, resp, cb);
|
|
460
|
+
}
|
|
461
|
+
|
|
443
462
|
/**
|
|
444
463
|
* This API is used to delete enterprise security group rules (new).
|
|
445
464
|
* @param {RemoveEnterpriseSecurityGroupRuleRequest} req
|
|
@@ -551,6 +570,17 @@ class CfwClient extends AbstractClient {
|
|
|
551
570
|
this.request("ModifyAllVPCSwitchStatus", req, resp, cb);
|
|
552
571
|
}
|
|
553
572
|
|
|
573
|
+
/**
|
|
574
|
+
* This API is used to modify the log retention period or to clear logs.
|
|
575
|
+
* @param {ModifyStorageSettingRequest} req
|
|
576
|
+
* @param {function(string, ModifyStorageSettingResponse):void} cb
|
|
577
|
+
* @public
|
|
578
|
+
*/
|
|
579
|
+
ModifyStorageSetting(req, cb) {
|
|
580
|
+
let resp = new ModifyStorageSettingResponse();
|
|
581
|
+
this.request("ModifyStorageSetting", req, resp, cb);
|
|
582
|
+
}
|
|
583
|
+
|
|
554
584
|
/**
|
|
555
585
|
* This API is used to get enterprise security group rules (new).
|
|
556
586
|
* @param {DescribeEnterpriseSecurityGroupRuleRequest} req
|
|
@@ -611,14 +641,14 @@ Modify events related with the IPs/domains in the blocked/allowed list
|
|
|
611
641
|
}
|
|
612
642
|
|
|
613
643
|
/**
|
|
614
|
-
* This API is used to
|
|
615
|
-
* @param {
|
|
616
|
-
* @param {function(string,
|
|
644
|
+
* This API is used to query the firewall log of the current tenant. Only use HasMore/NextToken in Response.Data to paginate.
|
|
645
|
+
* @param {DescribeCfwLogsRequest} req
|
|
646
|
+
* @param {function(string, DescribeCfwLogsResponse):void} cb
|
|
617
647
|
* @public
|
|
618
648
|
*/
|
|
619
|
-
|
|
620
|
-
let resp = new
|
|
621
|
-
this.request("
|
|
649
|
+
DescribeCfwLogs(req, cb) {
|
|
650
|
+
let resp = new DescribeCfwLogsResponse();
|
|
651
|
+
this.request("DescribeCfwLogs", req, resp, cb);
|
|
622
652
|
}
|
|
623
653
|
|
|
624
654
|
/**
|
|
@@ -689,14 +719,14 @@ Modify events related with the IPs/domains in the blocked/allowed list
|
|
|
689
719
|
}
|
|
690
720
|
|
|
691
721
|
/**
|
|
692
|
-
*
|
|
693
|
-
* @param {
|
|
694
|
-
* @param {function(string,
|
|
722
|
+
* Query status monitoring scenario. Op=describe_scene is used to detect available scenarios, metrics, perspectives, and secondary dropdown available_options. Op=fetch_scene is used to pull specific scenario snapshots, with results in the JSON string of Response.Data.
|
|
723
|
+
* @param {DescribeCfwStatusMonitorRequest} req
|
|
724
|
+
* @param {function(string, DescribeCfwStatusMonitorResponse):void} cb
|
|
695
725
|
* @public
|
|
696
726
|
*/
|
|
697
|
-
|
|
698
|
-
let resp = new
|
|
699
|
-
this.request("
|
|
727
|
+
DescribeCfwStatusMonitor(req, cb) {
|
|
728
|
+
let resp = new DescribeCfwStatusMonitorResponse();
|
|
729
|
+
this.request("DescribeCfwStatusMonitor", req, resp, cb);
|
|
700
730
|
}
|
|
701
731
|
|
|
702
732
|
/**
|
|
@@ -755,14 +785,14 @@ Modify events related with the IPs/domains in the blocked/allowed list
|
|
|
755
785
|
}
|
|
756
786
|
|
|
757
787
|
/**
|
|
758
|
-
*
|
|
759
|
-
* @param {
|
|
760
|
-
* @param {function(string,
|
|
788
|
+
* Add one or more Internet Boundary Access Control Rules.
|
|
789
|
+
* @param {AddAclRuleRequest} req
|
|
790
|
+
* @param {function(string, AddAclRuleResponse):void} cb
|
|
761
791
|
* @public
|
|
762
792
|
*/
|
|
763
|
-
|
|
764
|
-
let resp = new
|
|
765
|
-
this.request("
|
|
793
|
+
AddAclRule(req, cb) {
|
|
794
|
+
let resp = new AddAclRuleResponse();
|
|
795
|
+
this.request("AddAclRule", req, resp, cb);
|
|
766
796
|
}
|
|
767
797
|
|
|
768
798
|
/**
|
|
@@ -932,6 +962,17 @@ Modify events related with the IPs/domains in the blocked/allowed list
|
|
|
932
962
|
this.request("DescribeBlockStaticList", req, resp, cb);
|
|
933
963
|
}
|
|
934
964
|
|
|
965
|
+
/**
|
|
966
|
+
* This API is used to set the firewall instance EIP. (Available for firewall instances in the "Create new" mode. only)
|
|
967
|
+
* @param {SetNatFwEipRequest} req
|
|
968
|
+
* @param {function(string, SetNatFwEipResponse):void} cb
|
|
969
|
+
* @public
|
|
970
|
+
*/
|
|
971
|
+
SetNatFwEip(req, cb) {
|
|
972
|
+
let resp = new SetNatFwEipResponse();
|
|
973
|
+
this.request("SetNatFwEip", req, resp, cb);
|
|
974
|
+
}
|
|
975
|
+
|
|
935
976
|
|
|
936
977
|
}
|
|
937
978
|
module.exports = CfwClient;
|