tencentcloud-sdk-python 3.0.1169__py2.py3-none-any.whl → 3.0.1171__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/cdb/v20170320/models.py +4 -2
- tencentcloud/cds/v20180420/cds_client.py +0 -25
- tencentcloud/cds/v20180420/models.py +0 -55
- tencentcloud/cdwch/v20200915/models.py +39 -0
- tencentcloud/csip/v20221121/csip_client.py +46 -0
- tencentcloud/csip/v20221121/models.py +1051 -118
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +3 -1
- tencentcloud/cynosdb/v20190107/models.py +70 -0
- tencentcloud/domain/v20180808/models.py +6 -6
- tencentcloud/ess/v20201111/ess_client.py +2 -2
- tencentcloud/ess/v20201111/models.py +9 -8
- tencentcloud/essbasic/v20210526/essbasic_client.py +6 -2
- tencentcloud/essbasic/v20210526/models.py +3 -2
- tencentcloud/gaap/v20180529/models.py +26 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/models.py +37 -0
- tencentcloud/ocr/v20181119/models.py +22 -16
- tencentcloud/redis/v20180412/models.py +47 -14
- tencentcloud/redis/v20180412/redis_client.py +2 -2
- tencentcloud/tcaplusdb/v20190823/models.py +66 -0
- tencentcloud/trtc/v20190722/models.py +8 -0
- tencentcloud/trtc/v20190722/trtc_client.py +1 -3
- tencentcloud/tse/v20201207/models.py +165 -0
- tencentcloud/tsf/v20180326/models.py +18 -0
- tencentcloud/wedata/v20210820/models.py +125 -3
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1169.dist-info → tencentcloud_sdk_python-3.0.1171.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1169.dist-info → tencentcloud_sdk_python-3.0.1171.dist-info}/RECORD +32 -32
- {tencentcloud_sdk_python-3.0.1169.dist-info → tencentcloud_sdk_python-3.0.1171.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1169.dist-info → tencentcloud_sdk_python-3.0.1171.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1169.dist-info → tencentcloud_sdk_python-3.0.1171.dist-info}/top_level.txt +0 -0
@@ -1706,7 +1706,9 @@ class CynosdbClient(AbstractClient):
|
|
1706
1706
|
|
1707
1707
|
|
1708
1708
|
def DescribeRollbackTimeValidity(self, request):
|
1709
|
-
"""
|
1709
|
+
"""历史废弃接口,从云API下线
|
1710
|
+
|
1711
|
+
指定时间和集群查询是否可回滚
|
1710
1712
|
|
1711
1713
|
:param request: Request instance for DescribeRollbackTimeValidity.
|
1712
1714
|
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeRollbackTimeValidityRequest`
|
@@ -26366,6 +26366,16 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
26366
26366
|
:type DealMode: int
|
26367
26367
|
:param _PayMode: 计算节点付费模式:0-按量计费,1-预付费
|
26368
26368
|
:type PayMode: int
|
26369
|
+
:param _TimeSpan: 时间
|
26370
|
+
:type TimeSpan: int
|
26371
|
+
:param _TimeUnit: 单位
|
26372
|
+
:type TimeUnit: str
|
26373
|
+
:param _RollbackDatabases: 回档库信息
|
26374
|
+
:type RollbackDatabases: list of RollbackDatabase
|
26375
|
+
:param _RollbackTables: 回档表信息
|
26376
|
+
:type RollbackTables: list of RollbackTable
|
26377
|
+
:param _OriginalROInstanceList: 原ro实例信息
|
26378
|
+
:type OriginalROInstanceList: list of str
|
26369
26379
|
"""
|
26370
26380
|
self._Zone = None
|
26371
26381
|
self._OriginalClusterId = None
|
@@ -26388,6 +26398,11 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
26388
26398
|
self._InstanceInitInfos = None
|
26389
26399
|
self._DealMode = None
|
26390
26400
|
self._PayMode = None
|
26401
|
+
self._TimeSpan = None
|
26402
|
+
self._TimeUnit = None
|
26403
|
+
self._RollbackDatabases = None
|
26404
|
+
self._RollbackTables = None
|
26405
|
+
self._OriginalROInstanceList = None
|
26391
26406
|
|
26392
26407
|
@property
|
26393
26408
|
def Zone(self):
|
@@ -26557,6 +26572,46 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
26557
26572
|
def PayMode(self, PayMode):
|
26558
26573
|
self._PayMode = PayMode
|
26559
26574
|
|
26575
|
+
@property
|
26576
|
+
def TimeSpan(self):
|
26577
|
+
return self._TimeSpan
|
26578
|
+
|
26579
|
+
@TimeSpan.setter
|
26580
|
+
def TimeSpan(self, TimeSpan):
|
26581
|
+
self._TimeSpan = TimeSpan
|
26582
|
+
|
26583
|
+
@property
|
26584
|
+
def TimeUnit(self):
|
26585
|
+
return self._TimeUnit
|
26586
|
+
|
26587
|
+
@TimeUnit.setter
|
26588
|
+
def TimeUnit(self, TimeUnit):
|
26589
|
+
self._TimeUnit = TimeUnit
|
26590
|
+
|
26591
|
+
@property
|
26592
|
+
def RollbackDatabases(self):
|
26593
|
+
return self._RollbackDatabases
|
26594
|
+
|
26595
|
+
@RollbackDatabases.setter
|
26596
|
+
def RollbackDatabases(self, RollbackDatabases):
|
26597
|
+
self._RollbackDatabases = RollbackDatabases
|
26598
|
+
|
26599
|
+
@property
|
26600
|
+
def RollbackTables(self):
|
26601
|
+
return self._RollbackTables
|
26602
|
+
|
26603
|
+
@RollbackTables.setter
|
26604
|
+
def RollbackTables(self, RollbackTables):
|
26605
|
+
self._RollbackTables = RollbackTables
|
26606
|
+
|
26607
|
+
@property
|
26608
|
+
def OriginalROInstanceList(self):
|
26609
|
+
return self._OriginalROInstanceList
|
26610
|
+
|
26611
|
+
@OriginalROInstanceList.setter
|
26612
|
+
def OriginalROInstanceList(self, OriginalROInstanceList):
|
26613
|
+
self._OriginalROInstanceList = OriginalROInstanceList
|
26614
|
+
|
26560
26615
|
|
26561
26616
|
def _deserialize(self, params):
|
26562
26617
|
self._Zone = params.get("Zone")
|
@@ -26595,6 +26650,21 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
26595
26650
|
self._InstanceInitInfos.append(obj)
|
26596
26651
|
self._DealMode = params.get("DealMode")
|
26597
26652
|
self._PayMode = params.get("PayMode")
|
26653
|
+
self._TimeSpan = params.get("TimeSpan")
|
26654
|
+
self._TimeUnit = params.get("TimeUnit")
|
26655
|
+
if params.get("RollbackDatabases") is not None:
|
26656
|
+
self._RollbackDatabases = []
|
26657
|
+
for item in params.get("RollbackDatabases"):
|
26658
|
+
obj = RollbackDatabase()
|
26659
|
+
obj._deserialize(item)
|
26660
|
+
self._RollbackDatabases.append(obj)
|
26661
|
+
if params.get("RollbackTables") is not None:
|
26662
|
+
self._RollbackTables = []
|
26663
|
+
for item in params.get("RollbackTables"):
|
26664
|
+
obj = RollbackTable()
|
26665
|
+
obj._deserialize(item)
|
26666
|
+
self._RollbackTables.append(obj)
|
26667
|
+
self._OriginalROInstanceList = params.get("OriginalROInstanceList")
|
26598
26668
|
memeber_set = set(params.keys())
|
26599
26669
|
for name, value in vars(self).items():
|
26600
26670
|
property_name = name[1:]
|
@@ -480,7 +480,7 @@ class BiddingAppointResult(AbstractModel):
|
|
480
480
|
:param _AppointNum: 预约人数
|
481
481
|
注意:此字段可能返回 null,表示取不到有效值。
|
482
482
|
:type AppointNum: int
|
483
|
-
:param _Status:
|
483
|
+
:param _Status: 1 已预约,2 竞价中,3 等待出价 4 竞价失败 5 等待支付 6 等待转移,7 转移中 8 交易成功 9 预约持有者赎回 10 竞价持有者赎回 11 其他阶段持有者赎回 12 违约
|
484
484
|
注意:此字段可能返回 null,表示取不到有效值。
|
485
485
|
:type Status: int
|
486
486
|
"""
|
@@ -695,7 +695,7 @@ class BiddingResult(AbstractModel):
|
|
695
695
|
:param _BiddingNum: 出价次数
|
696
696
|
注意:此字段可能返回 null,表示取不到有效值。
|
697
697
|
:type BiddingNum: int
|
698
|
-
:param _Status:
|
698
|
+
:param _Status: 2 竞价中 3 等待出价 4 竞价失败 10 竞价持有者赎回
|
699
699
|
注意:此字段可能返回 null,表示取不到有效值。
|
700
700
|
:type Status: int
|
701
701
|
"""
|
@@ -2798,7 +2798,7 @@ class DescribeBiddingAppointDetailResponse(AbstractModel):
|
|
2798
2798
|
:type AppointPrice: int
|
2799
2799
|
:param _AppointBondPrice: 预约保证金
|
2800
2800
|
:type AppointBondPrice: int
|
2801
|
-
:param _Status:
|
2801
|
+
:param _Status: 1 已预约,2 竞价中,3 等待出价 4 竞价失败 5 等待支付 6 等待转移,7 转移中 8 交易成功 9 预约持有者赎回 10 竞价持有者赎回 11 其他阶段持有者赎回 12 违约
|
2802
2802
|
:type Status: int
|
2803
2803
|
:param _BiddingBondRefund: 预约保证金是否已经退回
|
2804
2804
|
yes:退回 no: 未退回
|
@@ -3138,7 +3138,7 @@ class DescribeBiddingDetailResponse(AbstractModel):
|
|
3138
3138
|
:type CurrentNickname: str
|
3139
3139
|
:param _BiddingBondPrice: 竞价保证金
|
3140
3140
|
:type BiddingBondPrice: int
|
3141
|
-
:param _Status:
|
3141
|
+
:param _Status: 2 竞价中 3 等待出价 4 竞价失败 10 竞价持有者赎回
|
3142
3142
|
:type Status: int
|
3143
3143
|
:param _BiddingFlag: 竞价标识,1 领先,2 落后
|
3144
3144
|
:type BiddingFlag: int
|
@@ -3317,7 +3317,7 @@ class DescribeBiddingListRequest(AbstractModel):
|
|
3317
3317
|
:type PageSize: int
|
3318
3318
|
:param _Domain: 域名
|
3319
3319
|
:type Domain: str
|
3320
|
-
:param _Status: 2 竞价中 3 等待出价
|
3320
|
+
:param _Status: 2 竞价中 3 等待出价 4 竞价失败 10 竞价持有者赎回
|
3321
3321
|
:type Status: list of int non-negative
|
3322
3322
|
:param _SortField: 排序字段:BiddingEndTime 竞价结束时间
|
3323
3323
|
BiddingPrice 我的价格
|
@@ -3510,7 +3510,7 @@ class DescribeBiddingSuccessfulDetailResponse(AbstractModel):
|
|
3510
3510
|
:type BiddingBondRefund: str
|
3511
3511
|
:param _BiddingBondPrice: 保证金
|
3512
3512
|
:type BiddingBondPrice: float
|
3513
|
-
:param _Status: 状态:
|
3513
|
+
:param _Status: 状态:5 等待支付 6 等待转移, 7 转移中,8 交易成功,11 尾款阶段持有者索回,12 已违约
|
3514
3514
|
:type Status: int
|
3515
3515
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3516
3516
|
:type RequestId: str
|
@@ -797,8 +797,8 @@ class EssClient(AbstractClient):
|
|
797
797
|
|
798
798
|
**注意**
|
799
799
|
1. 该签署**链接有效期为30分钟**,过期后将失效,如需签署可重新创建签署链接 。
|
800
|
-
2. 该接口返回的签署链接适用于APP集成的场景,支持APP
|
801
|
-
|
800
|
+
2. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。配置方式请参考:<a href="https://qian.tencent.com/developers/company/openqianh5/">跳转电子签H5</a>。
|
801
|
+
如需跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>。
|
802
802
|
3. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href="https://cloud.tencent.com/document/product/1007/61076">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。
|
803
803
|
|
804
804
|
:param request: Request instance for CreateFlowSignUrl.
|
@@ -6088,12 +6088,13 @@ class CreateFlowSignUrlRequest(AbstractModel):
|
|
6088
6088
|
:param _FlowApproverInfos: 流程签署人列表,其中结构体的ApproverName,ApproverMobile和ApproverType必传,企业签署人则需传OrganizationName,其他可不传。
|
6089
6089
|
|
6090
6090
|
注:
|
6091
|
-
`1.
|
6091
|
+
`1. 签署人只能有手写签名、时间类型、印章类型的签署控件和内容填写控件,其他类型的签署控件暂时未支持。`
|
6092
6092
|
`2. 生成发起方预览链接时,该字段(FlowApproverInfos)传空或者不传`
|
6093
6093
|
:type FlowApproverInfos: list of FlowCreateApprover
|
6094
6094
|
:param _Organization: 机构信息,暂未开放
|
6095
6095
|
:type Organization: :class:`tencentcloud.ess.v20201111.models.OrganizationInfo`
|
6096
|
-
:param _JumpUrl: 签署完之后的H5
|
6096
|
+
:param _JumpUrl: 签署完之后的H5页面的跳转链接,最大长度1000个字符。链接类型请参考 <a href="https://qian.tencent.com/developers/company/openqianh5" target="_blank">跳转电子签H5</a>
|
6097
|
+
|
6097
6098
|
:type JumpUrl: str
|
6098
6099
|
:param _UrlType: 链接类型,支持指定以下类型
|
6099
6100
|
<ul><li>0 : 签署链接 (默认值)</li>
|
@@ -14898,14 +14899,14 @@ class EmbedUrlOption(AbstractModel):
|
|
14898
14899
|
def __init__(self):
|
14899
14900
|
r"""
|
14900
14901
|
:param _ShowFlowDetailComponent: 合同详情预览,允许展示控件信息
|
14901
|
-
<
|
14902
|
-
<
|
14903
|
-
<
|
14902
|
+
<ul>
|
14903
|
+
<li><b>true</b>:允许在合同详情页展示控件</li>
|
14904
|
+
<li><b>false</b>:(默认)不允许在合同详情页展示控件</li>
|
14905
|
+
</ul>
|
14904
14906
|
:type ShowFlowDetailComponent: bool
|
14905
14907
|
:param _ShowTemplateComponent: 模板预览,允许展示模板控件信息
|
14906
|
-
<
|
14907
|
-
<
|
14908
|
-
<br/>默认false,模板预览页不展示控件
|
14908
|
+
<ul><li> <b>true</b> :允许在模板预览页展示控件</li>
|
14909
|
+
<li> <b>false</b> :(默认)不允许在模板预览页展示控件</li></ul>
|
14909
14910
|
:type ShowTemplateComponent: bool
|
14910
14911
|
"""
|
14911
14912
|
self._ShowFlowDetailComponent = None
|
@@ -396,6 +396,10 @@ class EssbasicClient(AbstractClient):
|
|
396
396
|
|
397
397
|
`4. 静默(自动)签署不支持合同签署方存在填写功能`
|
398
398
|
|
399
|
+
<font color="red">相关视频指引</font> <br>
|
400
|
+
1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/essbasic-UploadFiles.mp4" target="_blank">【上传文件代码】编写示例</a><br>
|
401
|
+
1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/essbasic-ChannelCreateFlowByFiles.mp4" target="_blank">【用PDF文件创建签署流程】编写示例</a><br>
|
402
|
+
|
399
403
|
:param request: Request instance for ChannelCreateFlowByFiles.
|
400
404
|
:type request: :class:`tencentcloud.essbasic.v20210526.models.ChannelCreateFlowByFilesRequest`
|
401
405
|
:rtype: :class:`tencentcloud.essbasic.v20210526.models.ChannelCreateFlowByFilesResponse`
|
@@ -664,8 +668,8 @@ class EssbasicClient(AbstractClient):
|
|
664
668
|
|
665
669
|
**注意**
|
666
670
|
1. 该签署**链接有效期为30分钟**,过期后将失效,如需签署可重新创建签署链接 。
|
667
|
-
2. 该接口返回的签署链接适用于APP集成的场景,支持APP
|
668
|
-
|
671
|
+
2. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。配置方式请参考:<a href="https://qian.tencent.com/developers/company/openqianh5/">跳转电子签H5</a>。
|
672
|
+
如需跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>。
|
669
673
|
3. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href="https://cloud.tencent.com/document/product/1007/61076">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。
|
670
674
|
|
671
675
|
:param request: Request instance for ChannelCreateFlowSignUrl.
|
@@ -3931,14 +3931,15 @@ class ChannelCreateFlowSignUrlRequest(AbstractModel):
|
|
3931
3931
|
:param _FlowApproverInfos: 流程签署人列表,其中结构体的Name,Mobile和ApproverType必传,企业签署人则还需传OrganizationName、OpenId、OrganizationOpenId,其他可不传。
|
3932
3932
|
|
3933
3933
|
注:
|
3934
|
-
`1.
|
3934
|
+
`1. 签署人只能有手写签名、时间类型、印章类型的签署控件和内容填写控件,其他类型的签署控件暂时未支持。`
|
3935
3935
|
`2. 生成发起方预览链接时,该字段(FlowApproverInfos)传空或者不传`
|
3936
3936
|
:type FlowApproverInfos: list of FlowApproverInfo
|
3937
3937
|
:param _Operator: 用户信息,暂未开放
|
3938
3938
|
:type Operator: :class:`tencentcloud.essbasic.v20210526.models.UserInfo`
|
3939
3939
|
:param _Organization: 机构信息,暂未开放
|
3940
3940
|
:type Organization: :class:`tencentcloud.essbasic.v20210526.models.OrganizationInfo`
|
3941
|
-
:param _JumpUrl: 签署完之后的H5
|
3941
|
+
:param _JumpUrl: 签署完之后的H5页面的跳转链接,最大长度1000个字符。链接类型请参考 <a href="https://qian.tencent.com/developers/company/openqianh5" target="_blank">跳转电子签H5</a>
|
3942
|
+
|
3942
3943
|
:type JumpUrl: str
|
3943
3944
|
:param _UrlType: 链接类型,支持指定以下类型
|
3944
3945
|
<ul><li>0 : 签署链接 (默认值)</li>
|
@@ -10248,6 +10248,12 @@ class DomainRuleSet(AbstractModel):
|
|
10248
10248
|
:param _IsDefaultServer: 是否为默认域名
|
10249
10249
|
注意:此字段可能返回 null,表示取不到有效值。
|
10250
10250
|
:type IsDefaultServer: bool
|
10251
|
+
:param _TLSCiphers: TLS套件包
|
10252
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10253
|
+
:type TLSCiphers: str
|
10254
|
+
:param _TLSSupportVersion: TLS版本
|
10255
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10256
|
+
:type TLSSupportVersion: list of str
|
10251
10257
|
"""
|
10252
10258
|
self._Domain = None
|
10253
10259
|
self._RuleSet = None
|
@@ -10271,6 +10277,8 @@ class DomainRuleSet(AbstractModel):
|
|
10271
10277
|
self._BanStatus = None
|
10272
10278
|
self._Http3Supported = None
|
10273
10279
|
self._IsDefaultServer = None
|
10280
|
+
self._TLSCiphers = None
|
10281
|
+
self._TLSSupportVersion = None
|
10274
10282
|
|
10275
10283
|
@property
|
10276
10284
|
def Domain(self):
|
@@ -10448,6 +10456,22 @@ class DomainRuleSet(AbstractModel):
|
|
10448
10456
|
def IsDefaultServer(self, IsDefaultServer):
|
10449
10457
|
self._IsDefaultServer = IsDefaultServer
|
10450
10458
|
|
10459
|
+
@property
|
10460
|
+
def TLSCiphers(self):
|
10461
|
+
return self._TLSCiphers
|
10462
|
+
|
10463
|
+
@TLSCiphers.setter
|
10464
|
+
def TLSCiphers(self, TLSCiphers):
|
10465
|
+
self._TLSCiphers = TLSCiphers
|
10466
|
+
|
10467
|
+
@property
|
10468
|
+
def TLSSupportVersion(self):
|
10469
|
+
return self._TLSSupportVersion
|
10470
|
+
|
10471
|
+
@TLSSupportVersion.setter
|
10472
|
+
def TLSSupportVersion(self, TLSSupportVersion):
|
10473
|
+
self._TLSSupportVersion = TLSSupportVersion
|
10474
|
+
|
10451
10475
|
|
10452
10476
|
def _deserialize(self, params):
|
10453
10477
|
self._Domain = params.get("Domain")
|
@@ -10487,6 +10511,8 @@ class DomainRuleSet(AbstractModel):
|
|
10487
10511
|
self._BanStatus = params.get("BanStatus")
|
10488
10512
|
self._Http3Supported = params.get("Http3Supported")
|
10489
10513
|
self._IsDefaultServer = params.get("IsDefaultServer")
|
10514
|
+
self._TLSCiphers = params.get("TLSCiphers")
|
10515
|
+
self._TLSSupportVersion = params.get("TLSSupportVersion")
|
10490
10516
|
memeber_set = set(params.keys())
|
10491
10517
|
for name, value in vars(self).items():
|
10492
10518
|
property_name = name[1:]
|
@@ -596,6 +596,9 @@ RESOURCEUNAVAILABLE_DOCKERUNAVAILABLE = 'ResourceUnavailable.DockerUnavailable'
|
|
596
596
|
# 防火墙模板在使用中,不支持该操作。
|
597
597
|
RESOURCEUNAVAILABLE_FIREWALLTEMPLATEINUSE = 'ResourceUnavailable.FirewallTemplateInUse'
|
598
598
|
|
599
|
+
# 当前套餐不支持通过API购买。
|
600
|
+
RESOURCEUNAVAILABLE_INVALIDPURCHASEREQUESTSOURCE = 'ResourceUnavailable.InvalidPurchaseRequestSource'
|
601
|
+
|
599
602
|
# TAT agent不可用。
|
600
603
|
RESOURCEUNAVAILABLE_TATAGENTUNAVAILABLE = 'ResourceUnavailable.TATAgentUnavailable'
|
601
604
|
|
@@ -412,6 +412,13 @@ class BackupInfo(AbstractModel):
|
|
412
412
|
:type Status: int
|
413
413
|
:param _BackupMethod: 备份方法,0-逻辑备份,1-物理备份
|
414
414
|
:type BackupMethod: int
|
415
|
+
:param _BackId: 备份记录id
|
416
|
+
:type BackId: int
|
417
|
+
:param _DeleteTime: 备份删除时间
|
418
|
+
:type DeleteTime: str
|
419
|
+
:param _BackupRegion: 异地备份地域
|
420
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
421
|
+
:type BackupRegion: str
|
415
422
|
"""
|
416
423
|
self._InstanceId = None
|
417
424
|
self._BackupType = None
|
@@ -422,6 +429,9 @@ class BackupInfo(AbstractModel):
|
|
422
429
|
self._EndTime = None
|
423
430
|
self._Status = None
|
424
431
|
self._BackupMethod = None
|
432
|
+
self._BackId = None
|
433
|
+
self._DeleteTime = None
|
434
|
+
self._BackupRegion = None
|
425
435
|
|
426
436
|
@property
|
427
437
|
def InstanceId(self):
|
@@ -495,6 +505,30 @@ class BackupInfo(AbstractModel):
|
|
495
505
|
def BackupMethod(self, BackupMethod):
|
496
506
|
self._BackupMethod = BackupMethod
|
497
507
|
|
508
|
+
@property
|
509
|
+
def BackId(self):
|
510
|
+
return self._BackId
|
511
|
+
|
512
|
+
@BackId.setter
|
513
|
+
def BackId(self, BackId):
|
514
|
+
self._BackId = BackId
|
515
|
+
|
516
|
+
@property
|
517
|
+
def DeleteTime(self):
|
518
|
+
return self._DeleteTime
|
519
|
+
|
520
|
+
@DeleteTime.setter
|
521
|
+
def DeleteTime(self, DeleteTime):
|
522
|
+
self._DeleteTime = DeleteTime
|
523
|
+
|
524
|
+
@property
|
525
|
+
def BackupRegion(self):
|
526
|
+
return self._BackupRegion
|
527
|
+
|
528
|
+
@BackupRegion.setter
|
529
|
+
def BackupRegion(self, BackupRegion):
|
530
|
+
self._BackupRegion = BackupRegion
|
531
|
+
|
498
532
|
|
499
533
|
def _deserialize(self, params):
|
500
534
|
self._InstanceId = params.get("InstanceId")
|
@@ -506,6 +540,9 @@ class BackupInfo(AbstractModel):
|
|
506
540
|
self._EndTime = params.get("EndTime")
|
507
541
|
self._Status = params.get("Status")
|
508
542
|
self._BackupMethod = params.get("BackupMethod")
|
543
|
+
self._BackId = params.get("BackId")
|
544
|
+
self._DeleteTime = params.get("DeleteTime")
|
545
|
+
self._BackupRegion = params.get("BackupRegion")
|
509
546
|
memeber_set = set(params.keys())
|
510
547
|
for name, value in vars(self).items():
|
511
548
|
property_name = name[1:]
|
@@ -8754,14 +8754,17 @@ Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:
|
|
8754
8754
|
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
|
8755
8755
|
|
8756
8756
|
WarnInfos,告警信息,Code 告警码列表和释义:
|
8757
|
-
-9100
|
8758
|
-
-9101
|
8759
|
-
|
8760
|
-
-
|
8761
|
-
-
|
8762
|
-
|
8763
|
-
-
|
8764
|
-
-
|
8757
|
+
-9100 身份证有效日期不合法告警,
|
8758
|
+
-9101 身份证边框不完整告警,
|
8759
|
+
|
8760
|
+
-9102 身份证复印件告警(黑白及彩色复印件),
|
8761
|
+
-9108 身份证复印件告警(仅黑白复印件),
|
8762
|
+
|
8763
|
+
-9103 身份证翻拍告警,
|
8764
|
+
-9105 身份证框内遮挡告警,
|
8765
|
+
-9104 临时身份证告警,
|
8766
|
+
-9106 身份证疑似存在PS痕迹告警,
|
8767
|
+
-9107 身份证反光告警。
|
8765
8768
|
:type AdvancedInfo: str
|
8766
8769
|
:param _ReflectDetailInfos: 反光点覆盖区域详情结果,具体内容请点击左侧链接
|
8767
8770
|
:type ReflectDetailInfos: list of ReflectDetailInfo
|
@@ -15963,14 +15966,17 @@ Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:
|
|
15963
15966
|
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
|
15964
15967
|
|
15965
15968
|
WarnInfos,告警信息,Code 告警码列表和释义:
|
15966
|
-
-9100
|
15967
|
-
-9101
|
15968
|
-
|
15969
|
-
-
|
15970
|
-
-
|
15971
|
-
|
15972
|
-
-
|
15973
|
-
-
|
15969
|
+
-9100 身份证有效日期不合法告警,
|
15970
|
+
-9101 身份证边框不完整告警,
|
15971
|
+
|
15972
|
+
-9102 身份证复印件告警(黑白及彩色复印件),
|
15973
|
+
-9108 身份证复印件告警(仅黑白复印件),
|
15974
|
+
|
15975
|
+
-9103 身份证翻拍告警,
|
15976
|
+
-9105 身份证框内遮挡告警,
|
15977
|
+
-9104 临时身份证告警,
|
15978
|
+
-9106 身份证疑似存在PS痕迹告警,
|
15979
|
+
-9107 身份证反光告警。
|
15974
15980
|
:type AdvancedInfo: str
|
15975
15981
|
:param _ReflectDetailInfos: 反光点覆盖区域详情结果,具体内容请点击左侧链接
|
15976
15982
|
:type ReflectDetailInfos: list of ReflectDetailInfo
|
@@ -5858,7 +5858,7 @@ class DescribeInstanceSecurityGroupRequest(AbstractModel):
|
|
5858
5858
|
|
5859
5859
|
def __init__(self):
|
5860
5860
|
r"""
|
5861
|
-
:param _InstanceIds: 实例 ID
|
5861
|
+
:param _InstanceIds: 实例 ID 列表,数组长度限制[0,100]。例如:["crs-f2ho5rsz\n"]
|
5862
5862
|
:type InstanceIds: list of str
|
5863
5863
|
"""
|
5864
5864
|
self._InstanceIds = None
|
@@ -6680,7 +6680,7 @@ class DescribeMaintenanceWindowRequest(AbstractModel):
|
|
6680
6680
|
|
6681
6681
|
def __init__(self):
|
6682
6682
|
r"""
|
6683
|
-
:param _InstanceId:
|
6683
|
+
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
6684
6684
|
:type InstanceId: str
|
6685
6685
|
"""
|
6686
6686
|
self._InstanceId = None
|
@@ -6713,9 +6713,12 @@ class DescribeMaintenanceWindowResponse(AbstractModel):
|
|
6713
6713
|
|
6714
6714
|
def __init__(self):
|
6715
6715
|
r"""
|
6716
|
-
:param _StartTime:
|
6716
|
+
:param _StartTime: 维护时间窗开始时间。取值范围为"00:00-23:00"的任意时间点,如03:24。
|
6717
6717
|
:type StartTime: str
|
6718
|
-
:param _EndTime:
|
6718
|
+
:param _EndTime: 维护时间窗结束时间。
|
6719
|
+
- 取值范围为"00:00-23:00"的任意时间点,如:04:24。
|
6720
|
+
- 维护时间持续时长最小为30分钟,最大为3小时。
|
6721
|
+
- 结束时间务必是基于开始时间向后的时间。
|
6719
6722
|
:type EndTime: str
|
6720
6723
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6721
6724
|
:type RequestId: str
|
@@ -7922,7 +7925,7 @@ class DescribeSlowLogResponse(AbstractModel):
|
|
7922
7925
|
r"""
|
7923
7926
|
:param _TotalCount: 慢查询总数。
|
7924
7927
|
:type TotalCount: int
|
7925
|
-
:param _InstanceSlowlogDetail:
|
7928
|
+
:param _InstanceSlowlogDetail: 已废弃,该参数存在命名不规范问题,后续用参数InstanceSlowLogDetail取代。慢查询详情。
|
7926
7929
|
:type InstanceSlowlogDetail: list of InstanceSlowlogDetail
|
7927
7930
|
:param _InstanceSlowLogDetail: 慢查询详情。
|
7928
7931
|
:type InstanceSlowLogDetail: list of InstanceSlowlogDetail
|
@@ -9250,7 +9253,16 @@ class InquiryPriceCreateInstanceRequest(AbstractModel):
|
|
9250
9253
|
|
9251
9254
|
def __init__(self):
|
9252
9255
|
r"""
|
9253
|
-
:param _TypeId:
|
9256
|
+
:param _TypeId: 实例类型。
|
9257
|
+
- 2:Redis 2.8 内存版(标准架构)。
|
9258
|
+
- 6:Redis 4.0 内存版(标准架构)。
|
9259
|
+
- 7:Redis 4.0 内存版(集群架构)。
|
9260
|
+
- 8:Redis 5.0 内存版(标准架构)。
|
9261
|
+
- 9:Redis 5.0 内存版(集群架构)。
|
9262
|
+
- 15:Redis 6.2 内存版(标准架构)。
|
9263
|
+
- 16:Redis 6.2 内存版(集群架构)。
|
9264
|
+
- 17:Redis 7.0 内存版(标准架构)。
|
9265
|
+
- 18:Redis 7.0 内存版(集群架构)。
|
9254
9266
|
:type TypeId: int
|
9255
9267
|
:param _MemSize: 内存容量,单位为MB, 数值需为1024的整数倍,具体规格以 [查询产品售卖规格](https://cloud.tencent.com/document/api/239/30600) 返回的规格为准。
|
9256
9268
|
TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架构时,MemSize是单分片内存容量。
|
@@ -9259,19 +9271,28 @@ TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架
|
|
9259
9271
|
:type GoodsNum: int
|
9260
9272
|
:param _Period: 购买时长,在创建包年包月实例的时候需要填写,按量计费实例填1即可,单位:月,取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
9261
9273
|
:type Period: int
|
9262
|
-
:param _BillingMode:
|
9274
|
+
:param _BillingMode: 付费方式。
|
9275
|
+
- 0:按量计费。
|
9276
|
+
- 1:包年包月。
|
9263
9277
|
:type BillingMode: int
|
9264
9278
|
:param _ZoneId: 实例所属的可用区ID,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
|
9265
9279
|
:type ZoneId: int
|
9266
|
-
:param _RedisShardNum:
|
9280
|
+
:param _RedisShardNum: 实例分片数量。
|
9281
|
+
Redis2.8标准架构、CKV标准架构、Redis4.0标准架构无需填写。
|
9267
9282
|
:type RedisShardNum: int
|
9268
|
-
:param _RedisReplicasNum:
|
9283
|
+
:param _RedisReplicasNum: 实例副本数量。
|
9284
|
+
Redis2.8标准架构、CKV标准架构无需填写。
|
9269
9285
|
:type RedisReplicasNum: int
|
9270
|
-
:param _ReplicasReadonly:
|
9286
|
+
:param _ReplicasReadonly: 是否支持副本只读。Redis2.8标准架构、CKV标准架构无需填写。
|
9287
|
+
- true:无需支持副本只读。
|
9288
|
+
- false:需支持。
|
9271
9289
|
:type ReplicasReadonly: bool
|
9272
9290
|
:param _ZoneName: 实例所属的可用区名称,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
|
9273
9291
|
:type ZoneName: str
|
9274
|
-
:param _ProductVersion:
|
9292
|
+
:param _ProductVersion: 部署方式。
|
9293
|
+
- local:本地盘版,默认为 local。
|
9294
|
+
- cloud:云盘版。
|
9295
|
+
- cdc:独享集群版。
|
9275
9296
|
:type ProductVersion: str
|
9276
9297
|
"""
|
9277
9298
|
self._TypeId = None
|
@@ -9442,9 +9463,9 @@ class InquiryPriceRenewInstanceRequest(AbstractModel):
|
|
9442
9463
|
|
9443
9464
|
def __init__(self):
|
9444
9465
|
r"""
|
9445
|
-
:param _Period:
|
9466
|
+
:param _Period: 包年包月实例的购买时长,单位:月。
|
9446
9467
|
:type Period: int
|
9447
|
-
:param _InstanceId:
|
9468
|
+
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
9448
9469
|
:type InstanceId: str
|
9449
9470
|
"""
|
9450
9471
|
self._Period = None
|
@@ -9487,7 +9508,7 @@ class InquiryPriceRenewInstanceResponse(AbstractModel):
|
|
9487
9508
|
|
9488
9509
|
def __init__(self):
|
9489
9510
|
r"""
|
9490
|
-
:param _Price:
|
9511
|
+
:param _Price: 价格,单位:分。
|
9491
9512
|
注意:此字段可能返回 null,表示取不到有效值。
|
9492
9513
|
:type Price: float
|
9493
9514
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -16940,9 +16961,12 @@ class TendisNodes(AbstractModel):
|
|
16940
16961
|
:type NodeId: str
|
16941
16962
|
:param _NodeRole: 节点角色
|
16942
16963
|
:type NodeRole: str
|
16964
|
+
:param _ZoneId: 可用区 ID。
|
16965
|
+
:type ZoneId: int
|
16943
16966
|
"""
|
16944
16967
|
self._NodeId = None
|
16945
16968
|
self._NodeRole = None
|
16969
|
+
self._ZoneId = None
|
16946
16970
|
|
16947
16971
|
@property
|
16948
16972
|
def NodeId(self):
|
@@ -16960,10 +16984,19 @@ class TendisNodes(AbstractModel):
|
|
16960
16984
|
def NodeRole(self, NodeRole):
|
16961
16985
|
self._NodeRole = NodeRole
|
16962
16986
|
|
16987
|
+
@property
|
16988
|
+
def ZoneId(self):
|
16989
|
+
return self._ZoneId
|
16990
|
+
|
16991
|
+
@ZoneId.setter
|
16992
|
+
def ZoneId(self, ZoneId):
|
16993
|
+
self._ZoneId = ZoneId
|
16994
|
+
|
16963
16995
|
|
16964
16996
|
def _deserialize(self, params):
|
16965
16997
|
self._NodeId = params.get("NodeId")
|
16966
16998
|
self._NodeRole = params.get("NodeRole")
|
16999
|
+
self._ZoneId = params.get("ZoneId")
|
16967
17000
|
memeber_set = set(params.keys())
|
16968
17001
|
for name, value in vars(self).items():
|
16969
17002
|
property_name = name[1:]
|
@@ -1131,7 +1131,7 @@ class RedisClient(AbstractClient):
|
|
1131
1131
|
|
1132
1132
|
|
1133
1133
|
def DescribeMaintenanceWindow(self, request):
|
1134
|
-
"""
|
1134
|
+
"""本接口(DescribeMaintenanceWindow)用于查询实例维护时间窗。在实例需要进行版本升级或者架构升级的时候,会在维护时间窗时间内进行切换
|
1135
1135
|
|
1136
1136
|
:param request: Request instance for DescribeMaintenanceWindow.
|
1137
1137
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeMaintenanceWindowRequest`
|
@@ -1591,7 +1591,7 @@ class RedisClient(AbstractClient):
|
|
1591
1591
|
|
1592
1592
|
|
1593
1593
|
def InquiryPriceRenewInstance(self, request):
|
1594
|
-
"""
|
1594
|
+
"""本接口(InquiryPriceRenewInstance)用于查询包年包月计费实例的续费价格。
|
1595
1595
|
|
1596
1596
|
:param request: Request instance for InquiryPriceRenewInstance.
|
1597
1597
|
:type request: :class:`tencentcloud.redis.v20180412.models.InquiryPriceRenewInstanceRequest`
|