tencentcloud-sdk-python 3.0.1477__py2.py3-none-any.whl → 3.0.1478__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 might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +99 -0
- tencentcloud/dbbrain/v20210527/models.py +12 -12
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -3
- tencentcloud/essbasic/v20210526/models.py +4 -12
- tencentcloud/gaap/v20180529/models.py +17 -2
- tencentcloud/ioa/v20220601/errorcodes.py +3 -0
- tencentcloud/ioa/v20220601/ioa_client.py +23 -0
- tencentcloud/ioa/v20220601/models.py +224 -0
- tencentcloud/lighthouse/v20200324/models.py +71 -0
- tencentcloud/mps/v20190612/models.py +56 -10
- tencentcloud/rum/v20210622/models.py +30 -0
- tencentcloud/tmt/v20180321/models.py +139 -0
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/models.py +1824 -252
- tencentcloud/vpc/v20170312/vpc_client.py +276 -0
- tencentcloud/wedata/v20250806/models.py +71 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/RECORD +24 -24
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/top_level.txt +0 -0
|
@@ -13806,6 +13806,275 @@ class CreateReserveIpAddressesResponse(AbstractModel):
|
|
|
13806
13806
|
self._RequestId = params.get("RequestId")
|
|
13807
13807
|
|
|
13808
13808
|
|
|
13809
|
+
class CreateRoutePolicyAssociationsRequest(AbstractModel):
|
|
13810
|
+
r"""CreateRoutePolicyAssociations请求参数结构体
|
|
13811
|
+
|
|
13812
|
+
"""
|
|
13813
|
+
|
|
13814
|
+
def __init__(self):
|
|
13815
|
+
r"""
|
|
13816
|
+
:param _RoutePolicyAssociationSet: 路由接收策略绑定对象列表。
|
|
13817
|
+
:type RoutePolicyAssociationSet: list of RoutePolicyAssociation
|
|
13818
|
+
"""
|
|
13819
|
+
self._RoutePolicyAssociationSet = None
|
|
13820
|
+
|
|
13821
|
+
@property
|
|
13822
|
+
def RoutePolicyAssociationSet(self):
|
|
13823
|
+
r"""路由接收策略绑定对象列表。
|
|
13824
|
+
:rtype: list of RoutePolicyAssociation
|
|
13825
|
+
"""
|
|
13826
|
+
return self._RoutePolicyAssociationSet
|
|
13827
|
+
|
|
13828
|
+
@RoutePolicyAssociationSet.setter
|
|
13829
|
+
def RoutePolicyAssociationSet(self, RoutePolicyAssociationSet):
|
|
13830
|
+
self._RoutePolicyAssociationSet = RoutePolicyAssociationSet
|
|
13831
|
+
|
|
13832
|
+
|
|
13833
|
+
def _deserialize(self, params):
|
|
13834
|
+
if params.get("RoutePolicyAssociationSet") is not None:
|
|
13835
|
+
self._RoutePolicyAssociationSet = []
|
|
13836
|
+
for item in params.get("RoutePolicyAssociationSet"):
|
|
13837
|
+
obj = RoutePolicyAssociation()
|
|
13838
|
+
obj._deserialize(item)
|
|
13839
|
+
self._RoutePolicyAssociationSet.append(obj)
|
|
13840
|
+
memeber_set = set(params.keys())
|
|
13841
|
+
for name, value in vars(self).items():
|
|
13842
|
+
property_name = name[1:]
|
|
13843
|
+
if property_name in memeber_set:
|
|
13844
|
+
memeber_set.remove(property_name)
|
|
13845
|
+
if len(memeber_set) > 0:
|
|
13846
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13847
|
+
|
|
13848
|
+
|
|
13849
|
+
|
|
13850
|
+
class CreateRoutePolicyAssociationsResponse(AbstractModel):
|
|
13851
|
+
r"""CreateRoutePolicyAssociations返回参数结构体
|
|
13852
|
+
|
|
13853
|
+
"""
|
|
13854
|
+
|
|
13855
|
+
def __init__(self):
|
|
13856
|
+
r"""
|
|
13857
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13858
|
+
:type RequestId: str
|
|
13859
|
+
"""
|
|
13860
|
+
self._RequestId = None
|
|
13861
|
+
|
|
13862
|
+
@property
|
|
13863
|
+
def RequestId(self):
|
|
13864
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13865
|
+
:rtype: str
|
|
13866
|
+
"""
|
|
13867
|
+
return self._RequestId
|
|
13868
|
+
|
|
13869
|
+
@RequestId.setter
|
|
13870
|
+
def RequestId(self, RequestId):
|
|
13871
|
+
self._RequestId = RequestId
|
|
13872
|
+
|
|
13873
|
+
|
|
13874
|
+
def _deserialize(self, params):
|
|
13875
|
+
self._RequestId = params.get("RequestId")
|
|
13876
|
+
|
|
13877
|
+
|
|
13878
|
+
class CreateRoutePolicyEntriesRequest(AbstractModel):
|
|
13879
|
+
r"""CreateRoutePolicyEntries请求参数结构体
|
|
13880
|
+
|
|
13881
|
+
"""
|
|
13882
|
+
|
|
13883
|
+
def __init__(self):
|
|
13884
|
+
r"""
|
|
13885
|
+
:param _RoutePolicyId: 路由接收策略实例ID。
|
|
13886
|
+
:type RoutePolicyId: str
|
|
13887
|
+
:param _RoutePolicyEntrySet: 路由接收策略条目列表。
|
|
13888
|
+
:type RoutePolicyEntrySet: list of RoutePolicyEntry
|
|
13889
|
+
"""
|
|
13890
|
+
self._RoutePolicyId = None
|
|
13891
|
+
self._RoutePolicyEntrySet = None
|
|
13892
|
+
|
|
13893
|
+
@property
|
|
13894
|
+
def RoutePolicyId(self):
|
|
13895
|
+
r"""路由接收策略实例ID。
|
|
13896
|
+
:rtype: str
|
|
13897
|
+
"""
|
|
13898
|
+
return self._RoutePolicyId
|
|
13899
|
+
|
|
13900
|
+
@RoutePolicyId.setter
|
|
13901
|
+
def RoutePolicyId(self, RoutePolicyId):
|
|
13902
|
+
self._RoutePolicyId = RoutePolicyId
|
|
13903
|
+
|
|
13904
|
+
@property
|
|
13905
|
+
def RoutePolicyEntrySet(self):
|
|
13906
|
+
r"""路由接收策略条目列表。
|
|
13907
|
+
:rtype: list of RoutePolicyEntry
|
|
13908
|
+
"""
|
|
13909
|
+
return self._RoutePolicyEntrySet
|
|
13910
|
+
|
|
13911
|
+
@RoutePolicyEntrySet.setter
|
|
13912
|
+
def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
|
|
13913
|
+
self._RoutePolicyEntrySet = RoutePolicyEntrySet
|
|
13914
|
+
|
|
13915
|
+
|
|
13916
|
+
def _deserialize(self, params):
|
|
13917
|
+
self._RoutePolicyId = params.get("RoutePolicyId")
|
|
13918
|
+
if params.get("RoutePolicyEntrySet") is not None:
|
|
13919
|
+
self._RoutePolicyEntrySet = []
|
|
13920
|
+
for item in params.get("RoutePolicyEntrySet"):
|
|
13921
|
+
obj = RoutePolicyEntry()
|
|
13922
|
+
obj._deserialize(item)
|
|
13923
|
+
self._RoutePolicyEntrySet.append(obj)
|
|
13924
|
+
memeber_set = set(params.keys())
|
|
13925
|
+
for name, value in vars(self).items():
|
|
13926
|
+
property_name = name[1:]
|
|
13927
|
+
if property_name in memeber_set:
|
|
13928
|
+
memeber_set.remove(property_name)
|
|
13929
|
+
if len(memeber_set) > 0:
|
|
13930
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13931
|
+
|
|
13932
|
+
|
|
13933
|
+
|
|
13934
|
+
class CreateRoutePolicyEntriesResponse(AbstractModel):
|
|
13935
|
+
r"""CreateRoutePolicyEntries返回参数结构体
|
|
13936
|
+
|
|
13937
|
+
"""
|
|
13938
|
+
|
|
13939
|
+
def __init__(self):
|
|
13940
|
+
r"""
|
|
13941
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13942
|
+
:type RequestId: str
|
|
13943
|
+
"""
|
|
13944
|
+
self._RequestId = None
|
|
13945
|
+
|
|
13946
|
+
@property
|
|
13947
|
+
def RequestId(self):
|
|
13948
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13949
|
+
:rtype: str
|
|
13950
|
+
"""
|
|
13951
|
+
return self._RequestId
|
|
13952
|
+
|
|
13953
|
+
@RequestId.setter
|
|
13954
|
+
def RequestId(self, RequestId):
|
|
13955
|
+
self._RequestId = RequestId
|
|
13956
|
+
|
|
13957
|
+
|
|
13958
|
+
def _deserialize(self, params):
|
|
13959
|
+
self._RequestId = params.get("RequestId")
|
|
13960
|
+
|
|
13961
|
+
|
|
13962
|
+
class CreateRoutePolicyRequest(AbstractModel):
|
|
13963
|
+
r"""CreateRoutePolicy请求参数结构体
|
|
13964
|
+
|
|
13965
|
+
"""
|
|
13966
|
+
|
|
13967
|
+
def __init__(self):
|
|
13968
|
+
r"""
|
|
13969
|
+
:param _RoutePolicyDescription: 路由策略描述。
|
|
13970
|
+
:type RoutePolicyDescription: str
|
|
13971
|
+
:param _RoutePolicyName: 路由策略名。
|
|
13972
|
+
:type RoutePolicyName: str
|
|
13973
|
+
:param _RoutePolicyEntrySet: 路由策略条目列表。
|
|
13974
|
+
:type RoutePolicyEntrySet: list of RoutePolicyEntry
|
|
13975
|
+
"""
|
|
13976
|
+
self._RoutePolicyDescription = None
|
|
13977
|
+
self._RoutePolicyName = None
|
|
13978
|
+
self._RoutePolicyEntrySet = None
|
|
13979
|
+
|
|
13980
|
+
@property
|
|
13981
|
+
def RoutePolicyDescription(self):
|
|
13982
|
+
r"""路由策略描述。
|
|
13983
|
+
:rtype: str
|
|
13984
|
+
"""
|
|
13985
|
+
return self._RoutePolicyDescription
|
|
13986
|
+
|
|
13987
|
+
@RoutePolicyDescription.setter
|
|
13988
|
+
def RoutePolicyDescription(self, RoutePolicyDescription):
|
|
13989
|
+
self._RoutePolicyDescription = RoutePolicyDescription
|
|
13990
|
+
|
|
13991
|
+
@property
|
|
13992
|
+
def RoutePolicyName(self):
|
|
13993
|
+
r"""路由策略名。
|
|
13994
|
+
:rtype: str
|
|
13995
|
+
"""
|
|
13996
|
+
return self._RoutePolicyName
|
|
13997
|
+
|
|
13998
|
+
@RoutePolicyName.setter
|
|
13999
|
+
def RoutePolicyName(self, RoutePolicyName):
|
|
14000
|
+
self._RoutePolicyName = RoutePolicyName
|
|
14001
|
+
|
|
14002
|
+
@property
|
|
14003
|
+
def RoutePolicyEntrySet(self):
|
|
14004
|
+
r"""路由策略条目列表。
|
|
14005
|
+
:rtype: list of RoutePolicyEntry
|
|
14006
|
+
"""
|
|
14007
|
+
return self._RoutePolicyEntrySet
|
|
14008
|
+
|
|
14009
|
+
@RoutePolicyEntrySet.setter
|
|
14010
|
+
def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
|
|
14011
|
+
self._RoutePolicyEntrySet = RoutePolicyEntrySet
|
|
14012
|
+
|
|
14013
|
+
|
|
14014
|
+
def _deserialize(self, params):
|
|
14015
|
+
self._RoutePolicyDescription = params.get("RoutePolicyDescription")
|
|
14016
|
+
self._RoutePolicyName = params.get("RoutePolicyName")
|
|
14017
|
+
if params.get("RoutePolicyEntrySet") is not None:
|
|
14018
|
+
self._RoutePolicyEntrySet = []
|
|
14019
|
+
for item in params.get("RoutePolicyEntrySet"):
|
|
14020
|
+
obj = RoutePolicyEntry()
|
|
14021
|
+
obj._deserialize(item)
|
|
14022
|
+
self._RoutePolicyEntrySet.append(obj)
|
|
14023
|
+
memeber_set = set(params.keys())
|
|
14024
|
+
for name, value in vars(self).items():
|
|
14025
|
+
property_name = name[1:]
|
|
14026
|
+
if property_name in memeber_set:
|
|
14027
|
+
memeber_set.remove(property_name)
|
|
14028
|
+
if len(memeber_set) > 0:
|
|
14029
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14030
|
+
|
|
14031
|
+
|
|
14032
|
+
|
|
14033
|
+
class CreateRoutePolicyResponse(AbstractModel):
|
|
14034
|
+
r"""CreateRoutePolicy返回参数结构体
|
|
14035
|
+
|
|
14036
|
+
"""
|
|
14037
|
+
|
|
14038
|
+
def __init__(self):
|
|
14039
|
+
r"""
|
|
14040
|
+
:param _RoutePolicy: 路由策略ID及规则。
|
|
14041
|
+
:type RoutePolicy: :class:`tencentcloud.vpc.v20170312.models.RoutePolicy`
|
|
14042
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14043
|
+
:type RequestId: str
|
|
14044
|
+
"""
|
|
14045
|
+
self._RoutePolicy = None
|
|
14046
|
+
self._RequestId = None
|
|
14047
|
+
|
|
14048
|
+
@property
|
|
14049
|
+
def RoutePolicy(self):
|
|
14050
|
+
r"""路由策略ID及规则。
|
|
14051
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.RoutePolicy`
|
|
14052
|
+
"""
|
|
14053
|
+
return self._RoutePolicy
|
|
14054
|
+
|
|
14055
|
+
@RoutePolicy.setter
|
|
14056
|
+
def RoutePolicy(self, RoutePolicy):
|
|
14057
|
+
self._RoutePolicy = RoutePolicy
|
|
14058
|
+
|
|
14059
|
+
@property
|
|
14060
|
+
def RequestId(self):
|
|
14061
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14062
|
+
:rtype: str
|
|
14063
|
+
"""
|
|
14064
|
+
return self._RequestId
|
|
14065
|
+
|
|
14066
|
+
@RequestId.setter
|
|
14067
|
+
def RequestId(self, RequestId):
|
|
14068
|
+
self._RequestId = RequestId
|
|
14069
|
+
|
|
14070
|
+
|
|
14071
|
+
def _deserialize(self, params):
|
|
14072
|
+
if params.get("RoutePolicy") is not None:
|
|
14073
|
+
self._RoutePolicy = RoutePolicy()
|
|
14074
|
+
self._RoutePolicy._deserialize(params.get("RoutePolicy"))
|
|
14075
|
+
self._RequestId = params.get("RequestId")
|
|
14076
|
+
|
|
14077
|
+
|
|
13809
14078
|
class CreateRouteTableRequest(AbstractModel):
|
|
13810
14079
|
r"""CreateRouteTable请求参数结构体
|
|
13811
14080
|
|
|
@@ -20803,32 +21072,37 @@ class DeleteReserveIpAddressesResponse(AbstractModel):
|
|
|
20803
21072
|
self._RequestId = params.get("RequestId")
|
|
20804
21073
|
|
|
20805
21074
|
|
|
20806
|
-
class
|
|
20807
|
-
r"""
|
|
21075
|
+
class DeleteRoutePolicyAssociationsRequest(AbstractModel):
|
|
21076
|
+
r"""DeleteRoutePolicyAssociations请求参数结构体
|
|
20808
21077
|
|
|
20809
21078
|
"""
|
|
20810
21079
|
|
|
20811
21080
|
def __init__(self):
|
|
20812
21081
|
r"""
|
|
20813
|
-
:param
|
|
20814
|
-
:type
|
|
21082
|
+
:param _RoutePolicyAssociationSet: 路由策略绑定对象列表,删除路由策略绑定时,仅需使用RoutePolicyAssociation的RouteTableId字段和RoutePolicyId字段(不需要填写Priority字段)。
|
|
21083
|
+
:type RoutePolicyAssociationSet: list of RoutePolicyAssociation
|
|
20815
21084
|
"""
|
|
20816
|
-
self.
|
|
21085
|
+
self._RoutePolicyAssociationSet = None
|
|
20817
21086
|
|
|
20818
21087
|
@property
|
|
20819
|
-
def
|
|
20820
|
-
r"""
|
|
20821
|
-
:rtype:
|
|
21088
|
+
def RoutePolicyAssociationSet(self):
|
|
21089
|
+
r"""路由策略绑定对象列表,删除路由策略绑定时,仅需使用RoutePolicyAssociation的RouteTableId字段和RoutePolicyId字段(不需要填写Priority字段)。
|
|
21090
|
+
:rtype: list of RoutePolicyAssociation
|
|
20822
21091
|
"""
|
|
20823
|
-
return self.
|
|
21092
|
+
return self._RoutePolicyAssociationSet
|
|
20824
21093
|
|
|
20825
|
-
@
|
|
20826
|
-
def
|
|
20827
|
-
self.
|
|
21094
|
+
@RoutePolicyAssociationSet.setter
|
|
21095
|
+
def RoutePolicyAssociationSet(self, RoutePolicyAssociationSet):
|
|
21096
|
+
self._RoutePolicyAssociationSet = RoutePolicyAssociationSet
|
|
20828
21097
|
|
|
20829
21098
|
|
|
20830
21099
|
def _deserialize(self, params):
|
|
20831
|
-
|
|
21100
|
+
if params.get("RoutePolicyAssociationSet") is not None:
|
|
21101
|
+
self._RoutePolicyAssociationSet = []
|
|
21102
|
+
for item in params.get("RoutePolicyAssociationSet"):
|
|
21103
|
+
obj = RoutePolicyAssociation()
|
|
21104
|
+
obj._deserialize(item)
|
|
21105
|
+
self._RoutePolicyAssociationSet.append(obj)
|
|
20832
21106
|
memeber_set = set(params.keys())
|
|
20833
21107
|
for name, value in vars(self).items():
|
|
20834
21108
|
property_name = name[1:]
|
|
@@ -20839,8 +21113,8 @@ class DeleteRouteTableRequest(AbstractModel):
|
|
|
20839
21113
|
|
|
20840
21114
|
|
|
20841
21115
|
|
|
20842
|
-
class
|
|
20843
|
-
r"""
|
|
21116
|
+
class DeleteRoutePolicyAssociationsResponse(AbstractModel):
|
|
21117
|
+
r"""DeleteRoutePolicyAssociations返回参数结构体
|
|
20844
21118
|
|
|
20845
21119
|
"""
|
|
20846
21120
|
|
|
@@ -20867,52 +21141,52 @@ class DeleteRouteTableResponse(AbstractModel):
|
|
|
20867
21141
|
self._RequestId = params.get("RequestId")
|
|
20868
21142
|
|
|
20869
21143
|
|
|
20870
|
-
class
|
|
20871
|
-
r"""
|
|
21144
|
+
class DeleteRoutePolicyEntriesRequest(AbstractModel):
|
|
21145
|
+
r"""DeleteRoutePolicyEntries请求参数结构体
|
|
20872
21146
|
|
|
20873
21147
|
"""
|
|
20874
21148
|
|
|
20875
21149
|
def __init__(self):
|
|
20876
21150
|
r"""
|
|
20877
|
-
:param
|
|
20878
|
-
:type
|
|
20879
|
-
:param
|
|
20880
|
-
:type
|
|
21151
|
+
:param _RoutePolicyId: 路由接收策略实例ID。
|
|
21152
|
+
:type RoutePolicyId: str
|
|
21153
|
+
:param _RoutePolicyEntrySet: 路由接收策略条目列表,删除路由策略规则时,仅需使用RoutePolicyEntry的RoutePolicyEntryIdId字段。
|
|
21154
|
+
:type RoutePolicyEntrySet: list of RoutePolicyEntry
|
|
20881
21155
|
"""
|
|
20882
|
-
self.
|
|
20883
|
-
self.
|
|
21156
|
+
self._RoutePolicyId = None
|
|
21157
|
+
self._RoutePolicyEntrySet = None
|
|
20884
21158
|
|
|
20885
21159
|
@property
|
|
20886
|
-
def
|
|
20887
|
-
r"""
|
|
21160
|
+
def RoutePolicyId(self):
|
|
21161
|
+
r"""路由接收策略实例ID。
|
|
20888
21162
|
:rtype: str
|
|
20889
21163
|
"""
|
|
20890
|
-
return self.
|
|
21164
|
+
return self._RoutePolicyId
|
|
20891
21165
|
|
|
20892
|
-
@
|
|
20893
|
-
def
|
|
20894
|
-
self.
|
|
21166
|
+
@RoutePolicyId.setter
|
|
21167
|
+
def RoutePolicyId(self, RoutePolicyId):
|
|
21168
|
+
self._RoutePolicyId = RoutePolicyId
|
|
20895
21169
|
|
|
20896
21170
|
@property
|
|
20897
|
-
def
|
|
20898
|
-
r"""
|
|
20899
|
-
:rtype: list of
|
|
21171
|
+
def RoutePolicyEntrySet(self):
|
|
21172
|
+
r"""路由接收策略条目列表,删除路由策略规则时,仅需使用RoutePolicyEntry的RoutePolicyEntryIdId字段。
|
|
21173
|
+
:rtype: list of RoutePolicyEntry
|
|
20900
21174
|
"""
|
|
20901
|
-
return self.
|
|
21175
|
+
return self._RoutePolicyEntrySet
|
|
20902
21176
|
|
|
20903
|
-
@
|
|
20904
|
-
def
|
|
20905
|
-
self.
|
|
21177
|
+
@RoutePolicyEntrySet.setter
|
|
21178
|
+
def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
|
|
21179
|
+
self._RoutePolicyEntrySet = RoutePolicyEntrySet
|
|
20906
21180
|
|
|
20907
21181
|
|
|
20908
21182
|
def _deserialize(self, params):
|
|
20909
|
-
self.
|
|
20910
|
-
if params.get("
|
|
20911
|
-
self.
|
|
20912
|
-
for item in params.get("
|
|
20913
|
-
obj =
|
|
21183
|
+
self._RoutePolicyId = params.get("RoutePolicyId")
|
|
21184
|
+
if params.get("RoutePolicyEntrySet") is not None:
|
|
21185
|
+
self._RoutePolicyEntrySet = []
|
|
21186
|
+
for item in params.get("RoutePolicyEntrySet"):
|
|
21187
|
+
obj = RoutePolicyEntry()
|
|
20914
21188
|
obj._deserialize(item)
|
|
20915
|
-
self.
|
|
21189
|
+
self._RoutePolicyEntrySet.append(obj)
|
|
20916
21190
|
memeber_set = set(params.keys())
|
|
20917
21191
|
for name, value in vars(self).items():
|
|
20918
21192
|
property_name = name[1:]
|
|
@@ -20923,32 +21197,18 @@ class DeleteRoutesRequest(AbstractModel):
|
|
|
20923
21197
|
|
|
20924
21198
|
|
|
20925
21199
|
|
|
20926
|
-
class
|
|
20927
|
-
r"""
|
|
21200
|
+
class DeleteRoutePolicyEntriesResponse(AbstractModel):
|
|
21201
|
+
r"""DeleteRoutePolicyEntries返回参数结构体
|
|
20928
21202
|
|
|
20929
21203
|
"""
|
|
20930
21204
|
|
|
20931
21205
|
def __init__(self):
|
|
20932
21206
|
r"""
|
|
20933
|
-
:param _RouteSet: 已删除的路由策略详情。
|
|
20934
|
-
:type RouteSet: list of Route
|
|
20935
21207
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20936
21208
|
:type RequestId: str
|
|
20937
21209
|
"""
|
|
20938
|
-
self._RouteSet = None
|
|
20939
21210
|
self._RequestId = None
|
|
20940
21211
|
|
|
20941
|
-
@property
|
|
20942
|
-
def RouteSet(self):
|
|
20943
|
-
r"""已删除的路由策略详情。
|
|
20944
|
-
:rtype: list of Route
|
|
20945
|
-
"""
|
|
20946
|
-
return self._RouteSet
|
|
20947
|
-
|
|
20948
|
-
@RouteSet.setter
|
|
20949
|
-
def RouteSet(self, RouteSet):
|
|
20950
|
-
self._RouteSet = RouteSet
|
|
20951
|
-
|
|
20952
21212
|
@property
|
|
20953
21213
|
def RequestId(self):
|
|
20954
21214
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -20962,60 +21222,35 @@ class DeleteRoutesResponse(AbstractModel):
|
|
|
20962
21222
|
|
|
20963
21223
|
|
|
20964
21224
|
def _deserialize(self, params):
|
|
20965
|
-
if params.get("RouteSet") is not None:
|
|
20966
|
-
self._RouteSet = []
|
|
20967
|
-
for item in params.get("RouteSet"):
|
|
20968
|
-
obj = Route()
|
|
20969
|
-
obj._deserialize(item)
|
|
20970
|
-
self._RouteSet.append(obj)
|
|
20971
21225
|
self._RequestId = params.get("RequestId")
|
|
20972
21226
|
|
|
20973
21227
|
|
|
20974
|
-
class
|
|
20975
|
-
r"""
|
|
21228
|
+
class DeleteRoutePolicyRequest(AbstractModel):
|
|
21229
|
+
r"""DeleteRoutePolicy请求参数结构体
|
|
20976
21230
|
|
|
20977
21231
|
"""
|
|
20978
21232
|
|
|
20979
21233
|
def __init__(self):
|
|
20980
21234
|
r"""
|
|
20981
|
-
:param
|
|
20982
|
-
:type
|
|
20983
|
-
:param _SecurityGroupPolicySet: 安全组规则集合。一个请求中只能删除单个方向的一条或多条规则。支持指定索引(PolicyIndex) 匹配删除和安全组规则匹配删除两种方式,一个请求中只能使用一种匹配方式。
|
|
20984
|
-
使用安全组规则匹配删除时,需要填写`Action`, `Protocol`, `CidrBlock`, `Port`参数。
|
|
20985
|
-
:type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
|
21235
|
+
:param _RoutePolicyId: 路由接收策略唯一ID。
|
|
21236
|
+
:type RoutePolicyId: str
|
|
20986
21237
|
"""
|
|
20987
|
-
self.
|
|
20988
|
-
self._SecurityGroupPolicySet = None
|
|
21238
|
+
self._RoutePolicyId = None
|
|
20989
21239
|
|
|
20990
21240
|
@property
|
|
20991
|
-
def
|
|
20992
|
-
r"""
|
|
21241
|
+
def RoutePolicyId(self):
|
|
21242
|
+
r"""路由接收策略唯一ID。
|
|
20993
21243
|
:rtype: str
|
|
20994
21244
|
"""
|
|
20995
|
-
return self.
|
|
21245
|
+
return self._RoutePolicyId
|
|
20996
21246
|
|
|
20997
|
-
@
|
|
20998
|
-
def
|
|
20999
|
-
self.
|
|
21000
|
-
|
|
21001
|
-
@property
|
|
21002
|
-
def SecurityGroupPolicySet(self):
|
|
21003
|
-
r"""安全组规则集合。一个请求中只能删除单个方向的一条或多条规则。支持指定索引(PolicyIndex) 匹配删除和安全组规则匹配删除两种方式,一个请求中只能使用一种匹配方式。
|
|
21004
|
-
使用安全组规则匹配删除时,需要填写`Action`, `Protocol`, `CidrBlock`, `Port`参数。
|
|
21005
|
-
:rtype: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
|
21006
|
-
"""
|
|
21007
|
-
return self._SecurityGroupPolicySet
|
|
21008
|
-
|
|
21009
|
-
@SecurityGroupPolicySet.setter
|
|
21010
|
-
def SecurityGroupPolicySet(self, SecurityGroupPolicySet):
|
|
21011
|
-
self._SecurityGroupPolicySet = SecurityGroupPolicySet
|
|
21247
|
+
@RoutePolicyId.setter
|
|
21248
|
+
def RoutePolicyId(self, RoutePolicyId):
|
|
21249
|
+
self._RoutePolicyId = RoutePolicyId
|
|
21012
21250
|
|
|
21013
21251
|
|
|
21014
21252
|
def _deserialize(self, params):
|
|
21015
|
-
self.
|
|
21016
|
-
if params.get("SecurityGroupPolicySet") is not None:
|
|
21017
|
-
self._SecurityGroupPolicySet = SecurityGroupPolicySet()
|
|
21018
|
-
self._SecurityGroupPolicySet._deserialize(params.get("SecurityGroupPolicySet"))
|
|
21253
|
+
self._RoutePolicyId = params.get("RoutePolicyId")
|
|
21019
21254
|
memeber_set = set(params.keys())
|
|
21020
21255
|
for name, value in vars(self).items():
|
|
21021
21256
|
property_name = name[1:]
|
|
@@ -21026,8 +21261,259 @@ class DeleteSecurityGroupPoliciesRequest(AbstractModel):
|
|
|
21026
21261
|
|
|
21027
21262
|
|
|
21028
21263
|
|
|
21029
|
-
class
|
|
21030
|
-
r"""
|
|
21264
|
+
class DeleteRoutePolicyResponse(AbstractModel):
|
|
21265
|
+
r"""DeleteRoutePolicy返回参数结构体
|
|
21266
|
+
|
|
21267
|
+
"""
|
|
21268
|
+
|
|
21269
|
+
def __init__(self):
|
|
21270
|
+
r"""
|
|
21271
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
21272
|
+
:type RequestId: str
|
|
21273
|
+
"""
|
|
21274
|
+
self._RequestId = None
|
|
21275
|
+
|
|
21276
|
+
@property
|
|
21277
|
+
def RequestId(self):
|
|
21278
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
21279
|
+
:rtype: str
|
|
21280
|
+
"""
|
|
21281
|
+
return self._RequestId
|
|
21282
|
+
|
|
21283
|
+
@RequestId.setter
|
|
21284
|
+
def RequestId(self, RequestId):
|
|
21285
|
+
self._RequestId = RequestId
|
|
21286
|
+
|
|
21287
|
+
|
|
21288
|
+
def _deserialize(self, params):
|
|
21289
|
+
self._RequestId = params.get("RequestId")
|
|
21290
|
+
|
|
21291
|
+
|
|
21292
|
+
class DeleteRouteTableRequest(AbstractModel):
|
|
21293
|
+
r"""DeleteRouteTable请求参数结构体
|
|
21294
|
+
|
|
21295
|
+
"""
|
|
21296
|
+
|
|
21297
|
+
def __init__(self):
|
|
21298
|
+
r"""
|
|
21299
|
+
:param _RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
21300
|
+
:type RouteTableId: str
|
|
21301
|
+
"""
|
|
21302
|
+
self._RouteTableId = None
|
|
21303
|
+
|
|
21304
|
+
@property
|
|
21305
|
+
def RouteTableId(self):
|
|
21306
|
+
r"""路由表实例ID,例如:rtb-azd4dt1c。
|
|
21307
|
+
:rtype: str
|
|
21308
|
+
"""
|
|
21309
|
+
return self._RouteTableId
|
|
21310
|
+
|
|
21311
|
+
@RouteTableId.setter
|
|
21312
|
+
def RouteTableId(self, RouteTableId):
|
|
21313
|
+
self._RouteTableId = RouteTableId
|
|
21314
|
+
|
|
21315
|
+
|
|
21316
|
+
def _deserialize(self, params):
|
|
21317
|
+
self._RouteTableId = params.get("RouteTableId")
|
|
21318
|
+
memeber_set = set(params.keys())
|
|
21319
|
+
for name, value in vars(self).items():
|
|
21320
|
+
property_name = name[1:]
|
|
21321
|
+
if property_name in memeber_set:
|
|
21322
|
+
memeber_set.remove(property_name)
|
|
21323
|
+
if len(memeber_set) > 0:
|
|
21324
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
21325
|
+
|
|
21326
|
+
|
|
21327
|
+
|
|
21328
|
+
class DeleteRouteTableResponse(AbstractModel):
|
|
21329
|
+
r"""DeleteRouteTable返回参数结构体
|
|
21330
|
+
|
|
21331
|
+
"""
|
|
21332
|
+
|
|
21333
|
+
def __init__(self):
|
|
21334
|
+
r"""
|
|
21335
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
21336
|
+
:type RequestId: str
|
|
21337
|
+
"""
|
|
21338
|
+
self._RequestId = None
|
|
21339
|
+
|
|
21340
|
+
@property
|
|
21341
|
+
def RequestId(self):
|
|
21342
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
21343
|
+
:rtype: str
|
|
21344
|
+
"""
|
|
21345
|
+
return self._RequestId
|
|
21346
|
+
|
|
21347
|
+
@RequestId.setter
|
|
21348
|
+
def RequestId(self, RequestId):
|
|
21349
|
+
self._RequestId = RequestId
|
|
21350
|
+
|
|
21351
|
+
|
|
21352
|
+
def _deserialize(self, params):
|
|
21353
|
+
self._RequestId = params.get("RequestId")
|
|
21354
|
+
|
|
21355
|
+
|
|
21356
|
+
class DeleteRoutesRequest(AbstractModel):
|
|
21357
|
+
r"""DeleteRoutes请求参数结构体
|
|
21358
|
+
|
|
21359
|
+
"""
|
|
21360
|
+
|
|
21361
|
+
def __init__(self):
|
|
21362
|
+
r"""
|
|
21363
|
+
:param _RouteTableId: 路由表实例ID。
|
|
21364
|
+
:type RouteTableId: str
|
|
21365
|
+
:param _Routes: 路由策略对象,删除路由策略时,仅需使用Route的RouteId字段。
|
|
21366
|
+
:type Routes: list of Route
|
|
21367
|
+
"""
|
|
21368
|
+
self._RouteTableId = None
|
|
21369
|
+
self._Routes = None
|
|
21370
|
+
|
|
21371
|
+
@property
|
|
21372
|
+
def RouteTableId(self):
|
|
21373
|
+
r"""路由表实例ID。
|
|
21374
|
+
:rtype: str
|
|
21375
|
+
"""
|
|
21376
|
+
return self._RouteTableId
|
|
21377
|
+
|
|
21378
|
+
@RouteTableId.setter
|
|
21379
|
+
def RouteTableId(self, RouteTableId):
|
|
21380
|
+
self._RouteTableId = RouteTableId
|
|
21381
|
+
|
|
21382
|
+
@property
|
|
21383
|
+
def Routes(self):
|
|
21384
|
+
r"""路由策略对象,删除路由策略时,仅需使用Route的RouteId字段。
|
|
21385
|
+
:rtype: list of Route
|
|
21386
|
+
"""
|
|
21387
|
+
return self._Routes
|
|
21388
|
+
|
|
21389
|
+
@Routes.setter
|
|
21390
|
+
def Routes(self, Routes):
|
|
21391
|
+
self._Routes = Routes
|
|
21392
|
+
|
|
21393
|
+
|
|
21394
|
+
def _deserialize(self, params):
|
|
21395
|
+
self._RouteTableId = params.get("RouteTableId")
|
|
21396
|
+
if params.get("Routes") is not None:
|
|
21397
|
+
self._Routes = []
|
|
21398
|
+
for item in params.get("Routes"):
|
|
21399
|
+
obj = Route()
|
|
21400
|
+
obj._deserialize(item)
|
|
21401
|
+
self._Routes.append(obj)
|
|
21402
|
+
memeber_set = set(params.keys())
|
|
21403
|
+
for name, value in vars(self).items():
|
|
21404
|
+
property_name = name[1:]
|
|
21405
|
+
if property_name in memeber_set:
|
|
21406
|
+
memeber_set.remove(property_name)
|
|
21407
|
+
if len(memeber_set) > 0:
|
|
21408
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
21409
|
+
|
|
21410
|
+
|
|
21411
|
+
|
|
21412
|
+
class DeleteRoutesResponse(AbstractModel):
|
|
21413
|
+
r"""DeleteRoutes返回参数结构体
|
|
21414
|
+
|
|
21415
|
+
"""
|
|
21416
|
+
|
|
21417
|
+
def __init__(self):
|
|
21418
|
+
r"""
|
|
21419
|
+
:param _RouteSet: 已删除的路由策略详情。
|
|
21420
|
+
:type RouteSet: list of Route
|
|
21421
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
21422
|
+
:type RequestId: str
|
|
21423
|
+
"""
|
|
21424
|
+
self._RouteSet = None
|
|
21425
|
+
self._RequestId = None
|
|
21426
|
+
|
|
21427
|
+
@property
|
|
21428
|
+
def RouteSet(self):
|
|
21429
|
+
r"""已删除的路由策略详情。
|
|
21430
|
+
:rtype: list of Route
|
|
21431
|
+
"""
|
|
21432
|
+
return self._RouteSet
|
|
21433
|
+
|
|
21434
|
+
@RouteSet.setter
|
|
21435
|
+
def RouteSet(self, RouteSet):
|
|
21436
|
+
self._RouteSet = RouteSet
|
|
21437
|
+
|
|
21438
|
+
@property
|
|
21439
|
+
def RequestId(self):
|
|
21440
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
21441
|
+
:rtype: str
|
|
21442
|
+
"""
|
|
21443
|
+
return self._RequestId
|
|
21444
|
+
|
|
21445
|
+
@RequestId.setter
|
|
21446
|
+
def RequestId(self, RequestId):
|
|
21447
|
+
self._RequestId = RequestId
|
|
21448
|
+
|
|
21449
|
+
|
|
21450
|
+
def _deserialize(self, params):
|
|
21451
|
+
if params.get("RouteSet") is not None:
|
|
21452
|
+
self._RouteSet = []
|
|
21453
|
+
for item in params.get("RouteSet"):
|
|
21454
|
+
obj = Route()
|
|
21455
|
+
obj._deserialize(item)
|
|
21456
|
+
self._RouteSet.append(obj)
|
|
21457
|
+
self._RequestId = params.get("RequestId")
|
|
21458
|
+
|
|
21459
|
+
|
|
21460
|
+
class DeleteSecurityGroupPoliciesRequest(AbstractModel):
|
|
21461
|
+
r"""DeleteSecurityGroupPolicies请求参数结构体
|
|
21462
|
+
|
|
21463
|
+
"""
|
|
21464
|
+
|
|
21465
|
+
def __init__(self):
|
|
21466
|
+
r"""
|
|
21467
|
+
:param _SecurityGroupId: 安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
|
21468
|
+
:type SecurityGroupId: str
|
|
21469
|
+
:param _SecurityGroupPolicySet: 安全组规则集合。一个请求中只能删除单个方向的一条或多条规则。支持指定索引(PolicyIndex) 匹配删除和安全组规则匹配删除两种方式,一个请求中只能使用一种匹配方式。
|
|
21470
|
+
使用安全组规则匹配删除时,需要填写`Action`, `Protocol`, `CidrBlock`, `Port`参数。
|
|
21471
|
+
:type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
|
21472
|
+
"""
|
|
21473
|
+
self._SecurityGroupId = None
|
|
21474
|
+
self._SecurityGroupPolicySet = None
|
|
21475
|
+
|
|
21476
|
+
@property
|
|
21477
|
+
def SecurityGroupId(self):
|
|
21478
|
+
r"""安全组实例ID,例如sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
|
21479
|
+
:rtype: str
|
|
21480
|
+
"""
|
|
21481
|
+
return self._SecurityGroupId
|
|
21482
|
+
|
|
21483
|
+
@SecurityGroupId.setter
|
|
21484
|
+
def SecurityGroupId(self, SecurityGroupId):
|
|
21485
|
+
self._SecurityGroupId = SecurityGroupId
|
|
21486
|
+
|
|
21487
|
+
@property
|
|
21488
|
+
def SecurityGroupPolicySet(self):
|
|
21489
|
+
r"""安全组规则集合。一个请求中只能删除单个方向的一条或多条规则。支持指定索引(PolicyIndex) 匹配删除和安全组规则匹配删除两种方式,一个请求中只能使用一种匹配方式。
|
|
21490
|
+
使用安全组规则匹配删除时,需要填写`Action`, `Protocol`, `CidrBlock`, `Port`参数。
|
|
21491
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
|
21492
|
+
"""
|
|
21493
|
+
return self._SecurityGroupPolicySet
|
|
21494
|
+
|
|
21495
|
+
@SecurityGroupPolicySet.setter
|
|
21496
|
+
def SecurityGroupPolicySet(self, SecurityGroupPolicySet):
|
|
21497
|
+
self._SecurityGroupPolicySet = SecurityGroupPolicySet
|
|
21498
|
+
|
|
21499
|
+
|
|
21500
|
+
def _deserialize(self, params):
|
|
21501
|
+
self._SecurityGroupId = params.get("SecurityGroupId")
|
|
21502
|
+
if params.get("SecurityGroupPolicySet") is not None:
|
|
21503
|
+
self._SecurityGroupPolicySet = SecurityGroupPolicySet()
|
|
21504
|
+
self._SecurityGroupPolicySet._deserialize(params.get("SecurityGroupPolicySet"))
|
|
21505
|
+
memeber_set = set(params.keys())
|
|
21506
|
+
for name, value in vars(self).items():
|
|
21507
|
+
property_name = name[1:]
|
|
21508
|
+
if property_name in memeber_set:
|
|
21509
|
+
memeber_set.remove(property_name)
|
|
21510
|
+
if len(memeber_set) > 0:
|
|
21511
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
21512
|
+
|
|
21513
|
+
|
|
21514
|
+
|
|
21515
|
+
class DeleteSecurityGroupPoliciesResponse(AbstractModel):
|
|
21516
|
+
r"""DeleteSecurityGroupPolicies返回参数结构体
|
|
21031
21517
|
|
|
21032
21518
|
"""
|
|
21033
21519
|
|
|
@@ -32448,49 +32934,250 @@ class DescribeRouteListResponse(AbstractModel):
|
|
|
32448
32934
|
self._RequestId = params.get("RequestId")
|
|
32449
32935
|
|
|
32450
32936
|
|
|
32451
|
-
class
|
|
32452
|
-
r"""
|
|
32937
|
+
class DescribeRoutePolicyEntriesRequest(AbstractModel):
|
|
32938
|
+
r"""DescribeRoutePolicyEntries请求参数结构体
|
|
32453
32939
|
|
|
32454
32940
|
"""
|
|
32455
32941
|
|
|
32456
32942
|
def __init__(self):
|
|
32457
32943
|
r"""
|
|
32458
|
-
:param _Filters:
|
|
32459
|
-
<li>
|
|
32460
|
-
<li>
|
|
32461
|
-
<li>
|
|
32462
|
-
|
|
32463
|
-
|
|
32464
|
-
|
|
32465
|
-
|
|
32466
|
-
|
|
32467
|
-
|
|
32468
|
-
VPN网关:`VPNGW`</li>
|
|
32469
|
-
<li>instance-id- String -(过滤条件)实例ID。</li>
|
|
32944
|
+
:param _Filters: 过滤条件,参数不支持同时指定RoutePolicyEntryIds和Filters。
|
|
32945
|
+
<li>route-policy-id - String - (过滤条件)路由接收策略实例ID,形如:rrp-f49l6u0z。</li>
|
|
32946
|
+
<li>cidr-block - String - (过滤条件)CIDR(只取掩码前的子网部分),形如:10.0.0.0/8。</li>
|
|
32947
|
+
<li>priority - Integer - (过滤条件)优先级,形如:20。</li>
|
|
32948
|
+
<li>gateway-type - String - (过滤条件)下一跳类型,形如:CVM。</li>
|
|
32949
|
+
<li>gateway-id - String - (过滤条件)下一跳实例唯一ID,形如:ccn-f49l6u0z。</li>
|
|
32950
|
+
<li>route-type - String - (过滤条件)路由类型,取值:USER(用户路由),NETD(网络探测下发的路由),CCN(云联网路由)。</li>
|
|
32951
|
+
<li>action - String - (过滤条件)动作,取值:DROP(丢弃),DISABLE(接收且禁用),ACCEPT(接收且启用)。</li>
|
|
32952
|
+
<li>description - String - (过滤条件)描述,形如:TEST。</li>
|
|
32953
|
+
<li>route-policy-item-id - String - (过滤条件)路由接收策略条目唯一ID,形如:rrpi-dq782kw7。</li>
|
|
32470
32954
|
:type Filters: list of Filter
|
|
32471
32955
|
:param _Offset: 偏移量。
|
|
32472
32956
|
:type Offset: int
|
|
32473
|
-
:param _Limit:
|
|
32957
|
+
:param _Limit: 请求对象个数。
|
|
32474
32958
|
:type Limit: int
|
|
32959
|
+
:param _OrderField: 排序字段。当前只支持优先级Prioriry字段。
|
|
32960
|
+
:type OrderField: str
|
|
32961
|
+
:param _OrderDirection: 排序方向。
|
|
32962
|
+
ASC:升序。
|
|
32963
|
+
DESC:降序。
|
|
32964
|
+
:type OrderDirection: str
|
|
32965
|
+
:param _RoutePolicyEntryIds: 路由策略条目ID。
|
|
32966
|
+
:type RoutePolicyEntryIds: list of str
|
|
32475
32967
|
"""
|
|
32476
32968
|
self._Filters = None
|
|
32477
32969
|
self._Offset = None
|
|
32478
32970
|
self._Limit = None
|
|
32971
|
+
self._OrderField = None
|
|
32972
|
+
self._OrderDirection = None
|
|
32973
|
+
self._RoutePolicyEntryIds = None
|
|
32479
32974
|
|
|
32480
32975
|
@property
|
|
32481
32976
|
def Filters(self):
|
|
32482
|
-
r"""
|
|
32483
|
-
<li>
|
|
32484
|
-
<li>
|
|
32485
|
-
<li>
|
|
32486
|
-
|
|
32487
|
-
|
|
32488
|
-
|
|
32489
|
-
|
|
32490
|
-
|
|
32491
|
-
|
|
32492
|
-
|
|
32493
|
-
|
|
32977
|
+
r"""过滤条件,参数不支持同时指定RoutePolicyEntryIds和Filters。
|
|
32978
|
+
<li>route-policy-id - String - (过滤条件)路由接收策略实例ID,形如:rrp-f49l6u0z。</li>
|
|
32979
|
+
<li>cidr-block - String - (过滤条件)CIDR(只取掩码前的子网部分),形如:10.0.0.0/8。</li>
|
|
32980
|
+
<li>priority - Integer - (过滤条件)优先级,形如:20。</li>
|
|
32981
|
+
<li>gateway-type - String - (过滤条件)下一跳类型,形如:CVM。</li>
|
|
32982
|
+
<li>gateway-id - String - (过滤条件)下一跳实例唯一ID,形如:ccn-f49l6u0z。</li>
|
|
32983
|
+
<li>route-type - String - (过滤条件)路由类型,取值:USER(用户路由),NETD(网络探测下发的路由),CCN(云联网路由)。</li>
|
|
32984
|
+
<li>action - String - (过滤条件)动作,取值:DROP(丢弃),DISABLE(接收且禁用),ACCEPT(接收且启用)。</li>
|
|
32985
|
+
<li>description - String - (过滤条件)描述,形如:TEST。</li>
|
|
32986
|
+
<li>route-policy-item-id - String - (过滤条件)路由接收策略条目唯一ID,形如:rrpi-dq782kw7。</li>
|
|
32987
|
+
:rtype: list of Filter
|
|
32988
|
+
"""
|
|
32989
|
+
return self._Filters
|
|
32990
|
+
|
|
32991
|
+
@Filters.setter
|
|
32992
|
+
def Filters(self, Filters):
|
|
32993
|
+
self._Filters = Filters
|
|
32994
|
+
|
|
32995
|
+
@property
|
|
32996
|
+
def Offset(self):
|
|
32997
|
+
r"""偏移量。
|
|
32998
|
+
:rtype: int
|
|
32999
|
+
"""
|
|
33000
|
+
return self._Offset
|
|
33001
|
+
|
|
33002
|
+
@Offset.setter
|
|
33003
|
+
def Offset(self, Offset):
|
|
33004
|
+
self._Offset = Offset
|
|
33005
|
+
|
|
33006
|
+
@property
|
|
33007
|
+
def Limit(self):
|
|
33008
|
+
r"""请求对象个数。
|
|
33009
|
+
:rtype: int
|
|
33010
|
+
"""
|
|
33011
|
+
return self._Limit
|
|
33012
|
+
|
|
33013
|
+
@Limit.setter
|
|
33014
|
+
def Limit(self, Limit):
|
|
33015
|
+
self._Limit = Limit
|
|
33016
|
+
|
|
33017
|
+
@property
|
|
33018
|
+
def OrderField(self):
|
|
33019
|
+
r"""排序字段。当前只支持优先级Prioriry字段。
|
|
33020
|
+
:rtype: str
|
|
33021
|
+
"""
|
|
33022
|
+
return self._OrderField
|
|
33023
|
+
|
|
33024
|
+
@OrderField.setter
|
|
33025
|
+
def OrderField(self, OrderField):
|
|
33026
|
+
self._OrderField = OrderField
|
|
33027
|
+
|
|
33028
|
+
@property
|
|
33029
|
+
def OrderDirection(self):
|
|
33030
|
+
r"""排序方向。
|
|
33031
|
+
ASC:升序。
|
|
33032
|
+
DESC:降序。
|
|
33033
|
+
:rtype: str
|
|
33034
|
+
"""
|
|
33035
|
+
return self._OrderDirection
|
|
33036
|
+
|
|
33037
|
+
@OrderDirection.setter
|
|
33038
|
+
def OrderDirection(self, OrderDirection):
|
|
33039
|
+
self._OrderDirection = OrderDirection
|
|
33040
|
+
|
|
33041
|
+
@property
|
|
33042
|
+
def RoutePolicyEntryIds(self):
|
|
33043
|
+
r"""路由策略条目ID。
|
|
33044
|
+
:rtype: list of str
|
|
33045
|
+
"""
|
|
33046
|
+
return self._RoutePolicyEntryIds
|
|
33047
|
+
|
|
33048
|
+
@RoutePolicyEntryIds.setter
|
|
33049
|
+
def RoutePolicyEntryIds(self, RoutePolicyEntryIds):
|
|
33050
|
+
self._RoutePolicyEntryIds = RoutePolicyEntryIds
|
|
33051
|
+
|
|
33052
|
+
|
|
33053
|
+
def _deserialize(self, params):
|
|
33054
|
+
if params.get("Filters") is not None:
|
|
33055
|
+
self._Filters = []
|
|
33056
|
+
for item in params.get("Filters"):
|
|
33057
|
+
obj = Filter()
|
|
33058
|
+
obj._deserialize(item)
|
|
33059
|
+
self._Filters.append(obj)
|
|
33060
|
+
self._Offset = params.get("Offset")
|
|
33061
|
+
self._Limit = params.get("Limit")
|
|
33062
|
+
self._OrderField = params.get("OrderField")
|
|
33063
|
+
self._OrderDirection = params.get("OrderDirection")
|
|
33064
|
+
self._RoutePolicyEntryIds = params.get("RoutePolicyEntryIds")
|
|
33065
|
+
memeber_set = set(params.keys())
|
|
33066
|
+
for name, value in vars(self).items():
|
|
33067
|
+
property_name = name[1:]
|
|
33068
|
+
if property_name in memeber_set:
|
|
33069
|
+
memeber_set.remove(property_name)
|
|
33070
|
+
if len(memeber_set) > 0:
|
|
33071
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33072
|
+
|
|
33073
|
+
|
|
33074
|
+
|
|
33075
|
+
class DescribeRoutePolicyEntriesResponse(AbstractModel):
|
|
33076
|
+
r"""DescribeRoutePolicyEntries返回参数结构体
|
|
33077
|
+
|
|
33078
|
+
"""
|
|
33079
|
+
|
|
33080
|
+
def __init__(self):
|
|
33081
|
+
r"""
|
|
33082
|
+
:param _RoutePolicyEntrySet: 路由接收策略条目列表。
|
|
33083
|
+
:type RoutePolicyEntrySet: list of RoutePolicyEntry
|
|
33084
|
+
:param _TotalCount: 符合条件的实例数量。
|
|
33085
|
+
:type TotalCount: int
|
|
33086
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33087
|
+
:type RequestId: str
|
|
33088
|
+
"""
|
|
33089
|
+
self._RoutePolicyEntrySet = None
|
|
33090
|
+
self._TotalCount = None
|
|
33091
|
+
self._RequestId = None
|
|
33092
|
+
|
|
33093
|
+
@property
|
|
33094
|
+
def RoutePolicyEntrySet(self):
|
|
33095
|
+
r"""路由接收策略条目列表。
|
|
33096
|
+
:rtype: list of RoutePolicyEntry
|
|
33097
|
+
"""
|
|
33098
|
+
return self._RoutePolicyEntrySet
|
|
33099
|
+
|
|
33100
|
+
@RoutePolicyEntrySet.setter
|
|
33101
|
+
def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
|
|
33102
|
+
self._RoutePolicyEntrySet = RoutePolicyEntrySet
|
|
33103
|
+
|
|
33104
|
+
@property
|
|
33105
|
+
def TotalCount(self):
|
|
33106
|
+
r"""符合条件的实例数量。
|
|
33107
|
+
:rtype: int
|
|
33108
|
+
"""
|
|
33109
|
+
return self._TotalCount
|
|
33110
|
+
|
|
33111
|
+
@TotalCount.setter
|
|
33112
|
+
def TotalCount(self, TotalCount):
|
|
33113
|
+
self._TotalCount = TotalCount
|
|
33114
|
+
|
|
33115
|
+
@property
|
|
33116
|
+
def RequestId(self):
|
|
33117
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33118
|
+
:rtype: str
|
|
33119
|
+
"""
|
|
33120
|
+
return self._RequestId
|
|
33121
|
+
|
|
33122
|
+
@RequestId.setter
|
|
33123
|
+
def RequestId(self, RequestId):
|
|
33124
|
+
self._RequestId = RequestId
|
|
33125
|
+
|
|
33126
|
+
|
|
33127
|
+
def _deserialize(self, params):
|
|
33128
|
+
if params.get("RoutePolicyEntrySet") is not None:
|
|
33129
|
+
self._RoutePolicyEntrySet = []
|
|
33130
|
+
for item in params.get("RoutePolicyEntrySet"):
|
|
33131
|
+
obj = RoutePolicyEntry()
|
|
33132
|
+
obj._deserialize(item)
|
|
33133
|
+
self._RoutePolicyEntrySet.append(obj)
|
|
33134
|
+
self._TotalCount = params.get("TotalCount")
|
|
33135
|
+
self._RequestId = params.get("RequestId")
|
|
33136
|
+
|
|
33137
|
+
|
|
33138
|
+
class DescribeRouteTableAssociatedInstancesRequest(AbstractModel):
|
|
33139
|
+
r"""DescribeRouteTableAssociatedInstances请求参数结构体
|
|
33140
|
+
|
|
33141
|
+
"""
|
|
33142
|
+
|
|
33143
|
+
def __init__(self):
|
|
33144
|
+
r"""
|
|
33145
|
+
:param _Filters: 过滤条件:
|
|
33146
|
+
<li>ccn-id - String -(过滤条件)CCN实例ID。</li>
|
|
33147
|
+
<li>ccn-route-table-id - String -(过滤条件)路由表ID。</li>
|
|
33148
|
+
<li>instance-type - String -(过滤条件)实例类型:
|
|
33149
|
+
私有网络: `VPC`
|
|
33150
|
+
专线网关: `DIRECTCONNECT`
|
|
33151
|
+
黑石私有网络: `BMVPC`
|
|
33152
|
+
EDGE设备: `EDGE`
|
|
33153
|
+
EDGE隧道: `EDGE_TUNNEL`
|
|
33154
|
+
EDGE网关: `EDGE_VPNGW`
|
|
33155
|
+
VPN网关:`VPNGW`</li>
|
|
33156
|
+
<li>instance-id- String -(过滤条件)实例ID。</li>
|
|
33157
|
+
:type Filters: list of Filter
|
|
33158
|
+
:param _Offset: 偏移量。
|
|
33159
|
+
:type Offset: int
|
|
33160
|
+
:param _Limit: 一次查询最大返回的数量。
|
|
33161
|
+
:type Limit: int
|
|
33162
|
+
"""
|
|
33163
|
+
self._Filters = None
|
|
33164
|
+
self._Offset = None
|
|
33165
|
+
self._Limit = None
|
|
33166
|
+
|
|
33167
|
+
@property
|
|
33168
|
+
def Filters(self):
|
|
33169
|
+
r"""过滤条件:
|
|
33170
|
+
<li>ccn-id - String -(过滤条件)CCN实例ID。</li>
|
|
33171
|
+
<li>ccn-route-table-id - String -(过滤条件)路由表ID。</li>
|
|
33172
|
+
<li>instance-type - String -(过滤条件)实例类型:
|
|
33173
|
+
私有网络: `VPC`
|
|
33174
|
+
专线网关: `DIRECTCONNECT`
|
|
33175
|
+
黑石私有网络: `BMVPC`
|
|
33176
|
+
EDGE设备: `EDGE`
|
|
33177
|
+
EDGE隧道: `EDGE_TUNNEL`
|
|
33178
|
+
EDGE网关: `EDGE_VPNGW`
|
|
33179
|
+
VPN网关:`VPNGW`</li>
|
|
33180
|
+
<li>instance-id- String -(过滤条件)实例ID。</li>
|
|
32494
33181
|
:rtype: list of Filter
|
|
32495
33182
|
"""
|
|
32496
33183
|
return self._Filters
|
|
@@ -52709,6 +53396,100 @@ class ModifyReserveIpAddressResponse(AbstractModel):
|
|
|
52709
53396
|
self._RequestId = params.get("RequestId")
|
|
52710
53397
|
|
|
52711
53398
|
|
|
53399
|
+
class ModifyRoutePolicyAttributeRequest(AbstractModel):
|
|
53400
|
+
r"""ModifyRoutePolicyAttribute请求参数结构体
|
|
53401
|
+
|
|
53402
|
+
"""
|
|
53403
|
+
|
|
53404
|
+
def __init__(self):
|
|
53405
|
+
r"""
|
|
53406
|
+
:param _RoutePolicyId: 路由接收策略实例ID,例如:rrp-dz0219jq。
|
|
53407
|
+
:type RoutePolicyId: str
|
|
53408
|
+
:param _RoutePolicyName: 路由接收策略名称。
|
|
53409
|
+
:type RoutePolicyName: str
|
|
53410
|
+
:param _RoutePolicyDescription: 路由接收策略描述。
|
|
53411
|
+
:type RoutePolicyDescription: str
|
|
53412
|
+
"""
|
|
53413
|
+
self._RoutePolicyId = None
|
|
53414
|
+
self._RoutePolicyName = None
|
|
53415
|
+
self._RoutePolicyDescription = None
|
|
53416
|
+
|
|
53417
|
+
@property
|
|
53418
|
+
def RoutePolicyId(self):
|
|
53419
|
+
r"""路由接收策略实例ID,例如:rrp-dz0219jq。
|
|
53420
|
+
:rtype: str
|
|
53421
|
+
"""
|
|
53422
|
+
return self._RoutePolicyId
|
|
53423
|
+
|
|
53424
|
+
@RoutePolicyId.setter
|
|
53425
|
+
def RoutePolicyId(self, RoutePolicyId):
|
|
53426
|
+
self._RoutePolicyId = RoutePolicyId
|
|
53427
|
+
|
|
53428
|
+
@property
|
|
53429
|
+
def RoutePolicyName(self):
|
|
53430
|
+
r"""路由接收策略名称。
|
|
53431
|
+
:rtype: str
|
|
53432
|
+
"""
|
|
53433
|
+
return self._RoutePolicyName
|
|
53434
|
+
|
|
53435
|
+
@RoutePolicyName.setter
|
|
53436
|
+
def RoutePolicyName(self, RoutePolicyName):
|
|
53437
|
+
self._RoutePolicyName = RoutePolicyName
|
|
53438
|
+
|
|
53439
|
+
@property
|
|
53440
|
+
def RoutePolicyDescription(self):
|
|
53441
|
+
r"""路由接收策略描述。
|
|
53442
|
+
:rtype: str
|
|
53443
|
+
"""
|
|
53444
|
+
return self._RoutePolicyDescription
|
|
53445
|
+
|
|
53446
|
+
@RoutePolicyDescription.setter
|
|
53447
|
+
def RoutePolicyDescription(self, RoutePolicyDescription):
|
|
53448
|
+
self._RoutePolicyDescription = RoutePolicyDescription
|
|
53449
|
+
|
|
53450
|
+
|
|
53451
|
+
def _deserialize(self, params):
|
|
53452
|
+
self._RoutePolicyId = params.get("RoutePolicyId")
|
|
53453
|
+
self._RoutePolicyName = params.get("RoutePolicyName")
|
|
53454
|
+
self._RoutePolicyDescription = params.get("RoutePolicyDescription")
|
|
53455
|
+
memeber_set = set(params.keys())
|
|
53456
|
+
for name, value in vars(self).items():
|
|
53457
|
+
property_name = name[1:]
|
|
53458
|
+
if property_name in memeber_set:
|
|
53459
|
+
memeber_set.remove(property_name)
|
|
53460
|
+
if len(memeber_set) > 0:
|
|
53461
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
53462
|
+
|
|
53463
|
+
|
|
53464
|
+
|
|
53465
|
+
class ModifyRoutePolicyAttributeResponse(AbstractModel):
|
|
53466
|
+
r"""ModifyRoutePolicyAttribute返回参数结构体
|
|
53467
|
+
|
|
53468
|
+
"""
|
|
53469
|
+
|
|
53470
|
+
def __init__(self):
|
|
53471
|
+
r"""
|
|
53472
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
53473
|
+
:type RequestId: str
|
|
53474
|
+
"""
|
|
53475
|
+
self._RequestId = None
|
|
53476
|
+
|
|
53477
|
+
@property
|
|
53478
|
+
def RequestId(self):
|
|
53479
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
53480
|
+
:rtype: str
|
|
53481
|
+
"""
|
|
53482
|
+
return self._RequestId
|
|
53483
|
+
|
|
53484
|
+
@RequestId.setter
|
|
53485
|
+
def RequestId(self, RequestId):
|
|
53486
|
+
self._RequestId = RequestId
|
|
53487
|
+
|
|
53488
|
+
|
|
53489
|
+
def _deserialize(self, params):
|
|
53490
|
+
self._RequestId = params.get("RequestId")
|
|
53491
|
+
|
|
53492
|
+
|
|
52712
53493
|
class ModifyRouteTableAttributeRequest(AbstractModel):
|
|
52713
53494
|
r"""ModifyRouteTableAttribute请求参数结构体
|
|
52714
53495
|
|
|
@@ -60390,47 +61171,37 @@ class ReplaceHighPriorityRoutesResponse(AbstractModel):
|
|
|
60390
61171
|
self._RequestId = params.get("RequestId")
|
|
60391
61172
|
|
|
60392
61173
|
|
|
60393
|
-
class
|
|
60394
|
-
r"""
|
|
61174
|
+
class ReplaceRoutePolicyAssociationsRequest(AbstractModel):
|
|
61175
|
+
r"""ReplaceRoutePolicyAssociations请求参数结构体
|
|
60395
61176
|
|
|
60396
61177
|
"""
|
|
60397
61178
|
|
|
60398
61179
|
def __init__(self):
|
|
60399
61180
|
r"""
|
|
60400
|
-
:param
|
|
60401
|
-
:type
|
|
60402
|
-
:param _RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
60403
|
-
:type RouteTableId: str
|
|
60404
|
-
"""
|
|
60405
|
-
self._SubnetId = None
|
|
60406
|
-
self._RouteTableId = None
|
|
60407
|
-
|
|
60408
|
-
@property
|
|
60409
|
-
def SubnetId(self):
|
|
60410
|
-
r"""子网实例ID,例如:subnet-3x5lf5q0。可通过DescribeSubnets接口查询。
|
|
60411
|
-
:rtype: str
|
|
61181
|
+
:param _RoutePolicyAssociationSet: 路由接收策略绑定对象列表。需要指定路由接收策略实例ID(RoutePolicyId)和路由表实例ID(RouteTableId)。
|
|
61182
|
+
:type RoutePolicyAssociationSet: list of RoutePolicyAssociation
|
|
60412
61183
|
"""
|
|
60413
|
-
|
|
60414
|
-
|
|
60415
|
-
@SubnetId.setter
|
|
60416
|
-
def SubnetId(self, SubnetId):
|
|
60417
|
-
self._SubnetId = SubnetId
|
|
61184
|
+
self._RoutePolicyAssociationSet = None
|
|
60418
61185
|
|
|
60419
61186
|
@property
|
|
60420
|
-
def
|
|
60421
|
-
r"""
|
|
60422
|
-
:rtype:
|
|
61187
|
+
def RoutePolicyAssociationSet(self):
|
|
61188
|
+
r"""路由接收策略绑定对象列表。需要指定路由接收策略实例ID(RoutePolicyId)和路由表实例ID(RouteTableId)。
|
|
61189
|
+
:rtype: list of RoutePolicyAssociation
|
|
60423
61190
|
"""
|
|
60424
|
-
return self.
|
|
61191
|
+
return self._RoutePolicyAssociationSet
|
|
60425
61192
|
|
|
60426
|
-
@
|
|
60427
|
-
def
|
|
60428
|
-
self.
|
|
61193
|
+
@RoutePolicyAssociationSet.setter
|
|
61194
|
+
def RoutePolicyAssociationSet(self, RoutePolicyAssociationSet):
|
|
61195
|
+
self._RoutePolicyAssociationSet = RoutePolicyAssociationSet
|
|
60429
61196
|
|
|
60430
61197
|
|
|
60431
61198
|
def _deserialize(self, params):
|
|
60432
|
-
|
|
60433
|
-
|
|
61199
|
+
if params.get("RoutePolicyAssociationSet") is not None:
|
|
61200
|
+
self._RoutePolicyAssociationSet = []
|
|
61201
|
+
for item in params.get("RoutePolicyAssociationSet"):
|
|
61202
|
+
obj = RoutePolicyAssociation()
|
|
61203
|
+
obj._deserialize(item)
|
|
61204
|
+
self._RoutePolicyAssociationSet.append(obj)
|
|
60434
61205
|
memeber_set = set(params.keys())
|
|
60435
61206
|
for name, value in vars(self).items():
|
|
60436
61207
|
property_name = name[1:]
|
|
@@ -60441,8 +61212,171 @@ class ReplaceRouteTableAssociationRequest(AbstractModel):
|
|
|
60441
61212
|
|
|
60442
61213
|
|
|
60443
61214
|
|
|
60444
|
-
class
|
|
60445
|
-
r"""
|
|
61215
|
+
class ReplaceRoutePolicyAssociationsResponse(AbstractModel):
|
|
61216
|
+
r"""ReplaceRoutePolicyAssociations返回参数结构体
|
|
61217
|
+
|
|
61218
|
+
"""
|
|
61219
|
+
|
|
61220
|
+
def __init__(self):
|
|
61221
|
+
r"""
|
|
61222
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
61223
|
+
:type RequestId: str
|
|
61224
|
+
"""
|
|
61225
|
+
self._RequestId = None
|
|
61226
|
+
|
|
61227
|
+
@property
|
|
61228
|
+
def RequestId(self):
|
|
61229
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
61230
|
+
:rtype: str
|
|
61231
|
+
"""
|
|
61232
|
+
return self._RequestId
|
|
61233
|
+
|
|
61234
|
+
@RequestId.setter
|
|
61235
|
+
def RequestId(self, RequestId):
|
|
61236
|
+
self._RequestId = RequestId
|
|
61237
|
+
|
|
61238
|
+
|
|
61239
|
+
def _deserialize(self, params):
|
|
61240
|
+
self._RequestId = params.get("RequestId")
|
|
61241
|
+
|
|
61242
|
+
|
|
61243
|
+
class ReplaceRoutePolicyEntriesRequest(AbstractModel):
|
|
61244
|
+
r"""ReplaceRoutePolicyEntries请求参数结构体
|
|
61245
|
+
|
|
61246
|
+
"""
|
|
61247
|
+
|
|
61248
|
+
def __init__(self):
|
|
61249
|
+
r"""
|
|
61250
|
+
:param _RoutePolicyId: 路由策略实例ID,例如:rrp-azd4dt1c。
|
|
61251
|
+
:type RoutePolicyId: str
|
|
61252
|
+
:param _RoutePolicyEntrySet: 路由策略规则列表。需要指定路由策略规则ID(RoutePolicyEntryId)。
|
|
61253
|
+
:type RoutePolicyEntrySet: list of RoutePolicyEntry
|
|
61254
|
+
"""
|
|
61255
|
+
self._RoutePolicyId = None
|
|
61256
|
+
self._RoutePolicyEntrySet = None
|
|
61257
|
+
|
|
61258
|
+
@property
|
|
61259
|
+
def RoutePolicyId(self):
|
|
61260
|
+
r"""路由策略实例ID,例如:rrp-azd4dt1c。
|
|
61261
|
+
:rtype: str
|
|
61262
|
+
"""
|
|
61263
|
+
return self._RoutePolicyId
|
|
61264
|
+
|
|
61265
|
+
@RoutePolicyId.setter
|
|
61266
|
+
def RoutePolicyId(self, RoutePolicyId):
|
|
61267
|
+
self._RoutePolicyId = RoutePolicyId
|
|
61268
|
+
|
|
61269
|
+
@property
|
|
61270
|
+
def RoutePolicyEntrySet(self):
|
|
61271
|
+
r"""路由策略规则列表。需要指定路由策略规则ID(RoutePolicyEntryId)。
|
|
61272
|
+
:rtype: list of RoutePolicyEntry
|
|
61273
|
+
"""
|
|
61274
|
+
return self._RoutePolicyEntrySet
|
|
61275
|
+
|
|
61276
|
+
@RoutePolicyEntrySet.setter
|
|
61277
|
+
def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
|
|
61278
|
+
self._RoutePolicyEntrySet = RoutePolicyEntrySet
|
|
61279
|
+
|
|
61280
|
+
|
|
61281
|
+
def _deserialize(self, params):
|
|
61282
|
+
self._RoutePolicyId = params.get("RoutePolicyId")
|
|
61283
|
+
if params.get("RoutePolicyEntrySet") is not None:
|
|
61284
|
+
self._RoutePolicyEntrySet = []
|
|
61285
|
+
for item in params.get("RoutePolicyEntrySet"):
|
|
61286
|
+
obj = RoutePolicyEntry()
|
|
61287
|
+
obj._deserialize(item)
|
|
61288
|
+
self._RoutePolicyEntrySet.append(obj)
|
|
61289
|
+
memeber_set = set(params.keys())
|
|
61290
|
+
for name, value in vars(self).items():
|
|
61291
|
+
property_name = name[1:]
|
|
61292
|
+
if property_name in memeber_set:
|
|
61293
|
+
memeber_set.remove(property_name)
|
|
61294
|
+
if len(memeber_set) > 0:
|
|
61295
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
61296
|
+
|
|
61297
|
+
|
|
61298
|
+
|
|
61299
|
+
class ReplaceRoutePolicyEntriesResponse(AbstractModel):
|
|
61300
|
+
r"""ReplaceRoutePolicyEntries返回参数结构体
|
|
61301
|
+
|
|
61302
|
+
"""
|
|
61303
|
+
|
|
61304
|
+
def __init__(self):
|
|
61305
|
+
r"""
|
|
61306
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
61307
|
+
:type RequestId: str
|
|
61308
|
+
"""
|
|
61309
|
+
self._RequestId = None
|
|
61310
|
+
|
|
61311
|
+
@property
|
|
61312
|
+
def RequestId(self):
|
|
61313
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
61314
|
+
:rtype: str
|
|
61315
|
+
"""
|
|
61316
|
+
return self._RequestId
|
|
61317
|
+
|
|
61318
|
+
@RequestId.setter
|
|
61319
|
+
def RequestId(self, RequestId):
|
|
61320
|
+
self._RequestId = RequestId
|
|
61321
|
+
|
|
61322
|
+
|
|
61323
|
+
def _deserialize(self, params):
|
|
61324
|
+
self._RequestId = params.get("RequestId")
|
|
61325
|
+
|
|
61326
|
+
|
|
61327
|
+
class ReplaceRouteTableAssociationRequest(AbstractModel):
|
|
61328
|
+
r"""ReplaceRouteTableAssociation请求参数结构体
|
|
61329
|
+
|
|
61330
|
+
"""
|
|
61331
|
+
|
|
61332
|
+
def __init__(self):
|
|
61333
|
+
r"""
|
|
61334
|
+
:param _SubnetId: 子网实例ID,例如:subnet-3x5lf5q0。可通过DescribeSubnets接口查询。
|
|
61335
|
+
:type SubnetId: str
|
|
61336
|
+
:param _RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
61337
|
+
:type RouteTableId: str
|
|
61338
|
+
"""
|
|
61339
|
+
self._SubnetId = None
|
|
61340
|
+
self._RouteTableId = None
|
|
61341
|
+
|
|
61342
|
+
@property
|
|
61343
|
+
def SubnetId(self):
|
|
61344
|
+
r"""子网实例ID,例如:subnet-3x5lf5q0。可通过DescribeSubnets接口查询。
|
|
61345
|
+
:rtype: str
|
|
61346
|
+
"""
|
|
61347
|
+
return self._SubnetId
|
|
61348
|
+
|
|
61349
|
+
@SubnetId.setter
|
|
61350
|
+
def SubnetId(self, SubnetId):
|
|
61351
|
+
self._SubnetId = SubnetId
|
|
61352
|
+
|
|
61353
|
+
@property
|
|
61354
|
+
def RouteTableId(self):
|
|
61355
|
+
r"""路由表实例ID,例如:rtb-azd4dt1c。
|
|
61356
|
+
:rtype: str
|
|
61357
|
+
"""
|
|
61358
|
+
return self._RouteTableId
|
|
61359
|
+
|
|
61360
|
+
@RouteTableId.setter
|
|
61361
|
+
def RouteTableId(self, RouteTableId):
|
|
61362
|
+
self._RouteTableId = RouteTableId
|
|
61363
|
+
|
|
61364
|
+
|
|
61365
|
+
def _deserialize(self, params):
|
|
61366
|
+
self._SubnetId = params.get("SubnetId")
|
|
61367
|
+
self._RouteTableId = params.get("RouteTableId")
|
|
61368
|
+
memeber_set = set(params.keys())
|
|
61369
|
+
for name, value in vars(self).items():
|
|
61370
|
+
property_name = name[1:]
|
|
61371
|
+
if property_name in memeber_set:
|
|
61372
|
+
memeber_set.remove(property_name)
|
|
61373
|
+
if len(memeber_set) > 0:
|
|
61374
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
61375
|
+
|
|
61376
|
+
|
|
61377
|
+
|
|
61378
|
+
class ReplaceRouteTableAssociationResponse(AbstractModel):
|
|
61379
|
+
r"""ReplaceRouteTableAssociation返回参数结构体
|
|
60446
61380
|
|
|
60447
61381
|
"""
|
|
60448
61382
|
|
|
@@ -61257,8 +62191,8 @@ class ResetNatGatewayConnectionResponse(AbstractModel):
|
|
|
61257
62191
|
self._RequestId = params.get("RequestId")
|
|
61258
62192
|
|
|
61259
62193
|
|
|
61260
|
-
class
|
|
61261
|
-
r"""
|
|
62194
|
+
class ResetRoutePolicyAssociationsRequest(AbstractModel):
|
|
62195
|
+
r"""ResetRoutePolicyAssociations请求参数结构体
|
|
61262
62196
|
|
|
61263
62197
|
"""
|
|
61264
62198
|
|
|
@@ -61266,14 +62200,11 @@ class ResetRoutesRequest(AbstractModel):
|
|
|
61266
62200
|
r"""
|
|
61267
62201
|
:param _RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
61268
62202
|
:type RouteTableId: str
|
|
61269
|
-
:param
|
|
61270
|
-
:type
|
|
61271
|
-
:param _Routes: 路由策略。
|
|
61272
|
-
:type Routes: list of Route
|
|
62203
|
+
:param _RoutePolicyAssociationSet: 路由策略绑定对象(RoutePolicyAssociation)列表。注意:路由策略绑定中的路由表实例ID(RouteTableId)需要和该接口的RouteTableId参数保持一致(也就是该接口只支持修改同一个路由表实例下的路有策略绑定关系及优先级)。
|
|
62204
|
+
:type RoutePolicyAssociationSet: list of RoutePolicyAssociation
|
|
61273
62205
|
"""
|
|
61274
62206
|
self._RouteTableId = None
|
|
61275
|
-
self.
|
|
61276
|
-
self._Routes = None
|
|
62207
|
+
self._RoutePolicyAssociationSet = None
|
|
61277
62208
|
|
|
61278
62209
|
@property
|
|
61279
62210
|
def RouteTableId(self):
|
|
@@ -61287,37 +62218,25 @@ class ResetRoutesRequest(AbstractModel):
|
|
|
61287
62218
|
self._RouteTableId = RouteTableId
|
|
61288
62219
|
|
|
61289
62220
|
@property
|
|
61290
|
-
def
|
|
61291
|
-
r"""
|
|
61292
|
-
:rtype:
|
|
61293
|
-
"""
|
|
61294
|
-
return self._RouteTableName
|
|
61295
|
-
|
|
61296
|
-
@RouteTableName.setter
|
|
61297
|
-
def RouteTableName(self, RouteTableName):
|
|
61298
|
-
self._RouteTableName = RouteTableName
|
|
61299
|
-
|
|
61300
|
-
@property
|
|
61301
|
-
def Routes(self):
|
|
61302
|
-
r"""路由策略。
|
|
61303
|
-
:rtype: list of Route
|
|
62221
|
+
def RoutePolicyAssociationSet(self):
|
|
62222
|
+
r"""路由策略绑定对象(RoutePolicyAssociation)列表。注意:路由策略绑定中的路由表实例ID(RouteTableId)需要和该接口的RouteTableId参数保持一致(也就是该接口只支持修改同一个路由表实例下的路有策略绑定关系及优先级)。
|
|
62223
|
+
:rtype: list of RoutePolicyAssociation
|
|
61304
62224
|
"""
|
|
61305
|
-
return self.
|
|
62225
|
+
return self._RoutePolicyAssociationSet
|
|
61306
62226
|
|
|
61307
|
-
@
|
|
61308
|
-
def
|
|
61309
|
-
self.
|
|
62227
|
+
@RoutePolicyAssociationSet.setter
|
|
62228
|
+
def RoutePolicyAssociationSet(self, RoutePolicyAssociationSet):
|
|
62229
|
+
self._RoutePolicyAssociationSet = RoutePolicyAssociationSet
|
|
61310
62230
|
|
|
61311
62231
|
|
|
61312
62232
|
def _deserialize(self, params):
|
|
61313
62233
|
self._RouteTableId = params.get("RouteTableId")
|
|
61314
|
-
|
|
61315
|
-
|
|
61316
|
-
|
|
61317
|
-
|
|
61318
|
-
obj = Route()
|
|
62234
|
+
if params.get("RoutePolicyAssociationSet") is not None:
|
|
62235
|
+
self._RoutePolicyAssociationSet = []
|
|
62236
|
+
for item in params.get("RoutePolicyAssociationSet"):
|
|
62237
|
+
obj = RoutePolicyAssociation()
|
|
61319
62238
|
obj._deserialize(item)
|
|
61320
|
-
self.
|
|
62239
|
+
self._RoutePolicyAssociationSet.append(obj)
|
|
61321
62240
|
memeber_set = set(params.keys())
|
|
61322
62241
|
for name, value in vars(self).items():
|
|
61323
62242
|
property_name = name[1:]
|
|
@@ -61328,8 +62247,8 @@ class ResetRoutesRequest(AbstractModel):
|
|
|
61328
62247
|
|
|
61329
62248
|
|
|
61330
62249
|
|
|
61331
|
-
class
|
|
61332
|
-
r"""
|
|
62250
|
+
class ResetRoutePolicyAssociationsResponse(AbstractModel):
|
|
62251
|
+
r"""ResetRoutePolicyAssociations返回参数结构体
|
|
61333
62252
|
|
|
61334
62253
|
"""
|
|
61335
62254
|
|
|
@@ -61356,67 +62275,82 @@ class ResetRoutesResponse(AbstractModel):
|
|
|
61356
62275
|
self._RequestId = params.get("RequestId")
|
|
61357
62276
|
|
|
61358
62277
|
|
|
61359
|
-
class
|
|
61360
|
-
r"""
|
|
62278
|
+
class ResetRoutePolicyEntriesRequest(AbstractModel):
|
|
62279
|
+
r"""ResetRoutePolicyEntries请求参数结构体
|
|
61361
62280
|
|
|
61362
62281
|
"""
|
|
61363
62282
|
|
|
61364
62283
|
def __init__(self):
|
|
61365
62284
|
r"""
|
|
61366
|
-
:param
|
|
61367
|
-
:type
|
|
61368
|
-
:param
|
|
61369
|
-
:type
|
|
61370
|
-
:param
|
|
61371
|
-
:type
|
|
62285
|
+
:param _RoutePolicyId: 路由接收策略实例ID,例如:rrp-azd4dt1c。
|
|
62286
|
+
:type RoutePolicyId: str
|
|
62287
|
+
:param _RoutePolicyEntrySet: 路由接收策略条目列表。需要指定路由策略条目ID(RoutePolicyEntryId)。
|
|
62288
|
+
:type RoutePolicyEntrySet: list of RoutePolicyEntry
|
|
62289
|
+
:param _RoutePolicyDescription: 路由接收策略描述。
|
|
62290
|
+
:type RoutePolicyDescription: str
|
|
62291
|
+
:param _RoutePolicyName: 路由接收策略名字。
|
|
62292
|
+
:type RoutePolicyName: str
|
|
61372
62293
|
"""
|
|
61373
|
-
self.
|
|
61374
|
-
self.
|
|
61375
|
-
self.
|
|
62294
|
+
self._RoutePolicyId = None
|
|
62295
|
+
self._RoutePolicyEntrySet = None
|
|
62296
|
+
self._RoutePolicyDescription = None
|
|
62297
|
+
self._RoutePolicyName = None
|
|
61376
62298
|
|
|
61377
62299
|
@property
|
|
61378
|
-
def
|
|
61379
|
-
r"""
|
|
62300
|
+
def RoutePolicyId(self):
|
|
62301
|
+
r"""路由接收策略实例ID,例如:rrp-azd4dt1c。
|
|
61380
62302
|
:rtype: str
|
|
61381
62303
|
"""
|
|
61382
|
-
return self.
|
|
62304
|
+
return self._RoutePolicyId
|
|
61383
62305
|
|
|
61384
|
-
@
|
|
61385
|
-
def
|
|
61386
|
-
self.
|
|
62306
|
+
@RoutePolicyId.setter
|
|
62307
|
+
def RoutePolicyId(self, RoutePolicyId):
|
|
62308
|
+
self._RoutePolicyId = RoutePolicyId
|
|
61387
62309
|
|
|
61388
62310
|
@property
|
|
61389
|
-
def
|
|
61390
|
-
r"""
|
|
62311
|
+
def RoutePolicyEntrySet(self):
|
|
62312
|
+
r"""路由接收策略条目列表。需要指定路由策略条目ID(RoutePolicyEntryId)。
|
|
62313
|
+
:rtype: list of RoutePolicyEntry
|
|
62314
|
+
"""
|
|
62315
|
+
return self._RoutePolicyEntrySet
|
|
62316
|
+
|
|
62317
|
+
@RoutePolicyEntrySet.setter
|
|
62318
|
+
def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
|
|
62319
|
+
self._RoutePolicyEntrySet = RoutePolicyEntrySet
|
|
62320
|
+
|
|
62321
|
+
@property
|
|
62322
|
+
def RoutePolicyDescription(self):
|
|
62323
|
+
r"""路由接收策略描述。
|
|
61391
62324
|
:rtype: str
|
|
61392
62325
|
"""
|
|
61393
|
-
return self.
|
|
62326
|
+
return self._RoutePolicyDescription
|
|
61394
62327
|
|
|
61395
|
-
@
|
|
61396
|
-
def
|
|
61397
|
-
self.
|
|
62328
|
+
@RoutePolicyDescription.setter
|
|
62329
|
+
def RoutePolicyDescription(self, RoutePolicyDescription):
|
|
62330
|
+
self._RoutePolicyDescription = RoutePolicyDescription
|
|
61398
62331
|
|
|
61399
62332
|
@property
|
|
61400
|
-
def
|
|
61401
|
-
r"""
|
|
61402
|
-
:rtype:
|
|
62333
|
+
def RoutePolicyName(self):
|
|
62334
|
+
r"""路由接收策略名字。
|
|
62335
|
+
:rtype: str
|
|
61403
62336
|
"""
|
|
61404
|
-
return self.
|
|
62337
|
+
return self._RoutePolicyName
|
|
61405
62338
|
|
|
61406
|
-
@
|
|
61407
|
-
def
|
|
61408
|
-
self.
|
|
62339
|
+
@RoutePolicyName.setter
|
|
62340
|
+
def RoutePolicyName(self, RoutePolicyName):
|
|
62341
|
+
self._RoutePolicyName = RoutePolicyName
|
|
61409
62342
|
|
|
61410
62343
|
|
|
61411
62344
|
def _deserialize(self, params):
|
|
61412
|
-
self.
|
|
61413
|
-
|
|
61414
|
-
|
|
61415
|
-
|
|
61416
|
-
|
|
61417
|
-
obj = TrafficMirrorFilter()
|
|
62345
|
+
self._RoutePolicyId = params.get("RoutePolicyId")
|
|
62346
|
+
if params.get("RoutePolicyEntrySet") is not None:
|
|
62347
|
+
self._RoutePolicyEntrySet = []
|
|
62348
|
+
for item in params.get("RoutePolicyEntrySet"):
|
|
62349
|
+
obj = RoutePolicyEntry()
|
|
61418
62350
|
obj._deserialize(item)
|
|
61419
|
-
self.
|
|
62351
|
+
self._RoutePolicyEntrySet.append(obj)
|
|
62352
|
+
self._RoutePolicyDescription = params.get("RoutePolicyDescription")
|
|
62353
|
+
self._RoutePolicyName = params.get("RoutePolicyName")
|
|
61420
62354
|
memeber_set = set(params.keys())
|
|
61421
62355
|
for name, value in vars(self).items():
|
|
61422
62356
|
property_name = name[1:]
|
|
@@ -61427,8 +62361,8 @@ class ResetTrafficMirrorFilterRequest(AbstractModel):
|
|
|
61427
62361
|
|
|
61428
62362
|
|
|
61429
62363
|
|
|
61430
|
-
class
|
|
61431
|
-
r"""
|
|
62364
|
+
class ResetRoutePolicyEntriesResponse(AbstractModel):
|
|
62365
|
+
r"""ResetRoutePolicyEntries返回参数结构体
|
|
61432
62366
|
|
|
61433
62367
|
"""
|
|
61434
62368
|
|
|
@@ -61455,47 +62389,67 @@ class ResetTrafficMirrorFilterResponse(AbstractModel):
|
|
|
61455
62389
|
self._RequestId = params.get("RequestId")
|
|
61456
62390
|
|
|
61457
62391
|
|
|
61458
|
-
class
|
|
61459
|
-
r"""
|
|
62392
|
+
class ResetRoutesRequest(AbstractModel):
|
|
62393
|
+
r"""ResetRoutes请求参数结构体
|
|
61460
62394
|
|
|
61461
62395
|
"""
|
|
61462
62396
|
|
|
61463
62397
|
def __init__(self):
|
|
61464
62398
|
r"""
|
|
61465
|
-
:param
|
|
61466
|
-
:type
|
|
61467
|
-
:param
|
|
61468
|
-
:type
|
|
62399
|
+
:param _RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
62400
|
+
:type RouteTableId: str
|
|
62401
|
+
:param _RouteTableName: 路由表名称,最大长度不能超过60个字节。
|
|
62402
|
+
:type RouteTableName: str
|
|
62403
|
+
:param _Routes: 路由策略。
|
|
62404
|
+
:type Routes: list of Route
|
|
61469
62405
|
"""
|
|
61470
|
-
self.
|
|
61471
|
-
self.
|
|
62406
|
+
self._RouteTableId = None
|
|
62407
|
+
self._RouteTableName = None
|
|
62408
|
+
self._Routes = None
|
|
61472
62409
|
|
|
61473
62410
|
@property
|
|
61474
|
-
def
|
|
61475
|
-
r"""
|
|
62411
|
+
def RouteTableId(self):
|
|
62412
|
+
r"""路由表实例ID,例如:rtb-azd4dt1c。
|
|
61476
62413
|
:rtype: str
|
|
61477
62414
|
"""
|
|
61478
|
-
return self.
|
|
62415
|
+
return self._RouteTableId
|
|
61479
62416
|
|
|
61480
|
-
@
|
|
61481
|
-
def
|
|
61482
|
-
self.
|
|
62417
|
+
@RouteTableId.setter
|
|
62418
|
+
def RouteTableId(self, RouteTableId):
|
|
62419
|
+
self._RouteTableId = RouteTableId
|
|
61483
62420
|
|
|
61484
62421
|
@property
|
|
61485
|
-
def
|
|
61486
|
-
r"""
|
|
61487
|
-
:rtype:
|
|
62422
|
+
def RouteTableName(self):
|
|
62423
|
+
r"""路由表名称,最大长度不能超过60个字节。
|
|
62424
|
+
:rtype: str
|
|
61488
62425
|
"""
|
|
61489
|
-
return self.
|
|
62426
|
+
return self._RouteTableName
|
|
61490
62427
|
|
|
61491
|
-
@
|
|
61492
|
-
def
|
|
61493
|
-
self.
|
|
62428
|
+
@RouteTableName.setter
|
|
62429
|
+
def RouteTableName(self, RouteTableName):
|
|
62430
|
+
self._RouteTableName = RouteTableName
|
|
62431
|
+
|
|
62432
|
+
@property
|
|
62433
|
+
def Routes(self):
|
|
62434
|
+
r"""路由策略。
|
|
62435
|
+
:rtype: list of Route
|
|
62436
|
+
"""
|
|
62437
|
+
return self._Routes
|
|
62438
|
+
|
|
62439
|
+
@Routes.setter
|
|
62440
|
+
def Routes(self, Routes):
|
|
62441
|
+
self._Routes = Routes
|
|
61494
62442
|
|
|
61495
62443
|
|
|
61496
62444
|
def _deserialize(self, params):
|
|
61497
|
-
self.
|
|
61498
|
-
self.
|
|
62445
|
+
self._RouteTableId = params.get("RouteTableId")
|
|
62446
|
+
self._RouteTableName = params.get("RouteTableName")
|
|
62447
|
+
if params.get("Routes") is not None:
|
|
62448
|
+
self._Routes = []
|
|
62449
|
+
for item in params.get("Routes"):
|
|
62450
|
+
obj = Route()
|
|
62451
|
+
obj._deserialize(item)
|
|
62452
|
+
self._Routes.append(obj)
|
|
61499
62453
|
memeber_set = set(params.keys())
|
|
61500
62454
|
for name, value in vars(self).items():
|
|
61501
62455
|
property_name = name[1:]
|
|
@@ -61506,8 +62460,186 @@ class ResetTrafficMirrorSrcsRequest(AbstractModel):
|
|
|
61506
62460
|
|
|
61507
62461
|
|
|
61508
62462
|
|
|
61509
|
-
class
|
|
61510
|
-
r"""
|
|
62463
|
+
class ResetRoutesResponse(AbstractModel):
|
|
62464
|
+
r"""ResetRoutes返回参数结构体
|
|
62465
|
+
|
|
62466
|
+
"""
|
|
62467
|
+
|
|
62468
|
+
def __init__(self):
|
|
62469
|
+
r"""
|
|
62470
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
62471
|
+
:type RequestId: str
|
|
62472
|
+
"""
|
|
62473
|
+
self._RequestId = None
|
|
62474
|
+
|
|
62475
|
+
@property
|
|
62476
|
+
def RequestId(self):
|
|
62477
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
62478
|
+
:rtype: str
|
|
62479
|
+
"""
|
|
62480
|
+
return self._RequestId
|
|
62481
|
+
|
|
62482
|
+
@RequestId.setter
|
|
62483
|
+
def RequestId(self, RequestId):
|
|
62484
|
+
self._RequestId = RequestId
|
|
62485
|
+
|
|
62486
|
+
|
|
62487
|
+
def _deserialize(self, params):
|
|
62488
|
+
self._RequestId = params.get("RequestId")
|
|
62489
|
+
|
|
62490
|
+
|
|
62491
|
+
class ResetTrafficMirrorFilterRequest(AbstractModel):
|
|
62492
|
+
r"""ResetTrafficMirrorFilter请求参数结构体
|
|
62493
|
+
|
|
62494
|
+
"""
|
|
62495
|
+
|
|
62496
|
+
def __init__(self):
|
|
62497
|
+
r"""
|
|
62498
|
+
:param _TrafficMirrorId: 流量镜像实例ID
|
|
62499
|
+
:type TrafficMirrorId: str
|
|
62500
|
+
:param _NatId: 流量镜像需要过滤的natgw实例ID
|
|
62501
|
+
:type NatId: str
|
|
62502
|
+
:param _CollectorNormalFilters: 流量镜像需要过滤的五元组规则
|
|
62503
|
+
:type CollectorNormalFilters: list of TrafficMirrorFilter
|
|
62504
|
+
"""
|
|
62505
|
+
self._TrafficMirrorId = None
|
|
62506
|
+
self._NatId = None
|
|
62507
|
+
self._CollectorNormalFilters = None
|
|
62508
|
+
|
|
62509
|
+
@property
|
|
62510
|
+
def TrafficMirrorId(self):
|
|
62511
|
+
r"""流量镜像实例ID
|
|
62512
|
+
:rtype: str
|
|
62513
|
+
"""
|
|
62514
|
+
return self._TrafficMirrorId
|
|
62515
|
+
|
|
62516
|
+
@TrafficMirrorId.setter
|
|
62517
|
+
def TrafficMirrorId(self, TrafficMirrorId):
|
|
62518
|
+
self._TrafficMirrorId = TrafficMirrorId
|
|
62519
|
+
|
|
62520
|
+
@property
|
|
62521
|
+
def NatId(self):
|
|
62522
|
+
r"""流量镜像需要过滤的natgw实例ID
|
|
62523
|
+
:rtype: str
|
|
62524
|
+
"""
|
|
62525
|
+
return self._NatId
|
|
62526
|
+
|
|
62527
|
+
@NatId.setter
|
|
62528
|
+
def NatId(self, NatId):
|
|
62529
|
+
self._NatId = NatId
|
|
62530
|
+
|
|
62531
|
+
@property
|
|
62532
|
+
def CollectorNormalFilters(self):
|
|
62533
|
+
r"""流量镜像需要过滤的五元组规则
|
|
62534
|
+
:rtype: list of TrafficMirrorFilter
|
|
62535
|
+
"""
|
|
62536
|
+
return self._CollectorNormalFilters
|
|
62537
|
+
|
|
62538
|
+
@CollectorNormalFilters.setter
|
|
62539
|
+
def CollectorNormalFilters(self, CollectorNormalFilters):
|
|
62540
|
+
self._CollectorNormalFilters = CollectorNormalFilters
|
|
62541
|
+
|
|
62542
|
+
|
|
62543
|
+
def _deserialize(self, params):
|
|
62544
|
+
self._TrafficMirrorId = params.get("TrafficMirrorId")
|
|
62545
|
+
self._NatId = params.get("NatId")
|
|
62546
|
+
if params.get("CollectorNormalFilters") is not None:
|
|
62547
|
+
self._CollectorNormalFilters = []
|
|
62548
|
+
for item in params.get("CollectorNormalFilters"):
|
|
62549
|
+
obj = TrafficMirrorFilter()
|
|
62550
|
+
obj._deserialize(item)
|
|
62551
|
+
self._CollectorNormalFilters.append(obj)
|
|
62552
|
+
memeber_set = set(params.keys())
|
|
62553
|
+
for name, value in vars(self).items():
|
|
62554
|
+
property_name = name[1:]
|
|
62555
|
+
if property_name in memeber_set:
|
|
62556
|
+
memeber_set.remove(property_name)
|
|
62557
|
+
if len(memeber_set) > 0:
|
|
62558
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
62559
|
+
|
|
62560
|
+
|
|
62561
|
+
|
|
62562
|
+
class ResetTrafficMirrorFilterResponse(AbstractModel):
|
|
62563
|
+
r"""ResetTrafficMirrorFilter返回参数结构体
|
|
62564
|
+
|
|
62565
|
+
"""
|
|
62566
|
+
|
|
62567
|
+
def __init__(self):
|
|
62568
|
+
r"""
|
|
62569
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
62570
|
+
:type RequestId: str
|
|
62571
|
+
"""
|
|
62572
|
+
self._RequestId = None
|
|
62573
|
+
|
|
62574
|
+
@property
|
|
62575
|
+
def RequestId(self):
|
|
62576
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
62577
|
+
:rtype: str
|
|
62578
|
+
"""
|
|
62579
|
+
return self._RequestId
|
|
62580
|
+
|
|
62581
|
+
@RequestId.setter
|
|
62582
|
+
def RequestId(self, RequestId):
|
|
62583
|
+
self._RequestId = RequestId
|
|
62584
|
+
|
|
62585
|
+
|
|
62586
|
+
def _deserialize(self, params):
|
|
62587
|
+
self._RequestId = params.get("RequestId")
|
|
62588
|
+
|
|
62589
|
+
|
|
62590
|
+
class ResetTrafficMirrorSrcsRequest(AbstractModel):
|
|
62591
|
+
r"""ResetTrafficMirrorSrcs请求参数结构体
|
|
62592
|
+
|
|
62593
|
+
"""
|
|
62594
|
+
|
|
62595
|
+
def __init__(self):
|
|
62596
|
+
r"""
|
|
62597
|
+
:param _TrafficMirrorId: 流量镜像实例ID
|
|
62598
|
+
:type TrafficMirrorId: str
|
|
62599
|
+
:param _CollectorSrcs: 流量镜像采集对象
|
|
62600
|
+
:type CollectorSrcs: list of str
|
|
62601
|
+
"""
|
|
62602
|
+
self._TrafficMirrorId = None
|
|
62603
|
+
self._CollectorSrcs = None
|
|
62604
|
+
|
|
62605
|
+
@property
|
|
62606
|
+
def TrafficMirrorId(self):
|
|
62607
|
+
r"""流量镜像实例ID
|
|
62608
|
+
:rtype: str
|
|
62609
|
+
"""
|
|
62610
|
+
return self._TrafficMirrorId
|
|
62611
|
+
|
|
62612
|
+
@TrafficMirrorId.setter
|
|
62613
|
+
def TrafficMirrorId(self, TrafficMirrorId):
|
|
62614
|
+
self._TrafficMirrorId = TrafficMirrorId
|
|
62615
|
+
|
|
62616
|
+
@property
|
|
62617
|
+
def CollectorSrcs(self):
|
|
62618
|
+
r"""流量镜像采集对象
|
|
62619
|
+
:rtype: list of str
|
|
62620
|
+
"""
|
|
62621
|
+
return self._CollectorSrcs
|
|
62622
|
+
|
|
62623
|
+
@CollectorSrcs.setter
|
|
62624
|
+
def CollectorSrcs(self, CollectorSrcs):
|
|
62625
|
+
self._CollectorSrcs = CollectorSrcs
|
|
62626
|
+
|
|
62627
|
+
|
|
62628
|
+
def _deserialize(self, params):
|
|
62629
|
+
self._TrafficMirrorId = params.get("TrafficMirrorId")
|
|
62630
|
+
self._CollectorSrcs = params.get("CollectorSrcs")
|
|
62631
|
+
memeber_set = set(params.keys())
|
|
62632
|
+
for name, value in vars(self).items():
|
|
62633
|
+
property_name = name[1:]
|
|
62634
|
+
if property_name in memeber_set:
|
|
62635
|
+
memeber_set.remove(property_name)
|
|
62636
|
+
if len(memeber_set) > 0:
|
|
62637
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
62638
|
+
|
|
62639
|
+
|
|
62640
|
+
|
|
62641
|
+
class ResetTrafficMirrorSrcsResponse(AbstractModel):
|
|
62642
|
+
r"""ResetTrafficMirrorSrcs返回参数结构体
|
|
61511
62643
|
|
|
61512
62644
|
"""
|
|
61513
62645
|
|
|
@@ -63193,6 +64325,446 @@ class RouteECMPAlgorithm(AbstractModel):
|
|
|
63193
64325
|
|
|
63194
64326
|
|
|
63195
64327
|
|
|
64328
|
+
class RoutePolicy(AbstractModel):
|
|
64329
|
+
r"""路由接收策略。当云联网或其他业务添加路由到VPC自定义路由表时,可以丢弃或启用,禁用相应的路由条目。
|
|
64330
|
+
|
|
64331
|
+
"""
|
|
64332
|
+
|
|
64333
|
+
def __init__(self):
|
|
64334
|
+
r"""
|
|
64335
|
+
:param _RoutePolicyId: 路由策略唯一ID。
|
|
64336
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64337
|
+
:type RoutePolicyId: str
|
|
64338
|
+
:param _RoutePolicyName: 路由策略名。
|
|
64339
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64340
|
+
:type RoutePolicyName: str
|
|
64341
|
+
:param _RoutePolicyDescription: 路由策略描述。
|
|
64342
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64343
|
+
:type RoutePolicyDescription: str
|
|
64344
|
+
:param _RoutePolicyEntrySet: 路由策略规则列表。
|
|
64345
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64346
|
+
:type RoutePolicyEntrySet: list of RoutePolicyEntry
|
|
64347
|
+
:param _RoutePolicyAssociationSet: 路由策略绑定。
|
|
64348
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64349
|
+
:type RoutePolicyAssociationSet: list of RoutePolicyAssociation
|
|
64350
|
+
:param _CreatedTime: 创建时间。
|
|
64351
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64352
|
+
:type CreatedTime: str
|
|
64353
|
+
:param _TagSet: 标签键值对。
|
|
64354
|
+
:type TagSet: list of Tag
|
|
64355
|
+
"""
|
|
64356
|
+
self._RoutePolicyId = None
|
|
64357
|
+
self._RoutePolicyName = None
|
|
64358
|
+
self._RoutePolicyDescription = None
|
|
64359
|
+
self._RoutePolicyEntrySet = None
|
|
64360
|
+
self._RoutePolicyAssociationSet = None
|
|
64361
|
+
self._CreatedTime = None
|
|
64362
|
+
self._TagSet = None
|
|
64363
|
+
|
|
64364
|
+
@property
|
|
64365
|
+
def RoutePolicyId(self):
|
|
64366
|
+
r"""路由策略唯一ID。
|
|
64367
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64368
|
+
:rtype: str
|
|
64369
|
+
"""
|
|
64370
|
+
return self._RoutePolicyId
|
|
64371
|
+
|
|
64372
|
+
@RoutePolicyId.setter
|
|
64373
|
+
def RoutePolicyId(self, RoutePolicyId):
|
|
64374
|
+
self._RoutePolicyId = RoutePolicyId
|
|
64375
|
+
|
|
64376
|
+
@property
|
|
64377
|
+
def RoutePolicyName(self):
|
|
64378
|
+
r"""路由策略名。
|
|
64379
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64380
|
+
:rtype: str
|
|
64381
|
+
"""
|
|
64382
|
+
return self._RoutePolicyName
|
|
64383
|
+
|
|
64384
|
+
@RoutePolicyName.setter
|
|
64385
|
+
def RoutePolicyName(self, RoutePolicyName):
|
|
64386
|
+
self._RoutePolicyName = RoutePolicyName
|
|
64387
|
+
|
|
64388
|
+
@property
|
|
64389
|
+
def RoutePolicyDescription(self):
|
|
64390
|
+
r"""路由策略描述。
|
|
64391
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64392
|
+
:rtype: str
|
|
64393
|
+
"""
|
|
64394
|
+
return self._RoutePolicyDescription
|
|
64395
|
+
|
|
64396
|
+
@RoutePolicyDescription.setter
|
|
64397
|
+
def RoutePolicyDescription(self, RoutePolicyDescription):
|
|
64398
|
+
self._RoutePolicyDescription = RoutePolicyDescription
|
|
64399
|
+
|
|
64400
|
+
@property
|
|
64401
|
+
def RoutePolicyEntrySet(self):
|
|
64402
|
+
r"""路由策略规则列表。
|
|
64403
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64404
|
+
:rtype: list of RoutePolicyEntry
|
|
64405
|
+
"""
|
|
64406
|
+
return self._RoutePolicyEntrySet
|
|
64407
|
+
|
|
64408
|
+
@RoutePolicyEntrySet.setter
|
|
64409
|
+
def RoutePolicyEntrySet(self, RoutePolicyEntrySet):
|
|
64410
|
+
self._RoutePolicyEntrySet = RoutePolicyEntrySet
|
|
64411
|
+
|
|
64412
|
+
@property
|
|
64413
|
+
def RoutePolicyAssociationSet(self):
|
|
64414
|
+
r"""路由策略绑定。
|
|
64415
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64416
|
+
:rtype: list of RoutePolicyAssociation
|
|
64417
|
+
"""
|
|
64418
|
+
return self._RoutePolicyAssociationSet
|
|
64419
|
+
|
|
64420
|
+
@RoutePolicyAssociationSet.setter
|
|
64421
|
+
def RoutePolicyAssociationSet(self, RoutePolicyAssociationSet):
|
|
64422
|
+
self._RoutePolicyAssociationSet = RoutePolicyAssociationSet
|
|
64423
|
+
|
|
64424
|
+
@property
|
|
64425
|
+
def CreatedTime(self):
|
|
64426
|
+
r"""创建时间。
|
|
64427
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64428
|
+
:rtype: str
|
|
64429
|
+
"""
|
|
64430
|
+
return self._CreatedTime
|
|
64431
|
+
|
|
64432
|
+
@CreatedTime.setter
|
|
64433
|
+
def CreatedTime(self, CreatedTime):
|
|
64434
|
+
self._CreatedTime = CreatedTime
|
|
64435
|
+
|
|
64436
|
+
@property
|
|
64437
|
+
def TagSet(self):
|
|
64438
|
+
r"""标签键值对。
|
|
64439
|
+
:rtype: list of Tag
|
|
64440
|
+
"""
|
|
64441
|
+
return self._TagSet
|
|
64442
|
+
|
|
64443
|
+
@TagSet.setter
|
|
64444
|
+
def TagSet(self, TagSet):
|
|
64445
|
+
self._TagSet = TagSet
|
|
64446
|
+
|
|
64447
|
+
|
|
64448
|
+
def _deserialize(self, params):
|
|
64449
|
+
self._RoutePolicyId = params.get("RoutePolicyId")
|
|
64450
|
+
self._RoutePolicyName = params.get("RoutePolicyName")
|
|
64451
|
+
self._RoutePolicyDescription = params.get("RoutePolicyDescription")
|
|
64452
|
+
if params.get("RoutePolicyEntrySet") is not None:
|
|
64453
|
+
self._RoutePolicyEntrySet = []
|
|
64454
|
+
for item in params.get("RoutePolicyEntrySet"):
|
|
64455
|
+
obj = RoutePolicyEntry()
|
|
64456
|
+
obj._deserialize(item)
|
|
64457
|
+
self._RoutePolicyEntrySet.append(obj)
|
|
64458
|
+
if params.get("RoutePolicyAssociationSet") is not None:
|
|
64459
|
+
self._RoutePolicyAssociationSet = []
|
|
64460
|
+
for item in params.get("RoutePolicyAssociationSet"):
|
|
64461
|
+
obj = RoutePolicyAssociation()
|
|
64462
|
+
obj._deserialize(item)
|
|
64463
|
+
self._RoutePolicyAssociationSet.append(obj)
|
|
64464
|
+
self._CreatedTime = params.get("CreatedTime")
|
|
64465
|
+
if params.get("TagSet") is not None:
|
|
64466
|
+
self._TagSet = []
|
|
64467
|
+
for item in params.get("TagSet"):
|
|
64468
|
+
obj = Tag()
|
|
64469
|
+
obj._deserialize(item)
|
|
64470
|
+
self._TagSet.append(obj)
|
|
64471
|
+
memeber_set = set(params.keys())
|
|
64472
|
+
for name, value in vars(self).items():
|
|
64473
|
+
property_name = name[1:]
|
|
64474
|
+
if property_name in memeber_set:
|
|
64475
|
+
memeber_set.remove(property_name)
|
|
64476
|
+
if len(memeber_set) > 0:
|
|
64477
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
64478
|
+
|
|
64479
|
+
|
|
64480
|
+
|
|
64481
|
+
class RoutePolicyAssociation(AbstractModel):
|
|
64482
|
+
r"""路由接收策略绑定。用来绑定路由表和路由接收策略以及绑定的优先级。
|
|
64483
|
+
|
|
64484
|
+
"""
|
|
64485
|
+
|
|
64486
|
+
def __init__(self):
|
|
64487
|
+
r"""
|
|
64488
|
+
:param _RouteTableId: 路由表唯一ID。
|
|
64489
|
+
:type RouteTableId: str
|
|
64490
|
+
:param _RoutePolicyId: 路由接收策略唯一ID。
|
|
64491
|
+
:type RoutePolicyId: str
|
|
64492
|
+
:param _Priority: 优先级。
|
|
64493
|
+
:type Priority: int
|
|
64494
|
+
"""
|
|
64495
|
+
self._RouteTableId = None
|
|
64496
|
+
self._RoutePolicyId = None
|
|
64497
|
+
self._Priority = None
|
|
64498
|
+
|
|
64499
|
+
@property
|
|
64500
|
+
def RouteTableId(self):
|
|
64501
|
+
r"""路由表唯一ID。
|
|
64502
|
+
:rtype: str
|
|
64503
|
+
"""
|
|
64504
|
+
return self._RouteTableId
|
|
64505
|
+
|
|
64506
|
+
@RouteTableId.setter
|
|
64507
|
+
def RouteTableId(self, RouteTableId):
|
|
64508
|
+
self._RouteTableId = RouteTableId
|
|
64509
|
+
|
|
64510
|
+
@property
|
|
64511
|
+
def RoutePolicyId(self):
|
|
64512
|
+
r"""路由接收策略唯一ID。
|
|
64513
|
+
:rtype: str
|
|
64514
|
+
"""
|
|
64515
|
+
return self._RoutePolicyId
|
|
64516
|
+
|
|
64517
|
+
@RoutePolicyId.setter
|
|
64518
|
+
def RoutePolicyId(self, RoutePolicyId):
|
|
64519
|
+
self._RoutePolicyId = RoutePolicyId
|
|
64520
|
+
|
|
64521
|
+
@property
|
|
64522
|
+
def Priority(self):
|
|
64523
|
+
r"""优先级。
|
|
64524
|
+
:rtype: int
|
|
64525
|
+
"""
|
|
64526
|
+
return self._Priority
|
|
64527
|
+
|
|
64528
|
+
@Priority.setter
|
|
64529
|
+
def Priority(self, Priority):
|
|
64530
|
+
self._Priority = Priority
|
|
64531
|
+
|
|
64532
|
+
|
|
64533
|
+
def _deserialize(self, params):
|
|
64534
|
+
self._RouteTableId = params.get("RouteTableId")
|
|
64535
|
+
self._RoutePolicyId = params.get("RoutePolicyId")
|
|
64536
|
+
self._Priority = params.get("Priority")
|
|
64537
|
+
memeber_set = set(params.keys())
|
|
64538
|
+
for name, value in vars(self).items():
|
|
64539
|
+
property_name = name[1:]
|
|
64540
|
+
if property_name in memeber_set:
|
|
64541
|
+
memeber_set.remove(property_name)
|
|
64542
|
+
if len(memeber_set) > 0:
|
|
64543
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
64544
|
+
|
|
64545
|
+
|
|
64546
|
+
|
|
64547
|
+
class RoutePolicyEntry(AbstractModel):
|
|
64548
|
+
r"""路由接收策略条目。
|
|
64549
|
+
|
|
64550
|
+
"""
|
|
64551
|
+
|
|
64552
|
+
def __init__(self):
|
|
64553
|
+
r"""
|
|
64554
|
+
:param _RoutePolicyEntryId: 路由策略条目IPv4唯一ID。
|
|
64555
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64556
|
+
:type RoutePolicyEntryId: str
|
|
64557
|
+
:param _CidrBlock: 目标网段。
|
|
64558
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64559
|
+
:type CidrBlock: str
|
|
64560
|
+
:param _Description: 路由策略规则描述。
|
|
64561
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64562
|
+
:type Description: str
|
|
64563
|
+
:param _RouteType: 路由类型。
|
|
64564
|
+
USER:用户自定义类型。
|
|
64565
|
+
NETD:网络探测下发的路由。
|
|
64566
|
+
CCN:云联网路由。
|
|
64567
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64568
|
+
:type RouteType: str
|
|
64569
|
+
:param _GatewayType: 下一跳类型。目前我们支持的类型有:
|
|
64570
|
+
CVM:公网网关类型的云服务器;
|
|
64571
|
+
VPN:VPN网关;
|
|
64572
|
+
DIRECTCONNECT:专线网关;
|
|
64573
|
+
PEERCONNECTION:对等连接;
|
|
64574
|
+
HAVIP:高可用虚拟IP;
|
|
64575
|
+
NAT:NAT网关;
|
|
64576
|
+
EIP:云服务器的公网IP;
|
|
64577
|
+
LOCAL_GATEWAY:本地网关;
|
|
64578
|
+
PVGW:PVGW网关。
|
|
64579
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64580
|
+
:type GatewayType: str
|
|
64581
|
+
:param _GatewayId: 网关唯一ID。
|
|
64582
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64583
|
+
:type GatewayId: str
|
|
64584
|
+
:param _Priority: 优先级。数值越小,优先级越高。
|
|
64585
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64586
|
+
:type Priority: int
|
|
64587
|
+
:param _Action: 动作。
|
|
64588
|
+
DROP:丢弃。
|
|
64589
|
+
DISABLE:接收且禁用。
|
|
64590
|
+
ACCEPT:接收且启用。
|
|
64591
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64592
|
+
:type Action: str
|
|
64593
|
+
:param _CreatedTime: 创建时间。
|
|
64594
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64595
|
+
:type CreatedTime: str
|
|
64596
|
+
:param _Region: 地域。
|
|
64597
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64598
|
+
:type Region: str
|
|
64599
|
+
"""
|
|
64600
|
+
self._RoutePolicyEntryId = None
|
|
64601
|
+
self._CidrBlock = None
|
|
64602
|
+
self._Description = None
|
|
64603
|
+
self._RouteType = None
|
|
64604
|
+
self._GatewayType = None
|
|
64605
|
+
self._GatewayId = None
|
|
64606
|
+
self._Priority = None
|
|
64607
|
+
self._Action = None
|
|
64608
|
+
self._CreatedTime = None
|
|
64609
|
+
self._Region = None
|
|
64610
|
+
|
|
64611
|
+
@property
|
|
64612
|
+
def RoutePolicyEntryId(self):
|
|
64613
|
+
r"""路由策略条目IPv4唯一ID。
|
|
64614
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64615
|
+
:rtype: str
|
|
64616
|
+
"""
|
|
64617
|
+
return self._RoutePolicyEntryId
|
|
64618
|
+
|
|
64619
|
+
@RoutePolicyEntryId.setter
|
|
64620
|
+
def RoutePolicyEntryId(self, RoutePolicyEntryId):
|
|
64621
|
+
self._RoutePolicyEntryId = RoutePolicyEntryId
|
|
64622
|
+
|
|
64623
|
+
@property
|
|
64624
|
+
def CidrBlock(self):
|
|
64625
|
+
r"""目标网段。
|
|
64626
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64627
|
+
:rtype: str
|
|
64628
|
+
"""
|
|
64629
|
+
return self._CidrBlock
|
|
64630
|
+
|
|
64631
|
+
@CidrBlock.setter
|
|
64632
|
+
def CidrBlock(self, CidrBlock):
|
|
64633
|
+
self._CidrBlock = CidrBlock
|
|
64634
|
+
|
|
64635
|
+
@property
|
|
64636
|
+
def Description(self):
|
|
64637
|
+
r"""路由策略规则描述。
|
|
64638
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64639
|
+
:rtype: str
|
|
64640
|
+
"""
|
|
64641
|
+
return self._Description
|
|
64642
|
+
|
|
64643
|
+
@Description.setter
|
|
64644
|
+
def Description(self, Description):
|
|
64645
|
+
self._Description = Description
|
|
64646
|
+
|
|
64647
|
+
@property
|
|
64648
|
+
def RouteType(self):
|
|
64649
|
+
r"""路由类型。
|
|
64650
|
+
USER:用户自定义类型。
|
|
64651
|
+
NETD:网络探测下发的路由。
|
|
64652
|
+
CCN:云联网路由。
|
|
64653
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64654
|
+
:rtype: str
|
|
64655
|
+
"""
|
|
64656
|
+
return self._RouteType
|
|
64657
|
+
|
|
64658
|
+
@RouteType.setter
|
|
64659
|
+
def RouteType(self, RouteType):
|
|
64660
|
+
self._RouteType = RouteType
|
|
64661
|
+
|
|
64662
|
+
@property
|
|
64663
|
+
def GatewayType(self):
|
|
64664
|
+
r"""下一跳类型。目前我们支持的类型有:
|
|
64665
|
+
CVM:公网网关类型的云服务器;
|
|
64666
|
+
VPN:VPN网关;
|
|
64667
|
+
DIRECTCONNECT:专线网关;
|
|
64668
|
+
PEERCONNECTION:对等连接;
|
|
64669
|
+
HAVIP:高可用虚拟IP;
|
|
64670
|
+
NAT:NAT网关;
|
|
64671
|
+
EIP:云服务器的公网IP;
|
|
64672
|
+
LOCAL_GATEWAY:本地网关;
|
|
64673
|
+
PVGW:PVGW网关。
|
|
64674
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64675
|
+
:rtype: str
|
|
64676
|
+
"""
|
|
64677
|
+
return self._GatewayType
|
|
64678
|
+
|
|
64679
|
+
@GatewayType.setter
|
|
64680
|
+
def GatewayType(self, GatewayType):
|
|
64681
|
+
self._GatewayType = GatewayType
|
|
64682
|
+
|
|
64683
|
+
@property
|
|
64684
|
+
def GatewayId(self):
|
|
64685
|
+
r"""网关唯一ID。
|
|
64686
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64687
|
+
:rtype: str
|
|
64688
|
+
"""
|
|
64689
|
+
return self._GatewayId
|
|
64690
|
+
|
|
64691
|
+
@GatewayId.setter
|
|
64692
|
+
def GatewayId(self, GatewayId):
|
|
64693
|
+
self._GatewayId = GatewayId
|
|
64694
|
+
|
|
64695
|
+
@property
|
|
64696
|
+
def Priority(self):
|
|
64697
|
+
r"""优先级。数值越小,优先级越高。
|
|
64698
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64699
|
+
:rtype: int
|
|
64700
|
+
"""
|
|
64701
|
+
return self._Priority
|
|
64702
|
+
|
|
64703
|
+
@Priority.setter
|
|
64704
|
+
def Priority(self, Priority):
|
|
64705
|
+
self._Priority = Priority
|
|
64706
|
+
|
|
64707
|
+
@property
|
|
64708
|
+
def Action(self):
|
|
64709
|
+
r"""动作。
|
|
64710
|
+
DROP:丢弃。
|
|
64711
|
+
DISABLE:接收且禁用。
|
|
64712
|
+
ACCEPT:接收且启用。
|
|
64713
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64714
|
+
:rtype: str
|
|
64715
|
+
"""
|
|
64716
|
+
return self._Action
|
|
64717
|
+
|
|
64718
|
+
@Action.setter
|
|
64719
|
+
def Action(self, Action):
|
|
64720
|
+
self._Action = Action
|
|
64721
|
+
|
|
64722
|
+
@property
|
|
64723
|
+
def CreatedTime(self):
|
|
64724
|
+
r"""创建时间。
|
|
64725
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64726
|
+
:rtype: str
|
|
64727
|
+
"""
|
|
64728
|
+
return self._CreatedTime
|
|
64729
|
+
|
|
64730
|
+
@CreatedTime.setter
|
|
64731
|
+
def CreatedTime(self, CreatedTime):
|
|
64732
|
+
self._CreatedTime = CreatedTime
|
|
64733
|
+
|
|
64734
|
+
@property
|
|
64735
|
+
def Region(self):
|
|
64736
|
+
r"""地域。
|
|
64737
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64738
|
+
:rtype: str
|
|
64739
|
+
"""
|
|
64740
|
+
return self._Region
|
|
64741
|
+
|
|
64742
|
+
@Region.setter
|
|
64743
|
+
def Region(self, Region):
|
|
64744
|
+
self._Region = Region
|
|
64745
|
+
|
|
64746
|
+
|
|
64747
|
+
def _deserialize(self, params):
|
|
64748
|
+
self._RoutePolicyEntryId = params.get("RoutePolicyEntryId")
|
|
64749
|
+
self._CidrBlock = params.get("CidrBlock")
|
|
64750
|
+
self._Description = params.get("Description")
|
|
64751
|
+
self._RouteType = params.get("RouteType")
|
|
64752
|
+
self._GatewayType = params.get("GatewayType")
|
|
64753
|
+
self._GatewayId = params.get("GatewayId")
|
|
64754
|
+
self._Priority = params.get("Priority")
|
|
64755
|
+
self._Action = params.get("Action")
|
|
64756
|
+
self._CreatedTime = params.get("CreatedTime")
|
|
64757
|
+
self._Region = params.get("Region")
|
|
64758
|
+
memeber_set = set(params.keys())
|
|
64759
|
+
for name, value in vars(self).items():
|
|
64760
|
+
property_name = name[1:]
|
|
64761
|
+
if property_name in memeber_set:
|
|
64762
|
+
memeber_set.remove(property_name)
|
|
64763
|
+
if len(memeber_set) > 0:
|
|
64764
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
64765
|
+
|
|
64766
|
+
|
|
64767
|
+
|
|
63196
64768
|
class RouteSelectionPolicy(AbstractModel):
|
|
63197
64769
|
r"""路由表选择策略信息
|
|
63198
64770
|
|