tencentcloud-sdk-python-ga2 3.1.100__tar.gz → 3.1.104__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.100 → tencentcloud_sdk_python_ga2-3.1.104}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/setup.py +1 -1
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/ga2/v20250115/errorcodes.py +6 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/ga2/v20250115/ga2_client.py +115 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/ga2/v20250115/ga2_client_async.py +90 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/ga2/v20250115/models.py +730 -54
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud_sdk_python_ga2.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ga2-3.1.104/tencentcloud_sdk_python_ga2.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ga2-3.1.100/tencentcloud_sdk_python_ga2.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/README.rst +0 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/ga2/__init__.py +0 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/ga2/v20250115/__init__.py +0 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud_sdk_python_ga2.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud_sdk_python_ga2.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.104}/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.104
|
|
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.104
|
|
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.104,<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
|
+
# 七层转发策略域名和存量重复。
|
|
87
|
+
INVALIDPARAMETERVALUE_FORWARDINGPOLICYHOSTCONFLICT = 'InvalidParameterValue.ForwardingPolicyHostConflict'
|
|
88
|
+
|
|
86
89
|
# 七层转发规则Path和存量重复。
|
|
87
90
|
INVALIDPARAMETERVALUE_FORWARDINGRULEPATHCONFLICT = 'InvalidParameterValue.ForwardingRulePathConflict'
|
|
88
91
|
|
|
@@ -116,6 +119,9 @@ INVALIDPARAMETERVALUE_SPECIALCHARACTERS = 'InvalidParameterValue.SpecialCharacte
|
|
|
116
119
|
# 参数值 `%(value)s` 仅能含有字符 `%(key)s`。
|
|
117
120
|
INVALIDPARAMETERVALUE_SPECIFICCHARACTERS = 'InvalidParameterValue.SpecificCharacters'
|
|
118
121
|
|
|
122
|
+
# 异步任务ID不存在。
|
|
123
|
+
INVALIDPARAMETERVALUE_TASKNOTFOUND = 'InvalidParameterValue.TaskNotFound'
|
|
124
|
+
|
|
119
125
|
# 当前TCP协议系列监听器端口已和存量监听器端口重复。
|
|
120
126
|
INVALIDPARAMETERVALUE_TCPSERIESLISTENERPORTEQUAL = 'InvalidParameterValue.TcpSeriesListenerPortEqual'
|
|
121
127
|
|
|
@@ -72,6 +72,29 @@ class Ga2Client(AbstractClient):
|
|
|
72
72
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
73
|
|
|
74
74
|
|
|
75
|
+
def CreateForwardingPolicy(self, request):
|
|
76
|
+
r"""创建七层转发策略
|
|
77
|
+
|
|
78
|
+
:param request: Request instance for CreateForwardingPolicy.
|
|
79
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.CreateForwardingPolicyRequest`
|
|
80
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.CreateForwardingPolicyResponse`
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
try:
|
|
84
|
+
params = request._serialize()
|
|
85
|
+
headers = request.headers
|
|
86
|
+
body = self.call("CreateForwardingPolicy", params, headers=headers)
|
|
87
|
+
response = json.loads(body)
|
|
88
|
+
model = models.CreateForwardingPolicyResponse()
|
|
89
|
+
model._deserialize(response["Response"])
|
|
90
|
+
return model
|
|
91
|
+
except Exception as e:
|
|
92
|
+
if isinstance(e, TencentCloudSDKException):
|
|
93
|
+
raise
|
|
94
|
+
else:
|
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
|
+
|
|
97
|
+
|
|
75
98
|
def CreateForwardingRule(self, request):
|
|
76
99
|
r"""创建七层转发规则
|
|
77
100
|
|
|
@@ -187,6 +210,29 @@ class Ga2Client(AbstractClient):
|
|
|
187
210
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
211
|
|
|
189
212
|
|
|
213
|
+
def DeleteForwardingPolicy(self, request):
|
|
214
|
+
r"""删除七层转发策略
|
|
215
|
+
|
|
216
|
+
:param request: Request instance for DeleteForwardingPolicy.
|
|
217
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.DeleteForwardingPolicyRequest`
|
|
218
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.DeleteForwardingPolicyResponse`
|
|
219
|
+
|
|
220
|
+
"""
|
|
221
|
+
try:
|
|
222
|
+
params = request._serialize()
|
|
223
|
+
headers = request.headers
|
|
224
|
+
body = self.call("DeleteForwardingPolicy", params, headers=headers)
|
|
225
|
+
response = json.loads(body)
|
|
226
|
+
model = models.DeleteForwardingPolicyResponse()
|
|
227
|
+
model._deserialize(response["Response"])
|
|
228
|
+
return model
|
|
229
|
+
except Exception as e:
|
|
230
|
+
if isinstance(e, TencentCloudSDKException):
|
|
231
|
+
raise
|
|
232
|
+
else:
|
|
233
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
234
|
+
|
|
235
|
+
|
|
190
236
|
def DeleteForwardingRule(self, request):
|
|
191
237
|
r"""删除七层转发规则
|
|
192
238
|
|
|
@@ -348,6 +394,29 @@ class Ga2Client(AbstractClient):
|
|
|
348
394
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
395
|
|
|
350
396
|
|
|
397
|
+
def DescribeForwardingPolicy(self, request):
|
|
398
|
+
r"""查看七层转发策略
|
|
399
|
+
|
|
400
|
+
:param request: Request instance for DescribeForwardingPolicy.
|
|
401
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.DescribeForwardingPolicyRequest`
|
|
402
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.DescribeForwardingPolicyResponse`
|
|
403
|
+
|
|
404
|
+
"""
|
|
405
|
+
try:
|
|
406
|
+
params = request._serialize()
|
|
407
|
+
headers = request.headers
|
|
408
|
+
body = self.call("DescribeForwardingPolicy", params, headers=headers)
|
|
409
|
+
response = json.loads(body)
|
|
410
|
+
model = models.DescribeForwardingPolicyResponse()
|
|
411
|
+
model._deserialize(response["Response"])
|
|
412
|
+
return model
|
|
413
|
+
except Exception as e:
|
|
414
|
+
if isinstance(e, TencentCloudSDKException):
|
|
415
|
+
raise
|
|
416
|
+
else:
|
|
417
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
418
|
+
|
|
419
|
+
|
|
351
420
|
def DescribeForwardingRule(self, request):
|
|
352
421
|
r"""查看七层转发规则
|
|
353
422
|
|
|
@@ -417,6 +486,29 @@ class Ga2Client(AbstractClient):
|
|
|
417
486
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
418
487
|
|
|
419
488
|
|
|
489
|
+
def DescribeTaskResult(self, request):
|
|
490
|
+
r"""查询异步任务结果
|
|
491
|
+
|
|
492
|
+
:param request: Request instance for DescribeTaskResult.
|
|
493
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.DescribeTaskResultRequest`
|
|
494
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.DescribeTaskResultResponse`
|
|
495
|
+
|
|
496
|
+
"""
|
|
497
|
+
try:
|
|
498
|
+
params = request._serialize()
|
|
499
|
+
headers = request.headers
|
|
500
|
+
body = self.call("DescribeTaskResult", params, headers=headers)
|
|
501
|
+
response = json.loads(body)
|
|
502
|
+
model = models.DescribeTaskResultResponse()
|
|
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
|
+
|
|
420
512
|
def ModifyAccelerateAreas(self, request):
|
|
421
513
|
r"""修改加速地域
|
|
422
514
|
|
|
@@ -463,6 +555,29 @@ class Ga2Client(AbstractClient):
|
|
|
463
555
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
464
556
|
|
|
465
557
|
|
|
558
|
+
def ModifyForwardingPolicy(self, request):
|
|
559
|
+
r"""修改七层转发策略
|
|
560
|
+
|
|
561
|
+
:param request: Request instance for ModifyForwardingPolicy.
|
|
562
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.ModifyForwardingPolicyRequest`
|
|
563
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.ModifyForwardingPolicyResponse`
|
|
564
|
+
|
|
565
|
+
"""
|
|
566
|
+
try:
|
|
567
|
+
params = request._serialize()
|
|
568
|
+
headers = request.headers
|
|
569
|
+
body = self.call("ModifyForwardingPolicy", params, headers=headers)
|
|
570
|
+
response = json.loads(body)
|
|
571
|
+
model = models.ModifyForwardingPolicyResponse()
|
|
572
|
+
model._deserialize(response["Response"])
|
|
573
|
+
return model
|
|
574
|
+
except Exception as e:
|
|
575
|
+
if isinstance(e, TencentCloudSDKException):
|
|
576
|
+
raise
|
|
577
|
+
else:
|
|
578
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
579
|
+
|
|
580
|
+
|
|
466
581
|
def ModifyForwardingRule(self, request):
|
|
467
582
|
r"""修改七层转发规则
|
|
468
583
|
|
|
@@ -61,6 +61,24 @@ class Ga2Client(AbstractClient):
|
|
|
61
61
|
|
|
62
62
|
return await self.call_and_deserialize(**kwargs)
|
|
63
63
|
|
|
64
|
+
async def CreateForwardingPolicy(
|
|
65
|
+
self,
|
|
66
|
+
request: models.CreateForwardingPolicyRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.CreateForwardingPolicyResponse:
|
|
69
|
+
"""
|
|
70
|
+
创建七层转发策略
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "CreateForwardingPolicy"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.CreateForwardingPolicyResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
64
82
|
async def CreateForwardingRule(
|
|
65
83
|
self,
|
|
66
84
|
request: models.CreateForwardingRuleRequest,
|
|
@@ -151,6 +169,24 @@ class Ga2Client(AbstractClient):
|
|
|
151
169
|
|
|
152
170
|
return await self.call_and_deserialize(**kwargs)
|
|
153
171
|
|
|
172
|
+
async def DeleteForwardingPolicy(
|
|
173
|
+
self,
|
|
174
|
+
request: models.DeleteForwardingPolicyRequest,
|
|
175
|
+
opts: Dict = None,
|
|
176
|
+
) -> models.DeleteForwardingPolicyResponse:
|
|
177
|
+
"""
|
|
178
|
+
删除七层转发策略
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
kwargs = {}
|
|
182
|
+
kwargs["action"] = "DeleteForwardingPolicy"
|
|
183
|
+
kwargs["params"] = request._serialize()
|
|
184
|
+
kwargs["resp_cls"] = models.DeleteForwardingPolicyResponse
|
|
185
|
+
kwargs["headers"] = request.headers
|
|
186
|
+
kwargs["opts"] = opts or {}
|
|
187
|
+
|
|
188
|
+
return await self.call_and_deserialize(**kwargs)
|
|
189
|
+
|
|
154
190
|
async def DeleteForwardingRule(
|
|
155
191
|
self,
|
|
156
192
|
request: models.DeleteForwardingRuleRequest,
|
|
@@ -277,6 +313,24 @@ class Ga2Client(AbstractClient):
|
|
|
277
313
|
|
|
278
314
|
return await self.call_and_deserialize(**kwargs)
|
|
279
315
|
|
|
316
|
+
async def DescribeForwardingPolicy(
|
|
317
|
+
self,
|
|
318
|
+
request: models.DescribeForwardingPolicyRequest,
|
|
319
|
+
opts: Dict = None,
|
|
320
|
+
) -> models.DescribeForwardingPolicyResponse:
|
|
321
|
+
"""
|
|
322
|
+
查看七层转发策略
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
kwargs = {}
|
|
326
|
+
kwargs["action"] = "DescribeForwardingPolicy"
|
|
327
|
+
kwargs["params"] = request._serialize()
|
|
328
|
+
kwargs["resp_cls"] = models.DescribeForwardingPolicyResponse
|
|
329
|
+
kwargs["headers"] = request.headers
|
|
330
|
+
kwargs["opts"] = opts or {}
|
|
331
|
+
|
|
332
|
+
return await self.call_and_deserialize(**kwargs)
|
|
333
|
+
|
|
280
334
|
async def DescribeForwardingRule(
|
|
281
335
|
self,
|
|
282
336
|
request: models.DescribeForwardingRuleRequest,
|
|
@@ -331,6 +385,24 @@ class Ga2Client(AbstractClient):
|
|
|
331
385
|
|
|
332
386
|
return await self.call_and_deserialize(**kwargs)
|
|
333
387
|
|
|
388
|
+
async def DescribeTaskResult(
|
|
389
|
+
self,
|
|
390
|
+
request: models.DescribeTaskResultRequest,
|
|
391
|
+
opts: Dict = None,
|
|
392
|
+
) -> models.DescribeTaskResultResponse:
|
|
393
|
+
"""
|
|
394
|
+
查询异步任务结果
|
|
395
|
+
"""
|
|
396
|
+
|
|
397
|
+
kwargs = {}
|
|
398
|
+
kwargs["action"] = "DescribeTaskResult"
|
|
399
|
+
kwargs["params"] = request._serialize()
|
|
400
|
+
kwargs["resp_cls"] = models.DescribeTaskResultResponse
|
|
401
|
+
kwargs["headers"] = request.headers
|
|
402
|
+
kwargs["opts"] = opts or {}
|
|
403
|
+
|
|
404
|
+
return await self.call_and_deserialize(**kwargs)
|
|
405
|
+
|
|
334
406
|
async def ModifyAccelerateAreas(
|
|
335
407
|
self,
|
|
336
408
|
request: models.ModifyAccelerateAreasRequest,
|
|
@@ -367,6 +439,24 @@ class Ga2Client(AbstractClient):
|
|
|
367
439
|
|
|
368
440
|
return await self.call_and_deserialize(**kwargs)
|
|
369
441
|
|
|
442
|
+
async def ModifyForwardingPolicy(
|
|
443
|
+
self,
|
|
444
|
+
request: models.ModifyForwardingPolicyRequest,
|
|
445
|
+
opts: Dict = None,
|
|
446
|
+
) -> models.ModifyForwardingPolicyResponse:
|
|
447
|
+
"""
|
|
448
|
+
修改七层转发策略
|
|
449
|
+
"""
|
|
450
|
+
|
|
451
|
+
kwargs = {}
|
|
452
|
+
kwargs["action"] = "ModifyForwardingPolicy"
|
|
453
|
+
kwargs["params"] = request._serialize()
|
|
454
|
+
kwargs["resp_cls"] = models.ModifyForwardingPolicyResponse
|
|
455
|
+
kwargs["headers"] = request.headers
|
|
456
|
+
kwargs["opts"] = opts or {}
|
|
457
|
+
|
|
458
|
+
return await self.call_and_deserialize(**kwargs)
|
|
459
|
+
|
|
370
460
|
async def ModifyForwardingRule(
|
|
371
461
|
self,
|
|
372
462
|
request: models.ModifyForwardingRuleRequest,
|
|
@@ -517,6 +517,130 @@ class CreateEndpointGroupResponse(AbstractModel):
|
|
|
517
517
|
self._RequestId = params.get("RequestId")
|
|
518
518
|
|
|
519
519
|
|
|
520
|
+
class CreateForwardingPolicyRequest(AbstractModel):
|
|
521
|
+
r"""CreateForwardingPolicy请求参数结构体
|
|
522
|
+
|
|
523
|
+
"""
|
|
524
|
+
|
|
525
|
+
def __init__(self):
|
|
526
|
+
r"""
|
|
527
|
+
:param _GlobalAcceleratorId: 全球加速实例ID。
|
|
528
|
+
:type GlobalAcceleratorId: str
|
|
529
|
+
:param _ListenerId: 监听器ID。
|
|
530
|
+
:type ListenerId: str
|
|
531
|
+
:param _Host: 域名。
|
|
532
|
+
:type Host: str
|
|
533
|
+
"""
|
|
534
|
+
self._GlobalAcceleratorId = None
|
|
535
|
+
self._ListenerId = None
|
|
536
|
+
self._Host = None
|
|
537
|
+
|
|
538
|
+
@property
|
|
539
|
+
def GlobalAcceleratorId(self):
|
|
540
|
+
r"""全球加速实例ID。
|
|
541
|
+
:rtype: str
|
|
542
|
+
"""
|
|
543
|
+
return self._GlobalAcceleratorId
|
|
544
|
+
|
|
545
|
+
@GlobalAcceleratorId.setter
|
|
546
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
547
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
548
|
+
|
|
549
|
+
@property
|
|
550
|
+
def ListenerId(self):
|
|
551
|
+
r"""监听器ID。
|
|
552
|
+
:rtype: str
|
|
553
|
+
"""
|
|
554
|
+
return self._ListenerId
|
|
555
|
+
|
|
556
|
+
@ListenerId.setter
|
|
557
|
+
def ListenerId(self, ListenerId):
|
|
558
|
+
self._ListenerId = ListenerId
|
|
559
|
+
|
|
560
|
+
@property
|
|
561
|
+
def Host(self):
|
|
562
|
+
r"""域名。
|
|
563
|
+
:rtype: str
|
|
564
|
+
"""
|
|
565
|
+
return self._Host
|
|
566
|
+
|
|
567
|
+
@Host.setter
|
|
568
|
+
def Host(self, Host):
|
|
569
|
+
self._Host = Host
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
def _deserialize(self, params):
|
|
573
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
574
|
+
self._ListenerId = params.get("ListenerId")
|
|
575
|
+
self._Host = params.get("Host")
|
|
576
|
+
memeber_set = set(params.keys())
|
|
577
|
+
for name, value in vars(self).items():
|
|
578
|
+
property_name = name[1:]
|
|
579
|
+
if property_name in memeber_set:
|
|
580
|
+
memeber_set.remove(property_name)
|
|
581
|
+
if len(memeber_set) > 0:
|
|
582
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
class CreateForwardingPolicyResponse(AbstractModel):
|
|
587
|
+
r"""CreateForwardingPolicy返回参数结构体
|
|
588
|
+
|
|
589
|
+
"""
|
|
590
|
+
|
|
591
|
+
def __init__(self):
|
|
592
|
+
r"""
|
|
593
|
+
:param _TaskId: 异步任务ID。
|
|
594
|
+
:type TaskId: str
|
|
595
|
+
:param _ForwardingPolicyId: 七层转发策略ID。
|
|
596
|
+
:type ForwardingPolicyId: str
|
|
597
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
598
|
+
:type RequestId: str
|
|
599
|
+
"""
|
|
600
|
+
self._TaskId = None
|
|
601
|
+
self._ForwardingPolicyId = None
|
|
602
|
+
self._RequestId = None
|
|
603
|
+
|
|
604
|
+
@property
|
|
605
|
+
def TaskId(self):
|
|
606
|
+
r"""异步任务ID。
|
|
607
|
+
:rtype: str
|
|
608
|
+
"""
|
|
609
|
+
return self._TaskId
|
|
610
|
+
|
|
611
|
+
@TaskId.setter
|
|
612
|
+
def TaskId(self, TaskId):
|
|
613
|
+
self._TaskId = TaskId
|
|
614
|
+
|
|
615
|
+
@property
|
|
616
|
+
def ForwardingPolicyId(self):
|
|
617
|
+
r"""七层转发策略ID。
|
|
618
|
+
:rtype: str
|
|
619
|
+
"""
|
|
620
|
+
return self._ForwardingPolicyId
|
|
621
|
+
|
|
622
|
+
@ForwardingPolicyId.setter
|
|
623
|
+
def ForwardingPolicyId(self, ForwardingPolicyId):
|
|
624
|
+
self._ForwardingPolicyId = ForwardingPolicyId
|
|
625
|
+
|
|
626
|
+
@property
|
|
627
|
+
def RequestId(self):
|
|
628
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
629
|
+
:rtype: str
|
|
630
|
+
"""
|
|
631
|
+
return self._RequestId
|
|
632
|
+
|
|
633
|
+
@RequestId.setter
|
|
634
|
+
def RequestId(self, RequestId):
|
|
635
|
+
self._RequestId = RequestId
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
def _deserialize(self, params):
|
|
639
|
+
self._TaskId = params.get("TaskId")
|
|
640
|
+
self._ForwardingPolicyId = params.get("ForwardingPolicyId")
|
|
641
|
+
self._RequestId = params.get("RequestId")
|
|
642
|
+
|
|
643
|
+
|
|
520
644
|
class CreateForwardingRuleRequest(AbstractModel):
|
|
521
645
|
r"""CreateForwardingRule请求参数结构体
|
|
522
646
|
|
|
@@ -1429,6 +1553,115 @@ class DeleteEndpointGroupsResponse(AbstractModel):
|
|
|
1429
1553
|
self._RequestId = params.get("RequestId")
|
|
1430
1554
|
|
|
1431
1555
|
|
|
1556
|
+
class DeleteForwardingPolicyRequest(AbstractModel):
|
|
1557
|
+
r"""DeleteForwardingPolicy请求参数结构体
|
|
1558
|
+
|
|
1559
|
+
"""
|
|
1560
|
+
|
|
1561
|
+
def __init__(self):
|
|
1562
|
+
r"""
|
|
1563
|
+
:param _GlobalAcceleratorId: 全球加速实例ID。
|
|
1564
|
+
:type GlobalAcceleratorId: str
|
|
1565
|
+
:param _ListenerId: 监听器ID。
|
|
1566
|
+
:type ListenerId: str
|
|
1567
|
+
:param _ForwardingPolicyId: 策略ID。
|
|
1568
|
+
:type ForwardingPolicyId: str
|
|
1569
|
+
"""
|
|
1570
|
+
self._GlobalAcceleratorId = None
|
|
1571
|
+
self._ListenerId = None
|
|
1572
|
+
self._ForwardingPolicyId = None
|
|
1573
|
+
|
|
1574
|
+
@property
|
|
1575
|
+
def GlobalAcceleratorId(self):
|
|
1576
|
+
r"""全球加速实例ID。
|
|
1577
|
+
:rtype: str
|
|
1578
|
+
"""
|
|
1579
|
+
return self._GlobalAcceleratorId
|
|
1580
|
+
|
|
1581
|
+
@GlobalAcceleratorId.setter
|
|
1582
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
1583
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
1584
|
+
|
|
1585
|
+
@property
|
|
1586
|
+
def ListenerId(self):
|
|
1587
|
+
r"""监听器ID。
|
|
1588
|
+
:rtype: str
|
|
1589
|
+
"""
|
|
1590
|
+
return self._ListenerId
|
|
1591
|
+
|
|
1592
|
+
@ListenerId.setter
|
|
1593
|
+
def ListenerId(self, ListenerId):
|
|
1594
|
+
self._ListenerId = ListenerId
|
|
1595
|
+
|
|
1596
|
+
@property
|
|
1597
|
+
def ForwardingPolicyId(self):
|
|
1598
|
+
r"""策略ID。
|
|
1599
|
+
:rtype: str
|
|
1600
|
+
"""
|
|
1601
|
+
return self._ForwardingPolicyId
|
|
1602
|
+
|
|
1603
|
+
@ForwardingPolicyId.setter
|
|
1604
|
+
def ForwardingPolicyId(self, ForwardingPolicyId):
|
|
1605
|
+
self._ForwardingPolicyId = ForwardingPolicyId
|
|
1606
|
+
|
|
1607
|
+
|
|
1608
|
+
def _deserialize(self, params):
|
|
1609
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
1610
|
+
self._ListenerId = params.get("ListenerId")
|
|
1611
|
+
self._ForwardingPolicyId = params.get("ForwardingPolicyId")
|
|
1612
|
+
memeber_set = set(params.keys())
|
|
1613
|
+
for name, value in vars(self).items():
|
|
1614
|
+
property_name = name[1:]
|
|
1615
|
+
if property_name in memeber_set:
|
|
1616
|
+
memeber_set.remove(property_name)
|
|
1617
|
+
if len(memeber_set) > 0:
|
|
1618
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1619
|
+
|
|
1620
|
+
|
|
1621
|
+
|
|
1622
|
+
class DeleteForwardingPolicyResponse(AbstractModel):
|
|
1623
|
+
r"""DeleteForwardingPolicy返回参数结构体
|
|
1624
|
+
|
|
1625
|
+
"""
|
|
1626
|
+
|
|
1627
|
+
def __init__(self):
|
|
1628
|
+
r"""
|
|
1629
|
+
:param _TaskId: 异步任务ID。
|
|
1630
|
+
:type TaskId: str
|
|
1631
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1632
|
+
:type RequestId: str
|
|
1633
|
+
"""
|
|
1634
|
+
self._TaskId = None
|
|
1635
|
+
self._RequestId = None
|
|
1636
|
+
|
|
1637
|
+
@property
|
|
1638
|
+
def TaskId(self):
|
|
1639
|
+
r"""异步任务ID。
|
|
1640
|
+
:rtype: str
|
|
1641
|
+
"""
|
|
1642
|
+
return self._TaskId
|
|
1643
|
+
|
|
1644
|
+
@TaskId.setter
|
|
1645
|
+
def TaskId(self, TaskId):
|
|
1646
|
+
self._TaskId = TaskId
|
|
1647
|
+
|
|
1648
|
+
@property
|
|
1649
|
+
def RequestId(self):
|
|
1650
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1651
|
+
:rtype: str
|
|
1652
|
+
"""
|
|
1653
|
+
return self._RequestId
|
|
1654
|
+
|
|
1655
|
+
@RequestId.setter
|
|
1656
|
+
def RequestId(self, RequestId):
|
|
1657
|
+
self._RequestId = RequestId
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
def _deserialize(self, params):
|
|
1661
|
+
self._TaskId = params.get("TaskId")
|
|
1662
|
+
self._RequestId = params.get("RequestId")
|
|
1663
|
+
|
|
1664
|
+
|
|
1432
1665
|
class DeleteForwardingRuleRequest(AbstractModel):
|
|
1433
1666
|
r"""DeleteForwardingRule请求参数结构体
|
|
1434
1667
|
|
|
@@ -2182,6 +2415,150 @@ class DescribeEndpointGroupsResponse(AbstractModel):
|
|
|
2182
2415
|
self._RequestId = params.get("RequestId")
|
|
2183
2416
|
|
|
2184
2417
|
|
|
2418
|
+
class DescribeForwardingPolicyRequest(AbstractModel):
|
|
2419
|
+
r"""DescribeForwardingPolicy请求参数结构体
|
|
2420
|
+
|
|
2421
|
+
"""
|
|
2422
|
+
|
|
2423
|
+
def __init__(self):
|
|
2424
|
+
r"""
|
|
2425
|
+
:param _GlobalAcceleratorId: 全球加速实例ID。
|
|
2426
|
+
:type GlobalAcceleratorId: str
|
|
2427
|
+
:param _ListenerId: 监听器ID。
|
|
2428
|
+
:type ListenerId: str
|
|
2429
|
+
:param _Offset: 偏移量,默认为0。
|
|
2430
|
+
:type Offset: int
|
|
2431
|
+
:param _Limit: 返回数量,默认为20,最大值为100。
|
|
2432
|
+
:type Limit: int
|
|
2433
|
+
"""
|
|
2434
|
+
self._GlobalAcceleratorId = None
|
|
2435
|
+
self._ListenerId = None
|
|
2436
|
+
self._Offset = None
|
|
2437
|
+
self._Limit = None
|
|
2438
|
+
|
|
2439
|
+
@property
|
|
2440
|
+
def GlobalAcceleratorId(self):
|
|
2441
|
+
r"""全球加速实例ID。
|
|
2442
|
+
:rtype: str
|
|
2443
|
+
"""
|
|
2444
|
+
return self._GlobalAcceleratorId
|
|
2445
|
+
|
|
2446
|
+
@GlobalAcceleratorId.setter
|
|
2447
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
2448
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
2449
|
+
|
|
2450
|
+
@property
|
|
2451
|
+
def ListenerId(self):
|
|
2452
|
+
r"""监听器ID。
|
|
2453
|
+
:rtype: str
|
|
2454
|
+
"""
|
|
2455
|
+
return self._ListenerId
|
|
2456
|
+
|
|
2457
|
+
@ListenerId.setter
|
|
2458
|
+
def ListenerId(self, ListenerId):
|
|
2459
|
+
self._ListenerId = ListenerId
|
|
2460
|
+
|
|
2461
|
+
@property
|
|
2462
|
+
def Offset(self):
|
|
2463
|
+
r"""偏移量,默认为0。
|
|
2464
|
+
:rtype: int
|
|
2465
|
+
"""
|
|
2466
|
+
return self._Offset
|
|
2467
|
+
|
|
2468
|
+
@Offset.setter
|
|
2469
|
+
def Offset(self, Offset):
|
|
2470
|
+
self._Offset = Offset
|
|
2471
|
+
|
|
2472
|
+
@property
|
|
2473
|
+
def Limit(self):
|
|
2474
|
+
r"""返回数量,默认为20,最大值为100。
|
|
2475
|
+
:rtype: int
|
|
2476
|
+
"""
|
|
2477
|
+
return self._Limit
|
|
2478
|
+
|
|
2479
|
+
@Limit.setter
|
|
2480
|
+
def Limit(self, Limit):
|
|
2481
|
+
self._Limit = Limit
|
|
2482
|
+
|
|
2483
|
+
|
|
2484
|
+
def _deserialize(self, params):
|
|
2485
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
2486
|
+
self._ListenerId = params.get("ListenerId")
|
|
2487
|
+
self._Offset = params.get("Offset")
|
|
2488
|
+
self._Limit = params.get("Limit")
|
|
2489
|
+
memeber_set = set(params.keys())
|
|
2490
|
+
for name, value in vars(self).items():
|
|
2491
|
+
property_name = name[1:]
|
|
2492
|
+
if property_name in memeber_set:
|
|
2493
|
+
memeber_set.remove(property_name)
|
|
2494
|
+
if len(memeber_set) > 0:
|
|
2495
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2496
|
+
|
|
2497
|
+
|
|
2498
|
+
|
|
2499
|
+
class DescribeForwardingPolicyResponse(AbstractModel):
|
|
2500
|
+
r"""DescribeForwardingPolicy返回参数结构体
|
|
2501
|
+
|
|
2502
|
+
"""
|
|
2503
|
+
|
|
2504
|
+
def __init__(self):
|
|
2505
|
+
r"""
|
|
2506
|
+
:param _ForwardingPolicySet: 符合条件的策略信息。
|
|
2507
|
+
:type ForwardingPolicySet: list of ForwardingPolicySet
|
|
2508
|
+
:param _TotalCount: 符合条件的实例个数。
|
|
2509
|
+
:type TotalCount: int
|
|
2510
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2511
|
+
:type RequestId: str
|
|
2512
|
+
"""
|
|
2513
|
+
self._ForwardingPolicySet = None
|
|
2514
|
+
self._TotalCount = None
|
|
2515
|
+
self._RequestId = None
|
|
2516
|
+
|
|
2517
|
+
@property
|
|
2518
|
+
def ForwardingPolicySet(self):
|
|
2519
|
+
r"""符合条件的策略信息。
|
|
2520
|
+
:rtype: list of ForwardingPolicySet
|
|
2521
|
+
"""
|
|
2522
|
+
return self._ForwardingPolicySet
|
|
2523
|
+
|
|
2524
|
+
@ForwardingPolicySet.setter
|
|
2525
|
+
def ForwardingPolicySet(self, ForwardingPolicySet):
|
|
2526
|
+
self._ForwardingPolicySet = ForwardingPolicySet
|
|
2527
|
+
|
|
2528
|
+
@property
|
|
2529
|
+
def TotalCount(self):
|
|
2530
|
+
r"""符合条件的实例个数。
|
|
2531
|
+
:rtype: int
|
|
2532
|
+
"""
|
|
2533
|
+
return self._TotalCount
|
|
2534
|
+
|
|
2535
|
+
@TotalCount.setter
|
|
2536
|
+
def TotalCount(self, TotalCount):
|
|
2537
|
+
self._TotalCount = TotalCount
|
|
2538
|
+
|
|
2539
|
+
@property
|
|
2540
|
+
def RequestId(self):
|
|
2541
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2542
|
+
:rtype: str
|
|
2543
|
+
"""
|
|
2544
|
+
return self._RequestId
|
|
2545
|
+
|
|
2546
|
+
@RequestId.setter
|
|
2547
|
+
def RequestId(self, RequestId):
|
|
2548
|
+
self._RequestId = RequestId
|
|
2549
|
+
|
|
2550
|
+
|
|
2551
|
+
def _deserialize(self, params):
|
|
2552
|
+
if params.get("ForwardingPolicySet") is not None:
|
|
2553
|
+
self._ForwardingPolicySet = []
|
|
2554
|
+
for item in params.get("ForwardingPolicySet"):
|
|
2555
|
+
obj = ForwardingPolicySet()
|
|
2556
|
+
obj._deserialize(item)
|
|
2557
|
+
self._ForwardingPolicySet.append(obj)
|
|
2558
|
+
self._TotalCount = params.get("TotalCount")
|
|
2559
|
+
self._RequestId = params.get("RequestId")
|
|
2560
|
+
|
|
2561
|
+
|
|
2185
2562
|
class DescribeForwardingRuleRequest(AbstractModel):
|
|
2186
2563
|
r"""DescribeForwardingRule请求参数结构体
|
|
2187
2564
|
|
|
@@ -2523,34 +2900,133 @@ class DescribeListenersRequest(AbstractModel):
|
|
|
2523
2900
|
r"""返回数量,默认为20,最大值为100。
|
|
2524
2901
|
:rtype: int
|
|
2525
2902
|
"""
|
|
2526
|
-
return self._Limit
|
|
2527
|
-
|
|
2528
|
-
@Limit.setter
|
|
2529
|
-
def Limit(self, Limit):
|
|
2530
|
-
self._Limit = Limit
|
|
2903
|
+
return self._Limit
|
|
2904
|
+
|
|
2905
|
+
@Limit.setter
|
|
2906
|
+
def Limit(self, Limit):
|
|
2907
|
+
self._Limit = Limit
|
|
2908
|
+
|
|
2909
|
+
@property
|
|
2910
|
+
def Filters(self):
|
|
2911
|
+
r"""过滤条件。 listener-id- String -(过滤条件)监听器实例ID。
|
|
2912
|
+
:rtype: list of Filter
|
|
2913
|
+
"""
|
|
2914
|
+
return self._Filters
|
|
2915
|
+
|
|
2916
|
+
@Filters.setter
|
|
2917
|
+
def Filters(self, Filters):
|
|
2918
|
+
self._Filters = Filters
|
|
2919
|
+
|
|
2920
|
+
|
|
2921
|
+
def _deserialize(self, params):
|
|
2922
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
2923
|
+
self._Offset = params.get("Offset")
|
|
2924
|
+
self._Limit = params.get("Limit")
|
|
2925
|
+
if params.get("Filters") is not None:
|
|
2926
|
+
self._Filters = []
|
|
2927
|
+
for item in params.get("Filters"):
|
|
2928
|
+
obj = Filter()
|
|
2929
|
+
obj._deserialize(item)
|
|
2930
|
+
self._Filters.append(obj)
|
|
2931
|
+
memeber_set = set(params.keys())
|
|
2932
|
+
for name, value in vars(self).items():
|
|
2933
|
+
property_name = name[1:]
|
|
2934
|
+
if property_name in memeber_set:
|
|
2935
|
+
memeber_set.remove(property_name)
|
|
2936
|
+
if len(memeber_set) > 0:
|
|
2937
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
|
|
2941
|
+
class DescribeListenersResponse(AbstractModel):
|
|
2942
|
+
r"""DescribeListeners返回参数结构体
|
|
2943
|
+
|
|
2944
|
+
"""
|
|
2945
|
+
|
|
2946
|
+
def __init__(self):
|
|
2947
|
+
r"""
|
|
2948
|
+
:param _ListenerSet: 符合条件的监听器实例。
|
|
2949
|
+
:type ListenerSet: list of ListenerSet
|
|
2950
|
+
:param _TotalCount: 符合条件的实例个数。
|
|
2951
|
+
:type TotalCount: int
|
|
2952
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2953
|
+
:type RequestId: str
|
|
2954
|
+
"""
|
|
2955
|
+
self._ListenerSet = None
|
|
2956
|
+
self._TotalCount = None
|
|
2957
|
+
self._RequestId = None
|
|
2958
|
+
|
|
2959
|
+
@property
|
|
2960
|
+
def ListenerSet(self):
|
|
2961
|
+
r"""符合条件的监听器实例。
|
|
2962
|
+
:rtype: list of ListenerSet
|
|
2963
|
+
"""
|
|
2964
|
+
return self._ListenerSet
|
|
2965
|
+
|
|
2966
|
+
@ListenerSet.setter
|
|
2967
|
+
def ListenerSet(self, ListenerSet):
|
|
2968
|
+
self._ListenerSet = ListenerSet
|
|
2969
|
+
|
|
2970
|
+
@property
|
|
2971
|
+
def TotalCount(self):
|
|
2972
|
+
r"""符合条件的实例个数。
|
|
2973
|
+
:rtype: int
|
|
2974
|
+
"""
|
|
2975
|
+
return self._TotalCount
|
|
2976
|
+
|
|
2977
|
+
@TotalCount.setter
|
|
2978
|
+
def TotalCount(self, TotalCount):
|
|
2979
|
+
self._TotalCount = TotalCount
|
|
2980
|
+
|
|
2981
|
+
@property
|
|
2982
|
+
def RequestId(self):
|
|
2983
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2984
|
+
:rtype: str
|
|
2985
|
+
"""
|
|
2986
|
+
return self._RequestId
|
|
2987
|
+
|
|
2988
|
+
@RequestId.setter
|
|
2989
|
+
def RequestId(self, RequestId):
|
|
2990
|
+
self._RequestId = RequestId
|
|
2991
|
+
|
|
2992
|
+
|
|
2993
|
+
def _deserialize(self, params):
|
|
2994
|
+
if params.get("ListenerSet") is not None:
|
|
2995
|
+
self._ListenerSet = []
|
|
2996
|
+
for item in params.get("ListenerSet"):
|
|
2997
|
+
obj = ListenerSet()
|
|
2998
|
+
obj._deserialize(item)
|
|
2999
|
+
self._ListenerSet.append(obj)
|
|
3000
|
+
self._TotalCount = params.get("TotalCount")
|
|
3001
|
+
self._RequestId = params.get("RequestId")
|
|
3002
|
+
|
|
3003
|
+
|
|
3004
|
+
class DescribeTaskResultRequest(AbstractModel):
|
|
3005
|
+
r"""DescribeTaskResult请求参数结构体
|
|
3006
|
+
|
|
3007
|
+
"""
|
|
3008
|
+
|
|
3009
|
+
def __init__(self):
|
|
3010
|
+
r"""
|
|
3011
|
+
:param _TaskId: 异步任务ID。
|
|
3012
|
+
:type TaskId: str
|
|
3013
|
+
"""
|
|
3014
|
+
self._TaskId = None
|
|
2531
3015
|
|
|
2532
3016
|
@property
|
|
2533
|
-
def
|
|
2534
|
-
r"""
|
|
2535
|
-
:rtype:
|
|
3017
|
+
def TaskId(self):
|
|
3018
|
+
r"""异步任务ID。
|
|
3019
|
+
:rtype: str
|
|
2536
3020
|
"""
|
|
2537
|
-
return self.
|
|
3021
|
+
return self._TaskId
|
|
2538
3022
|
|
|
2539
|
-
@
|
|
2540
|
-
def
|
|
2541
|
-
self.
|
|
3023
|
+
@TaskId.setter
|
|
3024
|
+
def TaskId(self, TaskId):
|
|
3025
|
+
self._TaskId = TaskId
|
|
2542
3026
|
|
|
2543
3027
|
|
|
2544
3028
|
def _deserialize(self, params):
|
|
2545
|
-
self.
|
|
2546
|
-
self._Offset = params.get("Offset")
|
|
2547
|
-
self._Limit = params.get("Limit")
|
|
2548
|
-
if params.get("Filters") is not None:
|
|
2549
|
-
self._Filters = []
|
|
2550
|
-
for item in params.get("Filters"):
|
|
2551
|
-
obj = Filter()
|
|
2552
|
-
obj._deserialize(item)
|
|
2553
|
-
self._Filters.append(obj)
|
|
3029
|
+
self._TaskId = params.get("TaskId")
|
|
2554
3030
|
memeber_set = set(params.keys())
|
|
2555
3031
|
for name, value in vars(self).items():
|
|
2556
3032
|
property_name = name[1:]
|
|
@@ -2561,45 +3037,31 @@ class DescribeListenersRequest(AbstractModel):
|
|
|
2561
3037
|
|
|
2562
3038
|
|
|
2563
3039
|
|
|
2564
|
-
class
|
|
2565
|
-
r"""
|
|
3040
|
+
class DescribeTaskResultResponse(AbstractModel):
|
|
3041
|
+
r"""DescribeTaskResult返回参数结构体
|
|
2566
3042
|
|
|
2567
3043
|
"""
|
|
2568
3044
|
|
|
2569
3045
|
def __init__(self):
|
|
2570
3046
|
r"""
|
|
2571
|
-
:param
|
|
2572
|
-
:type
|
|
2573
|
-
:param _TotalCount: 符合条件的实例个数。
|
|
2574
|
-
:type TotalCount: int
|
|
3047
|
+
:param _Status: 任务状态。
|
|
3048
|
+
:type Status: str
|
|
2575
3049
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2576
3050
|
:type RequestId: str
|
|
2577
3051
|
"""
|
|
2578
|
-
self.
|
|
2579
|
-
self._TotalCount = None
|
|
3052
|
+
self._Status = None
|
|
2580
3053
|
self._RequestId = None
|
|
2581
3054
|
|
|
2582
3055
|
@property
|
|
2583
|
-
def
|
|
2584
|
-
r"""
|
|
2585
|
-
:rtype:
|
|
2586
|
-
"""
|
|
2587
|
-
return self._ListenerSet
|
|
2588
|
-
|
|
2589
|
-
@ListenerSet.setter
|
|
2590
|
-
def ListenerSet(self, ListenerSet):
|
|
2591
|
-
self._ListenerSet = ListenerSet
|
|
2592
|
-
|
|
2593
|
-
@property
|
|
2594
|
-
def TotalCount(self):
|
|
2595
|
-
r"""符合条件的实例个数。
|
|
2596
|
-
:rtype: int
|
|
3056
|
+
def Status(self):
|
|
3057
|
+
r"""任务状态。
|
|
3058
|
+
:rtype: str
|
|
2597
3059
|
"""
|
|
2598
|
-
return self.
|
|
3060
|
+
return self._Status
|
|
2599
3061
|
|
|
2600
|
-
@
|
|
2601
|
-
def
|
|
2602
|
-
self.
|
|
3062
|
+
@Status.setter
|
|
3063
|
+
def Status(self, Status):
|
|
3064
|
+
self._Status = Status
|
|
2603
3065
|
|
|
2604
3066
|
@property
|
|
2605
3067
|
def RequestId(self):
|
|
@@ -2614,13 +3076,7 @@ class DescribeListenersResponse(AbstractModel):
|
|
|
2614
3076
|
|
|
2615
3077
|
|
|
2616
3078
|
def _deserialize(self, params):
|
|
2617
|
-
|
|
2618
|
-
self._ListenerSet = []
|
|
2619
|
-
for item in params.get("ListenerSet"):
|
|
2620
|
-
obj = ListenerSet()
|
|
2621
|
-
obj._deserialize(item)
|
|
2622
|
-
self._ListenerSet.append(obj)
|
|
2623
|
-
self._TotalCount = params.get("TotalCount")
|
|
3079
|
+
self._Status = params.get("Status")
|
|
2624
3080
|
self._RequestId = params.get("RequestId")
|
|
2625
3081
|
|
|
2626
3082
|
|
|
@@ -3568,6 +4024,102 @@ class Filter(AbstractModel):
|
|
|
3568
4024
|
|
|
3569
4025
|
|
|
3570
4026
|
|
|
4027
|
+
class ForwardingPolicySet(AbstractModel):
|
|
4028
|
+
r"""七层转发策略信息
|
|
4029
|
+
|
|
4030
|
+
"""
|
|
4031
|
+
|
|
4032
|
+
def __init__(self):
|
|
4033
|
+
r"""
|
|
4034
|
+
:param _GlobalAcceleratorId: 全球加速实例ID。
|
|
4035
|
+
:type GlobalAcceleratorId: str
|
|
4036
|
+
:param _ListenerId: 监听器ID。
|
|
4037
|
+
:type ListenerId: str
|
|
4038
|
+
:param _ForwardingPolicyId: 策略ID。
|
|
4039
|
+
:type ForwardingPolicyId: str
|
|
4040
|
+
:param _Host: 域名。
|
|
4041
|
+
:type Host: str
|
|
4042
|
+
:param _DefaultHostFlag: 是否为默认域名。
|
|
4043
|
+
:type DefaultHostFlag: bool
|
|
4044
|
+
"""
|
|
4045
|
+
self._GlobalAcceleratorId = None
|
|
4046
|
+
self._ListenerId = None
|
|
4047
|
+
self._ForwardingPolicyId = None
|
|
4048
|
+
self._Host = None
|
|
4049
|
+
self._DefaultHostFlag = None
|
|
4050
|
+
|
|
4051
|
+
@property
|
|
4052
|
+
def GlobalAcceleratorId(self):
|
|
4053
|
+
r"""全球加速实例ID。
|
|
4054
|
+
:rtype: str
|
|
4055
|
+
"""
|
|
4056
|
+
return self._GlobalAcceleratorId
|
|
4057
|
+
|
|
4058
|
+
@GlobalAcceleratorId.setter
|
|
4059
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
4060
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
4061
|
+
|
|
4062
|
+
@property
|
|
4063
|
+
def ListenerId(self):
|
|
4064
|
+
r"""监听器ID。
|
|
4065
|
+
:rtype: str
|
|
4066
|
+
"""
|
|
4067
|
+
return self._ListenerId
|
|
4068
|
+
|
|
4069
|
+
@ListenerId.setter
|
|
4070
|
+
def ListenerId(self, ListenerId):
|
|
4071
|
+
self._ListenerId = ListenerId
|
|
4072
|
+
|
|
4073
|
+
@property
|
|
4074
|
+
def ForwardingPolicyId(self):
|
|
4075
|
+
r"""策略ID。
|
|
4076
|
+
:rtype: str
|
|
4077
|
+
"""
|
|
4078
|
+
return self._ForwardingPolicyId
|
|
4079
|
+
|
|
4080
|
+
@ForwardingPolicyId.setter
|
|
4081
|
+
def ForwardingPolicyId(self, ForwardingPolicyId):
|
|
4082
|
+
self._ForwardingPolicyId = ForwardingPolicyId
|
|
4083
|
+
|
|
4084
|
+
@property
|
|
4085
|
+
def Host(self):
|
|
4086
|
+
r"""域名。
|
|
4087
|
+
:rtype: str
|
|
4088
|
+
"""
|
|
4089
|
+
return self._Host
|
|
4090
|
+
|
|
4091
|
+
@Host.setter
|
|
4092
|
+
def Host(self, Host):
|
|
4093
|
+
self._Host = Host
|
|
4094
|
+
|
|
4095
|
+
@property
|
|
4096
|
+
def DefaultHostFlag(self):
|
|
4097
|
+
r"""是否为默认域名。
|
|
4098
|
+
:rtype: bool
|
|
4099
|
+
"""
|
|
4100
|
+
return self._DefaultHostFlag
|
|
4101
|
+
|
|
4102
|
+
@DefaultHostFlag.setter
|
|
4103
|
+
def DefaultHostFlag(self, DefaultHostFlag):
|
|
4104
|
+
self._DefaultHostFlag = DefaultHostFlag
|
|
4105
|
+
|
|
4106
|
+
|
|
4107
|
+
def _deserialize(self, params):
|
|
4108
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
4109
|
+
self._ListenerId = params.get("ListenerId")
|
|
4110
|
+
self._ForwardingPolicyId = params.get("ForwardingPolicyId")
|
|
4111
|
+
self._Host = params.get("Host")
|
|
4112
|
+
self._DefaultHostFlag = params.get("DefaultHostFlag")
|
|
4113
|
+
memeber_set = set(params.keys())
|
|
4114
|
+
for name, value in vars(self).items():
|
|
4115
|
+
property_name = name[1:]
|
|
4116
|
+
if property_name in memeber_set:
|
|
4117
|
+
memeber_set.remove(property_name)
|
|
4118
|
+
if len(memeber_set) > 0:
|
|
4119
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4120
|
+
|
|
4121
|
+
|
|
4122
|
+
|
|
3571
4123
|
class ForwardingRuleSet(AbstractModel):
|
|
3572
4124
|
r"""七层转发规则信息
|
|
3573
4125
|
|
|
@@ -4884,6 +5436,130 @@ class ModifyEndpointGroupResponse(AbstractModel):
|
|
|
4884
5436
|
self._RequestId = params.get("RequestId")
|
|
4885
5437
|
|
|
4886
5438
|
|
|
5439
|
+
class ModifyForwardingPolicyRequest(AbstractModel):
|
|
5440
|
+
r"""ModifyForwardingPolicy请求参数结构体
|
|
5441
|
+
|
|
5442
|
+
"""
|
|
5443
|
+
|
|
5444
|
+
def __init__(self):
|
|
5445
|
+
r"""
|
|
5446
|
+
:param _GlobalAcceleratorId: 全球加速实例ID。
|
|
5447
|
+
:type GlobalAcceleratorId: str
|
|
5448
|
+
:param _ListenerId: 监听器ID。
|
|
5449
|
+
:type ListenerId: str
|
|
5450
|
+
:param _ForwardingPolicyId: 策略ID。
|
|
5451
|
+
:type ForwardingPolicyId: str
|
|
5452
|
+
:param _Host: 域名。
|
|
5453
|
+
:type Host: str
|
|
5454
|
+
"""
|
|
5455
|
+
self._GlobalAcceleratorId = None
|
|
5456
|
+
self._ListenerId = None
|
|
5457
|
+
self._ForwardingPolicyId = None
|
|
5458
|
+
self._Host = None
|
|
5459
|
+
|
|
5460
|
+
@property
|
|
5461
|
+
def GlobalAcceleratorId(self):
|
|
5462
|
+
r"""全球加速实例ID。
|
|
5463
|
+
:rtype: str
|
|
5464
|
+
"""
|
|
5465
|
+
return self._GlobalAcceleratorId
|
|
5466
|
+
|
|
5467
|
+
@GlobalAcceleratorId.setter
|
|
5468
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
5469
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
5470
|
+
|
|
5471
|
+
@property
|
|
5472
|
+
def ListenerId(self):
|
|
5473
|
+
r"""监听器ID。
|
|
5474
|
+
:rtype: str
|
|
5475
|
+
"""
|
|
5476
|
+
return self._ListenerId
|
|
5477
|
+
|
|
5478
|
+
@ListenerId.setter
|
|
5479
|
+
def ListenerId(self, ListenerId):
|
|
5480
|
+
self._ListenerId = ListenerId
|
|
5481
|
+
|
|
5482
|
+
@property
|
|
5483
|
+
def ForwardingPolicyId(self):
|
|
5484
|
+
r"""策略ID。
|
|
5485
|
+
:rtype: str
|
|
5486
|
+
"""
|
|
5487
|
+
return self._ForwardingPolicyId
|
|
5488
|
+
|
|
5489
|
+
@ForwardingPolicyId.setter
|
|
5490
|
+
def ForwardingPolicyId(self, ForwardingPolicyId):
|
|
5491
|
+
self._ForwardingPolicyId = ForwardingPolicyId
|
|
5492
|
+
|
|
5493
|
+
@property
|
|
5494
|
+
def Host(self):
|
|
5495
|
+
r"""域名。
|
|
5496
|
+
:rtype: str
|
|
5497
|
+
"""
|
|
5498
|
+
return self._Host
|
|
5499
|
+
|
|
5500
|
+
@Host.setter
|
|
5501
|
+
def Host(self, Host):
|
|
5502
|
+
self._Host = Host
|
|
5503
|
+
|
|
5504
|
+
|
|
5505
|
+
def _deserialize(self, params):
|
|
5506
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
5507
|
+
self._ListenerId = params.get("ListenerId")
|
|
5508
|
+
self._ForwardingPolicyId = params.get("ForwardingPolicyId")
|
|
5509
|
+
self._Host = params.get("Host")
|
|
5510
|
+
memeber_set = set(params.keys())
|
|
5511
|
+
for name, value in vars(self).items():
|
|
5512
|
+
property_name = name[1:]
|
|
5513
|
+
if property_name in memeber_set:
|
|
5514
|
+
memeber_set.remove(property_name)
|
|
5515
|
+
if len(memeber_set) > 0:
|
|
5516
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5517
|
+
|
|
5518
|
+
|
|
5519
|
+
|
|
5520
|
+
class ModifyForwardingPolicyResponse(AbstractModel):
|
|
5521
|
+
r"""ModifyForwardingPolicy返回参数结构体
|
|
5522
|
+
|
|
5523
|
+
"""
|
|
5524
|
+
|
|
5525
|
+
def __init__(self):
|
|
5526
|
+
r"""
|
|
5527
|
+
:param _TaskId: 异步任务ID。
|
|
5528
|
+
:type TaskId: str
|
|
5529
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5530
|
+
:type RequestId: str
|
|
5531
|
+
"""
|
|
5532
|
+
self._TaskId = None
|
|
5533
|
+
self._RequestId = None
|
|
5534
|
+
|
|
5535
|
+
@property
|
|
5536
|
+
def TaskId(self):
|
|
5537
|
+
r"""异步任务ID。
|
|
5538
|
+
:rtype: str
|
|
5539
|
+
"""
|
|
5540
|
+
return self._TaskId
|
|
5541
|
+
|
|
5542
|
+
@TaskId.setter
|
|
5543
|
+
def TaskId(self, TaskId):
|
|
5544
|
+
self._TaskId = TaskId
|
|
5545
|
+
|
|
5546
|
+
@property
|
|
5547
|
+
def RequestId(self):
|
|
5548
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5549
|
+
:rtype: str
|
|
5550
|
+
"""
|
|
5551
|
+
return self._RequestId
|
|
5552
|
+
|
|
5553
|
+
@RequestId.setter
|
|
5554
|
+
def RequestId(self, RequestId):
|
|
5555
|
+
self._RequestId = RequestId
|
|
5556
|
+
|
|
5557
|
+
|
|
5558
|
+
def _deserialize(self, params):
|
|
5559
|
+
self._TaskId = params.get("TaskId")
|
|
5560
|
+
self._RequestId = params.get("RequestId")
|
|
5561
|
+
|
|
5562
|
+
|
|
4887
5563
|
class ModifyForwardingRuleRequest(AbstractModel):
|
|
4888
5564
|
r"""ModifyForwardingRule请求参数结构体
|
|
4889
5565
|
|
|
@@ -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.104
|
|
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.104
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.104
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.100
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|