tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (260) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ags/v20250920/ags_client.py +46 -0
  3. tencentcloud/ags/v20250920/ags_client_async.py +36 -0
  4. tencentcloud/ags/v20250920/errorcodes.py +45 -0
  5. tencentcloud/ags/v20250920/models.py +1704 -110
  6. tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
  7. tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
  8. tencentcloud/ai3d/v20250513/models.py +78 -36
  9. tencentcloud/aiart/v20221229/aiart_client.py +46 -0
  10. tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
  11. tencentcloud/aiart/v20221229/models.py +289 -0
  12. tencentcloud/ams/v20201229/models.py +101 -0
  13. tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
  14. tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
  15. tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
  16. tencentcloud/antiddos/v20200309/models.py +1671 -97
  17. tencentcloud/apm/v20210622/apm_client.py +23 -0
  18. tencentcloud/apm/v20210622/apm_client_async.py +18 -0
  19. tencentcloud/apm/v20210622/errorcodes.py +3 -0
  20. tencentcloud/apm/v20210622/models.py +1678 -78
  21. tencentcloud/asr/v20190614/models.py +100 -2
  22. tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
  23. tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
  24. tencentcloud/autoscaling/v20180419/models.py +475 -338
  25. tencentcloud/bh/v20230418/models.py +179 -6
  26. tencentcloud/billing/v20180709/billing_client.py +23 -0
  27. tencentcloud/billing/v20180709/billing_client_async.py +18 -0
  28. tencentcloud/billing/v20180709/models.py +328 -6
  29. tencentcloud/cam/v20190116/models.py +111 -2
  30. tencentcloud/car/v20220110/car_client.py +23 -0
  31. tencentcloud/car/v20220110/car_client_async.py +18 -0
  32. tencentcloud/car/v20220110/models.py +109 -0
  33. tencentcloud/cbs/v20170312/models.py +14 -14
  34. tencentcloud/ccc/v20200210/ccc_client.py +42 -13
  35. tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
  36. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  37. tencentcloud/ccc/v20200210/models.py +256 -4
  38. tencentcloud/cdb/v20170320/models.py +37 -16
  39. tencentcloud/cdc/v20201214/models.py +92 -124
  40. tencentcloud/cdn/v20180606/cdn_client.py +0 -78
  41. tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
  42. tencentcloud/cdn/v20180606/errorcodes.py +3 -0
  43. tencentcloud/cdn/v20180606/models.py +464 -1028
  44. tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
  45. tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
  46. tencentcloud/cdwch/v20200915/models.py +555 -0
  47. tencentcloud/cdwdoris/v20211228/models.py +505 -0
  48. tencentcloud/cfs/v20190719/errorcodes.py +1 -1
  49. tencentcloud/cfs/v20190719/models.py +2 -2
  50. tencentcloud/cfw/v20190904/cfw_client.py +278 -23
  51. tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
  52. tencentcloud/cfw/v20190904/models.py +3319 -1154
  53. tencentcloud/chdfs/v20201112/models.py +150 -0
  54. tencentcloud/ckafka/v20190819/models.py +458 -282
  55. tencentcloud/clb/v20180317/clb_client.py +23 -0
  56. tencentcloud/clb/v20180317/clb_client_async.py +18 -0
  57. tencentcloud/clb/v20180317/models.py +230 -130
  58. tencentcloud/cloudapp/v20220530/models.py +190 -36
  59. tencentcloud/cloudaudit/v20190319/models.py +32 -4
  60. tencentcloud/cloudmate/__init__.py +0 -0
  61. tencentcloud/cloudmate/v20251030/__init__.py +0 -0
  62. tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
  63. tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
  64. tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
  65. tencentcloud/cloudmate/v20251030/models.py +387 -0
  66. tencentcloud/cls/v20201016/cls_client.py +1064 -0
  67. tencentcloud/cls/v20201016/cls_client_async.py +860 -26
  68. tencentcloud/cls/v20201016/models.py +10246 -384
  69. tencentcloud/cme/v20191029/models.py +23 -0
  70. tencentcloud/csip/v20221121/models.py +317 -0
  71. tencentcloud/cvm/v20170312/cvm_client.py +1 -1
  72. tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
  73. tencentcloud/cvm/v20170312/errorcodes.py +9 -0
  74. tencentcloud/cvm/v20170312/models.py +28 -8
  75. tencentcloud/cwp/v20180228/cwp_client.py +0 -188
  76. tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
  77. tencentcloud/cwp/v20180228/models.py +1097 -1814
  78. tencentcloud/cynosdb/v20190107/models.py +181 -48
  79. tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
  80. tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
  81. tencentcloud/dataagent/v20250513/models.py +1477 -52
  82. tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
  83. tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
  84. tencentcloud/dbbrain/v20210527/models.py +261 -15
  85. tencentcloud/dbs/v20211108/dbs_client.py +69 -0
  86. tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
  87. tencentcloud/dbs/v20211108/errorcodes.py +15 -0
  88. tencentcloud/dbs/v20211108/models.py +1173 -27
  89. tencentcloud/dlc/v20210125/dlc_client.py +69 -0
  90. tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
  91. tencentcloud/dlc/v20210125/errorcodes.py +15 -0
  92. tencentcloud/dlc/v20210125/models.py +1016 -0
  93. tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
  94. tencentcloud/dnspod/v20210323/models.py +4 -4
  95. tencentcloud/emr/v20190103/emr_client.py +46 -0
  96. tencentcloud/emr/v20190103/emr_client_async.py +36 -0
  97. tencentcloud/emr/v20190103/models.py +625 -2
  98. tencentcloud/es/v20180416/errorcodes.py +15 -0
  99. tencentcloud/es/v20180416/es_client.py +115 -0
  100. tencentcloud/es/v20180416/es_client_async.py +90 -0
  101. tencentcloud/es/v20180416/models.py +498 -4
  102. tencentcloud/ess/v20201111/ess_client.py +153 -6
  103. tencentcloud/ess/v20201111/ess_client_async.py +128 -6
  104. tencentcloud/ess/v20201111/models.py +1496 -58
  105. tencentcloud/essbasic/v20210526/models.py +129 -23
  106. tencentcloud/evt/v20250217/evt_client.py +46 -0
  107. tencentcloud/evt/v20250217/evt_client_async.py +36 -0
  108. tencentcloud/evt/v20250217/models.py +188 -0
  109. tencentcloud/faceid/v20180301/models.py +10 -4
  110. tencentcloud/gaap/v20180529/models.py +260 -352
  111. tencentcloud/gs/v20191118/models.py +150 -4
  112. tencentcloud/gwlb/v20240906/models.py +48 -70
  113. tencentcloud/iai/v20180301/models.py +4 -4
  114. tencentcloud/iai/v20200303/models.py +4 -4
  115. tencentcloud/igtm/v20231024/errorcodes.py +1 -1
  116. tencentcloud/ims/v20201229/ims_client.py +1 -1
  117. tencentcloud/ims/v20201229/ims_client_async.py +1 -1
  118. tencentcloud/ioa/v20220601/models.py +60 -0
  119. tencentcloud/keewidb/v20220308/models.py +52 -68
  120. tencentcloud/lcic/v20220817/models.py +15 -0
  121. tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
  122. tencentcloud/lighthouse/v20200324/models.py +8 -0
  123. tencentcloud/live/v20180801/errorcodes.py +6 -0
  124. tencentcloud/live/v20180801/live_client.py +143 -0
  125. tencentcloud/live/v20180801/live_client_async.py +113 -0
  126. tencentcloud/live/v20180801/models.py +914 -311
  127. tencentcloud/lke/v20231130/lke_client.py +48 -1
  128. tencentcloud/lke/v20231130/lke_client_async.py +43 -1
  129. tencentcloud/lke/v20231130/models.py +2940 -459
  130. tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
  131. tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
  132. tencentcloud/lkeap/v20240522/models.py +2 -6
  133. tencentcloud/lowcode/v20210108/models.py +30 -0
  134. tencentcloud/mna/v20210119/models.py +18 -2
  135. tencentcloud/mongodb/v20190725/models.py +2 -2
  136. tencentcloud/monitor/v20180724/models.py +258 -0
  137. tencentcloud/mps/v20190612/errorcodes.py +9 -0
  138. tencentcloud/mps/v20190612/models.py +3007 -140
  139. tencentcloud/mps/v20190612/mps_client.py +115 -0
  140. tencentcloud/mps/v20190612/mps_client_async.py +90 -0
  141. tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
  142. tencentcloud/oceanus/v20190422/models.py +210 -4
  143. tencentcloud/ocr/v20181119/models.py +72 -4
  144. tencentcloud/ocr/v20181119/ocr_client.py +12 -8
  145. tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
  146. tencentcloud/partners/v20180321/models.py +88 -92
  147. tencentcloud/pts/v20210728/models.py +206 -0
  148. tencentcloud/rce/v20250425/__init__.py +0 -0
  149. tencentcloud/rce/v20250425/errorcodes.py +15 -0
  150. tencentcloud/rce/v20250425/models.py +301 -0
  151. tencentcloud/rce/v20250425/rce_client.py +49 -0
  152. tencentcloud/rce/v20250425/rce_client_async.py +44 -0
  153. tencentcloud/redis/v20180412/models.py +65 -70
  154. tencentcloud/rum/v20210622/models.py +548 -0
  155. tencentcloud/rum/v20210622/rum_client.py +23 -0
  156. tencentcloud/rum/v20210622/rum_client_async.py +18 -0
  157. tencentcloud/scf/v20180416/models.py +28 -2
  158. tencentcloud/ses/v20201002/errorcodes.py +3 -0
  159. tencentcloud/ssl/v20191205/models.py +991 -70
  160. tencentcloud/ssl/v20191205/ssl_client.py +2 -2
  161. tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
  162. tencentcloud/ssm/v20190923/models.py +134 -0
  163. tencentcloud/svp/v20240125/models.py +35 -20
  164. tencentcloud/tag/v20180813/models.py +34 -54
  165. tencentcloud/tat/v20201028/models.py +2 -0
  166. tencentcloud/tcaplusdb/v20190823/models.py +0 -337
  167. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
  168. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
  169. tencentcloud/tcb/v20180608/errorcodes.py +15 -12
  170. tencentcloud/tcb/v20180608/models.py +5761 -8383
  171. tencentcloud/tcb/v20180608/tcb_client.py +0 -276
  172. tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
  173. tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
  174. tencentcloud/tcbr/v20220217/models.py +4193 -1389
  175. tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
  176. tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
  177. tencentcloud/tcr/v20190924/models.py +727 -61
  178. tencentcloud/tcr/v20190924/tcr_client.py +92 -0
  179. tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
  180. tencentcloud/tcss/v20201101/models.py +30 -0
  181. tencentcloud/tdai/v20250717/models.py +440 -2
  182. tencentcloud/tdai/v20250717/tdai_client.py +23 -0
  183. tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
  184. tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
  185. tencentcloud/tdmq/v20200217/models.py +432 -4
  186. tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
  187. tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
  188. tencentcloud/teo/v20220901/errorcodes.py +39 -0
  189. tencentcloud/teo/v20220901/models.py +596 -79
  190. tencentcloud/teo/v20220901/teo_client.py +107 -1
  191. tencentcloud/teo/v20220901/teo_client_async.py +97 -1
  192. tencentcloud/thpc/v20211109/models.py +14 -14
  193. tencentcloud/thpc/v20220401/models.py +14 -14
  194. tencentcloud/thpc/v20230321/models.py +20 -54
  195. tencentcloud/tione/v20211111/errorcodes.py +9 -0
  196. tencentcloud/tione/v20211111/models.py +910 -73
  197. tencentcloud/tione/v20211111/tione_client.py +69 -0
  198. tencentcloud/tione/v20211111/tione_client_async.py +54 -0
  199. tencentcloud/tke/v20180525/models.py +468 -18
  200. tencentcloud/tke/v20180525/tke_client.py +69 -0
  201. tencentcloud/tke/v20180525/tke_client_async.py +54 -0
  202. tencentcloud/tke/v20220501/models.py +539 -0
  203. tencentcloud/tke/v20220501/tke_client.py +23 -0
  204. tencentcloud/tke/v20220501/tke_client_async.py +18 -0
  205. tencentcloud/trocket/v20230308/models.py +42 -21
  206. tencentcloud/trocket/v20230308/trocket_client.py +2 -1
  207. tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
  208. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  209. tencentcloud/trtc/v20190722/models.py +173 -30
  210. tencentcloud/tse/v20201207/models.py +42 -0
  211. tencentcloud/tsf/v20180326/errorcodes.py +4 -4
  212. tencentcloud/tsf/v20180326/models.py +15 -510
  213. tencentcloud/tsf/v20180326/tsf_client.py +66 -47
  214. tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
  215. tencentcloud/tts/v20190823/tts_client.py +1 -1
  216. tencentcloud/tts/v20190823/tts_client_async.py +1 -1
  217. tencentcloud/vclm/v20240523/models.py +383 -0
  218. tencentcloud/vclm/v20240523/vclm_client.py +46 -0
  219. tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
  220. tencentcloud/vcube/v20220410/models.py +30 -0
  221. tencentcloud/vdb/v20230616/models.py +567 -0
  222. tencentcloud/vdb/v20230616/vdb_client.py +69 -0
  223. tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
  224. tencentcloud/vm/v20210922/models.py +116 -0
  225. tencentcloud/vod/v20180717/errorcodes.py +3 -0
  226. tencentcloud/vod/v20180717/models.py +4107 -622
  227. tencentcloud/vod/v20180717/vod_client.py +72 -3
  228. tencentcloud/vod/v20180717/vod_client_async.py +57 -3
  229. tencentcloud/vpc/v20170312/errorcodes.py +15 -0
  230. tencentcloud/vpc/v20170312/models.py +387 -2
  231. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  232. tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
  233. tencentcloud/waf/v20180125/errorcodes.py +3 -0
  234. tencentcloud/waf/v20180125/models.py +970 -0
  235. tencentcloud/waf/v20180125/waf_client.py +46 -0
  236. tencentcloud/waf/v20180125/waf_client_async.py +36 -0
  237. tencentcloud/wedata/v20210820/models.py +2851 -29
  238. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  239. tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
  240. tencentcloud/wedata/v20250806/errorcodes.py +21 -0
  241. tencentcloud/wedata/v20250806/models.py +40999 -15704
  242. tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
  243. tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
  244. tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
  245. tencentcloud/weilingwith/v20230427/models.py +17 -336
  246. tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
  247. tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
  248. tencentcloud/wimgs/__init__.py +0 -0
  249. tencentcloud/wimgs/v20251106/__init__.py +0 -0
  250. tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
  251. tencentcloud/wimgs/v20251106/models.py +132 -0
  252. tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
  253. tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
  254. tencentcloud/wsa/v20250508/errorcodes.py +6 -0
  255. tencentcloud/wsa/v20250508/models.py +17 -2
  256. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
  257. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
  258. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
  259. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
  260. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
@@ -102,6 +102,57 @@ class DescribeLicenseResponse(AbstractModel):
102
102
  self._RequestId = params.get("RequestId")
103
103
 
104
104
 
105
+ class DisplayMetadata(AbstractModel):
106
+ r"""元数据展示信息
107
+
108
+ """
109
+
110
+ def __init__(self):
111
+ r"""
112
+ :param _Name: <p>展示的名称</p>
113
+ :type Name: str
114
+ :param _Value: <p>展示的值</p>
115
+ :type Value: str
116
+ """
117
+ self._Name = None
118
+ self._Value = None
119
+
120
+ @property
121
+ def Name(self):
122
+ r"""<p>展示的名称</p>
123
+ :rtype: str
124
+ """
125
+ return self._Name
126
+
127
+ @Name.setter
128
+ def Name(self, Name):
129
+ self._Name = Name
130
+
131
+ @property
132
+ def Value(self):
133
+ r"""<p>展示的值</p>
134
+ :rtype: str
135
+ """
136
+ return self._Value
137
+
138
+ @Value.setter
139
+ def Value(self, Value):
140
+ self._Value = Value
141
+
142
+
143
+ def _deserialize(self, params):
144
+ self._Name = params.get("Name")
145
+ self._Value = params.get("Value")
146
+ memeber_set = set(params.keys())
147
+ for name, value in vars(self).items():
148
+ property_name = name[1:]
149
+ if property_name in memeber_set:
150
+ memeber_set.remove(property_name)
151
+ if len(memeber_set) > 0:
152
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
153
+
154
+
155
+
105
156
  class Filter(AbstractModel):
106
157
  r"""描述键值对过滤器,用于条件过滤查询。例如过滤 ID、名称、状态等
107
158
 
@@ -163,44 +214,48 @@ class License(AbstractModel):
163
214
 
164
215
  def __init__(self):
165
216
  r"""
166
- :param _LicenseId: License ID
217
+ :param _LicenseId: <p>License ID</p>
167
218
  :type LicenseId: str
168
- :param _LicenseMode: 软件授权模式。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Permanent</td><td>永久授权。该授权不受有效期限制。</td></tr><tr><td>Subscription</td><td>订阅授权。授权如果过了有效期,则会进入过期状态。</td></tr><tr><td>Accept</td><td>验收期授权。用于需要验收的软件处于验收期间的授权,授权如果过了验收有效期,则会进入过期状态。</td></tr></tbody></table>
219
+ :param _LicenseMode: <p>软件授权模式。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Permanent</td><td>永久授权。该授权不受有效期限制。</td></tr><tr><td>Subscription</td><td>订阅授权。授权如果过了有效期,则会进入过期状态。</td></tr><tr><td>Accept</td><td>验收期授权。用于需要验收的软件处于验收期间的授权,授权如果过了验收有效期,则会进入过期状态。</td></tr></tbody></table></p>
169
220
  :type LicenseMode: str
170
- :param _LicenseStatus: 软件的授权状态。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Issued</td><td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td></tr><tr><td>Active</td><td>授权在有效期内,这是软件运行期间最常见的状态。</td></tr><tr><td>Expired</td><td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td></tr><tr><td>Isolated</td><td>授权已隔离。有截止日期的授权,当用户授权到期时,先进入此状态,用户可以去续费,超过7天不续费则授权进入Destroyed状态。</td></tr><tr><td>Destroyed</td><td>授权已失效/销毁。用户如果退货软件,则授权会自动失效。</td></tr></tbody></table>
221
+ :param _LicenseStatus: <p>软件的授权状态。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Issued</td><td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td></tr><tr><td>Active</td><td>授权在有效期内,这是软件运行期间最常见的状态。</td></tr><tr><td>Expired</td><td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td></tr><tr><td>Isolated</td><td>授权已隔离。有截止日期的授权,当用户授权到期时,先进入此状态,用户可以去续费,超过7天不续费则授权进入Destroyed状态。</td></tr><tr><td>Destroyed</td><td>授权已失效/销毁。用户如果退货软件,则授权会自动失效。</td></tr></tbody></table></p>
171
222
  :type LicenseStatus: str
172
- :param _ProviderId: 软件供应方 ID
223
+ :param _ProviderId: <p>软件供应方 ID。</p>
173
224
  :type ProviderId: int
174
- :param _SoftwarePackageId: 软件包 ID
225
+ :param _SoftwarePackageId: <p>软件包 ID。</p>
175
226
  :type SoftwarePackageId: str
176
- :param _SoftwarePackageVersion: 软件包版本。
227
+ :param _SoftwarePackageVersion: <p>软件包版本。</p>
177
228
  :type SoftwarePackageVersion: str
178
- :param _AuthorizedUserUin: 被授权的用户 UIN
229
+ :param _AuthorizedUserUin: <p>被授权的用户 UIN。</p>
179
230
  :type AuthorizedUserUin: str
180
- :param _AuthorizedCloudappId: 被授权的应用实例 ID
231
+ :param _AuthorizedCloudappId: <p>被授权的应用实例 ID。</p>
181
232
  :type AuthorizedCloudappId: str
182
- :param _AuthorizedCloudappRoleId: 被授权的角色 ID
233
+ :param _AuthorizedCloudappRoleId: <p>被授权的角色 ID。</p>
183
234
  :type AuthorizedCloudappRoleId: str
184
- :param _AuthorizedSpecification: 被授权的软件规格,具体字段请参考结构SaleParam
235
+ :param _AuthorizedSpecification: <p>被授权的软件规格,具体字段请参考结构SaleParam</p>
185
236
  :type AuthorizedSpecification: list of SaleParam
186
- :param _BillingMode: 被授权的软件的计费模式。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>1</td><td>线上计费,软件的授权从腾讯云线上购买,支持续费、退款等操作。</td></tr><tr><td>2</td><td>线下计费,软件的授权线下签订合同购买,定向客户交付,无法从线上续费和退款。</td></tr><tr><td>4</td><td>免费</td></tr></tbody></table>
237
+ :param _BillingMode: <p>被授权的软件的计费模式。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>1</td><td>线上计费,软件的授权从腾讯云线上购买,支持续费、退款等操作。</td></tr><tr><td>2</td><td>线下计费,软件的授权线下签订合同购买,定向客户交付,无法从线上续费和退款。</td></tr><tr><td>4</td><td>免费</td></tr></tbody></table></p>
187
238
  :type BillingMode: int
188
- :param _LifeSpan: 授权时长(单位由LifeSpanUnit确定,枚举值有Y年/M月/D日三种)
239
+ :param _LifeSpan: <p>授权时长(单位由LifeSpanUnit确定,枚举值有Y年/M月/D日三种)</p>
189
240
  :type LifeSpan: int
190
- :param _IssueDate: 授权颁发时间。
241
+ :param _IssueDate: <p>授权颁发时间。</p>
191
242
  :type IssueDate: str
192
- :param _ActivationDate: 授权激活时间,如从未激活则返回 null
243
+ :param _ActivationDate: <p>授权激活时间,如从未激活则返回 null。</p>
193
244
  注意:此字段可能返回 null,表示取不到有效值。
194
245
  :type ActivationDate: str
195
- :param _ExpirationDate: 授权过期时间
246
+ :param _ExpirationDate: <p>授权过期时间</p>
196
247
  注意:此字段可能返回 null,表示取不到有效值。
197
248
  :type ExpirationDate: str
198
- :param _LifeSpanUnit: 授权时长单位,枚举值有Y年/M月/D日三种
249
+ :param _LifeSpanUnit: <p>授权时长单位,枚举值有Y年/M月/D日三种</p>
199
250
  :type LifeSpanUnit: str
200
- :param _LicenseType: 授权的类型:Standard正式版/Development开发版/Trial体验版
251
+ :param _LicenseType: <p>授权的类型:Standard正式版/Development开发版/Trial体验版</p>
201
252
  :type LicenseType: str
202
- :param _LicenseLevel: 授权的层级:Master 主授权;Child 子授权/增强型授权
253
+ :param _LicenseLevel: <p>授权的层级:Master 主授权;Child 子授权/增强型授权</p>
203
254
  :type LicenseLevel: str
255
+ :param _LicenseData: <p>License 内容信息</p>
256
+ :type LicenseData: :class:`tencentcloud.cloudapp.v20220530.models.LicenseData`
257
+ :param _IssueURL: <p>License 颁发地址</p>
258
+ :type IssueURL: str
204
259
  """
205
260
  self._LicenseId = None
206
261
  self._LicenseMode = None
@@ -220,10 +275,12 @@ class License(AbstractModel):
220
275
  self._LifeSpanUnit = None
221
276
  self._LicenseType = None
222
277
  self._LicenseLevel = None
278
+ self._LicenseData = None
279
+ self._IssueURL = None
223
280
 
224
281
  @property
225
282
  def LicenseId(self):
226
- r"""License ID
283
+ r"""<p>License ID</p>
227
284
  :rtype: str
228
285
  """
229
286
  return self._LicenseId
@@ -234,7 +291,7 @@ class License(AbstractModel):
234
291
 
235
292
  @property
236
293
  def LicenseMode(self):
237
- r"""软件授权模式。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Permanent</td><td>永久授权。该授权不受有效期限制。</td></tr><tr><td>Subscription</td><td>订阅授权。授权如果过了有效期,则会进入过期状态。</td></tr><tr><td>Accept</td><td>验收期授权。用于需要验收的软件处于验收期间的授权,授权如果过了验收有效期,则会进入过期状态。</td></tr></tbody></table>
294
+ r"""<p>软件授权模式。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Permanent</td><td>永久授权。该授权不受有效期限制。</td></tr><tr><td>Subscription</td><td>订阅授权。授权如果过了有效期,则会进入过期状态。</td></tr><tr><td>Accept</td><td>验收期授权。用于需要验收的软件处于验收期间的授权,授权如果过了验收有效期,则会进入过期状态。</td></tr></tbody></table></p>
238
295
  :rtype: str
239
296
  """
240
297
  return self._LicenseMode
@@ -245,7 +302,7 @@ class License(AbstractModel):
245
302
 
246
303
  @property
247
304
  def LicenseStatus(self):
248
- r"""软件的授权状态。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Issued</td><td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td></tr><tr><td>Active</td><td>授权在有效期内,这是软件运行期间最常见的状态。</td></tr><tr><td>Expired</td><td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td></tr><tr><td>Isolated</td><td>授权已隔离。有截止日期的授权,当用户授权到期时,先进入此状态,用户可以去续费,超过7天不续费则授权进入Destroyed状态。</td></tr><tr><td>Destroyed</td><td>授权已失效/销毁。用户如果退货软件,则授权会自动失效。</td></tr></tbody></table>
305
+ r"""<p>软件的授权状态。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>Issued</td><td>已颁发,等待激活。一般来说,如果软件已经在运行,不会出现该状态。</td></tr><tr><td>Active</td><td>授权在有效期内,这是软件运行期间最常见的状态。</td></tr><tr><td>Expired</td><td>授权已过期。订阅类的软件授权有有效期,如果服务器时间已晚于有效期,则会进入过期状态。</td></tr><tr><td>Isolated</td><td>授权已隔离。有截止日期的授权,当用户授权到期时,先进入此状态,用户可以去续费,超过7天不续费则授权进入Destroyed状态。</td></tr><tr><td>Destroyed</td><td>授权已失效/销毁。用户如果退货软件,则授权会自动失效。</td></tr></tbody></table></p>
249
306
  :rtype: str
250
307
  """
251
308
  return self._LicenseStatus
@@ -256,7 +313,7 @@ class License(AbstractModel):
256
313
 
257
314
  @property
258
315
  def ProviderId(self):
259
- r"""软件供应方 ID
316
+ r"""<p>软件供应方 ID。</p>
260
317
  :rtype: int
261
318
  """
262
319
  return self._ProviderId
@@ -267,7 +324,7 @@ class License(AbstractModel):
267
324
 
268
325
  @property
269
326
  def SoftwarePackageId(self):
270
- r"""软件包 ID
327
+ r"""<p>软件包 ID。</p>
271
328
  :rtype: str
272
329
  """
273
330
  return self._SoftwarePackageId
@@ -278,7 +335,7 @@ class License(AbstractModel):
278
335
 
279
336
  @property
280
337
  def SoftwarePackageVersion(self):
281
- r"""软件包版本。
338
+ r"""<p>软件包版本。</p>
282
339
  :rtype: str
283
340
  """
284
341
  return self._SoftwarePackageVersion
@@ -289,7 +346,7 @@ class License(AbstractModel):
289
346
 
290
347
  @property
291
348
  def AuthorizedUserUin(self):
292
- r"""被授权的用户 UIN
349
+ r"""<p>被授权的用户 UIN。</p>
293
350
  :rtype: str
294
351
  """
295
352
  return self._AuthorizedUserUin
@@ -300,7 +357,7 @@ class License(AbstractModel):
300
357
 
301
358
  @property
302
359
  def AuthorizedCloudappId(self):
303
- r"""被授权的应用实例 ID
360
+ r"""<p>被授权的应用实例 ID。</p>
304
361
  :rtype: str
305
362
  """
306
363
  return self._AuthorizedCloudappId
@@ -311,7 +368,7 @@ class License(AbstractModel):
311
368
 
312
369
  @property
313
370
  def AuthorizedCloudappRoleId(self):
314
- r"""被授权的角色 ID
371
+ r"""<p>被授权的角色 ID。</p>
315
372
  :rtype: str
316
373
  """
317
374
  return self._AuthorizedCloudappRoleId
@@ -322,7 +379,7 @@ class License(AbstractModel):
322
379
 
323
380
  @property
324
381
  def AuthorizedSpecification(self):
325
- r"""被授权的软件规格,具体字段请参考结构SaleParam
382
+ r"""<p>被授权的软件规格,具体字段请参考结构SaleParam</p>
326
383
  :rtype: list of SaleParam
327
384
  """
328
385
  return self._AuthorizedSpecification
@@ -333,7 +390,7 @@ class License(AbstractModel):
333
390
 
334
391
  @property
335
392
  def BillingMode(self):
336
- r"""被授权的软件的计费模式。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>1</td><td>线上计费,软件的授权从腾讯云线上购买,支持续费、退款等操作。</td></tr><tr><td>2</td><td>线下计费,软件的授权线下签订合同购买,定向客户交付,无法从线上续费和退款。</td></tr><tr><td>4</td><td>免费</td></tr></tbody></table>
393
+ r"""<p>被授权的软件的计费模式。<table><thead><tr><th>枚举值</th><th>说明</th></tr></thead><tbody><tr><td>1</td><td>线上计费,软件的授权从腾讯云线上购买,支持续费、退款等操作。</td></tr><tr><td>2</td><td>线下计费,软件的授权线下签订合同购买,定向客户交付,无法从线上续费和退款。</td></tr><tr><td>4</td><td>免费</td></tr></tbody></table></p>
337
394
  :rtype: int
338
395
  """
339
396
  return self._BillingMode
@@ -344,7 +401,7 @@ class License(AbstractModel):
344
401
 
345
402
  @property
346
403
  def LifeSpan(self):
347
- r"""授权时长(单位由LifeSpanUnit确定,枚举值有Y年/M月/D日三种)
404
+ r"""<p>授权时长(单位由LifeSpanUnit确定,枚举值有Y年/M月/D日三种)</p>
348
405
  :rtype: int
349
406
  """
350
407
  return self._LifeSpan
@@ -355,7 +412,7 @@ class License(AbstractModel):
355
412
 
356
413
  @property
357
414
  def IssueDate(self):
358
- r"""授权颁发时间。
415
+ r"""<p>授权颁发时间。</p>
359
416
  :rtype: str
360
417
  """
361
418
  return self._IssueDate
@@ -366,7 +423,7 @@ class License(AbstractModel):
366
423
 
367
424
  @property
368
425
  def ActivationDate(self):
369
- r"""授权激活时间,如从未激活则返回 null
426
+ r"""<p>授权激活时间,如从未激活则返回 null。</p>
370
427
  注意:此字段可能返回 null,表示取不到有效值。
371
428
  :rtype: str
372
429
  """
@@ -378,7 +435,7 @@ class License(AbstractModel):
378
435
 
379
436
  @property
380
437
  def ExpirationDate(self):
381
- r"""授权过期时间
438
+ r"""<p>授权过期时间</p>
382
439
  注意:此字段可能返回 null,表示取不到有效值。
383
440
  :rtype: str
384
441
  """
@@ -390,7 +447,7 @@ class License(AbstractModel):
390
447
 
391
448
  @property
392
449
  def LifeSpanUnit(self):
393
- r"""授权时长单位,枚举值有Y年/M月/D日三种
450
+ r"""<p>授权时长单位,枚举值有Y年/M月/D日三种</p>
394
451
  :rtype: str
395
452
  """
396
453
  return self._LifeSpanUnit
@@ -401,7 +458,7 @@ class License(AbstractModel):
401
458
 
402
459
  @property
403
460
  def LicenseType(self):
404
- r"""授权的类型:Standard正式版/Development开发版/Trial体验版
461
+ r"""<p>授权的类型:Standard正式版/Development开发版/Trial体验版</p>
405
462
  :rtype: str
406
463
  """
407
464
  return self._LicenseType
@@ -412,7 +469,7 @@ class License(AbstractModel):
412
469
 
413
470
  @property
414
471
  def LicenseLevel(self):
415
- r"""授权的层级:Master 主授权;Child 子授权/增强型授权
472
+ r"""<p>授权的层级:Master 主授权;Child 子授权/增强型授权</p>
416
473
  :rtype: str
417
474
  """
418
475
  return self._LicenseLevel
@@ -421,6 +478,28 @@ class License(AbstractModel):
421
478
  def LicenseLevel(self, LicenseLevel):
422
479
  self._LicenseLevel = LicenseLevel
423
480
 
481
+ @property
482
+ def LicenseData(self):
483
+ r"""<p>License 内容信息</p>
484
+ :rtype: :class:`tencentcloud.cloudapp.v20220530.models.LicenseData`
485
+ """
486
+ return self._LicenseData
487
+
488
+ @LicenseData.setter
489
+ def LicenseData(self, LicenseData):
490
+ self._LicenseData = LicenseData
491
+
492
+ @property
493
+ def IssueURL(self):
494
+ r"""<p>License 颁发地址</p>
495
+ :rtype: str
496
+ """
497
+ return self._IssueURL
498
+
499
+ @IssueURL.setter
500
+ def IssueURL(self, IssueURL):
501
+ self._IssueURL = IssueURL
502
+
424
503
 
425
504
  def _deserialize(self, params):
426
505
  self._LicenseId = params.get("LicenseId")
@@ -446,6 +525,81 @@ class License(AbstractModel):
446
525
  self._LifeSpanUnit = params.get("LifeSpanUnit")
447
526
  self._LicenseType = params.get("LicenseType")
448
527
  self._LicenseLevel = params.get("LicenseLevel")
528
+ if params.get("LicenseData") is not None:
529
+ self._LicenseData = LicenseData()
530
+ self._LicenseData._deserialize(params.get("LicenseData"))
531
+ self._IssueURL = params.get("IssueURL")
532
+ memeber_set = set(params.keys())
533
+ for name, value in vars(self).items():
534
+ property_name = name[1:]
535
+ if property_name in memeber_set:
536
+ memeber_set.remove(property_name)
537
+ if len(memeber_set) > 0:
538
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
539
+
540
+
541
+
542
+ class LicenseData(AbstractModel):
543
+ r"""License 内容信息
544
+
545
+ """
546
+
547
+ def __init__(self):
548
+ r"""
549
+ :param _Text: <p>License 文本内容。支持密钥、证书等文本形式,二进制的密钥需要伙伴进行 base64 转码</p>
550
+ :type Text: str
551
+ :param _DeploymentOutput: <p>部署服务输出信息,基于部署签发 License 时需要该参数。</p>
552
+ :type DeploymentOutput: str
553
+ :param _Metadata: <p>License 前端展示信息。key、value 形式,比如可传入,颁发机构:XXXX 有限公司</p>
554
+ :type Metadata: list of DisplayMetadata
555
+ """
556
+ self._Text = None
557
+ self._DeploymentOutput = None
558
+ self._Metadata = None
559
+
560
+ @property
561
+ def Text(self):
562
+ r"""<p>License 文本内容。支持密钥、证书等文本形式,二进制的密钥需要伙伴进行 base64 转码</p>
563
+ :rtype: str
564
+ """
565
+ return self._Text
566
+
567
+ @Text.setter
568
+ def Text(self, Text):
569
+ self._Text = Text
570
+
571
+ @property
572
+ def DeploymentOutput(self):
573
+ r"""<p>部署服务输出信息,基于部署签发 License 时需要该参数。</p>
574
+ :rtype: str
575
+ """
576
+ return self._DeploymentOutput
577
+
578
+ @DeploymentOutput.setter
579
+ def DeploymentOutput(self, DeploymentOutput):
580
+ self._DeploymentOutput = DeploymentOutput
581
+
582
+ @property
583
+ def Metadata(self):
584
+ r"""<p>License 前端展示信息。key、value 形式,比如可传入,颁发机构:XXXX 有限公司</p>
585
+ :rtype: list of DisplayMetadata
586
+ """
587
+ return self._Metadata
588
+
589
+ @Metadata.setter
590
+ def Metadata(self, Metadata):
591
+ self._Metadata = Metadata
592
+
593
+
594
+ def _deserialize(self, params):
595
+ self._Text = params.get("Text")
596
+ self._DeploymentOutput = params.get("DeploymentOutput")
597
+ if params.get("Metadata") is not None:
598
+ self._Metadata = []
599
+ for item in params.get("Metadata"):
600
+ obj = DisplayMetadata()
601
+ obj._deserialize(item)
602
+ self._Metadata.append(obj)
449
603
  memeber_set = set(params.keys())
450
604
  for name, value in vars(self).items():
451
605
  property_name = name[1:]
@@ -1281,7 +1281,21 @@ class DescribeEventsRequest(AbstractModel):
1281
1281
  :type NextToken: int
1282
1282
  :param _MaxResults: 返回日志的最大条数(最大 50 条)
1283
1283
  :type MaxResults: int
1284
- :param _LookupAttributes: 检索条件(目前支持 RequestId:请求 ID、EventName:事件名称、ActionType:操作类型(Write:写;Read:读)、PrincipalId:子账号、ResourceType:资源类型、ResourceId:资源Id、ResourceName:资源名称、AccessKeyId:密钥 ID、SensitiveAction:是否敏感操作、ApiErrorCode:API 错误码、CamErrorCode:CAM 错误码、Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)
1284
+ :param _LookupAttributes: 检索条件(目前支持:
1285
+ RequestId:请求 ID
1286
+ EventName:事件名称
1287
+ ActionType:操作类型(Write:写;Read:读)
1288
+ PrincipalId:子账号
1289
+ ResourceType:资源类型
1290
+ ResourceId:资源Id
1291
+ ResourceName:资源名称
1292
+ AccessKeyId:密钥 ID
1293
+ SensitiveAction:是否敏感操作
1294
+ ApiErrorCode:API 错误码
1295
+ CamErrorCode:CAM 错误码
1296
+ SourceIPAddress:请求IP
1297
+ Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])
1298
+ 备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)
1285
1299
  :type LookupAttributes: list of LookupAttribute
1286
1300
  :param _IsReturnLocation: 是否返回 IP 归属地(1 返回,0 不返回)
1287
1301
  :type IsReturnLocation: int
@@ -1339,7 +1353,21 @@ class DescribeEventsRequest(AbstractModel):
1339
1353
 
1340
1354
  @property
1341
1355
  def LookupAttributes(self):
1342
- r"""检索条件(目前支持 RequestId:请求 ID、EventName:事件名称、ActionType:操作类型(Write:写;Read:读)、PrincipalId:子账号、ResourceType:资源类型、ResourceId:资源Id、ResourceName:资源名称、AccessKeyId:密钥 ID、SensitiveAction:是否敏感操作、ApiErrorCode:API 错误码、CamErrorCode:CAM 错误码、Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)
1356
+ r"""检索条件(目前支持:
1357
+ RequestId:请求 ID
1358
+ EventName:事件名称
1359
+ ActionType:操作类型(Write:写;Read:读)
1360
+ PrincipalId:子账号
1361
+ ResourceType:资源类型
1362
+ ResourceId:资源Id
1363
+ ResourceName:资源名称
1364
+ AccessKeyId:密钥 ID
1365
+ SensitiveAction:是否敏感操作
1366
+ ApiErrorCode:API 错误码
1367
+ CamErrorCode:CAM 错误码
1368
+ SourceIPAddress:请求IP
1369
+ Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])
1370
+ 备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)
1343
1371
  :rtype: list of LookupAttribute
1344
1372
  """
1345
1373
  return self._LookupAttributes
@@ -2545,7 +2573,7 @@ class LookupAttribute(AbstractModel):
2545
2573
 
2546
2574
  def __init__(self):
2547
2575
  r"""
2548
- :param _AttributeKey: AttributeKey的有效取值范围是:RequestId、EventName、ReadOnlyUsernameResourceType、ResourceNameAccessKeyId,EventId
2576
+ :param _AttributeKey: AttributeKey的有效取值范围是:RequestId、EventName、ActionTypePrincipalIdResourceId、ResourceNameAccessKeyId、SensitiveAction、ApiErrorCode、CamErrorCode、SourceIPAddress、Tags
2549
2577
  :type AttributeKey: str
2550
2578
  :param _AttributeValue: AttributeValue的值
2551
2579
  :type AttributeValue: str
@@ -2555,7 +2583,7 @@ class LookupAttribute(AbstractModel):
2555
2583
 
2556
2584
  @property
2557
2585
  def AttributeKey(self):
2558
- r"""AttributeKey的有效取值范围是:RequestId、EventName、ReadOnlyUsernameResourceType、ResourceNameAccessKeyId,EventId
2586
+ r"""AttributeKey的有效取值范围是:RequestId、EventName、ActionTypePrincipalIdResourceId、ResourceNameAccessKeyId、SensitiveAction、ApiErrorCode、CamErrorCode、SourceIPAddress、Tags
2559
2587
  :rtype: str
2560
2588
  """
2561
2589
  return self._AttributeKey
File without changes
File without changes
@@ -0,0 +1,45 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ import json
17
+
18
+ from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
19
+ from tencentcloud.common.abstract_client import AbstractClient
20
+ from tencentcloud.cloudmate.v20251030 import models
21
+
22
+
23
+ class CloudmateClient(AbstractClient):
24
+ _apiVersion = '2025-10-30'
25
+ _endpoint = 'cloudmate.tencentcloudapi.com'
26
+ _service = 'cloudmate'
27
+
28
+
29
+ def CloudMateAgent(self, request):
30
+ r"""发起智能诊断对话
31
+ 注意:使用该API时,请务必设置请求域名(Endpoint)为 cloudmate.ai.tencentcloudapi.com
32
+
33
+ :param request: Request instance for CloudMateAgent.
34
+ :type request: :class:`tencentcloud.cloudmate.v20251030.models.CloudMateAgentRequest`
35
+ :rtype: :class:`tencentcloud.cloudmate.v20251030.models.CloudMateAgentResponse`
36
+
37
+ """
38
+ try:
39
+ params = request._serialize()
40
+ return self._call_and_deserialize("CloudMateAgent", params, models.CloudMateAgentResponse, headers=request.headers)
41
+ except Exception as e:
42
+ if isinstance(e, TencentCloudSDKException):
43
+ raise
44
+ else:
45
+ raise TencentCloudSDKException(type(e).__name__, str(e))
@@ -0,0 +1,45 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+
18
+ from tencentcloud.common.abstract_client_async import AbstractClient
19
+ from tencentcloud.cloudmate.v20251030 import models
20
+ from typing import Dict
21
+
22
+
23
+ class CloudmateClient(AbstractClient):
24
+ _apiVersion = '2025-10-30'
25
+ _endpoint = 'cloudmate.tencentcloudapi.com'
26
+ _service = 'cloudmate'
27
+
28
+ async def CloudMateAgent(
29
+ self,
30
+ request: models.CloudMateAgentRequest,
31
+ opts: Dict = None,
32
+ ) -> models.CloudMateAgentResponse:
33
+ """
34
+ 发起智能诊断对话
35
+ 注意:使用该API时,请务必设置请求域名(Endpoint)为 cloudmate.ai.tencentcloudapi.com
36
+ """
37
+
38
+ kwargs = {}
39
+ kwargs["action"] = "CloudMateAgent"
40
+ kwargs["params"] = request._serialize()
41
+ kwargs["resp_cls"] = models.CloudMateAgentResponse
42
+ kwargs["headers"] = request.headers
43
+ kwargs["opts"] = opts or {}
44
+
45
+ return await self.call_and_deserialize(**kwargs)
@@ -0,0 +1,30 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+ # 操作失败。
18
+ FAILEDOPERATION = 'FailedOperation'
19
+
20
+ # 参数错误。
21
+ INVALIDPARAMETER = 'InvalidParameter'
22
+
23
+ # 参数内容超出限制
24
+ INVALIDPARAMETERVALUE_OUTOFRANGE = 'InvalidParameterValue.OutOfRange'
25
+
26
+ # 资源不存在。
27
+ RESOURCENOTFOUND = 'ResourceNotFound'
28
+
29
+ # 空间不存在
30
+ RESOURCENOTFOUND_WORKSPACENOTEXIST = 'ResourceNotFound.WorkspaceNotExist'