tccli 3.0.1036.1__py2.py3-none-any.whl → 3.0.1037.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 (282) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cdc/v20201214/DescribeDedicatedClusterHosts.md +2 -0
  3. tccli/examples/cdc/v20201214/DescribeDedicatedClusterOverview.md +59 -7
  4. tccli/examples/cdwch/v20200915/DescribeInstanceNodes.md +41 -0
  5. tccli/examples/cdwch/v20200915/DescribeSpec.md +27 -20
  6. tccli/examples/cwp/v20180228/CreateMalwareWhiteList.md +10 -4
  7. tccli/examples/cwp/v20180228/DescribeMachineFileTamperRules.md +9 -8
  8. tccli/examples/cwp/v20180228/ModifyLoginWhiteRecord.md +11 -10
  9. tccli/examples/hai/v20230812/DescribeApplications.md +6 -2
  10. tccli/examples/mrs/v20200910/ImageMaskAsync.md +25 -0
  11. tccli/examples/mrs/v20200910/ImageMaskAsyncGetResult.md +21 -0
  12. tccli/examples/tcss/v20201101/DescribeAssetSuperNodeList.md +41 -0
  13. tccli/examples/tcss/v20201101/DescribeClusterNodes.md +42 -0
  14. tccli/examples/tcss/v20201101/DescribeSuperNodePodList.md +41 -0
  15. tccli/examples/tcss/v20201101/DescribeUserPodList.md +56 -0
  16. tccli/services/aa/aa_client.py +2 -1
  17. tccli/services/aai/aai_client.py +5 -4
  18. tccli/services/acp/acp_client.py +9 -8
  19. tccli/services/advisor/advisor_client.py +3 -2
  20. tccli/services/af/af_client.py +4 -3
  21. tccli/services/afc/afc_client.py +4 -3
  22. tccli/services/aiart/aiart_client.py +3 -2
  23. tccli/services/aiart/v20221229/api.json +3 -3
  24. tccli/services/ame/ame_client.py +32 -31
  25. tccli/services/ams/ams_client.py +10 -9
  26. tccli/services/anicloud/anicloud_client.py +4 -3
  27. tccli/services/antiddos/antiddos_client.py +96 -95
  28. tccli/services/apcas/apcas_client.py +8 -7
  29. tccli/services/ape/ape_client.py +9 -8
  30. tccli/services/api/api_client.py +4 -3
  31. tccli/services/apigateway/apigateway_client.py +97 -96
  32. tccli/services/apm/apm_client.py +10 -9
  33. tccli/services/asr/asr_client.py +26 -25
  34. tccli/services/asw/asw_client.py +10 -9
  35. tccli/services/autoscaling/autoscaling_client.py +58 -57
  36. tccli/services/ba/ba_client.py +4 -3
  37. tccli/services/batch/batch_client.py +32 -31
  38. tccli/services/bda/bda_client.py +19 -18
  39. tccli/services/bi/bi_client.py +23 -22
  40. tccli/services/billing/billing_client.py +33 -32
  41. tccli/services/bizlive/bizlive_client.py +7 -6
  42. tccli/services/bm/bm_client.py +54 -53
  43. tccli/services/bma/bma_client.py +38 -37
  44. tccli/services/bmeip/bmeip_client.py +21 -20
  45. tccli/services/bmlb/bmlb_client.py +50 -49
  46. tccli/services/bmvpc/bmvpc_client.py +62 -61
  47. tccli/services/bpaas/bpaas_client.py +3 -2
  48. tccli/services/bri/bri_client.py +2 -1
  49. tccli/services/bsca/bsca_client.py +8 -7
  50. tccli/services/btoe/btoe_client.py +15 -14
  51. tccli/services/cam/cam_client.py +88 -87
  52. tccli/services/captcha/captcha_client.py +19 -18
  53. tccli/services/car/car_client.py +7 -6
  54. tccli/services/cat/cat_client.py +13 -12
  55. tccli/services/cbs/cbs_client.py +42 -41
  56. tccli/services/ccc/ccc_client.py +42 -41
  57. tccli/services/cdb/cdb_client.py +159 -158
  58. tccli/services/cdc/cdc_client.py +21 -20
  59. tccli/services/cdc/v20201214/api.json +110 -24
  60. tccli/services/cdc/v20201214/examples.json +2 -2
  61. tccli/services/cdn/cdn_client.py +82 -81
  62. tccli/services/cdn/v20180606/api.json +10 -1
  63. tccli/services/cds/cds_client.py +7 -6
  64. tccli/services/cdwch/cdwch_client.py +109 -55
  65. tccli/services/cdwch/v20200915/api.json +253 -3
  66. tccli/services/cdwch/v20200915/examples.json +10 -2
  67. tccli/services/cdwdoris/cdwdoris_client.py +18 -17
  68. tccli/services/cdwpg/cdwpg_client.py +9 -8
  69. tccli/services/cfg/cfg_client.py +13 -12
  70. tccli/services/cfs/cfs_client.py +44 -43
  71. tccli/services/cfw/cfw_client.py +112 -111
  72. tccli/services/chdfs/chdfs_client.py +30 -29
  73. tccli/services/ciam/ciam_client.py +24 -23
  74. tccli/services/cii/cii_client.py +14 -13
  75. tccli/services/cim/cim_client.py +2 -1
  76. tccli/services/cis/cis_client.py +8 -7
  77. tccli/services/ckafka/ckafka_client.py +82 -81
  78. tccli/services/clb/clb_client.py +86 -85
  79. tccli/services/cloudaudit/cloudaudit_client.py +20 -19
  80. tccli/services/cloudhsm/cloudhsm_client.py +15 -14
  81. tccli/services/cloudstudio/cloudstudio_client.py +10 -9
  82. tccli/services/cls/cls_client.py +90 -89
  83. tccli/services/cme/cme_client.py +51 -50
  84. tccli/services/cmq/cmq_client.py +18 -17
  85. tccli/services/cms/cms_client.py +7 -6
  86. tccli/services/config/config_client.py +4 -3
  87. tccli/services/cpdp/cpdp_client.py +220 -219
  88. tccli/services/cr/cr_client.py +29 -28
  89. tccli/services/csip/csip_client.py +35 -34
  90. tccli/services/csxg/csxg_client.py +6 -5
  91. tccli/services/cvm/cvm_client.py +95 -94
  92. tccli/services/cwp/cwp_client.py +519 -518
  93. tccli/services/cwp/v20180228/api.json +17 -16
  94. tccli/services/cwp/v20180228/examples.json +5 -5
  95. tccli/services/cws/cws_client.py +20 -19
  96. tccli/services/cynosdb/cynosdb_client.py +131 -130
  97. tccli/services/dasb/dasb_client.py +56 -55
  98. tccli/services/dataintegration/dataintegration_client.py +2 -1
  99. tccli/services/dayu/dayu_client.py +113 -112
  100. tccli/services/dbbrain/dbbrain_client.py +62 -61
  101. tccli/services/dbdc/dbdc_client.py +7 -6
  102. tccli/services/dc/dc_client.py +22 -21
  103. tccli/services/dcdb/dcdb_client.py +74 -73
  104. tccli/services/dlc/dlc_client.py +124 -123
  105. tccli/services/dnspod/dnspod_client.py +73 -72
  106. tccli/services/domain/domain_client.py +34 -33
  107. tccli/services/drm/drm_client.py +12 -11
  108. tccli/services/ds/ds_client.py +13 -12
  109. tccli/services/dsgc/dsgc_client.py +149 -148
  110. tccli/services/dtf/dtf_client.py +2 -1
  111. tccli/services/dts/dts_client.py +69 -68
  112. tccli/services/dts/v20211206/api.json +1 -0
  113. tccli/services/eb/eb_client.py +33 -32
  114. tccli/services/ecc/ecc_client.py +5 -4
  115. tccli/services/ecdn/ecdn_client.py +17 -16
  116. tccli/services/ecm/ecm_client.py +140 -139
  117. tccli/services/eiam/eiam_client.py +43 -42
  118. tccli/services/eis/eis_client.py +9 -8
  119. tccli/services/emr/emr_client.py +36 -35
  120. tccli/services/es/es_client.py +43 -42
  121. tccli/services/ess/ess_client.py +72 -71
  122. tccli/services/ess/v20201111/api.json +2 -2
  123. tccli/services/essbasic/essbasic_client.py +123 -122
  124. tccli/services/essbasic/v20210526/api.json +11 -11
  125. tccli/services/facefusion/facefusion_client.py +5 -4
  126. tccli/services/faceid/faceid_client.py +36 -35
  127. tccli/services/fmu/fmu_client.py +11 -10
  128. tccli/services/ft/ft_client.py +7 -6
  129. tccli/services/gaap/gaap_client.py +104 -103
  130. tccli/services/gme/gme_client.py +29 -28
  131. tccli/services/goosefs/goosefs_client.py +21 -20
  132. tccli/services/gpm/gpm_client.py +19 -18
  133. tccli/services/gs/gs_client.py +9 -8
  134. tccli/services/gse/gse_client.py +75 -74
  135. tccli/services/habo/habo_client.py +3 -2
  136. tccli/services/hai/hai_client.py +12 -11
  137. tccli/services/hai/v20230812/api.json +59 -1
  138. tccli/services/hai/v20230812/examples.json +1 -1
  139. tccli/services/hasim/hasim_client.py +23 -22
  140. tccli/services/hcm/hcm_client.py +2 -1
  141. tccli/services/hunyuan/hunyuan_client.py +4 -3
  142. tccli/services/iai/iai_client.py +36 -35
  143. tccli/services/ic/ic_client.py +10 -9
  144. tccli/services/icr/icr_client.py +2 -1
  145. tccli/services/ie/ie_client.py +11 -10
  146. tccli/services/iecp/iecp_client.py +103 -102
  147. tccli/services/iir/iir_client.py +2 -1
  148. tccli/services/ims/ims_client.py +3 -2
  149. tccli/services/ioa/ioa_client.py +2 -1
  150. tccli/services/iot/iot_client.py +46 -45
  151. tccli/services/iotcloud/iotcloud_client.py +86 -85
  152. tccli/services/iotexplorer/iotexplorer_client.py +93 -92
  153. tccli/services/iottid/iottid_client.py +10 -9
  154. tccli/services/iotvideo/iotvideo_client.py +158 -157
  155. tccli/services/iotvideoindustry/iotvideoindustry_client.py +105 -104
  156. tccli/services/irp/irp_client.py +12 -11
  157. tccli/services/iss/iss_client.py +83 -82
  158. tccli/services/ivld/ivld_client.py +26 -25
  159. tccli/services/keewidb/keewidb_client.py +39 -38
  160. tccli/services/kms/kms_client.py +54 -53
  161. tccli/services/lcic/lcic_client.py +61 -60
  162. tccli/services/lighthouse/lighthouse_client.py +108 -107
  163. tccli/services/lighthouse/v20200324/api.json +1 -1
  164. tccli/services/live/live_client.py +154 -153
  165. tccli/services/lowcode/lowcode_client.py +2 -1
  166. tccli/services/lp/lp_client.py +2 -1
  167. tccli/services/mall/mall_client.py +2 -1
  168. tccli/services/mariadb/mariadb_client.py +73 -72
  169. tccli/services/market/market_client.py +3 -2
  170. tccli/services/memcached/memcached_client.py +2 -1
  171. tccli/services/mgobe/mgobe_client.py +8 -7
  172. tccli/services/mmps/mmps_client.py +16 -15
  173. tccli/services/mna/mna_client.py +24 -23
  174. tccli/services/mongodb/mongodb_client.py +43 -42
  175. tccli/services/monitor/monitor_client.py +151 -150
  176. tccli/services/mps/mps_client.py +101 -100
  177. tccli/services/mrs/mrs_client.py +115 -8
  178. tccli/services/mrs/v20200910/api.json +97 -0
  179. tccli/services/mrs/v20200910/examples.json +16 -0
  180. tccli/services/ms/ms_client.py +24 -23
  181. tccli/services/msp/msp_client.py +8 -7
  182. tccli/services/mvj/mvj_client.py +2 -1
  183. tccli/services/nlp/nlp_client.py +13 -12
  184. tccli/services/npp/npp_client.py +9 -8
  185. tccli/services/oceanus/oceanus_client.py +39 -38
  186. tccli/services/oceanus/v20190422/api.json +4 -4
  187. tccli/services/ocr/ocr_client.py +82 -81
  188. tccli/services/omics/omics_client.py +16 -15
  189. tccli/services/organization/organization_client.py +48 -47
  190. tccli/services/partners/partners_client.py +20 -19
  191. tccli/services/pds/pds_client.py +3 -2
  192. tccli/services/postgres/postgres_client.py +91 -90
  193. tccli/services/privatedns/privatedns_client.py +26 -25
  194. tccli/services/pts/pts_client.py +45 -44
  195. tccli/services/rce/rce_client.py +4 -3
  196. tccli/services/redis/redis_client.py +96 -95
  197. tccli/services/region/region_client.py +4 -3
  198. tccli/services/rkp/rkp_client.py +4 -3
  199. tccli/services/rp/rp_client.py +2 -1
  200. tccli/services/rum/rum_client.py +66 -65
  201. tccli/services/scf/scf_client.py +47 -46
  202. tccli/services/ses/ses_client.py +28 -27
  203. tccli/services/smh/smh_client.py +11 -10
  204. tccli/services/smop/smop_client.py +2 -1
  205. tccli/services/smpn/smpn_client.py +6 -5
  206. tccli/services/sms/sms_client.py +19 -18
  207. tccli/services/soe/soe_client.py +5 -4
  208. tccli/services/solar/solar_client.py +18 -17
  209. tccli/services/sqlserver/sqlserver_client.py +145 -144
  210. tccli/services/ssa/ssa_client.py +24 -23
  211. tccli/services/ssl/ssl_client.py +58 -57
  212. tccli/services/sslpod/sslpod_client.py +11 -10
  213. tccli/services/ssm/ssm_client.py +25 -24
  214. tccli/services/sts/sts_client.py +7 -6
  215. tccli/services/taf/taf_client.py +4 -3
  216. tccli/services/tag/tag_client.py +32 -31
  217. tccli/services/tan/tan_client.py +2 -1
  218. tccli/services/tat/tat_client.py +29 -28
  219. tccli/services/tav/tav_client.py +5 -4
  220. tccli/services/tbaas/tbaas_client.py +26 -25
  221. tccli/services/tbm/tbm_client.py +10 -9
  222. tccli/services/tbp/tbp_client.py +5 -4
  223. tccli/services/tcaplusdb/tcaplusdb_client.py +54 -53
  224. tccli/services/tcb/tcb_client.py +90 -89
  225. tccli/services/tcbr/tcbr_client.py +11 -10
  226. tccli/services/tcex/tcex_client.py +3 -2
  227. tccli/services/tchd/tchd_client.py +2 -1
  228. tccli/services/tci/tci_client.py +42 -41
  229. tccli/services/tcm/tcm_client.py +13 -12
  230. tccli/services/tcr/tcr_client.py +110 -109
  231. tccli/services/tcss/tcss_client.py +558 -345
  232. tccli/services/tcss/v20201101/api.json +1200 -0
  233. tccli/services/tcss/v20201101/examples.json +32 -0
  234. tccli/services/tdcpg/tdcpg_client.py +26 -25
  235. tccli/services/tdid/tdid_client.py +14 -13
  236. tccli/services/tdmq/tdmq_client.py +128 -127
  237. tccli/services/tds/tds_client.py +5 -4
  238. tccli/services/tem/tem_client.py +61 -60
  239. tccli/services/teo/teo_client.py +79 -78
  240. tccli/services/thpc/thpc_client.py +19 -18
  241. tccli/services/tia/tia_client.py +11 -10
  242. tccli/services/tic/tic_client.py +14 -13
  243. tccli/services/ticm/ticm_client.py +4 -3
  244. tccli/services/tics/tics_client.py +5 -4
  245. tccli/services/tiems/tiems_client.py +26 -25
  246. tccli/services/tiia/tiia_client.py +24 -23
  247. tccli/services/tione/tione_client.py +98 -97
  248. tccli/services/tiw/tiw_client.py +61 -60
  249. tccli/services/tke/tke_client.py +219 -218
  250. tccli/services/tkgdq/tkgdq_client.py +4 -3
  251. tccli/services/tms/tms_client.py +6 -5
  252. tccli/services/tmt/tmt_client.py +8 -7
  253. tccli/services/tourism/tourism_client.py +2 -1
  254. tccli/services/trdp/trdp_client.py +2 -1
  255. tccli/services/trocket/trocket_client.py +23 -22
  256. tccli/services/trp/trp_client.py +54 -53
  257. tccli/services/trro/trro_client.py +24 -23
  258. tccli/services/trtc/trtc_client.py +44 -43
  259. tccli/services/tse/tse_client.py +66 -65
  260. tccli/services/tsf/tsf_client.py +220 -219
  261. tccli/services/tsw/tsw_client.py +5 -4
  262. tccli/services/tts/tts_client.py +4 -3
  263. tccli/services/ump/ump_client.py +18 -17
  264. tccli/services/vm/vm_client.py +7 -6
  265. tccli/services/vms/vms_client.py +3 -2
  266. tccli/services/vod/vod_client.py +169 -168
  267. tccli/services/vpc/vpc_client.py +317 -316
  268. tccli/services/vrs/vrs_client.py +8 -7
  269. tccli/services/waf/waf_client.py +133 -132
  270. tccli/services/wav/wav_client.py +27 -26
  271. tccli/services/wedata/wedata_client.py +319 -318
  272. tccli/services/weilingwith/weilingwith_client.py +58 -57
  273. tccli/services/wss/wss_client.py +4 -3
  274. tccli/services/yinsuda/yinsuda_client.py +21 -20
  275. tccli/services/youmall/youmall_client.py +32 -31
  276. tccli/services/yunjing/yunjing_client.py +101 -100
  277. tccli/services/yunsou/yunsou_client.py +3 -2
  278. {tccli-3.0.1036.1.dist-info → tccli-3.0.1037.1.dist-info}/METADATA +2 -2
  279. {tccli-3.0.1036.1.dist-info → tccli-3.0.1037.1.dist-info}/RECORD +282 -275
  280. {tccli-3.0.1036.1.dist-info → tccli-3.0.1037.1.dist-info}/WHEEL +0 -0
  281. {tccli-3.0.1036.1.dist-info → tccli-3.0.1037.1.dist-info}/entry_points.txt +0 -0
  282. {tccli-3.0.1036.1.dist-info → tccli-3.0.1037.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1036.1'
1
+ __version__ = '3.0.1037.1'
@@ -15,6 +15,7 @@ Output:
15
15
  "Response": {
16
16
  "HostInfoSet": [
17
17
  {
18
+ "HostId": "host-xxxxxxxx",
18
19
  "HostIp": "50.4.2.2",
19
20
  "ServiceType": "云服务器宿主机",
20
21
  "HostStatus": "PENDING",
@@ -27,6 +28,7 @@ Output:
27
28
  "MemTotal": 96
28
29
  },
29
30
  {
31
+ "HostId": "host-xxxxxxxx",
30
32
  "HostIp": "50.4.2.3",
31
33
  "ServiceType": "云服务器宿主机",
32
34
  "HostStatus": "PENDING",
@@ -13,13 +13,65 @@ Output:
13
13
  ```
14
14
  {
15
15
  "Response": {
16
- "CvmCount": 36,
17
- "HostCount": 2,
18
- "VpnConnectionState": "AVAILABLE",
19
- "VpngwBandwidthData": {},
20
- "LocalNetInfo": {},
21
- "VpnConnectionBandwidthData": [],
22
- "RequestId": "ab5e5574-121b-4b5a-992c-fab691ac6737"
16
+ "CvmCount": 1,
17
+ "HostCount": 1,
18
+ "HostStandbyCount": 1,
19
+ "HostNormalCount": 1,
20
+ "VpnConnectionState": "abc",
21
+ "VpngwBandwidthData": {
22
+ "OutBandwidth": {
23
+ "Timestamps": [
24
+ 0
25
+ ],
26
+ "Values": [
27
+ 0
28
+ ]
29
+ },
30
+ "InBandwidth": {
31
+ "Timestamps": [
32
+ 0
33
+ ],
34
+ "Values": [
35
+ 0
36
+ ]
37
+ }
38
+ },
39
+ "LocalNetInfo": {
40
+ "Protocol": "abc",
41
+ "VpcId": "abc",
42
+ "BGPRoute": "abc",
43
+ "LocalIp": "abc"
44
+ },
45
+ "VpnConnectionBandwidthData": [
46
+ {
47
+ "OutBandwidth": {
48
+ "Timestamps": [
49
+ 0
50
+ ],
51
+ "Values": [
52
+ 0
53
+ ]
54
+ },
55
+ "InBandwidth": {
56
+ "Timestamps": [
57
+ 0
58
+ ],
59
+ "Values": [
60
+ 0
61
+ ]
62
+ }
63
+ }
64
+ ],
65
+ "HostDetailInfo": [
66
+ {
67
+ "HostTypeFamily": "abc",
68
+ "CpuTotal": 0,
69
+ "CpuAvailable": 0,
70
+ "MemTotal": 0,
71
+ "MemAvailable": 0
72
+ }
73
+ ],
74
+ "RequestId": "abc"
23
75
  }
24
76
  }
25
77
  ```
@@ -0,0 +1,41 @@
1
+ **Example 1: 获取实例节点信息列表**
2
+
3
+ 获取实例节点信息列表
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cdwch DescribeInstanceNodes --cli-unfold-argument \
9
+ --InstanceId cdwch-12345678
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "RequestId": "f510b0e8-4bc7-44c7-a191-79e467b556c4",
17
+ "TotalCount": 2,
18
+ "InstanceNodesList": [
19
+ {
20
+ "Ip": "172.31.1.5",
21
+ "Spec": "CVM.SA2",
22
+ "Core": 16,
23
+ "Memory": 32,
24
+ "DiskType": "CLOUD_PREMIUM",
25
+ "DiskSize": 1000,
26
+ "Cluster": "default-cluster"
27
+ },
28
+ {
29
+ "Ip": "172.31.1.4",
30
+ "Spec": "CVM.SA2",
31
+ "Core": 16,
32
+ "Memory": 32,
33
+ "DiskType": "CLOUD_PREMIUM",
34
+ "DiskSize": 1000,
35
+ "Cluster": "default-cluster"
36
+ }
37
+ ]
38
+ }
39
+ }
40
+ ```
41
+
@@ -6,7 +6,14 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cdwch DescribeSpec --cli-unfold-argument \
9
- --Zone ap-guangzhou-1
9
+ --Zone 'ap-guangzhou-1
10
+
11
+
12
+ {
13
+ "Zone": "abc",
14
+ "PayMode":"xxxx",
15
+
16
+ }'
10
17
  ```
11
18
 
12
19
  Output:
@@ -18,35 +25,35 @@ Output:
18
25
  "Available": true,
19
26
  "InstanceQuota": 1000,
20
27
  "SystemDisk": {
21
- "DiskDesc": "xx",
28
+ "DiskDesc": "abc",
22
29
  "MaxDiskSize": 50,
23
30
  "MinDiskSize": 50,
24
31
  "DiskCount": 1,
25
- "DiskType": "xx"
32
+ "DiskType": "abc"
26
33
  },
27
- "DisplayName": "xx",
28
- "Name": "xx",
29
- "ComputeSpecDesc": "xx",
34
+ "DisplayName": "abc",
35
+ "Name": "abc",
36
+ "ComputeSpecDesc": "abc",
30
37
  "Mem": 16,
31
38
  "MaxNodeSize": 50,
32
- "Type": "xx",
39
+ "Type": "abc",
33
40
  "Cpu": 4,
34
41
  "DataDisk": {
35
- "DiskDesc": "xx",
42
+ "DiskDesc": "abc",
36
43
  "MaxDiskSize": 32000,
37
44
  "MinDiskSize": 100,
38
45
  "DiskCount": 1,
39
- "DiskType": "xx"
46
+ "DiskType": "abc"
40
47
  }
41
48
  }
42
49
  ],
43
50
  "AttachCBSSpec": [
44
51
  {
45
- "DiskDesc": "xx",
52
+ "DiskDesc": "abc",
46
53
  "MaxDiskSize": 32000,
47
54
  "MinDiskSize": 100,
48
55
  "DiskCount": 1,
49
- "DiskType": "xx"
56
+ "DiskType": "abc"
50
57
  }
51
58
  ],
52
59
  "CommonSpec": [
@@ -54,29 +61,29 @@ Output:
54
61
  "Available": true,
55
62
  "InstanceQuota": 1000,
56
63
  "SystemDisk": {
57
- "DiskDesc": "xx",
64
+ "DiskDesc": "abc",
58
65
  "MaxDiskSize": 50,
59
66
  "MinDiskSize": 50,
60
67
  "DiskCount": 1,
61
- "DiskType": "xx"
68
+ "DiskType": "abc"
62
69
  },
63
- "DisplayName": "xx",
64
- "Name": "xx",
65
- "ComputeSpecDesc": "xx",
70
+ "DisplayName": "abc",
71
+ "Name": "abc",
72
+ "ComputeSpecDesc": "abc",
66
73
  "Mem": 4,
67
74
  "MaxNodeSize": 50,
68
- "Type": "xx",
75
+ "Type": "abc",
69
76
  "Cpu": 2,
70
77
  "DataDisk": {
71
- "DiskDesc": "xx",
78
+ "DiskDesc": "abc",
72
79
  "MaxDiskSize": 32000,
73
80
  "MinDiskSize": 100,
74
81
  "DiskCount": 1,
75
- "DiskType": "xx"
82
+ "DiskType": "abc"
76
83
  }
77
84
  }
78
85
  ],
79
- "RequestId": "xx"
86
+ "RequestId": "abc"
80
87
  }
81
88
  }
82
89
  ```
@@ -6,16 +6,22 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cwp CreateMalwareWhiteList --cli-unfold-argument \
9
- --QuuidList xx \
10
- --Mode 0 \
11
- --Md5List xx
9
+ --QuuidList abc \
10
+ --IsGlobal 1 \
11
+ --Mode 1 \
12
+ --MatchType 1 \
13
+ --FileName abc \
14
+ --FileDirectory abc \
15
+ --FileExtension abc \
16
+ --Md5List e10adc3949ba59abbe56e057f20f883e \
17
+ --EventId 1
12
18
  ```
13
19
 
14
20
  Output:
15
21
  ```
16
22
  {
17
23
  "Response": {
18
- "RequestId": "xx"
24
+ "RequestId": "abc"
19
25
  }
20
26
  }
21
27
  ```
@@ -6,9 +6,9 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cwp DescribeMachineFileTamperRules --cli-unfold-argument \
9
+ --Offset 1 \
9
10
  --Limit 1 \
10
- --Uuid xx \
11
- --Offset 1
11
+ --Uuid 10ee1dad-ed42-4f98-8c9e-bfaa48fcb787
12
12
  ```
13
13
 
14
14
  Output:
@@ -18,19 +18,20 @@ Output:
18
18
  "TotalCount": 1,
19
19
  "List": [
20
20
  {
21
+ "Name": "abc",
22
+ "RuleCategory": 1,
21
23
  "Rule": [
22
24
  {
23
- "Action": "xx",
24
- "ProcessPath": "xx",
25
- "Target": "xx"
25
+ "ProcessPath": "abc",
26
+ "Target": "abc",
27
+ "Action": "abc",
28
+ "FileAction": "abc"
26
29
  }
27
30
  ],
28
- "Name": "xx",
29
- "RuleCategory": 1,
30
31
  "Id": 1
31
32
  }
32
33
  ],
33
- "RequestId": "c741a4fd-776f-499b-85a2-7bc70fd5b92s"
34
+ "RequestId": "abc"
34
35
  }
35
36
  }
36
37
  ```
@@ -6,18 +6,19 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cwp ModifyLoginWhiteRecord --cli-unfold-argument \
9
- --UserName xx \
10
- --Remark xx \
9
+ --UserName abc \
10
+ --SrcIp abc \
11
+ --StartTime abc \
12
+ --EndTime abc \
13
+ --Remark abc \
14
+ --IsGlobal 1 \
15
+ --Id 1 \
16
+ --Hosts.0.Quuid abc \
17
+ --Hosts.0.Uuid abc \
11
18
  --Places.0.CityId 1 \
12
- --Places.0.CountryId 1 \
13
19
  --Places.0.ProvinceId 1 \
14
- --IsGlobal 1 \
15
- --Hosts.0.Quuid xx \
16
- --Hosts.0.Uuid xx \
17
- --StartTime xx \
18
- --SrcIp xx \
19
- --EndTime xx \
20
- --Id 1
20
+ --Places.0.CountryId 1 \
21
+ --Places.0.Location abc
21
22
  ```
22
23
 
23
24
  Output:
@@ -20,8 +20,12 @@ Output:
20
20
  "ApplicationId": "app-jxnaqazx",
21
21
  "ApplicationName": "应用名称",
22
22
  "Description": "应用描述",
23
- "ConfigEnvironment": "Ubuntu20.04, Python 3.8, ChatGLM2-6b, CUDA 11.7, cuDNN 8, pytorch 2, JupyteLab",
24
- "MinSystemDiskSize": 80
23
+ "ConfigEnvironment": "",
24
+ "MinSystemDiskSize": 80,
25
+ "ApplicationState": "ONLINE",
26
+ "ApplicationSize": 50,
27
+ "ApplicationType": "PRIVATE_APPLICATION",
28
+ "CreateTime": "2023-09-18 16:48:47"
25
29
  }
26
30
  ],
27
31
  "RequestId": "2b1fae52-8004-4a13-a20a-26ea1149f9df",
@@ -0,0 +1,25 @@
1
+ **Example 1: 医疗报告图片脱敏异步接口示例**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli mrs ImageMaskAsync --cli-unfold-argument \
9
+ --Image.Base64 abc \
10
+ --MaskFlag.HospitalFlag True \
11
+ --MaskFlag.DoctorFlag True \
12
+ --MaskFlag.PatientFlag True \
13
+ --MaskFlag.BarFlag True
14
+ ```
15
+
16
+ Output:
17
+ ```
18
+ {
19
+ "Response": {
20
+ "TaskID": "abc",
21
+ "RequestId": "abc"
22
+ }
23
+ }
24
+ ```
25
+
@@ -0,0 +1,21 @@
1
+ **Example 1: 图片脱敏异步获取结果接口示例**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli mrs ImageMaskAsyncGetResult --cli-unfold-argument \
9
+ --TaskID taskid
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "MaskedImage": "abc",
17
+ "RequestId": "abc"
18
+ }
19
+ }
20
+ ```
21
+
@@ -0,0 +1,41 @@
1
+ **Example 1: DescribeAssetSuperNodeList**
2
+
3
+ 查询超级节点列表
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli tcss DescribeAssetSuperNodeList --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "List": [
15
+ {
16
+ "NodeID": "abc",
17
+ "NodeName": "abc",
18
+ "ClusterName": "abc",
19
+ "ClusterID": "abc",
20
+ "Status": "abc",
21
+ "SubNetID": "abc",
22
+ "SubNetName": "abc",
23
+ "SubNetCidr": "abc",
24
+ "ZoneID": "abc",
25
+ "Zone": "abc",
26
+ "CreateTime": "abc",
27
+ "RelatePodCount": 1,
28
+ "RelateContainerCount": 1,
29
+ "AgentStatus": "abc",
30
+ "NodeUniqueID": "abc",
31
+ "ClusterAccessedStatus": "abc",
32
+ "ChargeCoresCnt": 1,
33
+ "DefendStatus": "abc"
34
+ }
35
+ ],
36
+ "TotalCount": 1,
37
+ "RequestId": "abc"
38
+ }
39
+ }
40
+ ```
41
+
@@ -0,0 +1,42 @@
1
+ **Example 1: 查询集群节点信息**
2
+
3
+ 查询集群节点信息
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli tcss DescribeClusterNodes --cli-unfold-argument \
9
+ --ClusterId abc \
10
+ --Offset 1 \
11
+ --Limit 1 \
12
+ --Filters.0.Name abc \
13
+ --Filters.0.Values abc \
14
+ --Filters.0.ExactMatch True \
15
+ --By abc \
16
+ --Order abc
17
+ ```
18
+
19
+ Output:
20
+ ```
21
+ {
22
+ "Response": {
23
+ "TotalCount": 1,
24
+ "ClusterNodeList": [
25
+ {
26
+ "InstanceId": "abc",
27
+ "PrivateIpAddresses": "abc",
28
+ "InstanceRole": "abc",
29
+ "InstanceState": "abc",
30
+ "NodeName": "abc",
31
+ "AgentStatus": "abc",
32
+ "PublicIP": "abc",
33
+ "HostID": "abc",
34
+ "MachineType": "abc",
35
+ "NodeType": "abc"
36
+ }
37
+ ],
38
+ "RequestId": "abc"
39
+ }
40
+ }
41
+ ```
42
+
@@ -0,0 +1,41 @@
1
+ **Example 1: DescribeSuperNodePodList**
2
+
3
+ 查询超级节点pod列表
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli tcss DescribeSuperNodePodList --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "List": [
15
+ {
16
+ "PodName": "abc",
17
+ "PodIP": "abc",
18
+ "NodeUniqueID": "abc",
19
+ "Status": "abc",
20
+ "CpuRequest": 0,
21
+ "CpuLimit": 0,
22
+ "MemRequest": 0,
23
+ "MemLimit": 0,
24
+ "Namespace": "abc",
25
+ "DeploymentName": "abc",
26
+ "DeploymentID": "abc",
27
+ "StartTime": "abc",
28
+ "CreateTime": "abc",
29
+ "RelateContainerCount": 1,
30
+ "RunningTime": "abc",
31
+ "PodUid": "abc",
32
+ "ChargeCoresCnt": 1,
33
+ "DefendStatus": "abc"
34
+ }
35
+ ],
36
+ "TotalCount": 1,
37
+ "RequestId": "abc"
38
+ }
39
+ }
40
+ ```
41
+
@@ -0,0 +1,56 @@
1
+ **Example 1: 查询集群的Pod列表**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli tcss DescribeUserPodList --cli-unfold-argument \
9
+ --ClusterId cls-ane0zamq \
10
+ --Limit 1 \
11
+ --Offset 0
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "PodList": [
19
+ {
20
+ "PodName": "abc",
21
+ "Status": "abc",
22
+ "PodIP": "abc",
23
+ "NodeLanIP": "abc",
24
+ "WorkloadName": "abc",
25
+ "WorkloadKind": "abc",
26
+ "ClusterName": "abc",
27
+ "ClusterId": "abc",
28
+ "Namespace": "abc",
29
+ "Region": "abc",
30
+ "Age": "abc",
31
+ "StartTime": "abc",
32
+ "Restarts": 1,
33
+ "ServiceName": "abc",
34
+ "ServiceCount": 1,
35
+ "ContainerName": "abc",
36
+ "ContainerCount": 1,
37
+ "CPU": 1,
38
+ "Memory": 1,
39
+ "Labels": "abc",
40
+ "ClusterStatus": "abc",
41
+ "WorkloadLabels": "abc",
42
+ "ContainerId": "abc",
43
+ "HostName": "abc",
44
+ "HostId": "abc",
45
+ "ClusterType": "abc",
46
+ "NodeName": "abc",
47
+ "NodeType": "abc",
48
+ "ChargeCoresCnt": 1
49
+ }
50
+ ],
51
+ "TotalCount": 1,
52
+ "RequestId": "abc"
53
+ }
54
+ }
55
+ ```
56
+
@@ -25,7 +25,7 @@ def doQueryActivityAntiRush(args, parsed_globals):
25
25
  elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
26
26
  cred = credential.STSAssumeRoleCredential(
27
27
  g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
28
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
28
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
29
29
  )
30
30
  elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
31
31
  cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
@@ -161,6 +161,7 @@ def parse_global_arg(parsed_globals):
161
161
 
162
162
  if g_param[OptionsDefine.Endpoint] is None:
163
163
  g_param[OptionsDefine.Endpoint] = conf["aa"][OptionsDefine.Endpoint]
164
+ g_param["sts_cred_endpoint"] = conf.get("sts", {}).get("endpoint")
164
165
  except Exception as err:
165
166
  raise ConfigurationError("config file:%s error, %s" % (conf_path, str(err)))
166
167
 
@@ -25,7 +25,7 @@ def doSimultaneousInterpreting(args, parsed_globals):
25
25
  elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
26
26
  cred = credential.STSAssumeRoleCredential(
27
27
  g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
28
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
28
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
29
29
  )
30
30
  elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
31
31
  cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
@@ -77,7 +77,7 @@ def doSentenceRecognition(args, parsed_globals):
77
77
  elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
78
78
  cred = credential.STSAssumeRoleCredential(
79
79
  g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
80
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
80
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
81
81
  )
82
82
  elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
83
83
  cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
@@ -129,7 +129,7 @@ def doChat(args, parsed_globals):
129
129
  elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
130
130
  cred = credential.STSAssumeRoleCredential(
131
131
  g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
132
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
132
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
133
133
  )
134
134
  elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
135
135
  cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
@@ -181,7 +181,7 @@ def doTextToVoice(args, parsed_globals):
181
181
  elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
182
182
  cred = credential.STSAssumeRoleCredential(
183
183
  g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
184
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
184
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
185
185
  )
186
186
  elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
187
187
  cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
@@ -320,6 +320,7 @@ def parse_global_arg(parsed_globals):
320
320
 
321
321
  if g_param[OptionsDefine.Endpoint] is None:
322
322
  g_param[OptionsDefine.Endpoint] = conf["aai"][OptionsDefine.Endpoint]
323
+ g_param["sts_cred_endpoint"] = conf.get("sts", {}).get("endpoint")
323
324
  except Exception as err:
324
325
  raise ConfigurationError("config file:%s error, %s" % (conf_path, str(err)))
325
326