tccli 3.0.1304.1__py2.py3-none-any.whl → 3.0.1307.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/v20221229/api.json +44 -42
  3. tccli/services/aiart/v20221229/examples.json +11 -11
  4. tccli/services/ams/v20201229/api.json +28 -34
  5. tccli/services/ams/v20201229/examples.json +2 -8
  6. tccli/services/autoscaling/v20180419/api.json +57 -57
  7. tccli/services/autoscaling/v20180419/examples.json +6 -6
  8. tccli/services/bi/v20220105/api.json +9 -0
  9. tccli/services/bi/v20220105/examples.json +1 -1
  10. tccli/services/cbs/v20170312/api.json +75 -54
  11. tccli/services/ccc/v20200210/api.json +10 -0
  12. tccli/services/cdb/v20170320/api.json +9 -9
  13. tccli/services/cdb/v20170320/examples.json +2 -2
  14. tccli/services/cdn/v20180606/api.json +61 -58
  15. tccli/services/cdn/v20180606/examples.json +8 -8
  16. tccli/services/cfs/v20190719/api.json +12 -2
  17. tccli/services/cfs/v20190719/examples.json +2 -2
  18. tccli/services/cfw/cfw_client.py +53 -0
  19. tccli/services/cfw/v20190904/api.json +539 -0
  20. tccli/services/cfw/v20190904/examples.json +8 -0
  21. tccli/services/chc/v20230418/api.json +56 -1
  22. tccli/services/ckafka/ckafka_client.py +53 -0
  23. tccli/services/ckafka/v20190819/api.json +242 -8
  24. tccli/services/ckafka/v20190819/examples.json +8 -0
  25. tccli/services/clb/v20180317/api.json +120 -111
  26. tccli/services/clb/v20180317/examples.json +7 -7
  27. tccli/services/cvm/v20170312/api.json +130 -21
  28. tccli/services/cvm/v20170312/examples.json +1 -1
  29. tccli/services/cynosdb/v20190107/api.json +18 -18
  30. tccli/services/dbbrain/v20191016/api.json +11 -10
  31. tccli/services/dbbrain/v20191016/examples.json +1 -1
  32. tccli/services/dbbrain/v20210527/api.json +1 -1
  33. tccli/services/dc/v20180410/api.json +16 -6
  34. tccli/services/dc/v20180410/examples.json +4 -4
  35. tccli/services/dlc/v20210125/api.json +19 -0
  36. tccli/services/domain/v20180808/api.json +213 -213
  37. tccli/services/domain/v20180808/examples.json +38 -38
  38. tccli/services/drm/v20181115/api.json +52 -65
  39. tccli/services/drm/v20181115/examples.json +1 -1
  40. tccli/services/dsgc/v20190723/api.json +10 -0
  41. tccli/services/dts/v20211206/api.json +0 -9
  42. tccli/services/dts/v20211206/examples.json +1 -1
  43. tccli/services/ecdn/v20191012/api.json +12 -12
  44. tccli/services/emr/v20190103/api.json +10 -0
  45. tccli/services/es/v20250101/api.json +45 -45
  46. tccli/services/essbasic/v20210526/examples.json +7 -1
  47. tccli/services/gs/gs_client.py +53 -0
  48. tccli/services/gs/v20191118/api.json +75 -3
  49. tccli/services/gs/v20191118/examples.json +15 -7
  50. tccli/services/gwlb/v20240906/api.json +28 -28
  51. tccli/services/hai/hai_client.py +53 -0
  52. tccli/services/hai/v20230812/api.json +62 -0
  53. tccli/services/hai/v20230812/examples.json +8 -0
  54. tccli/services/hunyuan/v20230901/api.json +4 -4
  55. tccli/services/ims/v20201229/api.json +14 -5
  56. tccli/services/ims/v20201229/examples.json +2 -2
  57. tccli/services/ioa/v20220601/api.json +13 -2
  58. tccli/services/iotexplorer/v20190423/api.json +62 -3
  59. tccli/services/iotexplorer/v20190423/examples.json +1 -1
  60. tccli/services/iotvideoindustry/v20201201/api.json +29 -19
  61. tccli/services/iotvideoindustry/v20201201/examples.json +2 -2
  62. tccli/services/iss/iss_client.py +273 -8
  63. tccli/services/iss/v20230517/api.json +586 -0
  64. tccli/services/iss/v20230517/examples.json +46 -0
  65. tccli/services/lcic/v20220817/api.json +1 -1
  66. tccli/services/lighthouse/v20200324/api.json +1 -1
  67. tccli/services/live/v20180801/api.json +18 -18
  68. tccli/services/lke/v20231130/api.json +50 -6
  69. tccli/services/lkeap/v20240522/api.json +124 -1
  70. tccli/services/lowcode/v20210108/api.json +10 -1
  71. tccli/services/monitor/v20180724/api.json +1 -1
  72. tccli/services/mps/v20190612/api.json +283 -290
  73. tccli/services/mps/v20190612/examples.json +9 -9
  74. tccli/services/ocr/v20181119/api.json +133 -114
  75. tccli/services/ocr/v20181119/examples.json +1 -1
  76. tccli/services/postgres/v20170312/api.json +140 -121
  77. tccli/services/postgres/v20170312/examples.json +1 -1
  78. tccli/services/redis/v20180412/api.json +94 -4
  79. tccli/services/redis/v20180412/examples.json +3 -3
  80. tccli/services/ses/v20201002/api.json +9 -0
  81. tccli/services/soe/v20180724/api.json +13 -13
  82. tccli/services/soe/v20180724/examples.json +2 -2
  83. tccli/services/tat/v20201028/api.json +19 -19
  84. tccli/services/tcss/v20201101/api.json +27 -0
  85. tccli/services/teo/v20220901/api.json +14 -3
  86. tccli/services/tione/tione_client.py +53 -0
  87. tccli/services/tione/v20211111/api.json +49 -1
  88. tccli/services/tione/v20211111/examples.json +8 -0
  89. tccli/services/tke/v20180525/api.json +37 -37
  90. tccli/services/trtc/v20190722/api.json +5 -5
  91. tccli/services/tse/v20201207/api.json +30 -0
  92. tccli/services/tsf/v20180326/api.json +2 -2
  93. tccli/services/tts/v20190823/api.json +1 -1
  94. tccli/services/vm/v20210922/api.json +21 -30
  95. tccli/services/vm/v20210922/examples.json +2 -2
  96. tccli/services/vod/v20180717/api.json +15 -6
  97. tccli/services/vod/v20180717/examples.json +1 -1
  98. tccli/services/vpc/v20170312/api.json +170 -143
  99. tccli/services/vpc/v20170312/examples.json +5 -5
  100. tccli/services/vrs/v20200824/api.json +52 -52
  101. tccli/services/vrs/v20200824/examples.json +2 -2
  102. tccli/services/wedata/v20210820/api.json +218 -19
  103. tccli/services/wedata/v20210820/examples.json +11 -3
  104. tccli/services/wedata/wedata_client.py +53 -0
  105. {tccli-3.0.1304.1.dist-info → tccli-3.0.1307.1.dist-info}/METADATA +2 -2
  106. {tccli-3.0.1304.1.dist-info → tccli-3.0.1307.1.dist-info}/RECORD +109 -109
  107. {tccli-3.0.1304.1.dist-info → tccli-3.0.1307.1.dist-info}/WHEEL +0 -0
  108. {tccli-3.0.1304.1.dist-info → tccli-3.0.1307.1.dist-info}/entry_points.txt +0 -0
  109. {tccli-3.0.1304.1.dist-info → tccli-3.0.1307.1.dist-info}/license_files/LICENSE +0 -0
@@ -1225,6 +1225,13 @@
1225
1225
  "output": "DescribeTemplateDimCountResponse",
1226
1226
  "status": "online"
1227
1227
  },
1228
+ "DescribeTenantProjects": {
1229
+ "document": "租户全局范围的项目列表,与用户查看范围无关.",
1230
+ "input": "DescribeTenantProjectsRequest",
1231
+ "name": "获取租户全局范围的项目列表",
1232
+ "output": "DescribeTenantProjectsResponse",
1233
+ "status": "online"
1234
+ },
1228
1235
  "DescribeThirdTaskRunLog": {
1229
1236
  "document": "获取第三方运行日志",
1230
1237
  "input": "DescribeThirdTaskRunLogRequest",
@@ -1534,9 +1541,9 @@
1534
1541
  "status": "online"
1535
1542
  },
1536
1543
  "ModifyWorkflowSchedule": {
1537
- "document": "更新工作流调度",
1544
+ "document": "更新工作流调度。本接口已废弃,请使用接口RenewWorkflowSchedulerInfoDs。",
1538
1545
  "input": "ModifyWorkflowScheduleRequest",
1539
- "name": "更新工作流调度",
1546
+ "name": "更新工作流调度(废弃)",
1540
1547
  "output": "ModifyWorkflowScheduleResponse",
1541
1548
  "status": "online"
1542
1549
  },
@@ -1653,9 +1660,9 @@
1653
1660
  "status": "online"
1654
1661
  },
1655
1662
  "SubmitTask": {
1656
- "document": "<p style=\"color:red;\">[注意:该版本只满足广州区部分白名单客户使用]</p>\n提交任务",
1663
+ "document": "<p style=\"color:red;\">[注意:该版本只满足广州区部分白名单客户使用]</p>\n提交任务。本接口已废弃,请使用接口CreateTaskVersionDs。",
1657
1664
  "input": "SubmitTaskRequest",
1658
- "name": "提交任务",
1665
+ "name": "提交任务(废弃)",
1659
1666
  "output": "SubmitTaskResponse",
1660
1667
  "status": "online"
1661
1668
  },
@@ -1667,9 +1674,9 @@
1667
1674
  "status": "online"
1668
1675
  },
1669
1676
  "SubmitWorkflow": {
1670
- "document": "提交工作流",
1677
+ "document": "提交工作流。本接口已废弃,请使用接口BatchCreateTaskVersionAsync。",
1671
1678
  "input": "SubmitWorkflowRequest",
1672
- "name": "提交工作流",
1679
+ "name": "提交工作流(废弃)",
1673
1680
  "output": "SubmitWorkflowResponse",
1674
1681
  "status": "online"
1675
1682
  },
@@ -1695,9 +1702,9 @@
1695
1702
  "status": "online"
1696
1703
  },
1697
1704
  "TriggerEvent": {
1698
- "document": "<p style=\"color:red;\">[注意:该版本只满足广州区部分白名单客户使用]</p>\n触发事件",
1705
+ "document": "<p style=\"color:red;\">[注意:该版本只满足广州区部分白名单客户使用]</p>\n触发事件。本接口已废弃,请使用接口TriggerDsEvent。",
1699
1706
  "input": "TriggerEventRequest",
1700
- "name": "触发事件生成事件实例",
1707
+ "name": "触发事件生成事件实例(废弃)",
1701
1708
  "output": "TriggerEventResponse",
1702
1709
  "status": "online"
1703
1710
  },
@@ -22795,6 +22802,115 @@
22795
22802
  ],
22796
22803
  "type": "object"
22797
22804
  },
22805
+ "DescribeTenantProjectsRequest": {
22806
+ "document": "DescribeTenantProjects请求参数结构体",
22807
+ "members": [
22808
+ {
22809
+ "disabled": false,
22810
+ "document": "第几页",
22811
+ "example": "1",
22812
+ "member": "uint64",
22813
+ "name": "PageNumber",
22814
+ "required": true,
22815
+ "type": "int"
22816
+ },
22817
+ {
22818
+ "disabled": false,
22819
+ "document": "一页几条",
22820
+ "example": "10",
22821
+ "member": "uint64",
22822
+ "name": "PageSize",
22823
+ "required": true,
22824
+ "type": "int"
22825
+ },
22826
+ {
22827
+ "disabled": false,
22828
+ "document": "是否展示关联执行组的信息。正常应该不是从项目列表里获取",
22829
+ "example": "true",
22830
+ "member": "bool",
22831
+ "name": "DescribeExecutors",
22832
+ "required": false,
22833
+ "type": "bool"
22834
+ },
22835
+ {
22836
+ "disabled": false,
22837
+ "document": "是否展示项目管理员信息,减少默认返回的请求内容",
22838
+ "example": "true",
22839
+ "member": "bool",
22840
+ "name": "DescribeAdminUsers",
22841
+ "required": false,
22842
+ "type": "bool"
22843
+ },
22844
+ {
22845
+ "disabled": false,
22846
+ "document": "统计项目人员数量。数据地图需求",
22847
+ "example": "true",
22848
+ "member": "bool",
22849
+ "name": "DescribeMemberCount",
22850
+ "required": false,
22851
+ "type": "bool"
22852
+ },
22853
+ {
22854
+ "disabled": false,
22855
+ "document": "自定义条件查询",
22856
+ "example": "无",
22857
+ "member": "Filter",
22858
+ "name": "Filters",
22859
+ "required": false,
22860
+ "type": "list"
22861
+ },
22862
+ {
22863
+ "disabled": false,
22864
+ "document": "排序字段",
22865
+ "example": "无",
22866
+ "member": "OrderField",
22867
+ "name": "OrderFields",
22868
+ "required": false,
22869
+ "type": "list"
22870
+ },
22871
+ {
22872
+ "disabled": false,
22873
+ "document": "默认不提供创建者信息,该参数与CAM交互比较耗时",
22874
+ "example": "fasle",
22875
+ "member": "bool",
22876
+ "name": "DescribeCreator",
22877
+ "required": false,
22878
+ "type": "bool"
22879
+ },
22880
+ {
22881
+ "disabled": false,
22882
+ "document": "是否展示关联资源池信息",
22883
+ "example": "false",
22884
+ "member": "bool",
22885
+ "name": "DescribeResourcePools",
22886
+ "required": false,
22887
+ "type": "bool"
22888
+ }
22889
+ ],
22890
+ "type": "object"
22891
+ },
22892
+ "DescribeTenantProjectsResponse": {
22893
+ "document": "DescribeTenantProjects返回参数结构体",
22894
+ "members": [
22895
+ {
22896
+ "disabled": false,
22897
+ "document": "项目列表",
22898
+ "example": "无",
22899
+ "member": "ProjectPage",
22900
+ "name": "Data",
22901
+ "output_required": true,
22902
+ "type": "object",
22903
+ "value_allowed_null": false
22904
+ },
22905
+ {
22906
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
22907
+ "member": "string",
22908
+ "name": "RequestId",
22909
+ "type": "string"
22910
+ }
22911
+ ],
22912
+ "type": "object"
22913
+ },
22798
22914
  "DescribeThirdTaskRunLogRequest": {
22799
22915
  "document": "DescribeThirdTaskRunLog请求参数结构体",
22800
22916
  "members": [
@@ -26318,6 +26434,24 @@
26318
26434
  "name": "WriteMode",
26319
26435
  "required": false,
26320
26436
  "type": "string"
26437
+ },
26438
+ {
26439
+ "disabled": false,
26440
+ "document": "任务类型 201(实时), 202(离线) ",
26441
+ "example": "201",
26442
+ "member": "int64",
26443
+ "name": "TaskType",
26444
+ "required": false,
26445
+ "type": "int"
26446
+ },
26447
+ {
26448
+ "disabled": false,
26449
+ "document": "目标端table名称",
26450
+ "example": "table",
26451
+ "member": "string",
26452
+ "name": "SinkTableName",
26453
+ "required": false,
26454
+ "type": "string"
26321
26455
  }
26322
26456
  ],
26323
26457
  "type": "object"
@@ -26561,7 +26695,7 @@
26561
26695
  },
26562
26696
  {
26563
26697
  "disabled": false,
26564
- "document": "生命周期编号",
26698
+ "document": "**实例生命周期编号,标识实例的某一次执行**\n\n例如:周期实例第一次运行的编号为0,用户后期又重跑了该实例,第二次执行的编号为1",
26565
26699
  "example": "1",
26566
26700
  "member": "uint64",
26567
26701
  "name": "LifeRoundNum",
@@ -26630,6 +26764,15 @@
26630
26764
  "name": "EndLineCount",
26631
26765
  "required": false,
26632
26766
  "type": "int"
26767
+ },
26768
+ {
26769
+ "disabled": false,
26770
+ "document": "**分页查询日志时使用,无具体业务含义**\n\n第一次查询时值为null \n第二次及以后查询时使用上一次查询返回信息中的ExtInfo字段值即可",
26771
+ "example": "115715",
26772
+ "member": "string",
26773
+ "name": "ExtInfo",
26774
+ "required": false,
26775
+ "type": "string"
26633
26776
  }
26634
26777
  ],
26635
26778
  "type": "object"
@@ -27493,7 +27636,7 @@
27493
27636
  },
27494
27637
  {
27495
27638
  "disabled": false,
27496
- "document": "生命周期编号\n注意:此字段可能返回 null,表示取不到有效值。",
27639
+ "document": "**实例生命周期编号,标识实例的某一次执行**\n\n例如:周期实例第一次运行的编号为0,用户后期又重跑了该实例,第二次的执行的编号为1\n注意:此字段可能返回 null,表示取不到有效值。",
27497
27640
  "example": "1",
27498
27641
  "member": "uint64",
27499
27642
  "name": "LifeRoundNum",
@@ -27848,7 +27991,7 @@
27848
27991
  },
27849
27992
  {
27850
27993
  "disabled": false,
27851
- "document": "生命周期编号\n注意:此字段可能返回 null,表示取不到有效值。",
27994
+ "document": "**实例生命周期编号,标识实例的某一次执行**\n\n例如:周期实例第一次运行的编号为0,用户后期又重跑了该实例,第二次执行的编号为1\n注意:此字段可能返回 null,表示取不到有效值。",
27852
27995
  "example": "1",
27853
27996
  "member": "uint64",
27854
27997
  "name": "LifeRoundNum",
@@ -27898,7 +28041,7 @@
27898
28041
  },
27899
28042
  {
27900
28043
  "disabled": false,
27901
- "document": "**下发执行ID**\n注意:此字段可能返回 null,表示取不到有效值。",
28044
+ "document": "**下发执行ID**\n统一执行平台下发执行到新版执行机标识某次执行的唯一ID,存量老执行机下发执行没有此ID。\n如果不知道执行机版本是否支持此ID,可以联系腾讯云运维同学\n注意:此字段可能返回 null,表示取不到有效值。",
27902
28045
  "example": "1531612696034334445952",
27903
28046
  "member": "string",
27904
28047
  "name": "ExecutionJobId",
@@ -27976,7 +28119,7 @@
27976
28119
  },
27977
28120
  {
27978
28121
  "disabled": false,
27979
- "document": "**实例生命周期阶段状态**\n\n- WAIT_UPSTREAM 表示 等待事件/上游状态\n- WAIT_RUN 表示 等待运行状态\n- RUNNING 表示 运行中状态\n- COMPLETE 表示 终态-完成\n- FAILED 表示 终态-失败重试\n- EXPIRED 表示 终态-失败\n- SKIP_RUNNING 表示 终态-被上游分支节点跳过的分支\n- HISTORY 表示 兼容历史实例\n注意:此字段可能返回 null,表示取不到有效值。",
28122
+ "document": "**实例生命周期阶段状态**\n\n- WAIT_UPSTREAM 表示 等待事件/上游状态\n- WAIT_RUN 表示 等待运行状态\n- RUNNING 表示 运行中状态\n- COMPLETE 表示 终态-完成\n- FAILED 表示 终态-失败重试\n- EXPIRED 表示 终态-失败\n- SKIP_RUNNING 表示 终态-被上游分支节点跳过的分支\n- HISTORY 表示 兼容2024-03-30之前的历史实例,之后实例无需关注次枚举类型\n注意:此字段可能返回 null,表示取不到有效值。",
27980
28123
  "example": "RUNNING",
27981
28124
  "member": "string",
27982
28125
  "name": "DetailState",
@@ -28653,7 +28796,7 @@
28653
28796
  },
28654
28797
  {
28655
28798
  "disabled": false,
28656
- "document": "执行平台日志分页查询参数, 每次请求透明传入。第一页查询时值为空字符串\n注意:此字段可能返回 null,表示取不到有效值。",
28799
+ "document": "**分页查询日志时使用,无具体业务含义**\n\n第一次查询时值为null \n第二次及以后查询时使用上一次查询返回信息中的ExtInfo字段值即可\n注意:此字段可能返回 null,表示取不到有效值。",
28657
28800
  "example": "115715",
28658
28801
  "member": "string",
28659
28802
  "name": "ExtInfo",
@@ -31551,7 +31694,7 @@
31551
31694
  },
31552
31695
  {
31553
31696
  "disabled": false,
31554
- "document": "**实例计划调度时间**\n过滤起始时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31697
+ "document": "**实例计划调度时间过滤条件**\n过滤起始时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31555
31698
  "example": "2025-03-19 00:00:00",
31556
31699
  "member": "string",
31557
31700
  "name": "ScheduleTimeFrom",
@@ -31560,7 +31703,7 @@
31560
31703
  },
31561
31704
  {
31562
31705
  "disabled": false,
31563
- "document": "**实例计划调度时间**\n过滤截止时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31706
+ "document": "**实例计划调度时间过滤条件**\n过滤截止时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31564
31707
  "example": "2025-03-20 00:00:00",
31565
31708
  "member": "string",
31566
31709
  "name": "ScheduleTimeTo",
@@ -31587,7 +31730,7 @@
31587
31730
  },
31588
31731
  {
31589
31732
  "disabled": false,
31590
- "document": "**查询结果排序字段**\n\n- SCHEDULE_DATE 表示 计划调度时间\n- START_TIME 表示 实例开始执行时间\n- END_TIME 表示 实例结束执行时间\n- COST_TIME 表示 实例执行时长",
31733
+ "document": "**查询结果排序字段**\n\n- SCHEDULE_DATE 表示 根据计划调度时间排序\n- START_TIME 表示 根据实例开始执行时间排序\n- END_TIME 表示 根据实例结束执行时间排序\n- COST_TIME 表示 根据实例执行时长排序",
31591
31734
  "example": "SCHEDULE_DATE",
31592
31735
  "member": "string",
31593
31736
  "name": "SortColumn",
@@ -31686,7 +31829,7 @@
31686
31829
  },
31687
31830
  {
31688
31831
  "disabled": false,
31689
- "document": "**开始时间**\n过滤起始时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31832
+ "document": "**实例执行开始时间过滤条件**\n过滤起始时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31690
31833
  "example": "2025-03-19 00:00:00",
31691
31834
  "member": "string",
31692
31835
  "name": "StartTimeFrom",
@@ -31695,7 +31838,7 @@
31695
31838
  },
31696
31839
  {
31697
31840
  "disabled": false,
31698
- "document": "**开始时间**\n过滤截止时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31841
+ "document": "**实例执行开始时间过滤条件**\n过滤截止时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31699
31842
  "example": "2025-03-20 00:00:00",
31700
31843
  "member": "string",
31701
31844
  "name": "StartTimeTo",
@@ -36704,6 +36847,62 @@
36704
36847
  ],
36705
36848
  "usage": "in"
36706
36849
  },
36850
+ "ProjectPage": {
36851
+ "document": "查询数据源分页列表",
36852
+ "members": [
36853
+ {
36854
+ "disabled": false,
36855
+ "document": "分页页码\n注意:此字段可能返回 null,表示取不到有效值。",
36856
+ "example": "0",
36857
+ "member": "uint64",
36858
+ "name": "PageNumber",
36859
+ "required": true,
36860
+ "type": "int",
36861
+ "value_allowed_null": true
36862
+ },
36863
+ {
36864
+ "disabled": false,
36865
+ "document": "分页大小\n注意:此字段可能返回 null,表示取不到有效值。",
36866
+ "example": "10",
36867
+ "member": "uint64",
36868
+ "name": "PageSize",
36869
+ "required": true,
36870
+ "type": "int",
36871
+ "value_allowed_null": true
36872
+ },
36873
+ {
36874
+ "disabled": false,
36875
+ "document": "数据源列表\n注意:此字段可能返回 null,表示取不到有效值。",
36876
+ "example": "无",
36877
+ "member": "Project",
36878
+ "name": "Rows",
36879
+ "required": true,
36880
+ "type": "list",
36881
+ "value_allowed_null": true
36882
+ },
36883
+ {
36884
+ "disabled": false,
36885
+ "document": "总数\n注意:此字段可能返回 null,表示取不到有效值。",
36886
+ "example": "0",
36887
+ "member": "uint64",
36888
+ "name": "TotalCount",
36889
+ "required": true,
36890
+ "type": "int",
36891
+ "value_allowed_null": true
36892
+ },
36893
+ {
36894
+ "disabled": false,
36895
+ "document": "总分页页码\n注意:此字段可能返回 null,表示取不到有效值。",
36896
+ "example": "1",
36897
+ "member": "uint64",
36898
+ "name": "TotalPageNumber",
36899
+ "required": true,
36900
+ "type": "int",
36901
+ "value_allowed_null": true
36902
+ }
36903
+ ],
36904
+ "usage": "out"
36905
+ },
36707
36906
  "ProjectUserRole": {
36708
36907
  "document": "项目的用户对象",
36709
36908
  "members": [
@@ -1526,6 +1526,14 @@
1526
1526
  "title": "查询规则模板维度分布情况"
1527
1527
  }
1528
1528
  ],
1529
+ "DescribeTenantProjects": [
1530
+ {
1531
+ "document": "",
1532
+ "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTenantProjects\n<公共请求参数>\n\n{\n \"PageNumber\": \"0\",\n \"DescribeCreator\": \"true\",\n \"PageSize\": \"10\"\n}",
1533
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"PageNumber\": 1,\n \"PageSize\": 1,\n \"Rows\": [\n {\n \"TenantId\": \"1\",\n \"ProjectId\": \"1990\",\n \"ProjectName\": \"admin\",\n \"DisplayName\": \"admin\",\n \"Region\": \"beijing\",\n \"Description\": \"beijing\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"Creator\": {\n \"UserId\": \"199199\",\n \"UserName\": \"zhangsan\",\n \"DisplayName\": \"zhangsan\"\n },\n \"Tenant\": {\n \"TenantId\": \"1\",\n \"TenantName\": \"zhangsan\",\n \"DisplayName\": \"zhangsan\",\n \"Description\": \"zhangsan\",\n \"OwnerUserId\": \"zhangsan\",\n \"Params\": \"zhangsan\"\n },\n \"AdminUsers\": [\n {\n \"UserId\": \"1999\",\n \"UserName\": \"zhangsan\",\n \"DisplayName\": \"zhangsan\"\n }\n ],\n \"Clusters\": [\n {\n \"ClusterId\": \"zhangsan\",\n \"ClusterType\": \"zhangsan\",\n \"ClusterName\": \"zhangsan\",\n \"RegionCn\": \"zhangsan\",\n \"RegionEn\": \"zhangsan\",\n \"RegionArea\": \"zhangsan\",\n \"Used\": true,\n \"Status\": 1,\n \"StatusInfo\": \"zhangsan\",\n \"StorageType\": \"zhangsan\",\n \"ComputeType\": \"zhangsan\",\n \"ClusterResource\": \"zhangsan\",\n \"ChargeType\": \"zhangsan\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"ExtraConf\": \"zhangsan\",\n \"RangerUserName\": \"zhangsan\",\n \"CdwUserName\": \"zhangsan\"\n }\n ],\n \"Params\": \"zhangsan\",\n \"Status\": 1\n }\n ],\n \"TotalCount\": 1,\n \"TotalPageNumber\": 1\n },\n \"RequestId\": \"zhangsan\"\n }\n}",
1534
+ "title": "describe creator"
1535
+ }
1536
+ ],
1529
1537
  "DescribeThirdTaskRunLog": [
1530
1538
  {
1531
1539
  "document": "获取第三方日志成功返回",
@@ -1899,13 +1907,13 @@
1899
1907
  "ModifyWorkflowSchedule": [
1900
1908
  {
1901
1909
  "document": "更新工作流调度",
1902
- "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWorkflowSchedule\n<公共请求参数>\n\n{\n \"WorkflowId\": \"34e51bc4-0cd9-11ed-89e105ba60\",\n \"StartupTime\": \"47483648\",\n \"SelfDepend\": \"1\",\n \"ProjectId\": \"1\",\n \"ExecutionEndTime\": \"\",\n \"TaskAction\": \"\",\n \"DelayTime\": \"1\",\n \"DependencyWorkflow\": \"no\",\n \"StartTime\": \"2022-03-03 11:12:59\",\n \"ExecutionStartTime\": \"\",\n \"EndTime\": \"2022-09-03 11:12:59\",\n \"CycleType\": \"1\",\n \"CycleStep\": \"3\",\n \"CrontabExpression\": \"\"\n}",
1910
+ "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWorkflowSchedule\n<公共请求参数>\n\n{\n \"WorkflowId\": \"34e51bc4-0cd9-11ed-89e105ba60\",\n \"StartupTime\": 1712883299,\n \"SelfDepend\": 2,\n \"ProjectId\": \"1\",\n \"ExecutionEndTime\": \"\",\n \"TaskAction\": \"\",\n \"DelayTime\": 0,\n \"DependencyWorkflow\": \"no\",\n \"StartTime\": \"2022-03-03 11:12:59\",\n \"ExecutionStartTime\": \"\",\n \"EndTime\": \"2022-09-03 11:12:59\",\n \"CycleType\": 1,\n \"CycleStep\": 10,\n \"CrontabExpression\": \"\"\n}",
1903
1911
  "output": "{\n \"Response\": {\n \"RequestId\": \"dc5397bb-74e6f734102c\",\n \"Data\": {\n \"Running\": 0,\n \"Success\": 0,\n \"Failed\": 0,\n \"Total\": 0\n }\n }\n}",
1904
1912
  "title": "更新工作流调度范例1"
1905
1913
  },
1906
1914
  {
1907
1915
  "document": "更新工作流调度",
1908
- "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWorkflowSchedule\n<公共请求参数>\n\n{\n \"WorkflowId\": \"34e51bc4-0cd9-1105ba60\",\n \"StartupTime\": \"47483648\",\n \"SelfDepend\": \"1\",\n \"ProjectId\": \"1\",\n \"ExecutionEndTime\": \"\",\n \"TaskAction\": \"\",\n \"DelayTime\": \"1\",\n \"DependencyWorkflow\": \"no\",\n \"StartTime\": \"2022-03-03 11:12:59\",\n \"ExecutionStartTime\": \"\",\n \"EndTime\": \"2022-09-03 11:12:59\",\n \"CycleType\": \"1\",\n \"CycleStep\": \"3\",\n \"CrontabExpression\": \"\"\n}",
1916
+ "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWorkflowSchedule\n<公共请求参数>\n\n{\n \"WorkflowId\": \"34e51bc4-0cd9-1105ba60\",\n \"StartupTime\": 1712883299,\n \"SelfDepend\": 2,\n \"ProjectId\": \"1\",\n \"ExecutionEndTime\": \"\",\n \"TaskAction\": \"\",\n \"DelayTime\": 0,\n \"DependencyWorkflow\": \"no\",\n \"StartTime\": \"2022-03-03 11:12:59\",\n \"ExecutionStartTime\": \"\",\n \"EndTime\": \"2022-09-03 11:12:59\",\n \"CycleType\": 1,\n \"CycleStep\": 10,\n \"CrontabExpression\": \"\"\n}",
1909
1917
  "output": "{\n \"Response\": {\n \"RequestId\": \"c20f7fea-d73f-44cd-94a5-1d9f884df5cf\",\n \"Data\": {\n \"Running\": 0,\n \"Success\": 0,\n \"Failed\": 0,\n \"Total\": 0\n }\n }\n}",
1910
1918
  "title": "更新工作流调度范例2"
1911
1919
  }
@@ -2063,7 +2071,7 @@
2063
2071
  "SubmitWorkflow": [
2064
2072
  {
2065
2073
  "document": "提交工作流",
2066
- "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitWorkflow\n<公共请求参数>\n\n{\n \"StartScheduling\": \"true\",\n \"WorkflowId\": \"9e993c1d-0cd9-11ed-8e105ba60\",\n \"VersionRemark\": \"aa\",\n \"ProjectId\": \"1\"\n}",
2074
+ "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitWorkflow\n<公共请求参数>\n\n{\n \"StartScheduling\": true,\n \"WorkflowId\": \"9e993c1d-0cd9-11ed-8e105ba60\",\n \"VersionRemark\": \"v1\",\n \"ProjectId\": \"1\"\n}",
2067
2075
  "output": "{\n \"Response\": {\n \"Data\": {\n \"TaskIds\": [\n \"20230629153735945\",\n \"20230629153757617\",\n \"20230703141549308\"\n ],\n \"Result\": true,\n \"ErrorDesc\": null,\n \"ErrorId\": null\n },\n \"RequestId\": \"1c56c530-b6c9-4976-afd4-3b96fa2bd6bd\"\n }\n}",
2068
2076
  "title": "提交工作流范例"
2069
2077
  }
@@ -11509,6 +11509,58 @@ def doDescribeOpsMakePlans(args, parsed_globals):
11509
11509
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
11510
11510
 
11511
11511
 
11512
+ def doDescribeTenantProjects(args, parsed_globals):
11513
+ g_param = parse_global_arg(parsed_globals)
11514
+
11515
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
11516
+ cred = credential.CVMRoleCredential()
11517
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
11518
+ cred = credential.STSAssumeRoleCredential(
11519
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
11520
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
11521
+ )
11522
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
11523
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
11524
+ else:
11525
+ cred = credential.Credential(
11526
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
11527
+ )
11528
+ http_profile = HttpProfile(
11529
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
11530
+ reqMethod="POST",
11531
+ endpoint=g_param[OptionsDefine.Endpoint],
11532
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
11533
+ )
11534
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
11535
+ if g_param[OptionsDefine.Language]:
11536
+ profile.language = g_param[OptionsDefine.Language]
11537
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
11538
+ client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
11539
+ client._sdkVersion += ("_CLI_" + __version__)
11540
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
11541
+ model = models.DescribeTenantProjectsRequest()
11542
+ model.from_json_string(json.dumps(args))
11543
+ start_time = time.time()
11544
+ while True:
11545
+ rsp = client.DescribeTenantProjects(model)
11546
+ result = rsp.to_json_string()
11547
+ try:
11548
+ json_obj = json.loads(result)
11549
+ except TypeError as e:
11550
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
11551
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
11552
+ break
11553
+ cur_time = time.time()
11554
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
11555
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
11556
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
11557
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
11558
+ else:
11559
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
11560
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
11561
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
11562
+
11563
+
11512
11564
  def doDescribeRealTimeTaskInstanceNodeInfo(args, parsed_globals):
11513
11565
  g_param = parse_global_arg(parsed_globals)
11514
11566
 
@@ -13249,6 +13301,7 @@ ACTION_MAP = {
13249
13301
  "ModifyTaskLinks": doModifyTaskLinks,
13250
13302
  "RenewWorkflowSchedulerInfoDs": doRenewWorkflowSchedulerInfoDs,
13251
13303
  "DescribeOpsMakePlans": doDescribeOpsMakePlans,
13304
+ "DescribeTenantProjects": doDescribeTenantProjects,
13252
13305
  "DescribeRealTimeTaskInstanceNodeInfo": doDescribeRealTimeTaskInstanceNodeInfo,
13253
13306
  "ModifyDimensionWeight": doModifyDimensionWeight,
13254
13307
  "CreateTaskFolder": doCreateTaskFolder,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1304.1
3
+ Version: 3.0.1307.1
4
4
  Summary: Universal Command Line Environment for Tencent Cloud
5
5
  Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
6
6
  Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Requires-Dist: jmespath==0.10.0
15
15
  Requires-Dist: six==1.16.0
16
- Requires-Dist: tencentcloud-sdk-python>=3.0.1304
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1307
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介