tencentcloud-sdk-python 3.0.1297__py2.py3-none-any.whl → 3.0.1299__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/aca/v20210323/models.py +2 -2
- tencentcloud/autoscaling/v20180419/models.py +21 -0
- tencentcloud/bh/v20230418/models.py +4 -4
- tencentcloud/billing/v20180709/models.py +90 -0
- tencentcloud/cam/v20190116/models.py +2 -2
- tencentcloud/ccc/v20200210/models.py +121 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/clb/v20180317/models.py +68 -0
- tencentcloud/cloudapp/v20220530/errorcodes.py +3 -0
- tencentcloud/cloudapp/v20220530/models.py +66 -17
- tencentcloud/cls/v20201016/models.py +24 -2
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +113 -0
- tencentcloud/dbbrain/v20210527/models.py +17 -2
- tencentcloud/dc/v20180410/models.py +50 -121
- tencentcloud/drm/v20181115/models.py +17 -0
- tencentcloud/dts/v20211206/models.py +68 -2
- tencentcloud/emr/v20190103/models.py +136 -340
- tencentcloud/ess/v20201111/models.py +96 -156
- tencentcloud/essbasic/v20210526/models.py +44 -108
- tencentcloud/gaap/v20180529/gaap_client.py +9 -3
- tencentcloud/gwlb/v20240906/models.py +2 -2
- tencentcloud/hai/v20230812/errorcodes.py +6 -0
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +109 -0
- tencentcloud/hunyuan/v20230901/models.py +7 -7
- tencentcloud/keewidb/v20220308/models.py +1 -1
- tencentcloud/lcic/v20220817/models.py +12 -6
- tencentcloud/lkeap/v20240522/lkeap_client.py +24 -0
- tencentcloud/lkeap/v20240522/models.py +167 -0
- tencentcloud/mongodb/v20180408/errorcodes.py +3 -0
- tencentcloud/mongodb/v20180408/models.py +36 -20
- tencentcloud/mongodb/v20180408/mongodb_client.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +45 -112
- tencentcloud/ocr/v20181119/models.py +14 -14
- tencentcloud/ocr/v20181119/ocr_client.py +3 -3
- tencentcloud/postgres/v20170312/models.py +233 -0
- tencentcloud/postgres/v20170312/postgres_client.py +46 -0
- tencentcloud/redis/v20180412/models.py +6 -6
- tencentcloud/redis/v20180412/redis_client.py +8 -8
- tencentcloud/scf/v20180416/models.py +44 -4
- tencentcloud/ssl/v20191205/models.py +66 -10
- tencentcloud/ssl/v20191205/ssl_client.py +8 -1
- tencentcloud/tcb/v20180608/models.py +219 -345
- tencentcloud/tcb/v20180608/tcb_client.py +1 -1
- tencentcloud/tcbr/v20220217/models.py +51 -6
- tencentcloud/tdmq/v20200217/models.py +205 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/tione/v20211111/models.py +34 -0
- tencentcloud/trtc/v20190722/models.py +4 -16
- tencentcloud/vpc/v20170312/models.py +63 -29
- {tencentcloud_sdk_python-3.0.1297.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1297.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/RECORD +57 -57
- {tencentcloud_sdk_python-3.0.1297.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1297.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1297.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/top_level.txt +0 -0
@@ -11986,19 +11986,19 @@ class IDCardConfig(AbstractModel):
|
|
11986
11986
|
|
11987
11987
|
def __init__(self):
|
11988
11988
|
r"""
|
11989
|
-
:param _CopyWarn:
|
11989
|
+
:param _CopyWarn: 复印件告警,默认为false
|
11990
11990
|
:type CopyWarn: bool
|
11991
|
-
:param _BorderCheckWarn:
|
11991
|
+
:param _BorderCheckWarn: 边框和框内遮挡告警,默认为false
|
11992
11992
|
:type BorderCheckWarn: bool
|
11993
|
-
:param _ReshootWarn:
|
11993
|
+
:param _ReshootWarn: 翻拍告警,默认为false
|
11994
11994
|
:type ReshootWarn: bool
|
11995
|
-
:param _DetectPsWarn:
|
11995
|
+
:param _DetectPsWarn: 疑似存在PS痕迹告警,默认为false
|
11996
11996
|
:type DetectPsWarn: bool
|
11997
|
-
:param _TempIdWarn:
|
11997
|
+
:param _TempIdWarn: 临时身份证告警,默认为false
|
11998
11998
|
:type TempIdWarn: bool
|
11999
|
-
:param _InvalidDateWarn:
|
11999
|
+
:param _InvalidDateWarn: 身份证有效日期不合法告警,默认为false
|
12000
12000
|
:type InvalidDateWarn: bool
|
12001
|
-
:param _ReflectWarn:
|
12001
|
+
:param _ReflectWarn: 是否开启反光检测,默认为false
|
12002
12002
|
:type ReflectWarn: bool
|
12003
12003
|
"""
|
12004
12004
|
self._CopyWarn = None
|
@@ -12011,7 +12011,7 @@ class IDCardConfig(AbstractModel):
|
|
12011
12011
|
|
12012
12012
|
@property
|
12013
12013
|
def CopyWarn(self):
|
12014
|
-
"""
|
12014
|
+
"""复印件告警,默认为false
|
12015
12015
|
:rtype: bool
|
12016
12016
|
"""
|
12017
12017
|
return self._CopyWarn
|
@@ -12022,7 +12022,7 @@ class IDCardConfig(AbstractModel):
|
|
12022
12022
|
|
12023
12023
|
@property
|
12024
12024
|
def BorderCheckWarn(self):
|
12025
|
-
"""
|
12025
|
+
"""边框和框内遮挡告警,默认为false
|
12026
12026
|
:rtype: bool
|
12027
12027
|
"""
|
12028
12028
|
return self._BorderCheckWarn
|
@@ -12033,7 +12033,7 @@ class IDCardConfig(AbstractModel):
|
|
12033
12033
|
|
12034
12034
|
@property
|
12035
12035
|
def ReshootWarn(self):
|
12036
|
-
"""
|
12036
|
+
"""翻拍告警,默认为false
|
12037
12037
|
:rtype: bool
|
12038
12038
|
"""
|
12039
12039
|
return self._ReshootWarn
|
@@ -12044,7 +12044,7 @@ class IDCardConfig(AbstractModel):
|
|
12044
12044
|
|
12045
12045
|
@property
|
12046
12046
|
def DetectPsWarn(self):
|
12047
|
-
"""
|
12047
|
+
"""疑似存在PS痕迹告警,默认为false
|
12048
12048
|
:rtype: bool
|
12049
12049
|
"""
|
12050
12050
|
return self._DetectPsWarn
|
@@ -12055,7 +12055,7 @@ class IDCardConfig(AbstractModel):
|
|
12055
12055
|
|
12056
12056
|
@property
|
12057
12057
|
def TempIdWarn(self):
|
12058
|
-
"""
|
12058
|
+
"""临时身份证告警,默认为false
|
12059
12059
|
:rtype: bool
|
12060
12060
|
"""
|
12061
12061
|
return self._TempIdWarn
|
@@ -12066,7 +12066,7 @@ class IDCardConfig(AbstractModel):
|
|
12066
12066
|
|
12067
12067
|
@property
|
12068
12068
|
def InvalidDateWarn(self):
|
12069
|
-
"""
|
12069
|
+
"""身份证有效日期不合法告警,默认为false
|
12070
12070
|
:rtype: bool
|
12071
12071
|
"""
|
12072
12072
|
return self._InvalidDateWarn
|
@@ -12077,7 +12077,7 @@ class IDCardConfig(AbstractModel):
|
|
12077
12077
|
|
12078
12078
|
@property
|
12079
12079
|
def ReflectWarn(self):
|
12080
|
-
"""
|
12080
|
+
"""是否开启反光检测,默认为false
|
12081
12081
|
:rtype: bool
|
12082
12082
|
"""
|
12083
12083
|
return self._ReflectWarn
|
@@ -1210,8 +1210,8 @@ class OcrClient(AbstractClient):
|
|
1210
1210
|
|
1211
1211
|
|
1212
1212
|
def MLIDPassportOCR(self, request):
|
1213
|
-
"""
|
1214
|
-
|
1213
|
+
"""本接口支持以及其他国家、地区的护照识别。识别字段包括护照ID、姓名、出生日期、性别、有效期、发行国、国籍、国家地区代码,具备护照人像照片的裁剪功能和翻拍、复印件告警功能。
|
1214
|
+
本接口支持地区范围:可机读护照国家。包括中国港澳台地区、新加坡、马来西亚、泰国、美国、韩国、越南、澳大利亚、缅甸、印度尼西亚、日本、加拿大、老挝、巴基斯坦、哈萨克斯坦、法国、英国、德国、菲律宾、新西兰、印度、意大利、蒙古、孟加拉国、尼日利亚、柬埔寨、西班牙、摩洛哥、吉尔吉斯斯坦、埃及、荷兰、塔吉克斯坦、巴西、乌兹别克斯坦、伊拉克、阿尔及利亚、土耳其、南非、墨西哥、尼泊尔、白俄罗斯、叶门、阿富汗、沙特、肯尼亚、波兰、比利时、瑞典、奥地利、坦桑尼亚、委内瑞拉、阿根廷、喀麦隆、斯里兰卡、衣索比亚、约旦、瑞士、加纳、爱尔兰、哥伦比亚、苏丹、匈牙利、罗马尼亚、阿联酋、文莱、希腊、以色列、巴拿马、丹麦、伊朗、乌干达、挪威、秘鲁、葡萄牙、智利、塞尔维亚、芬兰、尚比亚、亚美尼亚、叙利亚、黎巴嫩、斯洛伐克、卡塔尔、古巴、朝鲜。
|
1215
1215
|
|
1216
1216
|
默认接口请求频率限制:5次/秒。
|
1217
1217
|
|
@@ -2177,7 +2177,7 @@ class OcrClient(AbstractClient):
|
|
2177
2177
|
|
2178
2178
|
|
2179
2179
|
def SmartStructuralOCRV2(self, request):
|
2180
|
-
"""本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/
|
2180
|
+
"""本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://ocrdemo.cloud.tencent.com/)。
|
2181
2181
|
|
2182
2182
|
默认接口请求频率限制:5次/秒。
|
2183
2183
|
|
@@ -10505,6 +10505,130 @@ class DescribeLogBackupsResponse(AbstractModel):
|
|
10505
10505
|
self._RequestId = params.get("RequestId")
|
10506
10506
|
|
10507
10507
|
|
10508
|
+
class DescribeMaintainTimeWindowRequest(AbstractModel):
|
10509
|
+
"""DescribeMaintainTimeWindow请求参数结构体
|
10510
|
+
|
10511
|
+
"""
|
10512
|
+
|
10513
|
+
def __init__(self):
|
10514
|
+
r"""
|
10515
|
+
:param _DBInstanceId: 实例ID
|
10516
|
+
:type DBInstanceId: str
|
10517
|
+
"""
|
10518
|
+
self._DBInstanceId = None
|
10519
|
+
|
10520
|
+
@property
|
10521
|
+
def DBInstanceId(self):
|
10522
|
+
"""实例ID
|
10523
|
+
:rtype: str
|
10524
|
+
"""
|
10525
|
+
return self._DBInstanceId
|
10526
|
+
|
10527
|
+
@DBInstanceId.setter
|
10528
|
+
def DBInstanceId(self, DBInstanceId):
|
10529
|
+
self._DBInstanceId = DBInstanceId
|
10530
|
+
|
10531
|
+
|
10532
|
+
def _deserialize(self, params):
|
10533
|
+
self._DBInstanceId = params.get("DBInstanceId")
|
10534
|
+
memeber_set = set(params.keys())
|
10535
|
+
for name, value in vars(self).items():
|
10536
|
+
property_name = name[1:]
|
10537
|
+
if property_name in memeber_set:
|
10538
|
+
memeber_set.remove(property_name)
|
10539
|
+
if len(memeber_set) > 0:
|
10540
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10541
|
+
|
10542
|
+
|
10543
|
+
|
10544
|
+
class DescribeMaintainTimeWindowResponse(AbstractModel):
|
10545
|
+
"""DescribeMaintainTimeWindow返回参数结构体
|
10546
|
+
|
10547
|
+
"""
|
10548
|
+
|
10549
|
+
def __init__(self):
|
10550
|
+
r"""
|
10551
|
+
:param _DBInstanceId: 实例ID
|
10552
|
+
:type DBInstanceId: str
|
10553
|
+
:param _MaintainStartTime: 维护开始时间。时区为东八区(UTC+8)
|
10554
|
+
:type MaintainStartTime: str
|
10555
|
+
:param _MaintainDuration: 维护持续时间。单位:小时
|
10556
|
+
:type MaintainDuration: int
|
10557
|
+
:param _MaintainWeekDays: 维护周期
|
10558
|
+
:type MaintainWeekDays: list of str
|
10559
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10560
|
+
:type RequestId: str
|
10561
|
+
"""
|
10562
|
+
self._DBInstanceId = None
|
10563
|
+
self._MaintainStartTime = None
|
10564
|
+
self._MaintainDuration = None
|
10565
|
+
self._MaintainWeekDays = None
|
10566
|
+
self._RequestId = None
|
10567
|
+
|
10568
|
+
@property
|
10569
|
+
def DBInstanceId(self):
|
10570
|
+
"""实例ID
|
10571
|
+
:rtype: str
|
10572
|
+
"""
|
10573
|
+
return self._DBInstanceId
|
10574
|
+
|
10575
|
+
@DBInstanceId.setter
|
10576
|
+
def DBInstanceId(self, DBInstanceId):
|
10577
|
+
self._DBInstanceId = DBInstanceId
|
10578
|
+
|
10579
|
+
@property
|
10580
|
+
def MaintainStartTime(self):
|
10581
|
+
"""维护开始时间。时区为东八区(UTC+8)
|
10582
|
+
:rtype: str
|
10583
|
+
"""
|
10584
|
+
return self._MaintainStartTime
|
10585
|
+
|
10586
|
+
@MaintainStartTime.setter
|
10587
|
+
def MaintainStartTime(self, MaintainStartTime):
|
10588
|
+
self._MaintainStartTime = MaintainStartTime
|
10589
|
+
|
10590
|
+
@property
|
10591
|
+
def MaintainDuration(self):
|
10592
|
+
"""维护持续时间。单位:小时
|
10593
|
+
:rtype: int
|
10594
|
+
"""
|
10595
|
+
return self._MaintainDuration
|
10596
|
+
|
10597
|
+
@MaintainDuration.setter
|
10598
|
+
def MaintainDuration(self, MaintainDuration):
|
10599
|
+
self._MaintainDuration = MaintainDuration
|
10600
|
+
|
10601
|
+
@property
|
10602
|
+
def MaintainWeekDays(self):
|
10603
|
+
"""维护周期
|
10604
|
+
:rtype: list of str
|
10605
|
+
"""
|
10606
|
+
return self._MaintainWeekDays
|
10607
|
+
|
10608
|
+
@MaintainWeekDays.setter
|
10609
|
+
def MaintainWeekDays(self, MaintainWeekDays):
|
10610
|
+
self._MaintainWeekDays = MaintainWeekDays
|
10611
|
+
|
10612
|
+
@property
|
10613
|
+
def RequestId(self):
|
10614
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10615
|
+
:rtype: str
|
10616
|
+
"""
|
10617
|
+
return self._RequestId
|
10618
|
+
|
10619
|
+
@RequestId.setter
|
10620
|
+
def RequestId(self, RequestId):
|
10621
|
+
self._RequestId = RequestId
|
10622
|
+
|
10623
|
+
|
10624
|
+
def _deserialize(self, params):
|
10625
|
+
self._DBInstanceId = params.get("DBInstanceId")
|
10626
|
+
self._MaintainStartTime = params.get("MaintainStartTime")
|
10627
|
+
self._MaintainDuration = params.get("MaintainDuration")
|
10628
|
+
self._MaintainWeekDays = params.get("MaintainWeekDays")
|
10629
|
+
self._RequestId = params.get("RequestId")
|
10630
|
+
|
10631
|
+
|
10508
10632
|
class DescribeOrdersRequest(AbstractModel):
|
10509
10633
|
"""DescribeOrders请求参数结构体
|
10510
10634
|
|
@@ -15642,6 +15766,115 @@ class ModifyDatabaseOwnerResponse(AbstractModel):
|
|
15642
15766
|
self._RequestId = params.get("RequestId")
|
15643
15767
|
|
15644
15768
|
|
15769
|
+
class ModifyMaintainTimeWindowRequest(AbstractModel):
|
15770
|
+
"""ModifyMaintainTimeWindow请求参数结构体
|
15771
|
+
|
15772
|
+
"""
|
15773
|
+
|
15774
|
+
def __init__(self):
|
15775
|
+
r"""
|
15776
|
+
:param _DBInstanceId: 实例ID
|
15777
|
+
:type DBInstanceId: str
|
15778
|
+
:param _MaintainStartTime: 维护开始时间。时区为东八区(UTC+8)
|
15779
|
+
:type MaintainStartTime: str
|
15780
|
+
:param _MaintainDuration: 维护持续时间。单位:小时
|
15781
|
+
:type MaintainDuration: int
|
15782
|
+
:param _MaintainWeekDays: 维护周期
|
15783
|
+
:type MaintainWeekDays: list of str
|
15784
|
+
"""
|
15785
|
+
self._DBInstanceId = None
|
15786
|
+
self._MaintainStartTime = None
|
15787
|
+
self._MaintainDuration = None
|
15788
|
+
self._MaintainWeekDays = None
|
15789
|
+
|
15790
|
+
@property
|
15791
|
+
def DBInstanceId(self):
|
15792
|
+
"""实例ID
|
15793
|
+
:rtype: str
|
15794
|
+
"""
|
15795
|
+
return self._DBInstanceId
|
15796
|
+
|
15797
|
+
@DBInstanceId.setter
|
15798
|
+
def DBInstanceId(self, DBInstanceId):
|
15799
|
+
self._DBInstanceId = DBInstanceId
|
15800
|
+
|
15801
|
+
@property
|
15802
|
+
def MaintainStartTime(self):
|
15803
|
+
"""维护开始时间。时区为东八区(UTC+8)
|
15804
|
+
:rtype: str
|
15805
|
+
"""
|
15806
|
+
return self._MaintainStartTime
|
15807
|
+
|
15808
|
+
@MaintainStartTime.setter
|
15809
|
+
def MaintainStartTime(self, MaintainStartTime):
|
15810
|
+
self._MaintainStartTime = MaintainStartTime
|
15811
|
+
|
15812
|
+
@property
|
15813
|
+
def MaintainDuration(self):
|
15814
|
+
"""维护持续时间。单位:小时
|
15815
|
+
:rtype: int
|
15816
|
+
"""
|
15817
|
+
return self._MaintainDuration
|
15818
|
+
|
15819
|
+
@MaintainDuration.setter
|
15820
|
+
def MaintainDuration(self, MaintainDuration):
|
15821
|
+
self._MaintainDuration = MaintainDuration
|
15822
|
+
|
15823
|
+
@property
|
15824
|
+
def MaintainWeekDays(self):
|
15825
|
+
"""维护周期
|
15826
|
+
:rtype: list of str
|
15827
|
+
"""
|
15828
|
+
return self._MaintainWeekDays
|
15829
|
+
|
15830
|
+
@MaintainWeekDays.setter
|
15831
|
+
def MaintainWeekDays(self, MaintainWeekDays):
|
15832
|
+
self._MaintainWeekDays = MaintainWeekDays
|
15833
|
+
|
15834
|
+
|
15835
|
+
def _deserialize(self, params):
|
15836
|
+
self._DBInstanceId = params.get("DBInstanceId")
|
15837
|
+
self._MaintainStartTime = params.get("MaintainStartTime")
|
15838
|
+
self._MaintainDuration = params.get("MaintainDuration")
|
15839
|
+
self._MaintainWeekDays = params.get("MaintainWeekDays")
|
15840
|
+
memeber_set = set(params.keys())
|
15841
|
+
for name, value in vars(self).items():
|
15842
|
+
property_name = name[1:]
|
15843
|
+
if property_name in memeber_set:
|
15844
|
+
memeber_set.remove(property_name)
|
15845
|
+
if len(memeber_set) > 0:
|
15846
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
15847
|
+
|
15848
|
+
|
15849
|
+
|
15850
|
+
class ModifyMaintainTimeWindowResponse(AbstractModel):
|
15851
|
+
"""ModifyMaintainTimeWindow返回参数结构体
|
15852
|
+
|
15853
|
+
"""
|
15854
|
+
|
15855
|
+
def __init__(self):
|
15856
|
+
r"""
|
15857
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15858
|
+
:type RequestId: str
|
15859
|
+
"""
|
15860
|
+
self._RequestId = None
|
15861
|
+
|
15862
|
+
@property
|
15863
|
+
def RequestId(self):
|
15864
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15865
|
+
:rtype: str
|
15866
|
+
"""
|
15867
|
+
return self._RequestId
|
15868
|
+
|
15869
|
+
@RequestId.setter
|
15870
|
+
def RequestId(self, RequestId):
|
15871
|
+
self._RequestId = RequestId
|
15872
|
+
|
15873
|
+
|
15874
|
+
def _deserialize(self, params):
|
15875
|
+
self._RequestId = params.get("RequestId")
|
15876
|
+
|
15877
|
+
|
15645
15878
|
class ModifyParameterTemplateRequest(AbstractModel):
|
15646
15879
|
"""ModifyParameterTemplate请求参数结构体
|
15647
15880
|
|
@@ -1180,6 +1180,29 @@ class PostgresClient(AbstractClient):
|
|
1180
1180
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1181
1181
|
|
1182
1182
|
|
1183
|
+
def DescribeMaintainTimeWindow(self, request):
|
1184
|
+
"""本接口 (DescribeMaintainTimeWindow) 用于查询实例的维护时间窗口
|
1185
|
+
|
1186
|
+
:param request: Request instance for DescribeMaintainTimeWindow.
|
1187
|
+
:type request: :class:`tencentcloud.postgres.v20170312.models.DescribeMaintainTimeWindowRequest`
|
1188
|
+
:rtype: :class:`tencentcloud.postgres.v20170312.models.DescribeMaintainTimeWindowResponse`
|
1189
|
+
|
1190
|
+
"""
|
1191
|
+
try:
|
1192
|
+
params = request._serialize()
|
1193
|
+
headers = request.headers
|
1194
|
+
body = self.call("DescribeMaintainTimeWindow", params, headers=headers)
|
1195
|
+
response = json.loads(body)
|
1196
|
+
model = models.DescribeMaintainTimeWindowResponse()
|
1197
|
+
model._deserialize(response["Response"])
|
1198
|
+
return model
|
1199
|
+
except Exception as e:
|
1200
|
+
if isinstance(e, TencentCloudSDKException):
|
1201
|
+
raise
|
1202
|
+
else:
|
1203
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1204
|
+
|
1205
|
+
|
1183
1206
|
def DescribeOrders(self, request):
|
1184
1207
|
"""本接口(DescribeOrders)用于查询订单信息。
|
1185
1208
|
|
@@ -1964,6 +1987,29 @@ class PostgresClient(AbstractClient):
|
|
1964
1987
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1965
1988
|
|
1966
1989
|
|
1990
|
+
def ModifyMaintainTimeWindow(self, request):
|
1991
|
+
"""本接口 (ModifyMaintainTimeWindow) 用于实例维护时间窗口的修改。
|
1992
|
+
|
1993
|
+
:param request: Request instance for ModifyMaintainTimeWindow.
|
1994
|
+
:type request: :class:`tencentcloud.postgres.v20170312.models.ModifyMaintainTimeWindowRequest`
|
1995
|
+
:rtype: :class:`tencentcloud.postgres.v20170312.models.ModifyMaintainTimeWindowResponse`
|
1996
|
+
|
1997
|
+
"""
|
1998
|
+
try:
|
1999
|
+
params = request._serialize()
|
2000
|
+
headers = request.headers
|
2001
|
+
body = self.call("ModifyMaintainTimeWindow", params, headers=headers)
|
2002
|
+
response = json.loads(body)
|
2003
|
+
model = models.ModifyMaintainTimeWindowResponse()
|
2004
|
+
model._deserialize(response["Response"])
|
2005
|
+
return model
|
2006
|
+
except Exception as e:
|
2007
|
+
if isinstance(e, TencentCloudSDKException):
|
2008
|
+
raise
|
2009
|
+
else:
|
2010
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2011
|
+
|
2012
|
+
|
1967
2013
|
def ModifyParameterTemplate(self, request):
|
1968
2014
|
"""本接口(ModifyParameterTemplate)主要用于修改参数模板名称,描述等配置,也可用于管理参数模板中的参数列表。
|
1969
2015
|
|
@@ -2408,7 +2408,7 @@ class CreateInstancesRequest(AbstractModel):
|
|
2408
2408
|
:type ZoneId: int
|
2409
2409
|
:param _Password: 访问实例的密码。
|
2410
2410
|
- 当输入参数**NoAuth**为**true**时,指设置实例为免密码访问,Password可不用配置,否则Password为必填参数。
|
2411
|
-
- 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
|
2411
|
+
- 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.2、7.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
|
2412
2412
|
- 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30个字符,必须包含字母和数字,且不包含其他字符。
|
2413
2413
|
:type Password: str
|
2414
2414
|
:param _VpcId: 私有网络ID。如果不配置该参数则默认选择基础网络。请登录 [私有网络](https://console.cloud.tencent.com/vpc)控制台查询具体的ID。
|
@@ -2579,7 +2579,7 @@ class CreateInstancesRequest(AbstractModel):
|
|
2579
2579
|
def Password(self):
|
2580
2580
|
"""访问实例的密码。
|
2581
2581
|
- 当输入参数**NoAuth**为**true**时,指设置实例为免密码访问,Password可不用配置,否则Password为必填参数。
|
2582
|
-
- 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
|
2582
|
+
- 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.2、7.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
|
2583
2583
|
- 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30个字符,必须包含字母和数字,且不包含其他字符。
|
2584
2584
|
:rtype: str
|
2585
2585
|
"""
|
@@ -6637,7 +6637,7 @@ class DescribeInstanceMonitorTopNCmdRequest(AbstractModel):
|
|
6637
6637
|
|
6638
6638
|
def __init__(self):
|
6639
6639
|
r"""
|
6640
|
-
:param _InstanceId: 实例 ID。
|
6640
|
+
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
6641
6641
|
:type InstanceId: str
|
6642
6642
|
:param _SpanType: 时间范围。
|
6643
6643
|
- 1:实时。
|
@@ -6651,7 +6651,7 @@ class DescribeInstanceMonitorTopNCmdRequest(AbstractModel):
|
|
6651
6651
|
|
6652
6652
|
@property
|
6653
6653
|
def InstanceId(self):
|
6654
|
-
"""实例 ID。
|
6654
|
+
"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
6655
6655
|
:rtype: str
|
6656
6656
|
"""
|
6657
6657
|
return self._InstanceId
|
@@ -15714,7 +15714,7 @@ class ModfiyInstancePasswordRequest(AbstractModel):
|
|
15714
15714
|
:param _OldPassword: 实例旧密码。
|
15715
15715
|
:type OldPassword: str
|
15716
15716
|
:param _Password: 实例新密码。密码复杂度要求如下:
|
15717
|
-
- 长度8 -
|
15717
|
+
- 长度8 - 64位, 推荐使用12位以上的密码。
|
15718
15718
|
- 不能以"/"开头。
|
15719
15719
|
- 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
|
15720
15720
|
:type Password: str
|
@@ -15748,7 +15748,7 @@ class ModfiyInstancePasswordRequest(AbstractModel):
|
|
15748
15748
|
@property
|
15749
15749
|
def Password(self):
|
15750
15750
|
"""实例新密码。密码复杂度要求如下:
|
15751
|
-
- 长度8 -
|
15751
|
+
- 长度8 - 64位, 推荐使用12位以上的密码。
|
15752
15752
|
- 不能以"/"开头。
|
15753
15753
|
- 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
|
15754
15754
|
:rtype: str
|
@@ -326,7 +326,7 @@ class RedisClient(AbstractClient):
|
|
326
326
|
|
327
327
|
|
328
328
|
def CreateParamTemplate(self, request):
|
329
|
-
"""
|
329
|
+
"""该接口(CreateParamTemplate)用于创建参数模板。
|
330
330
|
|
331
331
|
:param request: Request instance for CreateParamTemplate.
|
332
332
|
:type request: :class:`tencentcloud.redis.v20180412.models.CreateParamTemplateRequest`
|
@@ -395,7 +395,7 @@ class RedisClient(AbstractClient):
|
|
395
395
|
|
396
396
|
|
397
397
|
def DeleteParamTemplate(self, request):
|
398
|
-
"""
|
398
|
+
"""本接口(DeleteParamTemplate)用于删除参数模板。
|
399
399
|
|
400
400
|
:param request: Request instance for DeleteParamTemplate.
|
401
401
|
:type request: :class:`tencentcloud.redis.v20180412.models.DeleteParamTemplateRequest`
|
@@ -602,7 +602,7 @@ class RedisClient(AbstractClient):
|
|
602
602
|
|
603
603
|
|
604
604
|
def DescribeGlobalReplicationArea(self, request):
|
605
|
-
"""
|
605
|
+
"""本接口(DescribeGlobalReplicationArea)用于查询全球复制支持地域信息。
|
606
606
|
|
607
607
|
:param request: Request instance for DescribeGlobalReplicationArea.
|
608
608
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeGlobalReplicationAreaRequest`
|
@@ -855,7 +855,7 @@ class RedisClient(AbstractClient):
|
|
855
855
|
|
856
856
|
|
857
857
|
def DescribeInstanceMonitorSIP(self, request):
|
858
|
-
"""该接口已下线,请使用数据库智能管家 DBbrain 接口 [DescribeProxyProcessStatistics]
|
858
|
+
"""该接口已下线,请使用数据库智能管家 DBbrain 接口 [DescribeProxyProcessStatistics](https://cloud.tencent.com/document/product/1130/84544) 获取实例访问来源。
|
859
859
|
|
860
860
|
:param request: Request instance for DescribeInstanceMonitorSIP.
|
861
861
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceMonitorSIPRequest`
|
@@ -901,7 +901,7 @@ class RedisClient(AbstractClient):
|
|
901
901
|
|
902
902
|
|
903
903
|
def DescribeInstanceMonitorTopNCmd(self, request):
|
904
|
-
"""
|
904
|
+
"""本接口(DescribeInstanceMonitorTopNCmd)用于查询实例访问命令。
|
905
905
|
|
906
906
|
:param request: Request instance for DescribeInstanceMonitorTopNCmd.
|
907
907
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceMonitorTopNCmdRequest`
|
@@ -970,7 +970,7 @@ class RedisClient(AbstractClient):
|
|
970
970
|
|
971
971
|
|
972
972
|
def DescribeInstanceParamRecords(self, request):
|
973
|
-
"""
|
973
|
+
"""本接口(DescribeInstanceParamRecords)用于查询参数修改历史列表。
|
974
974
|
|
975
975
|
:param request: Request instance for DescribeInstanceParamRecords.
|
976
976
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceParamRecordsRequest`
|
@@ -1200,7 +1200,7 @@ class RedisClient(AbstractClient):
|
|
1200
1200
|
|
1201
1201
|
|
1202
1202
|
def DescribeParamTemplates(self, request):
|
1203
|
-
"""
|
1203
|
+
"""本接口(DescribeParamTemplates)用于查询参数模板列表。
|
1204
1204
|
|
1205
1205
|
:param request: Request instance for DescribeParamTemplates.
|
1206
1206
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeParamTemplatesRequest`
|
@@ -2306,7 +2306,7 @@ class RedisClient(AbstractClient):
|
|
2306
2306
|
|
2307
2307
|
|
2308
2308
|
def RestoreInstance(self, request):
|
2309
|
-
"""
|
2309
|
+
"""本接口(RestoreInstance)用于恢复实例。
|
2310
2310
|
|
2311
2311
|
:param request: Request instance for RestoreInstance.
|
2312
2312
|
:type request: :class:`tencentcloud.redis.v20180412.models.RestoreInstanceRequest`
|
@@ -1382,7 +1382,27 @@ class CreateFunctionRequest(AbstractModel):
|
|
1382
1382
|
:type Timeout: int
|
1383
1383
|
:param _Environment: 函数的环境变量
|
1384
1384
|
:type Environment: :class:`tencentcloud.scf.v20180416.models.Environment`
|
1385
|
-
:param _Runtime:
|
1385
|
+
:param _Runtime: 函数运行环境,默认Python2.7
|
1386
|
+
目前支持的运行环境:
|
1387
|
+
- Python2.7
|
1388
|
+
- Python3.6
|
1389
|
+
- Python3.7
|
1390
|
+
- Python3.9
|
1391
|
+
- Python3.10
|
1392
|
+
- Nodejs6.10
|
1393
|
+
- Nodejs8.9
|
1394
|
+
- Nodejs10.15
|
1395
|
+
- Nodejs12.16
|
1396
|
+
- Nodejs14.18
|
1397
|
+
- Nodejs16.13
|
1398
|
+
- Nodejs18.15
|
1399
|
+
- Php5.6
|
1400
|
+
- Php7(7.2版本)
|
1401
|
+
- Php7.4
|
1402
|
+
- Php8.0
|
1403
|
+
- Go1
|
1404
|
+
- Java8
|
1405
|
+
- CustomRuntime
|
1386
1406
|
:type Runtime: str
|
1387
1407
|
:param _VpcConfig: 函数的私有网络配置
|
1388
1408
|
:type VpcConfig: :class:`tencentcloud.scf.v20180416.models.VpcConfig`
|
@@ -1542,7 +1562,27 @@ class CreateFunctionRequest(AbstractModel):
|
|
1542
1562
|
|
1543
1563
|
@property
|
1544
1564
|
def Runtime(self):
|
1545
|
-
"""
|
1565
|
+
"""函数运行环境,默认Python2.7
|
1566
|
+
目前支持的运行环境:
|
1567
|
+
- Python2.7
|
1568
|
+
- Python3.6
|
1569
|
+
- Python3.7
|
1570
|
+
- Python3.9
|
1571
|
+
- Python3.10
|
1572
|
+
- Nodejs6.10
|
1573
|
+
- Nodejs8.9
|
1574
|
+
- Nodejs10.15
|
1575
|
+
- Nodejs12.16
|
1576
|
+
- Nodejs14.18
|
1577
|
+
- Nodejs16.13
|
1578
|
+
- Nodejs18.15
|
1579
|
+
- Php5.6
|
1580
|
+
- Php7(7.2版本)
|
1581
|
+
- Php7.4
|
1582
|
+
- Php8.0
|
1583
|
+
- Go1
|
1584
|
+
- Java8
|
1585
|
+
- CustomRuntime
|
1546
1586
|
:rtype: str
|
1547
1587
|
"""
|
1548
1588
|
return self._Runtime
|
@@ -12933,7 +12973,7 @@ class UpdateFunctionConfigurationRequest(AbstractModel):
|
|
12933
12973
|
:type MemorySize: int
|
12934
12974
|
:param _Timeout: 函数最长执行时间,单位为秒,可选值范 1-900 秒,默认为 3 秒
|
12935
12975
|
:type Timeout: int
|
12936
|
-
:param _Runtime:
|
12976
|
+
:param _Runtime: 函数运行环境,创建时指定,目前不支持修改。
|
12937
12977
|
:type Runtime: str
|
12938
12978
|
:param _Environment: 函数的环境变量
|
12939
12979
|
:type Environment: :class:`tencentcloud.scf.v20180416.models.Environment`
|
@@ -13046,7 +13086,7 @@ class UpdateFunctionConfigurationRequest(AbstractModel):
|
|
13046
13086
|
|
13047
13087
|
@property
|
13048
13088
|
def Runtime(self):
|
13049
|
-
"""
|
13089
|
+
"""函数运行环境,创建时指定,目前不支持修改。
|
13050
13090
|
:rtype: str
|
13051
13091
|
"""
|
13052
13092
|
return self._Runtime
|