tencentcloud-sdk-python-intl-en 3.0.1265__py2.py3-none-any.whl → 3.0.1274__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.
Files changed (32) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ccc/v20200210/ccc_client.py +115 -0
  3. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  4. tencentcloud/ccc/v20200210/models.py +2166 -304
  5. tencentcloud/cmq/v20190304/cmq_client.py +0 -345
  6. tencentcloud/cmq/v20190304/models.py +325 -2466
  7. tencentcloud/cvm/v20170312/cvm_client.py +76 -0
  8. tencentcloud/cvm/v20170312/errorcodes.py +18 -0
  9. tencentcloud/cvm/v20170312/models.py +320 -0
  10. tencentcloud/faceid/v20180301/models.py +144 -46
  11. tencentcloud/lke/v20231130/lke_client.py +3 -3
  12. tencentcloud/lke/v20231130/models.py +265 -6
  13. tencentcloud/lkeap/__init__.py +0 -0
  14. tencentcloud/lkeap/v20240522/__init__.py +0 -0
  15. tencentcloud/lkeap/v20240522/errorcodes.py +57 -0
  16. tencentcloud/lkeap/v20240522/lkeap_client.py +167 -0
  17. tencentcloud/lkeap/v20240522/models.py +1361 -0
  18. tencentcloud/mps/v20190612/models.py +351 -28
  19. tencentcloud/ocr/v20181119/models.py +1245 -0
  20. tencentcloud/ocr/v20181119/ocr_client.py +26 -1
  21. tencentcloud/sqlserver/v20180328/errorcodes.py +24 -0
  22. tencentcloud/sqlserver/v20180328/models.py +17068 -7048
  23. tencentcloud/sqlserver/v20180328/sqlserver_client.py +1242 -23
  24. tencentcloud/teo/v20220901/models.py +28 -126
  25. tencentcloud/teo/v20220901/teo_client.py +8 -2
  26. tencentcloud/waf/v20180125/errorcodes.py +9 -0
  27. tencentcloud/waf/v20180125/models.py +4532 -2484
  28. tencentcloud/waf/v20180125/waf_client.py +253 -0
  29. {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1274.dist-info}/METADATA +1 -1
  30. {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1274.dist-info}/RECORD +32 -27
  31. {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1274.dist-info}/WHEEL +0 -0
  32. {tencentcloud_sdk_python_intl_en-3.0.1265.dist-info → tencentcloud_sdk_python_intl_en-3.0.1274.dist-info}/top_level.txt +0 -0
@@ -1200,6 +1200,31 @@ class CvmClient(AbstractClient):
1200
1200
  raise TencentCloudSDKException(type(e).__name__, str(e))
1201
1201
 
1202
1202
 
1203
+ def InquiryPriceRenewInstances(self, request):
1204
+ """This API is used to inquire about the price for renewing a monthly subscription instance.
1205
+
1206
+ This API is used to query the renewal price of monthly subscription instances.
1207
+
1208
+ :param request: Request instance for InquiryPriceRenewInstances.
1209
+ :type request: :class:`tencentcloud.cvm.v20170312.models.InquiryPriceRenewInstancesRequest`
1210
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.InquiryPriceRenewInstancesResponse`
1211
+
1212
+ """
1213
+ try:
1214
+ params = request._serialize()
1215
+ headers = request.headers
1216
+ body = self.call("InquiryPriceRenewInstances", params, headers=headers)
1217
+ response = json.loads(body)
1218
+ model = models.InquiryPriceRenewInstancesResponse()
1219
+ model._deserialize(response["Response"])
1220
+ return model
1221
+ except Exception as e:
1222
+ if isinstance(e, TencentCloudSDKException):
1223
+ raise
1224
+ else:
1225
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1226
+
1227
+
1203
1228
  def InquiryPriceResetInstance(self, request):
1204
1229
  """This API is used to inquire about the price for reinstalling an instance.
1205
1230
 
@@ -1479,6 +1504,30 @@ class CvmClient(AbstractClient):
1479
1504
  raise TencentCloudSDKException(type(e).__name__, str(e))
1480
1505
 
1481
1506
 
1507
+ def ModifyInstancesDisasterRecoverGroup(self, request):
1508
+ """This API is used to adjust the placement group of an instance.
1509
+ * Currently only basic networks or Virtual Private Cloud (VPC) instances are supported.
1510
+
1511
+ :param request: Request instance for ModifyInstancesDisasterRecoverGroup.
1512
+ :type request: :class:`tencentcloud.cvm.v20170312.models.ModifyInstancesDisasterRecoverGroupRequest`
1513
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.ModifyInstancesDisasterRecoverGroupResponse`
1514
+
1515
+ """
1516
+ try:
1517
+ params = request._serialize()
1518
+ headers = request.headers
1519
+ body = self.call("ModifyInstancesDisasterRecoverGroup", params, headers=headers)
1520
+ response = json.loads(body)
1521
+ model = models.ModifyInstancesDisasterRecoverGroupResponse()
1522
+ model._deserialize(response["Response"])
1523
+ return model
1524
+ except Exception as e:
1525
+ if isinstance(e, TencentCloudSDKException):
1526
+ raise
1527
+ else:
1528
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1529
+
1530
+
1482
1531
  def ModifyInstancesProject(self, request):
1483
1532
  """This API is used to change the project to which an instance is assigned.
1484
1533
 
@@ -1708,6 +1757,33 @@ class CvmClient(AbstractClient):
1708
1757
  raise TencentCloudSDKException(type(e).__name__, str(e))
1709
1758
 
1710
1759
 
1760
+ def RenewInstances(self, request):
1761
+ """This API is used to renew annual and monthly subscription instances.
1762
+
1763
+ This API is used to operate on monthly subscription instances only.
1764
+ This API is used to ensure your account balance is sufficient for renewal. You can check the balance via the DescribeAccountBalance API (https://www.tencentcloud.comom/document/product/555/20253?from_cn_redirect=1).
1765
+ * You can query the result of the instance operation by calling the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5). If the latest operation status (LatestOperationState) of the instance is **SUCCESS**, the operation is successful.
1766
+
1767
+ :param request: Request instance for RenewInstances.
1768
+ :type request: :class:`tencentcloud.cvm.v20170312.models.RenewInstancesRequest`
1769
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.RenewInstancesResponse`
1770
+
1771
+ """
1772
+ try:
1773
+ params = request._serialize()
1774
+ headers = request.headers
1775
+ body = self.call("RenewInstances", params, headers=headers)
1776
+ response = json.loads(body)
1777
+ model = models.RenewInstancesResponse()
1778
+ model._deserialize(response["Response"])
1779
+ return model
1780
+ except Exception as e:
1781
+ if isinstance(e, TencentCloudSDKException):
1782
+ raise
1783
+ else:
1784
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1785
+
1786
+
1711
1787
  def ResetInstance(self, request):
1712
1788
  """This API (ResetInstance) is used to reinstall the operating system on a specified instance.
1713
1789
 
@@ -29,6 +29,9 @@ FAILEDOPERATION_ACCOUNTALREADYEXISTS = 'FailedOperation.AccountAlreadyExists'
29
29
  # You cannot share images with yourself.
30
30
  FAILEDOPERATION_ACCOUNTISYOURSELF = 'FailedOperation.AccountIsYourSelf'
31
31
 
32
+ # The instance `ins-xxxxxxx` is already in the instance placement group `dgroup-xxxxxx`.
33
+ FAILEDOPERATION_ALREADYINDISASTERRECOVERGROUP = 'FailedOperation.AlreadyInDisasterRecoverGroup'
34
+
32
35
  # BYOL images cannot be shared.
33
36
  FAILEDOPERATION_BYOLIMAGESHAREFAILED = 'FailedOperation.BYOLImageShareFailed'
34
37
 
@@ -410,6 +413,9 @@ INVALIDPARAMETERVALUE_INCORRECTFORMAT = 'InvalidParameterValue.IncorrectFormat'
410
413
  # Invalid instance ID. Please enter a valid ID, such as ins-xxxxxxxx (“x” represents a lower-case letter or a number).
411
414
  INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = 'InvalidParameterValue.InstanceIdMalformed'
412
415
 
416
+ # Operation not supported for instances with different billing modes.
417
+ INVALIDPARAMETERVALUE_INSTANCENOTSUPPORTEDMIXPRICINGMODEL = 'InvalidParameterValue.InstanceNotSupportedMixPricingModel'
418
+
413
419
  # The specified instance type does not exist.
414
420
  INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = 'InvalidParameterValue.InstanceTypeNotFound'
415
421
 
@@ -815,6 +821,9 @@ RESOURCENOTFOUND_NODEFAULTCBS = 'ResourceNotFound.NoDefaultCbs'
815
821
  # No default CBS resources are available.
816
822
  RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = 'ResourceNotFound.NoDefaultCbsWithReason'
817
823
 
824
+ # Resources are unavailable.
825
+ RESOURCEUNAVAILABLE = 'ResourceUnavailable'
826
+
818
827
  # This instance type is unavailable in the availability zone.
819
828
  RESOURCEUNAVAILABLE_INSTANCETYPE = 'ResourceUnavailable.InstanceType'
820
829
 
@@ -863,6 +872,9 @@ UNSUPPORTEDOPERATION_ARMARCHITECTURE = 'UnsupportedOperation.ArmArchitecture'
863
872
  # The specified instance or network cannot use the bandwidth package.
864
873
  UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = 'UnsupportedOperation.BandwidthPackageIdNotSupported'
865
874
 
875
+ # The far end ssd disk does not support this operation.
876
+ UNSUPPORTEDOPERATION_CBSREMOTESSDNOTSUPPORT = 'UnsupportedOperation.CbsRemoteSsdNotSupport'
877
+
866
878
  # Only one snapshot can be created in 24 hours.
867
879
  UNSUPPORTEDOPERATION_DISKSNAPCREATETIMETOOOLD = 'UnsupportedOperation.DiskSnapCreateTimeTooOld'
868
880
 
@@ -899,6 +911,9 @@ UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = 'UnsupportedOperation.InstanceChargeTy
899
911
  # A mixed payment mode is not supported.
900
912
  UNSUPPORTEDOPERATION_INSTANCEMIXEDPRICINGMODEL = 'UnsupportedOperation.InstanceMixedPricingModel'
901
913
 
914
+ # Central AZ and edge zone instances cannot be mixed in batch operation.
915
+ UNSUPPORTEDOPERATION_INSTANCEMIXEDZONETYPE = 'UnsupportedOperation.InstanceMixedZoneType'
916
+
902
917
  # The specified instance does not support operating system switching.
903
918
  UNSUPPORTEDOPERATION_INSTANCEOSCONVERTOSNOTSUPPORT = 'UnsupportedOperation.InstanceOsConvertOsNotSupport'
904
919
 
@@ -992,6 +1007,9 @@ UNSUPPORTEDOPERATION_INVALIDDATADISK = 'UnsupportedOperation.InvalidDataDisk'
992
1007
  # The specified disk is not supported.
993
1008
  UNSUPPORTEDOPERATION_INVALIDDISK = 'UnsupportedOperation.InvalidDisk'
994
1009
 
1010
+ # Cloud block storage does not support backup points.
1011
+ UNSUPPORTEDOPERATION_INVALIDDISKBACKUPQUOTA = 'UnsupportedOperation.InvalidDiskBackupQuota'
1012
+
995
1013
  #
996
1014
  UNSUPPORTEDOPERATION_INVALIDDISKFASTROLLBACK = 'UnsupportedOperation.InvalidDiskFastRollback'
997
1015
 
@@ -9091,6 +9091,134 @@ class InquirePricePurchaseReservedInstancesOfferingResponse(AbstractModel):
9091
9091
  self._RequestId = params.get("RequestId")
9092
9092
 
9093
9093
 
9094
+ class InquiryPriceRenewInstancesRequest(AbstractModel):
9095
+ """InquiryPriceRenewInstances request structure.
9096
+
9097
+ """
9098
+
9099
+ def __init__(self):
9100
+ r"""
9101
+ :param _InstanceIds: One or more instance IDs to be operated. You can obtain the instance ID through the `InstanceId` in the return value from the API [DescribeInstances](https://www.tencentcloud.comom/document/api/213/15728?from_cn_redirect=1). The maximum number of instances per request is 100.
9102
+ :type InstanceIds: list of str
9103
+ :param _InstanceChargePrepaid: Prepaid mode, that is, monthly subscription-related parameter settings. You can specify attributes of a monthly subscription instance, such as purchase duration and whether to set auto-renewal, through this parameter.
9104
+ :type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
9105
+ :param _DryRun: Trial run, for testing purposes, does not execute specific logic. valid values: <li>`true`: skip execution logic</li> <li>`false`: execute logic</li> default value: `false`.
9106
+ :type DryRun: bool
9107
+ :param _RenewPortableDataDisk: Whether to renew the elastic data disk. valid values:<br><li>true: indicates renewing the annual and monthly subscription instance and its mounted elastic data disk simultaneously</li><li>false: indicates renewing the annual and monthly subscription instance while no longer renewing its mounted elastic data disk</li><br>default value: true.
9108
+ :type RenewPortableDataDisk: bool
9109
+ """
9110
+ self._InstanceIds = None
9111
+ self._InstanceChargePrepaid = None
9112
+ self._DryRun = None
9113
+ self._RenewPortableDataDisk = None
9114
+
9115
+ @property
9116
+ def InstanceIds(self):
9117
+ """One or more instance IDs to be operated. You can obtain the instance ID through the `InstanceId` in the return value from the API [DescribeInstances](https://www.tencentcloud.comom/document/api/213/15728?from_cn_redirect=1). The maximum number of instances per request is 100.
9118
+ :rtype: list of str
9119
+ """
9120
+ return self._InstanceIds
9121
+
9122
+ @InstanceIds.setter
9123
+ def InstanceIds(self, InstanceIds):
9124
+ self._InstanceIds = InstanceIds
9125
+
9126
+ @property
9127
+ def InstanceChargePrepaid(self):
9128
+ """Prepaid mode, that is, monthly subscription-related parameter settings. You can specify attributes of a monthly subscription instance, such as purchase duration and whether to set auto-renewal, through this parameter.
9129
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
9130
+ """
9131
+ return self._InstanceChargePrepaid
9132
+
9133
+ @InstanceChargePrepaid.setter
9134
+ def InstanceChargePrepaid(self, InstanceChargePrepaid):
9135
+ self._InstanceChargePrepaid = InstanceChargePrepaid
9136
+
9137
+ @property
9138
+ def DryRun(self):
9139
+ """Trial run, for testing purposes, does not execute specific logic. valid values: <li>`true`: skip execution logic</li> <li>`false`: execute logic</li> default value: `false`.
9140
+ :rtype: bool
9141
+ """
9142
+ return self._DryRun
9143
+
9144
+ @DryRun.setter
9145
+ def DryRun(self, DryRun):
9146
+ self._DryRun = DryRun
9147
+
9148
+ @property
9149
+ def RenewPortableDataDisk(self):
9150
+ """Whether to renew the elastic data disk. valid values:<br><li>true: indicates renewing the annual and monthly subscription instance and its mounted elastic data disk simultaneously</li><li>false: indicates renewing the annual and monthly subscription instance while no longer renewing its mounted elastic data disk</li><br>default value: true.
9151
+ :rtype: bool
9152
+ """
9153
+ return self._RenewPortableDataDisk
9154
+
9155
+ @RenewPortableDataDisk.setter
9156
+ def RenewPortableDataDisk(self, RenewPortableDataDisk):
9157
+ self._RenewPortableDataDisk = RenewPortableDataDisk
9158
+
9159
+
9160
+ def _deserialize(self, params):
9161
+ self._InstanceIds = params.get("InstanceIds")
9162
+ if params.get("InstanceChargePrepaid") is not None:
9163
+ self._InstanceChargePrepaid = InstanceChargePrepaid()
9164
+ self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
9165
+ self._DryRun = params.get("DryRun")
9166
+ self._RenewPortableDataDisk = params.get("RenewPortableDataDisk")
9167
+ memeber_set = set(params.keys())
9168
+ for name, value in vars(self).items():
9169
+ property_name = name[1:]
9170
+ if property_name in memeber_set:
9171
+ memeber_set.remove(property_name)
9172
+ if len(memeber_set) > 0:
9173
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9174
+
9175
+
9176
+
9177
+ class InquiryPriceRenewInstancesResponse(AbstractModel):
9178
+ """InquiryPriceRenewInstances response structure.
9179
+
9180
+ """
9181
+
9182
+ def __init__(self):
9183
+ r"""
9184
+ :param _Price: This parameter indicates the price for the corresponding configuration instance.
9185
+ :type Price: :class:`tencentcloud.cvm.v20170312.models.Price`
9186
+ :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.
9187
+ :type RequestId: str
9188
+ """
9189
+ self._Price = None
9190
+ self._RequestId = None
9191
+
9192
+ @property
9193
+ def Price(self):
9194
+ """This parameter indicates the price for the corresponding configuration instance.
9195
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.Price`
9196
+ """
9197
+ return self._Price
9198
+
9199
+ @Price.setter
9200
+ def Price(self, Price):
9201
+ self._Price = Price
9202
+
9203
+ @property
9204
+ def RequestId(self):
9205
+ """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.
9206
+ :rtype: str
9207
+ """
9208
+ return self._RequestId
9209
+
9210
+ @RequestId.setter
9211
+ def RequestId(self, RequestId):
9212
+ self._RequestId = RequestId
9213
+
9214
+
9215
+ def _deserialize(self, params):
9216
+ if params.get("Price") is not None:
9217
+ self._Price = Price()
9218
+ self._Price._deserialize(params.get("Price"))
9219
+ self._RequestId = params.get("RequestId")
9220
+
9221
+
9094
9222
  class InquiryPriceResetInstanceRequest(AbstractModel):
9095
9223
  """InquiryPriceResetInstance request structure.
9096
9224
 
@@ -13847,6 +13975,100 @@ class ModifyInstancesAttributeResponse(AbstractModel):
13847
13975
  self._RequestId = params.get("RequestId")
13848
13976
 
13849
13977
 
13978
+ class ModifyInstancesDisasterRecoverGroupRequest(AbstractModel):
13979
+ """ModifyInstancesDisasterRecoverGroup request structure.
13980
+
13981
+ """
13982
+
13983
+ def __init__(self):
13984
+ r"""
13985
+ :param _InstanceIds: One or more instance ids to be operated. you can obtain the instance ID through the `InstanceId` in the return value from the api [DescribeInstances](https://www.tencentcloud.com/zh/document/api/213/33258). the maximum number of instances per request is 100.
13986
+ :type InstanceIds: list of str
13987
+ :param _DisasterRecoverGroupId: Spread placement group ID. obtain through the api [DescribeDisasterRecoverGroups](https://www.tencentcloud.com/zh/document/api/213/33261).
13988
+ :type DisasterRecoverGroupId: str
13989
+ :param _Force: Whether to forcibly change instance hosts. value range:<br><li>true: indicates that the instance is allowed to change hosts, allowing the instance to reboot. local disk machine does not support specifying this parameter.</li><br><li>false: does not allow the instance to change hosts. instances can only be added to the placement group on the current host. this may result in a failure to change the placement group.</li><br><br>default value: false.
13990
+ :type Force: bool
13991
+ """
13992
+ self._InstanceIds = None
13993
+ self._DisasterRecoverGroupId = None
13994
+ self._Force = None
13995
+
13996
+ @property
13997
+ def InstanceIds(self):
13998
+ """One or more instance ids to be operated. you can obtain the instance ID through the `InstanceId` in the return value from the api [DescribeInstances](https://www.tencentcloud.com/zh/document/api/213/33258). the maximum number of instances per request is 100.
13999
+ :rtype: list of str
14000
+ """
14001
+ return self._InstanceIds
14002
+
14003
+ @InstanceIds.setter
14004
+ def InstanceIds(self, InstanceIds):
14005
+ self._InstanceIds = InstanceIds
14006
+
14007
+ @property
14008
+ def DisasterRecoverGroupId(self):
14009
+ """Spread placement group ID. obtain through the api [DescribeDisasterRecoverGroups](https://www.tencentcloud.com/zh/document/api/213/33261).
14010
+ :rtype: str
14011
+ """
14012
+ return self._DisasterRecoverGroupId
14013
+
14014
+ @DisasterRecoverGroupId.setter
14015
+ def DisasterRecoverGroupId(self, DisasterRecoverGroupId):
14016
+ self._DisasterRecoverGroupId = DisasterRecoverGroupId
14017
+
14018
+ @property
14019
+ def Force(self):
14020
+ """Whether to forcibly change instance hosts. value range:<br><li>true: indicates that the instance is allowed to change hosts, allowing the instance to reboot. local disk machine does not support specifying this parameter.</li><br><li>false: does not allow the instance to change hosts. instances can only be added to the placement group on the current host. this may result in a failure to change the placement group.</li><br><br>default value: false.
14021
+ :rtype: bool
14022
+ """
14023
+ return self._Force
14024
+
14025
+ @Force.setter
14026
+ def Force(self, Force):
14027
+ self._Force = Force
14028
+
14029
+
14030
+ def _deserialize(self, params):
14031
+ self._InstanceIds = params.get("InstanceIds")
14032
+ self._DisasterRecoverGroupId = params.get("DisasterRecoverGroupId")
14033
+ self._Force = params.get("Force")
14034
+ memeber_set = set(params.keys())
14035
+ for name, value in vars(self).items():
14036
+ property_name = name[1:]
14037
+ if property_name in memeber_set:
14038
+ memeber_set.remove(property_name)
14039
+ if len(memeber_set) > 0:
14040
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14041
+
14042
+
14043
+
14044
+ class ModifyInstancesDisasterRecoverGroupResponse(AbstractModel):
14045
+ """ModifyInstancesDisasterRecoverGroup response structure.
14046
+
14047
+ """
14048
+
14049
+ def __init__(self):
14050
+ r"""
14051
+ :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.
14052
+ :type RequestId: str
14053
+ """
14054
+ self._RequestId = None
14055
+
14056
+ @property
14057
+ def RequestId(self):
14058
+ """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.
14059
+ :rtype: str
14060
+ """
14061
+ return self._RequestId
14062
+
14063
+ @RequestId.setter
14064
+ def RequestId(self, RequestId):
14065
+ self._RequestId = RequestId
14066
+
14067
+
14068
+ def _deserialize(self, params):
14069
+ self._RequestId = params.get("RequestId")
14070
+
14071
+
13850
14072
  class ModifyInstancesProjectRequest(AbstractModel):
13851
14073
  """ModifyInstancesProject request structure.
13852
14074
 
@@ -14999,6 +15221,104 @@ class RemoveChcDeployVpcResponse(AbstractModel):
14999
15221
  self._RequestId = params.get("RequestId")
15000
15222
 
15001
15223
 
15224
+ class RenewInstancesRequest(AbstractModel):
15225
+ """RenewInstances request structure.
15226
+
15227
+ """
15228
+
15229
+ def __init__(self):
15230
+ r"""
15231
+ :param _InstanceIds: One or more instance IDs to be operated. You can obtain the instance ID through the `InstanceId` in the return value from the API [DescribeInstances](https://www.tencentcloud.comom/document/api/213/15728?from_cn_redirect=1). The maximum number of instances per request is 100.
15232
+ :type InstanceIds: list of str
15233
+ :param _InstanceChargePrepaid: Prepaid mode, that is, parameter settings related to monthly/annual subscription. specifies attributes of a monthly subscription instance, such as renewal duration and whether to enable auto-renewal, by specifying this parameter. <dx-alert infotype="explain" title="">.
15234
+ Annual and monthly subscription instances. this parameter is a required parameter.</dx-alert>.
15235
+ :type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
15236
+ :param _RenewPortableDataDisk: Whether to renew the elastic data disk. valid values:<br><li>true: indicates renewing the annual and monthly subscription instance and its mounted elastic data disk simultaneously</li><li>false: indicates renewing the annual and monthly subscription instance while no longer renewing its mounted elastic data disk</li><br>default value: true.
15237
+ :type RenewPortableDataDisk: bool
15238
+ """
15239
+ self._InstanceIds = None
15240
+ self._InstanceChargePrepaid = None
15241
+ self._RenewPortableDataDisk = None
15242
+
15243
+ @property
15244
+ def InstanceIds(self):
15245
+ """One or more instance IDs to be operated. You can obtain the instance ID through the `InstanceId` in the return value from the API [DescribeInstances](https://www.tencentcloud.comom/document/api/213/15728?from_cn_redirect=1). The maximum number of instances per request is 100.
15246
+ :rtype: list of str
15247
+ """
15248
+ return self._InstanceIds
15249
+
15250
+ @InstanceIds.setter
15251
+ def InstanceIds(self, InstanceIds):
15252
+ self._InstanceIds = InstanceIds
15253
+
15254
+ @property
15255
+ def InstanceChargePrepaid(self):
15256
+ """Prepaid mode, that is, parameter settings related to monthly/annual subscription. specifies attributes of a monthly subscription instance, such as renewal duration and whether to enable auto-renewal, by specifying this parameter. <dx-alert infotype="explain" title="">.
15257
+ Annual and monthly subscription instances. this parameter is a required parameter.</dx-alert>.
15258
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
15259
+ """
15260
+ return self._InstanceChargePrepaid
15261
+
15262
+ @InstanceChargePrepaid.setter
15263
+ def InstanceChargePrepaid(self, InstanceChargePrepaid):
15264
+ self._InstanceChargePrepaid = InstanceChargePrepaid
15265
+
15266
+ @property
15267
+ def RenewPortableDataDisk(self):
15268
+ """Whether to renew the elastic data disk. valid values:<br><li>true: indicates renewing the annual and monthly subscription instance and its mounted elastic data disk simultaneously</li><li>false: indicates renewing the annual and monthly subscription instance while no longer renewing its mounted elastic data disk</li><br>default value: true.
15269
+ :rtype: bool
15270
+ """
15271
+ return self._RenewPortableDataDisk
15272
+
15273
+ @RenewPortableDataDisk.setter
15274
+ def RenewPortableDataDisk(self, RenewPortableDataDisk):
15275
+ self._RenewPortableDataDisk = RenewPortableDataDisk
15276
+
15277
+
15278
+ def _deserialize(self, params):
15279
+ self._InstanceIds = params.get("InstanceIds")
15280
+ if params.get("InstanceChargePrepaid") is not None:
15281
+ self._InstanceChargePrepaid = InstanceChargePrepaid()
15282
+ self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
15283
+ self._RenewPortableDataDisk = params.get("RenewPortableDataDisk")
15284
+ memeber_set = set(params.keys())
15285
+ for name, value in vars(self).items():
15286
+ property_name = name[1:]
15287
+ if property_name in memeber_set:
15288
+ memeber_set.remove(property_name)
15289
+ if len(memeber_set) > 0:
15290
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15291
+
15292
+
15293
+
15294
+ class RenewInstancesResponse(AbstractModel):
15295
+ """RenewInstances response structure.
15296
+
15297
+ """
15298
+
15299
+ def __init__(self):
15300
+ r"""
15301
+ :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.
15302
+ :type RequestId: str
15303
+ """
15304
+ self._RequestId = None
15305
+
15306
+ @property
15307
+ def RequestId(self):
15308
+ """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.
15309
+ :rtype: str
15310
+ """
15311
+ return self._RequestId
15312
+
15313
+ @RequestId.setter
15314
+ def RequestId(self, RequestId):
15315
+ self._RequestId = RequestId
15316
+
15317
+
15318
+ def _deserialize(self, params):
15319
+ self._RequestId = params.get("RequestId")
15320
+
15321
+
15002
15322
  class ReservedInstanceConfigInfoItem(AbstractModel):
15003
15323
  """Static configurations of the reserved instance.
15004
15324