tencentcloud-sdk-python-ga2 3.1.134__tar.gz → 3.1.137__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.134 → tencentcloud_sdk_python_ga2-3.1.137}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/setup.py +1 -1
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/tencentcloud/ga2/v20250115/errorcodes.py +9 -0
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/tencentcloud/ga2/v20250115/ga2_client.py +138 -0
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/tencentcloud/ga2/v20250115/ga2_client_async.py +108 -0
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/tencentcloud/ga2/v20250115/models.py +862 -32
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/tencentcloud_sdk_python_ga2.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ga2-3.1.137/tencentcloud_sdk_python_ga2.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ga2-3.1.134/tencentcloud_sdk_python_ga2.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/README.rst +0 -0
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/tencentcloud/ga2/__init__.py +0 -0
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/tencentcloud/ga2/v20250115/__init__.py +0 -0
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/tencentcloud_sdk_python_ga2.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/tencentcloud_sdk_python_ga2.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ga2-3.1.134 → tencentcloud_sdk_python_ga2-3.1.137}/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.137
|
|
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.137
|
|
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.137,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ga2 SDK for Python',
|
|
@@ -98,6 +98,9 @@ INVALIDPARAMETERVALUE_INSTANCEMISMATCH = 'InvalidParameterValue.InstanceMismatch
|
|
|
98
98
|
# 实例名称仅支持以大小写字符或中文开头,支持数字、英文句号、或段划线、下划线。
|
|
99
99
|
INVALIDPARAMETERVALUE_INSTANCENAME = 'InvalidParameterValue.InstanceName'
|
|
100
100
|
|
|
101
|
+
# 参数 `%(parameter)s` 值 `%(value)s` 数量超过限制。不能大于 `%(limit)s` 个。
|
|
102
|
+
INVALIDPARAMETERVALUE_LIMITEXCEEDED = 'InvalidParameterValue.LimitExceeded'
|
|
103
|
+
|
|
101
104
|
# 终端节点组监听端口要和终端节点组所属监听器端口保持一致。
|
|
102
105
|
INVALIDPARAMETERVALUE_LISTENERPORTNOTEQUAL = 'InvalidParameterValue.ListenerPortNotEqual'
|
|
103
106
|
|
|
@@ -227,6 +230,9 @@ UNSUPPORTEDOPERATION_EXISTGLOBALACCELERATORACLPOLICY = 'UnsupportedOperation.Exi
|
|
|
227
230
|
# 存在监听器,不支持当前操作。
|
|
228
231
|
UNSUPPORTEDOPERATION_EXISTLISTENER = 'UnsupportedOperation.ExistListener'
|
|
229
232
|
|
|
233
|
+
# 存在第三方节点,不允许配置默认准许所有流量访问通道策略。
|
|
234
|
+
UNSUPPORTEDOPERATION_EXISTTHIRDPARTYNODES = 'UnsupportedOperation.ExistThirdPartyNodes'
|
|
235
|
+
|
|
230
236
|
# 转发规则不支持配置默认终端节点组。
|
|
231
237
|
UNSUPPORTEDOPERATION_FORWARDGROUPFORWARDINGRULEUNSUPPORTEDDEFAULTENDPOINTGROUP = 'UnsupportedOperation.ForwardGroupForwardingRuleUnsupportedDefaultEndpointGroup'
|
|
232
238
|
|
|
@@ -257,6 +263,9 @@ UNSUPPORTEDOPERATION_NOTSETCROSSBORDERTYPE = 'UnsupportedOperation.NotSetCrossBo
|
|
|
257
263
|
# 仅TCP监听器,支持通过TOA获取客户端IP。
|
|
258
264
|
UNSUPPORTEDOPERATION_ONLYTCPLISTENERSUPPORTTOA = 'UnsupportedOperation.OnlyTcpListenerSupportToa'
|
|
259
265
|
|
|
266
|
+
# 请求参数错误,不支持当前操作。具体出错信息为:`%(info)s` 。
|
|
267
|
+
UNSUPPORTEDOPERATION_REQUESTPARAMETERSERROR = 'UnsupportedOperation.RequestParametersError'
|
|
268
|
+
|
|
260
269
|
# 当前操作使终端节点组域名和全球加速实例域名一致,不支持当前操作。
|
|
261
270
|
UNSUPPORTEDOPERATION_SAMEDOMAIN = 'UnsupportedOperation.SameDomain'
|
|
262
271
|
|
|
@@ -141,6 +141,52 @@ class Ga2Client(AbstractClient):
|
|
|
141
141
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
142
142
|
|
|
143
143
|
|
|
144
|
+
def CreateGlobalAcceleratorAclPolicy(self, request):
|
|
145
|
+
r"""创建访问控制策略
|
|
146
|
+
|
|
147
|
+
:param request: Request instance for CreateGlobalAcceleratorAclPolicy.
|
|
148
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.CreateGlobalAcceleratorAclPolicyRequest`
|
|
149
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.CreateGlobalAcceleratorAclPolicyResponse`
|
|
150
|
+
|
|
151
|
+
"""
|
|
152
|
+
try:
|
|
153
|
+
params = request._serialize()
|
|
154
|
+
headers = request.headers
|
|
155
|
+
body = self.call("CreateGlobalAcceleratorAclPolicy", params, headers=headers)
|
|
156
|
+
response = json.loads(body)
|
|
157
|
+
model = models.CreateGlobalAcceleratorAclPolicyResponse()
|
|
158
|
+
model._deserialize(response["Response"])
|
|
159
|
+
return model
|
|
160
|
+
except Exception as e:
|
|
161
|
+
if isinstance(e, TencentCloudSDKException):
|
|
162
|
+
raise
|
|
163
|
+
else:
|
|
164
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
def CreateGlobalAcceleratorAclRule(self, request):
|
|
168
|
+
r"""创建ACL规则
|
|
169
|
+
|
|
170
|
+
:param request: Request instance for CreateGlobalAcceleratorAclRule.
|
|
171
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.CreateGlobalAcceleratorAclRuleRequest`
|
|
172
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.CreateGlobalAcceleratorAclRuleResponse`
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
try:
|
|
176
|
+
params = request._serialize()
|
|
177
|
+
headers = request.headers
|
|
178
|
+
body = self.call("CreateGlobalAcceleratorAclRule", params, headers=headers)
|
|
179
|
+
response = json.loads(body)
|
|
180
|
+
model = models.CreateGlobalAcceleratorAclRuleResponse()
|
|
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
|
+
|
|
144
190
|
def CreateListener(self, request):
|
|
145
191
|
r"""创建监听器
|
|
146
192
|
|
|
@@ -302,6 +348,52 @@ class Ga2Client(AbstractClient):
|
|
|
302
348
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
349
|
|
|
304
350
|
|
|
351
|
+
def DeleteGlobalAcceleratorAclPolicy(self, request):
|
|
352
|
+
r"""删除访问控制策略
|
|
353
|
+
|
|
354
|
+
:param request: Request instance for DeleteGlobalAcceleratorAclPolicy.
|
|
355
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.DeleteGlobalAcceleratorAclPolicyRequest`
|
|
356
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.DeleteGlobalAcceleratorAclPolicyResponse`
|
|
357
|
+
|
|
358
|
+
"""
|
|
359
|
+
try:
|
|
360
|
+
params = request._serialize()
|
|
361
|
+
headers = request.headers
|
|
362
|
+
body = self.call("DeleteGlobalAcceleratorAclPolicy", params, headers=headers)
|
|
363
|
+
response = json.loads(body)
|
|
364
|
+
model = models.DeleteGlobalAcceleratorAclPolicyResponse()
|
|
365
|
+
model._deserialize(response["Response"])
|
|
366
|
+
return model
|
|
367
|
+
except Exception as e:
|
|
368
|
+
if isinstance(e, TencentCloudSDKException):
|
|
369
|
+
raise
|
|
370
|
+
else:
|
|
371
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
def DeleteGlobalAcceleratorAclRule(self, request):
|
|
375
|
+
r"""删除ACL规则
|
|
376
|
+
|
|
377
|
+
:param request: Request instance for DeleteGlobalAcceleratorAclRule.
|
|
378
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.DeleteGlobalAcceleratorAclRuleRequest`
|
|
379
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.DeleteGlobalAcceleratorAclRuleResponse`
|
|
380
|
+
|
|
381
|
+
"""
|
|
382
|
+
try:
|
|
383
|
+
params = request._serialize()
|
|
384
|
+
headers = request.headers
|
|
385
|
+
body = self.call("DeleteGlobalAcceleratorAclRule", params, headers=headers)
|
|
386
|
+
response = json.loads(body)
|
|
387
|
+
model = models.DeleteGlobalAcceleratorAclRuleResponse()
|
|
388
|
+
model._deserialize(response["Response"])
|
|
389
|
+
return model
|
|
390
|
+
except Exception as e:
|
|
391
|
+
if isinstance(e, TencentCloudSDKException):
|
|
392
|
+
raise
|
|
393
|
+
else:
|
|
394
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
395
|
+
|
|
396
|
+
|
|
305
397
|
def DeleteListener(self, request):
|
|
306
398
|
r"""删除监听器
|
|
307
399
|
|
|
@@ -670,6 +762,52 @@ class Ga2Client(AbstractClient):
|
|
|
670
762
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
671
763
|
|
|
672
764
|
|
|
765
|
+
def ModifyGlobalAcceleratorAclPolicy(self, request):
|
|
766
|
+
r"""修改访问控制策略状态
|
|
767
|
+
|
|
768
|
+
:param request: Request instance for ModifyGlobalAcceleratorAclPolicy.
|
|
769
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.ModifyGlobalAcceleratorAclPolicyRequest`
|
|
770
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.ModifyGlobalAcceleratorAclPolicyResponse`
|
|
771
|
+
|
|
772
|
+
"""
|
|
773
|
+
try:
|
|
774
|
+
params = request._serialize()
|
|
775
|
+
headers = request.headers
|
|
776
|
+
body = self.call("ModifyGlobalAcceleratorAclPolicy", params, headers=headers)
|
|
777
|
+
response = json.loads(body)
|
|
778
|
+
model = models.ModifyGlobalAcceleratorAclPolicyResponse()
|
|
779
|
+
model._deserialize(response["Response"])
|
|
780
|
+
return model
|
|
781
|
+
except Exception as e:
|
|
782
|
+
if isinstance(e, TencentCloudSDKException):
|
|
783
|
+
raise
|
|
784
|
+
else:
|
|
785
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
def ModifyGlobalAcceleratorAclRule(self, request):
|
|
789
|
+
r"""修改ACL规则
|
|
790
|
+
|
|
791
|
+
:param request: Request instance for ModifyGlobalAcceleratorAclRule.
|
|
792
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.ModifyGlobalAcceleratorAclRuleRequest`
|
|
793
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.ModifyGlobalAcceleratorAclRuleResponse`
|
|
794
|
+
|
|
795
|
+
"""
|
|
796
|
+
try:
|
|
797
|
+
params = request._serialize()
|
|
798
|
+
headers = request.headers
|
|
799
|
+
body = self.call("ModifyGlobalAcceleratorAclRule", params, headers=headers)
|
|
800
|
+
response = json.loads(body)
|
|
801
|
+
model = models.ModifyGlobalAcceleratorAclRuleResponse()
|
|
802
|
+
model._deserialize(response["Response"])
|
|
803
|
+
return model
|
|
804
|
+
except Exception as e:
|
|
805
|
+
if isinstance(e, TencentCloudSDKException):
|
|
806
|
+
raise
|
|
807
|
+
else:
|
|
808
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
809
|
+
|
|
810
|
+
|
|
673
811
|
def ModifyListener(self, request):
|
|
674
812
|
r"""修改监听器
|
|
675
813
|
|
|
@@ -115,6 +115,42 @@ class Ga2Client(AbstractClient):
|
|
|
115
115
|
|
|
116
116
|
return await self.call_and_deserialize(**kwargs)
|
|
117
117
|
|
|
118
|
+
async def CreateGlobalAcceleratorAclPolicy(
|
|
119
|
+
self,
|
|
120
|
+
request: models.CreateGlobalAcceleratorAclPolicyRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.CreateGlobalAcceleratorAclPolicyResponse:
|
|
123
|
+
"""
|
|
124
|
+
创建访问控制策略
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "CreateGlobalAcceleratorAclPolicy"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.CreateGlobalAcceleratorAclPolicyResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
135
|
+
|
|
136
|
+
async def CreateGlobalAcceleratorAclRule(
|
|
137
|
+
self,
|
|
138
|
+
request: models.CreateGlobalAcceleratorAclRuleRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.CreateGlobalAcceleratorAclRuleResponse:
|
|
141
|
+
"""
|
|
142
|
+
创建ACL规则
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "CreateGlobalAcceleratorAclRule"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.CreateGlobalAcceleratorAclRuleResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
118
154
|
async def CreateListener(
|
|
119
155
|
self,
|
|
120
156
|
request: models.CreateListenerRequest,
|
|
@@ -241,6 +277,42 @@ class Ga2Client(AbstractClient):
|
|
|
241
277
|
|
|
242
278
|
return await self.call_and_deserialize(**kwargs)
|
|
243
279
|
|
|
280
|
+
async def DeleteGlobalAcceleratorAclPolicy(
|
|
281
|
+
self,
|
|
282
|
+
request: models.DeleteGlobalAcceleratorAclPolicyRequest,
|
|
283
|
+
opts: Dict = None,
|
|
284
|
+
) -> models.DeleteGlobalAcceleratorAclPolicyResponse:
|
|
285
|
+
"""
|
|
286
|
+
删除访问控制策略
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
kwargs = {}
|
|
290
|
+
kwargs["action"] = "DeleteGlobalAcceleratorAclPolicy"
|
|
291
|
+
kwargs["params"] = request._serialize()
|
|
292
|
+
kwargs["resp_cls"] = models.DeleteGlobalAcceleratorAclPolicyResponse
|
|
293
|
+
kwargs["headers"] = request.headers
|
|
294
|
+
kwargs["opts"] = opts or {}
|
|
295
|
+
|
|
296
|
+
return await self.call_and_deserialize(**kwargs)
|
|
297
|
+
|
|
298
|
+
async def DeleteGlobalAcceleratorAclRule(
|
|
299
|
+
self,
|
|
300
|
+
request: models.DeleteGlobalAcceleratorAclRuleRequest,
|
|
301
|
+
opts: Dict = None,
|
|
302
|
+
) -> models.DeleteGlobalAcceleratorAclRuleResponse:
|
|
303
|
+
"""
|
|
304
|
+
删除ACL规则
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
kwargs = {}
|
|
308
|
+
kwargs["action"] = "DeleteGlobalAcceleratorAclRule"
|
|
309
|
+
kwargs["params"] = request._serialize()
|
|
310
|
+
kwargs["resp_cls"] = models.DeleteGlobalAcceleratorAclRuleResponse
|
|
311
|
+
kwargs["headers"] = request.headers
|
|
312
|
+
kwargs["opts"] = opts or {}
|
|
313
|
+
|
|
314
|
+
return await self.call_and_deserialize(**kwargs)
|
|
315
|
+
|
|
244
316
|
async def DeleteListener(
|
|
245
317
|
self,
|
|
246
318
|
request: models.DeleteListenerRequest,
|
|
@@ -529,6 +601,42 @@ class Ga2Client(AbstractClient):
|
|
|
529
601
|
|
|
530
602
|
return await self.call_and_deserialize(**kwargs)
|
|
531
603
|
|
|
604
|
+
async def ModifyGlobalAcceleratorAclPolicy(
|
|
605
|
+
self,
|
|
606
|
+
request: models.ModifyGlobalAcceleratorAclPolicyRequest,
|
|
607
|
+
opts: Dict = None,
|
|
608
|
+
) -> models.ModifyGlobalAcceleratorAclPolicyResponse:
|
|
609
|
+
"""
|
|
610
|
+
修改访问控制策略状态
|
|
611
|
+
"""
|
|
612
|
+
|
|
613
|
+
kwargs = {}
|
|
614
|
+
kwargs["action"] = "ModifyGlobalAcceleratorAclPolicy"
|
|
615
|
+
kwargs["params"] = request._serialize()
|
|
616
|
+
kwargs["resp_cls"] = models.ModifyGlobalAcceleratorAclPolicyResponse
|
|
617
|
+
kwargs["headers"] = request.headers
|
|
618
|
+
kwargs["opts"] = opts or {}
|
|
619
|
+
|
|
620
|
+
return await self.call_and_deserialize(**kwargs)
|
|
621
|
+
|
|
622
|
+
async def ModifyGlobalAcceleratorAclRule(
|
|
623
|
+
self,
|
|
624
|
+
request: models.ModifyGlobalAcceleratorAclRuleRequest,
|
|
625
|
+
opts: Dict = None,
|
|
626
|
+
) -> models.ModifyGlobalAcceleratorAclRuleResponse:
|
|
627
|
+
"""
|
|
628
|
+
修改ACL规则
|
|
629
|
+
"""
|
|
630
|
+
|
|
631
|
+
kwargs = {}
|
|
632
|
+
kwargs["action"] = "ModifyGlobalAcceleratorAclRule"
|
|
633
|
+
kwargs["params"] = request._serialize()
|
|
634
|
+
kwargs["resp_cls"] = models.ModifyGlobalAcceleratorAclRuleResponse
|
|
635
|
+
kwargs["headers"] = request.headers
|
|
636
|
+
kwargs["opts"] = opts or {}
|
|
637
|
+
|
|
638
|
+
return await self.call_and_deserialize(**kwargs)
|
|
639
|
+
|
|
532
640
|
async def ModifyListener(
|
|
533
641
|
self,
|
|
534
642
|
request: models.ModifyListenerRequest,
|
|
@@ -277,6 +277,102 @@ class AcceleratorRegionSet(AbstractModel):
|
|
|
277
277
|
|
|
278
278
|
|
|
279
279
|
|
|
280
|
+
class AclEntries(AbstractModel):
|
|
281
|
+
r"""Acl信息
|
|
282
|
+
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
def __init__(self):
|
|
286
|
+
r"""
|
|
287
|
+
:param _Protocol: <p>协议。</p><p>入参限制:支持配置'TCP', 'UDP', 'ALL';</p>
|
|
288
|
+
:type Protocol: str
|
|
289
|
+
:param _Port: <p>端口。</p>
|
|
290
|
+
:type Port: str
|
|
291
|
+
:param _SourceCidrBlock: <p>网段。</p>
|
|
292
|
+
:type SourceCidrBlock: str
|
|
293
|
+
:param _Policy: <p>执行动作。</p><p>入参限制:支持配置'ACCEPT', 'DROP';</p>
|
|
294
|
+
:type Policy: str
|
|
295
|
+
:param _Description: <p>描述信息,最大长度不能超过100个字节。</p>
|
|
296
|
+
:type Description: str
|
|
297
|
+
"""
|
|
298
|
+
self._Protocol = None
|
|
299
|
+
self._Port = None
|
|
300
|
+
self._SourceCidrBlock = None
|
|
301
|
+
self._Policy = None
|
|
302
|
+
self._Description = None
|
|
303
|
+
|
|
304
|
+
@property
|
|
305
|
+
def Protocol(self):
|
|
306
|
+
r"""<p>协议。</p><p>入参限制:支持配置'TCP', 'UDP', 'ALL';</p>
|
|
307
|
+
:rtype: str
|
|
308
|
+
"""
|
|
309
|
+
return self._Protocol
|
|
310
|
+
|
|
311
|
+
@Protocol.setter
|
|
312
|
+
def Protocol(self, Protocol):
|
|
313
|
+
self._Protocol = Protocol
|
|
314
|
+
|
|
315
|
+
@property
|
|
316
|
+
def Port(self):
|
|
317
|
+
r"""<p>端口。</p>
|
|
318
|
+
:rtype: str
|
|
319
|
+
"""
|
|
320
|
+
return self._Port
|
|
321
|
+
|
|
322
|
+
@Port.setter
|
|
323
|
+
def Port(self, Port):
|
|
324
|
+
self._Port = Port
|
|
325
|
+
|
|
326
|
+
@property
|
|
327
|
+
def SourceCidrBlock(self):
|
|
328
|
+
r"""<p>网段。</p>
|
|
329
|
+
:rtype: str
|
|
330
|
+
"""
|
|
331
|
+
return self._SourceCidrBlock
|
|
332
|
+
|
|
333
|
+
@SourceCidrBlock.setter
|
|
334
|
+
def SourceCidrBlock(self, SourceCidrBlock):
|
|
335
|
+
self._SourceCidrBlock = SourceCidrBlock
|
|
336
|
+
|
|
337
|
+
@property
|
|
338
|
+
def Policy(self):
|
|
339
|
+
r"""<p>执行动作。</p><p>入参限制:支持配置'ACCEPT', 'DROP';</p>
|
|
340
|
+
:rtype: str
|
|
341
|
+
"""
|
|
342
|
+
return self._Policy
|
|
343
|
+
|
|
344
|
+
@Policy.setter
|
|
345
|
+
def Policy(self, Policy):
|
|
346
|
+
self._Policy = Policy
|
|
347
|
+
|
|
348
|
+
@property
|
|
349
|
+
def Description(self):
|
|
350
|
+
r"""<p>描述信息,最大长度不能超过100个字节。</p>
|
|
351
|
+
:rtype: str
|
|
352
|
+
"""
|
|
353
|
+
return self._Description
|
|
354
|
+
|
|
355
|
+
@Description.setter
|
|
356
|
+
def Description(self, Description):
|
|
357
|
+
self._Description = Description
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
def _deserialize(self, params):
|
|
361
|
+
self._Protocol = params.get("Protocol")
|
|
362
|
+
self._Port = params.get("Port")
|
|
363
|
+
self._SourceCidrBlock = params.get("SourceCidrBlock")
|
|
364
|
+
self._Policy = params.get("Policy")
|
|
365
|
+
self._Description = params.get("Description")
|
|
366
|
+
memeber_set = set(params.keys())
|
|
367
|
+
for name, value in vars(self).items():
|
|
368
|
+
property_name = name[1:]
|
|
369
|
+
if property_name in memeber_set:
|
|
370
|
+
memeber_set.remove(property_name)
|
|
371
|
+
if len(memeber_set) > 0:
|
|
372
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
280
376
|
class CreateAccelerateAreasRequest(AbstractModel):
|
|
281
377
|
r"""CreateAccelerateAreas请求参数结构体
|
|
282
378
|
|
|
@@ -910,6 +1006,244 @@ class CreateForwardingRuleResponse(AbstractModel):
|
|
|
910
1006
|
self._RequestId = params.get("RequestId")
|
|
911
1007
|
|
|
912
1008
|
|
|
1009
|
+
class CreateGlobalAcceleratorAclPolicyRequest(AbstractModel):
|
|
1010
|
+
r"""CreateGlobalAcceleratorAclPolicy请求参数结构体
|
|
1011
|
+
|
|
1012
|
+
"""
|
|
1013
|
+
|
|
1014
|
+
def __init__(self):
|
|
1015
|
+
r"""
|
|
1016
|
+
:param _GlobalAcceleratorId: <p>全球加速实例ID。</p>
|
|
1017
|
+
:type GlobalAcceleratorId: str
|
|
1018
|
+
:param _DefaultAction: <p>默认行为。</p><p>枚举值:</p><ul><li>ACCEPT: 默认准许所有流量访问通道</li><li>DROP: 默认拒绝所有流量访问通道</li></ul>
|
|
1019
|
+
:type DefaultAction: str
|
|
1020
|
+
"""
|
|
1021
|
+
self._GlobalAcceleratorId = None
|
|
1022
|
+
self._DefaultAction = None
|
|
1023
|
+
|
|
1024
|
+
@property
|
|
1025
|
+
def GlobalAcceleratorId(self):
|
|
1026
|
+
r"""<p>全球加速实例ID。</p>
|
|
1027
|
+
:rtype: str
|
|
1028
|
+
"""
|
|
1029
|
+
return self._GlobalAcceleratorId
|
|
1030
|
+
|
|
1031
|
+
@GlobalAcceleratorId.setter
|
|
1032
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
1033
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
1034
|
+
|
|
1035
|
+
@property
|
|
1036
|
+
def DefaultAction(self):
|
|
1037
|
+
r"""<p>默认行为。</p><p>枚举值:</p><ul><li>ACCEPT: 默认准许所有流量访问通道</li><li>DROP: 默认拒绝所有流量访问通道</li></ul>
|
|
1038
|
+
:rtype: str
|
|
1039
|
+
"""
|
|
1040
|
+
return self._DefaultAction
|
|
1041
|
+
|
|
1042
|
+
@DefaultAction.setter
|
|
1043
|
+
def DefaultAction(self, DefaultAction):
|
|
1044
|
+
self._DefaultAction = DefaultAction
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
def _deserialize(self, params):
|
|
1048
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
1049
|
+
self._DefaultAction = params.get("DefaultAction")
|
|
1050
|
+
memeber_set = set(params.keys())
|
|
1051
|
+
for name, value in vars(self).items():
|
|
1052
|
+
property_name = name[1:]
|
|
1053
|
+
if property_name in memeber_set:
|
|
1054
|
+
memeber_set.remove(property_name)
|
|
1055
|
+
if len(memeber_set) > 0:
|
|
1056
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
class CreateGlobalAcceleratorAclPolicyResponse(AbstractModel):
|
|
1061
|
+
r"""CreateGlobalAcceleratorAclPolicy返回参数结构体
|
|
1062
|
+
|
|
1063
|
+
"""
|
|
1064
|
+
|
|
1065
|
+
def __init__(self):
|
|
1066
|
+
r"""
|
|
1067
|
+
:param _TaskId: <p>异步任务ID。</p>
|
|
1068
|
+
:type TaskId: str
|
|
1069
|
+
:param _GlobalAcceleratorAclPolicyId: <p>访问控制策略ID。</p>
|
|
1070
|
+
:type GlobalAcceleratorAclPolicyId: str
|
|
1071
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1072
|
+
:type RequestId: str
|
|
1073
|
+
"""
|
|
1074
|
+
self._TaskId = None
|
|
1075
|
+
self._GlobalAcceleratorAclPolicyId = None
|
|
1076
|
+
self._RequestId = None
|
|
1077
|
+
|
|
1078
|
+
@property
|
|
1079
|
+
def TaskId(self):
|
|
1080
|
+
r"""<p>异步任务ID。</p>
|
|
1081
|
+
:rtype: str
|
|
1082
|
+
"""
|
|
1083
|
+
return self._TaskId
|
|
1084
|
+
|
|
1085
|
+
@TaskId.setter
|
|
1086
|
+
def TaskId(self, TaskId):
|
|
1087
|
+
self._TaskId = TaskId
|
|
1088
|
+
|
|
1089
|
+
@property
|
|
1090
|
+
def GlobalAcceleratorAclPolicyId(self):
|
|
1091
|
+
r"""<p>访问控制策略ID。</p>
|
|
1092
|
+
:rtype: str
|
|
1093
|
+
"""
|
|
1094
|
+
return self._GlobalAcceleratorAclPolicyId
|
|
1095
|
+
|
|
1096
|
+
@GlobalAcceleratorAclPolicyId.setter
|
|
1097
|
+
def GlobalAcceleratorAclPolicyId(self, GlobalAcceleratorAclPolicyId):
|
|
1098
|
+
self._GlobalAcceleratorAclPolicyId = GlobalAcceleratorAclPolicyId
|
|
1099
|
+
|
|
1100
|
+
@property
|
|
1101
|
+
def RequestId(self):
|
|
1102
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1103
|
+
:rtype: str
|
|
1104
|
+
"""
|
|
1105
|
+
return self._RequestId
|
|
1106
|
+
|
|
1107
|
+
@RequestId.setter
|
|
1108
|
+
def RequestId(self, RequestId):
|
|
1109
|
+
self._RequestId = RequestId
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
def _deserialize(self, params):
|
|
1113
|
+
self._TaskId = params.get("TaskId")
|
|
1114
|
+
self._GlobalAcceleratorAclPolicyId = params.get("GlobalAcceleratorAclPolicyId")
|
|
1115
|
+
self._RequestId = params.get("RequestId")
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
class CreateGlobalAcceleratorAclRuleRequest(AbstractModel):
|
|
1119
|
+
r"""CreateGlobalAcceleratorAclRule请求参数结构体
|
|
1120
|
+
|
|
1121
|
+
"""
|
|
1122
|
+
|
|
1123
|
+
def __init__(self):
|
|
1124
|
+
r"""
|
|
1125
|
+
:param _GlobalAcceleratorId: 全球加速实例ID。
|
|
1126
|
+
:type GlobalAcceleratorId: str
|
|
1127
|
+
:param _GlobalAcceleratorAclPolicyId: 安全策略ID
|
|
1128
|
+
:type GlobalAcceleratorAclPolicyId: str
|
|
1129
|
+
:param _AclEntries: Acl信息。
|
|
1130
|
+
:type AclEntries: list of AclEntries
|
|
1131
|
+
"""
|
|
1132
|
+
self._GlobalAcceleratorId = None
|
|
1133
|
+
self._GlobalAcceleratorAclPolicyId = None
|
|
1134
|
+
self._AclEntries = None
|
|
1135
|
+
|
|
1136
|
+
@property
|
|
1137
|
+
def GlobalAcceleratorId(self):
|
|
1138
|
+
r"""全球加速实例ID。
|
|
1139
|
+
:rtype: str
|
|
1140
|
+
"""
|
|
1141
|
+
return self._GlobalAcceleratorId
|
|
1142
|
+
|
|
1143
|
+
@GlobalAcceleratorId.setter
|
|
1144
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
1145
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
1146
|
+
|
|
1147
|
+
@property
|
|
1148
|
+
def GlobalAcceleratorAclPolicyId(self):
|
|
1149
|
+
r"""安全策略ID
|
|
1150
|
+
:rtype: str
|
|
1151
|
+
"""
|
|
1152
|
+
return self._GlobalAcceleratorAclPolicyId
|
|
1153
|
+
|
|
1154
|
+
@GlobalAcceleratorAclPolicyId.setter
|
|
1155
|
+
def GlobalAcceleratorAclPolicyId(self, GlobalAcceleratorAclPolicyId):
|
|
1156
|
+
self._GlobalAcceleratorAclPolicyId = GlobalAcceleratorAclPolicyId
|
|
1157
|
+
|
|
1158
|
+
@property
|
|
1159
|
+
def AclEntries(self):
|
|
1160
|
+
r"""Acl信息。
|
|
1161
|
+
:rtype: list of AclEntries
|
|
1162
|
+
"""
|
|
1163
|
+
return self._AclEntries
|
|
1164
|
+
|
|
1165
|
+
@AclEntries.setter
|
|
1166
|
+
def AclEntries(self, AclEntries):
|
|
1167
|
+
self._AclEntries = AclEntries
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
def _deserialize(self, params):
|
|
1171
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
1172
|
+
self._GlobalAcceleratorAclPolicyId = params.get("GlobalAcceleratorAclPolicyId")
|
|
1173
|
+
if params.get("AclEntries") is not None:
|
|
1174
|
+
self._AclEntries = []
|
|
1175
|
+
for item in params.get("AclEntries"):
|
|
1176
|
+
obj = AclEntries()
|
|
1177
|
+
obj._deserialize(item)
|
|
1178
|
+
self._AclEntries.append(obj)
|
|
1179
|
+
memeber_set = set(params.keys())
|
|
1180
|
+
for name, value in vars(self).items():
|
|
1181
|
+
property_name = name[1:]
|
|
1182
|
+
if property_name in memeber_set:
|
|
1183
|
+
memeber_set.remove(property_name)
|
|
1184
|
+
if len(memeber_set) > 0:
|
|
1185
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
|
+
class CreateGlobalAcceleratorAclRuleResponse(AbstractModel):
|
|
1190
|
+
r"""CreateGlobalAcceleratorAclRule返回参数结构体
|
|
1191
|
+
|
|
1192
|
+
"""
|
|
1193
|
+
|
|
1194
|
+
def __init__(self):
|
|
1195
|
+
r"""
|
|
1196
|
+
:param _TaskId: 异步任务ID。
|
|
1197
|
+
:type TaskId: str
|
|
1198
|
+
:param _GlobalAcceleratorAclRuleIds: ACL规则ID。
|
|
1199
|
+
:type GlobalAcceleratorAclRuleIds: list of str
|
|
1200
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1201
|
+
:type RequestId: str
|
|
1202
|
+
"""
|
|
1203
|
+
self._TaskId = None
|
|
1204
|
+
self._GlobalAcceleratorAclRuleIds = None
|
|
1205
|
+
self._RequestId = None
|
|
1206
|
+
|
|
1207
|
+
@property
|
|
1208
|
+
def TaskId(self):
|
|
1209
|
+
r"""异步任务ID。
|
|
1210
|
+
:rtype: str
|
|
1211
|
+
"""
|
|
1212
|
+
return self._TaskId
|
|
1213
|
+
|
|
1214
|
+
@TaskId.setter
|
|
1215
|
+
def TaskId(self, TaskId):
|
|
1216
|
+
self._TaskId = TaskId
|
|
1217
|
+
|
|
1218
|
+
@property
|
|
1219
|
+
def GlobalAcceleratorAclRuleIds(self):
|
|
1220
|
+
r"""ACL规则ID。
|
|
1221
|
+
:rtype: list of str
|
|
1222
|
+
"""
|
|
1223
|
+
return self._GlobalAcceleratorAclRuleIds
|
|
1224
|
+
|
|
1225
|
+
@GlobalAcceleratorAclRuleIds.setter
|
|
1226
|
+
def GlobalAcceleratorAclRuleIds(self, GlobalAcceleratorAclRuleIds):
|
|
1227
|
+
self._GlobalAcceleratorAclRuleIds = GlobalAcceleratorAclRuleIds
|
|
1228
|
+
|
|
1229
|
+
@property
|
|
1230
|
+
def RequestId(self):
|
|
1231
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1232
|
+
:rtype: str
|
|
1233
|
+
"""
|
|
1234
|
+
return self._RequestId
|
|
1235
|
+
|
|
1236
|
+
@RequestId.setter
|
|
1237
|
+
def RequestId(self, RequestId):
|
|
1238
|
+
self._RequestId = RequestId
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
def _deserialize(self, params):
|
|
1242
|
+
self._TaskId = params.get("TaskId")
|
|
1243
|
+
self._GlobalAcceleratorAclRuleIds = params.get("GlobalAcceleratorAclRuleIds")
|
|
1244
|
+
self._RequestId = params.get("RequestId")
|
|
1245
|
+
|
|
1246
|
+
|
|
913
1247
|
class CreateGlobalAcceleratorRequest(AbstractModel):
|
|
914
1248
|
r"""CreateGlobalAccelerator请求参数结构体
|
|
915
1249
|
|
|
@@ -1843,9 +2177,224 @@ class DeleteForwardingRuleRequest(AbstractModel):
|
|
|
1843
2177
|
:type ForwardingRuleId: str
|
|
1844
2178
|
"""
|
|
1845
2179
|
self._GlobalAcceleratorId = None
|
|
1846
|
-
self._ListenerId = None
|
|
1847
|
-
self._ForwardingPolicyId = None
|
|
1848
|
-
self._ForwardingRuleId = None
|
|
2180
|
+
self._ListenerId = None
|
|
2181
|
+
self._ForwardingPolicyId = None
|
|
2182
|
+
self._ForwardingRuleId = None
|
|
2183
|
+
|
|
2184
|
+
@property
|
|
2185
|
+
def GlobalAcceleratorId(self):
|
|
2186
|
+
r"""全球加速实例ID。
|
|
2187
|
+
:rtype: str
|
|
2188
|
+
"""
|
|
2189
|
+
return self._GlobalAcceleratorId
|
|
2190
|
+
|
|
2191
|
+
@GlobalAcceleratorId.setter
|
|
2192
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
2193
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
2194
|
+
|
|
2195
|
+
@property
|
|
2196
|
+
def ListenerId(self):
|
|
2197
|
+
r"""监听器ID。
|
|
2198
|
+
:rtype: str
|
|
2199
|
+
"""
|
|
2200
|
+
return self._ListenerId
|
|
2201
|
+
|
|
2202
|
+
@ListenerId.setter
|
|
2203
|
+
def ListenerId(self, ListenerId):
|
|
2204
|
+
self._ListenerId = ListenerId
|
|
2205
|
+
|
|
2206
|
+
@property
|
|
2207
|
+
def ForwardingPolicyId(self):
|
|
2208
|
+
r"""策略ID。
|
|
2209
|
+
:rtype: str
|
|
2210
|
+
"""
|
|
2211
|
+
return self._ForwardingPolicyId
|
|
2212
|
+
|
|
2213
|
+
@ForwardingPolicyId.setter
|
|
2214
|
+
def ForwardingPolicyId(self, ForwardingPolicyId):
|
|
2215
|
+
self._ForwardingPolicyId = ForwardingPolicyId
|
|
2216
|
+
|
|
2217
|
+
@property
|
|
2218
|
+
def ForwardingRuleId(self):
|
|
2219
|
+
r"""七层转发规则ID。
|
|
2220
|
+
:rtype: str
|
|
2221
|
+
"""
|
|
2222
|
+
return self._ForwardingRuleId
|
|
2223
|
+
|
|
2224
|
+
@ForwardingRuleId.setter
|
|
2225
|
+
def ForwardingRuleId(self, ForwardingRuleId):
|
|
2226
|
+
self._ForwardingRuleId = ForwardingRuleId
|
|
2227
|
+
|
|
2228
|
+
|
|
2229
|
+
def _deserialize(self, params):
|
|
2230
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
2231
|
+
self._ListenerId = params.get("ListenerId")
|
|
2232
|
+
self._ForwardingPolicyId = params.get("ForwardingPolicyId")
|
|
2233
|
+
self._ForwardingRuleId = params.get("ForwardingRuleId")
|
|
2234
|
+
memeber_set = set(params.keys())
|
|
2235
|
+
for name, value in vars(self).items():
|
|
2236
|
+
property_name = name[1:]
|
|
2237
|
+
if property_name in memeber_set:
|
|
2238
|
+
memeber_set.remove(property_name)
|
|
2239
|
+
if len(memeber_set) > 0:
|
|
2240
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2241
|
+
|
|
2242
|
+
|
|
2243
|
+
|
|
2244
|
+
class DeleteForwardingRuleResponse(AbstractModel):
|
|
2245
|
+
r"""DeleteForwardingRule返回参数结构体
|
|
2246
|
+
|
|
2247
|
+
"""
|
|
2248
|
+
|
|
2249
|
+
def __init__(self):
|
|
2250
|
+
r"""
|
|
2251
|
+
:param _TaskId: 异步任务ID。
|
|
2252
|
+
:type TaskId: str
|
|
2253
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2254
|
+
:type RequestId: str
|
|
2255
|
+
"""
|
|
2256
|
+
self._TaskId = None
|
|
2257
|
+
self._RequestId = None
|
|
2258
|
+
|
|
2259
|
+
@property
|
|
2260
|
+
def TaskId(self):
|
|
2261
|
+
r"""异步任务ID。
|
|
2262
|
+
:rtype: str
|
|
2263
|
+
"""
|
|
2264
|
+
return self._TaskId
|
|
2265
|
+
|
|
2266
|
+
@TaskId.setter
|
|
2267
|
+
def TaskId(self, TaskId):
|
|
2268
|
+
self._TaskId = TaskId
|
|
2269
|
+
|
|
2270
|
+
@property
|
|
2271
|
+
def RequestId(self):
|
|
2272
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2273
|
+
:rtype: str
|
|
2274
|
+
"""
|
|
2275
|
+
return self._RequestId
|
|
2276
|
+
|
|
2277
|
+
@RequestId.setter
|
|
2278
|
+
def RequestId(self, RequestId):
|
|
2279
|
+
self._RequestId = RequestId
|
|
2280
|
+
|
|
2281
|
+
|
|
2282
|
+
def _deserialize(self, params):
|
|
2283
|
+
self._TaskId = params.get("TaskId")
|
|
2284
|
+
self._RequestId = params.get("RequestId")
|
|
2285
|
+
|
|
2286
|
+
|
|
2287
|
+
class DeleteGlobalAcceleratorAclPolicyRequest(AbstractModel):
|
|
2288
|
+
r"""DeleteGlobalAcceleratorAclPolicy请求参数结构体
|
|
2289
|
+
|
|
2290
|
+
"""
|
|
2291
|
+
|
|
2292
|
+
def __init__(self):
|
|
2293
|
+
r"""
|
|
2294
|
+
:param _GlobalAcceleratorId: 全球加速实例ID。
|
|
2295
|
+
:type GlobalAcceleratorId: str
|
|
2296
|
+
:param _GlobalAcceleratorAclPolicyId: 访问控制策略ID。
|
|
2297
|
+
:type GlobalAcceleratorAclPolicyId: str
|
|
2298
|
+
"""
|
|
2299
|
+
self._GlobalAcceleratorId = None
|
|
2300
|
+
self._GlobalAcceleratorAclPolicyId = None
|
|
2301
|
+
|
|
2302
|
+
@property
|
|
2303
|
+
def GlobalAcceleratorId(self):
|
|
2304
|
+
r"""全球加速实例ID。
|
|
2305
|
+
:rtype: str
|
|
2306
|
+
"""
|
|
2307
|
+
return self._GlobalAcceleratorId
|
|
2308
|
+
|
|
2309
|
+
@GlobalAcceleratorId.setter
|
|
2310
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
2311
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
2312
|
+
|
|
2313
|
+
@property
|
|
2314
|
+
def GlobalAcceleratorAclPolicyId(self):
|
|
2315
|
+
r"""访问控制策略ID。
|
|
2316
|
+
:rtype: str
|
|
2317
|
+
"""
|
|
2318
|
+
return self._GlobalAcceleratorAclPolicyId
|
|
2319
|
+
|
|
2320
|
+
@GlobalAcceleratorAclPolicyId.setter
|
|
2321
|
+
def GlobalAcceleratorAclPolicyId(self, GlobalAcceleratorAclPolicyId):
|
|
2322
|
+
self._GlobalAcceleratorAclPolicyId = GlobalAcceleratorAclPolicyId
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
def _deserialize(self, params):
|
|
2326
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
2327
|
+
self._GlobalAcceleratorAclPolicyId = params.get("GlobalAcceleratorAclPolicyId")
|
|
2328
|
+
memeber_set = set(params.keys())
|
|
2329
|
+
for name, value in vars(self).items():
|
|
2330
|
+
property_name = name[1:]
|
|
2331
|
+
if property_name in memeber_set:
|
|
2332
|
+
memeber_set.remove(property_name)
|
|
2333
|
+
if len(memeber_set) > 0:
|
|
2334
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2335
|
+
|
|
2336
|
+
|
|
2337
|
+
|
|
2338
|
+
class DeleteGlobalAcceleratorAclPolicyResponse(AbstractModel):
|
|
2339
|
+
r"""DeleteGlobalAcceleratorAclPolicy返回参数结构体
|
|
2340
|
+
|
|
2341
|
+
"""
|
|
2342
|
+
|
|
2343
|
+
def __init__(self):
|
|
2344
|
+
r"""
|
|
2345
|
+
:param _TaskId: 异步任务ID。
|
|
2346
|
+
:type TaskId: str
|
|
2347
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2348
|
+
:type RequestId: str
|
|
2349
|
+
"""
|
|
2350
|
+
self._TaskId = None
|
|
2351
|
+
self._RequestId = None
|
|
2352
|
+
|
|
2353
|
+
@property
|
|
2354
|
+
def TaskId(self):
|
|
2355
|
+
r"""异步任务ID。
|
|
2356
|
+
:rtype: str
|
|
2357
|
+
"""
|
|
2358
|
+
return self._TaskId
|
|
2359
|
+
|
|
2360
|
+
@TaskId.setter
|
|
2361
|
+
def TaskId(self, TaskId):
|
|
2362
|
+
self._TaskId = TaskId
|
|
2363
|
+
|
|
2364
|
+
@property
|
|
2365
|
+
def RequestId(self):
|
|
2366
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2367
|
+
:rtype: str
|
|
2368
|
+
"""
|
|
2369
|
+
return self._RequestId
|
|
2370
|
+
|
|
2371
|
+
@RequestId.setter
|
|
2372
|
+
def RequestId(self, RequestId):
|
|
2373
|
+
self._RequestId = RequestId
|
|
2374
|
+
|
|
2375
|
+
|
|
2376
|
+
def _deserialize(self, params):
|
|
2377
|
+
self._TaskId = params.get("TaskId")
|
|
2378
|
+
self._RequestId = params.get("RequestId")
|
|
2379
|
+
|
|
2380
|
+
|
|
2381
|
+
class DeleteGlobalAcceleratorAclRuleRequest(AbstractModel):
|
|
2382
|
+
r"""DeleteGlobalAcceleratorAclRule请求参数结构体
|
|
2383
|
+
|
|
2384
|
+
"""
|
|
2385
|
+
|
|
2386
|
+
def __init__(self):
|
|
2387
|
+
r"""
|
|
2388
|
+
:param _GlobalAcceleratorId: 全球加速实例ID。
|
|
2389
|
+
:type GlobalAcceleratorId: str
|
|
2390
|
+
:param _GlobalAcceleratorAclPolicyId: 安全策略ID
|
|
2391
|
+
:type GlobalAcceleratorAclPolicyId: str
|
|
2392
|
+
:param _GlobalAcceleratorAclRuleIds: Acl规则ID。
|
|
2393
|
+
:type GlobalAcceleratorAclRuleIds: list of str
|
|
2394
|
+
"""
|
|
2395
|
+
self._GlobalAcceleratorId = None
|
|
2396
|
+
self._GlobalAcceleratorAclPolicyId = None
|
|
2397
|
+
self._GlobalAcceleratorAclRuleIds = None
|
|
1849
2398
|
|
|
1850
2399
|
@property
|
|
1851
2400
|
def GlobalAcceleratorId(self):
|
|
@@ -1859,44 +2408,32 @@ class DeleteForwardingRuleRequest(AbstractModel):
|
|
|
1859
2408
|
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
1860
2409
|
|
|
1861
2410
|
@property
|
|
1862
|
-
def
|
|
1863
|
-
r"""
|
|
1864
|
-
:rtype: str
|
|
1865
|
-
"""
|
|
1866
|
-
return self._ListenerId
|
|
1867
|
-
|
|
1868
|
-
@ListenerId.setter
|
|
1869
|
-
def ListenerId(self, ListenerId):
|
|
1870
|
-
self._ListenerId = ListenerId
|
|
1871
|
-
|
|
1872
|
-
@property
|
|
1873
|
-
def ForwardingPolicyId(self):
|
|
1874
|
-
r"""策略ID。
|
|
2411
|
+
def GlobalAcceleratorAclPolicyId(self):
|
|
2412
|
+
r"""安全策略ID
|
|
1875
2413
|
:rtype: str
|
|
1876
2414
|
"""
|
|
1877
|
-
return self.
|
|
2415
|
+
return self._GlobalAcceleratorAclPolicyId
|
|
1878
2416
|
|
|
1879
|
-
@
|
|
1880
|
-
def
|
|
1881
|
-
self.
|
|
2417
|
+
@GlobalAcceleratorAclPolicyId.setter
|
|
2418
|
+
def GlobalAcceleratorAclPolicyId(self, GlobalAcceleratorAclPolicyId):
|
|
2419
|
+
self._GlobalAcceleratorAclPolicyId = GlobalAcceleratorAclPolicyId
|
|
1882
2420
|
|
|
1883
2421
|
@property
|
|
1884
|
-
def
|
|
1885
|
-
r"""
|
|
1886
|
-
:rtype: str
|
|
2422
|
+
def GlobalAcceleratorAclRuleIds(self):
|
|
2423
|
+
r"""Acl规则ID。
|
|
2424
|
+
:rtype: list of str
|
|
1887
2425
|
"""
|
|
1888
|
-
return self.
|
|
2426
|
+
return self._GlobalAcceleratorAclRuleIds
|
|
1889
2427
|
|
|
1890
|
-
@
|
|
1891
|
-
def
|
|
1892
|
-
self.
|
|
2428
|
+
@GlobalAcceleratorAclRuleIds.setter
|
|
2429
|
+
def GlobalAcceleratorAclRuleIds(self, GlobalAcceleratorAclRuleIds):
|
|
2430
|
+
self._GlobalAcceleratorAclRuleIds = GlobalAcceleratorAclRuleIds
|
|
1893
2431
|
|
|
1894
2432
|
|
|
1895
2433
|
def _deserialize(self, params):
|
|
1896
2434
|
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
1897
|
-
self.
|
|
1898
|
-
self.
|
|
1899
|
-
self._ForwardingRuleId = params.get("ForwardingRuleId")
|
|
2435
|
+
self._GlobalAcceleratorAclPolicyId = params.get("GlobalAcceleratorAclPolicyId")
|
|
2436
|
+
self._GlobalAcceleratorAclRuleIds = params.get("GlobalAcceleratorAclRuleIds")
|
|
1900
2437
|
memeber_set = set(params.keys())
|
|
1901
2438
|
for name, value in vars(self).items():
|
|
1902
2439
|
property_name = name[1:]
|
|
@@ -1907,8 +2444,8 @@ class DeleteForwardingRuleRequest(AbstractModel):
|
|
|
1907
2444
|
|
|
1908
2445
|
|
|
1909
2446
|
|
|
1910
|
-
class
|
|
1911
|
-
r"""
|
|
2447
|
+
class DeleteGlobalAcceleratorAclRuleResponse(AbstractModel):
|
|
2448
|
+
r"""DeleteGlobalAcceleratorAclRule返回参数结构体
|
|
1912
2449
|
|
|
1913
2450
|
"""
|
|
1914
2451
|
|
|
@@ -6233,6 +6770,299 @@ class ModifyForwardingRuleResponse(AbstractModel):
|
|
|
6233
6770
|
self._RequestId = params.get("RequestId")
|
|
6234
6771
|
|
|
6235
6772
|
|
|
6773
|
+
class ModifyGlobalAcceleratorAclPolicyRequest(AbstractModel):
|
|
6774
|
+
r"""ModifyGlobalAcceleratorAclPolicy请求参数结构体
|
|
6775
|
+
|
|
6776
|
+
"""
|
|
6777
|
+
|
|
6778
|
+
def __init__(self):
|
|
6779
|
+
r"""
|
|
6780
|
+
:param _GlobalAcceleratorId: <p>全球加速实例ID。</p>
|
|
6781
|
+
:type GlobalAcceleratorId: str
|
|
6782
|
+
:param _GlobalAcceleratorAclPolicyId: <p>访问控制策略ID。</p>
|
|
6783
|
+
:type GlobalAcceleratorAclPolicyId: str
|
|
6784
|
+
:param _Status: <p>访问控制策略状态。</p><p>枚举值:</p><ul><li>OPEN: 打开。</li><li>CLOSE: 关闭。</li></ul>
|
|
6785
|
+
:type Status: str
|
|
6786
|
+
"""
|
|
6787
|
+
self._GlobalAcceleratorId = None
|
|
6788
|
+
self._GlobalAcceleratorAclPolicyId = None
|
|
6789
|
+
self._Status = None
|
|
6790
|
+
|
|
6791
|
+
@property
|
|
6792
|
+
def GlobalAcceleratorId(self):
|
|
6793
|
+
r"""<p>全球加速实例ID。</p>
|
|
6794
|
+
:rtype: str
|
|
6795
|
+
"""
|
|
6796
|
+
return self._GlobalAcceleratorId
|
|
6797
|
+
|
|
6798
|
+
@GlobalAcceleratorId.setter
|
|
6799
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
6800
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
6801
|
+
|
|
6802
|
+
@property
|
|
6803
|
+
def GlobalAcceleratorAclPolicyId(self):
|
|
6804
|
+
r"""<p>访问控制策略ID。</p>
|
|
6805
|
+
:rtype: str
|
|
6806
|
+
"""
|
|
6807
|
+
return self._GlobalAcceleratorAclPolicyId
|
|
6808
|
+
|
|
6809
|
+
@GlobalAcceleratorAclPolicyId.setter
|
|
6810
|
+
def GlobalAcceleratorAclPolicyId(self, GlobalAcceleratorAclPolicyId):
|
|
6811
|
+
self._GlobalAcceleratorAclPolicyId = GlobalAcceleratorAclPolicyId
|
|
6812
|
+
|
|
6813
|
+
@property
|
|
6814
|
+
def Status(self):
|
|
6815
|
+
r"""<p>访问控制策略状态。</p><p>枚举值:</p><ul><li>OPEN: 打开。</li><li>CLOSE: 关闭。</li></ul>
|
|
6816
|
+
:rtype: str
|
|
6817
|
+
"""
|
|
6818
|
+
return self._Status
|
|
6819
|
+
|
|
6820
|
+
@Status.setter
|
|
6821
|
+
def Status(self, Status):
|
|
6822
|
+
self._Status = Status
|
|
6823
|
+
|
|
6824
|
+
|
|
6825
|
+
def _deserialize(self, params):
|
|
6826
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
6827
|
+
self._GlobalAcceleratorAclPolicyId = params.get("GlobalAcceleratorAclPolicyId")
|
|
6828
|
+
self._Status = params.get("Status")
|
|
6829
|
+
memeber_set = set(params.keys())
|
|
6830
|
+
for name, value in vars(self).items():
|
|
6831
|
+
property_name = name[1:]
|
|
6832
|
+
if property_name in memeber_set:
|
|
6833
|
+
memeber_set.remove(property_name)
|
|
6834
|
+
if len(memeber_set) > 0:
|
|
6835
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6836
|
+
|
|
6837
|
+
|
|
6838
|
+
|
|
6839
|
+
class ModifyGlobalAcceleratorAclPolicyResponse(AbstractModel):
|
|
6840
|
+
r"""ModifyGlobalAcceleratorAclPolicy返回参数结构体
|
|
6841
|
+
|
|
6842
|
+
"""
|
|
6843
|
+
|
|
6844
|
+
def __init__(self):
|
|
6845
|
+
r"""
|
|
6846
|
+
:param _TaskId: <p>异步任务ID。</p>
|
|
6847
|
+
:type TaskId: str
|
|
6848
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6849
|
+
:type RequestId: str
|
|
6850
|
+
"""
|
|
6851
|
+
self._TaskId = None
|
|
6852
|
+
self._RequestId = None
|
|
6853
|
+
|
|
6854
|
+
@property
|
|
6855
|
+
def TaskId(self):
|
|
6856
|
+
r"""<p>异步任务ID。</p>
|
|
6857
|
+
:rtype: str
|
|
6858
|
+
"""
|
|
6859
|
+
return self._TaskId
|
|
6860
|
+
|
|
6861
|
+
@TaskId.setter
|
|
6862
|
+
def TaskId(self, TaskId):
|
|
6863
|
+
self._TaskId = TaskId
|
|
6864
|
+
|
|
6865
|
+
@property
|
|
6866
|
+
def RequestId(self):
|
|
6867
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6868
|
+
:rtype: str
|
|
6869
|
+
"""
|
|
6870
|
+
return self._RequestId
|
|
6871
|
+
|
|
6872
|
+
@RequestId.setter
|
|
6873
|
+
def RequestId(self, RequestId):
|
|
6874
|
+
self._RequestId = RequestId
|
|
6875
|
+
|
|
6876
|
+
|
|
6877
|
+
def _deserialize(self, params):
|
|
6878
|
+
self._TaskId = params.get("TaskId")
|
|
6879
|
+
self._RequestId = params.get("RequestId")
|
|
6880
|
+
|
|
6881
|
+
|
|
6882
|
+
class ModifyGlobalAcceleratorAclRuleRequest(AbstractModel):
|
|
6883
|
+
r"""ModifyGlobalAcceleratorAclRule请求参数结构体
|
|
6884
|
+
|
|
6885
|
+
"""
|
|
6886
|
+
|
|
6887
|
+
def __init__(self):
|
|
6888
|
+
r"""
|
|
6889
|
+
:param _GlobalAcceleratorId: <p>全球加速实例ID。</p>
|
|
6890
|
+
:type GlobalAcceleratorId: str
|
|
6891
|
+
:param _GlobalAcceleratorAclPolicyId: <p>安全策略ID</p>
|
|
6892
|
+
:type GlobalAcceleratorAclPolicyId: str
|
|
6893
|
+
:param _GlobalAcceleratorAclRuleId: <p>Acl规则ID。</p>
|
|
6894
|
+
:type GlobalAcceleratorAclRuleId: str
|
|
6895
|
+
:param _Protocol: <p>协议。</p><p>入参限制:支持选择'TCP', 'UDP', 'ALL'。</p>
|
|
6896
|
+
:type Protocol: str
|
|
6897
|
+
:param _Port: <p>端口。</p>
|
|
6898
|
+
:type Port: str
|
|
6899
|
+
:param _SourceCidrBlock: <p>网段。</p>
|
|
6900
|
+
:type SourceCidrBlock: str
|
|
6901
|
+
:param _Policy: <p>动作。</p><p>入参限制:支持选择'ACCEPT', 'DROP'。</p><p>枚举值:</p><ul><li>ACCEPT: 允许。</li><li>DROP: 拒绝。</li></ul>
|
|
6902
|
+
:type Policy: str
|
|
6903
|
+
:param _Description: <p>描述信息,最大长度不能超过100个字节。</p>
|
|
6904
|
+
:type Description: str
|
|
6905
|
+
"""
|
|
6906
|
+
self._GlobalAcceleratorId = None
|
|
6907
|
+
self._GlobalAcceleratorAclPolicyId = None
|
|
6908
|
+
self._GlobalAcceleratorAclRuleId = None
|
|
6909
|
+
self._Protocol = None
|
|
6910
|
+
self._Port = None
|
|
6911
|
+
self._SourceCidrBlock = None
|
|
6912
|
+
self._Policy = None
|
|
6913
|
+
self._Description = None
|
|
6914
|
+
|
|
6915
|
+
@property
|
|
6916
|
+
def GlobalAcceleratorId(self):
|
|
6917
|
+
r"""<p>全球加速实例ID。</p>
|
|
6918
|
+
:rtype: str
|
|
6919
|
+
"""
|
|
6920
|
+
return self._GlobalAcceleratorId
|
|
6921
|
+
|
|
6922
|
+
@GlobalAcceleratorId.setter
|
|
6923
|
+
def GlobalAcceleratorId(self, GlobalAcceleratorId):
|
|
6924
|
+
self._GlobalAcceleratorId = GlobalAcceleratorId
|
|
6925
|
+
|
|
6926
|
+
@property
|
|
6927
|
+
def GlobalAcceleratorAclPolicyId(self):
|
|
6928
|
+
r"""<p>安全策略ID</p>
|
|
6929
|
+
:rtype: str
|
|
6930
|
+
"""
|
|
6931
|
+
return self._GlobalAcceleratorAclPolicyId
|
|
6932
|
+
|
|
6933
|
+
@GlobalAcceleratorAclPolicyId.setter
|
|
6934
|
+
def GlobalAcceleratorAclPolicyId(self, GlobalAcceleratorAclPolicyId):
|
|
6935
|
+
self._GlobalAcceleratorAclPolicyId = GlobalAcceleratorAclPolicyId
|
|
6936
|
+
|
|
6937
|
+
@property
|
|
6938
|
+
def GlobalAcceleratorAclRuleId(self):
|
|
6939
|
+
r"""<p>Acl规则ID。</p>
|
|
6940
|
+
:rtype: str
|
|
6941
|
+
"""
|
|
6942
|
+
return self._GlobalAcceleratorAclRuleId
|
|
6943
|
+
|
|
6944
|
+
@GlobalAcceleratorAclRuleId.setter
|
|
6945
|
+
def GlobalAcceleratorAclRuleId(self, GlobalAcceleratorAclRuleId):
|
|
6946
|
+
self._GlobalAcceleratorAclRuleId = GlobalAcceleratorAclRuleId
|
|
6947
|
+
|
|
6948
|
+
@property
|
|
6949
|
+
def Protocol(self):
|
|
6950
|
+
r"""<p>协议。</p><p>入参限制:支持选择'TCP', 'UDP', 'ALL'。</p>
|
|
6951
|
+
:rtype: str
|
|
6952
|
+
"""
|
|
6953
|
+
return self._Protocol
|
|
6954
|
+
|
|
6955
|
+
@Protocol.setter
|
|
6956
|
+
def Protocol(self, Protocol):
|
|
6957
|
+
self._Protocol = Protocol
|
|
6958
|
+
|
|
6959
|
+
@property
|
|
6960
|
+
def Port(self):
|
|
6961
|
+
r"""<p>端口。</p>
|
|
6962
|
+
:rtype: str
|
|
6963
|
+
"""
|
|
6964
|
+
return self._Port
|
|
6965
|
+
|
|
6966
|
+
@Port.setter
|
|
6967
|
+
def Port(self, Port):
|
|
6968
|
+
self._Port = Port
|
|
6969
|
+
|
|
6970
|
+
@property
|
|
6971
|
+
def SourceCidrBlock(self):
|
|
6972
|
+
r"""<p>网段。</p>
|
|
6973
|
+
:rtype: str
|
|
6974
|
+
"""
|
|
6975
|
+
return self._SourceCidrBlock
|
|
6976
|
+
|
|
6977
|
+
@SourceCidrBlock.setter
|
|
6978
|
+
def SourceCidrBlock(self, SourceCidrBlock):
|
|
6979
|
+
self._SourceCidrBlock = SourceCidrBlock
|
|
6980
|
+
|
|
6981
|
+
@property
|
|
6982
|
+
def Policy(self):
|
|
6983
|
+
r"""<p>动作。</p><p>入参限制:支持选择'ACCEPT', 'DROP'。</p><p>枚举值:</p><ul><li>ACCEPT: 允许。</li><li>DROP: 拒绝。</li></ul>
|
|
6984
|
+
:rtype: str
|
|
6985
|
+
"""
|
|
6986
|
+
return self._Policy
|
|
6987
|
+
|
|
6988
|
+
@Policy.setter
|
|
6989
|
+
def Policy(self, Policy):
|
|
6990
|
+
self._Policy = Policy
|
|
6991
|
+
|
|
6992
|
+
@property
|
|
6993
|
+
def Description(self):
|
|
6994
|
+
r"""<p>描述信息,最大长度不能超过100个字节。</p>
|
|
6995
|
+
:rtype: str
|
|
6996
|
+
"""
|
|
6997
|
+
return self._Description
|
|
6998
|
+
|
|
6999
|
+
@Description.setter
|
|
7000
|
+
def Description(self, Description):
|
|
7001
|
+
self._Description = Description
|
|
7002
|
+
|
|
7003
|
+
|
|
7004
|
+
def _deserialize(self, params):
|
|
7005
|
+
self._GlobalAcceleratorId = params.get("GlobalAcceleratorId")
|
|
7006
|
+
self._GlobalAcceleratorAclPolicyId = params.get("GlobalAcceleratorAclPolicyId")
|
|
7007
|
+
self._GlobalAcceleratorAclRuleId = params.get("GlobalAcceleratorAclRuleId")
|
|
7008
|
+
self._Protocol = params.get("Protocol")
|
|
7009
|
+
self._Port = params.get("Port")
|
|
7010
|
+
self._SourceCidrBlock = params.get("SourceCidrBlock")
|
|
7011
|
+
self._Policy = params.get("Policy")
|
|
7012
|
+
self._Description = params.get("Description")
|
|
7013
|
+
memeber_set = set(params.keys())
|
|
7014
|
+
for name, value in vars(self).items():
|
|
7015
|
+
property_name = name[1:]
|
|
7016
|
+
if property_name in memeber_set:
|
|
7017
|
+
memeber_set.remove(property_name)
|
|
7018
|
+
if len(memeber_set) > 0:
|
|
7019
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7020
|
+
|
|
7021
|
+
|
|
7022
|
+
|
|
7023
|
+
class ModifyGlobalAcceleratorAclRuleResponse(AbstractModel):
|
|
7024
|
+
r"""ModifyGlobalAcceleratorAclRule返回参数结构体
|
|
7025
|
+
|
|
7026
|
+
"""
|
|
7027
|
+
|
|
7028
|
+
def __init__(self):
|
|
7029
|
+
r"""
|
|
7030
|
+
:param _TaskId: <p>异步任务ID。</p>
|
|
7031
|
+
:type TaskId: str
|
|
7032
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7033
|
+
:type RequestId: str
|
|
7034
|
+
"""
|
|
7035
|
+
self._TaskId = None
|
|
7036
|
+
self._RequestId = None
|
|
7037
|
+
|
|
7038
|
+
@property
|
|
7039
|
+
def TaskId(self):
|
|
7040
|
+
r"""<p>异步任务ID。</p>
|
|
7041
|
+
:rtype: str
|
|
7042
|
+
"""
|
|
7043
|
+
return self._TaskId
|
|
7044
|
+
|
|
7045
|
+
@TaskId.setter
|
|
7046
|
+
def TaskId(self, TaskId):
|
|
7047
|
+
self._TaskId = TaskId
|
|
7048
|
+
|
|
7049
|
+
@property
|
|
7050
|
+
def RequestId(self):
|
|
7051
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7052
|
+
:rtype: str
|
|
7053
|
+
"""
|
|
7054
|
+
return self._RequestId
|
|
7055
|
+
|
|
7056
|
+
@RequestId.setter
|
|
7057
|
+
def RequestId(self, RequestId):
|
|
7058
|
+
self._RequestId = RequestId
|
|
7059
|
+
|
|
7060
|
+
|
|
7061
|
+
def _deserialize(self, params):
|
|
7062
|
+
self._TaskId = params.get("TaskId")
|
|
7063
|
+
self._RequestId = params.get("RequestId")
|
|
7064
|
+
|
|
7065
|
+
|
|
6236
7066
|
class ModifyGlobalAcceleratorRequest(AbstractModel):
|
|
6237
7067
|
r"""ModifyGlobalAccelerator请求参数结构体
|
|
6238
7068
|
|
|
@@ -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.137
|
|
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.137
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.137
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.134
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|