tccli 3.0.1217.1__py2.py3-none-any.whl → 3.0.1219.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 (303) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/command.py +0 -1
  3. tccli/configure.py +11 -1
  4. tccli/services/__init__.py +3 -0
  5. tccli/services/aa/aa_client.py +13 -1
  6. tccli/services/aai/aai_client.py +13 -1
  7. tccli/services/acp/acp_client.py +13 -1
  8. tccli/services/advisor/advisor_client.py +13 -1
  9. tccli/services/af/af_client.py +13 -1
  10. tccli/services/af/v20200226/api.json +2 -2
  11. tccli/services/afc/afc_client.py +13 -1
  12. tccli/services/aiart/aiart_client.py +13 -1
  13. tccli/services/ame/ame_client.py +13 -1
  14. tccli/services/ams/ams_client.py +13 -1
  15. tccli/services/anicloud/anicloud_client.py +13 -1
  16. tccli/services/antiddos/antiddos_client.py +13 -1
  17. tccli/services/apcas/apcas_client.py +13 -1
  18. tccli/services/ape/ape_client.py +13 -1
  19. tccli/services/api/api_client.py +13 -1
  20. tccli/services/apigateway/apigateway_client.py +13 -1
  21. tccli/services/apm/apm_client.py +13 -1
  22. tccli/services/asr/asr_client.py +13 -1
  23. tccli/services/asw/asw_client.py +13 -1
  24. tccli/services/autoscaling/autoscaling_client.py +13 -1
  25. tccli/services/ba/ba_client.py +13 -1
  26. tccli/services/batch/batch_client.py +13 -1
  27. tccli/services/bda/bda_client.py +13 -1
  28. tccli/services/bh/bh_client.py +13 -1
  29. tccli/services/bi/bi_client.py +13 -1
  30. tccli/services/billing/billing_client.py +13 -1
  31. tccli/services/billing/v20180709/api.json +176 -181
  32. tccli/services/billing/v20180709/examples.json +7 -7
  33. tccli/services/bizlive/bizlive_client.py +13 -1
  34. tccli/services/bm/bm_client.py +13 -1
  35. tccli/services/bma/bma_client.py +13 -1
  36. tccli/services/bmeip/bmeip_client.py +13 -1
  37. tccli/services/bmlb/bmlb_client.py +13 -1
  38. tccli/services/bmvpc/bmvpc_client.py +13 -1
  39. tccli/services/bpaas/bpaas_client.py +13 -1
  40. tccli/services/bri/bri_client.py +13 -1
  41. tccli/services/bsca/bsca_client.py +13 -1
  42. tccli/services/btoe/btoe_client.py +13 -1
  43. tccli/services/ca/ca_client.py +13 -1
  44. tccli/services/cam/cam_client.py +13 -1
  45. tccli/services/captcha/captcha_client.py +13 -1
  46. tccli/services/car/car_client.py +13 -1
  47. tccli/services/cat/cat_client.py +13 -1
  48. tccli/services/cbs/cbs_client.py +13 -1
  49. tccli/services/ccc/ccc_client.py +13 -1
  50. tccli/services/cdb/cdb_client.py +13 -1
  51. tccli/services/cdc/cdc_client.py +13 -1
  52. tccli/services/cdn/cdn_client.py +13 -1
  53. tccli/services/cds/cds_client.py +13 -1
  54. tccli/services/cdwch/cdwch_client.py +13 -1
  55. tccli/services/cdwdoris/cdwdoris_client.py +13 -1
  56. tccli/services/cdwpg/cdwpg_client.py +13 -1
  57. tccli/services/cdz/cdz_client.py +13 -1
  58. tccli/services/cfg/cfg_client.py +13 -1
  59. tccli/services/cfs/cfs_client.py +13 -1
  60. tccli/services/cfw/cfw_client.py +13 -1
  61. tccli/services/chdfs/chdfs_client.py +13 -1
  62. tccli/services/ciam/ciam_client.py +13 -1
  63. tccli/services/cii/cii_client.py +13 -1
  64. tccli/services/cim/cim_client.py +13 -1
  65. tccli/services/cis/cis_client.py +13 -1
  66. tccli/services/ckafka/ckafka_client.py +13 -1
  67. tccli/services/ckafka/v20190819/api.json +7 -7
  68. tccli/services/clb/clb_client.py +13 -1
  69. tccli/services/clb/v20180317/api.json +12 -12
  70. tccli/services/cloudapp/cloudapp_client.py +13 -1
  71. tccli/services/cloudaudit/cloudaudit_client.py +13 -1
  72. tccli/services/cloudhsm/cloudhsm_client.py +13 -1
  73. tccli/services/cloudstudio/cloudstudio_client.py +13 -1
  74. tccli/services/cls/cls_client.py +13 -1
  75. tccli/services/cme/cme_client.py +13 -1
  76. tccli/services/cmq/cmq_client.py +13 -1
  77. tccli/services/cms/cms_client.py +13 -1
  78. tccli/services/config/config_client.py +13 -1
  79. tccli/services/controlcenter/controlcenter_client.py +13 -1
  80. tccli/services/cpdp/cpdp_client.py +13 -1
  81. tccli/services/csip/csip_client.py +13 -1
  82. tccli/services/csxg/csxg_client.py +13 -1
  83. tccli/services/cvm/cvm_client.py +13 -1
  84. tccli/services/cwp/cwp_client.py +13 -1
  85. tccli/services/cwp/v20180228/api.json +1 -1
  86. tccli/services/cws/cws_client.py +13 -1
  87. tccli/services/cynosdb/cynosdb_client.py +13 -1
  88. tccli/services/dasb/dasb_client.py +13 -1
  89. tccli/services/dataintegration/dataintegration_client.py +13 -1
  90. tccli/services/dayu/dayu_client.py +13 -1
  91. tccli/services/dbbrain/dbbrain_client.py +13 -1
  92. tccli/services/dbdc/dbdc_client.py +13 -1
  93. tccli/services/dc/dc_client.py +13 -1
  94. tccli/services/dcdb/dcdb_client.py +13 -1
  95. tccli/services/dlc/dlc_client.py +13 -1
  96. tccli/services/dnspod/dnspod_client.py +13 -1
  97. tccli/services/domain/domain_client.py +13 -1
  98. tccli/services/drm/drm_client.py +13 -1
  99. tccli/services/ds/ds_client.py +13 -1
  100. tccli/services/dsgc/dsgc_client.py +13 -1
  101. tccli/services/dtf/dtf_client.py +13 -1
  102. tccli/services/dts/dts_client.py +13 -1
  103. tccli/services/eb/eb_client.py +13 -1
  104. tccli/services/ecc/ecc_client.py +13 -1
  105. tccli/services/ecdn/ecdn_client.py +13 -1
  106. tccli/services/ecm/ecm_client.py +13 -1
  107. tccli/services/eiam/eiam_client.py +13 -1
  108. tccli/services/eis/eis_client.py +13 -1
  109. tccli/services/emr/emr_client.py +13 -1
  110. tccli/services/es/es_client.py +13 -1
  111. tccli/services/es/v20180416/examples.json +2 -2
  112. tccli/services/ess/ess_client.py +13 -1
  113. tccli/services/ess/v20201111/api.json +9 -0
  114. tccli/services/essbasic/essbasic_client.py +13 -1
  115. tccli/services/essbasic/v20210526/api.json +9 -0
  116. tccli/services/facefusion/facefusion_client.py +13 -1
  117. tccli/services/faceid/faceid_client.py +13 -1
  118. tccli/services/faceid/v20180301/api.json +2 -2
  119. tccli/services/fmu/fmu_client.py +13 -1
  120. tccli/services/ft/ft_client.py +13 -1
  121. tccli/services/gaap/gaap_client.py +13 -1
  122. tccli/services/gme/gme_client.py +13 -1
  123. tccli/services/goosefs/goosefs_client.py +13 -1
  124. tccli/services/gpm/gpm_client.py +13 -1
  125. tccli/services/gs/gs_client.py +13 -1
  126. tccli/services/gse/gse_client.py +13 -1
  127. tccli/services/gwlb/gwlb_client.py +13 -1
  128. tccli/services/habo/habo_client.py +13 -1
  129. tccli/services/hai/hai_client.py +13 -1
  130. tccli/services/hasim/hasim_client.py +13 -1
  131. tccli/services/hcm/hcm_client.py +13 -1
  132. tccli/services/hunyuan/hunyuan_client.py +13 -1
  133. tccli/services/iai/iai_client.py +13 -1
  134. tccli/services/iai/v20180301/api.json +17 -13
  135. tccli/services/iai/v20200303/examples.json +200 -200
  136. tccli/services/iap/__init__.py +4 -0
  137. tccli/services/iap/iap_client.py +472 -0
  138. tccli/services/iap/v20240713/api.json +471 -0
  139. tccli/services/iap/v20240713/examples.json +59 -0
  140. tccli/services/ic/ic_client.py +13 -1
  141. tccli/services/icr/icr_client.py +13 -1
  142. tccli/services/ie/ie_client.py +13 -1
  143. tccli/services/iecp/iecp_client.py +13 -1
  144. tccli/services/ig/ig_client.py +13 -1
  145. tccli/services/iir/iir_client.py +13 -1
  146. tccli/services/ims/ims_client.py +13 -1
  147. tccli/services/ioa/ioa_client.py +13 -1
  148. tccli/services/iot/iot_client.py +13 -1
  149. tccli/services/iotcloud/iotcloud_client.py +13 -1
  150. tccli/services/iotexplorer/iotexplorer_client.py +13 -1
  151. tccli/services/iottid/iottid_client.py +13 -1
  152. tccli/services/iotvideo/iotvideo_client.py +13 -1
  153. tccli/services/iotvideoindustry/iotvideoindustry_client.py +13 -1
  154. tccli/services/irp/irp_client.py +13 -1
  155. tccli/services/iss/iss_client.py +13 -1
  156. tccli/services/ivld/ivld_client.py +13 -1
  157. tccli/services/keewidb/keewidb_client.py +13 -1
  158. tccli/services/kms/kms_client.py +13 -1
  159. tccli/services/lcic/lcic_client.py +13 -1
  160. tccli/services/lcic/v20220817/api.json +3 -3
  161. tccli/services/lighthouse/lighthouse_client.py +13 -1
  162. tccli/services/live/live_client.py +441 -5
  163. tccli/services/live/v20180801/api.json +1070 -68
  164. tccli/services/live/v20180801/examples.json +64 -0
  165. tccli/services/lke/lke_client.py +13 -1
  166. tccli/services/lowcode/lowcode_client.py +13 -1
  167. tccli/services/lp/lp_client.py +13 -1
  168. tccli/services/mall/mall_client.py +13 -1
  169. tccli/services/mariadb/mariadb_client.py +13 -1
  170. tccli/services/market/market_client.py +13 -1
  171. tccli/services/market/v20191010/api.json +4 -4
  172. tccli/services/market/v20191010/examples.json +2 -2
  173. tccli/services/memcached/memcached_client.py +13 -1
  174. tccli/services/mgobe/mgobe_client.py +13 -1
  175. tccli/services/mmps/mmps_client.py +13 -1
  176. tccli/services/mna/mna_client.py +13 -1
  177. tccli/services/mongodb/mongodb_client.py +13 -1
  178. tccli/services/monitor/monitor_client.py +13 -1
  179. tccli/services/mps/mps_client.py +13 -1
  180. tccli/services/mps/v20190612/api.json +20 -0
  181. tccli/services/mqtt/mqtt_client.py +13 -1
  182. tccli/services/mrs/mrs_client.py +13 -1
  183. tccli/services/ms/ms_client.py +13 -1
  184. tccli/services/msp/msp_client.py +13 -1
  185. tccli/services/mvj/mvj_client.py +13 -1
  186. tccli/services/nlp/nlp_client.py +13 -1
  187. tccli/services/npp/npp_client.py +13 -1
  188. tccli/services/oceanus/oceanus_client.py +13 -1
  189. tccli/services/ocr/ocr_client.py +13 -1
  190. tccli/services/omics/omics_client.py +13 -1
  191. tccli/services/organization/organization_client.py +13 -1
  192. tccli/services/partners/partners_client.py +13 -1
  193. tccli/services/partners/v20180321/api.json +4 -4
  194. tccli/services/pds/pds_client.py +13 -1
  195. tccli/services/postgres/postgres_client.py +13 -1
  196. tccli/services/privatedns/privatedns_client.py +13 -1
  197. tccli/services/pts/pts_client.py +13 -1
  198. tccli/services/pts/v20210728/api.json +3 -0
  199. tccli/services/rce/rce_client.py +13 -1
  200. tccli/services/redis/redis_client.py +13 -1
  201. tccli/services/redis/v20180412/api.json +169 -163
  202. tccli/services/redis/v20180412/examples.json +3 -3
  203. tccli/services/region/region_client.py +13 -1
  204. tccli/services/rkp/rkp_client.py +13 -1
  205. tccli/services/rp/rp_client.py +13 -1
  206. tccli/services/rum/rum_client.py +13 -1
  207. tccli/services/scf/scf_client.py +13 -1
  208. tccli/services/ses/ses_client.py +13 -1
  209. tccli/services/smh/smh_client.py +13 -1
  210. tccli/services/smop/smop_client.py +13 -1
  211. tccli/services/smpn/smpn_client.py +13 -1
  212. tccli/services/sms/sms_client.py +13 -1
  213. tccli/services/soe/soe_client.py +13 -1
  214. tccli/services/solar/solar_client.py +13 -1
  215. tccli/services/sqlserver/sqlserver_client.py +13 -1
  216. tccli/services/ssa/ssa_client.py +13 -1
  217. tccli/services/ssl/ssl_client.py +13 -1
  218. tccli/services/sslpod/sslpod_client.py +13 -1
  219. tccli/services/ssm/ssm_client.py +13 -1
  220. tccli/services/sts/sts_client.py +13 -1
  221. tccli/services/svp/svp_client.py +13 -1
  222. tccli/services/svp/v20240125/api.json +27 -27
  223. tccli/services/svp/v20240125/examples.json +1 -1
  224. tccli/services/taf/taf_client.py +13 -1
  225. tccli/services/tag/tag_client.py +13 -1
  226. tccli/services/tan/tan_client.py +13 -1
  227. tccli/services/tat/tat_client.py +13 -1
  228. tccli/services/tat/v20201028/api.json +5 -5
  229. tccli/services/tav/tav_client.py +13 -1
  230. tccli/services/tbaas/tbaas_client.py +13 -1
  231. tccli/services/tbm/tbm_client.py +13 -1
  232. tccli/services/tbp/tbp_client.py +13 -1
  233. tccli/services/tcaplusdb/tcaplusdb_client.py +13 -1
  234. tccli/services/tcb/tcb_client.py +13 -1
  235. tccli/services/tcbr/tcbr_client.py +13 -1
  236. tccli/services/tcex/tcex_client.py +13 -1
  237. tccli/services/tchd/tchd_client.py +13 -1
  238. tccli/services/tci/tci_client.py +13 -1
  239. tccli/services/tcm/tcm_client.py +13 -1
  240. tccli/services/tcr/tcr_client.py +13 -1
  241. tccli/services/tcss/tcss_client.py +13 -1
  242. tccli/services/tdcpg/tdcpg_client.py +13 -1
  243. tccli/services/tdid/tdid_client.py +13 -1
  244. tccli/services/tdmq/tdmq_client.py +13 -1
  245. tccli/services/tdmq/v20200217/api.json +1 -1
  246. tccli/services/tds/tds_client.py +13 -1
  247. tccli/services/tem/tem_client.py +13 -1
  248. tccli/services/teo/teo_client.py +13 -1
  249. tccli/services/thpc/thpc_client.py +13 -1
  250. tccli/services/tia/tia_client.py +13 -1
  251. tccli/services/tic/tic_client.py +13 -1
  252. tccli/services/ticm/ticm_client.py +13 -1
  253. tccli/services/tics/tics_client.py +13 -1
  254. tccli/services/tiems/tiems_client.py +13 -1
  255. tccli/services/tiia/tiia_client.py +13 -1
  256. tccli/services/tione/tione_client.py +13 -1
  257. tccli/services/tiw/tiw_client.py +13 -1
  258. tccli/services/tke/tke_client.py +13 -1
  259. tccli/services/tke/v20220501/api.json +2 -2
  260. tccli/services/tkgdq/tkgdq_client.py +13 -1
  261. tccli/services/tms/tms_client.py +13 -1
  262. tccli/services/tmt/tmt_client.py +13 -1
  263. tccli/services/tourism/tourism_client.py +13 -1
  264. tccli/services/trdp/trdp_client.py +13 -1
  265. tccli/services/trocket/trocket_client.py +13 -1
  266. tccli/services/trp/trp_client.py +13 -1
  267. tccli/services/trro/trro_client.py +13 -1
  268. tccli/services/trtc/trtc_client.py +13 -1
  269. tccli/services/tse/tse_client.py +13 -1
  270. tccli/services/tse/v20201207/api.json +199 -12
  271. tccli/services/tsf/tsf_client.py +13 -1
  272. tccli/services/tsi/tsi_client.py +13 -1
  273. tccli/services/tsw/tsw_client.py +13 -1
  274. tccli/services/tts/tts_client.py +13 -1
  275. tccli/services/ump/ump_client.py +13 -1
  276. tccli/services/vcg/v20240404/api.json +1 -1
  277. tccli/services/vcg/v20240404/examples.json +4 -4
  278. tccli/services/vcg/vcg_client.py +13 -1
  279. tccli/services/vclm/vclm_client.py +13 -1
  280. tccli/services/vdb/vdb_client.py +13 -1
  281. tccli/services/vm/vm_client.py +13 -1
  282. tccli/services/vms/vms_client.py +13 -1
  283. tccli/services/vod/vod_client.py +13 -1
  284. tccli/services/vpc/v20170312/api.json +492 -66
  285. tccli/services/vpc/v20170312/examples.json +59 -21
  286. tccli/services/vpc/vpc_client.py +225 -1
  287. tccli/services/vrs/vrs_client.py +13 -1
  288. tccli/services/vtc/vtc_client.py +13 -1
  289. tccli/services/waf/waf_client.py +13 -1
  290. tccli/services/wav/wav_client.py +13 -1
  291. tccli/services/wedata/wedata_client.py +13 -1
  292. tccli/services/weilingwith/weilingwith_client.py +13 -1
  293. tccli/services/wss/wss_client.py +13 -1
  294. tccli/services/yinsuda/yinsuda_client.py +13 -1
  295. tccli/services/youmall/youmall_client.py +13 -1
  296. tccli/services/yunjing/yunjing_client.py +13 -1
  297. tccli/services/yunsou/yunsou_client.py +13 -1
  298. tccli/utils.py +8 -0
  299. {tccli-3.0.1217.1.dist-info → tccli-3.0.1219.1.dist-info}/METADATA +2 -2
  300. {tccli-3.0.1217.1.dist-info → tccli-3.0.1219.1.dist-info}/RECORD +303 -299
  301. {tccli-3.0.1217.1.dist-info → tccli-3.0.1219.1.dist-info}/WHEEL +0 -0
  302. {tccli-3.0.1217.1.dist-info → tccli-3.0.1219.1.dist-info}/entry_points.txt +0 -0
  303. {tccli-3.0.1217.1.dist-info → tccli-3.0.1219.1.dist-info}/license_files/LICENSE +0 -0
@@ -156,7 +156,7 @@
156
156
  {
157
157
  "document": "获取账单资源汇总",
158
158
  "input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOrganizationBillResourceSummary\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 1,\n \"Month\": \"2023-08\",\n \"NeedRecordNum\": 1,\n \"ResourceId\": \"cdb-0a90mrac\"\n}",
159
- "output": "{\n \"Response\": {\n \"RequestId\": \"0a27bddd-8683-4187-b9c0-7d407a2c818f\",\n \"ResourceSummarySet\": [\n {\n \"ActionTypeName\": \"包年包月续费\",\n \"BusinessCode\": \"p_cdb\",\n \"BusinessCodeName\": \"云数据库MySQL\",\n \"CashPayAmount\": \"11.56675785\",\n \"ConfigDesc\": \"云数据库MySQL-CPU: 1 核\",\n \"Discount\": \"0.325825\",\n \"ExtendField1\": \"vpc: vpc-l0u15j26,Default-VPC\",\n \"ExtendField2\": \"vip: 172.27.0.8\",\n \"ExtendField3\": \"-\",\n \"ExtendField4\": \"-\",\n \"ExtendField5\": \"-\",\n \"FeeBeginTime\": \"2023-08-07 10:58:41\",\n \"FeeEndTime\": \"2023-09-07 10:58:41\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"InstanceType\": \"-\",\n \"OperateUin\": \"700000686592\",\n \"OrderId\": \"20230807867037044170861\",\n \"OriginalCostWithRI\": \"0.00000000\",\n \"OriginalCostWithSP\": \"0.00000000\",\n \"OwnerUin\": \"700000686592\",\n \"PayModeName\": \"包年包月\",\n \"PayTime\": \"2023-08-07 03:42:18\",\n \"ProductCode\": \"sp_cdb_master\",\n \"ProductCodeName\": \"云数据库MySQL-高可用版-通用型\",\n \"ProjectName\": \"默认项目\",\n \"RealTotalCost\": \"11.56675785\",\n \"ReduceType\": \"折扣\",\n \"RegionId\": 16,\n \"RegionName\": \"西南地区(成都)\",\n \"ResourceId\": \"cdb-0a90mrac\",\n \"ResourceName\": \"云数据库mysql-test7\",\n \"SPDeduction\": \"0.00000000\",\n \"Tags\": [],\n \"TotalCost\": \"35.5\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\",\n \"ZoneName\": \"成都一区\"\n }\n ],\n \"Total\": 3\n }\n}",
159
+ "output": "{\n \"Response\": {\n \"RequestId\": \"0a27bddd-8683-4187-b9c0-7d407a2c818f\",\n \"ResourceSummarySet\": [\n {\n \"ActionTypeName\": \"包年包月续费\",\n \"BusinessCode\": \"p_cdb\",\n \"BusinessCodeName\": \"云数据库MySQL\",\n \"CashPayAmount\": \"11.56675785\",\n \"ConfigDesc\": \"云数据库MySQL-CPU: 1 核\",\n \"Discount\": \"0.325825\",\n \"ExtendField1\": \"vpc: vpc-l0u15j26,Default-VPC\",\n \"ExtendField2\": \"vip: 172.27.0.8\",\n \"ExtendField3\": \"extend info\",\n \"ExtendField4\": \"extend info\",\n \"ExtendField5\": \"extend info\",\n \"FeeBeginTime\": \"2023-08-07 10:58:41\",\n \"FeeEndTime\": \"2023-09-07 10:58:41\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"InstanceType\": \"it\",\n \"OperateUin\": \"700000686592\",\n \"OrderId\": \"20230807867037044170861\",\n \"OriginalCostWithRI\": \"0.00000000\",\n \"OriginalCostWithSP\": \"0.00000000\",\n \"OwnerUin\": \"700000686592\",\n \"PayModeName\": \"包年包月\",\n \"PayTime\": \"2023-08-07 03:42:18\",\n \"ProductCode\": \"sp_cdb_master\",\n \"ProductCodeName\": \"云数据库MySQL-高可用版-通用型\",\n \"ProjectName\": \"默认项目\",\n \"RealTotalCost\": \"11.56675785\",\n \"ReduceType\": \"折扣\",\n \"RegionId\": 16,\n \"RegionName\": \"西南地区(成都)\",\n \"ResourceId\": \"cdb-0a90mrac\",\n \"ResourceName\": \"云数据库mysql-test7\",\n \"SPDeduction\": \"0.00000000\",\n \"Tags\": [],\n \"TotalCost\": \"35.5\",\n \"TransferPayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\",\n \"ZoneName\": \"成都一区\"\n }\n ],\n \"Total\": 3\n }\n}",
160
160
  "title": "获取账单资源汇总"
161
161
  }
162
162
  ],
@@ -182,7 +182,7 @@
182
182
  {
183
183
  "document": "获取按标签维度汇总费用明细",
184
184
  "input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillSummary\n<公共请求参数>\n\n{\n \"Month\": \"2023-05\",\n \"GroupType\": \"tag\",\n \"TagKey\": [\n \"测试键\",\n \"部门分类\"\n ]\n}",
185
- "output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"fdb44563-4a70-4c41-88a4-68b628a221a8\",\n \"SummaryDetail\": [\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_tencentmeeting_saas\",\n \"BusinessCodeName\": \"腾讯会议(SAAS版)\",\n \"CashPayAmount\": \"3284.27\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"3284.27\",\n \"TotalCost\": \"7308.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"云硬盘CBS\",\n \"CashPayAmount\": \"2583.11\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"2583.43\",\n \"TotalCost\": \"6383.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n }\n ],\n \"CashPayAmount\": \"5867.38\",\n \"GroupKey\": \"测试键\",\n \"GroupValue\": \"\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"5867.70\",\n \"TotalCost\": \"13691.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_nat\",\n \"BusinessCodeName\": \"NAT网关\",\n \"CashPayAmount\": \"127.44\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"127.44\",\n \"TotalCost\": \"188.93\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cls\",\n \"BusinessCodeName\": \"日志服务CLS\",\n \"CashPayAmount\": \"0.71\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"0.71\",\n \"TotalCost\": \"1.08\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"128.15\",\n \"GroupKey\": \"测试键\",\n \"GroupValue\": \"123456\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"128.15\",\n \"TotalCost\": \"190.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_tencentmeeting_saas\",\n \"BusinessCodeName\": \"腾讯会议(SAAS版)\",\n \"CashPayAmount\": \"3284.27\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"3284.27\",\n \"TotalCost\": \"7308.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"云硬盘CBS\",\n \"CashPayAmount\": \"2583.11\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"2583.43\",\n \"TotalCost\": \"6383.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n }\n ],\n \"CashPayAmount\": \"5867.38\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"5867.70\",\n \"TotalCost\": \"13691.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_ckafka\",\n \"BusinessCodeName\": \"消息服务CKafka\",\n \"CashPayAmount\": \"1076.00\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"1076.00\",\n \"TotalCost\": \"1076.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"1076.00\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"采购部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"1076.00\",\n \"TotalCost\": \"1076.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_yunjing\",\n \"BusinessCodeName\": \"T-Sec-主机安全(CWP)\",\n \"CashPayAmount\": \"123.18\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"123.18\",\n \"TotalCost\": \"180.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"123.18\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"行政部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"123.18\",\n \"TotalCost\": \"180.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_clb\",\n \"BusinessCodeName\": \"负载均衡CLB\",\n \"CashPayAmount\": \"38.31\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"38.31\",\n \"TotalCost\": \"112.20\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cos\",\n \"BusinessCodeName\": \"COS 对象存储\",\n \"CashPayAmount\": \"0.00\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"0.00\",\n \"TotalCost\": \"0.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"38.31\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"业务部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"38.31\",\n \"TotalCost\": \"112.20\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_cvm\",\n \"BusinessCodeName\": \"云服务器CVM\",\n \"CashPayAmount\": \"-43.67\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"-43.67\",\n \"TotalCost\": \"-43.67\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"-43.67\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"财务部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"-43.67\",\n \"TotalCost\": \"-43.67\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ]\n }\n}",
185
+ "output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"fdb44563-4a70-4c41-88a4-68b628a221a8\",\n \"SummaryDetail\": [\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_tencentmeeting_saas\",\n \"BusinessCodeName\": \"腾讯会议(SAAS版)\",\n \"CashPayAmount\": \"3284.27\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"3284.27\",\n \"TotalCost\": \"7308.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"云硬盘CBS\",\n \"CashPayAmount\": \"2583.11\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"2583.43\",\n \"TotalCost\": \"6383.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n }\n ],\n \"CashPayAmount\": \"5867.38\",\n \"GroupKey\": \"测试键\",\n \"GroupValue\": \"test_v\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"5867.70\",\n \"TotalCost\": \"13691.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_nat\",\n \"BusinessCodeName\": \"NAT网关\",\n \"CashPayAmount\": \"127.44\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"127.44\",\n \"TotalCost\": \"188.93\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cls\",\n \"BusinessCodeName\": \"日志服务CLS\",\n \"CashPayAmount\": \"0.71\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"0.71\",\n \"TotalCost\": \"1.08\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"128.15\",\n \"GroupKey\": \"测试键\",\n \"GroupValue\": \"test_v\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"128.15\",\n \"TotalCost\": \"190.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_tencentmeeting_saas\",\n \"BusinessCodeName\": \"腾讯会议(SAAS版)\",\n \"CashPayAmount\": \"3284.27\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"3284.27\",\n \"TotalCost\": \"7308.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"云硬盘CBS\",\n \"CashPayAmount\": \"2583.11\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"2583.43\",\n \"TotalCost\": \"6383.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n }\n ],\n \"CashPayAmount\": \"5867.38\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"test_v \",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"5867.70\",\n \"TotalCost\": \"13691.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_ckafka\",\n \"BusinessCodeName\": \"消息服务CKafka\",\n \"CashPayAmount\": \"1076.00\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"1076.00\",\n \"TotalCost\": \"1076.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"1076.00\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"采购部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"1076.00\",\n \"TotalCost\": \"1076.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_yunjing\",\n \"BusinessCodeName\": \"T-Sec-主机安全(CWP)\",\n \"CashPayAmount\": \"123.18\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"123.18\",\n \"TotalCost\": \"180.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"123.18\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"行政部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"123.18\",\n \"TotalCost\": \"180.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_clb\",\n \"BusinessCodeName\": \"负载均衡CLB\",\n \"CashPayAmount\": \"38.31\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"38.31\",\n \"TotalCost\": \"112.20\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cos\",\n \"BusinessCodeName\": \"COS 对象存储\",\n \"CashPayAmount\": \"0.00\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"0.00\",\n \"TotalCost\": \"0.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"38.31\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"业务部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"38.31\",\n \"TotalCost\": \"112.20\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_cvm\",\n \"BusinessCodeName\": \"云服务器CVM\",\n \"CashPayAmount\": \"-43.67\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"-43.67\",\n \"TotalCost\": \"-43.67\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"-43.67\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"财务部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"-43.67\",\n \"TotalCost\": \"-43.67\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ]\n }\n}",
186
186
  "title": "获取按标签维度汇总费用明细"
187
187
  },
188
188
  {
@@ -254,7 +254,7 @@
254
254
  {
255
255
  "document": "获取按标签维度汇总费用明细",
256
256
  "input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillSummary\n<公共请求参数>\n\n{\n \"Month\": \"2023-05\",\n \"GroupType\": \"tag\",\n \"TagKey\": [\n \"测试键\",\n \"部门分类\"\n ]\n}",
257
- "output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"fdb44563-4a70-4c41-88a4-68b628a221a8\",\n \"SummaryDetail\": [\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_tencentmeeting_saas\",\n \"BusinessCodeName\": \"腾讯会议(SAAS版)\",\n \"CashPayAmount\": \"3284.27\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"3284.27\",\n \"TotalCost\": \"7308.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"云硬盘CBS\",\n \"CashPayAmount\": \"2583.11\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"2583.43\",\n \"TotalCost\": \"6383.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n }\n ],\n \"CashPayAmount\": \"5867.38\",\n \"GroupKey\": \"测试键\",\n \"GroupValue\": \"\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"5867.70\",\n \"TotalCost\": \"13691.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_nat\",\n \"BusinessCodeName\": \"NAT网关\",\n \"CashPayAmount\": \"127.44\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"127.44\",\n \"TotalCost\": \"188.93\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cls\",\n \"BusinessCodeName\": \"日志服务CLS\",\n \"CashPayAmount\": \"0.71\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"0.71\",\n \"TotalCost\": \"1.08\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"128.15\",\n \"GroupKey\": \"测试键\",\n \"GroupValue\": \"123456\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"128.15\",\n \"TotalCost\": \"190.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_tencentmeeting_saas\",\n \"BusinessCodeName\": \"腾讯会议(SAAS版)\",\n \"CashPayAmount\": \"3284.27\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"3284.27\",\n \"TotalCost\": \"7308.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"云硬盘CBS\",\n \"CashPayAmount\": \"2583.11\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"2583.43\",\n \"TotalCost\": \"6383.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n }\n ],\n \"CashPayAmount\": \"5867.38\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"5867.70\",\n \"TotalCost\": \"13691.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_ckafka\",\n \"BusinessCodeName\": \"消息服务CKafka\",\n \"CashPayAmount\": \"1076.00\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"1076.00\",\n \"TotalCost\": \"1076.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"1076.00\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"采购部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"1076.00\",\n \"TotalCost\": \"1076.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_yunjing\",\n \"BusinessCodeName\": \"T-Sec-主机安全(CWP)\",\n \"CashPayAmount\": \"123.18\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"123.18\",\n \"TotalCost\": \"180.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"123.18\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"行政部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"123.18\",\n \"TotalCost\": \"180.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_clb\",\n \"BusinessCodeName\": \"负载均衡CLB\",\n \"CashPayAmount\": \"38.31\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"38.31\",\n \"TotalCost\": \"112.20\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cos\",\n \"BusinessCodeName\": \"COS 对象存储\",\n \"CashPayAmount\": \"0.00\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"0.00\",\n \"TotalCost\": \"0.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"38.31\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"业务部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"38.31\",\n \"TotalCost\": \"112.20\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_cvm\",\n \"BusinessCodeName\": \"云服务器CVM\",\n \"CashPayAmount\": \"-43.67\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"-43.67\",\n \"TotalCost\": \"-43.67\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"-43.67\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"财务部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"-43.67\",\n \"TotalCost\": \"-43.67\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ]\n }\n}",
257
+ "output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RequestId\": \"fdb44563-4a70-4c41-88a4-68b628a221a8\",\n \"SummaryDetail\": [\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_tencentmeeting_saas\",\n \"BusinessCodeName\": \"腾讯会议(SAAS版)\",\n \"CashPayAmount\": \"3284.27\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"3284.27\",\n \"TotalCost\": \"7308.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"云硬盘CBS\",\n \"CashPayAmount\": \"2583.11\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"2583.43\",\n \"TotalCost\": \"6383.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n }\n ],\n \"CashPayAmount\": \"5867.38\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"采购部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"5867.70\",\n \"TotalCost\": \"13691.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_nat\",\n \"BusinessCodeName\": \"NAT网关\",\n \"CashPayAmount\": \"127.44\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"127.44\",\n \"TotalCost\": \"188.93\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cls\",\n \"BusinessCodeName\": \"日志服务CLS\",\n \"CashPayAmount\": \"0.71\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"0.71\",\n \"TotalCost\": \"1.08\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"128.15\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"采购部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"128.15\",\n \"TotalCost\": \"190.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_tencentmeeting_saas\",\n \"BusinessCodeName\": \"腾讯会议(SAAS版)\",\n \"CashPayAmount\": \"3284.27\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"3284.27\",\n \"TotalCost\": \"7308.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cbs\",\n \"BusinessCodeName\": \"云硬盘CBS\",\n \"CashPayAmount\": \"2583.11\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"2583.43\",\n \"TotalCost\": \"6383.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n }\n ],\n \"CashPayAmount\": \"5867.38\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"采购部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"5867.70\",\n \"TotalCost\": \"13691.01\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.32\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_ckafka\",\n \"BusinessCodeName\": \"消息服务CKafka\",\n \"CashPayAmount\": \"1076.00\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"1076.00\",\n \"TotalCost\": \"1076.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"1076.00\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"采购部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"1076.00\",\n \"TotalCost\": \"1076.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_yunjing\",\n \"BusinessCodeName\": \"T-Sec-主机安全(CWP)\",\n \"CashPayAmount\": \"123.18\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"123.18\",\n \"TotalCost\": \"180.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"123.18\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"行政部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"123.18\",\n \"TotalCost\": \"180.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_clb\",\n \"BusinessCodeName\": \"负载均衡CLB\",\n \"CashPayAmount\": \"38.31\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"38.31\",\n \"TotalCost\": \"112.20\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"BusinessCode\": \"p_cos\",\n \"BusinessCodeName\": \"COS 对象存储\",\n \"CashPayAmount\": \"0.00\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"0.00\",\n \"TotalCost\": \"0.00\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"38.31\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"业务部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"38.31\",\n \"TotalCost\": \"112.20\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n },\n {\n \"Business\": [\n {\n \"BusinessCode\": \"p_cvm\",\n \"BusinessCodeName\": \"云服务器CVM\",\n \"CashPayAmount\": \"-43.67\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"-43.67\",\n \"TotalCost\": \"-43.67\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ],\n \"CashPayAmount\": \"-43.67\",\n \"GroupKey\": \"部门分类\",\n \"GroupValue\": \"财务部\",\n \"IncentivePayAmount\": \"0.00\",\n \"RealTotalCost\": \"-43.67\",\n \"TotalCost\": \"-43.67\",\n \"TransferPayAmount\": \"0.00\",\n \"VoucherPayAmount\": \"0.00\"\n }\n ]\n }\n}",
258
258
  "title": "获取按标签维度汇总费用明细"
259
259
  },
260
260
  {
@@ -268,7 +268,7 @@
268
268
  {
269
269
  "document": "",
270
270
  "input": "https://billing.tencentcloudapi.com/?Action=DescribeCostDetail\n&Offset=0\n&Limit=10\n&BeginTime=2018-11-01 00:00:00\n&EndTime=2018-11-01 23:59:59\n&NeedRecordNum=1\n&<公共请求参数>",
271
- "output": "{\n \"Response\": {\n \"DetailSet\": [\n {\n \"PayerUin\": \"abc\",\n \"BusinessCodeName\": \"abc\",\n \"ProductCodeName\": \"abc\",\n \"PayModeName\": \"abc\",\n \"ProjectName\": \"abc\",\n \"RegionName\": \"abc\",\n \"ZoneName\": \"abc\",\n \"ResourceId\": \"abc\",\n \"ResourceName\": \"abc\",\n \"ActionTypeName\": \"abc\",\n \"OrderId\": \"abc\",\n \"BillId\": \"abc\",\n \"FeeBeginTime\": \"abc\",\n \"FeeEndTime\": \"abc\",\n \"ComponentSet\": [\n {\n \"ComponentCodeName\": \"abc\",\n \"ItemCodeName\": \"abc\",\n \"SinglePrice\": \"abc\",\n \"PriceUnit\": \"abc\",\n \"UsedAmount\": \"abc\",\n \"UsedAmountUnit\": \"abc\",\n \"Cost\": \"abc\",\n \"Discount\": \"abc\",\n \"RealCost\": \"abc\",\n \"VoucherPayAmount\": \"abc\",\n \"CashPayAmount\": \"abc\",\n \"IncentivePayAmount\": \"abc\"\n }\n ],\n \"ProductCode\": \"abc\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"abc\"\n }\n}",
271
+ "output": "{\n \"Response\": {\n \"DetailSet\": [\n {\n \"PayerUin\": \"10002011014\",\n \"BusinessCodeName\": \"COS 对象存储\",\n \"ProductCodeName\": \"COS 流量\",\n \"PayModeName\": \"按量计费\",\n \"ProjectName\": \"默认项目\",\n \"RegionName\": \"华南地区(广州)\",\n \"ZoneName\": \"其他\",\n \"ResourceId\": \"cpn-dev-238-ap-beijing-1000000086\",\n \"ResourceName\": \"cpn-dev-238-ap-beijing\",\n \"ActionTypeName\": \"按量计费日结\",\n \"OrderId\": \"20211009400006732337101\",\n \"BillId\": \"2021100940000673233\",\n \"FeeBeginTime\": \"2021-11-03 00:00:00\",\n \"FeeEndTime\": \"2021-11-03 23:59:59\",\n \"ComponentSet\": [\n {\n \"ComponentCodeName\": \"外网下行流量\",\n \"ItemCodeName\": \"COS 外网下行流量\",\n \"SinglePrice\": \"0.50000000\",\n \"PriceUnit\": \"元/GB/天\",\n \"UsedAmount\": \"0.0020975\",\n \"UsedAmountUnit\": \"GB\",\n \"Cost\": \"0.00104875\",\n \"Discount\": \"1\",\n \"RealCost\": \"0.00104875\",\n \"VoucherPayAmount\": \"0\",\n \"CashPayAmount\": \"0.00104875\",\n \"IncentivePayAmount\": \"0\"\n }\n ],\n \"ProductCode\": \"sp_cos_bw\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"51db5fda-deac-4d51-8464-d23c32791abd\"\n }\n}",
272
272
  "title": "查询消耗明细数据"
273
273
  }
274
274
  ],
@@ -284,7 +284,7 @@
284
284
  {
285
285
  "document": "获取按产品汇总消耗详情",
286
286
  "input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCostSummaryByProduct\n<公共请求参数>\n\n{\n \"NeedRecordNum\": \"1\",\n \"EndTime\": \"2018-11\",\n \"Limit\": \"1\",\n \"BeginTime\": \"2018-11\",\n \"Offset\": \"0\"\n}",
287
- "output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RecordNum\": 2,\n \"Total\": {\n \"RealTotalCost\": \"220.67\"\n },\n \"Data\": [\n {\n \"BusinessCode\": \"p_cvm\",\n \"BusinessCodeName\": \"云服务器\",\n \"RealTotalCost\": \"220.67\",\n \"Trend\": {\n \"Type\": \"postPay\",\n \"Value\": \"test\"\n }\n }\n ],\n \"RequestId\": \"59a408bc-5d95-4d40-bf21-58e5e8d48dd0\"\n }\n}",
287
+ "output": "{\n \"Response\": {\n \"Ready\": 1,\n \"Total\": {\n \"RealTotalCost\": \"4.20000000\"\n },\n \"Data\": [\n {\n \"BusinessCode\": \"p_clb\",\n \"BusinessCodeName\": \"负载均衡CLB\",\n \"RealTotalCost\": \"4.20000000\",\n \"Trend\": {\n \"Type\": \"upward\",\n \"Value\": \"1.72\"\n },\n \"CashPayAmount\": \"4.20000000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"RegionName\": \"其他\"\n }\n ],\n \"RecordNum\": 1,\n \"RequestId\": \"078ec9c607a2486099e06e04a99502db\"\n }\n}",
288
288
  "title": "获取按产品汇总消耗详情"
289
289
  }
290
290
  ],
@@ -292,7 +292,7 @@
292
292
  {
293
293
  "document": "获取按项目汇总消耗详情",
294
294
  "input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCostSummaryByProject\n<公共请求参数>\n\n{\n \"NeedRecordNum\": \"1\",\n \"EndTime\": \"2018-11\",\n \"Limit\": \"1\",\n \"BeginTime\": \"2018-11\",\n \"Offset\": \"0\"\n}",
295
- "output": "{\n \"Response\": {\n \"Ready\": 1,\n \"Total\": {\n \"RealTotalCost\": \"abc\"\n },\n \"Data\": [\n {\n \"ProjectId\": \"abc\",\n \"ProjectName\": \"abc\",\n \"RealTotalCost\": \"abc\",\n \"Trend\": {\n \"Type\": \"abc\",\n \"Value\": \"abc\"\n },\n \"Business\": [\n {\n \"BusinessCode\": \"abc\",\n \"BusinessCodeName\": \"abc\",\n \"RealTotalCost\": \"abc\",\n \"Trend\": {\n \"Type\": \"abc\",\n \"Value\": \"abc\"\n },\n \"CashPayAmount\": \"abc\",\n \"IncentivePayAmount\": \"abc\",\n \"VoucherPayAmount\": \"abc\",\n \"TransferPayAmount\": \"abc\"\n }\n ],\n \"CashPayAmount\": \"abc\",\n \"IncentivePayAmount\": \"abc\",\n \"VoucherPayAmount\": \"abc\",\n \"TransferPayAmount\": \"abc\"\n }\n ],\n \"RecordNum\": 1,\n \"RequestId\": \"abc\"\n }\n}",
295
+ "output": "{\n \"Response\": {\n \"Ready\": 1,\n \"Total\": {\n \"RealTotalCost\": \"4.20000000\"\n },\n \"Data\": [\n {\n \"ProjectId\": \"0\",\n \"ProjectName\": \"项目名称\",\n \"RealTotalCost\": \"4.20000000\",\n \"Trend\": {\n \"Type\": \"upward\",\n \"Value\": \"1.72\"\n },\n \"Business\": [\n {\n \"BusinessCode\": \"p_clb\",\n \"BusinessCodeName\": \"负载均衡CLB\",\n \"RealTotalCost\": \"4.20000000\",\n \"Trend\": {\n \"Type\": \"upward\",\n \"Value\": \"1.72\"\n },\n \"CashPayAmount\": \"0.00000000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\",\n \"TransferPayAmount\": \"0.00000000\"\n }\n ],\n \"CashPayAmount\": \"0.00000000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"VoucherPayAmount\": \"0.00000000\",\n \"TransferPayAmount\": \"ab0.00000000c\"\n }\n ],\n \"RecordNum\": 1,\n \"RequestId\": \"078ec9c607a2486099e06e04a99502db\"\n }\n}",
296
296
  "title": "获取按项目汇总消耗详情"
297
297
  }
298
298
  ],
@@ -308,7 +308,7 @@
308
308
  {
309
309
  "document": "获取按资源汇总消耗详情",
310
310
  "input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCostSummaryByResource\n<公共请求参数>\n\n{\n \"EndTime\": \"2018-11\",\n \"Limit\": \"1\",\n \"BeginTime\": \"2018-11\",\n \"Offset\": \"0\"\n}",
311
- "output": "{\n \"Response\": {\n \"Ready\": 1,\n \"Total\": {\n \"RealTotalCost\": \"abc\"\n },\n \"ConditionValue\": {\n \"Business\": [\n {\n \"BusinessCode\": \"abc\",\n \"BusinessCodeName\": \"abc\"\n }\n ],\n \"Project\": [\n {\n \"ProjectId\": \"abc\",\n \"ProjectName\": \"abc\"\n }\n ],\n \"Region\": [\n {\n \"RegionId\": \"abc\",\n \"RegionName\": \"abc\"\n }\n ],\n \"PayMode\": [\n {\n \"PayMode\": \"abc\",\n \"PayModeName\": \"abc\"\n }\n ]\n },\n \"RecordNum\": 1,\n \"Data\": [\n {\n \"ResourceId\": \"abc\",\n \"ResourceName\": \"abc\",\n \"RealTotalCost\": \"abc\",\n \"CashPayAmount\": \"abc\",\n \"ProjectId\": \"abc\",\n \"ProjectName\": \"abc\",\n \"RegionId\": \"abc\",\n \"RegionName\": \"abc\",\n \"PayMode\": \"abc\",\n \"PayModeName\": \"abc\",\n \"BusinessCode\": \"abc\",\n \"BusinessCodeName\": \"abc\",\n \"ConsumptionTypeName\": \"abc\",\n \"RealCost\": \"abc\",\n \"FeeBeginTime\": \"abc\",\n \"FeeEndTime\": \"abc\",\n \"DayDiff\": \"abc\",\n \"DailyTotalCost\": \"abc\",\n \"OrderId\": \"abc\",\n \"VoucherPayAmount\": \"abc\",\n \"IncentivePayAmount\": \"abc\",\n \"TransferPayAmount\": \"abc\",\n \"PayerUin\": \"abc\",\n \"OwnerUin\": \"abc\",\n \"OperateUin\": \"abc\",\n \"ProductCode\": \"abc\",\n \"ProductCodeName\": \"abc\",\n \"RegionType\": \"abc\",\n \"RegionTypeName\": \"abc\",\n \"Extend1\": \"abc\",\n \"Extend2\": \"abc\",\n \"Extend3\": \"abc\",\n \"Extend4\": \"abc\",\n \"Extend5\": \"abc\",\n \"InstanceType\": \"abc\",\n \"InstanceTypeName\": \"abc\",\n \"PayTime\": \"abc\",\n \"ZoneName\": \"abc\",\n \"ComponentConfig\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
311
+ "output": "{\n \"Response\": {\n \"Ready\": 1,\n \"RecordNum\": 4,\n \"ConditionValue\": {\n \"Business\": [\n {\n \"BusinessCode\": \"p_cdn\",\n \"BusinessCodeName\": \"内容分发网络 CDN\"\n }\n ],\n \"Project\": [\n {\n \"ProjectId\": \"0\",\n \"ProjectName\": \"默认项目\"\n }\n ],\n \"Region\": [\n {\n \"RegionId\": \"0\",\n \"RegionName\": \"其他\"\n }\n ],\n \"PayMode\": [\n {\n \"PayMode\": \"postPay\",\n \"PayModeName\": \"按量计费\"\n }\n ]\n },\n \"Total\": {\n \"RealTotalCost\": \"0.07\"\n },\n \"Data\": [\n {\n \"OwnerUin\": \"10002011014\",\n \"PayerUin\": \"10002011014\",\n \"OperateUin\": \"10002011014\",\n \"BusinessCode\": \"p_cdn\",\n \"BusinessCodeName\": \"内容分发网络 CDN\",\n \"ProductCode\": \"sp_cdn_ov\",\n \"ProductCodeName\": \"中国境外CDN\",\n \"ResourceId\": \"1300342678_1002522_102391_sv_cdn_ov_hour_flux_AS1_1\",\n \"ResourceName\": \"未命名\",\n \"RealTotalCost\": \"0.07\",\n \"RealCost\": \"0.08\",\n \"CashPayAmount\": \"0.06570339\",\n \"RegionId\": \"1001\",\n \"RegionName\": \"亚太地区(亚太一区)\",\n \"RegionType\": \"international\",\n \"RegionTypeName\": \"国际\",\n \"PayMode\": \"postPay\",\n \"PayModeName\": \"按量计费\",\n \"ProjectId\": \"0\",\n \"ProjectName\": \"默认项目\",\n \"FeeBeginTime\": \"2024-11-01 08:00:00\",\n \"FeeEndTime\": \"2024-11-17 19:59:59\",\n \"DayDiff\": \"17\",\n \"DailyTotalCost\": \"0.00386491\",\n \"ConsumptionTypeName\": \"按量计费小时结\",\n \"OrderId\": \"-\",\n \"VoucherPayAmount\": \"0.00000000\",\n \"IncentivePayAmount\": \"0.00000000\",\n \"TransferPayAmount\": \"0.00000000\",\n \"Extend1\": \"\",\n \"Extend2\": \"\",\n \"Extend3\": \"\",\n \"Extend4\": \"\",\n \"Extend5\": \"\",\n \"InstanceType\": \"-\",\n \"InstanceTypeName\": \"-\",\n \"PayTime\": \"-\",\n \"ZoneName\": \"其他\",\n \"ComponentConfig\": \"海外CDN-按小时结算-流量: 0.00000533 GB\",\n \"Tags\": \"\"\n }\n ],\n \"RequestId\": \"4a3ec37d-7628-4e22-b9ab-08e696bcc1f2\"\n }\n}",
312
312
  "title": "获取按资源汇总消耗详情"
313
313
  }
314
314
  ],
@@ -361,7 +361,13 @@ def action_caller():
361
361
 
362
362
  def parse_global_arg(parsed_globals):
363
363
  g_param = parsed_globals
364
-
364
+ cvm_role_flag = True
365
+ for param in parsed_globals.keys():
366
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
367
+ OptionsDefine.RoleSessionName]:
368
+ if parsed_globals[param] is not None:
369
+ cvm_role_flag = False
370
+ break
365
371
  is_exist_profile = True
366
372
  if not parsed_globals["profile"]:
367
373
  is_exist_profile = False
@@ -392,6 +398,7 @@ def parse_global_arg(parsed_globals):
392
398
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
393
399
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
394
400
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
401
+ cvm_role_flag = False
395
402
 
396
403
  if os.environ.get(OptionsDefine.ENV_REGION):
397
404
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -399,6 +406,11 @@ def parse_global_arg(parsed_globals):
399
406
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
400
407
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
401
408
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
409
+ cvm_role_flag = False
410
+
411
+ if cvm_role_flag:
412
+ if "type" in cred and cred["type"] == "cvm-role":
413
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
402
414
 
403
415
  for param in g_param.keys():
404
416
  if g_param[param] is None:
@@ -2852,7 +2852,13 @@ def action_caller():
2852
2852
 
2853
2853
  def parse_global_arg(parsed_globals):
2854
2854
  g_param = parsed_globals
2855
-
2855
+ cvm_role_flag = True
2856
+ for param in parsed_globals.keys():
2857
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
2858
+ OptionsDefine.RoleSessionName]:
2859
+ if parsed_globals[param] is not None:
2860
+ cvm_role_flag = False
2861
+ break
2856
2862
  is_exist_profile = True
2857
2863
  if not parsed_globals["profile"]:
2858
2864
  is_exist_profile = False
@@ -2883,6 +2889,7 @@ def parse_global_arg(parsed_globals):
2883
2889
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
2884
2890
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
2885
2891
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
2892
+ cvm_role_flag = False
2886
2893
 
2887
2894
  if os.environ.get(OptionsDefine.ENV_REGION):
2888
2895
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -2890,6 +2897,11 @@ def parse_global_arg(parsed_globals):
2890
2897
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
2891
2898
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
2892
2899
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
2900
+ cvm_role_flag = False
2901
+
2902
+ if cvm_role_flag:
2903
+ if "type" in cred and cred["type"] == "cvm-role":
2904
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
2893
2905
 
2894
2906
  for param in g_param.keys():
2895
2907
  if g_param[param] is None:
@@ -2009,7 +2009,13 @@ def action_caller():
2009
2009
 
2010
2010
  def parse_global_arg(parsed_globals):
2011
2011
  g_param = parsed_globals
2012
-
2012
+ cvm_role_flag = True
2013
+ for param in parsed_globals.keys():
2014
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
2015
+ OptionsDefine.RoleSessionName]:
2016
+ if parsed_globals[param] is not None:
2017
+ cvm_role_flag = False
2018
+ break
2013
2019
  is_exist_profile = True
2014
2020
  if not parsed_globals["profile"]:
2015
2021
  is_exist_profile = False
@@ -2040,6 +2046,7 @@ def parse_global_arg(parsed_globals):
2040
2046
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
2041
2047
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
2042
2048
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
2049
+ cvm_role_flag = False
2043
2050
 
2044
2051
  if os.environ.get(OptionsDefine.ENV_REGION):
2045
2052
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -2047,6 +2054,11 @@ def parse_global_arg(parsed_globals):
2047
2054
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
2048
2055
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
2049
2056
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
2057
+ cvm_role_flag = False
2058
+
2059
+ if cvm_role_flag:
2060
+ if "type" in cred and cred["type"] == "cvm-role":
2061
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
2050
2062
 
2051
2063
  for param in g_param.keys():
2052
2064
  if g_param[param] is None:
@@ -1103,7 +1103,13 @@ def action_caller():
1103
1103
 
1104
1104
  def parse_global_arg(parsed_globals):
1105
1105
  g_param = parsed_globals
1106
-
1106
+ cvm_role_flag = True
1107
+ for param in parsed_globals.keys():
1108
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
1109
+ OptionsDefine.RoleSessionName]:
1110
+ if parsed_globals[param] is not None:
1111
+ cvm_role_flag = False
1112
+ break
1107
1113
  is_exist_profile = True
1108
1114
  if not parsed_globals["profile"]:
1109
1115
  is_exist_profile = False
@@ -1134,6 +1140,7 @@ def parse_global_arg(parsed_globals):
1134
1140
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
1135
1141
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
1136
1142
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
1143
+ cvm_role_flag = False
1137
1144
 
1138
1145
  if os.environ.get(OptionsDefine.ENV_REGION):
1139
1146
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -1141,6 +1148,11 @@ def parse_global_arg(parsed_globals):
1141
1148
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
1142
1149
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
1143
1150
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
1151
+ cvm_role_flag = False
1152
+
1153
+ if cvm_role_flag:
1154
+ if "type" in cred and cred["type"] == "cvm-role":
1155
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
1144
1156
 
1145
1157
  for param in g_param.keys():
1146
1158
  if g_param[param] is None:
@@ -2640,7 +2640,13 @@ def action_caller():
2640
2640
 
2641
2641
  def parse_global_arg(parsed_globals):
2642
2642
  g_param = parsed_globals
2643
-
2643
+ cvm_role_flag = True
2644
+ for param in parsed_globals.keys():
2645
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
2646
+ OptionsDefine.RoleSessionName]:
2647
+ if parsed_globals[param] is not None:
2648
+ cvm_role_flag = False
2649
+ break
2644
2650
  is_exist_profile = True
2645
2651
  if not parsed_globals["profile"]:
2646
2652
  is_exist_profile = False
@@ -2671,6 +2677,7 @@ def parse_global_arg(parsed_globals):
2671
2677
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
2672
2678
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
2673
2679
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
2680
+ cvm_role_flag = False
2674
2681
 
2675
2682
  if os.environ.get(OptionsDefine.ENV_REGION):
2676
2683
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -2678,6 +2685,11 @@ def parse_global_arg(parsed_globals):
2678
2685
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
2679
2686
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
2680
2687
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
2688
+ cvm_role_flag = False
2689
+
2690
+ if cvm_role_flag:
2691
+ if "type" in cred and cred["type"] == "cvm-role":
2692
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
2681
2693
 
2682
2694
  for param in g_param.keys():
2683
2695
  if g_param[param] is None:
@@ -3276,7 +3276,13 @@ def action_caller():
3276
3276
 
3277
3277
  def parse_global_arg(parsed_globals):
3278
3278
  g_param = parsed_globals
3279
-
3279
+ cvm_role_flag = True
3280
+ for param in parsed_globals.keys():
3281
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
3282
+ OptionsDefine.RoleSessionName]:
3283
+ if parsed_globals[param] is not None:
3284
+ cvm_role_flag = False
3285
+ break
3280
3286
  is_exist_profile = True
3281
3287
  if not parsed_globals["profile"]:
3282
3288
  is_exist_profile = False
@@ -3307,6 +3313,7 @@ def parse_global_arg(parsed_globals):
3307
3313
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
3308
3314
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
3309
3315
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
3316
+ cvm_role_flag = False
3310
3317
 
3311
3318
  if os.environ.get(OptionsDefine.ENV_REGION):
3312
3319
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -3314,6 +3321,11 @@ def parse_global_arg(parsed_globals):
3314
3321
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
3315
3322
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
3316
3323
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
3324
+ cvm_role_flag = False
3325
+
3326
+ if cvm_role_flag:
3327
+ if "type" in cred and cred["type"] == "cvm-role":
3328
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
3317
3329
 
3318
3330
  for param in g_param.keys():
3319
3331
  if g_param[param] is None:
@@ -149,7 +149,13 @@ def action_caller():
149
149
 
150
150
  def parse_global_arg(parsed_globals):
151
151
  g_param = parsed_globals
152
-
152
+ cvm_role_flag = True
153
+ for param in parsed_globals.keys():
154
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
155
+ OptionsDefine.RoleSessionName]:
156
+ if parsed_globals[param] is not None:
157
+ cvm_role_flag = False
158
+ break
153
159
  is_exist_profile = True
154
160
  if not parsed_globals["profile"]:
155
161
  is_exist_profile = False
@@ -180,6 +186,7 @@ def parse_global_arg(parsed_globals):
180
186
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
181
187
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
182
188
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
189
+ cvm_role_flag = False
183
190
 
184
191
  if os.environ.get(OptionsDefine.ENV_REGION):
185
192
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -187,6 +194,11 @@ def parse_global_arg(parsed_globals):
187
194
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
188
195
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
189
196
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
197
+ cvm_role_flag = False
198
+
199
+ if cvm_role_flag:
200
+ if "type" in cred and cred["type"] == "cvm-role":
201
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
190
202
 
191
203
  for param in g_param.keys():
192
204
  if g_param[param] is None:
@@ -96,7 +96,13 @@ def action_caller():
96
96
 
97
97
  def parse_global_arg(parsed_globals):
98
98
  g_param = parsed_globals
99
-
99
+ cvm_role_flag = True
100
+ for param in parsed_globals.keys():
101
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
102
+ OptionsDefine.RoleSessionName]:
103
+ if parsed_globals[param] is not None:
104
+ cvm_role_flag = False
105
+ break
100
106
  is_exist_profile = True
101
107
  if not parsed_globals["profile"]:
102
108
  is_exist_profile = False
@@ -127,6 +133,7 @@ def parse_global_arg(parsed_globals):
127
133
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
128
134
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
129
135
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
136
+ cvm_role_flag = False
130
137
 
131
138
  if os.environ.get(OptionsDefine.ENV_REGION):
132
139
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -134,6 +141,11 @@ def parse_global_arg(parsed_globals):
134
141
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
135
142
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
136
143
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
144
+ cvm_role_flag = False
145
+
146
+ if cvm_role_flag:
147
+ if "type" in cred and cred["type"] == "cvm-role":
148
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
137
149
 
138
150
  for param in g_param.keys():
139
151
  if g_param[param] is None:
@@ -414,7 +414,13 @@ def action_caller():
414
414
 
415
415
  def parse_global_arg(parsed_globals):
416
416
  g_param = parsed_globals
417
-
417
+ cvm_role_flag = True
418
+ for param in parsed_globals.keys():
419
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
420
+ OptionsDefine.RoleSessionName]:
421
+ if parsed_globals[param] is not None:
422
+ cvm_role_flag = False
423
+ break
418
424
  is_exist_profile = True
419
425
  if not parsed_globals["profile"]:
420
426
  is_exist_profile = False
@@ -445,6 +451,7 @@ def parse_global_arg(parsed_globals):
445
451
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
446
452
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
447
453
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
454
+ cvm_role_flag = False
448
455
 
449
456
  if os.environ.get(OptionsDefine.ENV_REGION):
450
457
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -452,6 +459,11 @@ def parse_global_arg(parsed_globals):
452
459
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
453
460
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
454
461
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
462
+ cvm_role_flag = False
463
+
464
+ if cvm_role_flag:
465
+ if "type" in cred and cred["type"] == "cvm-role":
466
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
455
467
 
456
468
  for param in g_param.keys():
457
469
  if g_param[param] is None:
@@ -790,7 +790,13 @@ def action_caller():
790
790
 
791
791
  def parse_global_arg(parsed_globals):
792
792
  g_param = parsed_globals
793
-
793
+ cvm_role_flag = True
794
+ for param in parsed_globals.keys():
795
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
796
+ OptionsDefine.RoleSessionName]:
797
+ if parsed_globals[param] is not None:
798
+ cvm_role_flag = False
799
+ break
794
800
  is_exist_profile = True
795
801
  if not parsed_globals["profile"]:
796
802
  is_exist_profile = False
@@ -821,6 +827,7 @@ def parse_global_arg(parsed_globals):
821
827
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
822
828
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
823
829
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
830
+ cvm_role_flag = False
824
831
 
825
832
  if os.environ.get(OptionsDefine.ENV_REGION):
826
833
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -828,6 +835,11 @@ def parse_global_arg(parsed_globals):
828
835
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
829
836
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
830
837
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
838
+ cvm_role_flag = False
839
+
840
+ if cvm_role_flag:
841
+ if "type" in cred and cred["type"] == "cvm-role":
842
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
831
843
 
832
844
  for param in g_param.keys():
833
845
  if g_param[param] is None:
@@ -202,7 +202,13 @@ def action_caller():
202
202
 
203
203
  def parse_global_arg(parsed_globals):
204
204
  g_param = parsed_globals
205
-
205
+ cvm_role_flag = True
206
+ for param in parsed_globals.keys():
207
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
208
+ OptionsDefine.RoleSessionName]:
209
+ if parsed_globals[param] is not None:
210
+ cvm_role_flag = False
211
+ break
206
212
  is_exist_profile = True
207
213
  if not parsed_globals["profile"]:
208
214
  is_exist_profile = False
@@ -233,6 +239,7 @@ def parse_global_arg(parsed_globals):
233
239
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
234
240
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
235
241
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
242
+ cvm_role_flag = False
236
243
 
237
244
  if os.environ.get(OptionsDefine.ENV_REGION):
238
245
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -240,6 +247,11 @@ def parse_global_arg(parsed_globals):
240
247
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
241
248
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
242
249
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
250
+ cvm_role_flag = False
251
+
252
+ if cvm_role_flag:
253
+ if "type" in cred and cred["type"] == "cvm-role":
254
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
243
255
 
244
256
  for param in g_param.keys():
245
257
  if g_param[param] is None: