tencentcloud-sdk-python-intl-en 3.0.1108__py2.py3-none-any.whl → 3.0.1110__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/teo/v20220901/models.py +921 -19
- tencentcloud/teo/v20220901/teo_client.py +115 -0
- tencentcloud/trtc/v20190722/models.py +15 -0
- tencentcloud/vpc/v20170312/models.py +485 -0
- tencentcloud/vpc/v20170312/vpc_client.py +69 -0
- {tencentcloud_sdk_python_intl_en-3.0.1108.dist-info → tencentcloud_sdk_python_intl_en-3.0.1110.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1108.dist-info → tencentcloud_sdk_python_intl_en-3.0.1110.dist-info}/RECORD +10 -10
- {tencentcloud_sdk_python_intl_en-3.0.1108.dist-info → tencentcloud_sdk_python_intl_en-3.0.1110.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1108.dist-info → tencentcloud_sdk_python_intl_en-3.0.1110.dist-info}/top_level.txt +0 -0
|
@@ -281,6 +281,29 @@ class TeoClient(AbstractClient):
|
|
|
281
281
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
282
282
|
|
|
283
283
|
|
|
284
|
+
def CreateDnsRecord(self, request):
|
|
285
|
+
"""This API is used to create a DNS record.
|
|
286
|
+
|
|
287
|
+
:param request: Request instance for CreateDnsRecord.
|
|
288
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.CreateDnsRecordRequest`
|
|
289
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.CreateDnsRecordResponse`
|
|
290
|
+
|
|
291
|
+
"""
|
|
292
|
+
try:
|
|
293
|
+
params = request._serialize()
|
|
294
|
+
headers = request.headers
|
|
295
|
+
body = self.call("CreateDnsRecord", params, headers=headers)
|
|
296
|
+
response = json.loads(body)
|
|
297
|
+
model = models.CreateDnsRecordResponse()
|
|
298
|
+
model._deserialize(response["Response"])
|
|
299
|
+
return model
|
|
300
|
+
except Exception as e:
|
|
301
|
+
if isinstance(e, TencentCloudSDKException):
|
|
302
|
+
raise
|
|
303
|
+
else:
|
|
304
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
305
|
+
|
|
306
|
+
|
|
284
307
|
def CreateFunction(self, request):
|
|
285
308
|
"""This API is used to create and deploy an edge function to EdgeOne edge nodes.
|
|
286
309
|
|
|
@@ -747,6 +770,29 @@ class TeoClient(AbstractClient):
|
|
|
747
770
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
748
771
|
|
|
749
772
|
|
|
773
|
+
def DeleteDnsRecords(self, request):
|
|
774
|
+
"""This API is used to delete DNS records in batches.
|
|
775
|
+
|
|
776
|
+
:param request: Request instance for DeleteDnsRecords.
|
|
777
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DeleteDnsRecordsRequest`
|
|
778
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DeleteDnsRecordsResponse`
|
|
779
|
+
|
|
780
|
+
"""
|
|
781
|
+
try:
|
|
782
|
+
params = request._serialize()
|
|
783
|
+
headers = request.headers
|
|
784
|
+
body = self.call("DeleteDnsRecords", params, headers=headers)
|
|
785
|
+
response = json.loads(body)
|
|
786
|
+
model = models.DeleteDnsRecordsResponse()
|
|
787
|
+
model._deserialize(response["Response"])
|
|
788
|
+
return model
|
|
789
|
+
except Exception as e:
|
|
790
|
+
if isinstance(e, TencentCloudSDKException):
|
|
791
|
+
raise
|
|
792
|
+
else:
|
|
793
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
794
|
+
|
|
795
|
+
|
|
750
796
|
def DeleteFunction(self, request):
|
|
751
797
|
"""This API is used to delete an edge function. Once deleted, the function cannot be recovered, and associated trigger rules are also deleted.
|
|
752
798
|
|
|
@@ -1345,6 +1391,29 @@ class TeoClient(AbstractClient):
|
|
|
1345
1391
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1346
1392
|
|
|
1347
1393
|
|
|
1394
|
+
def DescribeDnsRecords(self, request):
|
|
1395
|
+
"""This API is used to query DNS records. Paging, sorting and filtering are supported.
|
|
1396
|
+
|
|
1397
|
+
:param request: Request instance for DescribeDnsRecords.
|
|
1398
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeDnsRecordsRequest`
|
|
1399
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeDnsRecordsResponse`
|
|
1400
|
+
|
|
1401
|
+
"""
|
|
1402
|
+
try:
|
|
1403
|
+
params = request._serialize()
|
|
1404
|
+
headers = request.headers
|
|
1405
|
+
body = self.call("DescribeDnsRecords", params, headers=headers)
|
|
1406
|
+
response = json.loads(body)
|
|
1407
|
+
model = models.DescribeDnsRecordsResponse()
|
|
1408
|
+
model._deserialize(response["Response"])
|
|
1409
|
+
return model
|
|
1410
|
+
except Exception as e:
|
|
1411
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1412
|
+
raise
|
|
1413
|
+
else:
|
|
1414
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1415
|
+
|
|
1416
|
+
|
|
1348
1417
|
def DescribeEnvironments(self, request):
|
|
1349
1418
|
"""This API is used to query environment information in version management mode. The response includes the environment ID, type, and current effective version. The version management feature is currently undergoing beta testing and is accessible only to users on the whitelist.
|
|
1350
1419
|
|
|
@@ -2440,6 +2509,52 @@ class TeoClient(AbstractClient):
|
|
|
2440
2509
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2441
2510
|
|
|
2442
2511
|
|
|
2512
|
+
def ModifyDnsRecords(self, request):
|
|
2513
|
+
"""You can use this interface to batch modify DNS records.
|
|
2514
|
+
|
|
2515
|
+
:param request: Request instance for ModifyDnsRecords.
|
|
2516
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyDnsRecordsRequest`
|
|
2517
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyDnsRecordsResponse`
|
|
2518
|
+
|
|
2519
|
+
"""
|
|
2520
|
+
try:
|
|
2521
|
+
params = request._serialize()
|
|
2522
|
+
headers = request.headers
|
|
2523
|
+
body = self.call("ModifyDnsRecords", params, headers=headers)
|
|
2524
|
+
response = json.loads(body)
|
|
2525
|
+
model = models.ModifyDnsRecordsResponse()
|
|
2526
|
+
model._deserialize(response["Response"])
|
|
2527
|
+
return model
|
|
2528
|
+
except Exception as e:
|
|
2529
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2530
|
+
raise
|
|
2531
|
+
else:
|
|
2532
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2533
|
+
|
|
2534
|
+
|
|
2535
|
+
def ModifyDnsRecordsStatus(self, request):
|
|
2536
|
+
"""You can use this interface to batch modify the status of DNS records, enabling and disabling records in bulk.
|
|
2537
|
+
|
|
2538
|
+
:param request: Request instance for ModifyDnsRecordsStatus.
|
|
2539
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyDnsRecordsStatusRequest`
|
|
2540
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyDnsRecordsStatusResponse`
|
|
2541
|
+
|
|
2542
|
+
"""
|
|
2543
|
+
try:
|
|
2544
|
+
params = request._serialize()
|
|
2545
|
+
headers = request.headers
|
|
2546
|
+
body = self.call("ModifyDnsRecordsStatus", params, headers=headers)
|
|
2547
|
+
response = json.loads(body)
|
|
2548
|
+
model = models.ModifyDnsRecordsStatusResponse()
|
|
2549
|
+
model._deserialize(response["Response"])
|
|
2550
|
+
return model
|
|
2551
|
+
except Exception as e:
|
|
2552
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2553
|
+
raise
|
|
2554
|
+
else:
|
|
2555
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2556
|
+
|
|
2557
|
+
|
|
2443
2558
|
def ModifyFunction(self, request):
|
|
2444
2559
|
"""This API is used to modify an edge function. It supports modifying the function content and description. The function will take effect immediately after modification and redeployment.
|
|
2445
2560
|
|
|
@@ -9828,11 +9828,14 @@ class UpdateStreamIngestRequest(AbstractModel):
|
|
|
9828
9828
|
:type StreamUrl: str
|
|
9829
9829
|
:param _Volume: Volume. Valid value range: [0, 100], default value is 100, indicating the original volume.
|
|
9830
9830
|
:type Volume: int
|
|
9831
|
+
:param _IsPause: Whether to pause, the default value of false indicates no pause. During the pause, the task is still in progress and is billed. If you want to terminate the task, please call the stop interface.
|
|
9832
|
+
:type IsPause: bool
|
|
9831
9833
|
"""
|
|
9832
9834
|
self._SdkAppId = None
|
|
9833
9835
|
self._TaskId = None
|
|
9834
9836
|
self._StreamUrl = None
|
|
9835
9837
|
self._Volume = None
|
|
9838
|
+
self._IsPause = None
|
|
9836
9839
|
|
|
9837
9840
|
@property
|
|
9838
9841
|
def SdkAppId(self):
|
|
@@ -9878,12 +9881,24 @@ class UpdateStreamIngestRequest(AbstractModel):
|
|
|
9878
9881
|
def Volume(self, Volume):
|
|
9879
9882
|
self._Volume = Volume
|
|
9880
9883
|
|
|
9884
|
+
@property
|
|
9885
|
+
def IsPause(self):
|
|
9886
|
+
"""Whether to pause, the default value of false indicates no pause. During the pause, the task is still in progress and is billed. If you want to terminate the task, please call the stop interface.
|
|
9887
|
+
:rtype: bool
|
|
9888
|
+
"""
|
|
9889
|
+
return self._IsPause
|
|
9890
|
+
|
|
9891
|
+
@IsPause.setter
|
|
9892
|
+
def IsPause(self, IsPause):
|
|
9893
|
+
self._IsPause = IsPause
|
|
9894
|
+
|
|
9881
9895
|
|
|
9882
9896
|
def _deserialize(self, params):
|
|
9883
9897
|
self._SdkAppId = params.get("SdkAppId")
|
|
9884
9898
|
self._TaskId = params.get("TaskId")
|
|
9885
9899
|
self._StreamUrl = params.get("StreamUrl")
|
|
9886
9900
|
self._Volume = params.get("Volume")
|
|
9901
|
+
self._IsPause = params.get("IsPause")
|
|
9887
9902
|
memeber_set = set(params.keys())
|
|
9888
9903
|
for name, value in vars(self).items():
|
|
9889
9904
|
property_name = name[1:]
|
|
@@ -28477,6 +28477,368 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
28477
28477
|
self._RequestId = params.get("RequestId")
|
|
28478
28478
|
|
|
28479
28479
|
|
|
28480
|
+
class InquiryPriceAllocateAddressesRequest(AbstractModel):
|
|
28481
|
+
"""InquiryPriceAllocateAddresses request structure.
|
|
28482
|
+
|
|
28483
|
+
"""
|
|
28484
|
+
|
|
28485
|
+
def __init__(self):
|
|
28486
|
+
r"""
|
|
28487
|
+
:param _InternetChargeType: EIP billing method.
|
|
28488
|
+
|
|
28489
|
+
<ul style="margin:0"><li>Users with standard account type. Valid values: <ul>
|
|
28490
|
+
<li>BANDWIDTH_POSTPAID_BY_HOUR: billed by hourly bandwidth on a pay-as-you-go basis.</li>
|
|
28491
|
+
<li>BANDWIDTH_PREPAID_BY_MONTH: monthly bandwidth subscription.</li>
|
|
28492
|
+
<li>TRAFFIC_POSTPAID_BY_HOUR: billed by hourly traffic on a pay-as-you-go basis.</li></ul>Default value: TRAFFIC_POSTPAID_BY_HOUR.</li>
|
|
28493
|
+
</ul>
|
|
28494
|
+
:type InternetChargeType: str
|
|
28495
|
+
:param _InternetMaxBandwidthOut: The EIP outbound bandwidth cap, in Mbps.
|
|
28496
|
+
<ul style="margin:0"><li>For users with standard account type, the range of optional values depends on the EIP billing method:<ul>
|
|
28497
|
+
<li>`BANDWIDTH_POSTPAID_BY_HOUR`: 1 Mbps to 100 Mbps.</li>
|
|
28498
|
+
<li>`BANDWIDTH_PREPAID_BY_MONTH`: 1 Mbps to 200 Mbps</li>
|
|
28499
|
+
<li>`TRAFFIC_POSTPAID_BY_HOUR`: 1 Mbps to 100 Mbps.</li></ul>Default value: 1 Mbps.</li></ul>
|
|
28500
|
+
<li>For users with traditional account type, the EIP outbound bandwidth cap is subject to the public network egress bandwidth limit of the bound instance. No need to pass this parameter.</li></ul>
|
|
28501
|
+
:type InternetMaxBandwidthOut: int
|
|
28502
|
+
:param _AddressChargePrepaid: A required billing parameter for an EIP billed by "BANDWIDTH_PREPAID_BY_MONTH". When the EIP is billed by "BANDWIDTH_PREPAID_BY_MONTH" this parameter is required. For other scenarios, it can be ignored.
|
|
28503
|
+
:type AddressChargePrepaid: :class:`tencentcloud.vpc.v20170312.models.AddressChargePrepaid`
|
|
28504
|
+
:param _AddressType: EIP type. Default value: EIP.
|
|
28505
|
+
|
|
28506
|
+
|
|
28507
|
+
|
|
28508
|
+
<ul style="margin:0"><li>High quality EIP, valid values: <ul><li>HighQualityEIP: high quality EIP</li></ul>Note: High quality EIP is supported only in some regions.</li></ul><ul style="margin:0">
|
|
28509
|
+
<li>High-defense IP, valid values: <ul>
|
|
28510
|
+
<li>AntiDDoSEIP: high-defense IP</li>
|
|
28511
|
+
</ul>
|
|
28512
|
+
</li>
|
|
28513
|
+
</ul>
|
|
28514
|
+
:type AddressType: str
|
|
28515
|
+
"""
|
|
28516
|
+
self._InternetChargeType = None
|
|
28517
|
+
self._InternetMaxBandwidthOut = None
|
|
28518
|
+
self._AddressChargePrepaid = None
|
|
28519
|
+
self._AddressType = None
|
|
28520
|
+
|
|
28521
|
+
@property
|
|
28522
|
+
def InternetChargeType(self):
|
|
28523
|
+
"""EIP billing method.
|
|
28524
|
+
|
|
28525
|
+
<ul style="margin:0"><li>Users with standard account type. Valid values: <ul>
|
|
28526
|
+
<li>BANDWIDTH_POSTPAID_BY_HOUR: billed by hourly bandwidth on a pay-as-you-go basis.</li>
|
|
28527
|
+
<li>BANDWIDTH_PREPAID_BY_MONTH: monthly bandwidth subscription.</li>
|
|
28528
|
+
<li>TRAFFIC_POSTPAID_BY_HOUR: billed by hourly traffic on a pay-as-you-go basis.</li></ul>Default value: TRAFFIC_POSTPAID_BY_HOUR.</li>
|
|
28529
|
+
</ul>
|
|
28530
|
+
:rtype: str
|
|
28531
|
+
"""
|
|
28532
|
+
return self._InternetChargeType
|
|
28533
|
+
|
|
28534
|
+
@InternetChargeType.setter
|
|
28535
|
+
def InternetChargeType(self, InternetChargeType):
|
|
28536
|
+
self._InternetChargeType = InternetChargeType
|
|
28537
|
+
|
|
28538
|
+
@property
|
|
28539
|
+
def InternetMaxBandwidthOut(self):
|
|
28540
|
+
"""The EIP outbound bandwidth cap, in Mbps.
|
|
28541
|
+
<ul style="margin:0"><li>For users with standard account type, the range of optional values depends on the EIP billing method:<ul>
|
|
28542
|
+
<li>`BANDWIDTH_POSTPAID_BY_HOUR`: 1 Mbps to 100 Mbps.</li>
|
|
28543
|
+
<li>`BANDWIDTH_PREPAID_BY_MONTH`: 1 Mbps to 200 Mbps</li>
|
|
28544
|
+
<li>`TRAFFIC_POSTPAID_BY_HOUR`: 1 Mbps to 100 Mbps.</li></ul>Default value: 1 Mbps.</li></ul>
|
|
28545
|
+
<li>For users with traditional account type, the EIP outbound bandwidth cap is subject to the public network egress bandwidth limit of the bound instance. No need to pass this parameter.</li></ul>
|
|
28546
|
+
:rtype: int
|
|
28547
|
+
"""
|
|
28548
|
+
return self._InternetMaxBandwidthOut
|
|
28549
|
+
|
|
28550
|
+
@InternetMaxBandwidthOut.setter
|
|
28551
|
+
def InternetMaxBandwidthOut(self, InternetMaxBandwidthOut):
|
|
28552
|
+
self._InternetMaxBandwidthOut = InternetMaxBandwidthOut
|
|
28553
|
+
|
|
28554
|
+
@property
|
|
28555
|
+
def AddressChargePrepaid(self):
|
|
28556
|
+
"""A required billing parameter for an EIP billed by "BANDWIDTH_PREPAID_BY_MONTH". When the EIP is billed by "BANDWIDTH_PREPAID_BY_MONTH" this parameter is required. For other scenarios, it can be ignored.
|
|
28557
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.AddressChargePrepaid`
|
|
28558
|
+
"""
|
|
28559
|
+
return self._AddressChargePrepaid
|
|
28560
|
+
|
|
28561
|
+
@AddressChargePrepaid.setter
|
|
28562
|
+
def AddressChargePrepaid(self, AddressChargePrepaid):
|
|
28563
|
+
self._AddressChargePrepaid = AddressChargePrepaid
|
|
28564
|
+
|
|
28565
|
+
@property
|
|
28566
|
+
def AddressType(self):
|
|
28567
|
+
"""EIP type. Default value: EIP.
|
|
28568
|
+
|
|
28569
|
+
|
|
28570
|
+
|
|
28571
|
+
<ul style="margin:0"><li>High quality EIP, valid values: <ul><li>HighQualityEIP: high quality EIP</li></ul>Note: High quality EIP is supported only in some regions.</li></ul><ul style="margin:0">
|
|
28572
|
+
<li>High-defense IP, valid values: <ul>
|
|
28573
|
+
<li>AntiDDoSEIP: high-defense IP</li>
|
|
28574
|
+
</ul>
|
|
28575
|
+
</li>
|
|
28576
|
+
</ul>
|
|
28577
|
+
:rtype: str
|
|
28578
|
+
"""
|
|
28579
|
+
return self._AddressType
|
|
28580
|
+
|
|
28581
|
+
@AddressType.setter
|
|
28582
|
+
def AddressType(self, AddressType):
|
|
28583
|
+
self._AddressType = AddressType
|
|
28584
|
+
|
|
28585
|
+
|
|
28586
|
+
def _deserialize(self, params):
|
|
28587
|
+
self._InternetChargeType = params.get("InternetChargeType")
|
|
28588
|
+
self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
|
|
28589
|
+
if params.get("AddressChargePrepaid") is not None:
|
|
28590
|
+
self._AddressChargePrepaid = AddressChargePrepaid()
|
|
28591
|
+
self._AddressChargePrepaid._deserialize(params.get("AddressChargePrepaid"))
|
|
28592
|
+
self._AddressType = params.get("AddressType")
|
|
28593
|
+
memeber_set = set(params.keys())
|
|
28594
|
+
for name, value in vars(self).items():
|
|
28595
|
+
property_name = name[1:]
|
|
28596
|
+
if property_name in memeber_set:
|
|
28597
|
+
memeber_set.remove(property_name)
|
|
28598
|
+
if len(memeber_set) > 0:
|
|
28599
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28600
|
+
|
|
28601
|
+
|
|
28602
|
+
|
|
28603
|
+
class InquiryPriceAllocateAddressesResponse(AbstractModel):
|
|
28604
|
+
"""InquiryPriceAllocateAddresses response structure.
|
|
28605
|
+
|
|
28606
|
+
"""
|
|
28607
|
+
|
|
28608
|
+
def __init__(self):
|
|
28609
|
+
r"""
|
|
28610
|
+
:param _Price: EIP price
|
|
28611
|
+
:type Price: :class:`tencentcloud.vpc.v20170312.models.InternetPrice`
|
|
28612
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
28613
|
+
:type RequestId: str
|
|
28614
|
+
"""
|
|
28615
|
+
self._Price = None
|
|
28616
|
+
self._RequestId = None
|
|
28617
|
+
|
|
28618
|
+
@property
|
|
28619
|
+
def Price(self):
|
|
28620
|
+
"""EIP price
|
|
28621
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.InternetPrice`
|
|
28622
|
+
"""
|
|
28623
|
+
return self._Price
|
|
28624
|
+
|
|
28625
|
+
@Price.setter
|
|
28626
|
+
def Price(self, Price):
|
|
28627
|
+
self._Price = Price
|
|
28628
|
+
|
|
28629
|
+
@property
|
|
28630
|
+
def RequestId(self):
|
|
28631
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
28632
|
+
:rtype: str
|
|
28633
|
+
"""
|
|
28634
|
+
return self._RequestId
|
|
28635
|
+
|
|
28636
|
+
@RequestId.setter
|
|
28637
|
+
def RequestId(self, RequestId):
|
|
28638
|
+
self._RequestId = RequestId
|
|
28639
|
+
|
|
28640
|
+
|
|
28641
|
+
def _deserialize(self, params):
|
|
28642
|
+
if params.get("Price") is not None:
|
|
28643
|
+
self._Price = InternetPrice()
|
|
28644
|
+
self._Price._deserialize(params.get("Price"))
|
|
28645
|
+
self._RequestId = params.get("RequestId")
|
|
28646
|
+
|
|
28647
|
+
|
|
28648
|
+
class InquiryPriceModifyAddressesBandwidthRequest(AbstractModel):
|
|
28649
|
+
"""InquiryPriceModifyAddressesBandwidth request structure.
|
|
28650
|
+
|
|
28651
|
+
"""
|
|
28652
|
+
|
|
28653
|
+
def __init__(self):
|
|
28654
|
+
r"""
|
|
28655
|
+
:param _AddressIds: Unique ID of EIP
|
|
28656
|
+
:type AddressIds: list of str
|
|
28657
|
+
:param _InternetMaxBandwidthOut: New Bandwidth Value
|
|
28658
|
+
:type InternetMaxBandwidthOut: int
|
|
28659
|
+
"""
|
|
28660
|
+
self._AddressIds = None
|
|
28661
|
+
self._InternetMaxBandwidthOut = None
|
|
28662
|
+
|
|
28663
|
+
@property
|
|
28664
|
+
def AddressIds(self):
|
|
28665
|
+
"""Unique ID of EIP
|
|
28666
|
+
:rtype: list of str
|
|
28667
|
+
"""
|
|
28668
|
+
return self._AddressIds
|
|
28669
|
+
|
|
28670
|
+
@AddressIds.setter
|
|
28671
|
+
def AddressIds(self, AddressIds):
|
|
28672
|
+
self._AddressIds = AddressIds
|
|
28673
|
+
|
|
28674
|
+
@property
|
|
28675
|
+
def InternetMaxBandwidthOut(self):
|
|
28676
|
+
"""New Bandwidth Value
|
|
28677
|
+
:rtype: int
|
|
28678
|
+
"""
|
|
28679
|
+
return self._InternetMaxBandwidthOut
|
|
28680
|
+
|
|
28681
|
+
@InternetMaxBandwidthOut.setter
|
|
28682
|
+
def InternetMaxBandwidthOut(self, InternetMaxBandwidthOut):
|
|
28683
|
+
self._InternetMaxBandwidthOut = InternetMaxBandwidthOut
|
|
28684
|
+
|
|
28685
|
+
|
|
28686
|
+
def _deserialize(self, params):
|
|
28687
|
+
self._AddressIds = params.get("AddressIds")
|
|
28688
|
+
self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
|
|
28689
|
+
memeber_set = set(params.keys())
|
|
28690
|
+
for name, value in vars(self).items():
|
|
28691
|
+
property_name = name[1:]
|
|
28692
|
+
if property_name in memeber_set:
|
|
28693
|
+
memeber_set.remove(property_name)
|
|
28694
|
+
if len(memeber_set) > 0:
|
|
28695
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28696
|
+
|
|
28697
|
+
|
|
28698
|
+
|
|
28699
|
+
class InquiryPriceModifyAddressesBandwidthResponse(AbstractModel):
|
|
28700
|
+
"""InquiryPriceModifyAddressesBandwidth response structure.
|
|
28701
|
+
|
|
28702
|
+
"""
|
|
28703
|
+
|
|
28704
|
+
def __init__(self):
|
|
28705
|
+
r"""
|
|
28706
|
+
:param _Price: Inquiry results for adjusting EIP bandwidth.
|
|
28707
|
+
:type Price: :class:`tencentcloud.vpc.v20170312.models.InternetPrice`
|
|
28708
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
28709
|
+
:type RequestId: str
|
|
28710
|
+
"""
|
|
28711
|
+
self._Price = None
|
|
28712
|
+
self._RequestId = None
|
|
28713
|
+
|
|
28714
|
+
@property
|
|
28715
|
+
def Price(self):
|
|
28716
|
+
"""Inquiry results for adjusting EIP bandwidth.
|
|
28717
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.InternetPrice`
|
|
28718
|
+
"""
|
|
28719
|
+
return self._Price
|
|
28720
|
+
|
|
28721
|
+
@Price.setter
|
|
28722
|
+
def Price(self, Price):
|
|
28723
|
+
self._Price = Price
|
|
28724
|
+
|
|
28725
|
+
@property
|
|
28726
|
+
def RequestId(self):
|
|
28727
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
28728
|
+
:rtype: str
|
|
28729
|
+
"""
|
|
28730
|
+
return self._RequestId
|
|
28731
|
+
|
|
28732
|
+
@RequestId.setter
|
|
28733
|
+
def RequestId(self, RequestId):
|
|
28734
|
+
self._RequestId = RequestId
|
|
28735
|
+
|
|
28736
|
+
|
|
28737
|
+
def _deserialize(self, params):
|
|
28738
|
+
if params.get("Price") is not None:
|
|
28739
|
+
self._Price = InternetPrice()
|
|
28740
|
+
self._Price._deserialize(params.get("Price"))
|
|
28741
|
+
self._RequestId = params.get("RequestId")
|
|
28742
|
+
|
|
28743
|
+
|
|
28744
|
+
class InquiryPriceRenewAddressesRequest(AbstractModel):
|
|
28745
|
+
"""InquiryPriceRenewAddresses request structure.
|
|
28746
|
+
|
|
28747
|
+
"""
|
|
28748
|
+
|
|
28749
|
+
def __init__(self):
|
|
28750
|
+
r"""
|
|
28751
|
+
:param _AddressIds: Indicates the renewal resource instance ID.
|
|
28752
|
+
:type AddressIds: list of str
|
|
28753
|
+
:param _AddressChargePrepaid: A required billing parameter for an EIP billed by "BANDWIDTH_PREPAID_BY_MONTH". When the EIP is billed by "BANDWIDTH_PREPAID_BY_MONTH", this parameter is required. For other scenarios, it can be ignored.
|
|
28754
|
+
:type AddressChargePrepaid: :class:`tencentcloud.vpc.v20170312.models.AddressChargePrepaid`
|
|
28755
|
+
"""
|
|
28756
|
+
self._AddressIds = None
|
|
28757
|
+
self._AddressChargePrepaid = None
|
|
28758
|
+
|
|
28759
|
+
@property
|
|
28760
|
+
def AddressIds(self):
|
|
28761
|
+
"""Indicates the renewal resource instance ID.
|
|
28762
|
+
:rtype: list of str
|
|
28763
|
+
"""
|
|
28764
|
+
return self._AddressIds
|
|
28765
|
+
|
|
28766
|
+
@AddressIds.setter
|
|
28767
|
+
def AddressIds(self, AddressIds):
|
|
28768
|
+
self._AddressIds = AddressIds
|
|
28769
|
+
|
|
28770
|
+
@property
|
|
28771
|
+
def AddressChargePrepaid(self):
|
|
28772
|
+
"""A required billing parameter for an EIP billed by "BANDWIDTH_PREPAID_BY_MONTH". When the EIP is billed by "BANDWIDTH_PREPAID_BY_MONTH", this parameter is required. For other scenarios, it can be ignored.
|
|
28773
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.AddressChargePrepaid`
|
|
28774
|
+
"""
|
|
28775
|
+
return self._AddressChargePrepaid
|
|
28776
|
+
|
|
28777
|
+
@AddressChargePrepaid.setter
|
|
28778
|
+
def AddressChargePrepaid(self, AddressChargePrepaid):
|
|
28779
|
+
self._AddressChargePrepaid = AddressChargePrepaid
|
|
28780
|
+
|
|
28781
|
+
|
|
28782
|
+
def _deserialize(self, params):
|
|
28783
|
+
self._AddressIds = params.get("AddressIds")
|
|
28784
|
+
if params.get("AddressChargePrepaid") is not None:
|
|
28785
|
+
self._AddressChargePrepaid = AddressChargePrepaid()
|
|
28786
|
+
self._AddressChargePrepaid._deserialize(params.get("AddressChargePrepaid"))
|
|
28787
|
+
memeber_set = set(params.keys())
|
|
28788
|
+
for name, value in vars(self).items():
|
|
28789
|
+
property_name = name[1:]
|
|
28790
|
+
if property_name in memeber_set:
|
|
28791
|
+
memeber_set.remove(property_name)
|
|
28792
|
+
if len(memeber_set) > 0:
|
|
28793
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28794
|
+
|
|
28795
|
+
|
|
28796
|
+
|
|
28797
|
+
class InquiryPriceRenewAddressesResponse(AbstractModel):
|
|
28798
|
+
"""InquiryPriceRenewAddresses response structure.
|
|
28799
|
+
|
|
28800
|
+
"""
|
|
28801
|
+
|
|
28802
|
+
def __init__(self):
|
|
28803
|
+
r"""
|
|
28804
|
+
:param _Price: Elastic Public IP renewal price.
|
|
28805
|
+
:type Price: :class:`tencentcloud.vpc.v20170312.models.InternetPrice`
|
|
28806
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
28807
|
+
:type RequestId: str
|
|
28808
|
+
"""
|
|
28809
|
+
self._Price = None
|
|
28810
|
+
self._RequestId = None
|
|
28811
|
+
|
|
28812
|
+
@property
|
|
28813
|
+
def Price(self):
|
|
28814
|
+
"""Elastic Public IP renewal price.
|
|
28815
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.InternetPrice`
|
|
28816
|
+
"""
|
|
28817
|
+
return self._Price
|
|
28818
|
+
|
|
28819
|
+
@Price.setter
|
|
28820
|
+
def Price(self, Price):
|
|
28821
|
+
self._Price = Price
|
|
28822
|
+
|
|
28823
|
+
@property
|
|
28824
|
+
def RequestId(self):
|
|
28825
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
28826
|
+
:rtype: str
|
|
28827
|
+
"""
|
|
28828
|
+
return self._RequestId
|
|
28829
|
+
|
|
28830
|
+
@RequestId.setter
|
|
28831
|
+
def RequestId(self, RequestId):
|
|
28832
|
+
self._RequestId = RequestId
|
|
28833
|
+
|
|
28834
|
+
|
|
28835
|
+
def _deserialize(self, params):
|
|
28836
|
+
if params.get("Price") is not None:
|
|
28837
|
+
self._Price = InternetPrice()
|
|
28838
|
+
self._Price._deserialize(params.get("Price"))
|
|
28839
|
+
self._RequestId = params.get("RequestId")
|
|
28840
|
+
|
|
28841
|
+
|
|
28480
28842
|
class InquiryPriceRenewVpnGatewayRequest(AbstractModel):
|
|
28481
28843
|
"""InquiryPriceRenewVpnGateway request structure.
|
|
28482
28844
|
|
|
@@ -28773,6 +29135,129 @@ class InstanceStatistic(AbstractModel):
|
|
|
28773
29135
|
|
|
28774
29136
|
|
|
28775
29137
|
|
|
29138
|
+
class InternetPrice(AbstractModel):
|
|
29139
|
+
"""Public Network Inquiry Output Parameters
|
|
29140
|
+
|
|
29141
|
+
"""
|
|
29142
|
+
|
|
29143
|
+
def __init__(self):
|
|
29144
|
+
r"""
|
|
29145
|
+
:param _AddressPrice: Detailed parameters of Public IP inquiry.
|
|
29146
|
+
:type AddressPrice: :class:`tencentcloud.vpc.v20170312.models.InternetPriceDetail`
|
|
29147
|
+
"""
|
|
29148
|
+
self._AddressPrice = None
|
|
29149
|
+
|
|
29150
|
+
@property
|
|
29151
|
+
def AddressPrice(self):
|
|
29152
|
+
"""Detailed parameters of Public IP inquiry.
|
|
29153
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.InternetPriceDetail`
|
|
29154
|
+
"""
|
|
29155
|
+
return self._AddressPrice
|
|
29156
|
+
|
|
29157
|
+
@AddressPrice.setter
|
|
29158
|
+
def AddressPrice(self, AddressPrice):
|
|
29159
|
+
self._AddressPrice = AddressPrice
|
|
29160
|
+
|
|
29161
|
+
|
|
29162
|
+
def _deserialize(self, params):
|
|
29163
|
+
if params.get("AddressPrice") is not None:
|
|
29164
|
+
self._AddressPrice = InternetPriceDetail()
|
|
29165
|
+
self._AddressPrice._deserialize(params.get("AddressPrice"))
|
|
29166
|
+
memeber_set = set(params.keys())
|
|
29167
|
+
for name, value in vars(self).items():
|
|
29168
|
+
property_name = name[1:]
|
|
29169
|
+
if property_name in memeber_set:
|
|
29170
|
+
memeber_set.remove(property_name)
|
|
29171
|
+
if len(memeber_set) > 0:
|
|
29172
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
29173
|
+
|
|
29174
|
+
|
|
29175
|
+
|
|
29176
|
+
class InternetPriceDetail(AbstractModel):
|
|
29177
|
+
"""Public IP Inquiry Output Parameters
|
|
29178
|
+
|
|
29179
|
+
"""
|
|
29180
|
+
|
|
29181
|
+
def __init__(self):
|
|
29182
|
+
r"""
|
|
29183
|
+
:param _UnitPrice: Postpaid unit price. Unit: USD. Returned only for postpaid price inquiry.
|
|
29184
|
+
:type UnitPrice: float
|
|
29185
|
+
:param _DiscountPrice: Discounted price. Unit: USD
|
|
29186
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
29187
|
+
:type DiscountPrice: float
|
|
29188
|
+
:param _ChargeUnit: Billing unit. Valid values: <ul> <li>HOUR: Indicates that the billing unit is calculated hourly. The scenarios currently involving this billing unit include TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_POSTPAID_BY_HOUR.</li></ul>
|
|
29189
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
29190
|
+
:type ChargeUnit: str
|
|
29191
|
+
:param _OriginalPrice: Original price. Unit: CNY. Returned only for prepaid price inquiry.
|
|
29192
|
+
:type OriginalPrice: float
|
|
29193
|
+
"""
|
|
29194
|
+
self._UnitPrice = None
|
|
29195
|
+
self._DiscountPrice = None
|
|
29196
|
+
self._ChargeUnit = None
|
|
29197
|
+
self._OriginalPrice = None
|
|
29198
|
+
|
|
29199
|
+
@property
|
|
29200
|
+
def UnitPrice(self):
|
|
29201
|
+
"""Postpaid unit price. Unit: USD. Returned only for postpaid price inquiry.
|
|
29202
|
+
:rtype: float
|
|
29203
|
+
"""
|
|
29204
|
+
return self._UnitPrice
|
|
29205
|
+
|
|
29206
|
+
@UnitPrice.setter
|
|
29207
|
+
def UnitPrice(self, UnitPrice):
|
|
29208
|
+
self._UnitPrice = UnitPrice
|
|
29209
|
+
|
|
29210
|
+
@property
|
|
29211
|
+
def DiscountPrice(self):
|
|
29212
|
+
"""Discounted price. Unit: USD
|
|
29213
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
29214
|
+
:rtype: float
|
|
29215
|
+
"""
|
|
29216
|
+
return self._DiscountPrice
|
|
29217
|
+
|
|
29218
|
+
@DiscountPrice.setter
|
|
29219
|
+
def DiscountPrice(self, DiscountPrice):
|
|
29220
|
+
self._DiscountPrice = DiscountPrice
|
|
29221
|
+
|
|
29222
|
+
@property
|
|
29223
|
+
def ChargeUnit(self):
|
|
29224
|
+
"""Billing unit. Valid values: <ul> <li>HOUR: Indicates that the billing unit is calculated hourly. The scenarios currently involving this billing unit include TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_POSTPAID_BY_HOUR.</li></ul>
|
|
29225
|
+
Note: This field may return null, indicating that no valid value was found.
|
|
29226
|
+
:rtype: str
|
|
29227
|
+
"""
|
|
29228
|
+
return self._ChargeUnit
|
|
29229
|
+
|
|
29230
|
+
@ChargeUnit.setter
|
|
29231
|
+
def ChargeUnit(self, ChargeUnit):
|
|
29232
|
+
self._ChargeUnit = ChargeUnit
|
|
29233
|
+
|
|
29234
|
+
@property
|
|
29235
|
+
def OriginalPrice(self):
|
|
29236
|
+
"""Original price. Unit: CNY. Returned only for prepaid price inquiry.
|
|
29237
|
+
:rtype: float
|
|
29238
|
+
"""
|
|
29239
|
+
return self._OriginalPrice
|
|
29240
|
+
|
|
29241
|
+
@OriginalPrice.setter
|
|
29242
|
+
def OriginalPrice(self, OriginalPrice):
|
|
29243
|
+
self._OriginalPrice = OriginalPrice
|
|
29244
|
+
|
|
29245
|
+
|
|
29246
|
+
def _deserialize(self, params):
|
|
29247
|
+
self._UnitPrice = params.get("UnitPrice")
|
|
29248
|
+
self._DiscountPrice = params.get("DiscountPrice")
|
|
29249
|
+
self._ChargeUnit = params.get("ChargeUnit")
|
|
29250
|
+
self._OriginalPrice = params.get("OriginalPrice")
|
|
29251
|
+
memeber_set = set(params.keys())
|
|
29252
|
+
for name, value in vars(self).items():
|
|
29253
|
+
property_name = name[1:]
|
|
29254
|
+
if property_name in memeber_set:
|
|
29255
|
+
memeber_set.remove(property_name)
|
|
29256
|
+
if len(memeber_set) > 0:
|
|
29257
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
29258
|
+
|
|
29259
|
+
|
|
29260
|
+
|
|
28776
29261
|
class IpAddressStates(AbstractModel):
|
|
28777
29262
|
"""Information of resources bound with the queried IPs
|
|
28778
29263
|
|