tccli 3.0.1248.1__py2.py3-none-any.whl → 3.0.1250.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.
Files changed (58) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/aiart_client.py +113 -7
  3. tccli/services/aiart/v20221229/api.json +191 -0
  4. tccli/services/aiart/v20221229/examples.json +16 -0
  5. tccli/services/batch/v20170312/api.json +1 -1
  6. tccli/services/cbs/v20170312/api.json +6 -0
  7. tccli/services/cdb/v20170320/api.json +9 -0
  8. tccli/services/cfw/v20190904/api.json +5 -3
  9. tccli/services/cmq/cmq_client.py +4 -799
  10. tccli/services/cmq/v20190304/api.json +135 -1329
  11. tccli/services/cmq/v20190304/examples.json +0 -120
  12. tccli/services/config/config_client.py +110 -4
  13. tccli/services/config/v20220802/api.json +374 -0
  14. tccli/services/config/v20220802/examples.json +16 -0
  15. tccli/services/cvm/v20170312/api.json +1 -1
  16. tccli/services/dc/v20180410/api.json +50 -48
  17. tccli/services/dc/v20180410/examples.json +8 -8
  18. tccli/services/ecm/v20190719/api.json +64 -62
  19. tccli/services/ecm/v20190719/examples.json +5 -5
  20. tccli/services/es/v20180416/api.json +10 -0
  21. tccli/services/ess/v20201111/api.json +163 -163
  22. tccli/services/ess/v20201111/examples.json +15 -21
  23. tccli/services/essbasic/v20210526/api.json +89 -89
  24. tccli/services/essbasic/v20210526/examples.json +2 -2
  25. tccli/services/hai/hai_client.py +60 -7
  26. tccli/services/hai/v20230812/api.json +195 -0
  27. tccli/services/hai/v20230812/examples.json +8 -0
  28. tccli/services/iotexplorer/iotexplorer_client.py +228 -16
  29. tccli/services/iotexplorer/v20190423/api.json +536 -0
  30. tccli/services/iotexplorer/v20190423/examples.json +32 -0
  31. tccli/services/iotvideo/iotvideo_client.py +53 -0
  32. tccli/services/iotvideo/v20211125/api.json +80 -0
  33. tccli/services/iotvideo/v20211125/examples.json +8 -0
  34. tccli/services/lkeap/v20240522/api.json +13 -13
  35. tccli/services/lkeap/v20240522/examples.json +2 -2
  36. tccli/services/mna/v20210119/api.json +24 -24
  37. tccli/services/mna/v20210119/examples.json +2 -2
  38. tccli/services/redis/v20180412/api.json +181 -181
  39. tccli/services/redis/v20180412/examples.json +1 -1
  40. tccli/services/sms/v20190711/api.json +48 -0
  41. tccli/services/sms/v20210111/api.json +48 -0
  42. tccli/services/tcb/v20180608/api.json +173 -145
  43. tccli/services/tcb/v20180608/examples.json +8 -8
  44. tccli/services/tcr/v20190924/api.json +5 -5
  45. tccli/services/tke/v20220501/api.json +1 -1
  46. tccli/services/trro/v20220325/api.json +71 -61
  47. tccli/services/trro/v20220325/examples.json +1 -1
  48. tccli/services/trtc/v20190722/api.json +114 -114
  49. tccli/services/tse/v20201207/api.json +18 -0
  50. tccli/services/vpc/v20170312/api.json +35 -33
  51. tccli/services/vpc/v20170312/examples.json +18 -18
  52. tccli/services/wedata/v20210820/api.json +80 -2
  53. tccli/services/wedata/v20210820/examples.json +1 -1
  54. {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/METADATA +2 -2
  55. {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/RECORD +58 -58
  56. {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/WHEEL +0 -0
  57. {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/entry_points.txt +0 -0
  58. {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/license_files/LICENSE +0 -0
@@ -2413,6 +2413,58 @@ def doDescribeCloudStorageDate(args, parsed_globals):
2413
2413
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2414
2414
 
2415
2415
 
2416
+ def doDescribeFreeCloudStorageNum(args, parsed_globals):
2417
+ g_param = parse_global_arg(parsed_globals)
2418
+
2419
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2420
+ cred = credential.CVMRoleCredential()
2421
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2422
+ cred = credential.STSAssumeRoleCredential(
2423
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2424
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2425
+ )
2426
+ 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):
2427
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2428
+ else:
2429
+ cred = credential.Credential(
2430
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2431
+ )
2432
+ http_profile = HttpProfile(
2433
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2434
+ reqMethod="POST",
2435
+ endpoint=g_param[OptionsDefine.Endpoint],
2436
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2437
+ )
2438
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2439
+ if g_param[OptionsDefine.Language]:
2440
+ profile.language = g_param[OptionsDefine.Language]
2441
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2442
+ client = mod.IotvideoClient(cred, g_param[OptionsDefine.Region], profile)
2443
+ client._sdkVersion += ("_CLI_" + __version__)
2444
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2445
+ model = models.DescribeFreeCloudStorageNumRequest()
2446
+ model.from_json_string(json.dumps(args))
2447
+ start_time = time.time()
2448
+ while True:
2449
+ rsp = client.DescribeFreeCloudStorageNum(model)
2450
+ result = rsp.to_json_string()
2451
+ try:
2452
+ json_obj = json.loads(result)
2453
+ except TypeError as e:
2454
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2455
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2456
+ break
2457
+ cur_time = time.time()
2458
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2459
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2460
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2461
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2462
+ else:
2463
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2464
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2465
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2466
+
2467
+
2416
2468
  def doResetCloudStorageEvent(args, parsed_globals):
2417
2469
  g_param = parse_global_arg(parsed_globals)
2418
2470
 
@@ -8558,6 +8610,7 @@ ACTION_MAP = {
8558
8610
  "ModifyDeviceLogLevel": doModifyDeviceLogLevel,
8559
8611
  "DescribeFirmware": doDescribeFirmware,
8560
8612
  "DescribeCloudStorageDate": doDescribeCloudStorageDate,
8613
+ "DescribeFreeCloudStorageNum": doDescribeFreeCloudStorageNum,
8561
8614
  "ResetCloudStorageEvent": doResetCloudStorageEvent,
8562
8615
  "DescribeCloudStorageUsers": doDescribeCloudStorageUsers,
8563
8616
  "TransferCloudStorage": doTransferCloudStorage,
@@ -462,6 +462,13 @@
462
462
  "output": "DescribeForwardRuleResponse",
463
463
  "status": "online"
464
464
  },
465
+ "DescribeFreeCloudStorageNum": {
466
+ "document": "查询云存卡套餐信息",
467
+ "input": "DescribeFreeCloudStorageNumRequest",
468
+ "name": "查询云存卡套餐信息",
469
+ "output": "DescribeFreeCloudStorageNumResponse",
470
+ "status": "online"
471
+ },
465
472
  "DescribeMessageDataStats": {
466
473
  "document": "查询设备消息数量统计",
467
474
  "input": "DescribeMessageDataStatsRequest",
@@ -1778,6 +1785,52 @@
1778
1785
  ],
1779
1786
  "usage": "both"
1780
1787
  },
1788
+ "CloudStoragePackageInfo": {
1789
+ "document": "云存套餐包信息",
1790
+ "members": [
1791
+ {
1792
+ "disabled": false,
1793
+ "document": "套餐包id",
1794
+ "example": "lye1w3d",
1795
+ "member": "string",
1796
+ "name": "PackageId",
1797
+ "output_required": true,
1798
+ "type": "string",
1799
+ "value_allowed_null": false
1800
+ },
1801
+ {
1802
+ "disabled": false,
1803
+ "document": "套餐包名字",
1804
+ "example": "低功耗3天会看周套餐",
1805
+ "member": "string",
1806
+ "name": "PackageName",
1807
+ "output_required": true,
1808
+ "type": "string",
1809
+ "value_allowed_null": false
1810
+ },
1811
+ {
1812
+ "disabled": false,
1813
+ "document": "套餐包数量",
1814
+ "example": "10",
1815
+ "member": "int64",
1816
+ "name": "Num",
1817
+ "output_required": true,
1818
+ "type": "int",
1819
+ "value_allowed_null": false
1820
+ },
1821
+ {
1822
+ "disabled": false,
1823
+ "document": "已使用数量",
1824
+ "example": "5",
1825
+ "member": "int64",
1826
+ "name": "UsedNum",
1827
+ "output_required": true,
1828
+ "type": "int",
1829
+ "value_allowed_null": false
1830
+ }
1831
+ ],
1832
+ "usage": "out"
1833
+ },
1781
1834
  "CloudStorageTimeData": {
1782
1835
  "document": "云存时间轴接口返回数据",
1783
1836
  "members": [
@@ -6484,6 +6537,33 @@
6484
6537
  ],
6485
6538
  "type": "object"
6486
6539
  },
6540
+ "DescribeFreeCloudStorageNumRequest": {
6541
+ "document": "DescribeFreeCloudStorageNum请求参数结构体",
6542
+ "members": [],
6543
+ "type": "object"
6544
+ },
6545
+ "DescribeFreeCloudStorageNumResponse": {
6546
+ "document": "DescribeFreeCloudStorageNum返回参数结构体",
6547
+ "members": [
6548
+ {
6549
+ "disabled": false,
6550
+ "document": "套餐包信息",
6551
+ "example": "无",
6552
+ "member": "CloudStoragePackageInfo",
6553
+ "name": "PackageInfos",
6554
+ "output_required": false,
6555
+ "type": "list",
6556
+ "value_allowed_null": false
6557
+ },
6558
+ {
6559
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6560
+ "member": "string",
6561
+ "name": "RequestId",
6562
+ "type": "string"
6563
+ }
6564
+ ],
6565
+ "type": "object"
6566
+ },
6487
6567
  "DescribeMessageDataStatsRequest": {
6488
6568
  "document": "DescribeMessageDataStats请求参数结构体",
6489
6569
  "members": [
@@ -528,6 +528,14 @@
528
528
  "title": "获取产品转发规则"
529
529
  }
530
530
  ],
531
+ "DescribeFreeCloudStorageNum": [
532
+ {
533
+ "document": "",
534
+ "input": "POST / HTTP/1.1\nHost: iotvideo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorage\n<公共请求参数>\n\n{}",
535
+ "output": "{\n \"Response\": {\n \"PackageInfos\": [\n {\n \"Num\": 10,\n \"PackageId\": \"lye1w3d\",\n \"PackageName\": \"低功耗3天会看周套餐\",\n \"UsedNum\": 5\n },\n {\n \"Num\": 10,\n \"PackageId\": \"lye1w3d\",\n \"PackageName\": \"低功耗3天会看两周套餐\",\n \"UsedNum\": 3\n }\n ],\n \"RequestId\": \"c2cc1650-17bb-4996-a88a-8f8471c7d6d5\"\n }\n}",
536
+ "title": "查询云存卡套餐信息"
537
+ }
538
+ ],
531
539
  "DescribeMessageDataStats": [
532
540
  {
533
541
  "document": "",
@@ -29,7 +29,7 @@
29
29
  "status": "online"
30
30
  },
31
31
  "CreateSplitDocumentFlow": {
32
- "document": "创建文档拆分任务",
32
+ "document": "用于创建一个文档拆分任务,支持多种文件类型,具备mllm能力,能够解析并深入理解图表中的信息。",
33
33
  "input": "CreateSplitDocumentFlowRequest",
34
34
  "name": "创建文档拆分任务",
35
35
  "output": "CreateSplitDocumentFlowResponse",
@@ -523,7 +523,7 @@
523
523
  "members": [
524
524
  {
525
525
  "disabled": false,
526
- "document": "文件类型。支持的文件类型:PDFDOCDOCXXLSXLSXPPTPPTXMDTXTPNGJPGJPEGCSV",
526
+ "document": "文件类型。\n\n**支持的文件类型:**\n- `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`\n\n**支持的文件大小:**\n - `PDF`、`DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M\n - `TXT`、`MD` 最大10M\n - 其他 最大20M\n",
527
527
  "example": "PDF",
528
528
  "member": "string",
529
529
  "name": "FileType",
@@ -532,8 +532,8 @@
532
532
  },
533
533
  {
534
534
  "disabled": false,
535
- "document": "文件的 Url 地址。文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。",
536
- "example": "",
535
+ "document": "文件的 URL 地址。\n文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。\n参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749)",
536
+ "example": "https://example.com/example.pdf",
537
537
  "member": "string",
538
538
  "name": "FileUrl",
539
539
  "required": true,
@@ -541,8 +541,8 @@
541
541
  },
542
542
  {
543
543
  "disabled": false,
544
- "document": "文件名,可选,当文件名无法从传入的FileUrl获取时需要通过该字段来明确",
545
- "example": "yourfile.pdf",
544
+ "document": "文件名,可选。\n**需带文件类型后缀**,当文件名无法从传入的`FileUrl`获取时需要通过该字段来明确。",
545
+ "example": "example.pdf",
546
546
  "member": "string",
547
547
  "name": "FileName",
548
548
  "required": false,
@@ -550,7 +550,7 @@
550
550
  },
551
551
  {
552
552
  "disabled": true,
553
- "document": "文件的 Base64 值。支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。",
553
+ "document": "文件的 Base64 值。\n支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。\n支持的图片像素:单边介于20-10000px之间。\n文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。",
554
554
  "example": "无",
555
555
  "member": "string",
556
556
  "name": "FileBase64",
@@ -559,7 +559,7 @@
559
559
  },
560
560
  {
561
561
  "disabled": false,
562
- "document": "当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值",
562
+ "document": "文档的起始页码。\n当传入文件是PDF、PDF、PPT、PPTX、DOC类型时,用来指定识别的起始页码,识别的页码包含当前值。",
563
563
  "example": "1",
564
564
  "member": "int64",
565
565
  "name": "FileStartPageNumber",
@@ -568,7 +568,7 @@
568
568
  },
569
569
  {
570
570
  "disabled": false,
571
- "document": "当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。",
571
+ "document": "文档的结束页码。\n当传入文件是PDF、PDF、PPT、PPTX、DOC类型时,用来指定识别的结束页码,识别的页码包含当前值。",
572
572
  "example": "100",
573
573
  "member": "int64",
574
574
  "name": "FileEndPageNumber",
@@ -577,8 +577,8 @@
577
577
  },
578
578
  {
579
579
  "disabled": false,
580
- "document": "创建文档拆分任务配置信息创建文档解析任务配置信息\t\t",
581
- "example": "{\"TableResultType\":\"1\"}\t",
580
+ "document": "文档拆分任务的配置信息。\n",
581
+ "example": "{\"EnableMllm\":true,\"MaxChunkSize\":4800}\t",
582
582
  "member": "CreateSplitDocumentFlowConfig",
583
583
  "name": "Config",
584
584
  "required": false,
@@ -592,8 +592,8 @@
592
592
  "members": [
593
593
  {
594
594
  "disabled": false,
595
- "document": "任务唯一id。30天内可以通过GetSplitDocumentResult接口查询TaskId对应的处理结果。",
596
- "example": "",
595
+ "document": "拆分任务唯一ID。\n30天内可以通过`GetSplitDocumentResult`接口查询TaskId对应的拆分结果。",
596
+ "example": "236e51fd-827b-41cb-b303-56003a817ce5",
597
597
  "member": "string",
598
598
  "name": "TaskId",
599
599
  "output_required": true,
@@ -41,8 +41,8 @@
41
41
  "CreateSplitDocumentFlow": [
42
42
  {
43
43
  "document": "对外部在线文档进行拆分",
44
- "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSplitDocumentFlow\n<公共请求参数>\n\n{\n \"FileType\": \"PDF\",\n \"FileUrl\": \"https://fileparser-1251316161.cos.ap-guangzhou.myqcloud.com/input_files/oaqbot/%E8%87%AA%E7%84%B6%E8%AF%AD%E8%A8%80%E5%A4%84%E7%90%86%E7%BB%BC%E8%BF%B0-2020.pdf?q-sign-algorithm=sha1&q-ak=AKIDgh93rnqd2Gna1Nx7jyYsLQeGKB0hDq-0StLupLCJE_Yok5D1jR8oh4EjmPqUVN6b&q-sign-time=1725274092;1725277692&q-key-time=1725274092;1725277692&q-header-list=host&q-url-param-list=&q-signature=209b00a3abaeb3860400b27ae0e76dd41b817ad8&x-cos-security-token=3IoVMfyN7IlIDdke4rvTv7lnxYNl4g6ae86062408d0a5974e1d434912c363f0bCouWlELQpa4WAdO5u7ME8A3Ej_5XNnJ-8wK6AaeOVuzF4J1eTg3mBEDncaOMbOdeCAnRMCFOVEayNXIr_FYJL_LA54-Dm9a6x7pHUM-M0fQdkhNqFIzWBdoNr7nQnQEdJsFB5A_AfoQVl4f-jXJzqwuWBz7zv3KEEc6rO6770zgOHRJRnJBccBVdvqJUAJhv\",\n \"FileStartPageNumber\": 1,\n \"FileEndPageNumber\": 2,\n \"Config\": {\n \"TableResultType\": \"1\",\n \"ResultType\": \"1\",\n \"EnableMllm\": true\n },\n \"FileName\": \"myfile.pdf\"\n}",
45
- "output": "{\n \"Response\": {\n \"RequestId\": \"5e148c27-9c21-43cd-992c-799117bb4216\",\n \"TaskId\": \"a04cb05d5f794a5089e5b2cf90109bc5\"\n }\n}",
44
+ "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSplitDocumentFlow\n<公共请求参数>\n\n{\n \"FileType\": \"PDF\",\n \"FileName\": \"example.pdf\",\n \"FileUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/example/example.pdf\",\n \"FileStartPageNumber\": 1,\n \"FileEndPageNumber\": 2,\n \"Config\": {\n \"EnableMllm\": true\n }\n}",
45
+ "output": "{\n \"Response\": {\n \"RequestId\": \"5e148c27-9c21-43cd-992c-799117bb4216\",\n \"TaskId\": \"236e51fd-827b-41cb-b303-56003a817ce5\"\n }\n}",
46
46
  "title": "创建PDF拆分任务"
47
47
  }
48
48
  ],
@@ -300,14 +300,14 @@
300
300
  "members": [
301
301
  {
302
302
  "disabled": false,
303
- "document": "厂商名称\n注意:此字段可能返回 null,表示取不到有效值。",
303
+ "document": "厂商名称",
304
304
  "example": "vendor1",
305
305
  "member": "string",
306
306
  "name": "Vendor",
307
307
  "output_required": true,
308
308
  "required": true,
309
309
  "type": "string",
310
- "value_allowed_null": true
310
+ "value_allowed_null": false
311
311
  },
312
312
  {
313
313
  "disabled": false,
@@ -322,25 +322,25 @@
322
322
  },
323
323
  {
324
324
  "disabled": false,
325
- "document": "设备名称\n注意:此字段可能返回 null,表示取不到有效值。",
325
+ "document": "设备名称",
326
326
  "example": "mna-w795bzezug",
327
327
  "member": "string",
328
328
  "name": "DeviceName",
329
- "output_required": true,
329
+ "output_required": false,
330
330
  "required": true,
331
331
  "type": "string",
332
- "value_allowed_null": true
332
+ "value_allowed_null": false
333
333
  },
334
334
  {
335
335
  "disabled": false,
336
- "document": "备注\n注意:此字段可能返回 null,表示取不到有效值。",
336
+ "document": "备注",
337
337
  "example": "this is descript",
338
338
  "member": "string",
339
339
  "name": "Description",
340
- "output_required": true,
340
+ "output_required": false,
341
341
  "required": false,
342
342
  "type": "string",
343
- "value_allowed_null": true
343
+ "value_allowed_null": false
344
344
  },
345
345
  {
346
346
  "disabled": false,
@@ -366,58 +366,58 @@
366
366
  },
367
367
  {
368
368
  "disabled": false,
369
- "document": "当付费方为租户时,可选择租户license付费方式:\n0,月度授权\n1,永久授权\n若不传则默认为月度授权。\n当付费方为厂商时,此参数无效\n\n注意:此字段可能返回 null,表示取不到有效值。",
369
+ "document": "当付费方为租户时,可选择租户license付费方式:\n0,月度授权\n1,永久授权\n若不传则默认为月度授权。\n当付费方为厂商时,此参数无效\n",
370
370
  "example": "0",
371
371
  "member": "int64",
372
372
  "name": "LicensePayMode",
373
373
  "output_required": true,
374
374
  "required": false,
375
375
  "type": "int",
376
- "value_allowed_null": true
376
+ "value_allowed_null": false
377
377
  },
378
378
  {
379
379
  "disabled": false,
380
- "document": "设备分组ID\n注意:此字段可能返回 null,表示取不到有效值。",
380
+ "document": "设备分组ID",
381
381
  "example": "cliGrp-xf8rboasbh",
382
382
  "member": "string",
383
383
  "name": "GroupId",
384
384
  "output_required": false,
385
385
  "required": false,
386
386
  "type": "string",
387
- "value_allowed_null": true
387
+ "value_allowed_null": false
388
388
  },
389
389
  {
390
390
  "disabled": false,
391
- "document": "设备分组名称,预留参数,需要分组时传入GroupId\n注意:此字段可能返回 null,表示取不到有效值。",
391
+ "document": "设备分组名称,预留参数,需要分组时传入GroupId",
392
392
  "example": "group-name",
393
393
  "member": "string",
394
394
  "name": "GroupName",
395
395
  "output_required": false,
396
396
  "required": false,
397
397
  "type": "string",
398
- "value_allowed_null": true
398
+ "value_allowed_null": false
399
399
  },
400
400
  {
401
401
  "disabled": false,
402
- "document": "设备无流量包处理方式,0: 按量付费,1: 截断加速\n注意:此字段可能返回 null,表示取不到有效值。",
402
+ "document": "设备无流量包处理方式,0: 按量付费,1: 截断加速",
403
403
  "example": "0",
404
404
  "member": "int64",
405
405
  "name": "FlowTrunc",
406
406
  "output_required": false,
407
407
  "required": false,
408
408
  "type": "int",
409
- "value_allowed_null": true
409
+ "value_allowed_null": false
410
410
  },
411
411
  {
412
412
  "disabled": false,
413
- "document": "激活后的设备ID\n注意:此字段可能返回 null,表示取不到有效值。",
413
+ "document": "激活后的设备ID",
414
414
  "example": "mna-w795bzezug",
415
415
  "member": "string",
416
416
  "name": "DeviceId",
417
417
  "output_required": false,
418
418
  "required": false,
419
419
  "type": "string",
420
- "value_allowed_null": true
420
+ "value_allowed_null": false
421
421
  }
422
422
  ],
423
423
  "usage": "both"
@@ -442,13 +442,13 @@
442
442
  "members": [
443
443
  {
444
444
  "disabled": false,
445
- "document": "完成激活的设备信息\n注意:此字段可能返回 null,表示取不到有效值。",
445
+ "document": "完成激活的设备信息",
446
446
  "example": "无",
447
447
  "member": "ActivateHardware",
448
448
  "name": "HardwareInfo",
449
449
  "output_required": true,
450
450
  "type": "list",
451
- "value_allowed_null": true
451
+ "value_allowed_null": false
452
452
  },
453
453
  {
454
454
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
@@ -1246,23 +1246,23 @@
1246
1246
  },
1247
1247
  {
1248
1248
  "disabled": false,
1249
- "document": "license授权有效期 0:月度授权 1:永久授权\n注意:此字段可能返回 null,表示取不到有效值。",
1249
+ "document": "license授权有效期 0:月度授权 1:永久授权",
1250
1250
  "example": "1",
1251
1251
  "member": "int64",
1252
1252
  "name": "LicensePayMode",
1253
1253
  "output_required": false,
1254
1254
  "type": "int",
1255
- "value_allowed_null": true
1255
+ "value_allowed_null": false
1256
1256
  },
1257
1257
  {
1258
1258
  "disabled": false,
1259
- "document": "付费方 0:厂商付费 1:客户付费\n注意:此字段可能返回 null,表示取不到有效值。",
1259
+ "document": "付费方 0:厂商付费 1:客户付费",
1260
1260
  "example": "1",
1261
1261
  "member": "int64",
1262
1262
  "name": "Payer",
1263
1263
  "output_required": false,
1264
1264
  "type": "int",
1265
- "value_allowed_null": true
1265
+ "value_allowed_null": false
1266
1266
  },
1267
1267
  {
1268
1268
  "disabled": false,
@@ -3,8 +3,8 @@
3
3
  "ActivateHardware": [
4
4
  {
5
5
  "document": "批量激活设备",
6
- "input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ActivateHardware\n<公共请求参数>\n\n{\n \"Hardware\": [\n {\n \"Vendor\": \"vendor\",\n \"SN\": \"AN\",\n \"DeviceName\": \"name\",\n \"Description\": \"描述\",\n \"DataKey\": \"keys\"\n }\n ]\n}",
7
- "output": "{\n \"Response\": {\n \"HardwareInfo\": [\n {\n \"Vendor\": \"vendor\",\n \"SN\": \"AN\",\n \"DeviceName\": \"name\",\n \"Description\": \"描述\",\n \"DataKey\": \"keys\",\n \"LicensePayMode\": 1,\n \"AccessScope\": 1\n }\n ],\n \"RequestId\": \"edd378f7-2511-4692-a029-5ca3d22c1884\"\n }\n}",
6
+ "input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ActivateHardware\n<公共请求参数>\n\n{\n \"Hardware\": [\n {\n \"Vendor\": \"vendor\",\n \"SN\": \"AN\",\n \"DeviceName\": \"name\",\n \"Description\": \"activateHardware info\",\n \"DataKey\": \"keys\"\n }\n ]\n}",
7
+ "output": "{\n \"Response\": {\n \"HardwareInfo\": [\n {\n \"Vendor\": \"vendor\",\n \"SN\": \"AN\",\n \"DeviceName\": \"name\",\n \"Description\": \"activateHardware info\",\n \"DataKey\": \"keys\",\n \"LicensePayMode\": 1,\n \"AccessScope\": 1\n }\n ],\n \"RequestId\": \"edd378f7-2511-4692-a029-5ca3d22c1884\"\n }\n}",
8
8
  "title": "批量激活设备"
9
9
  }
10
10
  ],