tencentcloud-sdk-python-intl-en 3.0.1168__py2.py3-none-any.whl → 3.0.1169__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/antiddos/v20200309/antiddos_client.py +0 -50
- tencentcloud/antiddos/v20200309/models.py +0 -675
- tencentcloud/vpc/v20170312/models.py +188 -0
- tencentcloud/vpc/v20170312/vpc_client.py +47 -0
- {tencentcloud_sdk_python_intl_en-3.0.1168.dist-info → tencentcloud_sdk_python_intl_en-3.0.1169.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1168.dist-info → tencentcloud_sdk_python_intl_en-3.0.1169.dist-info}/RECORD +9 -9
- {tencentcloud_sdk_python_intl_en-3.0.1168.dist-info → tencentcloud_sdk_python_intl_en-3.0.1169.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1168.dist-info → tencentcloud_sdk_python_intl_en-3.0.1169.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -808,31 +808,6 @@ class AntiddosClient(AbstractClient):
|
|
|
808
808
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
809
809
|
|
|
810
810
|
|
|
811
|
-
def DescribeBlackWhiteIpList(self, request):
|
|
812
|
-
"""接口变更
|
|
813
|
-
|
|
814
|
-
This API is used to get an Anti-DDoS IP blocklist/allowlist.
|
|
815
|
-
|
|
816
|
-
:param request: Request instance for DescribeBlackWhiteIpList.
|
|
817
|
-
:type request: :class:`tencentcloud.antiddos.v20200309.models.DescribeBlackWhiteIpListRequest`
|
|
818
|
-
:rtype: :class:`tencentcloud.antiddos.v20200309.models.DescribeBlackWhiteIpListResponse`
|
|
819
|
-
|
|
820
|
-
"""
|
|
821
|
-
try:
|
|
822
|
-
params = request._serialize()
|
|
823
|
-
headers = request.headers
|
|
824
|
-
body = self.call("DescribeBlackWhiteIpList", params, headers=headers)
|
|
825
|
-
response = json.loads(body)
|
|
826
|
-
model = models.DescribeBlackWhiteIpListResponse()
|
|
827
|
-
model._deserialize(response["Response"])
|
|
828
|
-
return model
|
|
829
|
-
except Exception as e:
|
|
830
|
-
if isinstance(e, TencentCloudSDKException):
|
|
831
|
-
raise
|
|
832
|
-
else:
|
|
833
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
834
|
-
|
|
835
|
-
|
|
836
811
|
def DescribeCCLevelList(self, request):
|
|
837
812
|
"""Gets the list of CC protection levels
|
|
838
813
|
|
|
@@ -1293,31 +1268,6 @@ class AntiddosClient(AbstractClient):
|
|
|
1293
1268
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1294
1269
|
|
|
1295
1270
|
|
|
1296
|
-
def DescribeListProtectThresholdConfig(self, request):
|
|
1297
|
-
"""接口变更
|
|
1298
|
-
|
|
1299
|
-
This API is used to get a list of protection threshold configurations for AI protection switch, protection level, and CC threshold switch.
|
|
1300
|
-
|
|
1301
|
-
:param request: Request instance for DescribeListProtectThresholdConfig.
|
|
1302
|
-
:type request: :class:`tencentcloud.antiddos.v20200309.models.DescribeListProtectThresholdConfigRequest`
|
|
1303
|
-
:rtype: :class:`tencentcloud.antiddos.v20200309.models.DescribeListProtectThresholdConfigResponse`
|
|
1304
|
-
|
|
1305
|
-
"""
|
|
1306
|
-
try:
|
|
1307
|
-
params = request._serialize()
|
|
1308
|
-
headers = request.headers
|
|
1309
|
-
body = self.call("DescribeListProtectThresholdConfig", params, headers=headers)
|
|
1310
|
-
response = json.loads(body)
|
|
1311
|
-
model = models.DescribeListProtectThresholdConfigResponse()
|
|
1312
|
-
model._deserialize(response["Response"])
|
|
1313
|
-
return model
|
|
1314
|
-
except Exception as e:
|
|
1315
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1316
|
-
raise
|
|
1317
|
-
else:
|
|
1318
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
1271
|
def DescribeListProtocolBlockConfig(self, request):
|
|
1322
1272
|
"""This API is used to get a list of Anti-DDoS protocol blocking configurations.
|
|
1323
1273
|
|
|
@@ -6912,100 +6912,6 @@ class DescribeBizTrendResponse(AbstractModel):
|
|
|
6912
6912
|
self._RequestId = params.get("RequestId")
|
|
6913
6913
|
|
|
6914
6914
|
|
|
6915
|
-
class DescribeBlackWhiteIpListRequest(AbstractModel):
|
|
6916
|
-
"""DescribeBlackWhiteIpList request structure.
|
|
6917
|
-
|
|
6918
|
-
"""
|
|
6919
|
-
|
|
6920
|
-
def __init__(self):
|
|
6921
|
-
r"""
|
|
6922
|
-
:param _InstanceId: Anti-DDoS instance ID
|
|
6923
|
-
:type InstanceId: str
|
|
6924
|
-
"""
|
|
6925
|
-
self._InstanceId = None
|
|
6926
|
-
|
|
6927
|
-
@property
|
|
6928
|
-
def InstanceId(self):
|
|
6929
|
-
"""Anti-DDoS instance ID
|
|
6930
|
-
:rtype: str
|
|
6931
|
-
"""
|
|
6932
|
-
return self._InstanceId
|
|
6933
|
-
|
|
6934
|
-
@InstanceId.setter
|
|
6935
|
-
def InstanceId(self, InstanceId):
|
|
6936
|
-
self._InstanceId = InstanceId
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
def _deserialize(self, params):
|
|
6940
|
-
self._InstanceId = params.get("InstanceId")
|
|
6941
|
-
memeber_set = set(params.keys())
|
|
6942
|
-
for name, value in vars(self).items():
|
|
6943
|
-
property_name = name[1:]
|
|
6944
|
-
if property_name in memeber_set:
|
|
6945
|
-
memeber_set.remove(property_name)
|
|
6946
|
-
if len(memeber_set) > 0:
|
|
6947
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6948
|
-
|
|
6949
|
-
|
|
6950
|
-
|
|
6951
|
-
class DescribeBlackWhiteIpListResponse(AbstractModel):
|
|
6952
|
-
"""DescribeBlackWhiteIpList response structure.
|
|
6953
|
-
|
|
6954
|
-
"""
|
|
6955
|
-
|
|
6956
|
-
def __init__(self):
|
|
6957
|
-
r"""
|
|
6958
|
-
:param _BlackIpList: IP blocklist
|
|
6959
|
-
:type BlackIpList: list of str
|
|
6960
|
-
:param _WhiteIpList: IP allowlist
|
|
6961
|
-
:type WhiteIpList: list of str
|
|
6962
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
6963
|
-
:type RequestId: str
|
|
6964
|
-
"""
|
|
6965
|
-
self._BlackIpList = None
|
|
6966
|
-
self._WhiteIpList = None
|
|
6967
|
-
self._RequestId = None
|
|
6968
|
-
|
|
6969
|
-
@property
|
|
6970
|
-
def BlackIpList(self):
|
|
6971
|
-
"""IP blocklist
|
|
6972
|
-
:rtype: list of str
|
|
6973
|
-
"""
|
|
6974
|
-
return self._BlackIpList
|
|
6975
|
-
|
|
6976
|
-
@BlackIpList.setter
|
|
6977
|
-
def BlackIpList(self, BlackIpList):
|
|
6978
|
-
self._BlackIpList = BlackIpList
|
|
6979
|
-
|
|
6980
|
-
@property
|
|
6981
|
-
def WhiteIpList(self):
|
|
6982
|
-
"""IP allowlist
|
|
6983
|
-
:rtype: list of str
|
|
6984
|
-
"""
|
|
6985
|
-
return self._WhiteIpList
|
|
6986
|
-
|
|
6987
|
-
@WhiteIpList.setter
|
|
6988
|
-
def WhiteIpList(self, WhiteIpList):
|
|
6989
|
-
self._WhiteIpList = WhiteIpList
|
|
6990
|
-
|
|
6991
|
-
@property
|
|
6992
|
-
def RequestId(self):
|
|
6993
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
6994
|
-
:rtype: str
|
|
6995
|
-
"""
|
|
6996
|
-
return self._RequestId
|
|
6997
|
-
|
|
6998
|
-
@RequestId.setter
|
|
6999
|
-
def RequestId(self, RequestId):
|
|
7000
|
-
self._RequestId = RequestId
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
def _deserialize(self, params):
|
|
7004
|
-
self._BlackIpList = params.get("BlackIpList")
|
|
7005
|
-
self._WhiteIpList = params.get("WhiteIpList")
|
|
7006
|
-
self._RequestId = params.get("RequestId")
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
6915
|
class DescribeCCLevelListRequest(AbstractModel):
|
|
7010
6916
|
"""DescribeCCLevelList request structure.
|
|
7011
6917
|
|
|
@@ -10529,180 +10435,6 @@ class DescribeListPacketFilterConfigResponse(AbstractModel):
|
|
|
10529
10435
|
self._RequestId = params.get("RequestId")
|
|
10530
10436
|
|
|
10531
10437
|
|
|
10532
|
-
class DescribeListProtectThresholdConfigRequest(AbstractModel):
|
|
10533
|
-
"""DescribeListProtectThresholdConfig request structure.
|
|
10534
|
-
|
|
10535
|
-
"""
|
|
10536
|
-
|
|
10537
|
-
def __init__(self):
|
|
10538
|
-
r"""
|
|
10539
|
-
:param _Offset: Starting offset of the page. Value: (number of pages – 1) * items per page.
|
|
10540
|
-
:type Offset: int
|
|
10541
|
-
:param _Limit: Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
|
|
10542
|
-
:type Limit: int
|
|
10543
|
-
:param _FilterInstanceId: Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
|
|
10544
|
-
:type FilterInstanceId: str
|
|
10545
|
-
:param _FilterIp: IP filter
|
|
10546
|
-
:type FilterIp: str
|
|
10547
|
-
:param _FilterDomain: Domain name filter for querying CC protection thresholds of domain names and protocols
|
|
10548
|
-
:type FilterDomain: str
|
|
10549
|
-
:param _FilterProtocol: Protocol filter for querying CC protection thresholds of domain names and protocols
|
|
10550
|
-
:type FilterProtocol: str
|
|
10551
|
-
"""
|
|
10552
|
-
self._Offset = None
|
|
10553
|
-
self._Limit = None
|
|
10554
|
-
self._FilterInstanceId = None
|
|
10555
|
-
self._FilterIp = None
|
|
10556
|
-
self._FilterDomain = None
|
|
10557
|
-
self._FilterProtocol = None
|
|
10558
|
-
|
|
10559
|
-
@property
|
|
10560
|
-
def Offset(self):
|
|
10561
|
-
"""Starting offset of the page. Value: (number of pages – 1) * items per page.
|
|
10562
|
-
:rtype: int
|
|
10563
|
-
"""
|
|
10564
|
-
return self._Offset
|
|
10565
|
-
|
|
10566
|
-
@Offset.setter
|
|
10567
|
-
def Offset(self, Offset):
|
|
10568
|
-
self._Offset = Offset
|
|
10569
|
-
|
|
10570
|
-
@property
|
|
10571
|
-
def Limit(self):
|
|
10572
|
-
"""Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
|
|
10573
|
-
:rtype: int
|
|
10574
|
-
"""
|
|
10575
|
-
return self._Limit
|
|
10576
|
-
|
|
10577
|
-
@Limit.setter
|
|
10578
|
-
def Limit(self, Limit):
|
|
10579
|
-
self._Limit = Limit
|
|
10580
|
-
|
|
10581
|
-
@property
|
|
10582
|
-
def FilterInstanceId(self):
|
|
10583
|
-
"""Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
|
|
10584
|
-
:rtype: str
|
|
10585
|
-
"""
|
|
10586
|
-
return self._FilterInstanceId
|
|
10587
|
-
|
|
10588
|
-
@FilterInstanceId.setter
|
|
10589
|
-
def FilterInstanceId(self, FilterInstanceId):
|
|
10590
|
-
self._FilterInstanceId = FilterInstanceId
|
|
10591
|
-
|
|
10592
|
-
@property
|
|
10593
|
-
def FilterIp(self):
|
|
10594
|
-
"""IP filter
|
|
10595
|
-
:rtype: str
|
|
10596
|
-
"""
|
|
10597
|
-
return self._FilterIp
|
|
10598
|
-
|
|
10599
|
-
@FilterIp.setter
|
|
10600
|
-
def FilterIp(self, FilterIp):
|
|
10601
|
-
self._FilterIp = FilterIp
|
|
10602
|
-
|
|
10603
|
-
@property
|
|
10604
|
-
def FilterDomain(self):
|
|
10605
|
-
"""Domain name filter for querying CC protection thresholds of domain names and protocols
|
|
10606
|
-
:rtype: str
|
|
10607
|
-
"""
|
|
10608
|
-
return self._FilterDomain
|
|
10609
|
-
|
|
10610
|
-
@FilterDomain.setter
|
|
10611
|
-
def FilterDomain(self, FilterDomain):
|
|
10612
|
-
self._FilterDomain = FilterDomain
|
|
10613
|
-
|
|
10614
|
-
@property
|
|
10615
|
-
def FilterProtocol(self):
|
|
10616
|
-
"""Protocol filter for querying CC protection thresholds of domain names and protocols
|
|
10617
|
-
:rtype: str
|
|
10618
|
-
"""
|
|
10619
|
-
return self._FilterProtocol
|
|
10620
|
-
|
|
10621
|
-
@FilterProtocol.setter
|
|
10622
|
-
def FilterProtocol(self, FilterProtocol):
|
|
10623
|
-
self._FilterProtocol = FilterProtocol
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
def _deserialize(self, params):
|
|
10627
|
-
self._Offset = params.get("Offset")
|
|
10628
|
-
self._Limit = params.get("Limit")
|
|
10629
|
-
self._FilterInstanceId = params.get("FilterInstanceId")
|
|
10630
|
-
self._FilterIp = params.get("FilterIp")
|
|
10631
|
-
self._FilterDomain = params.get("FilterDomain")
|
|
10632
|
-
self._FilterProtocol = params.get("FilterProtocol")
|
|
10633
|
-
memeber_set = set(params.keys())
|
|
10634
|
-
for name, value in vars(self).items():
|
|
10635
|
-
property_name = name[1:]
|
|
10636
|
-
if property_name in memeber_set:
|
|
10637
|
-
memeber_set.remove(property_name)
|
|
10638
|
-
if len(memeber_set) > 0:
|
|
10639
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
|
|
10643
|
-
class DescribeListProtectThresholdConfigResponse(AbstractModel):
|
|
10644
|
-
"""DescribeListProtectThresholdConfig response structure.
|
|
10645
|
-
|
|
10646
|
-
"""
|
|
10647
|
-
|
|
10648
|
-
def __init__(self):
|
|
10649
|
-
r"""
|
|
10650
|
-
:param _Total: Total number of lists
|
|
10651
|
-
:type Total: int
|
|
10652
|
-
:param _ConfigList: List of protection threshold configurations
|
|
10653
|
-
:type ConfigList: list of ProtectThresholdRelation
|
|
10654
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10655
|
-
:type RequestId: str
|
|
10656
|
-
"""
|
|
10657
|
-
self._Total = None
|
|
10658
|
-
self._ConfigList = None
|
|
10659
|
-
self._RequestId = None
|
|
10660
|
-
|
|
10661
|
-
@property
|
|
10662
|
-
def Total(self):
|
|
10663
|
-
"""Total number of lists
|
|
10664
|
-
:rtype: int
|
|
10665
|
-
"""
|
|
10666
|
-
return self._Total
|
|
10667
|
-
|
|
10668
|
-
@Total.setter
|
|
10669
|
-
def Total(self, Total):
|
|
10670
|
-
self._Total = Total
|
|
10671
|
-
|
|
10672
|
-
@property
|
|
10673
|
-
def ConfigList(self):
|
|
10674
|
-
"""List of protection threshold configurations
|
|
10675
|
-
:rtype: list of ProtectThresholdRelation
|
|
10676
|
-
"""
|
|
10677
|
-
return self._ConfigList
|
|
10678
|
-
|
|
10679
|
-
@ConfigList.setter
|
|
10680
|
-
def ConfigList(self, ConfigList):
|
|
10681
|
-
self._ConfigList = ConfigList
|
|
10682
|
-
|
|
10683
|
-
@property
|
|
10684
|
-
def RequestId(self):
|
|
10685
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10686
|
-
:rtype: str
|
|
10687
|
-
"""
|
|
10688
|
-
return self._RequestId
|
|
10689
|
-
|
|
10690
|
-
@RequestId.setter
|
|
10691
|
-
def RequestId(self, RequestId):
|
|
10692
|
-
self._RequestId = RequestId
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
def _deserialize(self, params):
|
|
10696
|
-
self._Total = params.get("Total")
|
|
10697
|
-
if params.get("ConfigList") is not None:
|
|
10698
|
-
self._ConfigList = []
|
|
10699
|
-
for item in params.get("ConfigList"):
|
|
10700
|
-
obj = ProtectThresholdRelation()
|
|
10701
|
-
obj._deserialize(item)
|
|
10702
|
-
self._ConfigList.append(obj)
|
|
10703
|
-
self._RequestId = params.get("RequestId")
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
10438
|
class DescribeListProtocolBlockConfigRequest(AbstractModel):
|
|
10707
10439
|
"""DescribeListProtocolBlockConfig request structure.
|
|
10708
10440
|
|
|
@@ -13867,87 +13599,6 @@ class Layer7Rule(AbstractModel):
|
|
|
13867
13599
|
|
|
13868
13600
|
|
|
13869
13601
|
|
|
13870
|
-
class ListenerCcThreholdConfig(AbstractModel):
|
|
13871
|
-
"""CC protection thresholds of the domain name and protocol
|
|
13872
|
-
|
|
13873
|
-
"""
|
|
13874
|
-
|
|
13875
|
-
def __init__(self):
|
|
13876
|
-
r"""
|
|
13877
|
-
:param _Domain: Domain name
|
|
13878
|
-
:type Domain: str
|
|
13879
|
-
:param _Protocol: Protocol. Value: `https`.
|
|
13880
|
-
:type Protocol: str
|
|
13881
|
-
:param _CCEnable: Status. Valid values: `0` (disabled), `1` (enabled).
|
|
13882
|
-
:type CCEnable: int
|
|
13883
|
-
:param _CCThreshold: CC protection threshold
|
|
13884
|
-
:type CCThreshold: int
|
|
13885
|
-
"""
|
|
13886
|
-
self._Domain = None
|
|
13887
|
-
self._Protocol = None
|
|
13888
|
-
self._CCEnable = None
|
|
13889
|
-
self._CCThreshold = None
|
|
13890
|
-
|
|
13891
|
-
@property
|
|
13892
|
-
def Domain(self):
|
|
13893
|
-
"""Domain name
|
|
13894
|
-
:rtype: str
|
|
13895
|
-
"""
|
|
13896
|
-
return self._Domain
|
|
13897
|
-
|
|
13898
|
-
@Domain.setter
|
|
13899
|
-
def Domain(self, Domain):
|
|
13900
|
-
self._Domain = Domain
|
|
13901
|
-
|
|
13902
|
-
@property
|
|
13903
|
-
def Protocol(self):
|
|
13904
|
-
"""Protocol. Value: `https`.
|
|
13905
|
-
:rtype: str
|
|
13906
|
-
"""
|
|
13907
|
-
return self._Protocol
|
|
13908
|
-
|
|
13909
|
-
@Protocol.setter
|
|
13910
|
-
def Protocol(self, Protocol):
|
|
13911
|
-
self._Protocol = Protocol
|
|
13912
|
-
|
|
13913
|
-
@property
|
|
13914
|
-
def CCEnable(self):
|
|
13915
|
-
"""Status. Valid values: `0` (disabled), `1` (enabled).
|
|
13916
|
-
:rtype: int
|
|
13917
|
-
"""
|
|
13918
|
-
return self._CCEnable
|
|
13919
|
-
|
|
13920
|
-
@CCEnable.setter
|
|
13921
|
-
def CCEnable(self, CCEnable):
|
|
13922
|
-
self._CCEnable = CCEnable
|
|
13923
|
-
|
|
13924
|
-
@property
|
|
13925
|
-
def CCThreshold(self):
|
|
13926
|
-
"""CC protection threshold
|
|
13927
|
-
:rtype: int
|
|
13928
|
-
"""
|
|
13929
|
-
return self._CCThreshold
|
|
13930
|
-
|
|
13931
|
-
@CCThreshold.setter
|
|
13932
|
-
def CCThreshold(self, CCThreshold):
|
|
13933
|
-
self._CCThreshold = CCThreshold
|
|
13934
|
-
|
|
13935
|
-
|
|
13936
|
-
def _deserialize(self, params):
|
|
13937
|
-
self._Domain = params.get("Domain")
|
|
13938
|
-
self._Protocol = params.get("Protocol")
|
|
13939
|
-
self._CCEnable = params.get("CCEnable")
|
|
13940
|
-
self._CCThreshold = params.get("CCThreshold")
|
|
13941
|
-
memeber_set = set(params.keys())
|
|
13942
|
-
for name, value in vars(self).items():
|
|
13943
|
-
property_name = name[1:]
|
|
13944
|
-
if property_name in memeber_set:
|
|
13945
|
-
memeber_set.remove(property_name)
|
|
13946
|
-
if len(memeber_set) > 0:
|
|
13947
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13948
|
-
|
|
13949
|
-
|
|
13950
|
-
|
|
13951
13602
|
class ModifyCCPrecisionPolicyRequest(AbstractModel):
|
|
13952
13603
|
"""ModifyCCPrecisionPolicy request structure.
|
|
13953
13604
|
|
|
@@ -15851,332 +15502,6 @@ class PortSegment(AbstractModel):
|
|
|
15851
15502
|
|
|
15852
15503
|
|
|
15853
15504
|
|
|
15854
|
-
class ProtectThresholdRelation(AbstractModel):
|
|
15855
|
-
"""Protection threshold configuration information
|
|
15856
|
-
|
|
15857
|
-
"""
|
|
15858
|
-
|
|
15859
|
-
def __init__(self):
|
|
15860
|
-
r"""
|
|
15861
|
-
:param _DDoSLevel: DDoS protection level:
|
|
15862
|
-
`low`: loose protection
|
|
15863
|
-
`middle`: medium protection
|
|
15864
|
-
`high`: strict protection
|
|
15865
|
-
]
|
|
15866
|
-
:type DDoSLevel: str
|
|
15867
|
-
:param _DDoSThreshold: DDoS cleansing threshold (in Mbps)
|
|
15868
|
-
:type DDoSThreshold: int
|
|
15869
|
-
:param _DDoSAI: DDoS AI protection switch:
|
|
15870
|
-
`on`: enabled
|
|
15871
|
-
`off`: disabled
|
|
15872
|
-
]
|
|
15873
|
-
:type DDoSAI: str
|
|
15874
|
-
:param _CCEnable: CC cleansing switch
|
|
15875
|
-
`0`: disabled
|
|
15876
|
-
`1`: enabled
|
|
15877
|
-
]
|
|
15878
|
-
:type CCEnable: int
|
|
15879
|
-
:param _CCThreshold: CC cleansing threshold (in QPS)
|
|
15880
|
-
:type CCThreshold: int
|
|
15881
|
-
:param _InstanceDetailList: Anti-DDoS instance configured
|
|
15882
|
-
:type InstanceDetailList: list of InstanceRelation
|
|
15883
|
-
:param _ListenerCcThresholdList: Domain name and protocol protection thresholds
|
|
15884
|
-
:type ListenerCcThresholdList: list of ListenerCcThreholdConfig
|
|
15885
|
-
:param _SynFloodThreshold: SYN traffic threshold
|
|
15886
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15887
|
-
:type SynFloodThreshold: int
|
|
15888
|
-
:param _SynFloodPktThreshold: SYN packet threshold
|
|
15889
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15890
|
-
:type SynFloodPktThreshold: int
|
|
15891
|
-
:param _UdpFloodThreshold: UDP traffic threshold
|
|
15892
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15893
|
-
:type UdpFloodThreshold: int
|
|
15894
|
-
:param _UdpFloodPktThreshold: UDP packet threshold
|
|
15895
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15896
|
-
:type UdpFloodPktThreshold: int
|
|
15897
|
-
:param _AckFloodThreshold: ACK traffic threshold
|
|
15898
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15899
|
-
:type AckFloodThreshold: int
|
|
15900
|
-
:param _AckFloodPktThreshold: ACK packet threshold
|
|
15901
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15902
|
-
:type AckFloodPktThreshold: int
|
|
15903
|
-
:param _SynAckFloodThreshold: SYNACK traffic threshold
|
|
15904
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15905
|
-
:type SynAckFloodThreshold: int
|
|
15906
|
-
:param _SynAckFloodPktThreshold: SYNACK packet threshold
|
|
15907
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15908
|
-
:type SynAckFloodPktThreshold: int
|
|
15909
|
-
:param _RstFloodThreshold: RST traffic threshold
|
|
15910
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15911
|
-
:type RstFloodThreshold: int
|
|
15912
|
-
:param _RstFloodPktThreshold: RST packet threshold
|
|
15913
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15914
|
-
:type RstFloodPktThreshold: int
|
|
15915
|
-
"""
|
|
15916
|
-
self._DDoSLevel = None
|
|
15917
|
-
self._DDoSThreshold = None
|
|
15918
|
-
self._DDoSAI = None
|
|
15919
|
-
self._CCEnable = None
|
|
15920
|
-
self._CCThreshold = None
|
|
15921
|
-
self._InstanceDetailList = None
|
|
15922
|
-
self._ListenerCcThresholdList = None
|
|
15923
|
-
self._SynFloodThreshold = None
|
|
15924
|
-
self._SynFloodPktThreshold = None
|
|
15925
|
-
self._UdpFloodThreshold = None
|
|
15926
|
-
self._UdpFloodPktThreshold = None
|
|
15927
|
-
self._AckFloodThreshold = None
|
|
15928
|
-
self._AckFloodPktThreshold = None
|
|
15929
|
-
self._SynAckFloodThreshold = None
|
|
15930
|
-
self._SynAckFloodPktThreshold = None
|
|
15931
|
-
self._RstFloodThreshold = None
|
|
15932
|
-
self._RstFloodPktThreshold = None
|
|
15933
|
-
|
|
15934
|
-
@property
|
|
15935
|
-
def DDoSLevel(self):
|
|
15936
|
-
"""DDoS protection level:
|
|
15937
|
-
`low`: loose protection
|
|
15938
|
-
`middle`: medium protection
|
|
15939
|
-
`high`: strict protection
|
|
15940
|
-
]
|
|
15941
|
-
:rtype: str
|
|
15942
|
-
"""
|
|
15943
|
-
return self._DDoSLevel
|
|
15944
|
-
|
|
15945
|
-
@DDoSLevel.setter
|
|
15946
|
-
def DDoSLevel(self, DDoSLevel):
|
|
15947
|
-
self._DDoSLevel = DDoSLevel
|
|
15948
|
-
|
|
15949
|
-
@property
|
|
15950
|
-
def DDoSThreshold(self):
|
|
15951
|
-
"""DDoS cleansing threshold (in Mbps)
|
|
15952
|
-
:rtype: int
|
|
15953
|
-
"""
|
|
15954
|
-
return self._DDoSThreshold
|
|
15955
|
-
|
|
15956
|
-
@DDoSThreshold.setter
|
|
15957
|
-
def DDoSThreshold(self, DDoSThreshold):
|
|
15958
|
-
self._DDoSThreshold = DDoSThreshold
|
|
15959
|
-
|
|
15960
|
-
@property
|
|
15961
|
-
def DDoSAI(self):
|
|
15962
|
-
"""DDoS AI protection switch:
|
|
15963
|
-
`on`: enabled
|
|
15964
|
-
`off`: disabled
|
|
15965
|
-
]
|
|
15966
|
-
:rtype: str
|
|
15967
|
-
"""
|
|
15968
|
-
return self._DDoSAI
|
|
15969
|
-
|
|
15970
|
-
@DDoSAI.setter
|
|
15971
|
-
def DDoSAI(self, DDoSAI):
|
|
15972
|
-
self._DDoSAI = DDoSAI
|
|
15973
|
-
|
|
15974
|
-
@property
|
|
15975
|
-
def CCEnable(self):
|
|
15976
|
-
"""CC cleansing switch
|
|
15977
|
-
`0`: disabled
|
|
15978
|
-
`1`: enabled
|
|
15979
|
-
]
|
|
15980
|
-
:rtype: int
|
|
15981
|
-
"""
|
|
15982
|
-
return self._CCEnable
|
|
15983
|
-
|
|
15984
|
-
@CCEnable.setter
|
|
15985
|
-
def CCEnable(self, CCEnable):
|
|
15986
|
-
self._CCEnable = CCEnable
|
|
15987
|
-
|
|
15988
|
-
@property
|
|
15989
|
-
def CCThreshold(self):
|
|
15990
|
-
"""CC cleansing threshold (in QPS)
|
|
15991
|
-
:rtype: int
|
|
15992
|
-
"""
|
|
15993
|
-
return self._CCThreshold
|
|
15994
|
-
|
|
15995
|
-
@CCThreshold.setter
|
|
15996
|
-
def CCThreshold(self, CCThreshold):
|
|
15997
|
-
self._CCThreshold = CCThreshold
|
|
15998
|
-
|
|
15999
|
-
@property
|
|
16000
|
-
def InstanceDetailList(self):
|
|
16001
|
-
"""Anti-DDoS instance configured
|
|
16002
|
-
:rtype: list of InstanceRelation
|
|
16003
|
-
"""
|
|
16004
|
-
return self._InstanceDetailList
|
|
16005
|
-
|
|
16006
|
-
@InstanceDetailList.setter
|
|
16007
|
-
def InstanceDetailList(self, InstanceDetailList):
|
|
16008
|
-
self._InstanceDetailList = InstanceDetailList
|
|
16009
|
-
|
|
16010
|
-
@property
|
|
16011
|
-
def ListenerCcThresholdList(self):
|
|
16012
|
-
"""Domain name and protocol protection thresholds
|
|
16013
|
-
:rtype: list of ListenerCcThreholdConfig
|
|
16014
|
-
"""
|
|
16015
|
-
return self._ListenerCcThresholdList
|
|
16016
|
-
|
|
16017
|
-
@ListenerCcThresholdList.setter
|
|
16018
|
-
def ListenerCcThresholdList(self, ListenerCcThresholdList):
|
|
16019
|
-
self._ListenerCcThresholdList = ListenerCcThresholdList
|
|
16020
|
-
|
|
16021
|
-
@property
|
|
16022
|
-
def SynFloodThreshold(self):
|
|
16023
|
-
"""SYN traffic threshold
|
|
16024
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
16025
|
-
:rtype: int
|
|
16026
|
-
"""
|
|
16027
|
-
return self._SynFloodThreshold
|
|
16028
|
-
|
|
16029
|
-
@SynFloodThreshold.setter
|
|
16030
|
-
def SynFloodThreshold(self, SynFloodThreshold):
|
|
16031
|
-
self._SynFloodThreshold = SynFloodThreshold
|
|
16032
|
-
|
|
16033
|
-
@property
|
|
16034
|
-
def SynFloodPktThreshold(self):
|
|
16035
|
-
"""SYN packet threshold
|
|
16036
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
16037
|
-
:rtype: int
|
|
16038
|
-
"""
|
|
16039
|
-
return self._SynFloodPktThreshold
|
|
16040
|
-
|
|
16041
|
-
@SynFloodPktThreshold.setter
|
|
16042
|
-
def SynFloodPktThreshold(self, SynFloodPktThreshold):
|
|
16043
|
-
self._SynFloodPktThreshold = SynFloodPktThreshold
|
|
16044
|
-
|
|
16045
|
-
@property
|
|
16046
|
-
def UdpFloodThreshold(self):
|
|
16047
|
-
"""UDP traffic threshold
|
|
16048
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
16049
|
-
:rtype: int
|
|
16050
|
-
"""
|
|
16051
|
-
return self._UdpFloodThreshold
|
|
16052
|
-
|
|
16053
|
-
@UdpFloodThreshold.setter
|
|
16054
|
-
def UdpFloodThreshold(self, UdpFloodThreshold):
|
|
16055
|
-
self._UdpFloodThreshold = UdpFloodThreshold
|
|
16056
|
-
|
|
16057
|
-
@property
|
|
16058
|
-
def UdpFloodPktThreshold(self):
|
|
16059
|
-
"""UDP packet threshold
|
|
16060
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
16061
|
-
:rtype: int
|
|
16062
|
-
"""
|
|
16063
|
-
return self._UdpFloodPktThreshold
|
|
16064
|
-
|
|
16065
|
-
@UdpFloodPktThreshold.setter
|
|
16066
|
-
def UdpFloodPktThreshold(self, UdpFloodPktThreshold):
|
|
16067
|
-
self._UdpFloodPktThreshold = UdpFloodPktThreshold
|
|
16068
|
-
|
|
16069
|
-
@property
|
|
16070
|
-
def AckFloodThreshold(self):
|
|
16071
|
-
"""ACK traffic threshold
|
|
16072
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
16073
|
-
:rtype: int
|
|
16074
|
-
"""
|
|
16075
|
-
return self._AckFloodThreshold
|
|
16076
|
-
|
|
16077
|
-
@AckFloodThreshold.setter
|
|
16078
|
-
def AckFloodThreshold(self, AckFloodThreshold):
|
|
16079
|
-
self._AckFloodThreshold = AckFloodThreshold
|
|
16080
|
-
|
|
16081
|
-
@property
|
|
16082
|
-
def AckFloodPktThreshold(self):
|
|
16083
|
-
"""ACK packet threshold
|
|
16084
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
16085
|
-
:rtype: int
|
|
16086
|
-
"""
|
|
16087
|
-
return self._AckFloodPktThreshold
|
|
16088
|
-
|
|
16089
|
-
@AckFloodPktThreshold.setter
|
|
16090
|
-
def AckFloodPktThreshold(self, AckFloodPktThreshold):
|
|
16091
|
-
self._AckFloodPktThreshold = AckFloodPktThreshold
|
|
16092
|
-
|
|
16093
|
-
@property
|
|
16094
|
-
def SynAckFloodThreshold(self):
|
|
16095
|
-
"""SYNACK traffic threshold
|
|
16096
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
16097
|
-
:rtype: int
|
|
16098
|
-
"""
|
|
16099
|
-
return self._SynAckFloodThreshold
|
|
16100
|
-
|
|
16101
|
-
@SynAckFloodThreshold.setter
|
|
16102
|
-
def SynAckFloodThreshold(self, SynAckFloodThreshold):
|
|
16103
|
-
self._SynAckFloodThreshold = SynAckFloodThreshold
|
|
16104
|
-
|
|
16105
|
-
@property
|
|
16106
|
-
def SynAckFloodPktThreshold(self):
|
|
16107
|
-
"""SYNACK packet threshold
|
|
16108
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
16109
|
-
:rtype: int
|
|
16110
|
-
"""
|
|
16111
|
-
return self._SynAckFloodPktThreshold
|
|
16112
|
-
|
|
16113
|
-
@SynAckFloodPktThreshold.setter
|
|
16114
|
-
def SynAckFloodPktThreshold(self, SynAckFloodPktThreshold):
|
|
16115
|
-
self._SynAckFloodPktThreshold = SynAckFloodPktThreshold
|
|
16116
|
-
|
|
16117
|
-
@property
|
|
16118
|
-
def RstFloodThreshold(self):
|
|
16119
|
-
"""RST traffic threshold
|
|
16120
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
16121
|
-
:rtype: int
|
|
16122
|
-
"""
|
|
16123
|
-
return self._RstFloodThreshold
|
|
16124
|
-
|
|
16125
|
-
@RstFloodThreshold.setter
|
|
16126
|
-
def RstFloodThreshold(self, RstFloodThreshold):
|
|
16127
|
-
self._RstFloodThreshold = RstFloodThreshold
|
|
16128
|
-
|
|
16129
|
-
@property
|
|
16130
|
-
def RstFloodPktThreshold(self):
|
|
16131
|
-
"""RST packet threshold
|
|
16132
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
16133
|
-
:rtype: int
|
|
16134
|
-
"""
|
|
16135
|
-
return self._RstFloodPktThreshold
|
|
16136
|
-
|
|
16137
|
-
@RstFloodPktThreshold.setter
|
|
16138
|
-
def RstFloodPktThreshold(self, RstFloodPktThreshold):
|
|
16139
|
-
self._RstFloodPktThreshold = RstFloodPktThreshold
|
|
16140
|
-
|
|
16141
|
-
|
|
16142
|
-
def _deserialize(self, params):
|
|
16143
|
-
self._DDoSLevel = params.get("DDoSLevel")
|
|
16144
|
-
self._DDoSThreshold = params.get("DDoSThreshold")
|
|
16145
|
-
self._DDoSAI = params.get("DDoSAI")
|
|
16146
|
-
self._CCEnable = params.get("CCEnable")
|
|
16147
|
-
self._CCThreshold = params.get("CCThreshold")
|
|
16148
|
-
if params.get("InstanceDetailList") is not None:
|
|
16149
|
-
self._InstanceDetailList = []
|
|
16150
|
-
for item in params.get("InstanceDetailList"):
|
|
16151
|
-
obj = InstanceRelation()
|
|
16152
|
-
obj._deserialize(item)
|
|
16153
|
-
self._InstanceDetailList.append(obj)
|
|
16154
|
-
if params.get("ListenerCcThresholdList") is not None:
|
|
16155
|
-
self._ListenerCcThresholdList = []
|
|
16156
|
-
for item in params.get("ListenerCcThresholdList"):
|
|
16157
|
-
obj = ListenerCcThreholdConfig()
|
|
16158
|
-
obj._deserialize(item)
|
|
16159
|
-
self._ListenerCcThresholdList.append(obj)
|
|
16160
|
-
self._SynFloodThreshold = params.get("SynFloodThreshold")
|
|
16161
|
-
self._SynFloodPktThreshold = params.get("SynFloodPktThreshold")
|
|
16162
|
-
self._UdpFloodThreshold = params.get("UdpFloodThreshold")
|
|
16163
|
-
self._UdpFloodPktThreshold = params.get("UdpFloodPktThreshold")
|
|
16164
|
-
self._AckFloodThreshold = params.get("AckFloodThreshold")
|
|
16165
|
-
self._AckFloodPktThreshold = params.get("AckFloodPktThreshold")
|
|
16166
|
-
self._SynAckFloodThreshold = params.get("SynAckFloodThreshold")
|
|
16167
|
-
self._SynAckFloodPktThreshold = params.get("SynAckFloodPktThreshold")
|
|
16168
|
-
self._RstFloodThreshold = params.get("RstFloodThreshold")
|
|
16169
|
-
self._RstFloodPktThreshold = params.get("RstFloodPktThreshold")
|
|
16170
|
-
memeber_set = set(params.keys())
|
|
16171
|
-
for name, value in vars(self).items():
|
|
16172
|
-
property_name = name[1:]
|
|
16173
|
-
if property_name in memeber_set:
|
|
16174
|
-
memeber_set.remove(property_name)
|
|
16175
|
-
if len(memeber_set) > 0:
|
|
16176
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16177
|
-
|
|
16178
|
-
|
|
16179
|
-
|
|
16180
15505
|
class ProtocolBlockConfig(AbstractModel):
|
|
16181
15506
|
"""Protocol blocking configuration
|
|
16182
15507
|
|
|
@@ -26373,6 +26373,100 @@ class DisableGatewayFlowMonitorResponse(AbstractModel):
|
|
|
26373
26373
|
self._RequestId = params.get("RequestId")
|
|
26374
26374
|
|
|
26375
26375
|
|
|
26376
|
+
class DisableRoutesRequest(AbstractModel):
|
|
26377
|
+
"""DisableRoutes request structure.
|
|
26378
|
+
|
|
26379
|
+
"""
|
|
26380
|
+
|
|
26381
|
+
def __init__(self):
|
|
26382
|
+
r"""
|
|
26383
|
+
:param _RouteTableId: Unique route table ID.
|
|
26384
|
+
:type RouteTableId: str
|
|
26385
|
+
:param _RouteIds: Routing policy ID. This parameter cannot be used simultaneously with RouteItemIds, but at least one of them should be entered. The value of this parameter can be obtained by querying the route list ([DescribeRouteTables](https://intl.cloud.tencent.com/document/product/215/15763?from_cn_redirect=1)).
|
|
26386
|
+
:type RouteIds: list of int non-negative
|
|
26387
|
+
:param _RouteItemIds: Unique routing policy ID. This parameter cannot be used simultaneously with RouteIds, but at least one of them should be entered. The value of this parameter can be obtained by querying the route list ([DescribeRouteTables](https://intl.cloud.tencent.com/document/product/215/15763?from_cn_redirect=1)).
|
|
26388
|
+
:type RouteItemIds: list of str
|
|
26389
|
+
"""
|
|
26390
|
+
self._RouteTableId = None
|
|
26391
|
+
self._RouteIds = None
|
|
26392
|
+
self._RouteItemIds = None
|
|
26393
|
+
|
|
26394
|
+
@property
|
|
26395
|
+
def RouteTableId(self):
|
|
26396
|
+
"""Unique route table ID.
|
|
26397
|
+
:rtype: str
|
|
26398
|
+
"""
|
|
26399
|
+
return self._RouteTableId
|
|
26400
|
+
|
|
26401
|
+
@RouteTableId.setter
|
|
26402
|
+
def RouteTableId(self, RouteTableId):
|
|
26403
|
+
self._RouteTableId = RouteTableId
|
|
26404
|
+
|
|
26405
|
+
@property
|
|
26406
|
+
def RouteIds(self):
|
|
26407
|
+
"""Routing policy ID. This parameter cannot be used simultaneously with RouteItemIds, but at least one of them should be entered. The value of this parameter can be obtained by querying the route list ([DescribeRouteTables](https://intl.cloud.tencent.com/document/product/215/15763?from_cn_redirect=1)).
|
|
26408
|
+
:rtype: list of int non-negative
|
|
26409
|
+
"""
|
|
26410
|
+
return self._RouteIds
|
|
26411
|
+
|
|
26412
|
+
@RouteIds.setter
|
|
26413
|
+
def RouteIds(self, RouteIds):
|
|
26414
|
+
self._RouteIds = RouteIds
|
|
26415
|
+
|
|
26416
|
+
@property
|
|
26417
|
+
def RouteItemIds(self):
|
|
26418
|
+
"""Unique routing policy ID. This parameter cannot be used simultaneously with RouteIds, but at least one of them should be entered. The value of this parameter can be obtained by querying the route list ([DescribeRouteTables](https://intl.cloud.tencent.com/document/product/215/15763?from_cn_redirect=1)).
|
|
26419
|
+
:rtype: list of str
|
|
26420
|
+
"""
|
|
26421
|
+
return self._RouteItemIds
|
|
26422
|
+
|
|
26423
|
+
@RouteItemIds.setter
|
|
26424
|
+
def RouteItemIds(self, RouteItemIds):
|
|
26425
|
+
self._RouteItemIds = RouteItemIds
|
|
26426
|
+
|
|
26427
|
+
|
|
26428
|
+
def _deserialize(self, params):
|
|
26429
|
+
self._RouteTableId = params.get("RouteTableId")
|
|
26430
|
+
self._RouteIds = params.get("RouteIds")
|
|
26431
|
+
self._RouteItemIds = params.get("RouteItemIds")
|
|
26432
|
+
memeber_set = set(params.keys())
|
|
26433
|
+
for name, value in vars(self).items():
|
|
26434
|
+
property_name = name[1:]
|
|
26435
|
+
if property_name in memeber_set:
|
|
26436
|
+
memeber_set.remove(property_name)
|
|
26437
|
+
if len(memeber_set) > 0:
|
|
26438
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
26439
|
+
|
|
26440
|
+
|
|
26441
|
+
|
|
26442
|
+
class DisableRoutesResponse(AbstractModel):
|
|
26443
|
+
"""DisableRoutes response structure.
|
|
26444
|
+
|
|
26445
|
+
"""
|
|
26446
|
+
|
|
26447
|
+
def __init__(self):
|
|
26448
|
+
r"""
|
|
26449
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
26450
|
+
:type RequestId: str
|
|
26451
|
+
"""
|
|
26452
|
+
self._RequestId = None
|
|
26453
|
+
|
|
26454
|
+
@property
|
|
26455
|
+
def RequestId(self):
|
|
26456
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
26457
|
+
:rtype: str
|
|
26458
|
+
"""
|
|
26459
|
+
return self._RequestId
|
|
26460
|
+
|
|
26461
|
+
@RequestId.setter
|
|
26462
|
+
def RequestId(self, RequestId):
|
|
26463
|
+
self._RequestId = RequestId
|
|
26464
|
+
|
|
26465
|
+
|
|
26466
|
+
def _deserialize(self, params):
|
|
26467
|
+
self._RequestId = params.get("RequestId")
|
|
26468
|
+
|
|
26469
|
+
|
|
26376
26470
|
class DisableSnapshotPoliciesRequest(AbstractModel):
|
|
26377
26471
|
"""DisableSnapshotPolicies request structure.
|
|
26378
26472
|
|
|
@@ -27359,6 +27453,100 @@ class EnableGatewayFlowMonitorResponse(AbstractModel):
|
|
|
27359
27453
|
self._RequestId = params.get("RequestId")
|
|
27360
27454
|
|
|
27361
27455
|
|
|
27456
|
+
class EnableRoutesRequest(AbstractModel):
|
|
27457
|
+
"""EnableRoutes request structure.
|
|
27458
|
+
|
|
27459
|
+
"""
|
|
27460
|
+
|
|
27461
|
+
def __init__(self):
|
|
27462
|
+
r"""
|
|
27463
|
+
:param _RouteTableId: Unique route table ID.
|
|
27464
|
+
:type RouteTableId: str
|
|
27465
|
+
:param _RouteIds: Routing policy ID. This parameter cannot be used simultaneously with RouteItemIds, but at least one of them should be entered. The maximum number of items processed in a single request is 100. The value of this parameter can be obtained by querying the route list ([DescribeRouteTables](https://intl.cloud.tencent.com/document/product/215/15763?from_cn_redirect=1)).
|
|
27466
|
+
:type RouteIds: list of int non-negative
|
|
27467
|
+
:param _RouteItemIds: Unique routing policy ID. This parameter cannot be used simultaneously with RouteIds, but at least one of them should be entered. The maximum number of items processed in a single request is 100. The value of this parameter can be obtained by querying the route list ([DescribeRouteTables](https://intl.cloud.tencent.com/document/product/215/15763?from_cn_redirect=1)).
|
|
27468
|
+
:type RouteItemIds: list of str
|
|
27469
|
+
"""
|
|
27470
|
+
self._RouteTableId = None
|
|
27471
|
+
self._RouteIds = None
|
|
27472
|
+
self._RouteItemIds = None
|
|
27473
|
+
|
|
27474
|
+
@property
|
|
27475
|
+
def RouteTableId(self):
|
|
27476
|
+
"""Unique route table ID.
|
|
27477
|
+
:rtype: str
|
|
27478
|
+
"""
|
|
27479
|
+
return self._RouteTableId
|
|
27480
|
+
|
|
27481
|
+
@RouteTableId.setter
|
|
27482
|
+
def RouteTableId(self, RouteTableId):
|
|
27483
|
+
self._RouteTableId = RouteTableId
|
|
27484
|
+
|
|
27485
|
+
@property
|
|
27486
|
+
def RouteIds(self):
|
|
27487
|
+
"""Routing policy ID. This parameter cannot be used simultaneously with RouteItemIds, but at least one of them should be entered. The maximum number of items processed in a single request is 100. The value of this parameter can be obtained by querying the route list ([DescribeRouteTables](https://intl.cloud.tencent.com/document/product/215/15763?from_cn_redirect=1)).
|
|
27488
|
+
:rtype: list of int non-negative
|
|
27489
|
+
"""
|
|
27490
|
+
return self._RouteIds
|
|
27491
|
+
|
|
27492
|
+
@RouteIds.setter
|
|
27493
|
+
def RouteIds(self, RouteIds):
|
|
27494
|
+
self._RouteIds = RouteIds
|
|
27495
|
+
|
|
27496
|
+
@property
|
|
27497
|
+
def RouteItemIds(self):
|
|
27498
|
+
"""Unique routing policy ID. This parameter cannot be used simultaneously with RouteIds, but at least one of them should be entered. The maximum number of items processed in a single request is 100. The value of this parameter can be obtained by querying the route list ([DescribeRouteTables](https://intl.cloud.tencent.com/document/product/215/15763?from_cn_redirect=1)).
|
|
27499
|
+
:rtype: list of str
|
|
27500
|
+
"""
|
|
27501
|
+
return self._RouteItemIds
|
|
27502
|
+
|
|
27503
|
+
@RouteItemIds.setter
|
|
27504
|
+
def RouteItemIds(self, RouteItemIds):
|
|
27505
|
+
self._RouteItemIds = RouteItemIds
|
|
27506
|
+
|
|
27507
|
+
|
|
27508
|
+
def _deserialize(self, params):
|
|
27509
|
+
self._RouteTableId = params.get("RouteTableId")
|
|
27510
|
+
self._RouteIds = params.get("RouteIds")
|
|
27511
|
+
self._RouteItemIds = params.get("RouteItemIds")
|
|
27512
|
+
memeber_set = set(params.keys())
|
|
27513
|
+
for name, value in vars(self).items():
|
|
27514
|
+
property_name = name[1:]
|
|
27515
|
+
if property_name in memeber_set:
|
|
27516
|
+
memeber_set.remove(property_name)
|
|
27517
|
+
if len(memeber_set) > 0:
|
|
27518
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
27519
|
+
|
|
27520
|
+
|
|
27521
|
+
|
|
27522
|
+
class EnableRoutesResponse(AbstractModel):
|
|
27523
|
+
"""EnableRoutes response structure.
|
|
27524
|
+
|
|
27525
|
+
"""
|
|
27526
|
+
|
|
27527
|
+
def __init__(self):
|
|
27528
|
+
r"""
|
|
27529
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
27530
|
+
:type RequestId: str
|
|
27531
|
+
"""
|
|
27532
|
+
self._RequestId = None
|
|
27533
|
+
|
|
27534
|
+
@property
|
|
27535
|
+
def RequestId(self):
|
|
27536
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
27537
|
+
:rtype: str
|
|
27538
|
+
"""
|
|
27539
|
+
return self._RequestId
|
|
27540
|
+
|
|
27541
|
+
@RequestId.setter
|
|
27542
|
+
def RequestId(self, RequestId):
|
|
27543
|
+
self._RequestId = RequestId
|
|
27544
|
+
|
|
27545
|
+
|
|
27546
|
+
def _deserialize(self, params):
|
|
27547
|
+
self._RequestId = params.get("RequestId")
|
|
27548
|
+
|
|
27549
|
+
|
|
27362
27550
|
class EnableSnapshotPoliciesRequest(AbstractModel):
|
|
27363
27551
|
"""EnableSnapshotPolicies request structure.
|
|
27364
27552
|
|
|
@@ -4190,6 +4190,29 @@ class VpcClient(AbstractClient):
|
|
|
4190
4190
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4191
4191
|
|
|
4192
4192
|
|
|
4193
|
+
def DisableRoutes(self, request):
|
|
4194
|
+
"""This API is used to disable enabled subnet routes.
|
|
4195
|
+
|
|
4196
|
+
:param request: Request instance for DisableRoutes.
|
|
4197
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.DisableRoutesRequest`
|
|
4198
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.DisableRoutesResponse`
|
|
4199
|
+
|
|
4200
|
+
"""
|
|
4201
|
+
try:
|
|
4202
|
+
params = request._serialize()
|
|
4203
|
+
headers = request.headers
|
|
4204
|
+
body = self.call("DisableRoutes", params, headers=headers)
|
|
4205
|
+
response = json.loads(body)
|
|
4206
|
+
model = models.DisableRoutesResponse()
|
|
4207
|
+
model._deserialize(response["Response"])
|
|
4208
|
+
return model
|
|
4209
|
+
except Exception as e:
|
|
4210
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4211
|
+
raise
|
|
4212
|
+
else:
|
|
4213
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4214
|
+
|
|
4215
|
+
|
|
4193
4216
|
def DisableSnapshotPolicies(self, request):
|
|
4194
4217
|
"""This API is used to disable specified snapshot policies.
|
|
4195
4218
|
|
|
@@ -4474,6 +4497,30 @@ class VpcClient(AbstractClient):
|
|
|
4474
4497
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4475
4498
|
|
|
4476
4499
|
|
|
4500
|
+
def EnableRoutes(self, request):
|
|
4501
|
+
"""This API is used to enable disabled subnet routes.<br />
|
|
4502
|
+
The API is used to verify whether the enabled route conflicts with existing routes. If they conflict, the new route cannot be enabled and will result in a failure. When a route conflict occurs, you need to first disable the conflicting route before you can enable the new one.
|
|
4503
|
+
|
|
4504
|
+
:param request: Request instance for EnableRoutes.
|
|
4505
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.EnableRoutesRequest`
|
|
4506
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.EnableRoutesResponse`
|
|
4507
|
+
|
|
4508
|
+
"""
|
|
4509
|
+
try:
|
|
4510
|
+
params = request._serialize()
|
|
4511
|
+
headers = request.headers
|
|
4512
|
+
body = self.call("EnableRoutes", params, headers=headers)
|
|
4513
|
+
response = json.loads(body)
|
|
4514
|
+
model = models.EnableRoutesResponse()
|
|
4515
|
+
model._deserialize(response["Response"])
|
|
4516
|
+
return model
|
|
4517
|
+
except Exception as e:
|
|
4518
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4519
|
+
raise
|
|
4520
|
+
else:
|
|
4521
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4522
|
+
|
|
4523
|
+
|
|
4477
4524
|
def EnableSnapshotPolicies(self, request):
|
|
4478
4525
|
"""This API is used to enable specified snapshot policies.
|
|
4479
4526
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=LBmXTfP16SkePpPuSy_S3U-xlzvW07su0_EvbkBGIn0,630
|
|
2
2
|
tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/advisor/v20200721/advisor_client.py,sha256=FuBG5ZJpmnVpDyVC84G_cjEWSa-mm6oyBvOIDe5SP-g,2924
|
|
@@ -16,9 +16,9 @@ tencentcloud/ams/v20201229/errorcodes.py,sha256=TQgth8ZZ54Oh60oduwNCGVakD4yfcUrG
|
|
|
16
16
|
tencentcloud/ams/v20201229/models.py,sha256=G1SoBMO0GwgMjn_sedpIgV0pxKpSStdFOmpqpo4H3I4,104977
|
|
17
17
|
tencentcloud/antiddos/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
18
|
tencentcloud/antiddos/v20200309/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
|
-
tencentcloud/antiddos/v20200309/antiddos_client.py,sha256=
|
|
19
|
+
tencentcloud/antiddos/v20200309/antiddos_client.py,sha256=jp65za6EtC_ahchVvEgfTz043-hcQ0Wp6xOjaGNgOs0,68703
|
|
20
20
|
tencentcloud/antiddos/v20200309/errorcodes.py,sha256=-NgKirEk0ME2_qvHM8JpT4xH_fAl1U2QC_I5a4EBe78,2087
|
|
21
|
-
tencentcloud/antiddos/v20200309/models.py,sha256=
|
|
21
|
+
tencentcloud/antiddos/v20200309/models.py,sha256=um2Jpjr11bscB-qlc1qbAEKLl271geFOxInixjymIbo,522446
|
|
22
22
|
tencentcloud/apigateway/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
23
|
tencentcloud/apigateway/v20180808/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
24
|
tencentcloud/apigateway/v20180808/apigateway_client.py,sha256=TleAL-S4dDrc5P6v8Y5jEKo6VHMfjQx4b4i80pL3cWA,92307
|
|
@@ -622,8 +622,8 @@ tencentcloud/vod/v20180717/vod_client.py,sha256=DMxebnzLEsU2E6nf1j4WZxEQu_D8kHOg
|
|
|
622
622
|
tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
623
623
|
tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
624
624
|
tencentcloud/vpc/v20170312/errorcodes.py,sha256=1Wg7KPWtuLXLGXOXrVdb5c21PWlsbzUyv5tJlGFNjYo,48184
|
|
625
|
-
tencentcloud/vpc/v20170312/models.py,sha256=
|
|
626
|
-
tencentcloud/vpc/v20170312/vpc_client.py,sha256=
|
|
625
|
+
tencentcloud/vpc/v20170312/models.py,sha256=Qc9cavufzGSp7x96HELrS3frc_jcap6qxVJFXDoHVc8,1575745
|
|
626
|
+
tencentcloud/vpc/v20170312/vpc_client.py,sha256=plDYUSC9aoHb0snvouGg5goD_P34CoVcmUAoeCF8LLo,304571
|
|
627
627
|
tencentcloud/waf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
628
628
|
tencentcloud/waf/v20180125/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
629
629
|
tencentcloud/waf/v20180125/errorcodes.py,sha256=zwBZcvnCjbuvBJKChDMzCaA89zkApEOvztAZ_ga3K44,6276
|
|
@@ -639,7 +639,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
639
639
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
|
|
640
640
|
tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
|
|
641
641
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=LY01pPiy1k_AXnHgG0FonGekRSFMY3t9pcYH8aE27oQ,67389
|
|
642
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
643
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
644
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
645
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
642
|
+
tencentcloud_sdk_python_intl_en-3.0.1169.dist-info/METADATA,sha256=j8G57Jp0nhgj2ZEyA45NZL5_wXJhQ5ghzRy1ZIZDDTI,1628
|
|
643
|
+
tencentcloud_sdk_python_intl_en-3.0.1169.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
644
|
+
tencentcloud_sdk_python_intl_en-3.0.1169.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
645
|
+
tencentcloud_sdk_python_intl_en-3.0.1169.dist-info/RECORD,,
|
|
File without changes
|