tencentcloud-sdk-python-tse 3.0.1388__tar.gz → 3.0.1423__tar.gz
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-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/setup.py +1 -1
- {tencentcloud-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud/tse/v20201207/errorcodes.py +1 -1
- {tencentcloud-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud/tse/v20201207/models.py +378 -1
- {tencentcloud-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud/tse/v20201207/tse_client.py +24 -1
- {tencentcloud-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud_sdk_python_tse.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tse-3.0.1423/tencentcloud_sdk_python_tse.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tse-3.0.1388/tencentcloud_sdk_python_tse.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/README.rst +0 -0
- {tencentcloud-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud/tse/__init__.py +0 -0
- {tencentcloud-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud/tse/v20201207/__init__.py +0 -0
- {tencentcloud-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud_sdk_python_tse.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud_sdk_python_tse.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tse-3.0.1388 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud_sdk_python_tse.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tse',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1423,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tse SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf8 -*-
|
|
2
|
-
# Copyright (c) 2017-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf8 -*-
|
|
2
|
-
# Copyright (c) 2017-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -11949,6 +11949,8 @@ class DescribeCloudNativeAPIGatewayResult(AbstractModel):
|
|
|
11949
11949
|
:type LoadBalancerType: str
|
|
11950
11950
|
:param _PublicIpAddresses: 公网IP地址列表
|
|
11951
11951
|
:type PublicIpAddresses: list of str
|
|
11952
|
+
:param _DeleteProtect: 是否开启删除保护
|
|
11953
|
+
:type DeleteProtect: bool
|
|
11952
11954
|
"""
|
|
11953
11955
|
self._GatewayId = None
|
|
11954
11956
|
self._Status = None
|
|
@@ -11975,6 +11977,7 @@ class DescribeCloudNativeAPIGatewayResult(AbstractModel):
|
|
|
11975
11977
|
self._InstancePort = None
|
|
11976
11978
|
self._LoadBalancerType = None
|
|
11977
11979
|
self._PublicIpAddresses = None
|
|
11980
|
+
self._DeleteProtect = None
|
|
11978
11981
|
|
|
11979
11982
|
@property
|
|
11980
11983
|
def GatewayId(self):
|
|
@@ -12254,6 +12257,17 @@ class DescribeCloudNativeAPIGatewayResult(AbstractModel):
|
|
|
12254
12257
|
def PublicIpAddresses(self, PublicIpAddresses):
|
|
12255
12258
|
self._PublicIpAddresses = PublicIpAddresses
|
|
12256
12259
|
|
|
12260
|
+
@property
|
|
12261
|
+
def DeleteProtect(self):
|
|
12262
|
+
"""是否开启删除保护
|
|
12263
|
+
:rtype: bool
|
|
12264
|
+
"""
|
|
12265
|
+
return self._DeleteProtect
|
|
12266
|
+
|
|
12267
|
+
@DeleteProtect.setter
|
|
12268
|
+
def DeleteProtect(self, DeleteProtect):
|
|
12269
|
+
self._DeleteProtect = DeleteProtect
|
|
12270
|
+
|
|
12257
12271
|
|
|
12258
12272
|
def _deserialize(self, params):
|
|
12259
12273
|
self._GatewayId = params.get("GatewayId")
|
|
@@ -12292,6 +12306,7 @@ class DescribeCloudNativeAPIGatewayResult(AbstractModel):
|
|
|
12292
12306
|
self._InstancePort._deserialize(params.get("InstancePort"))
|
|
12293
12307
|
self._LoadBalancerType = params.get("LoadBalancerType")
|
|
12294
12308
|
self._PublicIpAddresses = params.get("PublicIpAddresses")
|
|
12309
|
+
self._DeleteProtect = params.get("DeleteProtect")
|
|
12295
12310
|
memeber_set = set(params.keys())
|
|
12296
12311
|
for name, value in vars(self).items():
|
|
12297
12312
|
property_name = name[1:]
|
|
@@ -12657,6 +12672,137 @@ class DescribeCloudNativeAPIGatewayServiceRateLimitResponse(AbstractModel):
|
|
|
12657
12672
|
self._RequestId = params.get("RequestId")
|
|
12658
12673
|
|
|
12659
12674
|
|
|
12675
|
+
class DescribeCloudNativeAPIGatewayServicesLightRequest(AbstractModel):
|
|
12676
|
+
"""DescribeCloudNativeAPIGatewayServicesLight请求参数结构体
|
|
12677
|
+
|
|
12678
|
+
"""
|
|
12679
|
+
|
|
12680
|
+
def __init__(self):
|
|
12681
|
+
r"""
|
|
12682
|
+
:param _GatewayId: 网关ID
|
|
12683
|
+
:type GatewayId: str
|
|
12684
|
+
:param _Limit: 列表数量
|
|
12685
|
+
:type Limit: int
|
|
12686
|
+
:param _Offset: 列表 offset
|
|
12687
|
+
:type Offset: int
|
|
12688
|
+
:param _Filters: 过滤条件,多个过滤条件之间是与的关系,支持 id、name、upstreamType
|
|
12689
|
+
:type Filters: list of ListFilter
|
|
12690
|
+
"""
|
|
12691
|
+
self._GatewayId = None
|
|
12692
|
+
self._Limit = None
|
|
12693
|
+
self._Offset = None
|
|
12694
|
+
self._Filters = None
|
|
12695
|
+
|
|
12696
|
+
@property
|
|
12697
|
+
def GatewayId(self):
|
|
12698
|
+
"""网关ID
|
|
12699
|
+
:rtype: str
|
|
12700
|
+
"""
|
|
12701
|
+
return self._GatewayId
|
|
12702
|
+
|
|
12703
|
+
@GatewayId.setter
|
|
12704
|
+
def GatewayId(self, GatewayId):
|
|
12705
|
+
self._GatewayId = GatewayId
|
|
12706
|
+
|
|
12707
|
+
@property
|
|
12708
|
+
def Limit(self):
|
|
12709
|
+
"""列表数量
|
|
12710
|
+
:rtype: int
|
|
12711
|
+
"""
|
|
12712
|
+
return self._Limit
|
|
12713
|
+
|
|
12714
|
+
@Limit.setter
|
|
12715
|
+
def Limit(self, Limit):
|
|
12716
|
+
self._Limit = Limit
|
|
12717
|
+
|
|
12718
|
+
@property
|
|
12719
|
+
def Offset(self):
|
|
12720
|
+
"""列表 offset
|
|
12721
|
+
:rtype: int
|
|
12722
|
+
"""
|
|
12723
|
+
return self._Offset
|
|
12724
|
+
|
|
12725
|
+
@Offset.setter
|
|
12726
|
+
def Offset(self, Offset):
|
|
12727
|
+
self._Offset = Offset
|
|
12728
|
+
|
|
12729
|
+
@property
|
|
12730
|
+
def Filters(self):
|
|
12731
|
+
"""过滤条件,多个过滤条件之间是与的关系,支持 id、name、upstreamType
|
|
12732
|
+
:rtype: list of ListFilter
|
|
12733
|
+
"""
|
|
12734
|
+
return self._Filters
|
|
12735
|
+
|
|
12736
|
+
@Filters.setter
|
|
12737
|
+
def Filters(self, Filters):
|
|
12738
|
+
self._Filters = Filters
|
|
12739
|
+
|
|
12740
|
+
|
|
12741
|
+
def _deserialize(self, params):
|
|
12742
|
+
self._GatewayId = params.get("GatewayId")
|
|
12743
|
+
self._Limit = params.get("Limit")
|
|
12744
|
+
self._Offset = params.get("Offset")
|
|
12745
|
+
if params.get("Filters") is not None:
|
|
12746
|
+
self._Filters = []
|
|
12747
|
+
for item in params.get("Filters"):
|
|
12748
|
+
obj = ListFilter()
|
|
12749
|
+
obj._deserialize(item)
|
|
12750
|
+
self._Filters.append(obj)
|
|
12751
|
+
memeber_set = set(params.keys())
|
|
12752
|
+
for name, value in vars(self).items():
|
|
12753
|
+
property_name = name[1:]
|
|
12754
|
+
if property_name in memeber_set:
|
|
12755
|
+
memeber_set.remove(property_name)
|
|
12756
|
+
if len(memeber_set) > 0:
|
|
12757
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12758
|
+
|
|
12759
|
+
|
|
12760
|
+
|
|
12761
|
+
class DescribeCloudNativeAPIGatewayServicesLightResponse(AbstractModel):
|
|
12762
|
+
"""DescribeCloudNativeAPIGatewayServicesLight返回参数结构体
|
|
12763
|
+
|
|
12764
|
+
"""
|
|
12765
|
+
|
|
12766
|
+
def __init__(self):
|
|
12767
|
+
r"""
|
|
12768
|
+
:param _Result: 无
|
|
12769
|
+
:type Result: :class:`tencentcloud.tse.v20201207.models.GatewayServices`
|
|
12770
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12771
|
+
:type RequestId: str
|
|
12772
|
+
"""
|
|
12773
|
+
self._Result = None
|
|
12774
|
+
self._RequestId = None
|
|
12775
|
+
|
|
12776
|
+
@property
|
|
12777
|
+
def Result(self):
|
|
12778
|
+
"""无
|
|
12779
|
+
:rtype: :class:`tencentcloud.tse.v20201207.models.GatewayServices`
|
|
12780
|
+
"""
|
|
12781
|
+
return self._Result
|
|
12782
|
+
|
|
12783
|
+
@Result.setter
|
|
12784
|
+
def Result(self, Result):
|
|
12785
|
+
self._Result = Result
|
|
12786
|
+
|
|
12787
|
+
@property
|
|
12788
|
+
def RequestId(self):
|
|
12789
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12790
|
+
:rtype: str
|
|
12791
|
+
"""
|
|
12792
|
+
return self._RequestId
|
|
12793
|
+
|
|
12794
|
+
@RequestId.setter
|
|
12795
|
+
def RequestId(self, RequestId):
|
|
12796
|
+
self._RequestId = RequestId
|
|
12797
|
+
|
|
12798
|
+
|
|
12799
|
+
def _deserialize(self, params):
|
|
12800
|
+
if params.get("Result") is not None:
|
|
12801
|
+
self._Result = GatewayServices()
|
|
12802
|
+
self._Result._deserialize(params.get("Result"))
|
|
12803
|
+
self._RequestId = params.get("RequestId")
|
|
12804
|
+
|
|
12805
|
+
|
|
12660
12806
|
class DescribeCloudNativeAPIGatewayServicesRequest(AbstractModel):
|
|
12661
12807
|
"""DescribeCloudNativeAPIGatewayServices请求参数结构体
|
|
12662
12808
|
|
|
@@ -18943,6 +19089,62 @@ class GatewayInstanceSchemeAndPorts(AbstractModel):
|
|
|
18943
19089
|
|
|
18944
19090
|
|
|
18945
19091
|
|
|
19092
|
+
class GatewayServices(AbstractModel):
|
|
19093
|
+
"""轻量查询网关服务列表出参
|
|
19094
|
+
|
|
19095
|
+
"""
|
|
19096
|
+
|
|
19097
|
+
def __init__(self):
|
|
19098
|
+
r"""
|
|
19099
|
+
:param _ServiceList: 服务列表
|
|
19100
|
+
:type ServiceList: list of KongServiceLightPreview
|
|
19101
|
+
:param _TotalCount: 结果总数
|
|
19102
|
+
:type TotalCount: int
|
|
19103
|
+
"""
|
|
19104
|
+
self._ServiceList = None
|
|
19105
|
+
self._TotalCount = None
|
|
19106
|
+
|
|
19107
|
+
@property
|
|
19108
|
+
def ServiceList(self):
|
|
19109
|
+
"""服务列表
|
|
19110
|
+
:rtype: list of KongServiceLightPreview
|
|
19111
|
+
"""
|
|
19112
|
+
return self._ServiceList
|
|
19113
|
+
|
|
19114
|
+
@ServiceList.setter
|
|
19115
|
+
def ServiceList(self, ServiceList):
|
|
19116
|
+
self._ServiceList = ServiceList
|
|
19117
|
+
|
|
19118
|
+
@property
|
|
19119
|
+
def TotalCount(self):
|
|
19120
|
+
"""结果总数
|
|
19121
|
+
:rtype: int
|
|
19122
|
+
"""
|
|
19123
|
+
return self._TotalCount
|
|
19124
|
+
|
|
19125
|
+
@TotalCount.setter
|
|
19126
|
+
def TotalCount(self, TotalCount):
|
|
19127
|
+
self._TotalCount = TotalCount
|
|
19128
|
+
|
|
19129
|
+
|
|
19130
|
+
def _deserialize(self, params):
|
|
19131
|
+
if params.get("ServiceList") is not None:
|
|
19132
|
+
self._ServiceList = []
|
|
19133
|
+
for item in params.get("ServiceList"):
|
|
19134
|
+
obj = KongServiceLightPreview()
|
|
19135
|
+
obj._deserialize(item)
|
|
19136
|
+
self._ServiceList.append(obj)
|
|
19137
|
+
self._TotalCount = params.get("TotalCount")
|
|
19138
|
+
memeber_set = set(params.keys())
|
|
19139
|
+
for name, value in vars(self).items():
|
|
19140
|
+
property_name = name[1:]
|
|
19141
|
+
if property_name in memeber_set:
|
|
19142
|
+
memeber_set.remove(property_name)
|
|
19143
|
+
if len(memeber_set) > 0:
|
|
19144
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19145
|
+
|
|
19146
|
+
|
|
19147
|
+
|
|
18946
19148
|
class GovernanceAlias(AbstractModel):
|
|
18947
19149
|
"""服务别名结构信息
|
|
18948
19150
|
|
|
@@ -22541,6 +22743,166 @@ class KongServiceDetail(AbstractModel):
|
|
|
22541
22743
|
|
|
22542
22744
|
|
|
22543
22745
|
|
|
22746
|
+
class KongServiceLightPreview(AbstractModel):
|
|
22747
|
+
"""云原生网关服务简洁预览信息
|
|
22748
|
+
|
|
22749
|
+
"""
|
|
22750
|
+
|
|
22751
|
+
def __init__(self):
|
|
22752
|
+
r"""
|
|
22753
|
+
:param _ID: 服务ID
|
|
22754
|
+
:type ID: str
|
|
22755
|
+
:param _Name: 服务名字
|
|
22756
|
+
:type Name: str
|
|
22757
|
+
:param _UpstreamInfo: 后端配置
|
|
22758
|
+
:type UpstreamInfo: :class:`tencentcloud.tse.v20201207.models.KongUpstreamInfo`
|
|
22759
|
+
:param _UpstreamType: 后端类型
|
|
22760
|
+
:type UpstreamType: str
|
|
22761
|
+
:param _CreatedTime: 创建时间
|
|
22762
|
+
:type CreatedTime: str
|
|
22763
|
+
:param _Path: 请求路径
|
|
22764
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22765
|
+
:type Path: str
|
|
22766
|
+
:param _Protocol: 后端协议
|
|
22767
|
+
:type Protocol: str
|
|
22768
|
+
:param _Retries: 重试次数
|
|
22769
|
+
:type Retries: int
|
|
22770
|
+
:param _Timeout: 后端延时,单位ms
|
|
22771
|
+
:type Timeout: int
|
|
22772
|
+
"""
|
|
22773
|
+
self._ID = None
|
|
22774
|
+
self._Name = None
|
|
22775
|
+
self._UpstreamInfo = None
|
|
22776
|
+
self._UpstreamType = None
|
|
22777
|
+
self._CreatedTime = None
|
|
22778
|
+
self._Path = None
|
|
22779
|
+
self._Protocol = None
|
|
22780
|
+
self._Retries = None
|
|
22781
|
+
self._Timeout = None
|
|
22782
|
+
|
|
22783
|
+
@property
|
|
22784
|
+
def ID(self):
|
|
22785
|
+
"""服务ID
|
|
22786
|
+
:rtype: str
|
|
22787
|
+
"""
|
|
22788
|
+
return self._ID
|
|
22789
|
+
|
|
22790
|
+
@ID.setter
|
|
22791
|
+
def ID(self, ID):
|
|
22792
|
+
self._ID = ID
|
|
22793
|
+
|
|
22794
|
+
@property
|
|
22795
|
+
def Name(self):
|
|
22796
|
+
"""服务名字
|
|
22797
|
+
:rtype: str
|
|
22798
|
+
"""
|
|
22799
|
+
return self._Name
|
|
22800
|
+
|
|
22801
|
+
@Name.setter
|
|
22802
|
+
def Name(self, Name):
|
|
22803
|
+
self._Name = Name
|
|
22804
|
+
|
|
22805
|
+
@property
|
|
22806
|
+
def UpstreamInfo(self):
|
|
22807
|
+
"""后端配置
|
|
22808
|
+
:rtype: :class:`tencentcloud.tse.v20201207.models.KongUpstreamInfo`
|
|
22809
|
+
"""
|
|
22810
|
+
return self._UpstreamInfo
|
|
22811
|
+
|
|
22812
|
+
@UpstreamInfo.setter
|
|
22813
|
+
def UpstreamInfo(self, UpstreamInfo):
|
|
22814
|
+
self._UpstreamInfo = UpstreamInfo
|
|
22815
|
+
|
|
22816
|
+
@property
|
|
22817
|
+
def UpstreamType(self):
|
|
22818
|
+
"""后端类型
|
|
22819
|
+
:rtype: str
|
|
22820
|
+
"""
|
|
22821
|
+
return self._UpstreamType
|
|
22822
|
+
|
|
22823
|
+
@UpstreamType.setter
|
|
22824
|
+
def UpstreamType(self, UpstreamType):
|
|
22825
|
+
self._UpstreamType = UpstreamType
|
|
22826
|
+
|
|
22827
|
+
@property
|
|
22828
|
+
def CreatedTime(self):
|
|
22829
|
+
"""创建时间
|
|
22830
|
+
:rtype: str
|
|
22831
|
+
"""
|
|
22832
|
+
return self._CreatedTime
|
|
22833
|
+
|
|
22834
|
+
@CreatedTime.setter
|
|
22835
|
+
def CreatedTime(self, CreatedTime):
|
|
22836
|
+
self._CreatedTime = CreatedTime
|
|
22837
|
+
|
|
22838
|
+
@property
|
|
22839
|
+
def Path(self):
|
|
22840
|
+
"""请求路径
|
|
22841
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22842
|
+
:rtype: str
|
|
22843
|
+
"""
|
|
22844
|
+
return self._Path
|
|
22845
|
+
|
|
22846
|
+
@Path.setter
|
|
22847
|
+
def Path(self, Path):
|
|
22848
|
+
self._Path = Path
|
|
22849
|
+
|
|
22850
|
+
@property
|
|
22851
|
+
def Protocol(self):
|
|
22852
|
+
"""后端协议
|
|
22853
|
+
:rtype: str
|
|
22854
|
+
"""
|
|
22855
|
+
return self._Protocol
|
|
22856
|
+
|
|
22857
|
+
@Protocol.setter
|
|
22858
|
+
def Protocol(self, Protocol):
|
|
22859
|
+
self._Protocol = Protocol
|
|
22860
|
+
|
|
22861
|
+
@property
|
|
22862
|
+
def Retries(self):
|
|
22863
|
+
"""重试次数
|
|
22864
|
+
:rtype: int
|
|
22865
|
+
"""
|
|
22866
|
+
return self._Retries
|
|
22867
|
+
|
|
22868
|
+
@Retries.setter
|
|
22869
|
+
def Retries(self, Retries):
|
|
22870
|
+
self._Retries = Retries
|
|
22871
|
+
|
|
22872
|
+
@property
|
|
22873
|
+
def Timeout(self):
|
|
22874
|
+
"""后端延时,单位ms
|
|
22875
|
+
:rtype: int
|
|
22876
|
+
"""
|
|
22877
|
+
return self._Timeout
|
|
22878
|
+
|
|
22879
|
+
@Timeout.setter
|
|
22880
|
+
def Timeout(self, Timeout):
|
|
22881
|
+
self._Timeout = Timeout
|
|
22882
|
+
|
|
22883
|
+
|
|
22884
|
+
def _deserialize(self, params):
|
|
22885
|
+
self._ID = params.get("ID")
|
|
22886
|
+
self._Name = params.get("Name")
|
|
22887
|
+
if params.get("UpstreamInfo") is not None:
|
|
22888
|
+
self._UpstreamInfo = KongUpstreamInfo()
|
|
22889
|
+
self._UpstreamInfo._deserialize(params.get("UpstreamInfo"))
|
|
22890
|
+
self._UpstreamType = params.get("UpstreamType")
|
|
22891
|
+
self._CreatedTime = params.get("CreatedTime")
|
|
22892
|
+
self._Path = params.get("Path")
|
|
22893
|
+
self._Protocol = params.get("Protocol")
|
|
22894
|
+
self._Retries = params.get("Retries")
|
|
22895
|
+
self._Timeout = params.get("Timeout")
|
|
22896
|
+
memeber_set = set(params.keys())
|
|
22897
|
+
for name, value in vars(self).items():
|
|
22898
|
+
property_name = name[1:]
|
|
22899
|
+
if property_name in memeber_set:
|
|
22900
|
+
memeber_set.remove(property_name)
|
|
22901
|
+
if len(memeber_set) > 0:
|
|
22902
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
22903
|
+
|
|
22904
|
+
|
|
22905
|
+
|
|
22544
22906
|
class KongServicePreview(AbstractModel):
|
|
22545
22907
|
"""云原生网关服务预览信息
|
|
22546
22908
|
|
|
@@ -24405,12 +24767,15 @@ class ModifyCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
24405
24767
|
:type EnableCls: bool
|
|
24406
24768
|
:param _InternetPayMode: 公网计费模式。可选取值 BANDWIDTH | TRAFFIC ,表示按带宽和按流量计费。
|
|
24407
24769
|
:type InternetPayMode: str
|
|
24770
|
+
:param _DeleteProtect: 是否开启实例删除保护,默认false
|
|
24771
|
+
:type DeleteProtect: bool
|
|
24408
24772
|
"""
|
|
24409
24773
|
self._GatewayId = None
|
|
24410
24774
|
self._Name = None
|
|
24411
24775
|
self._Description = None
|
|
24412
24776
|
self._EnableCls = None
|
|
24413
24777
|
self._InternetPayMode = None
|
|
24778
|
+
self._DeleteProtect = None
|
|
24414
24779
|
|
|
24415
24780
|
@property
|
|
24416
24781
|
def GatewayId(self):
|
|
@@ -24467,6 +24832,17 @@ class ModifyCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
24467
24832
|
def InternetPayMode(self, InternetPayMode):
|
|
24468
24833
|
self._InternetPayMode = InternetPayMode
|
|
24469
24834
|
|
|
24835
|
+
@property
|
|
24836
|
+
def DeleteProtect(self):
|
|
24837
|
+
"""是否开启实例删除保护,默认false
|
|
24838
|
+
:rtype: bool
|
|
24839
|
+
"""
|
|
24840
|
+
return self._DeleteProtect
|
|
24841
|
+
|
|
24842
|
+
@DeleteProtect.setter
|
|
24843
|
+
def DeleteProtect(self, DeleteProtect):
|
|
24844
|
+
self._DeleteProtect = DeleteProtect
|
|
24845
|
+
|
|
24470
24846
|
|
|
24471
24847
|
def _deserialize(self, params):
|
|
24472
24848
|
self._GatewayId = params.get("GatewayId")
|
|
@@ -24474,6 +24850,7 @@ class ModifyCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
24474
24850
|
self._Description = params.get("Description")
|
|
24475
24851
|
self._EnableCls = params.get("EnableCls")
|
|
24476
24852
|
self._InternetPayMode = params.get("InternetPayMode")
|
|
24853
|
+
self._DeleteProtect = params.get("DeleteProtect")
|
|
24477
24854
|
memeber_set = set(params.keys())
|
|
24478
24855
|
for name, value in vars(self).items():
|
|
24479
24856
|
property_name = name[1:]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf8 -*-
|
|
2
|
-
# Copyright (c) 2017-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -1360,6 +1360,29 @@ class TseClient(AbstractClient):
|
|
|
1360
1360
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1361
1361
|
|
|
1362
1362
|
|
|
1363
|
+
def DescribeCloudNativeAPIGatewayServicesLight(self, request):
|
|
1364
|
+
"""轻量查询云原生网关服务列表
|
|
1365
|
+
|
|
1366
|
+
:param request: Request instance for DescribeCloudNativeAPIGatewayServicesLight.
|
|
1367
|
+
:type request: :class:`tencentcloud.tse.v20201207.models.DescribeCloudNativeAPIGatewayServicesLightRequest`
|
|
1368
|
+
:rtype: :class:`tencentcloud.tse.v20201207.models.DescribeCloudNativeAPIGatewayServicesLightResponse`
|
|
1369
|
+
|
|
1370
|
+
"""
|
|
1371
|
+
try:
|
|
1372
|
+
params = request._serialize()
|
|
1373
|
+
headers = request.headers
|
|
1374
|
+
body = self.call("DescribeCloudNativeAPIGatewayServicesLight", params, headers=headers)
|
|
1375
|
+
response = json.loads(body)
|
|
1376
|
+
model = models.DescribeCloudNativeAPIGatewayServicesLightResponse()
|
|
1377
|
+
model._deserialize(response["Response"])
|
|
1378
|
+
return model
|
|
1379
|
+
except Exception as e:
|
|
1380
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1381
|
+
raise
|
|
1382
|
+
else:
|
|
1383
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1384
|
+
|
|
1385
|
+
|
|
1363
1386
|
def DescribeCloudNativeAPIGatewayUpstream(self, request):
|
|
1364
1387
|
"""获取云原生网关服务详情下的Upstream列表
|
|
1365
1388
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1423
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1388
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|