tencentcloud-sdk-python 3.0.1306__py2.py3-none-any.whl → 3.0.1308__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/bi/v20220105/models.py +122 -0
- tencentcloud/cdwdoris/v20211228/models.py +84 -82
- tencentcloud/cfg/v20210820/models.py +45 -0
- tencentcloud/cvm/v20170312/models.py +8 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -50
- tencentcloud/cwp/v20180228/models.py +0 -717
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +6 -6
- tencentcloud/hunyuan/v20230901/models.py +19 -0
- tencentcloud/lcic/v20220817/lcic_client.py +1 -1
- tencentcloud/lcic/v20220817/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +1413 -48
- tencentcloud/ocr/v20181119/models.py +352 -0
- tencentcloud/ocr/v20181119/ocr_client.py +23 -0
- tencentcloud/rum/v20210622/models.py +168 -34
- tencentcloud/scf/v20180416/models.py +8 -8
- tencentcloud/tdmq/v20200217/models.py +2 -2
- tencentcloud/teo/v20220901/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +5864 -351
- tencentcloud/teo/v20220901/teo_client.py +144 -6
- tencentcloud/trtc/v20190722/models.py +15 -0
- tencentcloud/tse/v20201207/models.py +138 -0
- tencentcloud/tse/v20201207/tse_client.py +23 -0
- tencentcloud/vpc/v20170312/errorcodes.py +1235 -2
- tencentcloud/vpc/v20170312/models.py +66410 -47
- tencentcloud/vpc/v20170312/vpc_client.py +9251 -7
- {tencentcloud_sdk_python-3.0.1306.dist-info → tencentcloud_sdk_python-3.0.1308.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1306.dist-info → tencentcloud_sdk_python-3.0.1308.dist-info}/RECORD +32 -32
- {tencentcloud_sdk_python-3.0.1306.dist-info → tencentcloud_sdk_python-3.0.1308.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1306.dist-info → tencentcloud_sdk_python-3.0.1308.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1306.dist-info → tencentcloud_sdk_python-3.0.1308.dist-info}/top_level.txt +0 -0
@@ -420,6 +420,29 @@ class TeoClient(AbstractClient):
|
|
420
420
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
421
421
|
|
422
422
|
|
423
|
+
def CreateL7AccRules(self, request):
|
424
|
+
"""本接口用于在[规则引擎](https://cloud.tencent.com/document/product/1552/70901)中创建规则,支持批量创建。
|
425
|
+
|
426
|
+
:param request: Request instance for CreateL7AccRules.
|
427
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.CreateL7AccRulesRequest`
|
428
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.CreateL7AccRulesResponse`
|
429
|
+
|
430
|
+
"""
|
431
|
+
try:
|
432
|
+
params = request._serialize()
|
433
|
+
headers = request.headers
|
434
|
+
body = self.call("CreateL7AccRules", params, headers=headers)
|
435
|
+
response = json.loads(body)
|
436
|
+
model = models.CreateL7AccRulesResponse()
|
437
|
+
model._deserialize(response["Response"])
|
438
|
+
return model
|
439
|
+
except Exception as e:
|
440
|
+
if isinstance(e, TencentCloudSDKException):
|
441
|
+
raise
|
442
|
+
else:
|
443
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
444
|
+
|
445
|
+
|
423
446
|
def CreateLoadBalancer(self, request):
|
424
447
|
"""创建负载均衡实例。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223)。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
|
425
448
|
|
@@ -933,6 +956,29 @@ class TeoClient(AbstractClient):
|
|
933
956
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
934
957
|
|
935
958
|
|
959
|
+
def DeleteL7AccRules(self, request):
|
960
|
+
"""本接口用于删除[规则引擎](https://cloud.tencent.com/document/product/1552/70901)的规则,支持批量删除。
|
961
|
+
|
962
|
+
:param request: Request instance for DeleteL7AccRules.
|
963
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DeleteL7AccRulesRequest`
|
964
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DeleteL7AccRulesResponse`
|
965
|
+
|
966
|
+
"""
|
967
|
+
try:
|
968
|
+
params = request._serialize()
|
969
|
+
headers = request.headers
|
970
|
+
body = self.call("DeleteL7AccRules", params, headers=headers)
|
971
|
+
response = json.loads(body)
|
972
|
+
model = models.DeleteL7AccRulesResponse()
|
973
|
+
model._deserialize(response["Response"])
|
974
|
+
return model
|
975
|
+
except Exception as e:
|
976
|
+
if isinstance(e, TencentCloudSDKException):
|
977
|
+
raise
|
978
|
+
else:
|
979
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
980
|
+
|
981
|
+
|
936
982
|
def DeleteLoadBalancer(self, request):
|
937
983
|
"""删除负载均衡实例,若负载均衡示例被其他服务(例如:四层代理等)引用的时候,示例无法被删除,需要先解除引用关系。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
|
938
984
|
|
@@ -1003,7 +1049,7 @@ class TeoClient(AbstractClient):
|
|
1003
1049
|
|
1004
1050
|
|
1005
1051
|
def DeleteRules(self, request):
|
1006
|
-
"""
|
1052
|
+
"""本接口为旧版,EdgeOne 已对规则引擎相关接口全面升级,详情请参考 [DeleteL7AccRules](https://cloud.tencent.com/document/product/1552/115821)。
|
1007
1053
|
|
1008
1054
|
:param request: Request instance for DeleteRules.
|
1009
1055
|
:type request: :class:`tencentcloud.teo.v20220901.models.DeleteRulesRequest`
|
@@ -1578,7 +1624,7 @@ class TeoClient(AbstractClient):
|
|
1578
1624
|
|
1579
1625
|
|
1580
1626
|
def DescribeHostsSetting(self, request):
|
1581
|
-
"""
|
1627
|
+
"""本接口为旧版,EdgeOne 已对规则引擎相关接口全面升级,可通过 [DescribeL7AccSetting](https://cloud.tencent.com/document/product/1552/115819) 和 [DescribeL7AccRules](https://cloud.tencent.com/document/product/1552/115820) 来获取域名的详细配置。
|
1582
1628
|
|
1583
1629
|
:param request: Request instance for DescribeHostsSetting.
|
1584
1630
|
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeHostsSettingRequest`
|
@@ -1692,6 +1738,52 @@ class TeoClient(AbstractClient):
|
|
1692
1738
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1693
1739
|
|
1694
1740
|
|
1741
|
+
def DescribeL7AccRules(self, request):
|
1742
|
+
"""本接口用于查询[规则引擎](https://cloud.tencent.com/document/product/1552/70901)的规则列表。
|
1743
|
+
|
1744
|
+
:param request: Request instance for DescribeL7AccRules.
|
1745
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeL7AccRulesRequest`
|
1746
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeL7AccRulesResponse`
|
1747
|
+
|
1748
|
+
"""
|
1749
|
+
try:
|
1750
|
+
params = request._serialize()
|
1751
|
+
headers = request.headers
|
1752
|
+
body = self.call("DescribeL7AccRules", params, headers=headers)
|
1753
|
+
response = json.loads(body)
|
1754
|
+
model = models.DescribeL7AccRulesResponse()
|
1755
|
+
model._deserialize(response["Response"])
|
1756
|
+
return model
|
1757
|
+
except Exception as e:
|
1758
|
+
if isinstance(e, TencentCloudSDKException):
|
1759
|
+
raise
|
1760
|
+
else:
|
1761
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1762
|
+
|
1763
|
+
|
1764
|
+
def DescribeL7AccSetting(self, request):
|
1765
|
+
"""本接口用于查询[站点加速](https://cloud.tencent.com/document/product/1552/96193)全局配置。
|
1766
|
+
|
1767
|
+
:param request: Request instance for DescribeL7AccSetting.
|
1768
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeL7AccSettingRequest`
|
1769
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeL7AccSettingResponse`
|
1770
|
+
|
1771
|
+
"""
|
1772
|
+
try:
|
1773
|
+
params = request._serialize()
|
1774
|
+
headers = request.headers
|
1775
|
+
body = self.call("DescribeL7AccSetting", params, headers=headers)
|
1776
|
+
response = json.loads(body)
|
1777
|
+
model = models.DescribeL7AccSettingResponse()
|
1778
|
+
model._deserialize(response["Response"])
|
1779
|
+
return model
|
1780
|
+
except Exception as e:
|
1781
|
+
if isinstance(e, TencentCloudSDKException):
|
1782
|
+
raise
|
1783
|
+
else:
|
1784
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1785
|
+
|
1786
|
+
|
1695
1787
|
def DescribeLoadBalancerList(self, request):
|
1696
1788
|
"""查询负载均衡实例列表。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
|
1697
1789
|
|
@@ -1877,7 +1969,7 @@ class TeoClient(AbstractClient):
|
|
1877
1969
|
|
1878
1970
|
|
1879
1971
|
def DescribeRules(self, request):
|
1880
|
-
"""
|
1972
|
+
"""本接口为旧版,EdgeOne 已对规则引擎相关接口全面升级,详情请参考 [DescribeL7AccRules](https://cloud.tencent.com/document/product/1552/115820)。
|
1881
1973
|
|
1882
1974
|
:param request: Request instance for DescribeRules.
|
1883
1975
|
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeRulesRequest`
|
@@ -1900,7 +1992,7 @@ class TeoClient(AbstractClient):
|
|
1900
1992
|
|
1901
1993
|
|
1902
1994
|
def DescribeRulesSetting(self, request):
|
1903
|
-
"""
|
1995
|
+
"""本接口为旧版,EdgeOne 已对规则引擎相关接口全面升级,详情请参考 [RuleEngineAction](https://cloud.tencent.com/document/product/1552/80721#RuleEngineAction)。
|
1904
1996
|
|
1905
1997
|
:param request: Request instance for DescribeRulesSetting.
|
1906
1998
|
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeRulesSettingRequest`
|
@@ -2133,7 +2225,7 @@ class TeoClient(AbstractClient):
|
|
2133
2225
|
|
2134
2226
|
|
2135
2227
|
def DescribeZoneSetting(self, request):
|
2136
|
-
"""
|
2228
|
+
"""本接口为旧版,EdgeOne 已对规则引擎相关接口全面升级,详情请参考 [DescribeL7AccSetting](https://cloud.tencent.com/document/product/1552/115819)。
|
2137
2229
|
|
2138
2230
|
:param request: Request instance for DescribeZoneSetting.
|
2139
2231
|
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeZoneSettingRequest`
|
@@ -2836,6 +2928,52 @@ class TeoClient(AbstractClient):
|
|
2836
2928
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2837
2929
|
|
2838
2930
|
|
2931
|
+
def ModifyL7AccRule(self, request):
|
2932
|
+
"""本接口用于修改[规则引擎](https://cloud.tencent.com/document/product/1552/70901)中的规则,单次仅支持修改单条规则。
|
2933
|
+
|
2934
|
+
:param request: Request instance for ModifyL7AccRule.
|
2935
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyL7AccRuleRequest`
|
2936
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyL7AccRuleResponse`
|
2937
|
+
|
2938
|
+
"""
|
2939
|
+
try:
|
2940
|
+
params = request._serialize()
|
2941
|
+
headers = request.headers
|
2942
|
+
body = self.call("ModifyL7AccRule", params, headers=headers)
|
2943
|
+
response = json.loads(body)
|
2944
|
+
model = models.ModifyL7AccRuleResponse()
|
2945
|
+
model._deserialize(response["Response"])
|
2946
|
+
return model
|
2947
|
+
except Exception as e:
|
2948
|
+
if isinstance(e, TencentCloudSDKException):
|
2949
|
+
raise
|
2950
|
+
else:
|
2951
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2952
|
+
|
2953
|
+
|
2954
|
+
def ModifyL7AccSetting(self, request):
|
2955
|
+
"""本接口用于修改[站点加速](https://cloud.tencent.com/document/product/1552/96193)全局配置。
|
2956
|
+
|
2957
|
+
:param request: Request instance for ModifyL7AccSetting.
|
2958
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyL7AccSettingRequest`
|
2959
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyL7AccSettingResponse`
|
2960
|
+
|
2961
|
+
"""
|
2962
|
+
try:
|
2963
|
+
params = request._serialize()
|
2964
|
+
headers = request.headers
|
2965
|
+
body = self.call("ModifyL7AccSetting", params, headers=headers)
|
2966
|
+
response = json.loads(body)
|
2967
|
+
model = models.ModifyL7AccSettingResponse()
|
2968
|
+
model._deserialize(response["Response"])
|
2969
|
+
return model
|
2970
|
+
except Exception as e:
|
2971
|
+
if isinstance(e, TencentCloudSDKException):
|
2972
|
+
raise
|
2973
|
+
else:
|
2974
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2975
|
+
|
2976
|
+
|
2839
2977
|
def ModifyLoadBalancer(self, request):
|
2840
2978
|
"""修改负载均衡实例配置。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
|
2841
2979
|
|
@@ -3021,7 +3159,7 @@ class TeoClient(AbstractClient):
|
|
3021
3159
|
|
3022
3160
|
|
3023
3161
|
def ModifyZoneSetting(self, request):
|
3024
|
-
"""
|
3162
|
+
"""本接口为旧版,EdgeOne 已对规则引擎相关接口全面升级,详情请参考 [ModifyL7AccSetting](https://cloud.tencent.com/document/product/1552/115817)。
|
3025
3163
|
|
3026
3164
|
:param request: Request instance for ModifyZoneSetting.
|
3027
3165
|
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyZoneSettingRequest`
|
@@ -199,6 +199,8 @@ class AgentConfig(AbstractModel):
|
|
199
199
|
:type TurnDetectionMode: int
|
200
200
|
:param _FilterOneWord: 是否过滤掉用户只说了一个字的句子,true表示过滤,false表示不过滤,默认值为true
|
201
201
|
:type FilterOneWord: bool
|
202
|
+
:param _WelcomeMessagePriority: 欢迎消息优先级,0默认,1高优,高优不能被打断。
|
203
|
+
:type WelcomeMessagePriority: int
|
202
204
|
"""
|
203
205
|
self._UserId = None
|
204
206
|
self._UserSig = None
|
@@ -209,6 +211,7 @@ class AgentConfig(AbstractModel):
|
|
209
211
|
self._InterruptSpeechDuration = None
|
210
212
|
self._TurnDetectionMode = None
|
211
213
|
self._FilterOneWord = None
|
214
|
+
self._WelcomeMessagePriority = None
|
212
215
|
|
213
216
|
@property
|
214
217
|
def UserId(self):
|
@@ -311,6 +314,17 @@ class AgentConfig(AbstractModel):
|
|
311
314
|
def FilterOneWord(self, FilterOneWord):
|
312
315
|
self._FilterOneWord = FilterOneWord
|
313
316
|
|
317
|
+
@property
|
318
|
+
def WelcomeMessagePriority(self):
|
319
|
+
"""欢迎消息优先级,0默认,1高优,高优不能被打断。
|
320
|
+
:rtype: int
|
321
|
+
"""
|
322
|
+
return self._WelcomeMessagePriority
|
323
|
+
|
324
|
+
@WelcomeMessagePriority.setter
|
325
|
+
def WelcomeMessagePriority(self, WelcomeMessagePriority):
|
326
|
+
self._WelcomeMessagePriority = WelcomeMessagePriority
|
327
|
+
|
314
328
|
|
315
329
|
def _deserialize(self, params):
|
316
330
|
self._UserId = params.get("UserId")
|
@@ -322,6 +336,7 @@ class AgentConfig(AbstractModel):
|
|
322
336
|
self._InterruptSpeechDuration = params.get("InterruptSpeechDuration")
|
323
337
|
self._TurnDetectionMode = params.get("TurnDetectionMode")
|
324
338
|
self._FilterOneWord = params.get("FilterOneWord")
|
339
|
+
self._WelcomeMessagePriority = params.get("WelcomeMessagePriority")
|
325
340
|
memeber_set = set(params.keys())
|
326
341
|
for name, value in vars(self).items():
|
327
342
|
property_name = name[1:]
|
@@ -11554,6 +11554,89 @@ class DescribeCloudNativeAPIGatewayConfigResult(AbstractModel):
|
|
11554
11554
|
|
11555
11555
|
|
11556
11556
|
|
11557
|
+
class DescribeCloudNativeAPIGatewayInfoByIpRequest(AbstractModel):
|
11558
|
+
"""DescribeCloudNativeAPIGatewayInfoByIp请求参数结构体
|
11559
|
+
|
11560
|
+
"""
|
11561
|
+
|
11562
|
+
def __init__(self):
|
11563
|
+
r"""
|
11564
|
+
:param _PublicNetworkIP: 云原生网关的公网ip
|
11565
|
+
:type PublicNetworkIP: str
|
11566
|
+
"""
|
11567
|
+
self._PublicNetworkIP = None
|
11568
|
+
|
11569
|
+
@property
|
11570
|
+
def PublicNetworkIP(self):
|
11571
|
+
"""云原生网关的公网ip
|
11572
|
+
:rtype: str
|
11573
|
+
"""
|
11574
|
+
return self._PublicNetworkIP
|
11575
|
+
|
11576
|
+
@PublicNetworkIP.setter
|
11577
|
+
def PublicNetworkIP(self, PublicNetworkIP):
|
11578
|
+
self._PublicNetworkIP = PublicNetworkIP
|
11579
|
+
|
11580
|
+
|
11581
|
+
def _deserialize(self, params):
|
11582
|
+
self._PublicNetworkIP = params.get("PublicNetworkIP")
|
11583
|
+
memeber_set = set(params.keys())
|
11584
|
+
for name, value in vars(self).items():
|
11585
|
+
property_name = name[1:]
|
11586
|
+
if property_name in memeber_set:
|
11587
|
+
memeber_set.remove(property_name)
|
11588
|
+
if len(memeber_set) > 0:
|
11589
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11590
|
+
|
11591
|
+
|
11592
|
+
|
11593
|
+
class DescribeCloudNativeAPIGatewayInfoByIpResponse(AbstractModel):
|
11594
|
+
"""DescribeCloudNativeAPIGatewayInfoByIp返回参数结构体
|
11595
|
+
|
11596
|
+
"""
|
11597
|
+
|
11598
|
+
def __init__(self):
|
11599
|
+
r"""
|
11600
|
+
:param _Result: 出参
|
11601
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11602
|
+
:type Result: :class:`tencentcloud.tse.v20201207.models.DescribeInstanceInfoByIpResult`
|
11603
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11604
|
+
:type RequestId: str
|
11605
|
+
"""
|
11606
|
+
self._Result = None
|
11607
|
+
self._RequestId = None
|
11608
|
+
|
11609
|
+
@property
|
11610
|
+
def Result(self):
|
11611
|
+
"""出参
|
11612
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11613
|
+
:rtype: :class:`tencentcloud.tse.v20201207.models.DescribeInstanceInfoByIpResult`
|
11614
|
+
"""
|
11615
|
+
return self._Result
|
11616
|
+
|
11617
|
+
@Result.setter
|
11618
|
+
def Result(self, Result):
|
11619
|
+
self._Result = Result
|
11620
|
+
|
11621
|
+
@property
|
11622
|
+
def RequestId(self):
|
11623
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11624
|
+
:rtype: str
|
11625
|
+
"""
|
11626
|
+
return self._RequestId
|
11627
|
+
|
11628
|
+
@RequestId.setter
|
11629
|
+
def RequestId(self, RequestId):
|
11630
|
+
self._RequestId = RequestId
|
11631
|
+
|
11632
|
+
|
11633
|
+
def _deserialize(self, params):
|
11634
|
+
if params.get("Result") is not None:
|
11635
|
+
self._Result = DescribeInstanceInfoByIpResult()
|
11636
|
+
self._Result._deserialize(params.get("Result"))
|
11637
|
+
self._RequestId = params.get("RequestId")
|
11638
|
+
|
11639
|
+
|
11557
11640
|
class DescribeCloudNativeAPIGatewayNodesRequest(AbstractModel):
|
11558
11641
|
"""DescribeCloudNativeAPIGatewayNodes请求参数结构体
|
11559
11642
|
|
@@ -15802,6 +15885,61 @@ class DescribeGovernanceServicesResponse(AbstractModel):
|
|
15802
15885
|
self._RequestId = params.get("RequestId")
|
15803
15886
|
|
15804
15887
|
|
15888
|
+
class DescribeInstanceInfoByIpResult(AbstractModel):
|
15889
|
+
"""根据公网IP查询云原生网关实例信息出参
|
15890
|
+
|
15891
|
+
"""
|
15892
|
+
|
15893
|
+
def __init__(self):
|
15894
|
+
r"""
|
15895
|
+
:param _GatewayId: 实例id
|
15896
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
15897
|
+
:type GatewayId: str
|
15898
|
+
:param _GroupId: 分组id
|
15899
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
15900
|
+
:type GroupId: str
|
15901
|
+
"""
|
15902
|
+
self._GatewayId = None
|
15903
|
+
self._GroupId = None
|
15904
|
+
|
15905
|
+
@property
|
15906
|
+
def GatewayId(self):
|
15907
|
+
"""实例id
|
15908
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
15909
|
+
:rtype: str
|
15910
|
+
"""
|
15911
|
+
return self._GatewayId
|
15912
|
+
|
15913
|
+
@GatewayId.setter
|
15914
|
+
def GatewayId(self, GatewayId):
|
15915
|
+
self._GatewayId = GatewayId
|
15916
|
+
|
15917
|
+
@property
|
15918
|
+
def GroupId(self):
|
15919
|
+
"""分组id
|
15920
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
15921
|
+
:rtype: str
|
15922
|
+
"""
|
15923
|
+
return self._GroupId
|
15924
|
+
|
15925
|
+
@GroupId.setter
|
15926
|
+
def GroupId(self, GroupId):
|
15927
|
+
self._GroupId = GroupId
|
15928
|
+
|
15929
|
+
|
15930
|
+
def _deserialize(self, params):
|
15931
|
+
self._GatewayId = params.get("GatewayId")
|
15932
|
+
self._GroupId = params.get("GroupId")
|
15933
|
+
memeber_set = set(params.keys())
|
15934
|
+
for name, value in vars(self).items():
|
15935
|
+
property_name = name[1:]
|
15936
|
+
if property_name in memeber_set:
|
15937
|
+
memeber_set.remove(property_name)
|
15938
|
+
if len(memeber_set) > 0:
|
15939
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
15940
|
+
|
15941
|
+
|
15942
|
+
|
15805
15943
|
class DescribeInstanceRegionInfo(AbstractModel):
|
15806
15944
|
"""实例地域信息描述
|
15807
15945
|
|
@@ -1199,6 +1199,29 @@ class TseClient(AbstractClient):
|
|
1199
1199
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1200
1200
|
|
1201
1201
|
|
1202
|
+
def DescribeCloudNativeAPIGatewayInfoByIp(self, request):
|
1203
|
+
"""根据公网IP查询云原生网关实例信息
|
1204
|
+
|
1205
|
+
:param request: Request instance for DescribeCloudNativeAPIGatewayInfoByIp.
|
1206
|
+
:type request: :class:`tencentcloud.tse.v20201207.models.DescribeCloudNativeAPIGatewayInfoByIpRequest`
|
1207
|
+
:rtype: :class:`tencentcloud.tse.v20201207.models.DescribeCloudNativeAPIGatewayInfoByIpResponse`
|
1208
|
+
|
1209
|
+
"""
|
1210
|
+
try:
|
1211
|
+
params = request._serialize()
|
1212
|
+
headers = request.headers
|
1213
|
+
body = self.call("DescribeCloudNativeAPIGatewayInfoByIp", params, headers=headers)
|
1214
|
+
response = json.loads(body)
|
1215
|
+
model = models.DescribeCloudNativeAPIGatewayInfoByIpResponse()
|
1216
|
+
model._deserialize(response["Response"])
|
1217
|
+
return model
|
1218
|
+
except Exception as e:
|
1219
|
+
if isinstance(e, TencentCloudSDKException):
|
1220
|
+
raise
|
1221
|
+
else:
|
1222
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1223
|
+
|
1224
|
+
|
1202
1225
|
def DescribeCloudNativeAPIGatewayNodes(self, request):
|
1203
1226
|
"""获取云原生网关节点列表
|
1204
1227
|
|