tencentcloud-sdk-dbbrain 3.0.589 → 3.0.591
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20191016/models.rb +157 -89
- data/lib/v20210527/models.rb +222 -165
- metadata +2 -2
data/lib/v20210527/models.rb
CHANGED
@@ -27,7 +27,7 @@ module TencentCloud
|
|
27
27
|
# @type Product: String
|
28
28
|
|
29
29
|
attr_accessor :Name, :ContactInfo, :Product
|
30
|
-
|
30
|
+
|
31
31
|
def initialize(name=nil, contactinfo=nil, product=nil)
|
32
32
|
@Name = name
|
33
33
|
@ContactInfo = contactinfo
|
@@ -49,7 +49,7 @@ module TencentCloud
|
|
49
49
|
# @type RequestId: String
|
50
50
|
|
51
51
|
attr_accessor :Id, :RequestId
|
52
|
-
|
52
|
+
|
53
53
|
def initialize(id=nil, requestid=nil)
|
54
54
|
@Id = id
|
55
55
|
@RequestId = requestid
|
@@ -89,7 +89,7 @@ module TencentCloud
|
|
89
89
|
# @type FinishTime: String
|
90
90
|
|
91
91
|
attr_accessor :AsyncRequestId, :FileName, :CreateTime, :Status, :FileSize, :DownloadUrl, :ErrMsg, :Progress, :FinishTime
|
92
|
-
|
92
|
+
|
93
93
|
def initialize(asyncrequestid=nil, filename=nil, createtime=nil, status=nil, filesize=nil, downloadurl=nil, errmsg=nil, progress=nil, finishtime=nil)
|
94
94
|
@AsyncRequestId = asyncrequestid
|
95
95
|
@FileName = filename
|
@@ -131,7 +131,7 @@ module TencentCloud
|
|
131
131
|
# @type ExecTime: Integer
|
132
132
|
|
133
133
|
attr_accessor :Host, :DBName, :User, :SentRows, :AffectRows, :ExecTime
|
134
|
-
|
134
|
+
|
135
135
|
def initialize(host=nil, dbname=nil, user=nil, sentrows=nil, affectrows=nil, exectime=nil)
|
136
136
|
@Host = host
|
137
137
|
@DBName = dbname
|
@@ -159,7 +159,7 @@ module TencentCloud
|
|
159
159
|
# @type Product: String
|
160
160
|
|
161
161
|
attr_accessor :InstanceId, :Product
|
162
|
-
|
162
|
+
|
163
163
|
def initialize(instanceid=nil, product=nil)
|
164
164
|
@InstanceId = instanceid
|
165
165
|
@Product = product
|
@@ -179,7 +179,7 @@ module TencentCloud
|
|
179
179
|
# @type RequestId: String
|
180
180
|
|
181
181
|
attr_accessor :Status, :RequestId
|
182
|
-
|
182
|
+
|
183
183
|
def initialize(status=nil, requestid=nil)
|
184
184
|
@Status = status
|
185
185
|
@RequestId = requestid
|
@@ -201,7 +201,7 @@ module TencentCloud
|
|
201
201
|
# @type Mail: String
|
202
202
|
|
203
203
|
attr_accessor :Id, :Name, :Mail
|
204
|
-
|
204
|
+
|
205
205
|
def initialize(id=nil, name=nil, mail=nil)
|
206
206
|
@Id = id
|
207
207
|
@Name = name
|
@@ -231,7 +231,7 @@ module TencentCloud
|
|
231
231
|
# @type Filter: :class:`Tencentcloud::Dbbrain.v20210527.models.AuditLogFilter`
|
232
232
|
|
233
233
|
attr_accessor :Product, :NodeRequestType, :InstanceId, :StartTime, :EndTime, :Filter
|
234
|
-
|
234
|
+
|
235
235
|
def initialize(product=nil, noderequesttype=nil, instanceid=nil, starttime=nil, endtime=nil, filter=nil)
|
236
236
|
@Product = product
|
237
237
|
@NodeRequestType = noderequesttype
|
@@ -262,7 +262,7 @@ module TencentCloud
|
|
262
262
|
# @type RequestId: String
|
263
263
|
|
264
264
|
attr_accessor :AsyncRequestId, :RequestId
|
265
|
-
|
265
|
+
|
266
266
|
def initialize(asyncrequestid=nil, requestid=nil)
|
267
267
|
@AsyncRequestId = asyncrequestid
|
268
268
|
@RequestId = requestid
|
@@ -292,7 +292,7 @@ module TencentCloud
|
|
292
292
|
# @type Product: String
|
293
293
|
|
294
294
|
attr_accessor :InstanceId, :StartTime, :EndTime, :SendMailFlag, :ContactPerson, :ContactGroup, :Product
|
295
|
-
|
295
|
+
|
296
296
|
def initialize(instanceid=nil, starttime=nil, endtime=nil, sendmailflag=nil, contactperson=nil, contactgroup=nil, product=nil)
|
297
297
|
@InstanceId = instanceid
|
298
298
|
@StartTime = starttime
|
@@ -323,7 +323,7 @@ module TencentCloud
|
|
323
323
|
# @type RequestId: String
|
324
324
|
|
325
325
|
attr_accessor :AsyncRequestId, :RequestId
|
326
|
-
|
326
|
+
|
327
327
|
def initialize(asyncrequestid=nil, requestid=nil)
|
328
328
|
@AsyncRequestId = asyncrequestid
|
329
329
|
@RequestId = requestid
|
@@ -345,7 +345,7 @@ module TencentCloud
|
|
345
345
|
# @type Product: String
|
346
346
|
|
347
347
|
attr_accessor :InstanceId, :AsyncRequestId, :Product
|
348
|
-
|
348
|
+
|
349
349
|
def initialize(instanceid=nil, asyncrequestid=nil, product=nil)
|
350
350
|
@InstanceId = instanceid
|
351
351
|
@AsyncRequestId = asyncrequestid
|
@@ -369,7 +369,7 @@ module TencentCloud
|
|
369
369
|
# @type RequestId: String
|
370
370
|
|
371
371
|
attr_accessor :ReportUrl, :ExpireTime, :RequestId
|
372
|
-
|
372
|
+
|
373
373
|
def initialize(reporturl=nil, expiretime=nil, requestid=nil)
|
374
374
|
@ReportUrl = reporturl
|
375
375
|
@ExpireTime = expiretime
|
@@ -405,7 +405,7 @@ module TencentCloud
|
|
405
405
|
# @type Product: String
|
406
406
|
|
407
407
|
attr_accessor :InstanceId, :Duration, :Host, :DB, :Command, :Info, :User, :Time, :Product
|
408
|
-
|
408
|
+
|
409
409
|
def initialize(instanceid=nil, duration=nil, host=nil, db=nil, command=nil, info=nil, user=nil, time=nil, product=nil)
|
410
410
|
@InstanceId = instanceid
|
411
411
|
@Duration = duration
|
@@ -439,7 +439,7 @@ module TencentCloud
|
|
439
439
|
# @type RequestId: String
|
440
440
|
|
441
441
|
attr_accessor :Status, :RequestId
|
442
|
-
|
442
|
+
|
443
443
|
def initialize(status=nil, requestid=nil)
|
444
444
|
@Status = status
|
445
445
|
@RequestId = requestid
|
@@ -467,7 +467,7 @@ module TencentCloud
|
|
467
467
|
# @type BindInstanceIds: Array
|
468
468
|
|
469
469
|
attr_accessor :ProfileInfo, :ProfileLevel, :ProfileName, :ProfileType, :Product, :BindInstanceIds
|
470
|
-
|
470
|
+
|
471
471
|
def initialize(profileinfo=nil, profilelevel=nil, profilename=nil, profiletype=nil, product=nil, bindinstanceids=nil)
|
472
472
|
@ProfileInfo = profileinfo
|
473
473
|
@ProfileLevel = profilelevel
|
@@ -496,7 +496,7 @@ module TencentCloud
|
|
496
496
|
# @type RequestId: String
|
497
497
|
|
498
498
|
attr_accessor :RequestId
|
499
|
-
|
499
|
+
|
500
500
|
def initialize(requestid=nil)
|
501
501
|
@RequestId = requestid
|
502
502
|
end
|
@@ -514,7 +514,7 @@ module TencentCloud
|
|
514
514
|
# @type Product: String
|
515
515
|
|
516
516
|
attr_accessor :InstanceId, :Product
|
517
|
-
|
517
|
+
|
518
518
|
def initialize(instanceid=nil, product=nil)
|
519
519
|
@InstanceId = instanceid
|
520
520
|
@Product = product
|
@@ -534,7 +534,7 @@ module TencentCloud
|
|
534
534
|
# @type RequestId: String
|
535
535
|
|
536
536
|
attr_accessor :AsyncRequestId, :RequestId
|
537
|
-
|
537
|
+
|
538
538
|
def initialize(asyncrequestid=nil, requestid=nil)
|
539
539
|
@AsyncRequestId = asyncrequestid
|
540
540
|
@RequestId = requestid
|
@@ -560,7 +560,7 @@ module TencentCloud
|
|
560
560
|
# @type Product: String
|
561
561
|
|
562
562
|
attr_accessor :WeekConfiguration, :ProfileInfo, :ProfileName, :BindInstanceId, :Product
|
563
|
-
|
563
|
+
|
564
564
|
def initialize(weekconfiguration=nil, profileinfo=nil, profilename=nil, bindinstanceid=nil, product=nil)
|
565
565
|
@WeekConfiguration = weekconfiguration
|
566
566
|
@ProfileInfo = profileinfo
|
@@ -587,7 +587,7 @@ module TencentCloud
|
|
587
587
|
# @type RequestId: String
|
588
588
|
|
589
589
|
attr_accessor :RequestId
|
590
|
-
|
590
|
+
|
591
591
|
def initialize(requestid=nil)
|
592
592
|
@RequestId = requestid
|
593
593
|
end
|
@@ -611,7 +611,7 @@ module TencentCloud
|
|
611
611
|
# @type DangerLevels: Array
|
612
612
|
|
613
613
|
attr_accessor :SecAuditGroupId, :StartTime, :EndTime, :Product, :DangerLevels
|
614
|
-
|
614
|
+
|
615
615
|
def initialize(secauditgroupid=nil, starttime=nil, endtime=nil, product=nil, dangerlevels=nil)
|
616
616
|
@SecAuditGroupId = secauditgroupid
|
617
617
|
@StartTime = starttime
|
@@ -637,7 +637,7 @@ module TencentCloud
|
|
637
637
|
# @type RequestId: String
|
638
638
|
|
639
639
|
attr_accessor :AsyncRequestId, :RequestId
|
640
|
-
|
640
|
+
|
641
641
|
def initialize(asyncrequestid=nil, requestid=nil)
|
642
642
|
@AsyncRequestId = asyncrequestid
|
643
643
|
@RequestId = requestid
|
@@ -653,8 +653,6 @@ module TencentCloud
|
|
653
653
|
class CreateSqlFilterRequest < TencentCloud::Common::AbstractModel
|
654
654
|
# @param InstanceId: 实例ID。
|
655
655
|
# @type InstanceId: String
|
656
|
-
# @param SessionToken: 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
|
657
|
-
# @type SessionToken: String
|
658
656
|
# @param SqlType: SQL类型,取值包括SELECT, UPDATE, DELETE, INSERT, REPLACE。
|
659
657
|
# @type SqlType: String
|
660
658
|
# @param FilterKey: 关键字,用于筛选SQL语句,多个关键字用英文逗号分隔,逗号不能作为关键词,多个关键词之间的关系为“逻辑与”。
|
@@ -663,28 +661,30 @@ module TencentCloud
|
|
663
661
|
# @type MaxConcurrency: Integer
|
664
662
|
# @param Duration: 限流时长,单位秒,支持-1和小于2147483647的正整数,-1表示永不过期。
|
665
663
|
# @type Duration: Integer
|
664
|
+
# @param SessionToken: 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
|
665
|
+
# @type SessionToken: String
|
666
666
|
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
667
667
|
# @type Product: String
|
668
668
|
|
669
|
-
attr_accessor :InstanceId, :
|
670
|
-
|
671
|
-
def initialize(instanceid=nil,
|
669
|
+
attr_accessor :InstanceId, :SqlType, :FilterKey, :MaxConcurrency, :Duration, :SessionToken, :Product
|
670
|
+
|
671
|
+
def initialize(instanceid=nil, sqltype=nil, filterkey=nil, maxconcurrency=nil, duration=nil, sessiontoken=nil, product=nil)
|
672
672
|
@InstanceId = instanceid
|
673
|
-
@SessionToken = sessiontoken
|
674
673
|
@SqlType = sqltype
|
675
674
|
@FilterKey = filterkey
|
676
675
|
@MaxConcurrency = maxconcurrency
|
677
676
|
@Duration = duration
|
677
|
+
@SessionToken = sessiontoken
|
678
678
|
@Product = product
|
679
679
|
end
|
680
680
|
|
681
681
|
def deserialize(params)
|
682
682
|
@InstanceId = params['InstanceId']
|
683
|
-
@SessionToken = params['SessionToken']
|
684
683
|
@SqlType = params['SqlType']
|
685
684
|
@FilterKey = params['FilterKey']
|
686
685
|
@MaxConcurrency = params['MaxConcurrency']
|
687
686
|
@Duration = params['Duration']
|
687
|
+
@SessionToken = params['SessionToken']
|
688
688
|
@Product = params['Product']
|
689
689
|
end
|
690
690
|
end
|
@@ -697,7 +697,7 @@ module TencentCloud
|
|
697
697
|
# @type RequestId: String
|
698
698
|
|
699
699
|
attr_accessor :FilterId, :RequestId
|
700
|
-
|
700
|
+
|
701
701
|
def initialize(filterid=nil, requestid=nil)
|
702
702
|
@FilterId = filterid
|
703
703
|
@RequestId = requestid
|
@@ -721,7 +721,7 @@ module TencentCloud
|
|
721
721
|
# @type AsyncRequestId: Integer
|
722
722
|
|
723
723
|
attr_accessor :Product, :NodeRequestType, :InstanceId, :AsyncRequestId
|
724
|
-
|
724
|
+
|
725
725
|
def initialize(product=nil, noderequesttype=nil, instanceid=nil, asyncrequestid=nil)
|
726
726
|
@Product = product
|
727
727
|
@NodeRequestType = noderequesttype
|
@@ -743,7 +743,7 @@ module TencentCloud
|
|
743
743
|
# @type RequestId: String
|
744
744
|
|
745
745
|
attr_accessor :RequestId
|
746
|
-
|
746
|
+
|
747
747
|
def initialize(requestid=nil)
|
748
748
|
@RequestId = requestid
|
749
749
|
end
|
@@ -763,7 +763,7 @@ module TencentCloud
|
|
763
763
|
# @type Product: String
|
764
764
|
|
765
765
|
attr_accessor :AsyncRequestIds, :InstanceId, :Product
|
766
|
-
|
766
|
+
|
767
767
|
def initialize(asyncrequestids=nil, instanceid=nil, product=nil)
|
768
768
|
@AsyncRequestIds = asyncrequestids
|
769
769
|
@InstanceId = instanceid
|
@@ -785,7 +785,7 @@ module TencentCloud
|
|
785
785
|
# @type RequestId: String
|
786
786
|
|
787
787
|
attr_accessor :Status, :RequestId
|
788
|
-
|
788
|
+
|
789
789
|
def initialize(status=nil, requestid=nil)
|
790
790
|
@Status = status
|
791
791
|
@RequestId = requestid
|
@@ -807,7 +807,7 @@ module TencentCloud
|
|
807
807
|
# @type Product: String
|
808
808
|
|
809
809
|
attr_accessor :SecAuditGroupId, :AsyncRequestIds, :Product
|
810
|
-
|
810
|
+
|
811
811
|
def initialize(secauditgroupid=nil, asyncrequestids=nil, product=nil)
|
812
812
|
@SecAuditGroupId = secauditgroupid
|
813
813
|
@AsyncRequestIds = asyncrequestids
|
@@ -827,7 +827,7 @@ module TencentCloud
|
|
827
827
|
# @type RequestId: String
|
828
828
|
|
829
829
|
attr_accessor :RequestId
|
830
|
-
|
830
|
+
|
831
831
|
def initialize(requestid=nil)
|
832
832
|
@RequestId = requestid
|
833
833
|
end
|
@@ -841,26 +841,26 @@ module TencentCloud
|
|
841
841
|
class DeleteSqlFiltersRequest < TencentCloud::Common::AbstractModel
|
842
842
|
# @param InstanceId: 实例ID。
|
843
843
|
# @type InstanceId: String
|
844
|
-
# @param SessionToken: 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
|
845
|
-
# @type SessionToken: String
|
846
844
|
# @param FilterIds: 限流任务ID列表。
|
847
845
|
# @type FilterIds: Array
|
846
|
+
# @param SessionToken: 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
|
847
|
+
# @type SessionToken: String
|
848
848
|
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
849
849
|
# @type Product: String
|
850
850
|
|
851
|
-
attr_accessor :InstanceId, :
|
852
|
-
|
853
|
-
def initialize(instanceid=nil,
|
851
|
+
attr_accessor :InstanceId, :FilterIds, :SessionToken, :Product
|
852
|
+
|
853
|
+
def initialize(instanceid=nil, filterids=nil, sessiontoken=nil, product=nil)
|
854
854
|
@InstanceId = instanceid
|
855
|
-
@SessionToken = sessiontoken
|
856
855
|
@FilterIds = filterids
|
856
|
+
@SessionToken = sessiontoken
|
857
857
|
@Product = product
|
858
858
|
end
|
859
859
|
|
860
860
|
def deserialize(params)
|
861
861
|
@InstanceId = params['InstanceId']
|
862
|
-
@SessionToken = params['SessionToken']
|
863
862
|
@FilterIds = params['FilterIds']
|
863
|
+
@SessionToken = params['SessionToken']
|
864
864
|
@Product = params['Product']
|
865
865
|
end
|
866
866
|
end
|
@@ -871,7 +871,7 @@ module TencentCloud
|
|
871
871
|
# @type RequestId: String
|
872
872
|
|
873
873
|
attr_accessor :RequestId
|
874
|
-
|
874
|
+
|
875
875
|
def initialize(requestid=nil)
|
876
876
|
@RequestId = requestid
|
877
877
|
end
|
@@ -889,7 +889,7 @@ module TencentCloud
|
|
889
889
|
# @type Names: Array
|
890
890
|
|
891
891
|
attr_accessor :Product, :Names
|
892
|
-
|
892
|
+
|
893
893
|
def initialize(product=nil, names=nil)
|
894
894
|
@Product = product
|
895
895
|
@Names = names
|
@@ -912,7 +912,7 @@ module TencentCloud
|
|
912
912
|
# @type RequestId: String
|
913
913
|
|
914
914
|
attr_accessor :TotalCount, :Contacts, :RequestId
|
915
|
-
|
915
|
+
|
916
916
|
def initialize(totalcount=nil, contacts=nil, requestid=nil)
|
917
917
|
@TotalCount = totalcount
|
918
918
|
@Contacts = contacts
|
@@ -941,7 +941,7 @@ module TencentCloud
|
|
941
941
|
# @type Names: Array
|
942
942
|
|
943
943
|
attr_accessor :Product, :Names
|
944
|
-
|
944
|
+
|
945
945
|
def initialize(product=nil, names=nil)
|
946
946
|
@Product = product
|
947
947
|
@Names = names
|
@@ -964,7 +964,7 @@ module TencentCloud
|
|
964
964
|
# @type RequestId: String
|
965
965
|
|
966
966
|
attr_accessor :TotalCount, :Groups, :RequestId
|
967
|
-
|
967
|
+
|
968
968
|
def initialize(totalcount=nil, groups=nil, requestid=nil)
|
969
969
|
@TotalCount = totalcount
|
970
970
|
@Groups = groups
|
@@ -999,7 +999,7 @@ module TencentCloud
|
|
999
999
|
# @type Limit: Integer
|
1000
1000
|
|
1001
1001
|
attr_accessor :Product, :NodeRequestType, :InstanceId, :Offset, :Limit
|
1002
|
-
|
1002
|
+
|
1003
1003
|
def initialize(product=nil, noderequesttype=nil, instanceid=nil, offset=nil, limit=nil)
|
1004
1004
|
@Product = product
|
1005
1005
|
@NodeRequestType = noderequesttype
|
@@ -1029,7 +1029,7 @@ module TencentCloud
|
|
1029
1029
|
# @type RequestId: String
|
1030
1030
|
|
1031
1031
|
attr_accessor :TotalCount, :Items, :RequestId
|
1032
|
-
|
1032
|
+
|
1033
1033
|
def initialize(totalcount=nil, items=nil, requestid=nil)
|
1034
1034
|
@TotalCount = totalcount
|
1035
1035
|
@Items = items
|
@@ -1060,7 +1060,7 @@ module TencentCloud
|
|
1060
1060
|
# @type Product: String
|
1061
1061
|
|
1062
1062
|
attr_accessor :InstanceId, :EventId, :Product
|
1063
|
-
|
1063
|
+
|
1064
1064
|
def initialize(instanceid=nil, eventid=nil, product=nil)
|
1065
1065
|
@InstanceId = instanceid
|
1066
1066
|
@EventId = eventid
|
@@ -1103,7 +1103,7 @@ module TencentCloud
|
|
1103
1103
|
# @type RequestId: String
|
1104
1104
|
|
1105
1105
|
attr_accessor :DiagItem, :DiagType, :EventId, :Explanation, :Outline, :Problem, :Severity, :StartTime, :Suggestions, :Metric, :EndTime, :RequestId
|
1106
|
-
|
1106
|
+
|
1107
1107
|
def initialize(diagitem=nil, diagtype=nil, eventid=nil, explanation=nil, outline=nil, problem=nil, severity=nil, starttime=nil, suggestions=nil, metric=nil, endtime=nil, requestid=nil)
|
1108
1108
|
@DiagItem = diagitem
|
1109
1109
|
@DiagType = diagtype
|
@@ -1151,7 +1151,7 @@ module TencentCloud
|
|
1151
1151
|
# @type Limit: Integer
|
1152
1152
|
|
1153
1153
|
attr_accessor :StartTime, :EndTime, :Severities, :InstanceIds, :Offset, :Limit
|
1154
|
-
|
1154
|
+
|
1155
1155
|
def initialize(starttime=nil, endtime=nil, severities=nil, instanceids=nil, offset=nil, limit=nil)
|
1156
1156
|
@StartTime = starttime
|
1157
1157
|
@EndTime = endtime
|
@@ -1181,7 +1181,7 @@ module TencentCloud
|
|
1181
1181
|
# @type RequestId: String
|
1182
1182
|
|
1183
1183
|
attr_accessor :TotalCount, :Items, :RequestId
|
1184
|
-
|
1184
|
+
|
1185
1185
|
def initialize(totalcount=nil, items=nil, requestid=nil)
|
1186
1186
|
@TotalCount = totalcount
|
1187
1187
|
@Items = items
|
@@ -1214,7 +1214,7 @@ module TencentCloud
|
|
1214
1214
|
# @type Product: String
|
1215
1215
|
|
1216
1216
|
attr_accessor :InstanceId, :StartTime, :EndTime, :Product
|
1217
|
-
|
1217
|
+
|
1218
1218
|
def initialize(instanceid=nil, starttime=nil, endtime=nil, product=nil)
|
1219
1219
|
@InstanceId = instanceid
|
1220
1220
|
@StartTime = starttime
|
@@ -1238,7 +1238,7 @@ module TencentCloud
|
|
1238
1238
|
# @type RequestId: String
|
1239
1239
|
|
1240
1240
|
attr_accessor :Events, :RequestId
|
1241
|
-
|
1241
|
+
|
1242
1242
|
def initialize(events=nil, requestid=nil)
|
1243
1243
|
@Events = events
|
1244
1244
|
@RequestId = requestid
|
@@ -1279,7 +1279,7 @@ module TencentCloud
|
|
1279
1279
|
# @type Product: String
|
1280
1280
|
|
1281
1281
|
attr_accessor :StartTime, :EndTime, :InstanceIds, :Sources, :HealthLevels, :TaskStatuses, :Offset, :Limit, :Product
|
1282
|
-
|
1282
|
+
|
1283
1283
|
def initialize(starttime=nil, endtime=nil, instanceids=nil, sources=nil, healthlevels=nil, taskstatuses=nil, offset=nil, limit=nil, product=nil)
|
1284
1284
|
@StartTime = starttime
|
1285
1285
|
@EndTime = endtime
|
@@ -1315,7 +1315,7 @@ module TencentCloud
|
|
1315
1315
|
# @type RequestId: String
|
1316
1316
|
|
1317
1317
|
attr_accessor :TotalCount, :Tasks, :RequestId
|
1318
|
-
|
1318
|
+
|
1319
1319
|
def initialize(totalcount=nil, tasks=nil, requestid=nil)
|
1320
1320
|
@TotalCount = totalcount
|
1321
1321
|
@Tasks = tasks
|
@@ -1346,7 +1346,7 @@ module TencentCloud
|
|
1346
1346
|
# @type Product: String
|
1347
1347
|
|
1348
1348
|
attr_accessor :InstanceId, :RangeDays, :Product
|
1349
|
-
|
1349
|
+
|
1350
1350
|
def initialize(instanceid=nil, rangedays=nil, product=nil)
|
1351
1351
|
@InstanceId = instanceid
|
1352
1352
|
@RangeDays = rangedays
|
@@ -1374,7 +1374,7 @@ module TencentCloud
|
|
1374
1374
|
# @type RequestId: String
|
1375
1375
|
|
1376
1376
|
attr_accessor :Growth, :Remain, :Total, :AvailableDays, :RequestId
|
1377
|
-
|
1377
|
+
|
1378
1378
|
def initialize(growth=nil, remain=nil, total=nil, availabledays=nil, requestid=nil)
|
1379
1379
|
@Growth = growth
|
1380
1380
|
@Remain = remain
|
@@ -1410,7 +1410,7 @@ module TencentCloud
|
|
1410
1410
|
# @type Regions: Array
|
1411
1411
|
|
1412
1412
|
attr_accessor :IsSupported, :Product, :Offset, :Limit, :InstanceNames, :InstanceIds, :Regions
|
1413
|
-
|
1413
|
+
|
1414
1414
|
def initialize(issupported=nil, product=nil, offset=nil, limit=nil, instancenames=nil, instanceids=nil, regions=nil)
|
1415
1415
|
@IsSupported = issupported
|
1416
1416
|
@Product = product
|
@@ -1444,7 +1444,7 @@ module TencentCloud
|
|
1444
1444
|
# @type RequestId: String
|
1445
1445
|
|
1446
1446
|
attr_accessor :TotalCount, :DbScanStatus, :Items, :RequestId
|
1447
|
-
|
1447
|
+
|
1448
1448
|
def initialize(totalcount=nil, dbscanstatus=nil, items=nil, requestid=nil)
|
1449
1449
|
@TotalCount = totalcount
|
1450
1450
|
@DbScanStatus = dbscanstatus
|
@@ -1477,7 +1477,7 @@ module TencentCloud
|
|
1477
1477
|
# @type Product: String
|
1478
1478
|
|
1479
1479
|
attr_accessor :InstanceId, :Time, :Product
|
1480
|
-
|
1480
|
+
|
1481
1481
|
def initialize(instanceid=nil, time=nil, product=nil)
|
1482
1482
|
@InstanceId = instanceid
|
1483
1483
|
@Time = time
|
@@ -1499,7 +1499,7 @@ module TencentCloud
|
|
1499
1499
|
# @type RequestId: String
|
1500
1500
|
|
1501
1501
|
attr_accessor :Data, :RequestId
|
1502
|
-
|
1502
|
+
|
1503
1503
|
def initialize(data=nil, requestid=nil)
|
1504
1504
|
@Data = data
|
1505
1505
|
@RequestId = requestid
|
@@ -1528,7 +1528,7 @@ module TencentCloud
|
|
1528
1528
|
# @type ProfileName: String
|
1529
1529
|
|
1530
1530
|
attr_accessor :ProfileType, :Product, :Offset, :Limit, :ProfileName
|
1531
|
-
|
1531
|
+
|
1532
1532
|
def initialize(profiletype=nil, product=nil, offset=nil, limit=nil, profilename=nil)
|
1533
1533
|
@ProfileType = profiletype
|
1534
1534
|
@Product = product
|
@@ -1558,7 +1558,7 @@ module TencentCloud
|
|
1558
1558
|
# @type RequestId: String
|
1559
1559
|
|
1560
1560
|
attr_accessor :ProfileList, :TotalCount, :RequestId
|
1561
|
-
|
1561
|
+
|
1562
1562
|
def initialize(profilelist=nil, totalcount=nil, requestid=nil)
|
1563
1563
|
@ProfileList = profilelist
|
1564
1564
|
@TotalCount = totalcount
|
@@ -1605,7 +1605,7 @@ module TencentCloud
|
|
1605
1605
|
# @type Product: String
|
1606
1606
|
|
1607
1607
|
attr_accessor :InstanceId, :ID, :User, :Host, :DB, :State, :Command, :Time, :Info, :Limit, :Product
|
1608
|
-
|
1608
|
+
|
1609
1609
|
def initialize(instanceid=nil, id=nil, user=nil, host=nil, db=nil, state=nil, command=nil, time=nil, info=nil, limit=nil, product=nil)
|
1610
1610
|
@InstanceId = instanceid
|
1611
1611
|
@ID = id
|
@@ -1643,7 +1643,7 @@ module TencentCloud
|
|
1643
1643
|
# @type RequestId: String
|
1644
1644
|
|
1645
1645
|
attr_accessor :ProcessList, :RequestId
|
1646
|
-
|
1646
|
+
|
1647
1647
|
def initialize(processlist=nil, requestid=nil)
|
1648
1648
|
@ProcessList = processlist
|
1649
1649
|
@RequestId = requestid
|
@@ -1676,7 +1676,7 @@ module TencentCloud
|
|
1676
1676
|
# @type Product: String
|
1677
1677
|
|
1678
1678
|
attr_accessor :InstanceId, :Date, :Limit, :Offset, :Product
|
1679
|
-
|
1679
|
+
|
1680
1680
|
def initialize(instanceid=nil, date=nil, limit=nil, offset=nil, product=nil)
|
1681
1681
|
@InstanceId = instanceid
|
1682
1682
|
@Date = date
|
@@ -1710,7 +1710,7 @@ module TencentCloud
|
|
1710
1710
|
# @type RequestId: String
|
1711
1711
|
|
1712
1712
|
attr_accessor :NoPrimaryKeyTableCount, :NoPrimaryKeyTableCountDiff, :NoPrimaryKeyTableRecordCount, :NoPrimaryKeyTables, :Timestamp, :RequestId
|
1713
|
-
|
1713
|
+
|
1714
1714
|
def initialize(noprimarykeytablecount=nil, noprimarykeytablecountdiff=nil, noprimarykeytablerecordcount=nil, noprimarykeytables=nil, timestamp=nil, requestid=nil)
|
1715
1715
|
@NoPrimaryKeyTableCount = noprimarykeytablecount
|
1716
1716
|
@NoPrimaryKeyTableCountDiff = noprimarykeytablecountdiff
|
@@ -1755,7 +1755,7 @@ module TencentCloud
|
|
1755
1755
|
# @type OrderDirection: String
|
1756
1756
|
|
1757
1757
|
attr_accessor :InstanceId, :InstanceProxyId, :Limit, :Product, :Offset, :SortBy, :OrderDirection
|
1758
|
-
|
1758
|
+
|
1759
1759
|
def initialize(instanceid=nil, instanceproxyid=nil, limit=nil, product=nil, offset=nil, sortby=nil, orderdirection=nil)
|
1760
1760
|
@InstanceId = instanceid
|
1761
1761
|
@InstanceProxyId = instanceproxyid
|
@@ -1785,7 +1785,7 @@ module TencentCloud
|
|
1785
1785
|
# @type RequestId: String
|
1786
1786
|
|
1787
1787
|
attr_accessor :ProcessStatistics, :RequestId
|
1788
|
-
|
1788
|
+
|
1789
1789
|
def initialize(processstatistics=nil, requestid=nil)
|
1790
1790
|
@ProcessStatistics = processstatistics
|
1791
1791
|
@RequestId = requestid
|
@@ -1810,7 +1810,7 @@ module TencentCloud
|
|
1810
1810
|
# @type Product: String
|
1811
1811
|
|
1812
1812
|
attr_accessor :InstanceId, :AsyncRequestIds, :Product
|
1813
|
-
|
1813
|
+
|
1814
1814
|
def initialize(instanceid=nil, asyncrequestids=nil, product=nil)
|
1815
1815
|
@InstanceId = instanceid
|
1816
1816
|
@AsyncRequestIds = asyncrequestids
|
@@ -1834,7 +1834,7 @@ module TencentCloud
|
|
1834
1834
|
# @type RequestId: String
|
1835
1835
|
|
1836
1836
|
attr_accessor :Tasks, :TotalCount, :RequestId
|
1837
|
-
|
1837
|
+
|
1838
1838
|
def initialize(tasks=nil, totalcount=nil, requestid=nil)
|
1839
1839
|
@Tasks = tasks
|
1840
1840
|
@TotalCount = totalcount
|
@@ -1871,7 +1871,7 @@ module TencentCloud
|
|
1871
1871
|
# @type Limit: Integer
|
1872
1872
|
|
1873
1873
|
attr_accessor :InstanceId, :Date, :Product, :SortBy, :KeyType, :Limit
|
1874
|
-
|
1874
|
+
|
1875
1875
|
def initialize(instanceid=nil, date=nil, product=nil, sortby=nil, keytype=nil, limit=nil)
|
1876
1876
|
@InstanceId = instanceid
|
1877
1877
|
@Date = date
|
@@ -1901,7 +1901,7 @@ module TencentCloud
|
|
1901
1901
|
# @type RequestId: String
|
1902
1902
|
|
1903
1903
|
attr_accessor :TopKeys, :Timestamp, :RequestId
|
1904
|
-
|
1904
|
+
|
1905
1905
|
def initialize(topkeys=nil, timestamp=nil, requestid=nil)
|
1906
1906
|
@TopKeys = topkeys
|
1907
1907
|
@Timestamp = timestamp
|
@@ -1934,7 +1934,7 @@ module TencentCloud
|
|
1934
1934
|
# @type Limit: Integer
|
1935
1935
|
|
1936
1936
|
attr_accessor :InstanceId, :Date, :Product, :Limit
|
1937
|
-
|
1937
|
+
|
1938
1938
|
def initialize(instanceid=nil, date=nil, product=nil, limit=nil)
|
1939
1939
|
@InstanceId = instanceid
|
1940
1940
|
@Date = date
|
@@ -1960,7 +1960,7 @@ module TencentCloud
|
|
1960
1960
|
# @type RequestId: String
|
1961
1961
|
|
1962
1962
|
attr_accessor :Items, :Timestamp, :RequestId
|
1963
|
-
|
1963
|
+
|
1964
1964
|
def initialize(items=nil, timestamp=nil, requestid=nil)
|
1965
1965
|
@Items = items
|
1966
1966
|
@Timestamp = timestamp
|
@@ -1991,7 +1991,7 @@ module TencentCloud
|
|
1991
1991
|
# @type Product: String
|
1992
1992
|
|
1993
1993
|
attr_accessor :SecAuditGroupId, :AsyncRequestId, :Product
|
1994
|
-
|
1994
|
+
|
1995
1995
|
def initialize(secauditgroupid=nil, asyncrequestid=nil, product=nil)
|
1996
1996
|
@SecAuditGroupId = secauditgroupid
|
1997
1997
|
@AsyncRequestId = asyncrequestid
|
@@ -2013,7 +2013,7 @@ module TencentCloud
|
|
2013
2013
|
# @type RequestId: String
|
2014
2014
|
|
2015
2015
|
attr_accessor :Urls, :RequestId
|
2016
|
-
|
2016
|
+
|
2017
2017
|
def initialize(urls=nil, requestid=nil)
|
2018
2018
|
@Urls = urls
|
2019
2019
|
@RequestId = requestid
|
@@ -2039,7 +2039,7 @@ module TencentCloud
|
|
2039
2039
|
# @type Limit: Integer
|
2040
2040
|
|
2041
2041
|
attr_accessor :SecAuditGroupId, :Product, :AsyncRequestIds, :Offset, :Limit
|
2042
|
-
|
2042
|
+
|
2043
2043
|
def initialize(secauditgroupid=nil, product=nil, asyncrequestids=nil, offset=nil, limit=nil)
|
2044
2044
|
@SecAuditGroupId = secauditgroupid
|
2045
2045
|
@Product = product
|
@@ -2067,7 +2067,7 @@ module TencentCloud
|
|
2067
2067
|
# @type RequestId: String
|
2068
2068
|
|
2069
2069
|
attr_accessor :Tasks, :TotalCount, :RequestId
|
2070
|
-
|
2070
|
+
|
2071
2071
|
def initialize(tasks=nil, totalcount=nil, requestid=nil)
|
2072
2072
|
@Tasks = tasks
|
2073
2073
|
@TotalCount = totalcount
|
@@ -2100,7 +2100,7 @@ module TencentCloud
|
|
2100
2100
|
# @type Product: String
|
2101
2101
|
|
2102
2102
|
attr_accessor :InstanceId, :StartTime, :EndTime, :Product
|
2103
|
-
|
2103
|
+
|
2104
2104
|
def initialize(instanceid=nil, starttime=nil, endtime=nil, product=nil)
|
2105
2105
|
@InstanceId = instanceid
|
2106
2106
|
@StartTime = starttime
|
@@ -2128,7 +2128,7 @@ module TencentCloud
|
|
2128
2128
|
# @type RequestId: String
|
2129
2129
|
|
2130
2130
|
attr_accessor :Period, :TimeSeries, :SeriesData, :RequestId
|
2131
|
-
|
2131
|
+
|
2132
2132
|
def initialize(period=nil, timeseries=nil, seriesdata=nil, requestid=nil)
|
2133
2133
|
@Period = period
|
2134
2134
|
@TimeSeries = timeseries
|
@@ -2176,7 +2176,7 @@ module TencentCloud
|
|
2176
2176
|
# @type Product: String
|
2177
2177
|
|
2178
2178
|
attr_accessor :InstanceId, :StartTime, :EndTime, :SortBy, :OrderBy, :Limit, :Offset, :SchemaList, :Product
|
2179
|
-
|
2179
|
+
|
2180
2180
|
def initialize(instanceid=nil, starttime=nil, endtime=nil, sortby=nil, orderby=nil, limit=nil, offset=nil, schemalist=nil, product=nil)
|
2181
2181
|
@InstanceId = instanceid
|
2182
2182
|
@StartTime = starttime
|
@@ -2219,7 +2219,7 @@ module TencentCloud
|
|
2219
2219
|
# @type RequestId: String
|
2220
2220
|
|
2221
2221
|
attr_accessor :TotalCount, :Rows, :RequestId
|
2222
|
-
|
2222
|
+
|
2223
2223
|
def initialize(totalcount=nil, rows=nil, requestid=nil)
|
2224
2224
|
@TotalCount = totalcount
|
2225
2225
|
@Rows = rows
|
@@ -2254,7 +2254,7 @@ module TencentCloud
|
|
2254
2254
|
# @type Md5: String
|
2255
2255
|
|
2256
2256
|
attr_accessor :InstanceId, :StartTime, :EndTime, :Product, :Md5
|
2257
|
-
|
2257
|
+
|
2258
2258
|
def initialize(instanceid=nil, starttime=nil, endtime=nil, product=nil, md5=nil)
|
2259
2259
|
@InstanceId = instanceid
|
2260
2260
|
@StartTime = starttime
|
@@ -2278,14 +2278,20 @@ module TencentCloud
|
|
2278
2278
|
# @type TotalCount: Integer
|
2279
2279
|
# @param Items: 各来源地址的慢日志占比详情列表。
|
2280
2280
|
# @type Items: Array
|
2281
|
+
# @param UserNameItems: 各来源用户名的慢日志占比详情列表。
|
2282
|
+
# @type UserNameItems: Array
|
2283
|
+
# @param UserTotalCount: 来源用户数目。
|
2284
|
+
# @type UserTotalCount: Integer
|
2281
2285
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2282
2286
|
# @type RequestId: String
|
2283
2287
|
|
2284
|
-
attr_accessor :TotalCount, :Items, :RequestId
|
2285
|
-
|
2286
|
-
def initialize(totalcount=nil, items=nil, requestid=nil)
|
2288
|
+
attr_accessor :TotalCount, :Items, :UserNameItems, :UserTotalCount, :RequestId
|
2289
|
+
|
2290
|
+
def initialize(totalcount=nil, items=nil, usernameitems=nil, usertotalcount=nil, requestid=nil)
|
2287
2291
|
@TotalCount = totalcount
|
2288
2292
|
@Items = items
|
2293
|
+
@UserNameItems = usernameitems
|
2294
|
+
@UserTotalCount = usertotalcount
|
2289
2295
|
@RequestId = requestid
|
2290
2296
|
end
|
2291
2297
|
|
@@ -2299,6 +2305,15 @@ module TencentCloud
|
|
2299
2305
|
@Items << slowloghost_tmp
|
2300
2306
|
end
|
2301
2307
|
end
|
2308
|
+
unless params['UserNameItems'].nil?
|
2309
|
+
@UserNameItems = []
|
2310
|
+
params['UserNameItems'].each do |i|
|
2311
|
+
slowloguser_tmp = SlowLogUser.new
|
2312
|
+
slowloguser_tmp.deserialize(i)
|
2313
|
+
@UserNameItems << slowloguser_tmp
|
2314
|
+
end
|
2315
|
+
end
|
2316
|
+
@UserTotalCount = params['UserTotalCount']
|
2302
2317
|
@RequestId = params['RequestId']
|
2303
2318
|
end
|
2304
2319
|
end
|
@@ -2331,7 +2346,7 @@ module TencentCloud
|
|
2331
2346
|
# @type Time: Array
|
2332
2347
|
|
2333
2348
|
attr_accessor :Product, :InstanceId, :Md5, :StartTime, :EndTime, :Offset, :Limit, :DB, :Key, :User, :Ip, :Time
|
2334
|
-
|
2349
|
+
|
2335
2350
|
def initialize(product=nil, instanceid=nil, md5=nil, starttime=nil, endtime=nil, offset=nil, limit=nil, db=nil, key=nil, user=nil, ip=nil, time=nil)
|
2336
2351
|
@Product = product
|
2337
2352
|
@InstanceId = instanceid
|
@@ -2373,7 +2388,7 @@ module TencentCloud
|
|
2373
2388
|
# @type RequestId: String
|
2374
2389
|
|
2375
2390
|
attr_accessor :TotalCount, :Rows, :RequestId
|
2376
|
-
|
2391
|
+
|
2377
2392
|
def initialize(totalcount=nil, rows=nil, requestid=nil)
|
2378
2393
|
@TotalCount = totalcount
|
2379
2394
|
@Rows = rows
|
@@ -2410,7 +2425,7 @@ module TencentCloud
|
|
2410
2425
|
# @type Product: String
|
2411
2426
|
|
2412
2427
|
attr_accessor :InstanceId, :FilterIds, :Statuses, :Offset, :Limit, :Product
|
2413
|
-
|
2428
|
+
|
2414
2429
|
def initialize(instanceid=nil, filterids=nil, statuses=nil, offset=nil, limit=nil, product=nil)
|
2415
2430
|
@InstanceId = instanceid
|
2416
2431
|
@FilterIds = filterids
|
@@ -2440,7 +2455,7 @@ module TencentCloud
|
|
2440
2455
|
# @type RequestId: String
|
2441
2456
|
|
2442
2457
|
attr_accessor :TotalCount, :Items, :RequestId
|
2443
|
-
|
2458
|
+
|
2444
2459
|
def initialize(totalcount=nil, items=nil, requestid=nil)
|
2445
2460
|
@TotalCount = totalcount
|
2446
2461
|
@Items = items
|
@@ -2473,7 +2488,7 @@ module TencentCloud
|
|
2473
2488
|
# @type Product: String
|
2474
2489
|
|
2475
2490
|
attr_accessor :InstanceId, :Schema, :SqlText, :Product
|
2476
|
-
|
2491
|
+
|
2477
2492
|
def initialize(instanceid=nil, schema=nil, sqltext=nil, product=nil)
|
2478
2493
|
@InstanceId = instanceid
|
2479
2494
|
@Schema = schema
|
@@ -2505,7 +2520,7 @@ module TencentCloud
|
|
2505
2520
|
# @type RequestId: String
|
2506
2521
|
|
2507
2522
|
attr_accessor :Schema, :SqlText, :SqlType, :SqlTemplate, :SqlId, :RequestId
|
2508
|
-
|
2523
|
+
|
2509
2524
|
def initialize(schema=nil, sqltext=nil, sqltype=nil, sqltemplate=nil, sqlid=nil, requestid=nil)
|
2510
2525
|
@Schema = schema
|
2511
2526
|
@SqlText = sqltext
|
@@ -2541,7 +2556,7 @@ module TencentCloud
|
|
2541
2556
|
# @type Product: String
|
2542
2557
|
|
2543
2558
|
attr_accessor :InstanceId, :Limit, :SortBy, :StartDate, :EndDate, :Product
|
2544
|
-
|
2559
|
+
|
2545
2560
|
def initialize(instanceid=nil, limit=nil, sortby=nil, startdate=nil, enddate=nil, product=nil)
|
2546
2561
|
@InstanceId = instanceid
|
2547
2562
|
@Limit = limit
|
@@ -2569,7 +2584,7 @@ module TencentCloud
|
|
2569
2584
|
# @type RequestId: String
|
2570
2585
|
|
2571
2586
|
attr_accessor :TopSpaceSchemaTimeSeries, :RequestId
|
2572
|
-
|
2587
|
+
|
2573
2588
|
def initialize(topspaceschematimeseries=nil, requestid=nil)
|
2574
2589
|
@TopSpaceSchemaTimeSeries = topspaceschematimeseries
|
2575
2590
|
@RequestId = requestid
|
@@ -2600,7 +2615,7 @@ module TencentCloud
|
|
2600
2615
|
# @type Product: String
|
2601
2616
|
|
2602
2617
|
attr_accessor :InstanceId, :Limit, :SortBy, :Product
|
2603
|
-
|
2618
|
+
|
2604
2619
|
def initialize(instanceid=nil, limit=nil, sortby=nil, product=nil)
|
2605
2620
|
@InstanceId = instanceid
|
2606
2621
|
@Limit = limit
|
@@ -2626,7 +2641,7 @@ module TencentCloud
|
|
2626
2641
|
# @type RequestId: String
|
2627
2642
|
|
2628
2643
|
attr_accessor :TopSpaceSchemas, :Timestamp, :RequestId
|
2629
|
-
|
2644
|
+
|
2630
2645
|
def initialize(topspaceschemas=nil, timestamp=nil, requestid=nil)
|
2631
2646
|
@TopSpaceSchemas = topspaceschemas
|
2632
2647
|
@Timestamp = timestamp
|
@@ -2663,7 +2678,7 @@ module TencentCloud
|
|
2663
2678
|
# @type Product: String
|
2664
2679
|
|
2665
2680
|
attr_accessor :InstanceId, :Limit, :SortBy, :StartDate, :EndDate, :Product
|
2666
|
-
|
2681
|
+
|
2667
2682
|
def initialize(instanceid=nil, limit=nil, sortby=nil, startdate=nil, enddate=nil, product=nil)
|
2668
2683
|
@InstanceId = instanceid
|
2669
2684
|
@Limit = limit
|
@@ -2691,7 +2706,7 @@ module TencentCloud
|
|
2691
2706
|
# @type RequestId: String
|
2692
2707
|
|
2693
2708
|
attr_accessor :TopSpaceTableTimeSeries, :RequestId
|
2694
|
-
|
2709
|
+
|
2695
2710
|
def initialize(topspacetabletimeseries=nil, requestid=nil)
|
2696
2711
|
@TopSpaceTableTimeSeries = topspacetabletimeseries
|
2697
2712
|
@RequestId = requestid
|
@@ -2722,7 +2737,7 @@ module TencentCloud
|
|
2722
2737
|
# @type Product: String
|
2723
2738
|
|
2724
2739
|
attr_accessor :InstanceId, :Limit, :SortBy, :Product
|
2725
|
-
|
2740
|
+
|
2726
2741
|
def initialize(instanceid=nil, limit=nil, sortby=nil, product=nil)
|
2727
2742
|
@InstanceId = instanceid
|
2728
2743
|
@Limit = limit
|
@@ -2748,7 +2763,7 @@ module TencentCloud
|
|
2748
2763
|
# @type RequestId: String
|
2749
2764
|
|
2750
2765
|
attr_accessor :TopSpaceTables, :Timestamp, :RequestId
|
2751
|
-
|
2766
|
+
|
2752
2767
|
def initialize(topspacetables=nil, timestamp=nil, requestid=nil)
|
2753
2768
|
@TopSpaceTables = topspacetables
|
2754
2769
|
@Timestamp = timestamp
|
@@ -2781,7 +2796,7 @@ module TencentCloud
|
|
2781
2796
|
# @type Product: String
|
2782
2797
|
|
2783
2798
|
attr_accessor :InstanceId, :SqlText, :Schema, :Product
|
2784
|
-
|
2799
|
+
|
2785
2800
|
def initialize(instanceid=nil, sqltext=nil, schema=nil, product=nil)
|
2786
2801
|
@InstanceId = instanceid
|
2787
2802
|
@SqlText = sqltext
|
@@ -2817,7 +2832,7 @@ module TencentCloud
|
|
2817
2832
|
# @type RequestId: String
|
2818
2833
|
|
2819
2834
|
attr_accessor :Advices, :Comments, :SqlText, :Schema, :Tables, :SqlPlan, :Cost, :RequestId
|
2820
|
-
|
2835
|
+
|
2821
2836
|
def initialize(advices=nil, comments=nil, sqltext=nil, schema=nil, tables=nil, sqlplan=nil, cost=nil, requestid=nil)
|
2822
2837
|
@Advices = advices
|
2823
2838
|
@Comments = comments
|
@@ -2866,7 +2881,7 @@ module TencentCloud
|
|
2866
2881
|
# @type Region: String
|
2867
2882
|
|
2868
2883
|
attr_accessor :DiagType, :EndTime, :StartTime, :EventId, :Severity, :Outline, :DiagItem, :InstanceId, :Metric, :Region
|
2869
|
-
|
2884
|
+
|
2870
2885
|
def initialize(diagtype=nil, endtime=nil, starttime=nil, eventid=nil, severity=nil, outline=nil, diagitem=nil, instanceid=nil, metric=nil, region=nil)
|
2871
2886
|
@DiagType = diagtype
|
2872
2887
|
@EndTime = endtime
|
@@ -2916,7 +2931,7 @@ module TencentCloud
|
|
2916
2931
|
# @type Count: Integer
|
2917
2932
|
|
2918
2933
|
attr_accessor :EventId, :DiagType, :StartTime, :EndTime, :Outline, :Severity, :ScoreLost, :Metric, :Count
|
2919
|
-
|
2934
|
+
|
2920
2935
|
def initialize(eventid=nil, diagtype=nil, starttime=nil, endtime=nil, outline=nil, severity=nil, scorelost=nil, metric=nil, count=nil)
|
2921
2936
|
@EventId = eventid
|
2922
2937
|
@DiagType = diagtype
|
@@ -2952,7 +2967,7 @@ module TencentCloud
|
|
2952
2967
|
# @type MemberCount: Integer
|
2953
2968
|
|
2954
2969
|
attr_accessor :Id, :Name, :MemberCount
|
2955
|
-
|
2970
|
+
|
2956
2971
|
def initialize(id=nil, name=nil, membercount=nil)
|
2957
2972
|
@Id = id
|
2958
2973
|
@Name = name
|
@@ -2986,7 +3001,7 @@ module TencentCloud
|
|
2986
3001
|
# @type HealthStatus: :class:`Tencentcloud::Dbbrain.v20210527.models.HealthStatus`
|
2987
3002
|
|
2988
3003
|
attr_accessor :AsyncRequestId, :Source, :Progress, :CreateTime, :StartTime, :EndTime, :InstanceInfo, :HealthStatus
|
2989
|
-
|
3004
|
+
|
2990
3005
|
def initialize(asyncrequestid=nil, source=nil, progress=nil, createtime=nil, starttime=nil, endtime=nil, instanceinfo=nil, healthstatus=nil)
|
2991
3006
|
@AsyncRequestId = asyncrequestid
|
2992
3007
|
@Source = source
|
@@ -3028,7 +3043,7 @@ module TencentCloud
|
|
3028
3043
|
# @type HealthLevel: String
|
3029
3044
|
|
3030
3045
|
attr_accessor :IssueTypes, :EventsTotalCount, :HealthScore, :HealthLevel
|
3031
|
-
|
3046
|
+
|
3032
3047
|
def initialize(issuetypes=nil, eventstotalcount=nil, healthscore=nil, healthlevel=nil)
|
3033
3048
|
@IssueTypes = issuetypes
|
3034
3049
|
@EventsTotalCount = eventstotalcount
|
@@ -3064,7 +3079,7 @@ module TencentCloud
|
|
3064
3079
|
# @type ScoreDetails: Array
|
3065
3080
|
|
3066
3081
|
attr_accessor :HealthScore, :HealthLevel, :ScoreLost, :ScoreDetails
|
3067
|
-
|
3082
|
+
|
3068
3083
|
def initialize(healthscore=nil, healthlevel=nil, scorelost=nil, scoredetails=nil)
|
3069
3084
|
@HealthScore = healthscore
|
3070
3085
|
@HealthLevel = healthlevel
|
@@ -3103,7 +3118,7 @@ module TencentCloud
|
|
3103
3118
|
# @type EngineVersion: String
|
3104
3119
|
|
3105
3120
|
attr_accessor :InstanceId, :InstanceName, :Vip, :Vport, :Product, :EngineVersion
|
3106
|
-
|
3121
|
+
|
3107
3122
|
def initialize(instanceid=nil, instancename=nil, vip=nil, vport=nil, product=nil, engineversion=nil)
|
3108
3123
|
@InstanceId = instanceid
|
3109
3124
|
@InstanceName = instancename
|
@@ -3134,7 +3149,7 @@ module TencentCloud
|
|
3134
3149
|
# @type KeyDelimiters: Array
|
3135
3150
|
|
3136
3151
|
attr_accessor :DailyInspection, :OverviewDisplay, :KeyDelimiters
|
3137
|
-
|
3152
|
+
|
3138
3153
|
def initialize(dailyinspection=nil, overviewdisplay=nil, keydelimiters=nil)
|
3139
3154
|
@DailyInspection = dailyinspection
|
3140
3155
|
@OverviewDisplay = overviewdisplay
|
@@ -3206,18 +3221,24 @@ module TencentCloud
|
|
3206
3221
|
# @type AuditPolicyStatus: String
|
3207
3222
|
# @param AuditRunningStatus: 实例审计日志运行状态:normal: 运行中; paused: 欠费暂停。
|
3208
3223
|
# @type AuditRunningStatus: String
|
3209
|
-
# @param InternalVip: 内网vip
|
3224
|
+
# @param InternalVip: 内网vip。
|
3210
3225
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3211
3226
|
# @type InternalVip: String
|
3212
|
-
# @param InternalVport: 内网port
|
3227
|
+
# @param InternalVport: 内网port。
|
3213
3228
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3214
3229
|
# @type InternalVport: Integer
|
3215
|
-
# @param CreateTime:
|
3230
|
+
# @param CreateTime: 创建时间。
|
3216
3231
|
# @type CreateTime: String
|
3232
|
+
# @param ClusterId: 所属集群ID(仅对集群数据库产品该字段非空,如TDSQL-C)。
|
3233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3234
|
+
# @type ClusterId: String
|
3235
|
+
# @param ClusterName: 所属集群名称(仅对集群数据库产品该字段非空,如TDSQL-C)。
|
3236
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3237
|
+
# @type ClusterName: String
|
3238
|
+
|
3239
|
+
attr_accessor :InstanceId, :InstanceName, :Region, :HealthScore, :Product, :EventCount, :InstanceType, :Cpu, :Memory, :Volume, :EngineVersion, :Vip, :Vport, :Source, :GroupId, :GroupName, :Status, :UniqSubnetId, :DeployMode, :InitFlag, :TaskStatus, :UniqVpcId, :InstanceConf, :DeadlineTime, :IsSupported, :SecAuditStatus, :AuditPolicyStatus, :AuditRunningStatus, :InternalVip, :InternalVport, :CreateTime, :ClusterId, :ClusterName
|
3217
3240
|
|
3218
|
-
|
3219
|
-
|
3220
|
-
def initialize(instanceid=nil, instancename=nil, region=nil, healthscore=nil, product=nil, eventcount=nil, instancetype=nil, cpu=nil, memory=nil, volume=nil, engineversion=nil, vip=nil, vport=nil, source=nil, groupid=nil, groupname=nil, status=nil, uniqsubnetid=nil, deploymode=nil, initflag=nil, taskstatus=nil, uniqvpcid=nil, instanceconf=nil, deadlinetime=nil, issupported=nil, secauditstatus=nil, auditpolicystatus=nil, auditrunningstatus=nil, internalvip=nil, internalvport=nil, createtime=nil)
|
3241
|
+
def initialize(instanceid=nil, instancename=nil, region=nil, healthscore=nil, product=nil, eventcount=nil, instancetype=nil, cpu=nil, memory=nil, volume=nil, engineversion=nil, vip=nil, vport=nil, source=nil, groupid=nil, groupname=nil, status=nil, uniqsubnetid=nil, deploymode=nil, initflag=nil, taskstatus=nil, uniqvpcid=nil, instanceconf=nil, deadlinetime=nil, issupported=nil, secauditstatus=nil, auditpolicystatus=nil, auditrunningstatus=nil, internalvip=nil, internalvport=nil, createtime=nil, clusterid=nil, clustername=nil)
|
3221
3242
|
@InstanceId = instanceid
|
3222
3243
|
@InstanceName = instancename
|
3223
3244
|
@Region = region
|
@@ -3249,6 +3270,8 @@ module TencentCloud
|
|
3249
3270
|
@InternalVip = internalvip
|
3250
3271
|
@InternalVport = internalvport
|
3251
3272
|
@CreateTime = createtime
|
3273
|
+
@ClusterId = clusterid
|
3274
|
+
@ClusterName = clustername
|
3252
3275
|
end
|
3253
3276
|
|
3254
3277
|
def deserialize(params)
|
@@ -3286,6 +3309,8 @@ module TencentCloud
|
|
3286
3309
|
@InternalVip = params['InternalVip']
|
3287
3310
|
@InternalVport = params['InternalVport']
|
3288
3311
|
@CreateTime = params['CreateTime']
|
3312
|
+
@ClusterId = params['ClusterId']
|
3313
|
+
@ClusterName = params['ClusterName']
|
3289
3314
|
end
|
3290
3315
|
end
|
3291
3316
|
|
@@ -3299,7 +3324,7 @@ module TencentCloud
|
|
3299
3324
|
# @type TotalCount: Integer
|
3300
3325
|
|
3301
3326
|
attr_accessor :IssueType, :Events, :TotalCount
|
3302
|
-
|
3327
|
+
|
3303
3328
|
def initialize(issuetype=nil, events=nil, totalcount=nil)
|
3304
3329
|
@IssueType = issuetype
|
3305
3330
|
@Events = events
|
@@ -3336,7 +3361,7 @@ module TencentCloud
|
|
3336
3361
|
# @type RecordHistory: Boolean
|
3337
3362
|
|
3338
3363
|
attr_accessor :InstanceId, :Stage, :Threads, :SqlExecId, :Product, :RecordHistory
|
3339
|
-
|
3364
|
+
|
3340
3365
|
def initialize(instanceid=nil, stage=nil, threads=nil, sqlexecid=nil, product=nil, recordhistory=nil)
|
3341
3366
|
@InstanceId = instanceid
|
3342
3367
|
@Stage = stage
|
@@ -3367,7 +3392,7 @@ module TencentCloud
|
|
3367
3392
|
# @type RequestId: String
|
3368
3393
|
|
3369
3394
|
attr_accessor :Threads, :SqlExecId, :RequestId
|
3370
|
-
|
3395
|
+
|
3371
3396
|
def initialize(threads=nil, sqlexecid=nil, requestid=nil)
|
3372
3397
|
@Threads = threads
|
3373
3398
|
@SqlExecId = sqlexecid
|
@@ -3395,7 +3420,7 @@ module TencentCloud
|
|
3395
3420
|
# @type ContactGroup: Array
|
3396
3421
|
|
3397
3422
|
attr_accessor :SendMail, :Region, :HealthStatus, :ContactPerson, :ContactGroup
|
3398
|
-
|
3423
|
+
|
3399
3424
|
def initialize(sendmail=nil, region=nil, healthstatus=nil, contactperson=nil, contactgroup=nil)
|
3400
3425
|
@SendMail = sendmail
|
3401
3426
|
@Region = region
|
@@ -3425,7 +3450,7 @@ module TencentCloud
|
|
3425
3450
|
# @type InstanceIds: Array
|
3426
3451
|
|
3427
3452
|
attr_accessor :InstanceConfs, :Regions, :Product, :InstanceIds
|
3428
|
-
|
3453
|
+
|
3429
3454
|
def initialize(instanceconfs=nil, regions=nil, product=nil, instanceids=nil)
|
3430
3455
|
@InstanceConfs = instanceconfs
|
3431
3456
|
@Regions = regions
|
@@ -3450,7 +3475,7 @@ module TencentCloud
|
|
3450
3475
|
# @type RequestId: String
|
3451
3476
|
|
3452
3477
|
attr_accessor :RequestId
|
3453
|
-
|
3478
|
+
|
3454
3479
|
def initialize(requestid=nil)
|
3455
3480
|
@RequestId = requestid
|
3456
3481
|
end
|
@@ -3464,30 +3489,30 @@ module TencentCloud
|
|
3464
3489
|
class ModifySqlFiltersRequest < TencentCloud::Common::AbstractModel
|
3465
3490
|
# @param InstanceId: 实例ID。
|
3466
3491
|
# @type InstanceId: String
|
3467
|
-
# @param SessionToken: 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
|
3468
|
-
# @type SessionToken: String
|
3469
3492
|
# @param FilterIds: SQL限流任务ID列表。
|
3470
3493
|
# @type FilterIds: Array
|
3471
3494
|
# @param Status: 限流任务状态,取值支持TERMINATED - 终止。
|
3472
3495
|
# @type Status: String
|
3496
|
+
# @param SessionToken: 通过VerifyUserAccount获取有效期为5分钟的会话token,使用后会自动延长token有效期至五分钟后。
|
3497
|
+
# @type SessionToken: String
|
3473
3498
|
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
3474
3499
|
# @type Product: String
|
3475
3500
|
|
3476
|
-
attr_accessor :InstanceId, :
|
3477
|
-
|
3478
|
-
def initialize(instanceid=nil,
|
3501
|
+
attr_accessor :InstanceId, :FilterIds, :Status, :SessionToken, :Product
|
3502
|
+
|
3503
|
+
def initialize(instanceid=nil, filterids=nil, status=nil, sessiontoken=nil, product=nil)
|
3479
3504
|
@InstanceId = instanceid
|
3480
|
-
@SessionToken = sessiontoken
|
3481
3505
|
@FilterIds = filterids
|
3482
3506
|
@Status = status
|
3507
|
+
@SessionToken = sessiontoken
|
3483
3508
|
@Product = product
|
3484
3509
|
end
|
3485
3510
|
|
3486
3511
|
def deserialize(params)
|
3487
3512
|
@InstanceId = params['InstanceId']
|
3488
|
-
@SessionToken = params['SessionToken']
|
3489
3513
|
@FilterIds = params['FilterIds']
|
3490
3514
|
@Status = params['Status']
|
3515
|
+
@SessionToken = params['SessionToken']
|
3491
3516
|
@Product = params['Product']
|
3492
3517
|
end
|
3493
3518
|
end
|
@@ -3498,7 +3523,7 @@ module TencentCloud
|
|
3498
3523
|
# @type RequestId: String
|
3499
3524
|
|
3500
3525
|
attr_accessor :RequestId
|
3501
|
-
|
3526
|
+
|
3502
3527
|
def initialize(requestid=nil)
|
3503
3528
|
@RequestId = requestid
|
3504
3529
|
end
|
@@ -3519,7 +3544,7 @@ module TencentCloud
|
|
3519
3544
|
# @type Values: Array
|
3520
3545
|
|
3521
3546
|
attr_accessor :Metric, :Unit, :Values
|
3522
|
-
|
3547
|
+
|
3523
3548
|
def initialize(metric=nil, unit=nil, values=nil)
|
3524
3549
|
@Metric = metric
|
3525
3550
|
@Unit = unit
|
@@ -3541,7 +3566,7 @@ module TencentCloud
|
|
3541
3566
|
# @type Timestamp: Array
|
3542
3567
|
|
3543
3568
|
attr_accessor :Series, :Timestamp
|
3544
|
-
|
3569
|
+
|
3545
3570
|
def initialize(series=nil, timestamp=nil)
|
3546
3571
|
@Series = series
|
3547
3572
|
@Timestamp = timestamp
|
@@ -3571,7 +3596,7 @@ module TencentCloud
|
|
3571
3596
|
# @type Values: Array
|
3572
3597
|
|
3573
3598
|
attr_accessor :Metric, :Unit, :Values
|
3574
|
-
|
3599
|
+
|
3575
3600
|
def initialize(metric=nil, unit=nil, values=nil)
|
3576
3601
|
@Metric = metric
|
3577
3602
|
@Unit = unit
|
@@ -3593,7 +3618,7 @@ module TencentCloud
|
|
3593
3618
|
# @type Timestamp: Array
|
3594
3619
|
|
3595
3620
|
attr_accessor :Series, :Timestamp
|
3596
|
-
|
3621
|
+
|
3597
3622
|
def initialize(series=nil, timestamp=nil)
|
3598
3623
|
@Series = series
|
3599
3624
|
@Timestamp = timestamp
|
@@ -3632,7 +3657,7 @@ module TencentCloud
|
|
3632
3657
|
# @type Info: String
|
3633
3658
|
|
3634
3659
|
attr_accessor :ID, :User, :Host, :DB, :State, :Command, :Time, :Info
|
3635
|
-
|
3660
|
+
|
3636
3661
|
def initialize(id=nil, user=nil, host=nil, db=nil, state=nil, command=nil, time=nil, info=nil)
|
3637
3662
|
@ID = id
|
3638
3663
|
@User = user
|
@@ -3666,7 +3691,7 @@ module TencentCloud
|
|
3666
3691
|
# @type ActiveConnSum: Integer
|
3667
3692
|
|
3668
3693
|
attr_accessor :Items, :AllConnSum, :ActiveConnSum
|
3669
|
-
|
3694
|
+
|
3670
3695
|
def initialize(items=nil, allconnsum=nil, activeconnsum=nil)
|
3671
3696
|
@Items = items
|
3672
3697
|
@AllConnSum = allconnsum
|
@@ -3695,7 +3720,7 @@ module TencentCloud
|
|
3695
3720
|
# @type MailConfiguration: :class:`Tencentcloud::Dbbrain.v20210527.models.MailConfiguration`
|
3696
3721
|
|
3697
3722
|
attr_accessor :Language, :MailConfiguration
|
3698
|
-
|
3723
|
+
|
3699
3724
|
def initialize(language=nil, mailconfiguration=nil)
|
3700
3725
|
@Language = language
|
3701
3726
|
@MailConfiguration = mailconfiguration
|
@@ -3726,10 +3751,14 @@ module TencentCloud
|
|
3726
3751
|
# @type ItemCount: Integer
|
3727
3752
|
# @param MaxElementSize: 最大元素长度。
|
3728
3753
|
# @type MaxElementSize: Integer
|
3754
|
+
# @param AveElementSize: 平均元素长度。
|
3755
|
+
# @type AveElementSize: Integer
|
3756
|
+
# @param ShardId: 所属分片序号。
|
3757
|
+
# @type ShardId: String
|
3758
|
+
|
3759
|
+
attr_accessor :Key, :Type, :Encoding, :ExpireTime, :Length, :ItemCount, :MaxElementSize, :AveElementSize, :ShardId
|
3729
3760
|
|
3730
|
-
|
3731
|
-
|
3732
|
-
def initialize(key=nil, type=nil, encoding=nil, expiretime=nil, length=nil, itemcount=nil, maxelementsize=nil)
|
3761
|
+
def initialize(key=nil, type=nil, encoding=nil, expiretime=nil, length=nil, itemcount=nil, maxelementsize=nil, aveelementsize=nil, shardid=nil)
|
3733
3762
|
@Key = key
|
3734
3763
|
@Type = type
|
3735
3764
|
@Encoding = encoding
|
@@ -3737,6 +3766,8 @@ module TencentCloud
|
|
3737
3766
|
@Length = length
|
3738
3767
|
@ItemCount = itemcount
|
3739
3768
|
@MaxElementSize = maxelementsize
|
3769
|
+
@AveElementSize = aveelementsize
|
3770
|
+
@ShardId = shardid
|
3740
3771
|
end
|
3741
3772
|
|
3742
3773
|
def deserialize(params)
|
@@ -3747,6 +3778,8 @@ module TencentCloud
|
|
3747
3778
|
@Length = params['Length']
|
3748
3779
|
@ItemCount = params['ItemCount']
|
3749
3780
|
@MaxElementSize = params['MaxElementSize']
|
3781
|
+
@AveElementSize = params['AveElementSize']
|
3782
|
+
@ShardId = params['ShardId']
|
3750
3783
|
end
|
3751
3784
|
end
|
3752
3785
|
|
@@ -3766,7 +3799,7 @@ module TencentCloud
|
|
3766
3799
|
# @type MaxElementSize: Integer
|
3767
3800
|
|
3768
3801
|
attr_accessor :AveElementSize, :Length, :KeyPreIndex, :ItemCount, :Count, :MaxElementSize
|
3769
|
-
|
3802
|
+
|
3770
3803
|
def initialize(aveelementsize=nil, length=nil, keypreindex=nil, itemcount=nil, count=nil, maxelementsize=nil)
|
3771
3804
|
@AveElementSize = aveelementsize
|
3772
3805
|
@Length = length
|
@@ -3812,7 +3845,7 @@ module TencentCloud
|
|
3812
3845
|
# @type ExpireTime: String
|
3813
3846
|
|
3814
3847
|
attr_accessor :Id, :Status, :SqlType, :OriginKeys, :OriginRule, :RejectedSqlCount, :CurrentConcurrency, :MaxConcurrency, :CreateTime, :CurrentTime, :ExpireTime
|
3815
|
-
|
3848
|
+
|
3816
3849
|
def initialize(id=nil, status=nil, sqltype=nil, originkeys=nil, originrule=nil, rejectedsqlcount=nil, currentconcurrency=nil, maxconcurrency=nil, createtime=nil, currenttime=nil, expiretime=nil)
|
3817
3850
|
@Id = id
|
3818
3851
|
@Status = status
|
@@ -3848,7 +3881,7 @@ module TencentCloud
|
|
3848
3881
|
# @type Schema: String
|
3849
3882
|
|
3850
3883
|
attr_accessor :Schema
|
3851
|
-
|
3884
|
+
|
3852
3885
|
def initialize(schema=nil)
|
3853
3886
|
@Schema = schema
|
3854
3887
|
end
|
@@ -3879,7 +3912,7 @@ module TencentCloud
|
|
3879
3912
|
# @type PhysicalFileSize: Float
|
3880
3913
|
|
3881
3914
|
attr_accessor :TableSchema, :DataLength, :IndexLength, :DataFree, :TotalLength, :FragRatio, :TableRows, :PhysicalFileSize
|
3882
|
-
|
3915
|
+
|
3883
3916
|
def initialize(tableschema=nil, datalength=nil, indexlength=nil, datafree=nil, totallength=nil, fragratio=nil, tablerows=nil, physicalfilesize=nil)
|
3884
3917
|
@TableSchema = tableschema
|
3885
3918
|
@DataLength = datalength
|
@@ -3911,7 +3944,7 @@ module TencentCloud
|
|
3911
3944
|
# @type SeriesData: :class:`Tencentcloud::Dbbrain.v20210527.models.MonitorMetricSeriesData`
|
3912
3945
|
|
3913
3946
|
attr_accessor :TableSchema, :SeriesData
|
3914
|
-
|
3947
|
+
|
3915
3948
|
def initialize(tableschema=nil, seriesdata=nil)
|
3916
3949
|
@TableSchema = tableschema
|
3917
3950
|
@SeriesData = seriesdata
|
@@ -3939,7 +3972,7 @@ module TencentCloud
|
|
3939
3972
|
# @type Items: Array
|
3940
3973
|
|
3941
3974
|
attr_accessor :IssueType, :ScoreLost, :ScoreLostMax, :Items
|
3942
|
-
|
3975
|
+
|
3943
3976
|
def initialize(issuetype=nil, scorelost=nil, scorelostmax=nil, items=nil)
|
3944
3977
|
@IssueType = issuetype
|
3945
3978
|
@ScoreLost = scorelost
|
@@ -3976,7 +4009,7 @@ module TencentCloud
|
|
3976
4009
|
# @type ScoreLost: Integer
|
3977
4010
|
|
3978
4011
|
attr_accessor :DiagItem, :IssueType, :TopSeverity, :Count, :ScoreLost
|
3979
|
-
|
4012
|
+
|
3980
4013
|
def initialize(diagitem=nil, issuetype=nil, topseverity=nil, count=nil, scorelost=nil)
|
3981
4014
|
@DiagItem = diagitem
|
3982
4015
|
@IssueType = issuetype
|
@@ -4024,7 +4057,7 @@ module TencentCloud
|
|
4024
4057
|
# @type DangerLevels: Array
|
4025
4058
|
|
4026
4059
|
attr_accessor :AsyncRequestId, :StartTime, :EndTime, :CreateTime, :Status, :Progress, :LogStartTime, :LogEndTime, :TotalSize, :DangerLevels
|
4027
|
-
|
4060
|
+
|
4028
4061
|
def initialize(asyncrequestid=nil, starttime=nil, endtime=nil, createtime=nil, status=nil, progress=nil, logstarttime=nil, logendtime=nil, totalsize=nil, dangerlevels=nil)
|
4029
4062
|
@AsyncRequestId = asyncrequestid
|
4030
4063
|
@StartTime = starttime
|
@@ -4062,7 +4095,7 @@ module TencentCloud
|
|
4062
4095
|
# @type AllConn: Integer
|
4063
4096
|
|
4064
4097
|
attr_accessor :Ip, :ActiveConn, :AllConn
|
4065
|
-
|
4098
|
+
|
4066
4099
|
def initialize(ip=nil, activeconn=nil, allconn=nil)
|
4067
4100
|
@Ip = ip
|
4068
4101
|
@ActiveConn = activeconn
|
@@ -4086,7 +4119,7 @@ module TencentCloud
|
|
4086
4119
|
# @type Count: Integer
|
4087
4120
|
|
4088
4121
|
attr_accessor :UserHost, :Ratio, :Count
|
4089
|
-
|
4122
|
+
|
4090
4123
|
def initialize(userhost=nil, ratio=nil, count=nil)
|
4091
4124
|
@UserHost = userhost
|
4092
4125
|
@Ratio = ratio
|
@@ -4127,7 +4160,7 @@ module TencentCloud
|
|
4127
4160
|
# @type RowsSent: Integer
|
4128
4161
|
|
4129
4162
|
attr_accessor :Timestamp, :SqlText, :Database, :UserName, :UserHost, :QueryTime, :LockTime, :RowsExamined, :RowsSent
|
4130
|
-
|
4163
|
+
|
4131
4164
|
def initialize(timestamp=nil, sqltext=nil, database=nil, username=nil, userhost=nil, querytime=nil, locktime=nil, rowsexamined=nil, rowssent=nil)
|
4132
4165
|
@Timestamp = timestamp
|
4133
4166
|
@SqlText = sqltext
|
@@ -4207,7 +4240,7 @@ module TencentCloud
|
|
4207
4240
|
# @type Md5: String
|
4208
4241
|
|
4209
4242
|
attr_accessor :LockTime, :LockTimeMax, :LockTimeMin, :RowsExamined, :RowsExaminedMax, :RowsExaminedMin, :QueryTime, :QueryTimeMax, :QueryTimeMin, :RowsSent, :RowsSentMax, :RowsSentMin, :ExecTimes, :SqlTemplate, :SqlText, :Schema, :QueryTimeRatio, :LockTimeRatio, :RowsExaminedRatio, :RowsSentRatio, :QueryTimeAvg, :RowsSentAvg, :LockTimeAvg, :RowsExaminedAvg, :Md5
|
4210
|
-
|
4243
|
+
|
4211
4244
|
def initialize(locktime=nil, locktimemax=nil, locktimemin=nil, rowsexamined=nil, rowsexaminedmax=nil, rowsexaminedmin=nil, querytime=nil, querytimemax=nil, querytimemin=nil, rowssent=nil, rowssentmax=nil, rowssentmin=nil, exectimes=nil, sqltemplate=nil, sqltext=nil, schema=nil, querytimeratio=nil, locktimeratio=nil, rowsexaminedratio=nil, rowssentratio=nil, querytimeavg=nil, rowssentavg=nil, locktimeavg=nil, rowsexaminedavg=nil, md5=nil)
|
4212
4245
|
@LockTime = locktime
|
4213
4246
|
@LockTimeMax = locktimemax
|
@@ -4265,6 +4298,30 @@ module TencentCloud
|
|
4265
4298
|
end
|
4266
4299
|
end
|
4267
4300
|
|
4301
|
+
# 慢日志来源用户详情。
|
4302
|
+
class SlowLogUser < TencentCloud::Common::AbstractModel
|
4303
|
+
# @param UserName: 来源用户名。
|
4304
|
+
# @type UserName: String
|
4305
|
+
# @param Ratio: 该来源用户名的慢日志数目占总数目的比例,单位%。
|
4306
|
+
# @type Ratio: Float
|
4307
|
+
# @param Count: 该来源用户名的慢日志数目。
|
4308
|
+
# @type Count: Integer
|
4309
|
+
|
4310
|
+
attr_accessor :UserName, :Ratio, :Count
|
4311
|
+
|
4312
|
+
def initialize(username=nil, ratio=nil, count=nil)
|
4313
|
+
@UserName = username
|
4314
|
+
@Ratio = ratio
|
4315
|
+
@Count = count
|
4316
|
+
end
|
4317
|
+
|
4318
|
+
def deserialize(params)
|
4319
|
+
@UserName = params['UserName']
|
4320
|
+
@Ratio = params['Ratio']
|
4321
|
+
@Count = params['Count']
|
4322
|
+
end
|
4323
|
+
end
|
4324
|
+
|
4268
4325
|
# 表结构。
|
4269
4326
|
class Table < TencentCloud::Common::AbstractModel
|
4270
4327
|
# @param TableSchema: 库名。
|
@@ -4279,7 +4336,7 @@ module TencentCloud
|
|
4279
4336
|
# @type TotalLength: Float
|
4280
4337
|
|
4281
4338
|
attr_accessor :TableSchema, :TableName, :Engine, :TableRows, :TotalLength
|
4282
|
-
|
4339
|
+
|
4283
4340
|
def initialize(tableschema=nil, tablename=nil, engine=nil, tablerows=nil, totallength=nil)
|
4284
4341
|
@TableSchema = tableschema
|
4285
4342
|
@TableName = tablename
|
@@ -4321,7 +4378,7 @@ module TencentCloud
|
|
4321
4378
|
# @type PhysicalFileSize: Float
|
4322
4379
|
|
4323
4380
|
attr_accessor :TableName, :TableSchema, :Engine, :DataLength, :IndexLength, :DataFree, :TotalLength, :FragRatio, :TableRows, :PhysicalFileSize
|
4324
|
-
|
4381
|
+
|
4325
4382
|
def initialize(tablename=nil, tableschema=nil, engine=nil, datalength=nil, indexlength=nil, datafree=nil, totallength=nil, fragratio=nil, tablerows=nil, physicalfilesize=nil)
|
4326
4383
|
@TableName = tablename
|
4327
4384
|
@TableSchema = tableschema
|
@@ -4361,7 +4418,7 @@ module TencentCloud
|
|
4361
4418
|
# @type SeriesData: :class:`Tencentcloud::Dbbrain.v20210527.models.MonitorFloatMetricSeriesData`
|
4362
4419
|
|
4363
4420
|
attr_accessor :TableName, :TableSchema, :Engine, :SeriesData
|
4364
|
-
|
4421
|
+
|
4365
4422
|
def initialize(tablename=nil, tableschema=nil, engine=nil, seriesdata=nil)
|
4366
4423
|
@TableName = tablename
|
4367
4424
|
@TableSchema = tableschema
|
@@ -4406,7 +4463,7 @@ module TencentCloud
|
|
4406
4463
|
# @type InstanceId: String
|
4407
4464
|
|
4408
4465
|
attr_accessor :AsyncRequestId, :InstProxyList, :InstProxyCount, :CreateTime, :StartTime, :TaskStatus, :FinishedProxyList, :FailedProxyList, :EndTime, :Progress, :InstanceId
|
4409
|
-
|
4466
|
+
|
4410
4467
|
def initialize(asyncrequestid=nil, instproxylist=nil, instproxycount=nil, createtime=nil, starttime=nil, taskstatus=nil, finishedproxylist=nil, failedproxylist=nil, endtime=nil, progress=nil, instanceid=nil)
|
4411
4468
|
@AsyncRequestId = asyncrequestid
|
4412
4469
|
@InstProxyList = instproxylist
|
@@ -4444,7 +4501,7 @@ module TencentCloud
|
|
4444
4501
|
# @type Timestamp: Integer
|
4445
4502
|
|
4446
4503
|
attr_accessor :Count, :Timestamp
|
4447
|
-
|
4504
|
+
|
4448
4505
|
def initialize(count=nil, timestamp=nil)
|
4449
4506
|
@Count = count
|
4450
4507
|
@Timestamp = timestamp
|
@@ -4474,7 +4531,7 @@ module TencentCloud
|
|
4474
4531
|
# @type ProfileInfo: :class:`Tencentcloud::Dbbrain.v20210527.models.ProfileInfo`
|
4475
4532
|
|
4476
4533
|
attr_accessor :ProfileId, :ProfileType, :ProfileLevel, :ProfileName, :ProfileInfo
|
4477
|
-
|
4534
|
+
|
4478
4535
|
def initialize(profileid=nil, profiletype=nil, profilelevel=nil, profilename=nil, profileinfo=nil)
|
4479
4536
|
@ProfileId = profileid
|
4480
4537
|
@ProfileType = profiletype
|
@@ -4507,7 +4564,7 @@ module TencentCloud
|
|
4507
4564
|
# @type Product: String
|
4508
4565
|
|
4509
4566
|
attr_accessor :InstanceId, :User, :Password, :Product
|
4510
|
-
|
4567
|
+
|
4511
4568
|
def initialize(instanceid=nil, user=nil, password=nil, product=nil)
|
4512
4569
|
@InstanceId = instanceid
|
4513
4570
|
@User = user
|
@@ -4531,7 +4588,7 @@ module TencentCloud
|
|
4531
4588
|
# @type RequestId: String
|
4532
4589
|
|
4533
4590
|
attr_accessor :SessionToken, :RequestId
|
4534
|
-
|
4591
|
+
|
4535
4592
|
def initialize(sessiontoken=nil, requestid=nil)
|
4536
4593
|
@SessionToken = sessiontoken
|
4537
4594
|
@RequestId = requestid
|