services/oceanbasepro/struct_data.go (139 lines of code) (raw):
package oceanbasepro
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// Data is a nested struct in oceanbasepro response
type Data struct {
Event string `json:"Event" xml:"Event"`
IOWaitTime float64 `json:"IOWaitTime" xml:"IOWaitTime"`
Executions int64 `json:"Executions" xml:"Executions"`
ConcurrencyWaitTime float64 `json:"ConcurrencyWaitTime" xml:"ConcurrencyWaitTime"`
ExecuteTime float64 `json:"ExecuteTime" xml:"ExecuteTime"`
BackupRestorableTime string `json:"BackupRestorableTime" xml:"BackupRestorableTime"`
CpuTime float64 `json:"CpuTime" xml:"CpuTime"`
DbType string `json:"DbType" xml:"DbType"`
Encoding string `json:"Encoding" xml:"Encoding"`
ElapsedTime float64 `json:"ElapsedTime" xml:"ElapsedTime"`
OutlineId int64 `json:"OutlineId" xml:"OutlineId"`
NodeIp string `json:"NodeIp" xml:"NodeIp"`
OutlineData string `json:"OutlineData" xml:"OutlineData"`
Message string `json:"Message" xml:"Message"`
QuerySQL string `json:"QuerySQL" xml:"QuerySQL"`
RPCCount int64 `json:"RPCCount" xml:"RPCCount"`
ScheduleTime float64 `json:"ScheduleTime" xml:"ScheduleTime"`
ObVersion string `json:"ObVersion" xml:"ObVersion"`
EndpointId string `json:"EndpointId" xml:"EndpointId"`
DiagnosisRule string `json:"DiagnosisRule" xml:"DiagnosisRule"`
DefaultValue string `json:"DefaultValue" xml:"DefaultValue"`
DbName string `json:"DbName" xml:"DbName"`
DiskRead int64 `json:"DiskRead" xml:"DiskRead"`
DownloadTaskId int64 `json:"DownloadTaskId" xml:"DownloadTaskId"`
MemoryNum int64 `json:"MemoryNum" xml:"MemoryNum"`
UsedDisk int64 `json:"UsedDisk" xml:"UsedDisk"`
ZoneId string `json:"ZoneId" xml:"ZoneId"`
Readonly bool `json:"Readonly" xml:"Readonly"`
MinMem int64 `json:"MinMem" xml:"MinMem"`
MaxMem int64 `json:"MaxMem" xml:"MaxMem"`
Status string `json:"Status" xml:"Status"`
BackupBucketName string `json:"BackupBucketName" xml:"BackupBucketName"`
Collation string `json:"Collation" xml:"Collation"`
BlockIndexCacheHit int64 `json:"BlockIndexCacheHit" xml:"BlockIndexCacheHit"`
Name string `json:"Name" xml:"Name"`
TenantMode string `json:"TenantMode" xml:"TenantMode"`
TenantName string `json:"TenantName" xml:"TenantName"`
ValueType string `json:"ValueType" xml:"ValueType"`
CreateTime string `json:"CreateTime" xml:"CreateTime"`
TotalSessionCount int `json:"TotalSessionCount" xml:"TotalSessionCount"`
ReturnRows int64 `json:"ReturnRows" xml:"ReturnRows"`
HitCount int `json:"HitCount" xml:"HitCount"`
PlanId int `json:"PlanId" xml:"PlanId"`
FirstLoadTimeUTCString string `json:"FirstLoadTimeUTCString" xml:"FirstLoadTimeUTCString"`
InstanceId string `json:"InstanceId" xml:"InstanceId"`
OutlineTimeUTCString string `json:"OutlineTimeUTCString" xml:"OutlineTimeUTCString"`
Method string `json:"Method" xml:"Method"`
RemotePlans int64 `json:"RemotePlans" xml:"RemotePlans"`
ZoneName string `json:"ZoneName" xml:"ZoneName"`
AppWaitTime float64 `json:"AppWaitTime" xml:"AppWaitTime"`
RequestTime float64 `json:"RequestTime" xml:"RequestTime"`
TenantId string `json:"TenantId" xml:"TenantId"`
AvgExecutionTimeMS int64 `json:"AvgExecutionTimeMS" xml:"AvgExecutionTimeMS"`
InternalUrl string `json:"InternalUrl" xml:"InternalUrl"`
MemstoreReadRowCount int64 `json:"MemstoreReadRowCount" xml:"MemstoreReadRowCount"`
SQLType int64 `json:"SQLType" xml:"SQLType"`
BloomFilterCacheHit int64 `json:"BloomFilterCacheHit" xml:"BloomFilterCacheHit"`
UnitNum int64 `json:"UnitNum" xml:"UnitNum"`
MissPlans int64 `json:"MissPlans" xml:"MissPlans"`
NeedReboot bool `json:"NeedReboot" xml:"NeedReboot"`
DownloadTaskCreateTime string `json:"DownloadTaskCreateTime" xml:"DownloadTaskCreateTime"`
RequiredSize string `json:"RequiredSize" xml:"RequiredSize"`
PlanUnionHash string `json:"PlanUnionHash" xml:"PlanUnionHash"`
ReadableScn int64 `json:"ReadableScn" xml:"ReadableScn"`
MaxElapsedTime float64 `json:"MaxElapsedTime" xml:"MaxElapsedTime"`
SQLId string `json:"SQLId" xml:"SQLId"`
OrderId string `json:"OrderId" xml:"OrderId"`
GetPlanTime float64 `json:"GetPlanTime" xml:"GetPlanTime"`
ObTenantId string `json:"ObTenantId" xml:"ObTenantId"`
TotalCount int `json:"TotalCount" xml:"TotalCount"`
CurrentValue string `json:"CurrentValue" xml:"CurrentValue"`
MaxCpuTime float64 `json:"MaxCpuTime" xml:"MaxCpuTime"`
DatabaseName string `json:"DatabaseName" xml:"DatabaseName"`
ClusterId string `json:"ClusterId" xml:"ClusterId"`
OutlineTime int64 `json:"OutlineTime" xml:"OutlineTime"`
FailTimes int64 `json:"FailTimes" xml:"FailTimes"`
PlanFull string `json:"PlanFull" xml:"PlanFull"`
SafeMem string `json:"SafeMem" xml:"SafeMem"`
LogicalRead int64 `json:"LogicalRead" xml:"LogicalRead"`
SQLText string `json:"SQLText" xml:"SQLText"`
TenantAlias string `json:"TenantAlias" xml:"TenantAlias"`
Success bool `json:"Success" xml:"Success"`
Suggestion string `json:"Suggestion" xml:"Suggestion"`
DataSize string `json:"DataSize" xml:"DataSize"`
TenantDataBackupRemainDays int `json:"TenantDataBackupRemainDays" xml:"TenantDataBackupRemainDays"`
AffectedRows int64 `json:"AffectedRows" xml:"AffectedRows"`
DryRunResult bool `json:"DryRunResult" xml:"DryRunResult"`
SsstoreReadRowCount int64 `json:"SsstoreReadRowCount" xml:"SsstoreReadRowCount"`
UrlExpiredTime string `json:"UrlExpiredTime" xml:"UrlExpiredTime"`
RetryCount int64 `json:"RetryCount" xml:"RetryCount"`
UrlAliveTime int64 `json:"UrlAliveTime" xml:"UrlAliveTime"`
ClientIp string `json:"ClientIp" xml:"ClientIp"`
CpuNum int64 `json:"CpuNum" xml:"CpuNum"`
Unit string `json:"Unit" xml:"Unit"`
Diagnosis string `json:"Diagnosis" xml:"Diagnosis"`
BackupSetId string `json:"BackupSetId" xml:"BackupSetId"`
BackupInfoJson string `json:"BackupInfoJson" xml:"BackupInfoJson"`
ObRpmVersion string `json:"ObRpmVersion" xml:"ObRpmVersion"`
RowCacheHit int64 `json:"RowCacheHit" xml:"RowCacheHit"`
DeployType string `json:"DeployType" xml:"DeployType"`
SourceRegion string `json:"SourceRegion" xml:"SourceRegion"`
NetWaitTime float64 `json:"NetWaitTime" xml:"NetWaitTime"`
FirstLoadTime int64 `json:"FirstLoadTime" xml:"FirstLoadTime"`
ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
DownloadTaskStatus string `json:"DownloadTaskStatus" xml:"DownloadTaskStatus"`
ExecPerSecond float64 `json:"ExecPerSecond" xml:"ExecPerSecond"`
AvgExecutionMS float64 `json:"AvgExecutionMS" xml:"AvgExecutionMS"`
QueueTime float64 `json:"QueueTime" xml:"QueueTime"`
PageNumber int `json:"PageNumber" xml:"PageNumber"`
ClusterName string `json:"ClusterName" xml:"ClusterName"`
TotalWaitTime float64 `json:"TotalWaitTime" xml:"TotalWaitTime"`
Description string `json:"Description" xml:"Description"`
ActiveSessionCount int `json:"ActiveSessionCount" xml:"ActiveSessionCount"`
BlockCacheHit int64 `json:"BlockCacheHit" xml:"BlockCacheHit"`
IdleSessionCount int `json:"IdleSessionCount" xml:"IdleSessionCount"`
PlanInfo string `json:"PlanInfo" xml:"PlanInfo"`
CreateMode string `json:"CreateMode" xml:"CreateMode"`
RequestTimeUTCString string `json:"RequestTimeUTCString" xml:"RequestTimeUTCString"`
Key int64 `json:"Key" xml:"Key"`
DecodeTime float64 `json:"DecodeTime" xml:"DecodeTime"`
Series string `json:"Series" xml:"Series"`
UserName string `json:"UserName" xml:"UserName"`
MergedVersion int `json:"MergedVersion" xml:"MergedVersion"`
UsedMem int64 `json:"UsedMem" xml:"UsedMem"`
RejectedValue []string `json:"RejectedValue" xml:"RejectedValue"`
AcceptableValue []string `json:"AcceptableValue" xml:"AcceptableValue"`
SqlText []string `json:"SqlText" xml:"SqlText"`
SessionStatistics SessionStatistics `json:"SessionStatistics" xml:"SessionStatistics"`
Tables []TablesItem `json:"Tables" xml:"Tables"`
Parameters []ParametersItem `json:"Parameters" xml:"Parameters"`
BackupSets []BackupSetsItem `json:"BackupSets" xml:"BackupSets"`
TimeIntervalList []TimeIntervalListItem `json:"TimeIntervalList" xml:"TimeIntervalList"`
AllProcessList []AllProcessListItem `json:"AllProcessList" xml:"AllProcessList"`
AvailableSpecifications []AvailableSpecificationsItem `json:"AvailableSpecifications" xml:"AvailableSpecifications"`
Users []UsersItem `json:"Users" xml:"Users"`
AvailableZones []AvailableZonesItem `json:"AvailableZones" xml:"AvailableZones"`
}