tencentcloud-sdk-python-intl-en 3.0.1156__py2.py3-none-any.whl → 3.0.1158__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.1156'
16
+ __version__ = '3.0.1158'
@@ -1415,7 +1415,7 @@ class BillDetail(AbstractModel):
1415
1415
  r"""
1416
1416
  :param _BusinessCodeName: Product name: The name of a Tencent Cloud product purchased by the user, such as CVM.
1417
1417
  :type BusinessCodeName: str
1418
- :param _ProductCodeName: Subproduct name: The subcategory of a Tencent Cloud product purchased by the user, such as CVM Standard S1.
1418
+ :param _ProductCodeName: Subproduct name: The subcategory of a Tencent Cloud product purchased by the user, such as CVM Standard S1.
1419
1419
  :type ProductCodeName: str
1420
1420
  :param _PayModeName: Billing mode, which can be monthly subscription or pay-as-you-go.
1421
1421
  :type PayModeName: str
@@ -1485,6 +1485,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
1485
1485
  :type RegionTypeName: str
1486
1486
  :param _ReserveDetail: Note attributes (instance configuration): Other note information, such as the reserved instance, the reserved instance type, the transaction type, and the region information on both ends of the CCN product.Note: This field may return null, indicating that no valid values can be obtained.
1487
1487
  :type ReserveDetail: str
1488
+ :param _DiscountObject: the discount object for the current consumption item, such as official website discount, user discount, and event discount.
1489
+ :type DiscountObject: str
1490
+ :param _DiscountType: the discount type for the current consumption item, such as discount and contract price.
1491
+
1492
+ :type DiscountType: str
1493
+ :param _DiscountContent: supplementary description of the discount type, such as 0.2.
1494
+ :type DiscountContent: str
1488
1495
  """
1489
1496
  self._BusinessCodeName = None
1490
1497
  self._ProductCodeName = None
@@ -1520,6 +1527,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
1520
1527
  self._RegionType = None
1521
1528
  self._RegionTypeName = None
1522
1529
  self._ReserveDetail = None
1530
+ self._DiscountObject = None
1531
+ self._DiscountType = None
1532
+ self._DiscountContent = None
1523
1533
 
1524
1534
  @property
1525
1535
  def BusinessCodeName(self):
@@ -1534,7 +1544,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
1534
1544
 
1535
1545
  @property
1536
1546
  def ProductCodeName(self):
1537
- """Subproduct name: The subcategory of a Tencent Cloud product purchased by the user, such as CVM Standard S1.
1547
+ """Subproduct name: The subcategory of a Tencent Cloud product purchased by the user, such as CVM Standard S1.
1538
1548
  :rtype: str
1539
1549
  """
1540
1550
  return self._ProductCodeName
@@ -1899,6 +1909,40 @@ Note: This field may return null, indicating that no valid values can be obtaine
1899
1909
  def ReserveDetail(self, ReserveDetail):
1900
1910
  self._ReserveDetail = ReserveDetail
1901
1911
 
1912
+ @property
1913
+ def DiscountObject(self):
1914
+ """the discount object for the current consumption item, such as official website discount, user discount, and event discount.
1915
+ :rtype: str
1916
+ """
1917
+ return self._DiscountObject
1918
+
1919
+ @DiscountObject.setter
1920
+ def DiscountObject(self, DiscountObject):
1921
+ self._DiscountObject = DiscountObject
1922
+
1923
+ @property
1924
+ def DiscountType(self):
1925
+ """the discount type for the current consumption item, such as discount and contract price.
1926
+
1927
+ :rtype: str
1928
+ """
1929
+ return self._DiscountType
1930
+
1931
+ @DiscountType.setter
1932
+ def DiscountType(self, DiscountType):
1933
+ self._DiscountType = DiscountType
1934
+
1935
+ @property
1936
+ def DiscountContent(self):
1937
+ """supplementary description of the discount type, such as 0.2.
1938
+ :rtype: str
1939
+ """
1940
+ return self._DiscountContent
1941
+
1942
+ @DiscountContent.setter
1943
+ def DiscountContent(self, DiscountContent):
1944
+ self._DiscountContent = DiscountContent
1945
+
1902
1946
 
1903
1947
  def _deserialize(self, params):
1904
1948
  self._BusinessCodeName = params.get("BusinessCodeName")
@@ -1947,6 +1991,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
1947
1991
  self._RegionType = params.get("RegionType")
1948
1992
  self._RegionTypeName = params.get("RegionTypeName")
1949
1993
  self._ReserveDetail = params.get("ReserveDetail")
1994
+ self._DiscountObject = params.get("DiscountObject")
1995
+ self._DiscountType = params.get("DiscountType")
1996
+ self._DiscountContent = params.get("DiscountContent")
1950
1997
  memeber_set = set(params.keys())
1951
1998
  for name, value in vars(self).items():
1952
1999
  property_name = name[1:]
@@ -8116,7 +8163,7 @@ class DescribeBillDetailRequest(AbstractModel):
8116
8163
  r"""
8117
8164
  :param _Offset: Offset
8118
8165
  :type Offset: int
8119
- :param _Limit: Quantity, maximum is 100
8166
+ :param _Limit: Quantity, maximum is 300
8120
8167
  :type Limit: int
8121
8168
  :param _PeriodType: The period type. byUsedTime: By usage period; byPayTime: By payment period. Must be the same as the period of the current monthly bill of the Billing Center. You can check your bill statistics period type at the top of the [Bill Overview](https://console.cloud.tencent.com/expense/bill/overview) page.
8122
8169
  :type PeriodType: str
@@ -8202,7 +8249,7 @@ Note: To query the product codes used in the current month, call <a href="https:
8202
8249
 
8203
8250
  @property
8204
8251
  def Limit(self):
8205
- """Quantity, maximum is 100
8252
+ """Quantity, maximum is 300
8206
8253
  :rtype: int
8207
8254
  """
8208
8255
  return self._Limit
File without changes
File without changes
@@ -0,0 +1,72 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+ # CAM signature/authentication error.
18
+ AUTHFAILURE = 'AuthFailure'
19
+
20
+ # The current request is not authorized by CAM.
21
+ AUTHFAILURE_UNAUTHORIZEDOPERATION = 'AuthFailure.UnauthorizedOperation'
22
+
23
+ # Operation failed.
24
+ FAILEDOPERATION = 'FailedOperation'
25
+
26
+ # Failed to obtain tags.
27
+ FAILEDOPERATION_ACCESSTAGFAIL = 'FailedOperation.AccessTagFail'
28
+
29
+ # Failed to query database.
30
+ FAILEDOPERATION_DBQUERYFAILED = 'FailedOperation.DbQueryFailed'
31
+
32
+ # Failed to create database record.
33
+ FAILEDOPERATION_DBRECORDCREATEFAILED = 'FailedOperation.DbRecordCreateFailed'
34
+
35
+ # Failed to update database record.
36
+ FAILEDOPERATION_DBRECORDUPDATEFAILED = 'FailedOperation.DbRecordUpdateFailed'
37
+
38
+ # The job status is not running.
39
+ FAILEDOPERATION_JOBSTATUSNOTRUNNING = 'FailedOperation.JobStatusNotRunning'
40
+
41
+ # No task in the job.
42
+ FAILEDOPERATION_NOTASKSINJOB = 'FailedOperation.NoTasksInJob'
43
+
44
+ # The current environment does not support.
45
+ FAILEDOPERATION_NOTSUPPORTEDINENV = 'FailedOperation.NotSupportedInEnv'
46
+
47
+ # The resource does not exist.
48
+ FAILEDOPERATION_RESOURCENOTFOUND = 'FailedOperation.ResourceNotFound'
49
+
50
+ # Failed to send request.
51
+ FAILEDOPERATION_SENDREQUEST = 'FailedOperation.SendRequest'
52
+
53
+ # Internal error.
54
+ INTERNALERROR = 'InternalError'
55
+
56
+ # Invalid parameter.
57
+ INVALIDPARAMETER = 'InvalidParameter'
58
+
59
+ # Invalid parameter value.
60
+ INVALIDPARAMETERVALUE = 'InvalidParameterValue'
61
+
62
+ # The quota limit is exceeded.
63
+ LIMITEXCEEDED = 'LimitExceeded'
64
+
65
+ # Insufficient resources.
66
+ RESOURCEINSUFFICIENT = 'ResourceInsufficient'
67
+
68
+ # The resource does not exist.
69
+ RESOURCENOTFOUND = 'ResourceNotFound'
70
+
71
+ # Unauthorized operation.
72
+ UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'