tccli 3.0.1030.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.
Files changed (58) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cdwdoris/v20211228/CreateInstanceNew.md +36 -0
  3. tccli/examples/cdwdoris/v20211228/DescribeClusterConfigs.md +29 -0
  4. tccli/examples/cdwdoris/v20211228/DescribeDatabaseAuditDownload.md +33 -0
  5. tccli/examples/cdwdoris/v20211228/DescribeDatabaseAuditRecords.md +47 -0
  6. tccli/examples/cdwdoris/v20211228/DescribeInstanceNodesInfo.md +54 -0
  7. tccli/examples/cdwdoris/v20211228/DescribeInstanceState.md +26 -0
  8. tccli/examples/cdwdoris/v20211228/DescribeSlowQueryRecords.md +41 -0
  9. tccli/examples/cdwdoris/v20211228/DescribeSlowQueryRecordsDownload.md +25 -0
  10. tccli/examples/cdwdoris/v20211228/DestroyInstance.md +23 -0
  11. tccli/examples/cdwdoris/v20211228/ModifyInstance.md +21 -0
  12. tccli/examples/cdwdoris/v20211228/ResizeDisk.md +25 -0
  13. tccli/examples/cdwdoris/v20211228/RestartClusterForNode.md +23 -0
  14. tccli/examples/cdwdoris/v20211228/ScaleOutInstance.md +25 -0
  15. tccli/examples/cdwdoris/v20211228/ScaleUpInstance.md +25 -0
  16. tccli/examples/emr/v20190103/DescribeClusterNodes.md +76 -134
  17. tccli/examples/essbasic/v20210526/DescribeTemplates.md +32 -4
  18. tccli/examples/mongodb/v20190725/ModifyDBInstanceSpec.md +4 -4
  19. tccli/examples/organization/v20210331/CreateOrganizationMember.md +1 -1
  20. tccli/examples/tke/v20180525/CreateClusterNodePool.md +2 -0
  21. tccli/examples/vod/v20180717/DescribeProcedureTemplates.md +3 -18
  22. tccli/examples/vod/v20180717/DescribeVodDomains.md +1 -0
  23. tccli/examples/vod/v20180717/EnhanceMediaQuality.md +1 -1
  24. tccli/examples/yinsuda/v20220527/DescribeKTVMusicAccompanySegmentUrlVip.md +28 -0
  25. tccli/examples/yinsuda/v20220527/DescribeVipUserInfo.md +26 -0
  26. tccli/examples/yinsuda/v20220527/RechargeVip.md +27 -0
  27. tccli/services/cat/v20180409/api.json +10 -1
  28. tccli/services/cdwdoris/cdwdoris_client.py +750 -8
  29. tccli/services/cdwdoris/v20211228/api.json +2475 -487
  30. tccli/services/cdwdoris/v20211228/examples.json +118 -0
  31. tccli/services/cls/v20201016/api.json +2 -2
  32. tccli/services/emr/v20190103/api.json +411 -63
  33. tccli/services/emr/v20190103/examples.json +1 -1
  34. tccli/services/ess/v20201111/api.json +60 -60
  35. tccli/services/essbasic/v20210526/api.json +24 -24
  36. tccli/services/essbasic/v20210526/examples.json +2 -2
  37. tccli/services/lighthouse/v20200324/api.json +5 -5
  38. tccli/services/mongodb/v20190725/api.json +11 -11
  39. tccli/services/mongodb/v20190725/examples.json +2 -2
  40. tccli/services/monitor/v20180724/api.json +2 -0
  41. tccli/services/organization/v20210331/api.json +18 -18
  42. tccli/services/organization/v20210331/examples.json +1 -1
  43. tccli/services/rkp/v20191209/api.json +6 -6
  44. tccli/services/ses/v20201002/api.json +2 -2
  45. tccli/services/tke/v20180525/api.json +59 -3
  46. tccli/services/tke/v20180525/examples.json +1 -1
  47. tccli/services/vod/v20180717/api.json +64 -64
  48. tccli/services/vod/v20180717/examples.json +3 -3
  49. tccli/services/vpc/v20170312/api.json +10 -0
  50. tccli/services/waf/v20180125/api.json +11 -0
  51. tccli/services/yinsuda/v20220527/api.json +305 -0
  52. tccli/services/yinsuda/v20220527/examples.json +24 -0
  53. tccli/services/yinsuda/yinsuda_client.py +175 -16
  54. {tccli-3.0.1030.1.dist-info → tccli-3.0.1032.1.dist-info}/METADATA +2 -2
  55. {tccli-3.0.1030.1.dist-info → tccli-3.0.1032.1.dist-info}/RECORD +58 -41
  56. {tccli-3.0.1030.1.dist-info → tccli-3.0.1032.1.dist-info}/WHEEL +0 -0
  57. {tccli-3.0.1030.1.dist-info → tccli-3.0.1032.1.dist-info}/entry_points.txt +0 -0
  58. {tccli-3.0.1030.1.dist-info → tccli-3.0.1032.1.dist-info}/license_files/LICENSE +0 -0
@@ -16,157 +16,99 @@ Output:
16
16
  ```
17
17
  {
18
18
  "Response": {
19
- "HardwareResourceTypeList": [
20
- "all"
21
- ],
19
+ "TotalCnt": 0,
22
20
  "NodeList": [
23
21
  {
24
- "AppId": 251008830,
25
- "ApplyTime": "2020-02-24 20:31:06",
26
- "CdbIp": "",
27
- "CdbNodeInfo": null,
28
- "CdbPort": 0,
29
- "ChargeType": 0,
30
- "CpuNum": 8,
31
- "Destroyable": 0,
32
- "DeviceClass": "VSELF_2",
33
- "DiskSize": "100.00 GB",
34
- "EmrResourceId": "emr-vm-6xyf2cb2",
35
- "ExpireTime": "0000-00-00 00:00:00",
36
- "Flag": 1,
37
- "FreeTime": "0000-00-00 00:00:00",
38
- "HwDiskSize": 107374182400,
39
- "HwDiskSizeDesc": "100.00 GB",
40
- "HwMemSize": 17179869184,
41
- "HwMemSizeDesc": "16GB",
42
- "Ip": "10.0.0.76",
43
- "IsAutoRenew": 0,
44
- "MCMultiDisk": [
45
- {
46
- "Count": 1,
47
- "Type": 5,
48
- "Volume": 107374182400
49
- }
50
- ],
51
- "MemDesc": "16GB",
52
- "MemSize": 17179869184,
53
- "Mutable": 1,
54
- "NameTag": "master.0",
55
- "OrderNo": "ins-20224atg",
56
- "RegionId": 1,
22
+ "AppId": 0,
23
+ "SerialNo": "abc",
24
+ "OrderNo": "abc",
25
+ "WanIp": "abc",
26
+ "Flag": 0,
27
+ "Spec": "abc",
28
+ "CpuNum": 0,
29
+ "MemSize": 0,
30
+ "MemDesc": "abc",
31
+ "RegionId": 0,
32
+ "ZoneId": 0,
33
+ "ApplyTime": "abc",
34
+ "FreeTime": "abc",
35
+ "DiskSize": "abc",
36
+ "NameTag": "abc",
37
+ "Services": "abc",
38
+ "StorageType": 0,
57
39
  "RootSize": 0,
58
- "SerialNo": "83d977e5-fa68-4051-875e-ad30ff42534f",
59
- "Services": "Zookeeper,NameNode,ResourceManager,JobHistoryServer,HMaster,HbaseThrift,HiveServer2,HiveMetaStore,HiveWebHcat,Spark,SparkJobHistoryServer,Presto-Coordinator,knox",
60
- "Spec": "CVM.S2",
61
- "StorageType": 5,
62
- "Tags": [],
63
- "WanIp": "--",
64
- "ZoneId": 100002,
65
- "SupportModifyPayMode": 1
66
- },
67
- {
68
- "AppId": 251008830,
69
- "ApplyTime": "2020-02-24 20:31:07",
70
- "CdbIp": "",
71
- "CdbNodeInfo": null,
72
- "CdbPort": 0,
73
40
  "ChargeType": 0,
74
- "CpuNum": 8,
75
- "Destroyable": 0,
76
- "DeviceClass": "VSELF_2",
77
- "DiskSize": "100.00 GB",
78
- "EmrResourceId": "emr-vm-cinlo2wc",
79
- "ExpireTime": "0000-00-00 00:00:00",
80
- "Flag": 2,
81
- "FreeTime": "0000-00-00 00:00:00",
82
- "HwDiskSize": 107374182400,
83
- "HwDiskSizeDesc": "100.00 GB",
84
- "HwMemSize": 17179869184,
85
- "HwMemSizeDesc": "16GB",
86
- "Ip": "10.0.0.33",
41
+ "CdbIp": "abc",
42
+ "CdbPort": 0,
43
+ "HwDiskSize": 0,
44
+ "HwDiskSizeDesc": "abc",
45
+ "HwMemSize": 0,
46
+ "HwMemSizeDesc": "abc",
47
+ "ExpireTime": "abc",
48
+ "EmrResourceId": "abc",
87
49
  "IsAutoRenew": 0,
50
+ "DeviceClass": "abc",
51
+ "Mutable": 0,
88
52
  "MCMultiDisk": [
89
53
  {
90
- "Count": 1,
91
- "Type": 5,
92
- "Volume": 107374182400
54
+ "Type": 0,
55
+ "Volume": 0,
56
+ "Count": 0
93
57
  }
94
58
  ],
95
- "MemDesc": "16GB",
96
- "MemSize": 17179869184,
97
- "Mutable": 1,
98
- "NameTag": "core.0",
99
- "OrderNo": "ins-20224gpk",
100
- "RegionId": 1,
101
- "RootSize": 0,
102
- "SerialNo": "8ded940b-a579-4c81-be75-3aaf62137337",
103
- "Services": "DataNode,NodeManager,RegionServer,Presto-Worker",
104
- "Spec": "CVM.S2",
105
- "StorageType": 5,
106
- "Tags": [],
107
- "WanIp": "",
108
- "ZoneId": 100002,
109
- "SupportModifyPayMode": 0
110
- },
111
- {
112
- "AppId": 251008830,
113
- "ApplyTime": "2020-02-24 20:31:08",
114
- "CdbIp": "",
115
- "CdbNodeInfo": null,
116
- "CdbPort": 0,
117
- "ChargeType": 0,
118
- "CpuNum": 8,
59
+ "CdbNodeInfo": {
60
+ "InstanceName": "abc",
61
+ "Ip": "abc",
62
+ "Port": 0,
63
+ "MemSize": 0,
64
+ "Volume": 0,
65
+ "Service": "abc",
66
+ "ExpireTime": "abc",
67
+ "ApplyTime": "abc",
68
+ "PayType": 0,
69
+ "ExpireFlag": true,
70
+ "Status": 0,
71
+ "IsAutoRenew": 0,
72
+ "SerialNo": "abc",
73
+ "ZoneId": 0,
74
+ "RegionId": 0
75
+ },
76
+ "Ip": "abc",
119
77
  "Destroyable": 0,
120
- "DeviceClass": "VSELF_2",
121
- "DiskSize": "100.00 GB",
122
- "EmrResourceId": "emr-vm-b32qad6s",
123
- "ExpireTime": "0000-00-00 00:00:00",
124
- "Flag": 2,
125
- "FreeTime": "0000-00-00 00:00:00",
126
- "HwDiskSize": 107374182400,
127
- "HwDiskSizeDesc": "100.00 GB",
128
- "HwMemSize": 17179869184,
129
- "HwMemSizeDesc": "16GB",
130
- "Ip": "10.0.0.111",
131
- "IsAutoRenew": 0,
132
- "MCMultiDisk": [
78
+ "Tags": [
133
79
  {
134
- "Count": 1,
135
- "Type": 5,
136
- "Volume": 107374182400
80
+ "TagKey": "abc",
81
+ "TagValue": "abc"
137
82
  }
138
83
  ],
139
- "MemDesc": "16GB",
140
- "MemSize": 17179869184,
141
- "Mutable": 1,
142
- "NameTag": "core.1",
143
- "OrderNo": "ins-202241if",
144
- "RegionId": 1,
145
- "RootSize": 0,
146
- "SerialNo": "c045bcd7-571a-4c64-b0a5-9024c94d5c15",
147
- "Services": "DataNode,NodeManager,RegionServer,Presto-Worker",
148
- "Spec": "CVM.S2",
149
- "StorageType": 5,
150
- "Tags": [],
151
- "WanIp": "",
152
- "ZoneId": 100002,
153
- "SupportModifyPayMode": 0
84
+ "AutoFlag": 0,
85
+ "HardwareResourceType": "abc",
86
+ "IsDynamicSpec": 0,
87
+ "DynamicPodSpec": "abc",
88
+ "SupportModifyPayMode": 0,
89
+ "RootStorageType": 0,
90
+ "Zone": "abc",
91
+ "SubnetInfo": {
92
+ "SubnetName": "abc",
93
+ "SubnetId": "abc"
94
+ },
95
+ "Clients": "abc",
96
+ "CurrentTime": "abc",
97
+ "IsFederation": 0,
98
+ "DeviceName": "abc",
99
+ "ServiceClient": "abc",
100
+ "DisableApiTermination": true,
101
+ "TradeVersion": 0,
102
+ "ServicesStatus": "abc"
154
103
  }
155
104
  ],
156
- "RequestId": "bb22bafb-d2a4-4a02-879f-6ccf54a27892",
157
105
  "TagKeys": [
158
- "测试一下",
159
- "alex_test",
160
- "beckwuxingjia",
161
- "ghghghg",
162
- "tag_auth_test",
163
- "test",
164
- "beckwu",
165
- "emr",
166
- "lg",
167
- "bk"
106
+ "abc"
107
+ ],
108
+ "HardwareResourceTypeList": [
109
+ "abc"
168
110
  ],
169
- "TotalCnt": 3
111
+ "RequestId": "abc"
170
112
  }
171
113
  }
172
114
  ```
@@ -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-p8vnipr5 \
10
- --Memory 4 \
11
- --Volume 250
9
+ --InstanceId cmgo-p8vn**** \
10
+ --Volume 250 \
11
+ --Memory 4
12
12
  ```
13
13
 
14
14
  Output:
@@ -20,7 +20,7 @@ Output:
20
20
  ```
21
21
  {
22
22
  "Response": {
23
- "Uin": 100001919,
23
+ "Uin": 111111111111,
24
24
  "RequestId": "1a556fac-cd38-4732-86ef-6283d6abddd7"
25
25
  }
26
26
  }
@@ -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",
@@ -30,6 +30,7 @@ Output:
30
30
  },
31
31
  "DeployStatus": "Deploying",
32
32
  "HTTPSConfig": {
33
+ "CloudCertId": "abc",
33
34
  "CertExpireTime": "2030-01-23T07:25:52Z"
34
35
  },
35
36
  "UrlSignatureAuthPolicy": {
@@ -7,7 +7,7 @@ Input:
7
7
  ```
8
8
  tccli vod EnhanceMediaQuality --cli-unfold-argument \
9
9
  --FileId 5285485487985271487 \
10
- --Definition 10
10
+ --Definition 100
11
11
  ```
12
12
 
13
13
  Output:
@@ -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
+
@@ -335,7 +335,7 @@
335
335
  },
336
336
  {
337
337
  "disabled": false,
338
- "document": "选中字段",
338
+ "document": "选中字段,如ProbeTime、TransferTime、TransferSize等。",
339
339
  "example": "[ProbeTime]",
340
340
  "member": "string",
341
341
  "name": "SelectedFields",
@@ -413,6 +413,15 @@
413
413
  "name": "ScrollID",
414
414
  "required": false,
415
415
  "type": "string"
416
+ },
417
+ {
418
+ "disabled": false,
419
+ "document": "详情数据下载",
420
+ "example": "“download\"",
421
+ "member": "string",
422
+ "name": "QueryFlag",
423
+ "required": false,
424
+ "type": "string"
416
425
  }
417
426
  ],
418
427
  "type": "object"