tencentcloud-sdk-python-tse 3.0.1466__tar.gz → 3.0.1489__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.
Files changed (18) hide show
  1. tencentcloud_sdk_python_tse-3.0.1489/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-tse-3.0.1466 → tencentcloud_sdk_python_tse-3.0.1489}/setup.py +1 -1
  3. {tencentcloud-sdk-python-tse-3.0.1466 → tencentcloud_sdk_python_tse-3.0.1489}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-tse-3.0.1466 → tencentcloud_sdk_python_tse-3.0.1489}/tencentcloud/tse/v20201207/models.py +519 -0
  5. {tencentcloud-sdk-python-tse-3.0.1466 → tencentcloud_sdk_python_tse-3.0.1489}/tencentcloud/tse/v20201207/tse_client.py +69 -0
  6. tencentcloud_sdk_python_tse-3.0.1489/tencentcloud_sdk_python_tse.egg-info/PKG-INFO +46 -0
  7. tencentcloud_sdk_python_tse-3.0.1489/tencentcloud_sdk_python_tse.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-tse-3.0.1466/PKG-INFO +0 -45
  9. tencentcloud-sdk-python-tse-3.0.1466/tencentcloud_sdk_python_tse.egg-info/PKG-INFO +0 -45
  10. tencentcloud-sdk-python-tse-3.0.1466/tencentcloud_sdk_python_tse.egg-info/requires.txt +0 -1
  11. {tencentcloud-sdk-python-tse-3.0.1466 → tencentcloud_sdk_python_tse-3.0.1489}/README.rst +0 -0
  12. {tencentcloud-sdk-python-tse-3.0.1466 → tencentcloud_sdk_python_tse-3.0.1489}/setup.cfg +0 -0
  13. {tencentcloud-sdk-python-tse-3.0.1466 → tencentcloud_sdk_python_tse-3.0.1489}/tencentcloud/tse/__init__.py +0 -0
  14. {tencentcloud-sdk-python-tse-3.0.1466 → tencentcloud_sdk_python_tse-3.0.1489}/tencentcloud/tse/v20201207/__init__.py +0 -0
  15. {tencentcloud-sdk-python-tse-3.0.1466 → tencentcloud_sdk_python_tse-3.0.1489}/tencentcloud/tse/v20201207/errorcodes.py +0 -0
  16. {tencentcloud-sdk-python-tse-3.0.1466 → tencentcloud_sdk_python_tse-3.0.1489}/tencentcloud_sdk_python_tse.egg-info/SOURCES.txt +0 -0
  17. {tencentcloud-sdk-python-tse-3.0.1466 → tencentcloud_sdk_python_tse-3.0.1489}/tencentcloud_sdk_python_tse.egg-info/dependency_links.txt +0 -0
  18. {tencentcloud-sdk-python-tse-3.0.1466 → tencentcloud_sdk_python_tse-3.0.1489}/tencentcloud_sdk_python_tse.egg-info/top_level.txt +0 -0
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-tse
3
+ Version: 3.0.1489
4
+ Summary: Tencent Cloud Tse SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1489
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Tse SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-tse
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common tse
46
+
@@ -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.0.1466,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1489,<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(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1466'
17
+ __version__ = '3.0.1489'
@@ -8234,6 +8234,145 @@ class CreateNativeGatewayServiceSourceResponse(AbstractModel):
8234
8234
  self._RequestId = params.get("RequestId")
8235
8235
 
8236
8236
 
8237
+ class CreateOrModifyCloudNativeAPIGatewayIPRestrictionRequest(AbstractModel):
8238
+ r"""CreateOrModifyCloudNativeAPIGatewayIPRestriction请求参数结构体
8239
+
8240
+ """
8241
+
8242
+ def __init__(self):
8243
+ r"""
8244
+ :param _GatewayId: 网关ID
8245
+ :type GatewayId: str
8246
+ :param _SourceType: 访问控制插件绑定的资源类型:route|service
8247
+ :type SourceType: str
8248
+ :param _SourceId: 路由或服务的id
8249
+ :type SourceId: str
8250
+ :param _Enabled: 是否启用插件
8251
+ :type Enabled: bool
8252
+ :param _RestrictionType: 访问控制类型:whiteList|blackList
8253
+ :type RestrictionType: str
8254
+ :param _AddressList: cidr|ip
8255
+ :type AddressList: list of str
8256
+ """
8257
+ self._GatewayId = None
8258
+ self._SourceType = None
8259
+ self._SourceId = None
8260
+ self._Enabled = None
8261
+ self._RestrictionType = None
8262
+ self._AddressList = None
8263
+
8264
+ @property
8265
+ def GatewayId(self):
8266
+ r"""网关ID
8267
+ :rtype: str
8268
+ """
8269
+ return self._GatewayId
8270
+
8271
+ @GatewayId.setter
8272
+ def GatewayId(self, GatewayId):
8273
+ self._GatewayId = GatewayId
8274
+
8275
+ @property
8276
+ def SourceType(self):
8277
+ r"""访问控制插件绑定的资源类型:route|service
8278
+ :rtype: str
8279
+ """
8280
+ return self._SourceType
8281
+
8282
+ @SourceType.setter
8283
+ def SourceType(self, SourceType):
8284
+ self._SourceType = SourceType
8285
+
8286
+ @property
8287
+ def SourceId(self):
8288
+ r"""路由或服务的id
8289
+ :rtype: str
8290
+ """
8291
+ return self._SourceId
8292
+
8293
+ @SourceId.setter
8294
+ def SourceId(self, SourceId):
8295
+ self._SourceId = SourceId
8296
+
8297
+ @property
8298
+ def Enabled(self):
8299
+ r"""是否启用插件
8300
+ :rtype: bool
8301
+ """
8302
+ return self._Enabled
8303
+
8304
+ @Enabled.setter
8305
+ def Enabled(self, Enabled):
8306
+ self._Enabled = Enabled
8307
+
8308
+ @property
8309
+ def RestrictionType(self):
8310
+ r"""访问控制类型:whiteList|blackList
8311
+ :rtype: str
8312
+ """
8313
+ return self._RestrictionType
8314
+
8315
+ @RestrictionType.setter
8316
+ def RestrictionType(self, RestrictionType):
8317
+ self._RestrictionType = RestrictionType
8318
+
8319
+ @property
8320
+ def AddressList(self):
8321
+ r"""cidr|ip
8322
+ :rtype: list of str
8323
+ """
8324
+ return self._AddressList
8325
+
8326
+ @AddressList.setter
8327
+ def AddressList(self, AddressList):
8328
+ self._AddressList = AddressList
8329
+
8330
+
8331
+ def _deserialize(self, params):
8332
+ self._GatewayId = params.get("GatewayId")
8333
+ self._SourceType = params.get("SourceType")
8334
+ self._SourceId = params.get("SourceId")
8335
+ self._Enabled = params.get("Enabled")
8336
+ self._RestrictionType = params.get("RestrictionType")
8337
+ self._AddressList = params.get("AddressList")
8338
+ memeber_set = set(params.keys())
8339
+ for name, value in vars(self).items():
8340
+ property_name = name[1:]
8341
+ if property_name in memeber_set:
8342
+ memeber_set.remove(property_name)
8343
+ if len(memeber_set) > 0:
8344
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8345
+
8346
+
8347
+
8348
+ class CreateOrModifyCloudNativeAPIGatewayIPRestrictionResponse(AbstractModel):
8349
+ r"""CreateOrModifyCloudNativeAPIGatewayIPRestriction返回参数结构体
8350
+
8351
+ """
8352
+
8353
+ def __init__(self):
8354
+ r"""
8355
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8356
+ :type RequestId: str
8357
+ """
8358
+ self._RequestId = None
8359
+
8360
+ @property
8361
+ def RequestId(self):
8362
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8363
+ :rtype: str
8364
+ """
8365
+ return self._RequestId
8366
+
8367
+ @RequestId.setter
8368
+ def RequestId(self, RequestId):
8369
+ self._RequestId = RequestId
8370
+
8371
+
8372
+ def _deserialize(self, params):
8373
+ self._RequestId = params.get("RequestId")
8374
+
8375
+
8237
8376
  class CreateOrUpdateConfigFileAndReleaseRequest(AbstractModel):
8238
8377
  r"""CreateOrUpdateConfigFileAndRelease请求参数结构体
8239
8378
 
@@ -8802,6 +8941,100 @@ class DeleteCloudNativeAPIGatewayCertificateResponse(AbstractModel):
8802
8941
  self._RequestId = params.get("RequestId")
8803
8942
 
8804
8943
 
8944
+ class DeleteCloudNativeAPIGatewayIPRestrictionRequest(AbstractModel):
8945
+ r"""DeleteCloudNativeAPIGatewayIPRestriction请求参数结构体
8946
+
8947
+ """
8948
+
8949
+ def __init__(self):
8950
+ r"""
8951
+ :param _GatewayId: 网关ID
8952
+ :type GatewayId: str
8953
+ :param _SourceType: 访问控制插件绑定的资源类型:route|service
8954
+ :type SourceType: str
8955
+ :param _SourceId: 路由或服务的id
8956
+ :type SourceId: str
8957
+ """
8958
+ self._GatewayId = None
8959
+ self._SourceType = None
8960
+ self._SourceId = None
8961
+
8962
+ @property
8963
+ def GatewayId(self):
8964
+ r"""网关ID
8965
+ :rtype: str
8966
+ """
8967
+ return self._GatewayId
8968
+
8969
+ @GatewayId.setter
8970
+ def GatewayId(self, GatewayId):
8971
+ self._GatewayId = GatewayId
8972
+
8973
+ @property
8974
+ def SourceType(self):
8975
+ r"""访问控制插件绑定的资源类型:route|service
8976
+ :rtype: str
8977
+ """
8978
+ return self._SourceType
8979
+
8980
+ @SourceType.setter
8981
+ def SourceType(self, SourceType):
8982
+ self._SourceType = SourceType
8983
+
8984
+ @property
8985
+ def SourceId(self):
8986
+ r"""路由或服务的id
8987
+ :rtype: str
8988
+ """
8989
+ return self._SourceId
8990
+
8991
+ @SourceId.setter
8992
+ def SourceId(self, SourceId):
8993
+ self._SourceId = SourceId
8994
+
8995
+
8996
+ def _deserialize(self, params):
8997
+ self._GatewayId = params.get("GatewayId")
8998
+ self._SourceType = params.get("SourceType")
8999
+ self._SourceId = params.get("SourceId")
9000
+ memeber_set = set(params.keys())
9001
+ for name, value in vars(self).items():
9002
+ property_name = name[1:]
9003
+ if property_name in memeber_set:
9004
+ memeber_set.remove(property_name)
9005
+ if len(memeber_set) > 0:
9006
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9007
+
9008
+
9009
+
9010
+ class DeleteCloudNativeAPIGatewayIPRestrictionResponse(AbstractModel):
9011
+ r"""DeleteCloudNativeAPIGatewayIPRestriction返回参数结构体
9012
+
9013
+ """
9014
+
9015
+ def __init__(self):
9016
+ r"""
9017
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9018
+ :type RequestId: str
9019
+ """
9020
+ self._RequestId = None
9021
+
9022
+ @property
9023
+ def RequestId(self):
9024
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9025
+ :rtype: str
9026
+ """
9027
+ return self._RequestId
9028
+
9029
+ @RequestId.setter
9030
+ def RequestId(self, RequestId):
9031
+ self._RequestId = RequestId
9032
+
9033
+
9034
+ def _deserialize(self, params):
9035
+ self._RequestId = params.get("RequestId")
9036
+
9037
+
8805
9038
  class DeleteCloudNativeAPIGatewayPublicNetworkRequest(AbstractModel):
8806
9039
  r"""DeleteCloudNativeAPIGatewayPublicNetwork请求参数结构体
8807
9040
 
@@ -11539,6 +11772,119 @@ class DescribeCloudNativeAPIGatewayConfigResult(AbstractModel):
11539
11772
 
11540
11773
 
11541
11774
 
11775
+ class DescribeCloudNativeAPIGatewayIPRestrictionRequest(AbstractModel):
11776
+ r"""DescribeCloudNativeAPIGatewayIPRestriction请求参数结构体
11777
+
11778
+ """
11779
+
11780
+ def __init__(self):
11781
+ r"""
11782
+ :param _GatewayId: 网关ID
11783
+ :type GatewayId: str
11784
+ :param _SourceType: 访问控制插件绑定的资源类型:route|service
11785
+ :type SourceType: str
11786
+ :param _SourceId: 路由或服务的id
11787
+ :type SourceId: str
11788
+ """
11789
+ self._GatewayId = None
11790
+ self._SourceType = None
11791
+ self._SourceId = None
11792
+
11793
+ @property
11794
+ def GatewayId(self):
11795
+ r"""网关ID
11796
+ :rtype: str
11797
+ """
11798
+ return self._GatewayId
11799
+
11800
+ @GatewayId.setter
11801
+ def GatewayId(self, GatewayId):
11802
+ self._GatewayId = GatewayId
11803
+
11804
+ @property
11805
+ def SourceType(self):
11806
+ r"""访问控制插件绑定的资源类型:route|service
11807
+ :rtype: str
11808
+ """
11809
+ return self._SourceType
11810
+
11811
+ @SourceType.setter
11812
+ def SourceType(self, SourceType):
11813
+ self._SourceType = SourceType
11814
+
11815
+ @property
11816
+ def SourceId(self):
11817
+ r"""路由或服务的id
11818
+ :rtype: str
11819
+ """
11820
+ return self._SourceId
11821
+
11822
+ @SourceId.setter
11823
+ def SourceId(self, SourceId):
11824
+ self._SourceId = SourceId
11825
+
11826
+
11827
+ def _deserialize(self, params):
11828
+ self._GatewayId = params.get("GatewayId")
11829
+ self._SourceType = params.get("SourceType")
11830
+ self._SourceId = params.get("SourceId")
11831
+ memeber_set = set(params.keys())
11832
+ for name, value in vars(self).items():
11833
+ property_name = name[1:]
11834
+ if property_name in memeber_set:
11835
+ memeber_set.remove(property_name)
11836
+ if len(memeber_set) > 0:
11837
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11838
+
11839
+
11840
+
11841
+ class DescribeCloudNativeAPIGatewayIPRestrictionResponse(AbstractModel):
11842
+ r"""DescribeCloudNativeAPIGatewayIPRestriction返回参数结构体
11843
+
11844
+ """
11845
+
11846
+ def __init__(self):
11847
+ r"""
11848
+ :param _Result: 出参
11849
+ 注意:此字段可能返回 null,表示取不到有效值。
11850
+ :type Result: :class:`tencentcloud.tse.v20201207.models.DescribeKongIpRestrictionResult`
11851
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11852
+ :type RequestId: str
11853
+ """
11854
+ self._Result = None
11855
+ self._RequestId = None
11856
+
11857
+ @property
11858
+ def Result(self):
11859
+ r"""出参
11860
+ 注意:此字段可能返回 null,表示取不到有效值。
11861
+ :rtype: :class:`tencentcloud.tse.v20201207.models.DescribeKongIpRestrictionResult`
11862
+ """
11863
+ return self._Result
11864
+
11865
+ @Result.setter
11866
+ def Result(self, Result):
11867
+ self._Result = Result
11868
+
11869
+ @property
11870
+ def RequestId(self):
11871
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11872
+ :rtype: str
11873
+ """
11874
+ return self._RequestId
11875
+
11876
+ @RequestId.setter
11877
+ def RequestId(self, RequestId):
11878
+ self._RequestId = RequestId
11879
+
11880
+
11881
+ def _deserialize(self, params):
11882
+ if params.get("Result") is not None:
11883
+ self._Result = DescribeKongIpRestrictionResult()
11884
+ self._Result._deserialize(params.get("Result"))
11885
+ self._RequestId = params.get("RequestId")
11886
+
11887
+
11542
11888
  class DescribeCloudNativeAPIGatewayInfoByIpRequest(AbstractModel):
11543
11889
  r"""DescribeCloudNativeAPIGatewayInfoByIp请求参数结构体
11544
11890
 
@@ -12026,6 +12372,9 @@ class DescribeCloudNativeAPIGatewayResult(AbstractModel):
12026
12372
  :type PublicIpAddresses: list of str
12027
12373
  :param _DeleteProtect: 是否开启删除保护
12028
12374
  :type DeleteProtect: bool
12375
+ :param _AvailableVersions: 表示可以升级的版本号
12376
+ 注意:此字段可能返回 null,表示取不到有效值。
12377
+ :type AvailableVersions: list of str
12029
12378
  """
12030
12379
  self._GatewayId = None
12031
12380
  self._Status = None
@@ -12053,6 +12402,7 @@ class DescribeCloudNativeAPIGatewayResult(AbstractModel):
12053
12402
  self._LoadBalancerType = None
12054
12403
  self._PublicIpAddresses = None
12055
12404
  self._DeleteProtect = None
12405
+ self._AvailableVersions = None
12056
12406
 
12057
12407
  @property
12058
12408
  def GatewayId(self):
@@ -12343,6 +12693,18 @@ class DescribeCloudNativeAPIGatewayResult(AbstractModel):
12343
12693
  def DeleteProtect(self, DeleteProtect):
12344
12694
  self._DeleteProtect = DeleteProtect
12345
12695
 
12696
+ @property
12697
+ def AvailableVersions(self):
12698
+ r"""表示可以升级的版本号
12699
+ 注意:此字段可能返回 null,表示取不到有效值。
12700
+ :rtype: list of str
12701
+ """
12702
+ return self._AvailableVersions
12703
+
12704
+ @AvailableVersions.setter
12705
+ def AvailableVersions(self, AvailableVersions):
12706
+ self._AvailableVersions = AvailableVersions
12707
+
12346
12708
 
12347
12709
  def _deserialize(self, params):
12348
12710
  self._GatewayId = params.get("GatewayId")
@@ -12382,6 +12744,7 @@ class DescribeCloudNativeAPIGatewayResult(AbstractModel):
12382
12744
  self._LoadBalancerType = params.get("LoadBalancerType")
12383
12745
  self._PublicIpAddresses = params.get("PublicIpAddresses")
12384
12746
  self._DeleteProtect = params.get("DeleteProtect")
12747
+ self._AvailableVersions = params.get("AvailableVersions")
12385
12748
  memeber_set = set(params.keys())
12386
12749
  for name, value in vars(self).items():
12387
12750
  property_name = name[1:]
@@ -15743,6 +16106,8 @@ class DescribeGovernanceServicesRequest(AbstractModel):
15743
16106
  :type OnlyExistHealthyInstance: bool
15744
16107
  :param _SyncToGlobalRegistry: 是否开启同步到全局注册中心
15745
16108
  :type SyncToGlobalRegistry: str
16109
+ :param _StatusFilter: 过滤筛选条件
16110
+ :type StatusFilter: list of Filter
15746
16111
  """
15747
16112
  self._Name = None
15748
16113
  self._Namespace = None
@@ -15755,6 +16120,7 @@ class DescribeGovernanceServicesRequest(AbstractModel):
15755
16120
  self._Host = None
15756
16121
  self._OnlyExistHealthyInstance = None
15757
16122
  self._SyncToGlobalRegistry = None
16123
+ self._StatusFilter = None
15758
16124
 
15759
16125
  @property
15760
16126
  def Name(self):
@@ -15877,6 +16243,17 @@ class DescribeGovernanceServicesRequest(AbstractModel):
15877
16243
  def SyncToGlobalRegistry(self, SyncToGlobalRegistry):
15878
16244
  self._SyncToGlobalRegistry = SyncToGlobalRegistry
15879
16245
 
16246
+ @property
16247
+ def StatusFilter(self):
16248
+ r"""过滤筛选条件
16249
+ :rtype: list of Filter
16250
+ """
16251
+ return self._StatusFilter
16252
+
16253
+ @StatusFilter.setter
16254
+ def StatusFilter(self, StatusFilter):
16255
+ self._StatusFilter = StatusFilter
16256
+
15880
16257
 
15881
16258
  def _deserialize(self, params):
15882
16259
  self._Name = params.get("Name")
@@ -15895,6 +16272,12 @@ class DescribeGovernanceServicesRequest(AbstractModel):
15895
16272
  self._Host = params.get("Host")
15896
16273
  self._OnlyExistHealthyInstance = params.get("OnlyExistHealthyInstance")
15897
16274
  self._SyncToGlobalRegistry = params.get("SyncToGlobalRegistry")
16275
+ if params.get("StatusFilter") is not None:
16276
+ self._StatusFilter = []
16277
+ for item in params.get("StatusFilter"):
16278
+ obj = Filter()
16279
+ obj._deserialize(item)
16280
+ self._StatusFilter.append(obj)
15898
16281
  memeber_set = set(params.keys())
15899
16282
  for name, value in vars(self).items():
15900
16283
  property_name = name[1:]
@@ -16289,6 +16672,112 @@ class DescribeInstanceTagInfosResponse(AbstractModel):
16289
16672
  self._RequestId = params.get("RequestId")
16290
16673
 
16291
16674
 
16675
+ class DescribeKongIpRestrictionResult(AbstractModel):
16676
+ r"""查询云原生网关访问控制配置出参
16677
+
16678
+ """
16679
+
16680
+ def __init__(self):
16681
+ r"""
16682
+ :param _SourceType: 访问控制插件绑定的资源类型:route | service
16683
+ 注意:此字段可能返回 null,表示取不到有效值。
16684
+ :type SourceType: str
16685
+ :param _SourceId: 路由或服务的id
16686
+ 注意:此字段可能返回 null,表示取不到有效值。
16687
+ :type SourceId: str
16688
+ :param _Enabled: 是否启用插件
16689
+ 注意:此字段可能返回 null,表示取不到有效值。
16690
+ :type Enabled: bool
16691
+ :param _RestrictionType: 访问控制类型:whiteList|blackList
16692
+ 注意:此字段可能返回 null,表示取不到有效值。
16693
+ :type RestrictionType: str
16694
+ :param _AddressList: cidr|ip
16695
+ 注意:此字段可能返回 null,表示取不到有效值。
16696
+ :type AddressList: list of str
16697
+ """
16698
+ self._SourceType = None
16699
+ self._SourceId = None
16700
+ self._Enabled = None
16701
+ self._RestrictionType = None
16702
+ self._AddressList = None
16703
+
16704
+ @property
16705
+ def SourceType(self):
16706
+ r"""访问控制插件绑定的资源类型:route | service
16707
+ 注意:此字段可能返回 null,表示取不到有效值。
16708
+ :rtype: str
16709
+ """
16710
+ return self._SourceType
16711
+
16712
+ @SourceType.setter
16713
+ def SourceType(self, SourceType):
16714
+ self._SourceType = SourceType
16715
+
16716
+ @property
16717
+ def SourceId(self):
16718
+ r"""路由或服务的id
16719
+ 注意:此字段可能返回 null,表示取不到有效值。
16720
+ :rtype: str
16721
+ """
16722
+ return self._SourceId
16723
+
16724
+ @SourceId.setter
16725
+ def SourceId(self, SourceId):
16726
+ self._SourceId = SourceId
16727
+
16728
+ @property
16729
+ def Enabled(self):
16730
+ r"""是否启用插件
16731
+ 注意:此字段可能返回 null,表示取不到有效值。
16732
+ :rtype: bool
16733
+ """
16734
+ return self._Enabled
16735
+
16736
+ @Enabled.setter
16737
+ def Enabled(self, Enabled):
16738
+ self._Enabled = Enabled
16739
+
16740
+ @property
16741
+ def RestrictionType(self):
16742
+ r"""访问控制类型:whiteList|blackList
16743
+ 注意:此字段可能返回 null,表示取不到有效值。
16744
+ :rtype: str
16745
+ """
16746
+ return self._RestrictionType
16747
+
16748
+ @RestrictionType.setter
16749
+ def RestrictionType(self, RestrictionType):
16750
+ self._RestrictionType = RestrictionType
16751
+
16752
+ @property
16753
+ def AddressList(self):
16754
+ r"""cidr|ip
16755
+ 注意:此字段可能返回 null,表示取不到有效值。
16756
+ :rtype: list of str
16757
+ """
16758
+ return self._AddressList
16759
+
16760
+ @AddressList.setter
16761
+ def AddressList(self, AddressList):
16762
+ self._AddressList = AddressList
16763
+
16764
+
16765
+ def _deserialize(self, params):
16766
+ self._SourceType = params.get("SourceType")
16767
+ self._SourceId = params.get("SourceId")
16768
+ self._Enabled = params.get("Enabled")
16769
+ self._RestrictionType = params.get("RestrictionType")
16770
+ self._AddressList = params.get("AddressList")
16771
+ memeber_set = set(params.keys())
16772
+ for name, value in vars(self).items():
16773
+ property_name = name[1:]
16774
+ if property_name in memeber_set:
16775
+ memeber_set.remove(property_name)
16776
+ if len(memeber_set) > 0:
16777
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16778
+
16779
+
16780
+
16292
16781
  class DescribeNacosReplicasRequest(AbstractModel):
16293
16782
  r"""DescribeNacosReplicas请求参数结构体
16294
16783
 
@@ -20732,6 +21221,10 @@ class GovernanceService(AbstractModel):
20732
21221
  :type Revision: str
20733
21222
  :param _SyncToGlobalRegistry: 是否开启同步到全局注册中心
20734
21223
  :type SyncToGlobalRegistry: bool
21224
+ :param _IsolateInstanceCount: 隔离实例数
21225
+ :type IsolateInstanceCount: int
21226
+ :param _ServiceStatus: 服务健康状态
21227
+ :type ServiceStatus: int
20735
21228
  """
20736
21229
  self._Name = None
20737
21230
  self._Namespace = None
@@ -20752,6 +21245,8 @@ class GovernanceService(AbstractModel):
20752
21245
  self._ExportTo = None
20753
21246
  self._Revision = None
20754
21247
  self._SyncToGlobalRegistry = None
21248
+ self._IsolateInstanceCount = None
21249
+ self._ServiceStatus = None
20755
21250
 
20756
21251
  @property
20757
21252
  def Name(self):
@@ -20962,6 +21457,28 @@ class GovernanceService(AbstractModel):
20962
21457
  def SyncToGlobalRegistry(self, SyncToGlobalRegistry):
20963
21458
  self._SyncToGlobalRegistry = SyncToGlobalRegistry
20964
21459
 
21460
+ @property
21461
+ def IsolateInstanceCount(self):
21462
+ r"""隔离实例数
21463
+ :rtype: int
21464
+ """
21465
+ return self._IsolateInstanceCount
21466
+
21467
+ @IsolateInstanceCount.setter
21468
+ def IsolateInstanceCount(self, IsolateInstanceCount):
21469
+ self._IsolateInstanceCount = IsolateInstanceCount
21470
+
21471
+ @property
21472
+ def ServiceStatus(self):
21473
+ r"""服务健康状态
21474
+ :rtype: int
21475
+ """
21476
+ return self._ServiceStatus
21477
+
21478
+ @ServiceStatus.setter
21479
+ def ServiceStatus(self, ServiceStatus):
21480
+ self._ServiceStatus = ServiceStatus
21481
+
20965
21482
 
20966
21483
  def _deserialize(self, params):
20967
21484
  self._Name = params.get("Name")
@@ -20988,6 +21505,8 @@ class GovernanceService(AbstractModel):
20988
21505
  self._ExportTo = params.get("ExportTo")
20989
21506
  self._Revision = params.get("Revision")
20990
21507
  self._SyncToGlobalRegistry = params.get("SyncToGlobalRegistry")
21508
+ self._IsolateInstanceCount = params.get("IsolateInstanceCount")
21509
+ self._ServiceStatus = params.get("ServiceStatus")
20991
21510
  memeber_set = set(params.keys())
20992
21511
  for name, value in vars(self).items():
20993
21512
  property_name = name[1:]
@@ -486,6 +486,29 @@ class TseClient(AbstractClient):
486
486
  raise TencentCloudSDKException(type(e).__name__, str(e))
487
487
 
488
488
 
489
+ def CreateOrModifyCloudNativeAPIGatewayIPRestriction(self, request):
490
+ r"""创建或编辑云原生网关访问控制
491
+
492
+ :param request: Request instance for CreateOrModifyCloudNativeAPIGatewayIPRestriction.
493
+ :type request: :class:`tencentcloud.tse.v20201207.models.CreateOrModifyCloudNativeAPIGatewayIPRestrictionRequest`
494
+ :rtype: :class:`tencentcloud.tse.v20201207.models.CreateOrModifyCloudNativeAPIGatewayIPRestrictionResponse`
495
+
496
+ """
497
+ try:
498
+ params = request._serialize()
499
+ headers = request.headers
500
+ body = self.call("CreateOrModifyCloudNativeAPIGatewayIPRestriction", params, headers=headers)
501
+ response = json.loads(body)
502
+ model = models.CreateOrModifyCloudNativeAPIGatewayIPRestrictionResponse()
503
+ model._deserialize(response["Response"])
504
+ return model
505
+ except Exception as e:
506
+ if isinstance(e, TencentCloudSDKException):
507
+ raise
508
+ else:
509
+ raise TencentCloudSDKException(type(e).__name__, str(e))
510
+
511
+
489
512
  def CreateOrUpdateConfigFileAndRelease(self, request):
490
513
  r"""创建或更新配置文件并发布配置
491
514
 
@@ -624,6 +647,29 @@ class TseClient(AbstractClient):
624
647
  raise TencentCloudSDKException(type(e).__name__, str(e))
625
648
 
626
649
 
650
+ def DeleteCloudNativeAPIGatewayIPRestriction(self, request):
651
+ r"""删除云原生网关访问控制
652
+
653
+ :param request: Request instance for DeleteCloudNativeAPIGatewayIPRestriction.
654
+ :type request: :class:`tencentcloud.tse.v20201207.models.DeleteCloudNativeAPIGatewayIPRestrictionRequest`
655
+ :rtype: :class:`tencentcloud.tse.v20201207.models.DeleteCloudNativeAPIGatewayIPRestrictionResponse`
656
+
657
+ """
658
+ try:
659
+ params = request._serialize()
660
+ headers = request.headers
661
+ body = self.call("DeleteCloudNativeAPIGatewayIPRestriction", params, headers=headers)
662
+ response = json.loads(body)
663
+ model = models.DeleteCloudNativeAPIGatewayIPRestrictionResponse()
664
+ model._deserialize(response["Response"])
665
+ return model
666
+ except Exception as e:
667
+ if isinstance(e, TencentCloudSDKException):
668
+ raise
669
+ else:
670
+ raise TencentCloudSDKException(type(e).__name__, str(e))
671
+
672
+
627
673
  def DeleteCloudNativeAPIGatewayPublicNetwork(self, request):
628
674
  r"""删除公网网络配置
629
675
 
@@ -1199,6 +1245,29 @@ class TseClient(AbstractClient):
1199
1245
  raise TencentCloudSDKException(type(e).__name__, str(e))
1200
1246
 
1201
1247
 
1248
+ def DescribeCloudNativeAPIGatewayIPRestriction(self, request):
1249
+ r"""查询云原生网关访问控制
1250
+
1251
+ :param request: Request instance for DescribeCloudNativeAPIGatewayIPRestriction.
1252
+ :type request: :class:`tencentcloud.tse.v20201207.models.DescribeCloudNativeAPIGatewayIPRestrictionRequest`
1253
+ :rtype: :class:`tencentcloud.tse.v20201207.models.DescribeCloudNativeAPIGatewayIPRestrictionResponse`
1254
+
1255
+ """
1256
+ try:
1257
+ params = request._serialize()
1258
+ headers = request.headers
1259
+ body = self.call("DescribeCloudNativeAPIGatewayIPRestriction", params, headers=headers)
1260
+ response = json.loads(body)
1261
+ model = models.DescribeCloudNativeAPIGatewayIPRestrictionResponse()
1262
+ model._deserialize(response["Response"])
1263
+ return model
1264
+ except Exception as e:
1265
+ if isinstance(e, TencentCloudSDKException):
1266
+ raise
1267
+ else:
1268
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1269
+
1270
+
1202
1271
  def DescribeCloudNativeAPIGatewayInfoByIp(self, request):
1203
1272
  r"""根据公网IP查询云原生网关实例信息
1204
1273
 
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-tse
3
+ Version: 3.0.1489
4
+ Summary: Tencent Cloud Tse SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1489
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Tse SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-tse
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common tse
46
+
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1489
@@ -1,45 +0,0 @@
1
- Metadata-Version: 1.2
2
- Name: tencentcloud-sdk-python-tse
3
- Version: 3.0.1466
4
- Summary: Tencent Cloud Tse SDK for Python
5
- Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
- Author: Tencent Cloud
7
- Maintainer-email: tencentcloudapi@tencent.com
8
- License: Apache License 2.0
9
- Description: ============================
10
- Tencent Cloud SDK for Python
11
- ============================
12
-
13
- Tencent Cloud Python Tse SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
14
- The SDK works on Python versions:
15
-
16
- * 2.7 and greater, including 3.x
17
-
18
- Quick Start
19
- -----------
20
-
21
- First, install the library:
22
-
23
- .. code-block:: sh
24
-
25
- $ pip install tencentcloud-sdk-python-common
26
- $ pip install tencentcloud-sdk-python-tse
27
-
28
- or download source code from github and install:
29
-
30
- .. code-block:: sh
31
-
32
- $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
33
- $ cd tencentcloud-sdk-python
34
- $ python package.py --components common tse
35
-
36
-
37
- Platform: any
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Developers
40
- Classifier: License :: OSI Approved :: Apache Software License
41
- Classifier: Programming Language :: Python
42
- Classifier: Programming Language :: Python :: 2.7
43
- Classifier: Programming Language :: Python :: 3
44
- Classifier: Programming Language :: Python :: 3.6
45
- Classifier: Programming Language :: Python :: 3.7
@@ -1,45 +0,0 @@
1
- Metadata-Version: 1.2
2
- Name: tencentcloud-sdk-python-tse
3
- Version: 3.0.1466
4
- Summary: Tencent Cloud Tse SDK for Python
5
- Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
- Author: Tencent Cloud
7
- Maintainer-email: tencentcloudapi@tencent.com
8
- License: Apache License 2.0
9
- Description: ============================
10
- Tencent Cloud SDK for Python
11
- ============================
12
-
13
- Tencent Cloud Python Tse SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
14
- The SDK works on Python versions:
15
-
16
- * 2.7 and greater, including 3.x
17
-
18
- Quick Start
19
- -----------
20
-
21
- First, install the library:
22
-
23
- .. code-block:: sh
24
-
25
- $ pip install tencentcloud-sdk-python-common
26
- $ pip install tencentcloud-sdk-python-tse
27
-
28
- or download source code from github and install:
29
-
30
- .. code-block:: sh
31
-
32
- $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
33
- $ cd tencentcloud-sdk-python
34
- $ python package.py --components common tse
35
-
36
-
37
- Platform: any
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Developers
40
- Classifier: License :: OSI Approved :: Apache Software License
41
- Classifier: Programming Language :: Python
42
- Classifier: Programming Language :: Python :: 2.7
43
- Classifier: Programming Language :: Python :: 3
44
- Classifier: Programming Language :: Python :: 3.6
45
- Classifier: Programming Language :: Python :: 3.7
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1466