tccli 3.0.1049.1__py2.py3-none-any.whl → 3.0.1050.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/examples/csip/v20221121/ModifyRiskCenterScanTask.md +41 -0
- tccli/examples/essbasic/v20210526/ChannelCreatePrepareFlow.md +2 -2
- tccli/examples/hunyuan/v20230901/ChatPro.md +76 -0
- tccli/examples/hunyuan/v20230901/ChatStd.md +37 -0
- tccli/examples/live/v20180801/DescribeLiveTranscodeTemplates.md +8 -8
- tccli/examples/redis/v20180412/CreateInstanceAccount.md +7 -6
- tccli/examples/tke/v20180525/ForwardApplicationRequestV3.md +2 -2
- tccli/examples/trocket/v20230308/CreateMQTTInsPublicEndpoint.md +26 -0
- tccli/examples/trocket/v20230308/CreateMQTTTopic.md +25 -0
- tccli/examples/trocket/v20230308/CreateMQTTUser.md +27 -0
- tccli/examples/trocket/v20230308/DeleteMQTTInsPublicEndpoint.md +22 -0
- tccli/examples/trocket/v20230308/DeleteMQTTInstance.md +22 -0
- tccli/examples/trocket/v20230308/DeleteMQTTTopic.md +23 -0
- tccli/examples/trocket/v20230308/DeleteMQTTUser.md +23 -0
- tccli/examples/trocket/v20230308/DescribeMQTTClient.md +82 -0
- tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md +26 -0
- tccli/examples/trocket/v20230308/DescribeMQTTInsVPCEndpoints.md +40 -0
- tccli/examples/trocket/v20230308/DescribeMQTTInstance.md +34 -0
- tccli/examples/trocket/v20230308/DescribeMQTTInstanceCert.md +25 -0
- tccli/examples/trocket/v20230308/DescribeMQTTMessage.md +83 -0
- tccli/examples/trocket/v20230308/DescribeMQTTMessageList.md +54 -0
- tccli/examples/trocket/v20230308/DescribeMQTTTopic.md +27 -0
- tccli/examples/trocket/v20230308/DescribeMQTTTopicList.md +127 -0
- tccli/examples/trocket/v20230308/DescribeMQTTUserList.md +36 -0
- tccli/examples/trocket/v20230308/ModifyMQTTInsPublicEndpoint.md +26 -0
- tccli/examples/trocket/v20230308/ModifyMQTTInstance.md +24 -0
- tccli/examples/trocket/v20230308/ModifyMQTTInstanceCertBinding.md +24 -0
- tccli/examples/trocket/v20230308/ModifyMQTTTopic.md +24 -0
- tccli/examples/trocket/v20230308/ModifyMQTTUser.md +26 -0
- tccli/examples/wedata/v20210820/DeleteProjectUsers.md +36 -0
- tccli/services/csip/csip_client.py +53 -0
- tccli/services/csip/v20221121/api.json +145 -0
- tccli/services/csip/v20221121/examples.json +8 -0
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/hunyuan/v20230901/api.json +2 -2
- tccli/services/hunyuan/v20230901/examples.json +18 -0
- tccli/services/live/v20180801/api.json +12 -2
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/redis/v20180412/api.json +13 -10
- tccli/services/redis/v20180412/examples.json +2 -2
- tccli/services/tke/v20180525/api.json +26 -22
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/trocket/trocket_client.py +1231 -65
- tccli/services/trocket/v20230308/api.json +2042 -90
- tccli/services/trocket/v20230308/examples.json +182 -0
- tccli/services/ump/v20200918/api.json +2 -2
- tccli/services/wedata/v20210820/api.json +24 -0
- tccli/services/wedata/v20210820/examples.json +14 -0
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1049.1.dist-info → tccli-3.0.1050.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1049.1.dist-info → tccli-3.0.1050.1.dist-info}/RECORD +56 -32
- {tccli-3.0.1049.1.dist-info → tccli-3.0.1050.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1049.1.dist-info → tccli-3.0.1050.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1049.1.dist-info → tccli-3.0.1050.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1050.1'
|
@@ -0,0 +1,41 @@
|
|
1
|
+
**Example 1: 修改风险中心扫描任务**
|
2
|
+
|
3
|
+
修改风险中心扫描任务
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli csip ModifyRiskCenterScanTask --cli-unfold-argument \
|
9
|
+
--TaskName abc \
|
10
|
+
--Assets.0.AssetName abc \
|
11
|
+
--Assets.0.InstanceType abc \
|
12
|
+
--Assets.0.AssetType abc \
|
13
|
+
--Assets.0.Asset abc \
|
14
|
+
--Assets.0.Region abc \
|
15
|
+
--ScanAssetType 0 \
|
16
|
+
--ScanItem abc \
|
17
|
+
--ScanPlanType 0 \
|
18
|
+
--ScanPlanContent abc \
|
19
|
+
--SelfDefiningAssets abc \
|
20
|
+
--TaskId abc \
|
21
|
+
--TaskAdvanceCFG.VulRisk.0.RiskId abc \
|
22
|
+
--TaskAdvanceCFG.VulRisk.0.Enable 0 \
|
23
|
+
--TaskAdvanceCFG.WeakPwdRisk.0.CheckItemId 0 \
|
24
|
+
--TaskAdvanceCFG.WeakPwdRisk.0.Enable 0 \
|
25
|
+
--TaskAdvanceCFG.CFGRisk.0.ItemId abc \
|
26
|
+
--TaskAdvanceCFG.CFGRisk.0.Enable 0 \
|
27
|
+
--TaskAdvanceCFG.CFGRisk.0.ResourceType abc \
|
28
|
+
--TaskMode 0
|
29
|
+
```
|
30
|
+
|
31
|
+
Output:
|
32
|
+
```
|
33
|
+
{
|
34
|
+
"Response": {
|
35
|
+
"TaskId": "abc",
|
36
|
+
"Status": 0,
|
37
|
+
"RequestId": "abc"
|
38
|
+
}
|
39
|
+
}
|
40
|
+
```
|
41
|
+
|
@@ -58,7 +58,7 @@ Output:
|
|
58
58
|
|
59
59
|
1.这是一个B2C的合同模板, 创建发起合同签署链接,只指定一个子企业的参与方
|
60
60
|
2.FlowApproverList参数指定的参与方不能更改, 未指定的参与方可以修改
|
61
|
-
<img src="https://qcloudimg.tencent-cloud.cn/raw/f51c3d969db0093300094a22c6c01555.png"
|
61
|
+
<img src="https://qcloudimg.tencent-cloud.cn/raw/f51c3d969db0093300094a22c6c01555.png" />
|
62
62
|
|
63
63
|
|
64
64
|
Input:
|
@@ -97,7 +97,7 @@ Output:
|
|
97
97
|
|
98
98
|
1.创建发起合同签署链接, 提前定义两个签署人, 分别是 B端渠道子客企业的员工和C端为张三这个自然人
|
99
99
|
2.FlowApproverList参数指定的参与方不能更改
|
100
|
-
<img src="https://qcloudimg.tencent-cloud.cn/raw/935a3cebf2881b25c1d87e234a303a13.png"
|
100
|
+
<img src="https://qcloudimg.tencent-cloud.cn/raw/935a3cebf2881b25c1d87e234a303a13.png" />
|
101
101
|
|
102
102
|
|
103
103
|
Input:
|
@@ -62,3 +62,79 @@ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除
|
|
62
62
|
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}}
|
63
63
|
```
|
64
64
|
|
65
|
+
**Example 3: system参数示例**
|
66
|
+
|
67
|
+
system提示词
|
68
|
+
|
69
|
+
Input:
|
70
|
+
|
71
|
+
```
|
72
|
+
tccli hunyuan ChatPro --cli-unfold-argument \
|
73
|
+
--TopP 1 \
|
74
|
+
--Temperature 1 \
|
75
|
+
--Messages.0.Role system \
|
76
|
+
--Messages.0.Content 将英文单词转换为包括中文翻译、英文释义和一个例句的完整解释。请检查所有信息是否准确,并在回答时保持简洁,不需要任何其他反馈。 \
|
77
|
+
--Messages.1.Role user \
|
78
|
+
--Messages.1.Content nice
|
79
|
+
```
|
80
|
+
|
81
|
+
Output:
|
82
|
+
```
|
83
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"很好"}}],"Created":1705634813,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":1,"TotalTokens":37}}
|
84
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":":"}}],"Created":1705634813,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":2,"TotalTokens":38}}
|
85
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"nice"}}],"Created":1705634813,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":3,"TotalTokens":39}}
|
86
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"\n"}}],"Created":1705634813,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":4,"TotalTokens":40}}
|
87
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"英文"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":5,"TotalTokens":41}}
|
88
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"释义"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":6,"TotalTokens":42}}
|
89
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":":"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":7,"TotalTokens":43}}
|
90
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"ple"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":8,"TotalTokens":44}}
|
91
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"asing"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":9,"TotalTokens":45}}
|
92
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" or"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":10,"TotalTokens":46}}
|
93
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" acceptable"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":11,"TotalTokens":47}}
|
94
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"\n"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":12,"TotalTokens":48}}
|
95
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"例"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":13,"TotalTokens":49}}
|
96
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"句"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":14,"TotalTokens":50}}
|
97
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":":"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":15,"TotalTokens":51}}
|
98
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"She"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":16,"TotalTokens":52}}
|
99
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" had"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":17,"TotalTokens":53}}
|
100
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" a"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":18,"TotalTokens":54}}
|
101
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" nice"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":19,"TotalTokens":55}}
|
102
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" smile"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":20,"TotalTokens":56}}
|
103
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"."}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":21,"TotalTokens":57}}
|
104
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"stop","Delta":{"Role":"assistant","Content":""}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":21,"TotalTokens":57}}
|
105
|
+
```
|
106
|
+
|
107
|
+
**Example 4: 多轮对话示例**
|
108
|
+
|
109
|
+
多轮对话场景
|
110
|
+
|
111
|
+
Input:
|
112
|
+
|
113
|
+
```
|
114
|
+
tccli hunyuan ChatPro --cli-unfold-argument \
|
115
|
+
--TopP 1 \
|
116
|
+
--Temperature 1 \
|
117
|
+
--Messages.0.Role user \
|
118
|
+
--Messages.0.Content 请介绍下自己 \
|
119
|
+
--Messages.1.Role assistant \
|
120
|
+
--Messages.1.Content 我的名字是腾讯混元大模型,是腾讯开发的一款大型语言模型。我能够理解人类语言,擅长提供问答服务、常识推理、文本创作、数学计算和互动问答等服务。如果您需要帮助或有任何问题,请随时向我提问。 \
|
121
|
+
--Messages.2.Role user \
|
122
|
+
--Messages.2.Content 请给我讲个字数小于10个字的搞笑笑话 \
|
123
|
+
--Messages.3.Role assistant \
|
124
|
+
--Messages.3.Content 猫头鹰遇见眯眯眼,看得眼睛都眯成线。” \
|
125
|
+
--Messages.4.Role user \
|
126
|
+
--Messages.4.Content 不好笑,换一个吧
|
127
|
+
```
|
128
|
+
|
129
|
+
Output:
|
130
|
+
```
|
131
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"青蛙"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":1,"TotalTokens":86}}
|
132
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"跳"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":2,"TotalTokens":87}}
|
133
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"高"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":3,"TotalTokens":88}}
|
134
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":","}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":4,"TotalTokens":89}}
|
135
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"比"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":5,"TotalTokens":90}}
|
136
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"下马"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":6,"TotalTokens":91}}
|
137
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"。"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":7,"TotalTokens":92}}
|
138
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"stop","Delta":{"Role":"assistant","Content":""}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":7,"TotalTokens":92}}
|
139
|
+
```
|
140
|
+
|
@@ -62,3 +62,40 @@ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除
|
|
62
62
|
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}}
|
63
63
|
```
|
64
64
|
|
65
|
+
**Example 3: 多轮对话示例**
|
66
|
+
|
67
|
+
多轮对话场景
|
68
|
+
|
69
|
+
Input:
|
70
|
+
|
71
|
+
```
|
72
|
+
tccli hunyuan ChatStd --cli-unfold-argument \
|
73
|
+
--TopP 1 \
|
74
|
+
--Temperature 1 \
|
75
|
+
--Messages.0.Role user \
|
76
|
+
--Messages.0.Content 请介绍下自己 \
|
77
|
+
--Messages.1.Role assistant \
|
78
|
+
--Messages.1.Content 我的名字是腾讯混元大模型,是腾讯开发的一款大型语言模型。我能够理解人类语言,擅长提供问答服务、常识推理、文本创作、数学计算和互动问答等服务。如果您需要帮助或有任何问题,请随时向我提问。 \
|
79
|
+
--Messages.2.Role user \
|
80
|
+
--Messages.2.Content 请给我讲个字数小于10个字的搞笑笑话 \
|
81
|
+
--Messages.3.Role assistant \
|
82
|
+
--Messages.3.Content 猫头鹰遇见眯眯眼,看得眼睛都眯成线。” \
|
83
|
+
--Messages.4.Role user \
|
84
|
+
--Messages.4.Content 不好笑,换一个吧
|
85
|
+
```
|
86
|
+
|
87
|
+
Output:
|
88
|
+
```
|
89
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"老鼠"}}],"Created":1705635290,"Id":"eb53a6d6-c000-4b74-aad2-a8e82540518a","Usage":{"PromptTokens":85,"CompletionTokens":1,"TotalTokens":86}}
|
90
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"遇见"}}],"Created":1705635290,"Id":"eb53a6d6-c000-4b74-aad2-a8e82540518a","Usage":{"PromptTokens":85,"CompletionTokens":2,"TotalTokens":87}}
|
91
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"猫"}}],"Created":1705635290,"Id":"eb53a6d6-c000-4b74-aad2-a8e82540518a","Usage":{"PromptTokens":85,"CompletionTokens":3,"TotalTokens":88}}
|
92
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":","}}],"Created":1705635290,"Id":"eb53a6d6-c000-4b74-aad2-a8e82540518a","Usage":{"PromptTokens":85,"CompletionTokens":4,"TotalTokens":89}}
|
93
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"逃"}}],"Created":1705635290,"Id":"eb53a6d6-c000-4b74-aad2-a8e82540518a","Usage":{"PromptTokens":85,"CompletionTokens":5,"TotalTokens":90}}
|
94
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"得"}}],"Created":1705635290,"Id":"eb53a6d6-c000-4b74-aad2-a8e82540518a","Usage":{"PromptTokens":85,"CompletionTokens":6,"TotalTokens":91}}
|
95
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"比"}}],"Created":1705635290,"Id":"eb53a6d6-c000-4b74-aad2-a8e82540518a","Usage":{"PromptTokens":85,"CompletionTokens":7,"TotalTokens":92}}
|
96
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"闪电"}}],"Created":1705635290,"Id":"eb53a6d6-c000-4b74-aad2-a8e82540518a","Usage":{"PromptTokens":85,"CompletionTokens":8,"TotalTokens":93}}
|
97
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"快"}}],"Created":1705635290,"Id":"eb53a6d6-c000-4b74-aad2-a8e82540518a","Usage":{"PromptTokens":85,"CompletionTokens":9,"TotalTokens":94}}
|
98
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"。"}}],"Created":1705635290,"Id":"eb53a6d6-c000-4b74-aad2-a8e82540518a","Usage":{"PromptTokens":85,"CompletionTokens":10,"TotalTokens":95}}
|
99
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"stop","Delta":{"Role":"assistant","Content":""}}],"Created":1705635291,"Id":"eb53a6d6-c000-4b74-aad2-a8e82540518a","Usage":{"PromptTokens":85,"CompletionTokens":10,"TotalTokens":95}}
|
100
|
+
```
|
101
|
+
|
@@ -17,28 +17,28 @@ Output:
|
|
17
17
|
"Fps": 30,
|
18
18
|
"TemplateId": 1000,
|
19
19
|
"Gop": 3,
|
20
|
-
"Acodec": "
|
21
|
-
"Profile": "
|
22
|
-
"Description": "
|
20
|
+
"Acodec": "aac",
|
21
|
+
"Profile": "baseline",
|
22
|
+
"Description": "模板描述",
|
23
23
|
"VideoBitrate": 30,
|
24
24
|
"BitrateToOrig": 0,
|
25
25
|
"AiTransCode": 0,
|
26
26
|
"HeightToOrig": 0,
|
27
27
|
"AudioBitrate": 15,
|
28
28
|
"Rotate": 0,
|
29
|
-
"TemplateName": "
|
29
|
+
"TemplateName": "模板名称",
|
30
30
|
"AdaptBitratePercent": 0.0,
|
31
|
-
"Vcodec": "
|
31
|
+
"Vcodec": "h264",
|
32
32
|
"NeedAudio": 1,
|
33
|
-
"DRMTracks": "
|
33
|
+
"DRMTracks": "AUDIO|UHD2",
|
34
34
|
"NeedVideo": 1,
|
35
|
-
"DRMType": "
|
35
|
+
"DRMType": "widevine",
|
36
36
|
"ShortEdgeAsHeight": 0,
|
37
37
|
"Height": 250,
|
38
38
|
"FpsToOrig": 0
|
39
39
|
}
|
40
40
|
],
|
41
|
-
"RequestId": "
|
41
|
+
"RequestId": "1dc2eb7b-b29b-4c5a-96f6-5699c54140fd"
|
42
42
|
}
|
43
43
|
}
|
44
44
|
```
|
@@ -6,19 +6,20 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli redis CreateInstanceAccount --cli-unfold-argument \
|
9
|
-
--InstanceId crs-
|
10
|
-
--AccountName
|
11
|
-
--AccountPassword
|
9
|
+
--InstanceId crs-evst**** \
|
10
|
+
--AccountName redis_dev \
|
11
|
+
--AccountPassword c1evuh**** \
|
12
12
|
--ReadonlyPolicy master \
|
13
|
-
--Privilege rw
|
13
|
+
--Privilege rw \
|
14
|
+
--Remark "开发账号"
|
14
15
|
```
|
15
16
|
|
16
17
|
Output:
|
17
18
|
```
|
18
19
|
{
|
19
20
|
"Response": {
|
20
|
-
"TaskId":
|
21
|
-
"RequestId": "
|
21
|
+
"TaskId": 114805324,
|
22
|
+
"RequestId": "2cd067fd-71db-4d8f-b0ac-4e83********"
|
22
23
|
}
|
23
24
|
}
|
24
25
|
```
|
@@ -7,8 +7,8 @@ Input:
|
|
7
7
|
```
|
8
8
|
tccli tke ForwardApplicationRequestV3 --cli-unfold-argument \
|
9
9
|
--Method GET \
|
10
|
-
--Path /
|
11
|
-
--ClusterName cls-
|
10
|
+
--Path /apis/application.tkestack.io/v1/namespaces/cls-gk7cm35k/apps/ \
|
11
|
+
--ClusterName cls-gk7cm35k
|
12
12
|
```
|
13
13
|
|
14
14
|
Output:
|
@@ -0,0 +1,26 @@
|
|
1
|
+
**Example 1: 示例**
|
2
|
+
|
3
|
+
示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli trocket CreateMQTTInsPublicEndpoint --cli-unfold-argument \
|
9
|
+
--InstanceId mqtt-rvb5xxrn \
|
10
|
+
--Bandwidth 2 \
|
11
|
+
--Rules.0.IpRule 1.1.1.1 \
|
12
|
+
--Rules.0.Allow True \
|
13
|
+
--Rules.0.Remark remark
|
14
|
+
```
|
15
|
+
|
16
|
+
Output:
|
17
|
+
```
|
18
|
+
{
|
19
|
+
"Error": null,
|
20
|
+
"RequestId": null,
|
21
|
+
"Response": {
|
22
|
+
"RequestId": "416510a6-f614-487d-bbca-e7fdbf72fc29"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 示例**
|
2
|
+
|
3
|
+
示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli trocket CreateMQTTTopic --cli-unfold-argument \
|
9
|
+
--InstanceId mqtt-7pnqmkrx \
|
10
|
+
--Topic topic1
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Error": null,
|
17
|
+
"RequestId": null,
|
18
|
+
"Response": {
|
19
|
+
"InstanceId": "mqtt-7pnqmkrx",
|
20
|
+
"RequestId": "dff879db-cb6f-4ffb-b820-ea6f391a8da7",
|
21
|
+
"Topic": "topic1"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
**Example 1: 示例**
|
2
|
+
|
3
|
+
示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli trocket CreateMQTTUser --cli-unfold-argument \
|
9
|
+
--InstanceId mqtt-7pnqmkrx \
|
10
|
+
--Remark 33333 \
|
11
|
+
--PermWrite True \
|
12
|
+
--PermRead True \
|
13
|
+
--Username 123 \
|
14
|
+
--Password 456
|
15
|
+
```
|
16
|
+
|
17
|
+
Output:
|
18
|
+
```
|
19
|
+
{
|
20
|
+
"Error": null,
|
21
|
+
"RequestId": null,
|
22
|
+
"Response": {
|
23
|
+
"RequestId": "25cb77a7-2add-4086-8fd2-a05b5bd34776"
|
24
|
+
}
|
25
|
+
}
|
26
|
+
```
|
27
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 示例**
|
2
|
+
|
3
|
+
示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli trocket DeleteMQTTInsPublicEndpoint --cli-unfold-argument \
|
9
|
+
--InstanceId mqtt-rvb5xxrn
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Error": null,
|
16
|
+
"RequestId": null,
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "de89c7dd-7c3e-4546-a2ca-91c5baa0415f"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 示例**
|
2
|
+
|
3
|
+
示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli trocket DeleteMQTTInstance --cli-unfold-argument \
|
9
|
+
--InstanceId mqtt-wjgxr8jg
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Error": null,
|
16
|
+
"RequestId": null,
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "84afeb76-9175-47ec-a6f1-8d0af0c0aae6"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
**Example 1: 示例**
|
2
|
+
|
3
|
+
示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli trocket DeleteMQTTTopic --cli-unfold-argument \
|
9
|
+
--InstanceId mqtt-rvb5xxrn \
|
10
|
+
--Topic 111
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Error": null,
|
17
|
+
"RequestId": null,
|
18
|
+
"Response": {
|
19
|
+
"RequestId": "f3a081b8-dc97-4d62-bb1a-d1aa9fe80da8"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
**Example 1: 示例**
|
2
|
+
|
3
|
+
示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli trocket DeleteMQTTUser --cli-unfold-argument \
|
9
|
+
--InstanceId mqtt-7pnqmkrx \
|
10
|
+
--Username 123
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Error": null,
|
17
|
+
"RequestId": null,
|
18
|
+
"Response": {
|
19
|
+
"RequestId": "74625f9b-ce92-43d5-ba0b-9a85ddb99041"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
@@ -0,0 +1,82 @@
|
|
1
|
+
**Example 1: 标准请求**
|
2
|
+
|
3
|
+
标准请求
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli trocket DescribeMQTTClient --cli-unfold-argument \
|
9
|
+
--InstanceId mqtt-25m2jz9j \
|
10
|
+
--ClientId recv01
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Error": null,
|
17
|
+
"RequestId": null,
|
18
|
+
"Response": {
|
19
|
+
"ClientAddress": "/11.176.16.157:43440",
|
20
|
+
"ClientId": "recv01",
|
21
|
+
"ConnectTime": 1703581008199,
|
22
|
+
"ConnectionStatus": "CONNECTED",
|
23
|
+
"CreateTime": 1703581008198,
|
24
|
+
"DisconnectTime": 0,
|
25
|
+
"Keepalive": 60,
|
26
|
+
"MQTTClientSubscriptions": [
|
27
|
+
{
|
28
|
+
"Qos": 1,
|
29
|
+
"TopicFilter": "mqtt-25m2jz9j%111/r1/"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"Qos": 1,
|
33
|
+
"TopicFilter": "mqtt-25m2jz9j%111/r/+/"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"Qos": 2,
|
37
|
+
"TopicFilter": "mqtt-25m2jz9j%111/r2/"
|
38
|
+
}
|
39
|
+
],
|
40
|
+
"ProtocolVersion": 4,
|
41
|
+
"RequestId": "b0f34768-130d-4a15-89d3-d3ca1976b4b7"
|
42
|
+
}
|
43
|
+
}
|
44
|
+
```
|
45
|
+
|
46
|
+
**Example 2: 示例**
|
47
|
+
|
48
|
+
示例
|
49
|
+
|
50
|
+
Input:
|
51
|
+
|
52
|
+
```
|
53
|
+
tccli trocket DescribeMQTTClient --cli-unfold-argument \
|
54
|
+
--InstanceId mqtt-47ka4rdr \
|
55
|
+
--ClientId subscribe_client
|
56
|
+
```
|
57
|
+
|
58
|
+
Output:
|
59
|
+
```
|
60
|
+
{
|
61
|
+
"Error": null,
|
62
|
+
"RequestId": null,
|
63
|
+
"Response": {
|
64
|
+
"ClientAddress": "11.176.16.153:37360",
|
65
|
+
"ClientId": "subscribe_client",
|
66
|
+
"ConnectTime": 1705632841108,
|
67
|
+
"ConnectionStatus": "CONNECTED",
|
68
|
+
"CreateTime": 1705632841106,
|
69
|
+
"DisconnectTime": 0,
|
70
|
+
"Keepalive": 60,
|
71
|
+
"MQTTClientSubscriptions": [
|
72
|
+
{
|
73
|
+
"Qos": 0,
|
74
|
+
"TopicFilter": "mqtt-47ka4rdr%topic24"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"ProtocolVersion": 4,
|
78
|
+
"RequestId": "4ec9c58c-e6ac-4149-9673-b8f0d526a6aa"
|
79
|
+
}
|
80
|
+
}
|
81
|
+
```
|
82
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
**Example 1: 示例**
|
2
|
+
|
3
|
+
示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli trocket DescribeMQTTInsPublicEndpoints --cli-unfold-argument \
|
9
|
+
--InstanceId mqtt-47ka4rdr
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Error": null,
|
16
|
+
"RequestId": null,
|
17
|
+
"Response": {
|
18
|
+
"Bandwidth": 0,
|
19
|
+
"Endpoints": [],
|
20
|
+
"InstanceId": "mqtt-47ka4rdr",
|
21
|
+
"RequestId": "2cbe9dbc-57a3-4624-9ab8-30d25b54c70b",
|
22
|
+
"Rules": []
|
23
|
+
}
|
24
|
+
}
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
**Example 1: 示例**
|
2
|
+
|
3
|
+
示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli trocket DescribeMQTTInsVPCEndpoints --cli-unfold-argument \
|
9
|
+
--InstanceId mqtt-47ka4rdr
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Error": null,
|
16
|
+
"RequestId": null,
|
17
|
+
"Response": {
|
18
|
+
"Endpoints": [
|
19
|
+
{
|
20
|
+
"Host": "mqtt-47ka4rdr-cd-qcloud.mqtt.tencenttdmq.com",
|
21
|
+
"Port": 1883,
|
22
|
+
"SubnetId": null,
|
23
|
+
"Type": "mqtt-tcp",
|
24
|
+
"Url": "mqtt-47ka4rdr-cd-qcloud.mqtt.tencenttdmq.com:1883",
|
25
|
+
"VpcId": null
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"Host": "mqtt-47ka4rdr-cd-qcloud.mqtt.tencenttdmq.com",
|
29
|
+
"Port": 8888,
|
30
|
+
"SubnetId": null,
|
31
|
+
"Type": "mqtt-ws",
|
32
|
+
"Url": "mqtt-47ka4rdr-cd-qcloud.mqtt.tencenttdmq.com:8888",
|
33
|
+
"VpcId": null
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"RequestId": "31911506-4e35-45b6-8261-a51bf3d85bd5"
|
37
|
+
}
|
38
|
+
}
|
39
|
+
```
|
40
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
**Example 1: 示例**
|
2
|
+
|
3
|
+
示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli trocket DescribeMQTTInstance --cli-unfold-argument \
|
9
|
+
--InstanceId mqtt-7pnqmkrx
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Error": null,
|
16
|
+
"RequestId": null,
|
17
|
+
"Response": {
|
18
|
+
"ClientNumLimit": 1000,
|
19
|
+
"CreatedTime": 1705562417,
|
20
|
+
"InstanceId": "mqtt-7pnqmkrx",
|
21
|
+
"InstanceName": "sunjianxiong-1",
|
22
|
+
"InstanceStatus": "RUNNING",
|
23
|
+
"InstanceType": "BASIC",
|
24
|
+
"Remark": "this is remark",
|
25
|
+
"RequestId": "2251b9cf-aedd-4457-ac8d-bc705f48ccb8",
|
26
|
+
"SkuCode": "basic_1k",
|
27
|
+
"SubscriptionNumLimit": 1000,
|
28
|
+
"TopicNum": 1,
|
29
|
+
"TopicNumLimit": 25,
|
30
|
+
"TpsLimit": 1000
|
31
|
+
}
|
32
|
+
}
|
33
|
+
```
|
34
|
+
|