lib/v20191016/models.rb in tencentcloud-sdk-dbbrain-3.0.590 vs lib/v20191016/models.rb in tencentcloud-sdk-dbbrain-3.0.591
- old
+ new
@@ -25,11 +25,11 @@
# @type ContactInfo: String
# @param Product: 服务产品类型,固定值:"mysql"。
# @type Product: String
attr_accessor :Name, :ContactInfo, :Product
-
+
def initialize(name=nil, contactinfo=nil, product=nil)
@Name = name
@ContactInfo = contactinfo
@Product = product
end
@@ -47,11 +47,11 @@
# @type Id: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Id, :RequestId
-
+
def initialize(id=nil, requestid=nil)
@Id = id
@RequestId = requestid
end
@@ -69,11 +69,11 @@
# @type Name: String
# @param Mail: 联系人绑定的邮箱。
# @type Mail: String
attr_accessor :Id, :Name, :Mail
-
+
def initialize(id=nil, name=nil, mail=nil)
@Id = id
@Name = name
@Mail = mail
end
@@ -101,11 +101,11 @@
# @type ContactGroup: Array
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认值为"mysql"。
# @type Product: String
attr_accessor :InstanceId, :StartTime, :EndTime, :SendMailFlag, :ContactPerson, :ContactGroup, :Product
-
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, sendmailflag=nil, contactperson=nil, contactgroup=nil, product=nil)
@InstanceId = instanceid
@StartTime = starttime
@EndTime = endtime
@SendMailFlag = sendmailflag
@@ -132,11 +132,11 @@
# @type AsyncRequestId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :AsyncRequestId, :RequestId
-
+
def initialize(asyncrequestid=nil, requestid=nil)
@AsyncRequestId = asyncrequestid
@RequestId = requestid
end
@@ -154,11 +154,11 @@
# @type AsyncRequestId: Integer
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :InstanceId, :AsyncRequestId, :Product
-
+
def initialize(instanceid=nil, asyncrequestid=nil, product=nil)
@InstanceId = instanceid
@AsyncRequestId = asyncrequestid
@Product = product
end
@@ -178,11 +178,11 @@
# @type ExpireTime: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :ReportUrl, :ExpireTime, :RequestId
-
+
def initialize(reporturl=nil, expiretime=nil, requestid=nil)
@ReportUrl = reporturl
@ExpireTime = expiretime
@RequestId = requestid
end
@@ -208,11 +208,11 @@
# @type Product: String
# @param BindInstanceIds: 配置绑定的实例ID,当配置级别为"Instance"时需要传入且只能为一个实例;当配置级别为“User”时,此参数不填。
# @type BindInstanceIds: Array
attr_accessor :ProfileInfo, :ProfileLevel, :ProfileName, :ProfileType, :Product, :BindInstanceIds
-
+
def initialize(profileinfo=nil, profilelevel=nil, profilename=nil, profiletype=nil, product=nil, bindinstanceids=nil)
@ProfileInfo = profileinfo
@ProfileLevel = profilelevel
@ProfileName = profilename
@ProfileType = profiletype
@@ -237,11 +237,11 @@
class CreateMailProfileResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -261,11 +261,11 @@
# @type BindInstanceId: String
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :WeekConfiguration, :ProfileInfo, :ProfileName, :BindInstanceId, :Product
-
+
def initialize(weekconfiguration=nil, profileinfo=nil, profilename=nil, bindinstanceid=nil, product=nil)
@WeekConfiguration = weekconfiguration
@ProfileInfo = profileinfo
@ProfileName = profilename
@BindInstanceId = bindinstanceid
@@ -288,11 +288,11 @@
class CreateSchedulerMailProfileResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -312,11 +312,11 @@
# @type Product: String
# @param DangerLevels: 日志风险等级列表,支持值包括:0 无风险;1 低风险;2 中风险;3 高风险。
# @type DangerLevels: Array
attr_accessor :SecAuditGroupId, :StartTime, :EndTime, :Product, :DangerLevels
-
+
def initialize(secauditgroupid=nil, starttime=nil, endtime=nil, product=nil, dangerlevels=nil)
@SecAuditGroupId = secauditgroupid
@StartTime = starttime
@EndTime = endtime
@Product = product
@@ -338,11 +338,11 @@
# @type AsyncRequestId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :AsyncRequestId, :RequestId
-
+
def initialize(asyncrequestid=nil, requestid=nil)
@AsyncRequestId = asyncrequestid
@RequestId = requestid
end
@@ -360,11 +360,11 @@
# @type AsyncRequestIds: Array
# @param Product: 服务产品类型,支持值: "mysql" - 云数据库 MySQL。
# @type Product: String
attr_accessor :SecAuditGroupId, :AsyncRequestIds, :Product
-
+
def initialize(secauditgroupid=nil, asyncrequestids=nil, product=nil)
@SecAuditGroupId = secauditgroupid
@AsyncRequestIds = asyncrequestids
@Product = product
end
@@ -380,11 +380,11 @@
class DeleteSecurityAuditLogExportTasksResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -398,11 +398,11 @@
# @type Product: String
# @param Names: 联系人名数组,支持模糊搜索。
# @type Names: Array
attr_accessor :Product, :Names
-
+
def initialize(product=nil, names=nil)
@Product = product
@Names = names
end
@@ -421,11 +421,11 @@
# @type Contacts: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :Contacts, :RequestId
-
+
def initialize(totalcount=nil, contacts=nil, requestid=nil)
@TotalCount = totalcount
@Contacts = contacts
@RequestId = requestid
end
@@ -450,11 +450,11 @@
# @type Product: String
# @param Names: 联系组名称数组,支持模糊搜索。
# @type Names: Array
attr_accessor :Product, :Names
-
+
def initialize(product=nil, names=nil)
@Product = product
@Names = names
end
@@ -473,11 +473,11 @@
# @type Groups: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :Groups, :RequestId
-
+
def initialize(totalcount=nil, groups=nil, requestid=nil)
@TotalCount = totalcount
@Groups = groups
@RequestId = requestid
end
@@ -504,11 +504,11 @@
# @type EventId: Integer
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :InstanceId, :EventId, :Product
-
+
def initialize(instanceid=nil, eventid=nil, product=nil)
@InstanceId = instanceid
@EventId = eventid
@Product = product
end
@@ -547,11 +547,11 @@
# @type EndTime: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :DiagItem, :DiagType, :EventId, :Explanation, :Outline, :Problem, :Severity, :StartTime, :Suggestions, :Metric, :EndTime, :RequestId
-
+
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)
@DiagItem = diagitem
@DiagType = diagtype
@EventId = eventid
@Explanation = explanation
@@ -591,11 +591,11 @@
# @type EndTime: String
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :InstanceId, :StartTime, :EndTime, :Product
-
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, product=nil)
@InstanceId = instanceid
@StartTime = starttime
@EndTime = endtime
@Product = product
@@ -615,11 +615,11 @@
# @type Events: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Events, :RequestId
-
+
def initialize(events=nil, requestid=nil)
@Events = events
@RequestId = requestid
end
@@ -656,11 +656,11 @@
# @type Limit: Integer
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :StartTime, :EndTime, :InstanceIds, :Sources, :HealthLevels, :TaskStatuses, :Offset, :Limit, :Product
-
+
def initialize(starttime=nil, endtime=nil, instanceids=nil, sources=nil, healthlevels=nil, taskstatuses=nil, offset=nil, limit=nil, product=nil)
@StartTime = starttime
@EndTime = endtime
@InstanceIds = instanceids
@Sources = sources
@@ -692,11 +692,11 @@
# @type Tasks: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :Tasks, :RequestId
-
+
def initialize(totalcount=nil, tasks=nil, requestid=nil)
@TotalCount = totalcount
@Tasks = tasks
@RequestId = requestid
end
@@ -723,11 +723,11 @@
# @type RangeDays: Integer
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :InstanceId, :RangeDays, :Product
-
+
def initialize(instanceid=nil, rangedays=nil, product=nil)
@InstanceId = instanceid
@RangeDays = rangedays
@Product = product
end
@@ -751,11 +751,11 @@
# @type AvailableDays: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Growth, :Remain, :Total, :AvailableDays, :RequestId
-
+
def initialize(growth=nil, remain=nil, total=nil, availabledays=nil, requestid=nil)
@Growth = growth
@Remain = remain
@Total = total
@AvailableDays = availabledays
@@ -787,11 +787,11 @@
# @type InstanceIds: Array
# @param Regions: 根据地域条件查询。
# @type Regions: Array
attr_accessor :IsSupported, :Product, :Offset, :Limit, :InstanceNames, :InstanceIds, :Regions
-
+
def initialize(issupported=nil, product=nil, offset=nil, limit=nil, instancenames=nil, instanceids=nil, regions=nil)
@IsSupported = issupported
@Product = product
@Offset = offset
@Limit = limit
@@ -821,11 +821,11 @@
# @type Items: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :DbScanStatus, :Items, :RequestId
-
+
def initialize(totalcount=nil, dbscanstatus=nil, items=nil, requestid=nil)
@TotalCount = totalcount
@DbScanStatus = dbscanstatus
@Items = items
@RequestId = requestid
@@ -854,11 +854,11 @@
# @type Time: String
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :InstanceId, :Time, :Product
-
+
def initialize(instanceid=nil, time=nil, product=nil)
@InstanceId = instanceid
@Time = time
@Product = product
end
@@ -876,11 +876,11 @@
# @type Data: :class:`Tencentcloud::Dbbrain.v20191016.models.HealthScoreInfo`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Data, :RequestId
-
+
def initialize(data=nil, requestid=nil)
@Data = data
@RequestId = requestid
end
@@ -905,11 +905,11 @@
# @type Limit: Integer
# @param ProfileName: 根据邮件配置名称查询,定期发送的邮件配置名称遵循:"scheduler_"+{instanceId}的规则。
# @type ProfileName: String
attr_accessor :ProfileType, :Product, :Offset, :Limit, :ProfileName
-
+
def initialize(profiletype=nil, product=nil, offset=nil, limit=nil, profilename=nil)
@ProfileType = profiletype
@Product = product
@Offset = offset
@Limit = limit
@@ -935,11 +935,11 @@
# @type TotalCount: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :ProfileList, :TotalCount, :RequestId
-
+
def initialize(profilelist=nil, totalcount=nil, requestid=nil)
@ProfileList = profilelist
@TotalCount = totalcount
@RequestId = requestid
end
@@ -966,11 +966,11 @@
# @type AsyncRequestId: Integer
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL。
# @type Product: String
attr_accessor :SecAuditGroupId, :AsyncRequestId, :Product
-
+
def initialize(secauditgroupid=nil, asyncrequestid=nil, product=nil)
@SecAuditGroupId = secauditgroupid
@AsyncRequestId = asyncrequestid
@Product = product
end
@@ -988,11 +988,11 @@
# @type Urls: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Urls, :RequestId
-
+
def initialize(urls=nil, requestid=nil)
@Urls = urls
@RequestId = requestid
end
@@ -1014,11 +1014,11 @@
# @type Offset: Integer
# @param Limit: 返回数量,默认20。
# @type Limit: Integer
attr_accessor :SecAuditGroupId, :Product, :AsyncRequestIds, :Offset, :Limit
-
+
def initialize(secauditgroupid=nil, product=nil, asyncrequestids=nil, offset=nil, limit=nil)
@SecAuditGroupId = secauditgroupid
@Product = product
@AsyncRequestIds = asyncrequestids
@Offset = offset
@@ -1042,11 +1042,11 @@
# @type TotalCount: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Tasks, :TotalCount, :RequestId
-
+
def initialize(tasks=nil, totalcount=nil, requestid=nil)
@Tasks = tasks
@TotalCount = totalcount
@RequestId = requestid
end
@@ -1075,11 +1075,11 @@
# @type EndTime: String
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :InstanceId, :StartTime, :EndTime, :Product
-
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, product=nil)
@InstanceId = instanceid
@StartTime = starttime
@EndTime = endtime
@Product = product
@@ -1103,11 +1103,11 @@
# @type SeriesData: :class:`Tencentcloud::Dbbrain.v20191016.models.MonitorMetricSeriesData`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Period, :TimeSeries, :SeriesData, :RequestId
-
+
def initialize(period=nil, timeseries=nil, seriesdata=nil, requestid=nil)
@Period = period
@TimeSeries = timeseries
@SeriesData = seriesdata
@RequestId = requestid
@@ -1151,11 +1151,11 @@
# @type SchemaList: Array
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :InstanceId, :StartTime, :EndTime, :SortBy, :OrderBy, :Limit, :Offset, :SchemaList, :Product
-
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, sortby=nil, orderby=nil, limit=nil, offset=nil, schemalist=nil, product=nil)
@InstanceId = instanceid
@StartTime = starttime
@EndTime = endtime
@SortBy = sortby
@@ -1194,11 +1194,11 @@
# @type Rows: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :Rows, :RequestId
-
+
def initialize(totalcount=nil, rows=nil, requestid=nil)
@TotalCount = totalcount
@Rows = rows
@RequestId = requestid
end
@@ -1227,11 +1227,11 @@
# @type EndTime: String
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :InstanceId, :StartTime, :EndTime, :Product
-
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, product=nil)
@InstanceId = instanceid
@StartTime = starttime
@EndTime = endtime
@Product = product
@@ -1257,11 +1257,11 @@
# @type UserTotalCount: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :Items, :UserNameItems, :UserTotalCount, :RequestId
-
+
def initialize(totalcount=nil, items=nil, usernameitems=nil, usertotalcount=nil, requestid=nil)
@TotalCount = totalcount
@Items = items
@UserNameItems = usernameitems
@UserTotalCount = usertotalcount
@@ -1305,11 +1305,11 @@
# @type EndDate: String
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :InstanceId, :Limit, :SortBy, :StartDate, :EndDate, :Product
-
+
def initialize(instanceid=nil, limit=nil, sortby=nil, startdate=nil, enddate=nil, product=nil)
@InstanceId = instanceid
@Limit = limit
@SortBy = sortby
@StartDate = startdate
@@ -1333,11 +1333,11 @@
# @type TopSpaceSchemaTimeSeries: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TopSpaceSchemaTimeSeries, :RequestId
-
+
def initialize(topspaceschematimeseries=nil, requestid=nil)
@TopSpaceSchemaTimeSeries = topspaceschematimeseries
@RequestId = requestid
end
@@ -1364,11 +1364,11 @@
# @type SortBy: String
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :InstanceId, :Limit, :SortBy, :Product
-
+
def initialize(instanceid=nil, limit=nil, sortby=nil, product=nil)
@InstanceId = instanceid
@Limit = limit
@SortBy = sortby
@Product = product
@@ -1390,11 +1390,11 @@
# @type Timestamp: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TopSpaceSchemas, :Timestamp, :RequestId
-
+
def initialize(topspaceschemas=nil, timestamp=nil, requestid=nil)
@TopSpaceSchemas = topspaceschemas
@Timestamp = timestamp
@RequestId = requestid
end
@@ -1427,11 +1427,11 @@
# @type EndDate: String
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :InstanceId, :Limit, :SortBy, :StartDate, :EndDate, :Product
-
+
def initialize(instanceid=nil, limit=nil, sortby=nil, startdate=nil, enddate=nil, product=nil)
@InstanceId = instanceid
@Limit = limit
@SortBy = sortby
@StartDate = startdate
@@ -1455,11 +1455,11 @@
# @type TopSpaceTableTimeSeries: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TopSpaceTableTimeSeries, :RequestId
-
+
def initialize(topspacetabletimeseries=nil, requestid=nil)
@TopSpaceTableTimeSeries = topspacetabletimeseries
@RequestId = requestid
end
@@ -1486,11 +1486,11 @@
# @type SortBy: String
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
# @type Product: String
attr_accessor :InstanceId, :Limit, :SortBy, :Product
-
+
def initialize(instanceid=nil, limit=nil, sortby=nil, product=nil)
@InstanceId = instanceid
@Limit = limit
@SortBy = sortby
@Product = product
@@ -1512,11 +1512,11 @@
# @type Timestamp: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TopSpaceTables, :Timestamp, :RequestId
-
+
def initialize(topspacetables=nil, timestamp=nil, requestid=nil)
@TopSpaceTables = topspacetables
@Timestamp = timestamp
@RequestId = requestid
end
@@ -1543,11 +1543,11 @@
# @type SqlText: String
# @param Schema: 库名。
# @type Schema: String
attr_accessor :InstanceId, :SqlText, :Schema
-
+
def initialize(instanceid=nil, sqltext=nil, schema=nil)
@InstanceId = instanceid
@SqlText = sqltext
@Schema = schema
end
@@ -1577,11 +1577,11 @@
# @type Cost: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Advices, :Comments, :SqlText, :Schema, :Tables, :SqlPlan, :Cost, :RequestId
-
+
def initialize(advices=nil, comments=nil, sqltext=nil, schema=nil, tables=nil, sqlplan=nil, cost=nil, requestid=nil)
@Advices = advices
@Comments = comments
@SqlText = sqltext
@Schema = schema
@@ -1628,11 +1628,11 @@
# @param Region: 地域
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Region: String
attr_accessor :DiagType, :EndTime, :StartTime, :EventId, :Severity, :Outline, :DiagItem, :InstanceId, :Metric, :Region
-
+
def initialize(diagtype=nil, endtime=nil, starttime=nil, eventid=nil, severity=nil, outline=nil, diagitem=nil, instanceid=nil, metric=nil, region=nil)
@DiagType = diagtype
@EndTime = endtime
@StartTime = starttime
@EventId = eventid
@@ -1678,11 +1678,11 @@
# @type Metric: String
# @param Count: 告警数目。
# @type Count: Integer
attr_accessor :EventId, :DiagType, :StartTime, :EndTime, :Outline, :Severity, :ScoreLost, :Metric, :Count
-
+
def initialize(eventid=nil, diagtype=nil, starttime=nil, endtime=nil, outline=nil, severity=nil, scorelost=nil, metric=nil, count=nil)
@EventId = eventid
@DiagType = diagtype
@StartTime = starttime
@EndTime = endtime
@@ -1714,11 +1714,11 @@
# @type Name: String
# @param MemberCount: 组成员数量。
# @type MemberCount: Integer
attr_accessor :Id, :Name, :MemberCount
-
+
def initialize(id=nil, name=nil, membercount=nil)
@Id = id
@Name = name
@MemberCount = membercount
end
@@ -1748,11 +1748,11 @@
# @type InstanceInfo: :class:`Tencentcloud::Dbbrain.v20191016.models.InstanceBasicInfo`
# @param HealthStatus: 健康报告中的健康信息。
# @type HealthStatus: :class:`Tencentcloud::Dbbrain.v20191016.models.HealthStatus`
attr_accessor :AsyncRequestId, :Source, :Progress, :CreateTime, :StartTime, :EndTime, :InstanceInfo, :HealthStatus
-
+
def initialize(asyncrequestid=nil, source=nil, progress=nil, createtime=nil, starttime=nil, endtime=nil, instanceinfo=nil, healthstatus=nil)
@AsyncRequestId = asyncrequestid
@Source = source
@Progress = progress
@CreateTime = createtime
@@ -1790,11 +1790,11 @@
# @type HealthScore: Integer
# @param HealthLevel: 健康等级, 如:"HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK"。
# @type HealthLevel: String
attr_accessor :IssueTypes, :EventsTotalCount, :HealthScore, :HealthLevel
-
+
def initialize(issuetypes=nil, eventstotalcount=nil, healthscore=nil, healthlevel=nil)
@IssueTypes = issuetypes
@EventsTotalCount = eventstotalcount
@HealthScore = healthscore
@HealthLevel = healthlevel
@@ -1826,11 +1826,11 @@
# @param ScoreDetails: 扣分详情。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ScoreDetails: Array
attr_accessor :HealthScore, :HealthLevel, :ScoreLost, :ScoreDetails
-
+
def initialize(healthscore=nil, healthlevel=nil, scorelost=nil, scoredetails=nil)
@HealthScore = healthscore
@HealthLevel = healthlevel
@ScoreLost = scorelost
@ScoreDetails = scoredetails
@@ -1865,11 +1865,11 @@
# @type Product: String
# @param EngineVersion: 实例引擎版本。
# @type EngineVersion: String
attr_accessor :InstanceId, :InstanceName, :Vip, :Vport, :Product, :EngineVersion
-
+
def initialize(instanceid=nil, instancename=nil, vip=nil, vport=nil, product=nil, engineversion=nil)
@InstanceId = instanceid
@InstanceName = instancename
@Vip = vip
@Vport = vport
@@ -1896,11 +1896,11 @@
# @param KeyDelimiters: redis大key分析的自定义分割符,仅redis使用
# 注意:此字段可能返回 null,表示取不到有效值。
# @type KeyDelimiters: Array
attr_accessor :DailyInspection, :OverviewDisplay, :KeyDelimiters
-
+
def initialize(dailyinspection=nil, overviewdisplay=nil, keydelimiters=nil)
@DailyInspection = dailyinspection
@OverviewDisplay = overviewdisplay
@KeyDelimiters = keydelimiters
end
@@ -1984,11 +1984,11 @@
# @param ClusterName: 所属集群名称(仅对集群数据库产品该字段非空,如TDSQL-C)。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ClusterName: String
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
-
+
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)
@InstanceId = instanceid
@InstanceName = instancename
@Region = region
@HealthScore = healthscore
@@ -2071,11 +2071,11 @@
# @type Events: Array
# @param TotalCount: 异常事件总数。
# @type TotalCount: Integer
attr_accessor :IssueType, :Events, :TotalCount
-
+
def initialize(issuetype=nil, events=nil, totalcount=nil)
@IssueType = issuetype
@Events = events
@TotalCount = totalcount
end
@@ -2106,11 +2106,11 @@
# @type ContactPerson: Array
# @param ContactGroup: 联系组id, 联系人/联系组不能都为空。
# @type ContactGroup: Array
attr_accessor :SendMail, :Region, :HealthStatus, :ContactPerson, :ContactGroup
-
+
def initialize(sendmail=nil, region=nil, healthstatus=nil, contactperson=nil, contactgroup=nil)
@SendMail = sendmail
@Region = region
@HealthStatus = healthstatus
@ContactPerson = contactperson
@@ -2136,11 +2136,11 @@
# @type Product: String
# @param InstanceIds: 指定更改巡检状态的实例ID。
# @type InstanceIds: Array
attr_accessor :InstanceConfs, :Regions, :Product, :InstanceIds
-
+
def initialize(instanceconfs=nil, regions=nil, product=nil, instanceids=nil)
@InstanceConfs = instanceconfs
@Regions = regions
@Product = product
@InstanceIds = instanceids
@@ -2161,11 +2161,11 @@
class ModifyDiagDBInstanceConfResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -2182,11 +2182,11 @@
# @param Values: 指标值。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Values: Array
attr_accessor :Metric, :Unit, :Values
-
+
def initialize(metric=nil, unit=nil, values=nil)
@Metric = metric
@Unit = unit
@Values = values
end
@@ -2204,11 +2204,11 @@
# @type Series: Array
# @param Timestamp: 监控指标对应的时间戳。
# @type Timestamp: Array
attr_accessor :Series, :Timestamp
-
+
def initialize(series=nil, timestamp=nil)
@Series = series
@Timestamp = timestamp
end
@@ -2234,11 +2234,11 @@
# @param Values: 指标值。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Values: Array
attr_accessor :Metric, :Unit, :Values
-
+
def initialize(metric=nil, unit=nil, values=nil)
@Metric = metric
@Unit = unit
@Values = values
end
@@ -2256,11 +2256,11 @@
# @type Series: Array
# @param Timestamp: 监控指标对应的时间戳。
# @type Timestamp: Array
attr_accessor :Series, :Timestamp
-
+
def initialize(series=nil, timestamp=nil)
@Series = series
@Timestamp = timestamp
end
@@ -2283,11 +2283,11 @@
# @type Language: String
# @param MailConfiguration: 邮件模板的内容。
# @type MailConfiguration: :class:`Tencentcloud::Dbbrain.v20191016.models.MailConfiguration`
attr_accessor :Language, :MailConfiguration
-
+
def initialize(language=nil, mailconfiguration=nil)
@Language = language
@MailConfiguration = mailconfiguration
end
@@ -2304,11 +2304,11 @@
class SchemaItem < TencentCloud::Common::AbstractModel
# @param Schema: 数据库名称
# @type Schema: String
attr_accessor :Schema
-
+
def initialize(schema=nil)
@Schema = schema
end
def deserialize(params)
@@ -2335,11 +2335,11 @@
# @param PhysicalFileSize: 库中所有表对应的独立物理文件大小加和(MB)。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type PhysicalFileSize: Float
attr_accessor :TableSchema, :DataLength, :IndexLength, :DataFree, :TotalLength, :FragRatio, :TableRows, :PhysicalFileSize
-
+
def initialize(tableschema=nil, datalength=nil, indexlength=nil, datafree=nil, totallength=nil, fragratio=nil, tablerows=nil, physicalfilesize=nil)
@TableSchema = tableschema
@DataLength = datalength
@IndexLength = indexlength
@DataFree = datafree
@@ -2367,11 +2367,11 @@
# @type TableSchema: String
# @param SeriesData: 单位时间间隔内的空间指标数据。
# @type SeriesData: :class:`Tencentcloud::Dbbrain.v20191016.models.MonitorMetricSeriesData`
attr_accessor :TableSchema, :SeriesData
-
+
def initialize(tableschema=nil, seriesdata=nil)
@TableSchema = tableschema
@SeriesData = seriesdata
end
@@ -2395,11 +2395,11 @@
# @param Items: 扣分项列表。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Items: Array
attr_accessor :IssueType, :ScoreLost, :ScoreLostMax, :Items
-
+
def initialize(issuetype=nil, scorelost=nil, scorelostmax=nil, items=nil)
@IssueType = issuetype
@ScoreLost = scorelost
@ScoreLostMax = scorelostmax
@Items = items
@@ -2432,11 +2432,11 @@
# @type Count: Integer
# @param ScoreLost: 扣分分数。
# @type ScoreLost: Integer
attr_accessor :DiagItem, :IssueType, :TopSeverity, :Count, :ScoreLost
-
+
def initialize(diagitem=nil, issuetype=nil, topseverity=nil, count=nil, scorelost=nil)
@DiagItem = diagitem
@IssueType = issuetype
@TopSeverity = topseverity
@Count = count
@@ -2480,11 +2480,11 @@
# @param DangerLevels: 风险等级列表。0 无风险;1 低风险;2 中风险;3 高风险。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type DangerLevels: Array
attr_accessor :AsyncRequestId, :StartTime, :EndTime, :CreateTime, :Status, :Progress, :LogStartTime, :LogEndTime, :TotalSize, :DangerLevels
-
+
def initialize(asyncrequestid=nil, starttime=nil, endtime=nil, createtime=nil, status=nil, progress=nil, logstarttime=nil, logendtime=nil, totalsize=nil, dangerlevels=nil)
@AsyncRequestId = asyncrequestid
@StartTime = starttime
@EndTime = endtime
@CreateTime = createtime
@@ -2518,11 +2518,11 @@
# @type Ratio: Float
# @param Count: 该来源地址的慢日志数目。
# @type Count: Integer
attr_accessor :UserHost, :Ratio, :Count
-
+
def initialize(userhost=nil, ratio=nil, count=nil)
@UserHost = userhost
@Ratio = ratio
@Count = count
end
@@ -2586,11 +2586,11 @@
# @type RowsExaminedAvg: Float
# @param Md5: SOL模板的MD5值
# @type Md5: String
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
-
+
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)
@LockTime = locktime
@LockTimeMax = locktimemax
@LockTimeMin = locktimemin
@RowsExamined = rowsexamined
@@ -2654,11 +2654,11 @@
# @type Ratio: Float
# @param Count: 该来源用户名的慢日志数目。
# @type Count: Integer
attr_accessor :UserName, :Ratio, :Count
-
+
def initialize(username=nil, ratio=nil, count=nil)
@UserName = username
@Ratio = ratio
@Count = count
end
@@ -2692,11 +2692,11 @@
# @type TableRows: Integer
# @param PhysicalFileSize: 表对应的独立物理文件大小(MB)。
# @type PhysicalFileSize: Float
attr_accessor :TableName, :TableSchema, :Engine, :DataLength, :IndexLength, :DataFree, :TotalLength, :FragRatio, :TableRows, :PhysicalFileSize
-
+
def initialize(tablename=nil, tableschema=nil, engine=nil, datalength=nil, indexlength=nil, datafree=nil, totallength=nil, fragratio=nil, tablerows=nil, physicalfilesize=nil)
@TableName = tablename
@TableSchema = tableschema
@Engine = engine
@DataLength = datalength
@@ -2732,11 +2732,11 @@
# @type Engine: String
# @param SeriesData: 单位时间间隔内的空间指标数据。
# @type SeriesData: :class:`Tencentcloud::Dbbrain.v20191016.models.MonitorFloatMetricSeriesData`
attr_accessor :TableName, :TableSchema, :Engine, :SeriesData
-
+
def initialize(tablename=nil, tableschema=nil, engine=nil, seriesdata=nil)
@TableName = tablename
@TableSchema = tableschema
@Engine = engine
@SeriesData = seriesdata
@@ -2759,11 +2759,11 @@
# @type Count: Integer
# @param Timestamp: 统计开始时间
# @type Timestamp: Integer
attr_accessor :Count, :Timestamp
-
+
def initialize(count=nil, timestamp=nil)
@Count = count
@Timestamp = timestamp
end
@@ -2789,10 +2789,10 @@
# @type ProfileName: String
# @param ProfileInfo: 配置详情。
# @type ProfileInfo: :class:`Tencentcloud::Dbbrain.v20191016.models.ProfileInfo`
attr_accessor :ProfileId, :ProfileType, :ProfileLevel, :ProfileName, :ProfileInfo
-
+
def initialize(profileid=nil, profiletype=nil, profilelevel=nil, profilename=nil, profileinfo=nil)
@ProfileId = profileid
@ProfileType = profiletype
@ProfileLevel = profilelevel
@ProfileName = profilename