tccli 3.0.1227.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 (36) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/cdb/v20170320/api.json +159 -1
  4. tccli/services/cdb/v20170320/examples.json +2 -2
  5. tccli/services/cfs/v20190719/api.json +19 -0
  6. tccli/services/ckafka/v20190819/api.json +4 -4
  7. tccli/services/ckafka/v20190819/examples.json +98 -104
  8. tccli/services/cynosdb/cynosdb_client.py +110 -4
  9. tccli/services/cynosdb/v20190107/api.json +125 -0
  10. tccli/services/cynosdb/v20190107/examples.json +16 -0
  11. tccli/services/emr/v20190103/api.json +28 -22
  12. tccli/services/ess/v20201111/api.json +18 -0
  13. tccli/services/essbasic/v20210526/api.json +10 -1
  14. tccli/services/faceid/v20180301/api.json +1 -1
  15. tccli/services/lke/lke_client.py +394 -23
  16. tccli/services/lke/v20231130/api.json +737 -4
  17. tccli/services/lke/v20231130/examples.json +62 -0
  18. tccli/services/mps/v20190612/api.json +1 -1
  19. tccli/services/privatedns/v20201028/api.json +41 -13
  20. tccli/services/tmt/v20180321/api.json +1 -1
  21. tccli/services/tmt/v20180321/examples.json +2 -2
  22. tccli/services/trocket/v20230308/api.json +79 -79
  23. tccli/services/trocket/v20230308/examples.json +8 -8
  24. tccli/services/vcube/__init__.py +4 -0
  25. tccli/services/vcube/v20220410/api.json +4168 -0
  26. tccli/services/vcube/v20220410/examples.json +277 -0
  27. tccli/services/vcube/vcube_client.py +1956 -0
  28. tccli/services/vod/v20180717/api.json +38 -1
  29. tccli/services/vod/v20180717/examples.json +13 -1
  30. tccli/services/vpc/v20170312/api.json +29 -11
  31. tccli/services/vpc/v20170312/examples.json +2 -2
  32. {tccli-3.0.1227.1.dist-info → tccli-3.0.1228.1.dist-info}/METADATA +2 -2
  33. {tccli-3.0.1227.1.dist-info → tccli-3.0.1228.1.dist-info}/RECORD +36 -32
  34. {tccli-3.0.1227.1.dist-info → tccli-3.0.1228.1.dist-info}/WHEEL +0 -0
  35. {tccli-3.0.1227.1.dist-info → tccli-3.0.1228.1.dist-info}/entry_points.txt +0 -0
  36. {tccli-3.0.1227.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.1227.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
  ],
@@ -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"
@@ -9405,7 +9405,7 @@
9405
9405
  "example": "0",
9406
9406
  "member": "int64",
9407
9407
  "name": "Enable",
9408
- "output_required": true,
9408
+ "output_required": false,
9409
9409
  "required": false,
9410
9410
  "type": "int",
9411
9411
  "value_allowed_null": true
@@ -9416,7 +9416,7 @@
9416
9416
  "example": "75",
9417
9417
  "member": "int64",
9418
9418
  "name": "DiskQuotaPercentage",
9419
- "output_required": true,
9419
+ "output_required": false,
9420
9420
  "required": false,
9421
9421
  "type": "int",
9422
9422
  "value_allowed_null": true
@@ -9427,7 +9427,7 @@
9427
9427
  "example": "10",
9428
9428
  "member": "int64",
9429
9429
  "name": "StepForwardPercentage",
9430
- "output_required": true,
9430
+ "output_required": false,
9431
9431
  "required": false,
9432
9432
  "type": "int",
9433
9433
  "value_allowed_null": true
@@ -9438,7 +9438,7 @@
9438
9438
  "example": "360",
9439
9439
  "member": "int64",
9440
9440
  "name": "BottomRetention",
9441
- "output_required": true,
9441
+ "output_required": false,
9442
9442
  "required": false,
9443
9443
  "type": "int",
9444
9444
  "value_allowed_null": true