tccli 3.0.1033.1__py2.py3-none-any.whl → 3.0.1035.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/cwp/v20180228/SyncBaselineDetectSummary.md +28 -0
- tccli/examples/dnspod/v20210323/DescribeRecordList.md +4 -2
- tccli/examples/ess/v20201111/ModifyExtendedService.md +79 -0
- tccli/examples/oceanus/v20190422/CreateFolder.md +3 -50
- tccli/examples/oceanus/v20190422/DescribeWorkSpaces.md +6 -3
- tccli/examples/oceanus/v20190422/GetMetaTable.md +29 -0
- tccli/examples/omics/v20221128/RetryRuns.md +50 -4
- tccli/examples/tcss/v20201101/DescribeAssetHostList.md +3 -1
- tccli/examples/trp/v20210515/DescribeProducts.md +6 -3
- tccli/examples/tse/v20201207/CreateCloudNativeAPIGatewayPublicNetwork.md +26 -0
- tccli/examples/tse/v20201207/DeleteCloudNativeAPIGatewayPublicNetwork.md +23 -0
- tccli/examples/tse/v20201207/ModifyConsoleNetwork.md +22 -0
- tccli/examples/tse/v20201207/ModifyNetworkAccessStrategy.md +26 -0
- tccli/examples/tse/v20201207/ModifyNetworkBasicInfo.md +25 -0
- tccli/examples/tsf/v20180326/ContinueRunFailedTaskBatch.md +2 -1
- tccli/examples/wedata/v20210820/DescribeFieldBasicInfo.md +103 -0
- tccli/examples/wedata/v20210820/DescribeTableBasicInfo.md +93 -0
- tccli/examples/wedata/v20210820/DescribeTableLineageInfo.md +135 -0
- tccli/services/aiart/v20221229/api.json +2 -2
- tccli/services/cat/v20180409/api.json +3 -3
- tccli/services/cfw/v20190904/api.json +7 -7
- tccli/services/csip/v20221121/api.json +8 -8
- tccli/services/cwp/v20180228/api.json +22 -12
- tccli/services/cwp/v20180228/examples.json +6 -0
- tccli/services/dbbrain/v20191016/api.json +3 -1
- tccli/services/dnspod/v20210323/api.json +5 -3
- tccli/services/dnspod/v20210323/examples.json +1 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +99 -19
- tccli/services/ess/v20201111/examples.json +20 -0
- tccli/services/essbasic/v20210526/api.json +18 -18
- tccli/services/ivld/v20210903/api.json +3 -3
- tccli/services/oceanus/oceanus_client.py +53 -0
- tccli/services/oceanus/v20190422/api.json +124 -1
- tccli/services/oceanus/v20190422/examples.json +11 -15
- tccli/services/omics/v20221128/api.json +41 -4
- tccli/services/omics/v20221128/examples.json +16 -4
- tccli/services/scf/v20180416/api.json +11 -2
- tccli/services/ssm/v20190923/api.json +6 -2
- tccli/services/tcss/v20201101/api.json +35 -5
- tccli/services/tcss/v20201101/examples.json +1 -1
- tccli/services/teo/v20220901/api.json +5 -5
- tccli/services/tiw/v20190919/api.json +21 -2
- tccli/services/trp/v20210515/api.json +63 -5
- tccli/services/trp/v20210515/examples.json +2 -2
- tccli/services/tse/tse_client.py +281 -16
- tccli/services/tse/v20201207/api.json +323 -0
- tccli/services/tse/v20201207/examples.json +40 -0
- tccli/services/tsf/v20180326/api.json +41 -30
- tccli/services/tsf/v20180326/examples.json +1 -1
- tccli/services/vod/v20180717/api.json +19 -6
- tccli/services/wedata/v20210820/api.json +1018 -80
- tccli/services/wedata/v20210820/examples.json +54 -0
- tccli/services/wedata/wedata_client.py +167 -8
- {tccli-3.0.1033.1.dist-info → tccli-3.0.1035.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1033.1.dist-info → tccli-3.0.1035.1.dist-info}/RECORD +60 -50
- {tccli-3.0.1033.1.dist-info → tccli-3.0.1035.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1033.1.dist-info → tccli-3.0.1035.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1033.1.dist-info → tccli-3.0.1035.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1035.1'
|
@@ -26,3 +26,31 @@ Output:
|
|
26
26
|
}
|
27
27
|
```
|
28
28
|
|
29
|
+
**Example 2: 指定任务ID概要请求**
|
30
|
+
|
31
|
+
指定任务ID概要请求
|
32
|
+
|
33
|
+
Input:
|
34
|
+
|
35
|
+
```
|
36
|
+
tccli cwp SyncBaselineDetectSummary --cli-unfold-argument \
|
37
|
+
--TaskIds 299 298
|
38
|
+
```
|
39
|
+
|
40
|
+
Output:
|
41
|
+
```
|
42
|
+
{
|
43
|
+
"Response": {
|
44
|
+
"DetectingTaskIds": [],
|
45
|
+
"EndTime": "2023-12-25 12:05:27",
|
46
|
+
"HostCount": 31,
|
47
|
+
"LeftMins": 0,
|
48
|
+
"NotPassPolicyCount": 1,
|
49
|
+
"ProgressRate": 100,
|
50
|
+
"RequestId": "5f862bd8-6931-45ee-a5d9-0fe2c4ea30d7",
|
51
|
+
"StartTime": "2023-12-25 09:36:00",
|
52
|
+
"WillFirstScan": 0
|
53
|
+
}
|
54
|
+
}
|
55
|
+
```
|
56
|
+
|
@@ -44,7 +44,8 @@ Output:
|
|
44
44
|
"MonitorStatus": "",
|
45
45
|
"Remark": "",
|
46
46
|
"TTL": 86400,
|
47
|
-
"MX": 0
|
47
|
+
"MX": 0,
|
48
|
+
"DefaultNS": true
|
48
49
|
},
|
49
50
|
{
|
50
51
|
"RecordId": 556507779,
|
@@ -59,7 +60,8 @@ Output:
|
|
59
60
|
"MonitorStatus": "",
|
60
61
|
"Remark": "",
|
61
62
|
"TTL": 86400,
|
62
|
-
"MX": 0
|
63
|
+
"MX": 0,
|
64
|
+
"DefaultNS": true
|
63
65
|
}
|
64
66
|
]
|
65
67
|
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
**Example 1: 关闭自动签署**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ess ModifyExtendedService --cli-unfold-argument \
|
9
|
+
--Operator.ClientIp 8.8.8.8 \
|
10
|
+
--Operator.UserId yDxjOUUgydjfxgnzUuO4zjEWA07rC2xl \
|
11
|
+
--ServiceType OPEN_SERVER_SIGN \
|
12
|
+
--Operate CLOSE \
|
13
|
+
--Endpoint WEIXINAPP
|
14
|
+
```
|
15
|
+
|
16
|
+
Output:
|
17
|
+
```
|
18
|
+
{
|
19
|
+
"Response": {
|
20
|
+
"OperateUrl": "",
|
21
|
+
"RequestId": "s1703747615889528031"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
26
|
+
**Example 2: 开通自动签署**
|
27
|
+
|
28
|
+
1.开通企业自动签署(ServiceType 设置为WEIXINAPP)
|
29
|
+
2.设置Endpoint 为WEIXINAPP ,得到小程序链接,操作人可拿链接签署协议开通自动签署
|
30
|
+
|
31
|
+
Input:
|
32
|
+
|
33
|
+
```
|
34
|
+
tccli ess ModifyExtendedService --cli-unfold-argument \
|
35
|
+
--Operator.ClientIp 8.8.8.8 \
|
36
|
+
--Operator.UserId yDxjOUUgydjfxgnzUuO4zjEWA07rC2xl \
|
37
|
+
--ServiceType OPEN_SERVER_SIGN \
|
38
|
+
--Operate OPEN \
|
39
|
+
--Endpoint WEIXINAPP
|
40
|
+
```
|
41
|
+
|
42
|
+
Output:
|
43
|
+
```
|
44
|
+
{
|
45
|
+
"Response": {
|
46
|
+
"OperateUrl": "https://res.ess.tencent.cn/cdn/h5-activity/jump-mp.html?to=OPEN_SERVER_SIGN&request_token=yAABVUUckpt7e9gdUEcsWM19s3pglRL2&organizationId=yDxjOUUgydjf7zv3ACO4zjEC0AKihrfi&channelType=TENCENTCLOUD&expired_time=1703834015&login=1&verify=1",
|
47
|
+
"RequestId": "s1703747615889528031"
|
48
|
+
}
|
49
|
+
}
|
50
|
+
```
|
51
|
+
|
52
|
+
**Example 3: 管理不支持的扩展服务**
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
Input:
|
57
|
+
|
58
|
+
```
|
59
|
+
tccli ess ModifyExtendedService --cli-unfold-argument \
|
60
|
+
--Operator.ClientIp 8.8.8.8 \
|
61
|
+
--Operator.UserId yDxjOUUgydjfxgnzUuO4zjEWA07rC2xl \
|
62
|
+
--ServiceType OPEN_SERVER \
|
63
|
+
--Operate CLOSE \
|
64
|
+
--Endpoint WEIXINAPP
|
65
|
+
```
|
66
|
+
|
67
|
+
Output:
|
68
|
+
```
|
69
|
+
{
|
70
|
+
"Response": {
|
71
|
+
"Error": {
|
72
|
+
"Code": "InvalidParameter.ParamError",
|
73
|
+
"Message": "非法的扩展服务类型OPEN_SERVER,请确认后重试"
|
74
|
+
},
|
75
|
+
"RequestId": "s1703747916297948958"
|
76
|
+
}
|
77
|
+
}
|
78
|
+
```
|
79
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
**Example 1:
|
1
|
+
**Example 1: 创建文件夹**
|
2
2
|
|
3
3
|
|
4
4
|
|
@@ -6,55 +6,8 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli oceanus CreateFolder --cli-unfold-argument \
|
9
|
-
--FolderName
|
10
|
-
--
|
11
|
-
--FolderType 0
|
12
|
-
```
|
13
|
-
|
14
|
-
Output:
|
15
|
-
```
|
16
|
-
{
|
17
|
-
"Response": {
|
18
|
-
"FolderId": "folder-cccccccc",
|
19
|
-
"RequestId": "5d5a201f-0a3d-485f-a82f-3c73ccca348a"
|
20
|
-
}
|
21
|
-
}
|
22
|
-
```
|
23
|
-
|
24
|
-
**Example 2: 测试**
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
Input:
|
29
|
-
|
30
|
-
```
|
31
|
-
tccli oceanus CreateFolder --cli-unfold-argument \
|
32
|
-
--FolderName test1 \
|
33
|
-
--WorkSpaceId space-1257058945ap-guangzho \
|
34
|
-
--FolderType 0 \
|
35
|
-
--ParentId root
|
36
|
-
```
|
37
|
-
|
38
|
-
Output:
|
39
|
-
```
|
40
|
-
{
|
41
|
-
"Response": {
|
42
|
-
"FolderId": "folder-qy7n62qr",
|
43
|
-
"RequestId": "eb7bbe76-77b3-444d-8554-4dd14394a008"
|
44
|
-
}
|
45
|
-
}
|
46
|
-
```
|
47
|
-
|
48
|
-
**Example 3: 2**
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
Input:
|
53
|
-
|
54
|
-
```
|
55
|
-
tccli oceanus CreateFolder --cli-unfold-argument \
|
56
|
-
--FolderName test2 \
|
57
|
-
--WorkSpaceId space-1257058945ap-guangzho \
|
9
|
+
--FolderName test \
|
10
|
+
--WorkSpaceId space-1257058945ap-guangzhou \
|
58
11
|
--FolderType 0 \
|
59
12
|
--ParentId root
|
60
13
|
```
|
@@ -30,7 +30,7 @@ Output:
|
|
30
30
|
"CreateTime": "2021-12-10 02:39:54",
|
31
31
|
"UpdateTime": "2021-12-10 02:39:54",
|
32
32
|
"Status": 2,
|
33
|
-
"Description": "
|
33
|
+
"Description": "子账号在默认空间具有开发者权限,可以在成员管理模块进行限制",
|
34
34
|
"ClusterGroupSetItem": [
|
35
35
|
{
|
36
36
|
"ClusterId": "cluster-jphs0vtz",
|
@@ -49,7 +49,9 @@ Output:
|
|
49
49
|
"Remark": "k1",
|
50
50
|
"NetEnvironmentType": 1,
|
51
51
|
"FreeCuNum": 24,
|
52
|
-
"FreeCu": 23.5
|
52
|
+
"FreeCu": 23.5,
|
53
|
+
"RunningCu": 0,
|
54
|
+
"PayMode": 0
|
53
55
|
}
|
54
56
|
],
|
55
57
|
"RoleAuth": [
|
@@ -64,7 +66,8 @@ Output:
|
|
64
66
|
"Permission": 0,
|
65
67
|
"CreateTime": "2021-12-10 02:40:46",
|
66
68
|
"UpdateTime": "2021-12-10 02:40:46",
|
67
|
-
"Status": 2
|
69
|
+
"Status": 2,
|
70
|
+
"RoleName": "name"
|
68
71
|
}
|
69
72
|
],
|
70
73
|
"RoleAuthCount": 2,
|
@@ -0,0 +1,29 @@
|
|
1
|
+
**Example 1: 查询元数据表信息**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli oceanus GetMetaTable --cli-unfold-argument \
|
9
|
+
--Catalog _dc \
|
10
|
+
--Database _db \
|
11
|
+
--Table my_table1 \
|
12
|
+
--WorkSpaceId space-xxx
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"SerialId": "mtable-7v16heof",
|
20
|
+
"Catalog": "_dc",
|
21
|
+
"Database": "_db",
|
22
|
+
"Table": "my_table1",
|
23
|
+
"DDL": "Q1JFQVRFIFRBQkxFIGRhdGFnZW5fc291cmNlX3RhYmxlICggCiAgICBpZCBJTlQsIAogICAgbmFtZSBTVFJJTkcgCikgV0lUSCAoCidjb25uZWN0b3InPSdkYXRhZ2VuJywKJ3Jvd3MtcGVyLXNlY29uZCcgPSAnMScKKTs=",
|
24
|
+
"CreateTime": "2023-11-08 14:45:07",
|
25
|
+
"RequestId": "6d1f41df-7c10-4ddd-a6e0-e05bccd996fa"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
```
|
29
|
+
|
@@ -1,20 +1,66 @@
|
|
1
|
-
**Example 1:
|
1
|
+
**Example 1: 重试任务批次**
|
2
2
|
|
3
|
-
|
3
|
+
重试任务批次。
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli omics RetryRuns --cli-unfold-argument \
|
9
9
|
--ProjectId prj-aggressive-lime-porcupine-752427 \
|
10
|
-
--
|
10
|
+
--RunGroupId run-ashamed-bleak-doggy-247963
|
11
11
|
```
|
12
12
|
|
13
13
|
Output:
|
14
14
|
```
|
15
15
|
{
|
16
16
|
"Response": {
|
17
|
-
"RequestId": "46520c37-4d28-49e1-a738-01f64ae1b06b"
|
17
|
+
"RequestId": "46520c37-4d28-49e1-a738-01f64ae1b06b",
|
18
|
+
"RunGroupId": "run-greedy-ecru-bonobo-459181"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
23
|
+
**Example 2: 重试任务批次内指定任务**
|
24
|
+
|
25
|
+
重试任务批次内指定任务。
|
26
|
+
|
27
|
+
Input:
|
28
|
+
|
29
|
+
```
|
30
|
+
tccli omics RetryRuns --cli-unfold-argument \
|
31
|
+
--ProjectId prj-aggressive-lime-porcupine-752427 \
|
32
|
+
--RunGroupId run-ashamed-bleak-doggy-247963 \
|
33
|
+
--RunUuids 7b501b32-4e42-456a-9d54-aa3c9791beb0 38b860fa-65d3-4adc-8000-4c0c31d2ff51
|
34
|
+
```
|
35
|
+
|
36
|
+
Output:
|
37
|
+
```
|
38
|
+
{
|
39
|
+
"Response": {
|
40
|
+
"RequestId": "e5dc747d-7ad2-44de-afe5-569c9a342db8",
|
41
|
+
"RunGroupId": "run-pretty-yellow-mastiff-141933"
|
42
|
+
}
|
43
|
+
}
|
44
|
+
```
|
45
|
+
|
46
|
+
**Example 3: 重试单个任务**
|
47
|
+
|
48
|
+
重试单个任务。
|
49
|
+
|
50
|
+
Input:
|
51
|
+
|
52
|
+
```
|
53
|
+
tccli omics RetryRuns --cli-unfold-argument \
|
54
|
+
--ProjectId prj-aggressive-lime-porcupine-752427 \
|
55
|
+
--RunUuids 7b501b32-4e42-456a-9d54-aa3c9791beb0
|
56
|
+
```
|
57
|
+
|
58
|
+
Output:
|
59
|
+
```
|
60
|
+
{
|
61
|
+
"Response": {
|
62
|
+
"RequestId": "e2fe59bb-21e3-45de-9289-9d22a5b1bdff",
|
63
|
+
"RunGroupId": "run-lonely-orange-dodo-410909"
|
18
64
|
}
|
19
65
|
}
|
20
66
|
```
|
@@ -9,7 +9,8 @@ tccli trp DescribeProducts --cli-unfold-argument \
|
|
9
9
|
--Name \
|
10
10
|
--MerchantId \
|
11
11
|
--PageSize 10 \
|
12
|
-
--PageNumber 1
|
12
|
+
--PageNumber 1 \
|
13
|
+
--CertState -1
|
13
14
|
```
|
14
15
|
|
15
16
|
Output:
|
@@ -31,7 +32,8 @@ Output:
|
|
31
32
|
"CreateTime": "2021-11-30T09:00:33.000Z",
|
32
33
|
"UpdateTime": "2021-11-30T09:16:23.000Z",
|
33
34
|
"Ext": {},
|
34
|
-
"MerchantName": "demo"
|
35
|
+
"MerchantName": "demo",
|
36
|
+
"CertState": -1
|
35
37
|
},
|
36
38
|
{
|
37
39
|
"ProductId": "4girpwhw677zdo9c6t",
|
@@ -45,7 +47,8 @@ Output:
|
|
45
47
|
"CreateTime": "2021-11-30T08:50:48.000Z",
|
46
48
|
"UpdateTime": "2021-11-30T08:51:11.000Z",
|
47
49
|
"Ext": {},
|
48
|
-
"MerchantName": ""
|
50
|
+
"MerchantName": "",
|
51
|
+
"CertState": -1
|
49
52
|
}
|
50
53
|
],
|
51
54
|
"TotalCount": 2,
|
@@ -0,0 +1,26 @@
|
|
1
|
+
**Example 1: 创建公网网络配置**
|
2
|
+
|
3
|
+
创建公网网络配置
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tse CreateCloudNativeAPIGatewayPublicNetwork --cli-unfold-argument \
|
9
|
+
--GatewayId abc \
|
10
|
+
--GroupId abc \
|
11
|
+
--InternetConfig.InternetAddressVersion abc \
|
12
|
+
--InternetConfig.InternetPayMode abc \
|
13
|
+
--InternetConfig.InternetMaxBandwidthOut 1 \
|
14
|
+
--InternetConfig.Description abc \
|
15
|
+
--InternetConfig.SlaType abc
|
16
|
+
```
|
17
|
+
|
18
|
+
Output:
|
19
|
+
```
|
20
|
+
{
|
21
|
+
"Response": {
|
22
|
+
"RequestId": "abc"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
**Example 1: 删除网关实例公网网络**
|
2
|
+
|
3
|
+
删除网关实例客户端公网网络
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tse DeleteCloudNativeAPIGatewayPublicNetwork --cli-unfold-argument \
|
9
|
+
--GatewayId abc \
|
10
|
+
--GroupId abc \
|
11
|
+
--InternetAddressVersion abc \
|
12
|
+
--Vip abc
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"RequestId": "abc"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 修改云原生API网关实例Konga网络配置**
|
2
|
+
|
3
|
+
修改云原生API网关实例Konga网络配置
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tse ModifyConsoleNetwork --cli-unfold-argument \
|
9
|
+
--GatewayId gateway-xxxxxxxx \
|
10
|
+
--NetworkType Open \
|
11
|
+
--Operate Open
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "abc"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
**Example 1: 修改云原生API网关实例Kong访问策略**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tse ModifyNetworkAccessStrategy --cli-unfold-argument \
|
9
|
+
--GatewayId gateway-xxxxx \
|
10
|
+
--GroupId group-xxxxxx \
|
11
|
+
--NetworkType abc \
|
12
|
+
--Vip abc \
|
13
|
+
--AccessControl.Mode abc \
|
14
|
+
--AccessControl.CidrWhiteList abc \
|
15
|
+
--AccessControl.CidrBlackList abc
|
16
|
+
```
|
17
|
+
|
18
|
+
Output:
|
19
|
+
```
|
20
|
+
{
|
21
|
+
"Response": {
|
22
|
+
"RequestId": "abc"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 修改网关实例网络基本信息**
|
2
|
+
|
3
|
+
修改Kong客户端内网网络信息
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tse ModifyNetworkBasicInfo --cli-unfold-argument \
|
9
|
+
--GatewayId gatway-xxxxxx \
|
10
|
+
--GroupId group-xxxxxx \
|
11
|
+
--NetworkType Open \
|
12
|
+
--Vip 172.10.10.1 \
|
13
|
+
--InternetMaxBandwidthOut 1 \
|
14
|
+
--Description test
|
15
|
+
```
|
16
|
+
|
17
|
+
Output:
|
18
|
+
```
|
19
|
+
{
|
20
|
+
"Response": {
|
21
|
+
"RequestId": "abc"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,103 @@
|
|
1
|
+
**Example 1: 1**
|
2
|
+
|
3
|
+
1
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli wedata DescribeFieldBasicInfo --cli-unfold-argument \
|
9
|
+
--PageNumber 0 \
|
10
|
+
--PageSize 0 \
|
11
|
+
--Filters.0.Name abc \
|
12
|
+
--Filters.0.Values abc \
|
13
|
+
--OrderFields.0.Name abc \
|
14
|
+
--OrderFields.0.Direction abc
|
15
|
+
```
|
16
|
+
|
17
|
+
Output:
|
18
|
+
```
|
19
|
+
{
|
20
|
+
"Response": {
|
21
|
+
"ColumnBasicInfoList": [
|
22
|
+
{
|
23
|
+
"TableId": "abc",
|
24
|
+
"DatasourceId": "abc",
|
25
|
+
"DatasourceName": "abc",
|
26
|
+
"DatabaseId": "abc",
|
27
|
+
"DatabaseName": "abc",
|
28
|
+
"TableName": "abc",
|
29
|
+
"ColumnName": "abc",
|
30
|
+
"DataType": "abc",
|
31
|
+
"ColumnType": "abc",
|
32
|
+
"ColumnDefault": "abc",
|
33
|
+
"ColumnKey": "abc",
|
34
|
+
"ColumnPosition": 0,
|
35
|
+
"ColumnComment": "abc",
|
36
|
+
"StoreType": "abc",
|
37
|
+
"ProjectId": "abc",
|
38
|
+
"ProjectName": "abc",
|
39
|
+
"ProjectDisplayName": "abc",
|
40
|
+
"CreateTime": "abc",
|
41
|
+
"UpdateTime": "abc"
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"TotalCount": 0,
|
45
|
+
"RequestId": "abc"
|
46
|
+
}
|
47
|
+
}
|
48
|
+
```
|
49
|
+
|
50
|
+
**Example 2: 错误1**
|
51
|
+
|
52
|
+
错误1
|
53
|
+
|
54
|
+
Input:
|
55
|
+
|
56
|
+
```
|
57
|
+
tccli wedata DescribeFieldBasicInfo --cli-unfold-argument \
|
58
|
+
--PageNumber 1 \
|
59
|
+
--PageSize 1 \
|
60
|
+
--Filters.0.Name 1 \
|
61
|
+
--Filters.0.Values 1
|
62
|
+
```
|
63
|
+
|
64
|
+
Output:
|
65
|
+
```
|
66
|
+
{
|
67
|
+
"Response": {
|
68
|
+
"Error": {
|
69
|
+
"Code": "InternalError",
|
70
|
+
"Message": "内部服务错误,请稍后重试。"
|
71
|
+
},
|
72
|
+
"RequestId": "76e7bf2b-c516-4a4c-97ba-f0b788097c1f"
|
73
|
+
}
|
74
|
+
}
|
75
|
+
```
|
76
|
+
|
77
|
+
**Example 3: 错误2**
|
78
|
+
|
79
|
+
错误2
|
80
|
+
|
81
|
+
Input:
|
82
|
+
|
83
|
+
```
|
84
|
+
tccli wedata DescribeFieldBasicInfo --cli-unfold-argument \
|
85
|
+
--PageNumber 1 \
|
86
|
+
--PageSize 1 \
|
87
|
+
--Filters.0.Name 1 \
|
88
|
+
--Filters.0.Values 1
|
89
|
+
```
|
90
|
+
|
91
|
+
Output:
|
92
|
+
```
|
93
|
+
{
|
94
|
+
"Response": {
|
95
|
+
"Error": {
|
96
|
+
"Code": "InternalError",
|
97
|
+
"Message": "内部服务错误,请稍后重试。"
|
98
|
+
},
|
99
|
+
"RequestId": "235a9ac1-1037-4f8a-befe-9765a29480cd"
|
100
|
+
}
|
101
|
+
}
|
102
|
+
```
|
103
|
+
|