tencentcloud-sdk-python-intl-en 3.0.1154__py2.py3-none-any.whl → 3.0.1156__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 CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1154'
16
+ __version__ = '3.0.1156'
@@ -10015,8 +10015,9 @@ At least one security group is required for this parameter. The security group s
10015
10015
  When the public outbound network bandwidth is 0 Mbps, assigning a public IP is not allowed. Accordingly, if a public IP is assigned, the new public network outbound bandwidth must be greater than 0 Mbps.
10016
10016
  :type InternetAccessible: :class:`tencentcloud.autoscaling.v20180419.models.InternetAccessible`
10017
10017
  :param _InstanceChargeType: Instance billing mode. Valid values:
10018
- <br><li>POSTPAID_BY_HOUR: pay-as-you-go hourly
10019
- <br><li>SPOTPAID: spot instance
10018
+ <li>POSTPAID_BY_HOUR: pay-as-you-go hourly</li>
10019
+ <li>SPOTPAID: spot instance</li>
10020
+ <li> CDCPAID: dedicated cluster</li>
10020
10021
  :type InstanceChargeType: str
10021
10022
  :param _InstanceChargePrepaid: Parameter setting for the prepaid mode (monthly subscription mode). This parameter can specify the renewal period, whether to set the auto-renewal, and other attributes of the monthly-subscribed instances.
10022
10023
  This parameter is required when changing the instance billing mode to monthly subscription. It will be automatically discarded after you choose another billing mode.
@@ -10194,8 +10195,9 @@ When the public outbound network bandwidth is 0 Mbps, assigning a public IP is n
10194
10195
  @property
10195
10196
  def InstanceChargeType(self):
10196
10197
  """Instance billing mode. Valid values:
10197
- <br><li>POSTPAID_BY_HOUR: pay-as-you-go hourly
10198
- <br><li>SPOTPAID: spot instance
10198
+ <li>POSTPAID_BY_HOUR: pay-as-you-go hourly</li>
10199
+ <li>SPOTPAID: spot instance</li>
10200
+ <li> CDCPAID: dedicated cluster</li>
10199
10201
  :rtype: str
10200
10202
  """
10201
10203
  return self._InstanceChargeType
@@ -384,6 +384,9 @@ class AbstractClient(object):
384
384
  colon_idx = line.find(':')
385
385
  key = line[:colon_idx]
386
386
  val = line[colon_idx + 1:]
387
+ # If value starts with a U+0020 SPACE character, remove it from value.
388
+ if val and val[0] == " ":
389
+ val = val[1:]
387
390
  if key == 'data':
388
391
  # The spec allows for multiple data fields per event, concatenated them with "\n".
389
392
  if 'data' not in e:
@@ -869,8 +869,31 @@ class CvmClient(AbstractClient):
869
869
  raise TencentCloudSDKException(type(e).__name__, str(e))
870
870
 
871
871
 
872
+ def DescribeReservedInstances(self, request):
873
+ """This API is used to list the reserved instances purchased by the user.
874
+
875
+ :param request: Request instance for DescribeReservedInstances.
876
+ :type request: :class:`tencentcloud.cvm.v20170312.models.DescribeReservedInstancesRequest`
877
+ :rtype: :class:`tencentcloud.cvm.v20170312.models.DescribeReservedInstancesResponse`
878
+
879
+ """
880
+ try:
881
+ params = request._serialize()
882
+ headers = request.headers
883
+ body = self.call("DescribeReservedInstances", params, headers=headers)
884
+ response = json.loads(body)
885
+ model = models.DescribeReservedInstancesResponse()
886
+ model._deserialize(response["Response"])
887
+ return model
888
+ except Exception as e:
889
+ if isinstance(e, TencentCloudSDKException):
890
+ raise
891
+ else:
892
+ raise TencentCloudSDKException(type(e).__name__, str(e))
893
+
894
+
872
895
  def DescribeReservedInstancesConfigInfos(self, request):
873
- """This API is used to describe reserved instance (RI) offerings. Currently, RIs are only offered to beta users.
896
+ """This API is used to describe reserved instance (RI) offerings.
874
897
 
875
898
  :param request: Request instance for DescribeReservedInstancesConfigInfos.
876
899
  :type request: :class:`tencentcloud.cvm.v20170312.models.DescribeReservedInstancesConfigInfosRequest`
@@ -977,7 +977,7 @@ UNSUPPORTEDOPERATION_INVALIDINSTANCEWITHSWAPDISK = 'UnsupportedOperation.Invalid
977
977
  # The user does not have permissions to operate the current instance.
978
978
  UNSUPPORTEDOPERATION_INVALIDINSTANCESOWNER = 'UnsupportedOperation.InvalidInstancesOwner'
979
979
 
980
- # The current operation is only supported for Tencent Cloud International users.
980
+ # The current operation is supported only for Tencent Cloud users.
981
981
  UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = 'UnsupportedOperation.InvalidPermissionNonInternationalAccount'
982
982
 
983
983
  # Encrypted disks are not available in the selected regions.
@@ -5940,19 +5940,19 @@ class DescribeReservedInstancesConfigInfosRequest(AbstractModel):
5940
5940
 
5941
5941
  def __init__(self):
5942
5942
  r"""
5943
- :param _Filters: zone
5943
+ :param _Filters: <li><strong>zone</li></strong>
5944
5944
  Filters by the availability zones in which the reserved instance can be purchased, such as `ap-guangzhou-1`.
5945
5945
  Type: String
5946
5946
  Required: no
5947
5947
  Valid values: list of regions/availability zones
5948
5948
 
5949
- product-description
5949
+ <li><strong>product-description</li></strong>
5950
5950
  Filters by the platform description (operating system) of the reserved instance, such as `linux`.
5951
5951
  Type: String
5952
5952
  Required: no
5953
5953
  Valid value: linux
5954
5954
 
5955
- duration
5955
+ <li><strong>duration</li></strong>
5956
5956
  Filters by the **validity** of the reserved instance, which is the purchased usage period. For example, `31536000`.
5957
5957
  Type: Integer
5958
5958
  Unit: second
@@ -5964,19 +5964,19 @@ Valid value: 31536000 (1 year)
5964
5964
 
5965
5965
  @property
5966
5966
  def Filters(self):
5967
- """zone
5967
+ """<li><strong>zone</li></strong>
5968
5968
  Filters by the availability zones in which the reserved instance can be purchased, such as `ap-guangzhou-1`.
5969
5969
  Type: String
5970
5970
  Required: no
5971
5971
  Valid values: list of regions/availability zones
5972
5972
 
5973
- product-description
5973
+ <li><strong>product-description</li></strong>
5974
5974
  Filters by the platform description (operating system) of the reserved instance, such as `linux`.
5975
5975
  Type: String
5976
5976
  Required: no
5977
5977
  Valid value: linux
5978
5978
 
5979
- duration
5979
+ <li><strong>duration</li></strong>
5980
5980
  Filters by the **validity** of the reserved instance, which is the purchased usage period. For example, `31536000`.
5981
5981
  Type: Integer
5982
5982
  Unit: second
@@ -6267,6 +6267,187 @@ class DescribeReservedInstancesOfferingsResponse(AbstractModel):
6267
6267
  self._RequestId = params.get("RequestId")
6268
6268
 
6269
6269
 
6270
+ class DescribeReservedInstancesRequest(AbstractModel):
6271
+ """DescribeReservedInstances request structure.
6272
+
6273
+ """
6274
+
6275
+ def __init__(self):
6276
+ r"""
6277
+ :param _DryRun: Trial run. Default value: false.
6278
+ :type DryRun: bool
6279
+ :param _Offset: Offset. Default value: 0. For more information on `Offset`, see the relevant section in API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
6280
+ :type Offset: int
6281
+ :param _Limit: Number of returned instances. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section in API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
6282
+ :type Limit: int
6283
+ :param _Filters: <li><strong>zone</strong></li>
6284
+ <p style="padding-left: 30px;">Filter by [<strong>availability zones</strong>] in which reserved instances can be purchased. For example, ap-guangzhou-1.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/6091?from_cn_redirect=1">availability zone list</a>.</p>
6285
+ <li><strong>duration</strong></li>
6286
+ <p style="padding-left: 30px;">Filter by [<strong>validity periods</strong>] of reserved instances, which is the instance purchase duration. For example, 31536000.</p><p style="padding-left: 30px;">Type: Integer.</p><p style="padding-left: 30px;">Unit: Second.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: 31536000 (1 year) | 94608000 (3 years).</p>
6287
+ <li><strong>instance-type</strong></li>
6288
+ <p style="padding-left: 30px;">Filter by [<strong>specifications of reserved instances</strong>]. For example, S3.MEDIUM4.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">reserved instance specification list</a>.</p>
6289
+ <li><strong>instance-family</strong></li>
6290
+ <p style="padding-left: 30px;">Filter by [<strong>types of reserved instances</strong>]. For example, S3.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">reserved instance type list</a>.</p>
6291
+ <li><strong>offering-type</strong></li>
6292
+ <p style="padding-left: 30px;">Filter by <strong>payment types</strong>]. For example, All Upfront (fully prepaid).</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: All Upfront (fully prepaid) | Partial Upfront (partially prepaid) | No Upfront (non-prepaid).</p>
6293
+ <li><strong>product-description</strong></li>
6294
+ <p style="padding-left: 30px;">Filter by [<strong>platform descriptions</strong>] (operating system) of reserved instances. For example, linux.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid value: linux.</p>
6295
+ <li><strong>reserved-instances-id</strong></li>
6296
+ <p style="padding-left: 30px;">Filter by [<strong>IDs of purchased reserved instances</strong>]. For example, 650c138f-ae7e-4750-952a-96841d6e9fc1.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p>
6297
+ <li><strong>state</strong></li>
6298
+ <p style="padding-left: 30px;">Filter by [<strong>statuses of purchased reserved instances</strong>]. For example, active.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: active (created) | pending (waiting to be created) | retired (expired).</p>
6299
+ Each request can have up to 10 filters, and each filter can have up to 5 values.
6300
+ :type Filters: list of Filter
6301
+ """
6302
+ self._DryRun = None
6303
+ self._Offset = None
6304
+ self._Limit = None
6305
+ self._Filters = None
6306
+
6307
+ @property
6308
+ def DryRun(self):
6309
+ """Trial run. Default value: false.
6310
+ :rtype: bool
6311
+ """
6312
+ return self._DryRun
6313
+
6314
+ @DryRun.setter
6315
+ def DryRun(self, DryRun):
6316
+ self._DryRun = DryRun
6317
+
6318
+ @property
6319
+ def Offset(self):
6320
+ """Offset. Default value: 0. For more information on `Offset`, see the relevant section in API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
6321
+ :rtype: int
6322
+ """
6323
+ return self._Offset
6324
+
6325
+ @Offset.setter
6326
+ def Offset(self, Offset):
6327
+ self._Offset = Offset
6328
+
6329
+ @property
6330
+ def Limit(self):
6331
+ """Number of returned instances. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section in API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
6332
+ :rtype: int
6333
+ """
6334
+ return self._Limit
6335
+
6336
+ @Limit.setter
6337
+ def Limit(self, Limit):
6338
+ self._Limit = Limit
6339
+
6340
+ @property
6341
+ def Filters(self):
6342
+ """<li><strong>zone</strong></li>
6343
+ <p style="padding-left: 30px;">Filter by [<strong>availability zones</strong>] in which reserved instances can be purchased. For example, ap-guangzhou-1.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/6091?from_cn_redirect=1">availability zone list</a>.</p>
6344
+ <li><strong>duration</strong></li>
6345
+ <p style="padding-left: 30px;">Filter by [<strong>validity periods</strong>] of reserved instances, which is the instance purchase duration. For example, 31536000.</p><p style="padding-left: 30px;">Type: Integer.</p><p style="padding-left: 30px;">Unit: Second.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: 31536000 (1 year) | 94608000 (3 years).</p>
6346
+ <li><strong>instance-type</strong></li>
6347
+ <p style="padding-left: 30px;">Filter by [<strong>specifications of reserved instances</strong>]. For example, S3.MEDIUM4.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">reserved instance specification list</a>.</p>
6348
+ <li><strong>instance-family</strong></li>
6349
+ <p style="padding-left: 30px;">Filter by [<strong>types of reserved instances</strong>]. For example, S3.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: See the <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">reserved instance type list</a>.</p>
6350
+ <li><strong>offering-type</strong></li>
6351
+ <p style="padding-left: 30px;">Filter by <strong>payment types</strong>]. For example, All Upfront (fully prepaid).</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: All Upfront (fully prepaid) | Partial Upfront (partially prepaid) | No Upfront (non-prepaid).</p>
6352
+ <li><strong>product-description</strong></li>
6353
+ <p style="padding-left: 30px;">Filter by [<strong>platform descriptions</strong>] (operating system) of reserved instances. For example, linux.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid value: linux.</p>
6354
+ <li><strong>reserved-instances-id</strong></li>
6355
+ <p style="padding-left: 30px;">Filter by [<strong>IDs of purchased reserved instances</strong>]. For example, 650c138f-ae7e-4750-952a-96841d6e9fc1.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p>
6356
+ <li><strong>state</strong></li>
6357
+ <p style="padding-left: 30px;">Filter by [<strong>statuses of purchased reserved instances</strong>]. For example, active.</p><p style="padding-left: 30px;">Type: String.</p><p style="padding-left: 30px;">Required: No.</p><p style="padding-left: 30px;">Valid values: active (created) | pending (waiting to be created) | retired (expired).</p>
6358
+ Each request can have up to 10 filters, and each filter can have up to 5 values.
6359
+ :rtype: list of Filter
6360
+ """
6361
+ return self._Filters
6362
+
6363
+ @Filters.setter
6364
+ def Filters(self, Filters):
6365
+ self._Filters = Filters
6366
+
6367
+
6368
+ def _deserialize(self, params):
6369
+ self._DryRun = params.get("DryRun")
6370
+ self._Offset = params.get("Offset")
6371
+ self._Limit = params.get("Limit")
6372
+ if params.get("Filters") is not None:
6373
+ self._Filters = []
6374
+ for item in params.get("Filters"):
6375
+ obj = Filter()
6376
+ obj._deserialize(item)
6377
+ self._Filters.append(obj)
6378
+ memeber_set = set(params.keys())
6379
+ for name, value in vars(self).items():
6380
+ property_name = name[1:]
6381
+ if property_name in memeber_set:
6382
+ memeber_set.remove(property_name)
6383
+ if len(memeber_set) > 0:
6384
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6385
+
6386
+
6387
+
6388
+ class DescribeReservedInstancesResponse(AbstractModel):
6389
+ """DescribeReservedInstances response structure.
6390
+
6391
+ """
6392
+
6393
+ def __init__(self):
6394
+ r"""
6395
+ :param _TotalCount: Number of reserved instances that meet the conditions.
6396
+ :type TotalCount: int
6397
+ :param _ReservedInstancesSet: List of reserved instances that meet the conditions.
6398
+ :type ReservedInstancesSet: list of ReservedInstances
6399
+ :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.
6400
+ :type RequestId: str
6401
+ """
6402
+ self._TotalCount = None
6403
+ self._ReservedInstancesSet = None
6404
+ self._RequestId = None
6405
+
6406
+ @property
6407
+ def TotalCount(self):
6408
+ """Number of reserved instances that meet the conditions.
6409
+ :rtype: int
6410
+ """
6411
+ return self._TotalCount
6412
+
6413
+ @TotalCount.setter
6414
+ def TotalCount(self, TotalCount):
6415
+ self._TotalCount = TotalCount
6416
+
6417
+ @property
6418
+ def ReservedInstancesSet(self):
6419
+ """List of reserved instances that meet the conditions.
6420
+ :rtype: list of ReservedInstances
6421
+ """
6422
+ return self._ReservedInstancesSet
6423
+
6424
+ @ReservedInstancesSet.setter
6425
+ def ReservedInstancesSet(self, ReservedInstancesSet):
6426
+ self._ReservedInstancesSet = ReservedInstancesSet
6427
+
6428
+ @property
6429
+ def RequestId(self):
6430
+ """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.
6431
+ :rtype: str
6432
+ """
6433
+ return self._RequestId
6434
+
6435
+ @RequestId.setter
6436
+ def RequestId(self, RequestId):
6437
+ self._RequestId = RequestId
6438
+
6439
+
6440
+ def _deserialize(self, params):
6441
+ self._TotalCount = params.get("TotalCount")
6442
+ if params.get("ReservedInstancesSet") is not None:
6443
+ self._ReservedInstancesSet = []
6444
+ for item in params.get("ReservedInstancesSet"):
6445
+ obj = ReservedInstances()
6446
+ obj._deserialize(item)
6447
+ self._ReservedInstancesSet.append(obj)
6448
+ self._RequestId = params.get("RequestId")
6449
+
6450
+
6270
6451
  class DescribeZoneInstanceConfigInfosRequest(AbstractModel):
6271
6452
  """DescribeZoneInstanceConfigInfos request structure.
6272
6453
 
@@ -14356,7 +14537,7 @@ class RemoveChcDeployVpcResponse(AbstractModel):
14356
14537
 
14357
14538
 
14358
14539
  class ReservedInstanceConfigInfoItem(AbstractModel):
14359
- """Static configurations of the reserved instance. Currently, RIs are only offered to beta users.
14540
+ """Static configurations of the reserved instance.
14360
14541
 
14361
14542
  """
14362
14543
 
@@ -14442,7 +14623,7 @@ class ReservedInstanceConfigInfoItem(AbstractModel):
14442
14623
 
14443
14624
 
14444
14625
  class ReservedInstanceFamilyItem(AbstractModel):
14445
- """RI-related instance family. Currently, RIs are only offered to beta users.
14626
+ """RI-related instance family.
14446
14627
 
14447
14628
  """
14448
14629
 
@@ -14628,7 +14809,7 @@ Note: This field may return null, indicating that no valid value is found.
14628
14809
 
14629
14810
 
14630
14811
  class ReservedInstancePriceItem(AbstractModel):
14631
- """Price information of the reserved instance based on the payment method. Currently, RIs are only offered to beta users.
14812
+ """Price information of the reserved instance based on the payment method.
14632
14813
 
14633
14814
  """
14634
14815
 
@@ -14650,9 +14831,9 @@ Unit: second
14650
14831
  :param _ProductDescription: The operating system of the reserved instance, such as `Linux`.
14651
14832
  Valid value: `Linux`.
14652
14833
  :type ProductDescription: str
14653
- :param _DiscountUsagePrice: Upfront total cost, in USD.
14834
+ :param _DiscountUsagePrice: Discount price for subsequent total cost, in USD/hr.
14654
14835
  :type DiscountUsagePrice: float
14655
- :param _DiscountFixedPrice: Discount price for subsequent total cost, in USD/hr.
14836
+ :param _DiscountFixedPrice: Discount price for upfront total cost, in USD.
14656
14837
  :type DiscountFixedPrice: float
14657
14838
  """
14658
14839
  self._OfferingType = None
@@ -14746,7 +14927,7 @@ Valid value: `Linux`.
14746
14927
 
14747
14928
  @property
14748
14929
  def DiscountUsagePrice(self):
14749
- """Upfront total cost, in USD.
14930
+ """Discount price for subsequent total cost, in USD/hr.
14750
14931
  :rtype: float
14751
14932
  """
14752
14933
  return self._DiscountUsagePrice
@@ -14757,7 +14938,7 @@ Valid value: `Linux`.
14757
14938
 
14758
14939
  @property
14759
14940
  def DiscountFixedPrice(self):
14760
- """Discount price for subsequent total cost, in USD/hr.
14941
+ """Discount price for upfront total cost, in USD.
14761
14942
  :rtype: float
14762
14943
  """
14763
14944
  return self._DiscountFixedPrice
@@ -14788,7 +14969,7 @@ Valid value: `Linux`.
14788
14969
 
14789
14970
 
14790
14971
  class ReservedInstanceTypeItem(AbstractModel):
14791
- """Reserved instance specification. Currently, RIs are only offered to beta users.
14972
+ """Reserved instance specification.
14792
14973
 
14793
14974
  """
14794
14975
 
@@ -15025,6 +15206,257 @@ class ReservedInstanceTypeItem(AbstractModel):
15025
15206
 
15026
15207
 
15027
15208
 
15209
+ class ReservedInstances(AbstractModel):
15210
+ """Information on reserved instances purchased by the user.
15211
+
15212
+ """
15213
+
15214
+ def __init__(self):
15215
+ r"""
15216
+ :param _ReservedInstancesId: (This field has been deprecated. ReservedInstanceId is recommended.) IDs of purchased reserved instances. For example, ri-rtbh4han.
15217
+ :type ReservedInstancesId: str
15218
+ :param _InstanceType: Specifications of reserved instances. For example, S3.MEDIUM4.
15219
+ Return values: <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">Reserved instance specification list.</a>
15220
+ :type InstanceType: str
15221
+ :param _Zone: Availability zones in which reserved instances can be purchased. For example, ap-guangzhou-1.
15222
+ Return values: <a href="https://intl.cloud.tencent.com/document/product/213/6091?from_cn_redirect=1">Availability zone list.</a>
15223
+ :type Zone: str
15224
+ :param _StartTime: Billing start time of reserved instances. For example, 1949-10-01 00:00:00.
15225
+ :type StartTime: str
15226
+ :param _EndTime: Billing end time of reserved instances. For example, 1949-10-01 00:00:00.
15227
+ :type EndTime: str
15228
+ :param _Duration: Validity periods of reserved instances, which is the purchase duration of reserved instances. For example, 31536000.
15229
+ Unit: second.
15230
+ :type Duration: int
15231
+ :param _InstanceCount: Number of purchased reserved instances. For example, 10.
15232
+ :type InstanceCount: int
15233
+ :param _ProductDescription: Platform descriptions (operating systems) of reserved instances. For example, linux.
15234
+ Return value: linux.
15235
+ :type ProductDescription: str
15236
+ :param _State: Statuses of purchased reserved instances. For example: active.
15237
+ Return values: active (created) | pending (waiting to be created) | retired (expired).
15238
+ :type State: str
15239
+ :param _CurrencyCode: Billing currencies of purchasable reserved instances. Use standard currency codes defined in ISO 4217. For example, USD.
15240
+ Return value: USD.
15241
+ :type CurrencyCode: str
15242
+ :param _OfferingType: Payment types of reserved instances. For example, All Upfront.
15243
+ Return value: All Upfront (fully prepaid).
15244
+ :type OfferingType: str
15245
+ :param _InstanceFamily: Types of reserved instances. For example, S3.
15246
+ Return values: <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">Reserved instance type list.</a>
15247
+ :type InstanceFamily: str
15248
+ :param _ReservedInstanceId: IDs of purchased reserved instances. For example, ri-rtbh4han.
15249
+ :type ReservedInstanceId: str
15250
+ :param _ReservedInstanceName: Display names of reserved instances. For example, riname-01.
15251
+ :type ReservedInstanceName: str
15252
+ """
15253
+ self._ReservedInstancesId = None
15254
+ self._InstanceType = None
15255
+ self._Zone = None
15256
+ self._StartTime = None
15257
+ self._EndTime = None
15258
+ self._Duration = None
15259
+ self._InstanceCount = None
15260
+ self._ProductDescription = None
15261
+ self._State = None
15262
+ self._CurrencyCode = None
15263
+ self._OfferingType = None
15264
+ self._InstanceFamily = None
15265
+ self._ReservedInstanceId = None
15266
+ self._ReservedInstanceName = None
15267
+
15268
+ @property
15269
+ def ReservedInstancesId(self):
15270
+ warnings.warn("parameter `ReservedInstancesId` is deprecated", DeprecationWarning)
15271
+
15272
+ """(This field has been deprecated. ReservedInstanceId is recommended.) IDs of purchased reserved instances. For example, ri-rtbh4han.
15273
+ :rtype: str
15274
+ """
15275
+ return self._ReservedInstancesId
15276
+
15277
+ @ReservedInstancesId.setter
15278
+ def ReservedInstancesId(self, ReservedInstancesId):
15279
+ warnings.warn("parameter `ReservedInstancesId` is deprecated", DeprecationWarning)
15280
+
15281
+ self._ReservedInstancesId = ReservedInstancesId
15282
+
15283
+ @property
15284
+ def InstanceType(self):
15285
+ """Specifications of reserved instances. For example, S3.MEDIUM4.
15286
+ Return values: <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">Reserved instance specification list.</a>
15287
+ :rtype: str
15288
+ """
15289
+ return self._InstanceType
15290
+
15291
+ @InstanceType.setter
15292
+ def InstanceType(self, InstanceType):
15293
+ self._InstanceType = InstanceType
15294
+
15295
+ @property
15296
+ def Zone(self):
15297
+ """Availability zones in which reserved instances can be purchased. For example, ap-guangzhou-1.
15298
+ Return values: <a href="https://intl.cloud.tencent.com/document/product/213/6091?from_cn_redirect=1">Availability zone list.</a>
15299
+ :rtype: str
15300
+ """
15301
+ return self._Zone
15302
+
15303
+ @Zone.setter
15304
+ def Zone(self, Zone):
15305
+ self._Zone = Zone
15306
+
15307
+ @property
15308
+ def StartTime(self):
15309
+ """Billing start time of reserved instances. For example, 1949-10-01 00:00:00.
15310
+ :rtype: str
15311
+ """
15312
+ return self._StartTime
15313
+
15314
+ @StartTime.setter
15315
+ def StartTime(self, StartTime):
15316
+ self._StartTime = StartTime
15317
+
15318
+ @property
15319
+ def EndTime(self):
15320
+ """Billing end time of reserved instances. For example, 1949-10-01 00:00:00.
15321
+ :rtype: str
15322
+ """
15323
+ return self._EndTime
15324
+
15325
+ @EndTime.setter
15326
+ def EndTime(self, EndTime):
15327
+ self._EndTime = EndTime
15328
+
15329
+ @property
15330
+ def Duration(self):
15331
+ """Validity periods of reserved instances, which is the purchase duration of reserved instances. For example, 31536000.
15332
+ Unit: second.
15333
+ :rtype: int
15334
+ """
15335
+ return self._Duration
15336
+
15337
+ @Duration.setter
15338
+ def Duration(self, Duration):
15339
+ self._Duration = Duration
15340
+
15341
+ @property
15342
+ def InstanceCount(self):
15343
+ """Number of purchased reserved instances. For example, 10.
15344
+ :rtype: int
15345
+ """
15346
+ return self._InstanceCount
15347
+
15348
+ @InstanceCount.setter
15349
+ def InstanceCount(self, InstanceCount):
15350
+ self._InstanceCount = InstanceCount
15351
+
15352
+ @property
15353
+ def ProductDescription(self):
15354
+ """Platform descriptions (operating systems) of reserved instances. For example, linux.
15355
+ Return value: linux.
15356
+ :rtype: str
15357
+ """
15358
+ return self._ProductDescription
15359
+
15360
+ @ProductDescription.setter
15361
+ def ProductDescription(self, ProductDescription):
15362
+ self._ProductDescription = ProductDescription
15363
+
15364
+ @property
15365
+ def State(self):
15366
+ """Statuses of purchased reserved instances. For example: active.
15367
+ Return values: active (created) | pending (waiting to be created) | retired (expired).
15368
+ :rtype: str
15369
+ """
15370
+ return self._State
15371
+
15372
+ @State.setter
15373
+ def State(self, State):
15374
+ self._State = State
15375
+
15376
+ @property
15377
+ def CurrencyCode(self):
15378
+ """Billing currencies of purchasable reserved instances. Use standard currency codes defined in ISO 4217. For example, USD.
15379
+ Return value: USD.
15380
+ :rtype: str
15381
+ """
15382
+ return self._CurrencyCode
15383
+
15384
+ @CurrencyCode.setter
15385
+ def CurrencyCode(self, CurrencyCode):
15386
+ self._CurrencyCode = CurrencyCode
15387
+
15388
+ @property
15389
+ def OfferingType(self):
15390
+ """Payment types of reserved instances. For example, All Upfront.
15391
+ Return value: All Upfront (fully prepaid).
15392
+ :rtype: str
15393
+ """
15394
+ return self._OfferingType
15395
+
15396
+ @OfferingType.setter
15397
+ def OfferingType(self, OfferingType):
15398
+ self._OfferingType = OfferingType
15399
+
15400
+ @property
15401
+ def InstanceFamily(self):
15402
+ """Types of reserved instances. For example, S3.
15403
+ Return values: <a href="https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1">Reserved instance type list.</a>
15404
+ :rtype: str
15405
+ """
15406
+ return self._InstanceFamily
15407
+
15408
+ @InstanceFamily.setter
15409
+ def InstanceFamily(self, InstanceFamily):
15410
+ self._InstanceFamily = InstanceFamily
15411
+
15412
+ @property
15413
+ def ReservedInstanceId(self):
15414
+ """IDs of purchased reserved instances. For example, ri-rtbh4han.
15415
+ :rtype: str
15416
+ """
15417
+ return self._ReservedInstanceId
15418
+
15419
+ @ReservedInstanceId.setter
15420
+ def ReservedInstanceId(self, ReservedInstanceId):
15421
+ self._ReservedInstanceId = ReservedInstanceId
15422
+
15423
+ @property
15424
+ def ReservedInstanceName(self):
15425
+ """Display names of reserved instances. For example, riname-01.
15426
+ :rtype: str
15427
+ """
15428
+ return self._ReservedInstanceName
15429
+
15430
+ @ReservedInstanceName.setter
15431
+ def ReservedInstanceName(self, ReservedInstanceName):
15432
+ self._ReservedInstanceName = ReservedInstanceName
15433
+
15434
+
15435
+ def _deserialize(self, params):
15436
+ self._ReservedInstancesId = params.get("ReservedInstancesId")
15437
+ self._InstanceType = params.get("InstanceType")
15438
+ self._Zone = params.get("Zone")
15439
+ self._StartTime = params.get("StartTime")
15440
+ self._EndTime = params.get("EndTime")
15441
+ self._Duration = params.get("Duration")
15442
+ self._InstanceCount = params.get("InstanceCount")
15443
+ self._ProductDescription = params.get("ProductDescription")
15444
+ self._State = params.get("State")
15445
+ self._CurrencyCode = params.get("CurrencyCode")
15446
+ self._OfferingType = params.get("OfferingType")
15447
+ self._InstanceFamily = params.get("InstanceFamily")
15448
+ self._ReservedInstanceId = params.get("ReservedInstanceId")
15449
+ self._ReservedInstanceName = params.get("ReservedInstanceName")
15450
+ memeber_set = set(params.keys())
15451
+ for name, value in vars(self).items():
15452
+ property_name = name[1:]
15453
+ if property_name in memeber_set:
15454
+ memeber_set.remove(property_name)
15455
+ if len(memeber_set) > 0:
15456
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15457
+
15458
+
15459
+
15028
15460
  class ReservedInstancesOffering(AbstractModel):
15029
15461
  """The information of the Reserved Instance offering.
15030
15462
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1154
3
+ Version: 3.0.1156
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=biVJyaOC3uoDt7bpF6zQZdVo2MTDCBNglS_vz75eQs8,630
1
+ tencentcloud/__init__.py,sha256=vY1sp3bCtKZ9e4_FKytlSA9M7N5jCmwVq8VwVZ-6eXE,630
2
2
  tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/advisor/v20200721/advisor_client.py,sha256=b5pLP_oF5HZHo4xbn-hI4dkpnirhcHB2rNDWvGf4q1Y,2919
@@ -38,7 +38,7 @@ tencentcloud/autoscaling/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
38
38
  tencentcloud/autoscaling/v20180419/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
39
  tencentcloud/autoscaling/v20180419/autoscaling_client.py,sha256=DfbR-yf63KyQfpJ0REWH3jhcGCm81Y4vGo4E5Es0sec,73330
40
40
  tencentcloud/autoscaling/v20180419/errorcodes.py,sha256=EnO0NtPCX0cHZg4gwcuFy0h0lpGYXj7IxKOPyumtZss,23895
41
- tencentcloud/autoscaling/v20180419/models.py,sha256=0DCz-zVAJd5bZH16zlqxmLXGiVOL3ZCB3EkEOpzvNvc,623782
41
+ tencentcloud/autoscaling/v20180419/models.py,sha256=cIGdx0Ir6gujxrAygeybePn1QTDRCEAtMr0sDdvxr9I,623860
42
42
  tencentcloud/batch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
43
  tencentcloud/batch/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
44
44
  tencentcloud/batch/v20170312/batch_client.py,sha256=dZRtOWDZKKeCiO05RhGAe3RxcuMK3lyPZ5Il-eElpbI,29648
@@ -154,7 +154,7 @@ tencentcloud/cmq/v20190304/cmq_client.py,sha256=asNMVV6fMeTfgSqX3tB9irFyyao7opck
154
154
  tencentcloud/cmq/v20190304/errorcodes.py,sha256=SO6QAmRyJYfLG2FrjvftsWzX9XpdeGkQPBkY3peoC6c,1396
155
155
  tencentcloud/cmq/v20190304/models.py,sha256=ag9wlIRscnEbGyL5pRSv-692gqUoJsxf2Ajy6N8FvMY,130045
156
156
  tencentcloud/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
157
- tencentcloud/common/abstract_client.py,sha256=kTyXHH95JTS_8Udz08Xn9GPZQPb7bPrPbjbZWng3Xkg,22368
157
+ tencentcloud/common/abstract_client.py,sha256=sWmxrjgZASswqvsTKLlnpPrSFlLuwZ6kyf1GIZp_ECY,22519
158
158
  tencentcloud/common/abstract_model.py,sha256=3v71msaz-M3krVA5iSiq8WgIOorPbHgs5Y63TPLBJvo,2335
159
159
  tencentcloud/common/circuit_breaker.py,sha256=p_6ssklMRtR-YKNGcFLd3ClUvZPs8ZLnVkhjcOZA0DY,4301
160
160
  tencentcloud/common/common_client.py,sha256=H8VH-6y41AN1aIjz4PaJCpj-T1EoW9KGfaeqxPEBzWg,1958
@@ -184,9 +184,9 @@ tencentcloud/csip/v20221121/errorcodes.py,sha256=BtrJ2Ezz21uWHzoEJED1bUeiBgp3zuf
184
184
  tencentcloud/csip/v20221121/models.py,sha256=hAdedmdDrD4HWsZQb7SdqtymGVFHoXVZYqkjYeZV5Ms,480806
185
185
  tencentcloud/cvm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
186
186
  tencentcloud/cvm/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
187
- tencentcloud/cvm/v20170312/cvm_client.py,sha256=mg6PWwHdBUwaUqtyc23m5f1FMHr63T-cbD3gWBuT5ek,94174
188
- tencentcloud/cvm/v20170312/errorcodes.py,sha256=A-ckhQyCbsJtJ1And4c5-INIb6OBekV99rpARLv_jGo,52495
189
- tencentcloud/cvm/v20170312/models.py,sha256=_DbSfGtf6n_z718G6213NpSes2NF6Ftf6iylXQ8HGPk,755599
187
+ tencentcloud/cvm/v20170312/cvm_client.py,sha256=aqKlB0ZQ2VqRSrr3SMn4M5sb3_7fBBqgVt_wM2d6ttg,95096
188
+ tencentcloud/cvm/v20170312/errorcodes.py,sha256=yw7oOTf6MWVHxVGdSA1DFU7P7O8V9g87r-Vlczufp44,52481
189
+ tencentcloud/cvm/v20170312/models.py,sha256=SlQ3zwVCoTjgkEWVZ77bUU7mXOfgcqtZA_uuq-D6Cnw,776861
190
190
  tencentcloud/cwp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
191
191
  tencentcloud/cwp/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
192
192
  tencentcloud/cwp/v20180228/cwp_client.py,sha256=XlAOIbfCE2PH5kdpATOrUkuE7eZd74lqbvhm2UDECi0,444132
@@ -634,7 +634,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
634
634
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
635
635
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
636
636
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
637
- tencentcloud_sdk_python_intl_en-3.0.1154.dist-info/METADATA,sha256=9VPexEP19iE4QtoSVZP1Cy9Dy3egAl8KBwdsfj5rrso,1628
638
- tencentcloud_sdk_python_intl_en-3.0.1154.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
639
- tencentcloud_sdk_python_intl_en-3.0.1154.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
640
- tencentcloud_sdk_python_intl_en-3.0.1154.dist-info/RECORD,,
637
+ tencentcloud_sdk_python_intl_en-3.0.1156.dist-info/METADATA,sha256=rgDBtIOhF59V15DhJ7LzghcYqIAB9fHjTW0ZE12AyxI,1628
638
+ tencentcloud_sdk_python_intl_en-3.0.1156.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
639
+ tencentcloud_sdk_python_intl_en-3.0.1156.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
640
+ tencentcloud_sdk_python_intl_en-3.0.1156.dist-info/RECORD,,