tencentcloud-sdk-python 3.0.1338__py2.py3-none-any.whl → 3.0.1340__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +64 -112
- tencentcloud/bh/v20230418/bh_client.py +23 -0
- tencentcloud/bh/v20230418/models.py +342 -0
- tencentcloud/cdwch/v20200915/models.py +15 -0
- tencentcloud/cfg/v20210820/models.py +30 -6
- tencentcloud/cmq/v20190304/models.py +0 -90
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +2 -358
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +452 -0
- tencentcloud/domain/v20180808/models.py +0 -124
- tencentcloud/dsgc/v20190723/models.py +8 -0
- tencentcloud/dts/v20180330/models.py +0 -2
- tencentcloud/dts/v20211206/models.py +0 -328
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +431 -0
- tencentcloud/es/v20180416/models.py +17 -0
- tencentcloud/fmu/v20191213/errorcodes.py +0 -21
- tencentcloud/fmu/v20191213/fmu_client.py +0 -75
- tencentcloud/fmu/v20191213/models.py +0 -527
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +0 -50
- tencentcloud/iotexplorer/v20190423/models.py +0 -491
- tencentcloud/iss/v20230517/models.py +15 -534
- tencentcloud/kms/v20190118/models.py +30 -0
- tencentcloud/lcic/v20220817/lcic_client.py +46 -0
- tencentcloud/lcic/v20220817/models.py +188 -0
- tencentcloud/mongodb/v20190725/models.py +109 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/rum/v20210622/models.py +0 -2
- tencentcloud/svp/v20240125/errorcodes.py +3 -0
- tencentcloud/svp/v20240125/models.py +506 -0
- tencentcloud/svp/v20240125/svp_client.py +23 -0
- tencentcloud/tiw/v20190919/errorcodes.py +3 -24
- tencentcloud/tiw/v20190919/models.py +3657 -8172
- tencentcloud/tiw/v20190919/tiw_client.py +1 -580
- tencentcloud/trtc/v20190722/models.py +39 -8
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +85 -14
- tencentcloud/tsf/v20180326/tsf_client.py +23 -0
- tencentcloud/vpc/v20170312/models.py +100 -0
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +654 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1340.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1340.dist-info}/RECORD +49 -49
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1340.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1340.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1340.dist-info}/top_level.txt +0 -0
@@ -217,6 +217,185 @@ class CreateSavingPlanOrderResponse(AbstractModel):
|
|
217
217
|
self._RequestId = params.get("RequestId")
|
218
218
|
|
219
219
|
|
220
|
+
class DescribeSavingPlanCoverageRequest(AbstractModel):
|
221
|
+
"""DescribeSavingPlanCoverage请求参数结构体
|
222
|
+
|
223
|
+
"""
|
224
|
+
|
225
|
+
def __init__(self):
|
226
|
+
r"""
|
227
|
+
:param _StartDate: 费用起始日期,格式yyyy-MM-dd
|
228
|
+
:type StartDate: str
|
229
|
+
:param _EndDate: 费用结束日期,格式yyyy-MM-dd
|
230
|
+
:type EndDate: str
|
231
|
+
:param _Offset: 分页偏移量,Offset=0表示第一页,如果Limit=100,则Offset=100表示第二页,Offset=200表示第三页,以此类推
|
232
|
+
:type Offset: int
|
233
|
+
:param _Limit: 数量,最大值为200
|
234
|
+
:type Limit: int
|
235
|
+
:param _PeriodType: 取值包括1(缺省值)和2,1表示按天统计覆盖率,2表示按月统计覆盖率,此参数仅影响返回的RateSet聚合粒度,不影响返回的DetailSet
|
236
|
+
:type PeriodType: int
|
237
|
+
"""
|
238
|
+
self._StartDate = None
|
239
|
+
self._EndDate = None
|
240
|
+
self._Offset = None
|
241
|
+
self._Limit = None
|
242
|
+
self._PeriodType = None
|
243
|
+
|
244
|
+
@property
|
245
|
+
def StartDate(self):
|
246
|
+
"""费用起始日期,格式yyyy-MM-dd
|
247
|
+
:rtype: str
|
248
|
+
"""
|
249
|
+
return self._StartDate
|
250
|
+
|
251
|
+
@StartDate.setter
|
252
|
+
def StartDate(self, StartDate):
|
253
|
+
self._StartDate = StartDate
|
254
|
+
|
255
|
+
@property
|
256
|
+
def EndDate(self):
|
257
|
+
"""费用结束日期,格式yyyy-MM-dd
|
258
|
+
:rtype: str
|
259
|
+
"""
|
260
|
+
return self._EndDate
|
261
|
+
|
262
|
+
@EndDate.setter
|
263
|
+
def EndDate(self, EndDate):
|
264
|
+
self._EndDate = EndDate
|
265
|
+
|
266
|
+
@property
|
267
|
+
def Offset(self):
|
268
|
+
"""分页偏移量,Offset=0表示第一页,如果Limit=100,则Offset=100表示第二页,Offset=200表示第三页,以此类推
|
269
|
+
:rtype: int
|
270
|
+
"""
|
271
|
+
return self._Offset
|
272
|
+
|
273
|
+
@Offset.setter
|
274
|
+
def Offset(self, Offset):
|
275
|
+
self._Offset = Offset
|
276
|
+
|
277
|
+
@property
|
278
|
+
def Limit(self):
|
279
|
+
"""数量,最大值为200
|
280
|
+
:rtype: int
|
281
|
+
"""
|
282
|
+
return self._Limit
|
283
|
+
|
284
|
+
@Limit.setter
|
285
|
+
def Limit(self, Limit):
|
286
|
+
self._Limit = Limit
|
287
|
+
|
288
|
+
@property
|
289
|
+
def PeriodType(self):
|
290
|
+
"""取值包括1(缺省值)和2,1表示按天统计覆盖率,2表示按月统计覆盖率,此参数仅影响返回的RateSet聚合粒度,不影响返回的DetailSet
|
291
|
+
:rtype: int
|
292
|
+
"""
|
293
|
+
return self._PeriodType
|
294
|
+
|
295
|
+
@PeriodType.setter
|
296
|
+
def PeriodType(self, PeriodType):
|
297
|
+
self._PeriodType = PeriodType
|
298
|
+
|
299
|
+
|
300
|
+
def _deserialize(self, params):
|
301
|
+
self._StartDate = params.get("StartDate")
|
302
|
+
self._EndDate = params.get("EndDate")
|
303
|
+
self._Offset = params.get("Offset")
|
304
|
+
self._Limit = params.get("Limit")
|
305
|
+
self._PeriodType = params.get("PeriodType")
|
306
|
+
memeber_set = set(params.keys())
|
307
|
+
for name, value in vars(self).items():
|
308
|
+
property_name = name[1:]
|
309
|
+
if property_name in memeber_set:
|
310
|
+
memeber_set.remove(property_name)
|
311
|
+
if len(memeber_set) > 0:
|
312
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
class DescribeSavingPlanCoverageResponse(AbstractModel):
|
317
|
+
"""DescribeSavingPlanCoverage返回参数结构体
|
318
|
+
|
319
|
+
"""
|
320
|
+
|
321
|
+
def __init__(self):
|
322
|
+
r"""
|
323
|
+
:param _DetailSet: 节省计划覆盖率明细数据
|
324
|
+
:type DetailSet: list of SavingPlanCoverageDetail
|
325
|
+
:param _RateSet: 节省计划覆盖率聚合数据
|
326
|
+
:type RateSet: list of SavingPlanCoverageRate
|
327
|
+
:param _TotalCount: 查询命中的节省计划覆盖率明细数据总条数
|
328
|
+
:type TotalCount: int
|
329
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
330
|
+
:type RequestId: str
|
331
|
+
"""
|
332
|
+
self._DetailSet = None
|
333
|
+
self._RateSet = None
|
334
|
+
self._TotalCount = None
|
335
|
+
self._RequestId = None
|
336
|
+
|
337
|
+
@property
|
338
|
+
def DetailSet(self):
|
339
|
+
"""节省计划覆盖率明细数据
|
340
|
+
:rtype: list of SavingPlanCoverageDetail
|
341
|
+
"""
|
342
|
+
return self._DetailSet
|
343
|
+
|
344
|
+
@DetailSet.setter
|
345
|
+
def DetailSet(self, DetailSet):
|
346
|
+
self._DetailSet = DetailSet
|
347
|
+
|
348
|
+
@property
|
349
|
+
def RateSet(self):
|
350
|
+
"""节省计划覆盖率聚合数据
|
351
|
+
:rtype: list of SavingPlanCoverageRate
|
352
|
+
"""
|
353
|
+
return self._RateSet
|
354
|
+
|
355
|
+
@RateSet.setter
|
356
|
+
def RateSet(self, RateSet):
|
357
|
+
self._RateSet = RateSet
|
358
|
+
|
359
|
+
@property
|
360
|
+
def TotalCount(self):
|
361
|
+
"""查询命中的节省计划覆盖率明细数据总条数
|
362
|
+
:rtype: int
|
363
|
+
"""
|
364
|
+
return self._TotalCount
|
365
|
+
|
366
|
+
@TotalCount.setter
|
367
|
+
def TotalCount(self, TotalCount):
|
368
|
+
self._TotalCount = TotalCount
|
369
|
+
|
370
|
+
@property
|
371
|
+
def RequestId(self):
|
372
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
373
|
+
:rtype: str
|
374
|
+
"""
|
375
|
+
return self._RequestId
|
376
|
+
|
377
|
+
@RequestId.setter
|
378
|
+
def RequestId(self, RequestId):
|
379
|
+
self._RequestId = RequestId
|
380
|
+
|
381
|
+
|
382
|
+
def _deserialize(self, params):
|
383
|
+
if params.get("DetailSet") is not None:
|
384
|
+
self._DetailSet = []
|
385
|
+
for item in params.get("DetailSet"):
|
386
|
+
obj = SavingPlanCoverageDetail()
|
387
|
+
obj._deserialize(item)
|
388
|
+
self._DetailSet.append(obj)
|
389
|
+
if params.get("RateSet") is not None:
|
390
|
+
self._RateSet = []
|
391
|
+
for item in params.get("RateSet"):
|
392
|
+
obj = SavingPlanCoverageRate()
|
393
|
+
obj._deserialize(item)
|
394
|
+
self._RateSet.append(obj)
|
395
|
+
self._TotalCount = params.get("TotalCount")
|
396
|
+
self._RequestId = params.get("RequestId")
|
397
|
+
|
398
|
+
|
220
399
|
class DescribeSavingPlanDeductRequest(AbstractModel):
|
221
400
|
"""DescribeSavingPlanDeduct请求参数结构体
|
222
401
|
|
@@ -773,6 +952,333 @@ class DescribeSavingPlanUsageResponse(AbstractModel):
|
|
773
952
|
self._RequestId = params.get("RequestId")
|
774
953
|
|
775
954
|
|
955
|
+
class SavingPlanCoverageDetail(AbstractModel):
|
956
|
+
"""节省计划覆盖率数据
|
957
|
+
|
958
|
+
"""
|
959
|
+
|
960
|
+
def __init__(self):
|
961
|
+
r"""
|
962
|
+
:param _ResourceId: 资源 ID:账单中出账对象 ID,不同产品因资源形态不同,资源内容不完全相同,如云服务器 CVM 为对应的实例 ID
|
963
|
+
:type ResourceId: str
|
964
|
+
:param _RegionId: 地域ID
|
965
|
+
:type RegionId: int
|
966
|
+
:param _ProductCode: 产品编码
|
967
|
+
:type ProductCode: str
|
968
|
+
:param _SubProductCode: 子产品编码
|
969
|
+
:type SubProductCode: str
|
970
|
+
:param _StartDate: 费用起始日期,格式yyyy-MM-dd
|
971
|
+
:type StartDate: str
|
972
|
+
:param _EndDate: 费用结束日期,格式yyyy-MM-dd,目前与StartDate相等
|
973
|
+
:type EndDate: str
|
974
|
+
:param _SpCoveredAmount: 节省计划覆盖金额(即节省计划支付金额)
|
975
|
+
:type SpCoveredAmount: float
|
976
|
+
:param _SpUncoveredAmount: 节省计划未覆盖金额(即优惠后总价)
|
977
|
+
:type SpUncoveredAmount: float
|
978
|
+
:param _TotalRealAmount: 总支出(即节省计划未覆盖金额 + 节省计划覆盖金额)
|
979
|
+
:type TotalRealAmount: float
|
980
|
+
:param _ExpectedAmount: 按量计费预期金额(即折前价 * 折扣)
|
981
|
+
:type ExpectedAmount: float
|
982
|
+
:param _SpCoverage: 覆盖率结果,取值[0, 100]
|
983
|
+
:type SpCoverage: float
|
984
|
+
:param _PayerUinName: 支付者昵称
|
985
|
+
:type PayerUinName: str
|
986
|
+
:param _OwnerUinName: 使用者昵称
|
987
|
+
:type OwnerUinName: str
|
988
|
+
:param _PayerUin: 支付者uin
|
989
|
+
:type PayerUin: str
|
990
|
+
:param _SubBillingItemName: 计费项名称
|
991
|
+
:type SubBillingItemName: str
|
992
|
+
:param _BillingItemName: 计费细项名称
|
993
|
+
:type BillingItemName: str
|
994
|
+
:param _SubProductName: 子产品名称
|
995
|
+
:type SubProductName: str
|
996
|
+
"""
|
997
|
+
self._ResourceId = None
|
998
|
+
self._RegionId = None
|
999
|
+
self._ProductCode = None
|
1000
|
+
self._SubProductCode = None
|
1001
|
+
self._StartDate = None
|
1002
|
+
self._EndDate = None
|
1003
|
+
self._SpCoveredAmount = None
|
1004
|
+
self._SpUncoveredAmount = None
|
1005
|
+
self._TotalRealAmount = None
|
1006
|
+
self._ExpectedAmount = None
|
1007
|
+
self._SpCoverage = None
|
1008
|
+
self._PayerUinName = None
|
1009
|
+
self._OwnerUinName = None
|
1010
|
+
self._PayerUin = None
|
1011
|
+
self._SubBillingItemName = None
|
1012
|
+
self._BillingItemName = None
|
1013
|
+
self._SubProductName = None
|
1014
|
+
|
1015
|
+
@property
|
1016
|
+
def ResourceId(self):
|
1017
|
+
"""资源 ID:账单中出账对象 ID,不同产品因资源形态不同,资源内容不完全相同,如云服务器 CVM 为对应的实例 ID
|
1018
|
+
:rtype: str
|
1019
|
+
"""
|
1020
|
+
return self._ResourceId
|
1021
|
+
|
1022
|
+
@ResourceId.setter
|
1023
|
+
def ResourceId(self, ResourceId):
|
1024
|
+
self._ResourceId = ResourceId
|
1025
|
+
|
1026
|
+
@property
|
1027
|
+
def RegionId(self):
|
1028
|
+
"""地域ID
|
1029
|
+
:rtype: int
|
1030
|
+
"""
|
1031
|
+
return self._RegionId
|
1032
|
+
|
1033
|
+
@RegionId.setter
|
1034
|
+
def RegionId(self, RegionId):
|
1035
|
+
self._RegionId = RegionId
|
1036
|
+
|
1037
|
+
@property
|
1038
|
+
def ProductCode(self):
|
1039
|
+
"""产品编码
|
1040
|
+
:rtype: str
|
1041
|
+
"""
|
1042
|
+
return self._ProductCode
|
1043
|
+
|
1044
|
+
@ProductCode.setter
|
1045
|
+
def ProductCode(self, ProductCode):
|
1046
|
+
self._ProductCode = ProductCode
|
1047
|
+
|
1048
|
+
@property
|
1049
|
+
def SubProductCode(self):
|
1050
|
+
"""子产品编码
|
1051
|
+
:rtype: str
|
1052
|
+
"""
|
1053
|
+
return self._SubProductCode
|
1054
|
+
|
1055
|
+
@SubProductCode.setter
|
1056
|
+
def SubProductCode(self, SubProductCode):
|
1057
|
+
self._SubProductCode = SubProductCode
|
1058
|
+
|
1059
|
+
@property
|
1060
|
+
def StartDate(self):
|
1061
|
+
"""费用起始日期,格式yyyy-MM-dd
|
1062
|
+
:rtype: str
|
1063
|
+
"""
|
1064
|
+
return self._StartDate
|
1065
|
+
|
1066
|
+
@StartDate.setter
|
1067
|
+
def StartDate(self, StartDate):
|
1068
|
+
self._StartDate = StartDate
|
1069
|
+
|
1070
|
+
@property
|
1071
|
+
def EndDate(self):
|
1072
|
+
"""费用结束日期,格式yyyy-MM-dd,目前与StartDate相等
|
1073
|
+
:rtype: str
|
1074
|
+
"""
|
1075
|
+
return self._EndDate
|
1076
|
+
|
1077
|
+
@EndDate.setter
|
1078
|
+
def EndDate(self, EndDate):
|
1079
|
+
self._EndDate = EndDate
|
1080
|
+
|
1081
|
+
@property
|
1082
|
+
def SpCoveredAmount(self):
|
1083
|
+
"""节省计划覆盖金额(即节省计划支付金额)
|
1084
|
+
:rtype: float
|
1085
|
+
"""
|
1086
|
+
return self._SpCoveredAmount
|
1087
|
+
|
1088
|
+
@SpCoveredAmount.setter
|
1089
|
+
def SpCoveredAmount(self, SpCoveredAmount):
|
1090
|
+
self._SpCoveredAmount = SpCoveredAmount
|
1091
|
+
|
1092
|
+
@property
|
1093
|
+
def SpUncoveredAmount(self):
|
1094
|
+
"""节省计划未覆盖金额(即优惠后总价)
|
1095
|
+
:rtype: float
|
1096
|
+
"""
|
1097
|
+
return self._SpUncoveredAmount
|
1098
|
+
|
1099
|
+
@SpUncoveredAmount.setter
|
1100
|
+
def SpUncoveredAmount(self, SpUncoveredAmount):
|
1101
|
+
self._SpUncoveredAmount = SpUncoveredAmount
|
1102
|
+
|
1103
|
+
@property
|
1104
|
+
def TotalRealAmount(self):
|
1105
|
+
"""总支出(即节省计划未覆盖金额 + 节省计划覆盖金额)
|
1106
|
+
:rtype: float
|
1107
|
+
"""
|
1108
|
+
return self._TotalRealAmount
|
1109
|
+
|
1110
|
+
@TotalRealAmount.setter
|
1111
|
+
def TotalRealAmount(self, TotalRealAmount):
|
1112
|
+
self._TotalRealAmount = TotalRealAmount
|
1113
|
+
|
1114
|
+
@property
|
1115
|
+
def ExpectedAmount(self):
|
1116
|
+
"""按量计费预期金额(即折前价 * 折扣)
|
1117
|
+
:rtype: float
|
1118
|
+
"""
|
1119
|
+
return self._ExpectedAmount
|
1120
|
+
|
1121
|
+
@ExpectedAmount.setter
|
1122
|
+
def ExpectedAmount(self, ExpectedAmount):
|
1123
|
+
self._ExpectedAmount = ExpectedAmount
|
1124
|
+
|
1125
|
+
@property
|
1126
|
+
def SpCoverage(self):
|
1127
|
+
"""覆盖率结果,取值[0, 100]
|
1128
|
+
:rtype: float
|
1129
|
+
"""
|
1130
|
+
return self._SpCoverage
|
1131
|
+
|
1132
|
+
@SpCoverage.setter
|
1133
|
+
def SpCoverage(self, SpCoverage):
|
1134
|
+
self._SpCoverage = SpCoverage
|
1135
|
+
|
1136
|
+
@property
|
1137
|
+
def PayerUinName(self):
|
1138
|
+
"""支付者昵称
|
1139
|
+
:rtype: str
|
1140
|
+
"""
|
1141
|
+
return self._PayerUinName
|
1142
|
+
|
1143
|
+
@PayerUinName.setter
|
1144
|
+
def PayerUinName(self, PayerUinName):
|
1145
|
+
self._PayerUinName = PayerUinName
|
1146
|
+
|
1147
|
+
@property
|
1148
|
+
def OwnerUinName(self):
|
1149
|
+
"""使用者昵称
|
1150
|
+
:rtype: str
|
1151
|
+
"""
|
1152
|
+
return self._OwnerUinName
|
1153
|
+
|
1154
|
+
@OwnerUinName.setter
|
1155
|
+
def OwnerUinName(self, OwnerUinName):
|
1156
|
+
self._OwnerUinName = OwnerUinName
|
1157
|
+
|
1158
|
+
@property
|
1159
|
+
def PayerUin(self):
|
1160
|
+
"""支付者uin
|
1161
|
+
:rtype: str
|
1162
|
+
"""
|
1163
|
+
return self._PayerUin
|
1164
|
+
|
1165
|
+
@PayerUin.setter
|
1166
|
+
def PayerUin(self, PayerUin):
|
1167
|
+
self._PayerUin = PayerUin
|
1168
|
+
|
1169
|
+
@property
|
1170
|
+
def SubBillingItemName(self):
|
1171
|
+
"""计费项名称
|
1172
|
+
:rtype: str
|
1173
|
+
"""
|
1174
|
+
return self._SubBillingItemName
|
1175
|
+
|
1176
|
+
@SubBillingItemName.setter
|
1177
|
+
def SubBillingItemName(self, SubBillingItemName):
|
1178
|
+
self._SubBillingItemName = SubBillingItemName
|
1179
|
+
|
1180
|
+
@property
|
1181
|
+
def BillingItemName(self):
|
1182
|
+
"""计费细项名称
|
1183
|
+
:rtype: str
|
1184
|
+
"""
|
1185
|
+
return self._BillingItemName
|
1186
|
+
|
1187
|
+
@BillingItemName.setter
|
1188
|
+
def BillingItemName(self, BillingItemName):
|
1189
|
+
self._BillingItemName = BillingItemName
|
1190
|
+
|
1191
|
+
@property
|
1192
|
+
def SubProductName(self):
|
1193
|
+
"""子产品名称
|
1194
|
+
:rtype: str
|
1195
|
+
"""
|
1196
|
+
return self._SubProductName
|
1197
|
+
|
1198
|
+
@SubProductName.setter
|
1199
|
+
def SubProductName(self, SubProductName):
|
1200
|
+
self._SubProductName = SubProductName
|
1201
|
+
|
1202
|
+
|
1203
|
+
def _deserialize(self, params):
|
1204
|
+
self._ResourceId = params.get("ResourceId")
|
1205
|
+
self._RegionId = params.get("RegionId")
|
1206
|
+
self._ProductCode = params.get("ProductCode")
|
1207
|
+
self._SubProductCode = params.get("SubProductCode")
|
1208
|
+
self._StartDate = params.get("StartDate")
|
1209
|
+
self._EndDate = params.get("EndDate")
|
1210
|
+
self._SpCoveredAmount = params.get("SpCoveredAmount")
|
1211
|
+
self._SpUncoveredAmount = params.get("SpUncoveredAmount")
|
1212
|
+
self._TotalRealAmount = params.get("TotalRealAmount")
|
1213
|
+
self._ExpectedAmount = params.get("ExpectedAmount")
|
1214
|
+
self._SpCoverage = params.get("SpCoverage")
|
1215
|
+
self._PayerUinName = params.get("PayerUinName")
|
1216
|
+
self._OwnerUinName = params.get("OwnerUinName")
|
1217
|
+
self._PayerUin = params.get("PayerUin")
|
1218
|
+
self._SubBillingItemName = params.get("SubBillingItemName")
|
1219
|
+
self._BillingItemName = params.get("BillingItemName")
|
1220
|
+
self._SubProductName = params.get("SubProductName")
|
1221
|
+
memeber_set = set(params.keys())
|
1222
|
+
for name, value in vars(self).items():
|
1223
|
+
property_name = name[1:]
|
1224
|
+
if property_name in memeber_set:
|
1225
|
+
memeber_set.remove(property_name)
|
1226
|
+
if len(memeber_set) > 0:
|
1227
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1228
|
+
|
1229
|
+
|
1230
|
+
|
1231
|
+
class SavingPlanCoverageRate(AbstractModel):
|
1232
|
+
"""节省计划覆盖率聚合数据
|
1233
|
+
|
1234
|
+
"""
|
1235
|
+
|
1236
|
+
def __init__(self):
|
1237
|
+
r"""
|
1238
|
+
:param _DatePoint: 聚合时间维度,按天聚合格式为yyyy-MM-dd,按月聚合格式为yyyy-MM
|
1239
|
+
:type DatePoint: str
|
1240
|
+
:param _Rate: 覆盖率结果,取值[0, 100]
|
1241
|
+
:type Rate: float
|
1242
|
+
"""
|
1243
|
+
self._DatePoint = None
|
1244
|
+
self._Rate = None
|
1245
|
+
|
1246
|
+
@property
|
1247
|
+
def DatePoint(self):
|
1248
|
+
"""聚合时间维度,按天聚合格式为yyyy-MM-dd,按月聚合格式为yyyy-MM
|
1249
|
+
:rtype: str
|
1250
|
+
"""
|
1251
|
+
return self._DatePoint
|
1252
|
+
|
1253
|
+
@DatePoint.setter
|
1254
|
+
def DatePoint(self, DatePoint):
|
1255
|
+
self._DatePoint = DatePoint
|
1256
|
+
|
1257
|
+
@property
|
1258
|
+
def Rate(self):
|
1259
|
+
"""覆盖率结果,取值[0, 100]
|
1260
|
+
:rtype: float
|
1261
|
+
"""
|
1262
|
+
return self._Rate
|
1263
|
+
|
1264
|
+
@Rate.setter
|
1265
|
+
def Rate(self, Rate):
|
1266
|
+
self._Rate = Rate
|
1267
|
+
|
1268
|
+
|
1269
|
+
def _deserialize(self, params):
|
1270
|
+
self._DatePoint = params.get("DatePoint")
|
1271
|
+
self._Rate = params.get("Rate")
|
1272
|
+
memeber_set = set(params.keys())
|
1273
|
+
for name, value in vars(self).items():
|
1274
|
+
property_name = name[1:]
|
1275
|
+
if property_name in memeber_set:
|
1276
|
+
memeber_set.remove(property_name)
|
1277
|
+
if len(memeber_set) > 0:
|
1278
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1279
|
+
|
1280
|
+
|
1281
|
+
|
776
1282
|
class SavingPlanDeductDetail(AbstractModel):
|
777
1283
|
"""节省计划抵扣明细
|
778
1284
|
|
@@ -49,6 +49,29 @@ class SvpClient(AbstractClient):
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
50
|
|
51
51
|
|
52
|
+
def DescribeSavingPlanCoverage(self, request):
|
53
|
+
"""查询当前用户节省计划覆盖率明细数据,如无特别说明,金额单位均为元(国内站)或者美元(国际站)。
|
54
|
+
|
55
|
+
:param request: Request instance for DescribeSavingPlanCoverage.
|
56
|
+
:type request: :class:`tencentcloud.svp.v20240125.models.DescribeSavingPlanCoverageRequest`
|
57
|
+
:rtype: :class:`tencentcloud.svp.v20240125.models.DescribeSavingPlanCoverageResponse`
|
58
|
+
|
59
|
+
"""
|
60
|
+
try:
|
61
|
+
params = request._serialize()
|
62
|
+
headers = request.headers
|
63
|
+
body = self.call("DescribeSavingPlanCoverage", params, headers=headers)
|
64
|
+
response = json.loads(body)
|
65
|
+
model = models.DescribeSavingPlanCoverageResponse()
|
66
|
+
model._deserialize(response["Response"])
|
67
|
+
return model
|
68
|
+
except Exception as e:
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
70
|
+
raise
|
71
|
+
else:
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
73
|
+
|
74
|
+
|
52
75
|
def DescribeSavingPlanDeduct(self, request):
|
53
76
|
"""查询节省计划抵扣明细
|
54
77
|
|
@@ -20,12 +20,6 @@ AUTHFAILURE = 'AuthFailure'
|
|
20
20
|
# 操作失败。
|
21
21
|
FAILEDOPERATION = 'FailedOperation'
|
22
22
|
|
23
|
-
# 服务已经开通,无需再次重试。
|
24
|
-
FAILEDOPERATION_ALREADYENABLED = 'FailedOperation.AlreadyEnabled'
|
25
|
-
|
26
|
-
# COS桶无效,可能不存在或者未授权。
|
27
|
-
FAILEDOPERATION_COSBUCKETINVALID = 'FailedOperation.CosBucketInvalid'
|
28
|
-
|
29
23
|
# 文档下载失败,请检查请求参数中URL是否正确,或者如果您使用其他的文件存储服务,请检查文件存储服务的上传带宽,文档转码服务仅提供1分钟的下载时间,如果下载不成功本次的转码请求将以失败终止。
|
30
24
|
FAILEDOPERATION_FILEDOWNLOADFAIL = 'FailedOperation.FileDownloadFail'
|
31
25
|
|
@@ -38,9 +32,6 @@ FAILEDOPERATION_FILEOPENFAIL = 'FailedOperation.FileOpenFail'
|
|
38
32
|
# 转码后上传结果失败,请稍后重试。
|
39
33
|
FAILEDOPERATION_FILEUPLOADFAIL = 'FailedOperation.FileUploadFail'
|
40
34
|
|
41
|
-
# 获取临时密钥失败。
|
42
|
-
FAILEDOPERATION_GETCREDENTIALFAIL = 'FailedOperation.GetCredentialFail'
|
43
|
-
|
44
35
|
# 转码预处理失败,具体请参考错误描述或联系客服人员。
|
45
36
|
FAILEDOPERATION_PREPROCESS = 'FailedOperation.Preprocess'
|
46
37
|
|
@@ -65,27 +56,18 @@ INTERNALERROR = 'InternalError'
|
|
65
56
|
# 参数错误。
|
66
57
|
INVALIDPARAMETER = 'InvalidParameter'
|
67
58
|
|
68
|
-
# 创建白板应用时该应用已存在。
|
69
|
-
INVALIDPARAMETER_APPLICATIONALREADYEXISTS = 'InvalidParameter.ApplicationAlreadyExists'
|
70
|
-
|
71
59
|
# 参数类型不匹配。
|
72
60
|
INVALIDPARAMETER_BODYPARAMETERTYPEUNMATCHED = 'InvalidParameter.BodyParameterTypeUnmatched'
|
73
61
|
|
74
62
|
# 回调地址格式错误。
|
75
63
|
INVALIDPARAMETER_CALLBACKADDRESSFORMATERROR = 'InvalidParameter.CallbackAddressFormatError'
|
76
64
|
|
77
|
-
# 未找到当前CDN域名。
|
78
|
-
INVALIDPARAMETER_CDNDOMAINNOTFOUND = 'InvalidParameter.CdnDomainNotFound'
|
79
|
-
|
80
65
|
# 文档后缀名对应的格式不支持。
|
81
66
|
INVALIDPARAMETER_FILEFORMATUNSUPPORTED = 'InvalidParameter.FileFormatUnsupported'
|
82
67
|
|
83
68
|
# 额外指定的特殊功能不存在。
|
84
69
|
INVALIDPARAMETER_INVALIDEXTRA = 'InvalidParameter.InvalidExtra'
|
85
70
|
|
86
|
-
# 设置应用配置任务类型不支持。
|
87
|
-
INVALIDPARAMETER_INVALIDTASKTYPE = 'InvalidParameter.InvalidTaskType'
|
88
|
-
|
89
71
|
# 转码预处理参数格式不正确。
|
90
72
|
INVALIDPARAMETER_PREPROCESSPARAMETER = 'InvalidParameter.PreprocessParameter'
|
91
73
|
|
@@ -98,15 +80,9 @@ INVALIDPARAMETER_SDKAPPIDNOTFOUND = 'InvalidParameter.SdkAppIdNotFound'
|
|
98
80
|
# 需要查询的任务不存在。
|
99
81
|
INVALIDPARAMETER_TASKNOTFOUND = 'InvalidParameter.TaskNotFound'
|
100
82
|
|
101
|
-
# 时间格式不合法解析失败。
|
102
|
-
INVALIDPARAMETER_TIMEFORMAT = 'InvalidParameter.TimeFormat'
|
103
|
-
|
104
83
|
# 文档转码参数格式不正确。
|
105
84
|
INVALIDPARAMETER_TRANSCODEPARAMETER = 'InvalidParameter.TranscodeParameter'
|
106
85
|
|
107
|
-
# 解析JSON失败,可能参数数据类型不匹配。
|
108
|
-
INVALIDPARAMETER_UNMARSHALJSONBODYFAIL = 'InvalidParameter.UnmarshalJSONBodyFail'
|
109
|
-
|
110
86
|
# 文档下载Url格式错误,请检查请求参数里的Url。
|
111
87
|
INVALIDPARAMETER_URLFORMATERROR = 'InvalidParameter.UrlFormatError'
|
112
88
|
|
@@ -125,6 +101,9 @@ RESOURCEINUSE_RECORDUSERID = 'ResourceInUse.RecordUserId'
|
|
125
101
|
# 资源不可用。
|
126
102
|
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
127
103
|
|
104
|
+
# 资源不可用,接口未授权。
|
105
|
+
RESOURCEUNAVAILABLE_INTERFACEUNAUTHORIZEC = 'ResourceUnavailable.InterfaceUnAuthorizec'
|
106
|
+
|
128
107
|
# 未开通互动白板。
|
129
108
|
RESOURCEUNAVAILABLE_NOTREGISTERED = 'ResourceUnavailable.NotRegistered'
|
130
109
|
|