tccli 3.0.1048.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/antiddos/v20200309/DescribeBGPIPL7Rules.md +87 -0
- tccli/examples/ckafka/v20190819/DescribeGroup.md +6 -5
- tccli/examples/csip/v20221121/ModifyOrganizationAccountStatus.md +21 -0
- tccli/examples/csip/v20221121/ModifyRiskCenterScanTask.md +41 -0
- tccli/examples/cynosdb/v20190107/AddInstances.md +2 -2
- tccli/examples/cynosdb/v20190107/DescribeClusterInstanceGrps.md +235 -79
- tccli/examples/cynosdb/v20190107/DescribeClusterParams.md +3 -1
- tccli/examples/cynosdb/v20190107/DescribeClusterPasswordComplexity.md +18 -6
- tccli/examples/cynosdb/v20190107/DescribeInstances.md +63 -55
- tccli/examples/cynosdb/v20190107/DescribeParamTemplateDetail.md +3 -1
- tccli/examples/cynosdb/v20190107/ModifyVipVport.md +3 -3
- 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/oceanus/v20190422/CopyJobs.md +11 -20
- tccli/examples/redis/v20180412/CreateInstanceAccount.md +7 -6
- tccli/examples/teo/v20220901/DescribeDefaultCertificates.md +2 -1
- tccli/examples/tke/v20180525/ForwardApplicationRequestV3.md +2 -2
- tccli/examples/trocket/v20230308/CreateMQTTInsPublicEndpoint.md +26 -0
- tccli/examples/trocket/v20230308/CreateMQTTInstance.md +31 -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/DescribeMQTTInstanceList.md +176 -0
- tccli/examples/trocket/v20230308/DescribeMQTTMessage.md +83 -0
- tccli/examples/trocket/v20230308/DescribeMQTTMessageList.md +54 -0
- tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +94 -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/antiddos/antiddos_client.py +53 -0
- tccli/services/antiddos/v20200309/api.json +439 -0
- tccli/services/antiddos/v20200309/examples.json +8 -0
- tccli/services/cfg/v20210820/api.json +21 -10
- tccli/services/ckafka/v20190819/api.json +6 -5
- tccli/services/ckafka/v20190819/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +48 -19
- tccli/services/csip/csip_client.py +106 -0
- tccli/services/csip/v20221121/api.json +188 -0
- tccli/services/csip/v20221121/examples.json +16 -0
- tccli/services/cynosdb/v20190107/api.json +415 -87
- tccli/services/cynosdb/v20190107/examples.json +12 -12
- 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 +13 -3
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/oceanus/v20190422/api.json +32 -3
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/privatedns/v20201028/api.json +29 -19
- tccli/services/redis/v20180412/api.json +13 -10
- tccli/services/redis/v20180412/examples.json +2 -2
- tccli/services/ssl/ssl_client.py +0 -53
- tccli/services/ssl/v20191205/api.json +0 -99
- tccli/services/ssl/v20191205/examples.json +0 -8
- tccli/services/teo/v20220901/api.json +14 -3
- tccli/services/teo/v20220901/examples.json +1 -1
- tccli/services/tke/v20180525/api.json +26 -22
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/trocket/trocket_client.py +1377 -52
- tccli/services/trocket/v20230308/api.json +2946 -502
- tccli/services/trocket/v20230308/examples.json +212 -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.1048.1.dist-info → tccli-3.0.1050.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1048.1.dist-info → tccli-3.0.1050.1.dist-info}/RECORD +88 -59
- {tccli-3.0.1048.1.dist-info → tccli-3.0.1050.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1048.1.dist-info → tccli-3.0.1050.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1048.1.dist-info → tccli-3.0.1050.1.dist-info}/license_files/LICENSE +0 -0
@@ -8,16 +8,16 @@ Input:
|
|
8
8
|
tccli cynosdb DescribeInstances --cli-unfold-argument \
|
9
9
|
--Limit 0 \
|
10
10
|
--Offset 0 \
|
11
|
-
--OrderBy
|
12
|
-
--OrderByType
|
13
|
-
--Filters.0.Names
|
14
|
-
--Filters.0.Values
|
11
|
+
--OrderBy CREATETIME \
|
12
|
+
--OrderByType ASC \
|
13
|
+
--Filters.0.Names status \
|
14
|
+
--Filters.0.Values running \
|
15
15
|
--Filters.0.ExactMatch True \
|
16
|
-
--Filters.0.Name
|
17
|
-
--Filters.0.Operator
|
18
|
-
--DbType
|
19
|
-
--Status
|
20
|
-
--InstanceIds
|
16
|
+
--Filters.0.Name \
|
17
|
+
--Filters.0.Operator \
|
18
|
+
--DbType MYSQL \
|
19
|
+
--Status running \
|
20
|
+
--InstanceIds cynosdbmysql-ins-1asd45qwe
|
21
21
|
```
|
22
22
|
|
23
23
|
Output:
|
@@ -27,85 +27,93 @@ Output:
|
|
27
27
|
"TotalCount": 0,
|
28
28
|
"InstanceSet": [
|
29
29
|
{
|
30
|
-
"Uin": "
|
30
|
+
"Uin": "1111111",
|
31
31
|
"AppId": 0,
|
32
|
-
"ClusterId": "
|
32
|
+
"ClusterId": "cynosdbmysql-asd45qwe",
|
33
33
|
"ClusterName": "abc",
|
34
|
-
"InstanceId": "
|
34
|
+
"InstanceId": "cynosdbmysql-ins-asd45qwe",
|
35
35
|
"InstanceName": "abc",
|
36
36
|
"ProjectId": 0,
|
37
|
-
"Region": "
|
38
|
-
"Zone": "
|
39
|
-
"Status": "
|
40
|
-
"StatusDesc": "
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"
|
37
|
+
"Region": "ap-guangzhou",
|
38
|
+
"Zone": "ap-guangzhou-3",
|
39
|
+
"Status": "running",
|
40
|
+
"StatusDesc": "运行中",
|
41
|
+
"DbMode": "NORMAL",
|
42
|
+
"DbType": "MYSQL",
|
43
|
+
"DbVersion": "5.7",
|
44
|
+
"Cpu": 1,
|
45
|
+
"Memory": 1,
|
46
|
+
"Storage": 10,
|
47
|
+
"InstanceType": "rw",
|
48
|
+
"InstanceRole": "master",
|
48
49
|
"UpdateTime": "2020-09-22 00:00:00",
|
49
50
|
"CreateTime": "2020-09-22 00:00:00",
|
50
|
-
"VpcId": "
|
51
|
-
"SubnetId": "
|
52
|
-
"Vip": "
|
53
|
-
"Vport":
|
51
|
+
"VpcId": "vpc-12as56",
|
52
|
+
"SubnetId": "subnet-123asd",
|
53
|
+
"Vip": "192.0.0.0",
|
54
|
+
"Vport": 3306,
|
54
55
|
"PayMode": 0,
|
55
56
|
"PeriodEndTime": "2020-09-22 00:00:00",
|
56
57
|
"DestroyDeadlineText": "abc",
|
57
58
|
"IsolateTime": "2020-09-22 00:00:00",
|
58
59
|
"NetType": 0,
|
59
|
-
"WanDomain": "
|
60
|
-
"WanIP": "
|
60
|
+
"WanDomain": "",
|
61
|
+
"WanIP": "",
|
61
62
|
"WanPort": 0,
|
62
|
-
"WanStatus": "
|
63
|
-
"DestroyTime": "
|
64
|
-
"CynosVersion": "
|
65
|
-
"ProcessingTask": "
|
63
|
+
"WanStatus": "",
|
64
|
+
"DestroyTime": "",
|
65
|
+
"CynosVersion": "2.0.10",
|
66
|
+
"ProcessingTask": "",
|
66
67
|
"RenewFlag": 0,
|
67
68
|
"MinCpu": 0,
|
68
69
|
"MaxCpu": 0,
|
69
|
-
"ServerlessStatus": "
|
70
|
-
"StorageId": "
|
70
|
+
"ServerlessStatus": "",
|
71
|
+
"StorageId": "",
|
71
72
|
"StoragePayMode": 0,
|
72
|
-
"PhysicalZone": "
|
73
|
-
"BusinessType": "
|
73
|
+
"PhysicalZone": "ap-guangzhou-3",
|
74
|
+
"BusinessType": "",
|
74
75
|
"Tasks": [
|
75
76
|
{
|
76
|
-
"TaskId":
|
77
|
-
"TaskType": "
|
78
|
-
"TaskStatus": "
|
79
|
-
"ObjectId": "
|
80
|
-
"ObjectType": "
|
77
|
+
"TaskId": 111110,
|
78
|
+
"TaskType": "taskCreateClusters",
|
79
|
+
"TaskStatus": "running",
|
80
|
+
"ObjectId": "cynosdbmysql-asd45qwe",
|
81
|
+
"ObjectType": "cluster"
|
81
82
|
}
|
82
83
|
],
|
83
|
-
"IsFreeze": "
|
84
|
+
"IsFreeze": "no",
|
84
85
|
"ResourceTags": [
|
85
86
|
{
|
86
87
|
"TagKey": "abc",
|
87
88
|
"TagValue": "abc"
|
88
89
|
}
|
89
90
|
],
|
90
|
-
"MasterZone": "
|
91
|
+
"MasterZone": "ap-guangzhou-3",
|
91
92
|
"SlaveZones": [
|
92
|
-
"
|
93
|
+
"ap-guangzhou-4"
|
93
94
|
],
|
94
95
|
"InstanceNetInfo": [
|
95
96
|
{
|
96
|
-
"InstanceGroupType": "
|
97
|
-
"InstanceGroupId": "
|
98
|
-
"VpcId": "
|
99
|
-
"SubnetId": "
|
97
|
+
"InstanceGroupType": "ha",
|
98
|
+
"InstanceGroupId": "cynosdbmysql-grp-asd45qwe",
|
99
|
+
"VpcId": "vpc-12as45",
|
100
|
+
"SubnetId": "subnet-12as45",
|
100
101
|
"NetType": 0,
|
101
|
-
"Vip": "
|
102
|
-
"Vport":
|
103
|
-
"WanDomain": "
|
104
|
-
"WanIP": "
|
102
|
+
"Vip": "192.0.0.0",
|
103
|
+
"Vport": 3306,
|
104
|
+
"WanDomain": "",
|
105
|
+
"WanIP": "",
|
105
106
|
"WanPort": 0,
|
106
|
-
"WanStatus": "
|
107
|
+
"WanStatus": ""
|
107
108
|
}
|
108
|
-
]
|
109
|
+
],
|
110
|
+
"ResourcePackages": [
|
111
|
+
{
|
112
|
+
"PackageId": "",
|
113
|
+
"PackageType": ""
|
114
|
+
}
|
115
|
+
],
|
116
|
+
"InstanceIndexMode": ""
|
109
117
|
}
|
110
118
|
],
|
111
119
|
"RequestId": "abc"
|
@@ -6,8 +6,8 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli cynosdb ModifyVipVport --cli-unfold-argument \
|
9
|
-
--ClusterId
|
10
|
-
--InstanceGrpId
|
9
|
+
--ClusterId xxx \
|
10
|
+
--InstanceGrpId xxx \
|
11
11
|
--Vip xx.xx.xx.xx
|
12
12
|
```
|
13
13
|
|
@@ -16,7 +16,7 @@ Output:
|
|
16
16
|
{
|
17
17
|
"Response": {
|
18
18
|
"RequestId": "128046",
|
19
|
-
"FlowId": 123
|
19
|
+
"FlowId": "123"
|
20
20
|
}
|
21
21
|
}
|
22
22
|
```
|
@@ -58,7 +58,7 @@ Output:
|
|
58
58
|
|
59
59
|
1.这是一个B2C的合同模板, 创建发起合同签署链接,只指定一个子企业的参与方
|
60
60
|
2.FlowApproverList参数指定的参与方不能更改, 未指定的参与方可以修改
|
61
|
-
<img
|
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
|
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
|
```
|
@@ -19,31 +19,22 @@ Output:
|
|
19
19
|
```
|
20
20
|
{
|
21
21
|
"Response": {
|
22
|
+
"SuccessCount": 0,
|
23
|
+
"FailCount": 0,
|
22
24
|
"CopyJobsResults": [
|
23
25
|
{
|
24
|
-
"JobId": "
|
25
|
-
"JobName": "
|
26
|
-
"TargetJobName": "",
|
27
|
-
"TargetJobId": "",
|
28
|
-
"Message": "
|
29
|
-
"Result": -1,
|
30
|
-
"ClusterName": "",
|
31
|
-
"ClusterId": ""
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"JobId": "cql-njifzfwn",
|
35
|
-
"JobName": "OOM",
|
36
|
-
"TargetJobName": "OOM_2021-12-21_17_54_32",
|
37
|
-
"TargetJobId": "cql-2dhxz8sf",
|
38
|
-
"Message": "OK",
|
26
|
+
"JobId": "abc",
|
27
|
+
"JobName": "abc",
|
28
|
+
"TargetJobName": "abc",
|
29
|
+
"TargetJobId": "abc",
|
30
|
+
"Message": "abc",
|
39
31
|
"Result": 0,
|
40
|
-
"ClusterName": "
|
41
|
-
"ClusterId": "
|
32
|
+
"ClusterName": "abc",
|
33
|
+
"ClusterId": "abc",
|
34
|
+
"JobType": 0
|
42
35
|
}
|
43
36
|
],
|
44
|
-
"
|
45
|
-
"RequestId": "123456a",
|
46
|
-
"SuccessCount": 1
|
37
|
+
"RequestId": "abc"
|
47
38
|
}
|
48
39
|
}
|
49
40
|
```
|
@@ -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,31 @@
|
|
1
|
+
**Example 1: 示例**
|
2
|
+
|
3
|
+
示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli trocket CreateMQTTInstance --cli-unfold-argument \
|
9
|
+
--InstanceType BASIC \
|
10
|
+
--Name sunjianxiong-1 \
|
11
|
+
--SkuCode basic_1k \
|
12
|
+
--Remark this is remark \
|
13
|
+
--VpcList.0.VpcId vpc-9a5wnirv \
|
14
|
+
--VpcList.0.SubnetId subnet-0tw6tlfi \
|
15
|
+
--IpRules.0.Ip 1.1.1.1 \
|
16
|
+
--IpRules.0.Allow True \
|
17
|
+
--IpRules.0.Remark 11111111
|
18
|
+
```
|
19
|
+
|
20
|
+
Output:
|
21
|
+
```
|
22
|
+
{
|
23
|
+
"Error": null,
|
24
|
+
"RequestId": null,
|
25
|
+
"Response": {
|
26
|
+
"InstanceId": "mqtt-7pnqmkrx",
|
27
|
+
"RequestId": "02107c9d-cbea-418c-bafc-740300fdefad"
|
28
|
+
}
|
29
|
+
}
|
30
|
+
```
|
31
|
+
|
@@ -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
|
+
|