tencentcloud-sdk-python-vpc 3.0.1288__tar.gz → 3.0.1292__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.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/setup.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- {tencentcloud-sdk-python-vpc-3.0.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/tencentcloud/vpc/v20170312/models.py +479 -28
- {tencentcloud-sdk-python-vpc-3.0.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/tencentcloud/vpc/v20170312/vpc_client.py +69 -0
- {tencentcloud-sdk-python-vpc-3.0.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vpc-3.0.1292/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vpc-3.0.1288/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vpc-3.0.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/README.rst +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1288 → tencentcloud-sdk-python-vpc-3.0.1292}/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.1292"],
|
|
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
|
|
|
@@ -5000,50 +5000,36 @@ class CCN(AbstractModel):
|
|
|
5000
5000
|
:param _QosLevel: 实例服务质量,’PT’:白金,'AU':金,'AG':银。
|
|
5001
5001
|
:type QosLevel: str
|
|
5002
5002
|
:param _InstanceChargeType: 付费类型,PREPAID为预付费,POSTPAID为后付费。
|
|
5003
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5004
5003
|
:type InstanceChargeType: str
|
|
5005
5004
|
:param _BandwidthLimitType: 限速类型,`INTER_REGION_LIMIT` 为地域间限速;`OUTER_REGION_LIMIT` 为地域出口限速。
|
|
5006
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5007
5005
|
:type BandwidthLimitType: str
|
|
5008
5006
|
:param _TagSet: 标签键值对。
|
|
5009
5007
|
:type TagSet: list of Tag
|
|
5010
5008
|
:param _RoutePriorityFlag: 是否支持云联网路由优先级的功能。`False`:不支持,`True`:支持。
|
|
5011
5009
|
:type RoutePriorityFlag: bool
|
|
5012
5010
|
:param _RouteTableCount: 实例关联的路由表个数。
|
|
5013
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5014
5011
|
:type RouteTableCount: int
|
|
5015
5012
|
:param _RouteTableFlag: 是否开启云联网多路由表特性。`False`:未开启,`True`:开启。
|
|
5016
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5017
5013
|
:type RouteTableFlag: bool
|
|
5018
5014
|
:param _IsSecurityLock: `true`:实例已被封禁,流量不通,`false`:解封禁。
|
|
5019
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5020
5015
|
:type IsSecurityLock: bool
|
|
5021
5016
|
:param _RouteBroadcastPolicyFlag: 是否开启云联网路由传播策略。`False` 未开启,`True` 开启。
|
|
5022
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5023
5017
|
:type RouteBroadcastPolicyFlag: bool
|
|
5024
5018
|
:param _RouteECMPFlag: 是否开启等价路由功能。`False` 未开启,`True` 开启。
|
|
5025
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5026
5019
|
:type RouteECMPFlag: bool
|
|
5027
5020
|
:param _RouteOverlapFlag: 是否开启路由重叠功能。`False` 未开启,`True` 开启。
|
|
5028
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5029
5021
|
:type RouteOverlapFlag: bool
|
|
5030
5022
|
:param _TrafficMarkingPolicyFlag: 是否开启QOS。
|
|
5031
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5032
5023
|
:type TrafficMarkingPolicyFlag: bool
|
|
5033
5024
|
:param _RouteSelectPolicyFlag: 是否开启路由表选择策略。
|
|
5034
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5035
5025
|
:type RouteSelectPolicyFlag: bool
|
|
5036
5026
|
:param _DirectConnectAccelerateChannelFlag: 是否开启二层云联网通道。
|
|
5037
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5038
5027
|
:type DirectConnectAccelerateChannelFlag: bool
|
|
5039
5028
|
:param _Ipv6Flag: 是否支持ipv6路由表
|
|
5040
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5041
5029
|
:type Ipv6Flag: bool
|
|
5042
5030
|
:param _MrtbAggregatePolicyFlag: 是否支持路由表聚合策略
|
|
5043
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5044
5031
|
:type MrtbAggregatePolicyFlag: bool
|
|
5045
5032
|
:param _MrtbPolicyValueFlag: 是否支持策略值
|
|
5046
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5047
5033
|
:type MrtbPolicyValueFlag: bool
|
|
5048
5034
|
"""
|
|
5049
5035
|
self._CcnId = None
|
|
@@ -5150,7 +5136,6 @@ class CCN(AbstractModel):
|
|
|
5150
5136
|
@property
|
|
5151
5137
|
def InstanceChargeType(self):
|
|
5152
5138
|
"""付费类型,PREPAID为预付费,POSTPAID为后付费。
|
|
5153
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5154
5139
|
:rtype: str
|
|
5155
5140
|
"""
|
|
5156
5141
|
return self._InstanceChargeType
|
|
@@ -5162,7 +5147,6 @@ class CCN(AbstractModel):
|
|
|
5162
5147
|
@property
|
|
5163
5148
|
def BandwidthLimitType(self):
|
|
5164
5149
|
"""限速类型,`INTER_REGION_LIMIT` 为地域间限速;`OUTER_REGION_LIMIT` 为地域出口限速。
|
|
5165
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5166
5150
|
:rtype: str
|
|
5167
5151
|
"""
|
|
5168
5152
|
return self._BandwidthLimitType
|
|
@@ -5196,7 +5180,6 @@ class CCN(AbstractModel):
|
|
|
5196
5180
|
@property
|
|
5197
5181
|
def RouteTableCount(self):
|
|
5198
5182
|
"""实例关联的路由表个数。
|
|
5199
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5200
5183
|
:rtype: int
|
|
5201
5184
|
"""
|
|
5202
5185
|
return self._RouteTableCount
|
|
@@ -5208,7 +5191,6 @@ class CCN(AbstractModel):
|
|
|
5208
5191
|
@property
|
|
5209
5192
|
def RouteTableFlag(self):
|
|
5210
5193
|
"""是否开启云联网多路由表特性。`False`:未开启,`True`:开启。
|
|
5211
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5212
5194
|
:rtype: bool
|
|
5213
5195
|
"""
|
|
5214
5196
|
return self._RouteTableFlag
|
|
@@ -5220,7 +5202,6 @@ class CCN(AbstractModel):
|
|
|
5220
5202
|
@property
|
|
5221
5203
|
def IsSecurityLock(self):
|
|
5222
5204
|
"""`true`:实例已被封禁,流量不通,`false`:解封禁。
|
|
5223
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5224
5205
|
:rtype: bool
|
|
5225
5206
|
"""
|
|
5226
5207
|
return self._IsSecurityLock
|
|
@@ -5232,7 +5213,6 @@ class CCN(AbstractModel):
|
|
|
5232
5213
|
@property
|
|
5233
5214
|
def RouteBroadcastPolicyFlag(self):
|
|
5234
5215
|
"""是否开启云联网路由传播策略。`False` 未开启,`True` 开启。
|
|
5235
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5236
5216
|
:rtype: bool
|
|
5237
5217
|
"""
|
|
5238
5218
|
return self._RouteBroadcastPolicyFlag
|
|
@@ -5244,7 +5224,6 @@ class CCN(AbstractModel):
|
|
|
5244
5224
|
@property
|
|
5245
5225
|
def RouteECMPFlag(self):
|
|
5246
5226
|
"""是否开启等价路由功能。`False` 未开启,`True` 开启。
|
|
5247
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5248
5227
|
:rtype: bool
|
|
5249
5228
|
"""
|
|
5250
5229
|
return self._RouteECMPFlag
|
|
@@ -5256,7 +5235,6 @@ class CCN(AbstractModel):
|
|
|
5256
5235
|
@property
|
|
5257
5236
|
def RouteOverlapFlag(self):
|
|
5258
5237
|
"""是否开启路由重叠功能。`False` 未开启,`True` 开启。
|
|
5259
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5260
5238
|
:rtype: bool
|
|
5261
5239
|
"""
|
|
5262
5240
|
return self._RouteOverlapFlag
|
|
@@ -5268,7 +5246,6 @@ class CCN(AbstractModel):
|
|
|
5268
5246
|
@property
|
|
5269
5247
|
def TrafficMarkingPolicyFlag(self):
|
|
5270
5248
|
"""是否开启QOS。
|
|
5271
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5272
5249
|
:rtype: bool
|
|
5273
5250
|
"""
|
|
5274
5251
|
return self._TrafficMarkingPolicyFlag
|
|
@@ -5280,7 +5257,6 @@ class CCN(AbstractModel):
|
|
|
5280
5257
|
@property
|
|
5281
5258
|
def RouteSelectPolicyFlag(self):
|
|
5282
5259
|
"""是否开启路由表选择策略。
|
|
5283
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5284
5260
|
:rtype: bool
|
|
5285
5261
|
"""
|
|
5286
5262
|
return self._RouteSelectPolicyFlag
|
|
@@ -5292,7 +5268,6 @@ class CCN(AbstractModel):
|
|
|
5292
5268
|
@property
|
|
5293
5269
|
def DirectConnectAccelerateChannelFlag(self):
|
|
5294
5270
|
"""是否开启二层云联网通道。
|
|
5295
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5296
5271
|
:rtype: bool
|
|
5297
5272
|
"""
|
|
5298
5273
|
return self._DirectConnectAccelerateChannelFlag
|
|
@@ -5304,7 +5279,6 @@ class CCN(AbstractModel):
|
|
|
5304
5279
|
@property
|
|
5305
5280
|
def Ipv6Flag(self):
|
|
5306
5281
|
"""是否支持ipv6路由表
|
|
5307
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5308
5282
|
:rtype: bool
|
|
5309
5283
|
"""
|
|
5310
5284
|
return self._Ipv6Flag
|
|
@@ -5316,7 +5290,6 @@ class CCN(AbstractModel):
|
|
|
5316
5290
|
@property
|
|
5317
5291
|
def MrtbAggregatePolicyFlag(self):
|
|
5318
5292
|
"""是否支持路由表聚合策略
|
|
5319
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5320
5293
|
:rtype: bool
|
|
5321
5294
|
"""
|
|
5322
5295
|
return self._MrtbAggregatePolicyFlag
|
|
@@ -5328,7 +5301,6 @@ class CCN(AbstractModel):
|
|
|
5328
5301
|
@property
|
|
5329
5302
|
def MrtbPolicyValueFlag(self):
|
|
5330
5303
|
"""是否支持策略值
|
|
5331
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5332
5304
|
:rtype: bool
|
|
5333
5305
|
"""
|
|
5334
5306
|
return self._MrtbPolicyValueFlag
|
|
@@ -42116,6 +42088,168 @@ class InquirePriceCreateDirectConnectGatewayResponse(AbstractModel):
|
|
|
42116
42088
|
self._RequestId = params.get("RequestId")
|
|
42117
42089
|
|
|
42118
42090
|
|
|
42091
|
+
class InquiryPriceAllocateAddressesRequest(AbstractModel):
|
|
42092
|
+
"""InquiryPriceAllocateAddresses请求参数结构体
|
|
42093
|
+
|
|
42094
|
+
"""
|
|
42095
|
+
|
|
42096
|
+
def __init__(self):
|
|
42097
|
+
r"""
|
|
42098
|
+
:param _InternetChargeType: EIP计费方式。
|
|
42099
|
+
<ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
|
|
42100
|
+
<li>BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费</li>
|
|
42101
|
+
<li>BANDWIDTH_PREPAID_BY_MONTH:包月按带宽预付费</li>
|
|
42102
|
+
<li>TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费</li></ul>默认值:TRAFFIC_POSTPAID_BY_HOUR。</li>
|
|
42103
|
+
</ul>
|
|
42104
|
+
:type InternetChargeType: str
|
|
42105
|
+
:param _InternetMaxBandwidthOut: EIP出带宽上限,单位:Mbps。
|
|
42106
|
+
<ul style="margin:0"><li>账号为标准账户类型的用户,可选值范围取决于EIP计费方式:<ul>
|
|
42107
|
+
<li>BANDWIDTH_POSTPAID_BY_HOUR:1 Mbps 至 100 Mbps</li>
|
|
42108
|
+
<li>BANDWIDTH_PREPAID_BY_MONTH:1 Mbps 至 200 Mbps</li>
|
|
42109
|
+
<li>TRAFFIC_POSTPAID_BY_HOUR:1 Mbps 至 100 Mbps</li></ul>默认值:1 Mbps。</li>
|
|
42110
|
+
<li>账号为传统账户类型的用户,EIP出带宽上限取决于与其绑定的实例的公网出带宽上限,无需传递此参数。</li></ul>
|
|
42111
|
+
:type InternetMaxBandwidthOut: int
|
|
42112
|
+
:param _AddressChargePrepaid: 包月按带宽预付费EIP的计费参数。EIP为包月按带宽预付费时,该参数必传,其余场景不需传递
|
|
42113
|
+
:type AddressChargePrepaid: :class:`tencentcloud.vpc.v20170312.models.AddressChargePrepaid`
|
|
42114
|
+
:param _AddressType: EIP类型。默认值:EIP。
|
|
42115
|
+
|
|
42116
|
+
<ul style="margin:0"><li>精品IP,可选值:<ul><li>HighQualityEIP:精品IP</li></ul>注意:仅部分地域支持精品IP。</li></ul><ul style="margin:0">
|
|
42117
|
+
<li>高防IP,可选值:<ul>
|
|
42118
|
+
<li>AntiDDoSEIP:高防IP</li>
|
|
42119
|
+
</ul>
|
|
42120
|
+
</li>
|
|
42121
|
+
</ul>
|
|
42122
|
+
:type AddressType: str
|
|
42123
|
+
"""
|
|
42124
|
+
self._InternetChargeType = None
|
|
42125
|
+
self._InternetMaxBandwidthOut = None
|
|
42126
|
+
self._AddressChargePrepaid = None
|
|
42127
|
+
self._AddressType = None
|
|
42128
|
+
|
|
42129
|
+
@property
|
|
42130
|
+
def InternetChargeType(self):
|
|
42131
|
+
"""EIP计费方式。
|
|
42132
|
+
<ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
|
|
42133
|
+
<li>BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费</li>
|
|
42134
|
+
<li>BANDWIDTH_PREPAID_BY_MONTH:包月按带宽预付费</li>
|
|
42135
|
+
<li>TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费</li></ul>默认值:TRAFFIC_POSTPAID_BY_HOUR。</li>
|
|
42136
|
+
</ul>
|
|
42137
|
+
:rtype: str
|
|
42138
|
+
"""
|
|
42139
|
+
return self._InternetChargeType
|
|
42140
|
+
|
|
42141
|
+
@InternetChargeType.setter
|
|
42142
|
+
def InternetChargeType(self, InternetChargeType):
|
|
42143
|
+
self._InternetChargeType = InternetChargeType
|
|
42144
|
+
|
|
42145
|
+
@property
|
|
42146
|
+
def InternetMaxBandwidthOut(self):
|
|
42147
|
+
"""EIP出带宽上限,单位:Mbps。
|
|
42148
|
+
<ul style="margin:0"><li>账号为标准账户类型的用户,可选值范围取决于EIP计费方式:<ul>
|
|
42149
|
+
<li>BANDWIDTH_POSTPAID_BY_HOUR:1 Mbps 至 100 Mbps</li>
|
|
42150
|
+
<li>BANDWIDTH_PREPAID_BY_MONTH:1 Mbps 至 200 Mbps</li>
|
|
42151
|
+
<li>TRAFFIC_POSTPAID_BY_HOUR:1 Mbps 至 100 Mbps</li></ul>默认值:1 Mbps。</li>
|
|
42152
|
+
<li>账号为传统账户类型的用户,EIP出带宽上限取决于与其绑定的实例的公网出带宽上限,无需传递此参数。</li></ul>
|
|
42153
|
+
:rtype: int
|
|
42154
|
+
"""
|
|
42155
|
+
return self._InternetMaxBandwidthOut
|
|
42156
|
+
|
|
42157
|
+
@InternetMaxBandwidthOut.setter
|
|
42158
|
+
def InternetMaxBandwidthOut(self, InternetMaxBandwidthOut):
|
|
42159
|
+
self._InternetMaxBandwidthOut = InternetMaxBandwidthOut
|
|
42160
|
+
|
|
42161
|
+
@property
|
|
42162
|
+
def AddressChargePrepaid(self):
|
|
42163
|
+
"""包月按带宽预付费EIP的计费参数。EIP为包月按带宽预付费时,该参数必传,其余场景不需传递
|
|
42164
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.AddressChargePrepaid`
|
|
42165
|
+
"""
|
|
42166
|
+
return self._AddressChargePrepaid
|
|
42167
|
+
|
|
42168
|
+
@AddressChargePrepaid.setter
|
|
42169
|
+
def AddressChargePrepaid(self, AddressChargePrepaid):
|
|
42170
|
+
self._AddressChargePrepaid = AddressChargePrepaid
|
|
42171
|
+
|
|
42172
|
+
@property
|
|
42173
|
+
def AddressType(self):
|
|
42174
|
+
"""EIP类型。默认值:EIP。
|
|
42175
|
+
|
|
42176
|
+
<ul style="margin:0"><li>精品IP,可选值:<ul><li>HighQualityEIP:精品IP</li></ul>注意:仅部分地域支持精品IP。</li></ul><ul style="margin:0">
|
|
42177
|
+
<li>高防IP,可选值:<ul>
|
|
42178
|
+
<li>AntiDDoSEIP:高防IP</li>
|
|
42179
|
+
</ul>
|
|
42180
|
+
</li>
|
|
42181
|
+
</ul>
|
|
42182
|
+
:rtype: str
|
|
42183
|
+
"""
|
|
42184
|
+
return self._AddressType
|
|
42185
|
+
|
|
42186
|
+
@AddressType.setter
|
|
42187
|
+
def AddressType(self, AddressType):
|
|
42188
|
+
self._AddressType = AddressType
|
|
42189
|
+
|
|
42190
|
+
|
|
42191
|
+
def _deserialize(self, params):
|
|
42192
|
+
self._InternetChargeType = params.get("InternetChargeType")
|
|
42193
|
+
self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
|
|
42194
|
+
if params.get("AddressChargePrepaid") is not None:
|
|
42195
|
+
self._AddressChargePrepaid = AddressChargePrepaid()
|
|
42196
|
+
self._AddressChargePrepaid._deserialize(params.get("AddressChargePrepaid"))
|
|
42197
|
+
self._AddressType = params.get("AddressType")
|
|
42198
|
+
memeber_set = set(params.keys())
|
|
42199
|
+
for name, value in vars(self).items():
|
|
42200
|
+
property_name = name[1:]
|
|
42201
|
+
if property_name in memeber_set:
|
|
42202
|
+
memeber_set.remove(property_name)
|
|
42203
|
+
if len(memeber_set) > 0:
|
|
42204
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42205
|
+
|
|
42206
|
+
|
|
42207
|
+
|
|
42208
|
+
class InquiryPriceAllocateAddressesResponse(AbstractModel):
|
|
42209
|
+
"""InquiryPriceAllocateAddresses返回参数结构体
|
|
42210
|
+
|
|
42211
|
+
"""
|
|
42212
|
+
|
|
42213
|
+
def __init__(self):
|
|
42214
|
+
r"""
|
|
42215
|
+
:param _Price: 弹性公网IP价格
|
|
42216
|
+
:type Price: :class:`tencentcloud.vpc.v20170312.models.InternetPrice`
|
|
42217
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
42218
|
+
:type RequestId: str
|
|
42219
|
+
"""
|
|
42220
|
+
self._Price = None
|
|
42221
|
+
self._RequestId = None
|
|
42222
|
+
|
|
42223
|
+
@property
|
|
42224
|
+
def Price(self):
|
|
42225
|
+
"""弹性公网IP价格
|
|
42226
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.InternetPrice`
|
|
42227
|
+
"""
|
|
42228
|
+
return self._Price
|
|
42229
|
+
|
|
42230
|
+
@Price.setter
|
|
42231
|
+
def Price(self, Price):
|
|
42232
|
+
self._Price = Price
|
|
42233
|
+
|
|
42234
|
+
@property
|
|
42235
|
+
def RequestId(self):
|
|
42236
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
42237
|
+
:rtype: str
|
|
42238
|
+
"""
|
|
42239
|
+
return self._RequestId
|
|
42240
|
+
|
|
42241
|
+
@RequestId.setter
|
|
42242
|
+
def RequestId(self, RequestId):
|
|
42243
|
+
self._RequestId = RequestId
|
|
42244
|
+
|
|
42245
|
+
|
|
42246
|
+
def _deserialize(self, params):
|
|
42247
|
+
if params.get("Price") is not None:
|
|
42248
|
+
self._Price = InternetPrice()
|
|
42249
|
+
self._Price._deserialize(params.get("Price"))
|
|
42250
|
+
self._RequestId = params.get("RequestId")
|
|
42251
|
+
|
|
42252
|
+
|
|
42119
42253
|
class InquiryPriceCreateVpnGatewayRequest(AbstractModel):
|
|
42120
42254
|
"""InquiryPriceCreateVpnGateway请求参数结构体
|
|
42121
42255
|
|
|
@@ -42259,6 +42393,200 @@ class InquiryPriceCreateVpnGatewayResponse(AbstractModel):
|
|
|
42259
42393
|
self._RequestId = params.get("RequestId")
|
|
42260
42394
|
|
|
42261
42395
|
|
|
42396
|
+
class InquiryPriceModifyAddressesBandwidthRequest(AbstractModel):
|
|
42397
|
+
"""InquiryPriceModifyAddressesBandwidth请求参数结构体
|
|
42398
|
+
|
|
42399
|
+
"""
|
|
42400
|
+
|
|
42401
|
+
def __init__(self):
|
|
42402
|
+
r"""
|
|
42403
|
+
:param _AddressIds: EIP唯一ID
|
|
42404
|
+
:type AddressIds: list of str
|
|
42405
|
+
:param _InternetMaxBandwidthOut: 新带宽值
|
|
42406
|
+
:type InternetMaxBandwidthOut: int
|
|
42407
|
+
"""
|
|
42408
|
+
self._AddressIds = None
|
|
42409
|
+
self._InternetMaxBandwidthOut = None
|
|
42410
|
+
|
|
42411
|
+
@property
|
|
42412
|
+
def AddressIds(self):
|
|
42413
|
+
"""EIP唯一ID
|
|
42414
|
+
:rtype: list of str
|
|
42415
|
+
"""
|
|
42416
|
+
return self._AddressIds
|
|
42417
|
+
|
|
42418
|
+
@AddressIds.setter
|
|
42419
|
+
def AddressIds(self, AddressIds):
|
|
42420
|
+
self._AddressIds = AddressIds
|
|
42421
|
+
|
|
42422
|
+
@property
|
|
42423
|
+
def InternetMaxBandwidthOut(self):
|
|
42424
|
+
"""新带宽值
|
|
42425
|
+
:rtype: int
|
|
42426
|
+
"""
|
|
42427
|
+
return self._InternetMaxBandwidthOut
|
|
42428
|
+
|
|
42429
|
+
@InternetMaxBandwidthOut.setter
|
|
42430
|
+
def InternetMaxBandwidthOut(self, InternetMaxBandwidthOut):
|
|
42431
|
+
self._InternetMaxBandwidthOut = InternetMaxBandwidthOut
|
|
42432
|
+
|
|
42433
|
+
|
|
42434
|
+
def _deserialize(self, params):
|
|
42435
|
+
self._AddressIds = params.get("AddressIds")
|
|
42436
|
+
self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
|
|
42437
|
+
memeber_set = set(params.keys())
|
|
42438
|
+
for name, value in vars(self).items():
|
|
42439
|
+
property_name = name[1:]
|
|
42440
|
+
if property_name in memeber_set:
|
|
42441
|
+
memeber_set.remove(property_name)
|
|
42442
|
+
if len(memeber_set) > 0:
|
|
42443
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42444
|
+
|
|
42445
|
+
|
|
42446
|
+
|
|
42447
|
+
class InquiryPriceModifyAddressesBandwidthResponse(AbstractModel):
|
|
42448
|
+
"""InquiryPriceModifyAddressesBandwidth返回参数结构体
|
|
42449
|
+
|
|
42450
|
+
"""
|
|
42451
|
+
|
|
42452
|
+
def __init__(self):
|
|
42453
|
+
r"""
|
|
42454
|
+
:param _Price: 弹性公网IP调整带宽询价结果
|
|
42455
|
+
:type Price: :class:`tencentcloud.vpc.v20170312.models.InternetPrice`
|
|
42456
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
42457
|
+
:type RequestId: str
|
|
42458
|
+
"""
|
|
42459
|
+
self._Price = None
|
|
42460
|
+
self._RequestId = None
|
|
42461
|
+
|
|
42462
|
+
@property
|
|
42463
|
+
def Price(self):
|
|
42464
|
+
"""弹性公网IP调整带宽询价结果
|
|
42465
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.InternetPrice`
|
|
42466
|
+
"""
|
|
42467
|
+
return self._Price
|
|
42468
|
+
|
|
42469
|
+
@Price.setter
|
|
42470
|
+
def Price(self, Price):
|
|
42471
|
+
self._Price = Price
|
|
42472
|
+
|
|
42473
|
+
@property
|
|
42474
|
+
def RequestId(self):
|
|
42475
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
42476
|
+
:rtype: str
|
|
42477
|
+
"""
|
|
42478
|
+
return self._RequestId
|
|
42479
|
+
|
|
42480
|
+
@RequestId.setter
|
|
42481
|
+
def RequestId(self, RequestId):
|
|
42482
|
+
self._RequestId = RequestId
|
|
42483
|
+
|
|
42484
|
+
|
|
42485
|
+
def _deserialize(self, params):
|
|
42486
|
+
if params.get("Price") is not None:
|
|
42487
|
+
self._Price = InternetPrice()
|
|
42488
|
+
self._Price._deserialize(params.get("Price"))
|
|
42489
|
+
self._RequestId = params.get("RequestId")
|
|
42490
|
+
|
|
42491
|
+
|
|
42492
|
+
class InquiryPriceRenewAddressesRequest(AbstractModel):
|
|
42493
|
+
"""InquiryPriceRenewAddresses请求参数结构体
|
|
42494
|
+
|
|
42495
|
+
"""
|
|
42496
|
+
|
|
42497
|
+
def __init__(self):
|
|
42498
|
+
r"""
|
|
42499
|
+
:param _AddressIds: 续费资源实例ID。
|
|
42500
|
+
:type AddressIds: list of str
|
|
42501
|
+
:param _AddressChargePrepaid: 包月按带宽预付费EIP的计费参数。EIP为包月按带宽预付费时,该参数必传,其余场景不需传递。
|
|
42502
|
+
:type AddressChargePrepaid: :class:`tencentcloud.vpc.v20170312.models.AddressChargePrepaid`
|
|
42503
|
+
"""
|
|
42504
|
+
self._AddressIds = None
|
|
42505
|
+
self._AddressChargePrepaid = None
|
|
42506
|
+
|
|
42507
|
+
@property
|
|
42508
|
+
def AddressIds(self):
|
|
42509
|
+
"""续费资源实例ID。
|
|
42510
|
+
:rtype: list of str
|
|
42511
|
+
"""
|
|
42512
|
+
return self._AddressIds
|
|
42513
|
+
|
|
42514
|
+
@AddressIds.setter
|
|
42515
|
+
def AddressIds(self, AddressIds):
|
|
42516
|
+
self._AddressIds = AddressIds
|
|
42517
|
+
|
|
42518
|
+
@property
|
|
42519
|
+
def AddressChargePrepaid(self):
|
|
42520
|
+
"""包月按带宽预付费EIP的计费参数。EIP为包月按带宽预付费时,该参数必传,其余场景不需传递。
|
|
42521
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.AddressChargePrepaid`
|
|
42522
|
+
"""
|
|
42523
|
+
return self._AddressChargePrepaid
|
|
42524
|
+
|
|
42525
|
+
@AddressChargePrepaid.setter
|
|
42526
|
+
def AddressChargePrepaid(self, AddressChargePrepaid):
|
|
42527
|
+
self._AddressChargePrepaid = AddressChargePrepaid
|
|
42528
|
+
|
|
42529
|
+
|
|
42530
|
+
def _deserialize(self, params):
|
|
42531
|
+
self._AddressIds = params.get("AddressIds")
|
|
42532
|
+
if params.get("AddressChargePrepaid") is not None:
|
|
42533
|
+
self._AddressChargePrepaid = AddressChargePrepaid()
|
|
42534
|
+
self._AddressChargePrepaid._deserialize(params.get("AddressChargePrepaid"))
|
|
42535
|
+
memeber_set = set(params.keys())
|
|
42536
|
+
for name, value in vars(self).items():
|
|
42537
|
+
property_name = name[1:]
|
|
42538
|
+
if property_name in memeber_set:
|
|
42539
|
+
memeber_set.remove(property_name)
|
|
42540
|
+
if len(memeber_set) > 0:
|
|
42541
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42542
|
+
|
|
42543
|
+
|
|
42544
|
+
|
|
42545
|
+
class InquiryPriceRenewAddressesResponse(AbstractModel):
|
|
42546
|
+
"""InquiryPriceRenewAddresses返回参数结构体
|
|
42547
|
+
|
|
42548
|
+
"""
|
|
42549
|
+
|
|
42550
|
+
def __init__(self):
|
|
42551
|
+
r"""
|
|
42552
|
+
:param _Price: 弹性公网IP续费价格。
|
|
42553
|
+
:type Price: :class:`tencentcloud.vpc.v20170312.models.InternetPrice`
|
|
42554
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
42555
|
+
:type RequestId: str
|
|
42556
|
+
"""
|
|
42557
|
+
self._Price = None
|
|
42558
|
+
self._RequestId = None
|
|
42559
|
+
|
|
42560
|
+
@property
|
|
42561
|
+
def Price(self):
|
|
42562
|
+
"""弹性公网IP续费价格。
|
|
42563
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.InternetPrice`
|
|
42564
|
+
"""
|
|
42565
|
+
return self._Price
|
|
42566
|
+
|
|
42567
|
+
@Price.setter
|
|
42568
|
+
def Price(self, Price):
|
|
42569
|
+
self._Price = Price
|
|
42570
|
+
|
|
42571
|
+
@property
|
|
42572
|
+
def RequestId(self):
|
|
42573
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
42574
|
+
:rtype: str
|
|
42575
|
+
"""
|
|
42576
|
+
return self._RequestId
|
|
42577
|
+
|
|
42578
|
+
@RequestId.setter
|
|
42579
|
+
def RequestId(self, RequestId):
|
|
42580
|
+
self._RequestId = RequestId
|
|
42581
|
+
|
|
42582
|
+
|
|
42583
|
+
def _deserialize(self, params):
|
|
42584
|
+
if params.get("Price") is not None:
|
|
42585
|
+
self._Price = InternetPrice()
|
|
42586
|
+
self._Price._deserialize(params.get("Price"))
|
|
42587
|
+
self._RequestId = params.get("RequestId")
|
|
42588
|
+
|
|
42589
|
+
|
|
42262
42590
|
class InquiryPriceRenewVpnGatewayRequest(AbstractModel):
|
|
42263
42591
|
"""InquiryPriceRenewVpnGateway请求参数结构体
|
|
42264
42592
|
|
|
@@ -42729,6 +43057,129 @@ class InstanceStatistic(AbstractModel):
|
|
|
42729
43057
|
|
|
42730
43058
|
|
|
42731
43059
|
|
|
43060
|
+
class InternetPrice(AbstractModel):
|
|
43061
|
+
"""公网询价出参
|
|
43062
|
+
|
|
43063
|
+
"""
|
|
43064
|
+
|
|
43065
|
+
def __init__(self):
|
|
43066
|
+
r"""
|
|
43067
|
+
:param _AddressPrice: 公网IP询价详细参数。
|
|
43068
|
+
:type AddressPrice: :class:`tencentcloud.vpc.v20170312.models.InternetPriceDetail`
|
|
43069
|
+
"""
|
|
43070
|
+
self._AddressPrice = None
|
|
43071
|
+
|
|
43072
|
+
@property
|
|
43073
|
+
def AddressPrice(self):
|
|
43074
|
+
"""公网IP询价详细参数。
|
|
43075
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.InternetPriceDetail`
|
|
43076
|
+
"""
|
|
43077
|
+
return self._AddressPrice
|
|
43078
|
+
|
|
43079
|
+
@AddressPrice.setter
|
|
43080
|
+
def AddressPrice(self, AddressPrice):
|
|
43081
|
+
self._AddressPrice = AddressPrice
|
|
43082
|
+
|
|
43083
|
+
|
|
43084
|
+
def _deserialize(self, params):
|
|
43085
|
+
if params.get("AddressPrice") is not None:
|
|
43086
|
+
self._AddressPrice = InternetPriceDetail()
|
|
43087
|
+
self._AddressPrice._deserialize(params.get("AddressPrice"))
|
|
43088
|
+
memeber_set = set(params.keys())
|
|
43089
|
+
for name, value in vars(self).items():
|
|
43090
|
+
property_name = name[1:]
|
|
43091
|
+
if property_name in memeber_set:
|
|
43092
|
+
memeber_set.remove(property_name)
|
|
43093
|
+
if len(memeber_set) > 0:
|
|
43094
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
43095
|
+
|
|
43096
|
+
|
|
43097
|
+
|
|
43098
|
+
class InternetPriceDetail(AbstractModel):
|
|
43099
|
+
"""公网IP询价出参
|
|
43100
|
+
|
|
43101
|
+
"""
|
|
43102
|
+
|
|
43103
|
+
def __init__(self):
|
|
43104
|
+
r"""
|
|
43105
|
+
:param _UnitPrice: 付费单价,单位:元,仅后付费价格查询返回。
|
|
43106
|
+
:type UnitPrice: float
|
|
43107
|
+
:param _DiscountPrice: 折扣后的价格,单位:元。
|
|
43108
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
43109
|
+
:type DiscountPrice: float
|
|
43110
|
+
:param _ChargeUnit: 计价单元,可取值范围:<ul> <li>HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:流量按小时后付费(TRAFFIC_POSTPAID_BY_HOUR)、带宽按小时后付费(BANDWIDTH_POSTPAID_BY_HOUR)。</li></ul>
|
|
43111
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
43112
|
+
:type ChargeUnit: str
|
|
43113
|
+
:param _OriginalPrice: 原价,单位:元,仅预付费价格查询返回。
|
|
43114
|
+
:type OriginalPrice: float
|
|
43115
|
+
"""
|
|
43116
|
+
self._UnitPrice = None
|
|
43117
|
+
self._DiscountPrice = None
|
|
43118
|
+
self._ChargeUnit = None
|
|
43119
|
+
self._OriginalPrice = None
|
|
43120
|
+
|
|
43121
|
+
@property
|
|
43122
|
+
def UnitPrice(self):
|
|
43123
|
+
"""付费单价,单位:元,仅后付费价格查询返回。
|
|
43124
|
+
:rtype: float
|
|
43125
|
+
"""
|
|
43126
|
+
return self._UnitPrice
|
|
43127
|
+
|
|
43128
|
+
@UnitPrice.setter
|
|
43129
|
+
def UnitPrice(self, UnitPrice):
|
|
43130
|
+
self._UnitPrice = UnitPrice
|
|
43131
|
+
|
|
43132
|
+
@property
|
|
43133
|
+
def DiscountPrice(self):
|
|
43134
|
+
"""折扣后的价格,单位:元。
|
|
43135
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
43136
|
+
:rtype: float
|
|
43137
|
+
"""
|
|
43138
|
+
return self._DiscountPrice
|
|
43139
|
+
|
|
43140
|
+
@DiscountPrice.setter
|
|
43141
|
+
def DiscountPrice(self, DiscountPrice):
|
|
43142
|
+
self._DiscountPrice = DiscountPrice
|
|
43143
|
+
|
|
43144
|
+
@property
|
|
43145
|
+
def ChargeUnit(self):
|
|
43146
|
+
"""计价单元,可取值范围:<ul> <li>HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:流量按小时后付费(TRAFFIC_POSTPAID_BY_HOUR)、带宽按小时后付费(BANDWIDTH_POSTPAID_BY_HOUR)。</li></ul>
|
|
43147
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
43148
|
+
:rtype: str
|
|
43149
|
+
"""
|
|
43150
|
+
return self._ChargeUnit
|
|
43151
|
+
|
|
43152
|
+
@ChargeUnit.setter
|
|
43153
|
+
def ChargeUnit(self, ChargeUnit):
|
|
43154
|
+
self._ChargeUnit = ChargeUnit
|
|
43155
|
+
|
|
43156
|
+
@property
|
|
43157
|
+
def OriginalPrice(self):
|
|
43158
|
+
"""原价,单位:元,仅预付费价格查询返回。
|
|
43159
|
+
:rtype: float
|
|
43160
|
+
"""
|
|
43161
|
+
return self._OriginalPrice
|
|
43162
|
+
|
|
43163
|
+
@OriginalPrice.setter
|
|
43164
|
+
def OriginalPrice(self, OriginalPrice):
|
|
43165
|
+
self._OriginalPrice = OriginalPrice
|
|
43166
|
+
|
|
43167
|
+
|
|
43168
|
+
def _deserialize(self, params):
|
|
43169
|
+
self._UnitPrice = params.get("UnitPrice")
|
|
43170
|
+
self._DiscountPrice = params.get("DiscountPrice")
|
|
43171
|
+
self._ChargeUnit = params.get("ChargeUnit")
|
|
43172
|
+
self._OriginalPrice = params.get("OriginalPrice")
|
|
43173
|
+
memeber_set = set(params.keys())
|
|
43174
|
+
for name, value in vars(self).items():
|
|
43175
|
+
property_name = name[1:]
|
|
43176
|
+
if property_name in memeber_set:
|
|
43177
|
+
memeber_set.remove(property_name)
|
|
43178
|
+
if len(memeber_set) > 0:
|
|
43179
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
43180
|
+
|
|
43181
|
+
|
|
43182
|
+
|
|
42732
43183
|
class Ip6Rule(AbstractModel):
|
|
42733
43184
|
"""IPV6转换规则
|
|
42734
43185
|
|
|
@@ -6544,6 +6544,29 @@ class VpcClient(AbstractClient):
|
|
|
6544
6544
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6545
6545
|
|
|
6546
6546
|
|
|
6547
|
+
def InquiryPriceAllocateAddresses(self, request):
|
|
6548
|
+
"""本接口(InquiryPriceAllocateAddresses)用于新购弹性公网IP询价。
|
|
6549
|
+
|
|
6550
|
+
:param request: Request instance for InquiryPriceAllocateAddresses.
|
|
6551
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.InquiryPriceAllocateAddressesRequest`
|
|
6552
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.InquiryPriceAllocateAddressesResponse`
|
|
6553
|
+
|
|
6554
|
+
"""
|
|
6555
|
+
try:
|
|
6556
|
+
params = request._serialize()
|
|
6557
|
+
headers = request.headers
|
|
6558
|
+
body = self.call("InquiryPriceAllocateAddresses", params, headers=headers)
|
|
6559
|
+
response = json.loads(body)
|
|
6560
|
+
model = models.InquiryPriceAllocateAddressesResponse()
|
|
6561
|
+
model._deserialize(response["Response"])
|
|
6562
|
+
return model
|
|
6563
|
+
except Exception as e:
|
|
6564
|
+
if isinstance(e, TencentCloudSDKException):
|
|
6565
|
+
raise
|
|
6566
|
+
else:
|
|
6567
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6568
|
+
|
|
6569
|
+
|
|
6547
6570
|
def InquiryPriceCreateVpnGateway(self, request):
|
|
6548
6571
|
"""本接口(InquiryPriceCreateVpnGateway)用于创建VPN网关询价。
|
|
6549
6572
|
|
|
@@ -6567,6 +6590,52 @@ class VpcClient(AbstractClient):
|
|
|
6567
6590
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6568
6591
|
|
|
6569
6592
|
|
|
6593
|
+
def InquiryPriceModifyAddressesBandwidth(self, request):
|
|
6594
|
+
"""EIP修改带宽询价
|
|
6595
|
+
|
|
6596
|
+
:param request: Request instance for InquiryPriceModifyAddressesBandwidth.
|
|
6597
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.InquiryPriceModifyAddressesBandwidthRequest`
|
|
6598
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.InquiryPriceModifyAddressesBandwidthResponse`
|
|
6599
|
+
|
|
6600
|
+
"""
|
|
6601
|
+
try:
|
|
6602
|
+
params = request._serialize()
|
|
6603
|
+
headers = request.headers
|
|
6604
|
+
body = self.call("InquiryPriceModifyAddressesBandwidth", params, headers=headers)
|
|
6605
|
+
response = json.loads(body)
|
|
6606
|
+
model = models.InquiryPriceModifyAddressesBandwidthResponse()
|
|
6607
|
+
model._deserialize(response["Response"])
|
|
6608
|
+
return model
|
|
6609
|
+
except Exception as e:
|
|
6610
|
+
if isinstance(e, TencentCloudSDKException):
|
|
6611
|
+
raise
|
|
6612
|
+
else:
|
|
6613
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6614
|
+
|
|
6615
|
+
|
|
6616
|
+
def InquiryPriceRenewAddresses(self, request):
|
|
6617
|
+
"""本接口(InquiryPriceRenewAddresses)用于续费预付费弹性公网IP询价。
|
|
6618
|
+
|
|
6619
|
+
:param request: Request instance for InquiryPriceRenewAddresses.
|
|
6620
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.InquiryPriceRenewAddressesRequest`
|
|
6621
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.InquiryPriceRenewAddressesResponse`
|
|
6622
|
+
|
|
6623
|
+
"""
|
|
6624
|
+
try:
|
|
6625
|
+
params = request._serialize()
|
|
6626
|
+
headers = request.headers
|
|
6627
|
+
body = self.call("InquiryPriceRenewAddresses", params, headers=headers)
|
|
6628
|
+
response = json.loads(body)
|
|
6629
|
+
model = models.InquiryPriceRenewAddressesResponse()
|
|
6630
|
+
model._deserialize(response["Response"])
|
|
6631
|
+
return model
|
|
6632
|
+
except Exception as e:
|
|
6633
|
+
if isinstance(e, TencentCloudSDKException):
|
|
6634
|
+
raise
|
|
6635
|
+
else:
|
|
6636
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6637
|
+
|
|
6638
|
+
|
|
6570
6639
|
def InquiryPriceRenewVpnGateway(self, request):
|
|
6571
6640
|
"""本接口(InquiryPriceRenewVpnGateway)用于续费VPN网关询价。目前仅支持IPSEC类型网关的询价。
|
|
6572
6641
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1292
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1288
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|