tencentcloud-sdk-python 3.0.1412__py2.py3-none-any.whl → 3.0.1413__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/ams/v20201229/models.py +2 -14
- tencentcloud/batch/v20170312/batch_client.py +23 -0
- tencentcloud/batch/v20170312/models.py +236 -0
- tencentcloud/bh/v20230418/models.py +424 -0
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/ccc/v20200210/models.py +17 -0
- tencentcloud/cdb/v20170320/cdb_client.py +6 -5
- tencentcloud/cdb/v20170320/models.py +50 -42
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/models.py +700 -0
- tencentcloud/cdwdoris/v20211228/models.py +36 -2
- tencentcloud/cfg/v20210820/models.py +123 -0
- tencentcloud/ckafka/v20190819/models.py +32 -2
- tencentcloud/csip/v20221121/csip_client.py +73 -4
- tencentcloud/csip/v20221121/models.py +1510 -227
- tencentcloud/cvm/v20170312/models.py +17 -4
- tencentcloud/dlc/v20210125/models.py +101 -0
- tencentcloud/emr/v20190103/emr_client.py +69 -0
- tencentcloud/emr/v20190103/errorcodes.py +54 -0
- tencentcloud/emr/v20190103/models.py +1536 -98
- tencentcloud/ess/v20201111/models.py +57 -10
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/gs/v20191118/models.py +67 -2
- tencentcloud/hai/v20230812/errorcodes.py +3 -0
- tencentcloud/igtm/__init__.py +0 -0
- tencentcloud/igtm/v20231024/__init__.py +0 -0
- tencentcloud/igtm/v20231024/errorcodes.py +264 -0
- tencentcloud/igtm/v20231024/igtm_client.py +555 -0
- tencentcloud/igtm/v20231024/models.py +6234 -0
- tencentcloud/ims/v20201229/models.py +0 -4
- tencentcloud/ioa/v20220601/errorcodes.py +9 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +396 -0
- tencentcloud/iss/v20230517/models.py +17 -2
- tencentcloud/kms/v20190118/models.py +10 -22
- tencentcloud/mps/v20190612/models.py +82 -2
- tencentcloud/ocr/v20181119/models.py +247 -842
- tencentcloud/partners/v20180321/models.py +6 -2
- tencentcloud/securitylake/__init__.py +0 -0
- tencentcloud/securitylake/v20240117/__init__.py +0 -0
- tencentcloud/securitylake/v20240117/errorcodes.py +75 -0
- tencentcloud/securitylake/v20240117/models.py +1152 -0
- tencentcloud/securitylake/v20240117/securitylake_client.py +49 -0
- tencentcloud/sms/v20190711/errorcodes.py +2 -2
- tencentcloud/sms/v20210111/errorcodes.py +2 -2
- tencentcloud/tcbr/v20220217/models.py +113 -0
- tencentcloud/tdmq/v20200217/models.py +437 -10
- tencentcloud/teo/v20220901/models.py +65 -50
- tencentcloud/teo/v20220901/teo_client.py +8 -2
- tencentcloud/tione/v20211111/models.py +491 -2
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/tke/v20180525/models.py +79 -54
- tencentcloud/trocket/v20230308/models.py +164 -162
- tencentcloud/trocket/v20230308/trocket_client.py +46 -18
- tencentcloud/tsf/v20180326/models.py +6363 -4491
- tencentcloud/tsf/v20180326/tsf_client.py +23 -0
- tencentcloud/vdb/v20230616/models.py +75 -0
- tencentcloud/vm/v20210922/models.py +0 -8
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/wav/v20210129/models.py +6 -6
- tencentcloud/wedata/v20210820/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/RECORD +67 -57
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/top_level.txt +0 -0
@@ -6020,8 +6020,10 @@ class ClusterTopology(AbstractModel):
|
|
6020
6020
|
def __init__(self):
|
6021
6021
|
r"""
|
6022
6022
|
:param _ReadWriteNode: RW 节点拓扑。
|
6023
|
+
说明:NodeId 可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 获取。
|
6023
6024
|
:type ReadWriteNode: :class:`tencentcloud.cdb.v20170320.models.ReadWriteNode`
|
6024
6025
|
:param _ReadOnlyNodes: RO 节点拓扑。
|
6026
|
+
说明:NodeId 可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 获取。
|
6025
6027
|
:type ReadOnlyNodes: list of ReadonlyNode
|
6026
6028
|
"""
|
6027
6029
|
self._ReadWriteNode = None
|
@@ -6030,6 +6032,7 @@ class ClusterTopology(AbstractModel):
|
|
6030
6032
|
@property
|
6031
6033
|
def ReadWriteNode(self):
|
6032
6034
|
"""RW 节点拓扑。
|
6035
|
+
说明:NodeId 可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 获取。
|
6033
6036
|
:rtype: :class:`tencentcloud.cdb.v20170320.models.ReadWriteNode`
|
6034
6037
|
"""
|
6035
6038
|
return self._ReadWriteNode
|
@@ -6041,6 +6044,7 @@ class ClusterTopology(AbstractModel):
|
|
6041
6044
|
@property
|
6042
6045
|
def ReadOnlyNodes(self):
|
6043
6046
|
"""RO 节点拓扑。
|
6047
|
+
说明:NodeId 可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 获取。
|
6044
6048
|
:rtype: list of ReadonlyNode
|
6045
6049
|
"""
|
6046
6050
|
return self._ReadOnlyNodes
|
@@ -16922,9 +16926,10 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
16922
16926
|
:type CdbErrors: list of int
|
16923
16927
|
:param _OrderBy: 返回结果集排序的字段,目前支持:"InstanceId","InstanceName","CreateTime","DeadlineTime"。
|
16924
16928
|
:type OrderBy: str
|
16925
|
-
:param _OrderDirection:
|
16929
|
+
:param _OrderDirection: 返回结果集排序方式。目前支持值:"ASC" - 表示升序,"DESC" - 表示降序,默认为 "DESC"。
|
16926
16930
|
:type OrderDirection: str
|
16927
16931
|
:param _WithSecurityGroup: 是否以安全组 ID 为过滤条件。
|
16932
|
+
说明:0表示否,1表示是。
|
16928
16933
|
:type WithSecurityGroup: int
|
16929
16934
|
:param _WithExCluster: 是否包含独享集群详细信息,可取值:0 - 不包含,1 - 包含。
|
16930
16935
|
:type WithExCluster: int
|
@@ -16959,9 +16964,9 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
16959
16964
|
:type ProxyVips: list of str
|
16960
16965
|
:param _ProxyIds: 数据库代理 ID 。
|
16961
16966
|
:type ProxyIds: list of str
|
16962
|
-
:param _EngineTypes:
|
16967
|
+
:param _EngineTypes: 数据库引擎类型。可选值为:InnoDB、RocksDB。
|
16963
16968
|
:type EngineTypes: list of str
|
16964
|
-
:param _QueryClusterInfo: 是否获取集群版实例节点信息,可填:true或false
|
16969
|
+
:param _QueryClusterInfo: 是否获取集群版实例节点信息,可填:true 或 false。默认为 false。
|
16965
16970
|
:type QueryClusterInfo: bool
|
16966
16971
|
"""
|
16967
16972
|
self._ProjectId = None
|
@@ -17179,7 +17184,7 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
17179
17184
|
|
17180
17185
|
@property
|
17181
17186
|
def OrderDirection(self):
|
17182
|
-
"""
|
17187
|
+
"""返回结果集排序方式。目前支持值:"ASC" - 表示升序,"DESC" - 表示降序,默认为 "DESC"。
|
17183
17188
|
:rtype: str
|
17184
17189
|
"""
|
17185
17190
|
return self._OrderDirection
|
@@ -17191,6 +17196,7 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
17191
17196
|
@property
|
17192
17197
|
def WithSecurityGroup(self):
|
17193
17198
|
"""是否以安全组 ID 为过滤条件。
|
17199
|
+
说明:0表示否,1表示是。
|
17194
17200
|
:rtype: int
|
17195
17201
|
"""
|
17196
17202
|
return self._WithSecurityGroup
|
@@ -17378,7 +17384,7 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
17378
17384
|
|
17379
17385
|
@property
|
17380
17386
|
def EngineTypes(self):
|
17381
|
-
"""
|
17387
|
+
"""数据库引擎类型。可选值为:InnoDB、RocksDB。
|
17382
17388
|
:rtype: list of str
|
17383
17389
|
"""
|
17384
17390
|
return self._EngineTypes
|
@@ -17389,7 +17395,7 @@ class DescribeDBInstancesRequest(AbstractModel):
|
|
17389
17395
|
|
17390
17396
|
@property
|
17391
17397
|
def QueryClusterInfo(self):
|
17392
|
-
"""是否获取集群版实例节点信息,可填:true或false
|
17398
|
+
"""是否获取集群版实例节点信息,可填:true 或 false。默认为 false。
|
17393
17399
|
:rtype: bool
|
17394
17400
|
"""
|
17395
17401
|
return self._QueryClusterInfo
|
@@ -19080,7 +19086,7 @@ class DescribeInstanceAlarmEventsRequest(AbstractModel):
|
|
19080
19086
|
|
19081
19087
|
def __init__(self):
|
19082
19088
|
r"""
|
19083
|
-
:param _InstanceId: 实例 ID
|
19089
|
+
:param _InstanceId: 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
19084
19090
|
:type InstanceId: str
|
19085
19091
|
:param _StartTime: 事件查询范围开始时间,闭区间。
|
19086
19092
|
:type StartTime: str
|
@@ -19092,7 +19098,7 @@ class DescribeInstanceAlarmEventsRequest(AbstractModel):
|
|
19092
19098
|
:type EventStatus: str
|
19093
19099
|
:param _Order: 排序方式。按事件发生事件进行排序,"DESC"-倒排;”ASC“-正序,默认倒排。
|
19094
19100
|
:type Order: str
|
19095
|
-
:param _Limit:
|
19101
|
+
:param _Limit: 事件展示数量。默认为100,最大为200。
|
19096
19102
|
:type Limit: str
|
19097
19103
|
:param _Offset: 偏移量。
|
19098
19104
|
:type Offset: str
|
@@ -19111,7 +19117,7 @@ class DescribeInstanceAlarmEventsRequest(AbstractModel):
|
|
19111
19117
|
|
19112
19118
|
@property
|
19113
19119
|
def InstanceId(self):
|
19114
|
-
"""实例 ID
|
19120
|
+
"""实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
19115
19121
|
:rtype: str
|
19116
19122
|
"""
|
19117
19123
|
return self._InstanceId
|
@@ -19177,7 +19183,7 @@ class DescribeInstanceAlarmEventsRequest(AbstractModel):
|
|
19177
19183
|
|
19178
19184
|
@property
|
19179
19185
|
def Limit(self):
|
19180
|
-
"""
|
19186
|
+
"""事件展示数量。默认为100,最大为200。
|
19181
19187
|
:rtype: str
|
19182
19188
|
"""
|
19183
19189
|
return self._Limit
|
@@ -22320,11 +22326,11 @@ class DescribeTagsOfInstanceIdsRequest(AbstractModel):
|
|
22320
22326
|
|
22321
22327
|
def __init__(self):
|
22322
22328
|
r"""
|
22323
|
-
:param _InstanceIds:
|
22329
|
+
:param _InstanceIds: 实例列表。实例 ID 可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。可传入的数组长度暂无限制。
|
22324
22330
|
:type InstanceIds: list of str
|
22325
22331
|
:param _Offset: 分页偏移量。
|
22326
22332
|
:type Offset: int
|
22327
|
-
:param _Limit:
|
22333
|
+
:param _Limit: 分页大小。默认为15。
|
22328
22334
|
:type Limit: int
|
22329
22335
|
"""
|
22330
22336
|
self._InstanceIds = None
|
@@ -22333,7 +22339,7 @@ class DescribeTagsOfInstanceIdsRequest(AbstractModel):
|
|
22333
22339
|
|
22334
22340
|
@property
|
22335
22341
|
def InstanceIds(self):
|
22336
|
-
"""
|
22342
|
+
"""实例列表。实例 ID 可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。可传入的数组长度暂无限制。
|
22337
22343
|
:rtype: list of str
|
22338
22344
|
"""
|
22339
22345
|
return self._InstanceIds
|
@@ -22355,7 +22361,7 @@ class DescribeTagsOfInstanceIdsRequest(AbstractModel):
|
|
22355
22361
|
|
22356
22362
|
@property
|
22357
22363
|
def Limit(self):
|
22358
|
-
"""
|
22364
|
+
"""分页大小。默认为15。
|
22359
22365
|
:rtype: int
|
22360
22366
|
"""
|
22361
22367
|
return self._Limit
|
@@ -23797,11 +23803,11 @@ class ImportRecord(AbstractModel):
|
|
23797
23803
|
|
23798
23804
|
def __init__(self):
|
23799
23805
|
r"""
|
23800
|
-
:param _Status:
|
23806
|
+
:param _Status: 状态值。0 - 初始化中,1 - 运行中,2 - 运行成功,3 - 运行失败。
|
23801
23807
|
:type Status: int
|
23802
|
-
:param _Code:
|
23808
|
+
:param _Code: 状态值,为负数时任务异常。
|
23803
23809
|
:type Code: int
|
23804
|
-
:param _CostTime:
|
23810
|
+
:param _CostTime: 执行时间,单位:秒。
|
23805
23811
|
:type CostTime: int
|
23806
23812
|
:param _InstanceId: 实例ID
|
23807
23813
|
:type InstanceId: str
|
@@ -23809,11 +23815,11 @@ class ImportRecord(AbstractModel):
|
|
23809
23815
|
:type WorkId: str
|
23810
23816
|
:param _FileName: 导入文件名
|
23811
23817
|
:type FileName: str
|
23812
|
-
:param _Process:
|
23818
|
+
:param _Process: 执行进度,单位:百分比。
|
23813
23819
|
:type Process: int
|
23814
23820
|
:param _CreateTime: 任务创建时间
|
23815
23821
|
:type CreateTime: str
|
23816
|
-
:param _FileSize:
|
23822
|
+
:param _FileSize: 文件大小,单位:byte。
|
23817
23823
|
:type FileSize: str
|
23818
23824
|
:param _Message: 任务执行信息
|
23819
23825
|
:type Message: str
|
@@ -23840,7 +23846,7 @@ class ImportRecord(AbstractModel):
|
|
23840
23846
|
|
23841
23847
|
@property
|
23842
23848
|
def Status(self):
|
23843
|
-
"""
|
23849
|
+
"""状态值。0 - 初始化中,1 - 运行中,2 - 运行成功,3 - 运行失败。
|
23844
23850
|
:rtype: int
|
23845
23851
|
"""
|
23846
23852
|
return self._Status
|
@@ -23851,7 +23857,7 @@ class ImportRecord(AbstractModel):
|
|
23851
23857
|
|
23852
23858
|
@property
|
23853
23859
|
def Code(self):
|
23854
|
-
"""
|
23860
|
+
"""状态值,为负数时任务异常。
|
23855
23861
|
:rtype: int
|
23856
23862
|
"""
|
23857
23863
|
return self._Code
|
@@ -23862,7 +23868,7 @@ class ImportRecord(AbstractModel):
|
|
23862
23868
|
|
23863
23869
|
@property
|
23864
23870
|
def CostTime(self):
|
23865
|
-
"""
|
23871
|
+
"""执行时间,单位:秒。
|
23866
23872
|
:rtype: int
|
23867
23873
|
"""
|
23868
23874
|
return self._CostTime
|
@@ -23906,7 +23912,7 @@ class ImportRecord(AbstractModel):
|
|
23906
23912
|
|
23907
23913
|
@property
|
23908
23914
|
def Process(self):
|
23909
|
-
"""
|
23915
|
+
"""执行进度,单位:百分比。
|
23910
23916
|
:rtype: int
|
23911
23917
|
"""
|
23912
23918
|
return self._Process
|
@@ -23928,7 +23934,7 @@ class ImportRecord(AbstractModel):
|
|
23928
23934
|
|
23929
23935
|
@property
|
23930
23936
|
def FileSize(self):
|
23931
|
-
"""
|
23937
|
+
"""文件大小,单位:byte。
|
23932
23938
|
:rtype: str
|
23933
23939
|
"""
|
23934
23940
|
return self._FileSize
|
@@ -25610,9 +25616,9 @@ class InstanceRebootTime(AbstractModel):
|
|
25610
25616
|
|
25611
25617
|
def __init__(self):
|
25612
25618
|
r"""
|
25613
|
-
:param _InstanceId: 实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID
|
25619
|
+
:param _InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
25614
25620
|
:type InstanceId: str
|
25615
|
-
:param _TimeInSeconds:
|
25621
|
+
:param _TimeInSeconds: 预期重启时间,单位:秒。
|
25616
25622
|
:type TimeInSeconds: int
|
25617
25623
|
"""
|
25618
25624
|
self._InstanceId = None
|
@@ -25620,7 +25626,7 @@ class InstanceRebootTime(AbstractModel):
|
|
25620
25626
|
|
25621
25627
|
@property
|
25622
25628
|
def InstanceId(self):
|
25623
|
-
"""实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID
|
25629
|
+
"""实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
25624
25630
|
:rtype: str
|
25625
25631
|
"""
|
25626
25632
|
return self._InstanceId
|
@@ -25631,7 +25637,7 @@ class InstanceRebootTime(AbstractModel):
|
|
25631
25637
|
|
25632
25638
|
@property
|
25633
25639
|
def TimeInSeconds(self):
|
25634
|
-
"""
|
25640
|
+
"""预期重启时间,单位:秒。
|
25635
25641
|
:rtype: int
|
25636
25642
|
"""
|
25637
25643
|
return self._TimeInSeconds
|
@@ -28989,7 +28995,7 @@ class ModifyDBInstanceNameRequest(AbstractModel):
|
|
28989
28995
|
r"""
|
28990
28996
|
:param _InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
28991
28997
|
:type InstanceId: str
|
28992
|
-
:param _InstanceName:
|
28998
|
+
:param _InstanceName: 修改后的实例名称,仅支持数字,英文大小写字母、中文以及特殊字符-_./()[]()+=::@ 且长度不能超过60。
|
28993
28999
|
:type InstanceName: str
|
28994
29000
|
"""
|
28995
29001
|
self._InstanceId = None
|
@@ -29008,7 +29014,7 @@ class ModifyDBInstanceNameRequest(AbstractModel):
|
|
29008
29014
|
|
29009
29015
|
@property
|
29010
29016
|
def InstanceName(self):
|
29011
|
-
"""
|
29017
|
+
"""修改后的实例名称,仅支持数字,英文大小写字母、中文以及特殊字符-_./()[]()+=::@ 且长度不能超过60。
|
29012
29018
|
:rtype: str
|
29013
29019
|
"""
|
29014
29020
|
return self._InstanceName
|
@@ -32798,9 +32804,9 @@ class ProxyNode(AbstractModel):
|
|
32798
32804
|
:type ProxyId: str
|
32799
32805
|
:param _Cpu: CPU核数
|
32800
32806
|
:type Cpu: int
|
32801
|
-
:param _Mem:
|
32807
|
+
:param _Mem: 内存大小,单位为 MB。
|
32802
32808
|
:type Mem: int
|
32803
|
-
:param _Status:
|
32809
|
+
:param _Status: 节点状态,0 - 初始化中,1 - 在线中,2 - 下线中,3 - 销毁中,4 - 故障恢复中,5 - 节点故障,6 - 切换中。
|
32804
32810
|
:type Status: str
|
32805
32811
|
:param _Zone: 代理节点可用区
|
32806
32812
|
:type Zone: str
|
@@ -32841,7 +32847,7 @@ class ProxyNode(AbstractModel):
|
|
32841
32847
|
|
32842
32848
|
@property
|
32843
32849
|
def Mem(self):
|
32844
|
-
"""
|
32850
|
+
"""内存大小,单位为 MB。
|
32845
32851
|
:rtype: int
|
32846
32852
|
"""
|
32847
32853
|
return self._Mem
|
@@ -32852,7 +32858,7 @@ class ProxyNode(AbstractModel):
|
|
32852
32858
|
|
32853
32859
|
@property
|
32854
32860
|
def Status(self):
|
32855
|
-
"""
|
32861
|
+
"""节点状态,0 - 初始化中,1 - 在线中,2 - 下线中,3 - 销毁中,4 - 故障恢复中,5 - 节点故障,6 - 切换中。
|
32856
32862
|
:rtype: str
|
32857
32863
|
"""
|
32858
32864
|
return self._Status
|
@@ -38357,15 +38363,16 @@ class UpgradeDBInstanceEngineVersionRequest(AbstractModel):
|
|
38357
38363
|
r"""
|
38358
38364
|
:param _InstanceId: 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
38359
38365
|
:type InstanceId: str
|
38360
|
-
:param _EngineVersion: 主实例数据库引擎版本,支持值包括:5.6
|
38366
|
+
:param _EngineVersion: 主实例数据库引擎版本,支持值包括:5.6、5.7、8.0。
|
38367
|
+
说明:不支持越级升级,升级后不支持降级。
|
38361
38368
|
:type EngineVersion: str
|
38362
38369
|
:param _WaitSwitch: 切换访问新实例的方式,默认为 0。支持值包括:0 - 立刻切换,1 - 时间窗切换;当该值为 1 时,升级过程中,切换访问新实例的流程将会在时间窗内进行,或者用户主动调用接口 [切换访问新实例](https://cloud.tencent.com/document/product/236/15864) 触发该流程。
|
38363
38370
|
:type WaitSwitch: int
|
38364
|
-
:param _UpgradeSubversion: 是否是内核子版本升级,支持的值:1 - 升级内核子版本;0 -
|
38371
|
+
:param _UpgradeSubversion: 是否是内核子版本升级,支持的值:1 - 升级内核子版本;0 - 升级数据库引擎版本。无默认值,请指定要升级的版本类型。
|
38365
38372
|
:type UpgradeSubversion: int
|
38366
|
-
:param _MaxDelayTime:
|
38373
|
+
:param _MaxDelayTime: 延迟阈值。取值范围:1 - 10。无默认值,不传此参数时,延迟阈值为0,表示延迟阈值不做设置。
|
38367
38374
|
:type MaxDelayTime: int
|
38368
|
-
:param _IgnoreErrKeyword: 5.7升级8.0是否忽略关键字错误,取值范围[0,1],1表示忽略,0
|
38375
|
+
:param _IgnoreErrKeyword: 5.7升级8.0是否忽略关键字错误,取值范围[0,1],1表示忽略,0表示不忽略。无默认值,不传此参数表示不做处理。
|
38369
38376
|
:type IgnoreErrKeyword: int
|
38370
38377
|
:param _ParamList: 版本升级支持指定参数
|
38371
38378
|
:type ParamList: list of UpgradeEngineVersionParams
|
@@ -38391,7 +38398,8 @@ class UpgradeDBInstanceEngineVersionRequest(AbstractModel):
|
|
38391
38398
|
|
38392
38399
|
@property
|
38393
38400
|
def EngineVersion(self):
|
38394
|
-
"""主实例数据库引擎版本,支持值包括:5.6
|
38401
|
+
"""主实例数据库引擎版本,支持值包括:5.6、5.7、8.0。
|
38402
|
+
说明:不支持越级升级,升级后不支持降级。
|
38395
38403
|
:rtype: str
|
38396
38404
|
"""
|
38397
38405
|
return self._EngineVersion
|
@@ -38413,7 +38421,7 @@ class UpgradeDBInstanceEngineVersionRequest(AbstractModel):
|
|
38413
38421
|
|
38414
38422
|
@property
|
38415
38423
|
def UpgradeSubversion(self):
|
38416
|
-
"""是否是内核子版本升级,支持的值:1 - 升级内核子版本;0 -
|
38424
|
+
"""是否是内核子版本升级,支持的值:1 - 升级内核子版本;0 - 升级数据库引擎版本。无默认值,请指定要升级的版本类型。
|
38417
38425
|
:rtype: int
|
38418
38426
|
"""
|
38419
38427
|
return self._UpgradeSubversion
|
@@ -38424,7 +38432,7 @@ class UpgradeDBInstanceEngineVersionRequest(AbstractModel):
|
|
38424
38432
|
|
38425
38433
|
@property
|
38426
38434
|
def MaxDelayTime(self):
|
38427
|
-
"""
|
38435
|
+
"""延迟阈值。取值范围:1 - 10。无默认值,不传此参数时,延迟阈值为0,表示延迟阈值不做设置。
|
38428
38436
|
:rtype: int
|
38429
38437
|
"""
|
38430
38438
|
return self._MaxDelayTime
|
@@ -38435,7 +38443,7 @@ class UpgradeDBInstanceEngineVersionRequest(AbstractModel):
|
|
38435
38443
|
|
38436
38444
|
@property
|
38437
38445
|
def IgnoreErrKeyword(self):
|
38438
|
-
"""5.7升级8.0是否忽略关键字错误,取值范围[0,1],1表示忽略,0
|
38446
|
+
"""5.7升级8.0是否忽略关键字错误,取值范围[0,1],1表示忽略,0表示不忽略。无默认值,不传此参数表示不做处理。
|
38439
38447
|
:rtype: int
|
38440
38448
|
"""
|
38441
38449
|
return self._IgnoreErrKeyword
|
@@ -210,6 +210,29 @@ class CdwchClient(AbstractClient):
|
|
210
210
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
211
211
|
|
212
212
|
|
213
|
+
def DescribeCNInstances(self, request):
|
214
|
+
"""获取云原生实例列表
|
215
|
+
|
216
|
+
:param request: Request instance for DescribeCNInstances.
|
217
|
+
:type request: :class:`tencentcloud.cdwch.v20200915.models.DescribeCNInstancesRequest`
|
218
|
+
:rtype: :class:`tencentcloud.cdwch.v20200915.models.DescribeCNInstancesResponse`
|
219
|
+
|
220
|
+
"""
|
221
|
+
try:
|
222
|
+
params = request._serialize()
|
223
|
+
headers = request.headers
|
224
|
+
body = self.call("DescribeCNInstances", params, headers=headers)
|
225
|
+
response = json.loads(body)
|
226
|
+
model = models.DescribeCNInstancesResponse()
|
227
|
+
model._deserialize(response["Response"])
|
228
|
+
return model
|
229
|
+
except Exception as e:
|
230
|
+
if isinstance(e, TencentCloudSDKException):
|
231
|
+
raise
|
232
|
+
else:
|
233
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
234
|
+
|
235
|
+
|
213
236
|
def DescribeCkSqlApis(self, request):
|
214
237
|
"""查询集群用户、集群表,数据库等相关信息
|
215
238
|
|