tencentcloud-sdk-python-ga2 3.1.132__tar.gz → 3.1.134__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_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/setup.py +1 -1
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/tencentcloud/ga2/v20250115/errorcodes.py +12 -0
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/tencentcloud/ga2/v20250115/ga2_client.py +69 -0
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/tencentcloud/ga2/v20250115/ga2_client_async.py +54 -0
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/tencentcloud/ga2/v20250115/models.py +342 -0
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/tencentcloud_sdk_python_ga2.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ga2-3.1.134/tencentcloud_sdk_python_ga2.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ga2-3.1.132/tencentcloud_sdk_python_ga2.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/README.rst +0 -0
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/tencentcloud/ga2/__init__.py +0 -0
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/tencentcloud/ga2/v20250115/__init__.py +0 -0
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/tencentcloud_sdk_python_ga2.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/tencentcloud_sdk_python_ga2.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ga2-3.1.132 → tencentcloud_sdk_python_ga2-3.1.134}/tencentcloud_sdk_python_ga2.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ga2
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.134
|
|
4
4
|
Summary: Tencent Cloud Ga2 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.134
|
|
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-ga2',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.134,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ga2 SDK for Python',
|
|
@@ -83,6 +83,9 @@ INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
|
83
83
|
# 只能是可打印ASCII字符。
|
|
84
84
|
INVALIDPARAMETERVALUE_ASCIICHARACTERS = 'InvalidParameterValue.AsciiCharacters'
|
|
85
85
|
|
|
86
|
+
# 证书 `%(value)s` 和存量证书重复。
|
|
87
|
+
INVALIDPARAMETERVALUE_CERTIFICATESCONFLICT = 'InvalidParameterValue.CertificatesConflict'
|
|
88
|
+
|
|
86
89
|
# 七层转发策略域名和存量重复。
|
|
87
90
|
INVALIDPARAMETERVALUE_FORWARDINGPOLICYHOSTCONFLICT = 'InvalidParameterValue.ForwardingPolicyHostConflict'
|
|
88
91
|
|
|
@@ -170,6 +173,9 @@ UNSUPPORTEDOPERATION_APPLICATIONLAYERENDPOINTGROUPNOTDELETE = 'UnsupportedOperat
|
|
|
170
173
|
# 抱歉,您的操作暂时无法完成,请稍后重试或联系客服。
|
|
171
174
|
UNSUPPORTEDOPERATION_BILLINGFAILED = 'UnsupportedOperation.BillingFailed'
|
|
172
175
|
|
|
176
|
+
# CA证书不允许操作。
|
|
177
|
+
UNSUPPORTEDOPERATION_CACERTIFICATESOPERATE = 'UnsupportedOperation.CaCertificatesOperate'
|
|
178
|
+
|
|
173
179
|
# 证书状态是 `%(value)s` ,不支持当前操作。
|
|
174
180
|
UNSUPPORTEDOPERATION_CERTIFICATEINVALIDSTATUS = 'UnsupportedOperation.CertificateInvalidStatus'
|
|
175
181
|
|
|
@@ -179,12 +185,18 @@ UNSUPPORTEDOPERATION_CROSSBORDERPROMISENOTSIGNED = 'UnsupportedOperation.CrossBo
|
|
|
179
185
|
# 当前账号不支持此操作。
|
|
180
186
|
UNSUPPORTEDOPERATION_CURRENTACCOUNTNOTALLOWED = 'UnsupportedOperation.CurrentAccountNotAllowed'
|
|
181
187
|
|
|
188
|
+
# 默认证书不允许操作。
|
|
189
|
+
UNSUPPORTEDOPERATION_DEFAULTCERTIFICATESOPERATE = 'UnsupportedOperation.DefaultCertificatesOperate'
|
|
190
|
+
|
|
182
191
|
# 默认终端节点组不支持修改。
|
|
183
192
|
UNSUPPORTEDOPERATION_DEFAULTENDPOINTGROUPMODIFY = 'UnsupportedOperation.DefaultEndpointGroupModify'
|
|
184
193
|
|
|
185
194
|
# 默认七层转发策略规则不允许操作。
|
|
186
195
|
UNSUPPORTEDOPERATION_DEFAULTFORWARDINGPOLICYOPERATE = 'UnsupportedOperation.DefaultForwardingPolicyOperate'
|
|
187
196
|
|
|
197
|
+
# 替换证书域名和旧证书域名不匹配。
|
|
198
|
+
UNSUPPORTEDOPERATION_DOMAINMISMATCHED = 'UnsupportedOperation.DomainMismatched'
|
|
199
|
+
|
|
188
200
|
# 请勿重复操作当前实例状态。
|
|
189
201
|
UNSUPPORTEDOPERATION_DUPLICATEINSTANCESTATUS = 'UnsupportedOperation.DuplicateInstanceStatus'
|
|
190
202
|
|
|
@@ -164,6 +164,29 @@ class Ga2Client(AbstractClient):
|
|
|
164
164
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
165
|
|
|
166
166
|
|
|
167
|
+
def CreateListenerAdditionalCert(self, request):
|
|
168
|
+
r"""添加扩展证书
|
|
169
|
+
|
|
170
|
+
:param request: Request instance for CreateListenerAdditionalCert.
|
|
171
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.CreateListenerAdditionalCertRequest`
|
|
172
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.CreateListenerAdditionalCertResponse`
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
try:
|
|
176
|
+
params = request._serialize()
|
|
177
|
+
headers = request.headers
|
|
178
|
+
body = self.call("CreateListenerAdditionalCert", params, headers=headers)
|
|
179
|
+
response = json.loads(body)
|
|
180
|
+
model = models.CreateListenerAdditionalCertResponse()
|
|
181
|
+
model._deserialize(response["Response"])
|
|
182
|
+
return model
|
|
183
|
+
except Exception as e:
|
|
184
|
+
if isinstance(e, TencentCloudSDKException):
|
|
185
|
+
raise
|
|
186
|
+
else:
|
|
187
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
|
+
|
|
189
|
+
|
|
167
190
|
def DeleteAccelerateAreas(self, request):
|
|
168
191
|
r"""删除加速地域
|
|
169
192
|
|
|
@@ -302,6 +325,29 @@ class Ga2Client(AbstractClient):
|
|
|
302
325
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
326
|
|
|
304
327
|
|
|
328
|
+
def DeleteListenerAdditionalCert(self, request):
|
|
329
|
+
r"""删除扩展证书
|
|
330
|
+
|
|
331
|
+
:param request: Request instance for DeleteListenerAdditionalCert.
|
|
332
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.DeleteListenerAdditionalCertRequest`
|
|
333
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.DeleteListenerAdditionalCertResponse`
|
|
334
|
+
|
|
335
|
+
"""
|
|
336
|
+
try:
|
|
337
|
+
params = request._serialize()
|
|
338
|
+
headers = request.headers
|
|
339
|
+
body = self.call("DeleteListenerAdditionalCert", params, headers=headers)
|
|
340
|
+
response = json.loads(body)
|
|
341
|
+
model = models.DeleteListenerAdditionalCertResponse()
|
|
342
|
+
model._deserialize(response["Response"])
|
|
343
|
+
return model
|
|
344
|
+
except Exception as e:
|
|
345
|
+
if isinstance(e, TencentCloudSDKException):
|
|
346
|
+
raise
|
|
347
|
+
else:
|
|
348
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
|
+
|
|
350
|
+
|
|
305
351
|
def DescribeAccelerateAreas(self, request):
|
|
306
352
|
r"""查询加速地域
|
|
307
353
|
|
|
@@ -640,6 +686,29 @@ class Ga2Client(AbstractClient):
|
|
|
640
686
|
model = models.ModifyListenerResponse()
|
|
641
687
|
model._deserialize(response["Response"])
|
|
642
688
|
return model
|
|
689
|
+
except Exception as e:
|
|
690
|
+
if isinstance(e, TencentCloudSDKException):
|
|
691
|
+
raise
|
|
692
|
+
else:
|
|
693
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
def ReplaceListenerAdditionalCert(self, request):
|
|
697
|
+
r"""替换扩展证书
|
|
698
|
+
|
|
699
|
+
:param request: Request instance for ReplaceListenerAdditionalCert.
|
|
700
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.ReplaceListenerAdditionalCertRequest`
|
|
701
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.ReplaceListenerAdditionalCertResponse`
|
|
702
|
+
|
|
703
|
+
"""
|
|
704
|
+
try:
|
|
705
|
+
params = request._serialize()
|
|
706
|
+
headers = request.headers
|
|
707
|
+
body = self.call("ReplaceListenerAdditionalCert", params, headers=headers)
|
|
708
|
+
response = json.loads(body)
|
|
709
|
+
model = models.ReplaceListenerAdditionalCertResponse()
|
|
710
|
+
model._deserialize(response["Response"])
|
|
711
|
+
return model
|
|
643
712
|
except Exception as e:
|
|
644
713
|
if isinstance(e, TencentCloudSDKException):
|
|
645
714
|
raise
|
|
@@ -133,6 +133,24 @@ class Ga2Client(AbstractClient):
|
|
|
133
133
|
|
|
134
134
|
return await self.call_and_deserialize(**kwargs)
|
|
135
135
|
|
|
136
|
+
async def CreateListenerAdditionalCert(
|
|
137
|
+
self,
|
|
138
|
+
request: models.CreateListenerAdditionalCertRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.CreateListenerAdditionalCertResponse:
|
|
141
|
+
"""
|
|
142
|
+
添加扩展证书
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "CreateListenerAdditionalCert"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.CreateListenerAdditionalCertResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
136
154
|
async def DeleteAccelerateAreas(
|
|
137
155
|
self,
|
|
138
156
|
request: models.DeleteAccelerateAreasRequest,
|
|
@@ -241,6 +259,24 @@ class Ga2Client(AbstractClient):
|
|
|
241
259
|
|
|
242
260
|
return await self.call_and_deserialize(**kwargs)
|
|
243
261
|
|
|
262
|
+
async def DeleteListenerAdditionalCert(
|
|
263
|
+
self,
|
|
264
|
+
request: models.DeleteListenerAdditionalCertRequest,
|
|
265
|
+
opts: Dict = None,
|
|
266
|
+
) -> models.DeleteListenerAdditionalCertResponse:
|
|
267
|
+
"""
|
|
268
|
+
删除扩展证书
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
kwargs = {}
|
|
272
|
+
kwargs["action"] = "DeleteListenerAdditionalCert"
|
|
273
|
+
kwargs["params"] = request._serialize()
|
|
274
|
+
kwargs["resp_cls"] = models.DeleteListenerAdditionalCertResponse
|
|
275
|
+
kwargs["headers"] = request.headers
|
|
276
|
+
kwargs["opts"] = opts or {}
|
|
277
|
+
|
|
278
|
+
return await self.call_and_deserialize(**kwargs)
|
|
279
|
+
|
|
244
280
|
async def DescribeAccelerateAreas(
|
|
245
281
|
self,
|
|
246
282
|
request: models.DescribeAccelerateAreasRequest,
|
|
@@ -509,4 +545,22 @@ class Ga2Client(AbstractClient):
|
|
|
509
545
|
kwargs["headers"] = request.headers
|
|
510
546
|
kwargs["opts"] = opts or {}
|
|
511
547
|
|
|
548
|
+
return await self.call_and_deserialize(**kwargs)
|
|
549
|
+
|
|
550
|
+
async def ReplaceListenerAdditionalCert(
|
|
551
|
+
self,
|
|
552
|
+
request: models.ReplaceListenerAdditionalCertRequest,
|
|
553
|
+
opts: Dict = None,
|
|
554
|
+
) -> models.ReplaceListenerAdditionalCertResponse:
|
|
555
|
+
"""
|
|
556
|
+
替换扩展证书
|
|
557
|
+
"""
|
|
558
|
+
|
|
559
|
+
kwargs = {}
|
|
560
|
+
kwargs["action"] = "ReplaceListenerAdditionalCert"
|
|
561
|
+
kwargs["params"] = request._serialize()
|
|
562
|
+
kwargs["resp_cls"] = models.ReplaceListenerAdditionalCertResponse
|
|
563
|
+
kwargs["headers"] = request.headers
|
|
564
|
+
kwargs["opts"] = opts or {}
|
|
565
|
+
|
|
512
566
|
return await self.call_and_deserialize(**kwargs)
|
|
@@ -1084,6 +1084,115 @@ class CreateGlobalAcceleratorResponse(AbstractModel):
|
|
|
1084
1084
|
self._RequestId = params.get("RequestId")
|
|
1085
1085
|
|
|
1086
1086
|
|
|
1087
|
+
class CreateListenerAdditionalCertRequest(AbstractModel):
|
|
1088
|
+
r"""CreateListenerAdditionalCert请求参数结构体
|
|
1089
|
+
|
|
1090
|
+
"""
|
|
1091
|
+
|
|
1092
|
+
def __init__(self):
|
|
1093
|
+
r"""
|
|
1094
|
+
:param _GlobalAcceleratorId: <p>全球加速实例ID。</p>
|
|
1095
|
+
:type GlobalAcceleratorId: str
|
|
1096
|
+
:param _ListenerId: <p>监听器ID。</p>
|
|
1097
|
+
:type ListenerId: str
|
|
1098
|
+
:param _AdditionalCertificates: <p>证书ID。</p><p>当前只能添加服务器证书。</p>
|
|
1099
|
+
:type AdditionalCertificates: list of str
|
|
1100
|
+
"""
|
|
1101
|
+
self._GlobalAcceleratorId = None
|
|
1102
|
+
self._ListenerId = None
|
|
1103
|
+
self._AdditionalCertificates = None
|
|
1104
|
+
|
|
1105
|
+
@property
|
|
1106
|
+
def GlobalAcceleratorId(self):
|
|
1107
|
+
r"""<p>全球加速实例ID。</p>
|
|
1108
|
+
:rtype: str
|
|
1109
|
+
"""
|
|
1110
|
+
return self._GlobalAcceleratorId
|
|
1111
|
+
|
|
1112
|
+
@GlobalAcceleratorId.setter
|
|
1113
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
1114
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
1115
|
+
|
|
1116
|
+
@property
|
|
1117
|
+
def ListenerId(self):
|
|
1118
|
+
r"""<p>监听器ID。</p>
|
|
1119
|
+
:rtype: str
|
|
1120
|
+
"""
|
|
1121
|
+
return self._ListenerId
|
|
1122
|
+
|
|
1123
|
+
@ListenerId.setter
|
|
1124
|
+
def ListenerId(self, ListenerId):
|
|
1125
|
+
self._ListenerId = ListenerId
|
|
1126
|
+
|
|
1127
|
+
@property
|
|
1128
|
+
def AdditionalCertificates(self):
|
|
1129
|
+
r"""<p>证书ID。</p><p>当前只能添加服务器证书。</p>
|
|
1130
|
+
:rtype: list of str
|
|
1131
|
+
"""
|
|
1132
|
+
return self._AdditionalCertificates
|
|
1133
|
+
|
|
1134
|
+
@AdditionalCertificates.setter
|
|
1135
|
+
def AdditionalCertificates(self, AdditionalCertificates):
|
|
1136
|
+
self._AdditionalCertificates = AdditionalCertificates
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
def _deserialize(self, params):
|
|
1140
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
1141
|
+
self._ListenerId = params.get("ListenerId")
|
|
1142
|
+
self._AdditionalCertificates = params.get("AdditionalCertificates")
|
|
1143
|
+
memeber_set = set(params.keys())
|
|
1144
|
+
for name, value in vars(self).items():
|
|
1145
|
+
property_name = name[1:]
|
|
1146
|
+
if property_name in memeber_set:
|
|
1147
|
+
memeber_set.remove(property_name)
|
|
1148
|
+
if len(memeber_set) > 0:
|
|
1149
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
class CreateListenerAdditionalCertResponse(AbstractModel):
|
|
1154
|
+
r"""CreateListenerAdditionalCert返回参数结构体
|
|
1155
|
+
|
|
1156
|
+
"""
|
|
1157
|
+
|
|
1158
|
+
def __init__(self):
|
|
1159
|
+
r"""
|
|
1160
|
+
:param _TaskId: <p>任务ID。</p>
|
|
1161
|
+
:type TaskId: str
|
|
1162
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1163
|
+
:type RequestId: str
|
|
1164
|
+
"""
|
|
1165
|
+
self._TaskId = None
|
|
1166
|
+
self._RequestId = None
|
|
1167
|
+
|
|
1168
|
+
@property
|
|
1169
|
+
def TaskId(self):
|
|
1170
|
+
r"""<p>任务ID。</p>
|
|
1171
|
+
:rtype: str
|
|
1172
|
+
"""
|
|
1173
|
+
return self._TaskId
|
|
1174
|
+
|
|
1175
|
+
@TaskId.setter
|
|
1176
|
+
def TaskId(self, TaskId):
|
|
1177
|
+
self._TaskId = TaskId
|
|
1178
|
+
|
|
1179
|
+
@property
|
|
1180
|
+
def RequestId(self):
|
|
1181
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1182
|
+
:rtype: str
|
|
1183
|
+
"""
|
|
1184
|
+
return self._RequestId
|
|
1185
|
+
|
|
1186
|
+
@RequestId.setter
|
|
1187
|
+
def RequestId(self, RequestId):
|
|
1188
|
+
self._RequestId = RequestId
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
def _deserialize(self, params):
|
|
1192
|
+
self._TaskId = params.get("TaskId")
|
|
1193
|
+
self._RequestId = params.get("RequestId")
|
|
1194
|
+
|
|
1195
|
+
|
|
1087
1196
|
class CreateListenerRequest(AbstractModel):
|
|
1088
1197
|
r"""CreateListener请求参数结构体
|
|
1089
1198
|
|
|
@@ -1920,6 +2029,115 @@ class DeleteGlobalAcceleratorResponse(AbstractModel):
|
|
|
1920
2029
|
self._RequestId = params.get("RequestId")
|
|
1921
2030
|
|
|
1922
2031
|
|
|
2032
|
+
class DeleteListenerAdditionalCertRequest(AbstractModel):
|
|
2033
|
+
r"""DeleteListenerAdditionalCert请求参数结构体
|
|
2034
|
+
|
|
2035
|
+
"""
|
|
2036
|
+
|
|
2037
|
+
def __init__(self):
|
|
2038
|
+
r"""
|
|
2039
|
+
:param _GlobalAcceleratorId: 全球加速实例ID。
|
|
2040
|
+
:type GlobalAcceleratorId: str
|
|
2041
|
+
:param _ListenerId: 监听器ID。
|
|
2042
|
+
:type ListenerId: str
|
|
2043
|
+
:param _AdditionalCertificates: 证书ID。
|
|
2044
|
+
:type AdditionalCertificates: list of str
|
|
2045
|
+
"""
|
|
2046
|
+
self._GlobalAcceleratorId = None
|
|
2047
|
+
self._ListenerId = None
|
|
2048
|
+
self._AdditionalCertificates = None
|
|
2049
|
+
|
|
2050
|
+
@property
|
|
2051
|
+
def GlobalAcceleratorId(self):
|
|
2052
|
+
r"""全球加速实例ID。
|
|
2053
|
+
:rtype: str
|
|
2054
|
+
"""
|
|
2055
|
+
return self._GlobalAcceleratorId
|
|
2056
|
+
|
|
2057
|
+
@GlobalAcceleratorId.setter
|
|
2058
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
2059
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
2060
|
+
|
|
2061
|
+
@property
|
|
2062
|
+
def ListenerId(self):
|
|
2063
|
+
r"""监听器ID。
|
|
2064
|
+
:rtype: str
|
|
2065
|
+
"""
|
|
2066
|
+
return self._ListenerId
|
|
2067
|
+
|
|
2068
|
+
@ListenerId.setter
|
|
2069
|
+
def ListenerId(self, ListenerId):
|
|
2070
|
+
self._ListenerId = ListenerId
|
|
2071
|
+
|
|
2072
|
+
@property
|
|
2073
|
+
def AdditionalCertificates(self):
|
|
2074
|
+
r"""证书ID。
|
|
2075
|
+
:rtype: list of str
|
|
2076
|
+
"""
|
|
2077
|
+
return self._AdditionalCertificates
|
|
2078
|
+
|
|
2079
|
+
@AdditionalCertificates.setter
|
|
2080
|
+
def AdditionalCertificates(self, AdditionalCertificates):
|
|
2081
|
+
self._AdditionalCertificates = AdditionalCertificates
|
|
2082
|
+
|
|
2083
|
+
|
|
2084
|
+
def _deserialize(self, params):
|
|
2085
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
2086
|
+
self._ListenerId = params.get("ListenerId")
|
|
2087
|
+
self._AdditionalCertificates = params.get("AdditionalCertificates")
|
|
2088
|
+
memeber_set = set(params.keys())
|
|
2089
|
+
for name, value in vars(self).items():
|
|
2090
|
+
property_name = name[1:]
|
|
2091
|
+
if property_name in memeber_set:
|
|
2092
|
+
memeber_set.remove(property_name)
|
|
2093
|
+
if len(memeber_set) > 0:
|
|
2094
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2095
|
+
|
|
2096
|
+
|
|
2097
|
+
|
|
2098
|
+
class DeleteListenerAdditionalCertResponse(AbstractModel):
|
|
2099
|
+
r"""DeleteListenerAdditionalCert返回参数结构体
|
|
2100
|
+
|
|
2101
|
+
"""
|
|
2102
|
+
|
|
2103
|
+
def __init__(self):
|
|
2104
|
+
r"""
|
|
2105
|
+
:param _TaskId: 任务ID。
|
|
2106
|
+
:type TaskId: str
|
|
2107
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2108
|
+
:type RequestId: str
|
|
2109
|
+
"""
|
|
2110
|
+
self._TaskId = None
|
|
2111
|
+
self._RequestId = None
|
|
2112
|
+
|
|
2113
|
+
@property
|
|
2114
|
+
def TaskId(self):
|
|
2115
|
+
r"""任务ID。
|
|
2116
|
+
:rtype: str
|
|
2117
|
+
"""
|
|
2118
|
+
return self._TaskId
|
|
2119
|
+
|
|
2120
|
+
@TaskId.setter
|
|
2121
|
+
def TaskId(self, TaskId):
|
|
2122
|
+
self._TaskId = TaskId
|
|
2123
|
+
|
|
2124
|
+
@property
|
|
2125
|
+
def RequestId(self):
|
|
2126
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2127
|
+
:rtype: str
|
|
2128
|
+
"""
|
|
2129
|
+
return self._RequestId
|
|
2130
|
+
|
|
2131
|
+
@RequestId.setter
|
|
2132
|
+
def RequestId(self, RequestId):
|
|
2133
|
+
self._RequestId = RequestId
|
|
2134
|
+
|
|
2135
|
+
|
|
2136
|
+
def _deserialize(self, params):
|
|
2137
|
+
self._TaskId = params.get("TaskId")
|
|
2138
|
+
self._RequestId = params.get("RequestId")
|
|
2139
|
+
|
|
2140
|
+
|
|
1923
2141
|
class DeleteListenerRequest(AbstractModel):
|
|
1924
2142
|
r"""DeleteListener请求参数结构体
|
|
1925
2143
|
|
|
@@ -6593,6 +6811,130 @@ class PortRanges(AbstractModel):
|
|
|
6593
6811
|
|
|
6594
6812
|
|
|
6595
6813
|
|
|
6814
|
+
class ReplaceListenerAdditionalCertRequest(AbstractModel):
|
|
6815
|
+
r"""ReplaceListenerAdditionalCert请求参数结构体
|
|
6816
|
+
|
|
6817
|
+
"""
|
|
6818
|
+
|
|
6819
|
+
def __init__(self):
|
|
6820
|
+
r"""
|
|
6821
|
+
:param _GlobalAcceleratorId: 全球加速实例ID。
|
|
6822
|
+
:type GlobalAcceleratorId: str
|
|
6823
|
+
:param _ListenerId: 监听器ID。
|
|
6824
|
+
:type ListenerId: str
|
|
6825
|
+
:param _AdditionalCertificate: 证书ID。
|
|
6826
|
+
:type AdditionalCertificate: str
|
|
6827
|
+
:param _OldCertificate: 旧的证书ID。
|
|
6828
|
+
:type OldCertificate: str
|
|
6829
|
+
"""
|
|
6830
|
+
self._GlobalAcceleratorId = None
|
|
6831
|
+
self._ListenerId = None
|
|
6832
|
+
self._AdditionalCertificate = None
|
|
6833
|
+
self._OldCertificate = None
|
|
6834
|
+
|
|
6835
|
+
@property
|
|
6836
|
+
def GlobalAcceleratorId(self):
|
|
6837
|
+
r"""全球加速实例ID。
|
|
6838
|
+
:rtype: str
|
|
6839
|
+
"""
|
|
6840
|
+
return self._GlobalAcceleratorId
|
|
6841
|
+
|
|
6842
|
+
@GlobalAcceleratorId.setter
|
|
6843
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
6844
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
6845
|
+
|
|
6846
|
+
@property
|
|
6847
|
+
def ListenerId(self):
|
|
6848
|
+
r"""监听器ID。
|
|
6849
|
+
:rtype: str
|
|
6850
|
+
"""
|
|
6851
|
+
return self._ListenerId
|
|
6852
|
+
|
|
6853
|
+
@ListenerId.setter
|
|
6854
|
+
def ListenerId(self, ListenerId):
|
|
6855
|
+
self._ListenerId = ListenerId
|
|
6856
|
+
|
|
6857
|
+
@property
|
|
6858
|
+
def AdditionalCertificate(self):
|
|
6859
|
+
r"""证书ID。
|
|
6860
|
+
:rtype: str
|
|
6861
|
+
"""
|
|
6862
|
+
return self._AdditionalCertificate
|
|
6863
|
+
|
|
6864
|
+
@AdditionalCertificate.setter
|
|
6865
|
+
def AdditionalCertificate(self, AdditionalCertificate):
|
|
6866
|
+
self._AdditionalCertificate = AdditionalCertificate
|
|
6867
|
+
|
|
6868
|
+
@property
|
|
6869
|
+
def OldCertificate(self):
|
|
6870
|
+
r"""旧的证书ID。
|
|
6871
|
+
:rtype: str
|
|
6872
|
+
"""
|
|
6873
|
+
return self._OldCertificate
|
|
6874
|
+
|
|
6875
|
+
@OldCertificate.setter
|
|
6876
|
+
def OldCertificate(self, OldCertificate):
|
|
6877
|
+
self._OldCertificate = OldCertificate
|
|
6878
|
+
|
|
6879
|
+
|
|
6880
|
+
def _deserialize(self, params):
|
|
6881
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
6882
|
+
self._ListenerId = params.get("ListenerId")
|
|
6883
|
+
self._AdditionalCertificate = params.get("AdditionalCertificate")
|
|
6884
|
+
self._OldCertificate = params.get("OldCertificate")
|
|
6885
|
+
memeber_set = set(params.keys())
|
|
6886
|
+
for name, value in vars(self).items():
|
|
6887
|
+
property_name = name[1:]
|
|
6888
|
+
if property_name in memeber_set:
|
|
6889
|
+
memeber_set.remove(property_name)
|
|
6890
|
+
if len(memeber_set) > 0:
|
|
6891
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6892
|
+
|
|
6893
|
+
|
|
6894
|
+
|
|
6895
|
+
class ReplaceListenerAdditionalCertResponse(AbstractModel):
|
|
6896
|
+
r"""ReplaceListenerAdditionalCert返回参数结构体
|
|
6897
|
+
|
|
6898
|
+
"""
|
|
6899
|
+
|
|
6900
|
+
def __init__(self):
|
|
6901
|
+
r"""
|
|
6902
|
+
:param _TaskId: 任务ID。
|
|
6903
|
+
:type TaskId: str
|
|
6904
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6905
|
+
:type RequestId: str
|
|
6906
|
+
"""
|
|
6907
|
+
self._TaskId = None
|
|
6908
|
+
self._RequestId = None
|
|
6909
|
+
|
|
6910
|
+
@property
|
|
6911
|
+
def TaskId(self):
|
|
6912
|
+
r"""任务ID。
|
|
6913
|
+
:rtype: str
|
|
6914
|
+
"""
|
|
6915
|
+
return self._TaskId
|
|
6916
|
+
|
|
6917
|
+
@TaskId.setter
|
|
6918
|
+
def TaskId(self, TaskId):
|
|
6919
|
+
self._TaskId = TaskId
|
|
6920
|
+
|
|
6921
|
+
@property
|
|
6922
|
+
def RequestId(self):
|
|
6923
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6924
|
+
:rtype: str
|
|
6925
|
+
"""
|
|
6926
|
+
return self._RequestId
|
|
6927
|
+
|
|
6928
|
+
@RequestId.setter
|
|
6929
|
+
def RequestId(self, RequestId):
|
|
6930
|
+
self._RequestId = RequestId
|
|
6931
|
+
|
|
6932
|
+
|
|
6933
|
+
def _deserialize(self, params):
|
|
6934
|
+
self._TaskId = params.get("TaskId")
|
|
6935
|
+
self._RequestId = params.get("RequestId")
|
|
6936
|
+
|
|
6937
|
+
|
|
6596
6938
|
class ResponseHeaders(AbstractModel):
|
|
6597
6939
|
r"""响应Header
|
|
6598
6940
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ga2
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.134
|
|
4
4
|
Summary: Tencent Cloud Ga2 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.134
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.134
|
|
@@ -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
|