tencentcloud-sdk-python 3.0.1193__py2.py3-none-any.whl → 3.0.1195__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +45 -3
- tencentcloud/ccc/v20200210/models.py +19 -1
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +66 -1
- tencentcloud/ckafka/v20190819/ckafka_client.py +23 -0
- tencentcloud/ckafka/v20190819/models.py +192 -0
- tencentcloud/cvm/v20170312/cvm_client.py +46 -0
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +152 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +298 -0
- tencentcloud/es/v20180416/models.py +48 -0
- tencentcloud/ess/v20201111/ess_client.py +67 -21
- tencentcloud/ess/v20201111/models.py +143 -16
- tencentcloud/essbasic/v20210526/essbasic_client.py +45 -30
- tencentcloud/essbasic/v20210526/models.py +13 -13
- tencentcloud/hunyuan/v20230901/models.py +129 -3
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/models.py +2 -1
- tencentcloud/mna/v20210119/errorcodes.py +6 -0
- tencentcloud/mna/v20210119/mna_client.py +138 -0
- tencentcloud/mna/v20210119/models.py +651 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/models.py +6 -6
- tencentcloud/monitor/v20180724/models.py +29 -17
- tencentcloud/oceanus/v20190422/models.py +12 -0
- tencentcloud/postgres/v20170312/errorcodes.py +3 -0
- tencentcloud/postgres/v20170312/models.py +880 -20
- tencentcloud/postgres/v20170312/postgres_client.py +161 -0
- tencentcloud/rce/v20201103/models.py +153 -0
- tencentcloud/tcr/v20190924/models.py +45 -12
- tencentcloud/tcr/v20190924/tcr_client.py +2 -2
- tencentcloud/vpc/v20170312/models.py +1 -1
- tencentcloud/waf/v20180125/models.py +472 -4
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1195.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1195.dist-info}/RECORD +41 -41
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1195.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1195.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1195.dist-info}/top_level.txt +0 -0
@@ -87,6 +87,8 @@ class ChatCompletionsRequest(AbstractModel):
|
|
87
87
|
:type ToolChoice: str
|
88
88
|
:param _CustomTool: 强制模型调用指定的工具,当参数ToolChoice为custom时,此参数为必填
|
89
89
|
:type CustomTool: :class:`tencentcloud.hunyuan.v20230901.models.Tool`
|
90
|
+
:param _SearchInfo: 默认是false,在值为true且命中搜索时,接口会返回SearchInfo
|
91
|
+
:type SearchInfo: bool
|
90
92
|
"""
|
91
93
|
self._Model = None
|
92
94
|
self._Messages = None
|
@@ -98,6 +100,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
98
100
|
self._Tools = None
|
99
101
|
self._ToolChoice = None
|
100
102
|
self._CustomTool = None
|
103
|
+
self._SearchInfo = None
|
101
104
|
|
102
105
|
@property
|
103
106
|
def Model(self):
|
@@ -179,6 +182,14 @@ class ChatCompletionsRequest(AbstractModel):
|
|
179
182
|
def CustomTool(self, CustomTool):
|
180
183
|
self._CustomTool = CustomTool
|
181
184
|
|
185
|
+
@property
|
186
|
+
def SearchInfo(self):
|
187
|
+
return self._SearchInfo
|
188
|
+
|
189
|
+
@SearchInfo.setter
|
190
|
+
def SearchInfo(self, SearchInfo):
|
191
|
+
self._SearchInfo = SearchInfo
|
192
|
+
|
182
193
|
|
183
194
|
def _deserialize(self, params):
|
184
195
|
self._Model = params.get("Model")
|
@@ -203,6 +214,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
203
214
|
if params.get("CustomTool") is not None:
|
204
215
|
self._CustomTool = Tool()
|
205
216
|
self._CustomTool._deserialize(params.get("CustomTool"))
|
217
|
+
self._SearchInfo = params.get("SearchInfo")
|
206
218
|
memeber_set = set(params.keys())
|
207
219
|
for name, value in vars(self).items():
|
208
220
|
property_name = name[1:]
|
@@ -237,6 +249,8 @@ class ChatCompletionsResponse(AbstractModel):
|
|
237
249
|
:type ErrorMsg: :class:`tencentcloud.hunyuan.v20230901.models.ErrorMsg`
|
238
250
|
:param _ModerationLevel: 多轮会话风险审核,值为1时,表明存在信息安全风险,建议终止客户多轮会话。
|
239
251
|
:type ModerationLevel: str
|
252
|
+
:param _SearchInfo: 搜索结果信息
|
253
|
+
:type SearchInfo: :class:`tencentcloud.hunyuan.v20230901.models.SearchInfo`
|
240
254
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
|
241
255
|
:type RequestId: str
|
242
256
|
"""
|
@@ -247,6 +261,7 @@ class ChatCompletionsResponse(AbstractModel):
|
|
247
261
|
self._Choices = None
|
248
262
|
self._ErrorMsg = None
|
249
263
|
self._ModerationLevel = None
|
264
|
+
self._SearchInfo = None
|
250
265
|
self._RequestId = None
|
251
266
|
|
252
267
|
@property
|
@@ -305,6 +320,14 @@ class ChatCompletionsResponse(AbstractModel):
|
|
305
320
|
def ModerationLevel(self, ModerationLevel):
|
306
321
|
self._ModerationLevel = ModerationLevel
|
307
322
|
|
323
|
+
@property
|
324
|
+
def SearchInfo(self):
|
325
|
+
return self._SearchInfo
|
326
|
+
|
327
|
+
@SearchInfo.setter
|
328
|
+
def SearchInfo(self, SearchInfo):
|
329
|
+
self._SearchInfo = SearchInfo
|
330
|
+
|
308
331
|
@property
|
309
332
|
def RequestId(self):
|
310
333
|
return self._RequestId
|
@@ -331,6 +354,9 @@ class ChatCompletionsResponse(AbstractModel):
|
|
331
354
|
self._ErrorMsg = ErrorMsg()
|
332
355
|
self._ErrorMsg._deserialize(params.get("ErrorMsg"))
|
333
356
|
self._ModerationLevel = params.get("ModerationLevel")
|
357
|
+
if params.get("SearchInfo") is not None:
|
358
|
+
self._SearchInfo = SearchInfo()
|
359
|
+
self._SearchInfo._deserialize(params.get("SearchInfo"))
|
334
360
|
self._RequestId = params.get("RequestId")
|
335
361
|
|
336
362
|
|
@@ -1140,6 +1166,105 @@ class QueryHunyuanImageJobResponse(AbstractModel):
|
|
1140
1166
|
self._RequestId = params.get("RequestId")
|
1141
1167
|
|
1142
1168
|
|
1169
|
+
class SearchInfo(AbstractModel):
|
1170
|
+
"""搜索结果信息
|
1171
|
+
|
1172
|
+
"""
|
1173
|
+
|
1174
|
+
def __init__(self):
|
1175
|
+
r"""
|
1176
|
+
:param _SearchResults: 搜索引文信息
|
1177
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1178
|
+
:type SearchResults: list of SearchResult
|
1179
|
+
"""
|
1180
|
+
self._SearchResults = None
|
1181
|
+
|
1182
|
+
@property
|
1183
|
+
def SearchResults(self):
|
1184
|
+
return self._SearchResults
|
1185
|
+
|
1186
|
+
@SearchResults.setter
|
1187
|
+
def SearchResults(self, SearchResults):
|
1188
|
+
self._SearchResults = SearchResults
|
1189
|
+
|
1190
|
+
|
1191
|
+
def _deserialize(self, params):
|
1192
|
+
if params.get("SearchResults") is not None:
|
1193
|
+
self._SearchResults = []
|
1194
|
+
for item in params.get("SearchResults"):
|
1195
|
+
obj = SearchResult()
|
1196
|
+
obj._deserialize(item)
|
1197
|
+
self._SearchResults.append(obj)
|
1198
|
+
memeber_set = set(params.keys())
|
1199
|
+
for name, value in vars(self).items():
|
1200
|
+
property_name = name[1:]
|
1201
|
+
if property_name in memeber_set:
|
1202
|
+
memeber_set.remove(property_name)
|
1203
|
+
if len(memeber_set) > 0:
|
1204
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1205
|
+
|
1206
|
+
|
1207
|
+
|
1208
|
+
class SearchResult(AbstractModel):
|
1209
|
+
"""搜索引文信息
|
1210
|
+
|
1211
|
+
"""
|
1212
|
+
|
1213
|
+
def __init__(self):
|
1214
|
+
r"""
|
1215
|
+
:param _Index: 搜索引文序号
|
1216
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1217
|
+
:type Index: int
|
1218
|
+
:param _Title: 搜索引文标题
|
1219
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1220
|
+
:type Title: str
|
1221
|
+
:param _Url: 搜索引文链接
|
1222
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1223
|
+
:type Url: str
|
1224
|
+
"""
|
1225
|
+
self._Index = None
|
1226
|
+
self._Title = None
|
1227
|
+
self._Url = None
|
1228
|
+
|
1229
|
+
@property
|
1230
|
+
def Index(self):
|
1231
|
+
return self._Index
|
1232
|
+
|
1233
|
+
@Index.setter
|
1234
|
+
def Index(self, Index):
|
1235
|
+
self._Index = Index
|
1236
|
+
|
1237
|
+
@property
|
1238
|
+
def Title(self):
|
1239
|
+
return self._Title
|
1240
|
+
|
1241
|
+
@Title.setter
|
1242
|
+
def Title(self, Title):
|
1243
|
+
self._Title = Title
|
1244
|
+
|
1245
|
+
@property
|
1246
|
+
def Url(self):
|
1247
|
+
return self._Url
|
1248
|
+
|
1249
|
+
@Url.setter
|
1250
|
+
def Url(self, Url):
|
1251
|
+
self._Url = Url
|
1252
|
+
|
1253
|
+
|
1254
|
+
def _deserialize(self, params):
|
1255
|
+
self._Index = params.get("Index")
|
1256
|
+
self._Title = params.get("Title")
|
1257
|
+
self._Url = params.get("Url")
|
1258
|
+
memeber_set = set(params.keys())
|
1259
|
+
for name, value in vars(self).items():
|
1260
|
+
property_name = name[1:]
|
1261
|
+
if property_name in memeber_set:
|
1262
|
+
memeber_set.remove(property_name)
|
1263
|
+
if len(memeber_set) > 0:
|
1264
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1265
|
+
|
1266
|
+
|
1267
|
+
|
1143
1268
|
class SubmitHunyuanImageJobRequest(AbstractModel):
|
1144
1269
|
"""SubmitHunyuanImageJob请求参数结构体
|
1145
1270
|
|
@@ -1286,8 +1411,7 @@ class TextToImageLiteRequest(AbstractModel):
|
|
1286
1411
|
推荐使用中文。最多可传256个 utf-8 字符。
|
1287
1412
|
:type NegativePrompt: str
|
1288
1413
|
:param _Style: 绘画风格。
|
1289
|
-
请在 [
|
1290
|
-
推荐使用且只使用一种风格。不传默认使用201(日系动漫风格)。
|
1414
|
+
请在 [文生图轻量版风格列表](https://cloud.tencent.com/document/product/1729/108992) 中选择期望的风格,传入风格编号。不传默认使用201(日系动漫风格)。
|
1291
1415
|
:type Style: str
|
1292
1416
|
:param _Resolution: 生成图分辨率。
|
1293
1417
|
支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9),不传默认使用768:768。
|
@@ -1381,7 +1505,9 @@ class TextToImageLiteResponse(AbstractModel):
|
|
1381
1505
|
|
1382
1506
|
def __init__(self):
|
1383
1507
|
r"""
|
1384
|
-
:param _ResultImage: 根据入参 RspImgType
|
1508
|
+
:param _ResultImage: 根据入参 RspImgType 填入不同,返回不同的内容。
|
1509
|
+
如果传入 base64 则返回生成图 Base64 编码。
|
1510
|
+
如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。
|
1385
1511
|
:type ResultImage: str
|
1386
1512
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1387
1513
|
:type RequestId: str
|
@@ -236,6 +236,9 @@ INVALIDPARAMETERVALUE_INVALIDGATEWAYPROTOCOLTYPE = 'InvalidParameterValue.Invali
|
|
236
236
|
# 无效的Ipv4地址
|
237
237
|
INVALIDPARAMETERVALUE_INVALIDIPV4 = 'InvalidParameterValue.InvalidIpv4'
|
238
238
|
|
239
|
+
# 无效的关键字
|
240
|
+
INVALIDPARAMETERVALUE_INVALIDKEYWORD = 'InvalidParameterValue.InvalidKeyword'
|
241
|
+
|
239
242
|
# 名称为空或填写有误
|
240
243
|
INVALIDPARAMETERVALUE_INVALIDNAME = 'InvalidParameterValue.InvalidName'
|
241
244
|
|
@@ -11530,7 +11530,8 @@ class ListTasksRequest(AbstractModel):
|
|
11530
11530
|
:param _Operation: 默认不根据该字段进行筛选,否则根据设备操作类型进行筛选,目前值有:BatchDeleteUserDevice,BatchDisableDevice,BatchEnableDevice,
|
11531
11531
|
BatchUpgradeDevice,
|
11532
11532
|
BatchResetDevice,
|
11533
|
-
BatchRebootDevice
|
11533
|
+
BatchRebootDevice,
|
11534
|
+
BatchRefreshDeviceChannel
|
11534
11535
|
:type Operation: str
|
11535
11536
|
:param _Status: 默认不根据该字段进行筛选,否则根据任务状态进行筛选。状态码:1-未执行,2-执行中,3-完成,4-取消
|
11536
11537
|
:type Status: int
|
@@ -86,6 +86,12 @@ OPERATIONDENIED_ILLEGALREQUEST = 'OperationDenied.IllegalRequest'
|
|
86
86
|
# 余额不足
|
87
87
|
OPERATIONDENIED_INSUFFICIENTBALANCE = 'OperationDenied.InsufficientBalance'
|
88
88
|
|
89
|
+
# 互通规则CIDR重叠
|
90
|
+
OPERATIONDENIED_L3CIDROVERLAP = 'OperationDenied.L3CidrOverLap'
|
91
|
+
|
92
|
+
# 互通规则数超过最大限制150条
|
93
|
+
OPERATIONDENIED_L3CONNECTIONOVERSIZE = 'OperationDenied.L3ConnectionOverSize'
|
94
|
+
|
89
95
|
# 资源包已经变配或续费
|
90
96
|
OPERATIONDENIED_MODIFIEDORRENEWED = 'OperationDenied.ModifiedOrRenewed'
|
91
97
|
|
@@ -118,6 +118,29 @@ class MnaClient(AbstractClient):
|
|
118
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
119
119
|
|
120
120
|
|
121
|
+
def AddL3Conn(self, request):
|
122
|
+
"""新建互通规则
|
123
|
+
|
124
|
+
:param request: Request instance for AddL3Conn.
|
125
|
+
:type request: :class:`tencentcloud.mna.v20210119.models.AddL3ConnRequest`
|
126
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.AddL3ConnResponse`
|
127
|
+
|
128
|
+
"""
|
129
|
+
try:
|
130
|
+
params = request._serialize()
|
131
|
+
headers = request.headers
|
132
|
+
body = self.call("AddL3Conn", params, headers=headers)
|
133
|
+
response = json.loads(body)
|
134
|
+
model = models.AddL3ConnResponse()
|
135
|
+
model._deserialize(response["Response"])
|
136
|
+
return model
|
137
|
+
except Exception as e:
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
139
|
+
raise
|
140
|
+
else:
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
142
|
+
|
143
|
+
|
121
144
|
def CreateEncryptedKey(self, request):
|
122
145
|
"""通过此接口设置和更新预置密钥
|
123
146
|
|
@@ -210,6 +233,29 @@ class MnaClient(AbstractClient):
|
|
210
233
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
211
234
|
|
212
235
|
|
236
|
+
def DeleteL3Conn(self, request):
|
237
|
+
"""删除互通规则
|
238
|
+
|
239
|
+
:param request: Request instance for DeleteL3Conn.
|
240
|
+
:type request: :class:`tencentcloud.mna.v20210119.models.DeleteL3ConnRequest`
|
241
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.DeleteL3ConnResponse`
|
242
|
+
|
243
|
+
"""
|
244
|
+
try:
|
245
|
+
params = request._serialize()
|
246
|
+
headers = request.headers
|
247
|
+
body = self.call("DeleteL3Conn", params, headers=headers)
|
248
|
+
response = json.loads(body)
|
249
|
+
model = models.DeleteL3ConnResponse()
|
250
|
+
model._deserialize(response["Response"])
|
251
|
+
return model
|
252
|
+
except Exception as e:
|
253
|
+
if isinstance(e, TencentCloudSDKException):
|
254
|
+
raise
|
255
|
+
else:
|
256
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
257
|
+
|
258
|
+
|
213
259
|
def DeleteQos(self, request):
|
214
260
|
"""移动网络停止Qos加速过程
|
215
261
|
|
@@ -509,6 +555,29 @@ class MnaClient(AbstractClient):
|
|
509
555
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
510
556
|
|
511
557
|
|
558
|
+
def GetL3ConnList(self, request):
|
559
|
+
"""获取互通规则列表
|
560
|
+
|
561
|
+
:param request: Request instance for GetL3ConnList.
|
562
|
+
:type request: :class:`tencentcloud.mna.v20210119.models.GetL3ConnListRequest`
|
563
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.GetL3ConnListResponse`
|
564
|
+
|
565
|
+
"""
|
566
|
+
try:
|
567
|
+
params = request._serialize()
|
568
|
+
headers = request.headers
|
569
|
+
body = self.call("GetL3ConnList", params, headers=headers)
|
570
|
+
response = json.loads(body)
|
571
|
+
model = models.GetL3ConnListResponse()
|
572
|
+
model._deserialize(response["Response"])
|
573
|
+
return model
|
574
|
+
except Exception as e:
|
575
|
+
if isinstance(e, TencentCloudSDKException):
|
576
|
+
raise
|
577
|
+
else:
|
578
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
579
|
+
|
580
|
+
|
512
581
|
def GetMultiFlowStatistic(self, request):
|
513
582
|
"""批量获取设备流量统计曲线
|
514
583
|
|
@@ -801,6 +870,75 @@ class MnaClient(AbstractClient):
|
|
801
870
|
model = models.UpdateHardwareResponse()
|
802
871
|
model._deserialize(response["Response"])
|
803
872
|
return model
|
873
|
+
except Exception as e:
|
874
|
+
if isinstance(e, TencentCloudSDKException):
|
875
|
+
raise
|
876
|
+
else:
|
877
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
878
|
+
|
879
|
+
|
880
|
+
def UpdateL3Cidr(self, request):
|
881
|
+
"""更新互通规则CIDR
|
882
|
+
|
883
|
+
:param request: Request instance for UpdateL3Cidr.
|
884
|
+
:type request: :class:`tencentcloud.mna.v20210119.models.UpdateL3CidrRequest`
|
885
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.UpdateL3CidrResponse`
|
886
|
+
|
887
|
+
"""
|
888
|
+
try:
|
889
|
+
params = request._serialize()
|
890
|
+
headers = request.headers
|
891
|
+
body = self.call("UpdateL3Cidr", params, headers=headers)
|
892
|
+
response = json.loads(body)
|
893
|
+
model = models.UpdateL3CidrResponse()
|
894
|
+
model._deserialize(response["Response"])
|
895
|
+
return model
|
896
|
+
except Exception as e:
|
897
|
+
if isinstance(e, TencentCloudSDKException):
|
898
|
+
raise
|
899
|
+
else:
|
900
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
901
|
+
|
902
|
+
|
903
|
+
def UpdateL3Conn(self, request):
|
904
|
+
"""更新互通规则备注
|
905
|
+
|
906
|
+
:param request: Request instance for UpdateL3Conn.
|
907
|
+
:type request: :class:`tencentcloud.mna.v20210119.models.UpdateL3ConnRequest`
|
908
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.UpdateL3ConnResponse`
|
909
|
+
|
910
|
+
"""
|
911
|
+
try:
|
912
|
+
params = request._serialize()
|
913
|
+
headers = request.headers
|
914
|
+
body = self.call("UpdateL3Conn", params, headers=headers)
|
915
|
+
response = json.loads(body)
|
916
|
+
model = models.UpdateL3ConnResponse()
|
917
|
+
model._deserialize(response["Response"])
|
918
|
+
return model
|
919
|
+
except Exception as e:
|
920
|
+
if isinstance(e, TencentCloudSDKException):
|
921
|
+
raise
|
922
|
+
else:
|
923
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
924
|
+
|
925
|
+
|
926
|
+
def UpdateL3Switch(self, request):
|
927
|
+
"""更新互通规则开关
|
928
|
+
|
929
|
+
:param request: Request instance for UpdateL3Switch.
|
930
|
+
:type request: :class:`tencentcloud.mna.v20210119.models.UpdateL3SwitchRequest`
|
931
|
+
:rtype: :class:`tencentcloud.mna.v20210119.models.UpdateL3SwitchResponse`
|
932
|
+
|
933
|
+
"""
|
934
|
+
try:
|
935
|
+
params = request._serialize()
|
936
|
+
headers = request.headers
|
937
|
+
body = self.call("UpdateL3Switch", params, headers=headers)
|
938
|
+
response = json.loads(body)
|
939
|
+
model = models.UpdateL3SwitchResponse()
|
940
|
+
model._deserialize(response["Response"])
|
941
|
+
return model
|
804
942
|
except Exception as e:
|
805
943
|
if isinstance(e, TencentCloudSDKException):
|
806
944
|
raise
|