tccli 3.0.947.1__py2.py3-none-any.whl → 3.0.949.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/apigateway/v20180808/DescribeService.md +1 -0
  3. tccli/examples/bma/v20221115/CreateBPWhiteList.md +5 -1
  4. tccli/examples/bma/v20221115/DescribeBPWhiteLists.md +14 -1
  5. tccli/examples/cdwch/v20200915/DeleteBackUpData.md +21 -0
  6. tccli/examples/cdwch/v20200915/DescribeBackUpJob.md +32 -0
  7. tccli/examples/cdwch/v20200915/DescribeBackUpJobDetail.md +30 -0
  8. tccli/examples/cdwch/v20200915/DescribeCkSqlApis.md +2 -32
  9. tccli/examples/cdwch/v20200915/RecoverBackUpJob.md +21 -0
  10. tccli/examples/cfw/v20190904/DescribeNatAcRule.md +31 -22
  11. tccli/examples/csip/v20221121/DescribeListenerList.md +35 -3
  12. tccli/examples/cvm/v20170312/ModifyImageSharePermission.md +2 -2
  13. tccli/examples/dsgc/v20190723/DescribeDSPAAssessmentRiskSideDistributed.md +35 -0
  14. tccli/examples/dsgc/v20190723/DescribeDSPAAssessmentRiskSideList.md +27 -0
  15. tccli/examples/dsgc/v20190723/DescribeDSPAAssessmentRiskTemplateVulnerableList.md +2 -1
  16. tccli/examples/dsgc/v20190723/DescribeDSPAESDiscoveryTaskResultDetail.md +8 -2
  17. tccli/examples/faceid/v20180301/GetEidResult.md +55 -24
  18. tccli/examples/lcic/v20220817/DescribeGroupList.md +79 -9
  19. tccli/examples/vpc/v20170312/CreateNetworkAclEntries.md +30 -0
  20. tccli/examples/vpc/v20170312/DeleteNetworkAclEntries.md +22 -0
  21. tccli/examples/vpc/v20170312/ModifyNetworkAclEntries.md +0 -5
  22. tccli/examples/waf/v20180125/AddAntiFakeUrl.md +46 -0
  23. tccli/examples/waf/v20180125/AddAntiInfoLeakRules.md +26 -0
  24. tccli/examples/waf/v20180125/DeleteAntiFakeUrl.md +21 -0
  25. tccli/examples/waf/v20180125/DeleteAntiInfoLeakRule.md +21 -0
  26. tccli/examples/waf/v20180125/DeleteCCRule.md +23 -0
  27. tccli/examples/waf/v20180125/DescribeAntiFakeRules.md +28 -0
  28. tccli/examples/waf/v20180125/DescribeAntiFakeUrl.md +57 -0
  29. tccli/examples/waf/v20180125/DescribeAntiInfoLeakRules.md +40 -0
  30. tccli/examples/waf/v20180125/DescribeAntiInfoLeakageRules.md +38 -0
  31. tccli/examples/waf/v20180125/DescribeBatchIpAccessControl.md +42 -0
  32. tccli/examples/waf/v20180125/DescribeCCRule.md +71 -0
  33. tccli/examples/waf/v20180125/DescribeCCRuleList.md +36 -0
  34. tccli/examples/waf/v20180125/DescribeSession.md +51 -0
  35. tccli/examples/waf/v20180125/ModifyAntiFakeUrl.md +24 -0
  36. tccli/examples/waf/v20180125/ModifyAntiFakeUrlStatus.md +22 -0
  37. tccli/examples/waf/v20180125/ModifyAntiInfoLeakRuleStatus.md +22 -0
  38. tccli/examples/waf/v20180125/ModifyAntiInfoLeakRules.md +26 -0
  39. tccli/examples/waf/v20180125/ModifyCustomWhiteRuleStatus.md +26 -0
  40. tccli/examples/waf/v20180125/UpsertCCRule.md +95 -0
  41. tccli/examples/waf/v20180125/UpsertSession.md +25 -0
  42. tccli/services/apigateway/v20180808/api.json +22 -2
  43. tccli/services/apigateway/v20180808/examples.json +1 -1
  44. tccli/services/asr/v20190614/api.json +3 -3
  45. tccli/services/bma/v20221115/api.json +27 -6
  46. tccli/services/bma/v20221115/examples.json +2 -2
  47. tccli/services/cdwch/cdwch_client.py +278 -66
  48. tccli/services/cdwch/v20200915/api.json +314 -1
  49. tccli/services/cdwch/v20200915/examples.json +33 -1
  50. tccli/services/cfw/v20190904/api.json +3 -0
  51. tccli/services/cfw/v20190904/examples.json +2 -2
  52. tccli/services/ckafka/v20190819/api.json +83 -15
  53. tccli/services/csip/v20221121/api.json +24 -12
  54. tccli/services/csip/v20221121/examples.json +1 -1
  55. tccli/services/cvm/v20170312/api.json +4 -4
  56. tccli/services/cvm/v20170312/examples.json +1 -1
  57. tccli/services/cwp/v20180228/api.json +20 -2
  58. tccli/services/cynosdb/v20190107/api.json +3 -3
  59. tccli/services/dbbrain/v20210527/api.json +53 -33
  60. tccli/services/dsgc/dsgc_client.py +106 -0
  61. tccli/services/dsgc/v20190723/api.json +414 -46
  62. tccli/services/dsgc/v20190723/examples.json +18 -2
  63. tccli/services/ess/v20201111/api.json +1 -1
  64. tccli/services/faceid/v20180301/api.json +26 -7
  65. tccli/services/faceid/v20180301/examples.json +1 -1
  66. tccli/services/lcic/v20220817/api.json +2 -0
  67. tccli/services/lcic/v20220817/examples.json +10 -4
  68. tccli/services/lighthouse/v20200324/api.json +1 -1
  69. tccli/services/oceanus/v20190422/api.json +122 -36
  70. tccli/services/trtc/v20190722/api.json +3 -3
  71. tccli/services/tsf/v20180326/api.json +26 -8
  72. tccli/services/vod/v20180717/api.json +57 -11
  73. tccli/services/vpc/v20170312/api.json +155 -18
  74. tccli/services/vpc/v20170312/examples.json +19 -3
  75. tccli/services/vpc/vpc_client.py +195 -89
  76. tccli/services/waf/v20180125/api.json +2671 -582
  77. tccli/services/waf/v20180125/examples.json +202 -0
  78. tccli/services/waf/waf_client.py +1365 -305
  79. tccli/services/wedata/v20210820/api.json +40 -30
  80. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/METADATA +2 -2
  81. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/RECORD +84 -56
  82. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/WHEEL +0 -0
  83. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/entry_points.txt +0 -0
  84. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,25 +1,95 @@
1
- **Example 1: 获取群组列表**
1
+ **Example 1: 示例1**
2
2
 
3
- 获取群组列表
3
+ TeacherId和MemberId都不填的返回结果
4
4
 
5
5
  Input:
6
6
 
7
7
  ```
8
- tccli lcic DescribeGroupList --cli-unfold-argument ```
8
+ tccli lcic DescribeGroupList --cli-unfold-argument \
9
+ --SdkAppId 3618809
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "GroupInfos": [
17
+ {
18
+ "GroupId": "cfmsqfu2r378uak93i70",
19
+ "GroupName": "修改测试群组名称",
20
+ "GroupType": 0,
21
+ "SubGroupIds": null,
22
+ "TeacherId": "2LoDvr6M9TvI4x4dMFBpGRzxZXr"
23
+ },
24
+ {
25
+ "GroupId": "cfmst8u2r378uak93i90",
26
+ "GroupName": "批量创建群组1",
27
+ "GroupType": 0,
28
+ "SubGroupIds": null,
29
+ "TeacherId": ""
30
+ },
31
+ {
32
+ "GroupId": "cfmst8u2r378uak93i9g",
33
+ "GroupName": "批量创建群组2",
34
+ "GroupType": 0,
35
+ "SubGroupIds": null,
36
+ "TeacherId": ""
37
+ },
38
+ {
39
+ "GroupId": "cfmthke2r378uak93ii0",
40
+ "GroupName": "测试修改群组",
41
+ "GroupType": 0,
42
+ "SubGroupIds": null,
43
+ "TeacherId": "2LoDvr6M9TvI4x4dMFBpGRzxZXr"
44
+ },
45
+ {
46
+ "GroupId": "cjdipop7qk6r714q0fh0",
47
+ "GroupName": "lukatest",
48
+ "GroupType": 0,
49
+ "SubGroupIds": null,
50
+ "TeacherId": ""
51
+ }
52
+ ],
53
+ "RequestId": "5b261337-70dc-49a9-92cb-820641958626",
54
+ "Total": 5
55
+ }
56
+ }
57
+ ```
58
+
59
+ **Example 2: 示例2**
60
+
61
+ 查询TeacherId的结果
62
+
63
+ Input:
64
+
65
+ ```
66
+ tccli lcic DescribeGroupList --cli-unfold-argument \
67
+ --SdkAppId 3618809 \
68
+ --TeacherId 2LoDvr6M9TvI4x4dMFBpGRzxZXr
69
+ ```
9
70
 
10
71
  Output:
11
72
  ```
12
73
  {
13
74
  "Response": {
14
- "RequestId": "xx",
15
- "Total": 1,
16
75
  "GroupInfos": [
17
76
  {
18
- "GroupId": "adfgdfg",
19
- "GroupName": "test",
20
- "GroupType": 0
77
+ "GroupId": "cfmsqfu2r378uak93i70",
78
+ "GroupName": "修改测试群组名称",
79
+ "GroupType": 0,
80
+ "SubGroupIds": null,
81
+ "TeacherId": "2LoDvr6M9TvI4x4dMFBpGRzxZXr"
82
+ },
83
+ {
84
+ "GroupId": "cfmthke2r378uak93ii0",
85
+ "GroupName": "测试修改群组",
86
+ "GroupType": 0,
87
+ "SubGroupIds": null,
88
+ "TeacherId": "2LoDvr6M9TvI4x4dMFBpGRzxZXr"
21
89
  }
22
- ]
90
+ ],
91
+ "RequestId": "a69c412e-1da6-4d27-bd37-c74a2703f94a",
92
+ "Total": 2
23
93
  }
24
94
  }
25
95
  ```
@@ -0,0 +1,30 @@
1
+ **Example 1: 增量增加三元组ACL规则。**
2
+
3
+ 增量增加三元组ACL规则。
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli vpc CreateNetworkAclEntries --cli-unfold-argument \
9
+ --NetworkAclId acl-12345678 \
10
+ --NetworkAclEntrySet.Ingress.0.Protocol TCP \
11
+ --NetworkAclEntrySet.Ingress.0.Port 80 \
12
+ --NetworkAclEntrySet.Ingress.0.CidrBlock 192.168.0.0/24 \
13
+ --NetworkAclEntrySet.Ingress.0.Action Accept \
14
+ --NetworkAclEntrySet.Ingress.0.Description TEST \
15
+ --NetworkAclEntrySet.Egress.0.Protocol TCP \
16
+ --NetworkAclEntrySet.Egress.0.Port 80 \
17
+ --NetworkAclEntrySet.Egress.0.CidrBlock 192.168.0.0/24 \
18
+ --NetworkAclEntrySet.Egress.0.Action Accept \
19
+ --NetworkAclEntrySet.Egress.0.Description TEST
20
+ ```
21
+
22
+ Output:
23
+ ```
24
+ {
25
+ "Response": {
26
+ "RequestId": "f23d1450-ed00-4442-98d4-be409e625e6c"
27
+ }
28
+ }
29
+ ```
30
+
@@ -0,0 +1,22 @@
1
+ **Example 1: 删除单条IPv4规则**
2
+
3
+ 删除单条IPv4规则
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli vpc DeleteNetworkAclEntries --cli-unfold-argument \
9
+ --NetworkAclId acl-n8w3ppae \
10
+ --NetworkAclEntrySet.Ingress.0.NetworkAclIpv4EntryId acli43-kl90bzxv \
11
+ --NetworkAclEntrySet.Egress.0.NetworkAclIpv4EntryId acli43-25s6gffh
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "RequestId": "fed474df-e6c9-434e-8d07-0ce7e11e7315"
19
+ }
20
+ }
21
+ ```
22
+
@@ -9,13 +9,11 @@ tccli vpc ModifyNetworkAclEntries --cli-unfold-argument \
9
9
  --NetworkAclId acl-12345678 \
10
10
  --NetworkAclEntrySet.Ingress.0.Protocol TCP \
11
11
  --NetworkAclEntrySet.Ingress.0.Description test \
12
- --NetworkAclEntrySet.Ingress.0.ModifyTime xx \
13
12
  --NetworkAclEntrySet.Ingress.0.Action Accept \
14
13
  --NetworkAclEntrySet.Ingress.0.CidrBlock 192.168.1.0/24 \
15
14
  --NetworkAclEntrySet.Ingress.0.Port 80 \
16
15
  --NetworkAclEntrySet.Egress.0.Protocol TCP \
17
16
  --NetworkAclEntrySet.Egress.0.Description test \
18
- --NetworkAclEntrySet.Egress.0.ModifyTime xx \
19
17
  --NetworkAclEntrySet.Egress.0.Action Accept \
20
18
  --NetworkAclEntrySet.Egress.0.CidrBlock 192.168.1.0/24 \
21
19
  --NetworkAclEntrySet.Egress.0.Port 80
@@ -41,13 +39,11 @@ tccli vpc ModifyNetworkAclEntries --cli-unfold-argument \
41
39
  --NetworkAclId acl-12345678 \
42
40
  --NetworkAclEntrySet.Ingress.0.Protocol TCP \
43
41
  --NetworkAclEntrySet.Ingress.0.Description test \
44
- --NetworkAclEntrySet.Ingress.0.ModifyTime xx \
45
42
  --NetworkAclEntrySet.Ingress.0.Action Accept \
46
43
  --NetworkAclEntrySet.Ingress.0.CidrBlock 192.168.1.0/24 \
47
44
  --NetworkAclEntrySet.Ingress.0.Port 442 \
48
45
  --NetworkAclEntrySet.Ingress.1.Protocol TCP \
49
46
  --NetworkAclEntrySet.Ingress.1.Description test \
50
- --NetworkAclEntrySet.Ingress.1.ModifyTime xx \
51
47
  --NetworkAclEntrySet.Ingress.1.Action Accept \
52
48
  --NetworkAclEntrySet.Ingress.1.CidrBlock 192.168.1.0/24 \
53
49
  --NetworkAclEntrySet.Ingress.1.Port 80
@@ -76,7 +72,6 @@ tccli vpc ModifyNetworkAclEntries --cli-unfold-argument \
76
72
  --NetworkAclId acl-12345678 \
77
73
  --NetworkAclEntrySet.Ingress.0.Protocol TCP \
78
74
  --NetworkAclEntrySet.Ingress.0.Description test \
79
- --NetworkAclEntrySet.Ingress.0.ModifyTime xx \
80
75
  --NetworkAclEntrySet.Ingress.0.Action Accept \
81
76
  --NetworkAclEntrySet.Ingress.0.CidrBlock 192.168.1.0/24 \
82
77
  --NetworkAclEntrySet.Ingress.0.Port 80
@@ -0,0 +1,46 @@
1
+ **Example 1: 添加防篡改url**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf AddAntiFakeUrl --cli-unfold-argument \
9
+ --Domain www.test.com \
10
+ --Name test \
11
+ --Uri http://zanyang.qcloudwaf.com/index.html
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "RequestId": "09f0ad6a-cca6-4652-9be0-723d474c2d84",
19
+ "Result": "failure"
20
+ }
21
+ }
22
+ ```
23
+
24
+ **Example 2: 添加成功**
25
+
26
+
27
+
28
+ Input:
29
+
30
+ ```
31
+ tccli waf AddAntiFakeUrl --cli-unfold-argument \
32
+ --Domain www.test1.com \
33
+ --Name test \
34
+ --Uri http://www.test1.com/a1.html
35
+ ```
36
+
37
+ Output:
38
+ ```
39
+ {
40
+ "Response": {
41
+ "RequestId": "ce58ce20-e508-4c68-9a55-18233f703e6f",
42
+ "Result": "success"
43
+ }
44
+ }
45
+ ```
46
+
@@ -0,0 +1,26 @@
1
+ **Example 1: 添加信息防泄漏规则**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf AddAntiInfoLeakRules --cli-unfold-argument \
9
+ --Domain www.test1.com \
10
+ --Name test \
11
+ --ActionType 1 \
12
+ --Strategies.0.Field information \
13
+ --Strategies.0.CompareFunc contains \
14
+ --Strategies.0.Content idcard \
15
+ --Uri http://www.test1.com/123.txt
16
+ ```
17
+
18
+ Output:
19
+ ```
20
+ {
21
+ "Response": {
22
+ "RequestId": "1a16a333-76ac-42f5-8066-c0ea93cc8dc7"
23
+ }
24
+ }
25
+ ```
26
+
@@ -0,0 +1,21 @@
1
+ **Example 1: 删除防篡改url**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf DeleteAntiFakeUrl --cli-unfold-argument \
9
+ --Domain www.test.com \
10
+ --Id 123
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "RequestId": "8c20d0a3-9539-4ef8-aea1-06b5ce29e0c9"
18
+ }
19
+ }
20
+ ```
21
+
@@ -0,0 +1,21 @@
1
+ **Example 1: 信息防泄漏删除规则**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf DeleteAntiInfoLeakRule --cli-unfold-argument \
9
+ --Domain www.test.com \
10
+ --RuleId 123
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "RequestId": "36809618-b248-46fc-9513-0ecf86675215"
18
+ }
19
+ }
20
+ ```
21
+
@@ -0,0 +1,23 @@
1
+ **Example 1: Waf CC V2 Delete接口**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf DeleteCCRule --cli-unfold-argument \
9
+ --Domain test.com \
10
+ --Name test \
11
+ --Edition clb-waf
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "Data": null,
19
+ "RequestId": "d29f2d93-b894-4c04-b047-ea6470bc0acd"
20
+ }
21
+ }
22
+ ```
23
+
@@ -0,0 +1,28 @@
1
+ **Example 1: 获取防篡改url**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf DescribeAntiFakeRules --cli-unfold-argument \
9
+ --Domain xx \
10
+ --Order xx \
11
+ --Limit 1 \
12
+ --Filters.0.Values xx \
13
+ --Filters.0.Name xx \
14
+ --Filters.0.ExactMatch True \
15
+ --Offset 1 \
16
+ --By xx
17
+ ```
18
+
19
+ Output:
20
+ ```
21
+ {
22
+ "Response": {
23
+ "Data": [],
24
+ "RequestId": "08e8410d-6e80-4d1f-89ff-62669042369d"
25
+ }
26
+ }
27
+ ```
28
+
@@ -0,0 +1,57 @@
1
+ **Example 1: 获取防篡改url**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf DescribeAntiFakeUrl --cli-unfold-argument \
9
+ --Domain www.test.com \
10
+ --PageInfo.PageNumber 0 \
11
+ --PageInfo.PageSize 10
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "List": [],
19
+ "RequestId": "08e8410d-6e80-4d1f-89ff-62669042369d",
20
+ "Total": "0"
21
+ }
22
+ }
23
+ ```
24
+
25
+ **Example 2: 获取配置的防篡改策略--有数据返回场景**
26
+
27
+
28
+
29
+ Input:
30
+
31
+ ```
32
+ tccli waf DescribeAntiFakeUrl --cli-unfold-argument \
33
+ --Domain www.test.com \
34
+ --PageInfo.PageNumber 0 \
35
+ --PageInfo.PageSize 10
36
+ ```
37
+
38
+ Output:
39
+ ```
40
+ {
41
+ "Response": {
42
+ "List": [
43
+ {
44
+ "Domain": "www.test1.com",
45
+ "Id": "135",
46
+ "Name": "test",
47
+ "Protocol": "http",
48
+ "Status": "1",
49
+ "Uri": "http://www.test1.com/a1.html"
50
+ }
51
+ ],
52
+ "RequestId": "0f0d7ca8-2ece-48af-886c-7ef178b5940a",
53
+ "Total": "1"
54
+ }
55
+ }
56
+ ```
57
+
@@ -0,0 +1,40 @@
1
+ **Example 1: 获取信息防泄漏规则列表**
2
+
3
+ 获取信息防泄漏规则列表
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf DescribeAntiInfoLeakRules --cli-unfold-argument \
9
+ --Domain abc \
10
+ --ActionType 0 \
11
+ --PageInfo.PageNumber abc \
12
+ --PageInfo.PageSize abc
13
+ ```
14
+
15
+ Output:
16
+ ```
17
+ {
18
+ "Response": {
19
+ "TotalCount": "abc",
20
+ "RuleList": [
21
+ {
22
+ "RuleId": "abc",
23
+ "Name": "abc",
24
+ "Status": "abc",
25
+ "ActionType": "abc",
26
+ "CreateTime": "abc",
27
+ "Strategies": [
28
+ {
29
+ "Field": "abc",
30
+ "CompareFunc": "abc",
31
+ "Content": "abc"
32
+ }
33
+ ]
34
+ }
35
+ ],
36
+ "RequestId": "abc"
37
+ }
38
+ }
39
+ ```
40
+
@@ -0,0 +1,38 @@
1
+ **Example 1: 获取信息防泄漏规则列表**
2
+
3
+ 获取信息防泄漏规则列表
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf DescribeAntiInfoLeakageRules --cli-unfold-argument \
9
+ --Domain xx
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "Total": 1,
17
+ "RequestId": "xx",
18
+ "RuleList": [
19
+ {
20
+ "Status": 1,
21
+ "Name": "xx",
22
+ "RuleId": 1,
23
+ "Uri": "xx",
24
+ "Action": "xx",
25
+ "Strategies": [
26
+ {
27
+ "Content": "xx",
28
+ "Field": "xx",
29
+ "CompareFunc": "xx"
30
+ }
31
+ ],
32
+ "CreateTime": "xx"
33
+ }
34
+ ]
35
+ }
36
+ }
37
+ ```
38
+
@@ -0,0 +1,42 @@
1
+ **Example 1: Waf 多域名ip黑白名单查询**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf DescribeBatchIpAccessControl --cli-unfold-argument \
9
+ --Sort ts_version:-1 \
10
+ --Limit 20 \
11
+ --Filters.0.Values Domain \
12
+ --Filters.0.Name www.q.com \
13
+ --Filters.0.ExactMatch True \
14
+ --OffSet 0
15
+ ```
16
+
17
+ Output:
18
+ ```
19
+ {
20
+ "Response": {
21
+ "Data": {
22
+ "Res": [
23
+ {
24
+ "ActionType": 42,
25
+ "Ip": "1.1.1.1",
26
+ "Note": "",
27
+ "Source": "custom",
28
+ "TsVersion": 1579074751421,
29
+ "ValidTs": 1579017599,
30
+ "Hosts": [
31
+ "www.q.com",
32
+ "www.b.com"
33
+ ]
34
+ }
35
+ ],
36
+ "TotalCount": 1
37
+ },
38
+ "RequestId": "c937ce96-cf53-4df8-b288-07c6e092072d"
39
+ }
40
+ }
41
+ ```
42
+
@@ -0,0 +1,71 @@
1
+ **Example 1: Waf CC V2 Query接口 无数据返回场景**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf DescribeCCRule --cli-unfold-argument \
9
+ --Domain www.test.com \
10
+ --Limit 10 \
11
+ --Offset 0 \
12
+ --Edition clb-waf \
13
+ --Sort priority:1;ts_version:-1
14
+ ```
15
+
16
+ Output:
17
+ ```
18
+ {
19
+ "Response": {
20
+ "Data": {
21
+ "Res": [],
22
+ "TotalCount": 0
23
+ },
24
+ "RequestId": "b22fc98c-6c4f-4716-b043-f11ccbffde70"
25
+ }
26
+ }
27
+ ```
28
+
29
+ **Example 2: Waf CC V2 Query接口 有数据返回场景**
30
+
31
+
32
+
33
+ Input:
34
+
35
+ ```
36
+ tccli waf DescribeCCRule --cli-unfold-argument \
37
+ --Domain test.com \
38
+ --Limit 10 \
39
+ --Offset 0 \
40
+ --Edition clb-waf \
41
+ --Sort priority:1;ts_version:-1
42
+ ```
43
+
44
+ Output:
45
+ ```
46
+ {
47
+ "Response": {
48
+ "Data": {
49
+ "Res": [
50
+ {
51
+ "ActionType": 22,
52
+ "Advance": 0,
53
+ "Interval": 60,
54
+ "Limit": 60,
55
+ "MatchFunc": 0,
56
+ "Name": "test1",
57
+ "OptionsArr": "[{\"key\":\"get\",\"args\":[\"=\"]}]",
58
+ "Priority": 50,
59
+ "Status": 1,
60
+ "TsVersion": 1579058116920,
61
+ "Url": "///",
62
+ "ValidTime": 600
63
+ }
64
+ ],
65
+ "TotalCount": 1
66
+ },
67
+ "RequestId": "1cc54bf4-cfeb-40cc-a823-035e52106df9"
68
+ }
69
+ }
70
+ ```
71
+
@@ -0,0 +1,36 @@
1
+ **Example 1: 根据URL查询API规则**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf DescribeCCRuleList --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "RequestId": "1cc54bf4-cfeb-40cc-a823-035e52106df9"
15
+ }
16
+ }
17
+ ```
18
+
19
+ **Example 2: test1**
20
+
21
+
22
+
23
+ Input:
24
+
25
+ ```
26
+ tccli waf DescribeCCRuleList --cli-unfold-argument ```
27
+
28
+ Output:
29
+ ```
30
+ {
31
+ "Response": {
32
+ "RequestId": "41b55f8b-1ed1-484c-aab7-c14c0889f78b"
33
+ }
34
+ }
35
+ ```
36
+