tencentcloud-sdk-python 3.0.1475__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/autoscaling/v20180419/models.py +2 -2
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +152 -18
- tencentcloud/cdn/v20180606/models.py +12 -2
- tencentcloud/cloudhsm/v20191112/models.py +15 -15
- tencentcloud/cls/v20201016/cls_client.py +4 -4
- tencentcloud/cls/v20201016/models.py +79 -58
- tencentcloud/ctem/v20231128/models.py +45 -0
- tencentcloud/dbbrain/v20210527/models.py +45 -24
- tencentcloud/dts/v20211206/dts_client.py +1 -1
- tencentcloud/dts/v20211206/models.py +33 -10
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/es/v20250101/es_client.py +23 -0
- tencentcloud/es/v20250101/models.py +259 -0
- tencentcloud/ess/v20201111/ess_client.py +97 -0
- tencentcloud/ess/v20201111/models.py +940 -10
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -3
- tencentcloud/essbasic/v20210526/models.py +23 -16
- tencentcloud/gaap/v20180529/models.py +17 -2
- tencentcloud/gwlb/v20240906/gwlb_client.py +23 -0
- tencentcloud/gwlb/v20240906/models.py +150 -0
- tencentcloud/hunyuan/v20230901/models.py +16 -4
- tencentcloud/ioa/v20220601/errorcodes.py +6 -0
- tencentcloud/ioa/v20220601/ioa_client.py +115 -0
- tencentcloud/ioa/v20220601/models.py +1313 -46
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
- tencentcloud/iotexplorer/v20190423/models.py +2022 -116
- tencentcloud/lcic/v20220817/models.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +71 -0
- tencentcloud/lke/v20231130/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +7 -7
- tencentcloud/lkeap/v20240522/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +480 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +949 -90
- tencentcloud/mqtt/v20240516/models.py +15 -0
- tencentcloud/nlp/v20190408/nlp_client.py +9 -3
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +250 -2
- tencentcloud/oceanus/v20190422/oceanus_client.py +46 -0
- tencentcloud/ocr/v20181119/models.py +20 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +36 -0
- tencentcloud/privatedns/v20201028/models.py +1699 -86
- tencentcloud/privatedns/v20201028/privatedns_client.py +253 -0
- tencentcloud/redis/v20180412/models.py +2 -2
- tencentcloud/rum/v20210622/models.py +30 -0
- tencentcloud/teo/v20220901/errorcodes.py +1 -1
- tencentcloud/teo/v20220901/models.py +422 -123
- tencentcloud/teo/v20220901/teo_client.py +2 -2
- tencentcloud/tke/v20180525/models.py +55 -26
- tencentcloud/tmt/v20180321/models.py +139 -0
- tencentcloud/trtc/v20190722/models.py +15 -15
- tencentcloud/tse/v20201207/models.py +50 -0
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/models.py +1839 -252
- tencentcloud/vpc/v20170312/vpc_client.py +276 -0
- tencentcloud/wedata/v20210820/errorcodes.py +3 -0
- tencentcloud/wedata/v20210820/models.py +1240 -81
- tencentcloud/wedata/v20210820/wedata_client.py +1 -1
- tencentcloud/wedata/v20250806/models.py +1243 -332
- tencentcloud/wedata/v20250806/wedata_client.py +95 -3
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/RECORD +68 -68
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1475.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
|
|
@@ -49718,11 +50405,14 @@ class ModifyFlowLogAttributeRequest(AbstractModel):
|
|
|
49718
50405
|
:type FlowLogName: str
|
|
49719
50406
|
:param _FlowLogDescription: 流日志实例描述。长度为不超过512个字符。
|
|
49720
50407
|
:type FlowLogDescription: str
|
|
50408
|
+
:param _Period: 流日志采集周期,只支持CCN类型流日志。 取值范围(单位s):60, 300, 600。
|
|
50409
|
+
:type Period: int
|
|
49721
50410
|
"""
|
|
49722
50411
|
self._FlowLogId = None
|
|
49723
50412
|
self._VpcId = None
|
|
49724
50413
|
self._FlowLogName = None
|
|
49725
50414
|
self._FlowLogDescription = None
|
|
50415
|
+
self._Period = None
|
|
49726
50416
|
|
|
49727
50417
|
@property
|
|
49728
50418
|
def FlowLogId(self):
|
|
@@ -49768,12 +50458,24 @@ class ModifyFlowLogAttributeRequest(AbstractModel):
|
|
|
49768
50458
|
def FlowLogDescription(self, FlowLogDescription):
|
|
49769
50459
|
self._FlowLogDescription = FlowLogDescription
|
|
49770
50460
|
|
|
50461
|
+
@property
|
|
50462
|
+
def Period(self):
|
|
50463
|
+
r"""流日志采集周期,只支持CCN类型流日志。 取值范围(单位s):60, 300, 600。
|
|
50464
|
+
:rtype: int
|
|
50465
|
+
"""
|
|
50466
|
+
return self._Period
|
|
50467
|
+
|
|
50468
|
+
@Period.setter
|
|
50469
|
+
def Period(self, Period):
|
|
50470
|
+
self._Period = Period
|
|
50471
|
+
|
|
49771
50472
|
|
|
49772
50473
|
def _deserialize(self, params):
|
|
49773
50474
|
self._FlowLogId = params.get("FlowLogId")
|
|
49774
50475
|
self._VpcId = params.get("VpcId")
|
|
49775
50476
|
self._FlowLogName = params.get("FlowLogName")
|
|
49776
50477
|
self._FlowLogDescription = params.get("FlowLogDescription")
|
|
50478
|
+
self._Period = params.get("Period")
|
|
49777
50479
|
memeber_set = set(params.keys())
|
|
49778
50480
|
for name, value in vars(self).items():
|
|
49779
50481
|
property_name = name[1:]
|
|
@@ -52694,6 +53396,100 @@ class ModifyReserveIpAddressResponse(AbstractModel):
|
|
|
52694
53396
|
self._RequestId = params.get("RequestId")
|
|
52695
53397
|
|
|
52696
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
|
+
|
|
52697
53493
|
class ModifyRouteTableAttributeRequest(AbstractModel):
|
|
52698
53494
|
r"""ModifyRouteTableAttribute请求参数结构体
|
|
52699
53495
|
|
|
@@ -60375,47 +61171,37 @@ class ReplaceHighPriorityRoutesResponse(AbstractModel):
|
|
|
60375
61171
|
self._RequestId = params.get("RequestId")
|
|
60376
61172
|
|
|
60377
61173
|
|
|
60378
|
-
class
|
|
60379
|
-
r"""
|
|
61174
|
+
class ReplaceRoutePolicyAssociationsRequest(AbstractModel):
|
|
61175
|
+
r"""ReplaceRoutePolicyAssociations请求参数结构体
|
|
60380
61176
|
|
|
60381
61177
|
"""
|
|
60382
61178
|
|
|
60383
61179
|
def __init__(self):
|
|
60384
61180
|
r"""
|
|
60385
|
-
:param
|
|
60386
|
-
:type
|
|
60387
|
-
:param _RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
60388
|
-
:type RouteTableId: str
|
|
61181
|
+
:param _RoutePolicyAssociationSet: 路由接收策略绑定对象列表。需要指定路由接收策略实例ID(RoutePolicyId)和路由表实例ID(RouteTableId)。
|
|
61182
|
+
:type RoutePolicyAssociationSet: list of RoutePolicyAssociation
|
|
60389
61183
|
"""
|
|
60390
|
-
self.
|
|
60391
|
-
self._RouteTableId = None
|
|
61184
|
+
self._RoutePolicyAssociationSet = None
|
|
60392
61185
|
|
|
60393
61186
|
@property
|
|
60394
|
-
def
|
|
60395
|
-
r"""
|
|
60396
|
-
:rtype:
|
|
61187
|
+
def RoutePolicyAssociationSet(self):
|
|
61188
|
+
r"""路由接收策略绑定对象列表。需要指定路由接收策略实例ID(RoutePolicyId)和路由表实例ID(RouteTableId)。
|
|
61189
|
+
:rtype: list of RoutePolicyAssociation
|
|
60397
61190
|
"""
|
|
60398
|
-
return self.
|
|
61191
|
+
return self._RoutePolicyAssociationSet
|
|
60399
61192
|
|
|
60400
|
-
@
|
|
60401
|
-
def
|
|
60402
|
-
self.
|
|
60403
|
-
|
|
60404
|
-
@property
|
|
60405
|
-
def RouteTableId(self):
|
|
60406
|
-
r"""路由表实例ID,例如:rtb-azd4dt1c。
|
|
60407
|
-
:rtype: str
|
|
60408
|
-
"""
|
|
60409
|
-
return self._RouteTableId
|
|
60410
|
-
|
|
60411
|
-
@RouteTableId.setter
|
|
60412
|
-
def RouteTableId(self, RouteTableId):
|
|
60413
|
-
self._RouteTableId = RouteTableId
|
|
61193
|
+
@RoutePolicyAssociationSet.setter
|
|
61194
|
+
def RoutePolicyAssociationSet(self, RoutePolicyAssociationSet):
|
|
61195
|
+
self._RoutePolicyAssociationSet = RoutePolicyAssociationSet
|
|
60414
61196
|
|
|
60415
61197
|
|
|
60416
61198
|
def _deserialize(self, params):
|
|
60417
|
-
|
|
60418
|
-
|
|
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)
|
|
60419
61205
|
memeber_set = set(params.keys())
|
|
60420
61206
|
for name, value in vars(self).items():
|
|
60421
61207
|
property_name = name[1:]
|
|
@@ -60426,8 +61212,171 @@ class ReplaceRouteTableAssociationRequest(AbstractModel):
|
|
|
60426
61212
|
|
|
60427
61213
|
|
|
60428
61214
|
|
|
60429
|
-
class
|
|
60430
|
-
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返回参数结构体
|
|
60431
61380
|
|
|
60432
61381
|
"""
|
|
60433
61382
|
|
|
@@ -61242,8 +62191,8 @@ class ResetNatGatewayConnectionResponse(AbstractModel):
|
|
|
61242
62191
|
self._RequestId = params.get("RequestId")
|
|
61243
62192
|
|
|
61244
62193
|
|
|
61245
|
-
class
|
|
61246
|
-
r"""
|
|
62194
|
+
class ResetRoutePolicyAssociationsRequest(AbstractModel):
|
|
62195
|
+
r"""ResetRoutePolicyAssociations请求参数结构体
|
|
61247
62196
|
|
|
61248
62197
|
"""
|
|
61249
62198
|
|
|
@@ -61251,14 +62200,11 @@ class ResetRoutesRequest(AbstractModel):
|
|
|
61251
62200
|
r"""
|
|
61252
62201
|
:param _RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
61253
62202
|
:type RouteTableId: str
|
|
61254
|
-
:param
|
|
61255
|
-
:type
|
|
61256
|
-
:param _Routes: 路由策略。
|
|
61257
|
-
:type Routes: list of Route
|
|
62203
|
+
:param _RoutePolicyAssociationSet: 路由策略绑定对象(RoutePolicyAssociation)列表。注意:路由策略绑定中的路由表实例ID(RouteTableId)需要和该接口的RouteTableId参数保持一致(也就是该接口只支持修改同一个路由表实例下的路有策略绑定关系及优先级)。
|
|
62204
|
+
:type RoutePolicyAssociationSet: list of RoutePolicyAssociation
|
|
61258
62205
|
"""
|
|
61259
62206
|
self._RouteTableId = None
|
|
61260
|
-
self.
|
|
61261
|
-
self._Routes = None
|
|
62207
|
+
self._RoutePolicyAssociationSet = None
|
|
61262
62208
|
|
|
61263
62209
|
@property
|
|
61264
62210
|
def RouteTableId(self):
|
|
@@ -61272,37 +62218,25 @@ class ResetRoutesRequest(AbstractModel):
|
|
|
61272
62218
|
self._RouteTableId = RouteTableId
|
|
61273
62219
|
|
|
61274
62220
|
@property
|
|
61275
|
-
def
|
|
61276
|
-
r"""
|
|
61277
|
-
:rtype:
|
|
61278
|
-
"""
|
|
61279
|
-
return self._RouteTableName
|
|
61280
|
-
|
|
61281
|
-
@RouteTableName.setter
|
|
61282
|
-
def RouteTableName(self, RouteTableName):
|
|
61283
|
-
self._RouteTableName = RouteTableName
|
|
61284
|
-
|
|
61285
|
-
@property
|
|
61286
|
-
def Routes(self):
|
|
61287
|
-
r"""路由策略。
|
|
61288
|
-
:rtype: list of Route
|
|
62221
|
+
def RoutePolicyAssociationSet(self):
|
|
62222
|
+
r"""路由策略绑定对象(RoutePolicyAssociation)列表。注意:路由策略绑定中的路由表实例ID(RouteTableId)需要和该接口的RouteTableId参数保持一致(也就是该接口只支持修改同一个路由表实例下的路有策略绑定关系及优先级)。
|
|
62223
|
+
:rtype: list of RoutePolicyAssociation
|
|
61289
62224
|
"""
|
|
61290
|
-
return self.
|
|
62225
|
+
return self._RoutePolicyAssociationSet
|
|
61291
62226
|
|
|
61292
|
-
@
|
|
61293
|
-
def
|
|
61294
|
-
self.
|
|
62227
|
+
@RoutePolicyAssociationSet.setter
|
|
62228
|
+
def RoutePolicyAssociationSet(self, RoutePolicyAssociationSet):
|
|
62229
|
+
self._RoutePolicyAssociationSet = RoutePolicyAssociationSet
|
|
61295
62230
|
|
|
61296
62231
|
|
|
61297
62232
|
def _deserialize(self, params):
|
|
61298
62233
|
self._RouteTableId = params.get("RouteTableId")
|
|
61299
|
-
|
|
61300
|
-
|
|
61301
|
-
|
|
61302
|
-
|
|
61303
|
-
obj = Route()
|
|
62234
|
+
if params.get("RoutePolicyAssociationSet") is not None:
|
|
62235
|
+
self._RoutePolicyAssociationSet = []
|
|
62236
|
+
for item in params.get("RoutePolicyAssociationSet"):
|
|
62237
|
+
obj = RoutePolicyAssociation()
|
|
61304
62238
|
obj._deserialize(item)
|
|
61305
|
-
self.
|
|
62239
|
+
self._RoutePolicyAssociationSet.append(obj)
|
|
61306
62240
|
memeber_set = set(params.keys())
|
|
61307
62241
|
for name, value in vars(self).items():
|
|
61308
62242
|
property_name = name[1:]
|
|
@@ -61313,8 +62247,8 @@ class ResetRoutesRequest(AbstractModel):
|
|
|
61313
62247
|
|
|
61314
62248
|
|
|
61315
62249
|
|
|
61316
|
-
class
|
|
61317
|
-
r"""
|
|
62250
|
+
class ResetRoutePolicyAssociationsResponse(AbstractModel):
|
|
62251
|
+
r"""ResetRoutePolicyAssociations返回参数结构体
|
|
61318
62252
|
|
|
61319
62253
|
"""
|
|
61320
62254
|
|
|
@@ -61341,67 +62275,82 @@ class ResetRoutesResponse(AbstractModel):
|
|
|
61341
62275
|
self._RequestId = params.get("RequestId")
|
|
61342
62276
|
|
|
61343
62277
|
|
|
61344
|
-
class
|
|
61345
|
-
r"""
|
|
62278
|
+
class ResetRoutePolicyEntriesRequest(AbstractModel):
|
|
62279
|
+
r"""ResetRoutePolicyEntries请求参数结构体
|
|
61346
62280
|
|
|
61347
62281
|
"""
|
|
61348
62282
|
|
|
61349
62283
|
def __init__(self):
|
|
61350
62284
|
r"""
|
|
61351
|
-
:param
|
|
61352
|
-
:type
|
|
61353
|
-
:param
|
|
61354
|
-
:type
|
|
61355
|
-
:param
|
|
61356
|
-
: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
|
|
61357
62293
|
"""
|
|
61358
|
-
self.
|
|
61359
|
-
self.
|
|
61360
|
-
self.
|
|
62294
|
+
self._RoutePolicyId = None
|
|
62295
|
+
self._RoutePolicyEntrySet = None
|
|
62296
|
+
self._RoutePolicyDescription = None
|
|
62297
|
+
self._RoutePolicyName = None
|
|
61361
62298
|
|
|
61362
62299
|
@property
|
|
61363
|
-
def
|
|
61364
|
-
r"""
|
|
62300
|
+
def RoutePolicyId(self):
|
|
62301
|
+
r"""路由接收策略实例ID,例如:rrp-azd4dt1c。
|
|
61365
62302
|
:rtype: str
|
|
61366
62303
|
"""
|
|
61367
|
-
return self.
|
|
62304
|
+
return self._RoutePolicyId
|
|
61368
62305
|
|
|
61369
|
-
@
|
|
61370
|
-
def
|
|
61371
|
-
self.
|
|
62306
|
+
@RoutePolicyId.setter
|
|
62307
|
+
def RoutePolicyId(self, RoutePolicyId):
|
|
62308
|
+
self._RoutePolicyId = RoutePolicyId
|
|
61372
62309
|
|
|
61373
62310
|
@property
|
|
61374
|
-
def
|
|
61375
|
-
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"""路由接收策略描述。
|
|
61376
62324
|
:rtype: str
|
|
61377
62325
|
"""
|
|
61378
|
-
return self.
|
|
62326
|
+
return self._RoutePolicyDescription
|
|
61379
62327
|
|
|
61380
|
-
@
|
|
61381
|
-
def
|
|
61382
|
-
self.
|
|
62328
|
+
@RoutePolicyDescription.setter
|
|
62329
|
+
def RoutePolicyDescription(self, RoutePolicyDescription):
|
|
62330
|
+
self._RoutePolicyDescription = RoutePolicyDescription
|
|
61383
62331
|
|
|
61384
62332
|
@property
|
|
61385
|
-
def
|
|
61386
|
-
r"""
|
|
61387
|
-
:rtype:
|
|
62333
|
+
def RoutePolicyName(self):
|
|
62334
|
+
r"""路由接收策略名字。
|
|
62335
|
+
:rtype: str
|
|
61388
62336
|
"""
|
|
61389
|
-
return self.
|
|
62337
|
+
return self._RoutePolicyName
|
|
61390
62338
|
|
|
61391
|
-
@
|
|
61392
|
-
def
|
|
61393
|
-
self.
|
|
62339
|
+
@RoutePolicyName.setter
|
|
62340
|
+
def RoutePolicyName(self, RoutePolicyName):
|
|
62341
|
+
self._RoutePolicyName = RoutePolicyName
|
|
61394
62342
|
|
|
61395
62343
|
|
|
61396
62344
|
def _deserialize(self, params):
|
|
61397
|
-
self.
|
|
61398
|
-
|
|
61399
|
-
|
|
61400
|
-
|
|
61401
|
-
|
|
61402
|
-
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()
|
|
61403
62350
|
obj._deserialize(item)
|
|
61404
|
-
self.
|
|
62351
|
+
self._RoutePolicyEntrySet.append(obj)
|
|
62352
|
+
self._RoutePolicyDescription = params.get("RoutePolicyDescription")
|
|
62353
|
+
self._RoutePolicyName = params.get("RoutePolicyName")
|
|
61405
62354
|
memeber_set = set(params.keys())
|
|
61406
62355
|
for name, value in vars(self).items():
|
|
61407
62356
|
property_name = name[1:]
|
|
@@ -61412,8 +62361,8 @@ class ResetTrafficMirrorFilterRequest(AbstractModel):
|
|
|
61412
62361
|
|
|
61413
62362
|
|
|
61414
62363
|
|
|
61415
|
-
class
|
|
61416
|
-
r"""
|
|
62364
|
+
class ResetRoutePolicyEntriesResponse(AbstractModel):
|
|
62365
|
+
r"""ResetRoutePolicyEntries返回参数结构体
|
|
61417
62366
|
|
|
61418
62367
|
"""
|
|
61419
62368
|
|
|
@@ -61440,47 +62389,67 @@ class ResetTrafficMirrorFilterResponse(AbstractModel):
|
|
|
61440
62389
|
self._RequestId = params.get("RequestId")
|
|
61441
62390
|
|
|
61442
62391
|
|
|
61443
|
-
class
|
|
61444
|
-
r"""
|
|
62392
|
+
class ResetRoutesRequest(AbstractModel):
|
|
62393
|
+
r"""ResetRoutes请求参数结构体
|
|
61445
62394
|
|
|
61446
62395
|
"""
|
|
61447
62396
|
|
|
61448
62397
|
def __init__(self):
|
|
61449
62398
|
r"""
|
|
61450
|
-
:param
|
|
61451
|
-
:type
|
|
61452
|
-
:param
|
|
61453
|
-
: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
|
|
61454
62405
|
"""
|
|
61455
|
-
self.
|
|
61456
|
-
self.
|
|
62406
|
+
self._RouteTableId = None
|
|
62407
|
+
self._RouteTableName = None
|
|
62408
|
+
self._Routes = None
|
|
61457
62409
|
|
|
61458
62410
|
@property
|
|
61459
|
-
def
|
|
61460
|
-
r"""
|
|
62411
|
+
def RouteTableId(self):
|
|
62412
|
+
r"""路由表实例ID,例如:rtb-azd4dt1c。
|
|
61461
62413
|
:rtype: str
|
|
61462
62414
|
"""
|
|
61463
|
-
return self.
|
|
62415
|
+
return self._RouteTableId
|
|
61464
62416
|
|
|
61465
|
-
@
|
|
61466
|
-
def
|
|
61467
|
-
self.
|
|
62417
|
+
@RouteTableId.setter
|
|
62418
|
+
def RouteTableId(self, RouteTableId):
|
|
62419
|
+
self._RouteTableId = RouteTableId
|
|
61468
62420
|
|
|
61469
62421
|
@property
|
|
61470
|
-
def
|
|
61471
|
-
r"""
|
|
61472
|
-
:rtype:
|
|
62422
|
+
def RouteTableName(self):
|
|
62423
|
+
r"""路由表名称,最大长度不能超过60个字节。
|
|
62424
|
+
:rtype: str
|
|
61473
62425
|
"""
|
|
61474
|
-
return self.
|
|
62426
|
+
return self._RouteTableName
|
|
61475
62427
|
|
|
61476
|
-
@
|
|
61477
|
-
def
|
|
61478
|
-
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
|
|
61479
62442
|
|
|
61480
62443
|
|
|
61481
62444
|
def _deserialize(self, params):
|
|
61482
|
-
self.
|
|
61483
|
-
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)
|
|
61484
62453
|
memeber_set = set(params.keys())
|
|
61485
62454
|
for name, value in vars(self).items():
|
|
61486
62455
|
property_name = name[1:]
|
|
@@ -61491,8 +62460,186 @@ class ResetTrafficMirrorSrcsRequest(AbstractModel):
|
|
|
61491
62460
|
|
|
61492
62461
|
|
|
61493
62462
|
|
|
61494
|
-
class
|
|
61495
|
-
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返回参数结构体
|
|
61496
62643
|
|
|
61497
62644
|
"""
|
|
61498
62645
|
|
|
@@ -63178,6 +64325,446 @@ class RouteECMPAlgorithm(AbstractModel):
|
|
|
63178
64325
|
|
|
63179
64326
|
|
|
63180
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
|
+
|
|
63181
64768
|
class RouteSelectionPolicy(AbstractModel):
|
|
63182
64769
|
r"""路由表选择策略信息
|
|
63183
64770
|
|