tencentcloud-sdk-python-rce 3.0.1265__tar.gz → 3.0.1267__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-rce-3.0.1265 → tencentcloud-sdk-python-rce-3.0.1267}/PKG-INFO +3 -3
- {tencentcloud-sdk-python-rce-3.0.1265 → tencentcloud-sdk-python-rce-3.0.1267}/setup.cfg +0 -1
- {tencentcloud-sdk-python-rce-3.0.1265 → tencentcloud-sdk-python-rce-3.0.1267}/setup.py +1 -1
- {tencentcloud-sdk-python-rce-3.0.1265 → tencentcloud-sdk-python-rce-3.0.1267}/tencentcloud/__init__.py +1 -1
- tencentcloud-sdk-python-rce-3.0.1267/tencentcloud/rce/v20201103/errorcodes.py +147 -0
- {tencentcloud-sdk-python-rce-3.0.1265 → tencentcloud-sdk-python-rce-3.0.1267}/tencentcloud/rce/v20201103/models.py +261 -0
- {tencentcloud-sdk-python-rce-3.0.1265 → tencentcloud-sdk-python-rce-3.0.1267}/tencentcloud/rce/v20201103/rce_client.py +23 -0
- {tencentcloud-sdk-python-rce-3.0.1265 → tencentcloud-sdk-python-rce-3.0.1267}/tencentcloud_sdk_python_rce.egg-info/PKG-INFO +3 -3
- tencentcloud-sdk-python-rce-3.0.1267/tencentcloud_sdk_python_rce.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-rce-3.0.1265/tencentcloud/rce/v20201103/errorcodes.py +0 -15
- tencentcloud-sdk-python-rce-3.0.1265/tencentcloud_sdk_python_rce.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-rce-3.0.1265 → tencentcloud-sdk-python-rce-3.0.1267}/README.rst +0 -0
- {tencentcloud-sdk-python-rce-3.0.1265 → tencentcloud-sdk-python-rce-3.0.1267}/tencentcloud/rce/__init__.py +0 -0
- {tencentcloud-sdk-python-rce-3.0.1265 → tencentcloud-sdk-python-rce-3.0.1267}/tencentcloud/rce/v20201103/__init__.py +0 -0
- {tencentcloud-sdk-python-rce-3.0.1265 → tencentcloud-sdk-python-rce-3.0.1267}/tencentcloud_sdk_python_rce.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-rce-3.0.1265 → tencentcloud-sdk-python-rce-3.0.1267}/tencentcloud_sdk_python_rce.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-rce-3.0.1265 → tencentcloud-sdk-python-rce-3.0.1267}/tencentcloud_sdk_python_rce.egg-info/top_level.txt +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 1.
|
|
1
|
+
Metadata-Version: 1.2
|
|
2
2
|
Name: tencentcloud-sdk-python-rce
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1267
|
|
4
4
|
Summary: Tencent Cloud Rce SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
7
|
-
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
8
|
License: Apache License 2.0
|
|
9
9
|
Description: ============================
|
|
10
10
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-rce',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1267"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Rce SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -0,0 +1,147 @@
|
|
|
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签名/鉴权错误。
|
|
18
|
+
AUTHFAILURE = 'AuthFailure'
|
|
19
|
+
|
|
20
|
+
# 验证码签名错误。
|
|
21
|
+
AUTHFAILURE_CAPSIGERROR = 'AuthFailure.CapSigError'
|
|
22
|
+
|
|
23
|
+
# 请求过期。
|
|
24
|
+
AUTHFAILURE_EXPIRED = 'AuthFailure.Expired'
|
|
25
|
+
|
|
26
|
+
# DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。
|
|
27
|
+
DRYRUNOPERATION = 'DryRunOperation'
|
|
28
|
+
|
|
29
|
+
# 操作失败。
|
|
30
|
+
FAILEDOPERATION = 'FailedOperation'
|
|
31
|
+
|
|
32
|
+
# 内部错误。
|
|
33
|
+
INTERNALERROR = 'InternalError'
|
|
34
|
+
|
|
35
|
+
# 业务系统逻辑错误。
|
|
36
|
+
INTERNALERROR_BACKENDLOGICERROR = 'InternalError.BackendLogicError'
|
|
37
|
+
|
|
38
|
+
# 连接数据库超时。
|
|
39
|
+
INTERNALERROR_CONNECTDBTIMEOUT = 'InternalError.ConnectDBTimeout'
|
|
40
|
+
|
|
41
|
+
# Sign后端错误。
|
|
42
|
+
INTERNALERROR_SIGNBACKENDERROR = 'InternalError.SignBackendError'
|
|
43
|
+
|
|
44
|
+
# 参数错误。
|
|
45
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
|
46
|
+
|
|
47
|
+
# 验证码签名错误。
|
|
48
|
+
INVALIDPARAMETER_CAPSIGERROR = 'InvalidParameter.CapSigError'
|
|
49
|
+
|
|
50
|
+
# 参数错误。
|
|
51
|
+
INVALIDPARAMETER_PARAMERROR = 'InvalidParameter.ParamError'
|
|
52
|
+
|
|
53
|
+
# URL错误。
|
|
54
|
+
INVALIDPARAMETER_URLERROR = 'InvalidParameter.UrlError'
|
|
55
|
+
|
|
56
|
+
# 版本错误。
|
|
57
|
+
INVALIDPARAMETER_VERSIONERROR = 'InvalidParameter.VersionError'
|
|
58
|
+
|
|
59
|
+
# 参数取值错误。
|
|
60
|
+
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
61
|
+
|
|
62
|
+
# BadBody。
|
|
63
|
+
INVALIDPARAMETERVALUE_BADBODY = 'InvalidParameterValue.BadBody'
|
|
64
|
+
|
|
65
|
+
# 请求包过大。
|
|
66
|
+
INVALIDPARAMETERVALUE_BODYTOOLARGE = 'InvalidParameterValue.BodyTooLarge'
|
|
67
|
+
|
|
68
|
+
# 验证码不匹配。
|
|
69
|
+
INVALIDPARAMETERVALUE_CAPMISMATCH = 'InvalidParameterValue.CapMisMatch'
|
|
70
|
+
|
|
71
|
+
# HTTP方法错误。
|
|
72
|
+
INVALIDPARAMETERVALUE_HTTPMETHODERROR = 'InvalidParameterValue.HttpMethodError'
|
|
73
|
+
|
|
74
|
+
# 日期取值错误。
|
|
75
|
+
INVALIDPARAMETERVALUE_INVALIDDATE = 'InvalidParameterValue.InvalidDate'
|
|
76
|
+
|
|
77
|
+
# PageLimit取值错误。
|
|
78
|
+
INVALIDPARAMETERVALUE_INVALIDLIMIT = 'InvalidParameterValue.InvalidLimit'
|
|
79
|
+
|
|
80
|
+
# PageNum取值错误。
|
|
81
|
+
INVALIDPARAMETERVALUE_INVALIDNUM = 'InvalidParameterValue.InvalidNum'
|
|
82
|
+
|
|
83
|
+
# SrvId取值错误。
|
|
84
|
+
INVALIDPARAMETERVALUE_INVALIDSRVID = 'InvalidParameterValue.InvalidSrvId'
|
|
85
|
+
|
|
86
|
+
# Stride取值错误。
|
|
87
|
+
INVALIDPARAMETERVALUE_INVALIDSTRIDE = 'InvalidParameterValue.InvalidStride'
|
|
88
|
+
|
|
89
|
+
# 超过配额限制。
|
|
90
|
+
LIMITEXCEEDED = 'LimitExceeded'
|
|
91
|
+
|
|
92
|
+
# 超过配额。
|
|
93
|
+
LIMITEXCEEDED_FREQCNT = 'LimitExceeded.FreqCnt'
|
|
94
|
+
|
|
95
|
+
# 超过配额(用户IP)。
|
|
96
|
+
LIMITEXCEEDED_IPFREQCNT = 'LimitExceeded.IpFreqCnt'
|
|
97
|
+
|
|
98
|
+
# 关键词频控限制。
|
|
99
|
+
LIMITEXCEEDED_KEYFREQCNT = 'LimitExceeded.KeyFreqCnt'
|
|
100
|
+
|
|
101
|
+
# 重放攻击。
|
|
102
|
+
LIMITEXCEEDED_REPLAYATTACK = 'LimitExceeded.ReplayAttack'
|
|
103
|
+
|
|
104
|
+
# 缺少参数错误。
|
|
105
|
+
MISSINGPARAMETER = 'MissingParameter'
|
|
106
|
+
|
|
107
|
+
# 操作被拒绝。
|
|
108
|
+
OPERATIONDENIED = 'OperationDenied'
|
|
109
|
+
|
|
110
|
+
# 请求的次数超过了频率限制。
|
|
111
|
+
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
|
112
|
+
|
|
113
|
+
# 资源被占用。
|
|
114
|
+
RESOURCEINUSE = 'ResourceInUse'
|
|
115
|
+
|
|
116
|
+
# 资源不足。
|
|
117
|
+
RESOURCEINSUFFICIENT = 'ResourceInsufficient'
|
|
118
|
+
|
|
119
|
+
# 资源不存在。
|
|
120
|
+
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
121
|
+
|
|
122
|
+
# 接口不存在。
|
|
123
|
+
RESOURCENOTFOUND_INTERFACENOTFOUND = 'ResourceNotFound.InterfaceNotFound'
|
|
124
|
+
|
|
125
|
+
# 资源不可用。
|
|
126
|
+
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
|
127
|
+
|
|
128
|
+
# 未开通服务权限。
|
|
129
|
+
RESOURCEUNAVAILABLE_PERMISSIONDENIED = 'ResourceUnavailable.PermissionDenied'
|
|
130
|
+
|
|
131
|
+
# 资源售罄。
|
|
132
|
+
RESOURCESSOLDOUT = 'ResourcesSoldOut'
|
|
133
|
+
|
|
134
|
+
# 未授权操作。
|
|
135
|
+
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
|
136
|
+
|
|
137
|
+
# 鉴权失败。
|
|
138
|
+
UNAUTHORIZEDOPERATION_AUTHFAILED = 'UnauthorizedOperation.AuthFailed'
|
|
139
|
+
|
|
140
|
+
# 未知参数错误。
|
|
141
|
+
UNKNOWNPARAMETER = 'UnknownParameter'
|
|
142
|
+
|
|
143
|
+
# 密钥不存在。
|
|
144
|
+
UNKNOWNPARAMETER_SECRETIDNOTEXISTS = 'UnknownParameter.SecretIdNotExists'
|
|
145
|
+
|
|
146
|
+
# 操作不支持。
|
|
147
|
+
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
|
@@ -899,6 +899,57 @@ class DescribeNameListResponse(AbstractModel):
|
|
|
899
899
|
self._RequestId = params.get("RequestId")
|
|
900
900
|
|
|
901
901
|
|
|
902
|
+
class DescribeUserUsageCntRequest(AbstractModel):
|
|
903
|
+
"""DescribeUserUsageCnt请求参数结构体
|
|
904
|
+
|
|
905
|
+
"""
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
class DescribeUserUsageCntResponse(AbstractModel):
|
|
909
|
+
"""DescribeUserUsageCnt返回参数结构体
|
|
910
|
+
|
|
911
|
+
"""
|
|
912
|
+
|
|
913
|
+
def __init__(self):
|
|
914
|
+
r"""
|
|
915
|
+
:param _Data: 业务出参
|
|
916
|
+
:type Data: :class:`tencentcloud.rce.v20201103.models.OutputDescribeUserUsageCntData`
|
|
917
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
918
|
+
:type RequestId: str
|
|
919
|
+
"""
|
|
920
|
+
self._Data = None
|
|
921
|
+
self._RequestId = None
|
|
922
|
+
|
|
923
|
+
@property
|
|
924
|
+
def Data(self):
|
|
925
|
+
"""业务出参
|
|
926
|
+
:rtype: :class:`tencentcloud.rce.v20201103.models.OutputDescribeUserUsageCntData`
|
|
927
|
+
"""
|
|
928
|
+
return self._Data
|
|
929
|
+
|
|
930
|
+
@Data.setter
|
|
931
|
+
def Data(self, Data):
|
|
932
|
+
self._Data = Data
|
|
933
|
+
|
|
934
|
+
@property
|
|
935
|
+
def RequestId(self):
|
|
936
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
937
|
+
:rtype: str
|
|
938
|
+
"""
|
|
939
|
+
return self._RequestId
|
|
940
|
+
|
|
941
|
+
@RequestId.setter
|
|
942
|
+
def RequestId(self, RequestId):
|
|
943
|
+
self._RequestId = RequestId
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
def _deserialize(self, params):
|
|
947
|
+
if params.get("Data") is not None:
|
|
948
|
+
self._Data = OutputDescribeUserUsageCntData()
|
|
949
|
+
self._Data._deserialize(params.get("Data"))
|
|
950
|
+
self._RequestId = params.get("RequestId")
|
|
951
|
+
|
|
952
|
+
|
|
902
953
|
class ImportNameListDataRequest(AbstractModel):
|
|
903
954
|
"""ImportNameListData请求参数结构体
|
|
904
955
|
|
|
@@ -3827,6 +3878,216 @@ class OutputDescribeNameListInfo(AbstractModel):
|
|
|
3827
3878
|
|
|
3828
3879
|
|
|
3829
3880
|
|
|
3881
|
+
class OutputDescribeUserUsageCnt(AbstractModel):
|
|
3882
|
+
"""预付费 后付费 总数显示接口出参
|
|
3883
|
+
|
|
3884
|
+
"""
|
|
3885
|
+
|
|
3886
|
+
def __init__(self):
|
|
3887
|
+
r"""
|
|
3888
|
+
:param _PayMode: 当前付费模式,0 后付费 1 预付费
|
|
3889
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3890
|
+
:type PayMode: int
|
|
3891
|
+
:param _AfterPayModeThisMonthUsedCnt: 后付费本月使用量
|
|
3892
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3893
|
+
:type AfterPayModeThisMonthUsedCnt: int
|
|
3894
|
+
:param _CreateTime: 创建时间
|
|
3895
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3896
|
+
:type CreateTime: str
|
|
3897
|
+
:param _ExpireTime: 超出时间
|
|
3898
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3899
|
+
:type ExpireTime: str
|
|
3900
|
+
:param _AfterPayModeLastMonthUsedCnt: 后付费上月使用量
|
|
3901
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3902
|
+
:type AfterPayModeLastMonthUsedCnt: int
|
|
3903
|
+
:param _BeforePayModeTotalUsedCnt: 预付费总量
|
|
3904
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3905
|
+
:type BeforePayModeTotalUsedCnt: int
|
|
3906
|
+
:param _BeforePayModeRemainUsedCnt: 预付费剩余用量
|
|
3907
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3908
|
+
:type BeforePayModeRemainUsedCnt: int
|
|
3909
|
+
"""
|
|
3910
|
+
self._PayMode = None
|
|
3911
|
+
self._AfterPayModeThisMonthUsedCnt = None
|
|
3912
|
+
self._CreateTime = None
|
|
3913
|
+
self._ExpireTime = None
|
|
3914
|
+
self._AfterPayModeLastMonthUsedCnt = None
|
|
3915
|
+
self._BeforePayModeTotalUsedCnt = None
|
|
3916
|
+
self._BeforePayModeRemainUsedCnt = None
|
|
3917
|
+
|
|
3918
|
+
@property
|
|
3919
|
+
def PayMode(self):
|
|
3920
|
+
"""当前付费模式,0 后付费 1 预付费
|
|
3921
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3922
|
+
:rtype: int
|
|
3923
|
+
"""
|
|
3924
|
+
return self._PayMode
|
|
3925
|
+
|
|
3926
|
+
@PayMode.setter
|
|
3927
|
+
def PayMode(self, PayMode):
|
|
3928
|
+
self._PayMode = PayMode
|
|
3929
|
+
|
|
3930
|
+
@property
|
|
3931
|
+
def AfterPayModeThisMonthUsedCnt(self):
|
|
3932
|
+
"""后付费本月使用量
|
|
3933
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3934
|
+
:rtype: int
|
|
3935
|
+
"""
|
|
3936
|
+
return self._AfterPayModeThisMonthUsedCnt
|
|
3937
|
+
|
|
3938
|
+
@AfterPayModeThisMonthUsedCnt.setter
|
|
3939
|
+
def AfterPayModeThisMonthUsedCnt(self, AfterPayModeThisMonthUsedCnt):
|
|
3940
|
+
self._AfterPayModeThisMonthUsedCnt = AfterPayModeThisMonthUsedCnt
|
|
3941
|
+
|
|
3942
|
+
@property
|
|
3943
|
+
def CreateTime(self):
|
|
3944
|
+
"""创建时间
|
|
3945
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3946
|
+
:rtype: str
|
|
3947
|
+
"""
|
|
3948
|
+
return self._CreateTime
|
|
3949
|
+
|
|
3950
|
+
@CreateTime.setter
|
|
3951
|
+
def CreateTime(self, CreateTime):
|
|
3952
|
+
self._CreateTime = CreateTime
|
|
3953
|
+
|
|
3954
|
+
@property
|
|
3955
|
+
def ExpireTime(self):
|
|
3956
|
+
"""超出时间
|
|
3957
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3958
|
+
:rtype: str
|
|
3959
|
+
"""
|
|
3960
|
+
return self._ExpireTime
|
|
3961
|
+
|
|
3962
|
+
@ExpireTime.setter
|
|
3963
|
+
def ExpireTime(self, ExpireTime):
|
|
3964
|
+
self._ExpireTime = ExpireTime
|
|
3965
|
+
|
|
3966
|
+
@property
|
|
3967
|
+
def AfterPayModeLastMonthUsedCnt(self):
|
|
3968
|
+
"""后付费上月使用量
|
|
3969
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3970
|
+
:rtype: int
|
|
3971
|
+
"""
|
|
3972
|
+
return self._AfterPayModeLastMonthUsedCnt
|
|
3973
|
+
|
|
3974
|
+
@AfterPayModeLastMonthUsedCnt.setter
|
|
3975
|
+
def AfterPayModeLastMonthUsedCnt(self, AfterPayModeLastMonthUsedCnt):
|
|
3976
|
+
self._AfterPayModeLastMonthUsedCnt = AfterPayModeLastMonthUsedCnt
|
|
3977
|
+
|
|
3978
|
+
@property
|
|
3979
|
+
def BeforePayModeTotalUsedCnt(self):
|
|
3980
|
+
"""预付费总量
|
|
3981
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3982
|
+
:rtype: int
|
|
3983
|
+
"""
|
|
3984
|
+
return self._BeforePayModeTotalUsedCnt
|
|
3985
|
+
|
|
3986
|
+
@BeforePayModeTotalUsedCnt.setter
|
|
3987
|
+
def BeforePayModeTotalUsedCnt(self, BeforePayModeTotalUsedCnt):
|
|
3988
|
+
self._BeforePayModeTotalUsedCnt = BeforePayModeTotalUsedCnt
|
|
3989
|
+
|
|
3990
|
+
@property
|
|
3991
|
+
def BeforePayModeRemainUsedCnt(self):
|
|
3992
|
+
"""预付费剩余用量
|
|
3993
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3994
|
+
:rtype: int
|
|
3995
|
+
"""
|
|
3996
|
+
return self._BeforePayModeRemainUsedCnt
|
|
3997
|
+
|
|
3998
|
+
@BeforePayModeRemainUsedCnt.setter
|
|
3999
|
+
def BeforePayModeRemainUsedCnt(self, BeforePayModeRemainUsedCnt):
|
|
4000
|
+
self._BeforePayModeRemainUsedCnt = BeforePayModeRemainUsedCnt
|
|
4001
|
+
|
|
4002
|
+
|
|
4003
|
+
def _deserialize(self, params):
|
|
4004
|
+
self._PayMode = params.get("PayMode")
|
|
4005
|
+
self._AfterPayModeThisMonthUsedCnt = params.get("AfterPayModeThisMonthUsedCnt")
|
|
4006
|
+
self._CreateTime = params.get("CreateTime")
|
|
4007
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
4008
|
+
self._AfterPayModeLastMonthUsedCnt = params.get("AfterPayModeLastMonthUsedCnt")
|
|
4009
|
+
self._BeforePayModeTotalUsedCnt = params.get("BeforePayModeTotalUsedCnt")
|
|
4010
|
+
self._BeforePayModeRemainUsedCnt = params.get("BeforePayModeRemainUsedCnt")
|
|
4011
|
+
memeber_set = set(params.keys())
|
|
4012
|
+
for name, value in vars(self).items():
|
|
4013
|
+
property_name = name[1:]
|
|
4014
|
+
if property_name in memeber_set:
|
|
4015
|
+
memeber_set.remove(property_name)
|
|
4016
|
+
if len(memeber_set) > 0:
|
|
4017
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4018
|
+
|
|
4019
|
+
|
|
4020
|
+
|
|
4021
|
+
class OutputDescribeUserUsageCntData(AbstractModel):
|
|
4022
|
+
"""RCE控制台预付费和后付费次数展示出参数据
|
|
4023
|
+
|
|
4024
|
+
"""
|
|
4025
|
+
|
|
4026
|
+
def __init__(self):
|
|
4027
|
+
r"""
|
|
4028
|
+
:param _Code: 错误码,0 表示成功,非0表示失败错误码。 0:成功 4300:未开通服务
|
|
4029
|
+
:type Code: int
|
|
4030
|
+
:param _Message: 错误信息
|
|
4031
|
+
:type Message: str
|
|
4032
|
+
:param _Value: 业务详情
|
|
4033
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4034
|
+
:type Value: :class:`tencentcloud.rce.v20201103.models.OutputDescribeUserUsageCnt`
|
|
4035
|
+
"""
|
|
4036
|
+
self._Code = None
|
|
4037
|
+
self._Message = None
|
|
4038
|
+
self._Value = None
|
|
4039
|
+
|
|
4040
|
+
@property
|
|
4041
|
+
def Code(self):
|
|
4042
|
+
"""错误码,0 表示成功,非0表示失败错误码。 0:成功 4300:未开通服务
|
|
4043
|
+
:rtype: int
|
|
4044
|
+
"""
|
|
4045
|
+
return self._Code
|
|
4046
|
+
|
|
4047
|
+
@Code.setter
|
|
4048
|
+
def Code(self, Code):
|
|
4049
|
+
self._Code = Code
|
|
4050
|
+
|
|
4051
|
+
@property
|
|
4052
|
+
def Message(self):
|
|
4053
|
+
"""错误信息
|
|
4054
|
+
:rtype: str
|
|
4055
|
+
"""
|
|
4056
|
+
return self._Message
|
|
4057
|
+
|
|
4058
|
+
@Message.setter
|
|
4059
|
+
def Message(self, Message):
|
|
4060
|
+
self._Message = Message
|
|
4061
|
+
|
|
4062
|
+
@property
|
|
4063
|
+
def Value(self):
|
|
4064
|
+
"""业务详情
|
|
4065
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4066
|
+
:rtype: :class:`tencentcloud.rce.v20201103.models.OutputDescribeUserUsageCnt`
|
|
4067
|
+
"""
|
|
4068
|
+
return self._Value
|
|
4069
|
+
|
|
4070
|
+
@Value.setter
|
|
4071
|
+
def Value(self, Value):
|
|
4072
|
+
self._Value = Value
|
|
4073
|
+
|
|
4074
|
+
|
|
4075
|
+
def _deserialize(self, params):
|
|
4076
|
+
self._Code = params.get("Code")
|
|
4077
|
+
self._Message = params.get("Message")
|
|
4078
|
+
if params.get("Value") is not None:
|
|
4079
|
+
self._Value = OutputDescribeUserUsageCnt()
|
|
4080
|
+
self._Value._deserialize(params.get("Value"))
|
|
4081
|
+
memeber_set = set(params.keys())
|
|
4082
|
+
for name, value in vars(self).items():
|
|
4083
|
+
property_name = name[1:]
|
|
4084
|
+
if property_name in memeber_set:
|
|
4085
|
+
memeber_set.remove(property_name)
|
|
4086
|
+
if len(memeber_set) > 0:
|
|
4087
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4088
|
+
|
|
4089
|
+
|
|
4090
|
+
|
|
3830
4091
|
class OutputImportNameListDataFront(AbstractModel):
|
|
3831
4092
|
"""添加黑白名单数据出参
|
|
3832
4093
|
|
|
@@ -164,6 +164,29 @@ class RceClient(AbstractClient):
|
|
|
164
164
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
165
|
|
|
166
166
|
|
|
167
|
+
def DescribeUserUsageCnt(self, request):
|
|
168
|
+
"""RCE控制台预付费和后付费次数展示
|
|
169
|
+
|
|
170
|
+
:param request: Request instance for DescribeUserUsageCnt.
|
|
171
|
+
:type request: :class:`tencentcloud.rce.v20201103.models.DescribeUserUsageCntRequest`
|
|
172
|
+
:rtype: :class:`tencentcloud.rce.v20201103.models.DescribeUserUsageCntResponse`
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
try:
|
|
176
|
+
params = request._serialize()
|
|
177
|
+
headers = request.headers
|
|
178
|
+
body = self.call("DescribeUserUsageCnt", params, headers=headers)
|
|
179
|
+
response = json.loads(body)
|
|
180
|
+
model = models.DescribeUserUsageCntResponse()
|
|
181
|
+
model._deserialize(response["Response"])
|
|
182
|
+
return model
|
|
183
|
+
except Exception as e:
|
|
184
|
+
if isinstance(e, TencentCloudSDKException):
|
|
185
|
+
raise
|
|
186
|
+
else:
|
|
187
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
|
+
|
|
189
|
+
|
|
167
190
|
def ImportNameListData(self, request):
|
|
168
191
|
"""新增黑白名单数据,所有黑白名单数据总量上限为10000
|
|
169
192
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 1.
|
|
1
|
+
Metadata-Version: 1.2
|
|
2
2
|
Name: tencentcloud-sdk-python-rce
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1267
|
|
4
4
|
Summary: Tencent Cloud Rce SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
7
|
-
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
8
|
License: Apache License 2.0
|
|
9
9
|
Description: ============================
|
|
10
10
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1267
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1265
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|