tencentcloud-sdk-python-tse 3.0.1000__tar.gz → 3.0.1002__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.1000 → tencentcloud-sdk-python-tse-3.0.1002}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tse-3.0.1000 → tencentcloud-sdk-python-tse-3.0.1002}/setup.py +1 -1
- {tencentcloud-sdk-python-tse-3.0.1000 → tencentcloud-sdk-python-tse-3.0.1002}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tse-3.0.1000 → tencentcloud-sdk-python-tse-3.0.1002}/tencentcloud/tse/v20201207/models.py +164 -2
- {tencentcloud-sdk-python-tse-3.0.1000 → tencentcloud-sdk-python-tse-3.0.1002}/tencentcloud/tse/v20201207/tse_client.py +23 -0
- {tencentcloud-sdk-python-tse-3.0.1000 → tencentcloud-sdk-python-tse-3.0.1002}/tencentcloud_sdk_python_tse.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tse-3.0.1002/tencentcloud_sdk_python_tse.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tse-3.0.1000/tencentcloud_sdk_python_tse.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tse-3.0.1000 → tencentcloud-sdk-python-tse-3.0.1002}/README.rst +0 -0
- {tencentcloud-sdk-python-tse-3.0.1000 → tencentcloud-sdk-python-tse-3.0.1002}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tse-3.0.1000 → tencentcloud-sdk-python-tse-3.0.1002}/tencentcloud/tse/__init__.py +0 -0
- {tencentcloud-sdk-python-tse-3.0.1000 → tencentcloud-sdk-python-tse-3.0.1002}/tencentcloud/tse/v20201207/__init__.py +0 -0
- {tencentcloud-sdk-python-tse-3.0.1000 → tencentcloud-sdk-python-tse-3.0.1002}/tencentcloud/tse/v20201207/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tse-3.0.1000 → tencentcloud-sdk-python-tse-3.0.1002}/tencentcloud_sdk_python_tse.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tse-3.0.1000 → tencentcloud-sdk-python-tse-3.0.1002}/tencentcloud_sdk_python_tse.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tse-3.0.1000 → tencentcloud-sdk-python-tse-3.0.1002}/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.1002"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tse SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -851,9 +851,12 @@ class CloudNativeAPIGatewayConfig(AbstractModel):
|
|
|
851
851
|
:param _Description: 负载均衡的描述
|
|
852
852
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
853
853
|
:type Description: str
|
|
854
|
-
:param _SlaType:
|
|
854
|
+
:param _SlaType: 负载均衡的规格类型
|
|
855
855
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
856
856
|
:type SlaType: str
|
|
857
|
+
:param _SlaName: clb规格名称
|
|
858
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
859
|
+
:type SlaName: str
|
|
857
860
|
:param _Vip: clb vip
|
|
858
861
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
859
862
|
:type Vip: str
|
|
@@ -891,6 +894,7 @@ class CloudNativeAPIGatewayConfig(AbstractModel):
|
|
|
891
894
|
self._VpcId = None
|
|
892
895
|
self._Description = None
|
|
893
896
|
self._SlaType = None
|
|
897
|
+
self._SlaName = None
|
|
894
898
|
self._Vip = None
|
|
895
899
|
self._InternetMaxBandwidthOut = None
|
|
896
900
|
self._MultiZoneFlag = None
|
|
@@ -996,6 +1000,14 @@ class CloudNativeAPIGatewayConfig(AbstractModel):
|
|
|
996
1000
|
def SlaType(self, SlaType):
|
|
997
1001
|
self._SlaType = SlaType
|
|
998
1002
|
|
|
1003
|
+
@property
|
|
1004
|
+
def SlaName(self):
|
|
1005
|
+
return self._SlaName
|
|
1006
|
+
|
|
1007
|
+
@SlaName.setter
|
|
1008
|
+
def SlaName(self, SlaName):
|
|
1009
|
+
self._SlaName = SlaName
|
|
1010
|
+
|
|
999
1011
|
@property
|
|
1000
1012
|
def Vip(self):
|
|
1001
1013
|
return self._Vip
|
|
@@ -1076,6 +1088,7 @@ class CloudNativeAPIGatewayConfig(AbstractModel):
|
|
|
1076
1088
|
self._VpcId = params.get("VpcId")
|
|
1077
1089
|
self._Description = params.get("Description")
|
|
1078
1090
|
self._SlaType = params.get("SlaType")
|
|
1091
|
+
self._SlaName = params.get("SlaName")
|
|
1079
1092
|
self._Vip = params.get("Vip")
|
|
1080
1093
|
self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
|
|
1081
1094
|
self._MultiZoneFlag = params.get("MultiZoneFlag")
|
|
@@ -3175,11 +3188,23 @@ class CreateCloudNativeAPIGatewayServiceResponse(AbstractModel):
|
|
|
3175
3188
|
|
|
3176
3189
|
def __init__(self):
|
|
3177
3190
|
r"""
|
|
3191
|
+
:param _Result: 网关服务创建结果
|
|
3192
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3193
|
+
:type Result: :class:`tencentcloud.tse.v20201207.models.CreateGatewayServiceResult`
|
|
3178
3194
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3179
3195
|
:type RequestId: str
|
|
3180
3196
|
"""
|
|
3197
|
+
self._Result = None
|
|
3181
3198
|
self._RequestId = None
|
|
3182
3199
|
|
|
3200
|
+
@property
|
|
3201
|
+
def Result(self):
|
|
3202
|
+
return self._Result
|
|
3203
|
+
|
|
3204
|
+
@Result.setter
|
|
3205
|
+
def Result(self, Result):
|
|
3206
|
+
self._Result = Result
|
|
3207
|
+
|
|
3183
3208
|
@property
|
|
3184
3209
|
def RequestId(self):
|
|
3185
3210
|
return self._RequestId
|
|
@@ -3190,6 +3215,9 @@ class CreateCloudNativeAPIGatewayServiceResponse(AbstractModel):
|
|
|
3190
3215
|
|
|
3191
3216
|
|
|
3192
3217
|
def _deserialize(self, params):
|
|
3218
|
+
if params.get("Result") is not None:
|
|
3219
|
+
self._Result = CreateGatewayServiceResult()
|
|
3220
|
+
self._Result._deserialize(params.get("Result"))
|
|
3193
3221
|
self._RequestId = params.get("RequestId")
|
|
3194
3222
|
|
|
3195
3223
|
|
|
@@ -3516,6 +3544,40 @@ class CreateEngineResponse(AbstractModel):
|
|
|
3516
3544
|
self._RequestId = params.get("RequestId")
|
|
3517
3545
|
|
|
3518
3546
|
|
|
3547
|
+
class CreateGatewayServiceResult(AbstractModel):
|
|
3548
|
+
"""创建云原生网关服务结果
|
|
3549
|
+
|
|
3550
|
+
"""
|
|
3551
|
+
|
|
3552
|
+
def __init__(self):
|
|
3553
|
+
r"""
|
|
3554
|
+
:param _ServiceId: 网关服务ID
|
|
3555
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3556
|
+
:type ServiceId: str
|
|
3557
|
+
"""
|
|
3558
|
+
self._ServiceId = None
|
|
3559
|
+
|
|
3560
|
+
@property
|
|
3561
|
+
def ServiceId(self):
|
|
3562
|
+
return self._ServiceId
|
|
3563
|
+
|
|
3564
|
+
@ServiceId.setter
|
|
3565
|
+
def ServiceId(self, ServiceId):
|
|
3566
|
+
self._ServiceId = ServiceId
|
|
3567
|
+
|
|
3568
|
+
|
|
3569
|
+
def _deserialize(self, params):
|
|
3570
|
+
self._ServiceId = params.get("ServiceId")
|
|
3571
|
+
memeber_set = set(params.keys())
|
|
3572
|
+
for name, value in vars(self).items():
|
|
3573
|
+
property_name = name[1:]
|
|
3574
|
+
if property_name in memeber_set:
|
|
3575
|
+
memeber_set.remove(property_name)
|
|
3576
|
+
if len(memeber_set) > 0:
|
|
3577
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3578
|
+
|
|
3579
|
+
|
|
3580
|
+
|
|
3519
3581
|
class CreateNativeGatewayServerGroupRequest(AbstractModel):
|
|
3520
3582
|
"""CreateNativeGatewayServerGroup请求参数结构体
|
|
3521
3583
|
|
|
@@ -8049,7 +8111,7 @@ class InternetConfig(AbstractModel):
|
|
|
8049
8111
|
:type InternetMaxBandwidthOut: int
|
|
8050
8112
|
:param _Description: 负载均衡描述
|
|
8051
8113
|
:type Description: str
|
|
8052
|
-
:param _SlaType:
|
|
8114
|
+
:param _SlaType: 负载均衡的规格类型,支持clb.c2.medium、clb.c3.small、clb.c3.medium、clb.c4.small、clb.c4.medium、clb.c4.large、clb.c4.xlarge,不传为共享型。
|
|
8053
8115
|
:type SlaType: str
|
|
8054
8116
|
:param _MultiZoneFlag: 负载均衡是否多可用区
|
|
8055
8117
|
:type MultiZoneFlag: bool
|
|
@@ -12316,6 +12378,106 @@ class UpdateEngineInternetAccessResponse(AbstractModel):
|
|
|
12316
12378
|
self._RequestId = params.get("RequestId")
|
|
12317
12379
|
|
|
12318
12380
|
|
|
12381
|
+
class UpdateUpstreamTargetsRequest(AbstractModel):
|
|
12382
|
+
"""UpdateUpstreamTargets请求参数结构体
|
|
12383
|
+
|
|
12384
|
+
"""
|
|
12385
|
+
|
|
12386
|
+
def __init__(self):
|
|
12387
|
+
r"""
|
|
12388
|
+
:param _GatewayId: 网关实例ID
|
|
12389
|
+
:type GatewayId: str
|
|
12390
|
+
:param _Name: 服务名称或ID
|
|
12391
|
+
:type Name: str
|
|
12392
|
+
:param _Targets: 实例列表
|
|
12393
|
+
:type Targets: list of KongTarget
|
|
12394
|
+
"""
|
|
12395
|
+
self._GatewayId = None
|
|
12396
|
+
self._Name = None
|
|
12397
|
+
self._Targets = None
|
|
12398
|
+
|
|
12399
|
+
@property
|
|
12400
|
+
def GatewayId(self):
|
|
12401
|
+
return self._GatewayId
|
|
12402
|
+
|
|
12403
|
+
@GatewayId.setter
|
|
12404
|
+
def GatewayId(self, GatewayId):
|
|
12405
|
+
self._GatewayId = GatewayId
|
|
12406
|
+
|
|
12407
|
+
@property
|
|
12408
|
+
def Name(self):
|
|
12409
|
+
return self._Name
|
|
12410
|
+
|
|
12411
|
+
@Name.setter
|
|
12412
|
+
def Name(self, Name):
|
|
12413
|
+
self._Name = Name
|
|
12414
|
+
|
|
12415
|
+
@property
|
|
12416
|
+
def Targets(self):
|
|
12417
|
+
return self._Targets
|
|
12418
|
+
|
|
12419
|
+
@Targets.setter
|
|
12420
|
+
def Targets(self, Targets):
|
|
12421
|
+
self._Targets = Targets
|
|
12422
|
+
|
|
12423
|
+
|
|
12424
|
+
def _deserialize(self, params):
|
|
12425
|
+
self._GatewayId = params.get("GatewayId")
|
|
12426
|
+
self._Name = params.get("Name")
|
|
12427
|
+
if params.get("Targets") is not None:
|
|
12428
|
+
self._Targets = []
|
|
12429
|
+
for item in params.get("Targets"):
|
|
12430
|
+
obj = KongTarget()
|
|
12431
|
+
obj._deserialize(item)
|
|
12432
|
+
self._Targets.append(obj)
|
|
12433
|
+
memeber_set = set(params.keys())
|
|
12434
|
+
for name, value in vars(self).items():
|
|
12435
|
+
property_name = name[1:]
|
|
12436
|
+
if property_name in memeber_set:
|
|
12437
|
+
memeber_set.remove(property_name)
|
|
12438
|
+
if len(memeber_set) > 0:
|
|
12439
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12440
|
+
|
|
12441
|
+
|
|
12442
|
+
|
|
12443
|
+
class UpdateUpstreamTargetsResponse(AbstractModel):
|
|
12444
|
+
"""UpdateUpstreamTargets返回参数结构体
|
|
12445
|
+
|
|
12446
|
+
"""
|
|
12447
|
+
|
|
12448
|
+
def __init__(self):
|
|
12449
|
+
r"""
|
|
12450
|
+
:param _Result: 是否更新成功
|
|
12451
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12452
|
+
:type Result: bool
|
|
12453
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
12454
|
+
:type RequestId: str
|
|
12455
|
+
"""
|
|
12456
|
+
self._Result = None
|
|
12457
|
+
self._RequestId = None
|
|
12458
|
+
|
|
12459
|
+
@property
|
|
12460
|
+
def Result(self):
|
|
12461
|
+
return self._Result
|
|
12462
|
+
|
|
12463
|
+
@Result.setter
|
|
12464
|
+
def Result(self, Result):
|
|
12465
|
+
self._Result = Result
|
|
12466
|
+
|
|
12467
|
+
@property
|
|
12468
|
+
def RequestId(self):
|
|
12469
|
+
return self._RequestId
|
|
12470
|
+
|
|
12471
|
+
@RequestId.setter
|
|
12472
|
+
def RequestId(self, RequestId):
|
|
12473
|
+
self._RequestId = RequestId
|
|
12474
|
+
|
|
12475
|
+
|
|
12476
|
+
def _deserialize(self, params):
|
|
12477
|
+
self._Result = params.get("Result")
|
|
12478
|
+
self._RequestId = params.get("RequestId")
|
|
12479
|
+
|
|
12480
|
+
|
|
12319
12481
|
class VpcInfo(AbstractModel):
|
|
12320
12482
|
"""私有网络信息
|
|
12321
12483
|
|
|
@@ -1146,6 +1146,29 @@ class TseClient(AbstractClient):
|
|
|
1146
1146
|
model = models.UpdateEngineInternetAccessResponse()
|
|
1147
1147
|
model._deserialize(response["Response"])
|
|
1148
1148
|
return model
|
|
1149
|
+
except Exception as e:
|
|
1150
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1151
|
+
raise
|
|
1152
|
+
else:
|
|
1153
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
def UpdateUpstreamTargets(self, request):
|
|
1157
|
+
"""更新网关上游实例列表,仅支持IPList服务类型
|
|
1158
|
+
|
|
1159
|
+
:param request: Request instance for UpdateUpstreamTargets.
|
|
1160
|
+
:type request: :class:`tencentcloud.tse.v20201207.models.UpdateUpstreamTargetsRequest`
|
|
1161
|
+
:rtype: :class:`tencentcloud.tse.v20201207.models.UpdateUpstreamTargetsResponse`
|
|
1162
|
+
|
|
1163
|
+
"""
|
|
1164
|
+
try:
|
|
1165
|
+
params = request._serialize()
|
|
1166
|
+
headers = request.headers
|
|
1167
|
+
body = self.call("UpdateUpstreamTargets", params, headers=headers)
|
|
1168
|
+
response = json.loads(body)
|
|
1169
|
+
model = models.UpdateUpstreamTargetsResponse()
|
|
1170
|
+
model._deserialize(response["Response"])
|
|
1171
|
+
return model
|
|
1149
1172
|
except Exception as e:
|
|
1150
1173
|
if isinstance(e, TencentCloudSDKException):
|
|
1151
1174
|
raise
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1002
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1000
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|