tccli 3.0.1102.1__py2.py3-none-any.whl → 3.0.1103.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/examples/iotexplorer/v20190423/CreateTRTCSignaturesWithRoomId.md +30 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageAIServiceTask.md +36 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageAIServiceTasks.md +3 -0
- tccli/examples/iotexplorer/v20190423/DismissRoomByStrRoomIdFromTRTC.md +20 -0
- tccli/examples/iotexplorer/v20190423/GenerateCloudStorageAIServiceTaskFileURL.md +24 -0
- tccli/examples/iotexplorer/v20190423/RemoveUserByRoomIdFromTRTC.md +21 -0
- tccli/examples/lighthouse/v20200324/DescribeInstancesDeniedActions.md +11 -6
- tccli/examples/mrs/v20200910/DrugInstructionObject.md +0 -0
- tccli/examples/waf/v20180125/CreateIpAccessControl.md +27 -0
- tccli/examples/waf/v20180125/DeleteIpAccessControlV2.md +25 -0
- tccli/examples/waf/v20180125/ImportIpAccessControl.md +30 -0
- tccli/examples/waf/v20180125/ModifyIpAccessControl.md +28 -0
- tccli/services/captcha/v20190722/api.json +2 -2
- tccli/services/ccc/v20200210/api.json +3 -3
- tccli/services/clb/v20180317/api.json +1 -1
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/dlc/v20210125/api.json +70 -1
- tccli/services/fmu/v20191213/api.json +1 -1
- tccli/services/iotexplorer/iotexplorer_client.py +298 -33
- tccli/services/iotexplorer/v20190423/api.json +359 -20
- tccli/services/iotexplorer/v20190423/examples.json +41 -1
- tccli/services/iss/v20230517/api.json +10 -0
- tccli/services/lighthouse/v20200324/api.json +30 -28
- tccli/services/lighthouse/v20200324/examples.json +3 -3
- tccli/services/lke/v20231130/api.json +1 -1
- tccli/services/mrs/mrs_client.py +53 -0
- tccli/services/mrs/v20200910/api.json +1649 -415
- tccli/services/mrs/v20200910/examples.json +8 -0
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/rce/rce_client.py +0 -53
- tccli/services/rce/v20201103/api.json +0 -197
- tccli/services/rce/v20201103/examples.json +0 -8
- tccli/services/tdmq/v20200217/api.json +30 -0
- tccli/services/tke/v20180525/api.json +1 -1
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/tse/v20201207/api.json +2 -2
- tccli/services/waf/v20180125/api.json +396 -0
- tccli/services/waf/v20180125/examples.json +32 -0
- tccli/services/waf/waf_client.py +216 -4
- {tccli-3.0.1102.1.dist-info → tccli-3.0.1103.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1102.1.dist-info → tccli-3.0.1103.1.dist-info}/RECORD +45 -35
- {tccli-3.0.1102.1.dist-info → tccli-3.0.1103.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1102.1.dist-info → tccli-3.0.1103.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1102.1.dist-info → tccli-3.0.1103.1.dist-info}/license_files/LICENSE +0 -0
@@ -4431,7 +4431,7 @@
|
|
4431
4431
|
},
|
4432
4432
|
{
|
4433
4433
|
"disabled": false,
|
4434
|
-
"document": "引擎的产品版本。参考值:\n- STANDARD: 标准版\n\n引擎各版本及可选择的规格、节点数说明:\napollo - STANDARD版本\n规格列表:1C2G、2C4G、4C8G、8C16G、16C32G\n节点数:1,2,3,4,5\n\neureka - STANDARD版本\n规格列表:1C2G、2C4G、4C8G、8C16G、16C32G\n节点数:3,4,5\n\npolarismesh - STANDARD版本\n规格列表:NUM50、NUM100、NUM200、NUM500、NUM1000、NUM5000、NUM10000、NUM50000\n\n兼容原spec-xxxxxx形式的规格ID",
|
4434
|
+
"document": "引擎的产品版本。参考值:\n- STANDARD: 标准版\n- PROFESSIONAL: 专业版(Zookeeper)/企业版(PolarisMesh)\n\n引擎各版本及可选择的规格、节点数说明:\napollo - STANDARD版本\n规格列表:1C2G、2C4G、4C8G、8C16G、16C32G\n节点数:1,2,3,4,5\n\neureka - STANDARD版本\n规格列表:1C2G、2C4G、4C8G、8C16G、16C32G\n节点数:3,4,5\n\npolarismesh - STANDARD版本\n规格列表:NUM50、NUM100、NUM200、NUM500、NUM1000、NUM5000、NUM10000、NUM50000\n\n兼容原spec-xxxxxx形式的规格ID",
|
4435
4435
|
"example": "STANDARD",
|
4436
4436
|
"member": "string",
|
4437
4437
|
"name": "EngineProductVersion",
|
@@ -4548,7 +4548,7 @@
|
|
4548
4548
|
},
|
4549
4549
|
{
|
4550
4550
|
"disabled": false,
|
4551
|
-
"document": "跨地域部署的引擎地域配置详情\nzk
|
4551
|
+
"document": "跨地域部署的引擎地域配置详情\nzk标准版没有跨地域部署,请不要填写\nzk专业版跨地域部署开启了固定Leader所在地域,需要满足以下条件\n- 固定Leader所在地域当前仅支持跨两个地域\n- leader地域的副本数必须是3/2 + 1,5/2+1,7/2+1,也就是 2,3,4",
|
4552
4552
|
"example": "[{\"EngineRegion\":\"ap-guangzhou\",\"Replica\":2,\"SpecId\":\"1C2G\",\"VpcInfos\":[{\"VpcId\":\"vpc-XXX\",\"SubnetId\":\"subnet-XXX\"}]},{\"EngineRegion\":\"ap-beijing\",\"Replica\":1,\"SpecId\":\"1C2G\",\"VpcInfos\":[{\"VpcId\":\"vpc-XXX\",\"SubnetId\":\"subnet-XXX\"}]}]",
|
4553
4553
|
"member": "EngineRegionInfo",
|
4554
4554
|
"name": "EngineRegionInfos",
|
@@ -70,6 +70,13 @@
|
|
70
70
|
"output": "CreateHostResponse",
|
71
71
|
"status": "online"
|
72
72
|
},
|
73
|
+
"CreateIpAccessControl": {
|
74
|
+
"document": "Waf IP黑白名单新增接口",
|
75
|
+
"input": "CreateIpAccessControlRequest",
|
76
|
+
"name": "Waf IP黑白名单新增接口",
|
77
|
+
"output": "CreateIpAccessControlResponse",
|
78
|
+
"status": "online"
|
79
|
+
},
|
73
80
|
"DeleteAccessExport": {
|
74
81
|
"document": "本接口用于删除访问日志导出",
|
75
82
|
"input": "DeleteAccessExportRequest",
|
@@ -154,6 +161,13 @@
|
|
154
161
|
"output": "DeleteIpAccessControlResponse",
|
155
162
|
"status": "online"
|
156
163
|
},
|
164
|
+
"DeleteIpAccessControlV2": {
|
165
|
+
"document": "Waf IP黑白名单最新版本删除接口",
|
166
|
+
"input": "DeleteIpAccessControlV2Request",
|
167
|
+
"name": "Waf IP黑白名单删除接口",
|
168
|
+
"output": "DeleteIpAccessControlV2Response",
|
169
|
+
"status": "online"
|
170
|
+
},
|
157
171
|
"DeleteSession": {
|
158
172
|
"document": "删除CC攻击的session设置",
|
159
173
|
"input": "DeleteSessionRequest",
|
@@ -609,6 +623,13 @@
|
|
609
623
|
"output": "GetInstanceQpsLimitResponse",
|
610
624
|
"status": "online"
|
611
625
|
},
|
626
|
+
"ImportIpAccessControl": {
|
627
|
+
"document": "导入IP黑白名单",
|
628
|
+
"input": "ImportIpAccessControlRequest",
|
629
|
+
"name": "导入IP黑白名单",
|
630
|
+
"output": "ImportIpAccessControlResponse",
|
631
|
+
"status": "online"
|
632
|
+
},
|
612
633
|
"ModifyAccessPeriod": {
|
613
634
|
"document": "本接口用于修改访问日志保存期限等字段信息",
|
614
635
|
"input": "ModifyAccessPeriodRequest",
|
@@ -791,6 +812,13 @@
|
|
791
812
|
"output": "ModifyInstanceRenewFlagResponse",
|
792
813
|
"status": "online"
|
793
814
|
},
|
815
|
+
"ModifyIpAccessControl": {
|
816
|
+
"document": "Waf IP黑白名单编辑接口",
|
817
|
+
"input": "ModifyIpAccessControlRequest",
|
818
|
+
"name": "Waf IP黑白名单编辑接口",
|
819
|
+
"output": "ModifyIpAccessControlResponse",
|
820
|
+
"status": "online"
|
821
|
+
},
|
794
822
|
"ModifyModuleStatus": {
|
795
823
|
"document": "设置某个domain下基础安全模块的开关",
|
796
824
|
"input": "ModifyModuleStatusRequest",
|
@@ -4045,6 +4073,106 @@
|
|
4045
4073
|
],
|
4046
4074
|
"type": "object"
|
4047
4075
|
},
|
4076
|
+
"CreateIpAccessControlRequest": {
|
4077
|
+
"document": "CreateIpAccessControl请求参数结构体",
|
4078
|
+
"members": [
|
4079
|
+
{
|
4080
|
+
"disabled": false,
|
4081
|
+
"document": "具体域名如:test.qcloudwaf.com\n全局域名为:global",
|
4082
|
+
"example": "test.qcloudwaf.com",
|
4083
|
+
"member": "string",
|
4084
|
+
"name": "Domain",
|
4085
|
+
"required": true,
|
4086
|
+
"type": "string"
|
4087
|
+
},
|
4088
|
+
{
|
4089
|
+
"disabled": false,
|
4090
|
+
"document": "ip参数列表",
|
4091
|
+
"example": "[\"192.16.8.1.1\",\"192.168.2.1\"]",
|
4092
|
+
"member": "string",
|
4093
|
+
"name": "IpList",
|
4094
|
+
"required": true,
|
4095
|
+
"type": "list"
|
4096
|
+
},
|
4097
|
+
{
|
4098
|
+
"disabled": false,
|
4099
|
+
"document": "42为黑名单,40为白名单",
|
4100
|
+
"example": "42",
|
4101
|
+
"member": "int64",
|
4102
|
+
"name": "ActionType",
|
4103
|
+
"required": true,
|
4104
|
+
"type": "int"
|
4105
|
+
},
|
4106
|
+
{
|
4107
|
+
"disabled": false,
|
4108
|
+
"document": "valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))",
|
4109
|
+
"example": "1680570420",
|
4110
|
+
"member": "int64",
|
4111
|
+
"name": "ValidTS",
|
4112
|
+
"required": true,
|
4113
|
+
"type": "int"
|
4114
|
+
},
|
4115
|
+
{
|
4116
|
+
"disabled": false,
|
4117
|
+
"document": "实例Id",
|
4118
|
+
"example": "waf_2kxq5hru00n2dxmx",
|
4119
|
+
"member": "string",
|
4120
|
+
"name": "InstanceId",
|
4121
|
+
"required": false,
|
4122
|
+
"type": "string"
|
4123
|
+
},
|
4124
|
+
{
|
4125
|
+
"disabled": false,
|
4126
|
+
"document": "WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF",
|
4127
|
+
"example": "clb-waf",
|
4128
|
+
"member": "string",
|
4129
|
+
"name": "Edition",
|
4130
|
+
"required": false,
|
4131
|
+
"type": "string"
|
4132
|
+
},
|
4133
|
+
{
|
4134
|
+
"disabled": false,
|
4135
|
+
"document": "是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空",
|
4136
|
+
"example": "batch",
|
4137
|
+
"member": "string",
|
4138
|
+
"name": "SourceType",
|
4139
|
+
"required": false,
|
4140
|
+
"type": "string"
|
4141
|
+
},
|
4142
|
+
{
|
4143
|
+
"disabled": false,
|
4144
|
+
"document": "备注",
|
4145
|
+
"example": "备注",
|
4146
|
+
"member": "string",
|
4147
|
+
"name": "Note",
|
4148
|
+
"required": false,
|
4149
|
+
"type": "string"
|
4150
|
+
}
|
4151
|
+
],
|
4152
|
+
"type": "object"
|
4153
|
+
},
|
4154
|
+
"CreateIpAccessControlResponse": {
|
4155
|
+
"document": "CreateIpAccessControl返回参数结构体",
|
4156
|
+
"members": [
|
4157
|
+
{
|
4158
|
+
"disabled": false,
|
4159
|
+
"document": "新增的规则对应的ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
4160
|
+
"example": "55211245",
|
4161
|
+
"member": "uint64",
|
4162
|
+
"name": "RuleId",
|
4163
|
+
"output_required": false,
|
4164
|
+
"type": "int",
|
4165
|
+
"value_allowed_null": true
|
4166
|
+
},
|
4167
|
+
{
|
4168
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4169
|
+
"member": "string",
|
4170
|
+
"name": "RequestId",
|
4171
|
+
"type": "string"
|
4172
|
+
}
|
4173
|
+
],
|
4174
|
+
"type": "object"
|
4175
|
+
},
|
4048
4176
|
"DealData": {
|
4049
4177
|
"document": "计费下单响应实体",
|
4050
4178
|
"members": [
|
@@ -4619,6 +4747,79 @@
|
|
4619
4747
|
],
|
4620
4748
|
"type": "object"
|
4621
4749
|
},
|
4750
|
+
"DeleteIpAccessControlV2Request": {
|
4751
|
+
"document": "DeleteIpAccessControlV2请求参数结构体",
|
4752
|
+
"members": [
|
4753
|
+
{
|
4754
|
+
"disabled": false,
|
4755
|
+
"document": "域名",
|
4756
|
+
"example": "无",
|
4757
|
+
"member": "string",
|
4758
|
+
"name": "Domain",
|
4759
|
+
"required": true,
|
4760
|
+
"type": "string"
|
4761
|
+
},
|
4762
|
+
{
|
4763
|
+
"disabled": false,
|
4764
|
+
"document": "规则ID列表,支持批量删除",
|
4765
|
+
"example": "[552091011,552091010]",
|
4766
|
+
"member": "uint64",
|
4767
|
+
"name": "RuleIds",
|
4768
|
+
"required": true,
|
4769
|
+
"type": "list"
|
4770
|
+
},
|
4771
|
+
{
|
4772
|
+
"disabled": false,
|
4773
|
+
"document": "是否删除对应的域名下的所有黑/白IP名单,true表示全部删除,false表示只删除指定ip名单",
|
4774
|
+
"example": "无",
|
4775
|
+
"member": "bool",
|
4776
|
+
"name": "DeleteAll",
|
4777
|
+
"required": false,
|
4778
|
+
"type": "bool"
|
4779
|
+
},
|
4780
|
+
{
|
4781
|
+
"disabled": false,
|
4782
|
+
"document": "batch表示为批量防护的IP黑白名单",
|
4783
|
+
"example": "batch",
|
4784
|
+
"member": "string",
|
4785
|
+
"name": "SourceType",
|
4786
|
+
"required": false,
|
4787
|
+
"type": "string"
|
4788
|
+
},
|
4789
|
+
{
|
4790
|
+
"disabled": false,
|
4791
|
+
"document": "IP黑白名单类型,40为IP白名单,42为IP黑名单",
|
4792
|
+
"example": "42",
|
4793
|
+
"member": "uint64",
|
4794
|
+
"name": "ActionType",
|
4795
|
+
"required": false,
|
4796
|
+
"type": "int"
|
4797
|
+
}
|
4798
|
+
],
|
4799
|
+
"type": "object"
|
4800
|
+
},
|
4801
|
+
"DeleteIpAccessControlV2Response": {
|
4802
|
+
"document": "DeleteIpAccessControlV2返回参数结构体",
|
4803
|
+
"members": [
|
4804
|
+
{
|
4805
|
+
"disabled": false,
|
4806
|
+
"document": "在批量删除的时候表示删除失败的条数",
|
4807
|
+
"example": "10",
|
4808
|
+
"member": "int64",
|
4809
|
+
"name": "FailedCount",
|
4810
|
+
"output_required": false,
|
4811
|
+
"type": "int",
|
4812
|
+
"value_allowed_null": false
|
4813
|
+
},
|
4814
|
+
{
|
4815
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4816
|
+
"member": "string",
|
4817
|
+
"name": "RequestId",
|
4818
|
+
"type": "string"
|
4819
|
+
}
|
4820
|
+
],
|
4821
|
+
"type": "object"
|
4822
|
+
},
|
4622
4823
|
"DeleteSessionRequest": {
|
4623
4824
|
"document": "DeleteSession请求参数结构体",
|
4624
4825
|
"members": [
|
@@ -11883,6 +12084,60 @@
|
|
11883
12084
|
],
|
11884
12085
|
"usage": "both"
|
11885
12086
|
},
|
12087
|
+
"ImportIpAccessControlRequest": {
|
12088
|
+
"document": "ImportIpAccessControl请求参数结构体",
|
12089
|
+
"members": [
|
12090
|
+
{
|
12091
|
+
"disabled": false,
|
12092
|
+
"document": "导入的IP黑白名单列表",
|
12093
|
+
"example": "无",
|
12094
|
+
"member": "IpAccessControlParam",
|
12095
|
+
"name": "Data",
|
12096
|
+
"required": true,
|
12097
|
+
"type": "list"
|
12098
|
+
},
|
12099
|
+
{
|
12100
|
+
"disabled": false,
|
12101
|
+
"document": "具体域名如:test.qcloudwaf.com\n全局域名为:global",
|
12102
|
+
"example": "test.qcloudwaf.com",
|
12103
|
+
"member": "string",
|
12104
|
+
"name": "Domain",
|
12105
|
+
"required": true,
|
12106
|
+
"type": "string"
|
12107
|
+
},
|
12108
|
+
{
|
12109
|
+
"disabled": false,
|
12110
|
+
"document": "是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空",
|
12111
|
+
"example": "batch",
|
12112
|
+
"member": "string",
|
12113
|
+
"name": "SourceType",
|
12114
|
+
"required": true,
|
12115
|
+
"type": "string"
|
12116
|
+
},
|
12117
|
+
{
|
12118
|
+
"disabled": false,
|
12119
|
+
"document": "实例Id",
|
12120
|
+
"example": "waf_2kxq5hru00n2dxmx",
|
12121
|
+
"member": "string",
|
12122
|
+
"name": "InstanceId",
|
12123
|
+
"required": false,
|
12124
|
+
"type": "string"
|
12125
|
+
}
|
12126
|
+
],
|
12127
|
+
"type": "object"
|
12128
|
+
},
|
12129
|
+
"ImportIpAccessControlResponse": {
|
12130
|
+
"document": "ImportIpAccessControl返回参数结构体",
|
12131
|
+
"members": [
|
12132
|
+
{
|
12133
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
12134
|
+
"member": "string",
|
12135
|
+
"name": "RequestId",
|
12136
|
+
"type": "string"
|
12137
|
+
}
|
12138
|
+
],
|
12139
|
+
"type": "object"
|
12140
|
+
},
|
11886
12141
|
"InstanceInfo": {
|
11887
12142
|
"document": "一个实例的详细信息",
|
11888
12143
|
"members": [
|
@@ -12439,6 +12694,48 @@
|
|
12439
12694
|
],
|
12440
12695
|
"usage": "out"
|
12441
12696
|
},
|
12697
|
+
"IpAccessControlParam": {
|
12698
|
+
"document": "IP黑白名单参数结构体,主要用于IP黑白名单的导入。",
|
12699
|
+
"members": [
|
12700
|
+
{
|
12701
|
+
"disabled": false,
|
12702
|
+
"document": "IP列表",
|
12703
|
+
"example": "[\"192.168.1.1\",\"192.168.1.2\"]",
|
12704
|
+
"member": "string",
|
12705
|
+
"name": "IpList",
|
12706
|
+
"required": true,
|
12707
|
+
"type": "list"
|
12708
|
+
},
|
12709
|
+
{
|
12710
|
+
"disabled": false,
|
12711
|
+
"document": "valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))",
|
12712
|
+
"example": "1680570420",
|
12713
|
+
"member": "uint64",
|
12714
|
+
"name": "ValidTs",
|
12715
|
+
"required": true,
|
12716
|
+
"type": "int"
|
12717
|
+
},
|
12718
|
+
{
|
12719
|
+
"disabled": false,
|
12720
|
+
"document": "42为黑名单,40为白名单",
|
12721
|
+
"example": "42",
|
12722
|
+
"member": "int64",
|
12723
|
+
"name": "ActionType",
|
12724
|
+
"required": true,
|
12725
|
+
"type": "int"
|
12726
|
+
},
|
12727
|
+
{
|
12728
|
+
"disabled": false,
|
12729
|
+
"document": "备注",
|
12730
|
+
"example": "备注",
|
12731
|
+
"member": "string",
|
12732
|
+
"name": "Note",
|
12733
|
+
"required": false,
|
12734
|
+
"type": "string"
|
12735
|
+
}
|
12736
|
+
],
|
12737
|
+
"usage": "in"
|
12738
|
+
},
|
12442
12739
|
"IpHitItem": {
|
12443
12740
|
"document": "ip封堵状态数据",
|
12444
12741
|
"members": [
|
@@ -14623,6 +14920,105 @@
|
|
14623
14920
|
],
|
14624
14921
|
"type": "object"
|
14625
14922
|
},
|
14923
|
+
"ModifyIpAccessControlRequest": {
|
14924
|
+
"document": "ModifyIpAccessControl请求参数结构体",
|
14925
|
+
"members": [
|
14926
|
+
{
|
14927
|
+
"disabled": false,
|
14928
|
+
"document": "具体域名如:test.qcloudwaf.com\n全局域名为:global",
|
14929
|
+
"example": "test.qcloudwaf.com",
|
14930
|
+
"member": "string",
|
14931
|
+
"name": "Domain",
|
14932
|
+
"required": true,
|
14933
|
+
"type": "string"
|
14934
|
+
},
|
14935
|
+
{
|
14936
|
+
"disabled": false,
|
14937
|
+
"document": "ip参数列表",
|
14938
|
+
"example": "[\"192.16.8.1.1\",\"192.168.2.1\"]",
|
14939
|
+
"member": "string",
|
14940
|
+
"name": "IpList",
|
14941
|
+
"required": true,
|
14942
|
+
"type": "list"
|
14943
|
+
},
|
14944
|
+
{
|
14945
|
+
"disabled": false,
|
14946
|
+
"document": "42为黑名单,40为白名单",
|
14947
|
+
"example": "42",
|
14948
|
+
"member": "int64",
|
14949
|
+
"name": "ActionType",
|
14950
|
+
"required": true,
|
14951
|
+
"type": "int"
|
14952
|
+
},
|
14953
|
+
{
|
14954
|
+
"disabled": false,
|
14955
|
+
"document": "valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))",
|
14956
|
+
"example": "1680570420",
|
14957
|
+
"member": "int64",
|
14958
|
+
"name": "ValidTS",
|
14959
|
+
"required": true,
|
14960
|
+
"type": "int"
|
14961
|
+
},
|
14962
|
+
{
|
14963
|
+
"disabled": false,
|
14964
|
+
"document": "规则ID",
|
14965
|
+
"example": "551014389",
|
14966
|
+
"member": "uint64",
|
14967
|
+
"name": "RuleId",
|
14968
|
+
"required": true,
|
14969
|
+
"type": "int"
|
14970
|
+
},
|
14971
|
+
{
|
14972
|
+
"disabled": false,
|
14973
|
+
"document": "实例Id",
|
14974
|
+
"example": "waf_2kxq5hru00n2dxmx",
|
14975
|
+
"member": "string",
|
14976
|
+
"name": "InstanceId",
|
14977
|
+
"required": false,
|
14978
|
+
"type": "string"
|
14979
|
+
},
|
14980
|
+
{
|
14981
|
+
"disabled": false,
|
14982
|
+
"document": "WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF",
|
14983
|
+
"example": "clb-waf",
|
14984
|
+
"member": "string",
|
14985
|
+
"name": "Edition",
|
14986
|
+
"required": false,
|
14987
|
+
"type": "string"
|
14988
|
+
},
|
14989
|
+
{
|
14990
|
+
"disabled": false,
|
14991
|
+
"document": "是否为批量防护IP黑白名单,当为批量防护IP黑白名单时,取值为batch,否则为空",
|
14992
|
+
"example": "batch",
|
14993
|
+
"member": "string",
|
14994
|
+
"name": "SourceType",
|
14995
|
+
"required": false,
|
14996
|
+
"type": "string"
|
14997
|
+
},
|
14998
|
+
{
|
14999
|
+
"disabled": false,
|
15000
|
+
"document": "备注",
|
15001
|
+
"example": "备注",
|
15002
|
+
"member": "string",
|
15003
|
+
"name": "Note",
|
15004
|
+
"required": false,
|
15005
|
+
"type": "string"
|
15006
|
+
}
|
15007
|
+
],
|
15008
|
+
"type": "object"
|
15009
|
+
},
|
15010
|
+
"ModifyIpAccessControlResponse": {
|
15011
|
+
"document": "ModifyIpAccessControl返回参数结构体",
|
15012
|
+
"members": [
|
15013
|
+
{
|
15014
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
15015
|
+
"member": "string",
|
15016
|
+
"name": "RequestId",
|
15017
|
+
"type": "string"
|
15018
|
+
}
|
15019
|
+
],
|
15020
|
+
"type": "object"
|
15021
|
+
},
|
14626
15022
|
"ModifyModuleStatusRequest": {
|
14627
15023
|
"document": "ModifyModuleStatus请求参数结构体",
|
14628
15024
|
"members": [
|
@@ -104,6 +104,14 @@
|
|
104
104
|
"title": "添加负载均衡型WAF域名"
|
105
105
|
}
|
106
106
|
],
|
107
|
+
"CreateIpAccessControl": [
|
108
|
+
{
|
109
|
+
"document": "",
|
110
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpsertIpAccessControlV2\n<公共请求参数>\n\n{\n \"InstanceId\": \"waf_0xabc\",\n \"Domain\": \"www.qcloudwaf.com\",\n \"IpList\": [\n \"192.168.1.1\",\n \"192.168.2.1\"\n ],\n \"Edition\": \"abc\",\n \"ValidTS\": 1680570420,\n \"ActionType\": 42,\n \"SourceType\": \"abc\"\n}",
|
111
|
+
"output": "{\n \"Response\": {\n \"RuleId\": 55201922,\n \"RequestId\": \"abc\"\n }\n}",
|
112
|
+
"title": "新增IP黑白名单"
|
113
|
+
}
|
114
|
+
],
|
107
115
|
"DeleteAccessExport": [
|
108
116
|
{
|
109
117
|
"document": "",
|
@@ -200,6 +208,14 @@
|
|
200
208
|
"title": "Waf IP黑白名单Delete接口"
|
201
209
|
}
|
202
210
|
],
|
211
|
+
"DeleteIpAccessControlV2": [
|
212
|
+
{
|
213
|
+
"document": "",
|
214
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteIpAccessControlV2\n<公共请求参数>\n\n{\n \"Domain\": \"www.qcloudwaf.com\",\n \"DeleteAll\": true,\n \"SourceType\": \"log\",\n \"ActionType\": 1,\n \"RuleIds\": [\n 55102222,\n 55562222\n ]\n}",
|
215
|
+
"output": "{\n \"Response\": {\n \"FailedCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
216
|
+
"title": "删除IP黑白名单"
|
217
|
+
}
|
218
|
+
],
|
203
219
|
"DeleteSession": [
|
204
220
|
{
|
205
221
|
"document": "",
|
@@ -748,6 +764,14 @@
|
|
748
764
|
"title": "获取qps 弹性默认值"
|
749
765
|
}
|
750
766
|
],
|
767
|
+
"ImportIpAccessControl": [
|
768
|
+
{
|
769
|
+
"document": "",
|
770
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteIpAccessControlV2\n<公共请求参数>\n\n{\n \"Domain\": \"www.qcloudwaf.com\",\n \"Data\": [\n {\n \"IpList\": [\n \"2.3.4.5\"\n ],\n \"ValidTs\": 1709222399,\n \"ActionType\": 42,\n \"Note\": \"\"\n },\n {\n \"IpList\": [\n \"2.3.4.6\"\n ],\n \"ValidTs\": 1709222399,\n \"ActionType\": 42,\n \"Note\": \"\"\n }\n ],\n \"InstanceId\": \"waf_2kxt4nou00atrvn1\",\n \"SourceType\": \"custom\"\n}",
|
771
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
772
|
+
"title": "导入IP黑白名单"
|
773
|
+
}
|
774
|
+
],
|
751
775
|
"ModifyAccessPeriod": [
|
752
776
|
{
|
753
777
|
"document": "",
|
@@ -980,6 +1004,14 @@
|
|
980
1004
|
"title": "修改实例的自动续费开关"
|
981
1005
|
}
|
982
1006
|
],
|
1007
|
+
"ModifyIpAccessControl": [
|
1008
|
+
{
|
1009
|
+
"document": "",
|
1010
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyIpAccessControl\n<公共请求参数>\n\n{\n \"InstanceId\": \"waf_accc\",\n \"Domain\": \"www.qcloudwaf.com\",\n \"IpList\": [\n \"192.168.1.1\",\n \"192.168.1.2\"\n ],\n \"Edition\": \"clb-waf\",\n \"SourceType\": \"batch\",\n \"RuleId\": 5512222,\n \"ActionType\": 42,\n \"ValidTS\": 0,\n \"Note\": \"abc\"\n}",
|
1011
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
1012
|
+
"title": "编辑IP黑白名单"
|
1013
|
+
}
|
1014
|
+
],
|
983
1015
|
"ModifyModuleStatus": [
|
984
1016
|
{
|
985
1017
|
"document": "",
|