tencentcloud-sdk-python-ga2 3.1.101__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.101 → tencentcloud_sdk_python_ga2-3.1.104}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ga2-3.1.101 → tencentcloud_sdk_python_ga2-3.1.104}/setup.py +1 -1
- {tencentcloud_sdk_python_ga2-3.1.101 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ga2-3.1.101 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/ga2/v20250115/errorcodes.py +3 -0
- {tencentcloud_sdk_python_ga2-3.1.101 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/ga2/v20250115/ga2_client.py +92 -0
- {tencentcloud_sdk_python_ga2-3.1.101 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/ga2/v20250115/ga2_client_async.py +72 -0
- {tencentcloud_sdk_python_ga2-3.1.101 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/ga2/v20250115/models.py +641 -44
- {tencentcloud_sdk_python_ga2-3.1.101 → 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.101/tencentcloud_sdk_python_ga2.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ga2-3.1.101 → tencentcloud_sdk_python_ga2-3.1.104}/README.rst +0 -0
- {tencentcloud_sdk_python_ga2-3.1.101 → tencentcloud_sdk_python_ga2-3.1.104}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ga2-3.1.101 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/ga2/__init__.py +0 -0
- {tencentcloud_sdk_python_ga2-3.1.101 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud/ga2/v20250115/__init__.py +0 -0
- {tencentcloud_sdk_python_ga2-3.1.101 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud_sdk_python_ga2.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ga2-3.1.101 → tencentcloud_sdk_python_ga2-3.1.104}/tencentcloud_sdk_python_ga2.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ga2-3.1.101 → 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
|
|
|
@@ -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
|
|
|
@@ -486,6 +555,29 @@ class Ga2Client(AbstractClient):
|
|
|
486
555
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
487
556
|
|
|
488
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
|
+
|
|
489
581
|
def ModifyForwardingRule(self, request):
|
|
490
582
|
r"""修改七层转发规则
|
|
491
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,
|
|
@@ -385,6 +439,24 @@ class Ga2Client(AbstractClient):
|
|
|
385
439
|
|
|
386
440
|
return await self.call_and_deserialize(**kwargs)
|
|
387
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
|
+
|
|
388
460
|
async def ModifyForwardingRule(
|
|
389
461
|
self,
|
|
390
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
|
|
|
@@ -2010,11 +2243,154 @@ class DescribeCrossBorderSettlementResponse(AbstractModel):
|
|
|
2010
2243
|
r"""流量用量,单位是GB;精度为保留小数点6位。
|
|
2011
2244
|
:rtype: float
|
|
2012
2245
|
"""
|
|
2013
|
-
return self._Traffic
|
|
2246
|
+
return self._Traffic
|
|
2247
|
+
|
|
2248
|
+
@Traffic.setter
|
|
2249
|
+
def Traffic(self, Traffic):
|
|
2250
|
+
self._Traffic = Traffic
|
|
2251
|
+
|
|
2252
|
+
@property
|
|
2253
|
+
def RequestId(self):
|
|
2254
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2255
|
+
:rtype: str
|
|
2256
|
+
"""
|
|
2257
|
+
return self._RequestId
|
|
2258
|
+
|
|
2259
|
+
@RequestId.setter
|
|
2260
|
+
def RequestId(self, RequestId):
|
|
2261
|
+
self._RequestId = RequestId
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
def _deserialize(self, params):
|
|
2265
|
+
self._Traffic = params.get("Traffic")
|
|
2266
|
+
self._RequestId = params.get("RequestId")
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
class DescribeEndpointGroupsRequest(AbstractModel):
|
|
2270
|
+
r"""DescribeEndpointGroups请求参数结构体
|
|
2271
|
+
|
|
2272
|
+
"""
|
|
2273
|
+
|
|
2274
|
+
def __init__(self):
|
|
2275
|
+
r"""
|
|
2276
|
+
:param _GlobalAcceleratorId: 全球加速实例ID。
|
|
2277
|
+
:type GlobalAcceleratorId: str
|
|
2278
|
+
:param _Offset: 偏移量,默认为0。
|
|
2279
|
+
:type Offset: int
|
|
2280
|
+
:param _Limit: 返回数量,默认为20,最大值为100。
|
|
2281
|
+
:type Limit: int
|
|
2282
|
+
:param _Filters: 过滤条件。 endpoint-group-id- String -(过滤条件)终端节点组实例ID。endpoint-group-type- String -(过滤条件)终端节点组实例类型。
|
|
2283
|
+
:type Filters: list of Filter
|
|
2284
|
+
"""
|
|
2285
|
+
self._GlobalAcceleratorId = None
|
|
2286
|
+
self._Offset = None
|
|
2287
|
+
self._Limit = None
|
|
2288
|
+
self._Filters = None
|
|
2289
|
+
|
|
2290
|
+
@property
|
|
2291
|
+
def GlobalAcceleratorId(self):
|
|
2292
|
+
r"""全球加速实例ID。
|
|
2293
|
+
:rtype: str
|
|
2294
|
+
"""
|
|
2295
|
+
return self._GlobalAcceleratorId
|
|
2296
|
+
|
|
2297
|
+
@GlobalAcceleratorId.setter
|
|
2298
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
2299
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
2300
|
+
|
|
2301
|
+
@property
|
|
2302
|
+
def Offset(self):
|
|
2303
|
+
r"""偏移量,默认为0。
|
|
2304
|
+
:rtype: int
|
|
2305
|
+
"""
|
|
2306
|
+
return self._Offset
|
|
2307
|
+
|
|
2308
|
+
@Offset.setter
|
|
2309
|
+
def Offset(self, Offset):
|
|
2310
|
+
self._Offset = Offset
|
|
2311
|
+
|
|
2312
|
+
@property
|
|
2313
|
+
def Limit(self):
|
|
2314
|
+
r"""返回数量,默认为20,最大值为100。
|
|
2315
|
+
:rtype: int
|
|
2316
|
+
"""
|
|
2317
|
+
return self._Limit
|
|
2318
|
+
|
|
2319
|
+
@Limit.setter
|
|
2320
|
+
def Limit(self, Limit):
|
|
2321
|
+
self._Limit = Limit
|
|
2322
|
+
|
|
2323
|
+
@property
|
|
2324
|
+
def Filters(self):
|
|
2325
|
+
r"""过滤条件。 endpoint-group-id- String -(过滤条件)终端节点组实例ID。endpoint-group-type- String -(过滤条件)终端节点组实例类型。
|
|
2326
|
+
:rtype: list of Filter
|
|
2327
|
+
"""
|
|
2328
|
+
return self._Filters
|
|
2329
|
+
|
|
2330
|
+
@Filters.setter
|
|
2331
|
+
def Filters(self, Filters):
|
|
2332
|
+
self._Filters = Filters
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
def _deserialize(self, params):
|
|
2336
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
2337
|
+
self._Offset = params.get("Offset")
|
|
2338
|
+
self._Limit = params.get("Limit")
|
|
2339
|
+
if params.get("Filters") is not None:
|
|
2340
|
+
self._Filters = []
|
|
2341
|
+
for item in params.get("Filters"):
|
|
2342
|
+
obj = Filter()
|
|
2343
|
+
obj._deserialize(item)
|
|
2344
|
+
self._Filters.append(obj)
|
|
2345
|
+
memeber_set = set(params.keys())
|
|
2346
|
+
for name, value in vars(self).items():
|
|
2347
|
+
property_name = name[1:]
|
|
2348
|
+
if property_name in memeber_set:
|
|
2349
|
+
memeber_set.remove(property_name)
|
|
2350
|
+
if len(memeber_set) > 0:
|
|
2351
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2352
|
+
|
|
2353
|
+
|
|
2354
|
+
|
|
2355
|
+
class DescribeEndpointGroupsResponse(AbstractModel):
|
|
2356
|
+
r"""DescribeEndpointGroups返回参数结构体
|
|
2357
|
+
|
|
2358
|
+
"""
|
|
2359
|
+
|
|
2360
|
+
def __init__(self):
|
|
2361
|
+
r"""
|
|
2362
|
+
:param _EndpointGroupConfigurationSet: 符合条件的终端节点组。
|
|
2363
|
+
:type EndpointGroupConfigurationSet: list of EndpointGroupConfigurationSet
|
|
2364
|
+
:param _TotalCount: 符合条件的实例个数。
|
|
2365
|
+
:type TotalCount: int
|
|
2366
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2367
|
+
:type RequestId: str
|
|
2368
|
+
"""
|
|
2369
|
+
self._EndpointGroupConfigurationSet = None
|
|
2370
|
+
self._TotalCount = None
|
|
2371
|
+
self._RequestId = None
|
|
2372
|
+
|
|
2373
|
+
@property
|
|
2374
|
+
def EndpointGroupConfigurationSet(self):
|
|
2375
|
+
r"""符合条件的终端节点组。
|
|
2376
|
+
:rtype: list of EndpointGroupConfigurationSet
|
|
2377
|
+
"""
|
|
2378
|
+
return self._EndpointGroupConfigurationSet
|
|
2379
|
+
|
|
2380
|
+
@EndpointGroupConfigurationSet.setter
|
|
2381
|
+
def EndpointGroupConfigurationSet(self, EndpointGroupConfigurationSet):
|
|
2382
|
+
self._EndpointGroupConfigurationSet = EndpointGroupConfigurationSet
|
|
2383
|
+
|
|
2384
|
+
@property
|
|
2385
|
+
def TotalCount(self):
|
|
2386
|
+
r"""符合条件的实例个数。
|
|
2387
|
+
:rtype: int
|
|
2388
|
+
"""
|
|
2389
|
+
return self._TotalCount
|
|
2014
2390
|
|
|
2015
|
-
@
|
|
2016
|
-
def
|
|
2017
|
-
self.
|
|
2391
|
+
@TotalCount.setter
|
|
2392
|
+
def TotalCount(self, TotalCount):
|
|
2393
|
+
self._TotalCount = TotalCount
|
|
2018
2394
|
|
|
2019
2395
|
@property
|
|
2020
2396
|
def RequestId(self):
|
|
@@ -2029,12 +2405,18 @@ class DescribeCrossBorderSettlementResponse(AbstractModel):
|
|
|
2029
2405
|
|
|
2030
2406
|
|
|
2031
2407
|
def _deserialize(self, params):
|
|
2032
|
-
|
|
2408
|
+
if params.get("EndpointGroupConfigurationSet") is not None:
|
|
2409
|
+
self._EndpointGroupConfigurationSet = []
|
|
2410
|
+
for item in params.get("EndpointGroupConfigurationSet"):
|
|
2411
|
+
obj = EndpointGroupConfigurationSet()
|
|
2412
|
+
obj._deserialize(item)
|
|
2413
|
+
self._EndpointGroupConfigurationSet.append(obj)
|
|
2414
|
+
self._TotalCount = params.get("TotalCount")
|
|
2033
2415
|
self._RequestId = params.get("RequestId")
|
|
2034
2416
|
|
|
2035
2417
|
|
|
2036
|
-
class
|
|
2037
|
-
r"""
|
|
2418
|
+
class DescribeForwardingPolicyRequest(AbstractModel):
|
|
2419
|
+
r"""DescribeForwardingPolicy请求参数结构体
|
|
2038
2420
|
|
|
2039
2421
|
"""
|
|
2040
2422
|
|
|
@@ -2042,17 +2424,17 @@ class DescribeEndpointGroupsRequest(AbstractModel):
|
|
|
2042
2424
|
r"""
|
|
2043
2425
|
:param _GlobalAcceleratorId: 全球加速实例ID。
|
|
2044
2426
|
:type GlobalAcceleratorId: str
|
|
2427
|
+
:param _ListenerId: 监听器ID。
|
|
2428
|
+
:type ListenerId: str
|
|
2045
2429
|
:param _Offset: 偏移量,默认为0。
|
|
2046
2430
|
:type Offset: int
|
|
2047
2431
|
:param _Limit: 返回数量,默认为20,最大值为100。
|
|
2048
2432
|
:type Limit: int
|
|
2049
|
-
:param _Filters: 过滤条件。 endpoint-group-id- String -(过滤条件)终端节点组实例ID。endpoint-group-type- String -(过滤条件)终端节点组实例类型。
|
|
2050
|
-
:type Filters: list of Filter
|
|
2051
2433
|
"""
|
|
2052
2434
|
self._GlobalAcceleratorId = None
|
|
2435
|
+
self._ListenerId = None
|
|
2053
2436
|
self._Offset = None
|
|
2054
2437
|
self._Limit = None
|
|
2055
|
-
self._Filters = None
|
|
2056
2438
|
|
|
2057
2439
|
@property
|
|
2058
2440
|
def GlobalAcceleratorId(self):
|
|
@@ -2065,6 +2447,17 @@ class DescribeEndpointGroupsRequest(AbstractModel):
|
|
|
2065
2447
|
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
2066
2448
|
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
2067
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
|
+
|
|
2068
2461
|
@property
|
|
2069
2462
|
def Offset(self):
|
|
2070
2463
|
r"""偏移量,默认为0。
|
|
@@ -2087,28 +2480,12 @@ class DescribeEndpointGroupsRequest(AbstractModel):
|
|
|
2087
2480
|
def Limit(self, Limit):
|
|
2088
2481
|
self._Limit = Limit
|
|
2089
2482
|
|
|
2090
|
-
@property
|
|
2091
|
-
def Filters(self):
|
|
2092
|
-
r"""过滤条件。 endpoint-group-id- String -(过滤条件)终端节点组实例ID。endpoint-group-type- String -(过滤条件)终端节点组实例类型。
|
|
2093
|
-
:rtype: list of Filter
|
|
2094
|
-
"""
|
|
2095
|
-
return self._Filters
|
|
2096
|
-
|
|
2097
|
-
@Filters.setter
|
|
2098
|
-
def Filters(self, Filters):
|
|
2099
|
-
self._Filters = Filters
|
|
2100
|
-
|
|
2101
2483
|
|
|
2102
2484
|
def _deserialize(self, params):
|
|
2103
2485
|
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
2486
|
+
self._ListenerId = params.get("ListenerId")
|
|
2104
2487
|
self._Offset = params.get("Offset")
|
|
2105
2488
|
self._Limit = params.get("Limit")
|
|
2106
|
-
if params.get("Filters") is not None:
|
|
2107
|
-
self._Filters = []
|
|
2108
|
-
for item in params.get("Filters"):
|
|
2109
|
-
obj = Filter()
|
|
2110
|
-
obj._deserialize(item)
|
|
2111
|
-
self._Filters.append(obj)
|
|
2112
2489
|
memeber_set = set(params.keys())
|
|
2113
2490
|
for name, value in vars(self).items():
|
|
2114
2491
|
property_name = name[1:]
|
|
@@ -2119,34 +2496,34 @@ class DescribeEndpointGroupsRequest(AbstractModel):
|
|
|
2119
2496
|
|
|
2120
2497
|
|
|
2121
2498
|
|
|
2122
|
-
class
|
|
2123
|
-
r"""
|
|
2499
|
+
class DescribeForwardingPolicyResponse(AbstractModel):
|
|
2500
|
+
r"""DescribeForwardingPolicy返回参数结构体
|
|
2124
2501
|
|
|
2125
2502
|
"""
|
|
2126
2503
|
|
|
2127
2504
|
def __init__(self):
|
|
2128
2505
|
r"""
|
|
2129
|
-
:param
|
|
2130
|
-
:type
|
|
2506
|
+
:param _ForwardingPolicySet: 符合条件的策略信息。
|
|
2507
|
+
:type ForwardingPolicySet: list of ForwardingPolicySet
|
|
2131
2508
|
:param _TotalCount: 符合条件的实例个数。
|
|
2132
2509
|
:type TotalCount: int
|
|
2133
2510
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2134
2511
|
:type RequestId: str
|
|
2135
2512
|
"""
|
|
2136
|
-
self.
|
|
2513
|
+
self._ForwardingPolicySet = None
|
|
2137
2514
|
self._TotalCount = None
|
|
2138
2515
|
self._RequestId = None
|
|
2139
2516
|
|
|
2140
2517
|
@property
|
|
2141
|
-
def
|
|
2142
|
-
r"""
|
|
2143
|
-
:rtype: list of
|
|
2518
|
+
def ForwardingPolicySet(self):
|
|
2519
|
+
r"""符合条件的策略信息。
|
|
2520
|
+
:rtype: list of ForwardingPolicySet
|
|
2144
2521
|
"""
|
|
2145
|
-
return self.
|
|
2522
|
+
return self._ForwardingPolicySet
|
|
2146
2523
|
|
|
2147
|
-
@
|
|
2148
|
-
def
|
|
2149
|
-
self.
|
|
2524
|
+
@ForwardingPolicySet.setter
|
|
2525
|
+
def ForwardingPolicySet(self, ForwardingPolicySet):
|
|
2526
|
+
self._ForwardingPolicySet = ForwardingPolicySet
|
|
2150
2527
|
|
|
2151
2528
|
@property
|
|
2152
2529
|
def TotalCount(self):
|
|
@@ -2172,12 +2549,12 @@ class DescribeEndpointGroupsResponse(AbstractModel):
|
|
|
2172
2549
|
|
|
2173
2550
|
|
|
2174
2551
|
def _deserialize(self, params):
|
|
2175
|
-
if params.get("
|
|
2176
|
-
self.
|
|
2177
|
-
for item in params.get("
|
|
2178
|
-
obj =
|
|
2552
|
+
if params.get("ForwardingPolicySet") is not None:
|
|
2553
|
+
self._ForwardingPolicySet = []
|
|
2554
|
+
for item in params.get("ForwardingPolicySet"):
|
|
2555
|
+
obj = ForwardingPolicySet()
|
|
2179
2556
|
obj._deserialize(item)
|
|
2180
|
-
self.
|
|
2557
|
+
self._ForwardingPolicySet.append(obj)
|
|
2181
2558
|
self._TotalCount = params.get("TotalCount")
|
|
2182
2559
|
self._RequestId = params.get("RequestId")
|
|
2183
2560
|
|
|
@@ -3647,6 +4024,102 @@ class Filter(AbstractModel):
|
|
|
3647
4024
|
|
|
3648
4025
|
|
|
3649
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
|
+
|
|
3650
4123
|
class ForwardingRuleSet(AbstractModel):
|
|
3651
4124
|
r"""七层转发规则信息
|
|
3652
4125
|
|
|
@@ -4963,6 +5436,130 @@ class ModifyEndpointGroupResponse(AbstractModel):
|
|
|
4963
5436
|
self._RequestId = params.get("RequestId")
|
|
4964
5437
|
|
|
4965
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
|
+
|
|
4966
5563
|
class ModifyForwardingRuleRequest(AbstractModel):
|
|
4967
5564
|
r"""ModifyForwardingRule请求参数结构体
|
|
4968
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.101
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|