tencentcloud-sdk-mariadb 3.0.1121 → 3.0.1130
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +99 -0
- data/lib/v20170312/models.rb +298 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c85e11eb24a4a86604f5d9ea5bd9f519883df3c
|
4
|
+
data.tar.gz: 7a9062528aa8ccdc50062d43c1e8a3556a9922b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d4a0fada8d49440bc25b9446f738853c7a9440ac4854566c0eeb663ec62da80d15b1cc45b82b951dc60c1a3a0043ed731e161af8b9ad8b7f983b7c26dcbf8bf
|
7
|
+
data.tar.gz: 219841e188ddc78a4f4660c024b53a113f45f616a16002bf67f4861989a12f8296cbef4cbe05f043f80f3c8c2a44ff0c2d8c5853aca99efcc84ceff92ec9396a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1130
|
data/lib/v20170312/client.rb
CHANGED
@@ -872,6 +872,30 @@ module TencentCloud
|
|
872
872
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
873
873
|
end
|
874
874
|
|
875
|
+
# 本接口(DescribeInstanceSSLAttributes)用于拉取实例SSL认证属性
|
876
|
+
|
877
|
+
# @param request: Request instance for DescribeInstanceSSLAttributes.
|
878
|
+
# @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeInstanceSSLAttributesRequest`
|
879
|
+
# @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeInstanceSSLAttributesResponse`
|
880
|
+
def DescribeInstanceSSLAttributes(request)
|
881
|
+
body = send_request('DescribeInstanceSSLAttributes', request.serialize)
|
882
|
+
response = JSON.parse(body)
|
883
|
+
if response['Response'].key?('Error') == false
|
884
|
+
model = DescribeInstanceSSLAttributesResponse.new
|
885
|
+
model.deserialize(response['Response'])
|
886
|
+
model
|
887
|
+
else
|
888
|
+
code = response['Response']['Error']['Code']
|
889
|
+
message = response['Response']['Error']['Message']
|
890
|
+
reqid = response['Response']['RequestId']
|
891
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
892
|
+
end
|
893
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
894
|
+
raise e
|
895
|
+
rescue StandardError => e
|
896
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
897
|
+
end
|
898
|
+
|
875
899
|
# 本接口(DescribeLogFileRetentionPeriod)用于查看数据库备份日志的备份天数的设置情况。
|
876
900
|
|
877
901
|
# @param request: Request instance for DescribeLogFileRetentionPeriod.
|
@@ -944,6 +968,33 @@ module TencentCloud
|
|
944
968
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
945
969
|
end
|
946
970
|
|
971
|
+
# 本接口 (DescribeProcessList) 用于查询当前正在运行的线程(连接/查询)信息。
|
972
|
+
|
973
|
+
# - 可以根据客户端IP,DB,执行时间等信息来查询实例正在运行的线程信息。过滤信息详细请见过滤器Filter。
|
974
|
+
# - 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的线程信息。
|
975
|
+
|
976
|
+
# @param request: Request instance for DescribeProcessList.
|
977
|
+
# @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeProcessListRequest`
|
978
|
+
# @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeProcessListResponse`
|
979
|
+
def DescribeProcessList(request)
|
980
|
+
body = send_request('DescribeProcessList', request.serialize)
|
981
|
+
response = JSON.parse(body)
|
982
|
+
if response['Response'].key?('Error') == false
|
983
|
+
model = DescribeProcessListResponse.new
|
984
|
+
model.deserialize(response['Response'])
|
985
|
+
model
|
986
|
+
else
|
987
|
+
code = response['Response']['Error']['Code']
|
988
|
+
message = response['Response']['Error']['Message']
|
989
|
+
reqid = response['Response']['RequestId']
|
990
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
991
|
+
end
|
992
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
993
|
+
raise e
|
994
|
+
rescue StandardError => e
|
995
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
996
|
+
end
|
997
|
+
|
947
998
|
# 本接口(DescribeProjectSecurityGroups)用于查询项目安全组信息
|
948
999
|
|
949
1000
|
# @param request: Request instance for DescribeProjectSecurityGroups.
|
@@ -1553,6 +1604,54 @@ module TencentCloud
|
|
1553
1604
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1554
1605
|
end
|
1555
1606
|
|
1607
|
+
# 该接口用于对实例修改删除保护属性
|
1608
|
+
|
1609
|
+
# @param request: Request instance for ModifyInstanceProtectedProperty.
|
1610
|
+
# @type request: :class:`Tencentcloud::mariadb::V20170312::ModifyInstanceProtectedPropertyRequest`
|
1611
|
+
# @rtype: :class:`Tencentcloud::mariadb::V20170312::ModifyInstanceProtectedPropertyResponse`
|
1612
|
+
def ModifyInstanceProtectedProperty(request)
|
1613
|
+
body = send_request('ModifyInstanceProtectedProperty', request.serialize)
|
1614
|
+
response = JSON.parse(body)
|
1615
|
+
if response['Response'].key?('Error') == false
|
1616
|
+
model = ModifyInstanceProtectedPropertyResponse.new
|
1617
|
+
model.deserialize(response['Response'])
|
1618
|
+
model
|
1619
|
+
else
|
1620
|
+
code = response['Response']['Error']['Code']
|
1621
|
+
message = response['Response']['Error']['Message']
|
1622
|
+
reqid = response['Response']['RequestId']
|
1623
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1624
|
+
end
|
1625
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1626
|
+
raise e
|
1627
|
+
rescue StandardError => e
|
1628
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1629
|
+
end
|
1630
|
+
|
1631
|
+
# 本接口 (ModifyInstanceSSLAttributes)用于修改实例SSL认证功能属性
|
1632
|
+
|
1633
|
+
# @param request: Request instance for ModifyInstanceSSLAttributes.
|
1634
|
+
# @type request: :class:`Tencentcloud::mariadb::V20170312::ModifyInstanceSSLAttributesRequest`
|
1635
|
+
# @rtype: :class:`Tencentcloud::mariadb::V20170312::ModifyInstanceSSLAttributesResponse`
|
1636
|
+
def ModifyInstanceSSLAttributes(request)
|
1637
|
+
body = send_request('ModifyInstanceSSLAttributes', request.serialize)
|
1638
|
+
response = JSON.parse(body)
|
1639
|
+
if response['Response'].key?('Error') == false
|
1640
|
+
model = ModifyInstanceSSLAttributesResponse.new
|
1641
|
+
model.deserialize(response['Response'])
|
1642
|
+
model
|
1643
|
+
else
|
1644
|
+
code = response['Response']['Error']['Code']
|
1645
|
+
message = response['Response']['Error']['Message']
|
1646
|
+
reqid = response['Response']['RequestId']
|
1647
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1648
|
+
end
|
1649
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1650
|
+
raise e
|
1651
|
+
rescue StandardError => e
|
1652
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1653
|
+
end
|
1654
|
+
|
1556
1655
|
# 本接口(ModifyInstanceVip)用于修改实例VIP
|
1557
1656
|
|
1558
1657
|
# @param request: Request instance for ModifyInstanceVip.
|
data/lib/v20170312/models.rb
CHANGED
@@ -3255,6 +3255,42 @@ module TencentCloud
|
|
3255
3255
|
end
|
3256
3256
|
end
|
3257
3257
|
|
3258
|
+
# DescribeInstanceSSLAttributes请求参数结构体
|
3259
|
+
class DescribeInstanceSSLAttributesRequest < TencentCloud::Common::AbstractModel
|
3260
|
+
# @param InstanceId: 实例ID
|
3261
|
+
# @type InstanceId: String
|
3262
|
+
|
3263
|
+
attr_accessor :InstanceId
|
3264
|
+
|
3265
|
+
def initialize(instanceid=nil)
|
3266
|
+
@InstanceId = instanceid
|
3267
|
+
end
|
3268
|
+
|
3269
|
+
def deserialize(params)
|
3270
|
+
@InstanceId = params['InstanceId']
|
3271
|
+
end
|
3272
|
+
end
|
3273
|
+
|
3274
|
+
# DescribeInstanceSSLAttributes返回参数结构体
|
3275
|
+
class DescribeInstanceSSLAttributesResponse < TencentCloud::Common::AbstractModel
|
3276
|
+
# @param Status: 实例SSL认证功能当前状态。1-开启中;2-已开启;3-已关闭;4-关闭中
|
3277
|
+
# @type Status: Integer
|
3278
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3279
|
+
# @type RequestId: String
|
3280
|
+
|
3281
|
+
attr_accessor :Status, :RequestId
|
3282
|
+
|
3283
|
+
def initialize(status=nil, requestid=nil)
|
3284
|
+
@Status = status
|
3285
|
+
@RequestId = requestid
|
3286
|
+
end
|
3287
|
+
|
3288
|
+
def deserialize(params)
|
3289
|
+
@Status = params['Status']
|
3290
|
+
@RequestId = params['RequestId']
|
3291
|
+
end
|
3292
|
+
end
|
3293
|
+
|
3258
3294
|
# DescribeLogFileRetentionPeriod请求参数结构体
|
3259
3295
|
class DescribeLogFileRetentionPeriodRequest < TencentCloud::Common::AbstractModel
|
3260
3296
|
# @param InstanceId: 实例 ID,形如:tdsql-ow728lmc。
|
@@ -3423,6 +3459,113 @@ module TencentCloud
|
|
3423
3459
|
end
|
3424
3460
|
end
|
3425
3461
|
|
3462
|
+
# DescribeProcessList请求参数结构体
|
3463
|
+
class DescribeProcessListRequest < TencentCloud::Common::AbstractModel
|
3464
|
+
# @param InstanceId: 实例ID。
|
3465
|
+
# @type InstanceId: String
|
3466
|
+
# @param NodeId: 节点ID。
|
3467
|
+
# @type NodeId: String
|
3468
|
+
# @param Filters: <li><strong>id</strong></li>
|
3469
|
+
# <p style="padding-left: 30px;">按照【<strong>会话ID</strong>】进行过滤。会话ID例如:125700。</p>
|
3470
|
+
# <p style="padding-left: 30px;">类型:String</p>
|
3471
|
+
# <p style="padding-left: 30px;">必选:否</p>
|
3472
|
+
# <p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
3473
|
+
|
3474
|
+
# <li><strong>user</strong></li>
|
3475
|
+
# <p style="padding-left: 30px;">按照【<strong>用户名</strong>】进行过滤。用户名例如:root。</p>
|
3476
|
+
# <p style="padding-left: 30px;">类型:String</p>
|
3477
|
+
# <p style="padding-left: 30px;">必选:否</p>
|
3478
|
+
# <p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
3479
|
+
# <li><strong>host</strong></li>
|
3480
|
+
# <p style="padding-left: 30px;">按照【<strong>客户端Host</strong>】进行过滤。客户端Host例如:127.0.0.1:46295。</p>
|
3481
|
+
# <p style="padding-left: 30px;">类型:String</p>
|
3482
|
+
# <p style="padding-left: 30px;">必选:否</p>
|
3483
|
+
# <p style="padding-left: 30px;">匹配类型:前缀匹配,例如可以查询客户端IP不加端口:127.0.0.1。</p>
|
3484
|
+
# <li><strong>state</strong></li>
|
3485
|
+
# <p style="padding-left: 30px;">按照【<strong>线程状态</strong>】进行过滤。线程状态例如:Updating。</p>
|
3486
|
+
# <p style="padding-left: 30px;">类型:String</p>
|
3487
|
+
# <p style="padding-left: 30px;">必选:否</p>
|
3488
|
+
# <p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
3489
|
+
# <li><strong>db</strong></li>
|
3490
|
+
# <p style="padding-left: 30px;">按照【<strong>数据库名称</strong>】进行过滤。数据库名称例如:mysql。</p>
|
3491
|
+
# <p style="padding-left: 30px;">类型:String</p>
|
3492
|
+
# <p style="padding-left: 30px;">必选:否</p>
|
3493
|
+
# <p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
3494
|
+
# <li><strong>command</strong></li>
|
3495
|
+
# <p style="padding-left: 30px;">按照【<strong>命令类型</strong>】进行过滤。命令类型例如:Query。</p>
|
3496
|
+
# <p style="padding-left: 30px;">类型:String</p>
|
3497
|
+
# <p style="padding-left: 30px;">必选:否</p>
|
3498
|
+
# <p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
3499
|
+
# <li><strong>info</strong></li>
|
3500
|
+
# <p style="padding-left: 30px;">按照【<strong>执行语句</strong>】进行过滤。执行语句例如:select id, name from demo.table1 where id > 10。</p>
|
3501
|
+
# <p style="padding-left: 30px;">类型:String</p>
|
3502
|
+
# <p style="padding-left: 30px;">必选:否</p>
|
3503
|
+
# <p style="padding-left: 30px;">匹配类型:前缀匹配,例如SQL较长,可以输入SQL前缀:select id, name from demo.table1。</p>
|
3504
|
+
# <li><strong>time</strong></li>
|
3505
|
+
# <p style="padding-left: 30px;">按照【<strong>执行时间大于多少(秒)</strong>】进行过滤。例如:10,表示查询执行时间超过10秒的会话。</p>
|
3506
|
+
# <p style="padding-left: 30px;">类型:Integer</p>
|
3507
|
+
# <p style="padding-left: 30px;">必选:否</p>
|
3508
|
+
# <p style="padding-left: 30px;">匹配类型:范围匹配,Values值只支持输入1个。</p>
|
3509
|
+
# 每次请求的`Filters`的上限为10,`Filter.Values`的上限为50。
|
3510
|
+
# @type Filters: Array
|
3511
|
+
# @param Offset: 偏移量,默认为0。
|
3512
|
+
# @type Offset: Integer
|
3513
|
+
# @param Limit: 返回数量,默认为20,最大值为100。
|
3514
|
+
# @type Limit: Integer
|
3515
|
+
|
3516
|
+
attr_accessor :InstanceId, :NodeId, :Filters, :Offset, :Limit
|
3517
|
+
|
3518
|
+
def initialize(instanceid=nil, nodeid=nil, filters=nil, offset=nil, limit=nil)
|
3519
|
+
@InstanceId = instanceid
|
3520
|
+
@NodeId = nodeid
|
3521
|
+
@Filters = filters
|
3522
|
+
@Offset = offset
|
3523
|
+
@Limit = limit
|
3524
|
+
end
|
3525
|
+
|
3526
|
+
def deserialize(params)
|
3527
|
+
@InstanceId = params['InstanceId']
|
3528
|
+
@NodeId = params['NodeId']
|
3529
|
+
unless params['Filters'].nil?
|
3530
|
+
@Filters = []
|
3531
|
+
params['Filters'].each do |i|
|
3532
|
+
filter_tmp = Filter.new
|
3533
|
+
filter_tmp.deserialize(i)
|
3534
|
+
@Filters << filter_tmp
|
3535
|
+
end
|
3536
|
+
end
|
3537
|
+
@Offset = params['Offset']
|
3538
|
+
@Limit = params['Limit']
|
3539
|
+
end
|
3540
|
+
end
|
3541
|
+
|
3542
|
+
# DescribeProcessList返回参数结构体
|
3543
|
+
class DescribeProcessListResponse < TencentCloud::Common::AbstractModel
|
3544
|
+
# @param ProcessList: 当前正在运行的线程(连接/查询)信息列表。
|
3545
|
+
# @type ProcessList: Array
|
3546
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3547
|
+
# @type RequestId: String
|
3548
|
+
|
3549
|
+
attr_accessor :ProcessList, :RequestId
|
3550
|
+
|
3551
|
+
def initialize(processlist=nil, requestid=nil)
|
3552
|
+
@ProcessList = processlist
|
3553
|
+
@RequestId = requestid
|
3554
|
+
end
|
3555
|
+
|
3556
|
+
def deserialize(params)
|
3557
|
+
unless params['ProcessList'].nil?
|
3558
|
+
@ProcessList = []
|
3559
|
+
params['ProcessList'].each do |i|
|
3560
|
+
process_tmp = Process.new
|
3561
|
+
process_tmp.deserialize(i)
|
3562
|
+
@ProcessList << process_tmp
|
3563
|
+
end
|
3564
|
+
end
|
3565
|
+
@RequestId = params['RequestId']
|
3566
|
+
end
|
3567
|
+
end
|
3568
|
+
|
3426
3569
|
# DescribeProjectSecurityGroups请求参数结构体
|
3427
3570
|
class DescribeProjectSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
3428
3571
|
# @param Product: 数据库引擎名称,本接口取值:mariadb。
|
@@ -3754,6 +3897,29 @@ module TencentCloud
|
|
3754
3897
|
end
|
3755
3898
|
end
|
3756
3899
|
|
3900
|
+
# 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
3901
|
+
|
3902
|
+
# 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
3903
|
+
# 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
3904
|
+
class Filter < TencentCloud::Common::AbstractModel
|
3905
|
+
# @param Name: 需要过滤的字段。
|
3906
|
+
# @type Name: String
|
3907
|
+
# @param Values: 字段的过滤值。
|
3908
|
+
# @type Values: Array
|
3909
|
+
|
3910
|
+
attr_accessor :Name, :Values
|
3911
|
+
|
3912
|
+
def initialize(name=nil, values=nil)
|
3913
|
+
@Name = name
|
3914
|
+
@Values = values
|
3915
|
+
end
|
3916
|
+
|
3917
|
+
def deserialize(params)
|
3918
|
+
@Name = params['Name']
|
3919
|
+
@Values = params['Values']
|
3920
|
+
end
|
3921
|
+
end
|
3922
|
+
|
3757
3923
|
# FlushBinlog请求参数结构体
|
3758
3924
|
class FlushBinlogRequest < TencentCloud::Common::AbstractModel
|
3759
3925
|
# @param InstanceId: 实例ID
|
@@ -4777,6 +4943,78 @@ module TencentCloud
|
|
4777
4943
|
end
|
4778
4944
|
end
|
4779
4945
|
|
4946
|
+
# ModifyInstanceProtectedProperty请求参数结构体
|
4947
|
+
class ModifyInstanceProtectedPropertyRequest < TencentCloud::Common::AbstractModel
|
4948
|
+
# @param InstanceId: 实例ID
|
4949
|
+
# @type InstanceId: String
|
4950
|
+
# @param ProtectedProperty: 0-允许删除,无销毁保护,1-禁止删除,有销毁保护
|
4951
|
+
# @type ProtectedProperty: Integer
|
4952
|
+
|
4953
|
+
attr_accessor :InstanceId, :ProtectedProperty
|
4954
|
+
|
4955
|
+
def initialize(instanceid=nil, protectedproperty=nil)
|
4956
|
+
@InstanceId = instanceid
|
4957
|
+
@ProtectedProperty = protectedproperty
|
4958
|
+
end
|
4959
|
+
|
4960
|
+
def deserialize(params)
|
4961
|
+
@InstanceId = params['InstanceId']
|
4962
|
+
@ProtectedProperty = params['ProtectedProperty']
|
4963
|
+
end
|
4964
|
+
end
|
4965
|
+
|
4966
|
+
# ModifyInstanceProtectedProperty返回参数结构体
|
4967
|
+
class ModifyInstanceProtectedPropertyResponse < TencentCloud::Common::AbstractModel
|
4968
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4969
|
+
# @type RequestId: String
|
4970
|
+
|
4971
|
+
attr_accessor :RequestId
|
4972
|
+
|
4973
|
+
def initialize(requestid=nil)
|
4974
|
+
@RequestId = requestid
|
4975
|
+
end
|
4976
|
+
|
4977
|
+
def deserialize(params)
|
4978
|
+
@RequestId = params['RequestId']
|
4979
|
+
end
|
4980
|
+
end
|
4981
|
+
|
4982
|
+
# ModifyInstanceSSLAttributes请求参数结构体
|
4983
|
+
class ModifyInstanceSSLAttributesRequest < TencentCloud::Common::AbstractModel
|
4984
|
+
# @param InstanceId: 实例ID
|
4985
|
+
# @type InstanceId: String
|
4986
|
+
# @param SSLEnabled: 是否开启实例的SSL认证。0-关闭;1-开启
|
4987
|
+
# @type SSLEnabled: Integer
|
4988
|
+
|
4989
|
+
attr_accessor :InstanceId, :SSLEnabled
|
4990
|
+
|
4991
|
+
def initialize(instanceid=nil, sslenabled=nil)
|
4992
|
+
@InstanceId = instanceid
|
4993
|
+
@SSLEnabled = sslenabled
|
4994
|
+
end
|
4995
|
+
|
4996
|
+
def deserialize(params)
|
4997
|
+
@InstanceId = params['InstanceId']
|
4998
|
+
@SSLEnabled = params['SSLEnabled']
|
4999
|
+
end
|
5000
|
+
end
|
5001
|
+
|
5002
|
+
# ModifyInstanceSSLAttributes返回参数结构体
|
5003
|
+
class ModifyInstanceSSLAttributesResponse < TencentCloud::Common::AbstractModel
|
5004
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5005
|
+
# @type RequestId: String
|
5006
|
+
|
5007
|
+
attr_accessor :RequestId
|
5008
|
+
|
5009
|
+
def initialize(requestid=nil)
|
5010
|
+
@RequestId = requestid
|
5011
|
+
end
|
5012
|
+
|
5013
|
+
def deserialize(params)
|
5014
|
+
@RequestId = params['RequestId']
|
5015
|
+
end
|
5016
|
+
end
|
5017
|
+
|
4780
5018
|
# ModifyInstanceVip请求参数结构体
|
4781
5019
|
class ModifyInstanceVipRequest < TencentCloud::Common::AbstractModel
|
4782
5020
|
# @param InstanceId: 实例ID
|
@@ -5206,6 +5444,66 @@ module TencentCloud
|
|
5206
5444
|
end
|
5207
5445
|
end
|
5208
5446
|
|
5447
|
+
# 用于显示当前正在运行的线程(连接/查询)信息,数据源来自系统表:information_schema.processlist。
|
5448
|
+
class Process < TencentCloud::Common::AbstractModel
|
5449
|
+
# @param Id: 线程ID:唯一标识当前连接/线程的整数。
|
5450
|
+
# @type Id: Integer
|
5451
|
+
# @param User: 用户名:发起连接的 MySQL 用户。
|
5452
|
+
# @type User: String
|
5453
|
+
# @param Host: 客户端地址:发起连接的客户端主机名及端口(格式:host:port)。
|
5454
|
+
# @type Host: String
|
5455
|
+
# @param Db: 当前数据库:线程正在使用的数据库名(未选择数据库时为 空串)。
|
5456
|
+
# @type Db: String
|
5457
|
+
# @param Command: 命令类型:线程正在执行的命令类型。常见值:
|
5458
|
+
|
5459
|
+
# - Sleep:空闲等待状态(等待新查询)。
|
5460
|
+
# - Query:正在执行查询或 SQL 语句。
|
5461
|
+
# - Binlog Dump:主服务器线程向从服务器发送二进制日志。
|
5462
|
+
# - Connect:客户端正在连接。
|
5463
|
+
# - Killed:线程被终止但未完全退出。
|
5464
|
+
# @type Command: String
|
5465
|
+
# @param Time: 执行时间(秒):线程在当前状态持续的秒数。
|
5466
|
+
# @type Time: Integer
|
5467
|
+
# @param ProcessStartTime: 执行开始时间(秒):线程在当前状态开始执行的时间。
|
5468
|
+
# @type ProcessStartTime: String
|
5469
|
+
# @param State: 状态描述:线程当前的详细操作状态。常见值:
|
5470
|
+
|
5471
|
+
# - Sending data:正在处理/发送数据。
|
5472
|
+
# - Locked:等待表锁释放(例如 MyISAM 表级锁)。
|
5473
|
+
# - Sorting result:排序查询结果。
|
5474
|
+
# - Updating:更新表中数据。
|
5475
|
+
# - 当为NULL返回空串:无明确状态(如 Sleep 时)。
|
5476
|
+
# @type State: String
|
5477
|
+
# @param Info: 执行语句:正在执行的 SQL 语句(前 1024 字符)。
|
5478
|
+
# @type Info: String
|
5479
|
+
|
5480
|
+
attr_accessor :Id, :User, :Host, :Db, :Command, :Time, :ProcessStartTime, :State, :Info
|
5481
|
+
|
5482
|
+
def initialize(id=nil, user=nil, host=nil, db=nil, command=nil, time=nil, processstarttime=nil, state=nil, info=nil)
|
5483
|
+
@Id = id
|
5484
|
+
@User = user
|
5485
|
+
@Host = host
|
5486
|
+
@Db = db
|
5487
|
+
@Command = command
|
5488
|
+
@Time = time
|
5489
|
+
@ProcessStartTime = processstarttime
|
5490
|
+
@State = state
|
5491
|
+
@Info = info
|
5492
|
+
end
|
5493
|
+
|
5494
|
+
def deserialize(params)
|
5495
|
+
@Id = params['Id']
|
5496
|
+
@User = params['User']
|
5497
|
+
@Host = params['Host']
|
5498
|
+
@Db = params['Db']
|
5499
|
+
@Command = params['Command']
|
5500
|
+
@Time = params['Time']
|
5501
|
+
@ProcessStartTime = params['ProcessStartTime']
|
5502
|
+
@State = params['State']
|
5503
|
+
@Info = params['Info']
|
5504
|
+
end
|
5505
|
+
end
|
5506
|
+
|
5209
5507
|
# 售卖可用区信息
|
5210
5508
|
class RegionInfo < TencentCloud::Common::AbstractModel
|
5211
5509
|
# @param Region: 地域英文ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mariadb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1130
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|