tccli 3.0.1097.1__py2.py3-none-any.whl → 3.0.1099.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/apm/v20210622/DescribeGeneralApmApplicationConfig.md +103 -0
- tccli/examples/apm/v20210622/DescribeTagValues.md +27 -0
- tccli/examples/apm/v20210622/ModifyGeneralApmApplicationConfig.md +29 -0
- tccli/examples/cfw/v20190904/DescribeIPStatusList.md +4 -4
- tccli/examples/cls/v20201016/OpenKafkaConsumer.md +1 -1
- tccli/examples/cynosdb/v20190107/DescribeChangedParamsAfterUpgrade.md +31 -0
- tccli/examples/ess/v20201111/CreateBatchSignUrl.md +28 -0
- tccli/examples/essbasic/v20210526/ChannelCreateBatchSignUrl.md +28 -0
- tccli/examples/faceid/v20180301/GetFaceIdResult.md +3 -1
- tccli/examples/hunyuan/v20230901/ChatCompletions.md +43 -0
- tccli/examples/ims/v20200713/ImageModeration.md +4 -1
- tccli/examples/iotexplorer/v20190423/DescribeDeviceFirmwares.md +33 -0
- tccli/examples/teo/v20220901/DescribeRealtimeLogDeliveryTasks.md +42 -21
- tccli/services/aiart/v20221229/api.json +1 -1
- tccli/services/apm/apm_client.py +159 -0
- tccli/services/apm/v20210622/api.json +456 -0
- tccli/services/apm/v20210622/examples.json +24 -0
- tccli/services/ccc/v20200210/api.json +1 -1
- tccli/services/cfs/v20190719/api.json +27 -27
- tccli/services/cfw/v20190904/api.json +5 -5
- tccli/services/cfw/v20190904/examples.json +1 -1
- tccli/services/cloudstudio/v20230508/api.json +14 -5
- tccli/services/cls/v20201016/api.json +68 -44
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +122 -2
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dcdb/v20180411/api.json +2 -2
- tccli/services/ess/v20201111/api.json +51 -3
- tccli/services/ess/v20201111/examples.json +6 -0
- tccli/services/essbasic/v20210526/api.json +50 -2
- tccli/services/essbasic/v20210526/examples.json +6 -0
- tccli/services/faceid/v20180301/api.json +21 -1
- tccli/services/faceid/v20180301/examples.json +1 -1
- tccli/services/hunyuan/hunyuan_client.py +53 -0
- tccli/services/hunyuan/v20230901/api.json +161 -22
- tccli/services/hunyuan/v20230901/examples.json +8 -0
- tccli/services/ims/v20200713/api.json +13 -0
- tccli/services/ims/v20200713/examples.json +1 -1
- tccli/services/ims/v20201229/api.json +55 -55
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +89 -0
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/iss/v20230517/api.json +36 -0
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lke/lke_client.py +8 -114
- tccli/services/lke/v20231130/api.json +2 -166
- tccli/services/lke/v20231130/examples.json +0 -16
- tccli/services/mariadb/v20170312/api.json +2 -2
- tccli/services/monitor/v20180724/api.json +1 -1
- tccli/services/mps/v20190612/api.json +46 -1
- tccli/services/rum/v20210622/api.json +2 -2
- tccli/services/tdid/v20210519/api.json +2 -2
- tccli/services/teo/v20220901/api.json +142 -31
- tccli/services/teo/v20220901/examples.json +2 -2
- tccli/services/tione/v20211111/api.json +28 -0
- tccli/services/tmt/v20180321/api.json +1 -1
- tccli/services/waf/v20180125/api.json +2 -2
- {tccli-3.0.1097.1.dist-info → tccli-3.0.1099.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1097.1.dist-info → tccli-3.0.1099.1.dist-info}/RECORD +64 -58
- {tccli-3.0.1097.1.dist-info → tccli-3.0.1099.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1097.1.dist-info → tccli-3.0.1099.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1097.1.dist-info → tccli-3.0.1099.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1099.1'
|
@@ -0,0 +1,103 @@
|
|
1
|
+
**Example 1: 查询应用配置信息**
|
2
|
+
|
3
|
+
查询指定实例下应用的配置信息
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli apm DescribeGeneralApmApplicationConfig --cli-unfold-argument \
|
9
|
+
--InstanceId apm-6xYKFXYxo \
|
10
|
+
--ServiceName java-order-service
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"ApmApplicationConfigView": {
|
18
|
+
"InstanceKey": "apm-059oXBfTL",
|
19
|
+
"ServiceName": "profile-service",
|
20
|
+
"OperationNameFilter": "",
|
21
|
+
"ExceptionFilter": "",
|
22
|
+
"ErrorCodeFilter": "",
|
23
|
+
"EventEnable": false,
|
24
|
+
"UrlConvergenceSwitch": 1,
|
25
|
+
"UrlConvergenceThreshold": 500,
|
26
|
+
"UrlConvergence": "RPCServer/market.MarketService2/(.*?)",
|
27
|
+
"UrlExclude": "",
|
28
|
+
"IsRelatedLog": 0,
|
29
|
+
"LogSource": "CLS",
|
30
|
+
"LogSet": "",
|
31
|
+
"LogTopicID": "",
|
32
|
+
"SnapshotEnable": true,
|
33
|
+
"SnapshotTimeout": 2000,
|
34
|
+
"AgentEnable": true,
|
35
|
+
"InstrumentList": [
|
36
|
+
{
|
37
|
+
"Name": "dubbo",
|
38
|
+
"Enable": true
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"Name": "googlehttpclient",
|
42
|
+
"Enable": true
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"Name": "grpc",
|
46
|
+
"Enable": true
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"Name": "httpclient3",
|
50
|
+
"Enable": true
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"Name": "httpclient4",
|
54
|
+
"Enable": true
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"Name": "hystrix",
|
58
|
+
"Enable": true
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"Name": "lettuce",
|
62
|
+
"Enable": true
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"Name": "mongodb",
|
66
|
+
"Enable": true
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"Name": "mybatis",
|
70
|
+
"Enable": true
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"Name": "mysql",
|
74
|
+
"Enable": true
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"Name": "okhttp",
|
78
|
+
"Enable": true
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"Name": "redis",
|
82
|
+
"Enable": true
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"Name": "rxjava",
|
86
|
+
"Enable": true
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"Name": "spring-webmvc",
|
90
|
+
"Enable": true
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"Name": "tomcat",
|
94
|
+
"Enable": true
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"TraceSquash": true
|
98
|
+
},
|
99
|
+
"RequestId": "test-test-test0980990"
|
100
|
+
}
|
101
|
+
}
|
102
|
+
```
|
103
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
**Example 1: 查询维度数据**
|
2
|
+
|
3
|
+
根据维度列名和过滤条件,查询维度值
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli apm DescribeTagValues --cli-unfold-argument \
|
9
|
+
--Filters.0.Key service.instance \
|
10
|
+
--Filters.0.Type = \
|
11
|
+
--Filters.0.Value 127.0.0.1 \
|
12
|
+
--TagKey servier.name
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"RequestId": "apz12zicapy-eqixuc-uehq346v59c62",
|
20
|
+
"Values": [
|
21
|
+
"sso-api",
|
22
|
+
"auth-api"
|
23
|
+
]
|
24
|
+
}
|
25
|
+
}
|
26
|
+
```
|
27
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
**Example 1: 修改应用配置信息**
|
2
|
+
|
3
|
+
客户希望可以通过Api批量修改应用的配置信息
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli apm ModifyGeneralApmApplicationConfig --cli-unfold-argument \
|
9
|
+
--Tags.0.Key UrlConvergence \
|
10
|
+
--Tags.0.Value RPCServer/market.MarketServiceleetcode9(.*?) \
|
11
|
+
--Tags.1.Key UrlConvergenceThreshold \
|
12
|
+
--Tags.1.Value 600 \
|
13
|
+
--Tags.2.Key UrlConvergenceSwitch \
|
14
|
+
--Tags.2.Value 1 \
|
15
|
+
--Tags.3.Key AgentEnable \
|
16
|
+
--Tags.3.Value true \
|
17
|
+
--ServiceNames stock-service profile-service28 profile-service08 \
|
18
|
+
--InstanceId apm-059oXBfTL
|
19
|
+
```
|
20
|
+
|
21
|
+
Output:
|
22
|
+
```
|
23
|
+
{
|
24
|
+
"Response": {
|
25
|
+
"RequestId": "test-test-test0980990"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
```
|
29
|
+
|
@@ -15,13 +15,13 @@ Output:
|
|
15
15
|
"Response": {
|
16
16
|
"StatusList": [
|
17
17
|
{
|
18
|
-
"
|
19
|
-
"
|
18
|
+
"IP": "abc",
|
19
|
+
"Status": 0
|
20
20
|
}
|
21
21
|
],
|
22
22
|
"ReturnCode": 0,
|
23
|
-
"ReturnMsg": "
|
24
|
-
"RequestId": "
|
23
|
+
"ReturnMsg": "abc",
|
24
|
+
"RequestId": "abc"
|
25
25
|
}
|
26
26
|
}
|
27
27
|
```
|
@@ -0,0 +1,31 @@
|
|
1
|
+
**Example 1: 查询升降配运行参数对比**
|
2
|
+
|
3
|
+
查询升降配运行参数对比
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cynosdb DescribeChangedParamsAfterUpgrade --cli-unfold-argument \
|
9
|
+
--InstanceId cynosdbmysql-ins-p8dst5v9 \
|
10
|
+
--DstCpu 1 \
|
11
|
+
--DstMem 1
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "7613eed6-5eb5-4d17-ae69-dd93c44d7ad4",
|
19
|
+
"TotalCount": 1,
|
20
|
+
"Items": [
|
21
|
+
{
|
22
|
+
"ParamName": "demoString",
|
23
|
+
"NewValue": "demoString",
|
24
|
+
"OldValue": "demoString",
|
25
|
+
"ValueFunction": "demoString"
|
26
|
+
}
|
27
|
+
]
|
28
|
+
}
|
29
|
+
}
|
30
|
+
```
|
31
|
+
|
@@ -92,3 +92,31 @@ Output:
|
|
92
92
|
}
|
93
93
|
```
|
94
94
|
|
95
|
+
**Example 4: 生成动态签署人批量领取链接**
|
96
|
+
|
97
|
+
按照合同发起时候返回的合同信息生成批量签署链接,通过FlowIds参数对用户可以批签的合同进行限制,并指定批量领取的动态签署方。
|
98
|
+
|
99
|
+
Input:
|
100
|
+
|
101
|
+
```
|
102
|
+
tccli ess CreateBatchSignUrl --cli-unfold-argument \
|
103
|
+
--Operator.UserId yDRCLUUgygq2******uO4zjEwg0vjoimj \
|
104
|
+
--FlowIds yDwFdUUckpsw******yQ0af8bHosXQtb yDR1AUUgygj******uO4zjE8gTG7xvgH \
|
105
|
+
--FlowBatchUrlInfo.FlowBatchApproverInfos.0.FlowId yDwFdUUckpsw******yQ0af8bHosXQtb \
|
106
|
+
--FlowBatchUrlInfo.FlowBatchApproverInfos.0.RecipientId yDC5SUUckp******sumxxsjT3EEMVG \
|
107
|
+
--FlowBatchUrlInfo.FlowBatchApproverInfos.1.FlowId yDR1AUUgygj******uO4zjE8gTG7xvgH \
|
108
|
+
--FlowBatchUrlInfo.FlowBatchApproverInfos.1.RecipientId yDC5SUUckp*****sumxEeTQ3Xcn0B
|
109
|
+
```
|
110
|
+
|
111
|
+
Output:
|
112
|
+
```
|
113
|
+
{
|
114
|
+
"Response": {
|
115
|
+
"ExpiredTime": 1714533495,
|
116
|
+
"MiniAppPath": "pages/guide/index?shortKey=yDC5tUf****tMb93lb5",
|
117
|
+
"RequestId": "s1713928695416440124",
|
118
|
+
"SignUrl": "https://test.essurl.cn/uBS****do7"
|
119
|
+
}
|
120
|
+
}
|
121
|
+
```
|
122
|
+
|
@@ -97,3 +97,31 @@ Output:
|
|
97
97
|
}
|
98
98
|
```
|
99
99
|
|
100
|
+
**Example 4: 生成动态签署人批量领取链接**
|
101
|
+
|
102
|
+
按照合同发起时候返回的合同信息生成批量签署链接,通过FlowIds参数对用户可以批签的合同进行限制,并指定批量领取的动态签署方。
|
103
|
+
|
104
|
+
Input:
|
105
|
+
|
106
|
+
```
|
107
|
+
tccli essbasic ChannelCreateBatchSignUrl --cli-unfold-argument \
|
108
|
+
--Agent.ProxyOperator.OpenId test_open_id \
|
109
|
+
--Agent.ProxyOrganizationOpenId test_org_open_id \
|
110
|
+
--Agent.AppId yDxbWUyKQ*******4zjEB8mxCcDjAyF \
|
111
|
+
--FlowIds yDwFdUUckpsw******yQ0af8bHosXQtb yDR1AUUgygj******uO4zjE8gTG7xvgH \
|
112
|
+
--FlowBatchUrlInfo.FlowBatchApproverInfos.0.FlowId yDC5yUUckpwexoz4UuoHfkT1DMEDQSG5 \
|
113
|
+
--FlowBatchUrlInfo.FlowBatchApproverInfos.0.RecipientId yDC5yUUckpwexozwUuoHfkTwB00zdfLo
|
114
|
+
```
|
115
|
+
|
116
|
+
Output:
|
117
|
+
```
|
118
|
+
{
|
119
|
+
"Response": {
|
120
|
+
"ExpiredTime": 1684899114,
|
121
|
+
"RequestId": "5beb5f54-cf3d-4c26-a4ee-a97c85196a3e",
|
122
|
+
"SignUrl": "https://ess.url.cn/FuP**Swc",
|
123
|
+
"MiniAppPath": "pages/guide/index?shortKey=FuP3**wc"
|
124
|
+
}
|
125
|
+
}
|
126
|
+
```
|
127
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
**Example 1: system参数示例**
|
2
|
+
|
3
|
+
system提示词
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli hunyuan ChatCompletions --cli-unfold-argument \
|
9
|
+
--TopP 1 \
|
10
|
+
--Temperature 1 \
|
11
|
+
--Model hunyuan-lite \
|
12
|
+
--Messages.0.Role system \
|
13
|
+
--Messages.0.Content 将英文单词转换为包括中文翻译、英文释义和一个例句的完整解释。请检查所有信息是否准确,并在回答时保持简洁,不需要任何其他反馈。 \
|
14
|
+
--Messages.1.Role user \
|
15
|
+
--Messages.1.Content nice
|
16
|
+
```
|
17
|
+
|
18
|
+
Output:
|
19
|
+
```
|
20
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"很好"}}],"Created":1705634813,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":1,"TotalTokens":37}}
|
21
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":":"}}],"Created":1705634813,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":2,"TotalTokens":38}}
|
22
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"nice"}}],"Created":1705634813,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":3,"TotalTokens":39}}
|
23
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"\n"}}],"Created":1705634813,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":4,"TotalTokens":40}}
|
24
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"英文"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":5,"TotalTokens":41}}
|
25
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"释义"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":6,"TotalTokens":42}}
|
26
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":":"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":7,"TotalTokens":43}}
|
27
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"ple"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":8,"TotalTokens":44}}
|
28
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"asing"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":9,"TotalTokens":45}}
|
29
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" or"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":10,"TotalTokens":46}}
|
30
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" acceptable"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":11,"TotalTokens":47}}
|
31
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"\n"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":12,"TotalTokens":48}}
|
32
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"例"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":13,"TotalTokens":49}}
|
33
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"句"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":14,"TotalTokens":50}}
|
34
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":":"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":15,"TotalTokens":51}}
|
35
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"She"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":16,"TotalTokens":52}}
|
36
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" had"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":17,"TotalTokens":53}}
|
37
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" a"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":18,"TotalTokens":54}}
|
38
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" nice"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":19,"TotalTokens":55}}
|
39
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" smile"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":20,"TotalTokens":56}}
|
40
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"."}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":21,"TotalTokens":57}}
|
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
|
+
```
|
43
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
**Example 1: 获取设备固件信息**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli iotexplorer DescribeDeviceFirmwares --cli-unfold-argument \
|
9
|
+
--ProductId xx \
|
10
|
+
--DeviceName xx
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "ef9ec631-7337-481b-a6c3-59a34b5f8502",
|
18
|
+
"Firmwares": [
|
19
|
+
{
|
20
|
+
"UpdateTime": 1653893719,
|
21
|
+
"FwType": "mcu",
|
22
|
+
"Version": "mm_3.0"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"UpdateTime": 1653893651,
|
26
|
+
"FwType": "module",
|
27
|
+
"Version": "module_v1.0.3"
|
28
|
+
}
|
29
|
+
]
|
30
|
+
}
|
31
|
+
}
|
32
|
+
```
|
33
|
+
|
@@ -6,7 +6,7 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli teo DescribeRealtimeLogDeliveryTasks --cli-unfold-argument \
|
9
|
-
--ZoneId zone-
|
9
|
+
--ZoneId zone-2ur49nglp1a2 \
|
10
10
|
--Offset 0 \
|
11
11
|
--Limit 1000
|
12
12
|
```
|
@@ -15,38 +15,59 @@ Output:
|
|
15
15
|
```
|
16
16
|
{
|
17
17
|
"Response": {
|
18
|
-
"TotalCount": 1,
|
19
18
|
"RealtimeLogDeliveryTasks": [
|
20
19
|
{
|
21
|
-
"
|
22
|
-
"
|
20
|
+
"Area": "overseas",
|
21
|
+
"CLS": {
|
22
|
+
"LogSetId": "980611e5-3eb2-430f-a0cc-e1c4e84a9e40",
|
23
|
+
"LogSetRegion": "ap-guangzhou",
|
24
|
+
"TopicId": "d258c060-dc6e-4586-8b7c-6a951667fa7a"
|
25
|
+
},
|
26
|
+
"CreateTime": "2024-03-26T03:00:39+08:00",
|
27
|
+
"CustomEndpoint": null,
|
28
|
+
"CustomFields": [],
|
29
|
+
"DeliveryConditions": [],
|
23
30
|
"DeliveryStatus": "enabled",
|
24
|
-
"TaskType": "cls",
|
25
31
|
"EntityList": [
|
26
|
-
"
|
32
|
+
"qqqq.loliyu.com"
|
27
33
|
],
|
28
|
-
"LogType": "domain",
|
29
|
-
"Area": "overseas",
|
30
34
|
"Fields": [
|
31
35
|
"RequestID",
|
32
36
|
"ClientIP",
|
33
|
-
"ClientRegion"
|
37
|
+
"ClientRegion",
|
38
|
+
"RequestTime",
|
39
|
+
"RequestHost",
|
40
|
+
"RequestBytes",
|
41
|
+
"RequestMethod",
|
42
|
+
"RequestUrl",
|
43
|
+
"RequestUrlQueryString",
|
44
|
+
"RequestUA",
|
45
|
+
"RequestRange",
|
46
|
+
"RequestReferer",
|
47
|
+
"RequestProtocol",
|
48
|
+
"RemotePort",
|
49
|
+
"EdgeCacheStatus",
|
50
|
+
"EdgeResponseStatusCode",
|
51
|
+
"EdgeResponseBytes",
|
52
|
+
"EdgeResponseTime",
|
53
|
+
"EdgeInternalTime",
|
54
|
+
"ClientState",
|
55
|
+
"ClientISP",
|
56
|
+
"EdgeServerID",
|
57
|
+
"EdgeServerIP"
|
34
58
|
],
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"Sample": 1000,
|
38
|
-
"CLS": {
|
39
|
-
"LogSetId": "288f187c-c3ef-4479-a086-b9465a1243cb",
|
40
|
-
"LogSetRegion": "ap-guangzhou",
|
41
|
-
"TopicId": "0e23008b-c0ed-4d98-a77c-bdc65dfe3731"
|
42
|
-
},
|
43
|
-
"CustomEndpoint": null,
|
59
|
+
"LogFormat": null,
|
60
|
+
"LogType": "domain",
|
44
61
|
"S3": null,
|
45
|
-
"
|
46
|
-
"
|
62
|
+
"Sample": 0,
|
63
|
+
"TaskId": "f0e1686a-1c4e-4f15-967b-5afb2a0803ea",
|
64
|
+
"TaskName": "ccc",
|
65
|
+
"TaskType": "cls",
|
66
|
+
"UpdateTime": "2024-03-26T03:10:13+08:00"
|
47
67
|
}
|
48
68
|
],
|
49
|
-
"RequestId": "
|
69
|
+
"RequestId": "05205d07-f582-444d-b558-b338a3f68857",
|
70
|
+
"TotalCount": 1
|
50
71
|
}
|
51
72
|
}
|
52
73
|
```
|
@@ -584,7 +584,7 @@
|
|
584
584
|
},
|
585
585
|
{
|
586
586
|
"disabled": false,
|
587
|
-
"document": "
|
587
|
+
"document": "写真风格模板,支持以下风格:\nzhengjian_female:证件照-长发(女)\nzhengjian_shouthair_female:证件照-短发(女)\nzhengjian_male:证件照(男)\ngrey_suit_male:灰色西装(男)\nbeige_suit_male:米色西装(男)\nwhite_sweater_male:白色毛衣(男)\nhanfu_female:汉服(女)\nhanfu2_female:汉服2(女)\ngreen_female:绿色毛衣(女)\nwhite_sweater_female:白色毛衣(女)\nsports_female:蓝色运动装(女)\nbow_female:蝴蝶结发饰(女)\nwreath_female:头戴花环(女)\nblack_dress1_female:小黑裙1(女)\nblack_dress2_female:小黑裙2(女)\nblack_dress3_female:小黑裙3(女)\nwedding_female:婚纱裙(女)\nwedding2_female:婚纱裙2(女)\nforest_female:树林(女)\nflower_female:花丛(女)\nqipao_female:旗袍(女)\nfeather_female:羽毛(女)\nlolita_female:洛丽塔(女)\nblue_shirt_female:蓝衬衣(女)\ngreen_shirt_female:绿衬衣(女)\npurple_shirt_female:紫衬衣(女)\nfire_female:火焰(女)\nchristmas1_female: 圣诞1(女)\nchristmas2_female: 圣诞2(女)\nchristmas3_female: 圣诞3(适用女性)\nnewyear1_female:新春1(女)\nnewyear2_female:新春2(女)\nnewyear3_female:新春3(女)\nnewyear5_female:新春5(女)\nelderly_female:中老年(女)\nelderly_male:中老年(男)\nlabour_female:田野劳作(女)\nsimple:简洁风格(通用),一般用于写真模型的封面示意图,每个 ModelId 的生成结果固定,多次生成将返回相同图片",
|
588
588
|
"example": "zhengjian_female",
|
589
589
|
"member": "string",
|
590
590
|
"name": "StyleId",
|