tccli 3.0.1031.1__py2.py3-none-any.whl → 3.0.1032.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/cdwdoris/v20211228/CreateInstanceNew.md +36 -0
- tccli/examples/cdwdoris/v20211228/DescribeClusterConfigs.md +29 -0
- tccli/examples/cdwdoris/v20211228/DescribeDatabaseAuditDownload.md +33 -0
- tccli/examples/cdwdoris/v20211228/DescribeDatabaseAuditRecords.md +47 -0
- tccli/examples/cdwdoris/v20211228/DescribeInstanceNodesInfo.md +54 -0
- tccli/examples/cdwdoris/v20211228/DescribeInstanceState.md +26 -0
- tccli/examples/cdwdoris/v20211228/DescribeSlowQueryRecords.md +41 -0
- tccli/examples/cdwdoris/v20211228/DescribeSlowQueryRecordsDownload.md +25 -0
- tccli/examples/cdwdoris/v20211228/DestroyInstance.md +23 -0
- tccli/examples/cdwdoris/v20211228/ModifyInstance.md +21 -0
- tccli/examples/cdwdoris/v20211228/ResizeDisk.md +25 -0
- tccli/examples/cdwdoris/v20211228/RestartClusterForNode.md +23 -0
- tccli/examples/cdwdoris/v20211228/ScaleOutInstance.md +25 -0
- tccli/examples/cdwdoris/v20211228/ScaleUpInstance.md +25 -0
- tccli/examples/essbasic/v20210526/DescribeTemplates.md +32 -4
- tccli/examples/mongodb/v20190725/ModifyDBInstanceSpec.md +4 -4
- tccli/examples/tke/v20180525/CreateClusterNodePool.md +2 -0
- tccli/examples/vod/v20180717/DescribeProcedureTemplates.md +3 -18
- tccli/examples/vod/v20180717/DescribeVodDomains.md +1 -0
- tccli/examples/yinsuda/v20220527/DescribeKTVMusicAccompanySegmentUrlVip.md +28 -0
- tccli/examples/yinsuda/v20220527/DescribeVipUserInfo.md +26 -0
- tccli/examples/yinsuda/v20220527/RechargeVip.md +27 -0
- tccli/services/cat/v20180409/api.json +10 -1
- tccli/services/cdwdoris/cdwdoris_client.py +750 -8
- tccli/services/cdwdoris/v20211228/api.json +2462 -494
- tccli/services/cdwdoris/v20211228/examples.json +118 -0
- tccli/services/cls/v20201016/api.json +2 -2
- tccli/services/ess/v20201111/api.json +4 -4
- tccli/services/essbasic/v20210526/api.json +22 -22
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/lighthouse/v20200324/api.json +5 -5
- tccli/services/mongodb/v20190725/api.json +11 -11
- tccli/services/mongodb/v20190725/examples.json +2 -2
- tccli/services/monitor/v20180724/api.json +2 -0
- tccli/services/tke/v20180525/api.json +59 -3
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/vod/v20180717/api.json +49 -49
- tccli/services/vod/v20180717/examples.json +2 -2
- tccli/services/vpc/v20170312/api.json +10 -0
- tccli/services/waf/v20180125/api.json +11 -0
- tccli/services/yinsuda/v20220527/api.json +305 -0
- tccli/services/yinsuda/v20220527/examples.json +24 -0
- tccli/services/yinsuda/yinsuda_client.py +175 -16
- {tccli-3.0.1031.1.dist-info → tccli-3.0.1032.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1031.1.dist-info → tccli-3.0.1032.1.dist-info}/RECORD +49 -32
- {tccli-3.0.1031.1.dist-info → tccli-3.0.1032.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1031.1.dist-info → tccli-3.0.1032.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1031.1.dist-info → tccli-3.0.1032.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1032.1'
|
@@ -0,0 +1,36 @@
|
|
1
|
+
**Example 1: 集群创建示例**
|
2
|
+
|
3
|
+
创建集群
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris CreateInstanceNew --cli-unfold-argument \
|
9
|
+
--InstanceName test-按量-hazk2节点 \
|
10
|
+
--Zone ap-beijing-2 \
|
11
|
+
--FeSpec.SpecName S_4_16_H \
|
12
|
+
--FeSpec.Count 3 \
|
13
|
+
--FeSpec.DiskSize 200 \
|
14
|
+
--BeSpec.SpecName S_4_16_H \
|
15
|
+
--BeSpec.Count 3 \
|
16
|
+
--BeSpec.DiskSize 1000 \
|
17
|
+
--HaFlag True \
|
18
|
+
--UserVPCId vpc-8visjoh9 \
|
19
|
+
--UserSubnetId subnet-03ij1dki \
|
20
|
+
--ProductVersion 1.2 \
|
21
|
+
--DorisUserPwd ujA7xa2*1 \
|
22
|
+
--ChargeProperties.ChargeType POSTPAID_BY_HOUR
|
23
|
+
```
|
24
|
+
|
25
|
+
Output:
|
26
|
+
```
|
27
|
+
{
|
28
|
+
"Response": {
|
29
|
+
"InstanceId": "cdwdoris-aijqera",
|
30
|
+
"FlowId": "1231",
|
31
|
+
"RequestId": "lweinasd-28kamasd-xasdas",
|
32
|
+
"ErrorMsg": ""
|
33
|
+
}
|
34
|
+
}
|
35
|
+
```
|
36
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
**Example 1: 获取集群配置文件内容**
|
2
|
+
|
3
|
+
在xml方式下修改配置文件内容时,获取集群配置文件内容
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris DescribeClusterConfigs --cli-unfold-argument \
|
9
|
+
--InstanceId cdwch-xxxx
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"ClusterConfList": [
|
17
|
+
{
|
18
|
+
"NeedRestart": 1,
|
19
|
+
"OriParam": "ss=sc",
|
20
|
+
"KeyConf": "ss=sc",
|
21
|
+
"FileConf": "ss=sc",
|
22
|
+
"FileName": "test"
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"RequestId": "xx-aa"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
```
|
29
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
**Example 1: DescribeDatabaseAuditDownload**
|
2
|
+
|
3
|
+
下载数据库审计日志
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris DescribeDatabaseAuditDownload --cli-unfold-argument \
|
9
|
+
--InstanceId abc \
|
10
|
+
--StartTime abc \
|
11
|
+
--EndTime abc \
|
12
|
+
--PageSize 0 \
|
13
|
+
--PageNum 0 \
|
14
|
+
--OrderType abc \
|
15
|
+
--User abc \
|
16
|
+
--DbName abc \
|
17
|
+
--SqlType abc \
|
18
|
+
--Sql abc \
|
19
|
+
--Users abc \
|
20
|
+
--DbNames abc \
|
21
|
+
--SqlTypes abc
|
22
|
+
```
|
23
|
+
|
24
|
+
Output:
|
25
|
+
```
|
26
|
+
{
|
27
|
+
"Response": {
|
28
|
+
"CosUrl": "abc",
|
29
|
+
"RequestId": "abc"
|
30
|
+
}
|
31
|
+
}
|
32
|
+
```
|
33
|
+
|
@@ -0,0 +1,47 @@
|
|
1
|
+
**Example 1: DescribeDatabaseAuditRecords**
|
2
|
+
|
3
|
+
获取数据库审计记录
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris DescribeDatabaseAuditRecords --cli-unfold-argument \
|
9
|
+
--InstanceId abc \
|
10
|
+
--StartTime abc \
|
11
|
+
--EndTime abc \
|
12
|
+
--PageSize 0 \
|
13
|
+
--PageNum 0 \
|
14
|
+
--OrderType abc \
|
15
|
+
--User abc \
|
16
|
+
--DbName abc \
|
17
|
+
--SqlType abc \
|
18
|
+
--Sql abc \
|
19
|
+
--Users abc \
|
20
|
+
--DbNames abc \
|
21
|
+
--SqlTypes abc
|
22
|
+
```
|
23
|
+
|
24
|
+
Output:
|
25
|
+
```
|
26
|
+
{
|
27
|
+
"Response": {
|
28
|
+
"TotalCount": 0,
|
29
|
+
"SlowQueryRecords": {
|
30
|
+
"OsUser": "abc",
|
31
|
+
"InitialQueryId": "abc",
|
32
|
+
"Sql": "abc",
|
33
|
+
"QueryStartTime": "abc",
|
34
|
+
"DurationMs": 0,
|
35
|
+
"ReadRows": 0,
|
36
|
+
"ResultRows": 0,
|
37
|
+
"ResultBytes": 1,
|
38
|
+
"MemoryUsage": 0,
|
39
|
+
"InitialAddress": "abc",
|
40
|
+
"DbName": "abc",
|
41
|
+
"SqlType": "abc"
|
42
|
+
},
|
43
|
+
"RequestId": "abc"
|
44
|
+
}
|
45
|
+
}
|
46
|
+
```
|
47
|
+
|
@@ -0,0 +1,54 @@
|
|
1
|
+
**Example 1: 查询节点角色**
|
2
|
+
|
3
|
+
查询节点角色
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris DescribeInstanceNodesInfo --cli-unfold-argument \
|
9
|
+
--InstanceID abc
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"BeNodes": [
|
17
|
+
"abc"
|
18
|
+
],
|
19
|
+
"FeNodes": [
|
20
|
+
"abc"
|
21
|
+
],
|
22
|
+
"FeMaster": "abc",
|
23
|
+
"RequestId": "abc"
|
24
|
+
}
|
25
|
+
}
|
26
|
+
```
|
27
|
+
|
28
|
+
**Example 2: 查询节点信息**
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
Input:
|
33
|
+
|
34
|
+
```
|
35
|
+
tccli cdwdoris DescribeInstanceNodesInfo --cli-unfold-argument \
|
36
|
+
--InstanceID abc
|
37
|
+
```
|
38
|
+
|
39
|
+
Output:
|
40
|
+
```
|
41
|
+
{
|
42
|
+
"Response": {
|
43
|
+
"BeNodes": [
|
44
|
+
"abc"
|
45
|
+
],
|
46
|
+
"FeNodes": [
|
47
|
+
"abc"
|
48
|
+
],
|
49
|
+
"FeMaster": "abc",
|
50
|
+
"RequestId": "abc"
|
51
|
+
}
|
52
|
+
}
|
53
|
+
```
|
54
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
**Example 1: 获取集群状态**
|
2
|
+
|
3
|
+
需要展现集群状态以及操作进度
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris DescribeInstanceState --cli-unfold-argument \
|
9
|
+
--InstanceId cdwch-exs8Mnql
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"InstanceState": "Serving",
|
17
|
+
"InstanceStateDesc": "运行中",
|
18
|
+
"FlowCreateTime": "",
|
19
|
+
"FlowName": "",
|
20
|
+
"FlowProgress": 0,
|
21
|
+
"FlowMsg": "创建流程失败",
|
22
|
+
"RequestId": "xxxx-xxxx-xxxx-xxxx"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
**Example 1: DescribeSlowQueryRecords**
|
2
|
+
|
3
|
+
慢查询
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris DescribeSlowQueryRecords --cli-unfold-argument \
|
9
|
+
--InstanceId abc \
|
10
|
+
--QueryDurationMs 0 \
|
11
|
+
--StartTime abc \
|
12
|
+
--EndTime abc \
|
13
|
+
--PageSize 0 \
|
14
|
+
--PageNum 0 \
|
15
|
+
--DurationMs abc
|
16
|
+
```
|
17
|
+
|
18
|
+
Output:
|
19
|
+
```
|
20
|
+
{
|
21
|
+
"Response": {
|
22
|
+
"TotalCount": 0,
|
23
|
+
"SlowQueryRecords": [
|
24
|
+
{
|
25
|
+
"OsUser": "abc",
|
26
|
+
"InitialQueryId": "abc",
|
27
|
+
"Sql": "abc",
|
28
|
+
"QueryStartTime": "abc",
|
29
|
+
"DurationMs": 0,
|
30
|
+
"ReadRows": 0,
|
31
|
+
"ResultRows": 0,
|
32
|
+
"ResultBytes": 1,
|
33
|
+
"MemoryUsage": 0,
|
34
|
+
"InitialAddress": "abc"
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"RequestId": "abc"
|
38
|
+
}
|
39
|
+
}
|
40
|
+
```
|
41
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: DescribeSlowQueryRecordsDownload**
|
2
|
+
|
3
|
+
下载慢查询文件
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris DescribeSlowQueryRecordsDownload --cli-unfold-argument \
|
9
|
+
--InstanceId abc \
|
10
|
+
--QueryDurationMs 0 \
|
11
|
+
--StartTime abc \
|
12
|
+
--EndTime abc \
|
13
|
+
--DurationMs abc
|
14
|
+
```
|
15
|
+
|
16
|
+
Output:
|
17
|
+
```
|
18
|
+
{
|
19
|
+
"Response": {
|
20
|
+
"CosUrl": "abc",
|
21
|
+
"RequestId": "abc"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
**Example 1: 集群销毁示例**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris DestroyInstance --cli-unfold-argument \
|
9
|
+
--InstanceId cdwdoris-auqej7a
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"FlowId": "1231",
|
17
|
+
"InstanceId": "cdwdoris-auqej7a",
|
18
|
+
"ErrorMsg": "",
|
19
|
+
"RequestId": "xasdfkqe2-a12q29-axdfas"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 修改实例信息**
|
2
|
+
|
3
|
+
用户修改实例名称
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris ModifyInstance --cli-unfold-argument \
|
9
|
+
--InstanceId cdwch-12345678 \
|
10
|
+
--InstanceName cdwch-test
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "xxxx-xxxx"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 云盘扩容示例**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris ResizeDisk --cli-unfold-argument \
|
9
|
+
--InstanceId cdwdoris-asdfxw \
|
10
|
+
--Type CORE \
|
11
|
+
--DiskSize 3000
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"FlowId": "1231",
|
19
|
+
"InstanceId": "cdwch-auqej7a",
|
20
|
+
"ErrorMsg": "",
|
21
|
+
"RequestId": "xasdfkqe2-a12q29-axdfas"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
**Example 1: test**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris RestartClusterForNode --cli-unfold-argument \
|
9
|
+
--InstanceId abc \
|
10
|
+
--ConfigName abc
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"FlowId": 0,
|
18
|
+
"ErrorMsg": "abc",
|
19
|
+
"RequestId": "abc"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 水平扩容示例**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris ScaleOutInstance --cli-unfold-argument \
|
9
|
+
--InstanceId cdwdoris-xqewrqx \
|
10
|
+
--Type MASTER \
|
11
|
+
--NodeCount 5
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"FlowId": "1231",
|
19
|
+
"InstanceId": "cdwdoris-xqewrqx",
|
20
|
+
"ErrorMsg": "",
|
21
|
+
"RequestId": "xasdfkqe2-a12q29-axdfas"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 节点垂直变配示例**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdwdoris ScaleUpInstance --cli-unfold-argument \
|
9
|
+
--InstanceId cdwdoris-xad3fa9 \
|
10
|
+
--SpecName S_8_32_H \
|
11
|
+
--Type CORE
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"FlowId": "1231",
|
19
|
+
"InstanceId": "cdwch-auqej7a",
|
20
|
+
"ErrorMsg": "",
|
21
|
+
"RequestId": "xasdfkqe2-a12q29-axdfas"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -33,7 +33,14 @@ Output:
|
|
33
33
|
"RequireSign": false,
|
34
34
|
"SignType": 0,
|
35
35
|
"RoutingOrder": -1,
|
36
|
-
"IsPromoter": false
|
36
|
+
"IsPromoter": false,
|
37
|
+
"ApproverVerifyTypes": [
|
38
|
+
1
|
39
|
+
],
|
40
|
+
"ApproverSignTypes": [
|
41
|
+
1,
|
42
|
+
2
|
43
|
+
]
|
37
44
|
},
|
38
45
|
{
|
39
46
|
"RecipientId": "yDSLVUUckpo3noc8UEnf33kxKp7Waeq1",
|
@@ -44,7 +51,14 @@ Output:
|
|
44
51
|
"RequireSign": false,
|
45
52
|
"SignType": 0,
|
46
53
|
"RoutingOrder": -1,
|
47
|
-
"IsPromoter": false
|
54
|
+
"IsPromoter": false,
|
55
|
+
"ApproverVerifyTypes": [
|
56
|
+
1
|
57
|
+
],
|
58
|
+
"ApproverSignTypes": [
|
59
|
+
1,
|
60
|
+
2
|
61
|
+
]
|
48
62
|
}
|
49
63
|
],
|
50
64
|
"SignComponents": [
|
@@ -270,7 +284,14 @@ Output:
|
|
270
284
|
"RequireSign": false,
|
271
285
|
"SignType": 0,
|
272
286
|
"RoutingOrder": -1,
|
273
|
-
"IsPromoter": false
|
287
|
+
"IsPromoter": false,
|
288
|
+
"ApproverVerifyTypes": [
|
289
|
+
1
|
290
|
+
],
|
291
|
+
"ApproverSignTypes": [
|
292
|
+
1,
|
293
|
+
2
|
294
|
+
]
|
274
295
|
},
|
275
296
|
{
|
276
297
|
"RecipientId": "yDSLVUUckpo3nwi1UEnf33kBMNXjdB2c",
|
@@ -281,7 +302,14 @@ Output:
|
|
281
302
|
"RequireSign": false,
|
282
303
|
"SignType": 0,
|
283
304
|
"RoutingOrder": -1,
|
284
|
-
"IsPromoter": false
|
305
|
+
"IsPromoter": false,
|
306
|
+
"ApproverVerifyTypes": [
|
307
|
+
1
|
308
|
+
],
|
309
|
+
"ApproverSignTypes": [
|
310
|
+
1,
|
311
|
+
2
|
312
|
+
]
|
285
313
|
}
|
286
314
|
],
|
287
315
|
"SignComponents": [
|
@@ -1,14 +1,14 @@
|
|
1
1
|
**Example 1: 调整云数据库实例配置**
|
2
2
|
|
3
|
-
|
3
|
+
调整云数据库实例配置
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli mongodb ModifyDBInstanceSpec --cli-unfold-argument \
|
9
|
-
--InstanceId cmgo-
|
10
|
-
--
|
11
|
-
--
|
9
|
+
--InstanceId cmgo-p8vn**** \
|
10
|
+
--Volume 250 \
|
11
|
+
--Memory 4
|
12
12
|
```
|
13
13
|
|
14
14
|
Output:
|
@@ -39,6 +39,8 @@ tccli tke CreateClusterNodePool --cli-unfold-argument \
|
|
39
39
|
--Taints.0.Effect NoExecute \
|
40
40
|
--Labels.0.Name node-pool \
|
41
41
|
--Labels.0.Value xxxx \
|
42
|
+
--Annotations.0.Name tke.cloud.tencent.com/test \
|
43
|
+
--Annotations.0.Value true \
|
42
44
|
--LaunchConfigurePara {"LaunchConfigurationName":"","InstanceType":"S6.8XLARGE64","SystemDisk":{"DiskType":"CLOUD_BSSD","DiskSize":50},"DataDisks":[{"DiskType":"CLOUD_BSSD","DiskSize":500}],"InternetAccessible":{"InternetChargeType":"TRAFFIC_POSTPAID_BY_HOUR","InternetMaxBandwidthOut":0,"PublicIpAssigned":false},"LoginSettings":{"KeyIds":["skey-xxxxx"]},"SecurityGroupIds":["sg-xxxxxx"],"EnhancedService":{"SecurityService":{"Enabled":true},"MonitorService":{"Enabled":true}},"HostNameSettings":{"HostName":"foundation-node","HostNameStyle":"UNIQUE"},"InstanceNameSettings":{"InstanceName":"node","InstanceNameStyle":"UNIQUE"},"InstanceChargeType":"PREPAID","InstanceChargePrepaid":{"Period":1,"RenewFlag":"NOTIFY_AND_AUTO_RENEW"}} \
|
43
45
|
--Name node-pool \
|
44
46
|
--NodePoolOs centos7.6.0_x64 \
|
@@ -178,12 +178,7 @@ Output:
|
|
178
178
|
"TranscodeTaskSet": [
|
179
179
|
{
|
180
180
|
"Definition": 20,
|
181
|
-
"WatermarkSet": [
|
182
|
-
{
|
183
|
-
"Definition": 15780,
|
184
|
-
"TextContent": ""
|
185
|
-
}
|
186
|
-
],
|
181
|
+
"WatermarkSet": [],
|
187
182
|
"MosaicSet": [],
|
188
183
|
"TraceWatermark": {
|
189
184
|
"Switch": "OFF",
|
@@ -198,12 +193,7 @@ Output:
|
|
198
193
|
},
|
199
194
|
{
|
200
195
|
"Definition": 30,
|
201
|
-
"WatermarkSet": [
|
202
|
-
{
|
203
|
-
"Definition": 15780,
|
204
|
-
"TextContent": ""
|
205
|
-
}
|
206
|
-
],
|
196
|
+
"WatermarkSet": [],
|
207
197
|
"MosaicSet": [],
|
208
198
|
"TraceWatermark": {
|
209
199
|
"Switch": "OFF",
|
@@ -218,12 +208,7 @@ Output:
|
|
218
208
|
},
|
219
209
|
{
|
220
210
|
"Definition": 40,
|
221
|
-
"WatermarkSet": [
|
222
|
-
{
|
223
|
-
"Definition": 15780,
|
224
|
-
"TextContent": ""
|
225
|
-
}
|
226
|
-
],
|
211
|
+
"WatermarkSet": [],
|
227
212
|
"MosaicSet": [],
|
228
213
|
"TraceWatermark": {
|
229
214
|
"Switch": "OFF",
|
@@ -0,0 +1,28 @@
|
|
1
|
+
**Example 1: 获取歌曲伴奏片段链接(会员)**
|
2
|
+
|
3
|
+
获取歌曲伴奏片段链接(会员)
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli yinsuda DescribeKTVMusicAccompanySegmentUrlVip --cli-unfold-argument \
|
9
|
+
--AppName Mtest \
|
10
|
+
--UserId James \
|
11
|
+
--MusicId mid-GHJAIQP
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"Status": 0,
|
19
|
+
"Url": "abc",
|
20
|
+
"ExtName": "abc",
|
21
|
+
"SegmentBegin": 0,
|
22
|
+
"SegmentEnd": 0,
|
23
|
+
"FileSize": 0,
|
24
|
+
"RequestId": "abc"
|
25
|
+
}
|
26
|
+
}
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
**Example 1: 获取会员信息**
|
2
|
+
|
3
|
+
获取会员信息
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli yinsuda DescribeVipUserInfo --cli-unfold-argument \
|
9
|
+
--AppName test \
|
10
|
+
--UserId James
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"AnchorId": "James",
|
18
|
+
"EndTime": "2023-12-28 11:53:47",
|
19
|
+
"IsVip": 1,
|
20
|
+
"RequestId": "75d1a921-a3c1-4cdf-9834-b9eef2130bc0",
|
21
|
+
"RoomId": "123",
|
22
|
+
"Status": 1
|
23
|
+
}
|
24
|
+
}
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
**Example 1: 会员充值**
|
2
|
+
|
3
|
+
会员充值
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli yinsuda RechargeVip --cli-unfold-argument \
|
9
|
+
--AppName mtest_James \
|
10
|
+
--UserId 123 \
|
11
|
+
--RoomId 908 \
|
12
|
+
--VipDays 31 \
|
13
|
+
--AnchorId 123
|
14
|
+
```
|
15
|
+
|
16
|
+
Output:
|
17
|
+
```
|
18
|
+
{
|
19
|
+
"Response": {
|
20
|
+
"CreateTime": "2023-11-27 20:21:33",
|
21
|
+
"OrderNo": "11258768abf2dc9b05021467e",
|
22
|
+
"PartnerNo": "fs",
|
23
|
+
"RequestId": "f09060bf-d902-4bfc-a2e2-531c3214b371"
|
24
|
+
}
|
25
|
+
}
|
26
|
+
```
|
27
|
+
|