tencentcloud-sdk-python 3.0.1291__py2.py3-none-any.whl → 3.0.1292__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apm/v20210622/apm_client.py +5 -5
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +30 -30
- tencentcloud/autoscaling/v20180419/models.py +21 -2
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/billing/v20180709/models.py +30 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +8 -468
- tencentcloud/cdwdoris/v20211228/models.py +64 -0
- tencentcloud/cfg/v20210820/models.py +15 -0
- tencentcloud/cls/v20201016/models.py +2 -2
- tencentcloud/cmq/v20190304/cmq_client.py +30 -10
- tencentcloud/cmq/v20190304/models.py +106 -106
- tencentcloud/cvm/v20170312/cvm_client.py +0 -115
- tencentcloud/cvm/v20170312/errorcodes.py +3 -9
- tencentcloud/cvm/v20170312/models.py +7379 -8874
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +0 -49
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +3 -3
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +8 -32
- tencentcloud/dts/v20180330/models.py +2 -2
- tencentcloud/dts/v20211206/models.py +17 -0
- tencentcloud/emr/v20190103/emr_client.py +207 -0
- tencentcloud/emr/v20190103/errorcodes.py +15 -0
- tencentcloud/emr/v20190103/models.py +2175 -248
- tencentcloud/ess/v20201111/models.py +50 -18
- tencentcloud/essbasic/v20210526/models.py +33 -20
- tencentcloud/faceid/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/errorcodes.py +15 -0
- tencentcloud/iai/v20200303/iai_client.py +28 -0
- tencentcloud/iai/v20200303/models.py +203 -0
- tencentcloud/iotexplorer/v20190423/models.py +15 -0
- tencentcloud/keewidb/v20220308/models.py +2 -2
- tencentcloud/live/v20180801/models.py +111 -56
- tencentcloud/mna/v20210119/mna_client.py +9 -3
- tencentcloud/mps/v20190612/models.py +60 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +3 -0
- tencentcloud/oceanus/v20190422/models.py +571 -2
- tencentcloud/ocr/v20181119/models.py +75 -0
- tencentcloud/sqlserver/v20180328/models.py +185 -90
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +1 -1
- tencentcloud/ssl/v20191205/models.py +6 -6
- tencentcloud/tbaas/v20180416/tbaas_client.py +2 -2
- tencentcloud/tcr/v20190924/models.py +15 -0
- tencentcloud/tdmq/v20200217/models.py +30 -0
- tencentcloud/tem/v20210701/models.py +2 -2
- tencentcloud/tem/v20210701/tem_client.py +3 -1
- tencentcloud/tke/v20180525/models.py +21 -6
- tencentcloud/tse/v20201207/models.py +68 -0
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +479 -0
- tencentcloud/vpc/v20170312/vpc_client.py +69 -0
- tencentcloud/waf/v20180125/models.py +546 -4
- tencentcloud/waf/v20180125/waf_client.py +70 -1
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1292.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1292.dist-info}/RECORD +61 -61
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1292.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1292.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1292.dist-info}/top_level.txt +0 -0
@@ -42088,6 +42088,168 @@ class InquirePriceCreateDirectConnectGatewayResponse(AbstractModel):
|
|
42088
42088
|
self._RequestId = params.get("RequestId")
|
42089
42089
|
|
42090
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
|
+
|
42091
42253
|
class InquiryPriceCreateVpnGatewayRequest(AbstractModel):
|
42092
42254
|
"""InquiryPriceCreateVpnGateway请求参数结构体
|
42093
42255
|
|
@@ -42231,6 +42393,200 @@ class InquiryPriceCreateVpnGatewayResponse(AbstractModel):
|
|
42231
42393
|
self._RequestId = params.get("RequestId")
|
42232
42394
|
|
42233
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
|
+
|
42234
42590
|
class InquiryPriceRenewVpnGatewayRequest(AbstractModel):
|
42235
42591
|
"""InquiryPriceRenewVpnGateway请求参数结构体
|
42236
42592
|
|
@@ -42701,6 +43057,129 @@ class InstanceStatistic(AbstractModel):
|
|
42701
43057
|
|
42702
43058
|
|
42703
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
|
+
|
42704
43183
|
class Ip6Rule(AbstractModel):
|
42705
43184
|
"""IPV6转换规则
|
42706
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
|
|