tencentcloud-sdk-python-billing 3.0.1489__tar.gz → 3.1.13__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.1489 → tencentcloud_sdk_python_billing-3.1.13}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/setup.py +2 -1
- {tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/tencentcloud/__init__.py +1 -1
- tencentcloud_sdk_python_billing-3.1.13/tencentcloud/billing/v20180709/billing_client_async.py +1149 -0
- {tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/tencentcloud/billing/v20180709/models.py +20 -0
- {tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/tencentcloud_sdk_python_billing.egg-info/PKG-INFO +2 -2
- {tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/tencentcloud_sdk_python_billing.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_billing-3.1.13/tencentcloud_sdk_python_billing.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_billing-3.0.1489/tencentcloud_sdk_python_billing.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/README.rst +0 -0
- {tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/setup.cfg +0 -0
- {tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/tencentcloud/billing/__init__.py +0 -0
- {tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/tencentcloud/billing/v20180709/__init__.py +0 -0
- {tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/tencentcloud/billing/v20180709/billing_client.py +0 -0
- {tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/tencentcloud/billing/v20180709/errorcodes.py +0 -0
- {tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/tencentcloud_sdk_python_billing.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/tencentcloud_sdk_python_billing.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-billing
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.13
|
|
4
4
|
Summary: Tencent Cloud Billing SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.13
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/setup.py
RENAMED
|
@@ -8,7 +8,8 @@ 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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.13,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Billing SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -0,0 +1,1149 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. 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
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.billing.v20180709 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class BillingClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2018-07-09'
|
|
25
|
+
_endpoint = 'billing.tencentcloudapi.com'
|
|
26
|
+
_service = 'billing'
|
|
27
|
+
|
|
28
|
+
async def CreateAllocationRule(
|
|
29
|
+
self,
|
|
30
|
+
request: models.CreateAllocationRuleRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.CreateAllocationRuleResponse:
|
|
33
|
+
"""
|
|
34
|
+
创建公摊规则
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "CreateAllocationRule"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.CreateAllocationRuleResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def CreateAllocationTag(
|
|
47
|
+
self,
|
|
48
|
+
request: models.CreateAllocationTagRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.CreateAllocationTagResponse:
|
|
51
|
+
"""
|
|
52
|
+
批量设置分账标签
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "CreateAllocationTag"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.CreateAllocationTagResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
64
|
+
async def CreateAllocationUnit(
|
|
65
|
+
self,
|
|
66
|
+
request: models.CreateAllocationUnitRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.CreateAllocationUnitResponse:
|
|
69
|
+
"""
|
|
70
|
+
创建分账单元
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "CreateAllocationUnit"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.CreateAllocationUnitResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
82
|
+
async def CreateBudget(
|
|
83
|
+
self,
|
|
84
|
+
request: models.CreateBudgetRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.CreateBudgetResponse:
|
|
87
|
+
"""
|
|
88
|
+
创建预算信息
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "CreateBudget"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.CreateBudgetResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
100
|
+
async def CreateGatherRule(
|
|
101
|
+
self,
|
|
102
|
+
request: models.CreateGatherRuleRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.CreateGatherRuleResponse:
|
|
105
|
+
"""
|
|
106
|
+
创建归集规则
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "CreateGatherRule"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.CreateGatherRuleResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
118
|
+
async def DeleteAllocationRule(
|
|
119
|
+
self,
|
|
120
|
+
request: models.DeleteAllocationRuleRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.DeleteAllocationRuleResponse:
|
|
123
|
+
"""
|
|
124
|
+
公摊规则删除接口
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "DeleteAllocationRule"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.DeleteAllocationRuleResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
135
|
+
|
|
136
|
+
async def DeleteAllocationTag(
|
|
137
|
+
self,
|
|
138
|
+
request: models.DeleteAllocationTagRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.DeleteAllocationTagResponse:
|
|
141
|
+
"""
|
|
142
|
+
批量取消设置分账标签
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "DeleteAllocationTag"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.DeleteAllocationTagResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
154
|
+
async def DeleteAllocationUnit(
|
|
155
|
+
self,
|
|
156
|
+
request: models.DeleteAllocationUnitRequest,
|
|
157
|
+
opts: Dict = None,
|
|
158
|
+
) -> models.DeleteAllocationUnitResponse:
|
|
159
|
+
"""
|
|
160
|
+
删除分账单元
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
kwargs = {}
|
|
164
|
+
kwargs["action"] = "DeleteAllocationUnit"
|
|
165
|
+
kwargs["params"] = request._serialize()
|
|
166
|
+
kwargs["resp_cls"] = models.DeleteAllocationUnitResponse
|
|
167
|
+
kwargs["headers"] = request.headers
|
|
168
|
+
kwargs["opts"] = opts or {}
|
|
169
|
+
|
|
170
|
+
return await self.call_and_deserialize(**kwargs)
|
|
171
|
+
|
|
172
|
+
async def DeleteBudget(
|
|
173
|
+
self,
|
|
174
|
+
request: models.DeleteBudgetRequest,
|
|
175
|
+
opts: Dict = None,
|
|
176
|
+
) -> models.DeleteBudgetResponse:
|
|
177
|
+
"""
|
|
178
|
+
依据预算ID删除对应预算项目
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
kwargs = {}
|
|
182
|
+
kwargs["action"] = "DeleteBudget"
|
|
183
|
+
kwargs["params"] = request._serialize()
|
|
184
|
+
kwargs["resp_cls"] = models.DeleteBudgetResponse
|
|
185
|
+
kwargs["headers"] = request.headers
|
|
186
|
+
kwargs["opts"] = opts or {}
|
|
187
|
+
|
|
188
|
+
return await self.call_and_deserialize(**kwargs)
|
|
189
|
+
|
|
190
|
+
async def DeleteGatherRule(
|
|
191
|
+
self,
|
|
192
|
+
request: models.DeleteGatherRuleRequest,
|
|
193
|
+
opts: Dict = None,
|
|
194
|
+
) -> models.DeleteGatherRuleResponse:
|
|
195
|
+
"""
|
|
196
|
+
删除归集规则
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
kwargs = {}
|
|
200
|
+
kwargs["action"] = "DeleteGatherRule"
|
|
201
|
+
kwargs["params"] = request._serialize()
|
|
202
|
+
kwargs["resp_cls"] = models.DeleteGatherRuleResponse
|
|
203
|
+
kwargs["headers"] = request.headers
|
|
204
|
+
kwargs["opts"] = opts or {}
|
|
205
|
+
|
|
206
|
+
return await self.call_and_deserialize(**kwargs)
|
|
207
|
+
|
|
208
|
+
async def DescribeAccountBalance(
|
|
209
|
+
self,
|
|
210
|
+
request: models.DescribeAccountBalanceRequest,
|
|
211
|
+
opts: Dict = None,
|
|
212
|
+
) -> models.DescribeAccountBalanceResponse:
|
|
213
|
+
"""
|
|
214
|
+
获取云账户余额信息。
|
|
215
|
+
"""
|
|
216
|
+
|
|
217
|
+
kwargs = {}
|
|
218
|
+
kwargs["action"] = "DescribeAccountBalance"
|
|
219
|
+
kwargs["params"] = request._serialize()
|
|
220
|
+
kwargs["resp_cls"] = models.DescribeAccountBalanceResponse
|
|
221
|
+
kwargs["headers"] = request.headers
|
|
222
|
+
kwargs["opts"] = opts or {}
|
|
223
|
+
|
|
224
|
+
return await self.call_and_deserialize(**kwargs)
|
|
225
|
+
|
|
226
|
+
async def DescribeAllocateConditions(
|
|
227
|
+
self,
|
|
228
|
+
request: models.DescribeAllocateConditionsRequest,
|
|
229
|
+
opts: Dict = None,
|
|
230
|
+
) -> models.DescribeAllocateConditionsResponse:
|
|
231
|
+
"""
|
|
232
|
+
查询资源目录筛选条件
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
kwargs = {}
|
|
236
|
+
kwargs["action"] = "DescribeAllocateConditions"
|
|
237
|
+
kwargs["params"] = request._serialize()
|
|
238
|
+
kwargs["resp_cls"] = models.DescribeAllocateConditionsResponse
|
|
239
|
+
kwargs["headers"] = request.headers
|
|
240
|
+
kwargs["opts"] = opts or {}
|
|
241
|
+
|
|
242
|
+
return await self.call_and_deserialize(**kwargs)
|
|
243
|
+
|
|
244
|
+
async def DescribeAllocationBillConditions(
|
|
245
|
+
self,
|
|
246
|
+
request: models.DescribeAllocationBillConditionsRequest,
|
|
247
|
+
opts: Dict = None,
|
|
248
|
+
) -> models.DescribeAllocationBillConditionsResponse:
|
|
249
|
+
"""
|
|
250
|
+
查询分账账单筛选条件
|
|
251
|
+
"""
|
|
252
|
+
|
|
253
|
+
kwargs = {}
|
|
254
|
+
kwargs["action"] = "DescribeAllocationBillConditions"
|
|
255
|
+
kwargs["params"] = request._serialize()
|
|
256
|
+
kwargs["resp_cls"] = models.DescribeAllocationBillConditionsResponse
|
|
257
|
+
kwargs["headers"] = request.headers
|
|
258
|
+
kwargs["opts"] = opts or {}
|
|
259
|
+
|
|
260
|
+
return await self.call_and_deserialize(**kwargs)
|
|
261
|
+
|
|
262
|
+
async def DescribeAllocationBillDetail(
|
|
263
|
+
self,
|
|
264
|
+
request: models.DescribeAllocationBillDetailRequest,
|
|
265
|
+
opts: Dict = None,
|
|
266
|
+
) -> models.DescribeAllocationBillDetailResponse:
|
|
267
|
+
"""
|
|
268
|
+
查询分账账单明细
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
kwargs = {}
|
|
272
|
+
kwargs["action"] = "DescribeAllocationBillDetail"
|
|
273
|
+
kwargs["params"] = request._serialize()
|
|
274
|
+
kwargs["resp_cls"] = models.DescribeAllocationBillDetailResponse
|
|
275
|
+
kwargs["headers"] = request.headers
|
|
276
|
+
kwargs["opts"] = opts or {}
|
|
277
|
+
|
|
278
|
+
return await self.call_and_deserialize(**kwargs)
|
|
279
|
+
|
|
280
|
+
async def DescribeAllocationMonthOverview(
|
|
281
|
+
self,
|
|
282
|
+
request: models.DescribeAllocationMonthOverviewRequest,
|
|
283
|
+
opts: Dict = None,
|
|
284
|
+
) -> models.DescribeAllocationMonthOverviewResponse:
|
|
285
|
+
"""
|
|
286
|
+
查询分账账单月概览
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
kwargs = {}
|
|
290
|
+
kwargs["action"] = "DescribeAllocationMonthOverview"
|
|
291
|
+
kwargs["params"] = request._serialize()
|
|
292
|
+
kwargs["resp_cls"] = models.DescribeAllocationMonthOverviewResponse
|
|
293
|
+
kwargs["headers"] = request.headers
|
|
294
|
+
kwargs["opts"] = opts or {}
|
|
295
|
+
|
|
296
|
+
return await self.call_and_deserialize(**kwargs)
|
|
297
|
+
|
|
298
|
+
async def DescribeAllocationOverview(
|
|
299
|
+
self,
|
|
300
|
+
request: models.DescribeAllocationOverviewRequest,
|
|
301
|
+
opts: Dict = None,
|
|
302
|
+
) -> models.DescribeAllocationOverviewResponse:
|
|
303
|
+
"""
|
|
304
|
+
查询分账账单日概览
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
kwargs = {}
|
|
308
|
+
kwargs["action"] = "DescribeAllocationOverview"
|
|
309
|
+
kwargs["params"] = request._serialize()
|
|
310
|
+
kwargs["resp_cls"] = models.DescribeAllocationOverviewResponse
|
|
311
|
+
kwargs["headers"] = request.headers
|
|
312
|
+
kwargs["opts"] = opts or {}
|
|
313
|
+
|
|
314
|
+
return await self.call_and_deserialize(**kwargs)
|
|
315
|
+
|
|
316
|
+
async def DescribeAllocationRuleDetail(
|
|
317
|
+
self,
|
|
318
|
+
request: models.DescribeAllocationRuleDetailRequest,
|
|
319
|
+
opts: Dict = None,
|
|
320
|
+
) -> models.DescribeAllocationRuleDetailResponse:
|
|
321
|
+
"""
|
|
322
|
+
查询公摊规则详情
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
kwargs = {}
|
|
326
|
+
kwargs["action"] = "DescribeAllocationRuleDetail"
|
|
327
|
+
kwargs["params"] = request._serialize()
|
|
328
|
+
kwargs["resp_cls"] = models.DescribeAllocationRuleDetailResponse
|
|
329
|
+
kwargs["headers"] = request.headers
|
|
330
|
+
kwargs["opts"] = opts or {}
|
|
331
|
+
|
|
332
|
+
return await self.call_and_deserialize(**kwargs)
|
|
333
|
+
|
|
334
|
+
async def DescribeAllocationRuleSummary(
|
|
335
|
+
self,
|
|
336
|
+
request: models.DescribeAllocationRuleSummaryRequest,
|
|
337
|
+
opts: Dict = None,
|
|
338
|
+
) -> models.DescribeAllocationRuleSummaryResponse:
|
|
339
|
+
"""
|
|
340
|
+
查询所有公摊规则概览
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
kwargs = {}
|
|
344
|
+
kwargs["action"] = "DescribeAllocationRuleSummary"
|
|
345
|
+
kwargs["params"] = request._serialize()
|
|
346
|
+
kwargs["resp_cls"] = models.DescribeAllocationRuleSummaryResponse
|
|
347
|
+
kwargs["headers"] = request.headers
|
|
348
|
+
kwargs["opts"] = opts or {}
|
|
349
|
+
|
|
350
|
+
return await self.call_and_deserialize(**kwargs)
|
|
351
|
+
|
|
352
|
+
async def DescribeAllocationSummaryByBusiness(
|
|
353
|
+
self,
|
|
354
|
+
request: models.DescribeAllocationSummaryByBusinessRequest,
|
|
355
|
+
opts: Dict = None,
|
|
356
|
+
) -> models.DescribeAllocationSummaryByBusinessResponse:
|
|
357
|
+
"""
|
|
358
|
+
查询分账账单按产品汇总
|
|
359
|
+
"""
|
|
360
|
+
|
|
361
|
+
kwargs = {}
|
|
362
|
+
kwargs["action"] = "DescribeAllocationSummaryByBusiness"
|
|
363
|
+
kwargs["params"] = request._serialize()
|
|
364
|
+
kwargs["resp_cls"] = models.DescribeAllocationSummaryByBusinessResponse
|
|
365
|
+
kwargs["headers"] = request.headers
|
|
366
|
+
kwargs["opts"] = opts or {}
|
|
367
|
+
|
|
368
|
+
return await self.call_and_deserialize(**kwargs)
|
|
369
|
+
|
|
370
|
+
async def DescribeAllocationSummaryByItem(
|
|
371
|
+
self,
|
|
372
|
+
request: models.DescribeAllocationSummaryByItemRequest,
|
|
373
|
+
opts: Dict = None,
|
|
374
|
+
) -> models.DescribeAllocationSummaryByItemResponse:
|
|
375
|
+
"""
|
|
376
|
+
查询分账账单按组件汇总
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
kwargs = {}
|
|
380
|
+
kwargs["action"] = "DescribeAllocationSummaryByItem"
|
|
381
|
+
kwargs["params"] = request._serialize()
|
|
382
|
+
kwargs["resp_cls"] = models.DescribeAllocationSummaryByItemResponse
|
|
383
|
+
kwargs["headers"] = request.headers
|
|
384
|
+
kwargs["opts"] = opts or {}
|
|
385
|
+
|
|
386
|
+
return await self.call_and_deserialize(**kwargs)
|
|
387
|
+
|
|
388
|
+
async def DescribeAllocationSummaryByResource(
|
|
389
|
+
self,
|
|
390
|
+
request: models.DescribeAllocationSummaryByResourceRequest,
|
|
391
|
+
opts: Dict = None,
|
|
392
|
+
) -> models.DescribeAllocationSummaryByResourceResponse:
|
|
393
|
+
"""
|
|
394
|
+
查询分账账单按资源汇总
|
|
395
|
+
"""
|
|
396
|
+
|
|
397
|
+
kwargs = {}
|
|
398
|
+
kwargs["action"] = "DescribeAllocationSummaryByResource"
|
|
399
|
+
kwargs["params"] = request._serialize()
|
|
400
|
+
kwargs["resp_cls"] = models.DescribeAllocationSummaryByResourceResponse
|
|
401
|
+
kwargs["headers"] = request.headers
|
|
402
|
+
kwargs["opts"] = opts or {}
|
|
403
|
+
|
|
404
|
+
return await self.call_and_deserialize(**kwargs)
|
|
405
|
+
|
|
406
|
+
async def DescribeAllocationTree(
|
|
407
|
+
self,
|
|
408
|
+
request: models.DescribeAllocationTreeRequest,
|
|
409
|
+
opts: Dict = None,
|
|
410
|
+
) -> models.DescribeAllocationTreeResponse:
|
|
411
|
+
"""
|
|
412
|
+
查询分账目录树
|
|
413
|
+
"""
|
|
414
|
+
|
|
415
|
+
kwargs = {}
|
|
416
|
+
kwargs["action"] = "DescribeAllocationTree"
|
|
417
|
+
kwargs["params"] = request._serialize()
|
|
418
|
+
kwargs["resp_cls"] = models.DescribeAllocationTreeResponse
|
|
419
|
+
kwargs["headers"] = request.headers
|
|
420
|
+
kwargs["opts"] = opts or {}
|
|
421
|
+
|
|
422
|
+
return await self.call_and_deserialize(**kwargs)
|
|
423
|
+
|
|
424
|
+
async def DescribeAllocationTrendByMonth(
|
|
425
|
+
self,
|
|
426
|
+
request: models.DescribeAllocationTrendByMonthRequest,
|
|
427
|
+
opts: Dict = None,
|
|
428
|
+
) -> models.DescribeAllocationTrendByMonthResponse:
|
|
429
|
+
"""
|
|
430
|
+
查询分账账单费用趋势
|
|
431
|
+
"""
|
|
432
|
+
|
|
433
|
+
kwargs = {}
|
|
434
|
+
kwargs["action"] = "DescribeAllocationTrendByMonth"
|
|
435
|
+
kwargs["params"] = request._serialize()
|
|
436
|
+
kwargs["resp_cls"] = models.DescribeAllocationTrendByMonthResponse
|
|
437
|
+
kwargs["headers"] = request.headers
|
|
438
|
+
kwargs["opts"] = opts or {}
|
|
439
|
+
|
|
440
|
+
return await self.call_and_deserialize(**kwargs)
|
|
441
|
+
|
|
442
|
+
async def DescribeAllocationUnitDetail(
|
|
443
|
+
self,
|
|
444
|
+
request: models.DescribeAllocationUnitDetailRequest,
|
|
445
|
+
opts: Dict = None,
|
|
446
|
+
) -> models.DescribeAllocationUnitDetailResponse:
|
|
447
|
+
"""
|
|
448
|
+
查询分账单元详情
|
|
449
|
+
"""
|
|
450
|
+
|
|
451
|
+
kwargs = {}
|
|
452
|
+
kwargs["action"] = "DescribeAllocationUnitDetail"
|
|
453
|
+
kwargs["params"] = request._serialize()
|
|
454
|
+
kwargs["resp_cls"] = models.DescribeAllocationUnitDetailResponse
|
|
455
|
+
kwargs["headers"] = request.headers
|
|
456
|
+
kwargs["opts"] = opts or {}
|
|
457
|
+
|
|
458
|
+
return await self.call_and_deserialize(**kwargs)
|
|
459
|
+
|
|
460
|
+
async def DescribeBillAdjustInfo(
|
|
461
|
+
self,
|
|
462
|
+
request: models.DescribeBillAdjustInfoRequest,
|
|
463
|
+
opts: Dict = None,
|
|
464
|
+
) -> models.DescribeBillAdjustInfoResponse:
|
|
465
|
+
"""
|
|
466
|
+
可以通过API获取当前UIN是否有调账,客户可以更快地主动地获取调账情况。
|
|
467
|
+
"""
|
|
468
|
+
|
|
469
|
+
kwargs = {}
|
|
470
|
+
kwargs["action"] = "DescribeBillAdjustInfo"
|
|
471
|
+
kwargs["params"] = request._serialize()
|
|
472
|
+
kwargs["resp_cls"] = models.DescribeBillAdjustInfoResponse
|
|
473
|
+
kwargs["headers"] = request.headers
|
|
474
|
+
kwargs["opts"] = opts or {}
|
|
475
|
+
|
|
476
|
+
return await self.call_and_deserialize(**kwargs)
|
|
477
|
+
|
|
478
|
+
async def DescribeBillDetail(
|
|
479
|
+
self,
|
|
480
|
+
request: models.DescribeBillDetailRequest,
|
|
481
|
+
opts: Dict = None,
|
|
482
|
+
) -> models.DescribeBillDetailResponse:
|
|
483
|
+
"""
|
|
484
|
+
获取账单明细数据。
|
|
485
|
+
注意事项:
|
|
486
|
+
1.在请求接口时,由于网络不稳定或其它异常,可能会导致请求失败。如果您遇到这种情况,我们建议您在接口请求失败时,手动发起重试操作,这样可以更好地确保您的接口请求能够成功执行。
|
|
487
|
+
2.对于账单明细数据量级很大(例如每月账单明细量级超过20w)的客户,通过 API 调用账单数据效率较低,建议您开通账单数据存储功能,通过存储桶中获取账单文件进行分析。[账单存储至COS桶](https://cloud.tencent.com/document/product/555/61275)
|
|
488
|
+
"""
|
|
489
|
+
|
|
490
|
+
kwargs = {}
|
|
491
|
+
kwargs["action"] = "DescribeBillDetail"
|
|
492
|
+
kwargs["params"] = request._serialize()
|
|
493
|
+
kwargs["resp_cls"] = models.DescribeBillDetailResponse
|
|
494
|
+
kwargs["headers"] = request.headers
|
|
495
|
+
kwargs["opts"] = opts or {}
|
|
496
|
+
|
|
497
|
+
return await self.call_and_deserialize(**kwargs)
|
|
498
|
+
|
|
499
|
+
async def DescribeBillDetailForOrganization(
|
|
500
|
+
self,
|
|
501
|
+
request: models.DescribeBillDetailForOrganizationRequest,
|
|
502
|
+
opts: Dict = None,
|
|
503
|
+
) -> models.DescribeBillDetailForOrganizationResponse:
|
|
504
|
+
"""
|
|
505
|
+
成员账号获取管理账号代付账单(费用明细)。
|
|
506
|
+
注意事项:在请求接口时,由于网络不稳定或其它异常,可能会导致请求失败。如果您遇到这种情况,我们建议您在接口请求失败时,手动发起重试操作,这样可以更好地确保您的接口请求能够成功执行。
|
|
507
|
+
"""
|
|
508
|
+
|
|
509
|
+
kwargs = {}
|
|
510
|
+
kwargs["action"] = "DescribeBillDetailForOrganization"
|
|
511
|
+
kwargs["params"] = request._serialize()
|
|
512
|
+
kwargs["resp_cls"] = models.DescribeBillDetailForOrganizationResponse
|
|
513
|
+
kwargs["headers"] = request.headers
|
|
514
|
+
kwargs["opts"] = opts or {}
|
|
515
|
+
|
|
516
|
+
return await self.call_and_deserialize(**kwargs)
|
|
517
|
+
|
|
518
|
+
async def DescribeBillDownloadUrl(
|
|
519
|
+
self,
|
|
520
|
+
request: models.DescribeBillDownloadUrlRequest,
|
|
521
|
+
opts: Dict = None,
|
|
522
|
+
) -> models.DescribeBillDownloadUrlResponse:
|
|
523
|
+
"""
|
|
524
|
+
该接口支持通过传参,获取L0-PDF、L1-汇总、L2-资源、L3-明细、账单包、五类账单文件下载链接
|
|
525
|
+
"""
|
|
526
|
+
|
|
527
|
+
kwargs = {}
|
|
528
|
+
kwargs["action"] = "DescribeBillDownloadUrl"
|
|
529
|
+
kwargs["params"] = request._serialize()
|
|
530
|
+
kwargs["resp_cls"] = models.DescribeBillDownloadUrlResponse
|
|
531
|
+
kwargs["headers"] = request.headers
|
|
532
|
+
kwargs["opts"] = opts or {}
|
|
533
|
+
|
|
534
|
+
return await self.call_and_deserialize(**kwargs)
|
|
535
|
+
|
|
536
|
+
async def DescribeBillList(
|
|
537
|
+
self,
|
|
538
|
+
request: models.DescribeBillListRequest,
|
|
539
|
+
opts: Dict = None,
|
|
540
|
+
) -> models.DescribeBillListResponse:
|
|
541
|
+
"""
|
|
542
|
+
获取收支明细列表,支持翻页和参数过滤
|
|
543
|
+
"""
|
|
544
|
+
|
|
545
|
+
kwargs = {}
|
|
546
|
+
kwargs["action"] = "DescribeBillList"
|
|
547
|
+
kwargs["params"] = request._serialize()
|
|
548
|
+
kwargs["resp_cls"] = models.DescribeBillListResponse
|
|
549
|
+
kwargs["headers"] = request.headers
|
|
550
|
+
kwargs["opts"] = opts or {}
|
|
551
|
+
|
|
552
|
+
return await self.call_and_deserialize(**kwargs)
|
|
553
|
+
|
|
554
|
+
async def DescribeBillResourceSummary(
|
|
555
|
+
self,
|
|
556
|
+
request: models.DescribeBillResourceSummaryRequest,
|
|
557
|
+
opts: Dict = None,
|
|
558
|
+
) -> models.DescribeBillResourceSummaryResponse:
|
|
559
|
+
"""
|
|
560
|
+
获取账单资源汇总数据
|
|
561
|
+
"""
|
|
562
|
+
|
|
563
|
+
kwargs = {}
|
|
564
|
+
kwargs["action"] = "DescribeBillResourceSummary"
|
|
565
|
+
kwargs["params"] = request._serialize()
|
|
566
|
+
kwargs["resp_cls"] = models.DescribeBillResourceSummaryResponse
|
|
567
|
+
kwargs["headers"] = request.headers
|
|
568
|
+
kwargs["opts"] = opts or {}
|
|
569
|
+
|
|
570
|
+
return await self.call_and_deserialize(**kwargs)
|
|
571
|
+
|
|
572
|
+
async def DescribeBillResourceSummaryForOrganization(
|
|
573
|
+
self,
|
|
574
|
+
request: models.DescribeBillResourceSummaryForOrganizationRequest,
|
|
575
|
+
opts: Dict = None,
|
|
576
|
+
) -> models.DescribeBillResourceSummaryForOrganizationResponse:
|
|
577
|
+
"""
|
|
578
|
+
成员账号获取管理账号代付账单(按资源汇总)
|
|
579
|
+
"""
|
|
580
|
+
|
|
581
|
+
kwargs = {}
|
|
582
|
+
kwargs["action"] = "DescribeBillResourceSummaryForOrganization"
|
|
583
|
+
kwargs["params"] = request._serialize()
|
|
584
|
+
kwargs["resp_cls"] = models.DescribeBillResourceSummaryForOrganizationResponse
|
|
585
|
+
kwargs["headers"] = request.headers
|
|
586
|
+
kwargs["opts"] = opts or {}
|
|
587
|
+
|
|
588
|
+
return await self.call_and_deserialize(**kwargs)
|
|
589
|
+
|
|
590
|
+
async def DescribeBillSummary(
|
|
591
|
+
self,
|
|
592
|
+
request: models.DescribeBillSummaryRequest,
|
|
593
|
+
opts: Dict = None,
|
|
594
|
+
) -> models.DescribeBillSummaryResponse:
|
|
595
|
+
"""
|
|
596
|
+
该接口支持通过传参,按照产品、项目、地域、计费模式和标签五个维度获取账单费用明细。
|
|
597
|
+
"""
|
|
598
|
+
|
|
599
|
+
kwargs = {}
|
|
600
|
+
kwargs["action"] = "DescribeBillSummary"
|
|
601
|
+
kwargs["params"] = request._serialize()
|
|
602
|
+
kwargs["resp_cls"] = models.DescribeBillSummaryResponse
|
|
603
|
+
kwargs["headers"] = request.headers
|
|
604
|
+
kwargs["opts"] = opts or {}
|
|
605
|
+
|
|
606
|
+
return await self.call_and_deserialize(**kwargs)
|
|
607
|
+
|
|
608
|
+
async def DescribeBillSummaryByPayMode(
|
|
609
|
+
self,
|
|
610
|
+
request: models.DescribeBillSummaryByPayModeRequest,
|
|
611
|
+
opts: Dict = None,
|
|
612
|
+
) -> models.DescribeBillSummaryByPayModeResponse:
|
|
613
|
+
"""
|
|
614
|
+
获取按计费模式汇总费用分布
|
|
615
|
+
"""
|
|
616
|
+
|
|
617
|
+
kwargs = {}
|
|
618
|
+
kwargs["action"] = "DescribeBillSummaryByPayMode"
|
|
619
|
+
kwargs["params"] = request._serialize()
|
|
620
|
+
kwargs["resp_cls"] = models.DescribeBillSummaryByPayModeResponse
|
|
621
|
+
kwargs["headers"] = request.headers
|
|
622
|
+
kwargs["opts"] = opts or {}
|
|
623
|
+
|
|
624
|
+
return await self.call_and_deserialize(**kwargs)
|
|
625
|
+
|
|
626
|
+
async def DescribeBillSummaryByProduct(
|
|
627
|
+
self,
|
|
628
|
+
request: models.DescribeBillSummaryByProductRequest,
|
|
629
|
+
opts: Dict = None,
|
|
630
|
+
) -> models.DescribeBillSummaryByProductResponse:
|
|
631
|
+
"""
|
|
632
|
+
获取产品汇总费用分布
|
|
633
|
+
"""
|
|
634
|
+
|
|
635
|
+
kwargs = {}
|
|
636
|
+
kwargs["action"] = "DescribeBillSummaryByProduct"
|
|
637
|
+
kwargs["params"] = request._serialize()
|
|
638
|
+
kwargs["resp_cls"] = models.DescribeBillSummaryByProductResponse
|
|
639
|
+
kwargs["headers"] = request.headers
|
|
640
|
+
kwargs["opts"] = opts or {}
|
|
641
|
+
|
|
642
|
+
return await self.call_and_deserialize(**kwargs)
|
|
643
|
+
|
|
644
|
+
async def DescribeBillSummaryByProject(
|
|
645
|
+
self,
|
|
646
|
+
request: models.DescribeBillSummaryByProjectRequest,
|
|
647
|
+
opts: Dict = None,
|
|
648
|
+
) -> models.DescribeBillSummaryByProjectResponse:
|
|
649
|
+
"""
|
|
650
|
+
获取按项目汇总费用分布
|
|
651
|
+
"""
|
|
652
|
+
|
|
653
|
+
kwargs = {}
|
|
654
|
+
kwargs["action"] = "DescribeBillSummaryByProject"
|
|
655
|
+
kwargs["params"] = request._serialize()
|
|
656
|
+
kwargs["resp_cls"] = models.DescribeBillSummaryByProjectResponse
|
|
657
|
+
kwargs["headers"] = request.headers
|
|
658
|
+
kwargs["opts"] = opts or {}
|
|
659
|
+
|
|
660
|
+
return await self.call_and_deserialize(**kwargs)
|
|
661
|
+
|
|
662
|
+
async def DescribeBillSummaryByRegion(
|
|
663
|
+
self,
|
|
664
|
+
request: models.DescribeBillSummaryByRegionRequest,
|
|
665
|
+
opts: Dict = None,
|
|
666
|
+
) -> models.DescribeBillSummaryByRegionResponse:
|
|
667
|
+
"""
|
|
668
|
+
获取按地域汇总费用分布
|
|
669
|
+
"""
|
|
670
|
+
|
|
671
|
+
kwargs = {}
|
|
672
|
+
kwargs["action"] = "DescribeBillSummaryByRegion"
|
|
673
|
+
kwargs["params"] = request._serialize()
|
|
674
|
+
kwargs["resp_cls"] = models.DescribeBillSummaryByRegionResponse
|
|
675
|
+
kwargs["headers"] = request.headers
|
|
676
|
+
kwargs["opts"] = opts or {}
|
|
677
|
+
|
|
678
|
+
return await self.call_and_deserialize(**kwargs)
|
|
679
|
+
|
|
680
|
+
async def DescribeBillSummaryByTag(
|
|
681
|
+
self,
|
|
682
|
+
request: models.DescribeBillSummaryByTagRequest,
|
|
683
|
+
opts: Dict = None,
|
|
684
|
+
) -> models.DescribeBillSummaryByTagResponse:
|
|
685
|
+
"""
|
|
686
|
+
获取按标签汇总费用分布
|
|
687
|
+
"""
|
|
688
|
+
|
|
689
|
+
kwargs = {}
|
|
690
|
+
kwargs["action"] = "DescribeBillSummaryByTag"
|
|
691
|
+
kwargs["params"] = request._serialize()
|
|
692
|
+
kwargs["resp_cls"] = models.DescribeBillSummaryByTagResponse
|
|
693
|
+
kwargs["headers"] = request.headers
|
|
694
|
+
kwargs["opts"] = opts or {}
|
|
695
|
+
|
|
696
|
+
return await self.call_and_deserialize(**kwargs)
|
|
697
|
+
|
|
698
|
+
async def DescribeBillSummaryForOrganization(
|
|
699
|
+
self,
|
|
700
|
+
request: models.DescribeBillSummaryForOrganizationRequest,
|
|
701
|
+
opts: Dict = None,
|
|
702
|
+
) -> models.DescribeBillSummaryForOrganizationResponse:
|
|
703
|
+
"""
|
|
704
|
+
该接口支持通过传参,按照产品、项目、地域、计费模式和标签五个维度获取账单费用明细。
|
|
705
|
+
"""
|
|
706
|
+
|
|
707
|
+
kwargs = {}
|
|
708
|
+
kwargs["action"] = "DescribeBillSummaryForOrganization"
|
|
709
|
+
kwargs["params"] = request._serialize()
|
|
710
|
+
kwargs["resp_cls"] = models.DescribeBillSummaryForOrganizationResponse
|
|
711
|
+
kwargs["headers"] = request.headers
|
|
712
|
+
kwargs["opts"] = opts or {}
|
|
713
|
+
|
|
714
|
+
return await self.call_and_deserialize(**kwargs)
|
|
715
|
+
|
|
716
|
+
async def DescribeBudget(
|
|
717
|
+
self,
|
|
718
|
+
request: models.DescribeBudgetRequest,
|
|
719
|
+
opts: Dict = None,
|
|
720
|
+
) -> models.DescribeBudgetResponse:
|
|
721
|
+
"""
|
|
722
|
+
获取预算详细信息
|
|
723
|
+
"""
|
|
724
|
+
|
|
725
|
+
kwargs = {}
|
|
726
|
+
kwargs["action"] = "DescribeBudget"
|
|
727
|
+
kwargs["params"] = request._serialize()
|
|
728
|
+
kwargs["resp_cls"] = models.DescribeBudgetResponse
|
|
729
|
+
kwargs["headers"] = request.headers
|
|
730
|
+
kwargs["opts"] = opts or {}
|
|
731
|
+
|
|
732
|
+
return await self.call_and_deserialize(**kwargs)
|
|
733
|
+
|
|
734
|
+
async def DescribeBudgetOperationLog(
|
|
735
|
+
self,
|
|
736
|
+
request: models.DescribeBudgetOperationLogRequest,
|
|
737
|
+
opts: Dict = None,
|
|
738
|
+
) -> models.DescribeBudgetOperationLogResponse:
|
|
739
|
+
"""
|
|
740
|
+
查询预算修改记录
|
|
741
|
+
"""
|
|
742
|
+
|
|
743
|
+
kwargs = {}
|
|
744
|
+
kwargs["action"] = "DescribeBudgetOperationLog"
|
|
745
|
+
kwargs["params"] = request._serialize()
|
|
746
|
+
kwargs["resp_cls"] = models.DescribeBudgetOperationLogResponse
|
|
747
|
+
kwargs["headers"] = request.headers
|
|
748
|
+
kwargs["opts"] = opts or {}
|
|
749
|
+
|
|
750
|
+
return await self.call_and_deserialize(**kwargs)
|
|
751
|
+
|
|
752
|
+
async def DescribeBudgetRemindRecordList(
|
|
753
|
+
self,
|
|
754
|
+
request: models.DescribeBudgetRemindRecordListRequest,
|
|
755
|
+
opts: Dict = None,
|
|
756
|
+
) -> models.DescribeBudgetRemindRecordListResponse:
|
|
757
|
+
"""
|
|
758
|
+
返回预算提醒记录,包括预算周期、检测时间、提醒时间、提醒类型、提醒内容
|
|
759
|
+
"""
|
|
760
|
+
|
|
761
|
+
kwargs = {}
|
|
762
|
+
kwargs["action"] = "DescribeBudgetRemindRecordList"
|
|
763
|
+
kwargs["params"] = request._serialize()
|
|
764
|
+
kwargs["resp_cls"] = models.DescribeBudgetRemindRecordListResponse
|
|
765
|
+
kwargs["headers"] = request.headers
|
|
766
|
+
kwargs["opts"] = opts or {}
|
|
767
|
+
|
|
768
|
+
return await self.call_and_deserialize(**kwargs)
|
|
769
|
+
|
|
770
|
+
async def DescribeCostDetail(
|
|
771
|
+
self,
|
|
772
|
+
request: models.DescribeCostDetailRequest,
|
|
773
|
+
opts: Dict = None,
|
|
774
|
+
) -> models.DescribeCostDetailResponse:
|
|
775
|
+
"""
|
|
776
|
+
查询消耗明细
|
|
777
|
+
|
|
778
|
+
注意事项:
|
|
779
|
+
1. 对于消耗明细数据量级很大(例如每月消耗明细量级超过100w)的客户,通过 API 调用明细数据会有超时风险,建议您开通消耗账单数据存储功能,通过存储桶中获取账单文件进行分析。[账单存储至COS桶](https://cloud.tencent.com/document/product/555/61275)
|
|
780
|
+
"""
|
|
781
|
+
|
|
782
|
+
kwargs = {}
|
|
783
|
+
kwargs["action"] = "DescribeCostDetail"
|
|
784
|
+
kwargs["params"] = request._serialize()
|
|
785
|
+
kwargs["resp_cls"] = models.DescribeCostDetailResponse
|
|
786
|
+
kwargs["headers"] = request.headers
|
|
787
|
+
kwargs["opts"] = opts or {}
|
|
788
|
+
|
|
789
|
+
return await self.call_and_deserialize(**kwargs)
|
|
790
|
+
|
|
791
|
+
async def DescribeCostExplorerSummary(
|
|
792
|
+
self,
|
|
793
|
+
request: models.DescribeCostExplorerSummaryRequest,
|
|
794
|
+
opts: Dict = None,
|
|
795
|
+
) -> models.DescribeCostExplorerSummaryResponse:
|
|
796
|
+
"""
|
|
797
|
+
查看成本分析明细
|
|
798
|
+
"""
|
|
799
|
+
|
|
800
|
+
kwargs = {}
|
|
801
|
+
kwargs["action"] = "DescribeCostExplorerSummary"
|
|
802
|
+
kwargs["params"] = request._serialize()
|
|
803
|
+
kwargs["resp_cls"] = models.DescribeCostExplorerSummaryResponse
|
|
804
|
+
kwargs["headers"] = request.headers
|
|
805
|
+
kwargs["opts"] = opts or {}
|
|
806
|
+
|
|
807
|
+
return await self.call_and_deserialize(**kwargs)
|
|
808
|
+
|
|
809
|
+
async def DescribeCostSummaryByProduct(
|
|
810
|
+
self,
|
|
811
|
+
request: models.DescribeCostSummaryByProductRequest,
|
|
812
|
+
opts: Dict = None,
|
|
813
|
+
) -> models.DescribeCostSummaryByProductResponse:
|
|
814
|
+
"""
|
|
815
|
+
获取按产品汇总消耗详情
|
|
816
|
+
"""
|
|
817
|
+
|
|
818
|
+
kwargs = {}
|
|
819
|
+
kwargs["action"] = "DescribeCostSummaryByProduct"
|
|
820
|
+
kwargs["params"] = request._serialize()
|
|
821
|
+
kwargs["resp_cls"] = models.DescribeCostSummaryByProductResponse
|
|
822
|
+
kwargs["headers"] = request.headers
|
|
823
|
+
kwargs["opts"] = opts or {}
|
|
824
|
+
|
|
825
|
+
return await self.call_and_deserialize(**kwargs)
|
|
826
|
+
|
|
827
|
+
async def DescribeCostSummaryByProject(
|
|
828
|
+
self,
|
|
829
|
+
request: models.DescribeCostSummaryByProjectRequest,
|
|
830
|
+
opts: Dict = None,
|
|
831
|
+
) -> models.DescribeCostSummaryByProjectResponse:
|
|
832
|
+
"""
|
|
833
|
+
获取按项目汇总消耗详情
|
|
834
|
+
"""
|
|
835
|
+
|
|
836
|
+
kwargs = {}
|
|
837
|
+
kwargs["action"] = "DescribeCostSummaryByProject"
|
|
838
|
+
kwargs["params"] = request._serialize()
|
|
839
|
+
kwargs["resp_cls"] = models.DescribeCostSummaryByProjectResponse
|
|
840
|
+
kwargs["headers"] = request.headers
|
|
841
|
+
kwargs["opts"] = opts or {}
|
|
842
|
+
|
|
843
|
+
return await self.call_and_deserialize(**kwargs)
|
|
844
|
+
|
|
845
|
+
async def DescribeCostSummaryByRegion(
|
|
846
|
+
self,
|
|
847
|
+
request: models.DescribeCostSummaryByRegionRequest,
|
|
848
|
+
opts: Dict = None,
|
|
849
|
+
) -> models.DescribeCostSummaryByRegionResponse:
|
|
850
|
+
"""
|
|
851
|
+
获取按地域汇总消耗详情
|
|
852
|
+
"""
|
|
853
|
+
|
|
854
|
+
kwargs = {}
|
|
855
|
+
kwargs["action"] = "DescribeCostSummaryByRegion"
|
|
856
|
+
kwargs["params"] = request._serialize()
|
|
857
|
+
kwargs["resp_cls"] = models.DescribeCostSummaryByRegionResponse
|
|
858
|
+
kwargs["headers"] = request.headers
|
|
859
|
+
kwargs["opts"] = opts or {}
|
|
860
|
+
|
|
861
|
+
return await self.call_and_deserialize(**kwargs)
|
|
862
|
+
|
|
863
|
+
async def DescribeCostSummaryByResource(
|
|
864
|
+
self,
|
|
865
|
+
request: models.DescribeCostSummaryByResourceRequest,
|
|
866
|
+
opts: Dict = None,
|
|
867
|
+
) -> models.DescribeCostSummaryByResourceResponse:
|
|
868
|
+
"""
|
|
869
|
+
获取按资源汇总消耗详情
|
|
870
|
+
"""
|
|
871
|
+
|
|
872
|
+
kwargs = {}
|
|
873
|
+
kwargs["action"] = "DescribeCostSummaryByResource"
|
|
874
|
+
kwargs["params"] = request._serialize()
|
|
875
|
+
kwargs["resp_cls"] = models.DescribeCostSummaryByResourceResponse
|
|
876
|
+
kwargs["headers"] = request.headers
|
|
877
|
+
kwargs["opts"] = opts or {}
|
|
878
|
+
|
|
879
|
+
return await self.call_and_deserialize(**kwargs)
|
|
880
|
+
|
|
881
|
+
async def DescribeDealsByCond(
|
|
882
|
+
self,
|
|
883
|
+
request: models.DescribeDealsByCondRequest,
|
|
884
|
+
opts: Dict = None,
|
|
885
|
+
) -> models.DescribeDealsByCondResponse:
|
|
886
|
+
"""
|
|
887
|
+
查询订单
|
|
888
|
+
"""
|
|
889
|
+
|
|
890
|
+
kwargs = {}
|
|
891
|
+
kwargs["action"] = "DescribeDealsByCond"
|
|
892
|
+
kwargs["params"] = request._serialize()
|
|
893
|
+
kwargs["resp_cls"] = models.DescribeDealsByCondResponse
|
|
894
|
+
kwargs["headers"] = request.headers
|
|
895
|
+
kwargs["opts"] = opts or {}
|
|
896
|
+
|
|
897
|
+
return await self.call_and_deserialize(**kwargs)
|
|
898
|
+
|
|
899
|
+
async def DescribeDosageCosDetailByDate(
|
|
900
|
+
self,
|
|
901
|
+
request: models.DescribeDosageCosDetailByDateRequest,
|
|
902
|
+
opts: Dict = None,
|
|
903
|
+
) -> models.DescribeDosageCosDetailByDateResponse:
|
|
904
|
+
"""
|
|
905
|
+
获取COS产品用量明细
|
|
906
|
+
"""
|
|
907
|
+
|
|
908
|
+
kwargs = {}
|
|
909
|
+
kwargs["action"] = "DescribeDosageCosDetailByDate"
|
|
910
|
+
kwargs["params"] = request._serialize()
|
|
911
|
+
kwargs["resp_cls"] = models.DescribeDosageCosDetailByDateResponse
|
|
912
|
+
kwargs["headers"] = request.headers
|
|
913
|
+
kwargs["opts"] = opts or {}
|
|
914
|
+
|
|
915
|
+
return await self.call_and_deserialize(**kwargs)
|
|
916
|
+
|
|
917
|
+
async def DescribeDosageDetailByDate(
|
|
918
|
+
self,
|
|
919
|
+
request: models.DescribeDosageDetailByDateRequest,
|
|
920
|
+
opts: Dict = None,
|
|
921
|
+
) -> models.DescribeDosageDetailByDateResponse:
|
|
922
|
+
"""
|
|
923
|
+
按日期获取产品用量明细
|
|
924
|
+
"""
|
|
925
|
+
|
|
926
|
+
kwargs = {}
|
|
927
|
+
kwargs["action"] = "DescribeDosageDetailByDate"
|
|
928
|
+
kwargs["params"] = request._serialize()
|
|
929
|
+
kwargs["resp_cls"] = models.DescribeDosageDetailByDateResponse
|
|
930
|
+
kwargs["headers"] = request.headers
|
|
931
|
+
kwargs["opts"] = opts or {}
|
|
932
|
+
|
|
933
|
+
return await self.call_and_deserialize(**kwargs)
|
|
934
|
+
|
|
935
|
+
async def DescribeDosageDetailList(
|
|
936
|
+
self,
|
|
937
|
+
request: models.DescribeDosageDetailListRequest,
|
|
938
|
+
opts: Dict = None,
|
|
939
|
+
) -> models.DescribeDosageDetailListResponse:
|
|
940
|
+
"""
|
|
941
|
+
获取已接入标准用量明细模板产品的用量明细数据,目前已接入并支持查询的产品包括:云联络中心、实时音视频、实时音视频、智能媒资托管、CODING DevOps、全球IP应用加速
|
|
942
|
+
"""
|
|
943
|
+
|
|
944
|
+
kwargs = {}
|
|
945
|
+
kwargs["action"] = "DescribeDosageDetailList"
|
|
946
|
+
kwargs["params"] = request._serialize()
|
|
947
|
+
kwargs["resp_cls"] = models.DescribeDosageDetailListResponse
|
|
948
|
+
kwargs["headers"] = request.headers
|
|
949
|
+
kwargs["opts"] = opts or {}
|
|
950
|
+
|
|
951
|
+
return await self.call_and_deserialize(**kwargs)
|
|
952
|
+
|
|
953
|
+
async def DescribeGatherResource(
|
|
954
|
+
self,
|
|
955
|
+
request: models.DescribeGatherResourceRequest,
|
|
956
|
+
opts: Dict = None,
|
|
957
|
+
) -> models.DescribeGatherResourceResponse:
|
|
958
|
+
"""
|
|
959
|
+
查询分账账单资源归集汇总
|
|
960
|
+
"""
|
|
961
|
+
|
|
962
|
+
kwargs = {}
|
|
963
|
+
kwargs["action"] = "DescribeGatherResource"
|
|
964
|
+
kwargs["params"] = request._serialize()
|
|
965
|
+
kwargs["resp_cls"] = models.DescribeGatherResourceResponse
|
|
966
|
+
kwargs["headers"] = request.headers
|
|
967
|
+
kwargs["opts"] = opts or {}
|
|
968
|
+
|
|
969
|
+
return await self.call_and_deserialize(**kwargs)
|
|
970
|
+
|
|
971
|
+
async def DescribeGatherRuleDetail(
|
|
972
|
+
self,
|
|
973
|
+
request: models.DescribeGatherRuleDetailRequest,
|
|
974
|
+
opts: Dict = None,
|
|
975
|
+
) -> models.DescribeGatherRuleDetailResponse:
|
|
976
|
+
"""
|
|
977
|
+
查询归集规则详情
|
|
978
|
+
"""
|
|
979
|
+
|
|
980
|
+
kwargs = {}
|
|
981
|
+
kwargs["action"] = "DescribeGatherRuleDetail"
|
|
982
|
+
kwargs["params"] = request._serialize()
|
|
983
|
+
kwargs["resp_cls"] = models.DescribeGatherRuleDetailResponse
|
|
984
|
+
kwargs["headers"] = request.headers
|
|
985
|
+
kwargs["opts"] = opts or {}
|
|
986
|
+
|
|
987
|
+
return await self.call_and_deserialize(**kwargs)
|
|
988
|
+
|
|
989
|
+
async def DescribeSavingPlanResourceInfo(
|
|
990
|
+
self,
|
|
991
|
+
request: models.DescribeSavingPlanResourceInfoRequest,
|
|
992
|
+
opts: Dict = None,
|
|
993
|
+
) -> models.DescribeSavingPlanResourceInfoResponse:
|
|
994
|
+
"""
|
|
995
|
+
查询节省计划详情
|
|
996
|
+
"""
|
|
997
|
+
|
|
998
|
+
kwargs = {}
|
|
999
|
+
kwargs["action"] = "DescribeSavingPlanResourceInfo"
|
|
1000
|
+
kwargs["params"] = request._serialize()
|
|
1001
|
+
kwargs["resp_cls"] = models.DescribeSavingPlanResourceInfoResponse
|
|
1002
|
+
kwargs["headers"] = request.headers
|
|
1003
|
+
kwargs["opts"] = opts or {}
|
|
1004
|
+
|
|
1005
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1006
|
+
|
|
1007
|
+
async def DescribeTagList(
|
|
1008
|
+
self,
|
|
1009
|
+
request: models.DescribeTagListRequest,
|
|
1010
|
+
opts: Dict = None,
|
|
1011
|
+
) -> models.DescribeTagListResponse:
|
|
1012
|
+
"""
|
|
1013
|
+
获取分账标签
|
|
1014
|
+
"""
|
|
1015
|
+
|
|
1016
|
+
kwargs = {}
|
|
1017
|
+
kwargs["action"] = "DescribeTagList"
|
|
1018
|
+
kwargs["params"] = request._serialize()
|
|
1019
|
+
kwargs["resp_cls"] = models.DescribeTagListResponse
|
|
1020
|
+
kwargs["headers"] = request.headers
|
|
1021
|
+
kwargs["opts"] = opts or {}
|
|
1022
|
+
|
|
1023
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1024
|
+
|
|
1025
|
+
async def DescribeVoucherInfo(
|
|
1026
|
+
self,
|
|
1027
|
+
request: models.DescribeVoucherInfoRequest,
|
|
1028
|
+
opts: Dict = None,
|
|
1029
|
+
) -> models.DescribeVoucherInfoResponse:
|
|
1030
|
+
"""
|
|
1031
|
+
获取代金券相关信息
|
|
1032
|
+
"""
|
|
1033
|
+
|
|
1034
|
+
kwargs = {}
|
|
1035
|
+
kwargs["action"] = "DescribeVoucherInfo"
|
|
1036
|
+
kwargs["params"] = request._serialize()
|
|
1037
|
+
kwargs["resp_cls"] = models.DescribeVoucherInfoResponse
|
|
1038
|
+
kwargs["headers"] = request.headers
|
|
1039
|
+
kwargs["opts"] = opts or {}
|
|
1040
|
+
|
|
1041
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1042
|
+
|
|
1043
|
+
async def DescribeVoucherUsageDetails(
|
|
1044
|
+
self,
|
|
1045
|
+
request: models.DescribeVoucherUsageDetailsRequest,
|
|
1046
|
+
opts: Dict = None,
|
|
1047
|
+
) -> models.DescribeVoucherUsageDetailsResponse:
|
|
1048
|
+
"""
|
|
1049
|
+
获取代金券使用记录
|
|
1050
|
+
"""
|
|
1051
|
+
|
|
1052
|
+
kwargs = {}
|
|
1053
|
+
kwargs["action"] = "DescribeVoucherUsageDetails"
|
|
1054
|
+
kwargs["params"] = request._serialize()
|
|
1055
|
+
kwargs["resp_cls"] = models.DescribeVoucherUsageDetailsResponse
|
|
1056
|
+
kwargs["headers"] = request.headers
|
|
1057
|
+
kwargs["opts"] = opts or {}
|
|
1058
|
+
|
|
1059
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1060
|
+
|
|
1061
|
+
async def ModifyAllocationRule(
|
|
1062
|
+
self,
|
|
1063
|
+
request: models.ModifyAllocationRuleRequest,
|
|
1064
|
+
opts: Dict = None,
|
|
1065
|
+
) -> models.ModifyAllocationRuleResponse:
|
|
1066
|
+
"""
|
|
1067
|
+
编辑公摊规则
|
|
1068
|
+
"""
|
|
1069
|
+
|
|
1070
|
+
kwargs = {}
|
|
1071
|
+
kwargs["action"] = "ModifyAllocationRule"
|
|
1072
|
+
kwargs["params"] = request._serialize()
|
|
1073
|
+
kwargs["resp_cls"] = models.ModifyAllocationRuleResponse
|
|
1074
|
+
kwargs["headers"] = request.headers
|
|
1075
|
+
kwargs["opts"] = opts or {}
|
|
1076
|
+
|
|
1077
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1078
|
+
|
|
1079
|
+
async def ModifyAllocationUnit(
|
|
1080
|
+
self,
|
|
1081
|
+
request: models.ModifyAllocationUnitRequest,
|
|
1082
|
+
opts: Dict = None,
|
|
1083
|
+
) -> models.ModifyAllocationUnitResponse:
|
|
1084
|
+
"""
|
|
1085
|
+
修改分账单元信息
|
|
1086
|
+
"""
|
|
1087
|
+
|
|
1088
|
+
kwargs = {}
|
|
1089
|
+
kwargs["action"] = "ModifyAllocationUnit"
|
|
1090
|
+
kwargs["params"] = request._serialize()
|
|
1091
|
+
kwargs["resp_cls"] = models.ModifyAllocationUnitResponse
|
|
1092
|
+
kwargs["headers"] = request.headers
|
|
1093
|
+
kwargs["opts"] = opts or {}
|
|
1094
|
+
|
|
1095
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1096
|
+
|
|
1097
|
+
async def ModifyBudget(
|
|
1098
|
+
self,
|
|
1099
|
+
request: models.ModifyBudgetRequest,
|
|
1100
|
+
opts: Dict = None,
|
|
1101
|
+
) -> models.ModifyBudgetResponse:
|
|
1102
|
+
"""
|
|
1103
|
+
更新预算信息
|
|
1104
|
+
"""
|
|
1105
|
+
|
|
1106
|
+
kwargs = {}
|
|
1107
|
+
kwargs["action"] = "ModifyBudget"
|
|
1108
|
+
kwargs["params"] = request._serialize()
|
|
1109
|
+
kwargs["resp_cls"] = models.ModifyBudgetResponse
|
|
1110
|
+
kwargs["headers"] = request.headers
|
|
1111
|
+
kwargs["opts"] = opts or {}
|
|
1112
|
+
|
|
1113
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1114
|
+
|
|
1115
|
+
async def ModifyGatherRule(
|
|
1116
|
+
self,
|
|
1117
|
+
request: models.ModifyGatherRuleRequest,
|
|
1118
|
+
opts: Dict = None,
|
|
1119
|
+
) -> models.ModifyGatherRuleResponse:
|
|
1120
|
+
"""
|
|
1121
|
+
编辑归集规则
|
|
1122
|
+
"""
|
|
1123
|
+
|
|
1124
|
+
kwargs = {}
|
|
1125
|
+
kwargs["action"] = "ModifyGatherRule"
|
|
1126
|
+
kwargs["params"] = request._serialize()
|
|
1127
|
+
kwargs["resp_cls"] = models.ModifyGatherRuleResponse
|
|
1128
|
+
kwargs["headers"] = request.headers
|
|
1129
|
+
kwargs["opts"] = opts or {}
|
|
1130
|
+
|
|
1131
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1132
|
+
|
|
1133
|
+
async def PayDeals(
|
|
1134
|
+
self,
|
|
1135
|
+
request: models.PayDealsRequest,
|
|
1136
|
+
opts: Dict = None,
|
|
1137
|
+
) -> models.PayDealsResponse:
|
|
1138
|
+
"""
|
|
1139
|
+
支付订单
|
|
1140
|
+
"""
|
|
1141
|
+
|
|
1142
|
+
kwargs = {}
|
|
1143
|
+
kwargs["action"] = "PayDeals"
|
|
1144
|
+
kwargs["params"] = request._serialize()
|
|
1145
|
+
kwargs["resp_cls"] = models.PayDealsResponse
|
|
1146
|
+
kwargs["headers"] = request.headers
|
|
1147
|
+
kwargs["opts"] = opts or {}
|
|
1148
|
+
|
|
1149
|
+
return await self.call_and_deserialize(**kwargs)
|
|
@@ -14298,6 +14298,8 @@ class CostDetail(AbstractModel):
|
|
|
14298
14298
|
:type ComponentSet: list of CostComponentSet
|
|
14299
14299
|
:param _ProductCode: 子产品名称代码
|
|
14300
14300
|
:type ProductCode: str
|
|
14301
|
+
:param _Tags: 标签信息
|
|
14302
|
+
:type Tags: list of BillTagInfo
|
|
14301
14303
|
"""
|
|
14302
14304
|
self._PayerUin = None
|
|
14303
14305
|
self._BusinessCodeName = None
|
|
@@ -14315,6 +14317,7 @@ class CostDetail(AbstractModel):
|
|
|
14315
14317
|
self._FeeEndTime = None
|
|
14316
14318
|
self._ComponentSet = None
|
|
14317
14319
|
self._ProductCode = None
|
|
14320
|
+
self._Tags = None
|
|
14318
14321
|
|
|
14319
14322
|
@property
|
|
14320
14323
|
def PayerUin(self):
|
|
@@ -14492,6 +14495,17 @@ class CostDetail(AbstractModel):
|
|
|
14492
14495
|
def ProductCode(self, ProductCode):
|
|
14493
14496
|
self._ProductCode = ProductCode
|
|
14494
14497
|
|
|
14498
|
+
@property
|
|
14499
|
+
def Tags(self):
|
|
14500
|
+
r"""标签信息
|
|
14501
|
+
:rtype: list of BillTagInfo
|
|
14502
|
+
"""
|
|
14503
|
+
return self._Tags
|
|
14504
|
+
|
|
14505
|
+
@Tags.setter
|
|
14506
|
+
def Tags(self, Tags):
|
|
14507
|
+
self._Tags = Tags
|
|
14508
|
+
|
|
14495
14509
|
|
|
14496
14510
|
def _deserialize(self, params):
|
|
14497
14511
|
self._PayerUin = params.get("PayerUin")
|
|
@@ -14515,6 +14529,12 @@ class CostDetail(AbstractModel):
|
|
|
14515
14529
|
obj._deserialize(item)
|
|
14516
14530
|
self._ComponentSet.append(obj)
|
|
14517
14531
|
self._ProductCode = params.get("ProductCode")
|
|
14532
|
+
if params.get("Tags") is not None:
|
|
14533
|
+
self._Tags = []
|
|
14534
|
+
for item in params.get("Tags"):
|
|
14535
|
+
obj = BillTagInfo()
|
|
14536
|
+
obj._deserialize(item)
|
|
14537
|
+
self._Tags.append(obj)
|
|
14518
14538
|
memeber_set = set(params.keys())
|
|
14519
14539
|
for name, value in vars(self).items():
|
|
14520
14540
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-billing
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.13
|
|
4
4
|
Summary: Tencent Cloud Billing SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.13
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -5,6 +5,7 @@ tencentcloud/__init__.py
|
|
|
5
5
|
tencentcloud/billing/__init__.py
|
|
6
6
|
tencentcloud/billing/v20180709/__init__.py
|
|
7
7
|
tencentcloud/billing/v20180709/billing_client.py
|
|
8
|
+
tencentcloud/billing/v20180709/billing_client_async.py
|
|
8
9
|
tencentcloud/billing/v20180709/errorcodes.py
|
|
9
10
|
tencentcloud/billing/v20180709/models.py
|
|
10
11
|
tencentcloud_sdk_python_billing.egg-info/PKG-INFO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.13
|
tencentcloud_sdk_python_billing-3.0.1489/tencentcloud_sdk_python_billing.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1489
|
{tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_billing-3.0.1489 → tencentcloud_sdk_python_billing-3.1.13}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|