tencentcloud-sdk-mariadb 3.0.425 → 3.0.426

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 557f2c71954945232505fa689455d817ab0dbcd0
4
- data.tar.gz: 8e4f72bb0e96efcad826d7b6f307b74cddb8af16
3
+ metadata.gz: cb3002fa7dc2022b4b537d587d81d02de91fa96d
4
+ data.tar.gz: e9092503cbb9ad13c2a66b698baec31899c63d2a
5
5
  SHA512:
6
- metadata.gz: ffc0b99fc0d324121a92df6d0b46a3faecdadb06bf09952aa7320d25eff7757fd7db3e46c57276c4309b101e66f93485a693b6ebbe825ceb5a6ffef09aa165ee
7
- data.tar.gz: 4e49e10361c506d01b24235187712e889e541ad1888975b3c7d8ecddd4278fd19d509d8b4e71548008f99ae4a0682d1fee29eb4918770efea5bd5684d86c8d9e
6
+ metadata.gz: 81a15aae652165f42db598daa59952b1a6da04197dc89b6830828e8eb5fce6a53416c846605a8d6ebf1e618e8409a929a8d66900011079a96039a5de64d64209
7
+ data.tar.gz: 5b6a9073856c42eeee0c1640d66185c1ba2150c49f5eca9b6df436b1d9a8d2001e230867454affb4604f9324780917077af7cb0bddf99c422f27fb41b29a2f2e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.425
1
+ 3.0.426
@@ -488,54 +488,6 @@ module TencentCloud
488
488
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
489
489
  end
490
490
 
491
- # 本接口(DescribeDBPerformance)用于查看数据库实例当前性能数据。
492
-
493
- # @param request: Request instance for DescribeDBPerformance.
494
- # @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeDBPerformanceRequest`
495
- # @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeDBPerformanceResponse`
496
- def DescribeDBPerformance(request)
497
- body = send_request('DescribeDBPerformance', request.serialize)
498
- response = JSON.parse(body)
499
- if response['Response'].key?('Error') == false
500
- model = DescribeDBPerformanceResponse.new
501
- model.deserialize(response['Response'])
502
- model
503
- else
504
- code = response['Response']['Error']['Code']
505
- message = response['Response']['Error']['Message']
506
- reqid = response['Response']['RequestId']
507
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
508
- end
509
- rescue TencentCloud::Common::TencentCloudSDKException => e
510
- raise e
511
- rescue StandardError => e
512
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
513
- end
514
-
515
- # 本接口(DescribeDBPerformanceDetails)用于查看实例性能数据详情。
516
-
517
- # @param request: Request instance for DescribeDBPerformanceDetails.
518
- # @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeDBPerformanceDetailsRequest`
519
- # @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeDBPerformanceDetailsResponse`
520
- def DescribeDBPerformanceDetails(request)
521
- body = send_request('DescribeDBPerformanceDetails', request.serialize)
522
- response = JSON.parse(body)
523
- if response['Response'].key?('Error') == false
524
- model = DescribeDBPerformanceDetailsResponse.new
525
- model.deserialize(response['Response'])
526
- model
527
- else
528
- code = response['Response']['Error']['Code']
529
- message = response['Response']['Error']['Message']
530
- reqid = response['Response']['RequestId']
531
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
532
- end
533
- rescue TencentCloud::Common::TencentCloudSDKException => e
534
- raise e
535
- rescue StandardError => e
536
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
537
- end
538
-
539
491
  # 本接口(DescribeDBResourceUsage)用于查看数据库实例资源的使用情况。
540
492
 
541
493
  # @param request: Request instance for DescribeDBResourceUsage.
@@ -944,30 +896,6 @@ module TencentCloud
944
896
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
945
897
  end
946
898
 
947
- # 本接口(DescribeSqlLogs)用于获取实例SQL日志。
948
-
949
- # @param request: Request instance for DescribeSqlLogs.
950
- # @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeSqlLogsRequest`
951
- # @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeSqlLogsResponse`
952
- def DescribeSqlLogs(request)
953
- body = send_request('DescribeSqlLogs', request.serialize)
954
- response = JSON.parse(body)
955
- if response['Response'].key?('Error') == false
956
- model = DescribeSqlLogsResponse.new
957
- model.deserialize(response['Response'])
958
- model
959
- else
960
- code = response['Response']['Error']['Code']
961
- message = response['Response']['Error']['Message']
962
- reqid = response['Response']['RequestId']
963
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
964
- end
965
- rescue TencentCloud::Common::TencentCloudSDKException => e
966
- raise e
967
- rescue StandardError => e
968
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
969
- end
970
-
971
899
  # 本接口(DescribeUpgradePrice)用于在扩容云数据库实例时,查询变配的价格。
972
900
 
973
901
  # @param request: Request instance for DescribeUpgradePrice.
@@ -1921,187 +1921,6 @@ module TencentCloud
1921
1921
  end
1922
1922
  end
1923
1923
 
1924
- # DescribeDBPerformanceDetails请求参数结构体
1925
- class DescribeDBPerformanceDetailsRequest < TencentCloud::Common::AbstractModel
1926
- # @param InstanceId: 实例 ID,形如:tdsql-ow728lmc。
1927
- # @type InstanceId: String
1928
- # @param StartTime: 开始日期,格式yyyy-mm-dd
1929
- # @type StartTime: String
1930
- # @param EndTime: 结束日期,格式yyyy-mm-dd
1931
- # @type EndTime: String
1932
- # @param MetricName: 拉取的指标名,支持的值为:long_query,select_total,update_total,insert_total,delete_total,mem_hit_rate,disk_iops,conn_active,is_master_switched,slave_delay
1933
- # @type MetricName: String
1934
-
1935
- attr_accessor :InstanceId, :StartTime, :EndTime, :MetricName
1936
-
1937
- def initialize(instanceid=nil, starttime=nil, endtime=nil, metricname=nil)
1938
- @InstanceId = instanceid
1939
- @StartTime = starttime
1940
- @EndTime = endtime
1941
- @MetricName = metricname
1942
- end
1943
-
1944
- def deserialize(params)
1945
- @InstanceId = params['InstanceId']
1946
- @StartTime = params['StartTime']
1947
- @EndTime = params['EndTime']
1948
- @MetricName = params['MetricName']
1949
- end
1950
- end
1951
-
1952
- # DescribeDBPerformanceDetails返回参数结构体
1953
- class DescribeDBPerformanceDetailsResponse < TencentCloud::Common::AbstractModel
1954
- # @param Master: 主节点性能监控数据
1955
- # @type Master: :class:`Tencentcloud::Mariadb.v20170312.models.PerformanceMonitorSet`
1956
- # @param Slave1: 备机1性能监控数据
1957
- # 注意:此字段可能返回 null,表示取不到有效值。
1958
- # @type Slave1: :class:`Tencentcloud::Mariadb.v20170312.models.PerformanceMonitorSet`
1959
- # @param Slave2: 备机2性能监控数据,如果实例是一主一从,则没有该字段
1960
- # 注意:此字段可能返回 null,表示取不到有效值。
1961
- # @type Slave2: :class:`Tencentcloud::Mariadb.v20170312.models.PerformanceMonitorSet`
1962
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1963
- # @type RequestId: String
1964
-
1965
- attr_accessor :Master, :Slave1, :Slave2, :RequestId
1966
-
1967
- def initialize(master=nil, slave1=nil, slave2=nil, requestid=nil)
1968
- @Master = master
1969
- @Slave1 = slave1
1970
- @Slave2 = slave2
1971
- @RequestId = requestid
1972
- end
1973
-
1974
- def deserialize(params)
1975
- unless params['Master'].nil?
1976
- @Master = PerformanceMonitorSet.new
1977
- @Master.deserialize(params['Master'])
1978
- end
1979
- unless params['Slave1'].nil?
1980
- @Slave1 = PerformanceMonitorSet.new
1981
- @Slave1.deserialize(params['Slave1'])
1982
- end
1983
- unless params['Slave2'].nil?
1984
- @Slave2 = PerformanceMonitorSet.new
1985
- @Slave2.deserialize(params['Slave2'])
1986
- end
1987
- @RequestId = params['RequestId']
1988
- end
1989
- end
1990
-
1991
- # DescribeDBPerformance请求参数结构体
1992
- class DescribeDBPerformanceRequest < TencentCloud::Common::AbstractModel
1993
- # @param InstanceId: 实例 ID,形如:tdsql-ow728lmc。
1994
- # @type InstanceId: String
1995
- # @param StartTime: 开始日期,格式yyyy-mm-dd
1996
- # @type StartTime: String
1997
- # @param EndTime: 结束日期,格式yyyy-mm-dd
1998
- # @type EndTime: String
1999
- # @param MetricName: 拉取的指标名,支持的值为:long_query,select_total,update_total,insert_total,delete_total,mem_hit_rate,disk_iops,conn_active,is_master_switched,slave_delay
2000
- # @type MetricName: String
2001
-
2002
- attr_accessor :InstanceId, :StartTime, :EndTime, :MetricName
2003
-
2004
- def initialize(instanceid=nil, starttime=nil, endtime=nil, metricname=nil)
2005
- @InstanceId = instanceid
2006
- @StartTime = starttime
2007
- @EndTime = endtime
2008
- @MetricName = metricname
2009
- end
2010
-
2011
- def deserialize(params)
2012
- @InstanceId = params['InstanceId']
2013
- @StartTime = params['StartTime']
2014
- @EndTime = params['EndTime']
2015
- @MetricName = params['MetricName']
2016
- end
2017
- end
2018
-
2019
- # DescribeDBPerformance返回参数结构体
2020
- class DescribeDBPerformanceResponse < TencentCloud::Common::AbstractModel
2021
- # @param LongQuery: 慢查询数
2022
- # @type LongQuery: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
2023
- # @param SelectTotal: 查询操作数SELECT
2024
- # @type SelectTotal: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
2025
- # @param UpdateTotal: 更新操作数UPDATE
2026
- # @type UpdateTotal: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
2027
- # @param InsertTotal: 插入操作数INSERT
2028
- # @type InsertTotal: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
2029
- # @param DeleteTotal: 删除操作数DELETE
2030
- # @type DeleteTotal: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
2031
- # @param MemHitRate: 缓存命中率
2032
- # @type MemHitRate: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
2033
- # @param DiskIops: 磁盘每秒IO次数
2034
- # @type DiskIops: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
2035
- # @param ConnActive: 活跃连接数
2036
- # @type ConnActive: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
2037
- # @param IsMasterSwitched: 是否发生主备切换,1为发生,0否
2038
- # @type IsMasterSwitched: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
2039
- # @param SlaveDelay: 主备延迟
2040
- # @type SlaveDelay: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
2041
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2042
- # @type RequestId: String
2043
-
2044
- attr_accessor :LongQuery, :SelectTotal, :UpdateTotal, :InsertTotal, :DeleteTotal, :MemHitRate, :DiskIops, :ConnActive, :IsMasterSwitched, :SlaveDelay, :RequestId
2045
-
2046
- def initialize(longquery=nil, selecttotal=nil, updatetotal=nil, inserttotal=nil, deletetotal=nil, memhitrate=nil, diskiops=nil, connactive=nil, ismasterswitched=nil, slavedelay=nil, requestid=nil)
2047
- @LongQuery = longquery
2048
- @SelectTotal = selecttotal
2049
- @UpdateTotal = updatetotal
2050
- @InsertTotal = inserttotal
2051
- @DeleteTotal = deletetotal
2052
- @MemHitRate = memhitrate
2053
- @DiskIops = diskiops
2054
- @ConnActive = connactive
2055
- @IsMasterSwitched = ismasterswitched
2056
- @SlaveDelay = slavedelay
2057
- @RequestId = requestid
2058
- end
2059
-
2060
- def deserialize(params)
2061
- unless params['LongQuery'].nil?
2062
- @LongQuery = MonitorData.new
2063
- @LongQuery.deserialize(params['LongQuery'])
2064
- end
2065
- unless params['SelectTotal'].nil?
2066
- @SelectTotal = MonitorData.new
2067
- @SelectTotal.deserialize(params['SelectTotal'])
2068
- end
2069
- unless params['UpdateTotal'].nil?
2070
- @UpdateTotal = MonitorData.new
2071
- @UpdateTotal.deserialize(params['UpdateTotal'])
2072
- end
2073
- unless params['InsertTotal'].nil?
2074
- @InsertTotal = MonitorData.new
2075
- @InsertTotal.deserialize(params['InsertTotal'])
2076
- end
2077
- unless params['DeleteTotal'].nil?
2078
- @DeleteTotal = MonitorData.new
2079
- @DeleteTotal.deserialize(params['DeleteTotal'])
2080
- end
2081
- unless params['MemHitRate'].nil?
2082
- @MemHitRate = MonitorData.new
2083
- @MemHitRate.deserialize(params['MemHitRate'])
2084
- end
2085
- unless params['DiskIops'].nil?
2086
- @DiskIops = MonitorData.new
2087
- @DiskIops.deserialize(params['DiskIops'])
2088
- end
2089
- unless params['ConnActive'].nil?
2090
- @ConnActive = MonitorData.new
2091
- @ConnActive.deserialize(params['ConnActive'])
2092
- end
2093
- unless params['IsMasterSwitched'].nil?
2094
- @IsMasterSwitched = MonitorData.new
2095
- @IsMasterSwitched.deserialize(params['IsMasterSwitched'])
2096
- end
2097
- unless params['SlaveDelay'].nil?
2098
- @SlaveDelay = MonitorData.new
2099
- @SlaveDelay.deserialize(params['SlaveDelay'])
2100
- end
2101
- @RequestId = params['RequestId']
2102
- end
2103
- end
2104
-
2105
1924
  # DescribeDBResourceUsageDetails请求参数结构体
2106
1925
  class DescribeDBResourceUsageDetailsRequest < TencentCloud::Common::AbstractModel
2107
1926
  # @param InstanceId: 实例 ID,形如:tdsql-ow728lmc。
@@ -3048,77 +2867,6 @@ module TencentCloud
3048
2867
  end
3049
2868
  end
3050
2869
 
3051
- # DescribeSqlLogs请求参数结构体
3052
- class DescribeSqlLogsRequest < TencentCloud::Common::AbstractModel
3053
- # @param InstanceId: 实例 ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
3054
- # @type InstanceId: String
3055
- # @param Offset: SQL日志偏移。
3056
- # @type Offset: Integer
3057
- # @param Limit: 拉取数量(0-10000,为0时拉取总数信息)。
3058
- # @type Limit: Integer
3059
-
3060
- attr_accessor :InstanceId, :Offset, :Limit
3061
-
3062
- def initialize(instanceid=nil, offset=nil, limit=nil)
3063
- @InstanceId = instanceid
3064
- @Offset = offset
3065
- @Limit = limit
3066
- end
3067
-
3068
- def deserialize(params)
3069
- @InstanceId = params['InstanceId']
3070
- @Offset = params['Offset']
3071
- @Limit = params['Limit']
3072
- end
3073
- end
3074
-
3075
- # DescribeSqlLogs返回参数结构体
3076
- class DescribeSqlLogsResponse < TencentCloud::Common::AbstractModel
3077
- # @param TotalCount: 当前消息队列中的sql日志条目数。
3078
- # @type TotalCount: Integer
3079
- # @param StartOffset: 消息队列中的sql日志起始偏移。
3080
- # @type StartOffset: Integer
3081
- # @param EndOffset: 消息队列中的sql日志结束偏移。
3082
- # @type EndOffset: Integer
3083
- # @param Offset: 返回的第一条sql日志的偏移。
3084
- # @type Offset: Integer
3085
- # @param Count: 返回的sql日志数量。
3086
- # @type Count: Integer
3087
- # @param SqlItems: Sql日志列表。
3088
- # @type SqlItems: Array
3089
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3090
- # @type RequestId: String
3091
-
3092
- attr_accessor :TotalCount, :StartOffset, :EndOffset, :Offset, :Count, :SqlItems, :RequestId
3093
-
3094
- def initialize(totalcount=nil, startoffset=nil, endoffset=nil, offset=nil, count=nil, sqlitems=nil, requestid=nil)
3095
- @TotalCount = totalcount
3096
- @StartOffset = startoffset
3097
- @EndOffset = endoffset
3098
- @Offset = offset
3099
- @Count = count
3100
- @SqlItems = sqlitems
3101
- @RequestId = requestid
3102
- end
3103
-
3104
- def deserialize(params)
3105
- @TotalCount = params['TotalCount']
3106
- @StartOffset = params['StartOffset']
3107
- @EndOffset = params['EndOffset']
3108
- @Offset = params['Offset']
3109
- @Count = params['Count']
3110
- unless params['SqlItems'].nil?
3111
- @SqlItems = []
3112
- params['SqlItems'].each do |i|
3113
- sqllogitem_tmp = SqlLogItem.new
3114
- sqllogitem_tmp.deserialize(i)
3115
- @SqlItems << sqllogitem_tmp
3116
- end
3117
- end
3118
- @RequestId = params['RequestId']
3119
- end
3120
- end
3121
-
3122
2870
  # DescribeUpgradePrice请求参数结构体
3123
2871
  class DescribeUpgradePriceRequest < TencentCloud::Common::AbstractModel
3124
2872
  # @param InstanceId: 待升级的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
@@ -4322,88 +4070,6 @@ module TencentCloud
4322
4070
  end
4323
4071
  end
4324
4072
 
4325
- # DB性能监控指标集合
4326
- class PerformanceMonitorSet < TencentCloud::Common::AbstractModel
4327
- # @param UpdateTotal: 更新操作数UPDATE
4328
- # @type UpdateTotal: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
4329
- # @param DiskIops: 磁盘每秒IO次数
4330
- # @type DiskIops: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
4331
- # @param ConnActive: 活跃连接数
4332
- # @type ConnActive: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
4333
- # @param MemHitRate: 缓存命中率
4334
- # @type MemHitRate: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
4335
- # @param SlaveDelay: 主备延迟
4336
- # @type SlaveDelay: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
4337
- # @param SelectTotal: 查询操作数SELECT
4338
- # @type SelectTotal: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
4339
- # @param LongQuery: 慢查询数
4340
- # @type LongQuery: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
4341
- # @param DeleteTotal: 删除操作数DELETE
4342
- # @type DeleteTotal: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
4343
- # @param InsertTotal: 插入操作数INSERT
4344
- # @type InsertTotal: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
4345
- # @param IsMasterSwitched: 是否发生主备切换,1为发生,0否
4346
- # @type IsMasterSwitched: :class:`Tencentcloud::Mariadb.v20170312.models.MonitorData`
4347
-
4348
- attr_accessor :UpdateTotal, :DiskIops, :ConnActive, :MemHitRate, :SlaveDelay, :SelectTotal, :LongQuery, :DeleteTotal, :InsertTotal, :IsMasterSwitched
4349
-
4350
- def initialize(updatetotal=nil, diskiops=nil, connactive=nil, memhitrate=nil, slavedelay=nil, selecttotal=nil, longquery=nil, deletetotal=nil, inserttotal=nil, ismasterswitched=nil)
4351
- @UpdateTotal = updatetotal
4352
- @DiskIops = diskiops
4353
- @ConnActive = connactive
4354
- @MemHitRate = memhitrate
4355
- @SlaveDelay = slavedelay
4356
- @SelectTotal = selecttotal
4357
- @LongQuery = longquery
4358
- @DeleteTotal = deletetotal
4359
- @InsertTotal = inserttotal
4360
- @IsMasterSwitched = ismasterswitched
4361
- end
4362
-
4363
- def deserialize(params)
4364
- unless params['UpdateTotal'].nil?
4365
- @UpdateTotal = MonitorData.new
4366
- @UpdateTotal.deserialize(params['UpdateTotal'])
4367
- end
4368
- unless params['DiskIops'].nil?
4369
- @DiskIops = MonitorData.new
4370
- @DiskIops.deserialize(params['DiskIops'])
4371
- end
4372
- unless params['ConnActive'].nil?
4373
- @ConnActive = MonitorData.new
4374
- @ConnActive.deserialize(params['ConnActive'])
4375
- end
4376
- unless params['MemHitRate'].nil?
4377
- @MemHitRate = MonitorData.new
4378
- @MemHitRate.deserialize(params['MemHitRate'])
4379
- end
4380
- unless params['SlaveDelay'].nil?
4381
- @SlaveDelay = MonitorData.new
4382
- @SlaveDelay.deserialize(params['SlaveDelay'])
4383
- end
4384
- unless params['SelectTotal'].nil?
4385
- @SelectTotal = MonitorData.new
4386
- @SelectTotal.deserialize(params['SelectTotal'])
4387
- end
4388
- unless params['LongQuery'].nil?
4389
- @LongQuery = MonitorData.new
4390
- @LongQuery.deserialize(params['LongQuery'])
4391
- end
4392
- unless params['DeleteTotal'].nil?
4393
- @DeleteTotal = MonitorData.new
4394
- @DeleteTotal.deserialize(params['DeleteTotal'])
4395
- end
4396
- unless params['InsertTotal'].nil?
4397
- @InsertTotal = MonitorData.new
4398
- @InsertTotal.deserialize(params['InsertTotal'])
4399
- end
4400
- unless params['IsMasterSwitched'].nil?
4401
- @IsMasterSwitched = MonitorData.new
4402
- @IsMasterSwitched.deserialize(params['IsMasterSwitched'])
4403
- end
4404
- end
4405
- end
4406
-
4407
4073
  # 存储过程权限信息
4408
4074
  class ProcedurePrivilege < TencentCloud::Common::AbstractModel
4409
4075
  # @param Database: 数据库名
@@ -4886,58 +4552,6 @@ module TencentCloud
4886
4552
  end
4887
4553
  end
4888
4554
 
4889
- # 描述一条sql日志的详细信息。
4890
- class SqlLogItem < TencentCloud::Common::AbstractModel
4891
- # @param Offset: 本条日志在消息队列中的偏移量。
4892
- # @type Offset: Integer
4893
- # @param User: 执行本条sql的用户。
4894
- # @type User: String
4895
- # @param Client: 执行本条sql的客户端IP+端口。
4896
- # @type Client: String
4897
- # @param DbName: 数据库名称。
4898
- # @type DbName: String
4899
- # @param Sql: 执行的sql语句。
4900
- # @type Sql: String
4901
- # @param SelectRowNum: 返回的数据行数。
4902
- # @type SelectRowNum: Integer
4903
- # @param AffectRowNum: 影响行数。
4904
- # @type AffectRowNum: Integer
4905
- # @param Timestamp: Sql执行时间戳。
4906
- # @type Timestamp: Integer
4907
- # @param TimeCostMs: Sql耗时,单位为毫秒。
4908
- # @type TimeCostMs: Integer
4909
- # @param ResultCode: Sql返回码,0为成功。
4910
- # @type ResultCode: Integer
4911
-
4912
- attr_accessor :Offset, :User, :Client, :DbName, :Sql, :SelectRowNum, :AffectRowNum, :Timestamp, :TimeCostMs, :ResultCode
4913
-
4914
- def initialize(offset=nil, user=nil, client=nil, dbname=nil, sql=nil, selectrownum=nil, affectrownum=nil, timestamp=nil, timecostms=nil, resultcode=nil)
4915
- @Offset = offset
4916
- @User = user
4917
- @Client = client
4918
- @DbName = dbname
4919
- @Sql = sql
4920
- @SelectRowNum = selectrownum
4921
- @AffectRowNum = affectrownum
4922
- @Timestamp = timestamp
4923
- @TimeCostMs = timecostms
4924
- @ResultCode = resultcode
4925
- end
4926
-
4927
- def deserialize(params)
4928
- @Offset = params['Offset']
4929
- @User = params['User']
4930
- @Client = params['Client']
4931
- @DbName = params['DbName']
4932
- @Sql = params['Sql']
4933
- @SelectRowNum = params['SelectRowNum']
4934
- @AffectRowNum = params['AffectRowNum']
4935
- @Timestamp = params['Timestamp']
4936
- @TimeCostMs = params['TimeCostMs']
4937
- @ResultCode = params['ResultCode']
4938
- end
4939
- end
4940
-
4941
4555
  # SwitchDBInstanceHA请求参数结构体
4942
4556
  class SwitchDBInstanceHARequest < TencentCloud::Common::AbstractModel
4943
4557
  # @param InstanceId: 实例Id,形如 tdsql-ow728lmc
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.425
4
+ version: 3.0.426
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-11 00:00:00.000000000 Z
11
+ date: 2022-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common