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
@@ -3151,6 +3151,17 @@
3151
3151
  "required": false,
3152
3152
  "type": "string",
3153
3153
  "value_allowed_null": true
3154
+ },
3155
+ {
3156
+ "disabled": false,
3157
+ "document": "配置文件ID\n注意:此字段可能返回 null,表示取不到有效值。",
3158
+ "example": "无",
3159
+ "member": "string",
3160
+ "name": "ConfigFileId",
3161
+ "output_required": false,
3162
+ "required": false,
3163
+ "type": "string",
3164
+ "value_allowed_null": true
3154
3165
  }
3155
3166
  ],
3156
3167
  "usage": "both"
@@ -3201,6 +3212,17 @@
3201
3212
  "required": false,
3202
3213
  "type": "string",
3203
3214
  "value_allowed_null": true
3215
+ },
3216
+ {
3217
+ "disabled": false,
3218
+ "document": "配置发布ID\n注意:此字段可能返回 null,表示取不到有效值。",
3219
+ "example": "1",
3220
+ "member": "uint64",
3221
+ "name": "Id",
3222
+ "output_required": false,
3223
+ "required": false,
3224
+ "type": "int",
3225
+ "value_allowed_null": true
3204
3226
  }
3205
3227
  ],
3206
3228
  "usage": "both"
@@ -4449,6 +4471,16 @@
4449
4471
  "type": "bool",
4450
4472
  "value_allowed_null": false
4451
4473
  },
4474
+ {
4475
+ "disabled": false,
4476
+ "document": "创建的配置文件Id\n注意:此字段可能返回 null,表示取不到有效值。",
4477
+ "example": "无",
4478
+ "member": "string",
4479
+ "name": "ConfigFileId",
4480
+ "output_required": false,
4481
+ "type": "string",
4482
+ "value_allowed_null": true
4483
+ },
4452
4484
  {
4453
4485
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4454
4486
  "member": "string",
@@ -5012,6 +5044,15 @@
5012
5044
  "name": "ConfigFilePublishInfo",
5013
5045
  "required": true,
5014
5046
  "type": "object"
5047
+ },
5048
+ {
5049
+ "disabled": false,
5050
+ "document": "控制开启校验配置版本是否已经存在",
5051
+ "example": "true",
5052
+ "member": "bool",
5053
+ "name": "StrictEnable",
5054
+ "required": false,
5055
+ "type": "bool"
5015
5056
  }
5016
5057
  ],
5017
5058
  "type": "object"
@@ -5029,6 +5070,26 @@
5029
5070
  "type": "bool",
5030
5071
  "value_allowed_null": false
5031
5072
  },
5073
+ {
5074
+ "disabled": false,
5075
+ "document": "配置发布Id\n注意:此字段可能返回 null,表示取不到有效值。",
5076
+ "example": "无",
5077
+ "member": "string",
5078
+ "name": "ConfigFileReleaseId",
5079
+ "output_required": false,
5080
+ "type": "string",
5081
+ "value_allowed_null": true
5082
+ },
5083
+ {
5084
+ "disabled": false,
5085
+ "document": "配置文件Id\n注意:此字段可能返回 null,表示取不到有效值。",
5086
+ "example": "无",
5087
+ "member": "string",
5088
+ "name": "ConfigFileId",
5089
+ "output_required": false,
5090
+ "type": "string",
5091
+ "value_allowed_null": true
5092
+ },
5032
5093
  {
5033
5094
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
5034
5095
  "member": "string",
@@ -5626,7 +5687,7 @@
5626
5687
  "example": "namespace",
5627
5688
  "member": "string",
5628
5689
  "name": "Namespace",
5629
- "required": true,
5690
+ "required": false,
5630
5691
  "type": "string"
5631
5692
  },
5632
5693
  {
@@ -5635,7 +5696,7 @@
5635
5696
  "example": "group",
5636
5697
  "member": "string",
5637
5698
  "name": "Group",
5638
- "required": true,
5699
+ "required": false,
5639
5700
  "type": "string"
5640
5701
  },
5641
5702
  {
@@ -5644,7 +5705,16 @@
5644
5705
  "example": "name",
5645
5706
  "member": "string",
5646
5707
  "name": "Name",
5647
- "required": true,
5708
+ "required": false,
5709
+ "type": "string"
5710
+ },
5711
+ {
5712
+ "disabled": false,
5713
+ "document": "配置文件Id",
5714
+ "example": "1",
5715
+ "member": "string",
5716
+ "name": "Id",
5717
+ "required": false,
5648
5718
  "type": "string"
5649
5719
  }
5650
5720
  ],
@@ -7389,6 +7459,15 @@
7389
7459
  "required": false,
7390
7460
  "type": "int"
7391
7461
  },
7462
+ {
7463
+ "disabled": false,
7464
+ "document": "配置文件ID",
7465
+ "example": "1",
7466
+ "member": "string",
7467
+ "name": "ConfigFileId",
7468
+ "required": false,
7469
+ "type": "string"
7470
+ },
7392
7471
  {
7393
7472
  "disabled": false,
7394
7473
  "document": "返回数量,默认为20,最大值为100。\t",
@@ -7460,7 +7539,7 @@
7460
7539
  "example": "无",
7461
7540
  "member": "string",
7462
7541
  "name": "Namespace",
7463
- "required": true,
7542
+ "required": false,
7464
7543
  "type": "string"
7465
7544
  },
7466
7545
  {
@@ -7469,7 +7548,7 @@
7469
7548
  "example": "无",
7470
7549
  "member": "string",
7471
7550
  "name": "Group",
7472
- "required": true,
7551
+ "required": false,
7473
7552
  "type": "string"
7474
7553
  },
7475
7554
  {
@@ -7478,7 +7557,7 @@
7478
7557
  "example": "无",
7479
7558
  "member": "string",
7480
7559
  "name": "Name",
7481
- "required": true,
7560
+ "required": false,
7482
7561
  "type": "string"
7483
7562
  },
7484
7563
  {
@@ -7489,6 +7568,15 @@
7489
7568
  "name": "ReleaseName",
7490
7569
  "required": false,
7491
7570
  "type": "string"
7571
+ },
7572
+ {
7573
+ "disabled": false,
7574
+ "document": "配置文件发布Id",
7575
+ "example": "无",
7576
+ "member": "string",
7577
+ "name": "Id",
7578
+ "required": false,
7579
+ "type": "string"
7492
7580
  }
7493
7581
  ],
7494
7582
  "type": "object"
@@ -7553,6 +7641,15 @@
7553
7641
  "name": "FileName",
7554
7642
  "required": false,
7555
7643
  "type": "string"
7644
+ },
7645
+ {
7646
+ "disabled": false,
7647
+ "document": "配置文件ID",
7648
+ "example": "1",
7649
+ "member": "string",
7650
+ "name": "ConfigFileId",
7651
+ "required": false,
7652
+ "type": "string"
7556
7653
  }
7557
7654
  ],
7558
7655
  "type": "object"
@@ -7671,6 +7768,15 @@
7671
7768
  "name": "OrderDesc",
7672
7769
  "required": false,
7673
7770
  "type": "string"
7771
+ },
7772
+ {
7773
+ "disabled": false,
7774
+ "document": "配置发布ID",
7775
+ "example": "无",
7776
+ "member": "string",
7777
+ "name": "Id",
7778
+ "required": false,
7779
+ "type": "string"
7674
7780
  }
7675
7781
  ],
7676
7782
  "type": "object"
@@ -7725,7 +7831,7 @@
7725
7831
  "example": "namespace",
7726
7832
  "member": "string",
7727
7833
  "name": "Namespace",
7728
- "required": true,
7834
+ "required": false,
7729
7835
  "type": "string"
7730
7836
  },
7731
7837
  {
@@ -7734,16 +7840,25 @@
7734
7840
  "example": "group",
7735
7841
  "member": "string",
7736
7842
  "name": "Group",
7737
- "required": true,
7843
+ "required": false,
7738
7844
  "type": "string"
7739
7845
  },
7740
7846
  {
7741
7847
  "disabled": false,
7742
- "document": "名称",
7848
+ "document": "配置文件名称",
7743
7849
  "example": "name",
7744
7850
  "member": "string",
7745
7851
  "name": "Name",
7746
- "required": true,
7852
+ "required": false,
7853
+ "type": "string"
7854
+ },
7855
+ {
7856
+ "disabled": false,
7857
+ "document": "配置文件Id",
7858
+ "example": "无",
7859
+ "member": "string",
7860
+ "name": "Id",
7861
+ "required": false,
7747
7862
  "type": "string"
7748
7863
  }
7749
7864
  ],
@@ -7886,7 +8001,7 @@
7886
8001
  },
7887
8002
  {
7888
8003
  "disabled": false,
7889
- "document": "名称",
8004
+ "document": "配置文件名称",
7890
8005
  "example": "name",
7891
8006
  "member": "string",
7892
8007
  "name": "Name",
@@ -7919,6 +8034,15 @@
7919
8034
  "name": "Offset",
7920
8035
  "required": false,
7921
8036
  "type": "int"
8037
+ },
8038
+ {
8039
+ "disabled": false,
8040
+ "document": "配置文件ID",
8041
+ "example": "无",
8042
+ "member": "string",
8043
+ "name": "Id",
8044
+ "required": false,
8045
+ "type": "string"
7922
8046
  }
7923
8047
  ],
7924
8048
  "type": "object"
@@ -14750,6 +14874,15 @@
14750
14874
  "name": "ConfigFileReleases",
14751
14875
  "required": true,
14752
14876
  "type": "object"
14877
+ },
14878
+ {
14879
+ "disabled": false,
14880
+ "document": "控制开启校验配置版本是否已经存在",
14881
+ "example": "true",
14882
+ "member": "bool",
14883
+ "name": "StrictEnable",
14884
+ "required": false,
14885
+ "type": "bool"
14753
14886
  }
14754
14887
  ],
14755
14888
  "type": "object"
@@ -14767,6 +14900,16 @@
14767
14900
  "type": "bool",
14768
14901
  "value_allowed_null": false
14769
14902
  },
14903
+ {
14904
+ "disabled": false,
14905
+ "document": "配置文件发布Id\n注意:此字段可能返回 null,表示取不到有效值。",
14906
+ "example": "1",
14907
+ "member": "string",
14908
+ "name": "ConfigFileReleaseId",
14909
+ "output_required": false,
14910
+ "type": "string",
14911
+ "value_allowed_null": true
14912
+ },
14770
14913
  {
14771
14914
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
14772
14915
  "member": "string",
@@ -14846,7 +14989,7 @@
14846
14989
  "members": [
14847
14990
  {
14848
14991
  "disabled": false,
14849
- "document": "名称\n注意:此字段可能返回 null,表示取不到有效值。",
14992
+ "document": "配置发布的版本\n注意:此字段可能返回 null,表示取不到有效值。",
14850
14993
  "example": "无",
14851
14994
  "member": "string",
14852
14995
  "name": "Name",
@@ -14865,6 +15008,50 @@
14865
15008
  "required": false,
14866
15009
  "type": "bool",
14867
15010
  "value_allowed_null": true
15011
+ },
15012
+ {
15013
+ "disabled": false,
15014
+ "document": "配置发布的ID\n注意:此字段可能返回 null,表示取不到有效值。",
15015
+ "example": "无",
15016
+ "member": "string",
15017
+ "name": "Id",
15018
+ "output_required": false,
15019
+ "required": false,
15020
+ "type": "string",
15021
+ "value_allowed_null": true
15022
+ },
15023
+ {
15024
+ "disabled": false,
15025
+ "document": "配置发布的命名空间\n注意:此字段可能返回 null,表示取不到有效值。",
15026
+ "example": "无",
15027
+ "member": "string",
15028
+ "name": "Namespace",
15029
+ "output_required": false,
15030
+ "required": false,
15031
+ "type": "string",
15032
+ "value_allowed_null": true
15033
+ },
15034
+ {
15035
+ "disabled": false,
15036
+ "document": "配置发布的分组\n注意:此字段可能返回 null,表示取不到有效值。",
15037
+ "example": "无",
15038
+ "member": "string",
15039
+ "name": "Group",
15040
+ "output_required": false,
15041
+ "required": false,
15042
+ "type": "string",
15043
+ "value_allowed_null": true
15044
+ },
15045
+ {
15046
+ "disabled": false,
15047
+ "document": "配置发布的文件名\n注意:此字段可能返回 null,表示取不到有效值。",
15048
+ "example": "无",
15049
+ "member": "string",
15050
+ "name": "FileName",
15051
+ "output_required": false,
15052
+ "required": false,
15053
+ "type": "string",
15054
+ "value_allowed_null": true
14868
15055
  }
14869
15056
  ],
14870
15057
  "usage": "both"
@@ -11809,7 +11809,13 @@ def action_caller():
11809
11809
 
11810
11810
  def parse_global_arg(parsed_globals):
11811
11811
  g_param = parsed_globals
11812
-
11812
+ cvm_role_flag = True
11813
+ for param in parsed_globals.keys():
11814
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
11815
+ OptionsDefine.RoleSessionName]:
11816
+ if parsed_globals[param] is not None:
11817
+ cvm_role_flag = False
11818
+ break
11813
11819
  is_exist_profile = True
11814
11820
  if not parsed_globals["profile"]:
11815
11821
  is_exist_profile = False
@@ -11840,6 +11846,7 @@ def parse_global_arg(parsed_globals):
11840
11846
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
11841
11847
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
11842
11848
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
11849
+ cvm_role_flag = False
11843
11850
 
11844
11851
  if os.environ.get(OptionsDefine.ENV_REGION):
11845
11852
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -11847,6 +11854,11 @@ def parse_global_arg(parsed_globals):
11847
11854
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
11848
11855
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
11849
11856
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
11857
+ cvm_role_flag = False
11858
+
11859
+ if cvm_role_flag:
11860
+ if "type" in cred and cred["type"] == "cvm-role":
11861
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
11850
11862
 
11851
11863
  for param in g_param.keys():
11852
11864
  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:
@@ -260,7 +260,13 @@ def action_caller():
260
260
 
261
261
  def parse_global_arg(parsed_globals):
262
262
  g_param = parsed_globals
263
-
263
+ cvm_role_flag = True
264
+ for param in parsed_globals.keys():
265
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
266
+ OptionsDefine.RoleSessionName]:
267
+ if parsed_globals[param] is not None:
268
+ cvm_role_flag = False
269
+ break
264
270
  is_exist_profile = True
265
271
  if not parsed_globals["profile"]:
266
272
  is_exist_profile = False
@@ -291,6 +297,7 @@ def parse_global_arg(parsed_globals):
291
297
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
292
298
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
293
299
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
300
+ cvm_role_flag = False
294
301
 
295
302
  if os.environ.get(OptionsDefine.ENV_REGION):
296
303
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -298,6 +305,11 @@ def parse_global_arg(parsed_globals):
298
305
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
299
306
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
300
307
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
308
+ cvm_role_flag = False
309
+
310
+ if cvm_role_flag:
311
+ if "type" in cred and cred["type"] == "cvm-role":
312
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
301
313
 
302
314
  for param in g_param.keys():
303
315
  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:
@@ -944,7 +944,13 @@ def action_caller():
944
944
 
945
945
  def parse_global_arg(parsed_globals):
946
946
  g_param = parsed_globals
947
-
947
+ cvm_role_flag = True
948
+ for param in parsed_globals.keys():
949
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
950
+ OptionsDefine.RoleSessionName]:
951
+ if parsed_globals[param] is not None:
952
+ cvm_role_flag = False
953
+ break
948
954
  is_exist_profile = True
949
955
  if not parsed_globals["profile"]:
950
956
  is_exist_profile = False
@@ -975,6 +981,7 @@ def parse_global_arg(parsed_globals):
975
981
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
976
982
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
977
983
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
984
+ cvm_role_flag = False
978
985
 
979
986
  if os.environ.get(OptionsDefine.ENV_REGION):
980
987
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -982,6 +989,11 @@ def parse_global_arg(parsed_globals):
982
989
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
983
990
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
984
991
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
992
+ cvm_role_flag = False
993
+
994
+ if cvm_role_flag:
995
+ if "type" in cred and cred["type"] == "cvm-role":
996
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
985
997
 
986
998
  for param in g_param.keys():
987
999
  if g_param[param] is None:
@@ -104,7 +104,7 @@
104
104
  {
105
105
  "disabled": false,
106
106
  "document": "输入视频URL。视频要求:\n- 视频格式:mp4、mov;\n- 视频时长:1~60秒;\n- 视频分辨率:540P~2056P,即长宽像素数均在540px~2056px范围内;\n- 视频大小:不超过200M;\n- 视频FPS:15~60fps。",
107
- "example": "https://xxx.mp4",
107
+ "example": "https://xxx.com/video.mp4",
108
108
  "member": "string",
109
109
  "name": "VideoUrl",
110
110
  "required": true,
@@ -3,16 +3,16 @@
3
3
  "DescribeVideoStylizationJob": [
4
4
  {
5
5
  "document": "成功请求",
6
- "input": "POST / HTTP/1.1\nHost: vcg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVideoStylizationJob\n<公共请求参数>\n\n{\n \"JobId\": \"\"\n}",
7
- "output": "{\n \"Response\": {\n \"JobId\": \"\",\n \"RequestId\": \"\",\n \"ResultVideoUrl\": \"\",\n \"StatusCode\": \"JobSuccess\",\n \"StatusMsg\": \"处理完成\"\n }\n}",
6
+ "input": "POST / HTTP/1.1\nHost: vcg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVideoStylizationJob\n<公共请求参数>\n\n{\n \"JobId\": \"c5daf8f7077d41a69c13aab31a7164f3\"\n}",
7
+ "output": "{\n \"Response\": {\n \"JobId\": \"c5daf8f7077d41a69c13aab31a7164f3\",\n \"RequestId\": \"c048e3cf-79b3-4080-9892-15bb96a680e5\",\n \"ResultVideoUrl\": \"https://vcg-prod-xxx.cos.ap-guangzhou.tencentcos.cn/xxx.mp4\",\n \"StatusCode\": \"JobSuccess\",\n \"StatusMsg\": \"处理完成\"\n }\n}",
8
8
  "title": "成功请求"
9
9
  }
10
10
  ],
11
11
  "SubmitVideoStylizationJob": [
12
12
  {
13
13
  "document": "提交成功",
14
- "input": "POST / HTTP/1.1\nHost: vcg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitVideoStylizationJob\n<公共请求参数>\n\n{\n \"StyleId\": \"2d_anime\",\n \"VideoUrl\": \"\"\n}",
15
- "output": "{\n \"Response\": {\n \"JobId\": \"\",\n \"RequestId\": \"\"\n }\n}",
14
+ "input": "POST / HTTP/1.1\nHost: vcg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitVideoStylizationJob\n<公共请求参数>\n\n{\n \"StyleId\": \"2d_anime\",\n \"VideoUrl\": \"http://xxxx.mp4\"\n}",
15
+ "output": "{\n \"Response\": {\n \"JobId\": \"c5daf8f7077d41a69c13aab31a7164f3\",\n \"RequestId\": \"b1990ba2-2d71-419d-8c9d-cab8e33f8352\"\n }\n}",
16
16
  "title": "提交成功"
17
17
  }
18
18
  ]
@@ -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:
@@ -520,7 +520,13 @@ def action_caller():
520
520
 
521
521
  def parse_global_arg(parsed_globals):
522
522
  g_param = parsed_globals
523
-
523
+ cvm_role_flag = True
524
+ for param in parsed_globals.keys():
525
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
526
+ OptionsDefine.RoleSessionName]:
527
+ if parsed_globals[param] is not None:
528
+ cvm_role_flag = False
529
+ break
524
530
  is_exist_profile = True
525
531
  if not parsed_globals["profile"]:
526
532
  is_exist_profile = False
@@ -551,6 +557,7 @@ def parse_global_arg(parsed_globals):
551
557
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
552
558
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
553
559
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
560
+ cvm_role_flag = False
554
561
 
555
562
  if os.environ.get(OptionsDefine.ENV_REGION):
556
563
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -558,6 +565,11 @@ def parse_global_arg(parsed_globals):
558
565
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
559
566
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
560
567
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
568
+ cvm_role_flag = False
569
+
570
+ if cvm_role_flag:
571
+ if "type" in cred and cred["type"] == "cvm-role":
572
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
561
573
 
562
574
  for param in g_param.keys():
563
575
  if g_param[param] is None: