tencentcloud-sdk-python 3.0.1448__py2.py3-none-any.whl → 3.0.1450__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/apm/v20210622/models.py +30 -0
- 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/dts/v20211206/models.py +122 -2
- tencentcloud/ess/v20201111/models.py +32 -2
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
- tencentcloud/iotexplorer/v20190423/models.py +614 -0
- tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +24 -10
- tencentcloud/mariadb/v20170312/errorcodes.py +9 -0
- tencentcloud/mariadb/v20170312/mariadb_client.py +95 -0
- tencentcloud/mariadb/v20170312/models.py +702 -0
- tencentcloud/ocr/v20181119/ocr_client.py +2 -2
- tencentcloud/teo/v20220901/models.py +2 -2
- tencentcloud/trtc/v20190722/models.py +2 -2
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/waf/v20180125/models.py +79 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +1666 -970
- tencentcloud/wedata/v20210820/wedata_client.py +23 -52
- {tencentcloud_sdk_python-3.0.1448.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1448.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/RECORD +29 -29
- {tencentcloud_sdk_python-3.0.1448.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1448.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1448.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/top_level.txt +0 -0
@@ -9029,6 +9029,85 @@ class DescribeInstanceNodeInfoResponse(AbstractModel):
|
|
9029
9029
|
self._RequestId = params.get("RequestId")
|
9030
9030
|
|
9031
9031
|
|
9032
|
+
class DescribeInstanceSSLAttributesRequest(AbstractModel):
|
9033
|
+
"""DescribeInstanceSSLAttributes请求参数结构体
|
9034
|
+
|
9035
|
+
"""
|
9036
|
+
|
9037
|
+
def __init__(self):
|
9038
|
+
r"""
|
9039
|
+
:param _InstanceId: 实例ID
|
9040
|
+
:type InstanceId: str
|
9041
|
+
"""
|
9042
|
+
self._InstanceId = None
|
9043
|
+
|
9044
|
+
@property
|
9045
|
+
def InstanceId(self):
|
9046
|
+
"""实例ID
|
9047
|
+
:rtype: str
|
9048
|
+
"""
|
9049
|
+
return self._InstanceId
|
9050
|
+
|
9051
|
+
@InstanceId.setter
|
9052
|
+
def InstanceId(self, InstanceId):
|
9053
|
+
self._InstanceId = InstanceId
|
9054
|
+
|
9055
|
+
|
9056
|
+
def _deserialize(self, params):
|
9057
|
+
self._InstanceId = params.get("InstanceId")
|
9058
|
+
memeber_set = set(params.keys())
|
9059
|
+
for name, value in vars(self).items():
|
9060
|
+
property_name = name[1:]
|
9061
|
+
if property_name in memeber_set:
|
9062
|
+
memeber_set.remove(property_name)
|
9063
|
+
if len(memeber_set) > 0:
|
9064
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9065
|
+
|
9066
|
+
|
9067
|
+
|
9068
|
+
class DescribeInstanceSSLAttributesResponse(AbstractModel):
|
9069
|
+
"""DescribeInstanceSSLAttributes返回参数结构体
|
9070
|
+
|
9071
|
+
"""
|
9072
|
+
|
9073
|
+
def __init__(self):
|
9074
|
+
r"""
|
9075
|
+
:param _Status: 实例SSL认证功能当前状态。1-开启中;2-已开启;3-已关闭;4-关闭中
|
9076
|
+
:type Status: int
|
9077
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9078
|
+
:type RequestId: str
|
9079
|
+
"""
|
9080
|
+
self._Status = None
|
9081
|
+
self._RequestId = None
|
9082
|
+
|
9083
|
+
@property
|
9084
|
+
def Status(self):
|
9085
|
+
"""实例SSL认证功能当前状态。1-开启中;2-已开启;3-已关闭;4-关闭中
|
9086
|
+
:rtype: int
|
9087
|
+
"""
|
9088
|
+
return self._Status
|
9089
|
+
|
9090
|
+
@Status.setter
|
9091
|
+
def Status(self, Status):
|
9092
|
+
self._Status = Status
|
9093
|
+
|
9094
|
+
@property
|
9095
|
+
def RequestId(self):
|
9096
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9097
|
+
:rtype: str
|
9098
|
+
"""
|
9099
|
+
return self._RequestId
|
9100
|
+
|
9101
|
+
@RequestId.setter
|
9102
|
+
def RequestId(self, RequestId):
|
9103
|
+
self._RequestId = RequestId
|
9104
|
+
|
9105
|
+
|
9106
|
+
def _deserialize(self, params):
|
9107
|
+
self._Status = params.get("Status")
|
9108
|
+
self._RequestId = params.get("RequestId")
|
9109
|
+
|
9110
|
+
|
9032
9111
|
class DescribeLogFileRetentionPeriodRequest(AbstractModel):
|
9033
9112
|
"""DescribeLogFileRetentionPeriod请求参数结构体
|
9034
9113
|
|
@@ -9454,6 +9533,237 @@ class DescribePriceResponse(AbstractModel):
|
|
9454
9533
|
self._RequestId = params.get("RequestId")
|
9455
9534
|
|
9456
9535
|
|
9536
|
+
class DescribeProcessListRequest(AbstractModel):
|
9537
|
+
"""DescribeProcessList请求参数结构体
|
9538
|
+
|
9539
|
+
"""
|
9540
|
+
|
9541
|
+
def __init__(self):
|
9542
|
+
r"""
|
9543
|
+
:param _InstanceId: 实例ID。
|
9544
|
+
:type InstanceId: str
|
9545
|
+
:param _NodeId: 节点ID。
|
9546
|
+
:type NodeId: str
|
9547
|
+
:param _Filters: <li><strong>id</strong></li>
|
9548
|
+
<p style="padding-left: 30px;">按照【<strong>会话ID</strong>】进行过滤。会话ID例如:125700。</p>
|
9549
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9550
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9551
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
9552
|
+
|
9553
|
+
<li><strong>user</strong></li>
|
9554
|
+
<p style="padding-left: 30px;">按照【<strong>用户名</strong>】进行过滤。用户名例如:root。</p>
|
9555
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9556
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9557
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
9558
|
+
<li><strong>host</strong></li>
|
9559
|
+
<p style="padding-left: 30px;">按照【<strong>客户端Host</strong>】进行过滤。客户端Host例如:127.0.0.1:46295。</p>
|
9560
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9561
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9562
|
+
<p style="padding-left: 30px;">匹配类型:前缀匹配,例如可以查询客户端IP不加端口:127.0.0.1。</p>
|
9563
|
+
<li><strong>state</strong></li>
|
9564
|
+
<p style="padding-left: 30px;">按照【<strong>线程状态</strong>】进行过滤。线程状态例如:Updating。</p>
|
9565
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9566
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9567
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
9568
|
+
<li><strong>db</strong></li>
|
9569
|
+
<p style="padding-left: 30px;">按照【<strong>数据库名称</strong>】进行过滤。数据库名称例如:mysql。</p>
|
9570
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9571
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9572
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
9573
|
+
<li><strong>command</strong></li>
|
9574
|
+
<p style="padding-left: 30px;">按照【<strong>命令类型</strong>】进行过滤。命令类型例如:Query。</p>
|
9575
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9576
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9577
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
9578
|
+
<li><strong>info</strong></li>
|
9579
|
+
<p style="padding-left: 30px;">按照【<strong>执行语句</strong>】进行过滤。执行语句例如:select id, name from demo.table1 where id > 10。</p>
|
9580
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9581
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9582
|
+
<p style="padding-left: 30px;">匹配类型:前缀匹配,例如SQL较长,可以输入SQL前缀:select id, name from demo.table1。</p>
|
9583
|
+
<li><strong>time</strong></li>
|
9584
|
+
<p style="padding-left: 30px;">按照【<strong>执行时间大于多少(秒)</strong>】进行过滤。例如:10,表示查询执行时间超过10秒的会话。</p>
|
9585
|
+
<p style="padding-left: 30px;">类型:Integer</p>
|
9586
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9587
|
+
<p style="padding-left: 30px;">匹配类型:范围匹配,Values值只支持输入1个。</p>
|
9588
|
+
每次请求的`Filters`的上限为10,`Filter.Values`的上限为50。
|
9589
|
+
:type Filters: list of Filter
|
9590
|
+
:param _Offset: 偏移量,默认为0。
|
9591
|
+
:type Offset: int
|
9592
|
+
:param _Limit: 返回数量,默认为20,最大值为100。
|
9593
|
+
:type Limit: int
|
9594
|
+
"""
|
9595
|
+
self._InstanceId = None
|
9596
|
+
self._NodeId = None
|
9597
|
+
self._Filters = None
|
9598
|
+
self._Offset = None
|
9599
|
+
self._Limit = None
|
9600
|
+
|
9601
|
+
@property
|
9602
|
+
def InstanceId(self):
|
9603
|
+
"""实例ID。
|
9604
|
+
:rtype: str
|
9605
|
+
"""
|
9606
|
+
return self._InstanceId
|
9607
|
+
|
9608
|
+
@InstanceId.setter
|
9609
|
+
def InstanceId(self, InstanceId):
|
9610
|
+
self._InstanceId = InstanceId
|
9611
|
+
|
9612
|
+
@property
|
9613
|
+
def NodeId(self):
|
9614
|
+
"""节点ID。
|
9615
|
+
:rtype: str
|
9616
|
+
"""
|
9617
|
+
return self._NodeId
|
9618
|
+
|
9619
|
+
@NodeId.setter
|
9620
|
+
def NodeId(self, NodeId):
|
9621
|
+
self._NodeId = NodeId
|
9622
|
+
|
9623
|
+
@property
|
9624
|
+
def Filters(self):
|
9625
|
+
"""<li><strong>id</strong></li>
|
9626
|
+
<p style="padding-left: 30px;">按照【<strong>会话ID</strong>】进行过滤。会话ID例如:125700。</p>
|
9627
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9628
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9629
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
9630
|
+
|
9631
|
+
<li><strong>user</strong></li>
|
9632
|
+
<p style="padding-left: 30px;">按照【<strong>用户名</strong>】进行过滤。用户名例如:root。</p>
|
9633
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9634
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9635
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
9636
|
+
<li><strong>host</strong></li>
|
9637
|
+
<p style="padding-left: 30px;">按照【<strong>客户端Host</strong>】进行过滤。客户端Host例如:127.0.0.1:46295。</p>
|
9638
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9639
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9640
|
+
<p style="padding-left: 30px;">匹配类型:前缀匹配,例如可以查询客户端IP不加端口:127.0.0.1。</p>
|
9641
|
+
<li><strong>state</strong></li>
|
9642
|
+
<p style="padding-left: 30px;">按照【<strong>线程状态</strong>】进行过滤。线程状态例如:Updating。</p>
|
9643
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9644
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9645
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
9646
|
+
<li><strong>db</strong></li>
|
9647
|
+
<p style="padding-left: 30px;">按照【<strong>数据库名称</strong>】进行过滤。数据库名称例如:mysql。</p>
|
9648
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9649
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9650
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
9651
|
+
<li><strong>command</strong></li>
|
9652
|
+
<p style="padding-left: 30px;">按照【<strong>命令类型</strong>】进行过滤。命令类型例如:Query。</p>
|
9653
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9654
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9655
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
9656
|
+
<li><strong>info</strong></li>
|
9657
|
+
<p style="padding-left: 30px;">按照【<strong>执行语句</strong>】进行过滤。执行语句例如:select id, name from demo.table1 where id > 10。</p>
|
9658
|
+
<p style="padding-left: 30px;">类型:String</p>
|
9659
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9660
|
+
<p style="padding-left: 30px;">匹配类型:前缀匹配,例如SQL较长,可以输入SQL前缀:select id, name from demo.table1。</p>
|
9661
|
+
<li><strong>time</strong></li>
|
9662
|
+
<p style="padding-left: 30px;">按照【<strong>执行时间大于多少(秒)</strong>】进行过滤。例如:10,表示查询执行时间超过10秒的会话。</p>
|
9663
|
+
<p style="padding-left: 30px;">类型:Integer</p>
|
9664
|
+
<p style="padding-left: 30px;">必选:否</p>
|
9665
|
+
<p style="padding-left: 30px;">匹配类型:范围匹配,Values值只支持输入1个。</p>
|
9666
|
+
每次请求的`Filters`的上限为10,`Filter.Values`的上限为50。
|
9667
|
+
:rtype: list of Filter
|
9668
|
+
"""
|
9669
|
+
return self._Filters
|
9670
|
+
|
9671
|
+
@Filters.setter
|
9672
|
+
def Filters(self, Filters):
|
9673
|
+
self._Filters = Filters
|
9674
|
+
|
9675
|
+
@property
|
9676
|
+
def Offset(self):
|
9677
|
+
"""偏移量,默认为0。
|
9678
|
+
:rtype: int
|
9679
|
+
"""
|
9680
|
+
return self._Offset
|
9681
|
+
|
9682
|
+
@Offset.setter
|
9683
|
+
def Offset(self, Offset):
|
9684
|
+
self._Offset = Offset
|
9685
|
+
|
9686
|
+
@property
|
9687
|
+
def Limit(self):
|
9688
|
+
"""返回数量,默认为20,最大值为100。
|
9689
|
+
:rtype: int
|
9690
|
+
"""
|
9691
|
+
return self._Limit
|
9692
|
+
|
9693
|
+
@Limit.setter
|
9694
|
+
def Limit(self, Limit):
|
9695
|
+
self._Limit = Limit
|
9696
|
+
|
9697
|
+
|
9698
|
+
def _deserialize(self, params):
|
9699
|
+
self._InstanceId = params.get("InstanceId")
|
9700
|
+
self._NodeId = params.get("NodeId")
|
9701
|
+
if params.get("Filters") is not None:
|
9702
|
+
self._Filters = []
|
9703
|
+
for item in params.get("Filters"):
|
9704
|
+
obj = Filter()
|
9705
|
+
obj._deserialize(item)
|
9706
|
+
self._Filters.append(obj)
|
9707
|
+
self._Offset = params.get("Offset")
|
9708
|
+
self._Limit = params.get("Limit")
|
9709
|
+
memeber_set = set(params.keys())
|
9710
|
+
for name, value in vars(self).items():
|
9711
|
+
property_name = name[1:]
|
9712
|
+
if property_name in memeber_set:
|
9713
|
+
memeber_set.remove(property_name)
|
9714
|
+
if len(memeber_set) > 0:
|
9715
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9716
|
+
|
9717
|
+
|
9718
|
+
|
9719
|
+
class DescribeProcessListResponse(AbstractModel):
|
9720
|
+
"""DescribeProcessList返回参数结构体
|
9721
|
+
|
9722
|
+
"""
|
9723
|
+
|
9724
|
+
def __init__(self):
|
9725
|
+
r"""
|
9726
|
+
:param _ProcessList: 当前正在运行的线程(连接/查询)信息列表。
|
9727
|
+
:type ProcessList: list of Process
|
9728
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9729
|
+
:type RequestId: str
|
9730
|
+
"""
|
9731
|
+
self._ProcessList = None
|
9732
|
+
self._RequestId = None
|
9733
|
+
|
9734
|
+
@property
|
9735
|
+
def ProcessList(self):
|
9736
|
+
"""当前正在运行的线程(连接/查询)信息列表。
|
9737
|
+
:rtype: list of Process
|
9738
|
+
"""
|
9739
|
+
return self._ProcessList
|
9740
|
+
|
9741
|
+
@ProcessList.setter
|
9742
|
+
def ProcessList(self, ProcessList):
|
9743
|
+
self._ProcessList = ProcessList
|
9744
|
+
|
9745
|
+
@property
|
9746
|
+
def RequestId(self):
|
9747
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9748
|
+
:rtype: str
|
9749
|
+
"""
|
9750
|
+
return self._RequestId
|
9751
|
+
|
9752
|
+
@RequestId.setter
|
9753
|
+
def RequestId(self, RequestId):
|
9754
|
+
self._RequestId = RequestId
|
9755
|
+
|
9756
|
+
|
9757
|
+
def _deserialize(self, params):
|
9758
|
+
if params.get("ProcessList") is not None:
|
9759
|
+
self._ProcessList = []
|
9760
|
+
for item in params.get("ProcessList"):
|
9761
|
+
obj = Process()
|
9762
|
+
obj._deserialize(item)
|
9763
|
+
self._ProcessList.append(obj)
|
9764
|
+
self._RequestId = params.get("RequestId")
|
9765
|
+
|
9766
|
+
|
9457
9767
|
class DescribeProjectSecurityGroupsRequest(AbstractModel):
|
9458
9768
|
"""DescribeProjectSecurityGroups请求参数结构体
|
9459
9769
|
|
@@ -10225,6 +10535,60 @@ class DisassociateSecurityGroupsResponse(AbstractModel):
|
|
10225
10535
|
self._RequestId = params.get("RequestId")
|
10226
10536
|
|
10227
10537
|
|
10538
|
+
class Filter(AbstractModel):
|
10539
|
+
"""描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
10540
|
+
|
10541
|
+
若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
10542
|
+
若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
10543
|
+
|
10544
|
+
"""
|
10545
|
+
|
10546
|
+
def __init__(self):
|
10547
|
+
r"""
|
10548
|
+
:param _Name: 需要过滤的字段。
|
10549
|
+
:type Name: str
|
10550
|
+
:param _Values: 字段的过滤值。
|
10551
|
+
:type Values: list of str
|
10552
|
+
"""
|
10553
|
+
self._Name = None
|
10554
|
+
self._Values = None
|
10555
|
+
|
10556
|
+
@property
|
10557
|
+
def Name(self):
|
10558
|
+
"""需要过滤的字段。
|
10559
|
+
:rtype: str
|
10560
|
+
"""
|
10561
|
+
return self._Name
|
10562
|
+
|
10563
|
+
@Name.setter
|
10564
|
+
def Name(self, Name):
|
10565
|
+
self._Name = Name
|
10566
|
+
|
10567
|
+
@property
|
10568
|
+
def Values(self):
|
10569
|
+
"""字段的过滤值。
|
10570
|
+
:rtype: list of str
|
10571
|
+
"""
|
10572
|
+
return self._Values
|
10573
|
+
|
10574
|
+
@Values.setter
|
10575
|
+
def Values(self, Values):
|
10576
|
+
self._Values = Values
|
10577
|
+
|
10578
|
+
|
10579
|
+
def _deserialize(self, params):
|
10580
|
+
self._Name = params.get("Name")
|
10581
|
+
self._Values = params.get("Values")
|
10582
|
+
memeber_set = set(params.keys())
|
10583
|
+
for name, value in vars(self).items():
|
10584
|
+
property_name = name[1:]
|
10585
|
+
if property_name in memeber_set:
|
10586
|
+
memeber_set.remove(property_name)
|
10587
|
+
if len(memeber_set) > 0:
|
10588
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10589
|
+
|
10590
|
+
|
10591
|
+
|
10228
10592
|
class FlushBinlogRequest(AbstractModel):
|
10229
10593
|
"""FlushBinlog请求参数结构体
|
10230
10594
|
|
@@ -12683,6 +13047,164 @@ class ModifyInstanceNetworkResponse(AbstractModel):
|
|
12683
13047
|
self._RequestId = params.get("RequestId")
|
12684
13048
|
|
12685
13049
|
|
13050
|
+
class ModifyInstanceProtectedPropertyRequest(AbstractModel):
|
13051
|
+
"""ModifyInstanceProtectedProperty请求参数结构体
|
13052
|
+
|
13053
|
+
"""
|
13054
|
+
|
13055
|
+
def __init__(self):
|
13056
|
+
r"""
|
13057
|
+
:param _InstanceId: 实例ID
|
13058
|
+
:type InstanceId: str
|
13059
|
+
:param _ProtectedProperty: 0-允许删除,无销毁保护,1-禁止删除,有销毁保护
|
13060
|
+
:type ProtectedProperty: int
|
13061
|
+
"""
|
13062
|
+
self._InstanceId = None
|
13063
|
+
self._ProtectedProperty = None
|
13064
|
+
|
13065
|
+
@property
|
13066
|
+
def InstanceId(self):
|
13067
|
+
"""实例ID
|
13068
|
+
:rtype: str
|
13069
|
+
"""
|
13070
|
+
return self._InstanceId
|
13071
|
+
|
13072
|
+
@InstanceId.setter
|
13073
|
+
def InstanceId(self, InstanceId):
|
13074
|
+
self._InstanceId = InstanceId
|
13075
|
+
|
13076
|
+
@property
|
13077
|
+
def ProtectedProperty(self):
|
13078
|
+
"""0-允许删除,无销毁保护,1-禁止删除,有销毁保护
|
13079
|
+
:rtype: int
|
13080
|
+
"""
|
13081
|
+
return self._ProtectedProperty
|
13082
|
+
|
13083
|
+
@ProtectedProperty.setter
|
13084
|
+
def ProtectedProperty(self, ProtectedProperty):
|
13085
|
+
self._ProtectedProperty = ProtectedProperty
|
13086
|
+
|
13087
|
+
|
13088
|
+
def _deserialize(self, params):
|
13089
|
+
self._InstanceId = params.get("InstanceId")
|
13090
|
+
self._ProtectedProperty = params.get("ProtectedProperty")
|
13091
|
+
memeber_set = set(params.keys())
|
13092
|
+
for name, value in vars(self).items():
|
13093
|
+
property_name = name[1:]
|
13094
|
+
if property_name in memeber_set:
|
13095
|
+
memeber_set.remove(property_name)
|
13096
|
+
if len(memeber_set) > 0:
|
13097
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13098
|
+
|
13099
|
+
|
13100
|
+
|
13101
|
+
class ModifyInstanceProtectedPropertyResponse(AbstractModel):
|
13102
|
+
"""ModifyInstanceProtectedProperty返回参数结构体
|
13103
|
+
|
13104
|
+
"""
|
13105
|
+
|
13106
|
+
def __init__(self):
|
13107
|
+
r"""
|
13108
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13109
|
+
:type RequestId: str
|
13110
|
+
"""
|
13111
|
+
self._RequestId = None
|
13112
|
+
|
13113
|
+
@property
|
13114
|
+
def RequestId(self):
|
13115
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13116
|
+
:rtype: str
|
13117
|
+
"""
|
13118
|
+
return self._RequestId
|
13119
|
+
|
13120
|
+
@RequestId.setter
|
13121
|
+
def RequestId(self, RequestId):
|
13122
|
+
self._RequestId = RequestId
|
13123
|
+
|
13124
|
+
|
13125
|
+
def _deserialize(self, params):
|
13126
|
+
self._RequestId = params.get("RequestId")
|
13127
|
+
|
13128
|
+
|
13129
|
+
class ModifyInstanceSSLAttributesRequest(AbstractModel):
|
13130
|
+
"""ModifyInstanceSSLAttributes请求参数结构体
|
13131
|
+
|
13132
|
+
"""
|
13133
|
+
|
13134
|
+
def __init__(self):
|
13135
|
+
r"""
|
13136
|
+
:param _InstanceId: 实例ID
|
13137
|
+
:type InstanceId: str
|
13138
|
+
:param _SSLEnabled: 是否开启实例的SSL认证。0-关闭;1-开启
|
13139
|
+
:type SSLEnabled: int
|
13140
|
+
"""
|
13141
|
+
self._InstanceId = None
|
13142
|
+
self._SSLEnabled = None
|
13143
|
+
|
13144
|
+
@property
|
13145
|
+
def InstanceId(self):
|
13146
|
+
"""实例ID
|
13147
|
+
:rtype: str
|
13148
|
+
"""
|
13149
|
+
return self._InstanceId
|
13150
|
+
|
13151
|
+
@InstanceId.setter
|
13152
|
+
def InstanceId(self, InstanceId):
|
13153
|
+
self._InstanceId = InstanceId
|
13154
|
+
|
13155
|
+
@property
|
13156
|
+
def SSLEnabled(self):
|
13157
|
+
"""是否开启实例的SSL认证。0-关闭;1-开启
|
13158
|
+
:rtype: int
|
13159
|
+
"""
|
13160
|
+
return self._SSLEnabled
|
13161
|
+
|
13162
|
+
@SSLEnabled.setter
|
13163
|
+
def SSLEnabled(self, SSLEnabled):
|
13164
|
+
self._SSLEnabled = SSLEnabled
|
13165
|
+
|
13166
|
+
|
13167
|
+
def _deserialize(self, params):
|
13168
|
+
self._InstanceId = params.get("InstanceId")
|
13169
|
+
self._SSLEnabled = params.get("SSLEnabled")
|
13170
|
+
memeber_set = set(params.keys())
|
13171
|
+
for name, value in vars(self).items():
|
13172
|
+
property_name = name[1:]
|
13173
|
+
if property_name in memeber_set:
|
13174
|
+
memeber_set.remove(property_name)
|
13175
|
+
if len(memeber_set) > 0:
|
13176
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13177
|
+
|
13178
|
+
|
13179
|
+
|
13180
|
+
class ModifyInstanceSSLAttributesResponse(AbstractModel):
|
13181
|
+
"""ModifyInstanceSSLAttributes返回参数结构体
|
13182
|
+
|
13183
|
+
"""
|
13184
|
+
|
13185
|
+
def __init__(self):
|
13186
|
+
r"""
|
13187
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13188
|
+
:type RequestId: str
|
13189
|
+
"""
|
13190
|
+
self._RequestId = None
|
13191
|
+
|
13192
|
+
@property
|
13193
|
+
def RequestId(self):
|
13194
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13195
|
+
:rtype: str
|
13196
|
+
"""
|
13197
|
+
return self._RequestId
|
13198
|
+
|
13199
|
+
@RequestId.setter
|
13200
|
+
def RequestId(self, RequestId):
|
13201
|
+
self._RequestId = RequestId
|
13202
|
+
|
13203
|
+
|
13204
|
+
def _deserialize(self, params):
|
13205
|
+
self._RequestId = params.get("RequestId")
|
13206
|
+
|
13207
|
+
|
12686
13208
|
class ModifyInstanceVipRequest(AbstractModel):
|
12687
13209
|
"""ModifyInstanceVip请求参数结构体
|
12688
13210
|
|
@@ -13767,6 +14289,186 @@ class ProcedurePrivilege(AbstractModel):
|
|
13767
14289
|
|
13768
14290
|
|
13769
14291
|
|
14292
|
+
class Process(AbstractModel):
|
14293
|
+
"""用于显示当前正在运行的线程(连接/查询)信息,数据源来自系统表:information_schema.processlist。
|
14294
|
+
|
14295
|
+
"""
|
14296
|
+
|
14297
|
+
def __init__(self):
|
14298
|
+
r"""
|
14299
|
+
:param _Id: 线程ID:唯一标识当前连接/线程的整数。
|
14300
|
+
:type Id: int
|
14301
|
+
:param _User: 用户名:发起连接的 MySQL 用户。
|
14302
|
+
:type User: str
|
14303
|
+
:param _Host: 客户端地址:发起连接的客户端主机名及端口(格式:host:port)。
|
14304
|
+
:type Host: str
|
14305
|
+
:param _Db: 当前数据库:线程正在使用的数据库名(未选择数据库时为 空串)。
|
14306
|
+
:type Db: str
|
14307
|
+
:param _Command: 命令类型:线程正在执行的命令类型。常见值:
|
14308
|
+
|
14309
|
+
- Sleep:空闲等待状态(等待新查询)。
|
14310
|
+
- Query:正在执行查询或 SQL 语句。
|
14311
|
+
- Binlog Dump:主服务器线程向从服务器发送二进制日志。
|
14312
|
+
- Connect:客户端正在连接。
|
14313
|
+
- Killed:线程被终止但未完全退出。
|
14314
|
+
:type Command: str
|
14315
|
+
:param _Time: 执行时间(秒):线程在当前状态持续的秒数。
|
14316
|
+
:type Time: int
|
14317
|
+
:param _ProcessStartTime: 执行开始时间(秒):线程在当前状态开始执行的时间。
|
14318
|
+
:type ProcessStartTime: str
|
14319
|
+
:param _State: 状态描述:线程当前的详细操作状态。常见值:
|
14320
|
+
|
14321
|
+
- Sending data:正在处理/发送数据。
|
14322
|
+
- Locked:等待表锁释放(例如 MyISAM 表级锁)。
|
14323
|
+
- Sorting result:排序查询结果。
|
14324
|
+
- Updating:更新表中数据。
|
14325
|
+
- 当为NULL返回空串:无明确状态(如 Sleep 时)。
|
14326
|
+
:type State: str
|
14327
|
+
:param _Info: 执行语句:正在执行的 SQL 语句(前 1024 字符)。
|
14328
|
+
:type Info: str
|
14329
|
+
"""
|
14330
|
+
self._Id = None
|
14331
|
+
self._User = None
|
14332
|
+
self._Host = None
|
14333
|
+
self._Db = None
|
14334
|
+
self._Command = None
|
14335
|
+
self._Time = None
|
14336
|
+
self._ProcessStartTime = None
|
14337
|
+
self._State = None
|
14338
|
+
self._Info = None
|
14339
|
+
|
14340
|
+
@property
|
14341
|
+
def Id(self):
|
14342
|
+
"""线程ID:唯一标识当前连接/线程的整数。
|
14343
|
+
:rtype: int
|
14344
|
+
"""
|
14345
|
+
return self._Id
|
14346
|
+
|
14347
|
+
@Id.setter
|
14348
|
+
def Id(self, Id):
|
14349
|
+
self._Id = Id
|
14350
|
+
|
14351
|
+
@property
|
14352
|
+
def User(self):
|
14353
|
+
"""用户名:发起连接的 MySQL 用户。
|
14354
|
+
:rtype: str
|
14355
|
+
"""
|
14356
|
+
return self._User
|
14357
|
+
|
14358
|
+
@User.setter
|
14359
|
+
def User(self, User):
|
14360
|
+
self._User = User
|
14361
|
+
|
14362
|
+
@property
|
14363
|
+
def Host(self):
|
14364
|
+
"""客户端地址:发起连接的客户端主机名及端口(格式:host:port)。
|
14365
|
+
:rtype: str
|
14366
|
+
"""
|
14367
|
+
return self._Host
|
14368
|
+
|
14369
|
+
@Host.setter
|
14370
|
+
def Host(self, Host):
|
14371
|
+
self._Host = Host
|
14372
|
+
|
14373
|
+
@property
|
14374
|
+
def Db(self):
|
14375
|
+
"""当前数据库:线程正在使用的数据库名(未选择数据库时为 空串)。
|
14376
|
+
:rtype: str
|
14377
|
+
"""
|
14378
|
+
return self._Db
|
14379
|
+
|
14380
|
+
@Db.setter
|
14381
|
+
def Db(self, Db):
|
14382
|
+
self._Db = Db
|
14383
|
+
|
14384
|
+
@property
|
14385
|
+
def Command(self):
|
14386
|
+
"""命令类型:线程正在执行的命令类型。常见值:
|
14387
|
+
|
14388
|
+
- Sleep:空闲等待状态(等待新查询)。
|
14389
|
+
- Query:正在执行查询或 SQL 语句。
|
14390
|
+
- Binlog Dump:主服务器线程向从服务器发送二进制日志。
|
14391
|
+
- Connect:客户端正在连接。
|
14392
|
+
- Killed:线程被终止但未完全退出。
|
14393
|
+
:rtype: str
|
14394
|
+
"""
|
14395
|
+
return self._Command
|
14396
|
+
|
14397
|
+
@Command.setter
|
14398
|
+
def Command(self, Command):
|
14399
|
+
self._Command = Command
|
14400
|
+
|
14401
|
+
@property
|
14402
|
+
def Time(self):
|
14403
|
+
"""执行时间(秒):线程在当前状态持续的秒数。
|
14404
|
+
:rtype: int
|
14405
|
+
"""
|
14406
|
+
return self._Time
|
14407
|
+
|
14408
|
+
@Time.setter
|
14409
|
+
def Time(self, Time):
|
14410
|
+
self._Time = Time
|
14411
|
+
|
14412
|
+
@property
|
14413
|
+
def ProcessStartTime(self):
|
14414
|
+
"""执行开始时间(秒):线程在当前状态开始执行的时间。
|
14415
|
+
:rtype: str
|
14416
|
+
"""
|
14417
|
+
return self._ProcessStartTime
|
14418
|
+
|
14419
|
+
@ProcessStartTime.setter
|
14420
|
+
def ProcessStartTime(self, ProcessStartTime):
|
14421
|
+
self._ProcessStartTime = ProcessStartTime
|
14422
|
+
|
14423
|
+
@property
|
14424
|
+
def State(self):
|
14425
|
+
"""状态描述:线程当前的详细操作状态。常见值:
|
14426
|
+
|
14427
|
+
- Sending data:正在处理/发送数据。
|
14428
|
+
- Locked:等待表锁释放(例如 MyISAM 表级锁)。
|
14429
|
+
- Sorting result:排序查询结果。
|
14430
|
+
- Updating:更新表中数据。
|
14431
|
+
- 当为NULL返回空串:无明确状态(如 Sleep 时)。
|
14432
|
+
:rtype: str
|
14433
|
+
"""
|
14434
|
+
return self._State
|
14435
|
+
|
14436
|
+
@State.setter
|
14437
|
+
def State(self, State):
|
14438
|
+
self._State = State
|
14439
|
+
|
14440
|
+
@property
|
14441
|
+
def Info(self):
|
14442
|
+
"""执行语句:正在执行的 SQL 语句(前 1024 字符)。
|
14443
|
+
:rtype: str
|
14444
|
+
"""
|
14445
|
+
return self._Info
|
14446
|
+
|
14447
|
+
@Info.setter
|
14448
|
+
def Info(self, Info):
|
14449
|
+
self._Info = Info
|
14450
|
+
|
14451
|
+
|
14452
|
+
def _deserialize(self, params):
|
14453
|
+
self._Id = params.get("Id")
|
14454
|
+
self._User = params.get("User")
|
14455
|
+
self._Host = params.get("Host")
|
14456
|
+
self._Db = params.get("Db")
|
14457
|
+
self._Command = params.get("Command")
|
14458
|
+
self._Time = params.get("Time")
|
14459
|
+
self._ProcessStartTime = params.get("ProcessStartTime")
|
14460
|
+
self._State = params.get("State")
|
14461
|
+
self._Info = params.get("Info")
|
14462
|
+
memeber_set = set(params.keys())
|
14463
|
+
for name, value in vars(self).items():
|
14464
|
+
property_name = name[1:]
|
14465
|
+
if property_name in memeber_set:
|
14466
|
+
memeber_set.remove(property_name)
|
14467
|
+
if len(memeber_set) > 0:
|
14468
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14469
|
+
|
14470
|
+
|
14471
|
+
|
13770
14472
|
class RegionInfo(AbstractModel):
|
13771
14473
|
"""售卖可用区信息
|
13772
14474
|
|