tencentcloud-sdk-python-vpc 3.0.1280__tar.gz → 3.0.1291__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/setup.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/tencentcloud/vpc/v20170312/models.py +73 -28
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vpc-3.0.1291/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vpc-3.0.1280/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/README.rst +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1280 → tencentcloud-sdk-python-vpc-3.0.1291}/tencentcloud_sdk_python_vpc.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-vpc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1291"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -29,6 +29,9 @@ FAILEDOPERATION_ADDRESSENIINFONOTFOUND = 'FailedOperation.AddressEniInfoNotFound
|
|
|
29
29
|
# 账户余额不足。
|
|
30
30
|
FAILEDOPERATION_BALANCEINSUFFICIENT = 'FailedOperation.BalanceInsufficient'
|
|
31
31
|
|
|
32
|
+
# 创建云联网失败. 请重试你的请求,如果问题仍然存在,请联系腾讯云客服。
|
|
33
|
+
FAILEDOPERATION_CREATECCNFAILED = 'FailedOperation.CreateCcnFailed'
|
|
34
|
+
|
|
32
35
|
# 不支持的地域。
|
|
33
36
|
FAILEDOPERATION_INVALIDREGION = 'FailedOperation.InvalidRegion'
|
|
34
37
|
|
|
@@ -812,6 +815,12 @@ UNSUPPORTEDOPERATION_CLBPOLICYLIMIT = 'UnsupportedOperation.ClbPolicyLimit'
|
|
|
812
815
|
# 与该VPC下的TKE容器的网段重叠。
|
|
813
816
|
UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = 'UnsupportedOperation.ConflictWithDockerRoute'
|
|
814
817
|
|
|
818
|
+
# 当前账号不允许创建服务质量:铜云联网。
|
|
819
|
+
UNSUPPORTEDOPERATION_COPPERCCNNOTSUPPORTEDCREATE = 'UnsupportedOperation.CopperCcnNotSupportedCreate'
|
|
820
|
+
|
|
821
|
+
# 服务质量:铜云联网仅支持创建预付费模式。
|
|
822
|
+
UNSUPPORTEDOPERATION_COPPERCCNSUPPORTEDPREPAID = 'UnsupportedOperation.CopperCcnSupportedPrepaid'
|
|
823
|
+
|
|
815
824
|
# 当前账号非联通账号。
|
|
816
825
|
UNSUPPORTEDOPERATION_CURRENTACCOUNTISNOTUNICOMACCOUNT = 'UnsupportedOperation.CurrentAccountIsNotUnicomAccount'
|
|
817
826
|
|
|
@@ -1025,6 +1034,9 @@ UNSUPPORTEDOPERATION_NOTSUPPORTZONE = 'UnsupportedOperation.NotSupportZone'
|
|
|
1025
1034
|
# 该地址类型不支持释放操作。
|
|
1026
1035
|
UNSUPPORTEDOPERATION_NOTSUPPORTEDADDRESSIPSCHARGETYPE = 'UnsupportedOperation.NotSupportedAddressIpsChargeType'
|
|
1027
1036
|
|
|
1037
|
+
# 不支持创建后付费流量计费类型云联网
|
|
1038
|
+
UNSUPPORTEDOPERATION_NOTSUPPORTEDCREATETRAFFICMETERINGTYPECCN = 'UnsupportedOperation.NotSupportedCreateTrafficMeteringTypeCcn'
|
|
1039
|
+
|
|
1028
1040
|
# 此地域没有上线出口二资源,请到北京/广州/南京购买。
|
|
1029
1041
|
UNSUPPORTEDOPERATION_NOTSUPPORTEDPURCHASECENTEREGRESSRESOURCE = 'UnsupportedOperation.NotSupportedPurchaseCenterEgressResource'
|
|
1030
1042
|
|
|
@@ -1040,6 +1052,9 @@ UNSUPPORTEDOPERATION_OFFLINECHARGETYPE = 'UnsupportedOperation.OfflineChargeType
|
|
|
1040
1052
|
# 仅支持专业版Ckafka。
|
|
1041
1053
|
UNSUPPORTEDOPERATION_ONLYSUPPORTPROFESSIONKAFKA = 'UnsupportedOperation.OnlySupportProfessionKafka'
|
|
1042
1054
|
|
|
1055
|
+
# 预付费云联网只支持带宽计量类型
|
|
1056
|
+
UNSUPPORTEDOPERATION_PREPAIDCCNONLYSUPPORTBANDWIDTHMETERING = 'UnsupportedOperation.PrepaidCcnOnlySupportBandwidthMetering'
|
|
1057
|
+
|
|
1043
1058
|
# 预付费云联网只支持地域间限速。
|
|
1044
1059
|
UNSUPPORTEDOPERATION_PREPAIDCCNONLYSUPPORTINTERREGIONLIMIT = 'UnsupportedOperation.PrepaidCcnOnlySupportInterRegionLimit'
|
|
1045
1060
|
|
|
@@ -1807,6 +1807,12 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
1807
1807
|
:type AddressName: str
|
|
1808
1808
|
:param _DedicatedClusterId: CDC唯一ID
|
|
1809
1809
|
:type DedicatedClusterId: str
|
|
1810
|
+
:param _IsDedicatedAddressPool: 是否使用独占资源池,默认值:True
|
|
1811
|
+
- True:表示使用独占资源池
|
|
1812
|
+
- False:表示使用共享资源池
|
|
1813
|
+
|
|
1814
|
+
说明:如需使用独占资源池,请 提交工单(https://console.cloud.tencent.com/workorder/category) 咨询,具体费用请咨询商务经理。
|
|
1815
|
+
:type IsDedicatedAddressPool: bool
|
|
1810
1816
|
:param _Egress: 网络出口,当前仅支持精品BGP、静态单线,这2种IP 地址类型的指定出口传入,默认值:center_egress1,其它可选值:center_egress2、center_egress3
|
|
1811
1817
|
:type Egress: str
|
|
1812
1818
|
:param _AntiDDoSPackageId: 高防包ID, 申请高防IP时,该字段必传。
|
|
@@ -1827,6 +1833,7 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
1827
1833
|
self._BandwidthPackageId = None
|
|
1828
1834
|
self._AddressName = None
|
|
1829
1835
|
self._DedicatedClusterId = None
|
|
1836
|
+
self._IsDedicatedAddressPool = None
|
|
1830
1837
|
self._Egress = None
|
|
1831
1838
|
self._AntiDDoSPackageId = None
|
|
1832
1839
|
self._ClientToken = None
|
|
@@ -1994,6 +2001,21 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
1994
2001
|
def DedicatedClusterId(self, DedicatedClusterId):
|
|
1995
2002
|
self._DedicatedClusterId = DedicatedClusterId
|
|
1996
2003
|
|
|
2004
|
+
@property
|
|
2005
|
+
def IsDedicatedAddressPool(self):
|
|
2006
|
+
"""是否使用独占资源池,默认值:True
|
|
2007
|
+
- True:表示使用独占资源池
|
|
2008
|
+
- False:表示使用共享资源池
|
|
2009
|
+
|
|
2010
|
+
说明:如需使用独占资源池,请 提交工单(https://console.cloud.tencent.com/workorder/category) 咨询,具体费用请咨询商务经理。
|
|
2011
|
+
:rtype: bool
|
|
2012
|
+
"""
|
|
2013
|
+
return self._IsDedicatedAddressPool
|
|
2014
|
+
|
|
2015
|
+
@IsDedicatedAddressPool.setter
|
|
2016
|
+
def IsDedicatedAddressPool(self, IsDedicatedAddressPool):
|
|
2017
|
+
self._IsDedicatedAddressPool = IsDedicatedAddressPool
|
|
2018
|
+
|
|
1997
2019
|
@property
|
|
1998
2020
|
def Egress(self):
|
|
1999
2021
|
"""网络出口,当前仅支持精品BGP、静态单线,这2种IP 地址类型的指定出口传入,默认值:center_egress1,其它可选值:center_egress2、center_egress3
|
|
@@ -2049,6 +2071,7 @@ AnycastEIP是否用于绑定负载均衡。
|
|
|
2049
2071
|
self._BandwidthPackageId = params.get("BandwidthPackageId")
|
|
2050
2072
|
self._AddressName = params.get("AddressName")
|
|
2051
2073
|
self._DedicatedClusterId = params.get("DedicatedClusterId")
|
|
2074
|
+
self._IsDedicatedAddressPool = params.get("IsDedicatedAddressPool")
|
|
2052
2075
|
self._Egress = params.get("Egress")
|
|
2053
2076
|
self._AntiDDoSPackageId = params.get("AntiDDoSPackageId")
|
|
2054
2077
|
self._ClientToken = params.get("ClientToken")
|
|
@@ -4977,50 +5000,36 @@ class CCN(AbstractModel):
|
|
|
4977
5000
|
:param _QosLevel: 实例服务质量,’PT’:白金,'AU':金,'AG':银。
|
|
4978
5001
|
:type QosLevel: str
|
|
4979
5002
|
:param _InstanceChargeType: 付费类型,PREPAID为预付费,POSTPAID为后付费。
|
|
4980
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4981
5003
|
:type InstanceChargeType: str
|
|
4982
5004
|
:param _BandwidthLimitType: 限速类型,`INTER_REGION_LIMIT` 为地域间限速;`OUTER_REGION_LIMIT` 为地域出口限速。
|
|
4983
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4984
5005
|
:type BandwidthLimitType: str
|
|
4985
5006
|
:param _TagSet: 标签键值对。
|
|
4986
5007
|
:type TagSet: list of Tag
|
|
4987
5008
|
:param _RoutePriorityFlag: 是否支持云联网路由优先级的功能。`False`:不支持,`True`:支持。
|
|
4988
5009
|
:type RoutePriorityFlag: bool
|
|
4989
5010
|
:param _RouteTableCount: 实例关联的路由表个数。
|
|
4990
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4991
5011
|
:type RouteTableCount: int
|
|
4992
5012
|
:param _RouteTableFlag: 是否开启云联网多路由表特性。`False`:未开启,`True`:开启。
|
|
4993
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4994
5013
|
:type RouteTableFlag: bool
|
|
4995
5014
|
:param _IsSecurityLock: `true`:实例已被封禁,流量不通,`false`:解封禁。
|
|
4996
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4997
5015
|
:type IsSecurityLock: bool
|
|
4998
5016
|
:param _RouteBroadcastPolicyFlag: 是否开启云联网路由传播策略。`False` 未开启,`True` 开启。
|
|
4999
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5000
5017
|
:type RouteBroadcastPolicyFlag: bool
|
|
5001
5018
|
:param _RouteECMPFlag: 是否开启等价路由功能。`False` 未开启,`True` 开启。
|
|
5002
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5003
5019
|
:type RouteECMPFlag: bool
|
|
5004
5020
|
:param _RouteOverlapFlag: 是否开启路由重叠功能。`False` 未开启,`True` 开启。
|
|
5005
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5006
5021
|
:type RouteOverlapFlag: bool
|
|
5007
5022
|
:param _TrafficMarkingPolicyFlag: 是否开启QOS。
|
|
5008
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5009
5023
|
:type TrafficMarkingPolicyFlag: bool
|
|
5010
5024
|
:param _RouteSelectPolicyFlag: 是否开启路由表选择策略。
|
|
5011
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5012
5025
|
:type RouteSelectPolicyFlag: bool
|
|
5013
5026
|
:param _DirectConnectAccelerateChannelFlag: 是否开启二层云联网通道。
|
|
5014
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5015
5027
|
:type DirectConnectAccelerateChannelFlag: bool
|
|
5016
5028
|
:param _Ipv6Flag: 是否支持ipv6路由表
|
|
5017
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5018
5029
|
:type Ipv6Flag: bool
|
|
5019
5030
|
:param _MrtbAggregatePolicyFlag: 是否支持路由表聚合策略
|
|
5020
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5021
5031
|
:type MrtbAggregatePolicyFlag: bool
|
|
5022
5032
|
:param _MrtbPolicyValueFlag: 是否支持策略值
|
|
5023
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5024
5033
|
:type MrtbPolicyValueFlag: bool
|
|
5025
5034
|
"""
|
|
5026
5035
|
self._CcnId = None
|
|
@@ -5127,7 +5136,6 @@ class CCN(AbstractModel):
|
|
|
5127
5136
|
@property
|
|
5128
5137
|
def InstanceChargeType(self):
|
|
5129
5138
|
"""付费类型,PREPAID为预付费,POSTPAID为后付费。
|
|
5130
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5131
5139
|
:rtype: str
|
|
5132
5140
|
"""
|
|
5133
5141
|
return self._InstanceChargeType
|
|
@@ -5139,7 +5147,6 @@ class CCN(AbstractModel):
|
|
|
5139
5147
|
@property
|
|
5140
5148
|
def BandwidthLimitType(self):
|
|
5141
5149
|
"""限速类型,`INTER_REGION_LIMIT` 为地域间限速;`OUTER_REGION_LIMIT` 为地域出口限速。
|
|
5142
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5143
5150
|
:rtype: str
|
|
5144
5151
|
"""
|
|
5145
5152
|
return self._BandwidthLimitType
|
|
@@ -5173,7 +5180,6 @@ class CCN(AbstractModel):
|
|
|
5173
5180
|
@property
|
|
5174
5181
|
def RouteTableCount(self):
|
|
5175
5182
|
"""实例关联的路由表个数。
|
|
5176
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5177
5183
|
:rtype: int
|
|
5178
5184
|
"""
|
|
5179
5185
|
return self._RouteTableCount
|
|
@@ -5185,7 +5191,6 @@ class CCN(AbstractModel):
|
|
|
5185
5191
|
@property
|
|
5186
5192
|
def RouteTableFlag(self):
|
|
5187
5193
|
"""是否开启云联网多路由表特性。`False`:未开启,`True`:开启。
|
|
5188
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5189
5194
|
:rtype: bool
|
|
5190
5195
|
"""
|
|
5191
5196
|
return self._RouteTableFlag
|
|
@@ -5197,7 +5202,6 @@ class CCN(AbstractModel):
|
|
|
5197
5202
|
@property
|
|
5198
5203
|
def IsSecurityLock(self):
|
|
5199
5204
|
"""`true`:实例已被封禁,流量不通,`false`:解封禁。
|
|
5200
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5201
5205
|
:rtype: bool
|
|
5202
5206
|
"""
|
|
5203
5207
|
return self._IsSecurityLock
|
|
@@ -5209,7 +5213,6 @@ class CCN(AbstractModel):
|
|
|
5209
5213
|
@property
|
|
5210
5214
|
def RouteBroadcastPolicyFlag(self):
|
|
5211
5215
|
"""是否开启云联网路由传播策略。`False` 未开启,`True` 开启。
|
|
5212
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5213
5216
|
:rtype: bool
|
|
5214
5217
|
"""
|
|
5215
5218
|
return self._RouteBroadcastPolicyFlag
|
|
@@ -5221,7 +5224,6 @@ class CCN(AbstractModel):
|
|
|
5221
5224
|
@property
|
|
5222
5225
|
def RouteECMPFlag(self):
|
|
5223
5226
|
"""是否开启等价路由功能。`False` 未开启,`True` 开启。
|
|
5224
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5225
5227
|
:rtype: bool
|
|
5226
5228
|
"""
|
|
5227
5229
|
return self._RouteECMPFlag
|
|
@@ -5233,7 +5235,6 @@ class CCN(AbstractModel):
|
|
|
5233
5235
|
@property
|
|
5234
5236
|
def RouteOverlapFlag(self):
|
|
5235
5237
|
"""是否开启路由重叠功能。`False` 未开启,`True` 开启。
|
|
5236
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5237
5238
|
:rtype: bool
|
|
5238
5239
|
"""
|
|
5239
5240
|
return self._RouteOverlapFlag
|
|
@@ -5245,7 +5246,6 @@ class CCN(AbstractModel):
|
|
|
5245
5246
|
@property
|
|
5246
5247
|
def TrafficMarkingPolicyFlag(self):
|
|
5247
5248
|
"""是否开启QOS。
|
|
5248
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5249
5249
|
:rtype: bool
|
|
5250
5250
|
"""
|
|
5251
5251
|
return self._TrafficMarkingPolicyFlag
|
|
@@ -5257,7 +5257,6 @@ class CCN(AbstractModel):
|
|
|
5257
5257
|
@property
|
|
5258
5258
|
def RouteSelectPolicyFlag(self):
|
|
5259
5259
|
"""是否开启路由表选择策略。
|
|
5260
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5261
5260
|
:rtype: bool
|
|
5262
5261
|
"""
|
|
5263
5262
|
return self._RouteSelectPolicyFlag
|
|
@@ -5269,7 +5268,6 @@ class CCN(AbstractModel):
|
|
|
5269
5268
|
@property
|
|
5270
5269
|
def DirectConnectAccelerateChannelFlag(self):
|
|
5271
5270
|
"""是否开启二层云联网通道。
|
|
5272
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5273
5271
|
:rtype: bool
|
|
5274
5272
|
"""
|
|
5275
5273
|
return self._DirectConnectAccelerateChannelFlag
|
|
@@ -5281,7 +5279,6 @@ class CCN(AbstractModel):
|
|
|
5281
5279
|
@property
|
|
5282
5280
|
def Ipv6Flag(self):
|
|
5283
5281
|
"""是否支持ipv6路由表
|
|
5284
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5285
5282
|
:rtype: bool
|
|
5286
5283
|
"""
|
|
5287
5284
|
return self._Ipv6Flag
|
|
@@ -5293,7 +5290,6 @@ class CCN(AbstractModel):
|
|
|
5293
5290
|
@property
|
|
5294
5291
|
def MrtbAggregatePolicyFlag(self):
|
|
5295
5292
|
"""是否支持路由表聚合策略
|
|
5296
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5297
5293
|
:rtype: bool
|
|
5298
5294
|
"""
|
|
5299
5295
|
return self._MrtbAggregatePolicyFlag
|
|
@@ -5305,7 +5301,6 @@ class CCN(AbstractModel):
|
|
|
5305
5301
|
@property
|
|
5306
5302
|
def MrtbPolicyValueFlag(self):
|
|
5307
5303
|
"""是否支持策略值
|
|
5308
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5309
5304
|
:rtype: bool
|
|
5310
5305
|
"""
|
|
5311
5306
|
return self._MrtbPolicyValueFlag
|
|
@@ -13889,8 +13884,11 @@ class CreateSnapshotPoliciesRequest(AbstractModel):
|
|
|
13889
13884
|
r"""
|
|
13890
13885
|
:param _SnapshotPolicies: 快照策略详情。
|
|
13891
13886
|
:type SnapshotPolicies: list of SnapshotPolicy
|
|
13887
|
+
:param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
13888
|
+
:type Tags: list of Tag
|
|
13892
13889
|
"""
|
|
13893
13890
|
self._SnapshotPolicies = None
|
|
13891
|
+
self._Tags = None
|
|
13894
13892
|
|
|
13895
13893
|
@property
|
|
13896
13894
|
def SnapshotPolicies(self):
|
|
@@ -13903,6 +13901,17 @@ class CreateSnapshotPoliciesRequest(AbstractModel):
|
|
|
13903
13901
|
def SnapshotPolicies(self, SnapshotPolicies):
|
|
13904
13902
|
self._SnapshotPolicies = SnapshotPolicies
|
|
13905
13903
|
|
|
13904
|
+
@property
|
|
13905
|
+
def Tags(self):
|
|
13906
|
+
"""指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
13907
|
+
:rtype: list of Tag
|
|
13908
|
+
"""
|
|
13909
|
+
return self._Tags
|
|
13910
|
+
|
|
13911
|
+
@Tags.setter
|
|
13912
|
+
def Tags(self, Tags):
|
|
13913
|
+
self._Tags = Tags
|
|
13914
|
+
|
|
13906
13915
|
|
|
13907
13916
|
def _deserialize(self, params):
|
|
13908
13917
|
if params.get("SnapshotPolicies") is not None:
|
|
@@ -13911,6 +13920,12 @@ class CreateSnapshotPoliciesRequest(AbstractModel):
|
|
|
13911
13920
|
obj = SnapshotPolicy()
|
|
13912
13921
|
obj._deserialize(item)
|
|
13913
13922
|
self._SnapshotPolicies.append(obj)
|
|
13923
|
+
if params.get("Tags") is not None:
|
|
13924
|
+
self._Tags = []
|
|
13925
|
+
for item in params.get("Tags"):
|
|
13926
|
+
obj = Tag()
|
|
13927
|
+
obj._deserialize(item)
|
|
13928
|
+
self._Tags.append(obj)
|
|
13914
13929
|
memeber_set = set(params.keys())
|
|
13915
13930
|
for name, value in vars(self).items():
|
|
13916
13931
|
property_name = name[1:]
|
|
@@ -15685,6 +15700,8 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
15685
15700
|
:type CdcId: str
|
|
15686
15701
|
:param _MaxConnection: SSL VPN连接数设置,可选规格:5, 10, 20, 50, 100, 200, 500, 1000;单位:个。仅 SSL / SSL_CCN 类型需要选这个参数。
|
|
15687
15702
|
:type MaxConnection: int
|
|
15703
|
+
:param _BgpAsn: BGP ASN。
|
|
15704
|
+
:type BgpAsn: int
|
|
15688
15705
|
"""
|
|
15689
15706
|
self._VpcId = None
|
|
15690
15707
|
self._VpnGatewayName = None
|
|
@@ -15696,6 +15713,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
15696
15713
|
self._Tags = None
|
|
15697
15714
|
self._CdcId = None
|
|
15698
15715
|
self._MaxConnection = None
|
|
15716
|
+
self._BgpAsn = None
|
|
15699
15717
|
|
|
15700
15718
|
@property
|
|
15701
15719
|
def VpcId(self):
|
|
@@ -15807,6 +15825,17 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
15807
15825
|
def MaxConnection(self, MaxConnection):
|
|
15808
15826
|
self._MaxConnection = MaxConnection
|
|
15809
15827
|
|
|
15828
|
+
@property
|
|
15829
|
+
def BgpAsn(self):
|
|
15830
|
+
"""BGP ASN。
|
|
15831
|
+
:rtype: int
|
|
15832
|
+
"""
|
|
15833
|
+
return self._BgpAsn
|
|
15834
|
+
|
|
15835
|
+
@BgpAsn.setter
|
|
15836
|
+
def BgpAsn(self, BgpAsn):
|
|
15837
|
+
self._BgpAsn = BgpAsn
|
|
15838
|
+
|
|
15810
15839
|
|
|
15811
15840
|
def _deserialize(self, params):
|
|
15812
15841
|
self._VpcId = params.get("VpcId")
|
|
@@ -15826,6 +15855,7 @@ class CreateVpnGatewayRequest(AbstractModel):
|
|
|
15826
15855
|
self._Tags.append(obj)
|
|
15827
15856
|
self._CdcId = params.get("CdcId")
|
|
15828
15857
|
self._MaxConnection = params.get("MaxConnection")
|
|
15858
|
+
self._BgpAsn = params.get("BgpAsn")
|
|
15829
15859
|
memeber_set = set(params.keys())
|
|
15830
15860
|
for name, value in vars(self).items():
|
|
15831
15861
|
property_name = name[1:]
|
|
@@ -64811,6 +64841,8 @@ class VpnGateway(AbstractModel):
|
|
|
64811
64841
|
:type CdcId: str
|
|
64812
64842
|
:param _MaxConnection: SSL-VPN 客户端连接数。
|
|
64813
64843
|
:type MaxConnection: int
|
|
64844
|
+
:param _BgpAsn: Bgp ASN
|
|
64845
|
+
:type BgpAsn: int
|
|
64814
64846
|
"""
|
|
64815
64847
|
self._VpnGatewayId = None
|
|
64816
64848
|
self._VpcId = None
|
|
@@ -64832,6 +64864,7 @@ class VpnGateway(AbstractModel):
|
|
|
64832
64864
|
self._NetworkInstanceId = None
|
|
64833
64865
|
self._CdcId = None
|
|
64834
64866
|
self._MaxConnection = None
|
|
64867
|
+
self._BgpAsn = None
|
|
64835
64868
|
|
|
64836
64869
|
@property
|
|
64837
64870
|
def VpnGatewayId(self):
|
|
@@ -65053,6 +65086,17 @@ class VpnGateway(AbstractModel):
|
|
|
65053
65086
|
def MaxConnection(self, MaxConnection):
|
|
65054
65087
|
self._MaxConnection = MaxConnection
|
|
65055
65088
|
|
|
65089
|
+
@property
|
|
65090
|
+
def BgpAsn(self):
|
|
65091
|
+
"""Bgp ASN
|
|
65092
|
+
:rtype: int
|
|
65093
|
+
"""
|
|
65094
|
+
return self._BgpAsn
|
|
65095
|
+
|
|
65096
|
+
@BgpAsn.setter
|
|
65097
|
+
def BgpAsn(self, BgpAsn):
|
|
65098
|
+
self._BgpAsn = BgpAsn
|
|
65099
|
+
|
|
65056
65100
|
|
|
65057
65101
|
def _deserialize(self, params):
|
|
65058
65102
|
self._VpnGatewayId = params.get("VpnGatewayId")
|
|
@@ -65080,6 +65124,7 @@ class VpnGateway(AbstractModel):
|
|
|
65080
65124
|
self._NetworkInstanceId = params.get("NetworkInstanceId")
|
|
65081
65125
|
self._CdcId = params.get("CdcId")
|
|
65082
65126
|
self._MaxConnection = params.get("MaxConnection")
|
|
65127
|
+
self._BgpAsn = params.get("BgpAsn")
|
|
65083
65128
|
memeber_set = set(params.keys())
|
|
65084
65129
|
for name, value in vars(self).items():
|
|
65085
65130
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1291
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1280
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|