tccli 3.0.1099.1__py2.py3-none-any.whl → 3.0.1101.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 (127) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cdb/v20170320/CloseSSL.md +21 -0
  3. tccli/examples/cdb/v20170320/DescribeSSLStatus.md +22 -0
  4. tccli/examples/cdb/v20170320/OpenSSL.md +21 -0
  5. tccli/examples/cls/v20201016/CreateCosRecharge.md +4 -4
  6. tccli/examples/cls/v20201016/CreateDashboardSubscribe.md +18 -0
  7. tccli/examples/cls/v20201016/DeleteConfigExtra.md +1 -1
  8. tccli/examples/cls/v20201016/DeleteDashboardSubscribe.md +18 -0
  9. tccli/examples/cls/v20201016/DescribeDashboardSubscribes.md +18 -0
  10. tccli/examples/cls/v20201016/ModifyCosRecharge.md +3 -3
  11. tccli/examples/cls/v20201016/ModifyDashboardSubscribe.md +18 -0
  12. tccli/examples/cls/v20201016/SearchDashboardSubscribe.md +35 -0
  13. tccli/examples/csip/v20221121/CreateRiskCenterScanTask.md +1 -0
  14. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewCFGRiskList.md +1 -0
  15. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewPortRiskList.md +1 -0
  16. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewVULRiskList.md +1 -0
  17. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewWeakPasswordRiskList.md +1 -0
  18. tccli/examples/csip/v20221121/DescribeRiskCenterPortViewPortRiskList.md +1 -0
  19. tccli/examples/csip/v20221121/DescribeRiskCenterServerRiskList.md +1 -0
  20. tccli/examples/csip/v20221121/DescribeRiskCenterVULViewVULRiskList.md +1 -0
  21. tccli/examples/csip/v20221121/DescribeRiskCenterWebsiteRiskList.md +1 -0
  22. tccli/examples/csip/v20221121/DescribeScanTaskList.md +1 -0
  23. tccli/examples/csip/v20221121/DescribeTaskLogURL.md +1 -0
  24. tccli/examples/csip/v20221121/ModifyRiskCenterRiskStatus.md +1 -0
  25. tccli/examples/csip/v20221121/ModifyRiskCenterScanTask.md +1 -0
  26. tccli/examples/dlc/v20210125/CreateSparkSessionBatchSQL.md +1 -1
  27. tccli/examples/domain/v20180808/ModifyTemplate.md +73 -0
  28. tccli/examples/ess/v20201111/DescribeBatchOrganizationRegistrationUrls.md +27 -0
  29. tccli/examples/hunyuan/v20230901/ChatCompletions.md +141 -1
  30. tccli/examples/hunyuan/v20230901/ChatPro.md +2 -2
  31. tccli/examples/lke/v20231130/GetEmbedding.md +1 -1
  32. tccli/examples/lke/v20231130/GetMsgRecord.md +4 -1
  33. tccli/examples/ocr/v20181119/RecognizeGeneralTextImageWarn.md +83 -0
  34. tccli/examples/postgres/v20170312/ModifyAccountRemark.md +1 -1
  35. tccli/examples/rum/v20210622/CreateWhitelist.md +2 -2
  36. tccli/examples/rum/v20210622/DescribeRumGroupLog.md +3 -3
  37. tccli/examples/rum/v20210622/DescribeRumLogExport.md +6 -6
  38. tccli/examples/rum/v20210622/DescribeRumStatsLogList.md +2 -2
  39. tccli/examples/teo/v20220901/CreatePlan.md +47 -0
  40. tccli/examples/teo/v20220901/DescribeRulesSetting.md +6 -159
  41. tccli/examples/teo/v20220901/DestroyPlan.md +20 -0
  42. tccli/examples/teo/v20220901/IncreasePlanQuota.md +46 -0
  43. tccli/examples/teo/v20220901/ModifyPlan.md +21 -0
  44. tccli/examples/teo/v20220901/RenewPlan.md +23 -0
  45. tccli/examples/teo/v20220901/UpgradePlan.md +23 -0
  46. tccli/examples/tione/v20191022/UpdateCodeRepository.md +1 -1
  47. tccli/examples/tke/v20180525/CheckInstancesUpgradeAble.md +15 -7
  48. tccli/examples/tke/v20180525/CreateCluster.md +58 -142
  49. tccli/examples/tke/v20180525/DescribeClusterNodePools.md +1 -0
  50. tccli/examples/tke/v20180525/GetUpgradeInstanceProgress.md +18 -19
  51. tccli/examples/tke/v20180525/ModifyClusterAuthenticationOptions.md +3 -0
  52. tccli/examples/tke/v20180525/ModifyNodePoolInstanceTypes.md +1 -1
  53. tccli/examples/tms/v20201229/AnswerQuestion.md +21 -0
  54. tccli/examples/tsf/v20180326/CreateCluster.md +2 -2
  55. tccli/examples/vpc/v20170312/DeleteVpnGateway.md +1 -2
  56. tccli/examples/vpc/v20170312/DescribeVpnGatewayRoutes.md +2 -1
  57. tccli/examples/vpc/v20170312/DescribeVpnGatewaySslServers.md +23 -33
  58. tccli/examples/vpc/v20170312/InquiryPriceCreateVpnGateway.md +11 -3
  59. tccli/examples/vpc/v20170312/InquiryPriceResetVpnGatewayInternetMaxBandwidth.md +14 -7
  60. tccli/examples/vpc/v20170312/ModifyVpnGatewayCcnRoutes.md +1 -1
  61. tccli/examples/vpc/v20170312/ModifyVpnGatewayRoutes.md +8 -4
  62. tccli/examples/wedata/v20210820/DescribeProject.md +58 -1
  63. tccli/services/aiart/v20221229/api.json +5 -5
  64. tccli/services/cdb/cdb_client.py +163 -4
  65. tccli/services/cdb/v20170320/api.json +169 -0
  66. tccli/services/cdb/v20170320/examples.json +24 -0
  67. tccli/services/clb/v20180317/api.json +18 -0
  68. tccli/services/cls/cls_client.py +337 -72
  69. tccli/services/cls/v20201016/api.json +461 -50
  70. tccli/services/cls/v20201016/examples.json +45 -5
  71. tccli/services/csip/v20221121/api.json +157 -4
  72. tccli/services/csip/v20221121/examples.json +13 -13
  73. tccli/services/cvm/v20170312/api.json +3 -3
  74. tccli/services/cwp/cwp_client.py +0 -53
  75. tccli/services/cwp/v20180228/api.json +0 -194
  76. tccli/services/cwp/v20180228/examples.json +0 -8
  77. tccli/services/cynosdb/v20190107/api.json +1 -1
  78. tccli/services/dlc/v20210125/api.json +14 -4
  79. tccli/services/dlc/v20210125/examples.json +1 -1
  80. tccli/services/domain/domain_client.py +53 -0
  81. tccli/services/domain/v20180808/api.json +62 -0
  82. tccli/services/domain/v20180808/examples.json +8 -0
  83. tccli/services/dts/v20211206/api.json +1 -1
  84. tccli/services/ess/ess_client.py +57 -4
  85. tccli/services/ess/v20201111/api.json +88 -0
  86. tccli/services/ess/v20201111/examples.json +8 -0
  87. tccli/services/essbasic/v20210526/api.json +1 -1
  88. tccli/services/hunyuan/v20230901/api.json +10 -10
  89. tccli/services/hunyuan/v20230901/examples.json +26 -2
  90. tccli/services/ims/v20201229/api.json +2 -1
  91. tccli/services/iotvideo/v20211125/api.json +15 -0
  92. tccli/services/lke/lke_client.py +114 -8
  93. tccli/services/lke/v20231130/api.json +492 -0
  94. tccli/services/lke/v20231130/examples.json +18 -2
  95. tccli/services/nlp/v20190408/api.json +13 -0
  96. tccli/services/ocr/ocr_client.py +53 -0
  97. tccli/services/ocr/v20181119/api.json +156 -0
  98. tccli/services/ocr/v20181119/examples.json +8 -0
  99. tccli/services/postgres/v20170312/examples.json +1 -1
  100. tccli/services/rce/v20201103/api.json +9 -9
  101. tccli/services/rum/v20210622/api.json +43 -41
  102. tccli/services/rum/v20210622/examples.json +7 -7
  103. tccli/services/ssl/v20191205/api.json +2 -2
  104. tccli/services/tdmq/v20200217/api.json +6 -6
  105. tccli/services/teo/teo_client.py +338 -20
  106. tccli/services/teo/v20220901/api.json +376 -2
  107. tccli/services/teo/v20220901/examples.json +61 -1
  108. tccli/services/tione/v20191022/api.json +6 -7
  109. tccli/services/tione/v20191022/examples.json +1 -1
  110. tccli/services/tione/v20211111/api.json +2 -0
  111. tccli/services/tke/v20180525/api.json +77 -93
  112. tccli/services/tke/v20180525/examples.json +7 -7
  113. tccli/services/tms/tms_client.py +53 -0
  114. tccli/services/tms/v20201229/api.json +44 -0
  115. tccli/services/tms/v20201229/examples.json +8 -0
  116. tccli/services/tse/v20201207/api.json +49 -1
  117. tccli/services/tsf/v20180326/api.json +80 -42
  118. tccli/services/tsf/v20180326/examples.json +1 -1
  119. tccli/services/vpc/v20170312/api.json +39 -23
  120. tccli/services/vpc/v20170312/examples.json +14 -14
  121. tccli/services/wedata/v20210820/api.json +465 -0
  122. tccli/services/wedata/v20210820/examples.json +1 -1
  123. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/METADATA +2 -2
  124. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/RECORD +127 -109
  125. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/WHEEL +0 -0
  126. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/entry_points.txt +0 -0
  127. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1099.1'
1
+ __version__ = '3.0.1101.1'
@@ -0,0 +1,21 @@
1
+ **Example 1: 关闭SSL**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdb CloseSSL --cli-unfold-argument \
9
+ --InstanceId cdb-test
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "RequestId": "xxxx-xxxx-xxxx",
17
+ "AsyncRequestId": "xxxx-xxxx-xxxx"
18
+ }
19
+ }
20
+ ```
21
+
@@ -0,0 +1,22 @@
1
+ **Example 1: 获取SSL开通情况以及证书下载链接**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdb DescribeSSLStatus --cli-unfold-argument \
9
+ --InstanceId cdb-test
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "Status": "ON",
17
+ "Url": "http://test",
18
+ "RequestId": "xxxx-xxxx-xxxxxx"
19
+ }
20
+ }
21
+ ```
22
+
@@ -0,0 +1,21 @@
1
+ **Example 1: 开启SSL连接功能。**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdb OpenSSL --cli-unfold-argument \
9
+ --InstanceId cdb-test
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "RequestId": "xxxx-xxxx-xxxx",
17
+ "AsyncRequestId": "xxxx-xxxx-xxxx"
18
+ }
19
+ }
20
+ ```
21
+
@@ -6,8 +6,8 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cls CreateCosRecharge --cli-unfold-argument \
9
- --TopicId xxx-xxx-xxx-xxx \
10
- --LogsetId xxx-xxx-xxx-xxx \
9
+ --TopicId ae13f7db-00b5-41ac-916e-407802axxxxx \
10
+ --LogsetId 0af7e6bb-fc91-4ee8-ad24-1129e9cxxxxx \
11
11
  --Name test_name \
12
12
  --Bucket examplebucket-1250000000 \
13
13
  --BucketRegion ap-guangzhou \
@@ -31,8 +31,8 @@ Output:
31
31
  ```
32
32
  {
33
33
  "Response": {
34
- "Id": "abc-dec-ff-ee",
35
- "RequestId": "xxx-x-xx-xx"
34
+ "Id": "ca092608-98e8-4ad9-83c5-a6b3bbexxxxx",
35
+ "RequestId": "dc78ee34-237b-41c7-8fcd-601a99b271f6"
36
36
  }
37
37
  }
38
38
  ```
@@ -0,0 +1,18 @@
1
+ **Example 1: 创建仪表盘订阅**
2
+
3
+ 创建仪表盘订阅
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cls CreateDashboardSubscribe --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "RequestId": "6ef60bec-0242-43af-bb20-270359fb54a7"
15
+ }
16
+ }
17
+ ```
18
+
@@ -6,7 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cls DeleteConfigExtra --cli-unfold-argument \
9
- --ConfigExtraId xxxxxxxxxx
9
+ --ConfigExtraId 00903f17-3e27-4f32-b1f5-489cf6e5bf08
10
10
  ```
11
11
 
12
12
  Output:
@@ -0,0 +1,18 @@
1
+ **Example 1: 创建仪表盘订阅**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cls DeleteDashboardSubscribe --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "RequestId": "6ef60bec-0242-43af-bb20-270359fb54a7"
15
+ }
16
+ }
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ **Example 1: 获取仪表盘订阅列表**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cls DescribeDashboardSubscribes --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "RequestId": "xx"
15
+ }
16
+ }
17
+ ```
18
+
@@ -6,8 +6,8 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cls ModifyCosRecharge --cli-unfold-argument \
9
- --Id 1 \
10
- --TopicId xxx-xxx-xxx-xxx \
9
+ --Id ca092608-98e8-4ad9-83c5-a6b3bbexxxxx \
10
+ --TopicId ae13f7db-00b5-41ac-916e-407802axxxxx \
11
11
  --Name test_name
12
12
  ```
13
13
 
@@ -15,7 +15,7 @@ Output:
15
15
  ```
16
16
  {
17
17
  "Response": {
18
- "RequestId": "6ef60xxx-0xxx-4xxx-bxxx-270359fb5xxx"
18
+ "RequestId": "dc78ee34-237b-41c7-8fcd-601a99bxxxxx"
19
19
  }
20
20
  }
21
21
  ```
@@ -0,0 +1,18 @@
1
+ **Example 1: 修改仪表盘订阅**
2
+
3
+ 修改仪表盘订阅
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cls ModifyDashboardSubscribe --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "RequestId": "6ef60bec-0242-43af-bb20-270359fb54a7"
15
+ }
16
+ }
17
+ ```
18
+
@@ -0,0 +1,35 @@
1
+ **Example 1: 预览仪表盘订阅**
2
+
3
+ 预览仪表盘订阅
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cls SearchDashboardSubscribe --cli-unfold-argument \
9
+ --DashboardId xxx-xxxxxx-xxxxxx-xxxx \
10
+ --Name 仪表盘-CLS-日报 \
11
+ --SubscribeData.DashboardTime now-5m now \
12
+ --SubscribeData.TemplateVariables.0.Key name \
13
+ --SubscribeData.TemplateVariables.0.Values abc \
14
+ --SubscribeData.NoticeModes.0.ReceiverType Uin \
15
+ --SubscribeData.NoticeModes.0.Values 168053 \
16
+ --SubscribeData.NoticeModes.0.ReceiverChannels Sms \
17
+ --SubscribeData.NoticeModes.1.ReceiverType Group \
18
+ --SubscribeData.NoticeModes.1.Values 10721522 9553840 \
19
+ --SubscribeData.NoticeModes.1.ReceiverChannels Sms \
20
+ --SubscribeData.NoticeModes.2.ReceiverType Email \
21
+ --SubscribeData.NoticeModes.2.Values 3333@qq.com xxx@163.com \
22
+ --SubscribeData.Timezone Asia/Shanghai \
23
+ --SubscribeData.SubscribeLanguage zh \
24
+ --SubscribeData.JumpDomain https://console.cloud.tencent.com
25
+ ```
26
+
27
+ Output:
28
+ ```
29
+ {
30
+ "Response": {
31
+ "RequestId": "6ef60bec-0242-43af-bb20-270359fb54a7"
32
+ }
33
+ }
34
+ ```
35
+
@@ -6,6 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli csip CreateRiskCenterScanTask --cli-unfold-argument \
9
+ --MemberId abc \
9
10
  --TaskName abc \
10
11
  --Assets.0.AssetName abc \
11
12
  --Assets.0.InstanceType abc \
@@ -6,6 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli csip DescribeRiskCenterAssetViewCFGRiskList --cli-unfold-argument \
9
+ --MemberId abc \
9
10
  --Filter.Limit 0 \
10
11
  --Filter.Offset 0 \
11
12
  --Filter.Order abc \
@@ -6,6 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli csip DescribeRiskCenterAssetViewPortRiskList --cli-unfold-argument \
9
+ --MemberId xx \
9
10
  --Tags.0.TagKey abc \
10
11
  --Tags.0.TagValue abc \
11
12
  --Filter.Limit 0 \
@@ -6,6 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli csip DescribeRiskCenterAssetViewVULRiskList --cli-unfold-argument \
9
+ --MemberId abc \
9
10
  --Filter.Limit 0 \
10
11
  --Filter.Offset 0 \
11
12
  --Filter.Order abc \
@@ -6,6 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli csip DescribeRiskCenterAssetViewWeakPasswordRiskList --cli-unfold-argument \
9
+ --MemberId abc \
9
10
  --Filter.Limit 0 \
10
11
  --Filter.Offset 0 \
11
12
  --Filter.Order abc \
@@ -6,6 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli csip DescribeRiskCenterPortViewPortRiskList --cli-unfold-argument \
9
+ --MemberId abc \
9
10
  --Filter.Limit 0 \
10
11
  --Filter.Offset 0 \
11
12
  --Filter.Order abc \
@@ -6,6 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli csip DescribeRiskCenterServerRiskList --cli-unfold-argument \
9
+ --MemberId abc \
9
10
  --Filter.Limit 0 \
10
11
  --Filter.Offset 0 \
11
12
  --Filter.Order abc \
@@ -6,6 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli csip DescribeRiskCenterVULViewVULRiskList --cli-unfold-argument \
9
+ --MemberId abc \
9
10
  --Filter.Limit 0 \
10
11
  --Filter.Offset 0 \
11
12
  --Filter.Order abc \
@@ -6,6 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli csip DescribeRiskCenterWebsiteRiskList --cli-unfold-argument \
9
+ --MemberId abc \
9
10
  --Filter.Limit 0 \
10
11
  --Filter.Offset 0 \
11
12
  --Filter.Order abc \
@@ -6,6 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli csip DescribeScanTaskList --cli-unfold-argument \
9
+ --MemberId abc \
9
10
  --Filter.Limit 0 \
10
11
  --Filter.Offset 0 \
11
12
  --Filter.Order abc \
@@ -6,6 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli csip DescribeTaskLogURL --cli-unfold-argument \
9
+ --MemberId abc \
9
10
  --ReportItemKeyList.0.TaskLogList abc \
10
11
  --Type 0 \
11
12
  --ReportTaskIdList.0.AppId abc \
@@ -6,6 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli csip ModifyRiskCenterRiskStatus --cli-unfold-argument \
9
+ --MemberId abc \
9
10
  --RiskStatusKeys.0.Id abc \
10
11
  --RiskStatusKeys.0.PublicIPDomain abc \
11
12
  --RiskStatusKeys.0.InstanceId abc \
@@ -6,6 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli csip ModifyRiskCenterScanTask --cli-unfold-argument \
9
+ --MemberId abc \
9
10
  --TaskName abc \
10
11
  --Assets.0.AssetName abc \
11
12
  --Assets.0.InstanceType abc \
@@ -7,7 +7,7 @@ Input:
7
7
  ```
8
8
  tccli dlc CreateSparkSessionBatchSQL --cli-unfold-argument \
9
9
  --DataEngineName data_engine_1 \
10
- --ExecuteSQL select 1 \
10
+ --ExecuteSQL c2VsZWN0IDE= \
11
11
  --DriverSize small \
12
12
  --ExecutorSize small \
13
13
  --ExecutorNumbers 1 \
@@ -0,0 +1,73 @@
1
+ **Example 1: 修改模板**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli domain ModifyTemplate --cli-unfold-argument \
9
+ --TemplateId 字符串 \
10
+ --CertificateInfo.CertificateCode 字符串 \
11
+ --CertificateInfo.CertificateType 字符串 \
12
+ --CertificateInfo.ImgUrl 字符串 \
13
+ --ContactInfo.OrganizationNameCN 字符串 \
14
+ --ContactInfo.OrganizationName 字符串 \
15
+ --ContactInfo.RegistrantNameCN 字符串 \
16
+ --ContactInfo.RegistrantName 字符串 \
17
+ --ContactInfo.ProvinceCN 字符串 \
18
+ --ContactInfo.Province 字符串 \
19
+ --ContactInfo.CityCN 字符串 \
20
+ --ContactInfo.City 字符串 \
21
+ --ContactInfo.StreetCN 字符串 \
22
+ --ContactInfo.Street 字符串 \
23
+ --ContactInfo.CountryCN 字符串 \
24
+ --ContactInfo.Country 字符串 \
25
+ --ContactInfo.Telephone 字符串 \
26
+ --ContactInfo.Email 字符串 \
27
+ --ContactInfo.ZipCode 字符串 \
28
+ --ContactInfo.RegistrantType 字符串
29
+ ```
30
+
31
+ Output:
32
+ ```
33
+ {
34
+ "Response": {
35
+ "RequestId": "c9308288-2016-4197-bba1-baf0a9ea0a6f",
36
+ "Template": {
37
+ "AuditReason": "",
38
+ "IsValidTemplate": 1,
39
+ "UpdatedOn": "2020-07-30 16:44:04",
40
+ "AuditStatus": "InAudit",
41
+ "CreatedOn": "2020-07-30 16:44:04",
42
+ "InvalidReason": "",
43
+ "CertificateInfo": {
44
+ "CertificateType": "YYZZ",
45
+ "CertificateCode": "441900000553075",
46
+ "ImgUrl": "https://wss-10039692.cos.ap-shanghai.myqcloudXj"
47
+ },
48
+ "TemplateId": "tmpl-3mm9fxug",
49
+ "UserUin": "1213059621",
50
+ "ContactInfo": {
51
+ "Province": "shen zhen shi",
52
+ "RegistrantType": "E",
53
+ "OrganizationName": "niubihonghong",
54
+ "OrganizationNameCN": "牛逼哄哄",
55
+ "Country": "CN",
56
+ "RegistrantName": "niubihonghong",
57
+ "ZipCode": "100011",
58
+ "Email": "1213059621@qq.com",
59
+ "City": "nan shan qu",
60
+ "RegistrantNameCN": "牛逼哄哄",
61
+ "StreetCN": "万利达大厦",
62
+ "Street": "wanlidadasha",
63
+ "ProvinceCN": "深圳市",
64
+ "CountryCN": "中国",
65
+ "CityCN": "南山区",
66
+ "Telephone": "13600147752"
67
+ },
68
+ "IsDefault": "no"
69
+ }
70
+ }
71
+ }
72
+ ```
73
+
@@ -0,0 +1,27 @@
1
+ **Example 1: 查询批量企业认证**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli ess DescribeBatchOrganizationRegistrationUrls --cli-unfold-argument \
9
+ --Operator.UserId yDSxSUUxxxxxxxx21JXBlJZsaj \
10
+ --TaskId yDSxSUUxxxxxxxx21JXBlJZsaj
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "OrganizationAuthUrls": [
18
+ {
19
+ "AuthUrl": "https://test.qian.tencent.cn/console/batch-register?token=yDxxxxxxxxxgENliu9LD&orgName=典子谦批量认证企业",
20
+ "ErrorMessage": ""
21
+ }
22
+ ],
23
+ "RequestId": "s1702447767875624775"
24
+ }
25
+ }
26
+ ```
27
+
@@ -8,7 +8,7 @@ Input:
8
8
  tccli hunyuan ChatCompletions --cli-unfold-argument \
9
9
  --TopP 1 \
10
10
  --Temperature 1 \
11
- --Model hunyuan-lite \
11
+ --Model hunyuan-pro \
12
12
  --Messages.0.Role system \
13
13
  --Messages.0.Content 将英文单词转换为包括中文翻译、英文释义和一个例句的完整解释。请检查所有信息是否准确,并在回答时保持简洁,不需要任何其他反馈。 \
14
14
  --Messages.1.Role user \
@@ -41,3 +41,143 @@ Output:
41
41
  {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"stop","Delta":{"Role":"assistant","Content":""}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":21,"TotalTokens":57}}
42
42
  ```
43
43
 
44
+ **Example 2: 多轮对话示例**
45
+
46
+ 多轮对话场景
47
+
48
+ Input:
49
+
50
+ ```
51
+ tccli hunyuan ChatCompletions --cli-unfold-argument \
52
+ --TopP 1 \
53
+ --Temperature 1 \
54
+ --Model hunyuan-pro \
55
+ --Messages.0.Role user \
56
+ --Messages.0.Content 请介绍下自己 \
57
+ --Messages.1.Role assistant \
58
+ --Messages.1.Content 我的名字是腾讯混元大模型,是腾讯开发的一款大型语言模型。我能够理解人类语言,擅长提供问答服务、常识推理、文本创作、数学计算和互动问答等服务。如果您需要帮助或有任何问题,请随时向我提问。 \
59
+ --Messages.2.Role user \
60
+ --Messages.2.Content 请给我讲个字数小于10个字的搞笑笑话 \
61
+ --Messages.3.Role assistant \
62
+ --Messages.3.Content 猫头鹰遇见眯眯眼,看得眼睛都眯成线。” \
63
+ --Messages.4.Role user \
64
+ --Messages.4.Content 不好笑,换一个吧
65
+ ```
66
+
67
+ Output:
68
+ ```
69
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"青蛙"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":1,"TotalTokens":86}}
70
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"跳"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":2,"TotalTokens":87}}
71
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"高"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":3,"TotalTokens":88}}
72
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":","}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":4,"TotalTokens":89}}
73
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"比"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":5,"TotalTokens":90}}
74
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"下马"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":6,"TotalTokens":91}}
75
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"。"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":7,"TotalTokens":92}}
76
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"stop","Delta":{"Role":"assistant","Content":""}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":7,"TotalTokens":92}}
77
+ ```
78
+
79
+ **Example 3: 请求失败示例**
80
+
81
+
82
+
83
+ Input:
84
+
85
+ ```
86
+ tccli hunyuan ChatCompletions --cli-unfold-argument \
87
+ --TopP 0 \
88
+ --Temperature 4.8 \
89
+ --Model hunyuan-pro \
90
+ --Messages.0.Role user \
91
+ --Messages.0.Content 介绍下自己
92
+ ```
93
+
94
+ Output:
95
+ ```
96
+ {
97
+ "Response": {
98
+ "RequestId": "188cc996-ab09-49a7-aa9f-1df88f11c6b4",
99
+ "Error": {
100
+ "Code": "InvalidParameter",
101
+ "Message": "Temperature must be 2 or less"
102
+ }
103
+ }
104
+ }
105
+ ```
106
+
107
+ **Example 4: 流式请求成功示例**
108
+
109
+
110
+
111
+ Input:
112
+
113
+ ```
114
+ tccli hunyuan ChatCompletions --cli-unfold-argument \
115
+ --TopP 1 \
116
+ --Temperature 1 \
117
+ --Model hunyuan-pro \
118
+ --Messages.0.Role user \
119
+ --Messages.0.Content 计算1+1
120
+ ```
121
+
122
+ Output:
123
+ ```
124
+ HTTP/1.1 200 OK
125
+ Cache-Control: no-cache
126
+ Connection: keep-alive
127
+ Content-Type: text/event-stream
128
+ Date: Tue, 21 Nov 2023 06:56:00 GMT
129
+ Transfer-Encoding: chunked
130
+ X-TC-RequestId: 61a8459b-27c8-4868-af8f-f374db0245f8
131
+
132
+ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"1"}}],"Created":1700549760,"Id":"148b89ef-14e1-489f-8e70-b767e5b27d56","Usage":{"PromptTokens":4,"CompletionTokens":2,"TotalTokens":6}}
133
+
134
+ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"+"}}],"Created":1700549760,"Id":"148b89ef-14e1-489f-8e70-b767e5b27d56","Usage":{"PromptTokens":4,"CompletionTokens":3,"TotalTokens":7}}
135
+
136
+ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"1"}}],"Created":1700549760,"Id":"148b89ef-14e1-489f-8e70-b767e5b27d56","Usage":{"PromptTokens":4,"CompletionTokens":4,"TotalTokens":8}}
137
+
138
+ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"="}}],"Created":1700549760,"Id":"148b89ef-14e1-489f-8e70-b767e5b27d56","Usage":{"PromptTokens":4,"CompletionTokens":5,"TotalTokens":9}}
139
+
140
+ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"2"}}],"Created":1700549760,"Id":"148b89ef-14e1-489f-8e70-b767e5b27d56","Usage":{"PromptTokens":4,"CompletionTokens":5,"TotalTokens":9}}
141
+
142
+ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"stop","Delta":{"Role":"assistant","Content":""}}],"Created":1700549760,"Id":"148b89ef-14e1-489f-8e70-b767e5b27d56","Usage":{"PromptTokens":4,"CompletionTokens":5,"TotalTokens":9}}
143
+ ```
144
+
145
+ **Example 5: 非流式请求成功示例**
146
+
147
+
148
+
149
+ Input:
150
+
151
+ ```
152
+ tccli hunyuan ChatCompletions --cli-unfold-argument \
153
+ --TopP 0 \
154
+ --Stream False \
155
+ --Temperature 0 \
156
+ --Model hunyuan-pro \
157
+ --Messages.0.Role user \
158
+ --Messages.0.Content 你好呀!
159
+ ```
160
+
161
+ Output:
162
+ ```
163
+ {
164
+ "Note": "以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记",
165
+ "Choices": [
166
+ {
167
+ "FinishReason": "stop",
168
+ "Message": {
169
+ "Role": "assistant",
170
+ "Content": "你好!很高兴为您提供帮助。请问有什么问题我可以帮助您解决?"
171
+ }
172
+ }
173
+ ],
174
+ "Created": 1710902312,
175
+ "Id": "e4657570-94a5-45f1-896c-a00ac3471d51",
176
+ "Usage": {
177
+ "PromptTokens": 3,
178
+ "CompletionTokens": 14,
179
+ "TotalTokens": 17
180
+ }
181
+ }
182
+ ```
183
+
@@ -92,10 +92,10 @@ Output:
92
92
  ```
93
93
  {
94
94
  "Response": {
95
- "RequestId": "655c67aad32b0f48f52b89b0",
95
+ "RequestId": "188cc996-ab09-49a7-aa9f-1df88f11c6b4",
96
96
  "Error": {
97
97
  "Code": "InvalidParameter",
98
- "Message": "The value of Temperature should be within the range [0.0, 2.0]: 4.800000 "
98
+ "Message": "Temperature must be 2 or less"
99
99
  }
100
100
  }
101
101
  }
@@ -6,7 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli lke GetEmbedding --cli-unfold-argument \
9
- --Model doc-normal-500-v5.8 \
9
+ --Model lke-text-embedding-v1 \
10
10
  --Inputs 你好 \
11
11
  --Online False
12
12
  ```
@@ -41,7 +41,10 @@ Output:
41
41
  "Reasons": [
42
42
  "abc"
43
43
  ],
44
- "IsLlmGenerated": true
44
+ "IsLlmGenerated": true,
45
+ "ImageUrls": [
46
+ ""
47
+ ]
45
48
  }
46
49
  ],
47
50
  "RequestId": "abc"