tencentcloud-sdk-python-tse 3.0.1384__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.1384 → tencentcloud-sdk-python-tse-3.0.1423}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tse-3.0.1384 → tencentcloud-sdk-python-tse-3.0.1423}/setup.py +1 -1
- {tencentcloud-sdk-python-tse-3.0.1384 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tse-3.0.1384 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud/tse/v20201207/errorcodes.py +4 -1
- {tencentcloud-sdk-python-tse-3.0.1384 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud/tse/v20201207/models.py +504 -1
- {tencentcloud-sdk-python-tse-3.0.1384 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud/tse/v20201207/tse_client.py +24 -1
- {tencentcloud-sdk-python-tse-3.0.1384 → 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.1384/tencentcloud_sdk_python_tse.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tse-3.0.1384 → tencentcloud-sdk-python-tse-3.0.1423}/README.rst +0 -0
- {tencentcloud-sdk-python-tse-3.0.1384 → tencentcloud-sdk-python-tse-3.0.1423}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tse-3.0.1384 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud/tse/__init__.py +0 -0
- {tencentcloud-sdk-python-tse-3.0.1384 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud/tse/v20201207/__init__.py +0 -0
- {tencentcloud-sdk-python-tse-3.0.1384 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud_sdk_python_tse.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tse-3.0.1384 → tencentcloud-sdk-python-tse-3.0.1423}/tencentcloud_sdk_python_tse.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tse-3.0.1384 → 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.
|
|
@@ -95,6 +95,9 @@ INTERNALERROR_VPCFAILURE = 'InternalError.VPCFailure'
|
|
|
95
95
|
# 参数错误。
|
|
96
96
|
INVALIDPARAMETER = 'InvalidParameter'
|
|
97
97
|
|
|
98
|
+
# json转换失败
|
|
99
|
+
INVALIDPARAMETER_PARSEJSONERROR = 'InvalidParameter.ParseJsonError'
|
|
100
|
+
|
|
98
101
|
# 参数取值错误。
|
|
99
102
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
100
103
|
|
|
@@ -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
|
|
|
@@ -18968,6 +19170,9 @@ class GovernanceAlias(AbstractModel):
|
|
|
18968
19170
|
:type Id: str
|
|
18969
19171
|
:param _Editable: 该服务别名是否可以编辑
|
|
18970
19172
|
:type Editable: bool
|
|
19173
|
+
:param _Metadatas: 元数据信息
|
|
19174
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19175
|
+
:type Metadatas: list of Metadata
|
|
18971
19176
|
"""
|
|
18972
19177
|
self._Alias = None
|
|
18973
19178
|
self._AliasNamespace = None
|
|
@@ -18978,6 +19183,7 @@ class GovernanceAlias(AbstractModel):
|
|
|
18978
19183
|
self._ModifyTime = None
|
|
18979
19184
|
self._Id = None
|
|
18980
19185
|
self._Editable = None
|
|
19186
|
+
self._Metadatas = None
|
|
18981
19187
|
|
|
18982
19188
|
@property
|
|
18983
19189
|
def Alias(self):
|
|
@@ -19078,6 +19284,18 @@ class GovernanceAlias(AbstractModel):
|
|
|
19078
19284
|
def Editable(self, Editable):
|
|
19079
19285
|
self._Editable = Editable
|
|
19080
19286
|
|
|
19287
|
+
@property
|
|
19288
|
+
def Metadatas(self):
|
|
19289
|
+
"""元数据信息
|
|
19290
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19291
|
+
:rtype: list of Metadata
|
|
19292
|
+
"""
|
|
19293
|
+
return self._Metadatas
|
|
19294
|
+
|
|
19295
|
+
@Metadatas.setter
|
|
19296
|
+
def Metadatas(self, Metadatas):
|
|
19297
|
+
self._Metadatas = Metadatas
|
|
19298
|
+
|
|
19081
19299
|
|
|
19082
19300
|
def _deserialize(self, params):
|
|
19083
19301
|
self._Alias = params.get("Alias")
|
|
@@ -19089,6 +19307,12 @@ class GovernanceAlias(AbstractModel):
|
|
|
19089
19307
|
self._ModifyTime = params.get("ModifyTime")
|
|
19090
19308
|
self._Id = params.get("Id")
|
|
19091
19309
|
self._Editable = params.get("Editable")
|
|
19310
|
+
if params.get("Metadatas") is not None:
|
|
19311
|
+
self._Metadatas = []
|
|
19312
|
+
for item in params.get("Metadatas"):
|
|
19313
|
+
obj = Metadata()
|
|
19314
|
+
obj._deserialize(item)
|
|
19315
|
+
self._Metadatas.append(obj)
|
|
19092
19316
|
memeber_set = set(params.keys())
|
|
19093
19317
|
for name, value in vars(self).items():
|
|
19094
19318
|
property_name = name[1:]
|
|
@@ -19995,6 +20219,9 @@ class GovernanceNamespace(AbstractModel):
|
|
|
19995
20219
|
:type ServiceExportTo: list of str
|
|
19996
20220
|
:param _SyncToGlobalRegistry: 是否开启同步到全局注册中心
|
|
19997
20221
|
:type SyncToGlobalRegistry: bool
|
|
20222
|
+
:param _Metadatas: 元数据
|
|
20223
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20224
|
+
:type Metadatas: list of Metadata
|
|
19998
20225
|
"""
|
|
19999
20226
|
self._Name = None
|
|
20000
20227
|
self._Comment = None
|
|
@@ -20011,6 +20238,7 @@ class GovernanceNamespace(AbstractModel):
|
|
|
20011
20238
|
self._RemoveGroupIds = None
|
|
20012
20239
|
self._ServiceExportTo = None
|
|
20013
20240
|
self._SyncToGlobalRegistry = None
|
|
20241
|
+
self._Metadatas = None
|
|
20014
20242
|
|
|
20015
20243
|
@property
|
|
20016
20244
|
def Name(self):
|
|
@@ -20177,6 +20405,18 @@ class GovernanceNamespace(AbstractModel):
|
|
|
20177
20405
|
def SyncToGlobalRegistry(self, SyncToGlobalRegistry):
|
|
20178
20406
|
self._SyncToGlobalRegistry = SyncToGlobalRegistry
|
|
20179
20407
|
|
|
20408
|
+
@property
|
|
20409
|
+
def Metadatas(self):
|
|
20410
|
+
"""元数据
|
|
20411
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20412
|
+
:rtype: list of Metadata
|
|
20413
|
+
"""
|
|
20414
|
+
return self._Metadatas
|
|
20415
|
+
|
|
20416
|
+
@Metadatas.setter
|
|
20417
|
+
def Metadatas(self, Metadatas):
|
|
20418
|
+
self._Metadatas = Metadatas
|
|
20419
|
+
|
|
20180
20420
|
|
|
20181
20421
|
def _deserialize(self, params):
|
|
20182
20422
|
self._Name = params.get("Name")
|
|
@@ -20194,6 +20434,12 @@ class GovernanceNamespace(AbstractModel):
|
|
|
20194
20434
|
self._RemoveGroupIds = params.get("RemoveGroupIds")
|
|
20195
20435
|
self._ServiceExportTo = params.get("ServiceExportTo")
|
|
20196
20436
|
self._SyncToGlobalRegistry = params.get("SyncToGlobalRegistry")
|
|
20437
|
+
if params.get("Metadatas") is not None:
|
|
20438
|
+
self._Metadatas = []
|
|
20439
|
+
for item in params.get("Metadatas"):
|
|
20440
|
+
obj = Metadata()
|
|
20441
|
+
obj._deserialize(item)
|
|
20442
|
+
self._Metadatas.append(obj)
|
|
20197
20443
|
memeber_set = set(params.keys())
|
|
20198
20444
|
for name, value in vars(self).items():
|
|
20199
20445
|
property_name = name[1:]
|
|
@@ -20691,6 +20937,9 @@ class GovernanceServiceContract(AbstractModel):
|
|
|
20691
20937
|
:type ModifyTime: str
|
|
20692
20938
|
:param _Interfaces: 契约接口列表
|
|
20693
20939
|
:type Interfaces: list of GovernanceInterfaceDescription
|
|
20940
|
+
:param _Metadatas: 元数据
|
|
20941
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20942
|
+
:type Metadatas: list of Metadata
|
|
20694
20943
|
"""
|
|
20695
20944
|
self._Name = None
|
|
20696
20945
|
self._Namespace = None
|
|
@@ -20703,6 +20952,7 @@ class GovernanceServiceContract(AbstractModel):
|
|
|
20703
20952
|
self._CreateTime = None
|
|
20704
20953
|
self._ModifyTime = None
|
|
20705
20954
|
self._Interfaces = None
|
|
20955
|
+
self._Metadatas = None
|
|
20706
20956
|
|
|
20707
20957
|
@property
|
|
20708
20958
|
def Name(self):
|
|
@@ -20825,6 +21075,18 @@ class GovernanceServiceContract(AbstractModel):
|
|
|
20825
21075
|
def Interfaces(self, Interfaces):
|
|
20826
21076
|
self._Interfaces = Interfaces
|
|
20827
21077
|
|
|
21078
|
+
@property
|
|
21079
|
+
def Metadatas(self):
|
|
21080
|
+
"""元数据
|
|
21081
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21082
|
+
:rtype: list of Metadata
|
|
21083
|
+
"""
|
|
21084
|
+
return self._Metadatas
|
|
21085
|
+
|
|
21086
|
+
@Metadatas.setter
|
|
21087
|
+
def Metadatas(self, Metadatas):
|
|
21088
|
+
self._Metadatas = Metadatas
|
|
21089
|
+
|
|
20828
21090
|
|
|
20829
21091
|
def _deserialize(self, params):
|
|
20830
21092
|
self._Name = params.get("Name")
|
|
@@ -20843,6 +21105,12 @@ class GovernanceServiceContract(AbstractModel):
|
|
|
20843
21105
|
obj = GovernanceInterfaceDescription()
|
|
20844
21106
|
obj._deserialize(item)
|
|
20845
21107
|
self._Interfaces.append(obj)
|
|
21108
|
+
if params.get("Metadatas") is not None:
|
|
21109
|
+
self._Metadatas = []
|
|
21110
|
+
for item in params.get("Metadatas"):
|
|
21111
|
+
obj = Metadata()
|
|
21112
|
+
obj._deserialize(item)
|
|
21113
|
+
self._Metadatas.append(obj)
|
|
20846
21114
|
memeber_set = set(params.keys())
|
|
20847
21115
|
for name, value in vars(self).items():
|
|
20848
21116
|
property_name = name[1:]
|
|
@@ -22475,6 +22743,166 @@ class KongServiceDetail(AbstractModel):
|
|
|
22475
22743
|
|
|
22476
22744
|
|
|
22477
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
|
+
|
|
22478
22906
|
class KongServicePreview(AbstractModel):
|
|
22479
22907
|
"""云原生网关服务预览信息
|
|
22480
22908
|
|
|
@@ -24339,12 +24767,15 @@ class ModifyCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
24339
24767
|
:type EnableCls: bool
|
|
24340
24768
|
:param _InternetPayMode: 公网计费模式。可选取值 BANDWIDTH | TRAFFIC ,表示按带宽和按流量计费。
|
|
24341
24769
|
:type InternetPayMode: str
|
|
24770
|
+
:param _DeleteProtect: 是否开启实例删除保护,默认false
|
|
24771
|
+
:type DeleteProtect: bool
|
|
24342
24772
|
"""
|
|
24343
24773
|
self._GatewayId = None
|
|
24344
24774
|
self._Name = None
|
|
24345
24775
|
self._Description = None
|
|
24346
24776
|
self._EnableCls = None
|
|
24347
24777
|
self._InternetPayMode = None
|
|
24778
|
+
self._DeleteProtect = None
|
|
24348
24779
|
|
|
24349
24780
|
@property
|
|
24350
24781
|
def GatewayId(self):
|
|
@@ -24401,6 +24832,17 @@ class ModifyCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
24401
24832
|
def InternetPayMode(self, InternetPayMode):
|
|
24402
24833
|
self._InternetPayMode = InternetPayMode
|
|
24403
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
|
+
|
|
24404
24846
|
|
|
24405
24847
|
def _deserialize(self, params):
|
|
24406
24848
|
self._GatewayId = params.get("GatewayId")
|
|
@@ -24408,6 +24850,7 @@ class ModifyCloudNativeAPIGatewayRequest(AbstractModel):
|
|
|
24408
24850
|
self._Description = params.get("Description")
|
|
24409
24851
|
self._EnableCls = params.get("EnableCls")
|
|
24410
24852
|
self._InternetPayMode = params.get("InternetPayMode")
|
|
24853
|
+
self._DeleteProtect = params.get("DeleteProtect")
|
|
24411
24854
|
memeber_set = set(params.keys())
|
|
24412
24855
|
for name, value in vars(self).items():
|
|
24413
24856
|
property_name = name[1:]
|
|
@@ -28470,6 +28913,14 @@ class SREInstance(AbstractModel):
|
|
|
28470
28913
|
:type ZookeeperRegionInfo: :class:`tencentcloud.tse.v20201207.models.ZookeeperRegionInfo`
|
|
28471
28914
|
:param _DeployMode: 部署架构
|
|
28472
28915
|
:type DeployMode: str
|
|
28916
|
+
:param _GlobalType: 全局属性
|
|
28917
|
+
:type GlobalType: str
|
|
28918
|
+
:param _GroupType: 所属组类型
|
|
28919
|
+
:type GroupType: str
|
|
28920
|
+
:param _GroupId: 组id
|
|
28921
|
+
:type GroupId: list of str
|
|
28922
|
+
:param _IsMainRegion: 是否为主地域
|
|
28923
|
+
:type IsMainRegion: bool
|
|
28473
28924
|
"""
|
|
28474
28925
|
self._InstanceId = None
|
|
28475
28926
|
self._Name = None
|
|
@@ -28507,6 +28958,10 @@ class SREInstance(AbstractModel):
|
|
|
28507
28958
|
self._StorageOption = None
|
|
28508
28959
|
self._ZookeeperRegionInfo = None
|
|
28509
28960
|
self._DeployMode = None
|
|
28961
|
+
self._GlobalType = None
|
|
28962
|
+
self._GroupType = None
|
|
28963
|
+
self._GroupId = None
|
|
28964
|
+
self._IsMainRegion = None
|
|
28510
28965
|
|
|
28511
28966
|
@property
|
|
28512
28967
|
def InstanceId(self):
|
|
@@ -28904,6 +29359,50 @@ class SREInstance(AbstractModel):
|
|
|
28904
29359
|
def DeployMode(self, DeployMode):
|
|
28905
29360
|
self._DeployMode = DeployMode
|
|
28906
29361
|
|
|
29362
|
+
@property
|
|
29363
|
+
def GlobalType(self):
|
|
29364
|
+
"""全局属性
|
|
29365
|
+
:rtype: str
|
|
29366
|
+
"""
|
|
29367
|
+
return self._GlobalType
|
|
29368
|
+
|
|
29369
|
+
@GlobalType.setter
|
|
29370
|
+
def GlobalType(self, GlobalType):
|
|
29371
|
+
self._GlobalType = GlobalType
|
|
29372
|
+
|
|
29373
|
+
@property
|
|
29374
|
+
def GroupType(self):
|
|
29375
|
+
"""所属组类型
|
|
29376
|
+
:rtype: str
|
|
29377
|
+
"""
|
|
29378
|
+
return self._GroupType
|
|
29379
|
+
|
|
29380
|
+
@GroupType.setter
|
|
29381
|
+
def GroupType(self, GroupType):
|
|
29382
|
+
self._GroupType = GroupType
|
|
29383
|
+
|
|
29384
|
+
@property
|
|
29385
|
+
def GroupId(self):
|
|
29386
|
+
"""组id
|
|
29387
|
+
:rtype: list of str
|
|
29388
|
+
"""
|
|
29389
|
+
return self._GroupId
|
|
29390
|
+
|
|
29391
|
+
@GroupId.setter
|
|
29392
|
+
def GroupId(self, GroupId):
|
|
29393
|
+
self._GroupId = GroupId
|
|
29394
|
+
|
|
29395
|
+
@property
|
|
29396
|
+
def IsMainRegion(self):
|
|
29397
|
+
"""是否为主地域
|
|
29398
|
+
:rtype: bool
|
|
29399
|
+
"""
|
|
29400
|
+
return self._IsMainRegion
|
|
29401
|
+
|
|
29402
|
+
@IsMainRegion.setter
|
|
29403
|
+
def IsMainRegion(self, IsMainRegion):
|
|
29404
|
+
self._IsMainRegion = IsMainRegion
|
|
29405
|
+
|
|
28907
29406
|
|
|
28908
29407
|
def _deserialize(self, params):
|
|
28909
29408
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -28974,6 +29473,10 @@ class SREInstance(AbstractModel):
|
|
|
28974
29473
|
self._ZookeeperRegionInfo = ZookeeperRegionInfo()
|
|
28975
29474
|
self._ZookeeperRegionInfo._deserialize(params.get("ZookeeperRegionInfo"))
|
|
28976
29475
|
self._DeployMode = params.get("DeployMode")
|
|
29476
|
+
self._GlobalType = params.get("GlobalType")
|
|
29477
|
+
self._GroupType = params.get("GroupType")
|
|
29478
|
+
self._GroupId = params.get("GroupId")
|
|
29479
|
+
self._IsMainRegion = params.get("IsMainRegion")
|
|
28977
29480
|
memeber_set = set(params.keys())
|
|
28978
29481
|
for name, value in vars(self).items():
|
|
28979
29482
|
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.1384
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|