tencentcloud-sdk-python 3.0.1266__py2.py3-none-any.whl → 3.0.1268__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/asr/v20190614/models.py +2 -2
- tencentcloud/autoscaling/v20180419/models.py +49 -0
- tencentcloud/bh/__init__.py +0 -0
- tencentcloud/bh/v20230418/__init__.py +0 -0
- tencentcloud/bh/v20230418/bh_client.py +1452 -0
- tencentcloud/bh/v20230418/errorcodes.py +93 -0
- tencentcloud/bh/v20230418/models.py +14079 -0
- tencentcloud/billing/v20180709/billing_client.py +9 -3
- tencentcloud/ccc/v20200210/models.py +110 -0
- tencentcloud/cdb/v20170320/errorcodes.py +1 -1
- tencentcloud/cdb/v20170320/models.py +17 -2
- tencentcloud/ckafka/v20190819/models.py +46 -16
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/clb/v20180317/models.py +54 -20
- tencentcloud/dasb/v20191018/models.py +92 -2
- tencentcloud/emr/v20190103/models.py +2 -2
- tencentcloud/ess/v20201111/ess_client.py +5 -6
- tencentcloud/ess/v20201111/models.py +60 -6
- tencentcloud/essbasic/v20210526/essbasic_client.py +28 -9
- tencentcloud/essbasic/v20210526/models.py +43 -8
- tencentcloud/facefusion/v20220927/models.py +0 -12
- tencentcloud/hunyuan/v20230901/models.py +32 -2
- tencentcloud/iotexplorer/v20190423/errorcodes.py +1 -1
- tencentcloud/iotexplorer/v20190423/models.py +8 -8
- tencentcloud/iotvideo/v20191126/models.py +4 -4
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +69 -0
- tencentcloud/live/v20180801/models.py +453 -0
- tencentcloud/monitor/v20180724/models.py +17 -0
- tencentcloud/mrs/v20200910/models.py +4 -8
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +1 -2
- tencentcloud/omics/v20221128/models.py +100 -172
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/partners/v20180321/models.py +0 -12
- tencentcloud/rce/v20201103/models.py +261 -0
- tencentcloud/rce/v20201103/rce_client.py +23 -0
- tencentcloud/redis/v20180412/models.py +34 -30
- tencentcloud/redis/v20180412/redis_client.py +1 -1
- tencentcloud/rum/v20210622/models.py +15 -0
- tencentcloud/tdmq/v20200217/models.py +40 -10
- tencentcloud/thpc/v20230321/models.py +2 -2
- tencentcloud/tke/v20180525/models.py +2 -2
- tencentcloud/tke/v20220501/errorcodes.py +3 -0
- tencentcloud/tke/v20220501/models.py +279 -0
- tencentcloud/tke/v20220501/tke_client.py +80 -0
- tencentcloud/tmt/v20180321/models.py +60 -5
- tencentcloud/vod/v20180717/models.py +2 -2
- tencentcloud/vod/v20180717/vod_client.py +1 -1
- tencentcloud/vod/v20240718/models.py +15 -15
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +134 -18
- tencentcloud/vpc/v20170312/vpc_client.py +7 -2
- tencentcloud/waf/v20180125/models.py +603 -0
- tencentcloud/waf/v20180125/waf_client.py +69 -0
- tencentcloud/wedata/v20210820/models.py +35 -20
- {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1268.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1268.dist-info}/RECORD +62 -57
- {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1268.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1268.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1266.dist-info → tencentcloud_sdk_python-3.0.1268.dist-info}/top_level.txt +0 -0
@@ -161,6 +161,9 @@ FAILEDOPERATION_MANUALUSERNOTDELETE = 'FailedOperation.ManualUserNotDelete'
|
|
161
161
|
# 手动用户不允许更新
|
162
162
|
FAILEDOPERATION_MANUALUSERNOTUPDATE = 'FailedOperation.ManualUserNotUpdate'
|
163
163
|
|
164
|
+
# 成员账号删除审核中。
|
165
|
+
FAILEDOPERATION_MEMBERACCOUNTDEREGISTERPENDING = 'FailedOperation.MemberAccountDeregisterPending'
|
166
|
+
|
164
167
|
# 邮箱绑定失败。
|
165
168
|
FAILEDOPERATION_MEMBERBINDEMAILERROR = 'FailedOperation.MemberBindEmailError'
|
166
169
|
|
@@ -4241,22 +4241,16 @@ class RebateInfoElem(AbstractModel):
|
|
4241
4241
|
def __init__(self):
|
4242
4242
|
r"""
|
4243
4243
|
:param _Uin: 代理商账号ID
|
4244
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4245
4244
|
:type Uin: str
|
4246
4245
|
:param _RebateMonth: 返佣月份,如2018-02
|
4247
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4248
4246
|
:type RebateMonth: str
|
4249
4247
|
:param _Amt: 返佣金额,单位分
|
4250
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4251
4248
|
:type Amt: int
|
4252
4249
|
:param _MonthSales: 月度业绩,单位分
|
4253
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4254
4250
|
:type MonthSales: int
|
4255
4251
|
:param _QuarterSales: 季度业绩,单位分
|
4256
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4257
4252
|
:type QuarterSales: int
|
4258
4253
|
:param _ExceptionFlag: NORMAL(正常)/HAS_OVERDUE_BILL(欠费)/NO_CONTRACT(缺合同)
|
4259
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4260
4254
|
:type ExceptionFlag: str
|
4261
4255
|
"""
|
4262
4256
|
self._Uin = None
|
@@ -4269,7 +4263,6 @@ class RebateInfoElem(AbstractModel):
|
|
4269
4263
|
@property
|
4270
4264
|
def Uin(self):
|
4271
4265
|
"""代理商账号ID
|
4272
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4273
4266
|
:rtype: str
|
4274
4267
|
"""
|
4275
4268
|
return self._Uin
|
@@ -4281,7 +4274,6 @@ class RebateInfoElem(AbstractModel):
|
|
4281
4274
|
@property
|
4282
4275
|
def RebateMonth(self):
|
4283
4276
|
"""返佣月份,如2018-02
|
4284
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4285
4277
|
:rtype: str
|
4286
4278
|
"""
|
4287
4279
|
return self._RebateMonth
|
@@ -4293,7 +4285,6 @@ class RebateInfoElem(AbstractModel):
|
|
4293
4285
|
@property
|
4294
4286
|
def Amt(self):
|
4295
4287
|
"""返佣金额,单位分
|
4296
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4297
4288
|
:rtype: int
|
4298
4289
|
"""
|
4299
4290
|
return self._Amt
|
@@ -4305,7 +4296,6 @@ class RebateInfoElem(AbstractModel):
|
|
4305
4296
|
@property
|
4306
4297
|
def MonthSales(self):
|
4307
4298
|
"""月度业绩,单位分
|
4308
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4309
4299
|
:rtype: int
|
4310
4300
|
"""
|
4311
4301
|
return self._MonthSales
|
@@ -4317,7 +4307,6 @@ class RebateInfoElem(AbstractModel):
|
|
4317
4307
|
@property
|
4318
4308
|
def QuarterSales(self):
|
4319
4309
|
"""季度业绩,单位分
|
4320
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4321
4310
|
:rtype: int
|
4322
4311
|
"""
|
4323
4312
|
return self._QuarterSales
|
@@ -4329,7 +4318,6 @@ class RebateInfoElem(AbstractModel):
|
|
4329
4318
|
@property
|
4330
4319
|
def ExceptionFlag(self):
|
4331
4320
|
"""NORMAL(正常)/HAS_OVERDUE_BILL(欠费)/NO_CONTRACT(缺合同)
|
4332
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4333
4321
|
:rtype: str
|
4334
4322
|
"""
|
4335
4323
|
return self._ExceptionFlag
|
@@ -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
|
|
@@ -2380,7 +2380,7 @@ class CreateInstancesRequest(AbstractModel):
|
|
2380
2380
|
def __init__(self):
|
2381
2381
|
r"""
|
2382
2382
|
:param _TypeId: 实例类型。
|
2383
|
-
<ul><li>2:Redis 2.8 内存版(标准架构)。</li><li>3:CKV 3.2 内存版(标准架构)。</li><li>4:CKV 3.2 内存版(集群架构)。</li><li>6:Redis 4.0 内存版(标准架构)。</li><li>7:Redis 4.0 内存版(集群架构)。</li><li>8:Redis 5.0 内存版(标准架构)。</li><li>9:Redis 5.0 内存版(集群架构)。</li><li>15:Redis 6.2 内存版(标准架构)。</li><li>16:Redis 6.2 内存版(集群架构)。</li><li>17:Redis 7.0 内存版(标准架构)。</li><li>18:Redis 7.0 内存版(集群架构)。</li
|
2383
|
+
<ul><li>2:Redis 2.8 内存版(标准架构)。</li><li>3:CKV 3.2 内存版(标准架构)。</li><li>4:CKV 3.2 内存版(集群架构)。</li><li>6:Redis 4.0 内存版(标准架构)。</li><li>7:Redis 4.0 内存版(集群架构)。</li><li>8:Redis 5.0 内存版(标准架构)。</li><li>9:Redis 5.0 内存版(集群架构)。</li><li>15:Redis 6.2 内存版(标准架构)。</li><li>16:Redis 6.2 内存版(集群架构)。</li><li>17:Redis 7.0 内存版(标准架构)。</li><li>18:Redis 7.0 内存版(集群架构)。</li>说明:CKV 版本当前有存量用户使用,暂时保留。</ul>
|
2384
2384
|
:type TypeId: int
|
2385
2385
|
:param _MemSize: 内存容量,单位为MB, 数值需为1024的整数倍。具体规格,请通过 [DescribeProductInfo](https://cloud.tencent.com/document/api/239/30600) 接口查询全地域的售卖规格。
|
2386
2386
|
- **TypeId**为标准架构时,**MemSize**是实例总内存容量;
|
@@ -2400,8 +2400,8 @@ class CreateInstancesRequest(AbstractModel):
|
|
2400
2400
|
:type ZoneId: int
|
2401
2401
|
:param _Password: 访问实例的密码。
|
2402
2402
|
- 当输入参数**NoAuth**为**true**时,指设置实例为免密码访问,Password可不用配置,否则Password为必填参数。
|
2403
|
-
- 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.0内存版标准架构或集群架构时,其密码复杂度要求为:8-
|
2404
|
-
- 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30
|
2403
|
+
- 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
|
2404
|
+
- 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30个字符,必须包含字母和数字,且不包含其他字符。
|
2405
2405
|
:type Password: str
|
2406
2406
|
:param _VpcId: 私有网络ID。如果不配置该参数则默认选择基础网络。请登录 [私有网络](https://console.cloud.tencent.com/vpc)控制台查询具体的ID。
|
2407
2407
|
:type VpcId: str
|
@@ -2497,7 +2497,7 @@ class CreateInstancesRequest(AbstractModel):
|
|
2497
2497
|
@property
|
2498
2498
|
def TypeId(self):
|
2499
2499
|
"""实例类型。
|
2500
|
-
<ul><li>2:Redis 2.8 内存版(标准架构)。</li><li>3:CKV 3.2 内存版(标准架构)。</li><li>4:CKV 3.2 内存版(集群架构)。</li><li>6:Redis 4.0 内存版(标准架构)。</li><li>7:Redis 4.0 内存版(集群架构)。</li><li>8:Redis 5.0 内存版(标准架构)。</li><li>9:Redis 5.0 内存版(集群架构)。</li><li>15:Redis 6.2 内存版(标准架构)。</li><li>16:Redis 6.2 内存版(集群架构)。</li><li>17:Redis 7.0 内存版(标准架构)。</li><li>18:Redis 7.0 内存版(集群架构)。</li
|
2500
|
+
<ul><li>2:Redis 2.8 内存版(标准架构)。</li><li>3:CKV 3.2 内存版(标准架构)。</li><li>4:CKV 3.2 内存版(集群架构)。</li><li>6:Redis 4.0 内存版(标准架构)。</li><li>7:Redis 4.0 内存版(集群架构)。</li><li>8:Redis 5.0 内存版(标准架构)。</li><li>9:Redis 5.0 内存版(集群架构)。</li><li>15:Redis 6.2 内存版(标准架构)。</li><li>16:Redis 6.2 内存版(集群架构)。</li><li>17:Redis 7.0 内存版(标准架构)。</li><li>18:Redis 7.0 内存版(集群架构)。</li>说明:CKV 版本当前有存量用户使用,暂时保留。</ul>
|
2501
2501
|
:rtype: int
|
2502
2502
|
"""
|
2503
2503
|
return self._TypeId
|
@@ -2571,8 +2571,8 @@ class CreateInstancesRequest(AbstractModel):
|
|
2571
2571
|
def Password(self):
|
2572
2572
|
"""访问实例的密码。
|
2573
2573
|
- 当输入参数**NoAuth**为**true**时,指设置实例为免密码访问,Password可不用配置,否则Password为必填参数。
|
2574
|
-
- 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.0内存版标准架构或集群架构时,其密码复杂度要求为:8-
|
2575
|
-
- 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30
|
2574
|
+
- 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
|
2575
|
+
- 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30个字符,必须包含字母和数字,且不包含其他字符。
|
2576
2576
|
:rtype: str
|
2577
2577
|
"""
|
2578
2578
|
return self._Password
|
@@ -4094,12 +4094,11 @@ class DescribeBackupUrlRequest(AbstractModel):
|
|
4094
4094
|
|
4095
4095
|
def __init__(self):
|
4096
4096
|
r"""
|
4097
|
-
:param _InstanceId: 实例 ID。
|
4097
|
+
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
4098
4098
|
:type InstanceId: str
|
4099
4099
|
:param _BackupId: 备份 ID,可通过 [DescribeInstanceBackups ](https://cloud.tencent.com/document/product/239/20011)接口返回的参数 RedisBackupSet 获取。
|
4100
4100
|
:type BackupId: str
|
4101
4101
|
:param _LimitType: 下载备份文件的网络限制类型,如果不配置该参数,则使用用户自定义的配置。
|
4102
|
-
|
4103
4102
|
- NoLimit:不限制,腾讯云内外网均可以下载备份文件。
|
4104
4103
|
- LimitOnlyIntranet:仅腾讯云自动分配的内网地址可下载备份文件。
|
4105
4104
|
- Customize:指用户自定义的私有网络可下载备份文件。
|
@@ -4107,7 +4106,6 @@ class DescribeBackupUrlRequest(AbstractModel):
|
|
4107
4106
|
:param _VpcComparisonSymbol: 该参数仅支持输入 In,表示自定义的**LimitVpc**可以下载备份文件。
|
4108
4107
|
:type VpcComparisonSymbol: str
|
4109
4108
|
:param _IpComparisonSymbol: 标识自定义的 LimitIp 地址是否可下载备份文件。
|
4110
|
-
|
4111
4109
|
- In: 自定义的 IP 地址可以下载。默认为 In。
|
4112
4110
|
- NotIn: 自定义的 IP 不可以下载。
|
4113
4111
|
:type IpComparisonSymbol: str
|
@@ -4126,7 +4124,7 @@ class DescribeBackupUrlRequest(AbstractModel):
|
|
4126
4124
|
|
4127
4125
|
@property
|
4128
4126
|
def InstanceId(self):
|
4129
|
-
"""实例 ID。
|
4127
|
+
"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
4130
4128
|
:rtype: str
|
4131
4129
|
"""
|
4132
4130
|
return self._InstanceId
|
@@ -4149,7 +4147,6 @@ class DescribeBackupUrlRequest(AbstractModel):
|
|
4149
4147
|
@property
|
4150
4148
|
def LimitType(self):
|
4151
4149
|
"""下载备份文件的网络限制类型,如果不配置该参数,则使用用户自定义的配置。
|
4152
|
-
|
4153
4150
|
- NoLimit:不限制,腾讯云内外网均可以下载备份文件。
|
4154
4151
|
- LimitOnlyIntranet:仅腾讯云自动分配的内网地址可下载备份文件。
|
4155
4152
|
- Customize:指用户自定义的私有网络可下载备份文件。
|
@@ -4175,7 +4172,6 @@ class DescribeBackupUrlRequest(AbstractModel):
|
|
4175
4172
|
@property
|
4176
4173
|
def IpComparisonSymbol(self):
|
4177
4174
|
"""标识自定义的 LimitIp 地址是否可下载备份文件。
|
4178
|
-
|
4179
4175
|
- In: 自定义的 IP 地址可以下载。默认为 In。
|
4180
4176
|
- NotIn: 自定义的 IP 不可以下载。
|
4181
4177
|
:rtype: str
|
@@ -17414,7 +17410,7 @@ class ModifyNetworkConfigRequest(AbstractModel):
|
|
17414
17410
|
|
17415
17411
|
def __init__(self):
|
17416
17412
|
r"""
|
17417
|
-
:param _InstanceId: 实例 ID。
|
17413
|
+
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
17418
17414
|
:type InstanceId: str
|
17419
17415
|
:param _Operation: 指预修改网络的类别,包括:
|
17420
17416
|
- changeVip:指切换私有网络,包含其内网IPv4地址及端口。
|
@@ -17424,14 +17420,18 @@ class ModifyNetworkConfigRequest(AbstractModel):
|
|
17424
17420
|
:type Operation: str
|
17425
17421
|
:param _Vip: 指实例私有网络内网 IPv4 地址。当**Operation**为**changeVip**时,需配置该参数。
|
17426
17422
|
:type Vip: str
|
17427
|
-
:param _VpcId: 指修改后的私有网络 ID
|
17423
|
+
:param _VpcId: 指修改后的私有网络 ID。
|
17424
|
+
- 当**Operation**为**changeVpc**或**changeBaseToVpc**时,需配置该参数。
|
17425
|
+
- 请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list),切换至**实例详情**页面,在**网络信息**区域,单击所属网络后面的私有网络名称,获取私有网络 ID。
|
17426
|
+
|
17428
17427
|
:type VpcId: str
|
17429
|
-
:param _SubnetId: 指修改后的私有网络所属子网 ID
|
17428
|
+
:param _SubnetId: 指修改后的私有网络所属子网 ID。
|
17429
|
+
- 当**Operation**为**changeVpc**或**changeBaseToVpc**时,需配置该参数。
|
17430
|
+
- 请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list),切换至**实例详情**页面,在**网络信息**区域,单击所属网络后面的子网名称,获取子网ID。
|
17430
17431
|
:type SubnetId: str
|
17431
17432
|
:param _Recycle: 原内网 IPv4 地址保留时长。
|
17432
17433
|
- 单位:天。
|
17433
17434
|
- 取值范围:0、1、2、3、7、15。
|
17434
|
-
|
17435
17435
|
**说明**:设置原地址保留时长需最新版SDK,否则原地址将立即释放,查看SDK版本,请参见 [SDK中心](https://cloud.tencent.com/document/sdk)。
|
17436
17436
|
:type Recycle: int
|
17437
17437
|
:param _VPort: 指修改后的网络端口。当**Operation**为**changeVPort**或**changeVip**时,需配置该参数。取值范围为[1024,65535]。
|
@@ -17447,7 +17447,7 @@ class ModifyNetworkConfigRequest(AbstractModel):
|
|
17447
17447
|
|
17448
17448
|
@property
|
17449
17449
|
def InstanceId(self):
|
17450
|
-
"""实例 ID。
|
17450
|
+
"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
17451
17451
|
:rtype: str
|
17452
17452
|
"""
|
17453
17453
|
return self._InstanceId
|
@@ -17484,7 +17484,10 @@ class ModifyNetworkConfigRequest(AbstractModel):
|
|
17484
17484
|
|
17485
17485
|
@property
|
17486
17486
|
def VpcId(self):
|
17487
|
-
"""指修改后的私有网络 ID
|
17487
|
+
"""指修改后的私有网络 ID。
|
17488
|
+
- 当**Operation**为**changeVpc**或**changeBaseToVpc**时,需配置该参数。
|
17489
|
+
- 请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list),切换至**实例详情**页面,在**网络信息**区域,单击所属网络后面的私有网络名称,获取私有网络 ID。
|
17490
|
+
|
17488
17491
|
:rtype: str
|
17489
17492
|
"""
|
17490
17493
|
return self._VpcId
|
@@ -17495,7 +17498,9 @@ class ModifyNetworkConfigRequest(AbstractModel):
|
|
17495
17498
|
|
17496
17499
|
@property
|
17497
17500
|
def SubnetId(self):
|
17498
|
-
"""指修改后的私有网络所属子网 ID
|
17501
|
+
"""指修改后的私有网络所属子网 ID。
|
17502
|
+
- 当**Operation**为**changeVpc**或**changeBaseToVpc**时,需配置该参数。
|
17503
|
+
- 请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list),切换至**实例详情**页面,在**网络信息**区域,单击所属网络后面的子网名称,获取子网ID。
|
17499
17504
|
:rtype: str
|
17500
17505
|
"""
|
17501
17506
|
return self._SubnetId
|
@@ -17509,7 +17514,6 @@ class ModifyNetworkConfigRequest(AbstractModel):
|
|
17509
17514
|
"""原内网 IPv4 地址保留时长。
|
17510
17515
|
- 单位:天。
|
17511
17516
|
- 取值范围:0、1、2、3、7、15。
|
17512
|
-
|
17513
17517
|
**说明**:设置原地址保留时长需最新版SDK,否则原地址将立即释放,查看SDK版本,请参见 [SDK中心](https://cloud.tencent.com/document/sdk)。
|
17514
17518
|
:rtype: int
|
17515
17519
|
"""
|
@@ -17564,7 +17568,7 @@ class ModifyNetworkConfigResponse(AbstractModel):
|
|
17564
17568
|
:type VpcId: str
|
17565
17569
|
:param _Vip: 指实例新的内网 IPv4 地址。
|
17566
17570
|
:type Vip: str
|
17567
|
-
:param _TaskId: 任务 ID
|
17571
|
+
:param _TaskId: 任务 ID。获取**taskId**,通过接口 [DescribeTaskInfo](https://cloud.tencent.com/document/product/239/30601) 查询任务执行状态。
|
17568
17572
|
:type TaskId: int
|
17569
17573
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17570
17574
|
:type RequestId: str
|
@@ -17622,7 +17626,7 @@ class ModifyNetworkConfigResponse(AbstractModel):
|
|
17622
17626
|
|
17623
17627
|
@property
|
17624
17628
|
def TaskId(self):
|
17625
|
-
"""任务 ID
|
17629
|
+
"""任务 ID。获取**taskId**,通过接口 [DescribeTaskInfo](https://cloud.tencent.com/document/product/239/30601) 查询任务执行状态。
|
17626
17630
|
:rtype: int
|
17627
17631
|
"""
|
17628
17632
|
return self._TaskId
|
@@ -17773,11 +17777,11 @@ class ModifyReplicationGroupRequest(AbstractModel):
|
|
17773
17777
|
|
17774
17778
|
def __init__(self):
|
17775
17779
|
r"""
|
17776
|
-
:param _GroupId:
|
17780
|
+
:param _GroupId: 复制组ID。请登录[Redis控制台的全球复制](https://console.cloud.tencent.com/redis/replication)页面获取复制组 ID。
|
17777
17781
|
:type GroupId: str
|
17778
|
-
:param _GroupName:
|
17782
|
+
:param _GroupName: 修改后的复制组名称。
|
17779
17783
|
:type GroupName: str
|
17780
|
-
:param _Remark:
|
17784
|
+
:param _Remark: 备注描述。
|
17781
17785
|
:type Remark: str
|
17782
17786
|
"""
|
17783
17787
|
self._GroupId = None
|
@@ -17786,7 +17790,7 @@ class ModifyReplicationGroupRequest(AbstractModel):
|
|
17786
17790
|
|
17787
17791
|
@property
|
17788
17792
|
def GroupId(self):
|
17789
|
-
"""
|
17793
|
+
"""复制组ID。请登录[Redis控制台的全球复制](https://console.cloud.tencent.com/redis/replication)页面获取复制组 ID。
|
17790
17794
|
:rtype: str
|
17791
17795
|
"""
|
17792
17796
|
return self._GroupId
|
@@ -17797,7 +17801,7 @@ class ModifyReplicationGroupRequest(AbstractModel):
|
|
17797
17801
|
|
17798
17802
|
@property
|
17799
17803
|
def GroupName(self):
|
17800
|
-
"""
|
17804
|
+
"""修改后的复制组名称。
|
17801
17805
|
:rtype: str
|
17802
17806
|
"""
|
17803
17807
|
return self._GroupName
|
@@ -17808,7 +17812,7 @@ class ModifyReplicationGroupRequest(AbstractModel):
|
|
17808
17812
|
|
17809
17813
|
@property
|
17810
17814
|
def Remark(self):
|
17811
|
-
"""
|
17815
|
+
"""备注描述。
|
17812
17816
|
:rtype: str
|
17813
17817
|
"""
|
17814
17818
|
return self._Remark
|
@@ -20019,7 +20023,7 @@ class RenewInstanceRequest(AbstractModel):
|
|
20019
20023
|
r"""
|
20020
20024
|
:param _Period: 购买时长,单位:月。
|
20021
20025
|
:type Period: int
|
20022
|
-
:param _InstanceId: 实例 ID。
|
20026
|
+
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
20023
20027
|
:type InstanceId: str
|
20024
20028
|
:param _ModifyPayMode: 标识是否修改计费模式。<ul><li>当前实例计费模式为按量计费方式,预转换为包年包月而续费,请指定该参数为 <b>prepaid</b>。</li><li>当前实例计费模式为包年包月方式,可不设置该参数。</li></ul>
|
20025
20029
|
:type ModifyPayMode: str
|
@@ -20041,7 +20045,7 @@ class RenewInstanceRequest(AbstractModel):
|
|
20041
20045
|
|
20042
20046
|
@property
|
20043
20047
|
def InstanceId(self):
|
20044
|
-
"""实例 ID。
|
20048
|
+
"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
20045
20049
|
:rtype: str
|
20046
20050
|
"""
|
20047
20051
|
return self._InstanceId
|
@@ -2122,7 +2122,7 @@ class RedisClient(AbstractClient):
|
|
2122
2122
|
|
2123
2123
|
|
2124
2124
|
def ModifyReplicationGroup(self, request):
|
2125
|
-
"""
|
2125
|
+
"""本接口(ModifyReplicationGroup)用于修改复制组信息。
|
2126
2126
|
|
2127
2127
|
:param request: Request instance for ModifyReplicationGroup.
|
2128
2128
|
:type request: :class:`tencentcloud.redis.v20180412.models.ModifyReplicationGroupRequest`
|
@@ -8626,10 +8626,13 @@ class DescribeReleaseFileSignRequest(AbstractModel):
|
|
8626
8626
|
:type FileType: int
|
8627
8627
|
:param _Site: 获取临时签名的bucket是国内站还是国际站(1表示国际站,其它表示国内站)
|
8628
8628
|
:type Site: int
|
8629
|
+
:param _ID: ProjectID
|
8630
|
+
:type ID: int
|
8629
8631
|
"""
|
8630
8632
|
self._Timeout = None
|
8631
8633
|
self._FileType = None
|
8632
8634
|
self._Site = None
|
8635
|
+
self._ID = None
|
8633
8636
|
|
8634
8637
|
@property
|
8635
8638
|
def Timeout(self):
|
@@ -8664,11 +8667,23 @@ class DescribeReleaseFileSignRequest(AbstractModel):
|
|
8664
8667
|
def Site(self, Site):
|
8665
8668
|
self._Site = Site
|
8666
8669
|
|
8670
|
+
@property
|
8671
|
+
def ID(self):
|
8672
|
+
"""ProjectID
|
8673
|
+
:rtype: int
|
8674
|
+
"""
|
8675
|
+
return self._ID
|
8676
|
+
|
8677
|
+
@ID.setter
|
8678
|
+
def ID(self, ID):
|
8679
|
+
self._ID = ID
|
8680
|
+
|
8667
8681
|
|
8668
8682
|
def _deserialize(self, params):
|
8669
8683
|
self._Timeout = params.get("Timeout")
|
8670
8684
|
self._FileType = params.get("FileType")
|
8671
8685
|
self._Site = params.get("Site")
|
8686
|
+
self._ID = params.get("ID")
|
8672
8687
|
memeber_set = set(params.keys())
|
8673
8688
|
for name, value in vars(self).items():
|
8674
8689
|
property_name = name[1:]
|