kingsoftcloud-sdk-python 1.1.1__py2.py3-none-any.whl → 1.5.8.44__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.
- {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.44.dist-info}/METADATA +17 -4
- kingsoftcloud_sdk_python-1.5.8.44.dist-info/RECORD +337 -0
- {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.44.dist-info}/WHEEL +1 -1
- ksyun/__init__.py +1 -1
- ksyun/client/actiontrail/v20190401/client.py +1 -1
- ksyun/client/aicp/v20240612/client.py +1229 -0
- ksyun/client/aicp/v20240612/models.py +1778 -0
- ksyun/client/aicp/v20251212/__init__.py +0 -0
- ksyun/client/aicp/v20251212/client.py +56 -0
- ksyun/client/aicp/v20251212/models.py +114 -0
- ksyun/client/bill/v20180601/client.py +3 -72
- ksyun/client/bill/v20180601/models.py +29 -41
- ksyun/client/bill/v20220601/__init__.py +0 -0
- ksyun/client/bill/v20220601/client.py +56 -0
- ksyun/client/bill/v20220601/models.py +54 -0
- ksyun/client/bill_union/v20200101/client.py +77 -8
- ksyun/client/bill_union/v20200101/models.py +118 -2
- ksyun/client/bill_union/v20221222/__init__.py +0 -0
- ksyun/client/bill_union/v20221222/client.py +148 -0
- ksyun/client/bill_union/v20221222/models.py +193 -0
- ksyun/client/bill_union/v20250801/__init__.py +0 -0
- ksyun/client/bill_union/v20250801/client.py +56 -0
- ksyun/client/bill_union/v20250801/models.py +64 -0
- ksyun/client/bws/v20160304/client.py +29 -6
- ksyun/client/bws/v20160304/models.py +51 -0
- ksyun/client/cdn/__init__.py +0 -0
- ksyun/client/cdn/v20160901/__init__.py +0 -0
- ksyun/client/cdn/v20160901/client.py +79 -0
- ksyun/client/cdn/v20160901/models.py +51 -0
- ksyun/client/cdn/v20200630/__init__.py +0 -0
- ksyun/client/cdn/v20200630/client.py +401 -0
- ksyun/client/cdn/v20200630/models.py +826 -0
- ksyun/client/cdn/v20200901/__init__.py +0 -0
- ksyun/client/cdn/v20200901/client.py +171 -0
- ksyun/client/cdn/v20200901/models.py +224 -0
- ksyun/client/cdn/v20211201/__init__.py +0 -0
- ksyun/client/cdn/v20211201/client.py +33 -0
- ksyun/client/cdn/v20211201/models.py +23 -0
- ksyun/client/cdn/v3/__init__.py +0 -0
- ksyun/client/cdn/v3/client.py +999 -0
- ksyun/client/cdn/v3/models.py +1323 -0
- ksyun/client/cen/__init__.py +0 -0
- ksyun/client/cen/v20160304/__init__.py +0 -0
- ksyun/client/cen/v20160304/client.py +608 -0
- ksyun/client/cen/v20160304/models.py +718 -0
- ksyun/client/clickhouse/__init__.py +0 -0
- ksyun/client/clickhouse/v20210101/__init__.py +0 -0
- ksyun/client/clickhouse/v20210101/client.py +907 -0
- ksyun/client/clickhouse/v20210101/models.py +1127 -0
- ksyun/client/cloud_advisor/__init__.py +0 -0
- ksyun/client/cloud_advisor/v20250610/__init__.py +0 -0
- ksyun/client/cloud_advisor/v20250610/client.py +79 -0
- ksyun/client/cloud_advisor/v20250610/models.py +80 -0
- ksyun/client/dmp/__init__.py +0 -0
- ksyun/client/dmp/v20240101/__init__.py +0 -0
- ksyun/client/dmp/v20240101/client.py +470 -0
- ksyun/client/dmp/v20240101/models.py +423 -0
- ksyun/client/dts/__init__.py +0 -0
- ksyun/client/dts/v20180108/__init__.py +0 -0
- ksyun/client/dts/v20180108/client.py +447 -0
- ksyun/client/dts/v20180108/models.py +734 -0
- ksyun/client/ebs/v20160304/client.py +243 -36
- ksyun/client/ebs/v20160304/models.py +320 -66
- ksyun/client/eip/v20160304/client.py +122 -7
- ksyun/client/eip/v20160304/models.py +95 -1
- ksyun/client/epc/v20151101/client.py +1258 -131
- ksyun/client/epc/v20151101/models.py +2605 -134
- ksyun/client/iam/v20151101/client.py +271 -64
- ksyun/client/iam/v20151101/models.py +284 -28
- ksyun/client/iam/v20240513/__init__.py +0 -0
- ksyun/client/iam/v20240513/client.py +33 -0
- ksyun/client/iam/v20240513/models.py +33 -0
- ksyun/client/iam/v20240703/__init__.py +0 -0
- ksyun/client/iam/v20240703/client.py +33 -0
- ksyun/client/iam/v20240703/models.py +18 -0
- ksyun/client/influxdb/__init__.py +0 -0
- ksyun/client/influxdb/v20191010/__init__.py +0 -0
- ksyun/client/influxdb/v20191010/client.py +631 -0
- ksyun/client/influxdb/v20191010/models.py +655 -0
- ksyun/client/kad/v20161122/client.py +52 -6
- ksyun/client/kad/v20161122/models.py +38 -0
- ksyun/client/kce/__init__.py +0 -0
- ksyun/client/kce/v20180314/__init__.py +0 -0
- ksyun/client/kce/v20180314/client.py +401 -0
- ksyun/client/kce/v20180314/models.py +374 -0
- ksyun/client/kce/v20190806/__init__.py +0 -0
- ksyun/client/kce/v20190806/client.py +792 -0
- ksyun/client/kce/v20190806/models.py +1099 -0
- ksyun/client/kce/v20201231/__init__.py +0 -0
- ksyun/client/{bill_union/v20211209 → kce/v20201231}/client.py +9 -9
- ksyun/client/kce/v20201231/models.py +137 -0
- ksyun/client/kce/v20230101/__init__.py +0 -0
- ksyun/client/kce/v20230101/client.py +217 -0
- ksyun/client/kce/v20230101/models.py +259 -0
- ksyun/client/kce/v20230306/__init__.py +0 -0
- ksyun/client/kce/v20230306/client.py +516 -0
- ksyun/client/kce/v20230306/models.py +655 -0
- ksyun/client/kce/v20231115/__init__.py +0 -0
- ksyun/client/kce/v20231115/client.py +56 -0
- ksyun/client/kce/v20231115/models.py +59 -0
- ksyun/client/kce2/__init__.py +0 -0
- ksyun/client/kce2/v20230101/__init__.py +0 -0
- ksyun/client/kce2/v20230101/client.py +355 -0
- ksyun/client/kce2/v20230101/models.py +483 -0
- ksyun/client/kcf/__init__.py +0 -0
- ksyun/client/kcf/v20211215/__init__.py +0 -0
- ksyun/client/kcf/v20211215/client.py +217 -0
- ksyun/client/kcf/v20211215/models.py +313 -0
- ksyun/client/kci/__init__.py +0 -0
- ksyun/client/kci/v20200702/__init__.py +0 -0
- ksyun/client/kci/v20200702/client.py +355 -0
- ksyun/client/kci/v20200702/models.py +614 -0
- ksyun/client/kcm/__init__.py +0 -0
- ksyun/client/kcm/v20160304/__init__.py +0 -0
- ksyun/client/kcm/v20160304/client.py +240 -0
- ksyun/client/kcm/v20160304/models.py +394 -0
- ksyun/client/kcrs/__init__.py +0 -0
- ksyun/client/kcrs/v20211109/__init__.py +0 -0
- ksyun/client/kcrs/v20211109/client.py +1022 -0
- ksyun/client/kcrs/v20211109/models.py +1282 -0
- ksyun/client/kcs/__init__.py +0 -0
- ksyun/client/kcs/v20160701/__init__.py +0 -0
- ksyun/client/kcs/v20160701/client.py +1528 -0
- ksyun/client/kcs/v20160701/models.py +1917 -0
- ksyun/client/kcs/v20170401/__init__.py +0 -0
- ksyun/client/kcs/v20170401/client.py +33 -0
- ksyun/client/kcs/v20170401/models.py +28 -0
- ksyun/client/kcs/v20240701/__init__.py +0 -0
- ksyun/client/kcs/v20240701/client.py +33 -0
- ksyun/client/kcs/v20240701/models.py +23 -0
- ksyun/client/kead/v20200101/client.py +47 -1
- ksyun/client/kead/v20200101/models.py +52 -42
- ksyun/client/kec/v20160304/client.py +334 -127
- ksyun/client/kec/v20160304/models.py +701 -131
- ksyun/client/ked/__init__.py +0 -0
- ksyun/client/ked/v1/__init__.py +0 -0
- ksyun/client/ked/v1/client.py +1022 -0
- ksyun/client/ked/v1/models.py +1132 -0
- ksyun/client/kes/__init__.py +0 -0
- ksyun/client/kes/v20201215/__init__.py +0 -0
- ksyun/client/kes/v20201215/client.py +194 -0
- ksyun/client/kes/v20201215/models.py +252 -0
- ksyun/client/ket/__init__.py +0 -0
- ksyun/client/ket/v20170101/__init__.py +0 -0
- ksyun/client/ket/v20170101/client.py +194 -0
- ksyun/client/ket/v20170101/models.py +265 -0
- ksyun/client/kfw/__init__.py +0 -0
- ksyun/client/kfw/v20160304/__init__.py +0 -0
- ksyun/client/kfw/v20160304/client.py +56 -0
- ksyun/client/kfw/v20160304/models.py +35 -0
- ksyun/client/kingpay/__init__.py +0 -0
- ksyun/client/kingpay/v1/__init__.py +0 -0
- ksyun/client/kingpay/v1/client.py +33 -0
- ksyun/client/kingpay/v1/models.py +18 -0
- ksyun/client/kkms/__init__.py +0 -0
- ksyun/client/kkms/v20160304/__init__.py +0 -0
- ksyun/client/kkms/v20160304/client.py +194 -0
- ksyun/client/kkms/v20160304/models.py +185 -0
- ksyun/client/klog/__init__.py +0 -0
- ksyun/client/klog/v20200731/__init__.py +0 -0
- ksyun/client/klog/v20200731/client.py +378 -0
- ksyun/client/klog/v20200731/models.py +508 -0
- ksyun/client/kls/__init__.py +0 -0
- ksyun/client/kls/v20170101/__init__.py +0 -0
- ksyun/client/kls/v20170101/client.py +194 -0
- ksyun/client/kls/v20170101/models.py +320 -0
- ksyun/client/kmr/__init__.py +0 -0
- ksyun/client/kmr/v20210902/__init__.py +0 -0
- ksyun/client/kmr/v20210902/client.py +539 -0
- ksyun/client/kmr/v20210902/models.py +536 -0
- ksyun/client/kmr/v20231231/__init__.py +0 -0
- ksyun/client/kmr/v20231231/client.py +171 -0
- ksyun/client/kmr/v20231231/models.py +201 -0
- ksyun/client/kmr/v20240814/__init__.py +0 -0
- ksyun/client/kmr/v20240814/client.py +447 -0
- ksyun/client/kmr/v20240814/models.py +523 -0
- ksyun/client/knad/__init__.py +0 -0
- ksyun/client/knad/v20230323/__init__.py +0 -0
- ksyun/client/knad/v20230323/client.py +401 -0
- ksyun/client/knad/v20230323/models.py +470 -0
- ksyun/client/kpfs/__init__.py +0 -0
- ksyun/client/kpfs/v20240930/__init__.py +0 -0
- ksyun/client/kpfs/v20240930/client.py +217 -0
- ksyun/client/kpfs/v20240930/models.py +191 -0
- ksyun/client/krds/__init__.py +0 -0
- ksyun/client/krds/v20160701/__init__.py +0 -0
- ksyun/client/krds/v20160701/client.py +2103 -0
- ksyun/client/krds/v20160701/models.py +2722 -0
- ksyun/client/krds/v20200825/__init__.py +0 -0
- ksyun/client/krds/v20200825/client.py +240 -0
- ksyun/client/krds/v20200825/models.py +336 -0
- ksyun/client/memcached/__init__.py +0 -0
- ksyun/client/memcached/v20180627/__init__.py +0 -0
- ksyun/client/memcached/v20180627/client.py +309 -0
- ksyun/client/memcached/v20180627/models.py +317 -0
- ksyun/client/milvus/__init__.py +0 -0
- ksyun/client/milvus/v20231010/__init__.py +0 -0
- ksyun/client/milvus/v20231010/client.py +447 -0
- ksyun/client/milvus/v20231010/models.py +520 -0
- ksyun/client/mongodb/v20170101/client.py +280 -50
- ksyun/client/mongodb/v20170101/models.py +251 -34
- ksyun/client/mongodb/v20250101/__init__.py +0 -0
- ksyun/client/mongodb/v20250101/client.py +33 -0
- ksyun/client/mongodb/v20250101/models.py +18 -0
- ksyun/client/monitor/__init__.py +0 -0
- ksyun/client/monitor/v20100525/__init__.py +0 -0
- ksyun/client/monitor/v20100525/client.py +56 -0
- ksyun/client/monitor/v20100525/models.py +108 -0
- ksyun/client/monitor/v20181114/__init__.py +0 -0
- ksyun/client/monitor/v20181114/client.py +33 -0
- ksyun/client/monitor/v20181114/models.py +59 -0
- ksyun/client/monitor/v20210101/__init__.py +0 -0
- ksyun/client/monitor/v20210101/client.py +286 -0
- ksyun/client/monitor/v20210101/models.py +330 -0
- ksyun/client/monitor/v20220101/__init__.py +0 -0
- ksyun/client/monitor/v20220101/client.py +56 -0
- ksyun/client/monitor/v20220101/models.py +32 -0
- ksyun/client/monitor/v20250101/__init__.py +0 -0
- ksyun/client/monitor/v20250101/client.py +79 -0
- ksyun/client/monitor/v20250101/models.py +156 -0
- ksyun/client/pdns/__init__.py +0 -0
- ksyun/client/pdns/v20160304/__init__.py +0 -0
- ksyun/client/pdns/v20160304/client.py +815 -0
- ksyun/client/pdns/v20160304/models.py +805 -0
- ksyun/client/postgresql/__init__.py +0 -0
- ksyun/client/postgresql/v20181225/__init__.py +0 -0
- ksyun/client/postgresql/v20181225/client.py +1160 -0
- ksyun/client/postgresql/v20181225/models.py +1629 -0
- ksyun/client/rabbitmq/__init__.py +0 -0
- ksyun/client/rabbitmq/v20191017/__init__.py +0 -0
- ksyun/client/rabbitmq/v20191017/client.py +447 -0
- ksyun/client/rabbitmq/v20191017/models.py +413 -0
- ksyun/client/relyt/__init__.py +0 -0
- ksyun/client/relyt/v20240117/__init__.py +0 -0
- ksyun/client/{slb/v20171210 → relyt/v20240117}/client.py +9 -9
- ksyun/client/relyt/v20240117/models.py +23 -0
- ksyun/client/resourcemanager/v20210320/client.py +8 -8
- ksyun/client/sks/v20151101/client.py +5 -5
- ksyun/client/sks/v20151101/models.py +7 -0
- ksyun/client/slb/v20160304/client.py +1051 -62
- ksyun/client/slb/v20160304/models.py +1692 -19
- ksyun/client/slb/v20250430/__init__.py +0 -0
- ksyun/client/slb/v20250430/client.py +815 -0
- ksyun/client/slb/v20250430/models.py +1372 -0
- ksyun/client/sqlserver/__init__.py +0 -0
- ksyun/client/sqlserver/v20190425/__init__.py +0 -0
- ksyun/client/sqlserver/v20190425/client.py +1068 -0
- ksyun/client/sqlserver/v20190425/models.py +1528 -0
- ksyun/client/sts/v20151101/client.py +24 -1
- ksyun/client/sts/v20151101/models.py +54 -1
- ksyun/client/tagv2/v20200901/client.py +54 -8
- ksyun/client/tagv2/v20200901/models.py +56 -4
- ksyun/client/ter/__init__.py +0 -0
- ksyun/client/ter/v20240415/__init__.py +0 -0
- ksyun/client/ter/v20240415/client.py +125 -0
- ksyun/client/ter/v20240415/models.py +115 -0
- ksyun/client/tidb/__init__.py +0 -0
- ksyun/client/tidb/v20210520/__init__.py +0 -0
- ksyun/client/tidb/v20210520/client.py +930 -0
- ksyun/client/tidb/v20210520/models.py +1162 -0
- ksyun/client/trade/v20200114/client.py +1 -1
- ksyun/client/trade/v20200831/client.py +1 -1
- ksyun/client/trade/v20250220/__init__.py +0 -0
- ksyun/client/trade/v20250220/client.py +102 -0
- ksyun/client/trade/v20250220/models.py +91 -0
- ksyun/client/trade/v20250321/__init__.py +0 -0
- ksyun/client/trade/v20250321/client.py +102 -0
- ksyun/client/trade/v20250321/models.py +71 -0
- ksyun/client/trade/v20250828/__init__.py +0 -0
- ksyun/client/trade/v20250828/client.py +33 -0
- ksyun/client/trade/v20250828/models.py +81 -0
- ksyun/client/vpc/v20160304/client.py +1297 -147
- ksyun/client/vpc/v20160304/models.py +1536 -139
- ksyun/client/waf/__init__.py +0 -0
- ksyun/client/waf/v20200707/__init__.py +0 -0
- ksyun/client/waf/v20200707/client.py +470 -0
- ksyun/client/waf/v20200707/models.py +738 -0
- ksyun/common/abstract_client.py +42 -18
- ksyun/common/http/request.py +43 -6
- ksyun/common/profile/http_profile.py +26 -1
- kingsoftcloud_sdk_python-1.1.1.dist-info/RECORD +0 -105
- ksyun/client/bill_union/v20211209/models.py +0 -38
- ksyun/client/slb/v20171210/models.py +0 -33
- ksyun/common/sign.py +0 -33
- {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.44.dist-info/licenses}/LICENSE +0 -0
- {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.44.dist-info}/top_level.txt +0 -0
- /ksyun/client/{bill_union/v20211209 → aicp}/__init__.py +0 -0
- /ksyun/client/{slb/v20171210 → aicp/v20240612}/__init__.py +0 -0
|
@@ -73,7 +73,7 @@ class CreateSubnetRequest(AbstractModel):
|
|
|
73
73
|
"""
|
|
74
74
|
|
|
75
75
|
def __init__(self):
|
|
76
|
-
r"""
|
|
76
|
+
r"""创建vpc子网
|
|
77
77
|
:param VpcId: Vpc的ID
|
|
78
78
|
:type PathPrefix: String
|
|
79
79
|
:param SubnetName: 子网的名称
|
|
@@ -98,6 +98,8 @@ class CreateSubnetRequest(AbstractModel):
|
|
|
98
98
|
:type PathPrefix: String
|
|
99
99
|
:param AvailabilityZone: 可用区的名称,默认在可用区A创建,例如:cn-beijing-6a
|
|
100
100
|
:type PathPrefix: String
|
|
101
|
+
:param VisitInternet: 裸金属子网是否支持公网访问,false: 禁止公网访问的子网,true:允许公网访问的子网,默认为true
|
|
102
|
+
:type PathPrefix: Boolean
|
|
101
103
|
"""
|
|
102
104
|
self.VpcId = None
|
|
103
105
|
self.SubnetName = None
|
|
@@ -111,6 +113,7 @@ class CreateSubnetRequest(AbstractModel):
|
|
|
111
113
|
self.GatewayIp = None
|
|
112
114
|
self.SecondaryCidrId = None
|
|
113
115
|
self.AvailabilityZone = None
|
|
116
|
+
self.VisitInternet = None
|
|
114
117
|
|
|
115
118
|
def _deserialize(self, params):
|
|
116
119
|
if params.get("VpcId"):
|
|
@@ -137,6 +140,8 @@ class CreateSubnetRequest(AbstractModel):
|
|
|
137
140
|
self.SecondaryCidrId = params.get("SecondaryCidrId")
|
|
138
141
|
if params.get("AvailabilityZone"):
|
|
139
142
|
self.AvailabilityZone = params.get("AvailabilityZone")
|
|
143
|
+
if params.get("VisitInternet"):
|
|
144
|
+
self.VisitInternet = params.get("VisitInternet")
|
|
140
145
|
|
|
141
146
|
|
|
142
147
|
class DeleteSubnetRequest(AbstractModel):
|
|
@@ -160,7 +165,7 @@ class DescribeSubnetsRequest(AbstractModel):
|
|
|
160
165
|
"""
|
|
161
166
|
|
|
162
167
|
def __init__(self):
|
|
163
|
-
r"""
|
|
168
|
+
r"""描述VPC子网
|
|
164
169
|
:param SubnetId: 多个子网的ID
|
|
165
170
|
:type PathPrefix: Filter
|
|
166
171
|
:param Filter: 筛选Filter
|
|
@@ -233,10 +238,10 @@ class CreateRouteRequest(AbstractModel):
|
|
|
233
238
|
"""
|
|
234
239
|
|
|
235
240
|
def __init__(self):
|
|
236
|
-
r"""
|
|
241
|
+
r"""创建vpc路由
|
|
237
242
|
:param VpcId: Vpc的ID
|
|
238
243
|
:type PathPrefix: String
|
|
239
|
-
:param RouteType:
|
|
244
|
+
:param RouteType: 下一跳类型
|
|
240
245
|
:type PathPrefix: String
|
|
241
246
|
:param DestinationCidrBlock: 目标网段
|
|
242
247
|
:type PathPrefix: String
|
|
@@ -248,8 +253,20 @@ class CreateRouteRequest(AbstractModel):
|
|
|
248
253
|
:type PathPrefix: String
|
|
249
254
|
:param VpnTunnelId: VPN通道的ID
|
|
250
255
|
:type PathPrefix: String
|
|
256
|
+
:param VpnGatewayId: VPN网关的ID
|
|
257
|
+
:type PathPrefix: String
|
|
251
258
|
:param NetworkInterfaceId: 网卡ID
|
|
252
259
|
:type PathPrefix: String
|
|
260
|
+
:param HaVipId: 高可用虚拟IP的ID
|
|
261
|
+
:type PathPrefix: String
|
|
262
|
+
:param HaVipMasterNetworkInterfaceId: 高可用虚拟IP的主网卡ID
|
|
263
|
+
:type PathPrefix: String
|
|
264
|
+
:param CenId: 云企业网的ID
|
|
265
|
+
:type PathPrefix: String
|
|
266
|
+
:param Description: 路由描述(部分机房支持,不支持该参数的机房忽略此传值)
|
|
267
|
+
:type PathPrefix: String
|
|
268
|
+
:param RouteTableId: 路由表ID(部分机房支持,不支持该参数的机房忽略此传值)
|
|
269
|
+
:type PathPrefix: String
|
|
253
270
|
"""
|
|
254
271
|
self.VpcId = None
|
|
255
272
|
self.RouteType = None
|
|
@@ -258,7 +275,13 @@ class CreateRouteRequest(AbstractModel):
|
|
|
258
275
|
self.VpcPeeringConnectionId = None
|
|
259
276
|
self.DirectConnectGatewayId = None
|
|
260
277
|
self.VpnTunnelId = None
|
|
278
|
+
self.VpnGatewayId = None
|
|
261
279
|
self.NetworkInterfaceId = None
|
|
280
|
+
self.HaVipId = None
|
|
281
|
+
self.HaVipMasterNetworkInterfaceId = None
|
|
282
|
+
self.CenId = None
|
|
283
|
+
self.Description = None
|
|
284
|
+
self.RouteTableId = None
|
|
262
285
|
|
|
263
286
|
def _deserialize(self, params):
|
|
264
287
|
if params.get("VpcId"):
|
|
@@ -275,8 +298,20 @@ class CreateRouteRequest(AbstractModel):
|
|
|
275
298
|
self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
|
|
276
299
|
if params.get("VpnTunnelId"):
|
|
277
300
|
self.VpnTunnelId = params.get("VpnTunnelId")
|
|
301
|
+
if params.get("VpnGatewayId"):
|
|
302
|
+
self.VpnGatewayId = params.get("VpnGatewayId")
|
|
278
303
|
if params.get("NetworkInterfaceId"):
|
|
279
304
|
self.NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
305
|
+
if params.get("HaVipId"):
|
|
306
|
+
self.HaVipId = params.get("HaVipId")
|
|
307
|
+
if params.get("HaVipMasterNetworkInterfaceId"):
|
|
308
|
+
self.HaVipMasterNetworkInterfaceId = params.get("HaVipMasterNetworkInterfaceId")
|
|
309
|
+
if params.get("CenId"):
|
|
310
|
+
self.CenId = params.get("CenId")
|
|
311
|
+
if params.get("Description"):
|
|
312
|
+
self.Description = params.get("Description")
|
|
313
|
+
if params.get("RouteTableId"):
|
|
314
|
+
self.RouteTableId = params.get("RouteTableId")
|
|
280
315
|
|
|
281
316
|
|
|
282
317
|
class DeleteRouteRequest(AbstractModel):
|
|
@@ -284,7 +319,7 @@ class DeleteRouteRequest(AbstractModel):
|
|
|
284
319
|
"""
|
|
285
320
|
|
|
286
321
|
def __init__(self):
|
|
287
|
-
r"""
|
|
322
|
+
r"""删除vpc路由
|
|
288
323
|
:param RouteId: 路由的ID
|
|
289
324
|
:type PathPrefix: String
|
|
290
325
|
"""
|
|
@@ -300,7 +335,7 @@ class DescribeRoutesRequest(AbstractModel):
|
|
|
300
335
|
"""
|
|
301
336
|
|
|
302
337
|
def __init__(self):
|
|
303
|
-
r"""
|
|
338
|
+
r"""描述vpc路由
|
|
304
339
|
:param RouteId: 多个路由的ID
|
|
305
340
|
:type PathPrefix: Filter
|
|
306
341
|
:param Filter: 筛选Filter
|
|
@@ -554,6 +589,10 @@ class AuthorizeSecurityGroupEntryRequest(AbstractModel):
|
|
|
554
589
|
:type PathPrefix: Int
|
|
555
590
|
:param RuleTag: 安全组规则标签
|
|
556
591
|
:type PathPrefix: String
|
|
592
|
+
:param Priority: 优先级
|
|
593
|
+
:type PathPrefix: Int
|
|
594
|
+
:param Policy: 访问权限
|
|
595
|
+
:type PathPrefix: String
|
|
557
596
|
"""
|
|
558
597
|
self.Description = None
|
|
559
598
|
self.SecurityGroupId = None
|
|
@@ -565,6 +604,8 @@ class AuthorizeSecurityGroupEntryRequest(AbstractModel):
|
|
|
565
604
|
self.PortRangeFrom = None
|
|
566
605
|
self.PortRangeTo = None
|
|
567
606
|
self.RuleTag = None
|
|
607
|
+
self.Priority = None
|
|
608
|
+
self.Policy = None
|
|
568
609
|
|
|
569
610
|
def _deserialize(self, params):
|
|
570
611
|
if params.get("Description"):
|
|
@@ -587,6 +628,10 @@ class AuthorizeSecurityGroupEntryRequest(AbstractModel):
|
|
|
587
628
|
self.PortRangeTo = params.get("PortRangeTo")
|
|
588
629
|
if params.get("RuleTag"):
|
|
589
630
|
self.RuleTag = params.get("RuleTag")
|
|
631
|
+
if params.get("Priority"):
|
|
632
|
+
self.Priority = params.get("Priority")
|
|
633
|
+
if params.get("Policy"):
|
|
634
|
+
self.Policy = params.get("Policy")
|
|
590
635
|
|
|
591
636
|
|
|
592
637
|
class RevokeSecurityGroupEntryRequest(AbstractModel):
|
|
@@ -730,6 +775,12 @@ class DescribeNatsRequest(AbstractModel):
|
|
|
730
775
|
:type PathPrefix: Filter
|
|
731
776
|
:param Filter: 筛选Filter
|
|
732
777
|
:type PathPrefix: Filter
|
|
778
|
+
:param IsContainTag: 是否在返回值中包含资源标签信息
|
|
779
|
+
:type PathPrefix: Boolean
|
|
780
|
+
:param TagKey: 多个标签的键
|
|
781
|
+
:type PathPrefix: Filter
|
|
782
|
+
:param TagKV: 多个标签的键
|
|
783
|
+
:type PathPrefix: Filter
|
|
733
784
|
:param MaxResults: 单次调用可返回的最大条目数量
|
|
734
785
|
:type PathPrefix: Int
|
|
735
786
|
:param NextToken: 获取另一页返回结果的 token.
|
|
@@ -738,6 +789,9 @@ class DescribeNatsRequest(AbstractModel):
|
|
|
738
789
|
self.ProjectId = None
|
|
739
790
|
self.NatId = None
|
|
740
791
|
self.Filter = None
|
|
792
|
+
self.IsContainTag = None
|
|
793
|
+
self.TagKey = None
|
|
794
|
+
self.TagKV = None
|
|
741
795
|
self.MaxResults = None
|
|
742
796
|
self.NextToken = None
|
|
743
797
|
|
|
@@ -748,6 +802,12 @@ class DescribeNatsRequest(AbstractModel):
|
|
|
748
802
|
self.NatId = params.get("NatId")
|
|
749
803
|
if params.get("Filter"):
|
|
750
804
|
self.Filter = params.get("Filter")
|
|
805
|
+
if params.get("IsContainTag"):
|
|
806
|
+
self.IsContainTag = params.get("IsContainTag")
|
|
807
|
+
if params.get("TagKey"):
|
|
808
|
+
self.TagKey = params.get("TagKey")
|
|
809
|
+
if params.get("TagKV"):
|
|
810
|
+
self.TagKV = params.get("TagKV")
|
|
751
811
|
if params.get("MaxResults"):
|
|
752
812
|
self.MaxResults = params.get("MaxResults")
|
|
753
813
|
if params.get("NextToken"):
|
|
@@ -764,15 +824,20 @@ class AssociateNatRequest(AbstractModel):
|
|
|
764
824
|
:type PathPrefix: String
|
|
765
825
|
:param SubnetId: 子网的ID
|
|
766
826
|
:type PathPrefix: String
|
|
827
|
+
:param NatIpId: 要绑定的NatIp的ID值
|
|
828
|
+
:type PathPrefix: Filter
|
|
767
829
|
"""
|
|
768
830
|
self.NatId = None
|
|
769
831
|
self.SubnetId = None
|
|
832
|
+
self.NatIpId = None
|
|
770
833
|
|
|
771
834
|
def _deserialize(self, params):
|
|
772
835
|
if params.get("NatId"):
|
|
773
836
|
self.NatId = params.get("NatId")
|
|
774
837
|
if params.get("SubnetId"):
|
|
775
838
|
self.SubnetId = params.get("SubnetId")
|
|
839
|
+
if params.get("NatIpId"):
|
|
840
|
+
self.NatIpId = params.get("NatIpId")
|
|
776
841
|
|
|
777
842
|
|
|
778
843
|
class DisassociateNatRequest(AbstractModel):
|
|
@@ -839,14 +904,14 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
|
|
|
839
904
|
:type PathPrefix: String
|
|
840
905
|
:param PeerVpcId: 接受端Vpc的ID
|
|
841
906
|
:type PathPrefix: String
|
|
842
|
-
:param Region: 发起端region
|
|
843
|
-
:type PathPrefix: String
|
|
844
907
|
:param PeerRegion: 接受端Vpc的region
|
|
845
908
|
:type PathPrefix: String
|
|
846
909
|
:param PeerAccountId: 接受端账号ID
|
|
847
910
|
:type PathPrefix: String
|
|
848
911
|
:param BandWidth: 对等连接的带宽,同机房时可缺省,带宽值为1000且不可修改,跨机房时不可缺省
|
|
849
912
|
:type PathPrefix: Int
|
|
913
|
+
:param PurchaseTime: 购买时长,计费类型为包年包月时不可缺省。
|
|
914
|
+
:type PathPrefix: Int
|
|
850
915
|
:param ProjectId: 项目的ID
|
|
851
916
|
:type PathPrefix: String
|
|
852
917
|
:param ChargeType: 对等连接的计费类型,同机房的对端连接此参数缺省
|
|
@@ -855,10 +920,10 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
|
|
|
855
920
|
self.VpcId = None
|
|
856
921
|
self.PeeringName = None
|
|
857
922
|
self.PeerVpcId = None
|
|
858
|
-
self.Region = None
|
|
859
923
|
self.PeerRegion = None
|
|
860
924
|
self.PeerAccountId = None
|
|
861
925
|
self.BandWidth = None
|
|
926
|
+
self.PurchaseTime = None
|
|
862
927
|
self.ProjectId = None
|
|
863
928
|
self.ChargeType = None
|
|
864
929
|
|
|
@@ -869,14 +934,14 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
|
|
|
869
934
|
self.PeeringName = params.get("PeeringName")
|
|
870
935
|
if params.get("PeerVpcId"):
|
|
871
936
|
self.PeerVpcId = params.get("PeerVpcId")
|
|
872
|
-
if params.get("Region"):
|
|
873
|
-
self.Region = params.get("Region")
|
|
874
937
|
if params.get("PeerRegion"):
|
|
875
938
|
self.PeerRegion = params.get("PeerRegion")
|
|
876
939
|
if params.get("PeerAccountId"):
|
|
877
940
|
self.PeerAccountId = params.get("PeerAccountId")
|
|
878
941
|
if params.get("BandWidth"):
|
|
879
942
|
self.BandWidth = params.get("BandWidth")
|
|
943
|
+
if params.get("PurchaseTime"):
|
|
944
|
+
self.PurchaseTime = params.get("PurchaseTime")
|
|
880
945
|
if params.get("ProjectId"):
|
|
881
946
|
self.ProjectId = params.get("ProjectId")
|
|
882
947
|
if params.get("ChargeType"):
|
|
@@ -1252,6 +1317,12 @@ class CreateDirectConnectInterfaceRequest(AbstractModel):
|
|
|
1252
1317
|
:type PathPrefix: String
|
|
1253
1318
|
:param BgpClientToken: BGP 秘钥
|
|
1254
1319
|
:type PathPrefix: String
|
|
1320
|
+
:param EnableIpv6: 是否开启Ipv6
|
|
1321
|
+
:type PathPrefix: Boolean
|
|
1322
|
+
:param CustomerIpv6PeerIp: 客户侧ipv6互联IP
|
|
1323
|
+
:type PathPrefix: String
|
|
1324
|
+
:param LocalIpv6PeerIp: 金山云侧ipv6互联IP
|
|
1325
|
+
:type PathPrefix: String
|
|
1255
1326
|
"""
|
|
1256
1327
|
self.DirectConnectId = None
|
|
1257
1328
|
self.VlanId = None
|
|
@@ -1267,6 +1338,9 @@ class CreateDirectConnectInterfaceRequest(AbstractModel):
|
|
|
1267
1338
|
self.ReliabilityMethod = None
|
|
1268
1339
|
self.BfdConfigId = None
|
|
1269
1340
|
self.BgpClientToken = None
|
|
1341
|
+
self.EnableIpv6 = None
|
|
1342
|
+
self.CustomerIpv6PeerIp = None
|
|
1343
|
+
self.LocalIpv6PeerIp = None
|
|
1270
1344
|
|
|
1271
1345
|
def _deserialize(self, params):
|
|
1272
1346
|
if params.get("DirectConnectId"):
|
|
@@ -1297,6 +1371,12 @@ class CreateDirectConnectInterfaceRequest(AbstractModel):
|
|
|
1297
1371
|
self.BfdConfigId = params.get("BfdConfigId")
|
|
1298
1372
|
if params.get("BgpClientToken"):
|
|
1299
1373
|
self.BgpClientToken = params.get("BgpClientToken")
|
|
1374
|
+
if params.get("EnableIpv6"):
|
|
1375
|
+
self.EnableIpv6 = params.get("EnableIpv6")
|
|
1376
|
+
if params.get("CustomerIpv6PeerIp"):
|
|
1377
|
+
self.CustomerIpv6PeerIp = params.get("CustomerIpv6PeerIp")
|
|
1378
|
+
if params.get("LocalIpv6PeerIp"):
|
|
1379
|
+
self.LocalIpv6PeerIp = params.get("LocalIpv6PeerIp")
|
|
1300
1380
|
|
|
1301
1381
|
|
|
1302
1382
|
class DeleteDirectConnectInterfaceRequest(AbstractModel):
|
|
@@ -1511,6 +1591,8 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
1511
1591
|
:type PathPrefix: String
|
|
1512
1592
|
:param PurchaseTime: 购买时长,计费类型为包年包月时不可缺省。
|
|
1513
1593
|
:type PathPrefix: Int
|
|
1594
|
+
:param VpnGatewayVersion: VPN网关的版本,支持1.0/2.0
|
|
1595
|
+
:type PathPrefix: String
|
|
1514
1596
|
"""
|
|
1515
1597
|
self.VpcId = None
|
|
1516
1598
|
self.BandWidth = None
|
|
@@ -1518,6 +1600,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
1518
1600
|
self.ProjectId = None
|
|
1519
1601
|
self.ChargeType = None
|
|
1520
1602
|
self.PurchaseTime = None
|
|
1603
|
+
self.VpnGatewayVersion = None
|
|
1521
1604
|
|
|
1522
1605
|
def _deserialize(self, params):
|
|
1523
1606
|
if params.get("VpcId"):
|
|
@@ -1532,6 +1615,8 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
1532
1615
|
self.ChargeType = params.get("ChargeType")
|
|
1533
1616
|
if params.get("PurchaseTime"):
|
|
1534
1617
|
self.PurchaseTime = params.get("PurchaseTime")
|
|
1618
|
+
if params.get("VpnGatewayVersion"):
|
|
1619
|
+
self.VpnGatewayVersion = params.get("VpnGatewayVersion")
|
|
1535
1620
|
|
|
1536
1621
|
|
|
1537
1622
|
class ModifyVpnGatewayRequest(AbstractModel):
|
|
@@ -1632,8 +1717,10 @@ class CreateVpnTunnelRequest(AbstractModel):
|
|
|
1632
1717
|
:type PathPrefix: String
|
|
1633
1718
|
:param IkeEncryAlgorithm: IKE加密算法
|
|
1634
1719
|
:type PathPrefix: String
|
|
1635
|
-
:param Type: 客户网关的类型(GreOverIpsec|Ipsec)
|
|
1720
|
+
:param Type: 客户网关的类型(GreOverIpsec|Ipsec|route_ipsec|ipsec)
|
|
1636
1721
|
:type PathPrefix: String
|
|
1722
|
+
:param OpenHealthCheck: 开启健康检查
|
|
1723
|
+
:type PathPrefix: Boolean
|
|
1637
1724
|
:param PreSharedKey: 预共享密钥。对称加密的KEY,VPN端和客户端统一,用户自行填写
|
|
1638
1725
|
:type PathPrefix: String
|
|
1639
1726
|
:param IpsecLifetimeSecond: 生存周期(S)
|
|
@@ -1652,6 +1739,14 @@ class CreateVpnTunnelRequest(AbstractModel):
|
|
|
1652
1739
|
:type PathPrefix: String
|
|
1653
1740
|
:param HaCustomerGreIp: GRE模式开启HA模式客户的IP
|
|
1654
1741
|
:type PathPrefix: String
|
|
1742
|
+
:param HaMode: •高可用模式, active_active (负载) 、active_standby(主备)
|
|
1743
|
+
:type PathPrefix: String
|
|
1744
|
+
:param LocalPeerIp: 金山侧互联IP
|
|
1745
|
+
:type PathPrefix: String
|
|
1746
|
+
:param CustomerPeerIp: •客户侧互联IP
|
|
1747
|
+
:type PathPrefix: String
|
|
1748
|
+
:param IkeVersion: ••IKE版本
|
|
1749
|
+
:type PathPrefix: String
|
|
1655
1750
|
"""
|
|
1656
1751
|
self.CustomerGatewayId = None
|
|
1657
1752
|
self.VpnGatewayId = None
|
|
@@ -1661,6 +1756,7 @@ class CreateVpnTunnelRequest(AbstractModel):
|
|
|
1661
1756
|
self.IkeAuthenAlgorithm = None
|
|
1662
1757
|
self.IkeEncryAlgorithm = None
|
|
1663
1758
|
self.Type = None
|
|
1759
|
+
self.OpenHealthCheck = None
|
|
1664
1760
|
self.PreSharedKey = None
|
|
1665
1761
|
self.IpsecLifetimeSecond = None
|
|
1666
1762
|
self.IpsecLifetimeTraffic = None
|
|
@@ -1670,6 +1766,10 @@ class CreateVpnTunnelRequest(AbstractModel):
|
|
|
1670
1766
|
self.HaVpnGreIp = None
|
|
1671
1767
|
self.CustomerGreIp = None
|
|
1672
1768
|
self.HaCustomerGreIp = None
|
|
1769
|
+
self.HaMode = None
|
|
1770
|
+
self.LocalPeerIp = None
|
|
1771
|
+
self.CustomerPeerIp = None
|
|
1772
|
+
self.IkeVersion = None
|
|
1673
1773
|
|
|
1674
1774
|
def _deserialize(self, params):
|
|
1675
1775
|
if params.get("CustomerGatewayId"):
|
|
@@ -1688,6 +1788,8 @@ class CreateVpnTunnelRequest(AbstractModel):
|
|
|
1688
1788
|
self.IkeEncryAlgorithm = params.get("IkeEncryAlgorithm")
|
|
1689
1789
|
if params.get("Type"):
|
|
1690
1790
|
self.Type = params.get("Type")
|
|
1791
|
+
if params.get("OpenHealthCheck"):
|
|
1792
|
+
self.OpenHealthCheck = params.get("OpenHealthCheck")
|
|
1691
1793
|
if params.get("PreSharedKey"):
|
|
1692
1794
|
self.PreSharedKey = params.get("PreSharedKey")
|
|
1693
1795
|
if params.get("IpsecLifetimeSecond"):
|
|
@@ -1706,6 +1808,14 @@ class CreateVpnTunnelRequest(AbstractModel):
|
|
|
1706
1808
|
self.CustomerGreIp = params.get("CustomerGreIp")
|
|
1707
1809
|
if params.get("HaCustomerGreIp"):
|
|
1708
1810
|
self.HaCustomerGreIp = params.get("HaCustomerGreIp")
|
|
1811
|
+
if params.get("HaMode"):
|
|
1812
|
+
self.HaMode = params.get("HaMode")
|
|
1813
|
+
if params.get("LocalPeerIp"):
|
|
1814
|
+
self.LocalPeerIp = params.get("LocalPeerIp")
|
|
1815
|
+
if params.get("CustomerPeerIp"):
|
|
1816
|
+
self.CustomerPeerIp = params.get("CustomerPeerIp")
|
|
1817
|
+
if params.get("IkeVersion"):
|
|
1818
|
+
self.IkeVersion = params.get("IkeVersion")
|
|
1709
1819
|
|
|
1710
1820
|
|
|
1711
1821
|
class ModifyVpnTunnelRequest(AbstractModel):
|
|
@@ -1912,208 +2022,259 @@ class DescribeSubnetAllocatedIpAddressesRequest(AbstractModel):
|
|
|
1912
2022
|
self.NextToken = params.get("NextToken")
|
|
1913
2023
|
|
|
1914
2024
|
|
|
1915
|
-
class
|
|
1916
|
-
"""
|
|
2025
|
+
class AddNatIpRequest(AbstractModel):
|
|
2026
|
+
"""AddNatIp请求参数结构体
|
|
1917
2027
|
"""
|
|
1918
2028
|
|
|
1919
2029
|
def __init__(self):
|
|
1920
|
-
r"""
|
|
1921
|
-
:param
|
|
2030
|
+
r"""增加NAT IP
|
|
2031
|
+
:param NatId: Nat的ID
|
|
1922
2032
|
:type PathPrefix: String
|
|
2033
|
+
:param AddNumber: 新增的NAT IP数量,每个NAT的IP数量不得超过20个,否则无法添加
|
|
2034
|
+
:type PathPrefix: Int
|
|
1923
2035
|
"""
|
|
1924
|
-
self.
|
|
2036
|
+
self.NatId = None
|
|
2037
|
+
self.AddNumber = None
|
|
1925
2038
|
|
|
1926
2039
|
def _deserialize(self, params):
|
|
1927
|
-
if params.get("
|
|
1928
|
-
self.
|
|
2040
|
+
if params.get("NatId"):
|
|
2041
|
+
self.NatId = params.get("NatId")
|
|
2042
|
+
if params.get("AddNumber"):
|
|
2043
|
+
self.AddNumber = params.get("AddNumber")
|
|
1929
2044
|
|
|
1930
2045
|
|
|
1931
|
-
class
|
|
1932
|
-
"""
|
|
2046
|
+
class DeleteNatIpRequest(AbstractModel):
|
|
2047
|
+
"""DeleteNatIp请求参数结构体
|
|
1933
2048
|
"""
|
|
1934
2049
|
|
|
1935
2050
|
def __init__(self):
|
|
1936
|
-
r"""
|
|
1937
|
-
:param
|
|
1938
|
-
:type PathPrefix: String
|
|
1939
|
-
:param NetworkInterfaceName: 网卡的名称
|
|
2051
|
+
r"""删除NATIP
|
|
2052
|
+
:param NatId: Nat的ID
|
|
1940
2053
|
:type PathPrefix: String
|
|
1941
|
-
:param
|
|
2054
|
+
:param NatIpId: Nat IP的ID
|
|
1942
2055
|
:type PathPrefix: String
|
|
1943
|
-
:param SecurityGroupId: 一个或多个安全组的ID,不能为空
|
|
1944
|
-
:type PathPrefix: Filter
|
|
1945
2056
|
"""
|
|
1946
|
-
self.
|
|
1947
|
-
self.
|
|
1948
|
-
self.PrivateIpAddress = None
|
|
1949
|
-
self.SecurityGroupId = None
|
|
2057
|
+
self.NatId = None
|
|
2058
|
+
self.NatIpId = None
|
|
1950
2059
|
|
|
1951
2060
|
def _deserialize(self, params):
|
|
1952
|
-
if params.get("
|
|
1953
|
-
self.
|
|
1954
|
-
if params.get("
|
|
1955
|
-
self.
|
|
1956
|
-
if params.get("PrivateIpAddress"):
|
|
1957
|
-
self.PrivateIpAddress = params.get("PrivateIpAddress")
|
|
1958
|
-
if params.get("SecurityGroupId"):
|
|
1959
|
-
self.SecurityGroupId = params.get("SecurityGroupId")
|
|
2061
|
+
if params.get("NatId"):
|
|
2062
|
+
self.NatId = params.get("NatId")
|
|
2063
|
+
if params.get("NatIpId"):
|
|
2064
|
+
self.NatIpId = params.get("NatIpId")
|
|
1960
2065
|
|
|
1961
2066
|
|
|
1962
|
-
class
|
|
1963
|
-
"""
|
|
2067
|
+
class AssociateVpcCidrBlockRequest(AbstractModel):
|
|
2068
|
+
"""AssociateVpcCidrBlock请求参数结构体
|
|
1964
2069
|
"""
|
|
1965
2070
|
|
|
1966
2071
|
def __init__(self):
|
|
1967
|
-
r"""
|
|
1968
|
-
:param
|
|
1969
|
-
:type PathPrefix: String
|
|
1970
|
-
:param NetworkInterfaceId: 网卡ID
|
|
2072
|
+
r"""为VPC添加IPv6网段
|
|
2073
|
+
:param VpcId: Vpc的ID
|
|
1971
2074
|
:type PathPrefix: String
|
|
1972
2075
|
"""
|
|
1973
|
-
self.
|
|
1974
|
-
self.NetworkInterfaceId = None
|
|
2076
|
+
self.VpcId = None
|
|
1975
2077
|
|
|
1976
2078
|
def _deserialize(self, params):
|
|
1977
|
-
if params.get("
|
|
1978
|
-
self.
|
|
1979
|
-
if params.get("NetworkInterfaceId"):
|
|
1980
|
-
self.NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
2079
|
+
if params.get("VpcId"):
|
|
2080
|
+
self.VpcId = params.get("VpcId")
|
|
1981
2081
|
|
|
1982
2082
|
|
|
1983
|
-
class
|
|
1984
|
-
"""
|
|
2083
|
+
class DescribeIpv6PublicIpAddressesRequest(AbstractModel):
|
|
2084
|
+
"""DescribeIpv6PublicIpAddresses请求参数结构体
|
|
1985
2085
|
"""
|
|
1986
2086
|
|
|
1987
2087
|
def __init__(self):
|
|
1988
|
-
r"""
|
|
1989
|
-
:param
|
|
1990
|
-
:type PathPrefix:
|
|
1991
|
-
:param
|
|
2088
|
+
r"""网卡IPV6公网信息查询
|
|
2089
|
+
:param Ipv6PublicIpAddressId: 多个IPV6公网的ID
|
|
2090
|
+
:type PathPrefix: Filter
|
|
2091
|
+
:param Filter: 筛选Filter
|
|
2092
|
+
:type PathPrefix: Filter
|
|
2093
|
+
:param MaxResults: 单次调用可返回的最大条目数量
|
|
2094
|
+
:type PathPrefix: Int
|
|
2095
|
+
:param NextToken: 获取另一页返回结果的 token.
|
|
1992
2096
|
:type PathPrefix: String
|
|
1993
2097
|
"""
|
|
1994
|
-
self.
|
|
1995
|
-
self.
|
|
2098
|
+
self.Ipv6PublicIpAddressId = None
|
|
2099
|
+
self.Filter = None
|
|
2100
|
+
self.MaxResults = None
|
|
2101
|
+
self.NextToken = None
|
|
1996
2102
|
|
|
1997
2103
|
def _deserialize(self, params):
|
|
1998
|
-
if params.get("
|
|
1999
|
-
self.
|
|
2000
|
-
if params.get("
|
|
2001
|
-
self.
|
|
2104
|
+
if params.get("Ipv6PublicIpAddressId"):
|
|
2105
|
+
self.Ipv6PublicIpAddressId = params.get("Ipv6PublicIpAddressId")
|
|
2106
|
+
if params.get("Filter"):
|
|
2107
|
+
self.Filter = params.get("Filter")
|
|
2108
|
+
if params.get("MaxResults"):
|
|
2109
|
+
self.MaxResults = params.get("MaxResults")
|
|
2110
|
+
if params.get("NextToken"):
|
|
2111
|
+
self.NextToken = params.get("NextToken")
|
|
2002
2112
|
|
|
2003
2113
|
|
|
2004
|
-
class
|
|
2005
|
-
"""
|
|
2114
|
+
class DescribeIpv6NetworkInterfacesRequest(AbstractModel):
|
|
2115
|
+
"""DescribeIpv6NetworkInterfaces请求参数结构体
|
|
2006
2116
|
"""
|
|
2007
2117
|
|
|
2008
2118
|
def __init__(self):
|
|
2009
|
-
r"""
|
|
2010
|
-
:param
|
|
2119
|
+
r"""描述具有IPV6的网卡信息
|
|
2120
|
+
:param NetworkInterfaceId: 多个网卡的ID
|
|
2121
|
+
:type PathPrefix: Filter
|
|
2122
|
+
:param Filter: 筛选Filter
|
|
2123
|
+
:type PathPrefix: Filter
|
|
2124
|
+
:param MaxResults: 单次调用可返回的最大条目数量
|
|
2125
|
+
:type PathPrefix: Int
|
|
2126
|
+
:param NextToken: 获取另一页返回结果的 token.
|
|
2011
2127
|
:type PathPrefix: String
|
|
2012
2128
|
"""
|
|
2013
|
-
self.
|
|
2129
|
+
self.NetworkInterfaceId = None
|
|
2130
|
+
self.Filter = None
|
|
2131
|
+
self.MaxResults = None
|
|
2132
|
+
self.NextToken = None
|
|
2014
2133
|
|
|
2015
2134
|
def _deserialize(self, params):
|
|
2016
|
-
if params.get("
|
|
2017
|
-
self.
|
|
2135
|
+
if params.get("NetworkInterfaceId"):
|
|
2136
|
+
self.NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
2137
|
+
if params.get("Filter"):
|
|
2138
|
+
self.Filter = params.get("Filter")
|
|
2139
|
+
if params.get("MaxResults"):
|
|
2140
|
+
self.MaxResults = params.get("MaxResults")
|
|
2141
|
+
if params.get("NextToken"):
|
|
2142
|
+
self.NextToken = params.get("NextToken")
|
|
2018
2143
|
|
|
2019
2144
|
|
|
2020
|
-
class
|
|
2021
|
-
"""
|
|
2145
|
+
class CreateIpv6PublicIpRequest(AbstractModel):
|
|
2146
|
+
"""CreateIpv6PublicIp请求参数结构体
|
|
2022
2147
|
"""
|
|
2023
2148
|
|
|
2024
2149
|
def __init__(self):
|
|
2025
|
-
r"""
|
|
2026
|
-
:param NetworkInterfaceId:
|
|
2150
|
+
r"""开通IPV6公网能力
|
|
2151
|
+
:param NetworkInterfaceId: 弹性网卡的ID
|
|
2027
2152
|
:type PathPrefix: String
|
|
2028
|
-
:param
|
|
2153
|
+
:param BandWidth: Ipv6公网的带宽
|
|
2154
|
+
:type PathPrefix: Int
|
|
2155
|
+
:param Ipv6PublicIpAddress: Ipv6公网的地址
|
|
2156
|
+
:type PathPrefix: String
|
|
2157
|
+
:param ChargeType: Nat的计费类型
|
|
2029
2158
|
:type PathPrefix: String
|
|
2159
|
+
:param PurchaseTime: 购买时长,计费类型为包年包月时不可缺省。
|
|
2160
|
+
:type PathPrefix: Int
|
|
2030
2161
|
"""
|
|
2031
2162
|
self.NetworkInterfaceId = None
|
|
2032
|
-
self.
|
|
2163
|
+
self.BandWidth = None
|
|
2164
|
+
self.Ipv6PublicIpAddress = None
|
|
2165
|
+
self.ChargeType = None
|
|
2166
|
+
self.PurchaseTime = None
|
|
2033
2167
|
|
|
2034
2168
|
def _deserialize(self, params):
|
|
2035
2169
|
if params.get("NetworkInterfaceId"):
|
|
2036
2170
|
self.NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
2037
|
-
if params.get("
|
|
2038
|
-
self.
|
|
2171
|
+
if params.get("BandWidth"):
|
|
2172
|
+
self.BandWidth = params.get("BandWidth")
|
|
2173
|
+
if params.get("Ipv6PublicIpAddress"):
|
|
2174
|
+
self.Ipv6PublicIpAddress = params.get("Ipv6PublicIpAddress")
|
|
2175
|
+
if params.get("ChargeType"):
|
|
2176
|
+
self.ChargeType = params.get("ChargeType")
|
|
2177
|
+
if params.get("PurchaseTime"):
|
|
2178
|
+
self.PurchaseTime = params.get("PurchaseTime")
|
|
2039
2179
|
|
|
2040
2180
|
|
|
2041
|
-
class
|
|
2042
|
-
"""
|
|
2181
|
+
class ReleaseIpv6PublicIpRequest(AbstractModel):
|
|
2182
|
+
"""ReleaseIpv6PublicIp请求参数结构体
|
|
2043
2183
|
"""
|
|
2044
2184
|
|
|
2045
2185
|
def __init__(self):
|
|
2046
|
-
r"""
|
|
2047
|
-
:param
|
|
2048
|
-
:type PathPrefix: String
|
|
2049
|
-
:param HaVipId: 高可用虚拟IP的ID
|
|
2186
|
+
r"""解除IPV6公网能力
|
|
2187
|
+
:param Ipv6PublicIpAddressId: Ipv6公网的ID
|
|
2050
2188
|
:type PathPrefix: String
|
|
2051
2189
|
"""
|
|
2052
|
-
self.
|
|
2053
|
-
self.HaVipId = None
|
|
2190
|
+
self.Ipv6PublicIpAddressId = None
|
|
2054
2191
|
|
|
2055
2192
|
def _deserialize(self, params):
|
|
2056
|
-
if params.get("
|
|
2057
|
-
self.
|
|
2058
|
-
if params.get("HaVipId"):
|
|
2059
|
-
self.HaVipId = params.get("HaVipId")
|
|
2193
|
+
if params.get("Ipv6PublicIpAddressId"):
|
|
2194
|
+
self.Ipv6PublicIpAddressId = params.get("Ipv6PublicIpAddressId")
|
|
2060
2195
|
|
|
2061
2196
|
|
|
2062
|
-
class
|
|
2063
|
-
"""
|
|
2197
|
+
class AlterIpv6PublicIpStateRequest(AbstractModel):
|
|
2198
|
+
"""AlterIpv6PublicIpState请求参数结构体
|
|
2064
2199
|
"""
|
|
2065
2200
|
|
|
2066
2201
|
def __init__(self):
|
|
2067
|
-
r"""
|
|
2068
|
-
:param
|
|
2069
|
-
:type PathPrefix:
|
|
2070
|
-
:param
|
|
2071
|
-
:type PathPrefix: Filter
|
|
2072
|
-
:param MaxResults: 单次调用可返回的最大条目数量
|
|
2073
|
-
:type PathPrefix: Int
|
|
2074
|
-
:param NextToken: 获取另一页返回结果的 token.
|
|
2202
|
+
r"""挂起IPV6
|
|
2203
|
+
:param Ipv6PublicIpAddressId: Ipv6公网的ID
|
|
2204
|
+
:type PathPrefix: String
|
|
2205
|
+
:param State: 状态(start|stop)
|
|
2075
2206
|
:type PathPrefix: String
|
|
2076
2207
|
"""
|
|
2077
|
-
self.
|
|
2078
|
-
self.
|
|
2079
|
-
self.MaxResults = None
|
|
2080
|
-
self.NextToken = None
|
|
2208
|
+
self.Ipv6PublicIpAddressId = None
|
|
2209
|
+
self.State = None
|
|
2081
2210
|
|
|
2082
2211
|
def _deserialize(self, params):
|
|
2083
|
-
if params.get("
|
|
2084
|
-
self.
|
|
2085
|
-
if params.get("
|
|
2086
|
-
self.
|
|
2087
|
-
if params.get("MaxResults"):
|
|
2088
|
-
self.MaxResults = params.get("MaxResults")
|
|
2089
|
-
if params.get("NextToken"):
|
|
2090
|
-
self.NextToken = params.get("NextToken")
|
|
2212
|
+
if params.get("Ipv6PublicIpAddressId"):
|
|
2213
|
+
self.Ipv6PublicIpAddressId = params.get("Ipv6PublicIpAddressId")
|
|
2214
|
+
if params.get("State"):
|
|
2215
|
+
self.State = params.get("State")
|
|
2091
2216
|
|
|
2092
2217
|
|
|
2093
|
-
class
|
|
2094
|
-
"""
|
|
2218
|
+
class ModifyIpv6PublicIpRequest(AbstractModel):
|
|
2219
|
+
"""ModifyIpv6PublicIp请求参数结构体
|
|
2095
2220
|
"""
|
|
2096
2221
|
|
|
2097
2222
|
def __init__(self):
|
|
2098
|
-
r"""
|
|
2099
|
-
:param
|
|
2223
|
+
r"""修改IPV6公网带宽
|
|
2224
|
+
:param Ipv6PublicIpAddressId: Ipv6公网的ID
|
|
2100
2225
|
:type PathPrefix: String
|
|
2226
|
+
:param BandWidth: Ipv6公网的带宽
|
|
2227
|
+
:type PathPrefix: Int
|
|
2101
2228
|
"""
|
|
2102
|
-
self.
|
|
2229
|
+
self.Ipv6PublicIpAddressId = None
|
|
2230
|
+
self.BandWidth = None
|
|
2103
2231
|
|
|
2104
2232
|
def _deserialize(self, params):
|
|
2105
|
-
if params.get("
|
|
2106
|
-
self.
|
|
2233
|
+
if params.get("Ipv6PublicIpAddressId"):
|
|
2234
|
+
self.Ipv6PublicIpAddressId = params.get("Ipv6PublicIpAddressId")
|
|
2235
|
+
if params.get("BandWidth"):
|
|
2236
|
+
self.BandWidth = params.get("BandWidth")
|
|
2107
2237
|
|
|
2108
2238
|
|
|
2109
|
-
class
|
|
2110
|
-
"""
|
|
2239
|
+
class ModifyPrivateIpAddressAttributeRequest(AbstractModel):
|
|
2240
|
+
"""ModifyPrivateIpAddressAttribute请求参数结构体
|
|
2111
2241
|
"""
|
|
2112
2242
|
|
|
2113
2243
|
def __init__(self):
|
|
2114
|
-
r"""
|
|
2115
|
-
:param
|
|
2244
|
+
r"""修改内网IP属性
|
|
2245
|
+
:param SubnetId: 子网ID
|
|
2246
|
+
:type PathPrefix: String
|
|
2247
|
+
:param PrivateIpAddress: 私网IP地址
|
|
2116
2248
|
:type PathPrefix: String
|
|
2249
|
+
:param Status: IP地址状态
|
|
2250
|
+
:type PathPrefix: String
|
|
2251
|
+
:param AllocateStatus: IP预留状态
|
|
2252
|
+
:type PathPrefix: String
|
|
2253
|
+
"""
|
|
2254
|
+
self.SubnetId = None
|
|
2255
|
+
self.PrivateIpAddress = None
|
|
2256
|
+
self.Status = None
|
|
2257
|
+
self.AllocateStatus = None
|
|
2258
|
+
|
|
2259
|
+
def _deserialize(self, params):
|
|
2260
|
+
if params.get("SubnetId"):
|
|
2261
|
+
self.SubnetId = params.get("SubnetId")
|
|
2262
|
+
if params.get("PrivateIpAddress"):
|
|
2263
|
+
self.PrivateIpAddress = params.get("PrivateIpAddress")
|
|
2264
|
+
if params.get("Status"):
|
|
2265
|
+
self.Status = params.get("Status")
|
|
2266
|
+
if params.get("AllocateStatus"):
|
|
2267
|
+
self.AllocateStatus = params.get("AllocateStatus")
|
|
2268
|
+
|
|
2269
|
+
|
|
2270
|
+
class DescribeDirectConnectRoutesRequest(AbstractModel):
|
|
2271
|
+
"""DescribeDirectConnectRoutes请求参数结构体
|
|
2272
|
+
"""
|
|
2273
|
+
|
|
2274
|
+
def __init__(self):
|
|
2275
|
+
r"""查询专线路由
|
|
2276
|
+
:param DirectConnectRouteId: 专线路由的ID
|
|
2277
|
+
:type PathPrefix: Filter
|
|
2117
2278
|
:param MaxResults: 单次调用可返回的最大条目数量
|
|
2118
2279
|
:type PathPrefix: Int
|
|
2119
2280
|
:param Filter: 筛选Filter
|
|
@@ -2121,14 +2282,14 @@ class DescribeDirectConnectGatewayRouteRequest(AbstractModel):
|
|
|
2121
2282
|
:param NextToken: 获取另一页返回结果的 token.
|
|
2122
2283
|
:type PathPrefix: String
|
|
2123
2284
|
"""
|
|
2124
|
-
self.
|
|
2285
|
+
self.DirectConnectRouteId = None
|
|
2125
2286
|
self.MaxResults = None
|
|
2126
2287
|
self.Filter = None
|
|
2127
2288
|
self.NextToken = None
|
|
2128
2289
|
|
|
2129
2290
|
def _deserialize(self, params):
|
|
2130
|
-
if params.get("
|
|
2131
|
-
self.
|
|
2291
|
+
if params.get("DirectConnectRouteId"):
|
|
2292
|
+
self.DirectConnectRouteId = params.get("DirectConnectRouteId")
|
|
2132
2293
|
if params.get("MaxResults"):
|
|
2133
2294
|
self.MaxResults = params.get("MaxResults")
|
|
2134
2295
|
if params.get("Filter"):
|
|
@@ -2137,32 +2298,798 @@ class DescribeDirectConnectGatewayRouteRequest(AbstractModel):
|
|
|
2137
2298
|
self.NextToken = params.get("NextToken")
|
|
2138
2299
|
|
|
2139
2300
|
|
|
2140
|
-
class
|
|
2141
|
-
"""
|
|
2301
|
+
class PublishDirectConnectRouteToBgpRequest(AbstractModel):
|
|
2302
|
+
"""PublishDirectConnectRouteToBgp请求参数结构体
|
|
2142
2303
|
"""
|
|
2143
2304
|
|
|
2144
2305
|
def __init__(self):
|
|
2145
|
-
r"""发布边界网关路由到BGP
|
|
2146
|
-
:param
|
|
2306
|
+
r"""发布边界网关路由到BGP(1.0/2.0)
|
|
2307
|
+
:param DirectConnectRouteId: 专线路由的ID
|
|
2147
2308
|
:type PathPrefix: String
|
|
2148
2309
|
"""
|
|
2149
|
-
self.
|
|
2310
|
+
self.DirectConnectRouteId = None
|
|
2150
2311
|
|
|
2151
2312
|
def _deserialize(self, params):
|
|
2152
|
-
if params.get("
|
|
2153
|
-
self.
|
|
2313
|
+
if params.get("DirectConnectRouteId"):
|
|
2314
|
+
self.DirectConnectRouteId = params.get("DirectConnectRouteId")
|
|
2154
2315
|
|
|
2155
2316
|
|
|
2156
|
-
class
|
|
2157
|
-
"""
|
|
2317
|
+
class CancelDirectConnectRouteToBgpRequest(AbstractModel):
|
|
2318
|
+
"""CancelDirectConnectRouteToBgp请求参数结构体
|
|
2158
2319
|
"""
|
|
2159
2320
|
|
|
2160
2321
|
def __init__(self):
|
|
2161
|
-
r"""从BGP
|
|
2162
|
-
:param
|
|
2322
|
+
r"""从BGP取消专线路由(1.0/2.0)
|
|
2323
|
+
:param DirectConnectRouteId: 专线路由的ID
|
|
2163
2324
|
:type PathPrefix: String
|
|
2164
2325
|
"""
|
|
2165
|
-
self.
|
|
2326
|
+
self.DirectConnectRouteId = None
|
|
2327
|
+
|
|
2328
|
+
def _deserialize(self, params):
|
|
2329
|
+
if params.get("DirectConnectRouteId"):
|
|
2330
|
+
self.DirectConnectRouteId = params.get("DirectConnectRouteId")
|
|
2331
|
+
|
|
2332
|
+
|
|
2333
|
+
class DetachDirectConnectGatewayWithVpcRequest(AbstractModel):
|
|
2334
|
+
"""DetachDirectConnectGatewayWithVpc请求参数结构体
|
|
2335
|
+
"""
|
|
2336
|
+
|
|
2337
|
+
def __init__(self):
|
|
2338
|
+
r"""边界网关解绑VPC
|
|
2339
|
+
:param DirectConnectGatewayId: 边界网关的ID
|
|
2340
|
+
:type PathPrefix: String
|
|
2341
|
+
:param VpcId: Vpc的ID
|
|
2342
|
+
:type PathPrefix: String
|
|
2343
|
+
"""
|
|
2344
|
+
self.DirectConnectGatewayId = None
|
|
2345
|
+
self.VpcId = None
|
|
2346
|
+
|
|
2347
|
+
def _deserialize(self, params):
|
|
2348
|
+
if params.get("DirectConnectGatewayId"):
|
|
2349
|
+
self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
|
|
2350
|
+
if params.get("VpcId"):
|
|
2351
|
+
self.VpcId = params.get("VpcId")
|
|
2352
|
+
|
|
2353
|
+
|
|
2354
|
+
class AttachDirectConnectGatewayWithVpcRequest(AbstractModel):
|
|
2355
|
+
"""AttachDirectConnectGatewayWithVpc请求参数结构体
|
|
2356
|
+
"""
|
|
2357
|
+
|
|
2358
|
+
def __init__(self):
|
|
2359
|
+
r"""边界网关关联VPC
|
|
2360
|
+
:param DirectConnectGatewayId: 边界网关的ID
|
|
2361
|
+
:type PathPrefix: String
|
|
2362
|
+
:param VpcId: Vpc的ID
|
|
2363
|
+
:type PathPrefix: String
|
|
2364
|
+
"""
|
|
2365
|
+
self.DirectConnectGatewayId = None
|
|
2366
|
+
self.VpcId = None
|
|
2367
|
+
|
|
2368
|
+
def _deserialize(self, params):
|
|
2369
|
+
if params.get("DirectConnectGatewayId"):
|
|
2370
|
+
self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
|
|
2371
|
+
if params.get("VpcId"):
|
|
2372
|
+
self.VpcId = params.get("VpcId")
|
|
2373
|
+
|
|
2374
|
+
|
|
2375
|
+
class AllocateSubnetIpv6CidrBlockRequest(AbstractModel):
|
|
2376
|
+
"""AllocateSubnetIpv6CidrBlock请求参数结构体
|
|
2377
|
+
"""
|
|
2378
|
+
|
|
2379
|
+
def __init__(self):
|
|
2380
|
+
r"""为子网添加IPv6网段
|
|
2381
|
+
:param SubnetId: 子网ID
|
|
2382
|
+
:type PathPrefix: String
|
|
2383
|
+
"""
|
|
2384
|
+
self.SubnetId = None
|
|
2385
|
+
|
|
2386
|
+
def _deserialize(self, params):
|
|
2387
|
+
if params.get("SubnetId"):
|
|
2388
|
+
self.SubnetId = params.get("SubnetId")
|
|
2389
|
+
|
|
2390
|
+
|
|
2391
|
+
class CreateRouteTableRequest(AbstractModel):
|
|
2392
|
+
"""CreateRouteTable请求参数结构体
|
|
2393
|
+
"""
|
|
2394
|
+
|
|
2395
|
+
def __init__(self):
|
|
2396
|
+
r"""创建路由表
|
|
2397
|
+
:param VpcId: Vpc的ID
|
|
2398
|
+
:type PathPrefix: String
|
|
2399
|
+
:param RouteTableName: 路由表的名称
|
|
2400
|
+
:type PathPrefix: String
|
|
2401
|
+
:param Description: 路由表的描述信息(部分机房支持,不支持该参数的机房忽略此传值)
|
|
2402
|
+
:type PathPrefix: String
|
|
2403
|
+
"""
|
|
2404
|
+
self.VpcId = None
|
|
2405
|
+
self.RouteTableName = None
|
|
2406
|
+
self.Description = None
|
|
2407
|
+
|
|
2408
|
+
def _deserialize(self, params):
|
|
2409
|
+
if params.get("VpcId"):
|
|
2410
|
+
self.VpcId = params.get("VpcId")
|
|
2411
|
+
if params.get("RouteTableName"):
|
|
2412
|
+
self.RouteTableName = params.get("RouteTableName")
|
|
2413
|
+
if params.get("Description"):
|
|
2414
|
+
self.Description = params.get("Description")
|
|
2415
|
+
|
|
2416
|
+
|
|
2417
|
+
class DeleteRouteTableRequest(AbstractModel):
|
|
2418
|
+
"""DeleteRouteTable请求参数结构体
|
|
2419
|
+
"""
|
|
2420
|
+
|
|
2421
|
+
def __init__(self):
|
|
2422
|
+
r"""删除路由表
|
|
2423
|
+
:param RouteTableId: 路由表的ID
|
|
2424
|
+
:type PathPrefix: String
|
|
2425
|
+
"""
|
|
2426
|
+
self.RouteTableId = None
|
|
2427
|
+
|
|
2428
|
+
def _deserialize(self, params):
|
|
2429
|
+
if params.get("RouteTableId"):
|
|
2430
|
+
self.RouteTableId = params.get("RouteTableId")
|
|
2431
|
+
|
|
2432
|
+
|
|
2433
|
+
class ModifyRouteTableRequest(AbstractModel):
|
|
2434
|
+
"""ModifyRouteTable请求参数结构体
|
|
2435
|
+
"""
|
|
2436
|
+
|
|
2437
|
+
def __init__(self):
|
|
2438
|
+
r"""修改路由表信息
|
|
2439
|
+
:param RouteTableId: 路由表的ID
|
|
2440
|
+
:type PathPrefix: String
|
|
2441
|
+
:param RouteTableName: 路由表的名称
|
|
2442
|
+
:type PathPrefix: String
|
|
2443
|
+
:param Description: 路由表的描述信息(部分机房支持,不支持该参数的机房忽略此传值)
|
|
2444
|
+
:type PathPrefix: String
|
|
2445
|
+
"""
|
|
2446
|
+
self.RouteTableId = None
|
|
2447
|
+
self.RouteTableName = None
|
|
2448
|
+
self.Description = None
|
|
2449
|
+
|
|
2450
|
+
def _deserialize(self, params):
|
|
2451
|
+
if params.get("RouteTableId"):
|
|
2452
|
+
self.RouteTableId = params.get("RouteTableId")
|
|
2453
|
+
if params.get("RouteTableName"):
|
|
2454
|
+
self.RouteTableName = params.get("RouteTableName")
|
|
2455
|
+
if params.get("Description"):
|
|
2456
|
+
self.Description = params.get("Description")
|
|
2457
|
+
|
|
2458
|
+
|
|
2459
|
+
class DescribeRouteTablesRequest(AbstractModel):
|
|
2460
|
+
"""DescribeRouteTables请求参数结构体
|
|
2461
|
+
"""
|
|
2462
|
+
|
|
2463
|
+
def __init__(self):
|
|
2464
|
+
r"""描述路由表的信息
|
|
2465
|
+
:param RouteTableId: 多个路由表的ID
|
|
2466
|
+
:type PathPrefix: Filter
|
|
2467
|
+
:param Filter: 筛选Filter
|
|
2468
|
+
:type PathPrefix: Filter
|
|
2469
|
+
:param MaxResults: 单次调用可返回的最大条目数量
|
|
2470
|
+
:type PathPrefix: Int
|
|
2471
|
+
:param NextToken: 获取另一页返回结果的 token.
|
|
2472
|
+
:type PathPrefix: String
|
|
2473
|
+
"""
|
|
2474
|
+
self.RouteTableId = None
|
|
2475
|
+
self.Filter = None
|
|
2476
|
+
self.MaxResults = None
|
|
2477
|
+
self.NextToken = None
|
|
2478
|
+
|
|
2479
|
+
def _deserialize(self, params):
|
|
2480
|
+
if params.get("RouteTableId"):
|
|
2481
|
+
self.RouteTableId = params.get("RouteTableId")
|
|
2482
|
+
if params.get("Filter"):
|
|
2483
|
+
self.Filter = params.get("Filter")
|
|
2484
|
+
if params.get("MaxResults"):
|
|
2485
|
+
self.MaxResults = params.get("MaxResults")
|
|
2486
|
+
if params.get("NextToken"):
|
|
2487
|
+
self.NextToken = params.get("NextToken")
|
|
2488
|
+
|
|
2489
|
+
|
|
2490
|
+
class AssociateRouteTableRequest(AbstractModel):
|
|
2491
|
+
"""AssociateRouteTable请求参数结构体
|
|
2492
|
+
"""
|
|
2493
|
+
|
|
2494
|
+
def __init__(self):
|
|
2495
|
+
r"""关联路由表
|
|
2496
|
+
:param SubnetId: 子网的ID
|
|
2497
|
+
:type PathPrefix: String
|
|
2498
|
+
:param RouteTableId: 路由表的ID
|
|
2499
|
+
:type PathPrefix: String
|
|
2500
|
+
"""
|
|
2501
|
+
self.SubnetId = None
|
|
2502
|
+
self.RouteTableId = None
|
|
2503
|
+
|
|
2504
|
+
def _deserialize(self, params):
|
|
2505
|
+
if params.get("SubnetId"):
|
|
2506
|
+
self.SubnetId = params.get("SubnetId")
|
|
2507
|
+
if params.get("RouteTableId"):
|
|
2508
|
+
self.RouteTableId = params.get("RouteTableId")
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
class DeleteNetworkInterfaceRequest(AbstractModel):
|
|
2512
|
+
"""DeleteNetworkInterface请求参数结构体
|
|
2513
|
+
"""
|
|
2514
|
+
|
|
2515
|
+
def __init__(self):
|
|
2516
|
+
r"""删除弹性网卡
|
|
2517
|
+
:param NetworkInterfaceId: 网卡的ID
|
|
2518
|
+
:type PathPrefix: String
|
|
2519
|
+
"""
|
|
2520
|
+
self.NetworkInterfaceId = None
|
|
2521
|
+
|
|
2522
|
+
def _deserialize(self, params):
|
|
2523
|
+
if params.get("NetworkInterfaceId"):
|
|
2524
|
+
self.NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
2525
|
+
|
|
2526
|
+
|
|
2527
|
+
class CreateNetworkInterfaceRequest(AbstractModel):
|
|
2528
|
+
"""CreateNetworkInterface请求参数结构体
|
|
2529
|
+
"""
|
|
2530
|
+
|
|
2531
|
+
def __init__(self):
|
|
2532
|
+
r"""创建弹性网卡
|
|
2533
|
+
:param SubnetId: 子网的ID
|
|
2534
|
+
:type PathPrefix: String
|
|
2535
|
+
:param NetworkInterfaceName: 网卡的名称
|
|
2536
|
+
:type PathPrefix: String
|
|
2537
|
+
:param PrivateIpAddress: 网卡的私网IP
|
|
2538
|
+
:type PathPrefix: String
|
|
2539
|
+
:param SecurityGroupId: 一个或多个安全组的ID,不能为空
|
|
2540
|
+
:type PathPrefix: Filter
|
|
2541
|
+
"""
|
|
2542
|
+
self.SubnetId = None
|
|
2543
|
+
self.NetworkInterfaceName = None
|
|
2544
|
+
self.PrivateIpAddress = None
|
|
2545
|
+
self.SecurityGroupId = None
|
|
2546
|
+
|
|
2547
|
+
def _deserialize(self, params):
|
|
2548
|
+
if params.get("SubnetId"):
|
|
2549
|
+
self.SubnetId = params.get("SubnetId")
|
|
2550
|
+
if params.get("NetworkInterfaceName"):
|
|
2551
|
+
self.NetworkInterfaceName = params.get("NetworkInterfaceName")
|
|
2552
|
+
if params.get("PrivateIpAddress"):
|
|
2553
|
+
self.PrivateIpAddress = params.get("PrivateIpAddress")
|
|
2554
|
+
if params.get("SecurityGroupId"):
|
|
2555
|
+
self.SecurityGroupId = params.get("SecurityGroupId")
|
|
2556
|
+
|
|
2557
|
+
|
|
2558
|
+
class ModifyNetworkInterfaceRequest(AbstractModel):
|
|
2559
|
+
"""ModifyNetworkInterface请求参数结构体
|
|
2560
|
+
"""
|
|
2561
|
+
|
|
2562
|
+
def __init__(self):
|
|
2563
|
+
r"""修改弹性网卡名称
|
|
2564
|
+
:param NetworkInterfaceName: 网卡的名称
|
|
2565
|
+
:type PathPrefix: String
|
|
2566
|
+
:param NetworkInterfaceId: 网卡ID
|
|
2567
|
+
:type PathPrefix: String
|
|
2568
|
+
"""
|
|
2569
|
+
self.NetworkInterfaceName = None
|
|
2570
|
+
self.NetworkInterfaceId = None
|
|
2571
|
+
|
|
2572
|
+
def _deserialize(self, params):
|
|
2573
|
+
if params.get("NetworkInterfaceName"):
|
|
2574
|
+
self.NetworkInterfaceName = params.get("NetworkInterfaceName")
|
|
2575
|
+
if params.get("NetworkInterfaceId"):
|
|
2576
|
+
self.NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
class CreateNatRateLimitRequest(AbstractModel):
|
|
2580
|
+
"""CreateNatRateLimit请求参数结构体
|
|
2581
|
+
"""
|
|
2582
|
+
|
|
2583
|
+
def __init__(self):
|
|
2584
|
+
r"""CreateNatRateLimit
|
|
2585
|
+
:param NetworkInterfaceId: 网卡ID
|
|
2586
|
+
:type PathPrefix: String
|
|
2587
|
+
:param BandwidthLimit: 出网带宽限速
|
|
2588
|
+
:type PathPrefix: Int
|
|
2589
|
+
:param inBandwidthLimit: 入网带宽限速
|
|
2590
|
+
:type PathPrefix: Int
|
|
2591
|
+
"""
|
|
2592
|
+
self.NetworkInterfaceId = None
|
|
2593
|
+
self.BandwidthLimit = None
|
|
2594
|
+
self.inBandwidthLimit = None
|
|
2595
|
+
|
|
2596
|
+
def _deserialize(self, params):
|
|
2597
|
+
if params.get("NetworkInterfaceId"):
|
|
2598
|
+
self.NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
2599
|
+
if params.get("BandwidthLimit"):
|
|
2600
|
+
self.BandwidthLimit = params.get("BandwidthLimit")
|
|
2601
|
+
if params.get("inBandwidthLimit"):
|
|
2602
|
+
self.inBandwidthLimit = params.get("inBandwidthLimit")
|
|
2603
|
+
|
|
2604
|
+
|
|
2605
|
+
class DescribeNatRateLimitRequest(AbstractModel):
|
|
2606
|
+
"""DescribeNatRateLimit请求参数结构体
|
|
2607
|
+
"""
|
|
2608
|
+
|
|
2609
|
+
def __init__(self):
|
|
2610
|
+
r"""DescribeNatRateLimit
|
|
2611
|
+
:param NatId: Nat的ID
|
|
2612
|
+
:type PathPrefix: String
|
|
2613
|
+
:param Filter: 筛选Filter
|
|
2614
|
+
:type PathPrefix: Filter
|
|
2615
|
+
"""
|
|
2616
|
+
self.NatId = None
|
|
2617
|
+
self.Filter = None
|
|
2618
|
+
|
|
2619
|
+
def _deserialize(self, params):
|
|
2620
|
+
if params.get("NatId"):
|
|
2621
|
+
self.NatId = params.get("NatId")
|
|
2622
|
+
if params.get("Filter"):
|
|
2623
|
+
self.Filter = params.get("Filter")
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
class ModifyNatRateLimitRequest(AbstractModel):
|
|
2627
|
+
"""ModifyNatRateLimit请求参数结构体
|
|
2628
|
+
"""
|
|
2629
|
+
|
|
2630
|
+
def __init__(self):
|
|
2631
|
+
r"""ModifyNatRateLimit
|
|
2632
|
+
:param NatRateLimitId: 网关限速规则ID
|
|
2633
|
+
:type PathPrefix: String
|
|
2634
|
+
:param BandwidthLimit: 出网带宽限速
|
|
2635
|
+
:type PathPrefix: Int
|
|
2636
|
+
:param InBandwidthLimit: 入网带宽限速
|
|
2637
|
+
:type PathPrefix: Int
|
|
2638
|
+
"""
|
|
2639
|
+
self.NatRateLimitId = None
|
|
2640
|
+
self.BandwidthLimit = None
|
|
2641
|
+
self.InBandwidthLimit = None
|
|
2642
|
+
|
|
2643
|
+
def _deserialize(self, params):
|
|
2644
|
+
if params.get("NatRateLimitId"):
|
|
2645
|
+
self.NatRateLimitId = params.get("NatRateLimitId")
|
|
2646
|
+
if params.get("BandwidthLimit"):
|
|
2647
|
+
self.BandwidthLimit = params.get("BandwidthLimit")
|
|
2648
|
+
if params.get("InBandwidthLimit"):
|
|
2649
|
+
self.InBandwidthLimit = params.get("InBandwidthLimit")
|
|
2650
|
+
|
|
2651
|
+
|
|
2652
|
+
class DeleteNatRateLimitRequest(AbstractModel):
|
|
2653
|
+
"""DeleteNatRateLimit请求参数结构体
|
|
2654
|
+
"""
|
|
2655
|
+
|
|
2656
|
+
def __init__(self):
|
|
2657
|
+
r"""DeleteNatRateLimit
|
|
2658
|
+
:param NatRateLimitId: 网关限速规则ID
|
|
2659
|
+
:type PathPrefix: String
|
|
2660
|
+
"""
|
|
2661
|
+
self.NatRateLimitId = None
|
|
2662
|
+
|
|
2663
|
+
def _deserialize(self, params):
|
|
2664
|
+
if params.get("NatRateLimitId"):
|
|
2665
|
+
self.NatRateLimitId = params.get("NatRateLimitId")
|
|
2666
|
+
|
|
2667
|
+
|
|
2668
|
+
class CreateDnatRequest(AbstractModel):
|
|
2669
|
+
"""CreateDnat请求参数结构体
|
|
2670
|
+
"""
|
|
2671
|
+
|
|
2672
|
+
def __init__(self):
|
|
2673
|
+
r"""创建DNAT
|
|
2674
|
+
:param NatId: Nat的ID
|
|
2675
|
+
:type PathPrefix: String
|
|
2676
|
+
:param NatIp: Nat的IP
|
|
2677
|
+
:type PathPrefix: String
|
|
2678
|
+
:param DnatName: Dnat规则的名称
|
|
2679
|
+
:type PathPrefix: String
|
|
2680
|
+
:param PublicPort: 公网端口
|
|
2681
|
+
:type PathPrefix: String
|
|
2682
|
+
:param PrivateIpAddress: 服务器的私网IP
|
|
2683
|
+
:type PathPrefix: String
|
|
2684
|
+
:param IpProtocol: 协议类型
|
|
2685
|
+
:type PathPrefix: String
|
|
2686
|
+
:param PrivatePort: 服务器端口
|
|
2687
|
+
:type PathPrefix: String
|
|
2688
|
+
:param Description: 描述信息
|
|
2689
|
+
:type PathPrefix: String
|
|
2690
|
+
"""
|
|
2691
|
+
self.NatId = None
|
|
2692
|
+
self.NatIp = None
|
|
2693
|
+
self.DnatName = None
|
|
2694
|
+
self.PublicPort = None
|
|
2695
|
+
self.PrivateIpAddress = None
|
|
2696
|
+
self.IpProtocol = None
|
|
2697
|
+
self.PrivatePort = None
|
|
2698
|
+
self.Description = None
|
|
2699
|
+
|
|
2700
|
+
def _deserialize(self, params):
|
|
2701
|
+
if params.get("NatId"):
|
|
2702
|
+
self.NatId = params.get("NatId")
|
|
2703
|
+
if params.get("NatIp"):
|
|
2704
|
+
self.NatIp = params.get("NatIp")
|
|
2705
|
+
if params.get("DnatName"):
|
|
2706
|
+
self.DnatName = params.get("DnatName")
|
|
2707
|
+
if params.get("PublicPort"):
|
|
2708
|
+
self.PublicPort = params.get("PublicPort")
|
|
2709
|
+
if params.get("PrivateIpAddress"):
|
|
2710
|
+
self.PrivateIpAddress = params.get("PrivateIpAddress")
|
|
2711
|
+
if params.get("IpProtocol"):
|
|
2712
|
+
self.IpProtocol = params.get("IpProtocol")
|
|
2713
|
+
if params.get("PrivatePort"):
|
|
2714
|
+
self.PrivatePort = params.get("PrivatePort")
|
|
2715
|
+
if params.get("Description"):
|
|
2716
|
+
self.Description = params.get("Description")
|
|
2717
|
+
|
|
2718
|
+
|
|
2719
|
+
class DeleteDnatRequest(AbstractModel):
|
|
2720
|
+
"""DeleteDnat请求参数结构体
|
|
2721
|
+
"""
|
|
2722
|
+
|
|
2723
|
+
def __init__(self):
|
|
2724
|
+
r"""删除DNAT
|
|
2725
|
+
:param DnatId: Dnat的ID
|
|
2726
|
+
:type PathPrefix: String
|
|
2727
|
+
"""
|
|
2728
|
+
self.DnatId = None
|
|
2729
|
+
|
|
2730
|
+
def _deserialize(self, params):
|
|
2731
|
+
if params.get("DnatId"):
|
|
2732
|
+
self.DnatId = params.get("DnatId")
|
|
2733
|
+
|
|
2734
|
+
|
|
2735
|
+
class DescribeDnatsRequest(AbstractModel):
|
|
2736
|
+
"""DescribeDnats请求参数结构体
|
|
2737
|
+
"""
|
|
2738
|
+
|
|
2739
|
+
def __init__(self):
|
|
2740
|
+
r"""查询DNAT
|
|
2741
|
+
:param DnatId: 多个Dnat的ID
|
|
2742
|
+
:type PathPrefix: Filter
|
|
2743
|
+
:param Filter: 筛选Filter
|
|
2744
|
+
:type PathPrefix: Filter
|
|
2745
|
+
:param MaxResults: 单次调用可返回的最大条目数量
|
|
2746
|
+
:type PathPrefix: Int
|
|
2747
|
+
:param NextToken: 获取另一页返回结果的 token.
|
|
2748
|
+
:type PathPrefix: String
|
|
2749
|
+
"""
|
|
2750
|
+
self.DnatId = None
|
|
2751
|
+
self.Filter = None
|
|
2752
|
+
self.MaxResults = None
|
|
2753
|
+
self.NextToken = None
|
|
2754
|
+
|
|
2755
|
+
def _deserialize(self, params):
|
|
2756
|
+
if params.get("DnatId"):
|
|
2757
|
+
self.DnatId = params.get("DnatId")
|
|
2758
|
+
if params.get("Filter"):
|
|
2759
|
+
self.Filter = params.get("Filter")
|
|
2760
|
+
if params.get("MaxResults"):
|
|
2761
|
+
self.MaxResults = params.get("MaxResults")
|
|
2762
|
+
if params.get("NextToken"):
|
|
2763
|
+
self.NextToken = params.get("NextToken")
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
class ModifyDnatRequest(AbstractModel):
|
|
2767
|
+
"""ModifyDnat请求参数结构体
|
|
2768
|
+
"""
|
|
2769
|
+
|
|
2770
|
+
def __init__(self):
|
|
2771
|
+
r"""修改DNAT
|
|
2772
|
+
:param NatId: Nat的ID
|
|
2773
|
+
:type PathPrefix: String
|
|
2774
|
+
:param DnatId: Dnat规则的ID
|
|
2775
|
+
:type PathPrefix: String
|
|
2776
|
+
:param NatIp: Nat的IP
|
|
2777
|
+
:type PathPrefix: String
|
|
2778
|
+
:param DnatName: Dnat规则的名称
|
|
2779
|
+
:type PathPrefix: String
|
|
2780
|
+
:param PublicPort: 公网端口
|
|
2781
|
+
:type PathPrefix: String
|
|
2782
|
+
:param PrivateIpAddress: 服务器的私网IP
|
|
2783
|
+
:type PathPrefix: String
|
|
2784
|
+
:param IpProtocol: 协议类型
|
|
2785
|
+
:type PathPrefix: String
|
|
2786
|
+
:param PrivatePort: 服务器端口
|
|
2787
|
+
:type PathPrefix: String
|
|
2788
|
+
:param Description: 描述信息
|
|
2789
|
+
:type PathPrefix: String
|
|
2790
|
+
"""
|
|
2791
|
+
self.NatId = None
|
|
2792
|
+
self.DnatId = None
|
|
2793
|
+
self.NatIp = None
|
|
2794
|
+
self.DnatName = None
|
|
2795
|
+
self.PublicPort = None
|
|
2796
|
+
self.PrivateIpAddress = None
|
|
2797
|
+
self.IpProtocol = None
|
|
2798
|
+
self.PrivatePort = None
|
|
2799
|
+
self.Description = None
|
|
2800
|
+
|
|
2801
|
+
def _deserialize(self, params):
|
|
2802
|
+
if params.get("NatId"):
|
|
2803
|
+
self.NatId = params.get("NatId")
|
|
2804
|
+
if params.get("DnatId"):
|
|
2805
|
+
self.DnatId = params.get("DnatId")
|
|
2806
|
+
if params.get("NatIp"):
|
|
2807
|
+
self.NatIp = params.get("NatIp")
|
|
2808
|
+
if params.get("DnatName"):
|
|
2809
|
+
self.DnatName = params.get("DnatName")
|
|
2810
|
+
if params.get("PublicPort"):
|
|
2811
|
+
self.PublicPort = params.get("PublicPort")
|
|
2812
|
+
if params.get("PrivateIpAddress"):
|
|
2813
|
+
self.PrivateIpAddress = params.get("PrivateIpAddress")
|
|
2814
|
+
if params.get("IpProtocol"):
|
|
2815
|
+
self.IpProtocol = params.get("IpProtocol")
|
|
2816
|
+
if params.get("PrivatePort"):
|
|
2817
|
+
self.PrivatePort = params.get("PrivatePort")
|
|
2818
|
+
if params.get("Description"):
|
|
2819
|
+
self.Description = params.get("Description")
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
class AssociateInstanceRequest(AbstractModel):
|
|
2823
|
+
"""AssociateInstance请求参数结构体
|
|
2824
|
+
"""
|
|
2825
|
+
|
|
2826
|
+
def __init__(self):
|
|
2827
|
+
r"""主机粒度SNAT
|
|
2828
|
+
:param NetworkInterfaceId: 网卡ID
|
|
2829
|
+
:type PathPrefix: String
|
|
2830
|
+
:param NatId: Nat的ID
|
|
2831
|
+
:type PathPrefix: String
|
|
2832
|
+
:param NatIpId: 要绑定的NatIp的ID值
|
|
2833
|
+
:type PathPrefix: Filter
|
|
2834
|
+
"""
|
|
2835
|
+
self.NetworkInterfaceId = None
|
|
2836
|
+
self.NatId = None
|
|
2837
|
+
self.NatIpId = None
|
|
2838
|
+
|
|
2839
|
+
def _deserialize(self, params):
|
|
2840
|
+
if params.get("NetworkInterfaceId"):
|
|
2841
|
+
self.NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
2842
|
+
if params.get("NatId"):
|
|
2843
|
+
self.NatId = params.get("NatId")
|
|
2844
|
+
if params.get("NatIpId"):
|
|
2845
|
+
self.NatIpId = params.get("NatIpId")
|
|
2846
|
+
|
|
2847
|
+
|
|
2848
|
+
class DisassociateInstanceRequest(AbstractModel):
|
|
2849
|
+
"""DisassociateInstance请求参数结构体
|
|
2850
|
+
"""
|
|
2851
|
+
|
|
2852
|
+
def __init__(self):
|
|
2853
|
+
r"""删除主机粒度SNAT
|
|
2854
|
+
:param NetworkInterfaceId: 网卡ID
|
|
2855
|
+
:type PathPrefix: String
|
|
2856
|
+
:param NatId: Nat的ID
|
|
2857
|
+
:type PathPrefix: String
|
|
2858
|
+
"""
|
|
2859
|
+
self.NetworkInterfaceId = None
|
|
2860
|
+
self.NatId = None
|
|
2861
|
+
|
|
2862
|
+
def _deserialize(self, params):
|
|
2863
|
+
if params.get("NetworkInterfaceId"):
|
|
2864
|
+
self.NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
2865
|
+
if params.get("NatId"):
|
|
2866
|
+
self.NatId = params.get("NatId")
|
|
2867
|
+
|
|
2868
|
+
|
|
2869
|
+
class CreateHaVipRequest(AbstractModel):
|
|
2870
|
+
"""CreateHaVip请求参数结构体
|
|
2871
|
+
"""
|
|
2872
|
+
|
|
2873
|
+
def __init__(self):
|
|
2874
|
+
r"""创建HaVip
|
|
2875
|
+
:param SubnetId: 子网的ID
|
|
2876
|
+
:type PathPrefix: String
|
|
2877
|
+
:param IpAddress: 高可用虚拟IP的IP地址
|
|
2878
|
+
:type PathPrefix: String
|
|
2879
|
+
"""
|
|
2880
|
+
self.SubnetId = None
|
|
2881
|
+
self.IpAddress = None
|
|
2882
|
+
|
|
2883
|
+
def _deserialize(self, params):
|
|
2884
|
+
if params.get("SubnetId"):
|
|
2885
|
+
self.SubnetId = params.get("SubnetId")
|
|
2886
|
+
if params.get("IpAddress"):
|
|
2887
|
+
self.IpAddress = params.get("IpAddress")
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
class DeleteHaVipRequest(AbstractModel):
|
|
2891
|
+
"""DeleteHaVip请求参数结构体
|
|
2892
|
+
"""
|
|
2893
|
+
|
|
2894
|
+
def __init__(self):
|
|
2895
|
+
r"""删除HaVip
|
|
2896
|
+
:param HaVipId: 高可用虚拟IP的ID
|
|
2897
|
+
:type PathPrefix: String
|
|
2898
|
+
"""
|
|
2899
|
+
self.HaVipId = None
|
|
2900
|
+
|
|
2901
|
+
def _deserialize(self, params):
|
|
2902
|
+
if params.get("HaVipId"):
|
|
2903
|
+
self.HaVipId = params.get("HaVipId")
|
|
2904
|
+
|
|
2905
|
+
|
|
2906
|
+
class AssociateHaVipRequest(AbstractModel):
|
|
2907
|
+
"""AssociateHaVip请求参数结构体
|
|
2908
|
+
"""
|
|
2909
|
+
|
|
2910
|
+
def __init__(self):
|
|
2911
|
+
r"""绑定HaVip
|
|
2912
|
+
:param NetworkInterfaceId: 网卡的ID
|
|
2913
|
+
:type PathPrefix: String
|
|
2914
|
+
:param HaVipId: 高可用虚拟IP的ID
|
|
2915
|
+
:type PathPrefix: String
|
|
2916
|
+
"""
|
|
2917
|
+
self.NetworkInterfaceId = None
|
|
2918
|
+
self.HaVipId = None
|
|
2919
|
+
|
|
2920
|
+
def _deserialize(self, params):
|
|
2921
|
+
if params.get("NetworkInterfaceId"):
|
|
2922
|
+
self.NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
2923
|
+
if params.get("HaVipId"):
|
|
2924
|
+
self.HaVipId = params.get("HaVipId")
|
|
2925
|
+
|
|
2926
|
+
|
|
2927
|
+
class UnAssociateHaVipRequest(AbstractModel):
|
|
2928
|
+
"""UnAssociateHaVip请求参数结构体
|
|
2929
|
+
"""
|
|
2930
|
+
|
|
2931
|
+
def __init__(self):
|
|
2932
|
+
r"""解绑HaVip
|
|
2933
|
+
:param NetworkInterfaceId: 网卡的ID
|
|
2934
|
+
:type PathPrefix: String
|
|
2935
|
+
:param HaVipId: 高可用虚拟IP的ID
|
|
2936
|
+
:type PathPrefix: String
|
|
2937
|
+
"""
|
|
2938
|
+
self.NetworkInterfaceId = None
|
|
2939
|
+
self.HaVipId = None
|
|
2940
|
+
|
|
2941
|
+
def _deserialize(self, params):
|
|
2942
|
+
if params.get("NetworkInterfaceId"):
|
|
2943
|
+
self.NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
2944
|
+
if params.get("HaVipId"):
|
|
2945
|
+
self.HaVipId = params.get("HaVipId")
|
|
2946
|
+
|
|
2947
|
+
|
|
2948
|
+
class DescribeHaVipRequest(AbstractModel):
|
|
2949
|
+
"""DescribeHaVip请求参数结构体
|
|
2950
|
+
"""
|
|
2951
|
+
|
|
2952
|
+
def __init__(self):
|
|
2953
|
+
r"""查询HaVip
|
|
2954
|
+
:param HaVipId: 多个高可用虚拟IP的ID
|
|
2955
|
+
:type PathPrefix: Filter
|
|
2956
|
+
:param Filter: 筛选Filter
|
|
2957
|
+
:type PathPrefix: Filter
|
|
2958
|
+
:param MaxResults: 单次调用可返回的最大条目数量
|
|
2959
|
+
:type PathPrefix: Int
|
|
2960
|
+
:param NextToken: 获取另一页返回结果的 token.
|
|
2961
|
+
:type PathPrefix: String
|
|
2962
|
+
"""
|
|
2963
|
+
self.HaVipId = None
|
|
2964
|
+
self.Filter = None
|
|
2965
|
+
self.MaxResults = None
|
|
2966
|
+
self.NextToken = None
|
|
2967
|
+
|
|
2968
|
+
def _deserialize(self, params):
|
|
2969
|
+
if params.get("HaVipId"):
|
|
2970
|
+
self.HaVipId = params.get("HaVipId")
|
|
2971
|
+
if params.get("Filter"):
|
|
2972
|
+
self.Filter = params.get("Filter")
|
|
2973
|
+
if params.get("MaxResults"):
|
|
2974
|
+
self.MaxResults = params.get("MaxResults")
|
|
2975
|
+
if params.get("NextToken"):
|
|
2976
|
+
self.NextToken = params.get("NextToken")
|
|
2977
|
+
|
|
2978
|
+
|
|
2979
|
+
class CreateDirectConnectGatewayRouteRequest(AbstractModel):
|
|
2980
|
+
"""CreateDirectConnectGatewayRoute请求参数结构体
|
|
2981
|
+
"""
|
|
2982
|
+
|
|
2983
|
+
def __init__(self):
|
|
2984
|
+
r"""创建边界网关路由
|
|
2985
|
+
:param DirectConnectGatewayId: 边界网关的ID
|
|
2986
|
+
:type PathPrefix: String
|
|
2987
|
+
:param DestinationCidrBlock: 目标网段
|
|
2988
|
+
:type PathPrefix: String
|
|
2989
|
+
:param NextHopType: 下一跳类型
|
|
2990
|
+
:type PathPrefix: String
|
|
2991
|
+
:param Priority: 优先级
|
|
2992
|
+
:type PathPrefix: Int
|
|
2993
|
+
:param NextHopInstance: 下一跳实例ID
|
|
2994
|
+
:type PathPrefix: String
|
|
2995
|
+
:param EnableIpv6: 是否开启Ipv6
|
|
2996
|
+
:type PathPrefix: Boolean
|
|
2997
|
+
"""
|
|
2998
|
+
self.DirectConnectGatewayId = None
|
|
2999
|
+
self.DestinationCidrBlock = None
|
|
3000
|
+
self.NextHopType = None
|
|
3001
|
+
self.Priority = None
|
|
3002
|
+
self.NextHopInstance = None
|
|
3003
|
+
self.EnableIpv6 = None
|
|
3004
|
+
|
|
3005
|
+
def _deserialize(self, params):
|
|
3006
|
+
if params.get("DirectConnectGatewayId"):
|
|
3007
|
+
self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
|
|
3008
|
+
if params.get("DestinationCidrBlock"):
|
|
3009
|
+
self.DestinationCidrBlock = params.get("DestinationCidrBlock")
|
|
3010
|
+
if params.get("NextHopType"):
|
|
3011
|
+
self.NextHopType = params.get("NextHopType")
|
|
3012
|
+
if params.get("Priority"):
|
|
3013
|
+
self.Priority = params.get("Priority")
|
|
3014
|
+
if params.get("NextHopInstance"):
|
|
3015
|
+
self.NextHopInstance = params.get("NextHopInstance")
|
|
3016
|
+
if params.get("EnableIpv6"):
|
|
3017
|
+
self.EnableIpv6 = params.get("EnableIpv6")
|
|
3018
|
+
|
|
3019
|
+
|
|
3020
|
+
class DeleteDirectConnectGatewayRouteRequest(AbstractModel):
|
|
3021
|
+
"""DeleteDirectConnectGatewayRoute请求参数结构体
|
|
3022
|
+
"""
|
|
3023
|
+
|
|
3024
|
+
def __init__(self):
|
|
3025
|
+
r"""删除边界网关路由
|
|
3026
|
+
:param DirectConnectGatewayRouteId: 边界网关路由ID
|
|
3027
|
+
:type PathPrefix: String
|
|
3028
|
+
"""
|
|
3029
|
+
self.DirectConnectGatewayRouteId = None
|
|
3030
|
+
|
|
3031
|
+
def _deserialize(self, params):
|
|
3032
|
+
if params.get("DirectConnectGatewayRouteId"):
|
|
3033
|
+
self.DirectConnectGatewayRouteId = params.get("DirectConnectGatewayRouteId")
|
|
3034
|
+
|
|
3035
|
+
|
|
3036
|
+
class DescribeDirectConnectGatewayRouteRequest(AbstractModel):
|
|
3037
|
+
"""DescribeDirectConnectGatewayRoute请求参数结构体
|
|
3038
|
+
"""
|
|
3039
|
+
|
|
3040
|
+
def __init__(self):
|
|
3041
|
+
r"""查询边界网关路由
|
|
3042
|
+
:param DirectConnectGatewayId: 边界网关的ID
|
|
3043
|
+
:type PathPrefix: String
|
|
3044
|
+
:param MaxResults: 单次调用可返回的最大条目数量
|
|
3045
|
+
:type PathPrefix: Int
|
|
3046
|
+
:param Filter: 筛选Filter
|
|
3047
|
+
:type PathPrefix: Filter
|
|
3048
|
+
:param NextToken: 获取另一页返回结果的 token.
|
|
3049
|
+
:type PathPrefix: String
|
|
3050
|
+
"""
|
|
3051
|
+
self.DirectConnectGatewayId = None
|
|
3052
|
+
self.MaxResults = None
|
|
3053
|
+
self.Filter = None
|
|
3054
|
+
self.NextToken = None
|
|
3055
|
+
|
|
3056
|
+
def _deserialize(self, params):
|
|
3057
|
+
if params.get("DirectConnectGatewayId"):
|
|
3058
|
+
self.DirectConnectGatewayId = params.get("DirectConnectGatewayId")
|
|
3059
|
+
if params.get("MaxResults"):
|
|
3060
|
+
self.MaxResults = params.get("MaxResults")
|
|
3061
|
+
if params.get("Filter"):
|
|
3062
|
+
self.Filter = params.get("Filter")
|
|
3063
|
+
if params.get("NextToken"):
|
|
3064
|
+
self.NextToken = params.get("NextToken")
|
|
3065
|
+
|
|
3066
|
+
|
|
3067
|
+
class PublishDirectConnectRouteRequest(AbstractModel):
|
|
3068
|
+
"""PublishDirectConnectRoute请求参数结构体
|
|
3069
|
+
"""
|
|
3070
|
+
|
|
3071
|
+
def __init__(self):
|
|
3072
|
+
r"""发布边界网关路由到BGP
|
|
3073
|
+
:param DirectConnectGatewayRouteId: 边界网关路由ID
|
|
3074
|
+
:type PathPrefix: String
|
|
3075
|
+
"""
|
|
3076
|
+
self.DirectConnectGatewayRouteId = None
|
|
3077
|
+
|
|
3078
|
+
def _deserialize(self, params):
|
|
3079
|
+
if params.get("DirectConnectGatewayRouteId"):
|
|
3080
|
+
self.DirectConnectGatewayRouteId = params.get("DirectConnectGatewayRouteId")
|
|
3081
|
+
|
|
3082
|
+
|
|
3083
|
+
class UnpublishDirectConnectRouteRequest(AbstractModel):
|
|
3084
|
+
"""UnpublishDirectConnectRoute请求参数结构体
|
|
3085
|
+
"""
|
|
3086
|
+
|
|
3087
|
+
def __init__(self):
|
|
3088
|
+
r"""从BGP取消发布边界网关路由
|
|
3089
|
+
:param DirectConnectGatewayRouteId: 边界网关路由ID
|
|
3090
|
+
:type PathPrefix: String
|
|
3091
|
+
"""
|
|
3092
|
+
self.DirectConnectGatewayRouteId = None
|
|
2166
3093
|
|
|
2167
3094
|
def _deserialize(self, params):
|
|
2168
3095
|
if params.get("DirectConnectGatewayRouteId"):
|
|
@@ -2258,3 +3185,473 @@ class UnassignPrivateIpAddressRequest(AbstractModel):
|
|
|
2258
3185
|
self.PrivateIpAddress = params.get("PrivateIpAddress")
|
|
2259
3186
|
|
|
2260
3187
|
|
|
3188
|
+
class BatchCreateNatRateLimitRequest(AbstractModel):
|
|
3189
|
+
"""BatchCreateNatRateLimit请求参数结构体
|
|
3190
|
+
"""
|
|
3191
|
+
|
|
3192
|
+
def __init__(self):
|
|
3193
|
+
r"""批量创建Nat限速
|
|
3194
|
+
:param BandwidthLimit: 出带宽限速
|
|
3195
|
+
:type PathPrefix: Int
|
|
3196
|
+
:param InBandwidthLimit: 入带宽限速
|
|
3197
|
+
:type PathPrefix: Int
|
|
3198
|
+
:param NetworkInterfaceId: 弹性网卡ID
|
|
3199
|
+
:type PathPrefix: Filter
|
|
3200
|
+
"""
|
|
3201
|
+
self.BandwidthLimit = None
|
|
3202
|
+
self.InBandwidthLimit = None
|
|
3203
|
+
self.NetworkInterfaceId = None
|
|
3204
|
+
|
|
3205
|
+
def _deserialize(self, params):
|
|
3206
|
+
if params.get("BandwidthLimit"):
|
|
3207
|
+
self.BandwidthLimit = params.get("BandwidthLimit")
|
|
3208
|
+
if params.get("InBandwidthLimit"):
|
|
3209
|
+
self.InBandwidthLimit = params.get("InBandwidthLimit")
|
|
3210
|
+
if params.get("NetworkInterfaceId"):
|
|
3211
|
+
self.NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
3212
|
+
|
|
3213
|
+
|
|
3214
|
+
class BatchModifyNatRateLimitRequest(AbstractModel):
|
|
3215
|
+
"""BatchModifyNatRateLimit请求参数结构体
|
|
3216
|
+
"""
|
|
3217
|
+
|
|
3218
|
+
def __init__(self):
|
|
3219
|
+
r"""批量修改Nat限速
|
|
3220
|
+
:param BandwidthLimit: 出向带宽限速
|
|
3221
|
+
:type PathPrefix: String
|
|
3222
|
+
:param InBandwidthLimit: 入向带宽限速
|
|
3223
|
+
:type PathPrefix: Int
|
|
3224
|
+
:param NatRateLimitId: Nat网卡限速规则ID
|
|
3225
|
+
:type PathPrefix: Filter
|
|
3226
|
+
"""
|
|
3227
|
+
self.BandwidthLimit = None
|
|
3228
|
+
self.InBandwidthLimit = None
|
|
3229
|
+
self.NatRateLimitId = None
|
|
3230
|
+
|
|
3231
|
+
def _deserialize(self, params):
|
|
3232
|
+
if params.get("BandwidthLimit"):
|
|
3233
|
+
self.BandwidthLimit = params.get("BandwidthLimit")
|
|
3234
|
+
if params.get("InBandwidthLimit"):
|
|
3235
|
+
self.InBandwidthLimit = params.get("InBandwidthLimit")
|
|
3236
|
+
if params.get("NatRateLimitId"):
|
|
3237
|
+
self.NatRateLimitId = params.get("NatRateLimitId")
|
|
3238
|
+
|
|
3239
|
+
|
|
3240
|
+
class BatchDeleteNatRateLimitRequest(AbstractModel):
|
|
3241
|
+
"""BatchDeleteNatRateLimit请求参数结构体
|
|
3242
|
+
"""
|
|
3243
|
+
|
|
3244
|
+
def __init__(self):
|
|
3245
|
+
r"""批量删除Nat限速
|
|
3246
|
+
:param NatRateLimitId: Nat网卡限速规则ID
|
|
3247
|
+
:type PathPrefix: Filter
|
|
3248
|
+
"""
|
|
3249
|
+
self.NatRateLimitId = None
|
|
3250
|
+
|
|
3251
|
+
def _deserialize(self, params):
|
|
3252
|
+
if params.get("NatRateLimitId"):
|
|
3253
|
+
self.NatRateLimitId = params.get("NatRateLimitId")
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
class DescribeVpnGatewayRoutesRequest(AbstractModel):
|
|
3257
|
+
"""DescribeVpnGatewayRoutes请求参数结构体
|
|
3258
|
+
"""
|
|
3259
|
+
|
|
3260
|
+
def __init__(self):
|
|
3261
|
+
r"""查询VPN网关路由
|
|
3262
|
+
:param VpnGatewayId: Vpn网关Id
|
|
3263
|
+
:type PathPrefix: String
|
|
3264
|
+
:param Filter: 筛选Filter
|
|
3265
|
+
:type PathPrefix: Filter
|
|
3266
|
+
:param MaxResults: 单次调用可返回的最大条目数量
|
|
3267
|
+
:type PathPrefix: Int
|
|
3268
|
+
:param NextToken: 获取另一页返回结果的 token.
|
|
3269
|
+
:type PathPrefix: String
|
|
3270
|
+
"""
|
|
3271
|
+
self.VpnGatewayId = None
|
|
3272
|
+
self.Filter = None
|
|
3273
|
+
self.MaxResults = None
|
|
3274
|
+
self.NextToken = None
|
|
3275
|
+
|
|
3276
|
+
def _deserialize(self, params):
|
|
3277
|
+
if params.get("VpnGatewayId"):
|
|
3278
|
+
self.VpnGatewayId = params.get("VpnGatewayId")
|
|
3279
|
+
if params.get("Filter"):
|
|
3280
|
+
self.Filter = params.get("Filter")
|
|
3281
|
+
if params.get("MaxResults"):
|
|
3282
|
+
self.MaxResults = params.get("MaxResults")
|
|
3283
|
+
if params.get("NextToken"):
|
|
3284
|
+
self.NextToken = params.get("NextToken")
|
|
3285
|
+
|
|
3286
|
+
|
|
3287
|
+
class CreateVpnGatewayRouteRequest(AbstractModel):
|
|
3288
|
+
"""CreateVpnGatewayRoute请求参数结构体
|
|
3289
|
+
"""
|
|
3290
|
+
|
|
3291
|
+
def __init__(self):
|
|
3292
|
+
r"""创建VPN网关下的路由
|
|
3293
|
+
:param VpnGatewayId: VPN网关ID
|
|
3294
|
+
:type PathPrefix: String
|
|
3295
|
+
:param DestinationCidrBlock: 目标网段
|
|
3296
|
+
:type PathPrefix: String
|
|
3297
|
+
:param NextHopInstanceId: 下一跳实例id,下一跳类型为VPC-是;下一跳类型为VPN通道-否
|
|
3298
|
+
:type PathPrefix: String
|
|
3299
|
+
:param NextHopType: 下一跳类型,NextHopType
|
|
3300
|
+
:type PathPrefix: String
|
|
3301
|
+
:param Description: 描述
|
|
3302
|
+
:type PathPrefix: String
|
|
3303
|
+
"""
|
|
3304
|
+
self.VpnGatewayId = None
|
|
3305
|
+
self.DestinationCidrBlock = None
|
|
3306
|
+
self.NextHopInstanceId = None
|
|
3307
|
+
self.NextHopType = None
|
|
3308
|
+
self.Description = None
|
|
3309
|
+
|
|
3310
|
+
def _deserialize(self, params):
|
|
3311
|
+
if params.get("VpnGatewayId"):
|
|
3312
|
+
self.VpnGatewayId = params.get("VpnGatewayId")
|
|
3313
|
+
if params.get("DestinationCidrBlock"):
|
|
3314
|
+
self.DestinationCidrBlock = params.get("DestinationCidrBlock")
|
|
3315
|
+
if params.get("NextHopInstanceId"):
|
|
3316
|
+
self.NextHopInstanceId = params.get("NextHopInstanceId")
|
|
3317
|
+
if params.get("NextHopType"):
|
|
3318
|
+
self.NextHopType = params.get("NextHopType")
|
|
3319
|
+
if params.get("Description"):
|
|
3320
|
+
self.Description = params.get("Description")
|
|
3321
|
+
|
|
3322
|
+
|
|
3323
|
+
class DeleteVpnGatewayRouteRequest(AbstractModel):
|
|
3324
|
+
"""DeleteVpnGatewayRoute请求参数结构体
|
|
3325
|
+
"""
|
|
3326
|
+
|
|
3327
|
+
def __init__(self):
|
|
3328
|
+
r"""删除VPN网关下的路由
|
|
3329
|
+
:param VpnGatewayRouteId: VPN网关的ID
|
|
3330
|
+
:type PathPrefix: String
|
|
3331
|
+
"""
|
|
3332
|
+
self.VpnGatewayRouteId = None
|
|
3333
|
+
|
|
3334
|
+
def _deserialize(self, params):
|
|
3335
|
+
if params.get("VpnGatewayRouteId"):
|
|
3336
|
+
self.VpnGatewayRouteId = params.get("VpnGatewayRouteId")
|
|
3337
|
+
|
|
3338
|
+
|
|
3339
|
+
class DescribeVpnTunnelIpsecStatusRequest(AbstractModel):
|
|
3340
|
+
"""DescribeVpnTunnelIpsecStatus请求参数结构体
|
|
3341
|
+
"""
|
|
3342
|
+
|
|
3343
|
+
def __init__(self):
|
|
3344
|
+
r"""查询VPN通道ipsec status状态
|
|
3345
|
+
:param IsMaster: 是否是主备机状态(1-隧道1的状态,0-隧道2的状态)
|
|
3346
|
+
:type PathPrefix: Int
|
|
3347
|
+
:param VpnTunnelId: 多个Vpn通道的ID
|
|
3348
|
+
:type PathPrefix: Filter
|
|
3349
|
+
"""
|
|
3350
|
+
self.IsMaster = None
|
|
3351
|
+
self.VpnTunnelId = None
|
|
3352
|
+
|
|
3353
|
+
def _deserialize(self, params):
|
|
3354
|
+
if params.get("IsMaster"):
|
|
3355
|
+
self.IsMaster = params.get("IsMaster")
|
|
3356
|
+
if params.get("VpnTunnelId"):
|
|
3357
|
+
self.VpnTunnelId = params.get("VpnTunnelId")
|
|
3358
|
+
|
|
3359
|
+
|
|
3360
|
+
class QueryNatTopVifMonitorRequest(AbstractModel):
|
|
3361
|
+
"""QueryNatTopVifMonitor请求参数结构体
|
|
3362
|
+
"""
|
|
3363
|
+
|
|
3364
|
+
def __init__(self):
|
|
3365
|
+
r"""查询NAT下流量排名的TOP 50的网卡
|
|
3366
|
+
:param NatId: Nat的ID
|
|
3367
|
+
:type PathPrefix: String
|
|
3368
|
+
:param StartTime: 开始时间,开始时间和结束时间相差10分钟,例如:2023-09-14T13:30:01
|
|
3369
|
+
:type PathPrefix: String
|
|
3370
|
+
:param EndTime: 结束时间,开始时间和结束时间相差10分钟,例如:2023-09-14T13:40:01
|
|
3371
|
+
:type PathPrefix: String
|
|
3372
|
+
:param SortType: 排序顺序,默认是BPS_OUT,可选BPS_IN|BPS_OUT|PEAK_IN|PEAK_OUT,区分大小写,填写其他的字符按BPS_OUT排序
|
|
3373
|
+
:type PathPrefix: String
|
|
3374
|
+
:param InstanceType: 查询实例类型,不填默认是kec,epc/kec
|
|
3375
|
+
:type PathPrefix: String
|
|
3376
|
+
:param ip: ip
|
|
3377
|
+
:type PathPrefix: String
|
|
3378
|
+
"""
|
|
3379
|
+
self.NatId = None
|
|
3380
|
+
self.StartTime = None
|
|
3381
|
+
self.EndTime = None
|
|
3382
|
+
self.SortType = None
|
|
3383
|
+
self.InstanceType = None
|
|
3384
|
+
self.ip = None
|
|
3385
|
+
|
|
3386
|
+
def _deserialize(self, params):
|
|
3387
|
+
if params.get("NatId"):
|
|
3388
|
+
self.NatId = params.get("NatId")
|
|
3389
|
+
if params.get("StartTime"):
|
|
3390
|
+
self.StartTime = params.get("StartTime")
|
|
3391
|
+
if params.get("EndTime"):
|
|
3392
|
+
self.EndTime = params.get("EndTime")
|
|
3393
|
+
if params.get("SortType"):
|
|
3394
|
+
self.SortType = params.get("SortType")
|
|
3395
|
+
if params.get("InstanceType"):
|
|
3396
|
+
self.InstanceType = params.get("InstanceType")
|
|
3397
|
+
if params.get("ip"):
|
|
3398
|
+
self.ip = params.get("ip")
|
|
3399
|
+
|
|
3400
|
+
|
|
3401
|
+
class ModifyNatIpStatusRequest(AbstractModel):
|
|
3402
|
+
"""ModifyNatIpStatus请求参数结构体
|
|
3403
|
+
"""
|
|
3404
|
+
|
|
3405
|
+
def __init__(self):
|
|
3406
|
+
r"""修改NatIp的禁用/启用
|
|
3407
|
+
:param NatIpId: NatIp的ID
|
|
3408
|
+
:type PathPrefix: String
|
|
3409
|
+
:param Enabled: NatIp的禁用状态
|
|
3410
|
+
:type PathPrefix: Boolean
|
|
3411
|
+
"""
|
|
3412
|
+
self.NatIpId = None
|
|
3413
|
+
self.Enabled = None
|
|
3414
|
+
|
|
3415
|
+
def _deserialize(self, params):
|
|
3416
|
+
if params.get("NatIpId"):
|
|
3417
|
+
self.NatIpId = params.get("NatIpId")
|
|
3418
|
+
if params.get("Enabled"):
|
|
3419
|
+
self.Enabled = params.get("Enabled")
|
|
3420
|
+
|
|
3421
|
+
|
|
3422
|
+
class QueryPeerTopVifMonitorRequest(AbstractModel):
|
|
3423
|
+
"""QueryPeerTopVifMonitor请求参数结构体
|
|
3424
|
+
"""
|
|
3425
|
+
|
|
3426
|
+
def __init__(self):
|
|
3427
|
+
r"""查询对等连接下流量排名的TOP 50的网卡
|
|
3428
|
+
:param vpcId: 虚拟私有网络id
|
|
3429
|
+
:type PathPrefix: String
|
|
3430
|
+
:param StartTime: 开始时间,开始时间和结束时间相差10分钟。例如:2023-12-21T00:01:00
|
|
3431
|
+
:type PathPrefix: String
|
|
3432
|
+
:param EndTime: 结束时间,开始时间和结束时间相差10分钟。例如:2023-12-21T00:01:00
|
|
3433
|
+
:type PathPrefix: String
|
|
3434
|
+
:param SortType: 排序顺序,默认是OUT,可选OUT|IN,区分大小写,填写其他的字符按OUT排序
|
|
3435
|
+
:type PathPrefix: String
|
|
3436
|
+
:param ip: 筛选IP。
|
|
3437
|
+
:type PathPrefix: String
|
|
3438
|
+
"""
|
|
3439
|
+
self.vpcId = None
|
|
3440
|
+
self.StartTime = None
|
|
3441
|
+
self.EndTime = None
|
|
3442
|
+
self.SortType = None
|
|
3443
|
+
self.ip = None
|
|
3444
|
+
|
|
3445
|
+
def _deserialize(self, params):
|
|
3446
|
+
if params.get("vpcId"):
|
|
3447
|
+
self.vpcId = params.get("vpcId")
|
|
3448
|
+
if params.get("StartTime"):
|
|
3449
|
+
self.StartTime = params.get("StartTime")
|
|
3450
|
+
if params.get("EndTime"):
|
|
3451
|
+
self.EndTime = params.get("EndTime")
|
|
3452
|
+
if params.get("SortType"):
|
|
3453
|
+
self.SortType = params.get("SortType")
|
|
3454
|
+
if params.get("ip"):
|
|
3455
|
+
self.ip = params.get("ip")
|
|
3456
|
+
|
|
3457
|
+
|
|
3458
|
+
class ModifyVpnGatewayRouteRequest(AbstractModel):
|
|
3459
|
+
"""ModifyVpnGatewayRoute请求参数结构体
|
|
3460
|
+
"""
|
|
3461
|
+
|
|
3462
|
+
def __init__(self):
|
|
3463
|
+
r"""修改VPN网关下的路由
|
|
3464
|
+
:param VpnGatewayRouteId: VPN网关路由的ID
|
|
3465
|
+
:type PathPrefix: String
|
|
3466
|
+
:param Description: 描述
|
|
3467
|
+
:type PathPrefix: String
|
|
3468
|
+
"""
|
|
3469
|
+
self.VpnGatewayRouteId = None
|
|
3470
|
+
self.Description = None
|
|
3471
|
+
|
|
3472
|
+
def _deserialize(self, params):
|
|
3473
|
+
if params.get("VpnGatewayRouteId"):
|
|
3474
|
+
self.VpnGatewayRouteId = params.get("VpnGatewayRouteId")
|
|
3475
|
+
if params.get("Description"):
|
|
3476
|
+
self.Description = params.get("Description")
|
|
3477
|
+
|
|
3478
|
+
|
|
3479
|
+
class DescribeDirectConnectInterfacesBgpStatusRequest(AbstractModel):
|
|
3480
|
+
"""DescribeDirectConnectInterfacesBgpStatus请求参数结构体
|
|
3481
|
+
"""
|
|
3482
|
+
|
|
3483
|
+
def __init__(self):
|
|
3484
|
+
r"""查询专线通道 BGP邻居状态
|
|
3485
|
+
:param DirectConnectInterfaceId.N: 专线通道id
|
|
3486
|
+
:type PathPrefix: String
|
|
3487
|
+
"""
|
|
3488
|
+
self.DirectConnectInterfaceId_N = None
|
|
3489
|
+
|
|
3490
|
+
def _deserialize(self, params):
|
|
3491
|
+
if params.get("DirectConnectInterfaceId.N"):
|
|
3492
|
+
self.DirectConnectInterfaceId_N = params.get("DirectConnectInterfaceId.N")
|
|
3493
|
+
|
|
3494
|
+
|
|
3495
|
+
class DeactiveFlowLogRequest(AbstractModel):
|
|
3496
|
+
"""DeactiveFlowLog请求参数结构体
|
|
3497
|
+
"""
|
|
3498
|
+
|
|
3499
|
+
def __init__(self):
|
|
3500
|
+
r"""停止流日志
|
|
3501
|
+
:param FlowLogId: 流日志的ID
|
|
3502
|
+
:type PathPrefix: String
|
|
3503
|
+
"""
|
|
3504
|
+
self.FlowLogId = None
|
|
3505
|
+
|
|
3506
|
+
def _deserialize(self, params):
|
|
3507
|
+
if params.get("FlowLogId"):
|
|
3508
|
+
self.FlowLogId = params.get("FlowLogId")
|
|
3509
|
+
|
|
3510
|
+
|
|
3511
|
+
class ActiveFlowLogRequest(AbstractModel):
|
|
3512
|
+
"""ActiveFlowLog请求参数结构体
|
|
3513
|
+
"""
|
|
3514
|
+
|
|
3515
|
+
def __init__(self):
|
|
3516
|
+
r"""启动流日志
|
|
3517
|
+
:param FlowLogId: 流日志的ID
|
|
3518
|
+
:type PathPrefix: String
|
|
3519
|
+
"""
|
|
3520
|
+
self.FlowLogId = None
|
|
3521
|
+
|
|
3522
|
+
def _deserialize(self, params):
|
|
3523
|
+
if params.get("FlowLogId"):
|
|
3524
|
+
self.FlowLogId = params.get("FlowLogId")
|
|
3525
|
+
|
|
3526
|
+
|
|
3527
|
+
class DeleteFlowLogRequest(AbstractModel):
|
|
3528
|
+
"""DeleteFlowLog请求参数结构体
|
|
3529
|
+
"""
|
|
3530
|
+
|
|
3531
|
+
def __init__(self):
|
|
3532
|
+
r"""删除流日志
|
|
3533
|
+
:param FlowLogId: 流日志的Id
|
|
3534
|
+
:type PathPrefix: String
|
|
3535
|
+
"""
|
|
3536
|
+
self.FlowLogId = None
|
|
3537
|
+
|
|
3538
|
+
def _deserialize(self, params):
|
|
3539
|
+
if params.get("FlowLogId"):
|
|
3540
|
+
self.FlowLogId = params.get("FlowLogId")
|
|
3541
|
+
|
|
3542
|
+
|
|
3543
|
+
class ModifyFlowLogRequest(AbstractModel):
|
|
3544
|
+
"""ModifyFlowLog请求参数结构体
|
|
3545
|
+
"""
|
|
3546
|
+
|
|
3547
|
+
def __init__(self):
|
|
3548
|
+
r"""修改流日志
|
|
3549
|
+
:param FlowLogId: 流日志的ID
|
|
3550
|
+
:type PathPrefix: String
|
|
3551
|
+
:param FlowLogName: 流日志的名称
|
|
3552
|
+
:type PathPrefix: String
|
|
3553
|
+
:param WindowTime: 采集窗口时间(60s~600s)
|
|
3554
|
+
:type PathPrefix: Int
|
|
3555
|
+
:param Description: 流日志描述
|
|
3556
|
+
:type PathPrefix: String
|
|
3557
|
+
"""
|
|
3558
|
+
self.FlowLogId = None
|
|
3559
|
+
self.FlowLogName = None
|
|
3560
|
+
self.WindowTime = None
|
|
3561
|
+
self.Description = None
|
|
3562
|
+
|
|
3563
|
+
def _deserialize(self, params):
|
|
3564
|
+
if params.get("FlowLogId"):
|
|
3565
|
+
self.FlowLogId = params.get("FlowLogId")
|
|
3566
|
+
if params.get("FlowLogName"):
|
|
3567
|
+
self.FlowLogName = params.get("FlowLogName")
|
|
3568
|
+
if params.get("WindowTime"):
|
|
3569
|
+
self.WindowTime = params.get("WindowTime")
|
|
3570
|
+
if params.get("Description"):
|
|
3571
|
+
self.Description = params.get("Description")
|
|
3572
|
+
|
|
3573
|
+
|
|
3574
|
+
class DescribeFlowLogsRequest(AbstractModel):
|
|
3575
|
+
"""DescribeFlowLogs请求参数结构体
|
|
3576
|
+
"""
|
|
3577
|
+
|
|
3578
|
+
def __init__(self):
|
|
3579
|
+
r"""查询流日志
|
|
3580
|
+
:param FlowLogId: 流日志的ID
|
|
3581
|
+
:type PathPrefix: Filter
|
|
3582
|
+
:param Filter: 筛选Filter
|
|
3583
|
+
:type PathPrefix: Filter
|
|
3584
|
+
:param MaxResults: 单次调用可返回的最大条目数量
|
|
3585
|
+
:type PathPrefix: Int
|
|
3586
|
+
:param NextToken: 获取另一页返回结果的 token.
|
|
3587
|
+
:type PathPrefix: String
|
|
3588
|
+
"""
|
|
3589
|
+
self.FlowLogId = None
|
|
3590
|
+
self.Filter = None
|
|
3591
|
+
self.MaxResults = None
|
|
3592
|
+
self.NextToken = None
|
|
3593
|
+
|
|
3594
|
+
def _deserialize(self, params):
|
|
3595
|
+
if params.get("FlowLogId"):
|
|
3596
|
+
self.FlowLogId = params.get("FlowLogId")
|
|
3597
|
+
if params.get("Filter"):
|
|
3598
|
+
self.Filter = params.get("Filter")
|
|
3599
|
+
if params.get("MaxResults"):
|
|
3600
|
+
self.MaxResults = params.get("MaxResults")
|
|
3601
|
+
if params.get("NextToken"):
|
|
3602
|
+
self.NextToken = params.get("NextToken")
|
|
3603
|
+
|
|
3604
|
+
|
|
3605
|
+
class CreateFlowLogRequest(AbstractModel):
|
|
3606
|
+
"""CreateFlowLog请求参数结构体
|
|
3607
|
+
"""
|
|
3608
|
+
|
|
3609
|
+
def __init__(self):
|
|
3610
|
+
r"""创建流日志
|
|
3611
|
+
:param FlowLogName: 流日志名称
|
|
3612
|
+
:type PathPrefix: String
|
|
3613
|
+
:param ResourceType: 要捕获流量的资源类型,可选值
|
|
3614
|
+
-NetworkInterface 弹性网卡
|
|
3615
|
+
:type PathPrefix: String
|
|
3616
|
+
:param ResourceId: 要捕获流量的资源 ID
|
|
3617
|
+
:type PathPrefix: String
|
|
3618
|
+
:param TrafficType: 采集的流量类型,可选值
|
|
3619
|
+
- All 全部流量
|
|
3620
|
+
:type PathPrefix: String
|
|
3621
|
+
:param ProjectName: 管理捕获到的流量的 Project 名称
|
|
3622
|
+
:type PathPrefix: String
|
|
3623
|
+
:param LogPoolName: 存储捕获到的流量的 LogPool 名称
|
|
3624
|
+
:type PathPrefix: String
|
|
3625
|
+
:param WindowTime: 采集窗口时间(60s~600s)
|
|
3626
|
+
:type PathPrefix: Int
|
|
3627
|
+
:param Description: 流日志描述
|
|
3628
|
+
:type PathPrefix: String
|
|
3629
|
+
"""
|
|
3630
|
+
self.FlowLogName = None
|
|
3631
|
+
self.ResourceType = None
|
|
3632
|
+
self.ResourceId = None
|
|
3633
|
+
self.TrafficType = None
|
|
3634
|
+
self.ProjectName = None
|
|
3635
|
+
self.LogPoolName = None
|
|
3636
|
+
self.WindowTime = None
|
|
3637
|
+
self.Description = None
|
|
3638
|
+
|
|
3639
|
+
def _deserialize(self, params):
|
|
3640
|
+
if params.get("FlowLogName"):
|
|
3641
|
+
self.FlowLogName = params.get("FlowLogName")
|
|
3642
|
+
if params.get("ResourceType"):
|
|
3643
|
+
self.ResourceType = params.get("ResourceType")
|
|
3644
|
+
if params.get("ResourceId"):
|
|
3645
|
+
self.ResourceId = params.get("ResourceId")
|
|
3646
|
+
if params.get("TrafficType"):
|
|
3647
|
+
self.TrafficType = params.get("TrafficType")
|
|
3648
|
+
if params.get("ProjectName"):
|
|
3649
|
+
self.ProjectName = params.get("ProjectName")
|
|
3650
|
+
if params.get("LogPoolName"):
|
|
3651
|
+
self.LogPoolName = params.get("LogPoolName")
|
|
3652
|
+
if params.get("WindowTime"):
|
|
3653
|
+
self.WindowTime = params.get("WindowTime")
|
|
3654
|
+
if params.get("Description"):
|
|
3655
|
+
self.Description = params.get("Description")
|
|
3656
|
+
|
|
3657
|
+
|