tccli 3.0.1226.1__py2.py3-none-any.whl → 3.0.1228.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 (56) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/cam/v20190116/api.json +19 -13
  4. tccli/services/cdb/v20170320/api.json +159 -1
  5. tccli/services/cdb/v20170320/examples.json +2 -2
  6. tccli/services/cfs/v20190719/api.json +19 -0
  7. tccli/services/ckafka/v20190819/api.json +968 -763
  8. tccli/services/ckafka/v20190819/examples.json +112 -118
  9. tccli/services/cloudapp/v20220530/api.json +2 -2
  10. tccli/services/cloudapp/v20220530/examples.json +1 -1
  11. tccli/services/cynosdb/cynosdb_client.py +110 -4
  12. tccli/services/cynosdb/v20190107/api.json +125 -0
  13. tccli/services/cynosdb/v20190107/examples.json +16 -0
  14. tccli/services/emr/v20190103/api.json +28 -22
  15. tccli/services/ess/v20201111/api.json +18 -0
  16. tccli/services/essbasic/v20210526/api.json +10 -1
  17. tccli/services/faceid/v20180301/api.json +1 -1
  18. tccli/services/iotexplorer/iotexplorer_client.py +57 -4
  19. tccli/services/iotexplorer/v20190423/api.json +145 -0
  20. tccli/services/iotexplorer/v20190423/examples.json +14 -0
  21. tccli/services/ivld/v20210903/api.json +245 -192
  22. tccli/services/ivld/v20210903/examples.json +10 -10
  23. tccli/services/lcic/v20220817/api.json +1 -1
  24. tccli/services/lke/lke_client.py +394 -23
  25. tccli/services/lke/v20231130/api.json +756 -23
  26. tccli/services/lke/v20231130/examples.json +62 -0
  27. tccli/services/mps/v20190612/api.json +13 -13
  28. tccli/services/organization/v20181225/api.json +75 -51
  29. tccli/services/organization/v20181225/examples.json +20 -20
  30. tccli/services/organization/v20210331/api.json +74 -61
  31. tccli/services/organization/v20210331/examples.json +14 -14
  32. tccli/services/privatedns/v20201028/api.json +41 -13
  33. tccli/services/rce/v20201103/api.json +1 -1
  34. tccli/services/redis/v20180412/api.json +1 -1
  35. tccli/services/teo/v20220901/api.json +3 -3
  36. tccli/services/tke/v20220501/api.json +109 -0
  37. tccli/services/tmt/v20180321/api.json +2 -2
  38. tccli/services/tmt/v20180321/examples.json +2 -2
  39. tccli/services/trocket/v20230308/api.json +79 -79
  40. tccli/services/trocket/v20230308/examples.json +8 -8
  41. tccli/services/trtc/v20190722/api.json +84 -0
  42. tccli/services/vcube/__init__.py +4 -0
  43. tccli/services/vcube/v20220410/api.json +4168 -0
  44. tccli/services/vcube/v20220410/examples.json +277 -0
  45. tccli/services/vcube/vcube_client.py +1956 -0
  46. tccli/services/vdb/v20230616/api.json +9 -0
  47. tccli/services/vod/v20180717/api.json +40 -3
  48. tccli/services/vod/v20180717/examples.json +13 -1
  49. tccli/services/vpc/v20170312/api.json +163 -11
  50. tccli/services/vpc/v20170312/examples.json +10 -2
  51. tccli/services/vpc/vpc_client.py +53 -0
  52. {tccli-3.0.1226.1.dist-info → tccli-3.0.1228.1.dist-info}/METADATA +2 -2
  53. {tccli-3.0.1226.1.dist-info → tccli-3.0.1228.1.dist-info}/RECORD +56 -52
  54. {tccli-3.0.1226.1.dist-info → tccli-3.0.1228.1.dist-info}/WHEEL +0 -0
  55. {tccli-3.0.1226.1.dist-info → tccli-3.0.1228.1.dist-info}/entry_points.txt +0 -0
  56. {tccli-3.0.1226.1.dist-info → tccli-3.0.1228.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1226.1'
1
+ __version__ = '3.0.1228.1'
@@ -776,6 +776,9 @@ SERVICE_VERSIONS = {
776
776
  "vclm": [
777
777
  "2024-05-23"
778
778
  ],
779
+ "vcube": [
780
+ "2022-04-10"
781
+ ],
779
782
  "vdb": [
780
783
  "2023-06-16"
781
784
  ],
@@ -1559,7 +1559,7 @@
1559
1559
  {
1560
1560
  "disabled": false,
1561
1561
  "document": "自定义多因子验证Token",
1562
- "example": "",
1562
+ "example": "mfa_1000000000-a6f836f1",
1563
1563
  "member": "string",
1564
1564
  "name": "MFAToken",
1565
1565
  "required": true,
@@ -2790,7 +2790,7 @@
2790
2790
  {
2791
2791
  "disabled": false,
2792
2792
  "document": "子账号",
2793
- "example": "1234567",
2793
+ "example": "100000000000",
2794
2794
  "member": "uint64",
2795
2795
  "name": "SubUin",
2796
2796
  "required": true,
@@ -2805,27 +2805,30 @@
2805
2805
  {
2806
2806
  "disabled": false,
2807
2807
  "document": "登录保护设置",
2808
- "example": "",
2808
+ "example": "{\"Phone\": 1,\"Token\": 0,\"Stoken\": 0,\"Wechat\": 0,\"Custom\": 0}",
2809
2809
  "member": "LoginActionFlag",
2810
2810
  "name": "LoginFlag",
2811
+ "output_required": true,
2811
2812
  "type": "object",
2812
2813
  "value_allowed_null": false
2813
2814
  },
2814
2815
  {
2815
2816
  "disabled": false,
2816
2817
  "document": "敏感操作保护设置",
2817
- "example": "",
2818
+ "example": "{\"Phone\": 1,\"Token\": 0,\"Stoken\": 0,\"Wechat\": 0,\"Custom\": 0}",
2818
2819
  "member": "LoginActionFlag",
2819
2820
  "name": "ActionFlag",
2821
+ "output_required": true,
2820
2822
  "type": "object",
2821
2823
  "value_allowed_null": false
2822
2824
  },
2823
2825
  {
2824
2826
  "disabled": false,
2825
2827
  "document": "异地登录保护设置",
2826
- "example": "",
2828
+ "example": "{\"VerifyFlag\": 0,\"NotifyPhone\": 1,\"NotifyEmail\": 1,\"NotifyWechat\": 1,\"Tips\": 0}",
2827
2829
  "member": "OffsiteFlag",
2828
2830
  "name": "OffsiteFlag",
2831
+ "output_required": true,
2829
2832
  "type": "object",
2830
2833
  "value_allowed_null": false
2831
2834
  },
@@ -2835,6 +2838,7 @@
2835
2838
  "example": "1",
2836
2839
  "member": "int64",
2837
2840
  "name": "PromptTrust",
2841
+ "output_required": true,
2838
2842
  "type": "int",
2839
2843
  "value_allowed_null": true
2840
2844
  },
@@ -5100,7 +5104,7 @@
5100
5104
  {
5101
5105
  "disabled": false,
5102
5106
  "document": "页码。默认为1。",
5103
- "example": "",
5107
+ "example": "1",
5104
5108
  "member": "uint64",
5105
5109
  "name": "Page",
5106
5110
  "required": false,
@@ -5109,7 +5113,7 @@
5109
5113
  {
5110
5114
  "disabled": false,
5111
5115
  "document": "每页数量。默认为20。",
5112
- "example": "",
5116
+ "example": "20",
5113
5117
  "member": "uint64",
5114
5118
  "name": "Rp",
5115
5119
  "required": false,
@@ -5118,7 +5122,7 @@
5118
5122
  {
5119
5123
  "disabled": false,
5120
5124
  "document": "按用户组名称匹配。",
5121
- "example": "",
5125
+ "example": "IT",
5122
5126
  "member": "string",
5123
5127
  "name": "Keyword",
5124
5128
  "required": false,
@@ -5133,18 +5137,20 @@
5133
5137
  {
5134
5138
  "disabled": false,
5135
5139
  "document": "用户组总数。",
5136
- "example": "",
5140
+ "example": "1",
5137
5141
  "member": "uint64",
5138
5142
  "name": "TotalNum",
5143
+ "output_required": true,
5139
5144
  "type": "int",
5140
5145
  "value_allowed_null": false
5141
5146
  },
5142
5147
  {
5143
5148
  "disabled": false,
5144
5149
  "document": "用户组数组信息。",
5145
- "example": "",
5150
+ "example": "[{\"GroupId\": 2021,\"GroupName\": \"IT\",\"CreateTime\": \"2019-04-03 15:15:18\",\"Remark\": \"IT\"}]",
5146
5151
  "member": "GroupInfo",
5147
5152
  "name": "GroupInfo",
5153
+ "output_required": true,
5148
5154
  "type": "list",
5149
5155
  "value_allowed_null": false
5150
5156
  },
@@ -6423,7 +6429,7 @@
6423
6429
  {
6424
6430
  "disabled": false,
6425
6431
  "document": "登录保护设置",
6426
- "example": "",
6432
+ "example": "{\"Phone\":1}",
6427
6433
  "member": "LoginActionMfaFlag",
6428
6434
  "name": "LoginFlag",
6429
6435
  "required": false,
@@ -6432,7 +6438,7 @@
6432
6438
  {
6433
6439
  "disabled": false,
6434
6440
  "document": "操作保护设置",
6435
- "example": "",
6441
+ "example": "{\"Phone\":1}",
6436
6442
  "member": "LoginActionMfaFlag",
6437
6443
  "name": "ActionFlag",
6438
6444
  "required": false,
@@ -7005,7 +7011,7 @@
7005
7011
  {
7006
7012
  "disabled": false,
7007
7013
  "document": "用户组描述",
7008
- "example": "test",
7014
+ "example": "财务管理",
7009
7015
  "member": "string",
7010
7016
  "name": "Remark",
7011
7017
  "required": false,
@@ -11178,12 +11178,114 @@
11178
11178
  },
11179
11179
  "DescribeInstanceAlarmEventsRequest": {
11180
11180
  "document": "DescribeInstanceAlarmEvents请求参数结构体",
11181
- "members": [],
11181
+ "members": [
11182
+ {
11183
+ "disabled": false,
11184
+ "document": "实例 ID。",
11185
+ "example": "cdb-0mu6taqx",
11186
+ "member": "string",
11187
+ "name": "InstanceId",
11188
+ "required": true,
11189
+ "type": "string"
11190
+ },
11191
+ {
11192
+ "disabled": false,
11193
+ "document": "事件查询范围开始时间,闭区间。",
11194
+ "example": "2024-01-15 00:00:00",
11195
+ "member": "string",
11196
+ "name": "StartTime",
11197
+ "required": true,
11198
+ "type": "string"
11199
+ },
11200
+ {
11201
+ "disabled": false,
11202
+ "document": "事件查询范围截止时间,闭区间。",
11203
+ "example": "2024-01-30 00:00:00",
11204
+ "member": "string",
11205
+ "name": "EndTime",
11206
+ "required": true,
11207
+ "type": "string"
11208
+ },
11209
+ {
11210
+ "disabled": false,
11211
+ "document": "事件名称。 Outofmemory - 内存OOM(有状态事件); Switch - 主从切换(有状态事件); Roremove - 只读实例剔除(有状态事件); MemoryUsedHigh - 内存使用率过高(有状态事件); CPUExpansion - CPU性能扩容(无状态事件); CPUExpansionFailed - CPU性能扩容失败(无状态事件); CPUContraction - CPU性能回缩(无状态事件); Restart - 实例重启(有状态事件); ServerFailureNodeMigration - ServerFailureNodeMigration(有状态事件); PlannedSwitch - 计划内主备切换(无状态事件); OverusedReadonlySet - 实例将被锁定(无状态事件); OverusedReadWriteSet - 实例解除锁定(无状态事件)。",
11212
+ "example": "[\"Switch\"]",
11213
+ "member": "string",
11214
+ "name": "EventName",
11215
+ "required": false,
11216
+ "type": "list"
11217
+ },
11218
+ {
11219
+ "disabled": false,
11220
+ "document": "事件状态。\"1\" - 发生事件;\"0\" - 恢复事件;\"-\" - 无状态事件。",
11221
+ "example": "1",
11222
+ "member": "string",
11223
+ "name": "EventStatus",
11224
+ "required": false,
11225
+ "type": "string"
11226
+ },
11227
+ {
11228
+ "disabled": false,
11229
+ "document": "排序方式。按事件发生事件进行排序,\"DESC\"-倒排;”ASC“-正序,默认倒排。",
11230
+ "example": "DESC",
11231
+ "member": "string",
11232
+ "name": "Order",
11233
+ "required": false,
11234
+ "type": "string"
11235
+ },
11236
+ {
11237
+ "disabled": false,
11238
+ "document": "事件展示数量。",
11239
+ "example": "10",
11240
+ "member": "string",
11241
+ "name": "Limit",
11242
+ "required": false,
11243
+ "type": "string"
11244
+ },
11245
+ {
11246
+ "disabled": false,
11247
+ "document": "偏移量。",
11248
+ "example": "0",
11249
+ "member": "string",
11250
+ "name": "Offset",
11251
+ "required": false,
11252
+ "type": "string"
11253
+ },
11254
+ {
11255
+ "disabled": false,
11256
+ "document": "节点 ID。",
11257
+ "example": "dbn-it3iv15s",
11258
+ "member": "string",
11259
+ "name": "NodeId",
11260
+ "required": false,
11261
+ "type": "string"
11262
+ }
11263
+ ],
11182
11264
  "type": "object"
11183
11265
  },
11184
11266
  "DescribeInstanceAlarmEventsResponse": {
11185
11267
  "document": "DescribeInstanceAlarmEvents返回参数结构体",
11186
11268
  "members": [
11269
+ {
11270
+ "disabled": false,
11271
+ "document": "事件数。",
11272
+ "example": "98",
11273
+ "member": "int64",
11274
+ "name": "TotalCount",
11275
+ "output_required": false,
11276
+ "type": "int",
11277
+ "value_allowed_null": false
11278
+ },
11279
+ {
11280
+ "disabled": false,
11281
+ "document": "事件信息。查询不到信息时,Items为null。\n注意:此字段可能返回 null,表示取不到有效值。",
11282
+ "example": "无",
11283
+ "member": "InstEventInfo",
11284
+ "name": "Items",
11285
+ "output_required": false,
11286
+ "type": "list",
11287
+ "value_allowed_null": true
11288
+ },
11187
11289
  {
11188
11290
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
11189
11291
  "member": "string",
@@ -13705,6 +13807,62 @@
13705
13807
  ],
13706
13808
  "type": "object"
13707
13809
  },
13810
+ "InstEventInfo": {
13811
+ "document": "实例事件信息",
13812
+ "members": [
13813
+ {
13814
+ "disabled": false,
13815
+ "document": "事件名称。",
13816
+ "example": "\"Switch\"",
13817
+ "member": "string",
13818
+ "name": "EventName",
13819
+ "output_required": false,
13820
+ "type": "string",
13821
+ "value_allowed_null": false
13822
+ },
13823
+ {
13824
+ "disabled": false,
13825
+ "document": "事件状态。",
13826
+ "example": "\"1\"",
13827
+ "member": "string",
13828
+ "name": "EventStatus",
13829
+ "output_required": false,
13830
+ "type": "string",
13831
+ "value_allowed_null": false
13832
+ },
13833
+ {
13834
+ "disabled": false,
13835
+ "document": "事件发生时间。",
13836
+ "example": "”2024-01-17 06:10:59“",
13837
+ "member": "string",
13838
+ "name": "OccurTime",
13839
+ "output_required": false,
13840
+ "type": "string",
13841
+ "value_allowed_null": false
13842
+ },
13843
+ {
13844
+ "disabled": false,
13845
+ "document": "实例ID。",
13846
+ "example": "cdb-jllv3hnl",
13847
+ "member": "string",
13848
+ "name": "InstanceId",
13849
+ "output_required": false,
13850
+ "type": "string",
13851
+ "value_allowed_null": false
13852
+ },
13853
+ {
13854
+ "disabled": false,
13855
+ "document": "节点ID\n注意:此字段可能返回 null,表示取不到有效值。",
13856
+ "example": "dbn-it3iv15s",
13857
+ "member": "string",
13858
+ "name": "NodeId",
13859
+ "output_required": false,
13860
+ "type": "string",
13861
+ "value_allowed_null": true
13862
+ }
13863
+ ],
13864
+ "usage": "out"
13865
+ },
13708
13866
  "InstanceAuditLogFilters": {
13709
13867
  "document": "审计日志搜索过滤器",
13710
13868
  "members": [
@@ -709,8 +709,8 @@
709
709
  "DescribeInstanceAlarmEvents": [
710
710
  {
711
711
  "document": "",
712
- "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceAlarmEvents\n<公共请求参数>\n\n{}",
713
- "output": "{\n \"Response\": {\n \"RequestId\": \"mnksadas-cb0d-4943-9b17-c3306ed3d\"\n }\n}",
712
+ "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceAlarmEvents\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-fbd5agyt\",\n \"StartTime\": \"2024-11-15 00:00:00\",\n \"EndTime\": \"2024-12-15 00:00:00\",\n \"EventName\": [\n \"PlannedSwitch\"\n ],\n \"EventStatus\": \"-\",\n \"Limit\": \"100\"\n}",
713
+ "output": "{\n \"Response\": {\n \"Items\": [\n {\n \"EventName\": \"PlannedSwitch\",\n \"EventStatus\": \"-\",\n \"InstanceId\": \"cdb-fbd5agyt\",\n \"NodeId\": \"\",\n \"OccurTime\": \"2024-11-25 14:46:42\"\n }\n ],\n \"RequestId\": \"971e2860-c55b-4323-a831-0001\",\n \"TotalCount\": 1\n }\n}",
714
714
  "title": "查询实例事件信息"
715
715
  }
716
716
  ],
@@ -1490,6 +1490,15 @@
1490
1490
  "name": "BucketPath",
1491
1491
  "required": false,
1492
1492
  "type": "string"
1493
+ },
1494
+ {
1495
+ "disabled": false,
1496
+ "document": "迁移方向。0: 对象存储迁移至文件系统,1: 文件系统迁移至对象存储。默认 0",
1497
+ "example": "0",
1498
+ "member": "uint64",
1499
+ "name": "Direction",
1500
+ "required": false,
1501
+ "type": "int"
1493
1502
  }
1494
1503
  ],
1495
1504
  "type": "object"
@@ -3351,6 +3360,16 @@
3351
3360
  "output_required": true,
3352
3361
  "type": "string",
3353
3362
  "value_allowed_null": true
3363
+ },
3364
+ {
3365
+ "disabled": false,
3366
+ "document": "迁移方向。0: 对象存储迁移至文件系统,1: 文件系统迁移至对象存储。默认 0",
3367
+ "example": "0",
3368
+ "member": "uint64",
3369
+ "name": "Direction",
3370
+ "output_required": true,
3371
+ "type": "int",
3372
+ "value_allowed_null": false
3354
3373
  }
3355
3374
  ],
3356
3375
  "usage": "out"