tccli 3.0.922.1__py2.py3-none-any.whl → 3.0.924.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/apigateway/v20180808/DescribeServicesStatus.md +33 -19
- tccli/examples/cdb/v20170320/CreateDBInstance.md +2 -2
- tccli/examples/ckafka/v20190819/CreateAcl.md +4 -1
- tccli/examples/clb/v20180317/CloneLoadBalancer.md +3 -3
- tccli/examples/clb/v20180317/DescribeListeners.md +49 -127
- tccli/examples/clb/v20180317/DescribeLoadBalancers.md +578 -158
- tccli/examples/cls/v20201016/CreateScheduledSql.md +13 -11
- tccli/examples/cls/v20201016/DeleteScheduledSql.md +2 -2
- tccli/examples/cls/v20201016/DescribeConfigs.md +2 -1
- tccli/examples/cls/v20201016/DescribeKafkaConsumer.md +23 -0
- tccli/examples/cls/v20201016/DescribeScheduledSqlInfo.md +22 -19
- tccli/examples/cls/v20201016/ModifyKafkaConsumer.md +21 -0
- tccli/examples/cls/v20201016/ModifyScheduledSql.md +11 -9
- tccli/examples/cynosdb/v20190107/DescribeAccounts.md +10 -10
- tccli/examples/cynosdb/v20190107/DescribeClusterDetail.md +77 -65
- tccli/examples/ess/v20201111/CancelUserAutoSignEnableUrl.md +1 -1
- tccli/examples/ess/v20201111/CreateBatchCancelFlowUrl.md +5 -4
- tccli/examples/ess/v20201111/CreateUserAutoSignEnableUrl.md +2 -2
- tccli/examples/ess/v20201111/DescribeFlowBriefs.md +6 -2
- tccli/examples/ess/v20201111/DescribeFlowEvidenceReport.md +1 -1
- tccli/examples/ess/v20201111/DescribeFlowInfo.md +24 -38
- tccli/examples/ess/v20201111/DescribeUserAutoSignStatus.md +1 -1
- tccli/examples/ess/v20201111/GetTaskResultApi.md +2 -2
- tccli/examples/essbasic/v20210526/ChannelBatchCancelFlows.md +5 -5
- tccli/examples/essbasic/v20210526/ChannelCreateBatchCancelFlowUrl.md +10 -8
- tccli/examples/essbasic/v20210526/ChannelCreateFlowSignUrl.md +9 -8
- tccli/examples/essbasic/v20210526/ChannelCreateWebThemeConfig.md +7 -6
- tccli/examples/essbasic/v20210526/DescribeFlowDetailInfo.md +19 -30
- tccli/examples/essbasic/v20210526/DescribeTemplates.md +13 -4
- tccli/examples/essbasic/v20210526/OperateChannelTemplate.md +2 -2
- tccli/examples/lcic/v20220817/DescribeRoom.md +2 -0
- tccli/examples/mna/v20210119/GetDevices.md +9 -16
- tccli/examples/mna/v20210119/UpdateDevice.md +7 -10
- tccli/examples/ms/v20180408/CreateEncryptInstance.md +30 -30
- tccli/examples/ms/v20180408/CreateOrderInstance.md +2 -2
- tccli/examples/ms/v20180408/DescribeEncryptInstances.md +73 -65
- tccli/examples/ms/v20180408/DescribeEncryptPlan.md +34 -34
- tccli/examples/ms/v20180408/DescribeOrderInstances.md +1 -1
- tccli/examples/oceanus/v20190422/CreateJobConfig.md +1 -1
- tccli/examples/tdmq/v20200217/CreateRocketMQVipInstance.md +28 -0
- tccli/examples/tione/v20211111/CreateNotebook.md +62 -0
- tccli/examples/tione/v20211111/CreateNotebookImage.md +18 -0
- tccli/examples/tione/v20211111/DeleteNotebook.md +20 -0
- tccli/examples/tione/v20211111/DeleteNotebookImageRecord.md +18 -0
- tccli/examples/tione/v20211111/DescribeNotebook.md +70 -0
- tccli/examples/tione/v20211111/DescribeNotebookImageKernels.md +23 -0
- tccli/examples/tione/v20211111/DescribeNotebookImageRecords.md +28 -0
- tccli/examples/tione/v20211111/DescribeNotebooks.md +77 -0
- tccli/examples/tione/v20211111/ModifyNotebook.md +64 -0
- tccli/examples/tione/v20211111/ModifyNotebookTags.md +22 -0
- tccli/examples/tione/v20211111/StartNotebook.md +20 -0
- tccli/examples/tione/v20211111/StopCreatingImage.md +18 -0
- tccli/examples/tione/v20211111/StopNotebook.md +20 -0
- tccli/examples/vpc/v20170312/CreateVpnGateway.md +20 -26
- tccli/examples/waf/v20180125/GetAttackHistogram.md +142 -0
- tccli/services/apigateway/v20180808/api.json +119 -12
- tccli/services/apigateway/v20180808/examples.json +4 -4
- tccli/services/asr/v20190614/api.json +1 -1
- tccli/services/cdb/v20170320/api.json +101 -90
- tccli/services/cdb/v20170320/examples.json +2 -2
- tccli/services/cdn/v20180606/api.json +59 -6
- tccli/services/ckafka/v20190819/api.json +10 -10
- tccli/services/ckafka/v20190819/examples.json +1 -1
- tccli/services/clb/v20180317/api.json +221 -68
- tccli/services/clb/v20180317/examples.json +10 -10
- tccli/services/cls/cls_client.py +110 -4
- tccli/services/cls/v20201016/api.json +330 -115
- tccli/services/cls/v20201016/examples.json +23 -7
- tccli/services/cynosdb/v20190107/api.json +82 -31
- tccli/services/cynosdb/v20190107/examples.json +3 -3
- tccli/services/dlc/v20210125/api.json +11 -11
- tccli/services/emr/v20190103/api.json +10 -0
- tccli/services/ess/v20201111/api.json +519 -142
- tccli/services/ess/v20201111/examples.json +9 -9
- tccli/services/essbasic/v20210526/api.json +195 -126
- tccli/services/essbasic/v20210526/examples.json +13 -13
- tccli/services/faceid/v20180301/api.json +21 -16
- tccli/services/lcic/v20220817/api.json +10 -0
- tccli/services/lcic/v20220817/examples.json +2 -2
- tccli/services/live/v20180801/api.json +42 -22
- tccli/services/mna/v20210119/api.json +11 -12
- tccli/services/mna/v20210119/examples.json +4 -4
- tccli/services/mps/v20190612/api.json +142 -61
- tccli/services/ms/v20180408/api.json +92 -19
- tccli/services/ms/v20180408/examples.json +31 -31
- tccli/services/nlp/v20190408/api.json +2 -1
- tccli/services/oceanus/v20190422/api.json +355 -41
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/ocr/ocr_client.py +4 -110
- tccli/services/ocr/v20181119/api.json +0 -315
- tccli/services/ocr/v20181119/examples.json +0 -16
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +126 -0
- tccli/services/tdmq/v20200217/examples.json +8 -0
- tccli/services/teo/v20220901/api.json +18 -18
- tccli/services/tione/tione_client.py +987 -298
- tccli/services/tione/v20211111/api.json +1784 -20
- tccli/services/tione/v20211111/examples.json +104 -0
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +45 -65
- tccli/services/vpc/v20170312/examples.json +3 -3
- tccli/services/waf/v20180125/api.json +111 -0
- tccli/services/waf/v20180125/examples.json +8 -0
- tccli/services/waf/waf_client.py +57 -4
- {tccli-3.0.922.1.dist-info → tccli-3.0.924.1.dist-info}/METADATA +2 -2
- {tccli-3.0.922.1.dist-info → tccli-3.0.924.1.dist-info}/RECORD +110 -93
- {tccli-3.0.922.1.dist-info → tccli-3.0.924.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.922.1.dist-info → tccli-3.0.924.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.922.1.dist-info → tccli-3.0.924.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,14 +1,14 @@
|
|
1
|
-
**Example 1:
|
1
|
+
**Example 1: 小程序在线加固**
|
2
2
|
|
3
|
-
|
3
|
+
载入上次配置
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli ms DescribeEncryptPlan --cli-unfold-argument \
|
9
|
-
--PlatformType
|
9
|
+
--PlatformType 4 \
|
10
10
|
--OrderType 1 \
|
11
|
-
--EncryptOpType
|
11
|
+
--EncryptOpType 1 \
|
12
12
|
--ResourceId XXXXXXXXXXXXXXXX
|
13
13
|
```
|
14
14
|
|
@@ -16,30 +16,28 @@ Output:
|
|
16
16
|
```
|
17
17
|
{
|
18
18
|
"Response": {
|
19
|
+
"AndroidPlan": null,
|
20
|
+
"AppletPlan": {
|
21
|
+
"AppletLevel": 1,
|
22
|
+
"PlanId": 11988
|
23
|
+
},
|
19
24
|
"ResourceId": "XXXXXXXXXXXXXXXX",
|
20
25
|
"OrderType": 1,
|
21
26
|
"OrderTypeDesc": "免费试用",
|
22
|
-
"
|
23
|
-
|
24
|
-
"AppType": "apk",
|
25
|
-
"EncryptParam": "{\"dex\":{\"enable\":1,\"antiprotect\":1,\"antirepack\":1,\"dexsig\":1,\"antimonitor\":1,\"ptrace\":1}}",
|
26
|
-
"PlanId": 11981
|
27
|
-
},
|
28
|
-
"AppletPlan": null,
|
29
|
-
"EncryptOpType": 2,
|
30
|
-
"EncryptOpTypeDesc": "输出工具",
|
27
|
+
"EncryptOpType": 1,
|
28
|
+
"EncryptOpTypeDesc": "在线加固",
|
31
29
|
"IOSPlan": null,
|
32
|
-
"PlatformType":
|
33
|
-
"PlatformTypeDesc": "
|
34
|
-
"RequestId": "
|
30
|
+
"PlatformType": 4,
|
31
|
+
"PlatformTypeDesc": "applet小程序加固",
|
32
|
+
"RequestId": "4fd83459-e0fc-4c1f-ab00-8f2c99f51bd4",
|
35
33
|
"SDKPlan": null
|
36
34
|
}
|
37
35
|
}
|
38
36
|
```
|
39
37
|
|
40
|
-
**Example 2:
|
38
|
+
**Example 2: 小程序在线加固载入上次配置实例**
|
41
39
|
|
42
|
-
|
40
|
+
小程序在线加固载入上次配置实例
|
43
41
|
|
44
42
|
Input:
|
45
43
|
|
@@ -58,7 +56,7 @@ Output:
|
|
58
56
|
"AndroidPlan": null,
|
59
57
|
"AppletPlan": {
|
60
58
|
"AppletLevel": 1,
|
61
|
-
"PlanId":
|
59
|
+
"PlanId": 12012
|
62
60
|
},
|
63
61
|
"ResourceId": "XXXXXXXXXXXXXXXX",
|
64
62
|
"OrderType": 1,
|
@@ -68,23 +66,23 @@ Output:
|
|
68
66
|
"IOSPlan": null,
|
69
67
|
"PlatformType": 4,
|
70
68
|
"PlatformTypeDesc": "applet小程序加固",
|
71
|
-
"RequestId": "
|
69
|
+
"RequestId": "323b8dda-4623-4b7b-bb54-8d0a90e90cb1",
|
72
70
|
"SDKPlan": null
|
73
71
|
}
|
74
72
|
}
|
75
73
|
```
|
76
74
|
|
77
|
-
**Example 3:
|
75
|
+
**Example 3: Android输出工具配置查询**
|
78
76
|
|
79
|
-
|
77
|
+
Android输出工具配置查询
|
80
78
|
|
81
79
|
Input:
|
82
80
|
|
83
81
|
```
|
84
82
|
tccli ms DescribeEncryptPlan --cli-unfold-argument \
|
85
|
-
--PlatformType
|
83
|
+
--PlatformType 1 \
|
86
84
|
--OrderType 1 \
|
87
|
-
--EncryptOpType
|
85
|
+
--EncryptOpType 2 \
|
88
86
|
--ResourceId XXXXXXXXXXXXXXXX
|
89
87
|
```
|
90
88
|
|
@@ -92,20 +90,22 @@ Output:
|
|
92
90
|
```
|
93
91
|
{
|
94
92
|
"Response": {
|
95
|
-
"AndroidPlan": null,
|
96
|
-
"AppletPlan": {
|
97
|
-
"AppletLevel": 1,
|
98
|
-
"PlanId": 12012
|
99
|
-
},
|
100
93
|
"ResourceId": "XXXXXXXXXXXXXXXX",
|
101
94
|
"OrderType": 1,
|
102
95
|
"OrderTypeDesc": "免费试用",
|
103
|
-
"
|
104
|
-
|
96
|
+
"AndroidPlan": {
|
97
|
+
"AppPkgName": "",
|
98
|
+
"AppType": "apk",
|
99
|
+
"EncryptParam": "{\"dex\":{\"enable\":1,\"antiprotect\":1,\"antirepack\":1,\"dexsig\":1,\"antimonitor\":1,\"ptrace\":1}}",
|
100
|
+
"PlanId": 11981
|
101
|
+
},
|
102
|
+
"AppletPlan": null,
|
103
|
+
"EncryptOpType": 2,
|
104
|
+
"EncryptOpTypeDesc": "输出工具",
|
105
105
|
"IOSPlan": null,
|
106
|
-
"PlatformType":
|
107
|
-
"PlatformTypeDesc": "
|
108
|
-
"RequestId": "
|
106
|
+
"PlatformType": 1,
|
107
|
+
"PlatformTypeDesc": "android加固",
|
108
|
+
"RequestId": "a0d996fe-fa97-404a-87b0-b9690f92de26",
|
109
109
|
"SDKPlan": null
|
110
110
|
}
|
111
111
|
}
|
@@ -26,7 +26,7 @@ Output:
|
|
26
26
|
"OrderType": 3,
|
27
27
|
"OrderTypeDesc": "按次收费",
|
28
28
|
"PlatformType": 1,
|
29
|
-
"PlatformTypeDesc": "android
|
29
|
+
"PlatformTypeDesc": "android加固",
|
30
30
|
"ResourceId": "20230602_03702020-0a90-4f46-8f20-XXXXXXXXX_0",
|
31
31
|
"ResourceStatus": 1,
|
32
32
|
"ResourceStatusDesc": "生效中",
|
@@ -0,0 +1,28 @@
|
|
1
|
+
**Example 1: 购买RocketMQ专享实例**
|
2
|
+
|
3
|
+
购买RocketMQ专享实例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tdmq CreateRocketMQVipInstance --cli-unfold-argument \
|
9
|
+
--Name abc \
|
10
|
+
--Spec rocket-vip-basic-1 \
|
11
|
+
--NodeCount 1 \
|
12
|
+
--StorageSize 0 \
|
13
|
+
--ZoneIds 100001 \
|
14
|
+
--VpcInfo.VpcId abc \
|
15
|
+
--VpcInfo.SubnetId abc \
|
16
|
+
--TimeSpan 1
|
17
|
+
```
|
18
|
+
|
19
|
+
Output:
|
20
|
+
```
|
21
|
+
{
|
22
|
+
"Response": {
|
23
|
+
"ClusterId": "rocketmq-xxxx",
|
24
|
+
"RequestId": "abc"
|
25
|
+
}
|
26
|
+
}
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,62 @@
|
|
1
|
+
**Example 1: 创建Notebook**
|
2
|
+
|
3
|
+
创建Notebook
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tione CreateNotebook --cli-unfold-argument \
|
9
|
+
--Name abc \
|
10
|
+
--ChargeType abc \
|
11
|
+
--ResourceConf.Cpu 1 \
|
12
|
+
--ResourceConf.Memory 1 \
|
13
|
+
--ResourceConf.Gpu 1 \
|
14
|
+
--ResourceConf.GpuType abc \
|
15
|
+
--ResourceConf.InstanceType abc \
|
16
|
+
--ResourceGroupId abc \
|
17
|
+
--VpcId abc \
|
18
|
+
--SubnetId abc \
|
19
|
+
--VolumeSourceType abc \
|
20
|
+
--VolumeSizeInGB 1 \
|
21
|
+
--VolumeSourceCFS.Id abc \
|
22
|
+
--VolumeSourceCFS.Path abc \
|
23
|
+
--LogEnable True \
|
24
|
+
--LogConfig.LogsetId abc \
|
25
|
+
--LogConfig.TopicId abc \
|
26
|
+
--RootAccess True \
|
27
|
+
--LifecycleScriptId abc \
|
28
|
+
--DefaultCodeRepoId abc \
|
29
|
+
--AdditionalCodeRepoIds abc \
|
30
|
+
--AutoStopping True \
|
31
|
+
--AutomaticStopTime 1 \
|
32
|
+
--Tags.0.TagKey abc \
|
33
|
+
--Tags.0.TagValue abc \
|
34
|
+
--DirectInternetAccess True \
|
35
|
+
--DataConfigs.0.MappingPath abc \
|
36
|
+
--DataConfigs.0.DataSourceType abc \
|
37
|
+
--DataConfigs.0.DataSetSource.Id abc \
|
38
|
+
--DataConfigs.0.COSSource.Bucket abc \
|
39
|
+
--DataConfigs.0.COSSource.Region abc \
|
40
|
+
--DataConfigs.0.COSSource.Paths abc \
|
41
|
+
--DataConfigs.0.CFSSource.Id abc \
|
42
|
+
--DataConfigs.0.CFSSource.Path abc \
|
43
|
+
--DataConfigs.0.HDFSSource.Id abc \
|
44
|
+
--DataConfigs.0.HDFSSource.Path abc \
|
45
|
+
--DataConfigs.0.GooseFSSource.Id abc \
|
46
|
+
--ImageInfo.ImageType abc \
|
47
|
+
--ImageInfo.ImageUrl abc \
|
48
|
+
--ImageInfo.RegistryRegion abc \
|
49
|
+
--ImageInfo.RegistryId abc \
|
50
|
+
--ImageType abc
|
51
|
+
```
|
52
|
+
|
53
|
+
Output:
|
54
|
+
```
|
55
|
+
{
|
56
|
+
"Response": {
|
57
|
+
"Id": "abc",
|
58
|
+
"RequestId": "abc"
|
59
|
+
}
|
60
|
+
}
|
61
|
+
```
|
62
|
+
|
@@ -0,0 +1,70 @@
|
|
1
|
+
**Example 1: Notebook详情**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tione DescribeNotebook --cli-unfold-argument \
|
9
|
+
--Id xx
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"RequestId": "xx",
|
17
|
+
"NotebookDetail": {
|
18
|
+
"ChargeType": "xx",
|
19
|
+
"AutomaticStopTime": 0,
|
20
|
+
"EndTime": "xx",
|
21
|
+
"ChargeStatus": "xx",
|
22
|
+
"Status": "xx",
|
23
|
+
"UpdateTime": "xx",
|
24
|
+
"VpcId": "xx",
|
25
|
+
"Tags": [
|
26
|
+
{
|
27
|
+
"TagKey": "xx",
|
28
|
+
"TagValue": "xx"
|
29
|
+
}
|
30
|
+
],
|
31
|
+
"Id": "xx",
|
32
|
+
"ResourceGroupId": "xx",
|
33
|
+
"SubnetId": "xx",
|
34
|
+
"LifecycleScriptId": "xx",
|
35
|
+
"RootAccess": true,
|
36
|
+
"Name": "xx",
|
37
|
+
"DefaultCodeRepoId": "xx",
|
38
|
+
"ResourceConf": {
|
39
|
+
"Gpu": 1,
|
40
|
+
"Cpu": 1,
|
41
|
+
"GpuType": "xx",
|
42
|
+
"InstanceType": "xx",
|
43
|
+
"Memory": 1
|
44
|
+
},
|
45
|
+
"AutoStopping": true,
|
46
|
+
"ResourceGroupName": "xx",
|
47
|
+
"LogEnable": true,
|
48
|
+
"BillingInfos": [
|
49
|
+
"xx"
|
50
|
+
],
|
51
|
+
"InstanceTypeAlias": "xx",
|
52
|
+
"AdditionalCodeRepoIds": [
|
53
|
+
"xx"
|
54
|
+
],
|
55
|
+
"DirectInternetAccess": true,
|
56
|
+
"CreateTime": "xx",
|
57
|
+
"RuntimeInSeconds": 1,
|
58
|
+
"VolumeSizeInGB": 1,
|
59
|
+
"StartTime": "xx",
|
60
|
+
"PodName": "xx",
|
61
|
+
"FailureReason": "xx",
|
62
|
+
"LogConfig": {
|
63
|
+
"TopicId": "xx",
|
64
|
+
"LogsetId": "xx"
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
```
|
70
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
**Example 1: 查询镜像kernel示例**
|
2
|
+
|
3
|
+
查询镜像kernel示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tione DescribeNotebookImageKernels --cli-unfold-argument \
|
9
|
+
--NotebookId nb-6763738683264283
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"Kernels": [
|
17
|
+
"pytorch_py3"
|
18
|
+
],
|
19
|
+
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
**Example 1: 查看notebook镜像保存记录示例**
|
2
|
+
|
3
|
+
查看notebook镜像保存记录示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tione DescribeNotebookImageRecords --cli-unfold-argument ```
|
9
|
+
|
10
|
+
Output:
|
11
|
+
```
|
12
|
+
{
|
13
|
+
"Response": {
|
14
|
+
"TotalCount": 10,
|
15
|
+
"NotebookImageRecords": [
|
16
|
+
{
|
17
|
+
"RecordId": "1",
|
18
|
+
"ImageUrl": "ti.com/repo/test:1",
|
19
|
+
"Status": "sucess",
|
20
|
+
"CreateTime": "2022-01-01 00:00:00",
|
21
|
+
"Message": "保存成功"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"RequestId": "xx"
|
25
|
+
}
|
26
|
+
}
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,77 @@
|
|
1
|
+
**Example 1: Notebook列表**
|
2
|
+
|
3
|
+
Notebook列表
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tione DescribeNotebooks --cli-unfold-argument \
|
9
|
+
--OrderField string \
|
10
|
+
--TagFilters.0.TagValues string \
|
11
|
+
--TagFilters.0.TagKey string \
|
12
|
+
--Limit 0 \
|
13
|
+
--Filters.0.Fuzzy True \
|
14
|
+
--Filters.0.Values string \
|
15
|
+
--Filters.0.Name string \
|
16
|
+
--Filters.0.Negative True \
|
17
|
+
--Offset 0 \
|
18
|
+
--Order string
|
19
|
+
```
|
20
|
+
|
21
|
+
Output:
|
22
|
+
```
|
23
|
+
{
|
24
|
+
"Response": {
|
25
|
+
"NotebookSet": [
|
26
|
+
{
|
27
|
+
"Id": "abc",
|
28
|
+
"Name": "abc",
|
29
|
+
"ChargeType": "abc",
|
30
|
+
"ResourceConf": {
|
31
|
+
"Cpu": 1,
|
32
|
+
"Memory": 1,
|
33
|
+
"Gpu": 1,
|
34
|
+
"GpuType": "abc",
|
35
|
+
"InstanceType": "abc"
|
36
|
+
},
|
37
|
+
"ResourceGroupId": "abc",
|
38
|
+
"VolumeSizeInGB": 1,
|
39
|
+
"BillingInfos": [
|
40
|
+
"abc"
|
41
|
+
],
|
42
|
+
"Tags": [
|
43
|
+
{
|
44
|
+
"TagKey": "abc",
|
45
|
+
"TagValue": "abc"
|
46
|
+
}
|
47
|
+
],
|
48
|
+
"CreateTime": "abc",
|
49
|
+
"StartTime": "abc",
|
50
|
+
"UpdateTime": "abc",
|
51
|
+
"RuntimeInSeconds": 1,
|
52
|
+
"ChargeStatus": "abc",
|
53
|
+
"Status": "abc",
|
54
|
+
"FailureReason": "abc",
|
55
|
+
"EndTime": "abc",
|
56
|
+
"PodName": "abc",
|
57
|
+
"InstanceTypeAlias": "abc",
|
58
|
+
"ResourceGroupName": "abc",
|
59
|
+
"AutoStopping": true,
|
60
|
+
"AutomaticStopTime": 1,
|
61
|
+
"VolumeSourceType": "abc",
|
62
|
+
"VolumeSourceCFS": {
|
63
|
+
"Id": "abc",
|
64
|
+
"Path": "abc"
|
65
|
+
},
|
66
|
+
"Message": "abc",
|
67
|
+
"UserTypes": [
|
68
|
+
"abc"
|
69
|
+
]
|
70
|
+
}
|
71
|
+
],
|
72
|
+
"TotalCount": 1,
|
73
|
+
"RequestId": "abc"
|
74
|
+
}
|
75
|
+
}
|
76
|
+
```
|
77
|
+
|
@@ -0,0 +1,64 @@
|
|
1
|
+
**Example 1: 修改Notebook**
|
2
|
+
|
3
|
+
修改Notebook
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tione ModifyNotebook --cli-unfold-argument \
|
9
|
+
--Id abc \
|
10
|
+
--Name abc \
|
11
|
+
--ChargeType abc \
|
12
|
+
--ResourceGroupId abc \
|
13
|
+
--ResourceConf.Cpu 1 \
|
14
|
+
--ResourceConf.Memory 1 \
|
15
|
+
--ResourceConf.Gpu 1 \
|
16
|
+
--ResourceConf.GpuType abc \
|
17
|
+
--ResourceConf.InstanceType abc \
|
18
|
+
--VpcId abc \
|
19
|
+
--SubnetId abc \
|
20
|
+
--VolumeSizeInGB 1 \
|
21
|
+
--VolumeSourceType abc \
|
22
|
+
--VolumeSourceCFS.Id abc \
|
23
|
+
--VolumeSourceCFS.Path abc \
|
24
|
+
--LogEnable True \
|
25
|
+
--LogConfig.LogsetId abc \
|
26
|
+
--LogConfig.TopicId abc \
|
27
|
+
--LifecycleScriptId abc \
|
28
|
+
--DefaultCodeRepoId abc \
|
29
|
+
--AdditionalCodeRepoIds abc \
|
30
|
+
--AutoStopping True \
|
31
|
+
--AutomaticStopTime 0 \
|
32
|
+
--Tags.0.TagKey abc \
|
33
|
+
--Tags.0.TagValue abc \
|
34
|
+
--DirectInternetAccess True \
|
35
|
+
--RootAccess True \
|
36
|
+
--DataConfigs.0.MappingPath abc \
|
37
|
+
--DataConfigs.0.DataSourceType abc \
|
38
|
+
--DataConfigs.0.DataSetSource.Id abc \
|
39
|
+
--DataConfigs.0.COSSource.Bucket abc \
|
40
|
+
--DataConfigs.0.COSSource.Region abc \
|
41
|
+
--DataConfigs.0.COSSource.Paths abc \
|
42
|
+
--DataConfigs.0.CFSSource.Id abc \
|
43
|
+
--DataConfigs.0.CFSSource.Path abc \
|
44
|
+
--DataConfigs.0.HDFSSource.Id abc \
|
45
|
+
--DataConfigs.0.HDFSSource.Path abc \
|
46
|
+
--DataConfigs.0.GooseFSSource.Id abc \
|
47
|
+
--DataConfigs.0.CFSTurboSource.Id abc \
|
48
|
+
--DataConfigs.0.CFSTurboSource.Path abc \
|
49
|
+
--ImageInfo.ImageType abc \
|
50
|
+
--ImageInfo.ImageUrl abc \
|
51
|
+
--ImageInfo.RegistryRegion abc \
|
52
|
+
--ImageInfo.RegistryId abc \
|
53
|
+
--ImageType abc
|
54
|
+
```
|
55
|
+
|
56
|
+
Output:
|
57
|
+
```
|
58
|
+
{
|
59
|
+
"Response": {
|
60
|
+
"RequestId": "abc"
|
61
|
+
}
|
62
|
+
}
|
63
|
+
```
|
64
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 修改Notebook标签**
|
2
|
+
|
3
|
+
修改Notebook标签
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli tione ModifyNotebookTags --cli-unfold-argument \
|
9
|
+
--Id abc \
|
10
|
+
--Tags.0.TagKey abc \
|
11
|
+
--Tags.0.TagValue abc
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "abc"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|