tccli 3.0.1303.1__py2.py3-none-any.whl → 3.0.1306.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 (102) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/v20221229/api.json +39 -39
  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 +49 -38
  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 +10 -0
  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 +8 -8
  26. tccli/services/cvm/v20170312/api.json +129 -20
  27. tccli/services/cvm/v20170312/examples.json +1 -1
  28. tccli/services/cynosdb/v20190107/api.json +9 -9
  29. tccli/services/dbbrain/v20191016/api.json +11 -10
  30. tccli/services/dbbrain/v20191016/examples.json +1 -1
  31. tccli/services/dbbrain/v20210527/api.json +1 -1
  32. tccli/services/dc/v20180410/api.json +16 -6
  33. tccli/services/dc/v20180410/examples.json +4 -4
  34. tccli/services/domain/v20180808/api.json +162 -162
  35. tccli/services/domain/v20180808/examples.json +34 -34
  36. tccli/services/drm/v20181115/api.json +52 -65
  37. tccli/services/drm/v20181115/examples.json +1 -1
  38. tccli/services/dsgc/v20190723/api.json +10 -0
  39. tccli/services/dts/v20211206/api.json +0 -9
  40. tccli/services/dts/v20211206/examples.json +1 -1
  41. tccli/services/ecdn/v20191012/api.json +12 -12
  42. tccli/services/emr/v20190103/api.json +10 -0
  43. tccli/services/gs/gs_client.py +53 -0
  44. tccli/services/gs/v20191118/api.json +75 -3
  45. tccli/services/gs/v20191118/examples.json +15 -7
  46. tccli/services/gwlb/v20240906/api.json +28 -28
  47. tccli/services/hai/hai_client.py +53 -0
  48. tccli/services/hai/v20230812/api.json +62 -0
  49. tccli/services/hai/v20230812/examples.json +8 -0
  50. tccli/services/hunyuan/v20230901/api.json +4 -4
  51. tccli/services/ims/v20201229/api.json +14 -5
  52. tccli/services/ims/v20201229/examples.json +2 -2
  53. tccli/services/ioa/v20220601/api.json +13 -2
  54. tccli/services/iotexplorer/v20190423/api.json +62 -3
  55. tccli/services/iotexplorer/v20190423/examples.json +1 -1
  56. tccli/services/iotvideoindustry/v20201201/api.json +29 -19
  57. tccli/services/iotvideoindustry/v20201201/examples.json +2 -2
  58. tccli/services/iss/iss_client.py +273 -8
  59. tccli/services/iss/v20230517/api.json +586 -0
  60. tccli/services/iss/v20230517/examples.json +46 -0
  61. tccli/services/lcic/v20220817/api.json +1 -1
  62. tccli/services/lighthouse/v20200324/api.json +1 -1
  63. tccli/services/live/v20180801/api.json +18 -18
  64. tccli/services/lke/v20231130/api.json +50 -6
  65. tccli/services/lkeap/v20240522/api.json +124 -1
  66. tccli/services/monitor/v20180724/api.json +1 -1
  67. tccli/services/mps/v20190612/api.json +283 -290
  68. tccli/services/mps/v20190612/examples.json +9 -9
  69. tccli/services/ocr/v20181119/api.json +133 -114
  70. tccli/services/ocr/v20181119/examples.json +1 -1
  71. tccli/services/postgres/v20170312/api.json +140 -121
  72. tccli/services/postgres/v20170312/examples.json +1 -1
  73. tccli/services/redis/v20180412/api.json +94 -4
  74. tccli/services/redis/v20180412/examples.json +3 -3
  75. tccli/services/ses/v20201002/api.json +9 -0
  76. tccli/services/soe/v20180724/api.json +13 -13
  77. tccli/services/soe/v20180724/examples.json +2 -2
  78. tccli/services/tat/v20201028/api.json +19 -19
  79. tccli/services/tcss/v20201101/api.json +27 -0
  80. tccli/services/teo/v20220901/api.json +14 -3
  81. tccli/services/tione/tione_client.py +53 -0
  82. tccli/services/tione/v20211111/api.json +49 -1
  83. tccli/services/tione/v20211111/examples.json +8 -0
  84. tccli/services/trtc/v20190722/api.json +5 -5
  85. tccli/services/tse/v20201207/api.json +30 -0
  86. tccli/services/tts/v20190823/api.json +1 -1
  87. tccli/services/vm/v20210922/api.json +21 -30
  88. tccli/services/vm/v20210922/examples.json +2 -2
  89. tccli/services/vod/v20180717/api.json +6 -6
  90. tccli/services/vod/v20180717/examples.json +1 -1
  91. tccli/services/vpc/v20170312/api.json +103 -81
  92. tccli/services/vpc/v20170312/examples.json +3 -3
  93. tccli/services/vrs/v20200824/api.json +52 -52
  94. tccli/services/vrs/v20200824/examples.json +2 -2
  95. tccli/services/wedata/v20210820/api.json +192 -11
  96. tccli/services/wedata/v20210820/examples.json +8 -0
  97. tccli/services/wedata/wedata_client.py +53 -0
  98. {tccli-3.0.1303.1.dist-info → tccli-3.0.1306.1.dist-info}/METADATA +2 -2
  99. {tccli-3.0.1303.1.dist-info → tccli-3.0.1306.1.dist-info}/RECORD +102 -102
  100. {tccli-3.0.1303.1.dist-info → tccli-3.0.1306.1.dist-info}/WHEEL +0 -0
  101. {tccli-3.0.1303.1.dist-info → tccli-3.0.1306.1.dist-info}/entry_points.txt +0 -0
  102. {tccli-3.0.1303.1.dist-info → tccli-3.0.1306.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",
@@ -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": [
@@ -26561,7 +26677,7 @@
26561
26677
  },
26562
26678
  {
26563
26679
  "disabled": false,
26564
- "document": "生命周期编号",
26680
+ "document": "**实例生命周期编号,标识实例的某一次执行**\n\n例如:周期实例第一次运行的编号为0,用户后期又重跑了该实例,第二次执行的编号为1",
26565
26681
  "example": "1",
26566
26682
  "member": "uint64",
26567
26683
  "name": "LifeRoundNum",
@@ -26630,6 +26746,15 @@
26630
26746
  "name": "EndLineCount",
26631
26747
  "required": false,
26632
26748
  "type": "int"
26749
+ },
26750
+ {
26751
+ "disabled": false,
26752
+ "document": "**分页查询日志时使用,无具体业务含义**\n\n第一次查询时值为null \n第二次及以后查询时使用上一次查询返回信息中的ExtInfo字段值即可",
26753
+ "example": "115715",
26754
+ "member": "string",
26755
+ "name": "ExtInfo",
26756
+ "required": false,
26757
+ "type": "string"
26633
26758
  }
26634
26759
  ],
26635
26760
  "type": "object"
@@ -27493,7 +27618,7 @@
27493
27618
  },
27494
27619
  {
27495
27620
  "disabled": false,
27496
- "document": "生命周期编号\n注意:此字段可能返回 null,表示取不到有效值。",
27621
+ "document": "**实例生命周期编号,标识实例的某一次执行**\n\n例如:周期实例第一次运行的编号为0,用户后期又重跑了该实例,第二次的执行的编号为1\n注意:此字段可能返回 null,表示取不到有效值。",
27497
27622
  "example": "1",
27498
27623
  "member": "uint64",
27499
27624
  "name": "LifeRoundNum",
@@ -27848,7 +27973,7 @@
27848
27973
  },
27849
27974
  {
27850
27975
  "disabled": false,
27851
- "document": "生命周期编号\n注意:此字段可能返回 null,表示取不到有效值。",
27976
+ "document": "**实例生命周期编号,标识实例的某一次执行**\n\n例如:周期实例第一次运行的编号为0,用户后期又重跑了该实例,第二次执行的编号为1\n注意:此字段可能返回 null,表示取不到有效值。",
27852
27977
  "example": "1",
27853
27978
  "member": "uint64",
27854
27979
  "name": "LifeRoundNum",
@@ -27898,7 +28023,7 @@
27898
28023
  },
27899
28024
  {
27900
28025
  "disabled": false,
27901
- "document": "**下发执行ID**\n注意:此字段可能返回 null,表示取不到有效值。",
28026
+ "document": "**下发执行ID**\n统一执行平台下发执行到新版执行机标识某次执行的唯一ID,存量老执行机下发执行没有此ID。\n如果不知道执行机版本是否支持此ID,可以联系腾讯云运维同学\n注意:此字段可能返回 null,表示取不到有效值。",
27902
28027
  "example": "1531612696034334445952",
27903
28028
  "member": "string",
27904
28029
  "name": "ExecutionJobId",
@@ -27976,7 +28101,7 @@
27976
28101
  },
27977
28102
  {
27978
28103
  "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,表示取不到有效值。",
28104
+ "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
28105
  "example": "RUNNING",
27981
28106
  "member": "string",
27982
28107
  "name": "DetailState",
@@ -28653,7 +28778,7 @@
28653
28778
  },
28654
28779
  {
28655
28780
  "disabled": false,
28656
- "document": "执行平台日志分页查询参数, 每次请求透明传入。第一页查询时值为空字符串\n注意:此字段可能返回 null,表示取不到有效值。",
28781
+ "document": "**分页查询日志时使用,无具体业务含义**\n\n第一次查询时值为null \n第二次及以后查询时使用上一次查询返回信息中的ExtInfo字段值即可\n注意:此字段可能返回 null,表示取不到有效值。",
28657
28782
  "example": "115715",
28658
28783
  "member": "string",
28659
28784
  "name": "ExtInfo",
@@ -31551,7 +31676,7 @@
31551
31676
  },
31552
31677
  {
31553
31678
  "disabled": false,
31554
- "document": "**实例计划调度时间**\n过滤起始时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31679
+ "document": "**实例计划调度时间过滤条件**\n过滤起始时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31555
31680
  "example": "2025-03-19 00:00:00",
31556
31681
  "member": "string",
31557
31682
  "name": "ScheduleTimeFrom",
@@ -31560,7 +31685,7 @@
31560
31685
  },
31561
31686
  {
31562
31687
  "disabled": false,
31563
- "document": "**实例计划调度时间**\n过滤截止时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31688
+ "document": "**实例计划调度时间过滤条件**\n过滤截止时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31564
31689
  "example": "2025-03-20 00:00:00",
31565
31690
  "member": "string",
31566
31691
  "name": "ScheduleTimeTo",
@@ -31587,7 +31712,7 @@
31587
31712
  },
31588
31713
  {
31589
31714
  "disabled": false,
31590
- "document": "**查询结果排序字段**\n\n- SCHEDULE_DATE 表示 计划调度时间\n- START_TIME 表示 实例开始执行时间\n- END_TIME 表示 实例结束执行时间\n- COST_TIME 表示 实例执行时长",
31715
+ "document": "**查询结果排序字段**\n\n- SCHEDULE_DATE 表示 根据计划调度时间排序\n- START_TIME 表示 根据实例开始执行时间排序\n- END_TIME 表示 根据实例结束执行时间排序\n- COST_TIME 表示 根据实例执行时长排序",
31591
31716
  "example": "SCHEDULE_DATE",
31592
31717
  "member": "string",
31593
31718
  "name": "SortColumn",
@@ -31686,7 +31811,7 @@
31686
31811
  },
31687
31812
  {
31688
31813
  "disabled": false,
31689
- "document": "**开始时间**\n过滤起始时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31814
+ "document": "**实例执行开始时间过滤条件**\n过滤起始时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31690
31815
  "example": "2025-03-19 00:00:00",
31691
31816
  "member": "string",
31692
31817
  "name": "StartTimeFrom",
@@ -31695,7 +31820,7 @@
31695
31820
  },
31696
31821
  {
31697
31822
  "disabled": false,
31698
- "document": "**开始时间**\n过滤截止时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31823
+ "document": "**实例执行开始时间过滤条件**\n过滤截止时间,时间格式为 yyyy-MM-dd HH:mm:ss",
31699
31824
  "example": "2025-03-20 00:00:00",
31700
31825
  "member": "string",
31701
31826
  "name": "StartTimeTo",
@@ -36704,6 +36829,62 @@
36704
36829
  ],
36705
36830
  "usage": "in"
36706
36831
  },
36832
+ "ProjectPage": {
36833
+ "document": "查询数据源分页列表",
36834
+ "members": [
36835
+ {
36836
+ "disabled": false,
36837
+ "document": "分页页码\n注意:此字段可能返回 null,表示取不到有效值。",
36838
+ "example": "0",
36839
+ "member": "uint64",
36840
+ "name": "PageNumber",
36841
+ "required": true,
36842
+ "type": "int",
36843
+ "value_allowed_null": true
36844
+ },
36845
+ {
36846
+ "disabled": false,
36847
+ "document": "分页大小\n注意:此字段可能返回 null,表示取不到有效值。",
36848
+ "example": "10",
36849
+ "member": "uint64",
36850
+ "name": "PageSize",
36851
+ "required": true,
36852
+ "type": "int",
36853
+ "value_allowed_null": true
36854
+ },
36855
+ {
36856
+ "disabled": false,
36857
+ "document": "数据源列表\n注意:此字段可能返回 null,表示取不到有效值。",
36858
+ "example": "无",
36859
+ "member": "Project",
36860
+ "name": "Rows",
36861
+ "required": true,
36862
+ "type": "list",
36863
+ "value_allowed_null": true
36864
+ },
36865
+ {
36866
+ "disabled": false,
36867
+ "document": "总数\n注意:此字段可能返回 null,表示取不到有效值。",
36868
+ "example": "0",
36869
+ "member": "uint64",
36870
+ "name": "TotalCount",
36871
+ "required": true,
36872
+ "type": "int",
36873
+ "value_allowed_null": true
36874
+ },
36875
+ {
36876
+ "disabled": false,
36877
+ "document": "总分页页码\n注意:此字段可能返回 null,表示取不到有效值。",
36878
+ "example": "1",
36879
+ "member": "uint64",
36880
+ "name": "TotalPageNumber",
36881
+ "required": true,
36882
+ "type": "int",
36883
+ "value_allowed_null": true
36884
+ }
36885
+ ],
36886
+ "usage": "out"
36887
+ },
36707
36888
  "ProjectUserRole": {
36708
36889
  "document": "项目的用户对象",
36709
36890
  "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": "获取第三方日志成功返回",
@@ -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.1303.1
3
+ Version: 3.0.1306.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.1303
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1306
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介