tencentcloud-sdk-python 3.0.1449__py2.py3-none-any.whl → 3.0.1451__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/cbs/v20170312/models.py +2 -2
- tencentcloud/dcdb/v20180411/dcdb_client.py +95 -0
- tencentcloud/dcdb/v20180411/errorcodes.py +9 -0
- tencentcloud/dcdb/v20180411/models.py +732 -0
- tencentcloud/ioa/v20220601/models.py +23 -8
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
- tencentcloud/iotexplorer/v20190423/models.py +614 -0
- tencentcloud/lke/v20231130/models.py +132 -0
- tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +111 -12
- tencentcloud/mariadb/v20170312/errorcodes.py +9 -0
- tencentcloud/mariadb/v20170312/mariadb_client.py +95 -0
- tencentcloud/mariadb/v20170312/models.py +702 -0
- tencentcloud/mna/v20210119/mna_client.py +23 -0
- tencentcloud/mna/v20210119/models.py +237 -0
- tencentcloud/oceanus/v20190422/models.py +156 -0
- tencentcloud/redis/v20180412/models.py +2 -2
- tencentcloud/redis/v20180412/redis_client.py +1 -1
- tencentcloud/tcb/v20180608/models.py +15 -0
- tencentcloud/tcbr/v20220217/models.py +15 -0
- tencentcloud/teo/v20220901/models.py +2 -2
- tencentcloud/tke/v20180525/models.py +12 -12
- tencentcloud/trtc/v20190722/models.py +2 -2
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/waf/v20180125/errorcodes.py +78 -0
- tencentcloud/waf/v20180125/models.py +2620 -69
- tencentcloud/waf/v20180125/waf_client.py +164 -0
- {tencentcloud_sdk_python-3.0.1449.dist-info → tencentcloud_sdk_python-3.0.1451.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1449.dist-info → tencentcloud_sdk_python-3.0.1451.dist-info}/RECORD +34 -34
- {tencentcloud_sdk_python-3.0.1449.dist-info → tencentcloud_sdk_python-3.0.1451.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1449.dist-info → tencentcloud_sdk_python-3.0.1451.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1449.dist-info → tencentcloud_sdk_python-3.0.1451.dist-info}/top_level.txt +0 -0
@@ -10564,6 +10564,85 @@ class DescribeFlowResponse(AbstractModel):
|
|
10564
10564
|
self._RequestId = params.get("RequestId")
|
10565
10565
|
|
10566
10566
|
|
10567
|
+
class DescribeInstanceSSLAttributesRequest(AbstractModel):
|
10568
|
+
"""DescribeInstanceSSLAttributes请求参数结构体
|
10569
|
+
|
10570
|
+
"""
|
10571
|
+
|
10572
|
+
def __init__(self):
|
10573
|
+
r"""
|
10574
|
+
:param _InstanceId: 实例ID
|
10575
|
+
:type InstanceId: str
|
10576
|
+
"""
|
10577
|
+
self._InstanceId = None
|
10578
|
+
|
10579
|
+
@property
|
10580
|
+
def InstanceId(self):
|
10581
|
+
"""实例ID
|
10582
|
+
:rtype: str
|
10583
|
+
"""
|
10584
|
+
return self._InstanceId
|
10585
|
+
|
10586
|
+
@InstanceId.setter
|
10587
|
+
def InstanceId(self, InstanceId):
|
10588
|
+
self._InstanceId = InstanceId
|
10589
|
+
|
10590
|
+
|
10591
|
+
def _deserialize(self, params):
|
10592
|
+
self._InstanceId = params.get("InstanceId")
|
10593
|
+
memeber_set = set(params.keys())
|
10594
|
+
for name, value in vars(self).items():
|
10595
|
+
property_name = name[1:]
|
10596
|
+
if property_name in memeber_set:
|
10597
|
+
memeber_set.remove(property_name)
|
10598
|
+
if len(memeber_set) > 0:
|
10599
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10600
|
+
|
10601
|
+
|
10602
|
+
|
10603
|
+
class DescribeInstanceSSLAttributesResponse(AbstractModel):
|
10604
|
+
"""DescribeInstanceSSLAttributes返回参数结构体
|
10605
|
+
|
10606
|
+
"""
|
10607
|
+
|
10608
|
+
def __init__(self):
|
10609
|
+
r"""
|
10610
|
+
:param _Status: 实例SSL认证功能当前状态。1-开启中;2-已开启;3-已关闭;4-关闭中
|
10611
|
+
:type Status: int
|
10612
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10613
|
+
:type RequestId: str
|
10614
|
+
"""
|
10615
|
+
self._Status = None
|
10616
|
+
self._RequestId = None
|
10617
|
+
|
10618
|
+
@property
|
10619
|
+
def Status(self):
|
10620
|
+
"""实例SSL认证功能当前状态。1-开启中;2-已开启;3-已关闭;4-关闭中
|
10621
|
+
:rtype: int
|
10622
|
+
"""
|
10623
|
+
return self._Status
|
10624
|
+
|
10625
|
+
@Status.setter
|
10626
|
+
def Status(self, Status):
|
10627
|
+
self._Status = Status
|
10628
|
+
|
10629
|
+
@property
|
10630
|
+
def RequestId(self):
|
10631
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10632
|
+
:rtype: str
|
10633
|
+
"""
|
10634
|
+
return self._RequestId
|
10635
|
+
|
10636
|
+
@RequestId.setter
|
10637
|
+
def RequestId(self, RequestId):
|
10638
|
+
self._RequestId = RequestId
|
10639
|
+
|
10640
|
+
|
10641
|
+
def _deserialize(self, params):
|
10642
|
+
self._Status = params.get("Status")
|
10643
|
+
self._RequestId = params.get("RequestId")
|
10644
|
+
|
10645
|
+
|
10567
10646
|
class DescribeLogFileRetentionPeriodRequest(AbstractModel):
|
10568
10647
|
"""DescribeLogFileRetentionPeriod请求参数结构体
|
10569
10648
|
|
@@ -10901,6 +10980,267 @@ class DescribeOrdersResponse(AbstractModel):
|
|
10901
10980
|
self._RequestId = params.get("RequestId")
|
10902
10981
|
|
10903
10982
|
|
10983
|
+
class DescribeProcessListRequest(AbstractModel):
|
10984
|
+
"""DescribeProcessList请求参数结构体
|
10985
|
+
|
10986
|
+
"""
|
10987
|
+
|
10988
|
+
def __init__(self):
|
10989
|
+
r"""
|
10990
|
+
:param _InstanceId: 实例ID。
|
10991
|
+
:type InstanceId: str
|
10992
|
+
:param _NodeId: 节点ID。
|
10993
|
+
:type NodeId: str
|
10994
|
+
:param _ShardId: 分片ID,与ShardSerialId设置一个。
|
10995
|
+
:type ShardId: str
|
10996
|
+
:param _ShardSerialId: 分片序列ID,与ShardId设置一个。
|
10997
|
+
:type ShardSerialId: str
|
10998
|
+
:param _Filters: <li><strong>id</strong></li>
|
10999
|
+
<p style="padding-left: 30px;">按照【<strong>会话ID</strong>】进行过滤。会话ID例如:125700。</p>
|
11000
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11001
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11002
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
11003
|
+
|
11004
|
+
<li><strong>user</strong></li>
|
11005
|
+
<p style="padding-left: 30px;">按照【<strong>用户名</strong>】进行过滤。用户名例如:root。</p>
|
11006
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11007
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11008
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
11009
|
+
<li><strong>host</strong></li>
|
11010
|
+
<p style="padding-left: 30px;">按照【<strong>客户端Host</strong>】进行过滤。客户端Host例如:127.0.0.1:46295。</p>
|
11011
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11012
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11013
|
+
<p style="padding-left: 30px;">匹配类型:前缀匹配,例如可以查询客户端IP不加端口:127.0.0.1。</p>
|
11014
|
+
<li><strong>state</strong></li>
|
11015
|
+
<p style="padding-left: 30px;">按照【<strong>线程状态</strong>】进行过滤。线程状态例如:Updating。</p>
|
11016
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11017
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11018
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
11019
|
+
<li><strong>db</strong></li>
|
11020
|
+
<p style="padding-left: 30px;">按照【<strong>数据库名称</strong>】进行过滤。数据库名称例如:mysql。</p>
|
11021
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11022
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11023
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
11024
|
+
<li><strong>command</strong></li>
|
11025
|
+
<p style="padding-left: 30px;">按照【<strong>命令类型</strong>】进行过滤。命令类型例如:Query。</p>
|
11026
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11027
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11028
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
11029
|
+
<li><strong>info</strong></li>
|
11030
|
+
<p style="padding-left: 30px;">按照【<strong>执行语句</strong>】进行过滤。执行语句例如:select id, name from demo.table1 where id > 10。</p>
|
11031
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11032
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11033
|
+
<p style="padding-left: 30px;">匹配类型:前缀匹配,例如SQL较长,可以输入SQL前缀:select id, name from demo.table1。</p>
|
11034
|
+
<li><strong>time</strong></li>
|
11035
|
+
<p style="padding-left: 30px;">按照【<strong>执行时间大于多少(秒)</strong>】进行过滤。例如:10,表示查询执行时间超过10秒的会话。</p>
|
11036
|
+
<p style="padding-left: 30px;">类型:Integer</p>
|
11037
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11038
|
+
<p style="padding-left: 30px;">匹配类型:范围匹配,Values值只支持输入1个。</p>
|
11039
|
+
每次请求的`Filters`的上限为10,`Filter.Values`的上限为50。
|
11040
|
+
:type Filters: list of Filter
|
11041
|
+
:param _Offset: 偏移量,默认为0。
|
11042
|
+
:type Offset: int
|
11043
|
+
:param _Limit: 返回数量,默认为20,最大值为100。
|
11044
|
+
:type Limit: int
|
11045
|
+
"""
|
11046
|
+
self._InstanceId = None
|
11047
|
+
self._NodeId = None
|
11048
|
+
self._ShardId = None
|
11049
|
+
self._ShardSerialId = None
|
11050
|
+
self._Filters = None
|
11051
|
+
self._Offset = None
|
11052
|
+
self._Limit = None
|
11053
|
+
|
11054
|
+
@property
|
11055
|
+
def InstanceId(self):
|
11056
|
+
"""实例ID。
|
11057
|
+
:rtype: str
|
11058
|
+
"""
|
11059
|
+
return self._InstanceId
|
11060
|
+
|
11061
|
+
@InstanceId.setter
|
11062
|
+
def InstanceId(self, InstanceId):
|
11063
|
+
self._InstanceId = InstanceId
|
11064
|
+
|
11065
|
+
@property
|
11066
|
+
def NodeId(self):
|
11067
|
+
"""节点ID。
|
11068
|
+
:rtype: str
|
11069
|
+
"""
|
11070
|
+
return self._NodeId
|
11071
|
+
|
11072
|
+
@NodeId.setter
|
11073
|
+
def NodeId(self, NodeId):
|
11074
|
+
self._NodeId = NodeId
|
11075
|
+
|
11076
|
+
@property
|
11077
|
+
def ShardId(self):
|
11078
|
+
"""分片ID,与ShardSerialId设置一个。
|
11079
|
+
:rtype: str
|
11080
|
+
"""
|
11081
|
+
return self._ShardId
|
11082
|
+
|
11083
|
+
@ShardId.setter
|
11084
|
+
def ShardId(self, ShardId):
|
11085
|
+
self._ShardId = ShardId
|
11086
|
+
|
11087
|
+
@property
|
11088
|
+
def ShardSerialId(self):
|
11089
|
+
"""分片序列ID,与ShardId设置一个。
|
11090
|
+
:rtype: str
|
11091
|
+
"""
|
11092
|
+
return self._ShardSerialId
|
11093
|
+
|
11094
|
+
@ShardSerialId.setter
|
11095
|
+
def ShardSerialId(self, ShardSerialId):
|
11096
|
+
self._ShardSerialId = ShardSerialId
|
11097
|
+
|
11098
|
+
@property
|
11099
|
+
def Filters(self):
|
11100
|
+
"""<li><strong>id</strong></li>
|
11101
|
+
<p style="padding-left: 30px;">按照【<strong>会话ID</strong>】进行过滤。会话ID例如:125700。</p>
|
11102
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11103
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11104
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
11105
|
+
|
11106
|
+
<li><strong>user</strong></li>
|
11107
|
+
<p style="padding-left: 30px;">按照【<strong>用户名</strong>】进行过滤。用户名例如:root。</p>
|
11108
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11109
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11110
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
11111
|
+
<li><strong>host</strong></li>
|
11112
|
+
<p style="padding-left: 30px;">按照【<strong>客户端Host</strong>】进行过滤。客户端Host例如:127.0.0.1:46295。</p>
|
11113
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11114
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11115
|
+
<p style="padding-left: 30px;">匹配类型:前缀匹配,例如可以查询客户端IP不加端口:127.0.0.1。</p>
|
11116
|
+
<li><strong>state</strong></li>
|
11117
|
+
<p style="padding-left: 30px;">按照【<strong>线程状态</strong>】进行过滤。线程状态例如:Updating。</p>
|
11118
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11119
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11120
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
11121
|
+
<li><strong>db</strong></li>
|
11122
|
+
<p style="padding-left: 30px;">按照【<strong>数据库名称</strong>】进行过滤。数据库名称例如:mysql。</p>
|
11123
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11124
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11125
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
11126
|
+
<li><strong>command</strong></li>
|
11127
|
+
<p style="padding-left: 30px;">按照【<strong>命令类型</strong>】进行过滤。命令类型例如:Query。</p>
|
11128
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11129
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11130
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
11131
|
+
<li><strong>info</strong></li>
|
11132
|
+
<p style="padding-left: 30px;">按照【<strong>执行语句</strong>】进行过滤。执行语句例如:select id, name from demo.table1 where id > 10。</p>
|
11133
|
+
<p style="padding-left: 30px;">类型:String</p>
|
11134
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11135
|
+
<p style="padding-left: 30px;">匹配类型:前缀匹配,例如SQL较长,可以输入SQL前缀:select id, name from demo.table1。</p>
|
11136
|
+
<li><strong>time</strong></li>
|
11137
|
+
<p style="padding-left: 30px;">按照【<strong>执行时间大于多少(秒)</strong>】进行过滤。例如:10,表示查询执行时间超过10秒的会话。</p>
|
11138
|
+
<p style="padding-left: 30px;">类型:Integer</p>
|
11139
|
+
<p style="padding-left: 30px;">必选:否</p>
|
11140
|
+
<p style="padding-left: 30px;">匹配类型:范围匹配,Values值只支持输入1个。</p>
|
11141
|
+
每次请求的`Filters`的上限为10,`Filter.Values`的上限为50。
|
11142
|
+
:rtype: list of Filter
|
11143
|
+
"""
|
11144
|
+
return self._Filters
|
11145
|
+
|
11146
|
+
@Filters.setter
|
11147
|
+
def Filters(self, Filters):
|
11148
|
+
self._Filters = Filters
|
11149
|
+
|
11150
|
+
@property
|
11151
|
+
def Offset(self):
|
11152
|
+
"""偏移量,默认为0。
|
11153
|
+
:rtype: int
|
11154
|
+
"""
|
11155
|
+
return self._Offset
|
11156
|
+
|
11157
|
+
@Offset.setter
|
11158
|
+
def Offset(self, Offset):
|
11159
|
+
self._Offset = Offset
|
11160
|
+
|
11161
|
+
@property
|
11162
|
+
def Limit(self):
|
11163
|
+
"""返回数量,默认为20,最大值为100。
|
11164
|
+
:rtype: int
|
11165
|
+
"""
|
11166
|
+
return self._Limit
|
11167
|
+
|
11168
|
+
@Limit.setter
|
11169
|
+
def Limit(self, Limit):
|
11170
|
+
self._Limit = Limit
|
11171
|
+
|
11172
|
+
|
11173
|
+
def _deserialize(self, params):
|
11174
|
+
self._InstanceId = params.get("InstanceId")
|
11175
|
+
self._NodeId = params.get("NodeId")
|
11176
|
+
self._ShardId = params.get("ShardId")
|
11177
|
+
self._ShardSerialId = params.get("ShardSerialId")
|
11178
|
+
if params.get("Filters") is not None:
|
11179
|
+
self._Filters = []
|
11180
|
+
for item in params.get("Filters"):
|
11181
|
+
obj = Filter()
|
11182
|
+
obj._deserialize(item)
|
11183
|
+
self._Filters.append(obj)
|
11184
|
+
self._Offset = params.get("Offset")
|
11185
|
+
self._Limit = params.get("Limit")
|
11186
|
+
memeber_set = set(params.keys())
|
11187
|
+
for name, value in vars(self).items():
|
11188
|
+
property_name = name[1:]
|
11189
|
+
if property_name in memeber_set:
|
11190
|
+
memeber_set.remove(property_name)
|
11191
|
+
if len(memeber_set) > 0:
|
11192
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11193
|
+
|
11194
|
+
|
11195
|
+
|
11196
|
+
class DescribeProcessListResponse(AbstractModel):
|
11197
|
+
"""DescribeProcessList返回参数结构体
|
11198
|
+
|
11199
|
+
"""
|
11200
|
+
|
11201
|
+
def __init__(self):
|
11202
|
+
r"""
|
11203
|
+
:param _ProcessList: 当前正在运行的线程(连接/查询)信息列表。
|
11204
|
+
:type ProcessList: list of Process
|
11205
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11206
|
+
:type RequestId: str
|
11207
|
+
"""
|
11208
|
+
self._ProcessList = None
|
11209
|
+
self._RequestId = None
|
11210
|
+
|
11211
|
+
@property
|
11212
|
+
def ProcessList(self):
|
11213
|
+
"""当前正在运行的线程(连接/查询)信息列表。
|
11214
|
+
:rtype: list of Process
|
11215
|
+
"""
|
11216
|
+
return self._ProcessList
|
11217
|
+
|
11218
|
+
@ProcessList.setter
|
11219
|
+
def ProcessList(self, ProcessList):
|
11220
|
+
self._ProcessList = ProcessList
|
11221
|
+
|
11222
|
+
@property
|
11223
|
+
def RequestId(self):
|
11224
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11225
|
+
:rtype: str
|
11226
|
+
"""
|
11227
|
+
return self._RequestId
|
11228
|
+
|
11229
|
+
@RequestId.setter
|
11230
|
+
def RequestId(self, RequestId):
|
11231
|
+
self._RequestId = RequestId
|
11232
|
+
|
11233
|
+
|
11234
|
+
def _deserialize(self, params):
|
11235
|
+
if params.get("ProcessList") is not None:
|
11236
|
+
self._ProcessList = []
|
11237
|
+
for item in params.get("ProcessList"):
|
11238
|
+
obj = Process()
|
11239
|
+
obj._deserialize(item)
|
11240
|
+
self._ProcessList.append(obj)
|
11241
|
+
self._RequestId = params.get("RequestId")
|
11242
|
+
|
11243
|
+
|
10904
11244
|
class DescribeProjectSecurityGroupsRequest(AbstractModel):
|
10905
11245
|
"""DescribeProjectSecurityGroups请求参数结构体
|
10906
11246
|
|
@@ -11720,6 +12060,60 @@ class ExpandShardConfig(AbstractModel):
|
|
11720
12060
|
|
11721
12061
|
|
11722
12062
|
|
12063
|
+
class Filter(AbstractModel):
|
12064
|
+
"""描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
12065
|
+
|
12066
|
+
若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
12067
|
+
若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
12068
|
+
|
12069
|
+
"""
|
12070
|
+
|
12071
|
+
def __init__(self):
|
12072
|
+
r"""
|
12073
|
+
:param _Name: 需要过滤的字段。
|
12074
|
+
:type Name: str
|
12075
|
+
:param _Values: 字段的过滤值。
|
12076
|
+
:type Values: list of str
|
12077
|
+
"""
|
12078
|
+
self._Name = None
|
12079
|
+
self._Values = None
|
12080
|
+
|
12081
|
+
@property
|
12082
|
+
def Name(self):
|
12083
|
+
"""需要过滤的字段。
|
12084
|
+
:rtype: str
|
12085
|
+
"""
|
12086
|
+
return self._Name
|
12087
|
+
|
12088
|
+
@Name.setter
|
12089
|
+
def Name(self, Name):
|
12090
|
+
self._Name = Name
|
12091
|
+
|
12092
|
+
@property
|
12093
|
+
def Values(self):
|
12094
|
+
"""字段的过滤值。
|
12095
|
+
:rtype: list of str
|
12096
|
+
"""
|
12097
|
+
return self._Values
|
12098
|
+
|
12099
|
+
@Values.setter
|
12100
|
+
def Values(self, Values):
|
12101
|
+
self._Values = Values
|
12102
|
+
|
12103
|
+
|
12104
|
+
def _deserialize(self, params):
|
12105
|
+
self._Name = params.get("Name")
|
12106
|
+
self._Values = params.get("Values")
|
12107
|
+
memeber_set = set(params.keys())
|
12108
|
+
for name, value in vars(self).items():
|
12109
|
+
property_name = name[1:]
|
12110
|
+
if property_name in memeber_set:
|
12111
|
+
memeber_set.remove(property_name)
|
12112
|
+
if len(memeber_set) > 0:
|
12113
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12114
|
+
|
12115
|
+
|
12116
|
+
|
11723
12117
|
class FlushBinlogRequest(AbstractModel):
|
11724
12118
|
"""FlushBinlog请求参数结构体
|
11725
12119
|
|
@@ -14045,6 +14439,164 @@ class ModifyInstanceNetworkResponse(AbstractModel):
|
|
14045
14439
|
self._RequestId = params.get("RequestId")
|
14046
14440
|
|
14047
14441
|
|
14442
|
+
class ModifyInstanceProtectedPropertyRequest(AbstractModel):
|
14443
|
+
"""ModifyInstanceProtectedProperty请求参数结构体
|
14444
|
+
|
14445
|
+
"""
|
14446
|
+
|
14447
|
+
def __init__(self):
|
14448
|
+
r"""
|
14449
|
+
:param _InstanceId: 实例Id
|
14450
|
+
:type InstanceId: str
|
14451
|
+
:param _ProtectedProperty: 0-允许删除,无销毁保护,1-禁止删除,有销毁保护
|
14452
|
+
:type ProtectedProperty: int
|
14453
|
+
"""
|
14454
|
+
self._InstanceId = None
|
14455
|
+
self._ProtectedProperty = None
|
14456
|
+
|
14457
|
+
@property
|
14458
|
+
def InstanceId(self):
|
14459
|
+
"""实例Id
|
14460
|
+
:rtype: str
|
14461
|
+
"""
|
14462
|
+
return self._InstanceId
|
14463
|
+
|
14464
|
+
@InstanceId.setter
|
14465
|
+
def InstanceId(self, InstanceId):
|
14466
|
+
self._InstanceId = InstanceId
|
14467
|
+
|
14468
|
+
@property
|
14469
|
+
def ProtectedProperty(self):
|
14470
|
+
"""0-允许删除,无销毁保护,1-禁止删除,有销毁保护
|
14471
|
+
:rtype: int
|
14472
|
+
"""
|
14473
|
+
return self._ProtectedProperty
|
14474
|
+
|
14475
|
+
@ProtectedProperty.setter
|
14476
|
+
def ProtectedProperty(self, ProtectedProperty):
|
14477
|
+
self._ProtectedProperty = ProtectedProperty
|
14478
|
+
|
14479
|
+
|
14480
|
+
def _deserialize(self, params):
|
14481
|
+
self._InstanceId = params.get("InstanceId")
|
14482
|
+
self._ProtectedProperty = params.get("ProtectedProperty")
|
14483
|
+
memeber_set = set(params.keys())
|
14484
|
+
for name, value in vars(self).items():
|
14485
|
+
property_name = name[1:]
|
14486
|
+
if property_name in memeber_set:
|
14487
|
+
memeber_set.remove(property_name)
|
14488
|
+
if len(memeber_set) > 0:
|
14489
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14490
|
+
|
14491
|
+
|
14492
|
+
|
14493
|
+
class ModifyInstanceProtectedPropertyResponse(AbstractModel):
|
14494
|
+
"""ModifyInstanceProtectedProperty返回参数结构体
|
14495
|
+
|
14496
|
+
"""
|
14497
|
+
|
14498
|
+
def __init__(self):
|
14499
|
+
r"""
|
14500
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14501
|
+
:type RequestId: str
|
14502
|
+
"""
|
14503
|
+
self._RequestId = None
|
14504
|
+
|
14505
|
+
@property
|
14506
|
+
def RequestId(self):
|
14507
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14508
|
+
:rtype: str
|
14509
|
+
"""
|
14510
|
+
return self._RequestId
|
14511
|
+
|
14512
|
+
@RequestId.setter
|
14513
|
+
def RequestId(self, RequestId):
|
14514
|
+
self._RequestId = RequestId
|
14515
|
+
|
14516
|
+
|
14517
|
+
def _deserialize(self, params):
|
14518
|
+
self._RequestId = params.get("RequestId")
|
14519
|
+
|
14520
|
+
|
14521
|
+
class ModifyInstanceSSLAttributesRequest(AbstractModel):
|
14522
|
+
"""ModifyInstanceSSLAttributes请求参数结构体
|
14523
|
+
|
14524
|
+
"""
|
14525
|
+
|
14526
|
+
def __init__(self):
|
14527
|
+
r"""
|
14528
|
+
:param _InstanceId: 实例ID
|
14529
|
+
:type InstanceId: str
|
14530
|
+
:param _SSLEnabled: 是否开启实例的SSL认证。0-关闭;1-开启
|
14531
|
+
:type SSLEnabled: int
|
14532
|
+
"""
|
14533
|
+
self._InstanceId = None
|
14534
|
+
self._SSLEnabled = None
|
14535
|
+
|
14536
|
+
@property
|
14537
|
+
def InstanceId(self):
|
14538
|
+
"""实例ID
|
14539
|
+
:rtype: str
|
14540
|
+
"""
|
14541
|
+
return self._InstanceId
|
14542
|
+
|
14543
|
+
@InstanceId.setter
|
14544
|
+
def InstanceId(self, InstanceId):
|
14545
|
+
self._InstanceId = InstanceId
|
14546
|
+
|
14547
|
+
@property
|
14548
|
+
def SSLEnabled(self):
|
14549
|
+
"""是否开启实例的SSL认证。0-关闭;1-开启
|
14550
|
+
:rtype: int
|
14551
|
+
"""
|
14552
|
+
return self._SSLEnabled
|
14553
|
+
|
14554
|
+
@SSLEnabled.setter
|
14555
|
+
def SSLEnabled(self, SSLEnabled):
|
14556
|
+
self._SSLEnabled = SSLEnabled
|
14557
|
+
|
14558
|
+
|
14559
|
+
def _deserialize(self, params):
|
14560
|
+
self._InstanceId = params.get("InstanceId")
|
14561
|
+
self._SSLEnabled = params.get("SSLEnabled")
|
14562
|
+
memeber_set = set(params.keys())
|
14563
|
+
for name, value in vars(self).items():
|
14564
|
+
property_name = name[1:]
|
14565
|
+
if property_name in memeber_set:
|
14566
|
+
memeber_set.remove(property_name)
|
14567
|
+
if len(memeber_set) > 0:
|
14568
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14569
|
+
|
14570
|
+
|
14571
|
+
|
14572
|
+
class ModifyInstanceSSLAttributesResponse(AbstractModel):
|
14573
|
+
"""ModifyInstanceSSLAttributes返回参数结构体
|
14574
|
+
|
14575
|
+
"""
|
14576
|
+
|
14577
|
+
def __init__(self):
|
14578
|
+
r"""
|
14579
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14580
|
+
:type RequestId: str
|
14581
|
+
"""
|
14582
|
+
self._RequestId = None
|
14583
|
+
|
14584
|
+
@property
|
14585
|
+
def RequestId(self):
|
14586
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14587
|
+
:rtype: str
|
14588
|
+
"""
|
14589
|
+
return self._RequestId
|
14590
|
+
|
14591
|
+
@RequestId.setter
|
14592
|
+
def RequestId(self, RequestId):
|
14593
|
+
self._RequestId = RequestId
|
14594
|
+
|
14595
|
+
|
14596
|
+
def _deserialize(self, params):
|
14597
|
+
self._RequestId = params.get("RequestId")
|
14598
|
+
|
14599
|
+
|
14048
14600
|
class ModifyInstanceVipRequest(AbstractModel):
|
14049
14601
|
"""ModifyInstanceVip请求参数结构体
|
14050
14602
|
|
@@ -14890,6 +15442,186 @@ class ParamModifyResult(AbstractModel):
|
|
14890
15442
|
|
14891
15443
|
|
14892
15444
|
|
15445
|
+
class Process(AbstractModel):
|
15446
|
+
"""用于显示当前正在运行的线程(连接/查询)信息,数据源来自系统表:information_schema.processlist。
|
15447
|
+
|
15448
|
+
"""
|
15449
|
+
|
15450
|
+
def __init__(self):
|
15451
|
+
r"""
|
15452
|
+
:param _Id: 线程ID:唯一标识当前连接/线程的整数。
|
15453
|
+
:type Id: int
|
15454
|
+
:param _User: 用户名:发起连接的 MySQL 用户。
|
15455
|
+
:type User: str
|
15456
|
+
:param _Host: 客户端地址:发起连接的客户端主机名及端口(格式:host:port)。
|
15457
|
+
:type Host: str
|
15458
|
+
:param _Db: 当前数据库:线程正在使用的数据库名(未选择数据库时为 空串)。
|
15459
|
+
:type Db: str
|
15460
|
+
:param _Command: 命令类型:线程正在执行的命令类型。常见值:
|
15461
|
+
|
15462
|
+
- Sleep:空闲等待状态(等待新查询)。
|
15463
|
+
- Query:正在执行查询或 SQL 语句。
|
15464
|
+
- Binlog Dump:主服务器线程向从服务器发送二进制日志。
|
15465
|
+
- Connect:客户端正在连接。
|
15466
|
+
- Killed:线程被终止但未完全退出。
|
15467
|
+
:type Command: str
|
15468
|
+
:param _Time: 执行时间(秒):线程在当前状态持续的秒数。
|
15469
|
+
:type Time: int
|
15470
|
+
:param _ProcessStartTime: 执行开始时间(秒):线程在当前状态开始执行的时间。
|
15471
|
+
:type ProcessStartTime: str
|
15472
|
+
:param _State: 状态描述:线程当前的详细操作状态。常见值:
|
15473
|
+
|
15474
|
+
- Sending data:正在处理/发送数据。
|
15475
|
+
- Locked:等待表锁释放(例如 MyISAM 表级锁)。
|
15476
|
+
- Sorting result:排序查询结果。
|
15477
|
+
- Updating:更新表中数据。
|
15478
|
+
- 当为NULL返回空串:无明确状态(如 Sleep 时)。
|
15479
|
+
:type State: str
|
15480
|
+
:param _Info: 执行语句:正在执行的 SQL 语句(前 1024 字符)。
|
15481
|
+
:type Info: str
|
15482
|
+
"""
|
15483
|
+
self._Id = None
|
15484
|
+
self._User = None
|
15485
|
+
self._Host = None
|
15486
|
+
self._Db = None
|
15487
|
+
self._Command = None
|
15488
|
+
self._Time = None
|
15489
|
+
self._ProcessStartTime = None
|
15490
|
+
self._State = None
|
15491
|
+
self._Info = None
|
15492
|
+
|
15493
|
+
@property
|
15494
|
+
def Id(self):
|
15495
|
+
"""线程ID:唯一标识当前连接/线程的整数。
|
15496
|
+
:rtype: int
|
15497
|
+
"""
|
15498
|
+
return self._Id
|
15499
|
+
|
15500
|
+
@Id.setter
|
15501
|
+
def Id(self, Id):
|
15502
|
+
self._Id = Id
|
15503
|
+
|
15504
|
+
@property
|
15505
|
+
def User(self):
|
15506
|
+
"""用户名:发起连接的 MySQL 用户。
|
15507
|
+
:rtype: str
|
15508
|
+
"""
|
15509
|
+
return self._User
|
15510
|
+
|
15511
|
+
@User.setter
|
15512
|
+
def User(self, User):
|
15513
|
+
self._User = User
|
15514
|
+
|
15515
|
+
@property
|
15516
|
+
def Host(self):
|
15517
|
+
"""客户端地址:发起连接的客户端主机名及端口(格式:host:port)。
|
15518
|
+
:rtype: str
|
15519
|
+
"""
|
15520
|
+
return self._Host
|
15521
|
+
|
15522
|
+
@Host.setter
|
15523
|
+
def Host(self, Host):
|
15524
|
+
self._Host = Host
|
15525
|
+
|
15526
|
+
@property
|
15527
|
+
def Db(self):
|
15528
|
+
"""当前数据库:线程正在使用的数据库名(未选择数据库时为 空串)。
|
15529
|
+
:rtype: str
|
15530
|
+
"""
|
15531
|
+
return self._Db
|
15532
|
+
|
15533
|
+
@Db.setter
|
15534
|
+
def Db(self, Db):
|
15535
|
+
self._Db = Db
|
15536
|
+
|
15537
|
+
@property
|
15538
|
+
def Command(self):
|
15539
|
+
"""命令类型:线程正在执行的命令类型。常见值:
|
15540
|
+
|
15541
|
+
- Sleep:空闲等待状态(等待新查询)。
|
15542
|
+
- Query:正在执行查询或 SQL 语句。
|
15543
|
+
- Binlog Dump:主服务器线程向从服务器发送二进制日志。
|
15544
|
+
- Connect:客户端正在连接。
|
15545
|
+
- Killed:线程被终止但未完全退出。
|
15546
|
+
:rtype: str
|
15547
|
+
"""
|
15548
|
+
return self._Command
|
15549
|
+
|
15550
|
+
@Command.setter
|
15551
|
+
def Command(self, Command):
|
15552
|
+
self._Command = Command
|
15553
|
+
|
15554
|
+
@property
|
15555
|
+
def Time(self):
|
15556
|
+
"""执行时间(秒):线程在当前状态持续的秒数。
|
15557
|
+
:rtype: int
|
15558
|
+
"""
|
15559
|
+
return self._Time
|
15560
|
+
|
15561
|
+
@Time.setter
|
15562
|
+
def Time(self, Time):
|
15563
|
+
self._Time = Time
|
15564
|
+
|
15565
|
+
@property
|
15566
|
+
def ProcessStartTime(self):
|
15567
|
+
"""执行开始时间(秒):线程在当前状态开始执行的时间。
|
15568
|
+
:rtype: str
|
15569
|
+
"""
|
15570
|
+
return self._ProcessStartTime
|
15571
|
+
|
15572
|
+
@ProcessStartTime.setter
|
15573
|
+
def ProcessStartTime(self, ProcessStartTime):
|
15574
|
+
self._ProcessStartTime = ProcessStartTime
|
15575
|
+
|
15576
|
+
@property
|
15577
|
+
def State(self):
|
15578
|
+
"""状态描述:线程当前的详细操作状态。常见值:
|
15579
|
+
|
15580
|
+
- Sending data:正在处理/发送数据。
|
15581
|
+
- Locked:等待表锁释放(例如 MyISAM 表级锁)。
|
15582
|
+
- Sorting result:排序查询结果。
|
15583
|
+
- Updating:更新表中数据。
|
15584
|
+
- 当为NULL返回空串:无明确状态(如 Sleep 时)。
|
15585
|
+
:rtype: str
|
15586
|
+
"""
|
15587
|
+
return self._State
|
15588
|
+
|
15589
|
+
@State.setter
|
15590
|
+
def State(self, State):
|
15591
|
+
self._State = State
|
15592
|
+
|
15593
|
+
@property
|
15594
|
+
def Info(self):
|
15595
|
+
"""执行语句:正在执行的 SQL 语句(前 1024 字符)。
|
15596
|
+
:rtype: str
|
15597
|
+
"""
|
15598
|
+
return self._Info
|
15599
|
+
|
15600
|
+
@Info.setter
|
15601
|
+
def Info(self, Info):
|
15602
|
+
self._Info = Info
|
15603
|
+
|
15604
|
+
|
15605
|
+
def _deserialize(self, params):
|
15606
|
+
self._Id = params.get("Id")
|
15607
|
+
self._User = params.get("User")
|
15608
|
+
self._Host = params.get("Host")
|
15609
|
+
self._Db = params.get("Db")
|
15610
|
+
self._Command = params.get("Command")
|
15611
|
+
self._Time = params.get("Time")
|
15612
|
+
self._ProcessStartTime = params.get("ProcessStartTime")
|
15613
|
+
self._State = params.get("State")
|
15614
|
+
self._Info = params.get("Info")
|
15615
|
+
memeber_set = set(params.keys())
|
15616
|
+
for name, value in vars(self).items():
|
15617
|
+
property_name = name[1:]
|
15618
|
+
if property_name in memeber_set:
|
15619
|
+
memeber_set.remove(property_name)
|
15620
|
+
if len(memeber_set) > 0:
|
15621
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
15622
|
+
|
15623
|
+
|
15624
|
+
|
14893
15625
|
class Project(AbstractModel):
|
14894
15626
|
"""项目信息描述
|
14895
15627
|
|