tencentcloud-sdk-python-billing 3.0.1077__tar.gz → 3.0.1078__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/setup.py +1 -1
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/tencentcloud/billing/v20180709/billing_client.py +23 -0
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/tencentcloud/billing/v20180709/models.py +106 -0
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/tencentcloud_sdk_python_billing.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-billing-3.0.1078/tencentcloud_sdk_python_billing.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-billing-3.0.1077/tencentcloud_sdk_python_billing.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/README.rst +0 -0
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/setup.cfg +0 -0
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/tencentcloud/billing/__init__.py +0 -0
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/tencentcloud/billing/v20180709/__init__.py +0 -0
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/tencentcloud/billing/v20180709/errorcodes.py +0 -0
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/tencentcloud_sdk_python_billing.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/tencentcloud_sdk_python_billing.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/tencentcloud_sdk_python_billing.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-billing',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1078"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Billing SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -674,6 +674,29 @@ class BillingClient(AbstractClient):
|
|
|
674
674
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
675
675
|
|
|
676
676
|
|
|
677
|
+
def DescribeSavingPlanResourceInfo(self, request):
|
|
678
|
+
"""查询节省计划详情
|
|
679
|
+
|
|
680
|
+
:param request: Request instance for DescribeSavingPlanResourceInfo.
|
|
681
|
+
:type request: :class:`tencentcloud.billing.v20180709.models.DescribeSavingPlanResourceInfoRequest`
|
|
682
|
+
:rtype: :class:`tencentcloud.billing.v20180709.models.DescribeSavingPlanResourceInfoResponse`
|
|
683
|
+
|
|
684
|
+
"""
|
|
685
|
+
try:
|
|
686
|
+
params = request._serialize()
|
|
687
|
+
headers = request.headers
|
|
688
|
+
body = self.call("DescribeSavingPlanResourceInfo", params, headers=headers)
|
|
689
|
+
response = json.loads(body)
|
|
690
|
+
model = models.DescribeSavingPlanResourceInfoResponse()
|
|
691
|
+
model._deserialize(response["Response"])
|
|
692
|
+
return model
|
|
693
|
+
except Exception as e:
|
|
694
|
+
if isinstance(e, TencentCloudSDKException):
|
|
695
|
+
raise
|
|
696
|
+
else:
|
|
697
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
698
|
+
|
|
699
|
+
|
|
677
700
|
def DescribeSavingPlanUsage(self, request):
|
|
678
701
|
"""查用当前用户明细节省计划查询时段内的使用情况
|
|
679
702
|
|
|
@@ -9737,6 +9737,112 @@ class DescribeSavingPlanOverviewResponse(AbstractModel):
|
|
|
9737
9737
|
self._RequestId = params.get("RequestId")
|
|
9738
9738
|
|
|
9739
9739
|
|
|
9740
|
+
class DescribeSavingPlanResourceInfoRequest(AbstractModel):
|
|
9741
|
+
"""DescribeSavingPlanResourceInfo请求参数结构体
|
|
9742
|
+
|
|
9743
|
+
"""
|
|
9744
|
+
|
|
9745
|
+
def __init__(self):
|
|
9746
|
+
r"""
|
|
9747
|
+
:param _Limit: 数量,最大值为100
|
|
9748
|
+
:type Limit: int
|
|
9749
|
+
:param _Offset: 偏移量
|
|
9750
|
+
:type Offset: int
|
|
9751
|
+
:param _CreateStartDate: 购买开始时间,格式yyyy-MM-dd
|
|
9752
|
+
:type CreateStartDate: str
|
|
9753
|
+
:param _CreateEndDate: 购买结束时间,格式yyyy-MM-dd
|
|
9754
|
+
:type CreateEndDate: str
|
|
9755
|
+
"""
|
|
9756
|
+
self._Limit = None
|
|
9757
|
+
self._Offset = None
|
|
9758
|
+
self._CreateStartDate = None
|
|
9759
|
+
self._CreateEndDate = None
|
|
9760
|
+
|
|
9761
|
+
@property
|
|
9762
|
+
def Limit(self):
|
|
9763
|
+
return self._Limit
|
|
9764
|
+
|
|
9765
|
+
@Limit.setter
|
|
9766
|
+
def Limit(self, Limit):
|
|
9767
|
+
self._Limit = Limit
|
|
9768
|
+
|
|
9769
|
+
@property
|
|
9770
|
+
def Offset(self):
|
|
9771
|
+
return self._Offset
|
|
9772
|
+
|
|
9773
|
+
@Offset.setter
|
|
9774
|
+
def Offset(self, Offset):
|
|
9775
|
+
self._Offset = Offset
|
|
9776
|
+
|
|
9777
|
+
@property
|
|
9778
|
+
def CreateStartDate(self):
|
|
9779
|
+
return self._CreateStartDate
|
|
9780
|
+
|
|
9781
|
+
@CreateStartDate.setter
|
|
9782
|
+
def CreateStartDate(self, CreateStartDate):
|
|
9783
|
+
self._CreateStartDate = CreateStartDate
|
|
9784
|
+
|
|
9785
|
+
@property
|
|
9786
|
+
def CreateEndDate(self):
|
|
9787
|
+
return self._CreateEndDate
|
|
9788
|
+
|
|
9789
|
+
@CreateEndDate.setter
|
|
9790
|
+
def CreateEndDate(self, CreateEndDate):
|
|
9791
|
+
self._CreateEndDate = CreateEndDate
|
|
9792
|
+
|
|
9793
|
+
|
|
9794
|
+
def _deserialize(self, params):
|
|
9795
|
+
self._Limit = params.get("Limit")
|
|
9796
|
+
self._Offset = params.get("Offset")
|
|
9797
|
+
self._CreateStartDate = params.get("CreateStartDate")
|
|
9798
|
+
self._CreateEndDate = params.get("CreateEndDate")
|
|
9799
|
+
memeber_set = set(params.keys())
|
|
9800
|
+
for name, value in vars(self).items():
|
|
9801
|
+
property_name = name[1:]
|
|
9802
|
+
if property_name in memeber_set:
|
|
9803
|
+
memeber_set.remove(property_name)
|
|
9804
|
+
if len(memeber_set) > 0:
|
|
9805
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9806
|
+
|
|
9807
|
+
|
|
9808
|
+
|
|
9809
|
+
class DescribeSavingPlanResourceInfoResponse(AbstractModel):
|
|
9810
|
+
"""DescribeSavingPlanResourceInfo返回参数结构体
|
|
9811
|
+
|
|
9812
|
+
"""
|
|
9813
|
+
|
|
9814
|
+
def __init__(self):
|
|
9815
|
+
r"""
|
|
9816
|
+
:param _Total: 记录数
|
|
9817
|
+
:type Total: int
|
|
9818
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9819
|
+
:type RequestId: str
|
|
9820
|
+
"""
|
|
9821
|
+
self._Total = None
|
|
9822
|
+
self._RequestId = None
|
|
9823
|
+
|
|
9824
|
+
@property
|
|
9825
|
+
def Total(self):
|
|
9826
|
+
return self._Total
|
|
9827
|
+
|
|
9828
|
+
@Total.setter
|
|
9829
|
+
def Total(self, Total):
|
|
9830
|
+
self._Total = Total
|
|
9831
|
+
|
|
9832
|
+
@property
|
|
9833
|
+
def RequestId(self):
|
|
9834
|
+
return self._RequestId
|
|
9835
|
+
|
|
9836
|
+
@RequestId.setter
|
|
9837
|
+
def RequestId(self, RequestId):
|
|
9838
|
+
self._RequestId = RequestId
|
|
9839
|
+
|
|
9840
|
+
|
|
9841
|
+
def _deserialize(self, params):
|
|
9842
|
+
self._Total = params.get("Total")
|
|
9843
|
+
self._RequestId = params.get("RequestId")
|
|
9844
|
+
|
|
9845
|
+
|
|
9740
9846
|
class DescribeSavingPlanUsageRequest(AbstractModel):
|
|
9741
9847
|
"""DescribeSavingPlanUsage请求参数结构体
|
|
9742
9848
|
|
tencentcloud-sdk-python-billing-3.0.1078/tencentcloud_sdk_python_billing.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1078
|
tencentcloud-sdk-python-billing-3.0.1077/tencentcloud_sdk_python_billing.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1077
|
{tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-billing-3.0.1077 → tencentcloud-sdk-python-billing-3.0.1078}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|