tccli 3.0.997.1__py2.py3-none-any.whl → 3.0.999.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/cynosdb/v20190107/DescribeClusterDatabases.md +24 -0
- tccli/examples/essbasic/v20210526/ChannelDeleteSealPolicies.md +10 -7
- tccli/examples/essbasic/v20210526/ChannelDescribeOrganizationSeals.md +6 -5
- tccli/examples/essbasic/v20210526/ChannelDescribeRoles.md +669 -447
- tccli/examples/essbasic/v20210526/ChannelUpdateSealStatus.md +6 -3
- tccli/examples/faceid/v20180301/DetectAIFakeFaces.md +52 -0
- tccli/examples/monitor/v20180724/ModifyAlarmPolicyCondition.md +77 -0
- tccli/examples/sqlserver/v20180328/CreateAccount.md +1 -1
- tccli/examples/sqlserver/v20180328/ModifyAccountPrivilege.md +1 -1
- tccli/examples/sqlserver/v20180328/RestartDBInstance.md +1 -1
- tccli/examples/sqlserver/v20180328/StartInstanceXEvent.md +1 -1
- tccli/examples/waf/v20180125/DescribeCCAutoStatus.md +21 -0
- tccli/examples/waf/v20180125/DescribeCCRuleList.md +59 -1
- tccli/examples/waf/v20180125/UpsertCCAutoStatus.md +22 -0
- tccli/examples/wedata/v20210820/DescribeTableMetas.md +90 -0
- tccli/examples/weilingwith/v20230427/DescribeApplicationList.md +48 -2
- tccli/examples/weilingwith/v20230427/DescribeDeviceShadowList.md +21 -2
- tccli/examples/weilingwith/v20230427/DescribeVideoRecordStream.md +9 -1
- tccli/services/cdb/v20170320/api.json +2 -2
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +92 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +31 -22
- tccli/services/essbasic/v20210526/examples.json +12 -12
- tccli/services/faceid/faceid_client.py +53 -0
- tccli/services/faceid/v20180301/api.json +79 -0
- tccli/services/faceid/v20180301/examples.json +14 -0
- tccli/services/gaap/v20180529/api.json +10 -0
- tccli/services/live/v20180801/api.json +18 -0
- tccli/services/monitor/v20180724/api.json +11 -7
- tccli/services/monitor/v20180724/examples.json +6 -0
- tccli/services/ocr/v20181119/api.json +76 -0
- tccli/services/omics/v20221128/api.json +151 -23
- tccli/services/sqlserver/v20180328/api.json +9 -9
- tccli/services/sqlserver/v20180328/examples.json +4 -4
- tccli/services/teo/v20220901/api.json +14 -3
- tccli/services/vrs/v20200824/api.json +1 -1
- tccli/services/waf/v20180125/api.json +298 -67
- tccli/services/waf/v20180125/examples.json +18 -10
- tccli/services/waf/waf_client.py +75 -22
- tccli/services/wedata/v20210820/api.json +825 -0
- tccli/services/wedata/v20210820/examples.json +8 -0
- tccli/services/wedata/wedata_client.py +69 -16
- tccli/services/weilingwith/v20230427/api.json +490 -40
- tccli/services/weilingwith/v20230427/examples.json +5 -5
- {tccli-3.0.997.1.dist-info → tccli-3.0.999.1.dist-info}/METADATA +2 -2
- {tccli-3.0.997.1.dist-info → tccli-3.0.999.1.dist-info}/RECORD +52 -47
- {tccli-3.0.997.1.dist-info → tccli-3.0.999.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.997.1.dist-info → tccli-3.0.999.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.997.1.dist-info → tccli-3.0.999.1.dist-info}/license_files/LICENSE +0 -0
@@ -44,7 +44,7 @@
|
|
44
44
|
{
|
45
45
|
"document": "",
|
46
46
|
"input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccount\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssql-njj2mtpl\",\n \"Accounts\": [\n {\n \"UserName\": \"testuser\",\n \"Password\": \"testpassword\"\n }\n ]\n}",
|
47
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"8a61e500-aa33-454c-9ec2-da2a368c39ab\",\n \"FlowId\":
|
47
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8a61e500-aa33-454c-9ec2-da2a368c39ab\",\n \"FlowId\": 30321\n }\n}",
|
48
48
|
"title": "创建实例账号"
|
49
49
|
}
|
50
50
|
],
|
@@ -596,7 +596,7 @@
|
|
596
596
|
{
|
597
597
|
"document": "",
|
598
598
|
"input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAccountPrivilege\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssql-njj2mtpl\",\n \"Accounts\": [\n {\n \"UserName\": \"testuser\",\n \"DBPrivileges\": [\n {\n \"Privilege\": \"ReadOnly\",\n \"DBName\": \"testdb\"\n }\n ]\n }\n ]\n}",
|
599
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"8a61e500-aa33-454c-9ec2-da2a368c39ab\",\n \"FlowId\":
|
599
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8a61e500-aa33-454c-9ec2-da2a368c39ab\",\n \"FlowId\": 30321\n }\n}",
|
600
600
|
"title": "修改实例账户权限"
|
601
601
|
}
|
602
602
|
],
|
@@ -850,7 +850,7 @@
|
|
850
850
|
{
|
851
851
|
"document": "",
|
852
852
|
"input": "https://sqlserver.tencentcloudapi.com/?Action=RestartDBInstance\n&InstanceId=mssql-njj2mtpl\n&<公共请求参数>",
|
853
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"8a61e500-aa33-454c-9ec2-da2a368c39ab\",\n \"FlowId\":
|
853
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8a61e500-aa33-454c-9ec2-da2a368c39ab\",\n \"FlowId\": 30321\n }\n}",
|
854
854
|
"title": "重启数据库实例mssql-niycdqff"
|
855
855
|
}
|
856
856
|
],
|
@@ -897,7 +897,7 @@
|
|
897
897
|
"StartInstanceXEvent": [
|
898
898
|
{
|
899
899
|
"document": " 开启、关闭扩展事件",
|
900
|
-
"input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartInstanceXEvent\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssql-77auaua\",\n \"EventConfig\": [\n {\n \"EventType\": \"
|
900
|
+
"input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartInstanceXEvent\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssql-77auaua\",\n \"EventConfig\": [\n {\n \"EventType\": \"blocked\",\n \"Threshold\": 0\n }\n ]\n}",
|
901
901
|
"output": "{\n \"Response\": {\n \"RequestId\": \"AH7AAJ_909AA_AAAQ_2134343\"\n }\n}",
|
902
902
|
"title": "StartInstanceXEvent"
|
903
903
|
}
|
@@ -3529,7 +3529,7 @@
|
|
3529
3529
|
},
|
3530
3530
|
{
|
3531
3531
|
"disabled": false,
|
3532
|
-
"document": "共享 CNAME 前缀。请输入合法的域名前缀,例如\"test-api\"、\"test-api.com\",限制输入 50 个字符。\n\n共享 CNAME
|
3532
|
+
"document": "共享 CNAME 前缀。请输入合法的域名前缀,例如\"test-api\"、\"test-api.com\",限制输入 50 个字符。\n\n共享 CNAME 完整格式为:`<自定义前缀>+<zoneid中的12位随机字符串>+share.dnse[0-5].com`。\n\n例如前缀传入 example.com,EO 会为您创建共享 CNAME:example.com.sai2ig51kaa5.share.dnse2.com。",
|
3533
3533
|
"example": "example.com",
|
3534
3534
|
"member": "string",
|
3535
3535
|
"name": "SharedCNAMEPrefix",
|
@@ -3553,7 +3553,7 @@
|
|
3553
3553
|
"members": [
|
3554
3554
|
{
|
3555
3555
|
"disabled": false,
|
3556
|
-
"document": "共享 CNAME
|
3556
|
+
"document": "共享 CNAME。格式为:`<自定义前缀>+<ZoneId中的12位随机字符串>+share.dnse[0-5].com`。",
|
3557
3557
|
"example": "example.com.drvsif25rt7.share.dnse2.com",
|
3558
3558
|
"member": "string",
|
3559
3559
|
"name": "SharedCNAME",
|
@@ -7508,6 +7508,7 @@
|
|
7508
7508
|
"example": "on/off",
|
7509
7509
|
"member": "string",
|
7510
7510
|
"name": "Http2",
|
7511
|
+
"output_required": true,
|
7511
7512
|
"required": false,
|
7512
7513
|
"type": "string",
|
7513
7514
|
"value_allowed_null": true
|
@@ -7518,6 +7519,7 @@
|
|
7518
7519
|
"example": "on/off",
|
7519
7520
|
"member": "string",
|
7520
7521
|
"name": "OcspStapling",
|
7522
|
+
"output_required": true,
|
7521
7523
|
"required": false,
|
7522
7524
|
"type": "string",
|
7523
7525
|
"value_allowed_null": true
|
@@ -7528,6 +7530,7 @@
|
|
7528
7530
|
"example": "[\"TLSv1\", \"TLSv1.1\"]",
|
7529
7531
|
"member": "string",
|
7530
7532
|
"name": "TlsVersion",
|
7533
|
+
"output_required": true,
|
7531
7534
|
"required": false,
|
7532
7535
|
"type": "list",
|
7533
7536
|
"value_allowed_null": true
|
@@ -7538,6 +7541,7 @@
|
|
7538
7541
|
"example": "无",
|
7539
7542
|
"member": "Hsts",
|
7540
7543
|
"name": "Hsts",
|
7544
|
+
"output_required": true,
|
7541
7545
|
"required": false,
|
7542
7546
|
"type": "object",
|
7543
7547
|
"value_allowed_null": true
|
@@ -7548,6 +7552,7 @@
|
|
7548
7552
|
"example": "无",
|
7549
7553
|
"member": "ServerCertInfo",
|
7550
7554
|
"name": "CertInfo",
|
7555
|
+
"output_required": true,
|
7551
7556
|
"required": false,
|
7552
7557
|
"type": "list",
|
7553
7558
|
"value_allowed_null": true
|
@@ -7558,6 +7563,7 @@
|
|
7558
7563
|
"example": "无",
|
7559
7564
|
"member": "string",
|
7560
7565
|
"name": "ApplyType",
|
7566
|
+
"output_required": true,
|
7561
7567
|
"required": false,
|
7562
7568
|
"type": "string",
|
7563
7569
|
"value_allowed_null": true
|
@@ -7568,6 +7574,7 @@
|
|
7568
7574
|
"example": "无",
|
7569
7575
|
"member": "string",
|
7570
7576
|
"name": "CipherSuite",
|
7577
|
+
"output_required": false,
|
7571
7578
|
"required": false,
|
7572
7579
|
"type": "string",
|
7573
7580
|
"value_allowed_null": true
|
@@ -9415,6 +9422,7 @@
|
|
9415
9422
|
"example": "[\"1.1.1.1\"]",
|
9416
9423
|
"member": "string",
|
9417
9424
|
"name": "Origins",
|
9425
|
+
"output_required": true,
|
9418
9426
|
"required": false,
|
9419
9427
|
"type": "list",
|
9420
9428
|
"value_allowed_null": true
|
@@ -9425,6 +9433,7 @@
|
|
9425
9433
|
"example": "[\"2.2.2.2\"]",
|
9426
9434
|
"member": "string",
|
9427
9435
|
"name": "BackupOrigins",
|
9436
|
+
"output_required": true,
|
9428
9437
|
"required": false,
|
9429
9438
|
"type": "list",
|
9430
9439
|
"value_allowed_null": true
|
@@ -9435,6 +9444,7 @@
|
|
9435
9444
|
"example": "https",
|
9436
9445
|
"member": "string",
|
9437
9446
|
"name": "OriginPullProtocol",
|
9447
|
+
"output_required": true,
|
9438
9448
|
"required": false,
|
9439
9449
|
"type": "string",
|
9440
9450
|
"value_allowed_null": true
|
@@ -9445,6 +9455,7 @@
|
|
9445
9455
|
"example": "off",
|
9446
9456
|
"member": "string",
|
9447
9457
|
"name": "CosPrivateAccess",
|
9458
|
+
"output_required": true,
|
9448
9459
|
"required": false,
|
9449
9460
|
"type": "string",
|
9450
9461
|
"value_allowed_null": true
|
@@ -11529,7 +11540,7 @@
|
|
11529
11540
|
"example": "默认证书",
|
11530
11541
|
"member": "string",
|
11531
11542
|
"name": "Alias",
|
11532
|
-
"output_required":
|
11543
|
+
"output_required": false,
|
11533
11544
|
"required": false,
|
11534
11545
|
"type": "string",
|
11535
11546
|
"value_allowed_null": true
|
@@ -252,12 +252,19 @@
|
|
252
252
|
"output": "DescribeBatchIpAccessControlResponse",
|
253
253
|
"status": "online"
|
254
254
|
},
|
255
|
+
"DescribeCCAutoStatus": {
|
256
|
+
"document": "Waf 斯巴达版本查询cc自动封堵状态",
|
257
|
+
"input": "DescribeCCAutoStatusRequest",
|
258
|
+
"name": "Waf 斯巴达版本查询cc自动封堵状态",
|
259
|
+
"output": "DescribeCCAutoStatusResponse",
|
260
|
+
"status": "online"
|
261
|
+
},
|
255
262
|
"DescribeCCRule": {
|
256
|
-
"document": "
|
263
|
+
"document": "Waf CC V2 Query接口",
|
257
264
|
"input": "DescribeCCRuleRequest",
|
258
265
|
"name": "Waf CC V2 Query接口",
|
259
266
|
"output": "DescribeCCRuleResponse",
|
260
|
-
"status": "
|
267
|
+
"status": "online"
|
261
268
|
},
|
262
269
|
"DescribeCCRuleList": {
|
263
270
|
"document": "根据多条件查询CC规则",
|
@@ -833,13 +840,6 @@
|
|
833
840
|
"output": "ModifyWafAutoDenyRulesResponse",
|
834
841
|
"status": "online"
|
835
842
|
},
|
836
|
-
"ModifyWafAutoDenyStatus": {
|
837
|
-
"document": "配置WAF自动封禁模块状态",
|
838
|
-
"input": "ModifyWafAutoDenyStatusRequest",
|
839
|
-
"name": "配置WAF自动封禁模块状态",
|
840
|
-
"output": "ModifyWafAutoDenyStatusResponse",
|
841
|
-
"status": "online"
|
842
|
-
},
|
843
843
|
"ModifyWafThreatenIntelligence": {
|
844
844
|
"document": "配置WAF威胁情报封禁模块详情",
|
845
845
|
"input": "ModifyWafThreatenIntelligenceRequest",
|
@@ -896,6 +896,13 @@
|
|
896
896
|
"output": "SwitchElasticModeResponse",
|
897
897
|
"status": "online"
|
898
898
|
},
|
899
|
+
"UpsertCCAutoStatus": {
|
900
|
+
"document": "Waf 斯巴达版本更新cc自动封堵状态",
|
901
|
+
"input": "UpsertCCAutoStatusRequest",
|
902
|
+
"name": "Waf 斯巴达版本更新cc自动封堵状态",
|
903
|
+
"output": "UpsertCCAutoStatusResponse",
|
904
|
+
"status": "online"
|
905
|
+
},
|
899
906
|
"UpsertCCRule": {
|
900
907
|
"document": "Waf CC V2 Upsert接口",
|
901
908
|
"input": "UpsertCCRuleRequest",
|
@@ -2203,28 +2210,6 @@
|
|
2203
2210
|
"type": "string",
|
2204
2211
|
"value_allowed_null": true
|
2205
2212
|
},
|
2206
|
-
{
|
2207
|
-
"disabled": false,
|
2208
|
-
"document": "1 API安全6折\n注意:此字段可能返回 null,表示取不到有效值。",
|
2209
|
-
"example": "1",
|
2210
|
-
"member": "int64",
|
2211
|
-
"name": "APICPWaf",
|
2212
|
-
"output_required": false,
|
2213
|
-
"required": false,
|
2214
|
-
"type": "int",
|
2215
|
-
"value_allowed_null": true
|
2216
|
-
},
|
2217
|
-
{
|
2218
|
-
"disabled": false,
|
2219
|
-
"document": "1 表示5折折扣\n2 表示4折折扣\n注意:此字段可能返回 null,表示取不到有效值。",
|
2220
|
-
"example": "1",
|
2221
|
-
"member": "int64",
|
2222
|
-
"name": "APINPWaf",
|
2223
|
-
"output_required": false,
|
2224
|
-
"required": false,
|
2225
|
-
"type": "int",
|
2226
|
-
"value_allowed_null": true
|
2227
|
-
},
|
2228
2213
|
{
|
2229
2214
|
"disabled": false,
|
2230
2215
|
"document": "api安全7天试用标识。1试用。0没试用\n注意:此字段可能返回 null,表示取不到有效值。",
|
@@ -2865,6 +2850,188 @@
|
|
2865
2850
|
],
|
2866
2851
|
"usage": "out"
|
2867
2852
|
},
|
2853
|
+
"CCRuleItems": {
|
2854
|
+
"document": "CC规则详情",
|
2855
|
+
"members": [
|
2856
|
+
{
|
2857
|
+
"disabled": false,
|
2858
|
+
"document": "名字",
|
2859
|
+
"example": "test",
|
2860
|
+
"member": "string",
|
2861
|
+
"name": "Name",
|
2862
|
+
"output_required": true,
|
2863
|
+
"type": "string",
|
2864
|
+
"value_allowed_null": false
|
2865
|
+
},
|
2866
|
+
{
|
2867
|
+
"disabled": false,
|
2868
|
+
"document": "状态",
|
2869
|
+
"example": "0",
|
2870
|
+
"member": "uint64",
|
2871
|
+
"name": "Status",
|
2872
|
+
"output_required": true,
|
2873
|
+
"type": "int",
|
2874
|
+
"value_allowed_null": false
|
2875
|
+
},
|
2876
|
+
{
|
2877
|
+
"disabled": false,
|
2878
|
+
"document": "模式",
|
2879
|
+
"example": "0",
|
2880
|
+
"member": "uint64",
|
2881
|
+
"name": "Advance",
|
2882
|
+
"output_required": true,
|
2883
|
+
"type": "int",
|
2884
|
+
"value_allowed_null": false
|
2885
|
+
},
|
2886
|
+
{
|
2887
|
+
"disabled": false,
|
2888
|
+
"document": "限制",
|
2889
|
+
"example": "0",
|
2890
|
+
"member": "uint64",
|
2891
|
+
"name": "Limit",
|
2892
|
+
"output_required": true,
|
2893
|
+
"type": "int",
|
2894
|
+
"value_allowed_null": false
|
2895
|
+
},
|
2896
|
+
{
|
2897
|
+
"disabled": false,
|
2898
|
+
"document": "范围",
|
2899
|
+
"example": "0",
|
2900
|
+
"member": "uint64",
|
2901
|
+
"name": "Interval",
|
2902
|
+
"output_required": true,
|
2903
|
+
"type": "int",
|
2904
|
+
"value_allowed_null": false
|
2905
|
+
},
|
2906
|
+
{
|
2907
|
+
"disabled": false,
|
2908
|
+
"document": "网址",
|
2909
|
+
"example": "test.com",
|
2910
|
+
"member": "string",
|
2911
|
+
"name": "Url",
|
2912
|
+
"output_required": true,
|
2913
|
+
"type": "string",
|
2914
|
+
"value_allowed_null": false
|
2915
|
+
},
|
2916
|
+
{
|
2917
|
+
"disabled": false,
|
2918
|
+
"document": "匹配类型",
|
2919
|
+
"example": "0",
|
2920
|
+
"member": "uint64",
|
2921
|
+
"name": "MatchFunc",
|
2922
|
+
"output_required": true,
|
2923
|
+
"type": "int",
|
2924
|
+
"value_allowed_null": false
|
2925
|
+
},
|
2926
|
+
{
|
2927
|
+
"disabled": false,
|
2928
|
+
"document": "动作",
|
2929
|
+
"example": "0",
|
2930
|
+
"member": "uint64",
|
2931
|
+
"name": "ActionType",
|
2932
|
+
"output_required": true,
|
2933
|
+
"type": "int",
|
2934
|
+
"value_allowed_null": false
|
2935
|
+
},
|
2936
|
+
{
|
2937
|
+
"disabled": false,
|
2938
|
+
"document": "优先级",
|
2939
|
+
"example": "0",
|
2940
|
+
"member": "uint64",
|
2941
|
+
"name": "Priority",
|
2942
|
+
"output_required": true,
|
2943
|
+
"type": "int",
|
2944
|
+
"value_allowed_null": false
|
2945
|
+
},
|
2946
|
+
{
|
2947
|
+
"disabled": false,
|
2948
|
+
"document": "有效时间",
|
2949
|
+
"example": "0",
|
2950
|
+
"member": "uint64",
|
2951
|
+
"name": "ValidTime",
|
2952
|
+
"output_required": true,
|
2953
|
+
"type": "int",
|
2954
|
+
"value_allowed_null": false
|
2955
|
+
},
|
2956
|
+
{
|
2957
|
+
"disabled": false,
|
2958
|
+
"document": "版本",
|
2959
|
+
"example": "0",
|
2960
|
+
"member": "uint64",
|
2961
|
+
"name": "TsVersion",
|
2962
|
+
"output_required": true,
|
2963
|
+
"type": "int",
|
2964
|
+
"value_allowed_null": false
|
2965
|
+
},
|
2966
|
+
{
|
2967
|
+
"disabled": false,
|
2968
|
+
"document": "规则详情",
|
2969
|
+
"example": "\"[]\"",
|
2970
|
+
"member": "string",
|
2971
|
+
"name": "Options",
|
2972
|
+
"output_required": true,
|
2973
|
+
"type": "string",
|
2974
|
+
"value_allowed_null": false
|
2975
|
+
},
|
2976
|
+
{
|
2977
|
+
"disabled": false,
|
2978
|
+
"document": "规则ID",
|
2979
|
+
"example": "0",
|
2980
|
+
"member": "uint64",
|
2981
|
+
"name": "RuleId",
|
2982
|
+
"output_required": true,
|
2983
|
+
"type": "int",
|
2984
|
+
"value_allowed_null": false
|
2985
|
+
},
|
2986
|
+
{
|
2987
|
+
"disabled": false,
|
2988
|
+
"document": "事件id\n注意:此字段可能返回 null,表示取不到有效值。",
|
2989
|
+
"example": "api_aaa",
|
2990
|
+
"member": "string",
|
2991
|
+
"name": "EventId",
|
2992
|
+
"output_required": true,
|
2993
|
+
"type": "string",
|
2994
|
+
"value_allowed_null": true
|
2995
|
+
},
|
2996
|
+
{
|
2997
|
+
"disabled": false,
|
2998
|
+
"document": "关联的Session规则\n注意:此字段可能返回 null,表示取不到有效值。",
|
2999
|
+
"example": "[0,200000001]",
|
3000
|
+
"member": "int64",
|
3001
|
+
"name": "SessionApplied",
|
3002
|
+
"output_required": false,
|
3003
|
+
"type": "list",
|
3004
|
+
"value_allowed_null": true
|
3005
|
+
}
|
3006
|
+
],
|
3007
|
+
"usage": "out"
|
3008
|
+
},
|
3009
|
+
"CCRuleLists": {
|
3010
|
+
"document": "CC规则总览",
|
3011
|
+
"members": [
|
3012
|
+
{
|
3013
|
+
"disabled": false,
|
3014
|
+
"document": "总数",
|
3015
|
+
"example": "0",
|
3016
|
+
"member": "uint64",
|
3017
|
+
"name": "TotalCount",
|
3018
|
+
"required": true,
|
3019
|
+
"type": "int",
|
3020
|
+
"value_allowed_null": false
|
3021
|
+
},
|
3022
|
+
{
|
3023
|
+
"disabled": false,
|
3024
|
+
"document": "规则\n注意:此字段可能返回 null,表示取不到有效值。",
|
3025
|
+
"example": "[]",
|
3026
|
+
"member": "CCRuleItems",
|
3027
|
+
"name": "Res",
|
3028
|
+
"required": true,
|
3029
|
+
"type": "list",
|
3030
|
+
"value_allowed_null": true
|
3031
|
+
}
|
3032
|
+
],
|
3033
|
+
"usage": "out"
|
3034
|
+
},
|
2868
3035
|
"CacheUrlItem": {
|
2869
3036
|
"document": "防篡改url元素",
|
2870
3037
|
"members": [
|
@@ -5570,6 +5737,42 @@
|
|
5570
5737
|
],
|
5571
5738
|
"type": "object"
|
5572
5739
|
},
|
5740
|
+
"DescribeCCAutoStatusRequest": {
|
5741
|
+
"document": "DescribeCCAutoStatus请求参数结构体",
|
5742
|
+
"members": [
|
5743
|
+
{
|
5744
|
+
"disabled": false,
|
5745
|
+
"document": "域名",
|
5746
|
+
"example": "",
|
5747
|
+
"member": "string",
|
5748
|
+
"name": "Domain",
|
5749
|
+
"required": true,
|
5750
|
+
"type": "string"
|
5751
|
+
}
|
5752
|
+
],
|
5753
|
+
"type": "object"
|
5754
|
+
},
|
5755
|
+
"DescribeCCAutoStatusResponse": {
|
5756
|
+
"document": "DescribeCCAutoStatus返回参数结构体",
|
5757
|
+
"members": [
|
5758
|
+
{
|
5759
|
+
"disabled": false,
|
5760
|
+
"document": "配置状态",
|
5761
|
+
"example": "",
|
5762
|
+
"member": "int64",
|
5763
|
+
"name": "AutoCCSwitch",
|
5764
|
+
"type": "int",
|
5765
|
+
"value_allowed_null": false
|
5766
|
+
},
|
5767
|
+
{
|
5768
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
5769
|
+
"member": "string",
|
5770
|
+
"name": "RequestId",
|
5771
|
+
"type": "string"
|
5772
|
+
}
|
5773
|
+
],
|
5774
|
+
"type": "object"
|
5775
|
+
},
|
5573
5776
|
"DescribeCCRuleListRequest": {
|
5574
5777
|
"document": "DescribeCCRuleList请求参数结构体",
|
5575
5778
|
"members": [
|
@@ -5633,6 +5836,16 @@
|
|
5633
5836
|
"DescribeCCRuleListResponse": {
|
5634
5837
|
"document": "DescribeCCRuleList返回参数结构体",
|
5635
5838
|
"members": [
|
5839
|
+
{
|
5840
|
+
"disabled": false,
|
5841
|
+
"document": "查询到的CC规则的列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
5842
|
+
"example": "list",
|
5843
|
+
"member": "CCRuleLists",
|
5844
|
+
"name": "Data",
|
5845
|
+
"output_required": true,
|
5846
|
+
"type": "object",
|
5847
|
+
"value_allowed_null": true
|
5848
|
+
},
|
5636
5849
|
{
|
5637
5850
|
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
5638
5851
|
"member": "string",
|
@@ -14415,42 +14628,6 @@
|
|
14415
14628
|
],
|
14416
14629
|
"type": "object"
|
14417
14630
|
},
|
14418
|
-
"ModifyWafAutoDenyStatusRequest": {
|
14419
|
-
"document": "ModifyWafAutoDenyStatus请求参数结构体",
|
14420
|
-
"members": [
|
14421
|
-
{
|
14422
|
-
"disabled": false,
|
14423
|
-
"document": "WAF 自动封禁配置项",
|
14424
|
-
"example": "",
|
14425
|
-
"member": "AutoDenyDetail",
|
14426
|
-
"name": "WafAutoDenyDetails",
|
14427
|
-
"required": true,
|
14428
|
-
"type": "object"
|
14429
|
-
}
|
14430
|
-
],
|
14431
|
-
"type": "object"
|
14432
|
-
},
|
14433
|
-
"ModifyWafAutoDenyStatusResponse": {
|
14434
|
-
"document": "ModifyWafAutoDenyStatus返回参数结构体",
|
14435
|
-
"members": [
|
14436
|
-
{
|
14437
|
-
"disabled": false,
|
14438
|
-
"document": "WAF 自动封禁配置项",
|
14439
|
-
"example": "",
|
14440
|
-
"member": "AutoDenyDetail",
|
14441
|
-
"name": "WafAutoDenyDetails",
|
14442
|
-
"type": "object",
|
14443
|
-
"value_allowed_null": false
|
14444
|
-
},
|
14445
|
-
{
|
14446
|
-
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
14447
|
-
"member": "string",
|
14448
|
-
"name": "RequestId",
|
14449
|
-
"type": "string"
|
14450
|
-
}
|
14451
|
-
],
|
14452
|
-
"type": "object"
|
14453
|
-
},
|
14454
14631
|
"ModifyWafThreatenIntelligenceRequest": {
|
14455
14632
|
"document": "ModifyWafThreatenIntelligence请求参数结构体",
|
14456
14633
|
"members": [
|
@@ -16101,6 +16278,60 @@
|
|
16101
16278
|
],
|
16102
16279
|
"usage": "in"
|
16103
16280
|
},
|
16281
|
+
"UpsertCCAutoStatusRequest": {
|
16282
|
+
"document": "UpsertCCAutoStatus请求参数结构体",
|
16283
|
+
"members": [
|
16284
|
+
{
|
16285
|
+
"disabled": false,
|
16286
|
+
"document": "域名",
|
16287
|
+
"example": "",
|
16288
|
+
"member": "string",
|
16289
|
+
"name": "Domain",
|
16290
|
+
"required": true,
|
16291
|
+
"type": "string"
|
16292
|
+
},
|
16293
|
+
{
|
16294
|
+
"disabled": false,
|
16295
|
+
"document": "状态值",
|
16296
|
+
"example": "",
|
16297
|
+
"member": "int64",
|
16298
|
+
"name": "Value",
|
16299
|
+
"required": true,
|
16300
|
+
"type": "int"
|
16301
|
+
},
|
16302
|
+
{
|
16303
|
+
"disabled": false,
|
16304
|
+
"document": "版本:clb-waf, spart-waf",
|
16305
|
+
"example": "",
|
16306
|
+
"member": "string",
|
16307
|
+
"name": "Edition",
|
16308
|
+
"required": false,
|
16309
|
+
"type": "string"
|
16310
|
+
}
|
16311
|
+
],
|
16312
|
+
"type": "object"
|
16313
|
+
},
|
16314
|
+
"UpsertCCAutoStatusResponse": {
|
16315
|
+
"document": "UpsertCCAutoStatus返回参数结构体",
|
16316
|
+
"members": [
|
16317
|
+
{
|
16318
|
+
"disabled": false,
|
16319
|
+
"document": "正常情况为null\n注意:此字段可能返回 null,表示取不到有效值。",
|
16320
|
+
"example": "",
|
16321
|
+
"member": "string",
|
16322
|
+
"name": "Data",
|
16323
|
+
"type": "string",
|
16324
|
+
"value_allowed_null": true
|
16325
|
+
},
|
16326
|
+
{
|
16327
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
16328
|
+
"member": "string",
|
16329
|
+
"name": "RequestId",
|
16330
|
+
"type": "string"
|
16331
|
+
}
|
16332
|
+
],
|
16333
|
+
"type": "object"
|
16334
|
+
},
|
16104
16335
|
"UpsertCCRuleRequest": {
|
16105
16336
|
"document": "UpsertCCRule请求参数结构体",
|
16106
16337
|
"members": [
|
@@ -318,6 +318,14 @@
|
|
318
318
|
"title": "Waf 多域名ip黑白名单查询"
|
319
319
|
}
|
320
320
|
],
|
321
|
+
"DescribeCCAutoStatus": [
|
322
|
+
{
|
323
|
+
"document": "",
|
324
|
+
"input": "https://waf.tencentcloudapi.com/?Action=DescribeCCAutoStatus\r\n&Domain=www.test.com\r\n&<公共请求参数>",
|
325
|
+
"output": "{\n \"Response\": {\n \"AutoCCSwitch\": 0,\n \"RequestId\": \"2a2d479f-d481-40e9-bb31-8f9e743bd529\"\n }\n}",
|
326
|
+
"title": "Waf 斯巴达版本查询cc自动封堵状态"
|
327
|
+
}
|
328
|
+
],
|
321
329
|
"DescribeCCRule": [
|
322
330
|
{
|
323
331
|
"document": "",
|
@@ -336,13 +344,13 @@
|
|
336
344
|
{
|
337
345
|
"document": "",
|
338
346
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCCRuleList\n<公共请求参数>\n\n{\n \"Domain\": \"www.testwaf.com\",\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"clb\",\n \"saas\"\n ],\n \"Name\": \"InstanceType\",\n \"ExactMatch\": true\n }\n ],\n \"Offset\": 1,\n \"By\": \"ts_version\"\n}",
|
339
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"1cc54bf4-cfeb-40cc-a823-035e52106df9\"\n }\n}",
|
347
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Res\": [\n {\n \"ActionType\": 22,\n \"Advance\": 0,\n \"Interval\": 60,\n \"Limit\": 60,\n \"MatchFunc\": 0,\n \"Name\": \"test1\",\n \"Priority\": 50,\n \"Status\": 1,\n \"TsVersion\": 1579058116920,\n \"Url\": \"///\",\n \"ValidTime\": 600,\n \"Options\": \"\",\n \"RuleId\": 1900009616,\n \"EventId\": \"111\"\n }\n ],\n \"TotalCount\": 1\n },\n \"RequestId\": \"1cc54bf4-cfeb-40cc-a823-035e52106df9\"\n }\n}",
|
340
348
|
"title": "根据URL查询API规则"
|
341
349
|
},
|
342
350
|
{
|
343
351
|
"document": "",
|
344
352
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCCRuleList\n<公共请求参数>\n\n{\n \"By\": \"ts_version\",\n \"Domain\": \"hzh.qcloud.com\",\n \"Limit\": \"10\",\n \"Order\": \"asc\",\n \"Offset\": \"10000002\"\n}",
|
345
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"41b55f8b-1ed1-484c-aab7-c14c0889f78b\"\n }\n}",
|
353
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"41b55f8b-1ed1-484c-aab7-c14c0889f78b\",\n \"Data\": {\n \"Res\": [\n {\n \"Name\": \"test\",\n \"Status\": 0,\n \"Advance\": 0,\n \"Limit\": 2,\n \"Interval\": 60,\n \"Url\": \"/\",\n \"MatchFunc\": 0,\n \"ActionType\": 22,\n \"Priority\": 50,\n \"ValidTime\": 600,\n \"TsVersion\": 1609769256761,\n \"Options\": \"[]\",\n \"RuleId\": 0,\n \"EventId\": \"11\"\n },\n {\n \"Name\": \"ddp\",\n \"Status\": 0,\n \"Advance\": 0,\n \"Limit\": 10,\n \"Interval\": 10,\n \"Url\": \"/test\",\n \"MatchFunc\": 0,\n \"ActionType\": 20,\n \"Priority\": 1,\n \"ValidTime\": 61,\n \"TsVersion\": 1669794335102,\n \"Options\": \"\",\n \"RuleId\": 1900009616,\n \"EventId\": \"111\"\n }\n ],\n \"TotalCount\": 2\n }\n }\n}",
|
346
354
|
"title": "test1"
|
347
355
|
}
|
348
356
|
],
|
@@ -1060,14 +1068,6 @@
|
|
1060
1068
|
"title": "修改ip惩罚配置"
|
1061
1069
|
}
|
1062
1070
|
],
|
1063
|
-
"ModifyWafAutoDenyStatus": [
|
1064
|
-
{
|
1065
|
-
"document": "",
|
1066
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWafAutoDenyStatus\n<公共请求参数>\n\n{\n \"WafAutoDenyDetails\": {\n \"TimeThreshold\": 0,\n \"AttackThreshold\": 0,\n \"AttackTags\": [\n \"123\"\n ],\n \"DefenseStatus\": 0\n }\n}",
|
1067
|
-
"output": "{\n \"Response\": {\n \"WafAutoDenyDetails\": {\n \"TimeThreshold\": 0,\n \"AttackThreshold\": 0,\n \"AttackTags\": [\n \"123\"\n ],\n \"DefenseStatus\": 0\n },\n \"RequestId\": \"xx\"\n }\n}",
|
1068
|
-
"title": "配置WAF自动情报封禁模块详情"
|
1069
|
-
}
|
1070
|
-
],
|
1071
1071
|
"ModifyWafThreatenIntelligence": [
|
1072
1072
|
{
|
1073
1073
|
"document": "配置管理WAF 威胁情报封禁模块",
|
@@ -1132,6 +1132,14 @@
|
|
1132
1132
|
"title": "切换弹性的开关"
|
1133
1133
|
}
|
1134
1134
|
],
|
1135
|
+
"UpsertCCAutoStatus": [
|
1136
|
+
{
|
1137
|
+
"document": "",
|
1138
|
+
"input": "https://waf.tencentcloudapi.com/?Action=UpsertCCAutoStatus\r\n&Domain=test.com\r\n&Value=1\r\n&<公共请求参数>",
|
1139
|
+
"output": "{\n \"Response\": {\n \"Data\": null,\n \"RequestId\": \"a0b4e55b-5307-4378-856d-efc22475c77d\"\n }\n}",
|
1140
|
+
"title": "Waf 斯巴达版本更新cc自动封堵状态"
|
1141
|
+
}
|
1142
|
+
],
|
1135
1143
|
"UpsertCCRule": [
|
1136
1144
|
{
|
1137
1145
|
"document": "",
|