tencentcloud-sdk-python-tse 3.0.996__tar.gz → 3.0.998__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.996 → tencentcloud-sdk-python-tse-3.0.998}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tse-3.0.996 → tencentcloud-sdk-python-tse-3.0.998}/setup.py +1 -1
- {tencentcloud-sdk-python-tse-3.0.996 → tencentcloud-sdk-python-tse-3.0.998}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tse-3.0.996 → tencentcloud-sdk-python-tse-3.0.998}/tencentcloud/tse/v20201207/models.py +153 -0
- {tencentcloud-sdk-python-tse-3.0.996 → tencentcloud-sdk-python-tse-3.0.998}/tencentcloud/tse/v20201207/tse_client.py +23 -0
- {tencentcloud-sdk-python-tse-3.0.996 → tencentcloud-sdk-python-tse-3.0.998}/tencentcloud_sdk_python_tse.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tse-3.0.998/tencentcloud_sdk_python_tse.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tse-3.0.996/tencentcloud_sdk_python_tse.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tse-3.0.996 → tencentcloud-sdk-python-tse-3.0.998}/README.rst +0 -0
- {tencentcloud-sdk-python-tse-3.0.996 → tencentcloud-sdk-python-tse-3.0.998}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tse-3.0.996 → tencentcloud-sdk-python-tse-3.0.998}/tencentcloud/tse/__init__.py +0 -0
- {tencentcloud-sdk-python-tse-3.0.996 → tencentcloud-sdk-python-tse-3.0.998}/tencentcloud/tse/v20201207/__init__.py +0 -0
- {tencentcloud-sdk-python-tse-3.0.996 → tencentcloud-sdk-python-tse-3.0.998}/tencentcloud/tse/v20201207/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tse-3.0.996 → tencentcloud-sdk-python-tse-3.0.998}/tencentcloud_sdk_python_tse.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tse-3.0.996 → tencentcloud-sdk-python-tse-3.0.998}/tencentcloud_sdk_python_tse.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tse-3.0.996 → tencentcloud-sdk-python-tse-3.0.998}/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==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.998"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tse SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -9523,6 +9523,159 @@ class ModifyCloudNativeAPIGatewayCanaryRuleResponse(AbstractModel):
|
|
|
9523
9523
|
self._RequestId = params.get("RequestId")
|
|
9524
9524
|
|
|
9525
9525
|
|
|
9526
|
+
class ModifyCloudNativeAPIGatewayCertificateRequest(AbstractModel):
|
|
9527
|
+
"""ModifyCloudNativeAPIGatewayCertificate请求参数结构体
|
|
9528
|
+
|
|
9529
|
+
"""
|
|
9530
|
+
|
|
9531
|
+
def __init__(self):
|
|
9532
|
+
r"""
|
|
9533
|
+
:param _GatewayId: 网关ID
|
|
9534
|
+
:type GatewayId: str
|
|
9535
|
+
:param _Id: 证书id
|
|
9536
|
+
:type Id: str
|
|
9537
|
+
:param _Name: 证书名称,即将废弃
|
|
9538
|
+
:type Name: str
|
|
9539
|
+
:param _Key: 证书私钥,CertSource为native时必填。
|
|
9540
|
+
:type Key: str
|
|
9541
|
+
:param _Crt: 证书pem格式,CertSource为native时必填。
|
|
9542
|
+
:type Crt: str
|
|
9543
|
+
:param _BindDomains: 绑定的域名,即将废弃
|
|
9544
|
+
:type BindDomains: list of str
|
|
9545
|
+
:param _CertId: ssl平台证书 Id,CertSource为ssl时必填。
|
|
9546
|
+
:type CertId: str
|
|
9547
|
+
:param _CertSource: 证书来源
|
|
9548
|
+
- ssl (ssl平台证书),默认值
|
|
9549
|
+
- native (kong自定义证书)
|
|
9550
|
+
|
|
9551
|
+
:type CertSource: str
|
|
9552
|
+
"""
|
|
9553
|
+
self._GatewayId = None
|
|
9554
|
+
self._Id = None
|
|
9555
|
+
self._Name = None
|
|
9556
|
+
self._Key = None
|
|
9557
|
+
self._Crt = None
|
|
9558
|
+
self._BindDomains = None
|
|
9559
|
+
self._CertId = None
|
|
9560
|
+
self._CertSource = None
|
|
9561
|
+
|
|
9562
|
+
@property
|
|
9563
|
+
def GatewayId(self):
|
|
9564
|
+
return self._GatewayId
|
|
9565
|
+
|
|
9566
|
+
@GatewayId.setter
|
|
9567
|
+
def GatewayId(self, GatewayId):
|
|
9568
|
+
self._GatewayId = GatewayId
|
|
9569
|
+
|
|
9570
|
+
@property
|
|
9571
|
+
def Id(self):
|
|
9572
|
+
return self._Id
|
|
9573
|
+
|
|
9574
|
+
@Id.setter
|
|
9575
|
+
def Id(self, Id):
|
|
9576
|
+
self._Id = Id
|
|
9577
|
+
|
|
9578
|
+
@property
|
|
9579
|
+
def Name(self):
|
|
9580
|
+
warnings.warn("parameter `Name` is deprecated", DeprecationWarning)
|
|
9581
|
+
|
|
9582
|
+
return self._Name
|
|
9583
|
+
|
|
9584
|
+
@Name.setter
|
|
9585
|
+
def Name(self, Name):
|
|
9586
|
+
warnings.warn("parameter `Name` is deprecated", DeprecationWarning)
|
|
9587
|
+
|
|
9588
|
+
self._Name = Name
|
|
9589
|
+
|
|
9590
|
+
@property
|
|
9591
|
+
def Key(self):
|
|
9592
|
+
return self._Key
|
|
9593
|
+
|
|
9594
|
+
@Key.setter
|
|
9595
|
+
def Key(self, Key):
|
|
9596
|
+
self._Key = Key
|
|
9597
|
+
|
|
9598
|
+
@property
|
|
9599
|
+
def Crt(self):
|
|
9600
|
+
return self._Crt
|
|
9601
|
+
|
|
9602
|
+
@Crt.setter
|
|
9603
|
+
def Crt(self, Crt):
|
|
9604
|
+
self._Crt = Crt
|
|
9605
|
+
|
|
9606
|
+
@property
|
|
9607
|
+
def BindDomains(self):
|
|
9608
|
+
warnings.warn("parameter `BindDomains` is deprecated", DeprecationWarning)
|
|
9609
|
+
|
|
9610
|
+
return self._BindDomains
|
|
9611
|
+
|
|
9612
|
+
@BindDomains.setter
|
|
9613
|
+
def BindDomains(self, BindDomains):
|
|
9614
|
+
warnings.warn("parameter `BindDomains` is deprecated", DeprecationWarning)
|
|
9615
|
+
|
|
9616
|
+
self._BindDomains = BindDomains
|
|
9617
|
+
|
|
9618
|
+
@property
|
|
9619
|
+
def CertId(self):
|
|
9620
|
+
return self._CertId
|
|
9621
|
+
|
|
9622
|
+
@CertId.setter
|
|
9623
|
+
def CertId(self, CertId):
|
|
9624
|
+
self._CertId = CertId
|
|
9625
|
+
|
|
9626
|
+
@property
|
|
9627
|
+
def CertSource(self):
|
|
9628
|
+
return self._CertSource
|
|
9629
|
+
|
|
9630
|
+
@CertSource.setter
|
|
9631
|
+
def CertSource(self, CertSource):
|
|
9632
|
+
self._CertSource = CertSource
|
|
9633
|
+
|
|
9634
|
+
|
|
9635
|
+
def _deserialize(self, params):
|
|
9636
|
+
self._GatewayId = params.get("GatewayId")
|
|
9637
|
+
self._Id = params.get("Id")
|
|
9638
|
+
self._Name = params.get("Name")
|
|
9639
|
+
self._Key = params.get("Key")
|
|
9640
|
+
self._Crt = params.get("Crt")
|
|
9641
|
+
self._BindDomains = params.get("BindDomains")
|
|
9642
|
+
self._CertId = params.get("CertId")
|
|
9643
|
+
self._CertSource = params.get("CertSource")
|
|
9644
|
+
memeber_set = set(params.keys())
|
|
9645
|
+
for name, value in vars(self).items():
|
|
9646
|
+
property_name = name[1:]
|
|
9647
|
+
if property_name in memeber_set:
|
|
9648
|
+
memeber_set.remove(property_name)
|
|
9649
|
+
if len(memeber_set) > 0:
|
|
9650
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9651
|
+
|
|
9652
|
+
|
|
9653
|
+
|
|
9654
|
+
class ModifyCloudNativeAPIGatewayCertificateResponse(AbstractModel):
|
|
9655
|
+
"""ModifyCloudNativeAPIGatewayCertificate返回参数结构体
|
|
9656
|
+
|
|
9657
|
+
"""
|
|
9658
|
+
|
|
9659
|
+
def __init__(self):
|
|
9660
|
+
r"""
|
|
9661
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9662
|
+
:type RequestId: str
|
|
9663
|
+
"""
|
|
9664
|
+
self._RequestId = None
|
|
9665
|
+
|
|
9666
|
+
@property
|
|
9667
|
+
def RequestId(self):
|
|
9668
|
+
return self._RequestId
|
|
9669
|
+
|
|
9670
|
+
@RequestId.setter
|
|
9671
|
+
def RequestId(self, RequestId):
|
|
9672
|
+
self._RequestId = RequestId
|
|
9673
|
+
|
|
9674
|
+
|
|
9675
|
+
def _deserialize(self, params):
|
|
9676
|
+
self._RequestId = params.get("RequestId")
|
|
9677
|
+
|
|
9678
|
+
|
|
9526
9679
|
class ModifyCloudNativeAPIGatewayRequest(AbstractModel):
|
|
9527
9680
|
"""ModifyCloudNativeAPIGateway请求参数结构体
|
|
9528
9681
|
|
|
@@ -946,6 +946,29 @@ class TseClient(AbstractClient):
|
|
|
946
946
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
947
947
|
|
|
948
948
|
|
|
949
|
+
def ModifyCloudNativeAPIGatewayCertificate(self, request):
|
|
950
|
+
"""更新云原生网关证书
|
|
951
|
+
|
|
952
|
+
:param request: Request instance for ModifyCloudNativeAPIGatewayCertificate.
|
|
953
|
+
:type request: :class:`tencentcloud.tse.v20201207.models.ModifyCloudNativeAPIGatewayCertificateRequest`
|
|
954
|
+
:rtype: :class:`tencentcloud.tse.v20201207.models.ModifyCloudNativeAPIGatewayCertificateResponse`
|
|
955
|
+
|
|
956
|
+
"""
|
|
957
|
+
try:
|
|
958
|
+
params = request._serialize()
|
|
959
|
+
headers = request.headers
|
|
960
|
+
body = self.call("ModifyCloudNativeAPIGatewayCertificate", params, headers=headers)
|
|
961
|
+
response = json.loads(body)
|
|
962
|
+
model = models.ModifyCloudNativeAPIGatewayCertificateResponse()
|
|
963
|
+
model._deserialize(response["Response"])
|
|
964
|
+
return model
|
|
965
|
+
except Exception as e:
|
|
966
|
+
if isinstance(e, TencentCloudSDKException):
|
|
967
|
+
raise
|
|
968
|
+
else:
|
|
969
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
970
|
+
|
|
971
|
+
|
|
949
972
|
def ModifyCloudNativeAPIGatewayRoute(self, request):
|
|
950
973
|
"""修改云原生网关路由
|
|
951
974
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.998
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.996
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|