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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {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:
|
|
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:
|
|
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:
|
|
223
|
+
:param _ProviderId: <p>软件供应方 ID。</p>
|
|
173
224
|
:type ProviderId: int
|
|
174
|
-
:param _SoftwarePackageId:
|
|
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:
|
|
229
|
+
:param _AuthorizedUserUin: <p>被授权的用户 UIN。</p>
|
|
179
230
|
:type AuthorizedUserUin: str
|
|
180
|
-
:param _AuthorizedCloudappId:
|
|
231
|
+
:param _AuthorizedCloudappId: <p>被授权的应用实例 ID。</p>
|
|
181
232
|
:type AuthorizedCloudappId: str
|
|
182
|
-
:param _AuthorizedCloudappRoleId:
|
|
233
|
+
:param _AuthorizedCloudappRoleId: <p>被授权的角色 ID。</p>
|
|
183
234
|
:type AuthorizedCloudappRoleId: str
|
|
184
|
-
:param _AuthorizedSpecification:
|
|
235
|
+
:param _AuthorizedSpecification: <p>被授权的软件规格,具体字段请参考结构SaleParam</p>
|
|
185
236
|
:type AuthorizedSpecification: list of SaleParam
|
|
186
|
-
:param _BillingMode:
|
|
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:
|
|
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:
|
|
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:
|
|
249
|
+
:param _LifeSpanUnit: <p>授权时长单位,枚举值有Y年/M月/D日三种</p>
|
|
199
250
|
:type LifeSpanUnit: str
|
|
200
|
-
:param _LicenseType:
|
|
251
|
+
:param _LicenseType: <p>授权的类型:Standard正式版/Development开发版/Trial体验版</p>
|
|
201
252
|
:type LicenseType: str
|
|
202
|
-
:param _LicenseLevel:
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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:
|
|
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"""
|
|
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、
|
|
2576
|
+
:param _AttributeKey: AttributeKey的有效取值范围是:RequestId、EventName、ActionType、PrincipalId、ResourceId、ResourceName、AccessKeyId、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、
|
|
2586
|
+
r"""AttributeKey的有效取值范围是:RequestId、EventName、ActionType、PrincipalId、ResourceId、ResourceName、AccessKeyId、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'
|