tencentcloud-sdk-python-tse 3.1.132__tar.gz → 3.1.152__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.1.132 → tencentcloud_sdk_python_tse-3.1.152}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/setup.py +1 -1
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/tencentcloud/tse/v20201207/models.py +481 -86
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/tencentcloud/tse/v20201207/tse_client.py +23 -0
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/tencentcloud/tse/v20201207/tse_client_async.py +18 -0
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/tencentcloud_sdk_python_tse.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tse-3.1.152/tencentcloud_sdk_python_tse.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tse-3.1.132/tencentcloud_sdk_python_tse.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/README.rst +0 -0
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/tencentcloud/tse/__init__.py +0 -0
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/tencentcloud/tse/v20201207/__init__.py +0 -0
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/tencentcloud/tse/v20201207/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/tencentcloud_sdk_python_tse.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/tencentcloud_sdk_python_tse.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tse-3.1.132 → tencentcloud_sdk_python_tse-3.1.152}/tencentcloud_sdk_python_tse.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tse
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.152
|
|
4
4
|
Summary: Tencent Cloud Tse SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.152
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.152,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tse SDK for Python',
|
|
@@ -18037,6 +18037,137 @@ class DescribeAutoScalerResourceStrategyBindingGroupsResponse(AbstractModel):
|
|
|
18037
18037
|
self._RequestId = params.get("RequestId")
|
|
18038
18038
|
|
|
18039
18039
|
|
|
18040
|
+
class DescribeCNGWServicesWithRoutesRequest(AbstractModel):
|
|
18041
|
+
r"""DescribeCNGWServicesWithRoutes请求参数结构体
|
|
18042
|
+
|
|
18043
|
+
"""
|
|
18044
|
+
|
|
18045
|
+
def __init__(self):
|
|
18046
|
+
r"""
|
|
18047
|
+
:param _GatewayId: <p>网关ID</p>
|
|
18048
|
+
:type GatewayId: str
|
|
18049
|
+
:param _Limit: <p>列表数量</p>
|
|
18050
|
+
:type Limit: int
|
|
18051
|
+
:param _Offset: <p>列表 offset</p>
|
|
18052
|
+
:type Offset: int
|
|
18053
|
+
:param _Filters: <p>过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType</p>
|
|
18054
|
+
:type Filters: list of ListFilter
|
|
18055
|
+
"""
|
|
18056
|
+
self._GatewayId = None
|
|
18057
|
+
self._Limit = None
|
|
18058
|
+
self._Offset = None
|
|
18059
|
+
self._Filters = None
|
|
18060
|
+
|
|
18061
|
+
@property
|
|
18062
|
+
def GatewayId(self):
|
|
18063
|
+
r"""<p>网关ID</p>
|
|
18064
|
+
:rtype: str
|
|
18065
|
+
"""
|
|
18066
|
+
return self._GatewayId
|
|
18067
|
+
|
|
18068
|
+
@GatewayId.setter
|
|
18069
|
+
def GatewayId(self, GatewayId):
|
|
18070
|
+
self._GatewayId = GatewayId
|
|
18071
|
+
|
|
18072
|
+
@property
|
|
18073
|
+
def Limit(self):
|
|
18074
|
+
r"""<p>列表数量</p>
|
|
18075
|
+
:rtype: int
|
|
18076
|
+
"""
|
|
18077
|
+
return self._Limit
|
|
18078
|
+
|
|
18079
|
+
@Limit.setter
|
|
18080
|
+
def Limit(self, Limit):
|
|
18081
|
+
self._Limit = Limit
|
|
18082
|
+
|
|
18083
|
+
@property
|
|
18084
|
+
def Offset(self):
|
|
18085
|
+
r"""<p>列表 offset</p>
|
|
18086
|
+
:rtype: int
|
|
18087
|
+
"""
|
|
18088
|
+
return self._Offset
|
|
18089
|
+
|
|
18090
|
+
@Offset.setter
|
|
18091
|
+
def Offset(self, Offset):
|
|
18092
|
+
self._Offset = Offset
|
|
18093
|
+
|
|
18094
|
+
@property
|
|
18095
|
+
def Filters(self):
|
|
18096
|
+
r"""<p>过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType</p>
|
|
18097
|
+
:rtype: list of ListFilter
|
|
18098
|
+
"""
|
|
18099
|
+
return self._Filters
|
|
18100
|
+
|
|
18101
|
+
@Filters.setter
|
|
18102
|
+
def Filters(self, Filters):
|
|
18103
|
+
self._Filters = Filters
|
|
18104
|
+
|
|
18105
|
+
|
|
18106
|
+
def _deserialize(self, params):
|
|
18107
|
+
self._GatewayId = params.get("GatewayId")
|
|
18108
|
+
self._Limit = params.get("Limit")
|
|
18109
|
+
self._Offset = params.get("Offset")
|
|
18110
|
+
if params.get("Filters") is not None:
|
|
18111
|
+
self._Filters = []
|
|
18112
|
+
for item in params.get("Filters"):
|
|
18113
|
+
obj = ListFilter()
|
|
18114
|
+
obj._deserialize(item)
|
|
18115
|
+
self._Filters.append(obj)
|
|
18116
|
+
memeber_set = set(params.keys())
|
|
18117
|
+
for name, value in vars(self).items():
|
|
18118
|
+
property_name = name[1:]
|
|
18119
|
+
if property_name in memeber_set:
|
|
18120
|
+
memeber_set.remove(property_name)
|
|
18121
|
+
if len(memeber_set) > 0:
|
|
18122
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18123
|
+
|
|
18124
|
+
|
|
18125
|
+
|
|
18126
|
+
class DescribeCNGWServicesWithRoutesResponse(AbstractModel):
|
|
18127
|
+
r"""DescribeCNGWServicesWithRoutes返回参数结构体
|
|
18128
|
+
|
|
18129
|
+
"""
|
|
18130
|
+
|
|
18131
|
+
def __init__(self):
|
|
18132
|
+
r"""
|
|
18133
|
+
:param _Result: <p>无</p>
|
|
18134
|
+
:type Result: :class:`tencentcloud.tse.v20201207.models.KongServiceWithRoutes`
|
|
18135
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18136
|
+
:type RequestId: str
|
|
18137
|
+
"""
|
|
18138
|
+
self._Result = None
|
|
18139
|
+
self._RequestId = None
|
|
18140
|
+
|
|
18141
|
+
@property
|
|
18142
|
+
def Result(self):
|
|
18143
|
+
r"""<p>无</p>
|
|
18144
|
+
:rtype: :class:`tencentcloud.tse.v20201207.models.KongServiceWithRoutes`
|
|
18145
|
+
"""
|
|
18146
|
+
return self._Result
|
|
18147
|
+
|
|
18148
|
+
@Result.setter
|
|
18149
|
+
def Result(self, Result):
|
|
18150
|
+
self._Result = Result
|
|
18151
|
+
|
|
18152
|
+
@property
|
|
18153
|
+
def RequestId(self):
|
|
18154
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18155
|
+
:rtype: str
|
|
18156
|
+
"""
|
|
18157
|
+
return self._RequestId
|
|
18158
|
+
|
|
18159
|
+
@RequestId.setter
|
|
18160
|
+
def RequestId(self, RequestId):
|
|
18161
|
+
self._RequestId = RequestId
|
|
18162
|
+
|
|
18163
|
+
|
|
18164
|
+
def _deserialize(self, params):
|
|
18165
|
+
if params.get("Result") is not None:
|
|
18166
|
+
self._Result = KongServiceWithRoutes()
|
|
18167
|
+
self._Result._deserialize(params.get("Result"))
|
|
18168
|
+
self._RequestId = params.get("RequestId")
|
|
18169
|
+
|
|
18170
|
+
|
|
18040
18171
|
class DescribeCloudNativeAPIGatewayCORSRequest(AbstractModel):
|
|
18041
18172
|
r"""DescribeCloudNativeAPIGatewayCORS请求参数结构体
|
|
18042
18173
|
|
|
@@ -20860,18 +20991,26 @@ class DescribeCloudNativeAPIGatewayRoutesRequest(AbstractModel):
|
|
|
20860
20991
|
|
|
20861
20992
|
def __init__(self):
|
|
20862
20993
|
r"""
|
|
20863
|
-
:param _GatewayId:
|
|
20994
|
+
:param _GatewayId: <p>网关ID</p>
|
|
20864
20995
|
:type GatewayId: str
|
|
20865
|
-
:param _Limit:
|
|
20996
|
+
:param _Limit: <p>翻页单页查询限制数量[0,1000], 默认值0</p>
|
|
20866
20997
|
:type Limit: int
|
|
20867
|
-
:param _Offset:
|
|
20998
|
+
:param _Offset: <p>翻页单页偏移量,默认值0</p>
|
|
20868
20999
|
:type Offset: int
|
|
20869
|
-
:param _ServiceName:
|
|
21000
|
+
:param _ServiceName: <p>服务的名字,精确匹配</p>
|
|
20870
21001
|
:type ServiceName: str
|
|
20871
|
-
:param _RouteName:
|
|
21002
|
+
:param _RouteName: <p>路由的名字,精确匹配</p>
|
|
20872
21003
|
:type RouteName: str
|
|
20873
|
-
:param _Filters:
|
|
21004
|
+
:param _Filters: <p>过滤条件,多个过滤条件之间是与的关系,支持 name, path, host, method, service, protocol</p>
|
|
20874
21005
|
:type Filters: list of ListFilter
|
|
21006
|
+
:param _RouteTypes: <p>路由类型</p>
|
|
21007
|
+
:type RouteTypes: list of str
|
|
21008
|
+
:param _GrayRoutesFirst: <p>是否将灰度规则可能带来的路由排在原始路由前</p>
|
|
21009
|
+
:type GrayRoutesFirst: bool
|
|
21010
|
+
:param _OrderField: <p>排序字段</p>
|
|
21011
|
+
:type OrderField: str
|
|
21012
|
+
:param _OrderType: <p>排序方式</p><p>枚举值:</p><ul><li>DESC: 降序</li><li>ASC: 升序</li></ul>
|
|
21013
|
+
:type OrderType: str
|
|
20875
21014
|
"""
|
|
20876
21015
|
self._GatewayId = None
|
|
20877
21016
|
self._Limit = None
|
|
@@ -20879,10 +21018,14 @@ class DescribeCloudNativeAPIGatewayRoutesRequest(AbstractModel):
|
|
|
20879
21018
|
self._ServiceName = None
|
|
20880
21019
|
self._RouteName = None
|
|
20881
21020
|
self._Filters = None
|
|
21021
|
+
self._RouteTypes = None
|
|
21022
|
+
self._GrayRoutesFirst = None
|
|
21023
|
+
self._OrderField = None
|
|
21024
|
+
self._OrderType = None
|
|
20882
21025
|
|
|
20883
21026
|
@property
|
|
20884
21027
|
def GatewayId(self):
|
|
20885
|
-
r"""
|
|
21028
|
+
r"""<p>网关ID</p>
|
|
20886
21029
|
:rtype: str
|
|
20887
21030
|
"""
|
|
20888
21031
|
return self._GatewayId
|
|
@@ -20893,7 +21036,7 @@ class DescribeCloudNativeAPIGatewayRoutesRequest(AbstractModel):
|
|
|
20893
21036
|
|
|
20894
21037
|
@property
|
|
20895
21038
|
def Limit(self):
|
|
20896
|
-
r"""
|
|
21039
|
+
r"""<p>翻页单页查询限制数量[0,1000], 默认值0</p>
|
|
20897
21040
|
:rtype: int
|
|
20898
21041
|
"""
|
|
20899
21042
|
return self._Limit
|
|
@@ -20904,7 +21047,7 @@ class DescribeCloudNativeAPIGatewayRoutesRequest(AbstractModel):
|
|
|
20904
21047
|
|
|
20905
21048
|
@property
|
|
20906
21049
|
def Offset(self):
|
|
20907
|
-
r"""
|
|
21050
|
+
r"""<p>翻页单页偏移量,默认值0</p>
|
|
20908
21051
|
:rtype: int
|
|
20909
21052
|
"""
|
|
20910
21053
|
return self._Offset
|
|
@@ -20915,7 +21058,7 @@ class DescribeCloudNativeAPIGatewayRoutesRequest(AbstractModel):
|
|
|
20915
21058
|
|
|
20916
21059
|
@property
|
|
20917
21060
|
def ServiceName(self):
|
|
20918
|
-
r"""
|
|
21061
|
+
r"""<p>服务的名字,精确匹配</p>
|
|
20919
21062
|
:rtype: str
|
|
20920
21063
|
"""
|
|
20921
21064
|
return self._ServiceName
|
|
@@ -20926,7 +21069,7 @@ class DescribeCloudNativeAPIGatewayRoutesRequest(AbstractModel):
|
|
|
20926
21069
|
|
|
20927
21070
|
@property
|
|
20928
21071
|
def RouteName(self):
|
|
20929
|
-
r"""
|
|
21072
|
+
r"""<p>路由的名字,精确匹配</p>
|
|
20930
21073
|
:rtype: str
|
|
20931
21074
|
"""
|
|
20932
21075
|
return self._RouteName
|
|
@@ -20937,7 +21080,7 @@ class DescribeCloudNativeAPIGatewayRoutesRequest(AbstractModel):
|
|
|
20937
21080
|
|
|
20938
21081
|
@property
|
|
20939
21082
|
def Filters(self):
|
|
20940
|
-
r"""
|
|
21083
|
+
r"""<p>过滤条件,多个过滤条件之间是与的关系,支持 name, path, host, method, service, protocol</p>
|
|
20941
21084
|
:rtype: list of ListFilter
|
|
20942
21085
|
"""
|
|
20943
21086
|
return self._Filters
|
|
@@ -20946,6 +21089,50 @@ class DescribeCloudNativeAPIGatewayRoutesRequest(AbstractModel):
|
|
|
20946
21089
|
def Filters(self, Filters):
|
|
20947
21090
|
self._Filters = Filters
|
|
20948
21091
|
|
|
21092
|
+
@property
|
|
21093
|
+
def RouteTypes(self):
|
|
21094
|
+
r"""<p>路由类型</p>
|
|
21095
|
+
:rtype: list of str
|
|
21096
|
+
"""
|
|
21097
|
+
return self._RouteTypes
|
|
21098
|
+
|
|
21099
|
+
@RouteTypes.setter
|
|
21100
|
+
def RouteTypes(self, RouteTypes):
|
|
21101
|
+
self._RouteTypes = RouteTypes
|
|
21102
|
+
|
|
21103
|
+
@property
|
|
21104
|
+
def GrayRoutesFirst(self):
|
|
21105
|
+
r"""<p>是否将灰度规则可能带来的路由排在原始路由前</p>
|
|
21106
|
+
:rtype: bool
|
|
21107
|
+
"""
|
|
21108
|
+
return self._GrayRoutesFirst
|
|
21109
|
+
|
|
21110
|
+
@GrayRoutesFirst.setter
|
|
21111
|
+
def GrayRoutesFirst(self, GrayRoutesFirst):
|
|
21112
|
+
self._GrayRoutesFirst = GrayRoutesFirst
|
|
21113
|
+
|
|
21114
|
+
@property
|
|
21115
|
+
def OrderField(self):
|
|
21116
|
+
r"""<p>排序字段</p>
|
|
21117
|
+
:rtype: str
|
|
21118
|
+
"""
|
|
21119
|
+
return self._OrderField
|
|
21120
|
+
|
|
21121
|
+
@OrderField.setter
|
|
21122
|
+
def OrderField(self, OrderField):
|
|
21123
|
+
self._OrderField = OrderField
|
|
21124
|
+
|
|
21125
|
+
@property
|
|
21126
|
+
def OrderType(self):
|
|
21127
|
+
r"""<p>排序方式</p><p>枚举值:</p><ul><li>DESC: 降序</li><li>ASC: 升序</li></ul>
|
|
21128
|
+
:rtype: str
|
|
21129
|
+
"""
|
|
21130
|
+
return self._OrderType
|
|
21131
|
+
|
|
21132
|
+
@OrderType.setter
|
|
21133
|
+
def OrderType(self, OrderType):
|
|
21134
|
+
self._OrderType = OrderType
|
|
21135
|
+
|
|
20949
21136
|
|
|
20950
21137
|
def _deserialize(self, params):
|
|
20951
21138
|
self._GatewayId = params.get("GatewayId")
|
|
@@ -20959,6 +21146,10 @@ class DescribeCloudNativeAPIGatewayRoutesRequest(AbstractModel):
|
|
|
20959
21146
|
obj = ListFilter()
|
|
20960
21147
|
obj._deserialize(item)
|
|
20961
21148
|
self._Filters.append(obj)
|
|
21149
|
+
self._RouteTypes = params.get("RouteTypes")
|
|
21150
|
+
self._GrayRoutesFirst = params.get("GrayRoutesFirst")
|
|
21151
|
+
self._OrderField = params.get("OrderField")
|
|
21152
|
+
self._OrderType = params.get("OrderType")
|
|
20962
21153
|
memeber_set = set(params.keys())
|
|
20963
21154
|
for name, value in vars(self).items():
|
|
20964
21155
|
property_name = name[1:]
|
|
@@ -20976,7 +21167,7 @@ class DescribeCloudNativeAPIGatewayRoutesResponse(AbstractModel):
|
|
|
20976
21167
|
|
|
20977
21168
|
def __init__(self):
|
|
20978
21169
|
r"""
|
|
20979
|
-
:param _Result:
|
|
21170
|
+
:param _Result: <p>无</p>
|
|
20980
21171
|
:type Result: :class:`tencentcloud.tse.v20201207.models.KongServiceRouteList`
|
|
20981
21172
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20982
21173
|
:type RequestId: str
|
|
@@ -20986,7 +21177,7 @@ class DescribeCloudNativeAPIGatewayRoutesResponse(AbstractModel):
|
|
|
20986
21177
|
|
|
20987
21178
|
@property
|
|
20988
21179
|
def Result(self):
|
|
20989
|
-
r"""
|
|
21180
|
+
r"""<p>无</p>
|
|
20990
21181
|
:rtype: :class:`tencentcloud.tse.v20201207.models.KongServiceRouteList`
|
|
20991
21182
|
"""
|
|
20992
21183
|
return self._Result
|
|
@@ -21564,23 +21755,29 @@ class DescribeCloudNativeAPIGatewayServicesRequest(AbstractModel):
|
|
|
21564
21755
|
|
|
21565
21756
|
def __init__(self):
|
|
21566
21757
|
r"""
|
|
21567
|
-
:param _GatewayId:
|
|
21758
|
+
:param _GatewayId: <p>网关ID</p>
|
|
21568
21759
|
:type GatewayId: str
|
|
21569
|
-
:param _Limit:
|
|
21760
|
+
:param _Limit: <p>列表数量</p>
|
|
21570
21761
|
:type Limit: int
|
|
21571
|
-
:param _Offset:
|
|
21762
|
+
:param _Offset: <p>列表 offset</p>
|
|
21572
21763
|
:type Offset: int
|
|
21573
|
-
:param _Filters:
|
|
21764
|
+
:param _Filters: <p>过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType</p>
|
|
21574
21765
|
:type Filters: list of ListFilter
|
|
21766
|
+
:param _OrderField: <p>排序字段</p>
|
|
21767
|
+
:type OrderField: str
|
|
21768
|
+
:param _OrderType: <p>排序方式</p><p>枚举值:</p><ul><li>DESC: 降序</li><li>ASC: 升序</li></ul>
|
|
21769
|
+
:type OrderType: str
|
|
21575
21770
|
"""
|
|
21576
21771
|
self._GatewayId = None
|
|
21577
21772
|
self._Limit = None
|
|
21578
21773
|
self._Offset = None
|
|
21579
21774
|
self._Filters = None
|
|
21775
|
+
self._OrderField = None
|
|
21776
|
+
self._OrderType = None
|
|
21580
21777
|
|
|
21581
21778
|
@property
|
|
21582
21779
|
def GatewayId(self):
|
|
21583
|
-
r"""
|
|
21780
|
+
r"""<p>网关ID</p>
|
|
21584
21781
|
:rtype: str
|
|
21585
21782
|
"""
|
|
21586
21783
|
return self._GatewayId
|
|
@@ -21591,7 +21788,7 @@ class DescribeCloudNativeAPIGatewayServicesRequest(AbstractModel):
|
|
|
21591
21788
|
|
|
21592
21789
|
@property
|
|
21593
21790
|
def Limit(self):
|
|
21594
|
-
r"""
|
|
21791
|
+
r"""<p>列表数量</p>
|
|
21595
21792
|
:rtype: int
|
|
21596
21793
|
"""
|
|
21597
21794
|
return self._Limit
|
|
@@ -21602,7 +21799,7 @@ class DescribeCloudNativeAPIGatewayServicesRequest(AbstractModel):
|
|
|
21602
21799
|
|
|
21603
21800
|
@property
|
|
21604
21801
|
def Offset(self):
|
|
21605
|
-
r"""
|
|
21802
|
+
r"""<p>列表 offset</p>
|
|
21606
21803
|
:rtype: int
|
|
21607
21804
|
"""
|
|
21608
21805
|
return self._Offset
|
|
@@ -21613,7 +21810,7 @@ class DescribeCloudNativeAPIGatewayServicesRequest(AbstractModel):
|
|
|
21613
21810
|
|
|
21614
21811
|
@property
|
|
21615
21812
|
def Filters(self):
|
|
21616
|
-
r"""
|
|
21813
|
+
r"""<p>过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType</p>
|
|
21617
21814
|
:rtype: list of ListFilter
|
|
21618
21815
|
"""
|
|
21619
21816
|
return self._Filters
|
|
@@ -21622,6 +21819,28 @@ class DescribeCloudNativeAPIGatewayServicesRequest(AbstractModel):
|
|
|
21622
21819
|
def Filters(self, Filters):
|
|
21623
21820
|
self._Filters = Filters
|
|
21624
21821
|
|
|
21822
|
+
@property
|
|
21823
|
+
def OrderField(self):
|
|
21824
|
+
r"""<p>排序字段</p>
|
|
21825
|
+
:rtype: str
|
|
21826
|
+
"""
|
|
21827
|
+
return self._OrderField
|
|
21828
|
+
|
|
21829
|
+
@OrderField.setter
|
|
21830
|
+
def OrderField(self, OrderField):
|
|
21831
|
+
self._OrderField = OrderField
|
|
21832
|
+
|
|
21833
|
+
@property
|
|
21834
|
+
def OrderType(self):
|
|
21835
|
+
r"""<p>排序方式</p><p>枚举值:</p><ul><li>DESC: 降序</li><li>ASC: 升序</li></ul>
|
|
21836
|
+
:rtype: str
|
|
21837
|
+
"""
|
|
21838
|
+
return self._OrderType
|
|
21839
|
+
|
|
21840
|
+
@OrderType.setter
|
|
21841
|
+
def OrderType(self, OrderType):
|
|
21842
|
+
self._OrderType = OrderType
|
|
21843
|
+
|
|
21625
21844
|
|
|
21626
21845
|
def _deserialize(self, params):
|
|
21627
21846
|
self._GatewayId = params.get("GatewayId")
|
|
@@ -21633,6 +21852,8 @@ class DescribeCloudNativeAPIGatewayServicesRequest(AbstractModel):
|
|
|
21633
21852
|
obj = ListFilter()
|
|
21634
21853
|
obj._deserialize(item)
|
|
21635
21854
|
self._Filters.append(obj)
|
|
21855
|
+
self._OrderField = params.get("OrderField")
|
|
21856
|
+
self._OrderType = params.get("OrderType")
|
|
21636
21857
|
memeber_set = set(params.keys())
|
|
21637
21858
|
for name, value in vars(self).items():
|
|
21638
21859
|
property_name = name[1:]
|
|
@@ -21650,7 +21871,7 @@ class DescribeCloudNativeAPIGatewayServicesResponse(AbstractModel):
|
|
|
21650
21871
|
|
|
21651
21872
|
def __init__(self):
|
|
21652
21873
|
r"""
|
|
21653
|
-
:param _Result:
|
|
21874
|
+
:param _Result: <p>无</p>
|
|
21654
21875
|
:type Result: :class:`tencentcloud.tse.v20201207.models.KongServices`
|
|
21655
21876
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
21656
21877
|
:type RequestId: str
|
|
@@ -21660,7 +21881,7 @@ class DescribeCloudNativeAPIGatewayServicesResponse(AbstractModel):
|
|
|
21660
21881
|
|
|
21661
21882
|
@property
|
|
21662
21883
|
def Result(self):
|
|
21663
|
-
r"""
|
|
21884
|
+
r"""<p>无</p>
|
|
21664
21885
|
:rtype: :class:`tencentcloud.tse.v20201207.models.KongServices`
|
|
21665
21886
|
"""
|
|
21666
21887
|
return self._Result
|
|
@@ -31707,23 +31928,26 @@ class KongActiveHealthCheck(AbstractModel):
|
|
|
31707
31928
|
|
|
31708
31929
|
def __init__(self):
|
|
31709
31930
|
r"""
|
|
31710
|
-
:param _HealthyInterval:
|
|
31931
|
+
:param _HealthyInterval: <p>主动健康检查健康探测间隔,单位:秒,0表示不开启</p>
|
|
31711
31932
|
:type HealthyInterval: int
|
|
31712
|
-
:param _UnHealthyInterval:
|
|
31933
|
+
:param _UnHealthyInterval: <p>主动健康检查异常探测间隔,单位:秒,0表示不开启</p>
|
|
31713
31934
|
:type UnHealthyInterval: int
|
|
31714
|
-
:param _HttpPath:
|
|
31935
|
+
:param _HttpPath: <p>在 GET HTTP 请求中使用的路径,以作为主动运行状况检查的探测器运行。默认: ”/”。</p>
|
|
31715
31936
|
:type HttpPath: str
|
|
31716
|
-
:param _Timeout: GET HTTP 请求的超时时间,单位:秒。默认 60
|
|
31937
|
+
:param _Timeout: <p>GET HTTP 请求的超时时间,单位:秒。默认 60。</p>
|
|
31717
31938
|
:type Timeout: float
|
|
31939
|
+
:param _HostHeader: <p>Host头</p>
|
|
31940
|
+
:type HostHeader: str
|
|
31718
31941
|
"""
|
|
31719
31942
|
self._HealthyInterval = None
|
|
31720
31943
|
self._UnHealthyInterval = None
|
|
31721
31944
|
self._HttpPath = None
|
|
31722
31945
|
self._Timeout = None
|
|
31946
|
+
self._HostHeader = None
|
|
31723
31947
|
|
|
31724
31948
|
@property
|
|
31725
31949
|
def HealthyInterval(self):
|
|
31726
|
-
r"""
|
|
31950
|
+
r"""<p>主动健康检查健康探测间隔,单位:秒,0表示不开启</p>
|
|
31727
31951
|
:rtype: int
|
|
31728
31952
|
"""
|
|
31729
31953
|
return self._HealthyInterval
|
|
@@ -31734,7 +31958,7 @@ class KongActiveHealthCheck(AbstractModel):
|
|
|
31734
31958
|
|
|
31735
31959
|
@property
|
|
31736
31960
|
def UnHealthyInterval(self):
|
|
31737
|
-
r"""
|
|
31961
|
+
r"""<p>主动健康检查异常探测间隔,单位:秒,0表示不开启</p>
|
|
31738
31962
|
:rtype: int
|
|
31739
31963
|
"""
|
|
31740
31964
|
return self._UnHealthyInterval
|
|
@@ -31745,7 +31969,7 @@ class KongActiveHealthCheck(AbstractModel):
|
|
|
31745
31969
|
|
|
31746
31970
|
@property
|
|
31747
31971
|
def HttpPath(self):
|
|
31748
|
-
r"""
|
|
31972
|
+
r"""<p>在 GET HTTP 请求中使用的路径,以作为主动运行状况检查的探测器运行。默认: ”/”。</p>
|
|
31749
31973
|
:rtype: str
|
|
31750
31974
|
"""
|
|
31751
31975
|
return self._HttpPath
|
|
@@ -31756,7 +31980,7 @@ class KongActiveHealthCheck(AbstractModel):
|
|
|
31756
31980
|
|
|
31757
31981
|
@property
|
|
31758
31982
|
def Timeout(self):
|
|
31759
|
-
r"""GET HTTP 请求的超时时间,单位:秒。默认 60
|
|
31983
|
+
r"""<p>GET HTTP 请求的超时时间,单位:秒。默认 60。</p>
|
|
31760
31984
|
:rtype: float
|
|
31761
31985
|
"""
|
|
31762
31986
|
return self._Timeout
|
|
@@ -31765,12 +31989,24 @@ class KongActiveHealthCheck(AbstractModel):
|
|
|
31765
31989
|
def Timeout(self, Timeout):
|
|
31766
31990
|
self._Timeout = Timeout
|
|
31767
31991
|
|
|
31992
|
+
@property
|
|
31993
|
+
def HostHeader(self):
|
|
31994
|
+
r"""<p>Host头</p>
|
|
31995
|
+
:rtype: str
|
|
31996
|
+
"""
|
|
31997
|
+
return self._HostHeader
|
|
31998
|
+
|
|
31999
|
+
@HostHeader.setter
|
|
32000
|
+
def HostHeader(self, HostHeader):
|
|
32001
|
+
self._HostHeader = HostHeader
|
|
32002
|
+
|
|
31768
32003
|
|
|
31769
32004
|
def _deserialize(self, params):
|
|
31770
32005
|
self._HealthyInterval = params.get("HealthyInterval")
|
|
31771
32006
|
self._UnHealthyInterval = params.get("UnHealthyInterval")
|
|
31772
32007
|
self._HttpPath = params.get("HttpPath")
|
|
31773
32008
|
self._Timeout = params.get("Timeout")
|
|
32009
|
+
self._HostHeader = params.get("HostHeader")
|
|
31774
32010
|
memeber_set = set(params.keys())
|
|
31775
32011
|
for name, value in vars(self).items():
|
|
31776
32012
|
property_name = name[1:]
|
|
@@ -32131,48 +32367,50 @@ class KongRoutePreview(AbstractModel):
|
|
|
32131
32367
|
|
|
32132
32368
|
def __init__(self):
|
|
32133
32369
|
r"""
|
|
32134
|
-
:param _ID:
|
|
32370
|
+
:param _ID: <p>服务ID</p>
|
|
32135
32371
|
:type ID: str
|
|
32136
|
-
:param _Name:
|
|
32372
|
+
:param _Name: <p>服务名字</p>
|
|
32137
32373
|
:type Name: str
|
|
32138
|
-
:param _Methods:
|
|
32374
|
+
:param _Methods: <p>无</p>
|
|
32139
32375
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32140
32376
|
:type Methods: list of str
|
|
32141
|
-
:param _Paths:
|
|
32377
|
+
:param _Paths: <p>无</p>
|
|
32142
32378
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32143
32379
|
:type Paths: list of str
|
|
32144
|
-
:param _Hosts:
|
|
32380
|
+
:param _Hosts: <p>无</p>
|
|
32145
32381
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32146
32382
|
:type Hosts: list of str
|
|
32147
|
-
:param _Protocols:
|
|
32383
|
+
:param _Protocols: <p>无</p>
|
|
32148
32384
|
:type Protocols: list of str
|
|
32149
|
-
:param _PreserveHost:
|
|
32385
|
+
:param _PreserveHost: <p>无</p>
|
|
32150
32386
|
:type PreserveHost: bool
|
|
32151
|
-
:param _HttpsRedirectStatusCode:
|
|
32387
|
+
:param _HttpsRedirectStatusCode: <p>无</p>
|
|
32152
32388
|
:type HttpsRedirectStatusCode: int
|
|
32153
|
-
:param _StripPath:
|
|
32389
|
+
:param _StripPath: <p>无</p>
|
|
32154
32390
|
:type StripPath: bool
|
|
32155
|
-
:param _CreatedTime:
|
|
32391
|
+
:param _CreatedTime: <p>无</p>
|
|
32156
32392
|
:type CreatedTime: str
|
|
32157
|
-
:param _ForceHttps:
|
|
32393
|
+
:param _ForceHttps: <p>是否开启了强制HTTPS</p>
|
|
32158
32394
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32159
32395
|
:type ForceHttps: bool
|
|
32160
|
-
:param _ServiceName:
|
|
32396
|
+
:param _ServiceName: <p>服务名</p>
|
|
32161
32397
|
:type ServiceName: str
|
|
32162
|
-
:param _ServiceID:
|
|
32398
|
+
:param _ServiceID: <p>服务ID</p>
|
|
32163
32399
|
:type ServiceID: str
|
|
32164
|
-
:param _DestinationPorts:
|
|
32400
|
+
:param _DestinationPorts: <p>目的端口</p>
|
|
32165
32401
|
:type DestinationPorts: list of int non-negative
|
|
32166
|
-
:param _Headers:
|
|
32402
|
+
:param _Headers: <p>路由的Headers</p>
|
|
32167
32403
|
:type Headers: list of KVMapping
|
|
32168
|
-
:param _RequestBuffering:
|
|
32404
|
+
:param _RequestBuffering: <p>是否缓存请求body,默认true</p>
|
|
32169
32405
|
:type RequestBuffering: bool
|
|
32170
|
-
:param _ResponseBuffering:
|
|
32406
|
+
:param _ResponseBuffering: <p>是否缓存响应body,默认true</p>
|
|
32171
32407
|
:type ResponseBuffering: bool
|
|
32172
|
-
:param _RegexPriority:
|
|
32408
|
+
:param _RegexPriority: <p>正则优先级</p>
|
|
32173
32409
|
:type RegexPriority: int
|
|
32174
|
-
:param _QueryStringParameters: querystring
|
|
32410
|
+
:param _QueryStringParameters: <p>querystring参数</p>
|
|
32175
32411
|
:type QueryStringParameters: list of KVMapping
|
|
32412
|
+
:param _RouteSource: <p>路由来源</p>
|
|
32413
|
+
:type RouteSource: str
|
|
32176
32414
|
"""
|
|
32177
32415
|
self._ID = None
|
|
32178
32416
|
self._Name = None
|
|
@@ -32193,10 +32431,11 @@ class KongRoutePreview(AbstractModel):
|
|
|
32193
32431
|
self._ResponseBuffering = None
|
|
32194
32432
|
self._RegexPriority = None
|
|
32195
32433
|
self._QueryStringParameters = None
|
|
32434
|
+
self._RouteSource = None
|
|
32196
32435
|
|
|
32197
32436
|
@property
|
|
32198
32437
|
def ID(self):
|
|
32199
|
-
r"""
|
|
32438
|
+
r"""<p>服务ID</p>
|
|
32200
32439
|
:rtype: str
|
|
32201
32440
|
"""
|
|
32202
32441
|
return self._ID
|
|
@@ -32207,7 +32446,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32207
32446
|
|
|
32208
32447
|
@property
|
|
32209
32448
|
def Name(self):
|
|
32210
|
-
r"""
|
|
32449
|
+
r"""<p>服务名字</p>
|
|
32211
32450
|
:rtype: str
|
|
32212
32451
|
"""
|
|
32213
32452
|
return self._Name
|
|
@@ -32218,7 +32457,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32218
32457
|
|
|
32219
32458
|
@property
|
|
32220
32459
|
def Methods(self):
|
|
32221
|
-
r"""
|
|
32460
|
+
r"""<p>无</p>
|
|
32222
32461
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32223
32462
|
:rtype: list of str
|
|
32224
32463
|
"""
|
|
@@ -32230,7 +32469,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32230
32469
|
|
|
32231
32470
|
@property
|
|
32232
32471
|
def Paths(self):
|
|
32233
|
-
r"""
|
|
32472
|
+
r"""<p>无</p>
|
|
32234
32473
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32235
32474
|
:rtype: list of str
|
|
32236
32475
|
"""
|
|
@@ -32242,7 +32481,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32242
32481
|
|
|
32243
32482
|
@property
|
|
32244
32483
|
def Hosts(self):
|
|
32245
|
-
r"""
|
|
32484
|
+
r"""<p>无</p>
|
|
32246
32485
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32247
32486
|
:rtype: list of str
|
|
32248
32487
|
"""
|
|
@@ -32254,7 +32493,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32254
32493
|
|
|
32255
32494
|
@property
|
|
32256
32495
|
def Protocols(self):
|
|
32257
|
-
r"""
|
|
32496
|
+
r"""<p>无</p>
|
|
32258
32497
|
:rtype: list of str
|
|
32259
32498
|
"""
|
|
32260
32499
|
return self._Protocols
|
|
@@ -32265,7 +32504,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32265
32504
|
|
|
32266
32505
|
@property
|
|
32267
32506
|
def PreserveHost(self):
|
|
32268
|
-
r"""
|
|
32507
|
+
r"""<p>无</p>
|
|
32269
32508
|
:rtype: bool
|
|
32270
32509
|
"""
|
|
32271
32510
|
return self._PreserveHost
|
|
@@ -32276,7 +32515,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32276
32515
|
|
|
32277
32516
|
@property
|
|
32278
32517
|
def HttpsRedirectStatusCode(self):
|
|
32279
|
-
r"""
|
|
32518
|
+
r"""<p>无</p>
|
|
32280
32519
|
:rtype: int
|
|
32281
32520
|
"""
|
|
32282
32521
|
return self._HttpsRedirectStatusCode
|
|
@@ -32287,7 +32526,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32287
32526
|
|
|
32288
32527
|
@property
|
|
32289
32528
|
def StripPath(self):
|
|
32290
|
-
r"""
|
|
32529
|
+
r"""<p>无</p>
|
|
32291
32530
|
:rtype: bool
|
|
32292
32531
|
"""
|
|
32293
32532
|
return self._StripPath
|
|
@@ -32298,7 +32537,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32298
32537
|
|
|
32299
32538
|
@property
|
|
32300
32539
|
def CreatedTime(self):
|
|
32301
|
-
r"""
|
|
32540
|
+
r"""<p>无</p>
|
|
32302
32541
|
:rtype: str
|
|
32303
32542
|
"""
|
|
32304
32543
|
return self._CreatedTime
|
|
@@ -32311,7 +32550,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32311
32550
|
def ForceHttps(self):
|
|
32312
32551
|
warnings.warn("parameter `ForceHttps` is deprecated", DeprecationWarning)
|
|
32313
32552
|
|
|
32314
|
-
r"""
|
|
32553
|
+
r"""<p>是否开启了强制HTTPS</p>
|
|
32315
32554
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32316
32555
|
:rtype: bool
|
|
32317
32556
|
"""
|
|
@@ -32325,7 +32564,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32325
32564
|
|
|
32326
32565
|
@property
|
|
32327
32566
|
def ServiceName(self):
|
|
32328
|
-
r"""
|
|
32567
|
+
r"""<p>服务名</p>
|
|
32329
32568
|
:rtype: str
|
|
32330
32569
|
"""
|
|
32331
32570
|
return self._ServiceName
|
|
@@ -32336,7 +32575,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32336
32575
|
|
|
32337
32576
|
@property
|
|
32338
32577
|
def ServiceID(self):
|
|
32339
|
-
r"""
|
|
32578
|
+
r"""<p>服务ID</p>
|
|
32340
32579
|
:rtype: str
|
|
32341
32580
|
"""
|
|
32342
32581
|
return self._ServiceID
|
|
@@ -32347,7 +32586,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32347
32586
|
|
|
32348
32587
|
@property
|
|
32349
32588
|
def DestinationPorts(self):
|
|
32350
|
-
r"""
|
|
32589
|
+
r"""<p>目的端口</p>
|
|
32351
32590
|
:rtype: list of int non-negative
|
|
32352
32591
|
"""
|
|
32353
32592
|
return self._DestinationPorts
|
|
@@ -32358,7 +32597,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32358
32597
|
|
|
32359
32598
|
@property
|
|
32360
32599
|
def Headers(self):
|
|
32361
|
-
r"""
|
|
32600
|
+
r"""<p>路由的Headers</p>
|
|
32362
32601
|
:rtype: list of KVMapping
|
|
32363
32602
|
"""
|
|
32364
32603
|
return self._Headers
|
|
@@ -32369,7 +32608,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32369
32608
|
|
|
32370
32609
|
@property
|
|
32371
32610
|
def RequestBuffering(self):
|
|
32372
|
-
r"""
|
|
32611
|
+
r"""<p>是否缓存请求body,默认true</p>
|
|
32373
32612
|
:rtype: bool
|
|
32374
32613
|
"""
|
|
32375
32614
|
return self._RequestBuffering
|
|
@@ -32380,7 +32619,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32380
32619
|
|
|
32381
32620
|
@property
|
|
32382
32621
|
def ResponseBuffering(self):
|
|
32383
|
-
r"""
|
|
32622
|
+
r"""<p>是否缓存响应body,默认true</p>
|
|
32384
32623
|
:rtype: bool
|
|
32385
32624
|
"""
|
|
32386
32625
|
return self._ResponseBuffering
|
|
@@ -32391,7 +32630,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32391
32630
|
|
|
32392
32631
|
@property
|
|
32393
32632
|
def RegexPriority(self):
|
|
32394
|
-
r"""
|
|
32633
|
+
r"""<p>正则优先级</p>
|
|
32395
32634
|
:rtype: int
|
|
32396
32635
|
"""
|
|
32397
32636
|
return self._RegexPriority
|
|
@@ -32402,7 +32641,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32402
32641
|
|
|
32403
32642
|
@property
|
|
32404
32643
|
def QueryStringParameters(self):
|
|
32405
|
-
r"""querystring
|
|
32644
|
+
r"""<p>querystring参数</p>
|
|
32406
32645
|
:rtype: list of KVMapping
|
|
32407
32646
|
"""
|
|
32408
32647
|
return self._QueryStringParameters
|
|
@@ -32411,6 +32650,17 @@ class KongRoutePreview(AbstractModel):
|
|
|
32411
32650
|
def QueryStringParameters(self, QueryStringParameters):
|
|
32412
32651
|
self._QueryStringParameters = QueryStringParameters
|
|
32413
32652
|
|
|
32653
|
+
@property
|
|
32654
|
+
def RouteSource(self):
|
|
32655
|
+
r"""<p>路由来源</p>
|
|
32656
|
+
:rtype: str
|
|
32657
|
+
"""
|
|
32658
|
+
return self._RouteSource
|
|
32659
|
+
|
|
32660
|
+
@RouteSource.setter
|
|
32661
|
+
def RouteSource(self, RouteSource):
|
|
32662
|
+
self._RouteSource = RouteSource
|
|
32663
|
+
|
|
32414
32664
|
|
|
32415
32665
|
def _deserialize(self, params):
|
|
32416
32666
|
self._ID = params.get("ID")
|
|
@@ -32442,6 +32692,7 @@ class KongRoutePreview(AbstractModel):
|
|
|
32442
32692
|
obj = KVMapping()
|
|
32443
32693
|
obj._deserialize(item)
|
|
32444
32694
|
self._QueryStringParameters.append(obj)
|
|
32695
|
+
self._RouteSource = params.get("RouteSource")
|
|
32445
32696
|
memeber_set = set(params.keys())
|
|
32446
32697
|
for name, value in vars(self).items():
|
|
32447
32698
|
property_name = name[1:]
|
|
@@ -32811,21 +33062,21 @@ class KongServicePreview(AbstractModel):
|
|
|
32811
33062
|
|
|
32812
33063
|
def __init__(self):
|
|
32813
33064
|
r"""
|
|
32814
|
-
:param _ID:
|
|
33065
|
+
:param _ID: <p>服务ID</p>
|
|
32815
33066
|
:type ID: str
|
|
32816
|
-
:param _Name:
|
|
33067
|
+
:param _Name: <p>服务名字</p>
|
|
32817
33068
|
:type Name: str
|
|
32818
|
-
:param _Tags:
|
|
33069
|
+
:param _Tags: <p>标签</p>
|
|
32819
33070
|
:type Tags: list of str
|
|
32820
|
-
:param _UpstreamInfo:
|
|
33071
|
+
:param _UpstreamInfo: <p>后端配置</p>
|
|
32821
33072
|
:type UpstreamInfo: :class:`tencentcloud.tse.v20201207.models.KongUpstreamInfo`
|
|
32822
|
-
:param _UpstreamType:
|
|
33073
|
+
:param _UpstreamType: <p>后端类型</p>
|
|
32823
33074
|
:type UpstreamType: str
|
|
32824
|
-
:param _CreatedTime:
|
|
33075
|
+
:param _CreatedTime: <p>创建时间</p>
|
|
32825
33076
|
:type CreatedTime: str
|
|
32826
|
-
:param _Editable:
|
|
33077
|
+
:param _Editable: <p>是否可编辑</p>
|
|
32827
33078
|
:type Editable: bool
|
|
32828
|
-
:param _Path:
|
|
33079
|
+
:param _Path: <p>请求路径</p>
|
|
32829
33080
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32830
33081
|
:type Path: str
|
|
32831
33082
|
"""
|
|
@@ -32840,7 +33091,7 @@ class KongServicePreview(AbstractModel):
|
|
|
32840
33091
|
|
|
32841
33092
|
@property
|
|
32842
33093
|
def ID(self):
|
|
32843
|
-
r"""
|
|
33094
|
+
r"""<p>服务ID</p>
|
|
32844
33095
|
:rtype: str
|
|
32845
33096
|
"""
|
|
32846
33097
|
return self._ID
|
|
@@ -32851,7 +33102,7 @@ class KongServicePreview(AbstractModel):
|
|
|
32851
33102
|
|
|
32852
33103
|
@property
|
|
32853
33104
|
def Name(self):
|
|
32854
|
-
r"""
|
|
33105
|
+
r"""<p>服务名字</p>
|
|
32855
33106
|
:rtype: str
|
|
32856
33107
|
"""
|
|
32857
33108
|
return self._Name
|
|
@@ -32862,7 +33113,7 @@ class KongServicePreview(AbstractModel):
|
|
|
32862
33113
|
|
|
32863
33114
|
@property
|
|
32864
33115
|
def Tags(self):
|
|
32865
|
-
r"""
|
|
33116
|
+
r"""<p>标签</p>
|
|
32866
33117
|
:rtype: list of str
|
|
32867
33118
|
"""
|
|
32868
33119
|
return self._Tags
|
|
@@ -32873,7 +33124,7 @@ class KongServicePreview(AbstractModel):
|
|
|
32873
33124
|
|
|
32874
33125
|
@property
|
|
32875
33126
|
def UpstreamInfo(self):
|
|
32876
|
-
r"""
|
|
33127
|
+
r"""<p>后端配置</p>
|
|
32877
33128
|
:rtype: :class:`tencentcloud.tse.v20201207.models.KongUpstreamInfo`
|
|
32878
33129
|
"""
|
|
32879
33130
|
return self._UpstreamInfo
|
|
@@ -32884,7 +33135,7 @@ class KongServicePreview(AbstractModel):
|
|
|
32884
33135
|
|
|
32885
33136
|
@property
|
|
32886
33137
|
def UpstreamType(self):
|
|
32887
|
-
r"""
|
|
33138
|
+
r"""<p>后端类型</p>
|
|
32888
33139
|
:rtype: str
|
|
32889
33140
|
"""
|
|
32890
33141
|
return self._UpstreamType
|
|
@@ -32895,7 +33146,7 @@ class KongServicePreview(AbstractModel):
|
|
|
32895
33146
|
|
|
32896
33147
|
@property
|
|
32897
33148
|
def CreatedTime(self):
|
|
32898
|
-
r"""
|
|
33149
|
+
r"""<p>创建时间</p>
|
|
32899
33150
|
:rtype: str
|
|
32900
33151
|
"""
|
|
32901
33152
|
return self._CreatedTime
|
|
@@ -32906,7 +33157,7 @@ class KongServicePreview(AbstractModel):
|
|
|
32906
33157
|
|
|
32907
33158
|
@property
|
|
32908
33159
|
def Editable(self):
|
|
32909
|
-
r"""
|
|
33160
|
+
r"""<p>是否可编辑</p>
|
|
32910
33161
|
:rtype: bool
|
|
32911
33162
|
"""
|
|
32912
33163
|
return self._Editable
|
|
@@ -32917,7 +33168,7 @@ class KongServicePreview(AbstractModel):
|
|
|
32917
33168
|
|
|
32918
33169
|
@property
|
|
32919
33170
|
def Path(self):
|
|
32920
|
-
r"""
|
|
33171
|
+
r"""<p>请求路径</p>
|
|
32921
33172
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
32922
33173
|
:rtype: str
|
|
32923
33174
|
"""
|
|
@@ -32949,6 +33200,94 @@ class KongServicePreview(AbstractModel):
|
|
|
32949
33200
|
|
|
32950
33201
|
|
|
32951
33202
|
|
|
33203
|
+
class KongServiceRoute(AbstractModel):
|
|
33204
|
+
r"""kong实例的服务和路由列表
|
|
33205
|
+
|
|
33206
|
+
"""
|
|
33207
|
+
|
|
33208
|
+
def __init__(self):
|
|
33209
|
+
r"""
|
|
33210
|
+
:param _Service: <p>服务信息</p>
|
|
33211
|
+
:type Service: :class:`tencentcloud.tse.v20201207.models.KongServicePreview`
|
|
33212
|
+
:param _RouteTotalCount: <p>路由总条数</p>
|
|
33213
|
+
:type RouteTotalCount: int
|
|
33214
|
+
:param _RouteHasMore: <p>是否有未返回的路由</p>
|
|
33215
|
+
:type RouteHasMore: bool
|
|
33216
|
+
:param _Routes: <p>路由信息</p>
|
|
33217
|
+
:type Routes: list of KongRoutePreview
|
|
33218
|
+
"""
|
|
33219
|
+
self._Service = None
|
|
33220
|
+
self._RouteTotalCount = None
|
|
33221
|
+
self._RouteHasMore = None
|
|
33222
|
+
self._Routes = None
|
|
33223
|
+
|
|
33224
|
+
@property
|
|
33225
|
+
def Service(self):
|
|
33226
|
+
r"""<p>服务信息</p>
|
|
33227
|
+
:rtype: :class:`tencentcloud.tse.v20201207.models.KongServicePreview`
|
|
33228
|
+
"""
|
|
33229
|
+
return self._Service
|
|
33230
|
+
|
|
33231
|
+
@Service.setter
|
|
33232
|
+
def Service(self, Service):
|
|
33233
|
+
self._Service = Service
|
|
33234
|
+
|
|
33235
|
+
@property
|
|
33236
|
+
def RouteTotalCount(self):
|
|
33237
|
+
r"""<p>路由总条数</p>
|
|
33238
|
+
:rtype: int
|
|
33239
|
+
"""
|
|
33240
|
+
return self._RouteTotalCount
|
|
33241
|
+
|
|
33242
|
+
@RouteTotalCount.setter
|
|
33243
|
+
def RouteTotalCount(self, RouteTotalCount):
|
|
33244
|
+
self._RouteTotalCount = RouteTotalCount
|
|
33245
|
+
|
|
33246
|
+
@property
|
|
33247
|
+
def RouteHasMore(self):
|
|
33248
|
+
r"""<p>是否有未返回的路由</p>
|
|
33249
|
+
:rtype: bool
|
|
33250
|
+
"""
|
|
33251
|
+
return self._RouteHasMore
|
|
33252
|
+
|
|
33253
|
+
@RouteHasMore.setter
|
|
33254
|
+
def RouteHasMore(self, RouteHasMore):
|
|
33255
|
+
self._RouteHasMore = RouteHasMore
|
|
33256
|
+
|
|
33257
|
+
@property
|
|
33258
|
+
def Routes(self):
|
|
33259
|
+
r"""<p>路由信息</p>
|
|
33260
|
+
:rtype: list of KongRoutePreview
|
|
33261
|
+
"""
|
|
33262
|
+
return self._Routes
|
|
33263
|
+
|
|
33264
|
+
@Routes.setter
|
|
33265
|
+
def Routes(self, Routes):
|
|
33266
|
+
self._Routes = Routes
|
|
33267
|
+
|
|
33268
|
+
|
|
33269
|
+
def _deserialize(self, params):
|
|
33270
|
+
if params.get("Service") is not None:
|
|
33271
|
+
self._Service = KongServicePreview()
|
|
33272
|
+
self._Service._deserialize(params.get("Service"))
|
|
33273
|
+
self._RouteTotalCount = params.get("RouteTotalCount")
|
|
33274
|
+
self._RouteHasMore = params.get("RouteHasMore")
|
|
33275
|
+
if params.get("Routes") is not None:
|
|
33276
|
+
self._Routes = []
|
|
33277
|
+
for item in params.get("Routes"):
|
|
33278
|
+
obj = KongRoutePreview()
|
|
33279
|
+
obj._deserialize(item)
|
|
33280
|
+
self._Routes.append(obj)
|
|
33281
|
+
memeber_set = set(params.keys())
|
|
33282
|
+
for name, value in vars(self).items():
|
|
33283
|
+
property_name = name[1:]
|
|
33284
|
+
if property_name in memeber_set:
|
|
33285
|
+
memeber_set.remove(property_name)
|
|
33286
|
+
if len(memeber_set) > 0:
|
|
33287
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33288
|
+
|
|
33289
|
+
|
|
33290
|
+
|
|
32952
33291
|
class KongServiceRouteList(AbstractModel):
|
|
32953
33292
|
r"""kong服务路由列表
|
|
32954
33293
|
|
|
@@ -33005,6 +33344,62 @@ class KongServiceRouteList(AbstractModel):
|
|
|
33005
33344
|
|
|
33006
33345
|
|
|
33007
33346
|
|
|
33347
|
+
class KongServiceWithRoutes(AbstractModel):
|
|
33348
|
+
r"""返回kong的服务和路由列表
|
|
33349
|
+
|
|
33350
|
+
"""
|
|
33351
|
+
|
|
33352
|
+
def __init__(self):
|
|
33353
|
+
r"""
|
|
33354
|
+
:param _ServiceList:
|
|
33355
|
+
:type ServiceList: list of KongServiceRoute
|
|
33356
|
+
:param _TotalCount: 总数
|
|
33357
|
+
:type TotalCount: int
|
|
33358
|
+
"""
|
|
33359
|
+
self._ServiceList = None
|
|
33360
|
+
self._TotalCount = None
|
|
33361
|
+
|
|
33362
|
+
@property
|
|
33363
|
+
def ServiceList(self):
|
|
33364
|
+
r"""
|
|
33365
|
+
:rtype: list of KongServiceRoute
|
|
33366
|
+
"""
|
|
33367
|
+
return self._ServiceList
|
|
33368
|
+
|
|
33369
|
+
@ServiceList.setter
|
|
33370
|
+
def ServiceList(self, ServiceList):
|
|
33371
|
+
self._ServiceList = ServiceList
|
|
33372
|
+
|
|
33373
|
+
@property
|
|
33374
|
+
def TotalCount(self):
|
|
33375
|
+
r"""总数
|
|
33376
|
+
:rtype: int
|
|
33377
|
+
"""
|
|
33378
|
+
return self._TotalCount
|
|
33379
|
+
|
|
33380
|
+
@TotalCount.setter
|
|
33381
|
+
def TotalCount(self, TotalCount):
|
|
33382
|
+
self._TotalCount = TotalCount
|
|
33383
|
+
|
|
33384
|
+
|
|
33385
|
+
def _deserialize(self, params):
|
|
33386
|
+
if params.get("ServiceList") is not None:
|
|
33387
|
+
self._ServiceList = []
|
|
33388
|
+
for item in params.get("ServiceList"):
|
|
33389
|
+
obj = KongServiceRoute()
|
|
33390
|
+
obj._deserialize(item)
|
|
33391
|
+
self._ServiceList.append(obj)
|
|
33392
|
+
self._TotalCount = params.get("TotalCount")
|
|
33393
|
+
memeber_set = set(params.keys())
|
|
33394
|
+
for name, value in vars(self).items():
|
|
33395
|
+
property_name = name[1:]
|
|
33396
|
+
if property_name in memeber_set:
|
|
33397
|
+
memeber_set.remove(property_name)
|
|
33398
|
+
if len(memeber_set) > 0:
|
|
33399
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33400
|
+
|
|
33401
|
+
|
|
33402
|
+
|
|
33008
33403
|
class KongServices(AbstractModel):
|
|
33009
33404
|
r"""kong实例的服务列表
|
|
33010
33405
|
|
|
@@ -1498,6 +1498,29 @@ class TseClient(AbstractClient):
|
|
|
1498
1498
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1499
1499
|
|
|
1500
1500
|
|
|
1501
|
+
def DescribeCNGWServicesWithRoutes(self, request):
|
|
1502
|
+
r"""查询云原生网关服务和路由列表
|
|
1503
|
+
|
|
1504
|
+
:param request: Request instance for DescribeCNGWServicesWithRoutes.
|
|
1505
|
+
:type request: :class:`tencentcloud.tse.v20201207.models.DescribeCNGWServicesWithRoutesRequest`
|
|
1506
|
+
:rtype: :class:`tencentcloud.tse.v20201207.models.DescribeCNGWServicesWithRoutesResponse`
|
|
1507
|
+
|
|
1508
|
+
"""
|
|
1509
|
+
try:
|
|
1510
|
+
params = request._serialize()
|
|
1511
|
+
headers = request.headers
|
|
1512
|
+
body = self.call("DescribeCNGWServicesWithRoutes", params, headers=headers)
|
|
1513
|
+
response = json.loads(body)
|
|
1514
|
+
model = models.DescribeCNGWServicesWithRoutesResponse()
|
|
1515
|
+
model._deserialize(response["Response"])
|
|
1516
|
+
return model
|
|
1517
|
+
except Exception as e:
|
|
1518
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1519
|
+
raise
|
|
1520
|
+
else:
|
|
1521
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1522
|
+
|
|
1523
|
+
|
|
1501
1524
|
def DescribeCloudNativeAPIGateway(self, request):
|
|
1502
1525
|
r"""获取云原生API网关实例信息
|
|
1503
1526
|
|
|
@@ -1177,6 +1177,24 @@ class TseClient(AbstractClient):
|
|
|
1177
1177
|
|
|
1178
1178
|
return await self.call_and_deserialize(**kwargs)
|
|
1179
1179
|
|
|
1180
|
+
async def DescribeCNGWServicesWithRoutes(
|
|
1181
|
+
self,
|
|
1182
|
+
request: models.DescribeCNGWServicesWithRoutesRequest,
|
|
1183
|
+
opts: Dict = None,
|
|
1184
|
+
) -> models.DescribeCNGWServicesWithRoutesResponse:
|
|
1185
|
+
"""
|
|
1186
|
+
查询云原生网关服务和路由列表
|
|
1187
|
+
"""
|
|
1188
|
+
|
|
1189
|
+
kwargs = {}
|
|
1190
|
+
kwargs["action"] = "DescribeCNGWServicesWithRoutes"
|
|
1191
|
+
kwargs["params"] = request._serialize()
|
|
1192
|
+
kwargs["resp_cls"] = models.DescribeCNGWServicesWithRoutesResponse
|
|
1193
|
+
kwargs["headers"] = request.headers
|
|
1194
|
+
kwargs["opts"] = opts or {}
|
|
1195
|
+
|
|
1196
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1197
|
+
|
|
1180
1198
|
async def DescribeCloudNativeAPIGateway(
|
|
1181
1199
|
self,
|
|
1182
1200
|
request: models.DescribeCloudNativeAPIGatewayRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tse
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.152
|
|
4
4
|
Summary: Tencent Cloud Tse SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.152
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.152
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.132
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|