tccli 3.0.1141.1__py2.py3-none-any.whl → 3.0.1143.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/aiart/aiart_client.py +53 -0
- tccli/services/aiart/v20221229/api.json +108 -0
- tccli/services/aiart/v20221229/examples.json +8 -0
- tccli/services/clb/v20180317/api.json +37 -37
- tccli/services/csip/v20221121/api.json +158 -159
- tccli/services/csip/v20221121/examples.json +12 -12
- tccli/services/dcdb/v20180411/api.json +21 -11
- tccli/services/dts/v20211206/api.json +11 -0
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +6 -8
- tccli/services/gaap/gaap_client.py +61 -8
- tccli/services/gaap/v20180529/api.json +52 -0
- tccli/services/gaap/v20180529/examples.json +8 -0
- tccli/services/ims/v20201229/api.json +2 -2
- tccli/services/mariadb/v20170312/api.json +21 -11
- tccli/services/monitor/v20180724/api.json +9 -0
- tccli/services/ocr/v20181119/api.json +41 -4
- tccli/services/ocr/v20181119/examples.json +2 -2
- tccli/services/organization/v20210331/api.json +2 -2
- tccli/services/redis/v20180412/api.json +29 -29
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/scf/v20180416/api.json +0 -1
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/ssl/v20191205/examples.json +2 -2
- tccli/services/tdmq/v20200217/api.json +22 -3
- tccli/services/tdmq/v20200217/examples.json +2 -2
- tccli/services/teo/v20220901/api.json +76 -13
- tccli/services/teo/v20220901/examples.json +6 -0
- tccli/services/tmt/v20180321/api.json +36 -0
- tccli/services/tmt/v20180321/examples.json +6 -0
- tccli/services/vpc/v20170312/api.json +87 -6
- tccli/services/vpc/v20170312/examples.json +4 -4
- tccli/services/waf/v20180125/api.json +273 -222
- tccli/services/waf/v20180125/examples.json +14 -14
- {tccli-3.0.1141.1.dist-info → tccli-3.0.1143.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1141.1.dist-info → tccli-3.0.1143.1.dist-info}/RECORD +40 -40
- {tccli-3.0.1141.1.dist-info → tccli-3.0.1143.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1141.1.dist-info → tccli-3.0.1143.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1141.1.dist-info → tccli-3.0.1143.1.dist-info}/license_files/LICENSE +0 -0
@@ -154,10 +154,10 @@
|
|
154
154
|
],
|
155
155
|
"DescribeRiskCenterAssetViewPortRiskList": [
|
156
156
|
{
|
157
|
-
"document": "
|
158
|
-
"input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterAssetViewPortRiskList\n<公共请求参数>\n\n{\n \"
|
159
|
-
"output": "{\n \"Response\": {\n \"
|
160
|
-
"title": "
|
157
|
+
"document": "获取资产视角的端口风险列表",
|
158
|
+
"input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskCenterAssetViewPortRiskList\n<公共请求参数>\n\n{\n \"Filter\": {\n \"Limit\": 1\n }\n}",
|
159
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"AffectAsset\": \"1.1.1.1\",\n \"AppId\": \"abcd\",\n \"Component\": \"OpenSSH\",\n \"FirstTime\": \"2024-04-19 16:14:02\",\n \"From\": \"云安全中心\",\n \"Id\": \"b6d76******\",\n \"Index\": \"1654******\",\n \"InstanceId\": \"ins-*****\",\n \"InstanceName\": \"abcd\",\n \"InstanceType\": \"CVM\",\n \"Level\": \"middle\",\n \"Nick\": \"abcd\",\n \"Port\": 22,\n \"Protocol\": \"tcp\",\n \"RecentTime\": \"2024-06-07 14:22:58\",\n \"Service\": \"ssh\",\n \"Status\": 3,\n \"Suggestion\": 1,\n \"Uin\": \"abcd\"\n }\n ],\n \"FromLists\": [\n {\n \"Text\": \"云安全中心\",\n \"Value\": \"0\"\n },\n {\n \"Text\": \"流量感知\",\n \"Value\": \"3\"\n }\n ],\n \"InstanceTypeLists\": [\n {\n \"Text\": \"CLB\",\n \"Value\": \"CLB\"\n },\n {\n \"Text\": \"CVM\",\n \"Value\": \"CVM\"\n },\n {\n \"Text\": \"EIP\",\n \"Value\": \"EIP\"\n },\n {\n \"Text\": \"VPN\",\n \"Value\": \"VPN\"\n },\n {\n \"Text\": \"NAT\",\n \"Value\": \"NAT\"\n },\n {\n \"Text\": \"OTHER\",\n \"Value\": \"OTHER\"\n },\n {\n \"Text\": \"LH\",\n \"Value\": \"LH\"\n },\n {\n \"Text\": \"HAVIP\",\n \"Value\": \"HAVIP\"\n },\n {\n \"Text\": \"NATFW\",\n \"Value\": \"NATFW\"\n },\n {\n \"Text\": \"未知\",\n \"Value\": \"unknown\"\n },\n {\n \"Text\": \"PROBE\",\n \"Value\": \"PROBE\"\n },\n {\n \"Text\": \"TSE\",\n \"Value\": \"TSE\"\n },\n {\n \"Text\": \"EC2\",\n \"Value\": \"EC2\"\n }\n ],\n \"LevelLists\": [\n {\n \"Text\": \"严重\",\n \"Value\": \"extreme\"\n },\n {\n \"Text\": \"高危\",\n \"Value\": \"high\"\n },\n {\n \"Text\": \"中危\",\n \"Value\": \"middle\"\n },\n {\n \"Text\": \"低危\",\n \"Value\": \"low\"\n },\n {\n \"Text\": \"提示\",\n \"Value\": \"info\"\n }\n ],\n \"RequestId\": \"c95a495b-e2cb-4449-b101-1848c421aadd\",\n \"StatusLists\": [\n {\n \"Text\": \"已封禁\",\n \"Value\": \"3\"\n },\n {\n \"Text\": \"未处理\",\n \"Value\": \"0\"\n },\n {\n \"Text\": \"标记已处置\",\n \"Value\": \"1\"\n },\n {\n \"Text\": \"已忽略\",\n \"Value\": \"2\"\n }\n ],\n \"SuggestionLists\": [\n {\n \"Text\": \"保持现状\",\n \"Value\": \"0\"\n },\n {\n \"Text\": \"限制访问\",\n \"Value\": \"1\"\n },\n {\n \"Text\": \"封禁端口\",\n \"Value\": \"2\"\n }\n ],\n \"TotalCount\": 42\n }\n}",
|
160
|
+
"title": "获取资产视角的端口风险列表"
|
161
161
|
}
|
162
162
|
],
|
163
163
|
"DescribeRiskCenterAssetViewVULRiskList": [
|
@@ -211,8 +211,8 @@
|
|
211
211
|
"DescribeScanReportList": [
|
212
212
|
{
|
213
213
|
"document": "获取扫描报告列表",
|
214
|
-
"input": "
|
215
|
-
"output": "{\n \"Response\": {\n \"
|
214
|
+
"input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScanReportList\n<公共请求参数>\n\n{\n \"Filter\": {\n \"Limit\": 1\n }\n}",
|
215
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"AppId\": \"1300*****\",\n \"AssetCount\": 33,\n \"Progress\": 100,\n \"ReportId\": \"rpt-**********\",\n \"ReportName\": \"标准体检_标准体检_*********\",\n \"ScanPlan\": 0,\n \"Status\": 2,\n \"TaskId\": \"rmis-*********\",\n \"TaskName\": \"标准体检_**********\",\n \"TaskTime\": \"2024-07-01 00:19:17\",\n \"UIN\": \"100**********\",\n \"UserName\": \"天******\"\n }\n ],\n \"RequestId\": \"3d9b475f-**********\",\n \"TotalCount\": 22,\n \"UINList\": [\n \"100*****\"\n ]\n }\n}",
|
216
216
|
"title": "获取扫描报告列表"
|
217
217
|
}
|
218
218
|
],
|
@@ -242,10 +242,10 @@
|
|
242
242
|
],
|
243
243
|
"DescribeTaskLogList": [
|
244
244
|
{
|
245
|
-
"document": "
|
246
|
-
"input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskLogList\n<公共请求参数>\n\n{}",
|
247
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"AppId\": \"
|
248
|
-
"title": "
|
245
|
+
"document": "获取任务扫描报告列表",
|
246
|
+
"input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskLogList\n<公共请求参数>\n\n{\n \"Filter\": {\n \"Limit\": 1\n }\n}",
|
247
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"AppId\": \"130*****\",\n \"AssetsNumber\": 33,\n \"ReportType\": 1,\n \"RiskNumber\": 45,\n \"StartTime\": \"2024-07-01 00:00:15\",\n \"Status\": 2,\n \"TaskCenterTaskId\": \"rmis-************\",\n \"TaskLogId\": \"rpt-*********\",\n \"TaskLogName\": \"标准体检_*********\",\n \"TaskName\": \"标准体检_***********\",\n \"TemplateId\": 2,\n \"Time\": \"2024-07-01 00:19:17\",\n \"UIN\": \"1000******\",\n \"UserName\": \"天******\"\n }\n ],\n \"NotViewNumber\": 42,\n \"ReportTemplateNumber\": 1,\n \"RequestId\": \"04355839-***********\",\n \"TotalCount\": 51\n }\n}",
|
248
|
+
"title": "获取任务扫描报告列表"
|
249
249
|
}
|
250
250
|
],
|
251
251
|
"DescribeTaskLogURL": [
|
@@ -323,8 +323,8 @@
|
|
323
323
|
"StopRiskCenterTask": [
|
324
324
|
{
|
325
325
|
"document": "停止扫风险中心扫描任务",
|
326
|
-
"input": "{\n
|
327
|
-
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"
|
326
|
+
"input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopRiskCenterTask\n<公共请求参数>\n\n{\n \"MemberId\": [\n \"abcd\"\n ],\n \"TaskIdList\": [\n {\n \"TaskId\": \"rmis-abcd\"\n }\n ]\n}",
|
327
|
+
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"abcd\"\n }\n}",
|
328
328
|
"title": "停止扫风险中心扫描任务"
|
329
329
|
}
|
330
330
|
],
|
@@ -6534,7 +6534,7 @@
|
|
6534
6534
|
"example": "tdsqlshard-xxx",
|
6535
6535
|
"member": "string",
|
6536
6536
|
"name": "InstanceId",
|
6537
|
-
"
|
6537
|
+
"output_required": true,
|
6538
6538
|
"type": "string",
|
6539
6539
|
"value_allowed_null": false
|
6540
6540
|
},
|
@@ -6544,7 +6544,7 @@
|
|
6544
6544
|
"example": "tdsqlshard-xxx",
|
6545
6545
|
"member": "string",
|
6546
6546
|
"name": "InstanceName",
|
6547
|
-
"
|
6547
|
+
"output_required": true,
|
6548
6548
|
"type": "string",
|
6549
6549
|
"value_allowed_null": false
|
6550
6550
|
},
|
@@ -6554,7 +6554,7 @@
|
|
6554
6554
|
"example": "2",
|
6555
6555
|
"member": "int64",
|
6556
6556
|
"name": "InstanceStatus",
|
6557
|
-
"
|
6557
|
+
"output_required": true,
|
6558
6558
|
"type": "int",
|
6559
6559
|
"value_allowed_null": false
|
6560
6560
|
},
|
@@ -6564,7 +6564,7 @@
|
|
6564
6564
|
"example": "shard-xxx",
|
6565
6565
|
"member": "string",
|
6566
6566
|
"name": "ShardId",
|
6567
|
-
"
|
6567
|
+
"output_required": true,
|
6568
6568
|
"type": "string",
|
6569
6569
|
"value_allowed_null": false
|
6570
6570
|
},
|
@@ -6574,7 +6574,7 @@
|
|
6574
6574
|
"example": "/backup/xxx.lz4",
|
6575
6575
|
"member": "string",
|
6576
6576
|
"name": "FilePath",
|
6577
|
-
"
|
6577
|
+
"output_required": true,
|
6578
6578
|
"type": "string",
|
6579
6579
|
"value_allowed_null": false
|
6580
6580
|
},
|
@@ -6584,7 +6584,7 @@
|
|
6584
6584
|
"example": "xxx.lz4",
|
6585
6585
|
"member": "string",
|
6586
6586
|
"name": "FileName",
|
6587
|
-
"
|
6587
|
+
"output_required": true,
|
6588
6588
|
"type": "string",
|
6589
6589
|
"value_allowed_null": false
|
6590
6590
|
},
|
@@ -6594,7 +6594,7 @@
|
|
6594
6594
|
"example": "1",
|
6595
6595
|
"member": "int64",
|
6596
6596
|
"name": "FileSize",
|
6597
|
-
"
|
6597
|
+
"output_required": true,
|
6598
6598
|
"type": "int",
|
6599
6599
|
"value_allowed_null": false
|
6600
6600
|
},
|
@@ -6604,7 +6604,7 @@
|
|
6604
6604
|
"example": "Binlog",
|
6605
6605
|
"member": "string",
|
6606
6606
|
"name": "BackupType",
|
6607
|
-
"
|
6607
|
+
"output_required": true,
|
6608
6608
|
"type": "string",
|
6609
6609
|
"value_allowed_null": false
|
6610
6610
|
},
|
@@ -6614,7 +6614,7 @@
|
|
6614
6614
|
"example": "0",
|
6615
6615
|
"member": "int64",
|
6616
6616
|
"name": "ManualBackup",
|
6617
|
-
"
|
6617
|
+
"output_required": true,
|
6618
6618
|
"type": "int",
|
6619
6619
|
"value_allowed_null": false
|
6620
6620
|
},
|
@@ -6624,7 +6624,7 @@
|
|
6624
6624
|
"example": "2022-05-10 12:00:00",
|
6625
6625
|
"member": "string",
|
6626
6626
|
"name": "StartTime",
|
6627
|
-
"
|
6627
|
+
"output_required": true,
|
6628
6628
|
"type": "string",
|
6629
6629
|
"value_allowed_null": false
|
6630
6630
|
},
|
@@ -6634,7 +6634,17 @@
|
|
6634
6634
|
"example": "2022-05-10 12:00:00",
|
6635
6635
|
"member": "string",
|
6636
6636
|
"name": "EndTime",
|
6637
|
-
"
|
6637
|
+
"output_required": true,
|
6638
|
+
"type": "string",
|
6639
|
+
"value_allowed_null": false
|
6640
|
+
},
|
6641
|
+
{
|
6642
|
+
"disabled": false,
|
6643
|
+
"document": "对象的存储类型,枚举值:STANDARD(标准存储)、ARCHIVE(归档存储)。",
|
6644
|
+
"example": "STANDARD",
|
6645
|
+
"member": "string",
|
6646
|
+
"name": "StorageClass",
|
6647
|
+
"output_required": true,
|
6638
6648
|
"type": "string",
|
6639
6649
|
"value_allowed_null": false
|
6640
6650
|
}
|
@@ -5904,6 +5904,17 @@
|
|
5904
5904
|
"required": false,
|
5905
5905
|
"type": "string",
|
5906
5906
|
"value_allowed_null": true
|
5907
|
+
},
|
5908
|
+
{
|
5909
|
+
"disabled": false,
|
5910
|
+
"document": "tdsql的分片id。如节点类型为set必填。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5911
|
+
"example": "set_1693279393_1(s1)",
|
5912
|
+
"member": "string",
|
5913
|
+
"name": "SetId",
|
5914
|
+
"output_required": false,
|
5915
|
+
"required": false,
|
5916
|
+
"type": "string",
|
5917
|
+
"value_allowed_null": true
|
5907
5918
|
}
|
5908
5919
|
],
|
5909
5920
|
"usage": "both"
|
@@ -1873,7 +1873,7 @@
|
|
1873
1873
|
},
|
1874
1874
|
{
|
1875
1875
|
"disabled": false,
|
1876
|
-
"document": "控件填充vaule,ComponentType和传入值类型对应关系:\n<ul><li> <b>TEXT</b> : 文本内容</li>\n<li> <b>MULTI_LINE_TEXT</b> : 文本内容,可以用 \\n 来控制换行位置 </li>\n<li> <b>CHECK_BOX</b> : true/false</li>\n<li> <b>FILL_IMAGE、ATTACHMENT</b> : 附件的FileId,需要通过UploadFiles接口上传获取</li>\n<li> <b>SELECTOR</b> : 选项值</li>\n<li> <b>DYNAMIC_TABLE</b> - 传入json格式的表格内容,详见说明:[数据表格](https://qian.tencent.com/developers/company/dynamic_table)</li>\n<li> <b>DATE</b> : 格式化为:xxxx年xx月xx日(例如2024年05年28日)</li>\n<li> <b>SIGN_SEAL</b> : 印章ID,于控制台查询获取, [点击查看在控制台上位置](https://qcloudimg.tencent-cloud.cn/raw/f7b0f2ea4a534aada4b893dbf9671eae.png)</li>\n<li> <b>SIGN_PAGING_SEAL</b> : 可以指定印章ID,于控制台查询获取, [点击查看在控制台上位置](https://qcloudimg.tencent-cloud.cn/raw/f7b0f2ea4a534aada4b893dbf9671eae.png)</li></ul>\n\n\n<b>控件值约束说明</b>:\n<table> <thead> <tr> <th>特殊控件</th> <th>填写约束</th> </tr> </thead> <tbody> <tr> <td>企业全称控件</td> <td>企业名称中文字符中文括号</td> </tr> <tr> <td>统一社会信用代码控件</td> <td>企业注册的统一社会信用代码</td> </tr> <tr> <td>法人名称控件</td> <td>最大50个字符,2到25个汉字或者1到50个字母</td> </tr> <tr> <td>签署意见控件</td> <td>签署意见最大长度为50字符</td> </tr> <tr> <td>签署人手机号控件</td> <td>国内手机号 13,14,15,16,17,18,19号段长度11位</td> </tr> <tr> <td>签署人身份证控件</td> <td>合法的身份证号码检查</td> </tr> <tr> <td>控件名称</td> <td>控件名称最大长度为20字符,不支持表情</td> </tr> <tr> <td>单行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>多行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>勾选框控件</td> <td>选择填字符串true,不选填字符串false</td> </tr> <tr> <td>选择器控件</td> <td>同单行文本控件约束,填写选择值中的字符串</td> </tr> <tr> <td>数字控件</td> <td>请输入有效的数字(可带小数点)</td> </tr> <tr> <td>日期控件</td> <td>格式:yyyy年mm月dd日</td> </tr> <tr> <td>附件控件</td> <td>JPG或PNG图片,上传数量限制,1到6个,最大6个附件,填写上传的资源ID</td> </tr> <tr> <td>图片控件</td> <td>JPG或PNG图片,填写上传的图片资源ID</td> </tr> <tr> <td>邮箱控件</td> <td>有效的邮箱地址, w3c标准</td> </tr> <tr> <td>地址控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>省市区控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>性别控件</td> <td>选择值中的字符串</td> </tr> <tr> <td>学历控件</td> <td>选择值中的字符串</td> </tr> </tbody> </table>\n注: `部分特殊控件需要在控制台配置模板形式创建`",
|
1876
|
+
"document": "控件填充vaule,ComponentType和传入值类型对应关系:\n<ul><li> <b>TEXT</b> : 文本内容</li>\n<li> <b>MULTI_LINE_TEXT</b> : 文本内容,可以用 \\n 来控制换行位置 </li>\n<li> <b>CHECK_BOX</b> : true/false</li>\n<li> <b>FILL_IMAGE、ATTACHMENT</b> : 附件的FileId,需要通过UploadFiles接口上传获取</li>\n<li> <b>SELECTOR</b> : 选项值</li>\n<li> <b>DYNAMIC_TABLE</b> - 传入json格式的表格内容,详见说明:[数据表格](https://qian.tencent.com/developers/company/dynamic_table)</li>\n<li> <b>DATE</b> : 格式化为:xxxx年xx月xx日(例如2024年05年28日)</li>\n<li> <b>SIGN_SEAL</b> : 印章ID,于控制台查询获取, [点击查看在控制台上位置](https://qcloudimg.tencent-cloud.cn/raw/f7b0f2ea4a534aada4b893dbf9671eae.png)</li>\n<li> <b>SIGN_PAGING_SEAL</b> : 可以指定印章ID,于控制台查询获取, [点击查看在控制台上位置](https://qcloudimg.tencent-cloud.cn/raw/f7b0f2ea4a534aada4b893dbf9671eae.png)</li></ul>\n\n\n<b>控件值约束说明</b>:\n<table> <thead> <tr> <th>特殊控件</th> <th>填写约束</th> </tr> </thead> <tbody> <tr> <td>企业全称控件</td> <td>企业名称中文字符中文括号</td> </tr> <tr> <td>统一社会信用代码控件</td> <td>企业注册的统一社会信用代码</td> </tr> <tr> <td>法人名称控件</td> <td>最大50个字符,2到25个汉字或者1到50个字母</td> </tr> <tr> <td>签署意见控件</td> <td>签署意见最大长度为50字符</td> </tr> <tr> <td>签署人手机号控件</td> <td>国内手机号 13,14,15,16,17,18,19号段长度11位</td> </tr> <tr> <td>签署人身份证控件</td> <td>合法的身份证号码检查</td> </tr> <tr> <td>控件名称</td> <td>控件名称最大长度为20字符,不支持表情</td> </tr> <tr> <td>单行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>多行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>勾选框控件</td> <td>选择填字符串true,不选填字符串false</td> </tr> <tr> <td>选择器控件</td> <td>同单行文本控件约束,填写选择值中的字符串</td> </tr> <tr> <td>数字控件</td> <td>请输入有效的数字(可带小数点)</td> </tr> <tr> <td>日期控件</td> <td>格式:yyyy年mm月dd日</td> </tr> <tr> <td>附件控件</td> <td>JPG或PNG图片,上传数量限制,1到6个,最大6个附件,填写上传的资源ID</td> </tr> <tr> <td>图片控件</td> <td>JPG或PNG图片,填写上传的图片资源ID</td> </tr> <tr> <td>邮箱控件</td> <td>有效的邮箱地址, w3c标准</td> </tr> <tr> <td>地址控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>省市区控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>性别控件</td> <td>选择值中的字符串</td> </tr> <tr> <td>学历控件</td> <td>选择值中的字符串</td> </tr> <tr> <td>水印控件</td> <td>水印控件设置为CUSTOM_WATERMARK类型时的水印内容</td> </tr> </tbody> </table>\n注: `部分特殊控件需要在控制台配置模板形式创建`",
|
1877
1877
|
"example": "无",
|
1878
1878
|
"member": "string",
|
1879
1879
|
"name": "ComponentValue",
|
@@ -5637,7 +5637,7 @@
|
|
5637
5637
|
},
|
5638
5638
|
{
|
5639
5639
|
"disabled": false,
|
5640
|
-
"document": "控件填充vaule,ComponentType和传入值类型对应关系:\n<ul><li> <b>TEXT</b> : 文本内容</li>\n<li> <b>MULTI_LINE_TEXT</b> : 文本内容, 可以用 \\n 来控制换行位置</li>\n<li> <b>CHECK_BOX</b> : true/false</li>\n<li> <b>FILL_IMAGE、ATTACHMENT</b> : 附件的FileId,需要通过UploadFiles接口上传获取</li>\n<li> <b>SELECTOR</b> : 选项值</li>\n<li> <b>DYNAMIC_TABLE</b> - 传入json格式的表格内容,详见说明:[数据表格](https://qian.tencent.com/developers/company/dynamic_table)</li>\n<li> <b>DATE</b> : 格式化:xxxx年xx月xx日(例如:2024年05月28日)</li>\n<li> <b>SIGN_SEAL</b> : 印章ID,于控制台查询获取,[点击查看在控制上的位置](https://qcloudimg.tencent-cloud.cn/raw/cd403a5b949fce197fd9e88bb6db1517.png)</li>\n<li> <b>SIGN_PAGING_SEAL</b> : 可以指定印章ID,于控制台查询获取,[点击查看在控制上的位置](https://qcloudimg.tencent-cloud.cn/raw/cd403a5b949fce197fd9e88bb6db1517.png)</li></ul>\n\n\n<b>控件值约束说明</b>:\n<table> <thead> <tr> <th>特殊控件</th> <th>填写约束</th> </tr> </thead> <tbody> <tr> <td>企业全称控件</td> <td>企业名称中文字符中文括号</td> </tr> <tr> <td>统一社会信用代码控件</td> <td>企业注册的统一社会信用代码</td> </tr> <tr> <td>法人名称控件</td> <td>最大50个字符,2到25个汉字或者1到50个字母</td> </tr> <tr> <td>签署意见控件</td> <td>签署意见最大长度为50字符</td> </tr> <tr> <td>签署人手机号控件</td> <td>国内手机号 13,14,15,16,17,18,19号段长度11位</td> </tr> <tr> <td>签署人身份证控件</td> <td>合法的身份证号码检查</td> </tr> <tr> <td>控件名称</td> <td>控件名称最大长度为20字符,不支持表情</td> </tr> <tr> <td>单行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>多行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>勾选框控件</td> <td>选择填字符串true,不选填字符串false</td> </tr> <tr> <td>选择器控件</td> <td>同单行文本控件约束,填写选择值中的字符串</td> </tr> <tr> <td>数字控件</td> <td>请输入有效的数字(可带小数点)</td> </tr> <tr> <td>日期控件</td> <td>格式:yyyy年mm月dd日</td> </tr> <tr> <td>附件控件</td> <td>JPG或PNG图片,上传数量限制,1到6个,最大6个附件,填写上传的资源ID</td> </tr> <tr> <td>图片控件</td> <td>JPG或PNG图片,填写上传的图片资源ID</td> </tr> <tr> <td>邮箱控件</td> <td>有效的邮箱地址, w3c标准</td> </tr> <tr> <td>地址控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>省市区控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>性别控件</td> <td>选择值中的字符串</td> </tr> <tr> <td>学历控件</td> <td>选择值中的字符串</td> </tr> </tbody> </table>\n注: `部分特殊控件需要在控制台配置模板形式创建`",
|
5640
|
+
"document": "控件填充vaule,ComponentType和传入值类型对应关系:\n<ul><li> <b>TEXT</b> : 文本内容</li>\n<li> <b>MULTI_LINE_TEXT</b> : 文本内容, 可以用 \\n 来控制换行位置</li>\n<li> <b>CHECK_BOX</b> : true/false</li>\n<li> <b>FILL_IMAGE、ATTACHMENT</b> : 附件的FileId,需要通过UploadFiles接口上传获取</li>\n<li> <b>SELECTOR</b> : 选项值</li>\n<li> <b>DYNAMIC_TABLE</b> - 传入json格式的表格内容,详见说明:[数据表格](https://qian.tencent.com/developers/company/dynamic_table)</li>\n<li> <b>DATE</b> : 格式化:xxxx年xx月xx日(例如:2024年05月28日)</li>\n<li> <b>SIGN_SEAL</b> : 印章ID,于控制台查询获取,[点击查看在控制上的位置](https://qcloudimg.tencent-cloud.cn/raw/cd403a5b949fce197fd9e88bb6db1517.png)</li>\n<li> <b>SIGN_PAGING_SEAL</b> : 可以指定印章ID,于控制台查询获取,[点击查看在控制上的位置](https://qcloudimg.tencent-cloud.cn/raw/cd403a5b949fce197fd9e88bb6db1517.png)</li></ul>\n\n\n<b>控件值约束说明</b>:\n<table> <thead> <tr> <th>特殊控件</th> <th>填写约束</th> </tr> </thead> <tbody> <tr> <td>企业全称控件</td> <td>企业名称中文字符中文括号</td> </tr> <tr> <td>统一社会信用代码控件</td> <td>企业注册的统一社会信用代码</td> </tr> <tr> <td>法人名称控件</td> <td>最大50个字符,2到25个汉字或者1到50个字母</td> </tr> <tr> <td>签署意见控件</td> <td>签署意见最大长度为50字符</td> </tr> <tr> <td>签署人手机号控件</td> <td>国内手机号 13,14,15,16,17,18,19号段长度11位</td> </tr> <tr> <td>签署人身份证控件</td> <td>合法的身份证号码检查</td> </tr> <tr> <td>控件名称</td> <td>控件名称最大长度为20字符,不支持表情</td> </tr> <tr> <td>单行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>多行文本控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>勾选框控件</td> <td>选择填字符串true,不选填字符串false</td> </tr> <tr> <td>选择器控件</td> <td>同单行文本控件约束,填写选择值中的字符串</td> </tr> <tr> <td>数字控件</td> <td>请输入有效的数字(可带小数点)</td> </tr> <tr> <td>日期控件</td> <td>格式:yyyy年mm月dd日</td> </tr> <tr> <td>附件控件</td> <td>JPG或PNG图片,上传数量限制,1到6个,最大6个附件,填写上传的资源ID</td> </tr> <tr> <td>图片控件</td> <td>JPG或PNG图片,填写上传的图片资源ID</td> </tr> <tr> <td>邮箱控件</td> <td>有效的邮箱地址, w3c标准</td> </tr> <tr> <td>地址控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>省市区控件</td> <td>只允许输入中文,英文,数字,中英文标点符号,不支持表情</td> </tr> <tr> <td>性别控件</td> <td>选择值中的字符串</td> </tr> <tr> <td>学历控件</td> <td>选择值中的字符串</td> </tr><tr> <td>水印控件</td> <td>水印控件设置为CUSTOM_WATERMARK类型时的水印内容</td> </tr> </tbody> </table>\n注: `部分特殊控件需要在控制台配置模板形式创建`",
|
5641
5641
|
"example": "ComponentValue",
|
5642
5642
|
"member": "string",
|
5643
5643
|
"name": "ComponentValue",
|
@@ -11862,22 +11862,20 @@
|
|
11862
11862
|
{
|
11863
11863
|
"disabled": false,
|
11864
11864
|
"document": "Base64编码后的文件内容",
|
11865
|
-
"example": "",
|
11865
|
+
"example": "无",
|
11866
11866
|
"member": "string",
|
11867
11867
|
"name": "FileBody",
|
11868
11868
|
"required": true,
|
11869
|
-
"type": "string"
|
11870
|
-
"value_allowed_null": false
|
11869
|
+
"type": "string"
|
11871
11870
|
},
|
11872
11871
|
{
|
11873
11872
|
"disabled": false,
|
11874
|
-
"document": "
|
11875
|
-
"example": "",
|
11873
|
+
"document": "文件名,最大长度不超过200字符",
|
11874
|
+
"example": "无",
|
11876
11875
|
"member": "string",
|
11877
11876
|
"name": "FileName",
|
11878
11877
|
"required": false,
|
11879
|
-
"type": "string"
|
11880
|
-
"value_allowed_null": false
|
11878
|
+
"type": "string"
|
11881
11879
|
}
|
11882
11880
|
],
|
11883
11881
|
"usage": "in"
|
@@ -901,6 +901,58 @@ def doDescribeDestRegions(args, parsed_globals):
|
|
901
901
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
902
902
|
|
903
903
|
|
904
|
+
def doSetTlsVersion(args, parsed_globals):
|
905
|
+
g_param = parse_global_arg(parsed_globals)
|
906
|
+
|
907
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
908
|
+
cred = credential.CVMRoleCredential()
|
909
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
910
|
+
cred = credential.STSAssumeRoleCredential(
|
911
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
912
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
913
|
+
)
|
914
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
915
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
916
|
+
else:
|
917
|
+
cred = credential.Credential(
|
918
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
919
|
+
)
|
920
|
+
http_profile = HttpProfile(
|
921
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
922
|
+
reqMethod="POST",
|
923
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
924
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
925
|
+
)
|
926
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
927
|
+
if g_param[OptionsDefine.Language]:
|
928
|
+
profile.language = g_param[OptionsDefine.Language]
|
929
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
930
|
+
client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
|
931
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
932
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
933
|
+
model = models.SetTlsVersionRequest()
|
934
|
+
model.from_json_string(json.dumps(args))
|
935
|
+
start_time = time.time()
|
936
|
+
while True:
|
937
|
+
rsp = client.SetTlsVersion(model)
|
938
|
+
result = rsp.to_json_string()
|
939
|
+
try:
|
940
|
+
json_obj = json.loads(result)
|
941
|
+
except TypeError as e:
|
942
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
943
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
944
|
+
break
|
945
|
+
cur_time = time.time()
|
946
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
947
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
948
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
949
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
950
|
+
else:
|
951
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
952
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
953
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
954
|
+
|
955
|
+
|
904
956
|
def doCreateUDPListeners(args, parsed_globals):
|
905
957
|
g_param = parse_global_arg(parsed_globals)
|
906
958
|
|
@@ -2669,7 +2721,7 @@ def doDescribeCustomHeader(args, parsed_globals):
|
|
2669
2721
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2670
2722
|
|
2671
2723
|
|
2672
|
-
def
|
2724
|
+
def doDeleteGlobalDomainDns(args, parsed_globals):
|
2673
2725
|
g_param = parse_global_arg(parsed_globals)
|
2674
2726
|
|
2675
2727
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2698,11 +2750,11 @@ def doModifyProxiesAttribute(args, parsed_globals):
|
|
2698
2750
|
client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
|
2699
2751
|
client._sdkVersion += ("_CLI_" + __version__)
|
2700
2752
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2701
|
-
model = models.
|
2753
|
+
model = models.DeleteGlobalDomainDnsRequest()
|
2702
2754
|
model.from_json_string(json.dumps(args))
|
2703
2755
|
start_time = time.time()
|
2704
2756
|
while True:
|
2705
|
-
rsp = client.
|
2757
|
+
rsp = client.DeleteGlobalDomainDns(model)
|
2706
2758
|
result = rsp.to_json_string()
|
2707
2759
|
try:
|
2708
2760
|
json_obj = json.loads(result)
|
@@ -4437,7 +4489,7 @@ def doDescribeGroupDomainConfig(args, parsed_globals):
|
|
4437
4489
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4438
4490
|
|
4439
4491
|
|
4440
|
-
def
|
4492
|
+
def doModifyProxiesAttribute(args, parsed_globals):
|
4441
4493
|
g_param = parse_global_arg(parsed_globals)
|
4442
4494
|
|
4443
4495
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -4466,11 +4518,11 @@ def doDeleteGlobalDomainDns(args, parsed_globals):
|
|
4466
4518
|
client = mod.GaapClient(cred, g_param[OptionsDefine.Region], profile)
|
4467
4519
|
client._sdkVersion += ("_CLI_" + __version__)
|
4468
4520
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4469
|
-
model = models.
|
4521
|
+
model = models.ModifyProxiesAttributeRequest()
|
4470
4522
|
model.from_json_string(json.dumps(args))
|
4471
4523
|
start_time = time.time()
|
4472
4524
|
while True:
|
4473
|
-
rsp = client.
|
4525
|
+
rsp = client.ModifyProxiesAttribute(model)
|
4474
4526
|
result = rsp.to_json_string()
|
4475
4527
|
try:
|
4476
4528
|
json_obj = json.loads(result)
|
@@ -5401,6 +5453,7 @@ ACTION_MAP = {
|
|
5401
5453
|
"CloseSecurityPolicy": doCloseSecurityPolicy,
|
5402
5454
|
"CreateProxyGroupDomain": doCreateProxyGroupDomain,
|
5403
5455
|
"DescribeDestRegions": doDescribeDestRegions,
|
5456
|
+
"SetTlsVersion": doSetTlsVersion,
|
5404
5457
|
"CreateUDPListeners": doCreateUDPListeners,
|
5405
5458
|
"DescribeProxyDetail": doDescribeProxyDetail,
|
5406
5459
|
"DescribeRuleRealServers": doDescribeRuleRealServers,
|
@@ -5435,7 +5488,7 @@ ACTION_MAP = {
|
|
5435
5488
|
"CreateProxyGroup": doCreateProxyGroup,
|
5436
5489
|
"CreateCertificate": doCreateCertificate,
|
5437
5490
|
"DescribeCustomHeader": doDescribeCustomHeader,
|
5438
|
-
"
|
5491
|
+
"DeleteGlobalDomainDns": doDeleteGlobalDomainDns,
|
5439
5492
|
"CreateProxy": doCreateProxy,
|
5440
5493
|
"DeleteDomain": doDeleteDomain,
|
5441
5494
|
"DescribeSecurityPolicyDetail": doDescribeSecurityPolicyDetail,
|
@@ -5469,7 +5522,7 @@ ACTION_MAP = {
|
|
5469
5522
|
"DescribeAccessRegions": doDescribeAccessRegions,
|
5470
5523
|
"ModifyRuleAttribute": doModifyRuleAttribute,
|
5471
5524
|
"DescribeGroupDomainConfig": doDescribeGroupDomainConfig,
|
5472
|
-
"
|
5525
|
+
"ModifyProxiesAttribute": doModifyProxiesAttribute,
|
5473
5526
|
"ModifyHTTPSListenerAttribute": doModifyHTTPSListenerAttribute,
|
5474
5527
|
"DescribeListenerStatistics": doDescribeListenerStatistics,
|
5475
5528
|
"DeleteListeners": doDeleteListeners,
|
@@ -720,6 +720,13 @@
|
|
720
720
|
"name": "认证高级配置",
|
721
721
|
"output": "SetAuthenticationResponse",
|
722
722
|
"status": "online"
|
723
|
+
},
|
724
|
+
"SetTlsVersion": {
|
725
|
+
"document": "设置监听器TLS配置",
|
726
|
+
"input": "SetTlsVersionRequest",
|
727
|
+
"name": "设置监听器TLS配置",
|
728
|
+
"output": "SetTlsVersionResponse",
|
729
|
+
"status": "online"
|
723
730
|
}
|
724
731
|
},
|
725
732
|
"metadata": {
|
@@ -10783,6 +10790,51 @@
|
|
10783
10790
|
],
|
10784
10791
|
"type": "object"
|
10785
10792
|
},
|
10793
|
+
"SetTlsVersionRequest": {
|
10794
|
+
"document": "SetTlsVersion请求参数结构体",
|
10795
|
+
"members": [
|
10796
|
+
{
|
10797
|
+
"disabled": false,
|
10798
|
+
"document": "监听器ID",
|
10799
|
+
"example": "listener-dsdd",
|
10800
|
+
"member": "string",
|
10801
|
+
"name": "ListenerId",
|
10802
|
+
"required": true,
|
10803
|
+
"type": "string"
|
10804
|
+
},
|
10805
|
+
{
|
10806
|
+
"disabled": false,
|
10807
|
+
"document": "TLS版本",
|
10808
|
+
"example": "[\"TLSv1.2\", \"TLSv1.3\"]",
|
10809
|
+
"member": "string",
|
10810
|
+
"name": "TLSSupportVersion",
|
10811
|
+
"required": true,
|
10812
|
+
"type": "list"
|
10813
|
+
},
|
10814
|
+
{
|
10815
|
+
"disabled": false,
|
10816
|
+
"document": "密码套件包",
|
10817
|
+
"example": "GAAP_TLS_CIPHERS_GENERAL",
|
10818
|
+
"member": "string",
|
10819
|
+
"name": "TLSCiphers",
|
10820
|
+
"required": true,
|
10821
|
+
"type": "string"
|
10822
|
+
}
|
10823
|
+
],
|
10824
|
+
"type": "object"
|
10825
|
+
},
|
10826
|
+
"SetTlsVersionResponse": {
|
10827
|
+
"document": "SetTlsVersion返回参数结构体",
|
10828
|
+
"members": [
|
10829
|
+
{
|
10830
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
10831
|
+
"member": "string",
|
10832
|
+
"name": "RequestId",
|
10833
|
+
"type": "string"
|
10834
|
+
}
|
10835
|
+
],
|
10836
|
+
"type": "object"
|
10837
|
+
},
|
10786
10838
|
"SrcAddressInfo": {
|
10787
10839
|
"document": "网络加速的原地址信息",
|
10788
10840
|
"members": [
|
@@ -883,6 +883,14 @@
|
|
883
883
|
"output": "{\n \"Response\": {\n \"RequestId\": \"c7bfcad5-3f20-472f-9afc-13a66faebad8\"\n }\n}",
|
884
884
|
"title": "认证高级配置"
|
885
885
|
}
|
886
|
+
],
|
887
|
+
"SetTlsVersion": [
|
888
|
+
{
|
889
|
+
"document": "",
|
890
|
+
"input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetTlsVersion\n<公共请求参数>\n\n{\n \"ListenerId\": \"abc\",\n \"TLSSupportVersion\": [\n \"TLSv1.2\"\n ],\n \"TLSCiphers\": \"GAAP_TLS_CIPHERS_GENERAL\"\n}",
|
891
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"wqdcasdca-da-wedqfc\"\n }\n}",
|
892
|
+
"title": "setTls示例"
|
893
|
+
}
|
886
894
|
]
|
887
895
|
},
|
888
896
|
"version": "1.0"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"CreateImageModerationAsyncTask": {
|
4
|
-
"document": "本接口用于提交图片文件进行异步智能审核任务。使用前请您使用腾讯云主账号登录控制台 [开通图片内容安全服务](https://console.cloud.tencent.com/cms/image/package) 并调整好对应的业务配置。\n### 接口使用说明:\n- 前往“[内容安全控制台-图片内容安全](https://console.cloud.tencent.com/cms/image/package)”开启使用图片内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含**3000张图片**识别额度,有效期为15天。\n- 该接口为收费接口,计费方式敬请参见 [腾讯云图片内容安全定价](https://cloud.tencent.com/product/ims/pricing)。\n\n### 接口功能说明:\n- 支持对图片文件或链接进行检测,通过深度学习技术,识别可能令人反感、不安全或不适宜的违规图片内容;\n- 支持对GIF图/长图进行截帧或拆分检测;\n- 支持识别多种违规场景,包括:低俗、违法违规、色情、广告等场景;\n- 支持多种物体检测(实体、广告台标、二维码等)及图片中文本的OCR文本识别;\n- 支持根据不同的业务场景配置自定义的审核策略;\n- 支持用户自定义选择图片风险库,打击自定义识别类型的违规图片(目前仅支持黑名单配置);\n- 支持在审核图片内容时同时关联账号或设备信息,可识别违规风险账号或设备。\n### 接口调用说明:\n- 图片文件大小限制:**Base64编码内容应小于10MB**;**图片资源应小于100MB**\n- 图片尺寸支持:**长和宽 需>50分辨率且<40000分辨率,并且图片长宽比<90:1;**\n- 图片文件分辨率支持:建议**分辨率大于256x256**,否则可能会影响识别效果;\n- 图片文件支持格式:PNG、JPG、JPEG、BMP、GIF、WEBP格式;\n- 图片文件链接支持的传输协议:HTTP、HTTPS;\n- 若传入图片文件的访问链接,则需要注意**图片下载时间限制为3秒**,为保障被检测图片的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;\n- 默认接口请求频率限制:**20
|
4
|
+
"document": "本接口用于提交图片文件进行异步智能审核任务。使用前请您使用腾讯云主账号登录控制台 [开通图片内容安全服务](https://console.cloud.tencent.com/cms/image/package) 并调整好对应的业务配置。\n### 接口使用说明:\n- 前往“[内容安全控制台-图片内容安全](https://console.cloud.tencent.com/cms/image/package)”开启使用图片内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含**3000张图片**识别额度,有效期为15天。\n- 该接口为收费接口,计费方式敬请参见 [腾讯云图片内容安全定价](https://cloud.tencent.com/product/ims/pricing)。\n\n### 接口功能说明:\n- 支持对图片文件或链接进行检测,通过深度学习技术,识别可能令人反感、不安全或不适宜的违规图片内容;\n- 支持对GIF图/长图进行截帧或拆分检测;\n- 支持识别多种违规场景,包括:低俗、违法违规、色情、广告等场景;\n- 支持多种物体检测(实体、广告台标、二维码等)及图片中文本的OCR文本识别;\n- 支持根据不同的业务场景配置自定义的审核策略;\n- 支持用户自定义选择图片风险库,打击自定义识别类型的违规图片(目前仅支持黑名单配置);\n- 支持在审核图片内容时同时关联账号或设备信息,可识别违规风险账号或设备。\n### 接口调用说明:\n- 图片文件大小限制:**Base64编码内容应小于10MB**;**图片资源应小于100MB**\n- 图片尺寸支持:**长和宽 需>50分辨率且<40000分辨率,并且图片长宽比<90:1;**\n- 图片文件分辨率支持:建议**分辨率大于256x256**,否则可能会影响识别效果;\n- 图片文件支持格式:PNG、JPG、JPEG、BMP、GIF、WEBP格式;\n- 图片文件链接支持的传输协议:HTTP、HTTPS;\n- 若传入图片文件的访问链接,则需要注意**图片下载时间限制为3秒**,为保障被检测图片的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;\n- 默认接口请求频率限制:**20次/秒**,超过此调用频率则会报错。\n- ### 接口回调格式:\n- 图片异步检测接口回调格式同[图片同步检测接口输出参数](https://cloud.tencent.com/document/product/1125/53273#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)",
|
5
5
|
"input": "CreateImageModerationAsyncTaskRequest",
|
6
6
|
"name": "图片异步检测",
|
7
7
|
"output": "CreateImageModerationAsyncTaskResponse",
|
@@ -54,7 +54,7 @@
|
|
54
54
|
},
|
55
55
|
{
|
56
56
|
"disabled": false,
|
57
|
-
"document": "该字段表示待检测图片文件内容的Base64编码,图片**大小不超过
|
57
|
+
"document": "该字段表示待检测图片文件内容的Base64编码,图片**大小不超过30MB**,建议**分辨率不低于256x256**,否则可能会影响识别效果。<br>备注: **该字段与FileUrl必须选择输入其中一个**。",
|
58
58
|
"example": "aHR0cDovL2lubmVycG9ybnNjcmVlbnNob3QtMTI1MjgxMzg1MC5jb3MuYXAtZ3Vh",
|
59
59
|
"member": "string",
|
60
60
|
"name": "FileContent",
|