tccli 3.0.1091.1__py2.py3-none-any.whl → 3.0.1093.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/cdb/v20170320/CheckMigrateCluster.md +18 -0
- tccli/examples/cdb/v20170320/DescribeClusterInfo.md +59 -0
- tccli/examples/domain/v20180808/BidPreDomains.md +21 -0
- tccli/examples/domain/v20180808/DescribeReservedBidInfo.md +43 -0
- tccli/examples/domain/v20180808/DescribeReservedPreDomainInfo.md +31 -0
- tccli/examples/es/v20180416/UpdateInstance.md +27 -27
- tccli/examples/es/v20180416/UpdatePlugins.md +6 -6
- tccli/examples/ess/v20201111/CreateBatchOrganizationRegistrationTasks.md +146 -0
- tccli/examples/ess/v20201111/CreateOrganizationAuthUrl.md +28 -0
- tccli/examples/ess/v20201111/CreateOrganizationBatchSignUrl.md +28 -0
- tccli/examples/hunyuan/v20230901/ChatPro.md +69 -31
- tccli/examples/hunyuan/v20230901/ChatStd.md +40 -1
- tccli/examples/lke/v20231130/CheckAttributeLabelExist.md +24 -0
- tccli/examples/lke/v20231130/CheckAttributeLabelRefer.md +23 -0
- tccli/examples/lke/v20231130/CreateApp.md +24 -0
- tccli/examples/lke/v20231130/CreateAttributeLabel.md +24 -0
- tccli/examples/lke/v20231130/CreateCorp.md +24 -0
- tccli/examples/lke/v20231130/CreateQA.md +24 -0
- tccli/examples/lke/v20231130/CreateQACate.md +26 -0
- tccli/examples/lke/v20231130/CreateRejectedQuestion.md +22 -0
- tccli/examples/lke/v20231130/CreateRelease.md +21 -0
- tccli/examples/lke/v20231130/DeleteApp.md +21 -0
- tccli/examples/lke/v20231130/DeleteAttributeLabel.md +21 -0
- tccli/examples/lke/v20231130/DeleteDoc.md +21 -0
- tccli/examples/lke/v20231130/DeleteQA.md +21 -0
- tccli/examples/lke/v20231130/DeleteQACate.md +21 -0
- tccli/examples/lke/v20231130/DeleteRejectedQuestion.md +21 -0
- tccli/examples/lke/v20231130/DescribeApp.md +29 -0
- tccli/examples/lke/v20231130/DescribeAttributeLabel.md +28 -0
- tccli/examples/lke/v20231130/DescribeCorp.md +21 -0
- tccli/examples/lke/v20231130/DescribeDoc.md +44 -0
- tccli/examples/lke/v20231130/DescribeQA.md +42 -0
- tccli/examples/lke/v20231130/DescribeRefer.md +35 -0
- tccli/examples/lke/v20231130/DescribeRelease.md +25 -0
- tccli/examples/lke/v20231130/DescribeReleaseInfo.md +24 -0
- tccli/examples/lke/v20231130/DescribeRobotBizIDByAppKey.md +21 -0
- tccli/examples/lke/v20231130/DescribeStorageCredential.md +32 -0
- tccli/examples/lke/v20231130/DescribeUnsatisfiedReplyContext.md +121 -0
- tccli/examples/lke/v20231130/ExportAttributeLabel.md +21 -0
- tccli/examples/lke/v20231130/ExportQAList.md +21 -0
- tccli/examples/lke/v20231130/ExportUnsatisfiedReply.md +21 -0
- tccli/examples/lke/v20231130/GenerateQA.md +21 -0
- tccli/examples/lke/v20231130/GetAppKnowledgeCount.md +22 -0
- tccli/examples/lke/v20231130/GetAppSecret.md +24 -0
- tccli/examples/lke/v20231130/GetDocPreview.md +26 -0
- tccli/examples/lke/v20231130/GetEmbedding.md +29 -0
- tccli/examples/lke/v20231130/GetMsgRecord.md +51 -0
- tccli/examples/lke/v20231130/GetTaskStatus.md +0 -0
- tccli/examples/lke/v20231130/GetWsToken.md +44 -0
- tccli/examples/lke/v20231130/GroupQA.md +44 -0
- tccli/examples/lke/v20231130/IgnoreUnsatisfiedReply.md +21 -0
- tccli/examples/lke/v20231130/IsTransferIntent.md +22 -0
- tccli/examples/lke/v20231130/ListApp.md +36 -0
- tccli/examples/lke/v20231130/ListAppCategory.md +25 -0
- tccli/examples/lke/v20231130/ListAttributeLabel.md +33 -0
- tccli/examples/lke/v20231130/ListDoc.md +52 -0
- tccli/examples/lke/v20231130/ListModel.md +31 -0
- tccli/examples/lke/v20231130/ListQA.md +66 -0
- tccli/examples/lke/v20231130/ListQACate.md +41 -0
- tccli/examples/lke/v20231130/ListRejectedQuestion.md +52 -0
- tccli/examples/lke/v20231130/ListRejectedQuestionPreview.md +37 -0
- tccli/examples/lke/v20231130/ListRelease.md +36 -0
- tccli/examples/lke/v20231130/ListReleaseConfigPreview.md +129 -0
- tccli/examples/lke/v20231130/ListReleaseDocPreview.md +38 -0
- tccli/examples/lke/v20231130/ListReleaseQAPreview.md +107 -0
- tccli/examples/lke/v20231130/ListSelectDoc.md +27 -0
- tccli/examples/lke/v20231130/ListUnsatisfiedReply.md +24 -0
- tccli/examples/lke/v20231130/ModifyApp.md +25 -0
- tccli/examples/lke/v20231130/ModifyAttributeLabel.md +23 -0
- tccli/examples/lke/v20231130/ModifyDoc.md +25 -0
- tccli/examples/lke/v20231130/ModifyDocAttrRange.md +25 -0
- tccli/examples/lke/v20231130/ModifyQA.md +24 -0
- tccli/examples/lke/v20231130/ModifyQAAttrRange.md +25 -0
- tccli/examples/lke/v20231130/ModifyQACate.md +22 -0
- tccli/examples/lke/v20231130/ModifyRejectedQuestion.md +22 -0
- tccli/examples/lke/v20231130/ParseDoc.md +25 -0
- tccli/examples/lke/v20231130/QueryParseDocResult.md +24 -0
- tccli/examples/lke/v20231130/QueryRewrite.md +25 -0
- tccli/examples/lke/v20231130/RateMsgRecord.md +22 -0
- tccli/examples/lke/v20231130/ResetSession.md +20 -0
- tccli/examples/lke/v20231130/RetryDocAudit.md +21 -0
- tccli/examples/lke/v20231130/RetryDocParse.md +21 -0
- tccli/examples/lke/v20231130/RetryRelease.md +21 -0
- tccli/examples/lke/v20231130/SaveDoc.md +34 -0
- tccli/examples/lke/v20231130/StopDocParse.md +21 -0
- tccli/examples/lke/v20231130/UploadAttributeLabel.md +27 -0
- tccli/examples/lke/v20231130/VerifyQA.md +27 -0
- tccli/examples/mna/v20210119/GetFlowPackages.md +3 -1
- tccli/examples/mna/v20210119/GetFlowStatistic.md +42 -0
- tccli/examples/ocr/v20181119/GeneralBasicOCR.md +0 -1
- tccli/examples/rce/v20201103/ManageMarketingRisk.md +19 -56
- tccli/examples/sqlserver/v20180328/DescribeRestoreTimeRange.md +23 -0
- tccli/examples/svp/v20240125/CreateSavingPlanOrder.md +1 -1
- tccli/examples/tke/v20180525/DescribeSupportedRuntime.md +25 -0
- tccli/examples/tke/v20180525/ModifyClusterRuntimeConfig.md +27 -0
- tccli/examples/vod/v20180717/CreateSubAppId.md +1 -1
- tccli/examples/vod/v20180717/DescribeAdaptiveDynamicStreamingTemplates.md +5 -1
- tccli/examples/vod/v20180717/DescribeSubAppIds.md +8 -8
- tccli/examples/vod/v20180717/ModifySubAppIdInfo.md +3 -3
- tccli/examples/vod/v20180717/ModifySubAppIdStatus.md +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/aiart/v20221229/api.json +25 -6
- tccli/services/antiddos/v20200309/api.json +10 -0
- tccli/services/asr/v20190614/api.json +4 -4
- tccli/services/bsca/v20210811/api.json +19 -1
- tccli/services/ccc/v20200210/api.json +12 -12
- tccli/services/cdb/cdb_client.py +106 -0
- tccli/services/cdb/v20170320/api.json +255 -0
- tccli/services/cdb/v20170320/examples.json +16 -0
- tccli/services/cdn/v20180606/api.json +4 -4
- tccli/services/ckafka/v20190819/api.json +29 -24
- tccli/services/domain/domain_client.py +114 -8
- tccli/services/domain/v20180808/api.json +177 -4
- tccli/services/domain/v20180808/examples.json +22 -0
- tccli/services/dts/v20211206/api.json +2 -2
- tccli/services/es/v20180416/api.json +12 -12
- tccli/services/es/v20180416/examples.json +21 -21
- tccli/services/ess/ess_client.py +149 -43
- tccli/services/ess/v20201111/api.json +406 -4
- tccli/services/ess/v20201111/examples.json +34 -0
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/faceid/v20180301/api.json +10 -1
- tccli/services/hunyuan/v20230901/api.json +67 -21
- tccli/services/hunyuan/v20230901/examples.json +17 -5
- tccli/services/iai/v20180301/api.json +19 -19
- tccli/services/lcic/v20220817/api.json +49 -0
- tccli/services/lke/__init__.py +4 -0
- tccli/services/lke/lke_client.py +4117 -0
- tccli/services/lke/v20231130/api.json +9020 -0
- tccli/services/lke/v20231130/examples.json +617 -0
- tccli/services/mna/v20210119/api.json +249 -29
- tccli/services/mna/v20210119/examples.json +7 -1
- tccli/services/monitor/v20180724/api.json +30 -10
- tccli/services/ocr/v20181119/api.json +29 -15
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/rce/v20201103/api.json +4 -4
- tccli/services/rce/v20201103/examples.json +3 -3
- tccli/services/redis/v20180412/api.json +1 -1
- tccli/services/scf/v20180416/api.json +18 -9
- tccli/services/sms/v20210111/api.json +1 -1
- tccli/services/sqlserver/sqlserver_client.py +110 -57
- tccli/services/sqlserver/v20180328/api.json +63 -0
- tccli/services/sqlserver/v20180328/examples.json +8 -0
- tccli/services/svp/v20240125/examples.json +1 -1
- tccli/services/tat/v20201028/api.json +3 -3
- tccli/services/tione/v20211111/api.json +25 -1
- tccli/services/tke/tke_client.py +106 -0
- tccli/services/tke/v20180525/api.json +229 -17
- tccli/services/tke/v20180525/examples.json +17 -1
- tccli/services/trtc/v20190722/api.json +46 -4
- tccli/services/vod/v20180717/api.json +24 -24
- tccli/services/vod/v20180717/examples.json +8 -8
- tccli/services/wedata/v20210820/api.json +295 -1437
- tccli/services/wedata/v20210820/examples.json +0 -88
- tccli/services/wedata/wedata_client.py +33 -616
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/RECORD +161 -73
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/license_files/LICENSE +0 -0
@@ -39,3 +39,45 @@ Output:
|
|
39
39
|
}
|
40
40
|
```
|
41
41
|
|
42
|
+
**Example 2: 获取多个设备的流量使用信息之和**
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
Input:
|
47
|
+
|
48
|
+
```
|
49
|
+
tccli mna GetFlowStatistic --cli-unfold-argument \
|
50
|
+
--EndTime 1659514692 \
|
51
|
+
--Type 1 \
|
52
|
+
--DeviceId \
|
53
|
+
--DeviceList abc bcd \
|
54
|
+
--TimeGranularity 1 \
|
55
|
+
--BeginTime 1659513692
|
56
|
+
```
|
57
|
+
|
58
|
+
Output:
|
59
|
+
```
|
60
|
+
{
|
61
|
+
"Response": {
|
62
|
+
"MaxValue": 51548,
|
63
|
+
"AvgValue": 15441,
|
64
|
+
"TotalValue": 656546,
|
65
|
+
"NetDetails": [
|
66
|
+
{
|
67
|
+
"Time": "1659513692",
|
68
|
+
"Current": 3546545
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"Time": "1659513692",
|
72
|
+
"Current": 4454864
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"Time": "1659513692",
|
76
|
+
"Current": 4848941
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"RequestId": ""
|
80
|
+
}
|
81
|
+
}
|
82
|
+
```
|
83
|
+
|
@@ -1,56 +1,16 @@
|
|
1
1
|
**Example 1: ManageMarketingRisk**
|
2
2
|
|
3
|
-
|
3
|
+
使用手机号MD5请求方式
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli rce ManageMarketingRisk --cli-unfold-argument \
|
9
|
-
--BusinessSecurityData.
|
10
|
-
--BusinessSecurityData.Account.
|
11
|
-
--BusinessSecurityData.
|
12
|
-
--BusinessSecurityData.
|
13
|
-
--BusinessSecurityData.
|
14
|
-
--BusinessSecurityData.Account.QQAccount.AssociateAccount xx \
|
15
|
-
--BusinessSecurityData.Account.OtherAccount.DeviceId xx \
|
16
|
-
--BusinessSecurityData.Account.OtherAccount.MobilePhone xx \
|
17
|
-
--BusinessSecurityData.Account.OtherAccount.AccountId xx \
|
18
|
-
--BusinessSecurityData.Account.WeChatAccount.MobilePhone xx \
|
19
|
-
--BusinessSecurityData.Account.WeChatAccount.WeChatAccessToken xx \
|
20
|
-
--BusinessSecurityData.Account.WeChatAccount.WeChatSubType 1 \
|
21
|
-
--BusinessSecurityData.Account.WeChatAccount.DeviceId xx \
|
22
|
-
--BusinessSecurityData.Account.WeChatAccount.AssociateAccount xx \
|
23
|
-
--BusinessSecurityData.Account.WeChatAccount.WeChatOpenId xx \
|
24
|
-
--BusinessSecurityData.Account.WeChatAccount.RandStr xx \
|
25
|
-
--BusinessSecurityData.Account.AccountType 1 \
|
26
|
-
--BusinessSecurityData.CookieHash xx \
|
27
|
-
--BusinessSecurityData.BusinessId 1 \
|
28
|
-
--BusinessSecurityData.DeviceType 0 \
|
29
|
-
--BusinessSecurityData.XForwardedFor xx \
|
30
|
-
--BusinessSecurityData.UserId xx \
|
31
|
-
--BusinessSecurityData.CheckDevice 0 \
|
32
|
-
--BusinessSecurityData.Details.0.FieldName xx \
|
33
|
-
--BusinessSecurityData.Details.0.FieldValue xx \
|
34
|
-
--BusinessSecurityData.MacAddress xx \
|
35
|
-
--BusinessSecurityData.UserAgent xx \
|
36
|
-
--BusinessSecurityData.EmailAddress xx \
|
37
|
-
--BusinessSecurityData.VendorId xx \
|
38
|
-
--BusinessSecurityData.SceneCode xx \
|
39
|
-
--BusinessSecurityData.Sponsor.SponsorDeviceNumber xx \
|
40
|
-
--BusinessSecurityData.Sponsor.SponsorIp xx \
|
41
|
-
--BusinessSecurityData.Sponsor.CampaignUrl xx \
|
42
|
-
--BusinessSecurityData.Sponsor.SponsorOpenId xx \
|
43
|
-
--BusinessSecurityData.Sponsor.SponsorPhone xx \
|
44
|
-
--BusinessSecurityData.UserIp xx \
|
45
|
-
--BusinessSecurityData.Referer xx \
|
46
|
-
--BusinessSecurityData.OnlineScam.ContentRiskLevel 0 \
|
47
|
-
--BusinessSecurityData.OnlineScam.ContentLabel xx \
|
48
|
-
--BusinessSecurityData.OnlineScam.ContentType 0 \
|
49
|
-
--BusinessSecurityData.OnlineScam.FraudAccount xx \
|
50
|
-
--BusinessSecurityData.OnlineScam.FraudType 0 \
|
51
|
-
--BusinessSecurityData.Nickname xx \
|
52
|
-
--BusinessSecurityData.DeviceToken xx \
|
53
|
-
--BusinessSecurityData.DeviceBusinessId 0
|
9
|
+
--BusinessSecurityData.Account.AccountType 10004 \
|
10
|
+
--BusinessSecurityData.Account.OtherAccount.AccountId 3ac9aa********************526ed9 \
|
11
|
+
--BusinessSecurityData.SceneCode e_activity_antirush \
|
12
|
+
--BusinessSecurityData.UserIp 113.***.***.150 \
|
13
|
+
--BusinessSecurityData.PostTime 1712841851
|
54
14
|
```
|
55
15
|
|
56
16
|
Output:
|
@@ -60,22 +20,25 @@ Output:
|
|
60
20
|
"Data": {
|
61
21
|
"Code": 0,
|
62
22
|
"Message": "OK",
|
23
|
+
"UUid": "9a570741-****-****-****-****0b788232",
|
63
24
|
"Value": {
|
64
|
-
"UserId": "oz5I********************GfVv",
|
65
|
-
"UserIp": "127.0.0.1",
|
66
|
-
"PostTime": 1590753783,
|
67
25
|
"AssociateAccount": "",
|
26
|
+
"ConstId": "",
|
27
|
+
"PostTime": 1712841851,
|
28
|
+
"RiskInformation": null,
|
68
29
|
"RiskLevel": "reject",
|
69
30
|
"RiskType": [
|
70
|
-
|
31
|
+
201,
|
71
32
|
1,
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
33
|
+
21,
|
34
|
+
11,
|
35
|
+
2011
|
36
|
+
],
|
37
|
+
"UserId": "3ac9aa********************526ed9",
|
38
|
+
"UserIp": "113.***.***.150"
|
39
|
+
}
|
77
40
|
},
|
78
|
-
"RequestId": "
|
41
|
+
"RequestId": "5d9e8c5d-****-****-****-1c0dca666edb"
|
79
42
|
}
|
80
43
|
}
|
81
44
|
```
|
@@ -0,0 +1,23 @@
|
|
1
|
+
**Example 1: 查询按照时间点可回档的时间范围。**
|
2
|
+
|
3
|
+
本接口(DescribeRestoreTimeRange)用于查询按照时间点可回档的时间范围。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli sqlserver DescribeRestoreTimeRange --cli-unfold-argument \
|
9
|
+
--InstanceId mssql-aj89iq78 \
|
10
|
+
--TargetInstanceId mssql-jkoa09sf
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"MinTime": "2024-01-01 00:00:00",
|
18
|
+
"MaxTime": "2024-01-07 00:00:00",
|
19
|
+
"RequestId": "cd7a35be-2fbf-f3a6-210a-ea9afe158817"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
@@ -14,7 +14,7 @@ tccli svp CreateSavingPlanOrder --cli-unfold-argument \
|
|
14
14
|
--TimeUnit y \
|
15
15
|
--CommodityCode svp_common_CYq7cGNk3FaV \
|
16
16
|
--PromiseUseAmount 10000 \
|
17
|
-
--ClientToken sp-856f5555
|
17
|
+
--ClientToken sp-856f5555
|
18
18
|
```
|
19
19
|
|
20
20
|
Output:
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 获取运行时版本信息**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tke DescribeSupportedRuntime --cli-unfold-argument \
|
9
|
+
--K8sVersion xxxx
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"OptionalRuntimes": [
|
17
|
+
{
|
18
|
+
"RuntimeType": "docker"
|
19
|
+
}
|
20
|
+
],
|
21
|
+
"RequestId": "xx"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
**Example 1: 修改集群运行时配置**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tke ModifyClusterRuntimeConfig --cli-unfold-argument \
|
9
|
+
--ClusterId clx-o8hjuza0 \
|
10
|
+
--DstK8SVersion 1.24.4 \
|
11
|
+
--ClusterRuntimeConfig.RuntimeType containerd \
|
12
|
+
--ClusterRuntimeConfig.RuntimeVersion 1.6.9 \
|
13
|
+
--NodePoolRuntimeConfig.0.NodePoolId np-3z37njiu \
|
14
|
+
--NodePoolRuntimeConfig.0.RuntimeType containerd \
|
15
|
+
--NodePoolRuntimeConfig.0.RuntimeVersion 1.6.9 \
|
16
|
+
--NodePoolRuntimeConfig.0.NodePoolName np-test
|
17
|
+
```
|
18
|
+
|
19
|
+
Output:
|
20
|
+
```
|
21
|
+
{
|
22
|
+
"Response": {
|
23
|
+
"RequestId": "fb370cb6-df57-4077-hjxk-758225788b9b"
|
24
|
+
}
|
25
|
+
}
|
26
|
+
```
|
27
|
+
|
@@ -24,6 +24,8 @@ Output:
|
|
24
24
|
"CreateTime": "2018-10-01T10:00:00Z",
|
25
25
|
"UpdateTime": "2018-10-01T10:00:00Z",
|
26
26
|
"DrmType": "",
|
27
|
+
"DrmKeyProvider": "VOD",
|
28
|
+
"SegmentType": "ts",
|
27
29
|
"DisableHigherVideoResolution": 0,
|
28
30
|
"DisableHigherVideoBitrate": 0,
|
29
31
|
"StreamInfos": [
|
@@ -44,7 +46,9 @@ Output:
|
|
44
46
|
"FillType": "black",
|
45
47
|
"Bitrate": 12500,
|
46
48
|
"Vcrf": 23,
|
47
|
-
"Gop": 0
|
49
|
+
"Gop": 0,
|
50
|
+
"PreserveHDRSwitch": "OFF",
|
51
|
+
"CodecTag": "hvc1"
|
48
52
|
},
|
49
53
|
"RemoveAudio": 0,
|
50
54
|
"TEHDConfig": {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
**Example 1:
|
1
|
+
**Example 1: 查询应用资源列表**
|
2
2
|
|
3
|
-
|
3
|
+
查询应用资源列表
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
@@ -15,17 +15,17 @@ Output:
|
|
15
15
|
"SubAppIdInfoSet": [
|
16
16
|
{
|
17
17
|
"SubAppId": 1451123904,
|
18
|
-
"Name": "
|
19
|
-
"SubAppIdName": "
|
20
|
-
"Description": "
|
18
|
+
"Name": "应用1",
|
19
|
+
"SubAppIdName": "应用1",
|
20
|
+
"Description": "应用1简介",
|
21
21
|
"CreateTime": "2018-10-01T10:00:00Z",
|
22
22
|
"Status": "On"
|
23
23
|
},
|
24
24
|
{
|
25
25
|
"SubAppId": 1251123904,
|
26
|
-
"Name": "
|
27
|
-
"SubAppIdName": "
|
28
|
-
"Description": "",
|
26
|
+
"Name": "应用2",
|
27
|
+
"SubAppIdName": "应用2",
|
28
|
+
"Description": "应用2简介",
|
29
29
|
"CreateTime": "2018-10-01T10:00:00Z",
|
30
30
|
"Status": "On"
|
31
31
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
**Example 1:
|
1
|
+
**Example 1: 修改应用信息**
|
2
2
|
|
3
3
|
|
4
4
|
|
@@ -7,8 +7,8 @@ Input:
|
|
7
7
|
```
|
8
8
|
tccli vod ModifySubAppIdInfo --cli-unfold-argument \
|
9
9
|
--SubAppId 1400000001 \
|
10
|
-
--Name
|
11
|
-
--Description
|
10
|
+
--Name 更新应用名 \
|
11
|
+
--Description 更新应用简介
|
12
12
|
```
|
13
13
|
|
14
14
|
Output:
|
tccli/services/__init__.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"ImageToImage": {
|
4
|
-
"document": "
|
4
|
+
"document": "智能图生图接口提供基础版图生图能力,将根据输入的图像及文本描述,智能生成风格转化后的图像。建议避免输入人像过小、姿势复杂、人数较多的人像图片。\n智能图生图默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
|
5
5
|
"input": "ImageToImageRequest",
|
6
6
|
"name": "智能图生图",
|
7
7
|
"output": "ImageToImageResponse",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"status": "online"
|
23
23
|
},
|
24
24
|
"TextToImage": {
|
25
|
-
"document": "
|
25
|
+
"document": "智能文生图接口提供基础版文生图能力,将根据输入的文本描述,智能生成与之相关的结果图。\n\n智能文生图默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
|
26
26
|
"input": "TextToImageRequest",
|
27
27
|
"name": "智能文生图",
|
28
28
|
"output": "TextToImageResponse",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"members": [
|
42
42
|
{
|
43
43
|
"disabled": false,
|
44
|
-
"document": "输入图 Base64 数据。\n算法将根据输入的图片,结合文本描述智能生成与之相关的图像。\nBase64 和 Url 必须提供一个,如果都提供以 Base64 为准。\n图片限制:单边分辨率小于
|
44
|
+
"document": "输入图 Base64 数据。\n算法将根据输入的图片,结合文本描述智能生成与之相关的图像。\nBase64 和 Url 必须提供一个,如果都提供以 Base64 为准。\n图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 8MB。",
|
45
45
|
"example": "无",
|
46
46
|
"member": "string",
|
47
47
|
"name": "InputImage",
|
@@ -50,7 +50,7 @@
|
|
50
50
|
},
|
51
51
|
{
|
52
52
|
"disabled": false,
|
53
|
-
"document": "输入图 Url。\n算法将根据输入的图片,结合文本描述智能生成与之相关的图像。\nBase64 和 Url 必须提供一个,如果都提供以 Base64 为准。\n图片限制:单边分辨率小于
|
53
|
+
"document": "输入图 Url。\n算法将根据输入的图片,结合文本描述智能生成与之相关的图像。\nBase64 和 Url 必须提供一个,如果都提供以 Base64 为准。\n图片限制:单边分辨率小于5000,转成 Base64 字符串后小于8MB。",
|
54
54
|
"example": "无",
|
55
55
|
"member": "string",
|
56
56
|
"name": "InputUrl",
|
@@ -86,7 +86,7 @@
|
|
86
86
|
},
|
87
87
|
{
|
88
88
|
"disabled": false,
|
89
|
-
"document": "生成图结果的配置,包括输出图片分辨率和尺寸等。\n支持生成以下分辨率的图片:origin
|
89
|
+
"document": "生成图结果的配置,包括输出图片分辨率和尺寸等。\n支持生成以下分辨率的图片:origin(与输入图分辨率一致,长边最高为2000,超出将做等比例缩小)、768:768(1:1)、768:1024(3:4)、1024:768(4:3)。\n不传默认使用origin。",
|
90
90
|
"example": "无",
|
91
91
|
"member": "ResultConfig",
|
92
92
|
"name": "ResultConfig",
|
@@ -314,6 +314,16 @@
|
|
314
314
|
"type": "list",
|
315
315
|
"value_allowed_null": false
|
316
316
|
},
|
317
|
+
{
|
318
|
+
"disabled": false,
|
319
|
+
"document": "对应 SubmitTextToImageProJob 接口中 Revise 参数。开启扩写时,返回扩写后的 prompt 文本。 如果关闭扩写,将直接返回原始输入的 prompt。",
|
320
|
+
"example": "无",
|
321
|
+
"member": "string",
|
322
|
+
"name": "RevisedPrompt",
|
323
|
+
"output_required": false,
|
324
|
+
"type": "list",
|
325
|
+
"value_allowed_null": false
|
326
|
+
},
|
317
327
|
{
|
318
328
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
319
329
|
"member": "string",
|
@@ -328,7 +338,7 @@
|
|
328
338
|
"members": [
|
329
339
|
{
|
330
340
|
"disabled": false,
|
331
|
-
"document": "生成图分辨率\n\n智能文生图支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9),不传默认使用768:768
|
341
|
+
"document": "生成图分辨率\n\n智能文生图支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9),不传默认使用768:768。\n\n智能图生图支持生成以下分辨率的图片:origin(与输入图分辨率一致,长边最高为2000,超出将做等比例缩小)、768:768(1:1)、768:1024(3:4)、1024:768(4:3),不传默认使用origin,如果指定生成的长宽比与输入图长宽比差异过大可能导致图片内容被裁剪。",
|
332
342
|
"example": "768:768",
|
333
343
|
"member": "string",
|
334
344
|
"name": "Resolution",
|
@@ -385,6 +395,15 @@
|
|
385
395
|
"name": "Engine",
|
386
396
|
"required": false,
|
387
397
|
"type": "string"
|
398
|
+
},
|
399
|
+
{
|
400
|
+
"disabled": false,
|
401
|
+
"document": "prompt 扩写开关。1为开启,0为关闭,不传默认开启。\n开启扩写后,将自动扩写原始输入的 prompt 并使用扩写后的 prompt 生成图片,返回生成图片结果时将一并返回扩写后的 prompt 文本。\n如果关闭扩写,将直接使用原始输入的 prompt 生成图片。\n建议开启,在多数场景下可提升生成图片效果、丰富生成图片细节。",
|
402
|
+
"example": "无",
|
403
|
+
"member": "int64",
|
404
|
+
"name": "Revise",
|
405
|
+
"required": false,
|
406
|
+
"type": "int"
|
388
407
|
}
|
389
408
|
],
|
390
409
|
"type": "object"
|
@@ -1858,6 +1858,16 @@
|
|
1858
1858
|
"output_required": false,
|
1859
1859
|
"type": "int",
|
1860
1860
|
"value_allowed_null": true
|
1861
|
+
},
|
1862
|
+
{
|
1863
|
+
"disabled": false,
|
1864
|
+
"document": "是否为超级高防包\n注意:此字段可能返回 null,表示取不到有效值。",
|
1865
|
+
"example": "1",
|
1866
|
+
"member": "uint64",
|
1867
|
+
"name": "SuperPackFlag",
|
1868
|
+
"output_required": false,
|
1869
|
+
"type": "int",
|
1870
|
+
"value_allowed_null": true
|
1861
1871
|
}
|
1862
1872
|
],
|
1863
1873
|
"usage": "out"
|
@@ -120,7 +120,7 @@
|
|
120
120
|
"status": "online"
|
121
121
|
},
|
122
122
|
"SentenceRecognition": {
|
123
|
-
"document": "本接口用于对60秒之内的短音频文件进行识别。<br>•
|
123
|
+
"document": "本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。<br>• 请求方法为 HTTP POST , Content-Type为\"application/json; charset=utf-8\"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。",
|
124
124
|
"input": "SentenceRecognitionRequest",
|
125
125
|
"name": "一句话识别",
|
126
126
|
"output": "SentenceRecognitionResponse",
|
@@ -328,7 +328,7 @@
|
|
328
328
|
"members": [
|
329
329
|
{
|
330
330
|
"disabled": false,
|
331
|
-
"document": "引擎模型类型。\n• 16k_zh:中文普通话通用;\n• 16k_en:英语;\n• 16k_yue:粤语;\n• 16k_id:印度尼西亚语;\n• 16k_fil:菲律宾语;\n• 16k_th:泰语;\n• 16k_pt:葡萄牙语;\n• 16k_tr:土耳其语;\n• 16k_ar:阿拉伯语;\n• 16k_es:西班牙语;\n• 16k_hi:印地语;\n• 16k_fr:法语;",
|
331
|
+
"document": "引擎模型类型。\n• 16k_zh:中文普通话通用;\n• 16k_en:英语;\n• 16k_yue:粤语;\n• 16k_id:印度尼西亚语;\n• 16k_fil:菲律宾语;\n• 16k_th:泰语;\n• 16k_pt:葡萄牙语;\n• 16k_tr:土耳其语;\n• 16k_ar:阿拉伯语;\n• 16k_es:西班牙语;\n• 16k_hi:印地语;\n• 16k_fr:法语;\n• 16k_de:法语;",
|
332
332
|
"example": "16k_zh",
|
333
333
|
"member": "string",
|
334
334
|
"name": "EngineType",
|
@@ -519,7 +519,7 @@
|
|
519
519
|
"members": [
|
520
520
|
{
|
521
521
|
"disabled": false,
|
522
|
-
"document": "引擎模型类型\n识别引擎采用分级计费方案,标记为“大模型版”的引擎适用大模型计费方案,[点击这里](https://cloud.tencent.com/document/product/1093/35686) 查看产品计费说明\n\n电话通讯场景引擎:\n**注意:电话通讯场景,请务必使用以下8k引擎**\n• 8k_zh:中文电话通讯;\n• 8k_en:英文电话通讯;\n如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**\n\n通用场景引擎:\n**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**\n• **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;\n• **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远、等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;\n• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);\n• **16k_en:**英语;\n• **16k_yue:**粤语;\n• **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;\n• **16k_ja:**日语;\n• **16k_ko:**韩语;\n• **16k_vi:**越南语;\n• **16k_ms:**马来语;\n• **16k_id:**印度尼西亚语;\n• **16k_fil:**菲律宾语;\n• **16k_th:**泰语;\n• **16k_pt:**葡萄牙语;\n• **16k_tr:**土耳其语;\n• **16k_ar:**阿拉伯语;\n• **16k_es:**西班牙语;\n• **16k_hi:**印地语;\n• **16k_fr:**法语;\n• **16k_zh_medical
|
522
|
+
"document": "引擎模型类型\n识别引擎采用分级计费方案,标记为“大模型版”的引擎适用大模型计费方案,[点击这里](https://cloud.tencent.com/document/product/1093/35686) 查看产品计费说明\n\n电话通讯场景引擎:\n**注意:电话通讯场景,请务必使用以下8k引擎**\n• 8k_zh:中文电话通讯;\n• 8k_en:英文电话通讯;\n如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**\n\n通用场景引擎:\n**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**\n• **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;\n• **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远、等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;\n• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);\n• **16k_en:**英语;\n• **16k_yue:**粤语;\n• **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;\n• **16k_ja:**日语;\n• **16k_ko:**韩语;\n• **16k_vi:**越南语;\n• **16k_ms:**马来语;\n• **16k_id:**印度尼西亚语;\n• **16k_fil:**菲律宾语;\n• **16k_th:**泰语;\n• **16k_pt:**葡萄牙语;\n• **16k_tr:**土耳其语;\n• **16k_ar:**阿拉伯语;\n• **16k_es:**西班牙语;\n• **16k_hi:**印地语;\n• **16k_fr:**法语;\n• **16k_zh_medical:**中文医疗引擎;\n• **16k_de:**德语;",
|
523
523
|
"example": "16k_zh",
|
524
524
|
"member": "string",
|
525
525
|
"name": "EngineModelType",
|
@@ -1541,7 +1541,7 @@
|
|
1541
1541
|
"members": [
|
1542
1542
|
{
|
1543
1543
|
"disabled": false,
|
1544
|
-
"document": "引擎模型类型。\n电话场景:\n• 8k_zh:中文电话通用;\n• 8k_en:英文电话通用;\n\n非电话场景:\n• 16k_zh:中文通用;\n• 16k_zh-PY:中英粤;\n• 16k_zh_medical:中文医疗;\n• 16k_en:英语;\n• 16k_yue:粤语;\n• 16k_ja:日语;\n• 16k_ko:韩语;\n• 16k_vi:越南语;\n• 16k_ms:马来语;\n• 16k_id:印度尼西亚语;\n• 16k_fil:菲律宾语;\n• 16k_th:泰语;\n• 16k_pt:葡萄牙语;\n• 16k_tr:土耳其语;\n• 16k_ar:阿拉伯语;\n• 16k_es:西班牙语;\n• 16k_hi:印地语;\n• 16k_fr:法语;\n• 16k_zh_dialect:多方言,支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);",
|
1544
|
+
"document": "引擎模型类型。\n电话场景:\n• 8k_zh:中文电话通用;\n• 8k_en:英文电话通用;\n\n非电话场景:\n• 16k_zh:中文通用;\n• 16k_zh-PY:中英粤;\n• 16k_zh_medical:中文医疗;\n• 16k_en:英语;\n• 16k_yue:粤语;\n• 16k_ja:日语;\n• 16k_ko:韩语;\n• 16k_vi:越南语;\n• 16k_ms:马来语;\n• 16k_id:印度尼西亚语;\n• 16k_fil:菲律宾语;\n• 16k_th:泰语;\n• 16k_pt:葡萄牙语;\n• 16k_tr:土耳其语;\n• 16k_ar:阿拉伯语;\n• 16k_es:西班牙语;\n• 16k_hi:印地语;\n• 16k_fr:法语;\n• 16k_de:德语;\n• 16k_zh_dialect:多方言,支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);",
|
1545
1545
|
"example": "16k_en",
|
1546
1546
|
"member": "string",
|
1547
1547
|
"name": "EngSerViceType",
|
@@ -534,6 +534,15 @@
|
|
534
534
|
"name": "PURL",
|
535
535
|
"required": true,
|
536
536
|
"type": "object"
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"disabled": false,
|
540
|
+
"document": "语言,ZH或EN",
|
541
|
+
"example": "ZH",
|
542
|
+
"member": "string",
|
543
|
+
"name": "Language",
|
544
|
+
"required": false,
|
545
|
+
"type": "string"
|
537
546
|
}
|
538
547
|
],
|
539
548
|
"type": "object"
|
@@ -547,7 +556,7 @@
|
|
547
556
|
"example": "无",
|
548
557
|
"member": "ComponentVulnerabilityUnion",
|
549
558
|
"name": "VulnerabilityList",
|
550
|
-
"
|
559
|
+
"output_required": true,
|
551
560
|
"type": "list",
|
552
561
|
"value_allowed_null": true
|
553
562
|
},
|
@@ -645,6 +654,15 @@
|
|
645
654
|
"name": "CNNVDID",
|
646
655
|
"required": false,
|
647
656
|
"type": "list"
|
657
|
+
},
|
658
|
+
{
|
659
|
+
"disabled": false,
|
660
|
+
"document": "语言,ZH或EN",
|
661
|
+
"example": "ZH",
|
662
|
+
"member": "string",
|
663
|
+
"name": "Language",
|
664
|
+
"required": false,
|
665
|
+
"type": "string"
|
648
666
|
}
|
649
667
|
],
|
650
668
|
"type": "object"
|