tccli 3.0.845.1__py2.py3-none-any.whl → 3.0.847.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/services/billing/v20180709/api.json +18 -62
- tccli/services/billing/v20180709/examples.json +8 -8
- tccli/services/cat/v20180409/api.json +0 -28
- tccli/services/cat/v20180409/examples.json +7 -7
- tccli/services/ccc/v20200210/api.json +16 -7
- tccli/services/ccc/v20200210/examples.json +2 -2
- tccli/services/cdb/v20170320/api.json +71 -50
- tccli/services/cdb/v20170320/examples.json +4 -4
- tccli/services/cdn/v20180606/api.json +1 -11
- tccli/services/cdn/v20180606/examples.json +1 -1
- tccli/services/ckafka/v20190819/api.json +8 -5
- tccli/services/ckafka/v20190819/examples.json +3 -3
- tccli/services/cls/v20201016/api.json +44 -33
- tccli/services/cls/v20201016/examples.json +3 -3
- tccli/services/cvm/v20170312/api.json +2 -4
- tccli/services/dbbrain/v20210527/api.json +36 -30
- tccli/services/dcdb/dcdb_client.py +53 -0
- tccli/services/dcdb/v20180411/api.json +812 -157
- tccli/services/dcdb/v20180411/examples.json +8 -0
- tccli/services/dlc/v20210125/api.json +9 -0
- tccli/services/emr/v20190103/api.json +9 -29
- tccli/services/ess/ess_client.py +273 -8
- tccli/services/ess/v20201111/api.json +639 -89
- tccli/services/ess/v20201111/examples.json +58 -6
- tccli/services/essbasic/essbasic_client.py +159 -0
- tccli/services/essbasic/v20210526/api.json +287 -3
- tccli/services/essbasic/v20210526/examples.json +24 -0
- tccli/services/iotexplorer/v20190423/api.json +25 -33
- tccli/services/iotexplorer/v20190423/examples.json +9 -9
- tccli/services/mariadb/mariadb_client.py +53 -0
- tccli/services/mariadb/v20170312/api.json +520 -0
- tccli/services/mariadb/v20170312/examples.json +8 -0
- tccli/services/monitor/v20180724/api.json +10 -11
- tccli/services/monitor/v20180724/examples.json +5 -5
- tccli/services/mps/v20190612/api.json +2 -7
- tccli/services/ocr/v20181119/api.json +73 -89
- tccli/services/ocr/v20181119/examples.json +23 -23
- tccli/services/redis/redis_client.py +53 -0
- tccli/services/redis/v20180412/api.json +214 -0
- tccli/services/redis/v20180412/examples.json +8 -0
- tccli/services/tcss/v20201101/api.json +40 -7
- tccli/services/tcss/v20201101/examples.json +3 -3
- tccli/services/tdid/v20210519/api.json +68 -68
- tccli/services/tiw/tiw_client.py +1403 -78
- tccli/services/tiw/v20190919/api.json +2439 -461
- tccli/services/tiw/v20190919/examples.json +200 -0
- tccli/services/trtc/v20190722/api.json +41 -29
- tccli/services/trtc/v20190722/examples.json +10 -10
- tccli/services/vpc/v20170312/api.json +15 -27
- tccli/services/vpc/v20170312/examples.json +6 -6
- tccli/services/waf/v20180125/api.json +50 -6
- tccli/services/waf/v20180125/examples.json +2 -2
- {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/METADATA +2 -2
- {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/RECORD +59 -59
- {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/LICENSE +0 -0
- {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.845.1.dist-info → tccli-3.0.847.1.dist-info}/top_level.txt +0 -0
@@ -156,8 +156,8 @@
|
|
156
156
|
],
|
157
157
|
"FinanBillSliceOCR": [
|
158
158
|
{
|
159
|
-
"document": "",
|
160
|
-
"input": "
|
159
|
+
"document": "金融票据切片识别示例代码",
|
160
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FinanBillSliceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg \"\n}",
|
161
161
|
"output": "{\n \"Response\": {\n \"FinanBillSliceInfos\": [\n {\n \"Name\": \"票号1\",\n \"Value\": \"31300051\"\n },\n {\n \"Name\": \"票号2\",\n \"Value\": \"46686866\"\n }\n ],\n \"RequestId\": \"f904eaa3-c868-4a89-9bd9-60afe9635c81\"\n }\n}",
|
162
162
|
"title": "金融票据切片识别示例代码"
|
163
163
|
}
|
@@ -338,15 +338,15 @@
|
|
338
338
|
],
|
339
339
|
"MainlandPermitOCR": [
|
340
340
|
{
|
341
|
-
"document": "",
|
342
|
-
"input": "
|
341
|
+
"document": "港澳台来往内地通行证识别",
|
342
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MainlandPermitOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\",\n \"RetProfile\": \"False\"\n}",
|
343
343
|
"output": "{\n \"Response\": {\n \"Name\": \"李明\",\n \"EnglishName\": \"LIMING\",\n \"Number\": \"C00000000\",\n \"Sex\": \"男\",\n \"ValidDate\": \"2018.10.09-2028.10.08\",\n \"IssueAuthority\": \"公安部出入境管理局\",\n \"IssueAddress\": \"广东\",\n \"Birthday\": \"1981.08.03\",\n \"IssueNumber\": \"02\",\n \"Type\": \"台湾居民来往大陆通行证\",\n \"Profile\": \"\",\n \"RequestId\": \"3090debe-3662-4ef1-8784-6ef2fb59f75e\"\n }\n}",
|
344
344
|
"title": "港澳台来往内地通行证识别示例代码"
|
345
345
|
}
|
346
346
|
],
|
347
347
|
"MixedInvoiceDetect": [
|
348
348
|
{
|
349
|
-
"document": "",
|
349
|
+
"document": "混贴票据分类",
|
350
350
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MixedInvoiceDetect\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\",\n \"ReturnImage\": \"False\"\n}",
|
351
351
|
"output": "{\n \"Response\": {\n \"InvoiceDetectInfos\": [\n {\n \"Angle\": 0,\n \"Type\": 3,\n \"Rect\": {\n \"X\": 19,\n \"Y\": 43,\n \"Width\": 1340,\n \"Height\": 852\n },\n \"Image\": null\n },\n {\n \"Angle\": 0,\n \"Type\": 13,\n \"Rect\": {\n \"X\": 20,\n \"Y\": 891,\n \"Width\": 479,\n \"Height\": 597\n },\n \"Image\": null\n },\n {\n \"Angle\": 0,\n \"Type\": 2,\n \"Rect\": {\n \"X\": 520,\n \"Y\": 904,\n \"Width\": 455,\n \"Height\": 286\n },\n \"Image\": null\n }\n ],\n \"RequestId\": \"c8cedc79-d03b-463d-8b95-b807b4ca5135\"\n }\n}",
|
352
352
|
"title": "混贴票据分类示例代码"
|
@@ -368,8 +368,8 @@
|
|
368
368
|
],
|
369
369
|
"OrgCodeCertOCR": [
|
370
370
|
{
|
371
|
-
"document": "",
|
372
|
-
"input": "
|
371
|
+
"document": "组织机构代码证识别",
|
372
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OrgCodeCertOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg \"\n}",
|
373
373
|
"output": "{\n \"Response\": {\n \"OrgCode\": \"300000-3\",\n \"Name\": \"望江县xxx店\",\n \"Address\": \"望江县天鹅购物广场xxx铺\",\n \"ValidDate\": \"自2019年07月01日至2023年06月30日\",\n \"RequestId\": \"e7fdecd4-39a3-46a7-a565-274a2004af2e\"\n }\n}",
|
374
374
|
"title": "组织机构代码证识别示例代码"
|
375
375
|
}
|
@@ -377,31 +377,31 @@
|
|
377
377
|
"PassportOCR": [
|
378
378
|
{
|
379
379
|
"document": "以中国大陆地区护照为例",
|
380
|
-
"input": "
|
380
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PassportOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\",\n \"Type\": \"CN\"\n}",
|
381
381
|
"output": "{\n \"Response\": {\n \"Country\": \"CHN\",\n \"PassportNo\": \"G12345678\",\n \"Sex\": \"M\",\n \"Nationality\": \"CHN\",\n \"BirthDate\": \"19920922\",\n \"BirthPlace\": \"SHANGHAI\",\n \"IssueDate\": \"20100820\",\n \"IssuePlace\": \"SHANGHAI\",\n \"ExpiryDate\": \"20200819\",\n \"Signature\": \"\",\n \"CodeSet\": \"POCHNZHANG<<SAN<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\",\n \"CodeCrc\": \"G123456785CHN9209220M200819219203100<<<<<<60\",\n \"Name\": \"张三\",\n \"FamilyName\": \"ZHANG\",\n \"FirstName\": \"SAN\",\n \"RequestId\": \"39cce0fc-77b1-4271-82ae-9f0bf1036906\"\n }\n}",
|
382
382
|
"title": "护照识别示例代码 [前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Version=2018-11-19&Action=PassportOCR)"
|
383
383
|
}
|
384
384
|
],
|
385
385
|
"PermitOCR": [
|
386
386
|
{
|
387
|
-
"document": "",
|
388
|
-
"input": "
|
387
|
+
"document": "港澳台通行证识",
|
388
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PermitOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg \"\n}",
|
389
389
|
"output": "{\n \"Response\": {\n \"Name\": \"李明\",\n \"EnglishName\": \"LIMING\",\n \"Number\": \"C00000000\",\n \"Sex\": \"男\",\n \"ValidDate\": \"2018.10.09-2028.10.08\",\n \"IssueAuthority\": \"公安部出入境管理局\",\n \"IssueAddress\": \"广东\",\n \"Birthday\": \"1981.08.03\",\n \"RequestId\": \"3090debe-3662-4ef1-8784-6ef2fb59f75e\"\n }\n}",
|
390
390
|
"title": "港澳台通行证识别示例代码"
|
391
391
|
}
|
392
392
|
],
|
393
393
|
"PropOwnerCertOCR": [
|
394
394
|
{
|
395
|
-
"document": "",
|
396
|
-
"input": "
|
395
|
+
"document": "房产证识别",
|
396
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PropOwnerCertOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
|
397
397
|
"output": "{\n \"Response\": {\n \"Owner\": \"李明\",\n \"Possession\": \"单独所有\",\n \"RegisterTime\": \"2015-02-22\",\n \"Purpose\": \"成套住宅\",\n \"Nature\": \"商品房\",\n \"Location\": \"上海市徐汇区田林路397号腾云大厦\",\n \"RequestId\": \"67c12150-b6e4-41a0-a404-503fe83d7e85\"\n }\n}",
|
398
398
|
"title": "房产证识别示例代码"
|
399
399
|
}
|
400
400
|
],
|
401
401
|
"QrcodeOCR": [
|
402
402
|
{
|
403
|
-
"document": "",
|
404
|
-
"input": "
|
403
|
+
"document": "二维码和条形码识别",
|
404
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QrcodeOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
|
405
405
|
"output": "{\n \"Response\": {\n \"CodeResults\": [\n {\n \"TypeName\": \"QR_CODE\",\n \"Url\": \"http://baike.baidu.com\",\n \"Position\": {\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 380,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 380,\n \"Y\": 380\n },\n \"LeftBottom\": {\n \"X\": 0,\n \"Y\": 380\n }\n }\n }\n ],\n \"ImgSize\": {\n \"Wide\": 380,\n \"High\": 380\n },\n \"RequestId\": \"06c7ba12-ec94-4fd4-be48-239c714f0cf4\"\n }\n}",
|
406
406
|
"title": "二维码和条形码识别示例代码 [前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Version=2018-11-19&Action=QrcodeOCR)"
|
407
407
|
}
|
@@ -424,8 +424,8 @@
|
|
424
424
|
],
|
425
425
|
"RecognizeContainerOCR": [
|
426
426
|
{
|
427
|
-
"document": "",
|
428
|
-
"input": "
|
427
|
+
"document": "集装箱识别",
|
428
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeContainerOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
|
429
429
|
"output": "{\n \"Response\": {\n \"ContainerId\": \"APHU7042391\",\n \"ContainerType\": \"45G1\",\n \"GrossKG\": \"32500KG\",\n \"GrossLB\": \"71650LB\",\n \"PayloadKG\": \"28630KG\",\n \"PayloadLB\": \"63120LB\",\n \"TareKG\": \"3870KG\",\n \"TareLB\": \"8530LB\",\n \"CapacityM3\": \"76.4CUM\",\n \"CapacityFT3\": \"2700CUFT\",\n \"Warn\": [\n -9926,\n -9927\n ],\n \"RequestId\": \"45afaba3-5fb8-480e-83f9-2681f1373783\"\n }\n}",
|
430
430
|
"title": "集装箱识别示例代码"
|
431
431
|
}
|
@@ -456,9 +456,9 @@
|
|
456
456
|
],
|
457
457
|
"RecognizeOnlineTaxiItineraryOCR": [
|
458
458
|
{
|
459
|
-
"document": "",
|
459
|
+
"document": "网约车行程单识别示例代码",
|
460
460
|
"input": "https://ocr.tencentcloudapi.com/?Action=RecognizeOnlineTaxiItineraryOCR\n&ImageUrl=https://xx/a.jpg\n&<公共请求参数>",
|
461
|
-
"output": "{\n \"Response\": {\n \"OnlineTaxiItineraryInfos\": [\n {\n \"Name\": \"行程单分类\",\n \"Value\": \"
|
461
|
+
"output": "{\n \"Response\": {\n \"OnlineTaxiItineraryInfos\": [\n {\n \"Name\": \"行程单分类\",\n \"Row\": -1,\n \"Value\": \"乐橙网约车-行程单\"\n },\n {\n \"Name\": \"申请日期\",\n \"Row\": -1,\n \"Value\": \"2020年09月04日\"\n },\n {\n \"Name\": \"行程开始日期\",\n \"Row\": -1,\n \"Value\": \"2020年09月01日\"\n },\n {\n \"Name\": \"行程结束日期\",\n \"Row\": -1,\n \"Value\": \"2020年09月01日\"\n },\n {\n \"Name\": \"手机号\",\n \"Row\": -1,\n \"Value\": \"13447844750\"\n },\n {\n \"Name\": \"车型\",\n \"Row\": 0,\n \"Value\": \"快车\"\n },\n {\n \"Name\": \"城市\",\n \"Row\": 0,\n \"Value\": \"深圳\"\n },\n {\n \"Name\": \"上车时间\",\n \"Row\": 0,\n \"Value\": \"09-0107:57周二\"\n },\n {\n \"Name\": \"起点\",\n \"Row\": 0,\n \"Value\": \"碧海湾\"\n },\n {\n \"Name\": \"终点\",\n \"Row\": 0,\n \"Value\": \"大鹏所城\"\n },\n {\n \"Name\": \"里程\",\n \"Row\": 0,\n \"Value\": \"89.6公里\"\n },\n {\n \"Name\": \"金额\",\n \"Row\": 0,\n \"Value\": \"324元\"\n }\n ],\n \"RequestId\": \"167d28e1-a0da-450c-9368-07ef35634ab6\"\n }\n}",
|
462
462
|
"title": "网约车行程单识别示例代码"
|
463
463
|
}
|
464
464
|
],
|
@@ -520,7 +520,7 @@
|
|
520
520
|
],
|
521
521
|
"RideHailingDriverLicenseOCR": [
|
522
522
|
{
|
523
|
-
"document": "",
|
523
|
+
"document": "网约车驾驶证识别示例代码",
|
524
524
|
"input": "https://ocr.tencentcloudapi.com/?Action=RideHailingDriverLicenseOCR\r\n&ImageUrl=https://xx/a.jpg\r\n&<公共请求参数>",
|
525
525
|
"output": "{\n \"Response\": {\n \"Name\": \"张市学\",\n \"LicenseNumber\": \"130622196402222413\",\n \"StartDate\": \"20190925\",\n \"EndDate\": \"\",\n \"ReleaseDate\": \"20190925\",\n \"RequestId\": \"aa534793deqd1dqq948487\"\n }\n}",
|
526
526
|
"title": "网约车驾驶证识别示例代码"
|
@@ -528,7 +528,7 @@
|
|
528
528
|
],
|
529
529
|
"RideHailingTransportLicenseOCR": [
|
530
530
|
{
|
531
|
-
"document": "",
|
531
|
+
"document": "网约车驾驶证识别示例代码",
|
532
532
|
"input": "https://ocr.tencentcloudapi.com/?Action=RideHailingTransportLicenseOCR\r\n&ImageUrl=https://xx/a.jpg\r\n&<公共请求参数>",
|
533
533
|
"output": "{\n \"Response\": {\n \"OperationLicenseNumber\": \"\",\n \"VehicleOwner\": \"品明铭博盘汽年社赁有限本司\",\n \"VehicleNumber\": \"延长民东1116号好世县艳云A8R8211\",\n \"StartDate\": \"\",\n \"EndDate\": \"\",\n \"ReleaseDate\": \"2019\",\n \"RequestId\": \"0f70356b-ecc8-40f2-bfba-40050f42bbaa\"\n }\n}",
|
534
534
|
"title": "网约车驾驶证识别示例代码"
|
@@ -560,8 +560,8 @@
|
|
560
560
|
],
|
561
561
|
"TableOCR": [
|
562
562
|
{
|
563
|
-
"document": "",
|
564
|
-
"input": "
|
563
|
+
"document": "表格识别示例代码",
|
564
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TableOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"http%3A%2F%2Fimg3.redocn.com%2Ftupian%2F20180301%2Fkongbaiqiuzhijianlibiaogesheji_9230633.jpg\"\n}",
|
565
565
|
"output": "{\n \"Response\": {\n \"TextDetections\": [\n {\n \"ColTl\": -1,\n \"RowTl\": -1,\n \"ColBr\": -1,\n \"RowBr\": -1,\n \"Text\": \"项号商品\",\n \"Type\": \"header\",\n \"Confidence\": 99,\n \"Polygon\": [\n {\n \"X\": 3378,\n \"Y\": 363\n },\n {\n \"X\": 3383,\n \"Y\": 646\n },\n {\n \"X\": 3304,\n \"Y\": 648\n },\n {\n \"X\": 3299,\n \"Y\": 365\n }\n ],\n \"AdvancedInfo\": \"{}\"\n },\n {\n \"ColTl\": -1,\n \"RowTl\": -1,\n \"ColBr\": -1,\n \"RowBr\": -1,\n \"Text\": \"菜/:11181 1 19医101\",\n \"Type\": \"header\",\n \"Confidence\": 53,\n \"Polygon\": [\n {\n \"X\": 3470,\n \"Y\": 1285\n },\n {\n \"X\": 3501,\n \"Y\": 3092\n },\n {\n \"X\": 3361,\n \"Y\": 3094\n },\n {\n \"X\": 3330,\n \"Y\": 1287\n }\n ],\n \"AdvancedInfo\": \"{}\"\n },\n {\n \"ColTl\": -1,\n \"RowTl\": -1,\n \"ColBr\": -1,\n \"RowBr\": -1,\n \"Text\": \"中华人民共和国海关出☐货物报关单\",\n \"Type\": \"header\",\n \"Confidence\": 99,\n \"Polygon\": [\n {\n \"X\": 3201,\n \"Y\": 2046\n },\n {\n \"X\": 3211,\n \"Y\": 2618\n },\n {\n \"X\": 3169,\n \"Y\": 2618\n },\n {\n \"X\": 3159,\n \"Y\": 2046\n }\n ],\n \"AdvancedInfo\": \"{}\"\n },\n {\n \"ColTl\": -1,\n \"RowTl\": -1,\n \"ColBr\": -1,\n \"RowBr\": -1,\n \"Text\": \"生产销售单位公司名(必填)\",\n \"Type\": \"header\",\n \"Confidence\": 98,\n \"Polygon\": [\n {\n \"X\": 2525,\n \"Y\": 184\n },\n {\n \"X\": 2532,\n \"Y\": 594\n },\n {\n \"X\": 2491,\n \"Y\": 595\n },\n {\n \"X\": 2484,\n \"Y\": 185\n }\n ],\n \"AdvancedInfo\": \"{}\"\n }\n ],\n \"Data\": \"bWxQSwECFAAUAAAACAAAAAAAcxSJldcBAAD9BQAADQAAAAAAAAAAAAAAAACtLAAAeGwvc3R5bGVzLnhtbFBLAQIUABQAAAAIAAAAAAC8TIYcSAYAAP4kAAATAAAAAAAAAAAAAAAAAK8uAAB4bC90aGVtZS90aGVtZTEueG1sUEsBAhQAFAAAAAgAAAAAANG5P9oECwAAUU0AABgAAAAAAAAAAAAAAAAAKDUAAHhsL3dvcmtzaGVldHMvc2hlZXQyLnhtbFBLAQIUABQAAAAIAAAAAADjsY7PqAMAAE8PAAAYAAAAAAAAAAAAAAAAAGJAAAB4bC93b3Jrc2hlZXRzL3NoZWV0MS54bWxQSwUGAAAAAAwADAALAwAAQEQAAAAA\",\n \"RequestId\": \"98f8fcbf-933a-4e95-ac48-6f1a9308fs53\"\n }\n}",
|
566
566
|
"title": "表格识别示例代码"
|
567
567
|
}
|
@@ -652,7 +652,7 @@
|
|
652
652
|
],
|
653
653
|
"VehicleRegCertOCR": [
|
654
654
|
{
|
655
|
-
"document": "",
|
655
|
+
"document": "机动车登记证书识别示例代码",
|
656
656
|
"input": "https://ocr.tencentcloudapi.com/?Action=VehicleRegCertOCR\n&ImageUrl=https://xx/a.jpg\n&<公共请求参数>",
|
657
657
|
"output": "{\n \"Response\": {\n \"VehicleRegCertInfos\": [\n {\n \"Name\": \"车辆型号\",\n \"Value\": \"FV7\"\n },\n {\n \"Name\": \"发动机号\",\n \"Value\": \"S26\"\n },\n {\n \"Name\": \"车辆识别代号/车架号\",\n \"Value\": \"LFV8\"\n },\n {\n \"Name\": \"制造厂名称\",\n \"Value\": \"一汽大众汽车有限公司\"\n },\n {\n \"Name\": \"机动车所有人/身份证明名称/号码\",\n \"Value\": \"小明/居民身份证/584874705102015\"\n }\n ],\n \"RequestId\": \"393fa9e0-3827-4183-9fe7-68ed622028a1\"\n }\n}",
|
658
658
|
"title": "机动车登记证书识别示例代码"
|
@@ -1525,6 +1525,58 @@ def doAddReplicationInstance(args, parsed_globals):
|
|
1525
1525
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1526
1526
|
|
1527
1527
|
|
1528
|
+
def doCloneInstances(args, parsed_globals):
|
1529
|
+
g_param = parse_global_arg(parsed_globals)
|
1530
|
+
|
1531
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1532
|
+
cred = credential.CVMRoleCredential()
|
1533
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1534
|
+
cred = credential.STSAssumeRoleCredential(
|
1535
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1536
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
1537
|
+
)
|
1538
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1539
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1540
|
+
else:
|
1541
|
+
cred = credential.Credential(
|
1542
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1543
|
+
)
|
1544
|
+
http_profile = HttpProfile(
|
1545
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1546
|
+
reqMethod="POST",
|
1547
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1548
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1549
|
+
)
|
1550
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1551
|
+
if g_param[OptionsDefine.Language]:
|
1552
|
+
profile.language = g_param[OptionsDefine.Language]
|
1553
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1554
|
+
client = mod.RedisClient(cred, g_param[OptionsDefine.Region], profile)
|
1555
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1556
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1557
|
+
model = models.CloneInstancesRequest()
|
1558
|
+
model.from_json_string(json.dumps(args))
|
1559
|
+
start_time = time.time()
|
1560
|
+
while True:
|
1561
|
+
rsp = client.CloneInstances(model)
|
1562
|
+
result = rsp.to_json_string()
|
1563
|
+
try:
|
1564
|
+
json_obj = json.loads(result)
|
1565
|
+
except TypeError as e:
|
1566
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1567
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1568
|
+
break
|
1569
|
+
cur_time = time.time()
|
1570
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1571
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1572
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1573
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1574
|
+
else:
|
1575
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1576
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1577
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1578
|
+
|
1579
|
+
|
1528
1580
|
def doCreateParamTemplate(args, parsed_globals):
|
1529
1581
|
g_param = parse_global_arg(parsed_globals)
|
1530
1582
|
|
@@ -4685,6 +4737,7 @@ ACTION_MAP = {
|
|
4685
4737
|
"ModifyAutoBackupConfig": doModifyAutoBackupConfig,
|
4686
4738
|
"DeleteParamTemplate": doDeleteParamTemplate,
|
4687
4739
|
"AddReplicationInstance": doAddReplicationInstance,
|
4740
|
+
"CloneInstances": doCloneInstances,
|
4688
4741
|
"CreateParamTemplate": doCreateParamTemplate,
|
4689
4742
|
"DisableReplicaReadonly": doDisableReplicaReadonly,
|
4690
4743
|
"DescribeInstanceDTSInfo": doDescribeInstanceDTSInfo,
|
@@ -63,6 +63,13 @@
|
|
63
63
|
"output": "ClearInstanceResponse",
|
64
64
|
"status": "online"
|
65
65
|
},
|
66
|
+
"CloneInstances": {
|
67
|
+
"document": "本接口(CloneInstances)可基于当前实例的备份文件克隆一个完整的新实例。",
|
68
|
+
"input": "CloneInstancesRequest",
|
69
|
+
"name": "克隆实例",
|
70
|
+
"output": "CloneInstancesResponse",
|
71
|
+
"status": "online"
|
72
|
+
},
|
66
73
|
"CloseSSL": {
|
67
74
|
"document": "关闭SSL",
|
68
75
|
"input": "CloseSSLRequest",
|
@@ -1268,6 +1275,213 @@
|
|
1268
1275
|
],
|
1269
1276
|
"type": "object"
|
1270
1277
|
},
|
1278
|
+
"CloneInstancesRequest": {
|
1279
|
+
"document": "CloneInstances请求参数结构体",
|
1280
|
+
"members": [
|
1281
|
+
{
|
1282
|
+
"default": "",
|
1283
|
+
"document": "当前实例ID。",
|
1284
|
+
"example": "crs-xxx",
|
1285
|
+
"member": "string",
|
1286
|
+
"name": "InstanceId",
|
1287
|
+
"required": true,
|
1288
|
+
"type": "string"
|
1289
|
+
},
|
1290
|
+
{
|
1291
|
+
"default": "",
|
1292
|
+
"document": "单次克隆实例的数量。包年包月每次购买最大数量为100。按量计费每次购买最大数量为30,每个地域购买数量取值范围为[1,100]。",
|
1293
|
+
"example": "1",
|
1294
|
+
"member": "uint64",
|
1295
|
+
"name": "GoodsNum",
|
1296
|
+
"required": true,
|
1297
|
+
"type": "int"
|
1298
|
+
},
|
1299
|
+
{
|
1300
|
+
"default": "",
|
1301
|
+
"document": "克隆实例所属的可用区ID。当前所支持的可用区 ID,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。",
|
1302
|
+
"example": "100001",
|
1303
|
+
"member": "uint64",
|
1304
|
+
"name": "ZoneId",
|
1305
|
+
"required": true,
|
1306
|
+
"type": "int"
|
1307
|
+
},
|
1308
|
+
{
|
1309
|
+
"default": "",
|
1310
|
+
"document": "付费方式。<ul><li>0:按量计费。</li><li>1:包年包月。</li></ul>",
|
1311
|
+
"example": "0",
|
1312
|
+
"member": "int64",
|
1313
|
+
"name": "BillingMode",
|
1314
|
+
"required": true,
|
1315
|
+
"type": "int"
|
1316
|
+
},
|
1317
|
+
{
|
1318
|
+
"default": "",
|
1319
|
+
"document": "购买实例时长。<ul><li>单位:月。</li><li>付费方式选择包年包月计费时,取值范围为[1,2,3,4,5,6,7,8,9,10,11,12,24,36,48,60]。</li><li>付费方式选择按量计费时,设置为1。</li></ul>",
|
1320
|
+
"example": "1",
|
1321
|
+
"member": "uint64",
|
1322
|
+
"name": "Period",
|
1323
|
+
"required": true,
|
1324
|
+
"type": "int"
|
1325
|
+
},
|
1326
|
+
{
|
1327
|
+
"default": "",
|
1328
|
+
"document": "安全组ID。请登录控制台,在<b>安全组</b>页面获取安全组 ID 信息。",
|
1329
|
+
"example": "[\"sg-bmadczm1\"]",
|
1330
|
+
"member": "string",
|
1331
|
+
"name": "SecurityGroupIdList",
|
1332
|
+
"required": true,
|
1333
|
+
"type": "list"
|
1334
|
+
},
|
1335
|
+
{
|
1336
|
+
"default": "",
|
1337
|
+
"document": "克隆实例使用的备份ID。请通过接口[DescribeInstanceBackups](https://cloud.tencent.com/document/product/239/20011)获取备份ID。",
|
1338
|
+
"example": "无",
|
1339
|
+
"member": "string",
|
1340
|
+
"name": "BackupId",
|
1341
|
+
"required": true,
|
1342
|
+
"type": "string"
|
1343
|
+
},
|
1344
|
+
{
|
1345
|
+
"default": "",
|
1346
|
+
"document": "配置克隆实例是否支持免密访问。开启 SSL 与外网均不支持免密访问。<ul><li>true:免密实例,</li><li>false:非免密实例。默认为非免密实例。</li></ul>",
|
1347
|
+
"example": "false",
|
1348
|
+
"member": "bool",
|
1349
|
+
"name": "NoAuth",
|
1350
|
+
"required": false,
|
1351
|
+
"type": "bool"
|
1352
|
+
},
|
1353
|
+
{
|
1354
|
+
"default": "",
|
1355
|
+
"document": "私有网络ID。如果未配置该参数,默认选择基础网络。",
|
1356
|
+
"example": "vpc-pxyzim13",
|
1357
|
+
"member": "string",
|
1358
|
+
"name": "VpcId",
|
1359
|
+
"required": false,
|
1360
|
+
"type": "string"
|
1361
|
+
},
|
1362
|
+
{
|
1363
|
+
"default": "",
|
1364
|
+
"document": "私有网络所属子网。基础网络时该参数无需配置。",
|
1365
|
+
"example": "subnet-7jbabche",
|
1366
|
+
"member": "string",
|
1367
|
+
"name": "SubnetId",
|
1368
|
+
"required": false,
|
1369
|
+
"type": "string"
|
1370
|
+
},
|
1371
|
+
{
|
1372
|
+
"default": "",
|
1373
|
+
"document": "克隆实例的名称。<br>仅支持长度小于60的中文、英文或者数字,短划线\"-\"、下划线\"_\"。</br>",
|
1374
|
+
"example": "MyInstanceName",
|
1375
|
+
"member": "string",
|
1376
|
+
"name": "InstanceName",
|
1377
|
+
"required": false,
|
1378
|
+
"type": "string"
|
1379
|
+
},
|
1380
|
+
{
|
1381
|
+
"default": "",
|
1382
|
+
"document": "克隆实例的访问密码。<ul><li>当输入参数<b>NoAuth</b>为<b>true</b>时,可不设置该参数。</li><li>当实例为Redis2.8、4.0和5.0时,其密码格式为:8-30个字符,至少包含小写字母、大写字母、数字和字符 ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以\"/\"开头;</li><li>当实例为CKV 3.2时,其密码格式为:8-30个字符,必须包含字母和数字,且不包含其他字符。</li></ul>",
|
1383
|
+
"example": "123456MyP@ssword",
|
1384
|
+
"member": "string",
|
1385
|
+
"name": "Password",
|
1386
|
+
"required": false,
|
1387
|
+
"type": "string"
|
1388
|
+
},
|
1389
|
+
{
|
1390
|
+
"default": "",
|
1391
|
+
"document": "自动续费标识。<ul><li>0:默认状态(手动续费)。</li><li>1:自动续费。</li><li>2:不自动续费,到期自动隔离。</li></ul>",
|
1392
|
+
"example": "9",
|
1393
|
+
"member": "uint64",
|
1394
|
+
"name": "AutoRenew",
|
1395
|
+
"required": false,
|
1396
|
+
"type": "int"
|
1397
|
+
},
|
1398
|
+
{
|
1399
|
+
"default": "",
|
1400
|
+
"document": "用户自定义的端口,默认为6379,取值范围[1024,65535]。",
|
1401
|
+
"example": "6378",
|
1402
|
+
"member": "uint64",
|
1403
|
+
"name": "VPort",
|
1404
|
+
"required": false,
|
1405
|
+
"type": "int"
|
1406
|
+
},
|
1407
|
+
{
|
1408
|
+
"default": "",
|
1409
|
+
"document": "实例的节点信息。<ul><li>目前支持配置节点的类型(主节点或者副本节点),及其节点的可用区信息。具体信息,请参见[RedisNodeInfo](https://cloud.tencent.com/document/product/239/20022#RedisNodeInfo)。</li><li>单可用区部署可不配置该参数。</li></ul>",
|
1410
|
+
"example": "无",
|
1411
|
+
"member": "RedisNodeInfo",
|
1412
|
+
"name": "NodeSet",
|
1413
|
+
"required": false,
|
1414
|
+
"type": "list"
|
1415
|
+
},
|
1416
|
+
{
|
1417
|
+
"default": "",
|
1418
|
+
"document": "项目 ID。登录控制台,可在右上角的<b>账号中心</b> > <b>项目管理</b>中查找项目ID。",
|
1419
|
+
"example": "0",
|
1420
|
+
"member": "int64",
|
1421
|
+
"name": "ProjectId",
|
1422
|
+
"required": false,
|
1423
|
+
"type": "int"
|
1424
|
+
},
|
1425
|
+
{
|
1426
|
+
"default": "",
|
1427
|
+
"document": "克隆实例需绑定的标签。",
|
1428
|
+
"example": "无",
|
1429
|
+
"member": "ResourceTag",
|
1430
|
+
"name": "ResourceTags",
|
1431
|
+
"required": false,
|
1432
|
+
"type": "list"
|
1433
|
+
},
|
1434
|
+
{
|
1435
|
+
"default": "",
|
1436
|
+
"document": "克隆实例需要应用的参数模板ID,请登录 Redis 控制台,在<b>参数模板</b>页面获取。若不配置该参数,则应用默认的参数模板。",
|
1437
|
+
"example": "crs-cfg-rhlppeye",
|
1438
|
+
"member": "string",
|
1439
|
+
"name": "TemplateId",
|
1440
|
+
"required": false,
|
1441
|
+
"type": "string"
|
1442
|
+
},
|
1443
|
+
{
|
1444
|
+
"default": "",
|
1445
|
+
"document": "指定克隆实例的告警策略 ID。请登录控制台,在<b>云监控</b> > <b>告警配置</b> > <b>告警策略</b>页面获取策略 ID 信息。",
|
1446
|
+
"example": "无",
|
1447
|
+
"member": "string",
|
1448
|
+
"name": "AlarmPolicyList",
|
1449
|
+
"required": false,
|
1450
|
+
"type": "list"
|
1451
|
+
}
|
1452
|
+
],
|
1453
|
+
"type": "object"
|
1454
|
+
},
|
1455
|
+
"CloneInstancesResponse": {
|
1456
|
+
"document": "CloneInstances返回参数结构体",
|
1457
|
+
"members": [
|
1458
|
+
{
|
1459
|
+
"document": "请求任务 ID。",
|
1460
|
+
"example": "199878234",
|
1461
|
+
"member": "string",
|
1462
|
+
"name": "DealId",
|
1463
|
+
"required": true,
|
1464
|
+
"type": "string",
|
1465
|
+
"value_allowed_null": false
|
1466
|
+
},
|
1467
|
+
{
|
1468
|
+
"document": "克隆实例的 ID。",
|
1469
|
+
"example": "[\"crs-3sz5wdav\"]",
|
1470
|
+
"member": "string",
|
1471
|
+
"name": "InstanceIds",
|
1472
|
+
"required": true,
|
1473
|
+
"type": "list",
|
1474
|
+
"value_allowed_null": false
|
1475
|
+
},
|
1476
|
+
{
|
1477
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
1478
|
+
"member": "string",
|
1479
|
+
"name": "RequestId",
|
1480
|
+
"type": "string"
|
1481
|
+
}
|
1482
|
+
],
|
1483
|
+
"type": "object"
|
1484
|
+
},
|
1271
1485
|
"CloseSSLRequest": {
|
1272
1486
|
"document": "CloseSSL请求参数结构体",
|
1273
1487
|
"members": [
|
@@ -72,6 +72,14 @@
|
|
72
72
|
"title": "请求示例"
|
73
73
|
}
|
74
74
|
],
|
75
|
+
"CloneInstances": [
|
76
|
+
{
|
77
|
+
"document": "",
|
78
|
+
"input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CloneInstances\n<公共请求参数>\n\n{\n \"AlarmPolicyList\": [\n \"xx\"\n ],\n \"TemplateId\": \"xx\",\n \"VpcId\": \"xx\",\n \"InstanceId\": \"xx\",\n \"AutoRenew\": 1,\n \"SubnetId\": \"xx\",\n \"Password\": \"xx\",\n \"GoodsNum\": 1,\n \"ProjectId\": 0,\n \"ZoneId\": 1,\n \"ResourceTags\": [\n {\n \"TagKey\": \"xx\",\n \"TagValue\": \"xx\"\n }\n ],\n \"VPort\": 1,\n \"InstanceName\": \"xx\",\n \"SecurityGroupIdList\": [\n \"xx\"\n ],\n \"NodeSet\": [\n {\n \"ZoneName\": \"xx\",\n \"NodeType\": 0,\n \"NodeId\": 0,\n \"ZoneId\": 1\n }\n ],\n \"Period\": 1,\n \"BillingMode\": 0,\n \"BackupId\": \"xx\",\n \"NoAuth\": true\n}",
|
79
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2a836c00-175f-11eb-aeb3-db134c8d8fec\",\n \"InstanceIds\": [\n \"crs-kic39axx\"\n ],\n \"DealId\": \"22716\"\n }\n}",
|
80
|
+
"title": "请求示例"
|
81
|
+
}
|
82
|
+
],
|
75
83
|
"CloseSSL": [
|
76
84
|
{
|
77
85
|
"document": "",
|
@@ -25780,7 +25780,6 @@
|
|
25780
25780
|
"document": "DescribeVulSummary请求参数结构体",
|
25781
25781
|
"members": [
|
25782
25782
|
{
|
25783
|
-
"default": "",
|
25784
25783
|
"document": "过滤条件。\n<li>OnlyAffectedNewestImage- string- 是否必填:否 - 仅展示影响最新版本镜像的漏洞true,false</li>\n<li>OnlyAffectedContainer-string- 是否必填:否 - 仅展示影响容器的漏洞,true,false</li>\n<li>CategoryType- string - 是否必填:否 - 漏洞分类: SYSTEM:系统漏洞 WEB:web应用漏洞 ALL:全部漏洞</li>",
|
25785
25784
|
"example": "无",
|
25786
25785
|
"member": "RunTimeFilters",
|
@@ -25799,7 +25798,6 @@
|
|
25799
25798
|
"example": "10",
|
25800
25799
|
"member": "int64",
|
25801
25800
|
"name": "VulTotalCount",
|
25802
|
-
"required": true,
|
25803
25801
|
"type": "int",
|
25804
25802
|
"value_allowed_null": false
|
25805
25803
|
},
|
@@ -25808,7 +25806,6 @@
|
|
25808
25806
|
"example": "1",
|
25809
25807
|
"member": "int64",
|
25810
25808
|
"name": "SeriousVulCount",
|
25811
|
-
"required": true,
|
25812
25809
|
"type": "int",
|
25813
25810
|
"value_allowed_null": false
|
25814
25811
|
},
|
@@ -25817,7 +25814,6 @@
|
|
25817
25814
|
"example": "1",
|
25818
25815
|
"member": "int64",
|
25819
25816
|
"name": "SuggestVulCount",
|
25820
|
-
"required": true,
|
25821
25817
|
"type": "int",
|
25822
25818
|
"value_allowed_null": false
|
25823
25819
|
},
|
@@ -25826,7 +25822,6 @@
|
|
25826
25822
|
"example": "1",
|
25827
25823
|
"member": "int64",
|
25828
25824
|
"name": "PocExpLevelVulCount",
|
25829
|
-
"required": true,
|
25830
25825
|
"type": "int",
|
25831
25826
|
"value_allowed_null": false
|
25832
25827
|
},
|
@@ -25835,7 +25830,6 @@
|
|
25835
25830
|
"example": "1",
|
25836
25831
|
"member": "int64",
|
25837
25832
|
"name": "RemoteExpLevelVulCount",
|
25838
|
-
"required": true,
|
25839
25833
|
"type": "int",
|
25840
25834
|
"value_allowed_null": false
|
25841
25835
|
},
|
@@ -25844,7 +25838,46 @@
|
|
25844
25838
|
"example": "1",
|
25845
25839
|
"member": "int64",
|
25846
25840
|
"name": "SeriousVulNewestImageCount",
|
25847
|
-
"
|
25841
|
+
"type": "int",
|
25842
|
+
"value_allowed_null": false
|
25843
|
+
},
|
25844
|
+
{
|
25845
|
+
"document": "系统漏洞重点关注数",
|
25846
|
+
"example": "1",
|
25847
|
+
"member": "int64",
|
25848
|
+
"name": "SystemVulnerabilityFocusCount",
|
25849
|
+
"type": "int",
|
25850
|
+
"value_allowed_null": false
|
25851
|
+
},
|
25852
|
+
{
|
25853
|
+
"document": "web漏洞重点关注数",
|
25854
|
+
"example": "1",
|
25855
|
+
"member": "int64",
|
25856
|
+
"name": "WebVulnerabilityFocusCount",
|
25857
|
+
"type": "int",
|
25858
|
+
"value_allowed_null": false
|
25859
|
+
},
|
25860
|
+
{
|
25861
|
+
"document": "受影响本地镜像数",
|
25862
|
+
"example": "1",
|
25863
|
+
"member": "int64",
|
25864
|
+
"name": "SeriousVulnerabilityLocalImageCount",
|
25865
|
+
"type": "int",
|
25866
|
+
"value_allowed_null": false
|
25867
|
+
},
|
25868
|
+
{
|
25869
|
+
"document": "受影响仓库镜像数",
|
25870
|
+
"example": "1",
|
25871
|
+
"member": "int64",
|
25872
|
+
"name": "SeriousVulnerabilityRegistryImageCount",
|
25873
|
+
"type": "int",
|
25874
|
+
"value_allowed_null": false
|
25875
|
+
},
|
25876
|
+
{
|
25877
|
+
"document": "应急漏洞数量",
|
25878
|
+
"example": "1",
|
25879
|
+
"member": "int64",
|
25880
|
+
"name": "EmergencyVulnerabilityCount",
|
25848
25881
|
"type": "int",
|
25849
25882
|
"value_allowed_null": false
|
25850
25883
|
},
|
@@ -2236,9 +2236,9 @@
|
|
2236
2236
|
],
|
2237
2237
|
"DescribeVulSummary": [
|
2238
2238
|
{
|
2239
|
-
"document": "",
|
2240
|
-
"input": "
|
2241
|
-
"output": "{\n \"Response\": {\n \"SeriousVulCount\": 0,\n \"
|
2239
|
+
"document": "查询漏洞风险统计概览",
|
2240
|
+
"input": "POST / HTTP/1.1\nHost: tcss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVulSummary\n<公共请求参数>\n\n{}",
|
2241
|
+
"output": "{\n \"Response\": {\n \"VulTotalCount\": 0,\n \"SeriousVulCount\": 0,\n \"SuggestVulCount\": 0,\n \"PocExpLevelVulCount\": 0,\n \"RemoteExpLevelVulCount\": 0,\n \"SeriousVulNewestImageCount\": 0,\n \"SystemVulnerabilityFocusCount\": 0,\n \"WebVulnerabilityFocusCount\": 0,\n \"SeriousVulnerabilityLocalImageCount\": 0,\n \"SeriousVulnerabilityRegistryImageCount\": 0,\n \"EmergencyVulnerabilityCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
2242
2242
|
"title": "查询漏洞风险统计概览"
|
2243
2243
|
}
|
2244
2244
|
],
|