Documentation ¶
Index ¶
- type AdviceResult
- type ApiVersion
- type CancelShareConnectionsRequest
- type CancelShareConnectionsRequestBody
- type CancelShareConnectionsResponse
- type ChangeSqlLimitSwitchStatusBody
- type ChangeSqlLimitSwitchStatusBodyDatastoreType
- type ChangeSqlLimitSwitchStatusBodyDatastoreTypeEnum
- type ChangeSqlLimitSwitchStatusBodySwitchStatus
- type ChangeSqlLimitSwitchStatusBodySwitchStatusEnum
- type ChangeSqlLimitSwitchStatusRequest
- type ChangeSqlLimitSwitchStatusRequestXLanguage
- type ChangeSqlLimitSwitchStatusRequestXLanguageEnum
- type ChangeSqlLimitSwitchStatusResponse
- type ChangeSqlSwitchBody
- type ChangeSqlSwitchRequest
- type ChangeSqlSwitchRequestXLanguage
- type ChangeSqlSwitchRequestXLanguageEnum
- type ChangeSqlSwitchResponse
- type ChangeTransactionSwitchStatusRequest
- type ChangeTransactionSwitchStatusRequestXLanguage
- type ChangeTransactionSwitchStatusRequestXLanguageEnum
- type ChangeTransactionSwitchStatusResponse
- type ChangeTransactionSwitchStatusResponseSwitchStatus
- type ChangeTransactionSwitchStatusResponseSwitchStatusEnum
- type CreateHealthReportReq
- type CreateHealthReportTaskRequest
- type CreateHealthReportTaskRequestXLanguage
- type CreateHealthReportTaskRequestXLanguageEnum
- type CreateHealthReportTaskResponse
- type CreateShareConnectionsRequest
- type CreateShareConnectionsRequestBody
- type CreateShareConnectionsResponse
- type CreateSpaceAnalysisTaskBody
- type CreateSpaceAnalysisTaskBodyDatastoreType
- type CreateSpaceAnalysisTaskBodyDatastoreTypeEnum
- type CreateSpaceAnalysisTaskBodyOperate
- type CreateSpaceAnalysisTaskBodyOperateEnum
- type CreateSpaceAnalysisTaskRequest
- type CreateSpaceAnalysisTaskRequestXLanguage
- type CreateSpaceAnalysisTaskRequestXLanguageEnum
- type CreateSpaceAnalysisTaskResponse
- type CreateSqlLimitRuleOption
- type CreateSqlLimitRuleOptionSqlType
- type CreateSqlLimitRuleOptionSqlTypeEnum
- type CreateSqlLimitRulesBody
- type CreateSqlLimitRulesBodyDatastoreType
- type CreateSqlLimitRulesBodyDatastoreTypeEnum
- type CreateSqlLimitRulesRequest
- type CreateSqlLimitRulesRequestXLanguage
- type CreateSqlLimitRulesRequestXLanguageEnum
- type CreateSqlLimitRulesResponse
- type CreateTuningReq
- type CreateTuningRequest
- type CreateTuningResponse
- type DasInstanceInfo
- type DbObjectSpaceInfo
- type DbObjectSpaceInfoObjectType
- type DbObjectSpaceInfoObjectTypeEnum
- type DbUser
- type DeleteDbUserRequest
- type DeleteDbUserRequestXLanguage
- type DeleteDbUserRequestXLanguageEnum
- type DeleteDbUserResponse
- type DeleteProcessReqBody
- type DeleteProcessRequest
- type DeleteProcessRequestXLanguage
- type DeleteProcessRequestXLanguageEnum
- type DeleteProcessResponse
- type DeleteSqlLimitRulesBody
- type DeleteSqlLimitRulesBodyDatastoreType
- type DeleteSqlLimitRulesBodyDatastoreTypeEnum
- type DeleteSqlLimitRulesRequest
- type DeleteSqlLimitRulesRequestXLanguage
- type DeleteSqlLimitRulesRequestXLanguageEnum
- type DeleteSqlLimitRulesResponse
- type ExecutionPlan
- type Explain
- type ExportSlowQueryLogsRequest
- type ExportSlowQueryLogsRequestXLanguage
- type ExportSlowQueryLogsRequestXLanguageEnum
- type ExportSlowQueryLogsResponse
- type ExportSlowSqlStatisticsRequest
- type ExportSlowSqlStatisticsRequestBody
- type ExportSlowSqlStatisticsRequestBodyDatastoreType
- type ExportSlowSqlStatisticsRequestBodyDatastoreTypeEnum
- type ExportSlowSqlStatisticsRequestBodyStatisticsField
- type ExportSlowSqlStatisticsRequestBodyStatisticsFieldEnum
- type ExportSlowSqlStatisticsRequestXLanguage
- type ExportSlowSqlStatisticsRequestXLanguageEnum
- type ExportSlowSqlStatisticsResponse
- type ExportSlowSqlTemplatesDetailsRequest
- type ExportSlowSqlTemplatesDetailsRequestXLanguage
- type ExportSlowSqlTemplatesDetailsRequestXLanguageEnum
- type ExportSlowSqlTemplatesDetailsResponse
- type ExportSlowSqlTrendDetailsRequest
- type ExportSlowSqlTrendDetailsRequestXLanguage
- type ExportSlowSqlTrendDetailsRequestXLanguageEnum
- type ExportSlowSqlTrendDetailsResponse
- type ExportSqlStatementsRequest
- type ExportSqlStatementsRequestXLanguage
- type ExportSqlStatementsRequestXLanguageEnum
- type ExportSqlStatementsResponse
- type ExportTopRiskInstancesRequest
- type ExportTopRiskInstancesRequestNum
- type ExportTopRiskInstancesRequestNumEnum
- type ExportTopRiskInstancesRequestXLanguage
- type ExportTopRiskInstancesRequestXLanguageEnum
- type ExportTopRiskInstancesResponse
- type ExportTopSqlTemplatesDetailsRequest
- type ExportTopSqlTemplatesDetailsRequestSort
- type ExportTopSqlTemplatesDetailsRequestSortEnum
- type ExportTopSqlTemplatesDetailsRequestXLanguage
- type ExportTopSqlTemplatesDetailsRequestXLanguageEnum
- type ExportTopSqlTemplatesDetailsResponse
- type ExportTopSqlTrendDetailsRequest
- type ExportTopSqlTrendDetailsRequestXLanguage
- type ExportTopSqlTrendDetailsRequestXLanguageEnum
- type ExportTopSqlTrendDetailsResponse
- type FeedbackInfo
- type FullSql
- type GetTransactionListRespTransactionInfoList
- type HealthReportAnalysisResult
- type HealthReportDiskStat
- type HealthReportFullSqlStat
- type HealthReportInspectionScore
- type HealthReportInspectionStat
- type HealthReportInstanceInfo
- type HealthReportLostPointsDetail
- type HealthReportPerformanceStat
- type HealthReportRatioStat
- type HealthReportRiskReason
- type HealthReportRiskSuggestion
- type HealthReportSingleValueStat
- type HealthReportSlowLogStat
- type HealthReportSqlTemplate
- type HealthReportSummaryInfo
- type HealthReportTableSpaceIncrInfo
- type HealthReportTableSpaceInfo
- type HealthReportTableSpaceStat
- type HealthReportTask
- type IndexAdviceInfo
- type InnodbLock
- type InnodbLockWaits
- type InnodbTrx
- type InstanceSpaceInfo
- type ListApiVersionsRequest
- type ListApiVersionsResponse
- type ListCloudDbaInstancesRequest
- type ListCloudDbaInstancesRequestXLanguage
- type ListCloudDbaInstancesRequestXLanguageEnum
- type ListCloudDbaInstancesResponse
- type ListDbUsersRequest
- type ListDbUsersRequestXLanguage
- type ListDbUsersRequestXLanguageEnum
- type ListDbUsersResponse
- type ListHealthReportTaskRequest
- type ListHealthReportTaskRequestXLanguage
- type ListHealthReportTaskRequestXLanguageEnum
- type ListHealthReportTaskResponse
- type ListInnodbLocksRequest
- type ListInnodbLocksRequestXLanguage
- type ListInnodbLocksRequestXLanguageEnum
- type ListInnodbLocksResponse
- type ListMetadataLocksRequest
- type ListMetadataLocksRequestXLanguage
- type ListMetadataLocksRequestXLanguageEnum
- type ListMetadataLocksResponse
- type ListProcessesRequest
- type ListProcessesRequestXLanguage
- type ListProcessesRequestXLanguageEnum
- type ListProcessesResponse
- type ListSpaceAnalysisRequest
- type ListSpaceAnalysisRequestDatastoreType
- type ListSpaceAnalysisRequestDatastoreTypeEnum
- type ListSpaceAnalysisRequestObjectType
- type ListSpaceAnalysisRequestObjectTypeEnum
- type ListSpaceAnalysisResponse
- type ListSqlLimitRulesRequest
- type ListSqlLimitRulesRequestDatastoreType
- type ListSqlLimitRulesRequestDatastoreTypeEnum
- type ListSqlLimitRulesRequestXLanguage
- type ListSqlLimitRulesRequestXLanguageEnum
- type ListSqlLimitRulesResponse
- type ListTransactionsRequest
- type ListTransactionsRequestDatastoreType
- type ListTransactionsRequestDatastoreTypeEnum
- type ListTransactionsRequestOrder
- type ListTransactionsRequestOrderBy
- type ListTransactionsRequestOrderByEnum
- type ListTransactionsRequestOrderEnum
- type ListTransactionsRequestXLanguage
- type ListTransactionsRequestXLanguageEnum
- type ListTransactionsResponse
- type MetadataLock
- type ParseSqlLimitRulesReq
- type ParseSqlLimitRulesReqDatastoreType
- type ParseSqlLimitRulesReqDatastoreTypeEnum
- type ParseSqlLimitRulesRequest
- type ParseSqlLimitRulesRequestXLanguage
- type ParseSqlLimitRulesRequestXLanguageEnum
- type ParseSqlLimitRulesResponse
- type Process
- type QuerySqlPlanBody
- type RegisterDbUserRequest
- type RegisterDbUserRequestBody
- type RegisterDbUserRequestXLanguage
- type RegisterDbUserRequestXLanguageEnum
- type RegisterDbUserResponse
- type ShareConnUserInfo
- type ShowApiVersionRequest
- type ShowApiVersionResponse
- type ShowDbUserRequest
- type ShowDbUserRequestXLanguage
- type ShowDbUserRequestXLanguageEnum
- type ShowDbUserResponse
- type ShowInstanceHealthReportRequest
- type ShowInstanceHealthReportRequestXLanguage
- type ShowInstanceHealthReportRequestXLanguageEnum
- type ShowInstanceHealthReportResponse
- type ShowQuotasRequest
- type ShowQuotasRequestXLanguage
- type ShowQuotasRequestXLanguageEnum
- type ShowQuotasResponse
- type ShowSqlExecutionPlanRequest
- type ShowSqlExecutionPlanRequestXLanguage
- type ShowSqlExecutionPlanRequestXLanguageEnum
- type ShowSqlExecutionPlanResponse
- type ShowSqlExplainRequest
- type ShowSqlExplainRequestXLanguage
- type ShowSqlExplainRequestXLanguageEnum
- type ShowSqlExplainResponse
- type ShowSqlLimitJobInfoRequest
- type ShowSqlLimitJobInfoRequestXLanguage
- type ShowSqlLimitJobInfoRequestXLanguageEnum
- type ShowSqlLimitJobInfoResponse
- type ShowSqlLimitJobInfoResponseJobStatus
- type ShowSqlLimitJobInfoResponseJobStatusEnum
- type ShowSqlLimitSwitchStatusRequest
- type ShowSqlLimitSwitchStatusRequestDatastoreType
- type ShowSqlLimitSwitchStatusRequestDatastoreTypeEnum
- type ShowSqlLimitSwitchStatusRequestXLanguage
- type ShowSqlLimitSwitchStatusRequestXLanguageEnum
- type ShowSqlLimitSwitchStatusResponse
- type ShowSqlLimitSwitchStatusResponseSwitchStatus
- type ShowSqlLimitSwitchStatusResponseSwitchStatusEnum
- type ShowSqlSwitchStatusRequest
- type ShowSqlSwitchStatusRequestXLanguage
- type ShowSqlSwitchStatusRequestXLanguageEnum
- type ShowSqlSwitchStatusResponse
- type ShowTransactionSwitchStatusRequest
- type ShowTransactionSwitchStatusRequestDatastoreType
- type ShowTransactionSwitchStatusRequestDatastoreTypeEnum
- type ShowTransactionSwitchStatusRequestXLanguage
- type ShowTransactionSwitchStatusRequestXLanguageEnum
- type ShowTransactionSwitchStatusResponse
- type ShowTransactionSwitchStatusResponseSwitchStatus
- type ShowTransactionSwitchStatusResponseSwitchStatusEnum
- type ShowTuningRequest
- type ShowTuningResponse
- type SlowLog
- type SlowSqlStatistics
- type SlowSqlTemplate
- type SlowSqlTrendItem
- type SqlLimitRule
- type TbPosInfo
- type TopRiskInfo
- type TopSqlTemplate
- type TopSqlTrendItem
- type TransactionSwitchReq
- type TransactionSwitchReqDatastoreType
- type TransactionSwitchReqDatastoreTypeEnum
- type TransactionSwitchReqSwitchStatus
- type TransactionSwitchReqSwitchStatusEnum
- type UpdateDbUserRequest
- type UpdateDbUserRequestBody
- type UpdateDbUserRequestXLanguage
- type UpdateDbUserRequestXLanguageEnum
- type UpdateDbUserResponse
- type UpdateSqlLimitRuleOption
- type UpdateSqlLimitRulesBody
- type UpdateSqlLimitRulesBodyDatastoreType
- type UpdateSqlLimitRulesBodyDatastoreTypeEnum
- type UpdateSqlLimitRulesRequest
- type UpdateSqlLimitRulesRequestXLanguage
- type UpdateSqlLimitRulesRequestXLanguageEnum
- type UpdateSqlLimitRulesResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdviceResult ¶ added in v0.1.57
type AdviceResult struct { // messageId MessageId *string `json:"message_id,omitempty"` // 状态码 StatusCode *string `json:"status_code,omitempty"` // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMessage *string `json:"error_message,omitempty"` // 索引建议 IndexAdvice *[]IndexAdviceInfo `json:"index_advice,omitempty"` // 诊断建议 TuningAdvice *[]string `json:"tuning_advice,omitempty"` // 格式化SQL FormattedSql *string `json:"formatted_sql,omitempty"` // 原始SQL OriginalSql *string `json:"original_sql,omitempty"` // 执行计划 Explain *[]Explain `json:"explain,omitempty"` // 表位置信息 TbPosInfos *[]TbPosInfo `json:"tb_pos_infos,omitempty"` FeedbackInfos *FeedbackInfo `json:"feedback_infos,omitempty"` }
func (AdviceResult) String ¶ added in v0.1.57
func (o AdviceResult) String() string
type ApiVersion ¶
type ApiVersion struct { // API版本号,如v3。 Id string `json:"id"` // 版本状态。 取值“CURRENT”,表示该版本为主推版本。取值“SUPPORTED”,表示为老版本,但是现在还继续支持。 取值“DEPRECATED”,表示为废弃版本,存在后续删除的可能。 Status string `json:"status"` // 版本发布时间。 格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指UTC时间。 Updated string `json:"updated"` // API的微版本,如果不支持微版本,则为空 Version string `json:"version"` }
ApiVersion API版本详细信息列表。
func (ApiVersion) String ¶
func (o ApiVersion) String() string
type CancelShareConnectionsRequest ¶ added in v0.1.40
type CancelShareConnectionsRequest struct { string `json:"X-Language,omitempty"` }XLanguage *
CancelShareConnectionsRequest Request Object
func (CancelShareConnectionsRequest) String ¶ added in v0.1.40
func (o CancelShareConnectionsRequest) String() string
type CancelShareConnectionsRequestBody ¶ added in v0.1.40
type CancelShareConnectionsRequestBody struct { string `json:"shared_conn_id"` Users []ShareConnUserInfo `json:"users"` }SharedConnId
func (CancelShareConnectionsRequestBody) String ¶ added in v0.1.40
func (o CancelShareConnectionsRequestBody) String() string
type CancelShareConnectionsResponse ¶ added in v0.1.40
type CancelShareConnectionsResponse struct {
}CancelShareConnectionsResponse Response Object
func (CancelShareConnectionsResponse) String ¶ added in v0.1.40
func (o CancelShareConnectionsResponse) String() string
type ChangeSqlLimitSwitchStatusBody ¶ added in v0.1.12
type ChangeSqlLimitSwitchStatusBody struct { // 开关状态 SwitchStatus ChangeSqlLimitSwitchStatusBodySwitchStatus `json:"switch_status"` // 数据库类型 DatastoreType ChangeSqlLimitSwitchStatusBodyDatastoreType `json:"datastore_type"` }
ChangeSqlLimitSwitchStatusBody 设置SQL限流开关状态请求体
func (ChangeSqlLimitSwitchStatusBody) String ¶ added in v0.1.12
func (o ChangeSqlLimitSwitchStatusBody) String() string
type ChangeSqlLimitSwitchStatusBodyDatastoreType ¶ added in v0.1.12
type ChangeSqlLimitSwitchStatusBodyDatastoreType struct {
// contains filtered or unexported fields
}
func (ChangeSqlLimitSwitchStatusBodyDatastoreType) MarshalJSON ¶ added in v0.1.12
func (c ChangeSqlLimitSwitchStatusBodyDatastoreType) MarshalJSON() ([]byte, error)
func (*ChangeSqlLimitSwitchStatusBodyDatastoreType) UnmarshalJSON ¶ added in v0.1.12
func (c *ChangeSqlLimitSwitchStatusBodyDatastoreType) UnmarshalJSON(b []byte) error
func (ChangeSqlLimitSwitchStatusBodyDatastoreType) Value ¶ added in v0.1.12
func (c ChangeSqlLimitSwitchStatusBodyDatastoreType) Value() string
type ChangeSqlLimitSwitchStatusBodyDatastoreTypeEnum ¶ added in v0.1.12
type ChangeSqlLimitSwitchStatusBodyDatastoreTypeEnum struct { MY_SQL ChangeSqlLimitSwitchStatusBodyDatastoreType POSTGRE_SQL ChangeSqlLimitSwitchStatusBodyDatastoreType }
func GetChangeSqlLimitSwitchStatusBodyDatastoreTypeEnum ¶ added in v0.1.12
func GetChangeSqlLimitSwitchStatusBodyDatastoreTypeEnum() ChangeSqlLimitSwitchStatusBodyDatastoreTypeEnum
type ChangeSqlLimitSwitchStatusBodySwitchStatus ¶ added in v0.1.12
type ChangeSqlLimitSwitchStatusBodySwitchStatus struct {
// contains filtered or unexported fields
}
func (ChangeSqlLimitSwitchStatusBodySwitchStatus) MarshalJSON ¶ added in v0.1.12
func (c ChangeSqlLimitSwitchStatusBodySwitchStatus) MarshalJSON() ([]byte, error)
func (*ChangeSqlLimitSwitchStatusBodySwitchStatus) UnmarshalJSON ¶ added in v0.1.12
func (c *ChangeSqlLimitSwitchStatusBodySwitchStatus) UnmarshalJSON(b []byte) error
func (ChangeSqlLimitSwitchStatusBodySwitchStatus) Value ¶ added in v0.1.12
func (c ChangeSqlLimitSwitchStatusBodySwitchStatus) Value() string
type ChangeSqlLimitSwitchStatusBodySwitchStatusEnum ¶ added in v0.1.12
type ChangeSqlLimitSwitchStatusBodySwitchStatusEnum struct { ON ChangeSqlLimitSwitchStatusBodySwitchStatus OFF ChangeSqlLimitSwitchStatusBodySwitchStatus }
func GetChangeSqlLimitSwitchStatusBodySwitchStatusEnum ¶ added in v0.1.12
func GetChangeSqlLimitSwitchStatusBodySwitchStatusEnum() ChangeSqlLimitSwitchStatusBodySwitchStatusEnum
type ChangeSqlLimitSwitchStatusRequest ¶ added in v0.1.12
type ChangeSqlLimitSwitchStatusRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 语言 XLanguage *ChangeSqlLimitSwitchStatusRequestXLanguage `json:"X-Language,omitempty"` Body *ChangeSqlLimitSwitchStatusBody `json:"body,omitempty"` }
ChangeSqlLimitSwitchStatusRequest Request Object
func (ChangeSqlLimitSwitchStatusRequest) String ¶ added in v0.1.12
func (o ChangeSqlLimitSwitchStatusRequest) String() string
type ChangeSqlLimitSwitchStatusRequestXLanguage ¶ added in v0.1.12
type ChangeSqlLimitSwitchStatusRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ChangeSqlLimitSwitchStatusRequestXLanguage) MarshalJSON ¶ added in v0.1.12
func (c ChangeSqlLimitSwitchStatusRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ChangeSqlLimitSwitchStatusRequestXLanguage) UnmarshalJSON ¶ added in v0.1.12
func (c *ChangeSqlLimitSwitchStatusRequestXLanguage) UnmarshalJSON(b []byte) error
func (ChangeSqlLimitSwitchStatusRequestXLanguage) Value ¶ added in v0.1.12
func (c ChangeSqlLimitSwitchStatusRequestXLanguage) Value() string
type ChangeSqlLimitSwitchStatusRequestXLanguageEnum ¶ added in v0.1.12
type ChangeSqlLimitSwitchStatusRequestXLanguageEnum struct { ZH_CN ChangeSqlLimitSwitchStatusRequestXLanguage EN_US ChangeSqlLimitSwitchStatusRequestXLanguage }
func GetChangeSqlLimitSwitchStatusRequestXLanguageEnum ¶ added in v0.1.12
func GetChangeSqlLimitSwitchStatusRequestXLanguageEnum() ChangeSqlLimitSwitchStatusRequestXLanguageEnum
type ChangeSqlLimitSwitchStatusResponse ¶ added in v0.1.12
type ChangeSqlLimitSwitchStatusResponse struct { // SQL限流任务ID JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
ChangeSqlLimitSwitchStatusResponse Response Object
func (ChangeSqlLimitSwitchStatusResponse) String ¶ added in v0.1.12
func (o ChangeSqlLimitSwitchStatusResponse) String() string
type ChangeSqlSwitchBody ¶
type ChangeSqlSwitchBody struct { // 开关类型。取值DAS SQL Explorer和DAS Slow Query Log,分别表示DAS收集全量SQL开关和DAS收集慢SQL开关。 Type string `json:"type"` // 开关状态,取值0和1,分别代表要关闭和开启。 Status int32 `json:"status"` // 数据库类型。当前全量SQL支持的数据库类型包括MySQL和GaussDB(for MySQL),慢SQL支持的类型:MySQL、GaussDB(for MySQL)、PostgreSQL。 DatastoreType string `json:"datastore_type"` // SQL数据保存时长(天)。默认为7天,最长可保留30天,到期后数据自动删除。如果要保留30天以上,请到DAS页面进行操作。 RetentionDays *int64 `json:"retention_days,omitempty"` }
func (ChangeSqlSwitchBody) String ¶
func (o ChangeSqlSwitchBody) String() string
type ChangeSqlSwitchRequest ¶
type ChangeSqlSwitchRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 请求语言类型。 XLanguage *ChangeSqlSwitchRequestXLanguage `json:"X-Language,omitempty"` Body *ChangeSqlSwitchBody `json:"body,omitempty"` }
ChangeSqlSwitchRequest Request Object
func (ChangeSqlSwitchRequest) String ¶
func (o ChangeSqlSwitchRequest) String() string
type ChangeSqlSwitchRequestXLanguage ¶
type ChangeSqlSwitchRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ChangeSqlSwitchRequestXLanguage) MarshalJSON ¶
func (c ChangeSqlSwitchRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ChangeSqlSwitchRequestXLanguage) UnmarshalJSON ¶
func (c *ChangeSqlSwitchRequestXLanguage) UnmarshalJSON(b []byte) error
func (ChangeSqlSwitchRequestXLanguage) Value ¶ added in v0.0.90
func (c ChangeSqlSwitchRequestXLanguage) Value() string
type ChangeSqlSwitchRequestXLanguageEnum ¶
type ChangeSqlSwitchRequestXLanguageEnum struct { EN_US ChangeSqlSwitchRequestXLanguage ZH_CN ChangeSqlSwitchRequestXLanguage }
func GetChangeSqlSwitchRequestXLanguageEnum ¶
func GetChangeSqlSwitchRequestXLanguageEnum() ChangeSqlSwitchRequestXLanguageEnum
type ChangeSqlSwitchResponse ¶
type ChangeSqlSwitchResponse struct { // 开关状态。取值: Enabled:已开启, Disabled:已关闭, Switching:开关切换中 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
ChangeSqlSwitchResponse Response Object
func (ChangeSqlSwitchResponse) String ¶
func (o ChangeSqlSwitchResponse) String() string
type ChangeTransactionSwitchStatusRequest ¶ added in v0.1.105
type ChangeTransactionSwitchStatusRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 语言 XLanguage *ChangeTransactionSwitchStatusRequestXLanguage `json:"X-Language,omitempty"` Body *TransactionSwitchReq `json:"body,omitempty"` }
ChangeTransactionSwitchStatusRequest Request Object
func (ChangeTransactionSwitchStatusRequest) String ¶ added in v0.1.105
func (o ChangeTransactionSwitchStatusRequest) String() string
type ChangeTransactionSwitchStatusRequestXLanguage ¶ added in v0.1.105
type ChangeTransactionSwitchStatusRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ChangeTransactionSwitchStatusRequestXLanguage) MarshalJSON ¶ added in v0.1.105
func (c ChangeTransactionSwitchStatusRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ChangeTransactionSwitchStatusRequestXLanguage) UnmarshalJSON ¶ added in v0.1.105
func (c *ChangeTransactionSwitchStatusRequestXLanguage) UnmarshalJSON(b []byte) error
func (ChangeTransactionSwitchStatusRequestXLanguage) Value ¶ added in v0.1.105
func (c ChangeTransactionSwitchStatusRequestXLanguage) Value() string
type ChangeTransactionSwitchStatusRequestXLanguageEnum ¶ added in v0.1.105
type ChangeTransactionSwitchStatusRequestXLanguageEnum struct { ZH_CN ChangeTransactionSwitchStatusRequestXLanguage EN_US ChangeTransactionSwitchStatusRequestXLanguage }
func GetChangeTransactionSwitchStatusRequestXLanguageEnum ¶ added in v0.1.105
func GetChangeTransactionSwitchStatusRequestXLanguageEnum() ChangeTransactionSwitchStatusRequestXLanguageEnum
type ChangeTransactionSwitchStatusResponse ¶ added in v0.1.105
type ChangeTransactionSwitchStatusResponse struct { // 开关状态 SwitchStatus *ChangeTransactionSwitchStatusResponseSwitchStatus `json:"switch_status,omitempty"` HttpStatusCode int `json:"-"` }
ChangeTransactionSwitchStatusResponse Response Object
func (ChangeTransactionSwitchStatusResponse) String ¶ added in v0.1.105
func (o ChangeTransactionSwitchStatusResponse) String() string
type ChangeTransactionSwitchStatusResponseSwitchStatus ¶ added in v0.1.105
type ChangeTransactionSwitchStatusResponseSwitchStatus struct {
// contains filtered or unexported fields
}
func (ChangeTransactionSwitchStatusResponseSwitchStatus) MarshalJSON ¶ added in v0.1.105
func (c ChangeTransactionSwitchStatusResponseSwitchStatus) MarshalJSON() ([]byte, error)
func (*ChangeTransactionSwitchStatusResponseSwitchStatus) UnmarshalJSON ¶ added in v0.1.105
func (c *ChangeTransactionSwitchStatusResponseSwitchStatus) UnmarshalJSON(b []byte) error
func (ChangeTransactionSwitchStatusResponseSwitchStatus) Value ¶ added in v0.1.105
func (c ChangeTransactionSwitchStatusResponseSwitchStatus) Value() string
type ChangeTransactionSwitchStatusResponseSwitchStatusEnum ¶ added in v0.1.105
type ChangeTransactionSwitchStatusResponseSwitchStatusEnum struct { ENABLED ChangeTransactionSwitchStatusResponseSwitchStatus DISABLED ChangeTransactionSwitchStatusResponseSwitchStatus }
func GetChangeTransactionSwitchStatusResponseSwitchStatusEnum ¶ added in v0.1.105
func GetChangeTransactionSwitchStatusResponseSwitchStatusEnum() ChangeTransactionSwitchStatusResponseSwitchStatusEnum
type CreateHealthReportReq ¶ added in v0.1.120
type CreateHealthReportReq struct { // 开始时间(Unix timestamp),单位:毫秒。 StartAt int64 `json:"start_at"` // 结束时间(Unix timestamp),单位:毫秒。 EndAt int64 `json:"end_at"` }
func (CreateHealthReportReq) String ¶ added in v0.1.120
func (o CreateHealthReportReq) String() string
type CreateHealthReportTaskRequest ¶ added in v0.1.120
type CreateHealthReportTaskRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 请求语言类型。 XLanguage *CreateHealthReportTaskRequestXLanguage `json:"X-Language,omitempty"` Body *CreateHealthReportReq `json:"body,omitempty"` }
CreateHealthReportTaskRequest Request Object
func (CreateHealthReportTaskRequest) String ¶ added in v0.1.120
func (o CreateHealthReportTaskRequest) String() string
type CreateHealthReportTaskRequestXLanguage ¶ added in v0.1.120
type CreateHealthReportTaskRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreateHealthReportTaskRequestXLanguage) MarshalJSON ¶ added in v0.1.120
func (c CreateHealthReportTaskRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreateHealthReportTaskRequestXLanguage) UnmarshalJSON ¶ added in v0.1.120
func (c *CreateHealthReportTaskRequestXLanguage) UnmarshalJSON(b []byte) error
func (CreateHealthReportTaskRequestXLanguage) Value ¶ added in v0.1.120
func (c CreateHealthReportTaskRequestXLanguage) Value() string
type CreateHealthReportTaskRequestXLanguageEnum ¶ added in v0.1.120
type CreateHealthReportTaskRequestXLanguageEnum struct { EN_US CreateHealthReportTaskRequestXLanguage ZH_CN CreateHealthReportTaskRequestXLanguage }
func GetCreateHealthReportTaskRequestXLanguageEnum ¶ added in v0.1.120
func GetCreateHealthReportTaskRequestXLanguageEnum() CreateHealthReportTaskRequestXLanguageEnum
type CreateHealthReportTaskResponse ¶ added in v0.1.120
type CreateHealthReportTaskResponse struct { // 诊断任务创建是否成功 CreateSuccess *bool `json:"create_success,omitempty"` HttpStatusCode int `json:"-"` }
CreateHealthReportTaskResponse Response Object
func (CreateHealthReportTaskResponse) String ¶ added in v0.1.120
func (o CreateHealthReportTaskResponse) String() string
type CreateShareConnectionsRequest ¶ added in v0.1.40
type CreateShareConnectionsRequest struct { string `json:"X-Language,omitempty"` }XLanguage *
CreateShareConnectionsRequest Request Object
func (CreateShareConnectionsRequest) String ¶ added in v0.1.40
func (o CreateShareConnectionsRequest) String() string
type CreateShareConnectionsRequestBody ¶ added in v0.1.40
type CreateShareConnectionsRequestBody struct { string `json:"shared_conn_id"` ExpiredTime *string `json:"expired_time,omitempty"` Users []ShareConnUserInfo `json:"users"` }SharedConnId
func (CreateShareConnectionsRequestBody) String ¶ added in v0.1.40
func (o CreateShareConnectionsRequestBody) String() string
type CreateShareConnectionsResponse ¶ added in v0.1.40
type CreateShareConnectionsResponse struct {
}CreateShareConnectionsResponse Response Object
func (CreateShareConnectionsResponse) String ¶ added in v0.1.40
func (o CreateShareConnectionsResponse) String() string
type CreateSpaceAnalysisTaskBody ¶
type CreateSpaceAnalysisTaskBody struct { // 操作类型 Operate CreateSpaceAnalysisTaskBodyOperate `json:"operate"` // 引擎类型 DatastoreType CreateSpaceAnalysisTaskBodyDatastoreType `json:"datastore_type"` }
func (CreateSpaceAnalysisTaskBody) String ¶
func (o CreateSpaceAnalysisTaskBody) String() string
type CreateSpaceAnalysisTaskBodyDatastoreType ¶
type CreateSpaceAnalysisTaskBodyDatastoreType struct {
// contains filtered or unexported fields
}
func (CreateSpaceAnalysisTaskBodyDatastoreType) MarshalJSON ¶
func (c CreateSpaceAnalysisTaskBodyDatastoreType) MarshalJSON() ([]byte, error)
func (*CreateSpaceAnalysisTaskBodyDatastoreType) UnmarshalJSON ¶
func (c *CreateSpaceAnalysisTaskBodyDatastoreType) UnmarshalJSON(b []byte) error
func (CreateSpaceAnalysisTaskBodyDatastoreType) Value ¶ added in v0.0.90
func (c CreateSpaceAnalysisTaskBodyDatastoreType) Value() string
type CreateSpaceAnalysisTaskBodyDatastoreTypeEnum ¶
type CreateSpaceAnalysisTaskBodyDatastoreTypeEnum struct { MY_SQL CreateSpaceAnalysisTaskBodyDatastoreType GAUSS_DB_FOR_MY_SQL CreateSpaceAnalysisTaskBodyDatastoreType }
func GetCreateSpaceAnalysisTaskBodyDatastoreTypeEnum ¶
func GetCreateSpaceAnalysisTaskBodyDatastoreTypeEnum() CreateSpaceAnalysisTaskBodyDatastoreTypeEnum
type CreateSpaceAnalysisTaskBodyOperate ¶
type CreateSpaceAnalysisTaskBodyOperate struct {
// contains filtered or unexported fields
}
func (CreateSpaceAnalysisTaskBodyOperate) MarshalJSON ¶
func (c CreateSpaceAnalysisTaskBodyOperate) MarshalJSON() ([]byte, error)
func (*CreateSpaceAnalysisTaskBodyOperate) UnmarshalJSON ¶
func (c *CreateSpaceAnalysisTaskBodyOperate) UnmarshalJSON(b []byte) error
func (CreateSpaceAnalysisTaskBodyOperate) Value ¶ added in v0.0.90
func (c CreateSpaceAnalysisTaskBodyOperate) Value() string
type CreateSpaceAnalysisTaskBodyOperateEnum ¶
type CreateSpaceAnalysisTaskBodyOperateEnum struct {
REANALYSIS CreateSpaceAnalysisTaskBodyOperate
}
func GetCreateSpaceAnalysisTaskBodyOperateEnum ¶
func GetCreateSpaceAnalysisTaskBodyOperateEnum() CreateSpaceAnalysisTaskBodyOperateEnum
type CreateSpaceAnalysisTaskRequest ¶
type CreateSpaceAnalysisTaskRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 语言 XLanguage *CreateSpaceAnalysisTaskRequestXLanguage `json:"X-Language,omitempty"` Body *CreateSpaceAnalysisTaskBody `json:"body,omitempty"` }
CreateSpaceAnalysisTaskRequest Request Object
func (CreateSpaceAnalysisTaskRequest) String ¶
func (o CreateSpaceAnalysisTaskRequest) String() string
type CreateSpaceAnalysisTaskRequestXLanguage ¶
type CreateSpaceAnalysisTaskRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreateSpaceAnalysisTaskRequestXLanguage) MarshalJSON ¶
func (c CreateSpaceAnalysisTaskRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreateSpaceAnalysisTaskRequestXLanguage) UnmarshalJSON ¶
func (c *CreateSpaceAnalysisTaskRequestXLanguage) UnmarshalJSON(b []byte) error
func (CreateSpaceAnalysisTaskRequestXLanguage) Value ¶ added in v0.0.90
func (c CreateSpaceAnalysisTaskRequestXLanguage) Value() string
type CreateSpaceAnalysisTaskRequestXLanguageEnum ¶
type CreateSpaceAnalysisTaskRequestXLanguageEnum struct { ZH_CN CreateSpaceAnalysisTaskRequestXLanguage EN_US CreateSpaceAnalysisTaskRequestXLanguage }
func GetCreateSpaceAnalysisTaskRequestXLanguageEnum ¶
func GetCreateSpaceAnalysisTaskRequestXLanguageEnum() CreateSpaceAnalysisTaskRequestXLanguageEnum
type CreateSpaceAnalysisTaskResponse ¶
type CreateSpaceAnalysisTaskResponse struct { // 执行时间,毫秒为单位的时间戳 ExecutionTime *int64 `json:"execution_time,omitempty"` HttpStatusCode int `json:"-"` }
CreateSpaceAnalysisTaskResponse Response Object
func (CreateSpaceAnalysisTaskResponse) String ¶
func (o CreateSpaceAnalysisTaskResponse) String() string
type CreateSqlLimitRuleOption ¶ added in v0.1.12
type CreateSqlLimitRuleOption struct { // SQL类型 SqlType CreateSqlLimitRuleOptionSqlType `json:"sql_type"` // 最大并发数 MaxConcurrency int32 `json:"max_concurrency"` // 最大等待时间 MaxWaiting *int32 `json:"max_waiting,omitempty"` // SQL限流规则。限流规则以~分隔关键字,例如select~a。规则举例详细说明:例如关键字是\"select~a\", 含义为:select以及a为该并发控制所包含的两个关键字,~为关键字间隔符,即若执行SQL命令包含select与a两个关键字视为命中此条并发控制规则。 Pattern string `json:"pattern"` // 历史SQL限流开关。 本开关仅对本条SQL限流规则生效。 开启时,将kill掉命中此条SQL限流规则的已有会话。 HisSqlLimitSwitch *bool `json:"his_sql_limit_switch,omitempty"` }
func (CreateSqlLimitRuleOption) String ¶ added in v0.1.12
func (o CreateSqlLimitRuleOption) String() string
type CreateSqlLimitRuleOptionSqlType ¶ added in v0.1.12
type CreateSqlLimitRuleOptionSqlType struct {
// contains filtered or unexported fields
}
func (CreateSqlLimitRuleOptionSqlType) MarshalJSON ¶ added in v0.1.12
func (c CreateSqlLimitRuleOptionSqlType) MarshalJSON() ([]byte, error)
func (*CreateSqlLimitRuleOptionSqlType) UnmarshalJSON ¶ added in v0.1.12
func (c *CreateSqlLimitRuleOptionSqlType) UnmarshalJSON(b []byte) error
func (CreateSqlLimitRuleOptionSqlType) Value ¶ added in v0.1.12
func (c CreateSqlLimitRuleOptionSqlType) Value() string
type CreateSqlLimitRuleOptionSqlTypeEnum ¶ added in v0.1.12
type CreateSqlLimitRuleOptionSqlTypeEnum struct { SELECT CreateSqlLimitRuleOptionSqlType UPDATE CreateSqlLimitRuleOptionSqlType DELETE CreateSqlLimitRuleOptionSqlType INSERT CreateSqlLimitRuleOptionSqlType QUERY_ID CreateSqlLimitRuleOptionSqlType QUERY_STR CreateSqlLimitRuleOptionSqlType }
func GetCreateSqlLimitRuleOptionSqlTypeEnum ¶ added in v0.1.12
func GetCreateSqlLimitRuleOptionSqlTypeEnum() CreateSqlLimitRuleOptionSqlTypeEnum
type CreateSqlLimitRulesBody ¶ added in v0.1.12
type CreateSqlLimitRulesBody struct { // 数据库类型 DatastoreType CreateSqlLimitRulesBodyDatastoreType `json:"datastore_type"` // 需要创建的SQL限流规则列表,一次最多创建5个 SqlLimitRules []CreateSqlLimitRuleOption `json:"sql_limit_rules"` // 数据库名(PostgreSQL必填) DatabaseName *string `json:"database_name,omitempty"` }
CreateSqlLimitRulesBody 创建SQL限流规则请求提
func (CreateSqlLimitRulesBody) String ¶ added in v0.1.12
func (o CreateSqlLimitRulesBody) String() string
type CreateSqlLimitRulesBodyDatastoreType ¶ added in v0.1.12
type CreateSqlLimitRulesBodyDatastoreType struct {
// contains filtered or unexported fields
}
func (CreateSqlLimitRulesBodyDatastoreType) MarshalJSON ¶ added in v0.1.12
func (c CreateSqlLimitRulesBodyDatastoreType) MarshalJSON() ([]byte, error)
func (*CreateSqlLimitRulesBodyDatastoreType) UnmarshalJSON ¶ added in v0.1.12
func (c *CreateSqlLimitRulesBodyDatastoreType) UnmarshalJSON(b []byte) error
func (CreateSqlLimitRulesBodyDatastoreType) Value ¶ added in v0.1.12
func (c CreateSqlLimitRulesBodyDatastoreType) Value() string
type CreateSqlLimitRulesBodyDatastoreTypeEnum ¶ added in v0.1.12
type CreateSqlLimitRulesBodyDatastoreTypeEnum struct { MY_SQL CreateSqlLimitRulesBodyDatastoreType POSTGRE_SQL CreateSqlLimitRulesBodyDatastoreType }
func GetCreateSqlLimitRulesBodyDatastoreTypeEnum ¶ added in v0.1.12
func GetCreateSqlLimitRulesBodyDatastoreTypeEnum() CreateSqlLimitRulesBodyDatastoreTypeEnum
type CreateSqlLimitRulesRequest ¶ added in v0.1.12
type CreateSqlLimitRulesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 语言 XLanguage *CreateSqlLimitRulesRequestXLanguage `json:"X-Language,omitempty"` Body *CreateSqlLimitRulesBody `json:"body,omitempty"` }
CreateSqlLimitRulesRequest Request Object
func (CreateSqlLimitRulesRequest) String ¶ added in v0.1.12
func (o CreateSqlLimitRulesRequest) String() string
type CreateSqlLimitRulesRequestXLanguage ¶ added in v0.1.12
type CreateSqlLimitRulesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreateSqlLimitRulesRequestXLanguage) MarshalJSON ¶ added in v0.1.12
func (c CreateSqlLimitRulesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreateSqlLimitRulesRequestXLanguage) UnmarshalJSON ¶ added in v0.1.12
func (c *CreateSqlLimitRulesRequestXLanguage) UnmarshalJSON(b []byte) error
func (CreateSqlLimitRulesRequestXLanguage) Value ¶ added in v0.1.12
func (c CreateSqlLimitRulesRequestXLanguage) Value() string
type CreateSqlLimitRulesRequestXLanguageEnum ¶ added in v0.1.12
type CreateSqlLimitRulesRequestXLanguageEnum struct { ZH_CN CreateSqlLimitRulesRequestXLanguage EN_US CreateSqlLimitRulesRequestXLanguage }
func GetCreateSqlLimitRulesRequestXLanguageEnum ¶ added in v0.1.12
func GetCreateSqlLimitRulesRequestXLanguageEnum() CreateSqlLimitRulesRequestXLanguageEnum
type CreateSqlLimitRulesResponse ¶ added in v0.1.12
type CreateSqlLimitRulesResponse struct {
HttpStatusCode int `json:"-"`
}
CreateSqlLimitRulesResponse Response Object
func (CreateSqlLimitRulesResponse) String ¶ added in v0.1.12
func (o CreateSqlLimitRulesResponse) String() string
type CreateTuningReq ¶ added in v0.1.57
type CreateTuningReq struct { // 数据库名称 DatabaseName string `json:"database_name"` // schema名称 SchemaName *string `json:"schema_name,omitempty"` // sql脚本 SqlScript string `json:"sql_script"` // 节点类型 NodeType *string `json:"node_type,omitempty"` // 节点Id NodeId *string `json:"node_id,omitempty"` }
func (CreateTuningReq) String ¶ added in v0.1.57
func (o CreateTuningReq) String() string
type CreateTuningRequest ¶ added in v0.1.57
type CreateTuningRequest struct { // 连接ID ConnectionId string `json:"connection_id"` // 语言 XLanguage *string `json:"X-Language,omitempty"` Body *CreateTuningReq `json:"body,omitempty"` }
CreateTuningRequest Request Object
func (CreateTuningRequest) String ¶ added in v0.1.57
func (o CreateTuningRequest) String() string
type CreateTuningResponse ¶ added in v0.1.57
type CreateTuningResponse struct { // 诊断信息id MessageId *[]string `json:"message_id,omitempty"` // 状态 Status *bool `json:"status,omitempty"` // 诊断配额状态 QuotaExceeded *bool `json:"quota_exceeded,omitempty"` HttpStatusCode int `json:"-"` }
CreateTuningResponse Response Object
func (CreateTuningResponse) String ¶ added in v0.1.57
func (o CreateTuningResponse) String() string
type DasInstanceInfo ¶ added in v0.1.116
type DasInstanceInfo struct { // 实例id。 InstanceId string `json:"instance_id"` // 实例名称。 InstanceName string `json:"instance_name"` // 实例状态。 InstanceStatus string `json:"instance_status"` // 实例版本号。 Version string `json:"version"` // 引擎类型。 EngineType string `json:"engine_type"` // ip Ip string `json:"ip"` // 端口号 Port int32 `json:"port"` // 实例cpu核数 Cpu int32 `json:"cpu"` // 实例内存大小 Mem int32 `json:"mem"` // 实例登录是否启用 LoginFlag bool `json:"login_flag"` // 慢sql是否启用 SlowSqlFlag bool `json:"slow_sql_flag"` // 死锁分析是否启用 DeadlockFlag bool `json:"deadlock_flag"` // 锁阻塞是否启用 LockBlockingFlag bool `json:"lock_blocking_flag"` // 当前实例是否计费 ChargeFlag bool `json:"charge_flag"` // 全量sql是否启用 FullSqlFlag bool `json:"full_sql_flag"` }
func (DasInstanceInfo) String ¶ added in v0.1.116
func (o DasInstanceInfo) String() string
type DbObjectSpaceInfo ¶
type DbObjectSpaceInfo struct { // 对象类型,如果是table,同时需要传database_id ObjectType DbObjectSpaceInfoObjectType `json:"object_type"` // 对象名称 ObjectName string `json:"object_name"` // 对象ID ObjectId *string `json:"object_id,omitempty"` // 已使用空间,以字节为单位 UsedSize *int64 `json:"used_size,omitempty"` // 数据空间,以字节为单位 DataSize *int64 `json:"data_size,omitempty"` // 索引空间,以字节为单位 IndexSize *int64 `json:"index_size,omitempty"` // 碎片空间,以字节为单位 FreeSize *int64 `json:"free_size,omitempty"` // 碎片率 FreeRate *float64 `json:"free_rate,omitempty"` // 估算值行数,以字节为单位 EstimatedRows *int64 `json:"estimated_rows,omitempty"` }
DbObjectSpaceInfo 数据库对象空间信息,数据来源于information_schema.tables系统表。已用空间包含数据空间、索引空间和碎片空间。
func (DbObjectSpaceInfo) String ¶
func (o DbObjectSpaceInfo) String() string
type DbObjectSpaceInfoObjectType ¶
type DbObjectSpaceInfoObjectType struct {
// contains filtered or unexported fields
}
func (DbObjectSpaceInfoObjectType) MarshalJSON ¶
func (c DbObjectSpaceInfoObjectType) MarshalJSON() ([]byte, error)
func (*DbObjectSpaceInfoObjectType) UnmarshalJSON ¶
func (c *DbObjectSpaceInfoObjectType) UnmarshalJSON(b []byte) error
func (DbObjectSpaceInfoObjectType) Value ¶ added in v0.0.90
func (c DbObjectSpaceInfoObjectType) Value() string
type DbObjectSpaceInfoObjectTypeEnum ¶
type DbObjectSpaceInfoObjectTypeEnum struct { DATABASE DbObjectSpaceInfoObjectType TABLE DbObjectSpaceInfoObjectType }
func GetDbObjectSpaceInfoObjectTypeEnum ¶
func GetDbObjectSpaceInfoObjectTypeEnum() DbObjectSpaceInfoObjectTypeEnum
type DbUser ¶
type DbUser struct { // 数据库用户ID DbUserId string `json:"db_user_id"` // 数据库用户名称 DbUsername string `json:"db_username"` }
DbUser 注册的数据库用户信息
type DeleteDbUserRequest ¶
type DeleteDbUserRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据库用户ID DbUserId string `json:"db_user_id"` // 语言 XLanguage *DeleteDbUserRequestXLanguage `json:"X-Language,omitempty"` }
DeleteDbUserRequest Request Object
func (DeleteDbUserRequest) String ¶
func (o DeleteDbUserRequest) String() string
type DeleteDbUserRequestXLanguage ¶
type DeleteDbUserRequestXLanguage struct {
// contains filtered or unexported fields
}
func (DeleteDbUserRequestXLanguage) MarshalJSON ¶
func (c DeleteDbUserRequestXLanguage) MarshalJSON() ([]byte, error)
func (*DeleteDbUserRequestXLanguage) UnmarshalJSON ¶
func (c *DeleteDbUserRequestXLanguage) UnmarshalJSON(b []byte) error
func (DeleteDbUserRequestXLanguage) Value ¶ added in v0.0.90
func (c DeleteDbUserRequestXLanguage) Value() string
type DeleteDbUserRequestXLanguageEnum ¶
type DeleteDbUserRequestXLanguageEnum struct { ZH_CN DeleteDbUserRequestXLanguage EN_US DeleteDbUserRequestXLanguage }
func GetDeleteDbUserRequestXLanguageEnum ¶
func GetDeleteDbUserRequestXLanguageEnum() DeleteDbUserRequestXLanguageEnum
type DeleteDbUserResponse ¶
type DeleteDbUserResponse struct { // 删除结果,删除成功返回OK Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
DeleteDbUserResponse Response Object
func (DeleteDbUserResponse) String ¶
func (o DeleteDbUserResponse) String() string
type DeleteProcessReqBody ¶
type DeleteProcessReqBody struct { // 数据库用户ID DbUserId string `json:"db_user_id"` // 会话ID列表。process_ids、user、database至少指定一个参数。 ProcessIds *[]string `json:"process_ids,omitempty"` // 用户 User *string `json:"user,omitempty"` // 数据库名称 Database *string `json:"database,omitempty"` }
func (DeleteProcessReqBody) String ¶
func (o DeleteProcessReqBody) String() string
type DeleteProcessRequest ¶
type DeleteProcessRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 语言 XLanguage *DeleteProcessRequestXLanguage `json:"X-Language,omitempty"` Body *DeleteProcessReqBody `json:"body,omitempty"` }
DeleteProcessRequest Request Object
func (DeleteProcessRequest) String ¶
func (o DeleteProcessRequest) String() string
type DeleteProcessRequestXLanguage ¶
type DeleteProcessRequestXLanguage struct {
// contains filtered or unexported fields
}
func (DeleteProcessRequestXLanguage) MarshalJSON ¶
func (c DeleteProcessRequestXLanguage) MarshalJSON() ([]byte, error)
func (*DeleteProcessRequestXLanguage) UnmarshalJSON ¶
func (c *DeleteProcessRequestXLanguage) UnmarshalJSON(b []byte) error
func (DeleteProcessRequestXLanguage) Value ¶ added in v0.0.90
func (c DeleteProcessRequestXLanguage) Value() string
type DeleteProcessRequestXLanguageEnum ¶
type DeleteProcessRequestXLanguageEnum struct { ZH_CN DeleteProcessRequestXLanguage EN_US DeleteProcessRequestXLanguage }
func GetDeleteProcessRequestXLanguageEnum ¶
func GetDeleteProcessRequestXLanguageEnum() DeleteProcessRequestXLanguageEnum
type DeleteProcessResponse ¶
type DeleteProcessResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteProcessResponse Response Object
func (DeleteProcessResponse) String ¶
func (o DeleteProcessResponse) String() string
type DeleteSqlLimitRulesBody ¶ added in v0.1.12
type DeleteSqlLimitRulesBody struct { // 数据库类型 DatastoreType DeleteSqlLimitRulesBodyDatastoreType `json:"datastore_type"` // SQL限流规则ID SqlLimitRuleIds []string `json:"sql_limit_rule_ids"` // 数据库名(PostgreSQL必填) DatabaseName *string `json:"database_name,omitempty"` }
DeleteSqlLimitRulesBody 删除SQL限流规则请求体
func (DeleteSqlLimitRulesBody) String ¶ added in v0.1.12
func (o DeleteSqlLimitRulesBody) String() string
type DeleteSqlLimitRulesBodyDatastoreType ¶ added in v0.1.12
type DeleteSqlLimitRulesBodyDatastoreType struct {
// contains filtered or unexported fields
}
func (DeleteSqlLimitRulesBodyDatastoreType) MarshalJSON ¶ added in v0.1.12
func (c DeleteSqlLimitRulesBodyDatastoreType) MarshalJSON() ([]byte, error)
func (*DeleteSqlLimitRulesBodyDatastoreType) UnmarshalJSON ¶ added in v0.1.12
func (c *DeleteSqlLimitRulesBodyDatastoreType) UnmarshalJSON(b []byte) error
func (DeleteSqlLimitRulesBodyDatastoreType) Value ¶ added in v0.1.12
func (c DeleteSqlLimitRulesBodyDatastoreType) Value() string
type DeleteSqlLimitRulesBodyDatastoreTypeEnum ¶ added in v0.1.12
type DeleteSqlLimitRulesBodyDatastoreTypeEnum struct { MY_SQL DeleteSqlLimitRulesBodyDatastoreType POSTGRE_SQL DeleteSqlLimitRulesBodyDatastoreType }
func GetDeleteSqlLimitRulesBodyDatastoreTypeEnum ¶ added in v0.1.12
func GetDeleteSqlLimitRulesBodyDatastoreTypeEnum() DeleteSqlLimitRulesBodyDatastoreTypeEnum
type DeleteSqlLimitRulesRequest ¶ added in v0.1.12
type DeleteSqlLimitRulesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 语言 XLanguage *DeleteSqlLimitRulesRequestXLanguage `json:"X-Language,omitempty"` Body *DeleteSqlLimitRulesBody `json:"body,omitempty"` }
DeleteSqlLimitRulesRequest Request Object
func (DeleteSqlLimitRulesRequest) String ¶ added in v0.1.12
func (o DeleteSqlLimitRulesRequest) String() string
type DeleteSqlLimitRulesRequestXLanguage ¶ added in v0.1.12
type DeleteSqlLimitRulesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (DeleteSqlLimitRulesRequestXLanguage) MarshalJSON ¶ added in v0.1.12
func (c DeleteSqlLimitRulesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*DeleteSqlLimitRulesRequestXLanguage) UnmarshalJSON ¶ added in v0.1.12
func (c *DeleteSqlLimitRulesRequestXLanguage) UnmarshalJSON(b []byte) error
func (DeleteSqlLimitRulesRequestXLanguage) Value ¶ added in v0.1.12
func (c DeleteSqlLimitRulesRequestXLanguage) Value() string
type DeleteSqlLimitRulesRequestXLanguageEnum ¶ added in v0.1.12
type DeleteSqlLimitRulesRequestXLanguageEnum struct { ZH_CN DeleteSqlLimitRulesRequestXLanguage EN_US DeleteSqlLimitRulesRequestXLanguage }
func GetDeleteSqlLimitRulesRequestXLanguageEnum ¶ added in v0.1.12
func GetDeleteSqlLimitRulesRequestXLanguageEnum() DeleteSqlLimitRulesRequestXLanguageEnum
type DeleteSqlLimitRulesResponse ¶ added in v0.1.12
type DeleteSqlLimitRulesResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteSqlLimitRulesResponse Response Object
func (DeleteSqlLimitRulesResponse) String ¶ added in v0.1.12
func (o DeleteSqlLimitRulesResponse) String() string
type ExecutionPlan ¶
type ExecutionPlan struct { // id Id string `json:"id"` // select子句的类型 SelectType string `json:"select_type"` // 数据库表 Table string `json:"table"` // 查询将匹配记录的分区 Partitions string `json:"partitions"` // 访问类型 Type string `json:"type"` // 可能使用的键(索引) PossibleKeys string `json:"possible_keys"` // 实际使用的键(索引) Key string `json:"key"` // 决定使用的键的长度 KeyLen string `json:"key_len"` // 使用哪个列或常数与键一起来选择行 Ref string `json:"ref"` // MySQL认为它执行查询时必须检查的行数 Rows string `json:"rows"` // 按表条件过滤的表行的估计百分比 Filtered string `json:"filtered"` // 其他信息 Extra string `json:"extra"` }
func (ExecutionPlan) String ¶
func (o ExecutionPlan) String() string
type Explain ¶ added in v0.1.57
type Explain struct { // select子句的编号 Id *int32 `json:"id,omitempty"` // select子句的类型 SelectType *string `json:"select_type,omitempty"` // SQL优化器选择的表join顺序。 Table *string `json:"table,omitempty"` // 查找表中行的访问类型(从好到坏依次为:null>system>const>eq_ref>ref>range>index>all)。 Type *string `json:"type,omitempty"` // 有助于高效查找行的索引。 PossibleKeys *string `json:"possible_keys,omitempty"` // 出于最小化查询成本考虑,SQL优化器实际使用的索引 Key *string `json:"key,omitempty"` // key列所示索引的长度(字节) KeyLen *string `json:"key_len,omitempty"` // 在使用key列所示索引查找数据时用到的列或常量 Ref *string `json:"ref,omitempty"` // key列所示索引的长度(字节) Rows *int64 `json:"rows,omitempty"` // sql解析的额外信息:当出现using index时,说明SQL使用覆盖索引,性能较好;而当出现 using filesort、using temporary、using where时,说明查询需要优化。 Filtered *float64 `json:"filtered,omitempty"` // sql解析的额外信息:当出现using index时,说明SQL使用覆盖索引,性能较好;而当出现 using filesort、using temporary、using where时,说明查询需要优化。 Extra *string `json:"extra,omitempty"` }
type ExportSlowQueryLogsRequest ¶
type ExportSlowQueryLogsRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 数据库类型。支持MySQL、GaussDB(for MySQL)、PostgreSQL。 DatastoreType string `json:"datastore_type"` // 开始时间(Unix timestamp),单位:毫秒。 StartAt int64 `json:"start_at"` // 结束时间(Unix timestamp),单位:毫秒。 EndAt int64 `json:"end_at"` // 每页记录数。最大为2000。 Limit int32 `json:"limit"` // 指定一个标识符。获取第一页时不用赋值,获取下一页时取上页查询结果的返回值。 Marker *string `json:"marker,omitempty"` // 请求语言类型。 XLanguage *ExportSlowQueryLogsRequestXLanguage `json:"X-Language,omitempty"` }
ExportSlowQueryLogsRequest Request Object
func (ExportSlowQueryLogsRequest) String ¶
func (o ExportSlowQueryLogsRequest) String() string
type ExportSlowQueryLogsRequestXLanguage ¶
type ExportSlowQueryLogsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ExportSlowQueryLogsRequestXLanguage) MarshalJSON ¶
func (c ExportSlowQueryLogsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ExportSlowQueryLogsRequestXLanguage) UnmarshalJSON ¶
func (c *ExportSlowQueryLogsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ExportSlowQueryLogsRequestXLanguage) Value ¶ added in v0.0.90
func (c ExportSlowQueryLogsRequestXLanguage) Value() string
type ExportSlowQueryLogsRequestXLanguageEnum ¶
type ExportSlowQueryLogsRequestXLanguageEnum struct { EN_US ExportSlowQueryLogsRequestXLanguage ZH_CN ExportSlowQueryLogsRequestXLanguage }
func GetExportSlowQueryLogsRequestXLanguageEnum ¶
func GetExportSlowQueryLogsRequestXLanguageEnum() ExportSlowQueryLogsRequestXLanguageEnum
type ExportSlowQueryLogsResponse ¶
type ExportSlowQueryLogsResponse struct { // 慢SQL集合。当集合为空时,说明慢SQL已全部导出。 SlowLogs *[]SlowLog `json:"slow_logs,omitempty"` // 获取下一页所需的标识符。marker仅在3分钟内有效。 NextMarker *string `json:"next_marker,omitempty"` HttpStatusCode int `json:"-"` }
ExportSlowQueryLogsResponse Response Object
func (ExportSlowQueryLogsResponse) String ¶
func (o ExportSlowQueryLogsResponse) String() string
type ExportSlowSqlStatisticsRequest ¶ added in v0.1.96
type ExportSlowSqlStatisticsRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 请求语言类型。 XLanguage *ExportSlowSqlStatisticsRequestXLanguage `json:"X-Language,omitempty"` Body *ExportSlowSqlStatisticsRequestBody `json:"body,omitempty"` }
ExportSlowSqlStatisticsRequest Request Object
func (ExportSlowSqlStatisticsRequest) String ¶ added in v0.1.96
func (o ExportSlowSqlStatisticsRequest) String() string
type ExportSlowSqlStatisticsRequestBody ¶ added in v0.1.96
type ExportSlowSqlStatisticsRequestBody struct { // 数据库类型。慢SQL统计支持的类型:DDS-Community。 DatastoreType ExportSlowSqlStatisticsRequestBodyDatastoreType `json:"datastore_type"` // 开始时间(Unix timestamp),单位:毫秒。 StartAt int64 `json:"start_at"` // 结束时间(Unix timestamp),单位:毫秒。 EndAt int64 `json:"end_at"` // 节点ID列表。 NodeIds *[]string `json:"node_ids,omitempty"` // 统计字段。支持统计的字段:node_id、sql_type、db_name、collection、user、client。默认使用node_id统计。 StatisticsField *ExportSlowSqlStatisticsRequestBodyStatisticsField `json:"statistics_field,omitempty"` // 偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 Offset *int32 `json:"offset,omitempty"` // 每页记录数,默认为20,最大取值100。 Limit *int32 `json:"limit,omitempty"` }
func (ExportSlowSqlStatisticsRequestBody) String ¶ added in v0.1.96
func (o ExportSlowSqlStatisticsRequestBody) String() string
type ExportSlowSqlStatisticsRequestBodyDatastoreType ¶ added in v0.1.96
type ExportSlowSqlStatisticsRequestBodyDatastoreType struct {
// contains filtered or unexported fields
}
func (ExportSlowSqlStatisticsRequestBodyDatastoreType) MarshalJSON ¶ added in v0.1.96
func (c ExportSlowSqlStatisticsRequestBodyDatastoreType) MarshalJSON() ([]byte, error)
func (*ExportSlowSqlStatisticsRequestBodyDatastoreType) UnmarshalJSON ¶ added in v0.1.96
func (c *ExportSlowSqlStatisticsRequestBodyDatastoreType) UnmarshalJSON(b []byte) error
func (ExportSlowSqlStatisticsRequestBodyDatastoreType) Value ¶ added in v0.1.96
func (c ExportSlowSqlStatisticsRequestBodyDatastoreType) Value() string
type ExportSlowSqlStatisticsRequestBodyDatastoreTypeEnum ¶ added in v0.1.96
type ExportSlowSqlStatisticsRequestBodyDatastoreTypeEnum struct {
DDS_COMMUNITY ExportSlowSqlStatisticsRequestBodyDatastoreType
}
func GetExportSlowSqlStatisticsRequestBodyDatastoreTypeEnum ¶ added in v0.1.96
func GetExportSlowSqlStatisticsRequestBodyDatastoreTypeEnum() ExportSlowSqlStatisticsRequestBodyDatastoreTypeEnum
type ExportSlowSqlStatisticsRequestBodyStatisticsField ¶ added in v0.1.96
type ExportSlowSqlStatisticsRequestBodyStatisticsField struct {
// contains filtered or unexported fields
}
func (ExportSlowSqlStatisticsRequestBodyStatisticsField) MarshalJSON ¶ added in v0.1.96
func (c ExportSlowSqlStatisticsRequestBodyStatisticsField) MarshalJSON() ([]byte, error)
func (*ExportSlowSqlStatisticsRequestBodyStatisticsField) UnmarshalJSON ¶ added in v0.1.96
func (c *ExportSlowSqlStatisticsRequestBodyStatisticsField) UnmarshalJSON(b []byte) error
func (ExportSlowSqlStatisticsRequestBodyStatisticsField) Value ¶ added in v0.1.96
func (c ExportSlowSqlStatisticsRequestBodyStatisticsField) Value() string
type ExportSlowSqlStatisticsRequestBodyStatisticsFieldEnum ¶ added in v0.1.96
type ExportSlowSqlStatisticsRequestBodyStatisticsFieldEnum struct { NODE_ID ExportSlowSqlStatisticsRequestBodyStatisticsField SQL_TYPE ExportSlowSqlStatisticsRequestBodyStatisticsField DB_NAME ExportSlowSqlStatisticsRequestBodyStatisticsField COLLECTION ExportSlowSqlStatisticsRequestBodyStatisticsField USER ExportSlowSqlStatisticsRequestBodyStatisticsField CLIENT ExportSlowSqlStatisticsRequestBodyStatisticsField }
func GetExportSlowSqlStatisticsRequestBodyStatisticsFieldEnum ¶ added in v0.1.96
func GetExportSlowSqlStatisticsRequestBodyStatisticsFieldEnum() ExportSlowSqlStatisticsRequestBodyStatisticsFieldEnum
type ExportSlowSqlStatisticsRequestXLanguage ¶ added in v0.1.96
type ExportSlowSqlStatisticsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ExportSlowSqlStatisticsRequestXLanguage) MarshalJSON ¶ added in v0.1.96
func (c ExportSlowSqlStatisticsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ExportSlowSqlStatisticsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.96
func (c *ExportSlowSqlStatisticsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ExportSlowSqlStatisticsRequestXLanguage) Value ¶ added in v0.1.96
func (c ExportSlowSqlStatisticsRequestXLanguage) Value() string
type ExportSlowSqlStatisticsRequestXLanguageEnum ¶ added in v0.1.96
type ExportSlowSqlStatisticsRequestXLanguageEnum struct { EN_US ExportSlowSqlStatisticsRequestXLanguage ZH_CN ExportSlowSqlStatisticsRequestXLanguage }
func GetExportSlowSqlStatisticsRequestXLanguageEnum ¶ added in v0.1.96
func GetExportSlowSqlStatisticsRequestXLanguageEnum() ExportSlowSqlStatisticsRequestXLanguageEnum
type ExportSlowSqlStatisticsResponse ¶ added in v0.1.96
type ExportSlowSqlStatisticsResponse struct { // 慢SQL统计列表。 StatisticsList *[]SlowSqlStatistics `json:"statistics_list,omitempty"` // 总数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ExportSlowSqlStatisticsResponse Response Object
func (ExportSlowSqlStatisticsResponse) String ¶ added in v0.1.96
func (o ExportSlowSqlStatisticsResponse) String() string
type ExportSlowSqlTemplatesDetailsRequest ¶ added in v0.1.12
type ExportSlowSqlTemplatesDetailsRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 开始时间(Unix timestamp),单位:毫秒。 StartAt int64 `json:"start_at"` // 结束时间(Unix timestamp),单位:毫秒。 EndAt int64 `json:"end_at"` // 数据库类型。支持MySQL和GaussDB(for MySQL)。 DatastoreType string `json:"datastore_type"` // 数据库名称。 DbName *string `json:"db_name,omitempty"` // 请求语言类型。 XLanguage *ExportSlowSqlTemplatesDetailsRequestXLanguage `json:"X-Language,omitempty"` // 偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 Offset *int32 `json:"offset,omitempty"` // 每页记录数,默认为20,最大取值100。 Limit *int32 `json:"limit,omitempty"` }
ExportSlowSqlTemplatesDetailsRequest Request Object
func (ExportSlowSqlTemplatesDetailsRequest) String ¶ added in v0.1.12
func (o ExportSlowSqlTemplatesDetailsRequest) String() string
type ExportSlowSqlTemplatesDetailsRequestXLanguage ¶ added in v0.1.12
type ExportSlowSqlTemplatesDetailsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ExportSlowSqlTemplatesDetailsRequestXLanguage) MarshalJSON ¶ added in v0.1.12
func (c ExportSlowSqlTemplatesDetailsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ExportSlowSqlTemplatesDetailsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.12
func (c *ExportSlowSqlTemplatesDetailsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ExportSlowSqlTemplatesDetailsRequestXLanguage) Value ¶ added in v0.1.12
func (c ExportSlowSqlTemplatesDetailsRequestXLanguage) Value() string
type ExportSlowSqlTemplatesDetailsRequestXLanguageEnum ¶ added in v0.1.12
type ExportSlowSqlTemplatesDetailsRequestXLanguageEnum struct { EN_US ExportSlowSqlTemplatesDetailsRequestXLanguage ZH_CN ExportSlowSqlTemplatesDetailsRequestXLanguage }
func GetExportSlowSqlTemplatesDetailsRequestXLanguageEnum ¶ added in v0.1.12
func GetExportSlowSqlTemplatesDetailsRequestXLanguageEnum() ExportSlowSqlTemplatesDetailsRequestXLanguageEnum
type ExportSlowSqlTemplatesDetailsResponse ¶ added in v0.1.12
type ExportSlowSqlTemplatesDetailsResponse struct { // 慢日志模板数据列表。 SlowSqlTemplates *[]SlowSqlTemplate `json:"slow_sql_templates,omitempty"` // 慢日志模板总数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ExportSlowSqlTemplatesDetailsResponse Response Object
func (ExportSlowSqlTemplatesDetailsResponse) String ¶ added in v0.1.12
func (o ExportSlowSqlTemplatesDetailsResponse) String() string
type ExportSlowSqlTrendDetailsRequest ¶ added in v0.1.104
type ExportSlowSqlTrendDetailsRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 开始时间(Unix timestamp),单位:毫秒。 StartAt int64 `json:"start_at"` // 结束时间(Unix timestamp),单位:毫秒。 EndAt int64 `json:"end_at"` // 数据库类型。支持MySQL和GaussDB(for MySQL)。 DatastoreType string `json:"datastore_type"` // 节点ID。 NodeId *string `json:"node_id,omitempty"` // 请求语言类型。 XLanguage *ExportSlowSqlTrendDetailsRequestXLanguage `json:"X-Language,omitempty"` // 偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 Offset *int32 `json:"offset,omitempty"` // 每页记录数,默认为20,最大取值100。 Limit *int32 `json:"limit,omitempty"` }
ExportSlowSqlTrendDetailsRequest Request Object
func (ExportSlowSqlTrendDetailsRequest) String ¶ added in v0.1.104
func (o ExportSlowSqlTrendDetailsRequest) String() string
type ExportSlowSqlTrendDetailsRequestXLanguage ¶ added in v0.1.104
type ExportSlowSqlTrendDetailsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ExportSlowSqlTrendDetailsRequestXLanguage) MarshalJSON ¶ added in v0.1.104
func (c ExportSlowSqlTrendDetailsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ExportSlowSqlTrendDetailsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.104
func (c *ExportSlowSqlTrendDetailsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ExportSlowSqlTrendDetailsRequestXLanguage) Value ¶ added in v0.1.104
func (c ExportSlowSqlTrendDetailsRequestXLanguage) Value() string
type ExportSlowSqlTrendDetailsRequestXLanguageEnum ¶ added in v0.1.104
type ExportSlowSqlTrendDetailsRequestXLanguageEnum struct { EN_US ExportSlowSqlTrendDetailsRequestXLanguage ZH_CN ExportSlowSqlTrendDetailsRequestXLanguage }
func GetExportSlowSqlTrendDetailsRequestXLanguageEnum ¶ added in v0.1.104
func GetExportSlowSqlTrendDetailsRequestXLanguageEnum() ExportSlowSqlTrendDetailsRequestXLanguageEnum
type ExportSlowSqlTrendDetailsResponse ¶ added in v0.1.104
type ExportSlowSqlTrendDetailsResponse struct { // 慢SQL数量趋势。 SlowSqlTrendItems *[]SlowSqlTrendItem `json:"slow_sql_trend_items,omitempty"` // 返回列表两个时间点之间的时间间隔。总查询时长3小时之内间隔1分钟,3小时到6小时范围内间隔5分钟,6小时到12小时范围内间隔30分钟,12小时以上间隔1小时。单位为毫秒。 IntervalMillis *int64 `json:"interval_millis,omitempty"` // 趋势数据总数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ExportSlowSqlTrendDetailsResponse Response Object
func (ExportSlowSqlTrendDetailsResponse) String ¶ added in v0.1.104
func (o ExportSlowSqlTrendDetailsResponse) String() string
type ExportSqlStatementsRequest ¶
type ExportSqlStatementsRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 开始时间(Unix timestamp),单位:毫秒。 StartAt int64 `json:"start_at"` // 结束时间(Unix timestamp),单位:毫秒。 EndAt int64 `json:"end_at"` // 每页记录数。最大为2000。 Limit int32 `json:"limit"` // 指定一个标识符。获取第一页时不用赋值,获取下一页时取上页查询结果的返回值。 Marker *string `json:"marker,omitempty"` // 数据库类型。支持MySQL和GaussDB(for MySQL)。 DatastoreType string `json:"datastore_type"` // 请求语言类型。 XLanguage *ExportSqlStatementsRequestXLanguage `json:"X-Language,omitempty"` }
ExportSqlStatementsRequest Request Object
func (ExportSqlStatementsRequest) String ¶
func (o ExportSqlStatementsRequest) String() string
type ExportSqlStatementsRequestXLanguage ¶
type ExportSqlStatementsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ExportSqlStatementsRequestXLanguage) MarshalJSON ¶
func (c ExportSqlStatementsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ExportSqlStatementsRequestXLanguage) UnmarshalJSON ¶
func (c *ExportSqlStatementsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ExportSqlStatementsRequestXLanguage) Value ¶ added in v0.0.90
func (c ExportSqlStatementsRequestXLanguage) Value() string
type ExportSqlStatementsRequestXLanguageEnum ¶
type ExportSqlStatementsRequestXLanguageEnum struct { EN_US ExportSqlStatementsRequestXLanguage ZH_CN ExportSqlStatementsRequestXLanguage }
func GetExportSqlStatementsRequestXLanguageEnum ¶
func GetExportSqlStatementsRequestXLanguageEnum() ExportSqlStatementsRequestXLanguageEnum
type ExportSqlStatementsResponse ¶
type ExportSqlStatementsResponse struct { // 全量SQL集合。当集合为空时,说明SQL已全部导出。 Statements *[]FullSql `json:"statements,omitempty"` // 获取下一页所需的标识符。marker仅在3分钟内有效。 NextMarker *string `json:"next_marker,omitempty"` HttpStatusCode int `json:"-"` }
ExportSqlStatementsResponse Response Object
func (ExportSqlStatementsResponse) String ¶
func (o ExportSqlStatementsResponse) String() string
type ExportTopRiskInstancesRequest ¶ added in v0.1.108
type ExportTopRiskInstancesRequest struct { // 开始时间(Unix timestamp),单位:毫秒。 StartAt int64 `json:"start_at"` // 结束时间(Unix timestamp),单位:毫秒。 EndAt int64 `json:"end_at"` // 数据库类型。 DatastoreType string `json:"datastore_type"` // 返回TOP风险实例数量。 Num *ExportTopRiskInstancesRequestNum `json:"num,omitempty"` // 请求语言类型。 XLanguage *ExportTopRiskInstancesRequestXLanguage `json:"X-Language,omitempty"` }
ExportTopRiskInstancesRequest Request Object
func (ExportTopRiskInstancesRequest) String ¶ added in v0.1.108
func (o ExportTopRiskInstancesRequest) String() string
type ExportTopRiskInstancesRequestNum ¶ added in v0.1.108
type ExportTopRiskInstancesRequestNum struct {
// contains filtered or unexported fields
}
func (ExportTopRiskInstancesRequestNum) MarshalJSON ¶ added in v0.1.108
func (c ExportTopRiskInstancesRequestNum) MarshalJSON() ([]byte, error)
func (*ExportTopRiskInstancesRequestNum) UnmarshalJSON ¶ added in v0.1.108
func (c *ExportTopRiskInstancesRequestNum) UnmarshalJSON(b []byte) error
func (ExportTopRiskInstancesRequestNum) Value ¶ added in v0.1.108
func (c ExportTopRiskInstancesRequestNum) Value() int32
type ExportTopRiskInstancesRequestNumEnum ¶ added in v0.1.108
type ExportTopRiskInstancesRequestNumEnum struct { E_10 ExportTopRiskInstancesRequestNum E_20 ExportTopRiskInstancesRequestNum E_30 ExportTopRiskInstancesRequestNum }
func GetExportTopRiskInstancesRequestNumEnum ¶ added in v0.1.108
func GetExportTopRiskInstancesRequestNumEnum() ExportTopRiskInstancesRequestNumEnum
type ExportTopRiskInstancesRequestXLanguage ¶ added in v0.1.108
type ExportTopRiskInstancesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ExportTopRiskInstancesRequestXLanguage) MarshalJSON ¶ added in v0.1.108
func (c ExportTopRiskInstancesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ExportTopRiskInstancesRequestXLanguage) UnmarshalJSON ¶ added in v0.1.108
func (c *ExportTopRiskInstancesRequestXLanguage) UnmarshalJSON(b []byte) error
func (ExportTopRiskInstancesRequestXLanguage) Value ¶ added in v0.1.108
func (c ExportTopRiskInstancesRequestXLanguage) Value() string
type ExportTopRiskInstancesRequestXLanguageEnum ¶ added in v0.1.108
type ExportTopRiskInstancesRequestXLanguageEnum struct { EN_US ExportTopRiskInstancesRequestXLanguage ZH_CN ExportTopRiskInstancesRequestXLanguage }
func GetExportTopRiskInstancesRequestXLanguageEnum ¶ added in v0.1.108
func GetExportTopRiskInstancesRequestXLanguageEnum() ExportTopRiskInstancesRequestXLanguageEnum
type ExportTopRiskInstancesResponse ¶ added in v0.1.108
type ExportTopRiskInstancesResponse struct { // 风险实例列表。 TopRiskInfo *[]TopRiskInfo `json:"top_risk_info,omitempty"` // 总数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ExportTopRiskInstancesResponse Response Object
func (ExportTopRiskInstancesResponse) String ¶ added in v0.1.108
func (o ExportTopRiskInstancesResponse) String() string
type ExportTopSqlTemplatesDetailsRequest ¶ added in v0.1.12
type ExportTopSqlTemplatesDetailsRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 开始时间(Unix timestamp),单位:毫秒。 StartAt int64 `json:"start_at"` // 结束时间(Unix timestamp),单位:毫秒。 EndAt int64 `json:"end_at"` // 数据库类型。支持MySQL和GaussDB(for MySQL)。 DatastoreType string `json:"datastore_type"` // 节点ID。 NodeId *string `json:"node_id,omitempty"` // 排序字段(executeNum:执行次数, totalCost:总耗时, avgCost:平均耗时, totalScan: 总扫描行数, avgScan:平均扫描行数)。 Sort *ExportTopSqlTemplatesDetailsRequestSort `json:"sort,omitempty"` // 排序顺序(true:正序, false:逆序)。 Asc *bool `json:"asc,omitempty"` // 偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 Offset *int32 `json:"offset,omitempty"` // 每页记录数,默认为20,最大取值100。 Limit *int32 `json:"limit,omitempty"` // 请求语言类型。 XLanguage *ExportTopSqlTemplatesDetailsRequestXLanguage `json:"X-Language,omitempty"` }
ExportTopSqlTemplatesDetailsRequest Request Object
func (ExportTopSqlTemplatesDetailsRequest) String ¶ added in v0.1.12
func (o ExportTopSqlTemplatesDetailsRequest) String() string
type ExportTopSqlTemplatesDetailsRequestSort ¶ added in v0.1.12
type ExportTopSqlTemplatesDetailsRequestSort struct {
// contains filtered or unexported fields
}
func (ExportTopSqlTemplatesDetailsRequestSort) MarshalJSON ¶ added in v0.1.12
func (c ExportTopSqlTemplatesDetailsRequestSort) MarshalJSON() ([]byte, error)
func (*ExportTopSqlTemplatesDetailsRequestSort) UnmarshalJSON ¶ added in v0.1.12
func (c *ExportTopSqlTemplatesDetailsRequestSort) UnmarshalJSON(b []byte) error
func (ExportTopSqlTemplatesDetailsRequestSort) Value ¶ added in v0.1.12
func (c ExportTopSqlTemplatesDetailsRequestSort) Value() string
type ExportTopSqlTemplatesDetailsRequestSortEnum ¶ added in v0.1.12
type ExportTopSqlTemplatesDetailsRequestSortEnum struct { EXECUTE_NUM ExportTopSqlTemplatesDetailsRequestSort TOTAL_COST ExportTopSqlTemplatesDetailsRequestSort AVG_COST ExportTopSqlTemplatesDetailsRequestSort TOTAL_SCAN ExportTopSqlTemplatesDetailsRequestSort AVG_SCAN ExportTopSqlTemplatesDetailsRequestSort }
func GetExportTopSqlTemplatesDetailsRequestSortEnum ¶ added in v0.1.12
func GetExportTopSqlTemplatesDetailsRequestSortEnum() ExportTopSqlTemplatesDetailsRequestSortEnum
type ExportTopSqlTemplatesDetailsRequestXLanguage ¶ added in v0.1.12
type ExportTopSqlTemplatesDetailsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ExportTopSqlTemplatesDetailsRequestXLanguage) MarshalJSON ¶ added in v0.1.12
func (c ExportTopSqlTemplatesDetailsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ExportTopSqlTemplatesDetailsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.12
func (c *ExportTopSqlTemplatesDetailsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ExportTopSqlTemplatesDetailsRequestXLanguage) Value ¶ added in v0.1.12
func (c ExportTopSqlTemplatesDetailsRequestXLanguage) Value() string
type ExportTopSqlTemplatesDetailsRequestXLanguageEnum ¶ added in v0.1.12
type ExportTopSqlTemplatesDetailsRequestXLanguageEnum struct { EN_US ExportTopSqlTemplatesDetailsRequestXLanguage ZH_CN ExportTopSqlTemplatesDetailsRequestXLanguage }
func GetExportTopSqlTemplatesDetailsRequestXLanguageEnum ¶ added in v0.1.12
func GetExportTopSqlTemplatesDetailsRequestXLanguageEnum() ExportTopSqlTemplatesDetailsRequestXLanguageEnum
type ExportTopSqlTemplatesDetailsResponse ¶ added in v0.1.12
type ExportTopSqlTemplatesDetailsResponse struct { // SQL模板列表。 TopSqlTemplates *[]TopSqlTemplate `json:"top_sql_templates,omitempty"` // SQL模板总数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ExportTopSqlTemplatesDetailsResponse Response Object
func (ExportTopSqlTemplatesDetailsResponse) String ¶ added in v0.1.12
func (o ExportTopSqlTemplatesDetailsResponse) String() string
type ExportTopSqlTrendDetailsRequest ¶ added in v0.1.12
type ExportTopSqlTrendDetailsRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 开始时间(Unix timestamp),单位:毫秒。 StartAt int64 `json:"start_at"` // 结束时间(Unix timestamp),单位:毫秒。 EndAt int64 `json:"end_at"` // 数据库类型。支持MySQL和GaussDB(for MySQL)。 DatastoreType string `json:"datastore_type"` // 节点ID。 NodeId *string `json:"node_id,omitempty"` // 请求语言类型。 XLanguage *ExportTopSqlTrendDetailsRequestXLanguage `json:"X-Language,omitempty"` }
ExportTopSqlTrendDetailsRequest Request Object
func (ExportTopSqlTrendDetailsRequest) String ¶ added in v0.1.12
func (o ExportTopSqlTrendDetailsRequest) String() string
type ExportTopSqlTrendDetailsRequestXLanguage ¶ added in v0.1.12
type ExportTopSqlTrendDetailsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ExportTopSqlTrendDetailsRequestXLanguage) MarshalJSON ¶ added in v0.1.12
func (c ExportTopSqlTrendDetailsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ExportTopSqlTrendDetailsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.12
func (c *ExportTopSqlTrendDetailsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ExportTopSqlTrendDetailsRequestXLanguage) Value ¶ added in v0.1.12
func (c ExportTopSqlTrendDetailsRequestXLanguage) Value() string
type ExportTopSqlTrendDetailsRequestXLanguageEnum ¶ added in v0.1.12
type ExportTopSqlTrendDetailsRequestXLanguageEnum struct { EN_US ExportTopSqlTrendDetailsRequestXLanguage ZH_CN ExportTopSqlTrendDetailsRequestXLanguage }
func GetExportTopSqlTrendDetailsRequestXLanguageEnum ¶ added in v0.1.12
func GetExportTopSqlTrendDetailsRequestXLanguageEnum() ExportTopSqlTrendDetailsRequestXLanguageEnum
type ExportTopSqlTrendDetailsResponse ¶ added in v0.1.12
type ExportTopSqlTrendDetailsResponse struct { // 返回列表两个时间点之间的时间间隔。总查询时长一小时之内间隔10s,一小时到六小时范围内间隔60s。单位为毫秒。 IntervalMillis *int64 `json:"interval_millis,omitempty"` // SQL执行耗时区间数据。 TopSqlTrendItems *[]TopSqlTrendItem `json:"top_sql_trend_items,omitempty"` // 耗时区间数据总数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ExportTopSqlTrendDetailsResponse Response Object
func (ExportTopSqlTrendDetailsResponse) String ¶ added in v0.1.12
func (o ExportTopSqlTrendDetailsResponse) String() string
type FeedbackInfo ¶ added in v0.1.57
type FeedbackInfo struct { // 编号 Id *string `json:"id,omitempty"` // 项目Id ProjectId *string `json:"project_id,omitempty"` // 任务消息唯一Id MessageId *string `json:"message_id,omitempty"` // 反馈等级 FeedbackGrade *string `json:"feedback_grade,omitempty"` // 反馈内容 FeedbackContent *string `json:"feedback_content,omitempty"` // 创建时间 GmtCreated *int64 `json:"gmt_created,omitempty"` // 修改时间 GmtModified *int64 `json:"gmt_modified,omitempty"` }
func (FeedbackInfo) String ¶ added in v0.1.57
func (o FeedbackInfo) String() string
type FullSql ¶
type FullSql struct { // SQL语句。 Sql string `json:"sql"` // 操作类型。 OperateType string `json:"operate_type"` // 状态。 Status string `json:"status"` // 错误码。 ErrorNo string `json:"error_no"` // 数据库名。 Database string `json:"database"` // 客户端。 Client string `json:"client"` // 线程ID。 ThreadId string `json:"thread_id"` // 用户。 User string `json:"user"` // 执行开始时间(Unix timestamp),单位:毫秒。 ExecuteAt int64 `json:"execute_at"` // 执行耗时(毫秒)。 QueryTime float64 `json:"query_time"` // 锁等待耗时(毫秒)。 LockTime float64 `json:"lock_time"` // 扫描行数。 RowsExamined int64 `json:"rows_examined"` // 返回行数。 RowsSent int64 `json:"rows_sent"` // 更新行数。 RowsAffected int64 `json:"rows_affected"` }
type GetTransactionListRespTransactionInfoList ¶ added in v0.1.105
type GetTransactionListRespTransactionInfoList struct { // 事务持续时间 LastSec int32 `json:"last_sec"` // 等待锁数量 WaitLocks int32 `json:"wait_locks"` // 持有锁数量 HoldLocks int32 `json:"hold_locks"` // 发生时间 OccurrenceTime int32 `json:"occurrence_time"` // 事务内容 Detail string `json:"detail"` // 收集时间 CollectTime int64 `json:"collect_time"` }
func (GetTransactionListRespTransactionInfoList) String ¶ added in v0.1.105
func (o GetTransactionListRespTransactionInfoList) String() string
type HealthReportAnalysisResult ¶ added in v0.1.120
type HealthReportAnalysisResult struct { // 风险点编码。 RiskCode string `json:"risk_code"` // 风险点级别。 RiskLevel string `json:"risk_level"` // 风险点内容。 RiskContent string `json:"risk_content"` // 可能原因列表。 Reasons []HealthReportRiskReason `json:"reasons"` }
func (HealthReportAnalysisResult) String ¶ added in v0.1.120
func (o HealthReportAnalysisResult) String() string
type HealthReportDiskStat ¶ added in v0.1.120
type HealthReportDiskStat struct { // 峰值统计信息列表。 PeakStats []HealthReportSingleValueStat `json:"peak_stats"` // 比率值数据列表。 RatioStats []HealthReportRatioStat `json:"ratio_stats"` }
func (HealthReportDiskStat) String ¶ added in v0.1.120
func (o HealthReportDiskStat) String() string
type HealthReportFullSqlStat ¶ added in v0.1.120
type HealthReportFullSqlStat struct { // 是否收集全量SQL。 CollectFullSql bool `json:"collect_full_sql"` // 全量SQL Top总执行次数列表。 ExecuteTopTemplates []HealthReportSqlTemplate `json:"execute_top_templates"` // 全量SQL Top总扫描行数列表。 SumRowsExaminedTopTemplates []HealthReportSqlTemplate `json:"sum_rows_examined_top_templates"` // 全量SQL Top平均执行耗时列表。 AvgCostTopTemplates []HealthReportSqlTemplate `json:"avg_cost_top_templates"` // 统计分析是否成功。 AnalyzeSuccess bool `json:"analyze_success"` // 错误信息。 ErrorMessage string `json:"error_message"` }
func (HealthReportFullSqlStat) String ¶ added in v0.1.120
func (o HealthReportFullSqlStat) String() string
type HealthReportInspectionScore ¶ added in v0.1.120
type HealthReportInspectionScore struct { // 得分。 Score float64 `json:"score"` // 严重事件。 Critical int32 `json:"critical"` // 警告事件。 Medium int32 `json:"medium"` // 优化事件。 Light int32 `json:"light"` // CPU使用率。 CpuUsage float64 `json:"cpu_usage"` // 内存使用率。 MemUsage float64 `json:"mem_usage"` // 空间使用率。 SpaceUsage float64 `json:"space_usage"` // 连接使用率。 ConnectionRate float64 `json:"connection_rate"` // IOPS使用率。 IopsUsage float64 `json:"iops_usage"` // 活跃会话。 ThreadRunning float64 `json:"thread_running"` // 慢SQL数量。 SlowSqlTotal int64 `json:"slow_sql_total"` // 扣分详情。 LostPointsDetailList []HealthReportLostPointsDetail `json:"lost_points_detail_list"` }
func (HealthReportInspectionScore) String ¶ added in v0.1.120
func (o HealthReportInspectionScore) String() string
type HealthReportInspectionStat ¶ added in v0.1.120
type HealthReportInspectionStat struct { // 巡检评分。 InspectionScore []HealthReportInspectionScore `json:"inspection_score"` // 统计分析是否成功。 AnalyzeSuccess bool `json:"analyze_success"` // 错误信息。 ErrorMessage string `json:"error_message"` }
func (HealthReportInspectionStat) String ¶ added in v0.1.120
func (o HealthReportInspectionStat) String() string
type HealthReportInstanceInfo ¶ added in v0.1.120
type HealthReportInstanceInfo struct { // 账号ID。 TenantId string `json:"tenant_id"` // 项目ID。 ProjectId string `json:"project_id"` // 实例ID。 InstanceId string `json:"instance_id"` // 主节点ID。 MasterNodeId string `json:"master_node_id"` // 实例名称。 InstanceName string `json:"instance_name"` // 实例cpu核数。 Cpu int32 `json:"cpu"` // 实例内存大小。 Mem int32 `json:"mem"` // 磁盘大小。 DiskSize int32 `json:"disk_size"` // 磁盘类型。 DiskType string `json:"disk_type"` // 实例引擎类型。 Engine string `json:"engine"` // 引擎内核版本。 EngineVersion string `json:"engine_version"` }
func (HealthReportInstanceInfo) String ¶ added in v0.1.120
func (o HealthReportInstanceInfo) String() string
type HealthReportLostPointsDetail ¶ added in v0.1.120
type HealthReportLostPointsDetail struct { // 扣分项。 Metric string `json:"metric"` // 所扣分数。 LostPoints float64 `json:"lost_points"` // 事件等级。 RiskLevel string `json:"risk_level"` }
func (HealthReportLostPointsDetail) String ¶ added in v0.1.120
func (o HealthReportLostPointsDetail) String() string
type HealthReportPerformanceStat ¶ added in v0.1.120
type HealthReportPerformanceStat struct { // 峰值统计信息列表。 PeakStats []HealthReportSingleValueStat `json:"peak_stats"` // 比率值数据列表。 RatioStats []HealthReportRatioStat `json:"ratio_stats"` }
func (HealthReportPerformanceStat) String ¶ added in v0.1.120
func (o HealthReportPerformanceStat) String() string
type HealthReportRatioStat ¶ added in v0.1.120
type HealthReportRatioStat struct { // 指标名。 Metric string `json:"metric"` // 最大值。 MaxValue float64 `json:"max_value"` // 高水位占比。 CriticalRatio float64 `json:"critical_ratio"` // 中水位占比。 MediumRatio float64 `json:"medium_ratio"` // 低水位占比。 LightRatio float64 `json:"light_ratio"` }
func (HealthReportRatioStat) String ¶ added in v0.1.120
func (o HealthReportRatioStat) String() string
type HealthReportRiskReason ¶ added in v0.1.120
type HealthReportRiskReason struct { // 可能原因编码。 ReasonCode string `json:"reason_code"` // 可能原因内容。 ReasonContent string `json:"reason_content"` // 建议优化措施列表。 Suggestions []HealthReportRiskSuggestion `json:"suggestions"` }
func (HealthReportRiskReason) String ¶ added in v0.1.120
func (o HealthReportRiskReason) String() string
type HealthReportRiskSuggestion ¶ added in v0.1.120
type HealthReportRiskSuggestion struct { // 建议优化措施编码。 SuggestionCode string `json:"suggestion_code"` // 建议优化措施。 SuggestionContent string `json:"suggestion_content"` }
func (HealthReportRiskSuggestion) String ¶ added in v0.1.120
func (o HealthReportRiskSuggestion) String() string
type HealthReportSingleValueStat ¶ added in v0.1.120
type HealthReportSingleValueStat struct { // 指标名。 Metric string `json:"metric"` // 数值。 Value float64 `json:"value"` // 最大值。 MaxValue float64 `json:"max_value"` // 归一化值。 Normalized float64 `json:"normalized"` // 当前状态。 Stage string `json:"stage"` // 指标采集时间。 Timestamp int64 `json:"timestamp"` }
func (HealthReportSingleValueStat) String ¶ added in v0.1.120
func (o HealthReportSingleValueStat) String() string
type HealthReportSlowLogStat ¶ added in v0.1.120
type HealthReportSlowLogStat struct { // 是否收集慢SQL。 CollectSlowLog bool `json:"collect_slow_log"` // 慢SQL Top执行次数列表。 TopExecuteSlowLogs []HealthReportSqlTemplate `json:"top_execute_slow_logs"` // 慢SQL Top平均执行时间列表。 TopAvgQueryTimeSlowLogs []HealthReportSqlTemplate `json:"top_avg_query_time_slow_logs"` // 慢SQL Top最大执行时间列表。 TopMaxQueryTimeSlowLogs []HealthReportSqlTemplate `json:"top_max_query_time_slow_logs"` // 慢SQL Top扫描返回比列表。 RowsExaminedExceeding []HealthReportSqlTemplate `json:"rows_examined_exceeding"` // 统计分析是否成功。 AnalyzeSuccess bool `json:"analyze_success"` // 错误信息。 ErrorMessage string `json:"error_message"` }
func (HealthReportSlowLogStat) String ¶ added in v0.1.120
func (o HealthReportSlowLogStat) String() string
type HealthReportSqlTemplate ¶ added in v0.1.120
type HealthReportSqlTemplate struct { // 模版ID。 TemplateId string `json:"template_id"` // 模版内容。 Template string `json:"template"` // 数据库列表。 Databases []string `json:"databases"` // 执行次数。 Times int64 `json:"times"` // 平均执行时间。 AvgQueryTime float64 `json:"avg_query_time"` // 最大执行时间。 MaxQueryTime float64 `json:"max_query_time"` // 平均扫描行数。 AvgRowsExamined float64 `json:"avg_rows_examined"` // 最大扫描行数。 MaxRowsExamined float64 `json:"max_rows_examined"` // 总扫描行数。 SumRowsExamined float64 `json:"sum_rows_examined"` // 平均返回行数。 AvgRowsSent float64 `json:"avg_rows_sent"` // 最大返回行数。 MaxRowsSent float64 `json:"max_rows_sent"` }
func (HealthReportSqlTemplate) String ¶ added in v0.1.120
func (o HealthReportSqlTemplate) String() string
type HealthReportSummaryInfo ¶ added in v0.1.120
type HealthReportSummaryInfo struct { // 分析结果列表 AnalysisResults []HealthReportAnalysisResult `json:"analysis_results"` }
func (HealthReportSummaryInfo) String ¶ added in v0.1.120
func (o HealthReportSummaryInfo) String() string
type HealthReportTableSpaceIncrInfo ¶ added in v0.1.120
type HealthReportTableSpaceIncrInfo struct { // 数据库名。 Database string `json:"database"` // 表名。 Table string `json:"table"` // 增长量。 Increment int64 `json:"increment"` // 统计分析是否成功。 AnalyzeSuccess bool `json:"analyze_success"` // 错误信息。 ErrorMessage string `json:"error_message"` }
func (HealthReportTableSpaceIncrInfo) String ¶ added in v0.1.120
func (o HealthReportTableSpaceIncrInfo) String() string
type HealthReportTableSpaceInfo ¶ added in v0.1.120
type HealthReportTableSpaceInfo struct { // 数据库名。 Database string `json:"database"` // 表名。 Table string `json:"table"` // 数据库引擎。 DbEngine string `json:"db_engine"` // 表大小。 TableSize int64 `json:"table_size"` // 数据大小。 DataSize int64 `json:"data_size"` // 索引大小。 IndexSize int64 `json:"index_size"` // 行数量。 Rows int64 `json:"rows"` }
func (HealthReportTableSpaceInfo) String ¶ added in v0.1.120
func (o HealthReportTableSpaceInfo) String() string
type HealthReportTableSpaceStat ¶ added in v0.1.120
type HealthReportTableSpaceStat struct { // 表大小Top列表。 SizeTop []HealthReportTableSpaceInfo `json:"size_top"` // 表行数量Top列表。 RowsTop []HealthReportTableSpaceInfo `json:"rows_top"` // 表大小增长Top列表。 SizeIncrTop []HealthReportTableSpaceIncrInfo `json:"size_incr_top"` // 表行数量增长Top列表。 RowsIncrTop []HealthReportTableSpaceIncrInfo `json:"rows_incr_top"` // 统计分析是否成功。 AnalyzeSuccess bool `json:"analyze_success"` // 错误信息。 ErrorMessage string `json:"error_message"` }
func (HealthReportTableSpaceStat) String ¶ added in v0.1.120
func (o HealthReportTableSpaceStat) String() string
type HealthReportTask ¶ added in v0.1.120
type HealthReportTask struct { // 报告ID TaskId string `json:"task_id"` // 实例ID InstanceId string `json:"instance_id"` // 创建时间(Unix timestamp),单位:毫秒。 CreateAt int64 `json:"create_at"` // 诊断状态 ReportStatus string `json:"report_status"` // 风险点数量 RiskCount int32 `json:"risk_count"` // 触发源 Origin string `json:"origin"` // 日报诊断区间的起始时间(Unix timestamp),单位:毫秒。 StartAt int64 `json:"start_at"` // 日报诊断区间的结束时间(Unix timestamp),单位:毫秒。 EndAt int64 `json:"end_at"` }
func (HealthReportTask) String ¶ added in v0.1.120
func (o HealthReportTask) String() string
type IndexAdviceInfo ¶ added in v0.1.57
type IndexAdviceInfo struct { // schema名 SchemaName *string `json:"schema_name,omitempty"` // 表名 TableName *string `json:"table_name,omitempty"` // 索引名 IndexName *string `json:"index_name,omitempty"` // 列 Columns *[]string `json:"columns,omitempty"` // 是否唯一 Unique *bool `json:"unique,omitempty"` // 追踪id TrackId *string `json:"track_id,omitempty"` // 质量 Quality *interface{} `json:"quality,omitempty"` // ddl需要添加的索引 DdlAddIndex *string `json:"ddl_add_index,omitempty"` }
func (IndexAdviceInfo) String ¶ added in v0.1.57
func (o IndexAdviceInfo) String() string
type InnodbLock ¶
type InnodbLock struct { // 锁ID LockId string `json:"lock_id"` // 事务ID LockTrxId string `json:"lock_trx_id"` // 锁模式,取值为S[,GAP], X[,GAP], IS[,GAP], IX[,GAP], AUTO_INC, and UNKNOWN。 LockMode string `json:"lock_mode"` // 锁类型,取值为RECORD或TABLE。RECORD为行锁, TABLE为表锁 LockType string `json:"lock_type"` // 加锁的表 LockTable string `json:"lock_table"` // 如果是lock_type='RECORD' 行级锁 ,为锁住的索引,如果是表锁为null LockIndex string `json:"lock_index"` // 如果是lock_type='RECORD' 行级锁 ,为锁住的索引,如果是表锁为null LockSpace string `json:"lock_space"` // 如果是lock_type='RECORD' 行级锁 ,为锁住的页号,如果是表锁为null LockPage string `json:"lock_page"` // 如果是lock_type='RECORD' 行级锁 ,为锁住的堆号,如果是表锁为null LockRec string `json:"lock_rec"` // 事务锁住的主键值,若是表锁,则该值为null LockData string `json:"lock_data"` }
func (InnodbLock) String ¶
func (o InnodbLock) String() string
type InnodbLockWaits ¶
type InnodbLockWaits struct { // 申请锁资源的事务ID RequestingTrxId string `json:"requesting_trx_id"` // 申请的锁的ID RequestedLockId string `json:"requested_lock_id"` // 阻塞的事务ID BlockingTrxId string `json:"blocking_trx_id"` // 阻塞的锁的ID BlockingLockId string `json:"blocking_lock_id"` }
func (InnodbLockWaits) String ¶
func (o InnodbLockWaits) String() string
type InnodbTrx ¶
type InnodbTrx struct { // 事务ID TrxId string `json:"trx_id"` // 事务状态 TrxState string `json:"trx_state"` // 事务开始时间 TrxStarted string `json:"trx_started"` // 事务等待开始时间 TrxWaitStarted string `json:"trx_wait_started"` // 会话ID,同ListProcesses接口返回的id。 TrxMysqlThreadId string `json:"trx_mysql_thread_id"` // 事务运行的SQL语句 TrxQuery string `json:"trx_query"` // 加行锁的表数量 TrxTablesLocked string `json:"trx_tables_locked"` // 锁定的行数量(近似值) TrxRowsLocked string `json:"trx_rows_locked"` // 事务插入或者修改的行数 TrxRowsModified string `json:"trx_rows_modified"` // 隔离级别 TrxIsolationLevel string `json:"trx_isolation_level"` // 等待锁信息 InnodbWaitLocks []InnodbLock `json:"innodb_wait_locks"` // 持有锁信息 InnodbHoldLocks []InnodbLock `json:"innodb_hold_locks"` }
type InstanceSpaceInfo ¶
type InstanceSpaceInfo struct { // 实例总空间,以字节为单位。GaussDB(for MySQL)不会返回总空间 TotalSize *int64 `json:"total_size,omitempty"` // 已使用空间,以字节为单位 UsedSize *int64 `json:"used_size,omitempty"` // 数据空间,以字节为单位 DataSize *int64 `json:"data_size,omitempty"` // 日志空间,以字节为单位 LogSize *int64 `json:"log_size,omitempty"` // 近七日的数据平均日增长量,以字节为单位 AvgDailyGrowth *int64 `json:"avg_daily_growth,omitempty"` // 最后一次分析的结果时间,毫秒单位时间戳 LastResultTime *int64 `json:"last_result_time,omitempty"` }
InstanceSpaceInfo 实例空间信息。数据来源于文件系统。已用空间包含数据空间、日志空间和其他空间,其他空间包括引擎产生的临时文件等。
func (InstanceSpaceInfo) String ¶
func (o InstanceSpaceInfo) String() string
type ListApiVersionsRequest ¶
type ListApiVersionsRequest struct { }
ListApiVersionsRequest Request Object
func (ListApiVersionsRequest) String ¶
func (o ListApiVersionsRequest) String() string
type ListApiVersionsResponse ¶
type ListApiVersionsResponse struct { // API版本详细信息列表。 Versions *[]ApiVersion `json:"versions,omitempty"` HttpStatusCode int `json:"-"` }
ListApiVersionsResponse Response Object
func (ListApiVersionsResponse) String ¶
func (o ListApiVersionsResponse) String() string
type ListCloudDbaInstancesRequest ¶ added in v0.1.116
type ListCloudDbaInstancesRequest struct { // 数据库类型。 DatastoreType string `json:"datastore_type"` // 偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 Offset *int32 `json:"offset,omitempty"` // 每页记录数,默认为20,最大取值200。 Limit *int32 `json:"limit,omitempty"` // 请求语言类型。 XLanguage *ListCloudDbaInstancesRequestXLanguage `json:"X-Language,omitempty"` }
ListCloudDbaInstancesRequest Request Object
func (ListCloudDbaInstancesRequest) String ¶ added in v0.1.116
func (o ListCloudDbaInstancesRequest) String() string
type ListCloudDbaInstancesRequestXLanguage ¶ added in v0.1.116
type ListCloudDbaInstancesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListCloudDbaInstancesRequestXLanguage) MarshalJSON ¶ added in v0.1.116
func (c ListCloudDbaInstancesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListCloudDbaInstancesRequestXLanguage) UnmarshalJSON ¶ added in v0.1.116
func (c *ListCloudDbaInstancesRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListCloudDbaInstancesRequestXLanguage) Value ¶ added in v0.1.116
func (c ListCloudDbaInstancesRequestXLanguage) Value() string
type ListCloudDbaInstancesRequestXLanguageEnum ¶ added in v0.1.116
type ListCloudDbaInstancesRequestXLanguageEnum struct { EN_US ListCloudDbaInstancesRequestXLanguage ZH_CN ListCloudDbaInstancesRequestXLanguage }
func GetListCloudDbaInstancesRequestXLanguageEnum ¶ added in v0.1.116
func GetListCloudDbaInstancesRequestXLanguageEnum() ListCloudDbaInstancesRequestXLanguageEnum
type ListCloudDbaInstancesResponse ¶ added in v0.1.116
type ListCloudDbaInstancesResponse struct { // 实例列表。 InstanceList *[]DasInstanceInfo `json:"instance_list,omitempty"` // 总数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ListCloudDbaInstancesResponse Response Object
func (ListCloudDbaInstancesResponse) String ¶ added in v0.1.116
func (o ListCloudDbaInstancesResponse) String() string
type ListDbUsersRequest ¶
type ListDbUsersRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 Offset *int32 `json:"offset,omitempty"` // 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。 Limit *int32 `json:"limit,omitempty"` // 数据库用户ID DbUserId *string `json:"db_user_id,omitempty"` // 数据库用户名称 DbUsername *string `json:"db_username,omitempty"` // 语言 XLanguage *ListDbUsersRequestXLanguage `json:"X-Language,omitempty"` }
ListDbUsersRequest Request Object
func (ListDbUsersRequest) String ¶
func (o ListDbUsersRequest) String() string
type ListDbUsersRequestXLanguage ¶
type ListDbUsersRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListDbUsersRequestXLanguage) MarshalJSON ¶
func (c ListDbUsersRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListDbUsersRequestXLanguage) UnmarshalJSON ¶
func (c *ListDbUsersRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListDbUsersRequestXLanguage) Value ¶ added in v0.0.90
func (c ListDbUsersRequestXLanguage) Value() string
type ListDbUsersRequestXLanguageEnum ¶
type ListDbUsersRequestXLanguageEnum struct { ZH_CN ListDbUsersRequestXLanguage EN_US ListDbUsersRequestXLanguage }
func GetListDbUsersRequestXLanguageEnum ¶
func GetListDbUsersRequestXLanguageEnum() ListDbUsersRequestXLanguageEnum
type ListDbUsersResponse ¶
type ListDbUsersResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 数据库用户列表 DbUsers *[]DbUser `json:"db_users,omitempty"` HttpStatusCode int `json:"-"` }
ListDbUsersResponse Response Object
func (ListDbUsersResponse) String ¶
func (o ListDbUsersResponse) String() string
type ListHealthReportTaskRequest ¶ added in v0.1.120
type ListHealthReportTaskRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 开始时间(Unix timestamp),单位:毫秒。 StartAt int64 `json:"start_at"` // 结束时间(Unix timestamp),单位:毫秒。 EndAt int64 `json:"end_at"` // 偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 Offset *int32 `json:"offset,omitempty"` // 每页记录数,默认为10,最大取值200。 Limit *int32 `json:"limit,omitempty"` // 请求语言类型。 XLanguage *ListHealthReportTaskRequestXLanguage `json:"X-Language,omitempty"` }
ListHealthReportTaskRequest Request Object
func (ListHealthReportTaskRequest) String ¶ added in v0.1.120
func (o ListHealthReportTaskRequest) String() string
type ListHealthReportTaskRequestXLanguage ¶ added in v0.1.120
type ListHealthReportTaskRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListHealthReportTaskRequestXLanguage) MarshalJSON ¶ added in v0.1.120
func (c ListHealthReportTaskRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListHealthReportTaskRequestXLanguage) UnmarshalJSON ¶ added in v0.1.120
func (c *ListHealthReportTaskRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListHealthReportTaskRequestXLanguage) Value ¶ added in v0.1.120
func (c ListHealthReportTaskRequestXLanguage) Value() string
type ListHealthReportTaskRequestXLanguageEnum ¶ added in v0.1.120
type ListHealthReportTaskRequestXLanguageEnum struct { EN_US ListHealthReportTaskRequestXLanguage ZH_CN ListHealthReportTaskRequestXLanguage }
func GetListHealthReportTaskRequestXLanguageEnum ¶ added in v0.1.120
func GetListHealthReportTaskRequestXLanguageEnum() ListHealthReportTaskRequestXLanguageEnum
type ListHealthReportTaskResponse ¶ added in v0.1.120
type ListHealthReportTaskResponse struct { // 诊断报告总数 Total *int64 `json:"total,omitempty"` // 诊断报告列表 HealthReportTaskList *[]HealthReportTask `json:"health_report_task_list,omitempty"` HttpStatusCode int `json:"-"` }
ListHealthReportTaskResponse Response Object
func (ListHealthReportTaskResponse) String ¶ added in v0.1.120
func (o ListHealthReportTaskResponse) String() string
type ListInnodbLocksRequest ¶
type ListInnodbLocksRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据库用户ID DbUserId string `json:"db_user_id"` // 语言 XLanguage *ListInnodbLocksRequestXLanguage `json:"X-Language,omitempty"` }
ListInnodbLocksRequest Request Object
func (ListInnodbLocksRequest) String ¶
func (o ListInnodbLocksRequest) String() string
type ListInnodbLocksRequestXLanguage ¶
type ListInnodbLocksRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListInnodbLocksRequestXLanguage) MarshalJSON ¶
func (c ListInnodbLocksRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListInnodbLocksRequestXLanguage) UnmarshalJSON ¶
func (c *ListInnodbLocksRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListInnodbLocksRequestXLanguage) Value ¶ added in v0.0.90
func (c ListInnodbLocksRequestXLanguage) Value() string
type ListInnodbLocksRequestXLanguageEnum ¶
type ListInnodbLocksRequestXLanguageEnum struct { ZH_CN ListInnodbLocksRequestXLanguage EN_US ListInnodbLocksRequestXLanguage }
func GetListInnodbLocksRequestXLanguageEnum ¶
func GetListInnodbLocksRequestXLanguageEnum() ListInnodbLocksRequestXLanguageEnum
type ListInnodbLocksResponse ¶
type ListInnodbLocksResponse struct { // 当前持有或等待锁的事务信息 InnodbTrx *[]InnodbTrx `json:"innodb_trx,omitempty"` // 每个事务请求的锁以及阻塞该请求的锁的对应关系 InnodbLockWaits *[]InnodbLockWaits `json:"innodb_lock_waits,omitempty"` // 当前持有或等待锁的事务数量 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListInnodbLocksResponse Response Object
func (ListInnodbLocksResponse) String ¶
func (o ListInnodbLocksResponse) String() string
type ListMetadataLocksRequest ¶
type ListMetadataLocksRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据库用户ID DbUserId string `json:"db_user_id"` // 会话ID ThreadId *string `json:"thread_id,omitempty"` // 数据库名称 Database *string `json:"database,omitempty"` // 表名 Table *string `json:"table,omitempty"` // 语言 XLanguage *ListMetadataLocksRequestXLanguage `json:"X-Language,omitempty"` }
ListMetadataLocksRequest Request Object
func (ListMetadataLocksRequest) String ¶
func (o ListMetadataLocksRequest) String() string
type ListMetadataLocksRequestXLanguage ¶
type ListMetadataLocksRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListMetadataLocksRequestXLanguage) MarshalJSON ¶
func (c ListMetadataLocksRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListMetadataLocksRequestXLanguage) UnmarshalJSON ¶
func (c *ListMetadataLocksRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListMetadataLocksRequestXLanguage) Value ¶ added in v0.0.90
func (c ListMetadataLocksRequestXLanguage) Value() string
type ListMetadataLocksRequestXLanguageEnum ¶
type ListMetadataLocksRequestXLanguageEnum struct { ZH_CN ListMetadataLocksRequestXLanguage EN_US ListMetadataLocksRequestXLanguage }
func GetListMetadataLocksRequestXLanguageEnum ¶
func GetListMetadataLocksRequestXLanguageEnum() ListMetadataLocksRequestXLanguageEnum
type ListMetadataLocksResponse ¶
type ListMetadataLocksResponse struct { // 元数据锁列表 MetadataLocks *[]MetadataLock `json:"metadata_locks,omitempty"` // 元数据锁数量 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListMetadataLocksResponse Response Object
func (ListMetadataLocksResponse) String ¶
func (o ListMetadataLocksResponse) String() string
type ListProcessesRequest ¶
type ListProcessesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据库用户ID DbUserId string `json:"db_user_id"` // 用户 User *string `json:"user,omitempty"` // 数据库 Database *string `json:"database,omitempty"` // 节点ID NodeId *string `json:"node_id,omitempty"` // 偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 Offset *int32 `json:"offset,omitempty"` // 每页记录数,默认为20,最大取值100。 Limit *int32 `json:"limit,omitempty"` // 语言 XLanguage *ListProcessesRequestXLanguage `json:"X-Language,omitempty"` }
ListProcessesRequest Request Object
func (ListProcessesRequest) String ¶
func (o ListProcessesRequest) String() string
type ListProcessesRequestXLanguage ¶
type ListProcessesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListProcessesRequestXLanguage) MarshalJSON ¶
func (c ListProcessesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListProcessesRequestXLanguage) UnmarshalJSON ¶
func (c *ListProcessesRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListProcessesRequestXLanguage) Value ¶ added in v0.0.90
func (c ListProcessesRequestXLanguage) Value() string
type ListProcessesRequestXLanguageEnum ¶
type ListProcessesRequestXLanguageEnum struct { ZH_CN ListProcessesRequestXLanguage EN_US ListProcessesRequestXLanguage }
func GetListProcessesRequestXLanguageEnum ¶
func GetListProcessesRequestXLanguageEnum() ListProcessesRequestXLanguageEnum
type ListProcessesResponse ¶
type ListProcessesResponse struct { // 会话列表 Processes *[]Process `json:"processes,omitempty"` // 总记录数 Count *int64 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListProcessesResponse Response Object
func (ListProcessesResponse) String ¶
func (o ListProcessesResponse) String() string
type ListSpaceAnalysisRequest ¶
type ListSpaceAnalysisRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 语言 XLanguage *string `json:"X-Language,omitempty"` // 对象类型 ObjectType ListSpaceAnalysisRequestObjectType `json:"object_type"` // 数据库ID DatabaseId *string `json:"database_id,omitempty"` // 偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。offset必须是limit的整数倍。 Offset *string `json:"offset,omitempty"` // 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。 Limit *string `json:"limit,omitempty"` // 是否返回实例级别数据,取值:true或者false ShowInstanceInfo *string `json:"show_instance_info,omitempty"` // 引擎类型 DatastoreType ListSpaceAnalysisRequestDatastoreType `json:"datastore_type"` }
ListSpaceAnalysisRequest Request Object
func (ListSpaceAnalysisRequest) String ¶
func (o ListSpaceAnalysisRequest) String() string
type ListSpaceAnalysisRequestDatastoreType ¶
type ListSpaceAnalysisRequestDatastoreType struct {
// contains filtered or unexported fields
}
func (ListSpaceAnalysisRequestDatastoreType) MarshalJSON ¶
func (c ListSpaceAnalysisRequestDatastoreType) MarshalJSON() ([]byte, error)
func (*ListSpaceAnalysisRequestDatastoreType) UnmarshalJSON ¶
func (c *ListSpaceAnalysisRequestDatastoreType) UnmarshalJSON(b []byte) error
func (ListSpaceAnalysisRequestDatastoreType) Value ¶ added in v0.0.90
func (c ListSpaceAnalysisRequestDatastoreType) Value() string
type ListSpaceAnalysisRequestDatastoreTypeEnum ¶
type ListSpaceAnalysisRequestDatastoreTypeEnum struct { MY_SQL ListSpaceAnalysisRequestDatastoreType GAUSS_DB_FOR_MY_SQL ListSpaceAnalysisRequestDatastoreType SQL_SERVER ListSpaceAnalysisRequestDatastoreType }
func GetListSpaceAnalysisRequestDatastoreTypeEnum ¶
func GetListSpaceAnalysisRequestDatastoreTypeEnum() ListSpaceAnalysisRequestDatastoreTypeEnum
type ListSpaceAnalysisRequestObjectType ¶
type ListSpaceAnalysisRequestObjectType struct {
// contains filtered or unexported fields
}
func (ListSpaceAnalysisRequestObjectType) MarshalJSON ¶
func (c ListSpaceAnalysisRequestObjectType) MarshalJSON() ([]byte, error)
func (*ListSpaceAnalysisRequestObjectType) UnmarshalJSON ¶
func (c *ListSpaceAnalysisRequestObjectType) UnmarshalJSON(b []byte) error
func (ListSpaceAnalysisRequestObjectType) Value ¶ added in v0.0.90
func (c ListSpaceAnalysisRequestObjectType) Value() string
type ListSpaceAnalysisRequestObjectTypeEnum ¶
type ListSpaceAnalysisRequestObjectTypeEnum struct { DATABASE ListSpaceAnalysisRequestObjectType TABLE ListSpaceAnalysisRequestObjectType }
func GetListSpaceAnalysisRequestObjectTypeEnum ¶
func GetListSpaceAnalysisRequestObjectTypeEnum() ListSpaceAnalysisRequestObjectTypeEnum
type ListSpaceAnalysisResponse ¶
type ListSpaceAnalysisResponse struct { // 记录总数 Total *int64 `json:"total,omitempty"` // 数据库对象列表 DbObjects *[]DbObjectSpaceInfo `json:"db_objects,omitempty"` InstanceInfo *InstanceSpaceInfo `json:"instance_info,omitempty"` HttpStatusCode int `json:"-"` }
ListSpaceAnalysisResponse Response Object
func (ListSpaceAnalysisResponse) String ¶
func (o ListSpaceAnalysisResponse) String() string
type ListSqlLimitRulesRequest ¶ added in v0.1.12
type ListSqlLimitRulesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。 Offset *int32 `json:"offset,omitempty"` // 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。 Limit *int32 `json:"limit,omitempty"` // 数据库类型 DatastoreType ListSqlLimitRulesRequestDatastoreType `json:"datastore_type"` // 数据库名(PostgreSQL必填) DatabaseName *string `json:"database_name,omitempty"` // 语言 XLanguage *ListSqlLimitRulesRequestXLanguage `json:"X-Language,omitempty"` }
ListSqlLimitRulesRequest Request Object
func (ListSqlLimitRulesRequest) String ¶ added in v0.1.12
func (o ListSqlLimitRulesRequest) String() string
type ListSqlLimitRulesRequestDatastoreType ¶ added in v0.1.12
type ListSqlLimitRulesRequestDatastoreType struct {
// contains filtered or unexported fields
}
func (ListSqlLimitRulesRequestDatastoreType) MarshalJSON ¶ added in v0.1.12
func (c ListSqlLimitRulesRequestDatastoreType) MarshalJSON() ([]byte, error)
func (*ListSqlLimitRulesRequestDatastoreType) UnmarshalJSON ¶ added in v0.1.12
func (c *ListSqlLimitRulesRequestDatastoreType) UnmarshalJSON(b []byte) error
func (ListSqlLimitRulesRequestDatastoreType) Value ¶ added in v0.1.12
func (c ListSqlLimitRulesRequestDatastoreType) Value() string
type ListSqlLimitRulesRequestDatastoreTypeEnum ¶ added in v0.1.12
type ListSqlLimitRulesRequestDatastoreTypeEnum struct { MY_SQL ListSqlLimitRulesRequestDatastoreType POSTGRE_SQL ListSqlLimitRulesRequestDatastoreType }
func GetListSqlLimitRulesRequestDatastoreTypeEnum ¶ added in v0.1.12
func GetListSqlLimitRulesRequestDatastoreTypeEnum() ListSqlLimitRulesRequestDatastoreTypeEnum
type ListSqlLimitRulesRequestXLanguage ¶ added in v0.1.12
type ListSqlLimitRulesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListSqlLimitRulesRequestXLanguage) MarshalJSON ¶ added in v0.1.12
func (c ListSqlLimitRulesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListSqlLimitRulesRequestXLanguage) UnmarshalJSON ¶ added in v0.1.12
func (c *ListSqlLimitRulesRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListSqlLimitRulesRequestXLanguage) Value ¶ added in v0.1.12
func (c ListSqlLimitRulesRequestXLanguage) Value() string
type ListSqlLimitRulesRequestXLanguageEnum ¶ added in v0.1.12
type ListSqlLimitRulesRequestXLanguageEnum struct { ZH_CN ListSqlLimitRulesRequestXLanguage EN_US ListSqlLimitRulesRequestXLanguage }
func GetListSqlLimitRulesRequestXLanguageEnum ¶ added in v0.1.12
func GetListSqlLimitRulesRequestXLanguageEnum() ListSqlLimitRulesRequestXLanguageEnum
type ListSqlLimitRulesResponse ¶ added in v0.1.12
type ListSqlLimitRulesResponse struct { // SQL限流规则列表 SqlLimitRules *[]SqlLimitRule `json:"sql_limit_rules,omitempty"` // SQL限流规则总数 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ListSqlLimitRulesResponse Response Object
func (ListSqlLimitRulesResponse) String ¶ added in v0.1.12
func (o ListSqlLimitRulesResponse) String() string
type ListTransactionsRequest ¶ added in v0.1.105
type ListTransactionsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据库类型。仅支持MySQL DatastoreType ListTransactionsRequestDatastoreType `json:"datastore_type"` // 语言 XLanguage *ListTransactionsRequestXLanguage `json:"X-Language,omitempty"` // 采集开始时间(Unix timestamp),单位:毫秒。 StartAt int64 `json:"start_at"` // 采集结束时间(Unix timestamp),单位:毫秒。 EndAt int64 `json:"end_at"` // 页数 PageNum *int32 `json:"page_num,omitempty"` // 页大小 PageSize *int32 `json:"page_size,omitempty"` // 排序字段 Order *ListTransactionsRequestOrder `json:"order,omitempty"` // 升序|降序 OrderBy *ListTransactionsRequestOrderBy `json:"order_by,omitempty"` // 持续时间下限 LastSecMin *int64 `json:"last_sec_min,omitempty"` // 持续时间上限 LastSecMax *int64 `json:"last_sec_max,omitempty"` }
ListTransactionsRequest Request Object
func (ListTransactionsRequest) String ¶ added in v0.1.105
func (o ListTransactionsRequest) String() string
type ListTransactionsRequestDatastoreType ¶ added in v0.1.105
type ListTransactionsRequestDatastoreType struct {
// contains filtered or unexported fields
}
func (ListTransactionsRequestDatastoreType) MarshalJSON ¶ added in v0.1.105
func (c ListTransactionsRequestDatastoreType) MarshalJSON() ([]byte, error)
func (*ListTransactionsRequestDatastoreType) UnmarshalJSON ¶ added in v0.1.105
func (c *ListTransactionsRequestDatastoreType) UnmarshalJSON(b []byte) error
func (ListTransactionsRequestDatastoreType) Value ¶ added in v0.1.105
func (c ListTransactionsRequestDatastoreType) Value() string
type ListTransactionsRequestDatastoreTypeEnum ¶ added in v0.1.105
type ListTransactionsRequestDatastoreTypeEnum struct {
MY_SQL ListTransactionsRequestDatastoreType
}
func GetListTransactionsRequestDatastoreTypeEnum ¶ added in v0.1.105
func GetListTransactionsRequestDatastoreTypeEnum() ListTransactionsRequestDatastoreTypeEnum
type ListTransactionsRequestOrder ¶ added in v0.1.105
type ListTransactionsRequestOrder struct {
// contains filtered or unexported fields
}
func (ListTransactionsRequestOrder) MarshalJSON ¶ added in v0.1.105
func (c ListTransactionsRequestOrder) MarshalJSON() ([]byte, error)
func (*ListTransactionsRequestOrder) UnmarshalJSON ¶ added in v0.1.105
func (c *ListTransactionsRequestOrder) UnmarshalJSON(b []byte) error
func (ListTransactionsRequestOrder) Value ¶ added in v0.1.105
func (c ListTransactionsRequestOrder) Value() string
type ListTransactionsRequestOrderBy ¶ added in v0.1.105
type ListTransactionsRequestOrderBy struct {
// contains filtered or unexported fields
}
func (ListTransactionsRequestOrderBy) MarshalJSON ¶ added in v0.1.105
func (c ListTransactionsRequestOrderBy) MarshalJSON() ([]byte, error)
func (*ListTransactionsRequestOrderBy) UnmarshalJSON ¶ added in v0.1.105
func (c *ListTransactionsRequestOrderBy) UnmarshalJSON(b []byte) error
func (ListTransactionsRequestOrderBy) Value ¶ added in v0.1.105
func (c ListTransactionsRequestOrderBy) Value() string
type ListTransactionsRequestOrderByEnum ¶ added in v0.1.105
type ListTransactionsRequestOrderByEnum struct { ASC ListTransactionsRequestOrderBy DESC ListTransactionsRequestOrderBy }
func GetListTransactionsRequestOrderByEnum ¶ added in v0.1.105
func GetListTransactionsRequestOrderByEnum() ListTransactionsRequestOrderByEnum
type ListTransactionsRequestOrderEnum ¶ added in v0.1.105
type ListTransactionsRequestOrderEnum struct { OCCURRENCE_TIME ListTransactionsRequestOrder LAST_SEC ListTransactionsRequestOrder WAIT_LOCK_STRUCT_COUNT ListTransactionsRequestOrder HOLD_LOCK_STRUCT_COUNT ListTransactionsRequestOrder COLLECT_TIME ListTransactionsRequestOrder }
func GetListTransactionsRequestOrderEnum ¶ added in v0.1.105
func GetListTransactionsRequestOrderEnum() ListTransactionsRequestOrderEnum
type ListTransactionsRequestXLanguage ¶ added in v0.1.105
type ListTransactionsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListTransactionsRequestXLanguage) MarshalJSON ¶ added in v0.1.105
func (c ListTransactionsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListTransactionsRequestXLanguage) UnmarshalJSON ¶ added in v0.1.105
func (c *ListTransactionsRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListTransactionsRequestXLanguage) Value ¶ added in v0.1.105
func (c ListTransactionsRequestXLanguage) Value() string
type ListTransactionsRequestXLanguageEnum ¶ added in v0.1.105
type ListTransactionsRequestXLanguageEnum struct { ZH_CN ListTransactionsRequestXLanguage EN_US ListTransactionsRequestXLanguage }
func GetListTransactionsRequestXLanguageEnum ¶ added in v0.1.105
func GetListTransactionsRequestXLanguageEnum() ListTransactionsRequestXLanguageEnum
type ListTransactionsResponse ¶ added in v0.1.105
type ListTransactionsResponse struct { // 历史事务总数 Total *int32 `json:"total,omitempty"` // 历史事务信息列表 TransactionInfoList *[]GetTransactionListRespTransactionInfoList `json:"transaction_info_list,omitempty"` HttpStatusCode int `json:"-"` }
ListTransactionsResponse Response Object
func (ListTransactionsResponse) String ¶ added in v0.1.105
func (o ListTransactionsResponse) String() string
type MetadataLock ¶
type MetadataLock struct { // 会话ID ThreadId string `json:"thread_id"` // 锁状态,取值为PENDING和GRANTED,分别表示等待锁和持有锁。 LockStatus string `json:"lock_status"` // 加锁模式,取值为MDL_SHARED 、MDL_EXCLUSIVE 、MDL_SHARED_READ、MDL_SHARED_WRITE等。 LockMode string `json:"lock_mode"` // 锁类型,取值为Table metadata lock、Schema metadata lock、Tablespace lock、Global read lock,分别表示表元数据锁、库元数据锁、表空间锁、全局读锁。 LockType string `json:"lock_type"` // 锁范围,取值为MDL_STATEMENT、MDL_TRANSACTION、MDL_EXPLICIT,分别表示语句级别、事务级别、global级别 LockDuration string `json:"lock_duration"` // 锁所在的数据库,对于部分Global read lock级别的元数据锁,该值为空。 TableSchema string `json:"table_schema"` // 表名 TableName string `json:"table_name"` // 用户 User string `json:"user"` // 时间 Time string `json:"time"` // 主机 Host string `json:"host"` // 会话所在的数据库 Database string `json:"database"` // 命令 Command string `json:"command"` // 状态 State string `json:"state"` // SQL语句 Sql string `json:"sql"` // 事务执行时间 TrxExecTime string `json:"trx_exec_time"` // 阻塞会话列表 BlockProcess []Process `json:"block_process"` // 等待会话列表 WaitProcess []Process `json:"wait_process"` }
MetadataLock 元数据锁
func (MetadataLock) String ¶
func (o MetadataLock) String() string
type ParseSqlLimitRulesReq ¶ added in v0.1.102
type ParseSqlLimitRulesReq struct { // 数据库类型,目前支持MySQL、MariaDB、GaussDB(for MySQL)三种引擎。 DatastoreType ParseSqlLimitRulesReqDatastoreType `json:"datastore_type"` // 原始SQL语句 OriginalSql string `json:"original_sql"` // 是否校验SQL语句 UseTemplate bool `json:"use_template"` // 是否保留操作符 KeepOperators bool `json:"keep_operators"` }
ParseSqlLimitRulesReq {\"originalSql\":\"select * from das_conn_info\",\"useTemplate\":true,\"keepOperators\":true}
func (ParseSqlLimitRulesReq) String ¶ added in v0.1.102
func (o ParseSqlLimitRulesReq) String() string
type ParseSqlLimitRulesReqDatastoreType ¶ added in v0.1.102
type ParseSqlLimitRulesReqDatastoreType struct {
// contains filtered or unexported fields
}
func (ParseSqlLimitRulesReqDatastoreType) MarshalJSON ¶ added in v0.1.102
func (c ParseSqlLimitRulesReqDatastoreType) MarshalJSON() ([]byte, error)
func (*ParseSqlLimitRulesReqDatastoreType) UnmarshalJSON ¶ added in v0.1.102
func (c *ParseSqlLimitRulesReqDatastoreType) UnmarshalJSON(b []byte) error
func (ParseSqlLimitRulesReqDatastoreType) Value ¶ added in v0.1.102
func (c ParseSqlLimitRulesReqDatastoreType) Value() string
type ParseSqlLimitRulesReqDatastoreTypeEnum ¶ added in v0.1.102
type ParseSqlLimitRulesReqDatastoreTypeEnum struct { MY_SQL ParseSqlLimitRulesReqDatastoreType MARIA_DB ParseSqlLimitRulesReqDatastoreType GAUSS_DB_FOR_MY_SQL ParseSqlLimitRulesReqDatastoreType }
func GetParseSqlLimitRulesReqDatastoreTypeEnum ¶ added in v0.1.102
func GetParseSqlLimitRulesReqDatastoreTypeEnum() ParseSqlLimitRulesReqDatastoreTypeEnum
type ParseSqlLimitRulesRequest ¶ added in v0.1.102
type ParseSqlLimitRulesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 语言 XLanguage *ParseSqlLimitRulesRequestXLanguage `json:"X-Language,omitempty"` Body *ParseSqlLimitRulesReq `json:"body,omitempty"` }
ParseSqlLimitRulesRequest Request Object
func (ParseSqlLimitRulesRequest) String ¶ added in v0.1.102
func (o ParseSqlLimitRulesRequest) String() string
type ParseSqlLimitRulesRequestXLanguage ¶ added in v0.1.102
type ParseSqlLimitRulesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ParseSqlLimitRulesRequestXLanguage) MarshalJSON ¶ added in v0.1.102
func (c ParseSqlLimitRulesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ParseSqlLimitRulesRequestXLanguage) UnmarshalJSON ¶ added in v0.1.102
func (c *ParseSqlLimitRulesRequestXLanguage) UnmarshalJSON(b []byte) error
func (ParseSqlLimitRulesRequestXLanguage) Value ¶ added in v0.1.102
func (c ParseSqlLimitRulesRequestXLanguage) Value() string
type ParseSqlLimitRulesRequestXLanguageEnum ¶ added in v0.1.102
type ParseSqlLimitRulesRequestXLanguageEnum struct { ZH_CN ParseSqlLimitRulesRequestXLanguage EN_US ParseSqlLimitRulesRequestXLanguage }
func GetParseSqlLimitRulesRequestXLanguageEnum ¶ added in v0.1.102
func GetParseSqlLimitRulesRequestXLanguageEnum() ParseSqlLimitRulesRequestXLanguageEnum
type ParseSqlLimitRulesResponse ¶ added in v0.1.102
type ParseSqlLimitRulesResponse struct { // SQL限流关键字 Rule *string `json:"rule,omitempty"` HttpStatusCode int `json:"-"` }
ParseSqlLimitRulesResponse Response Object
func (ParseSqlLimitRulesResponse) String ¶ added in v0.1.102
func (o ParseSqlLimitRulesResponse) String() string
type Process ¶
type Process struct { // 会话ID Id string `json:"id"` // 用户 User string `json:"user"` // 主机 Host string `json:"host"` // 数据库 Database string `json:"database"` // 命令 Command string `json:"command"` // 会话持续时间 Time string `json:"time"` // 状态 State string `json:"state"` // SQL语句 Sql string `json:"sql"` // 事务持续时间 TrxExecutedTime string `json:"trx_executed_time"` }
type QuerySqlPlanBody ¶ added in v0.0.81
type QuerySqlPlanBody struct { // 数据库用户ID DbUserId *string `json:"db_user_id,omitempty"` // 数据库名称 Database *string `json:"database,omitempty"` // SQL语句 Sql *string `json:"sql,omitempty"` }
func (QuerySqlPlanBody) String ¶ added in v0.0.81
func (o QuerySqlPlanBody) String() string
type RegisterDbUserRequest ¶
type RegisterDbUserRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 语言 XLanguage *RegisterDbUserRequestXLanguage `json:"X-Language,omitempty"` Body *RegisterDbUserRequestBody `json:"body,omitempty"` }
RegisterDbUserRequest Request Object
func (RegisterDbUserRequest) String ¶
func (o RegisterDbUserRequest) String() string
type RegisterDbUserRequestBody ¶
type RegisterDbUserRequestBody struct { // 数据库用户名称 DbUsername string `json:"db_username"` // 数据库用户密码 DbUserPassword string `json:"db_user_password"` // 数据库类型,取值为MySQL DatastoreType string `json:"datastore_type"` }
RegisterDbUserRequestBody 注册数据库用户请求
func (RegisterDbUserRequestBody) String ¶
func (o RegisterDbUserRequestBody) String() string
type RegisterDbUserRequestXLanguage ¶
type RegisterDbUserRequestXLanguage struct {
// contains filtered or unexported fields
}
func (RegisterDbUserRequestXLanguage) MarshalJSON ¶
func (c RegisterDbUserRequestXLanguage) MarshalJSON() ([]byte, error)
func (*RegisterDbUserRequestXLanguage) UnmarshalJSON ¶
func (c *RegisterDbUserRequestXLanguage) UnmarshalJSON(b []byte) error
func (RegisterDbUserRequestXLanguage) Value ¶ added in v0.0.90
func (c RegisterDbUserRequestXLanguage) Value() string
type RegisterDbUserRequestXLanguageEnum ¶
type RegisterDbUserRequestXLanguageEnum struct { ZH_CN RegisterDbUserRequestXLanguage EN_US RegisterDbUserRequestXLanguage }
func GetRegisterDbUserRequestXLanguageEnum ¶
func GetRegisterDbUserRequestXLanguageEnum() RegisterDbUserRequestXLanguageEnum
type RegisterDbUserResponse ¶
type RegisterDbUserResponse struct { // 数据库用户ID DbUserId *string `json:"db_user_id,omitempty"` HttpStatusCode int `json:"-"` }
RegisterDbUserResponse Response Object
func (RegisterDbUserResponse) String ¶
func (o RegisterDbUserResponse) String() string
type ShareConnUserInfo ¶ added in v0.1.40
func (ShareConnUserInfo) String ¶ added in v0.1.40
func (o ShareConnUserInfo) String() string
type ShowApiVersionRequest ¶
type ShowApiVersionRequest struct { // API版本 Version string `json:"version"` }
ShowApiVersionRequest Request Object
func (ShowApiVersionRequest) String ¶
func (o ShowApiVersionRequest) String() string
type ShowApiVersionResponse ¶
type ShowApiVersionResponse struct { Version *ApiVersion `json:"version,omitempty"` HttpStatusCode int `json:"-"` }
ShowApiVersionResponse Response Object
func (ShowApiVersionResponse) String ¶
func (o ShowApiVersionResponse) String() string
type ShowDbUserRequest ¶
type ShowDbUserRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据库用户ID DbUserId string `json:"db_user_id"` // 语言 XLanguage *ShowDbUserRequestXLanguage `json:"X-Language,omitempty"` }
ShowDbUserRequest Request Object
func (ShowDbUserRequest) String ¶
func (o ShowDbUserRequest) String() string
type ShowDbUserRequestXLanguage ¶
type ShowDbUserRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowDbUserRequestXLanguage) MarshalJSON ¶
func (c ShowDbUserRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowDbUserRequestXLanguage) UnmarshalJSON ¶
func (c *ShowDbUserRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowDbUserRequestXLanguage) Value ¶ added in v0.0.90
func (c ShowDbUserRequestXLanguage) Value() string
type ShowDbUserRequestXLanguageEnum ¶
type ShowDbUserRequestXLanguageEnum struct { ZH_CN ShowDbUserRequestXLanguage EN_US ShowDbUserRequestXLanguage }
func GetShowDbUserRequestXLanguageEnum ¶
func GetShowDbUserRequestXLanguageEnum() ShowDbUserRequestXLanguageEnum
type ShowDbUserResponse ¶
type ShowDbUserResponse struct { DbUser *DbUser `json:"db_user,omitempty"` HttpStatusCode int `json:"-"` }
ShowDbUserResponse Response Object
func (ShowDbUserResponse) String ¶
func (o ShowDbUserResponse) String() string
type ShowInstanceHealthReportRequest ¶ added in v0.1.120
type ShowInstanceHealthReportRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 任务ID。 TaskId string `json:"task_id"` // 请求语言类型。 XLanguage *ShowInstanceHealthReportRequestXLanguage `json:"X-Language,omitempty"` }
ShowInstanceHealthReportRequest Request Object
func (ShowInstanceHealthReportRequest) String ¶ added in v0.1.120
func (o ShowInstanceHealthReportRequest) String() string
type ShowInstanceHealthReportRequestXLanguage ¶ added in v0.1.120
type ShowInstanceHealthReportRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowInstanceHealthReportRequestXLanguage) MarshalJSON ¶ added in v0.1.120
func (c ShowInstanceHealthReportRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowInstanceHealthReportRequestXLanguage) UnmarshalJSON ¶ added in v0.1.120
func (c *ShowInstanceHealthReportRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowInstanceHealthReportRequestXLanguage) Value ¶ added in v0.1.120
func (c ShowInstanceHealthReportRequestXLanguage) Value() string
type ShowInstanceHealthReportRequestXLanguageEnum ¶ added in v0.1.120
type ShowInstanceHealthReportRequestXLanguageEnum struct { EN_US ShowInstanceHealthReportRequestXLanguage ZH_CN ShowInstanceHealthReportRequestXLanguage }
func GetShowInstanceHealthReportRequestXLanguageEnum ¶ added in v0.1.120
func GetShowInstanceHealthReportRequestXLanguageEnum() ShowInstanceHealthReportRequestXLanguageEnum
type ShowInstanceHealthReportResponse ¶ added in v0.1.120
type ShowInstanceHealthReportResponse struct { // 日报诊断是否成功。 Success *bool `json:"success,omitempty"` // 日报诊断区间的起始时间(Unix timestamp),单位:毫秒。 StartAt *int64 `json:"start_at,omitempty"` // 日报诊断区间的结束时间(Unix timestamp),单位:毫秒。 EndAt *int64 `json:"end_at,omitempty"` // 报告ID。 TaskId *string `json:"task_id,omitempty"` SummaryInfo *HealthReportSummaryInfo `json:"summary_info,omitempty"` InstanceInfo *HealthReportInstanceInfo `json:"instance_info,omitempty"` PerformanceStat *HealthReportPerformanceStat `json:"performance_stat,omitempty"` DiskStat *HealthReportDiskStat `json:"disk_stat,omitempty"` TableSpaceStat *HealthReportTableSpaceStat `json:"table_space_stat,omitempty"` SlowLogStat *HealthReportSlowLogStat `json:"slow_log_stat,omitempty"` FullSqlStat *HealthReportFullSqlStat `json:"full_sql_stat,omitempty"` InspectionStat *HealthReportInspectionStat `json:"inspection_stat,omitempty"` // 错误信息。 ErrorMessage *string `json:"error_message,omitempty"` HttpStatusCode int `json:"-"` }
ShowInstanceHealthReportResponse Response Object
func (ShowInstanceHealthReportResponse) String ¶ added in v0.1.120
func (o ShowInstanceHealthReportResponse) String() string
type ShowQuotasRequest ¶
type ShowQuotasRequest struct { // 语言 XLanguage *ShowQuotasRequestXLanguage `json:"X-Language,omitempty"` }
ShowQuotasRequest Request Object
func (ShowQuotasRequest) String ¶
func (o ShowQuotasRequest) String() string
type ShowQuotasRequestXLanguage ¶
type ShowQuotasRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowQuotasRequestXLanguage) MarshalJSON ¶
func (c ShowQuotasRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowQuotasRequestXLanguage) UnmarshalJSON ¶
func (c *ShowQuotasRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowQuotasRequestXLanguage) Value ¶ added in v0.0.90
func (c ShowQuotasRequestXLanguage) Value() string
type ShowQuotasRequestXLanguageEnum ¶
type ShowQuotasRequestXLanguageEnum struct { ZH_CN ShowQuotasRequestXLanguage EN_US ShowQuotasRequestXLanguage }
func GetShowQuotasRequestXLanguageEnum ¶
func GetShowQuotasRequestXLanguageEnum() ShowQuotasRequestXLanguageEnum
type ShowQuotasResponse ¶
type ShowQuotasResponse struct { // 配额列表对象。 Quotas *interface{} `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
ShowQuotasResponse Response Object
func (ShowQuotasResponse) String ¶
func (o ShowQuotasResponse) String() string
type ShowSqlExecutionPlanRequest ¶
type ShowSqlExecutionPlanRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据库用户ID DbUserId string `json:"db_user_id"` // 数据库名称 Database string `json:"database"` // SQL语句 Sql string `json:"sql"` // 语言 XLanguage *ShowSqlExecutionPlanRequestXLanguage `json:"X-Language,omitempty"` }
ShowSqlExecutionPlanRequest Request Object
func (ShowSqlExecutionPlanRequest) String ¶
func (o ShowSqlExecutionPlanRequest) String() string
type ShowSqlExecutionPlanRequestXLanguage ¶
type ShowSqlExecutionPlanRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowSqlExecutionPlanRequestXLanguage) MarshalJSON ¶
func (c ShowSqlExecutionPlanRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowSqlExecutionPlanRequestXLanguage) UnmarshalJSON ¶
func (c *ShowSqlExecutionPlanRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowSqlExecutionPlanRequestXLanguage) Value ¶ added in v0.0.90
func (c ShowSqlExecutionPlanRequestXLanguage) Value() string
type ShowSqlExecutionPlanRequestXLanguageEnum ¶
type ShowSqlExecutionPlanRequestXLanguageEnum struct { ZH_CN ShowSqlExecutionPlanRequestXLanguage EN_US ShowSqlExecutionPlanRequestXLanguage }
func GetShowSqlExecutionPlanRequestXLanguageEnum ¶
func GetShowSqlExecutionPlanRequestXLanguageEnum() ShowSqlExecutionPlanRequestXLanguageEnum
type ShowSqlExecutionPlanResponse ¶
type ShowSqlExecutionPlanResponse struct { // SQL执行计划列表 ExecutionPlans *[]ExecutionPlan `json:"execution_plans,omitempty"` // SQL执行失败时,显示执行错误信息 ErrorMessage *string `json:"error_message,omitempty"` HttpStatusCode int `json:"-"` }
ShowSqlExecutionPlanResponse Response Object
func (ShowSqlExecutionPlanResponse) String ¶
func (o ShowSqlExecutionPlanResponse) String() string
type ShowSqlExplainRequest ¶ added in v0.0.81
type ShowSqlExplainRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 语言 XLanguage *ShowSqlExplainRequestXLanguage `json:"X-Language,omitempty"` Body *QuerySqlPlanBody `json:"body,omitempty"` }
ShowSqlExplainRequest Request Object
func (ShowSqlExplainRequest) String ¶ added in v0.0.81
func (o ShowSqlExplainRequest) String() string
type ShowSqlExplainRequestXLanguage ¶ added in v0.0.81
type ShowSqlExplainRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowSqlExplainRequestXLanguage) MarshalJSON ¶ added in v0.0.81
func (c ShowSqlExplainRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowSqlExplainRequestXLanguage) UnmarshalJSON ¶ added in v0.0.81
func (c *ShowSqlExplainRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowSqlExplainRequestXLanguage) Value ¶ added in v0.0.90
func (c ShowSqlExplainRequestXLanguage) Value() string
type ShowSqlExplainRequestXLanguageEnum ¶ added in v0.0.81
type ShowSqlExplainRequestXLanguageEnum struct { ZH_CN ShowSqlExplainRequestXLanguage EN_US ShowSqlExplainRequestXLanguage }
func GetShowSqlExplainRequestXLanguageEnum ¶ added in v0.0.81
func GetShowSqlExplainRequestXLanguageEnum() ShowSqlExplainRequestXLanguageEnum
type ShowSqlExplainResponse ¶ added in v0.0.81
type ShowSqlExplainResponse struct { // SQL执行计划列表 ExecutionPlans *[]ExecutionPlan `json:"execution_plans,omitempty"` // SQL执行失败时,显示执行错误信息 ErrorMessage *string `json:"error_message,omitempty"` HttpStatusCode int `json:"-"` }
ShowSqlExplainResponse Response Object
func (ShowSqlExplainResponse) String ¶ added in v0.0.81
func (o ShowSqlExplainResponse) String() string
type ShowSqlLimitJobInfoRequest ¶ added in v0.1.12
type ShowSqlLimitJobInfoRequest struct { InstanceId string `json:"instance_id"` // 语言 XLanguage *ShowSqlLimitJobInfoRequestXLanguage `json:"X-Language,omitempty"` // SQL限流任务ID JobId string `json:"job_id"` }
ShowSqlLimitJobInfoRequest Request Object
func (ShowSqlLimitJobInfoRequest) String ¶ added in v0.1.12
func (o ShowSqlLimitJobInfoRequest) String() string
type ShowSqlLimitJobInfoRequestXLanguage ¶ added in v0.1.12
type ShowSqlLimitJobInfoRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowSqlLimitJobInfoRequestXLanguage) MarshalJSON ¶ added in v0.1.12
func (c ShowSqlLimitJobInfoRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowSqlLimitJobInfoRequestXLanguage) UnmarshalJSON ¶ added in v0.1.12
func (c *ShowSqlLimitJobInfoRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowSqlLimitJobInfoRequestXLanguage) Value ¶ added in v0.1.12
func (c ShowSqlLimitJobInfoRequestXLanguage) Value() string
type ShowSqlLimitJobInfoRequestXLanguageEnum ¶ added in v0.1.12
type ShowSqlLimitJobInfoRequestXLanguageEnum struct { ZH_CN ShowSqlLimitJobInfoRequestXLanguage EN_US ShowSqlLimitJobInfoRequestXLanguage }
func GetShowSqlLimitJobInfoRequestXLanguageEnum ¶ added in v0.1.12
func GetShowSqlLimitJobInfoRequestXLanguageEnum() ShowSqlLimitJobInfoRequestXLanguageEnum
type ShowSqlLimitJobInfoResponse ¶ added in v0.1.12
type ShowSqlLimitJobInfoResponse struct { // 任务ID JobId *string `json:"job_id,omitempty"` // 任务状态 JobStatus *ShowSqlLimitJobInfoResponseJobStatus `json:"job_status,omitempty"` // 失败原因 FailReason *string `json:"fail_reason,omitempty"` HttpStatusCode int `json:"-"` }
ShowSqlLimitJobInfoResponse Response Object
func (ShowSqlLimitJobInfoResponse) String ¶ added in v0.1.12
func (o ShowSqlLimitJobInfoResponse) String() string
type ShowSqlLimitJobInfoResponseJobStatus ¶ added in v0.1.12
type ShowSqlLimitJobInfoResponseJobStatus struct {
// contains filtered or unexported fields
}
func (ShowSqlLimitJobInfoResponseJobStatus) MarshalJSON ¶ added in v0.1.12
func (c ShowSqlLimitJobInfoResponseJobStatus) MarshalJSON() ([]byte, error)
func (*ShowSqlLimitJobInfoResponseJobStatus) UnmarshalJSON ¶ added in v0.1.12
func (c *ShowSqlLimitJobInfoResponseJobStatus) UnmarshalJSON(b []byte) error
func (ShowSqlLimitJobInfoResponseJobStatus) Value ¶ added in v0.1.12
func (c ShowSqlLimitJobInfoResponseJobStatus) Value() string
type ShowSqlLimitJobInfoResponseJobStatusEnum ¶ added in v0.1.12
type ShowSqlLimitJobInfoResponseJobStatusEnum struct { RUNNING ShowSqlLimitJobInfoResponseJobStatus COMPLETED ShowSqlLimitJobInfoResponseJobStatus FAILED ShowSqlLimitJobInfoResponseJobStatus }
func GetShowSqlLimitJobInfoResponseJobStatusEnum ¶ added in v0.1.12
func GetShowSqlLimitJobInfoResponseJobStatusEnum() ShowSqlLimitJobInfoResponseJobStatusEnum
type ShowSqlLimitSwitchStatusRequest ¶ added in v0.1.12
type ShowSqlLimitSwitchStatusRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 语言 XLanguage *ShowSqlLimitSwitchStatusRequestXLanguage `json:"X-Language,omitempty"` // 数据库类型 DatastoreType ShowSqlLimitSwitchStatusRequestDatastoreType `json:"datastore_type"` }
ShowSqlLimitSwitchStatusRequest Request Object
func (ShowSqlLimitSwitchStatusRequest) String ¶ added in v0.1.12
func (o ShowSqlLimitSwitchStatusRequest) String() string
type ShowSqlLimitSwitchStatusRequestDatastoreType ¶ added in v0.1.12
type ShowSqlLimitSwitchStatusRequestDatastoreType struct {
// contains filtered or unexported fields
}
func (ShowSqlLimitSwitchStatusRequestDatastoreType) MarshalJSON ¶ added in v0.1.12
func (c ShowSqlLimitSwitchStatusRequestDatastoreType) MarshalJSON() ([]byte, error)
func (*ShowSqlLimitSwitchStatusRequestDatastoreType) UnmarshalJSON ¶ added in v0.1.12
func (c *ShowSqlLimitSwitchStatusRequestDatastoreType) UnmarshalJSON(b []byte) error
func (ShowSqlLimitSwitchStatusRequestDatastoreType) Value ¶ added in v0.1.12
func (c ShowSqlLimitSwitchStatusRequestDatastoreType) Value() string
type ShowSqlLimitSwitchStatusRequestDatastoreTypeEnum ¶ added in v0.1.12
type ShowSqlLimitSwitchStatusRequestDatastoreTypeEnum struct { MY_SQL ShowSqlLimitSwitchStatusRequestDatastoreType POSTGRE_SQL ShowSqlLimitSwitchStatusRequestDatastoreType }
func GetShowSqlLimitSwitchStatusRequestDatastoreTypeEnum ¶ added in v0.1.12
func GetShowSqlLimitSwitchStatusRequestDatastoreTypeEnum() ShowSqlLimitSwitchStatusRequestDatastoreTypeEnum
type ShowSqlLimitSwitchStatusRequestXLanguage ¶ added in v0.1.12
type ShowSqlLimitSwitchStatusRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowSqlLimitSwitchStatusRequestXLanguage) MarshalJSON ¶ added in v0.1.12
func (c ShowSqlLimitSwitchStatusRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowSqlLimitSwitchStatusRequestXLanguage) UnmarshalJSON ¶ added in v0.1.12
func (c *ShowSqlLimitSwitchStatusRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowSqlLimitSwitchStatusRequestXLanguage) Value ¶ added in v0.1.12
func (c ShowSqlLimitSwitchStatusRequestXLanguage) Value() string
type ShowSqlLimitSwitchStatusRequestXLanguageEnum ¶ added in v0.1.12
type ShowSqlLimitSwitchStatusRequestXLanguageEnum struct { ZH_CN ShowSqlLimitSwitchStatusRequestXLanguage EN_US ShowSqlLimitSwitchStatusRequestXLanguage }
func GetShowSqlLimitSwitchStatusRequestXLanguageEnum ¶ added in v0.1.12
func GetShowSqlLimitSwitchStatusRequestXLanguageEnum() ShowSqlLimitSwitchStatusRequestXLanguageEnum
type ShowSqlLimitSwitchStatusResponse ¶ added in v0.1.12
type ShowSqlLimitSwitchStatusResponse struct { // 开关状态 SwitchStatus *ShowSqlLimitSwitchStatusResponseSwitchStatus `json:"switch_status,omitempty"` HttpStatusCode int `json:"-"` }
ShowSqlLimitSwitchStatusResponse Response Object
func (ShowSqlLimitSwitchStatusResponse) String ¶ added in v0.1.12
func (o ShowSqlLimitSwitchStatusResponse) String() string
type ShowSqlLimitSwitchStatusResponseSwitchStatus ¶ added in v0.1.12
type ShowSqlLimitSwitchStatusResponseSwitchStatus struct {
// contains filtered or unexported fields
}
func (ShowSqlLimitSwitchStatusResponseSwitchStatus) MarshalJSON ¶ added in v0.1.12
func (c ShowSqlLimitSwitchStatusResponseSwitchStatus) MarshalJSON() ([]byte, error)
func (*ShowSqlLimitSwitchStatusResponseSwitchStatus) UnmarshalJSON ¶ added in v0.1.12
func (c *ShowSqlLimitSwitchStatusResponseSwitchStatus) UnmarshalJSON(b []byte) error
func (ShowSqlLimitSwitchStatusResponseSwitchStatus) Value ¶ added in v0.1.12
func (c ShowSqlLimitSwitchStatusResponseSwitchStatus) Value() string
type ShowSqlLimitSwitchStatusResponseSwitchStatusEnum ¶ added in v0.1.12
type ShowSqlLimitSwitchStatusResponseSwitchStatusEnum struct { ON ShowSqlLimitSwitchStatusResponseSwitchStatus OFF ShowSqlLimitSwitchStatusResponseSwitchStatus }
func GetShowSqlLimitSwitchStatusResponseSwitchStatusEnum ¶ added in v0.1.12
func GetShowSqlLimitSwitchStatusResponseSwitchStatusEnum() ShowSqlLimitSwitchStatusResponseSwitchStatusEnum
type ShowSqlSwitchStatusRequest ¶
type ShowSqlSwitchStatusRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 开关类型。取值DAS SQL Explorer和DAS Slow Query Log,分别表示DAS收集全量SQL开关和DAS收集慢SQL开关。 Type string `json:"type"` // 数据库类型。当前全量SQL支持的数据库类型包括MySQL和GaussDB(for MySQL),慢SQL支持的类型:MySQL、GaussDB(for MySQL)、PostgreSQL。 DatastoreType string `json:"datastore_type"` // 请求语言类型。 XLanguage *ShowSqlSwitchStatusRequestXLanguage `json:"X-Language,omitempty"` }
ShowSqlSwitchStatusRequest Request Object
func (ShowSqlSwitchStatusRequest) String ¶
func (o ShowSqlSwitchStatusRequest) String() string
type ShowSqlSwitchStatusRequestXLanguage ¶
type ShowSqlSwitchStatusRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowSqlSwitchStatusRequestXLanguage) MarshalJSON ¶
func (c ShowSqlSwitchStatusRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowSqlSwitchStatusRequestXLanguage) UnmarshalJSON ¶
func (c *ShowSqlSwitchStatusRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowSqlSwitchStatusRequestXLanguage) Value ¶ added in v0.0.90
func (c ShowSqlSwitchStatusRequestXLanguage) Value() string
type ShowSqlSwitchStatusRequestXLanguageEnum ¶
type ShowSqlSwitchStatusRequestXLanguageEnum struct { EN_US ShowSqlSwitchStatusRequestXLanguage ZH_CN ShowSqlSwitchStatusRequestXLanguage }
func GetShowSqlSwitchStatusRequestXLanguageEnum ¶
func GetShowSqlSwitchStatusRequestXLanguageEnum() ShowSqlSwitchStatusRequestXLanguageEnum
type ShowSqlSwitchStatusResponse ¶
type ShowSqlSwitchStatusResponse struct { // 开关状态。取值: Enabled:已开启, Disabled:已关闭, Switching:开关切换中 Status *string `json:"status,omitempty"` // SQL数据保存天数。 RetentionDays *int64 `json:"retention_days,omitempty"` HttpStatusCode int `json:"-"` }
ShowSqlSwitchStatusResponse Response Object
func (ShowSqlSwitchStatusResponse) String ¶
func (o ShowSqlSwitchStatusResponse) String() string
type ShowTransactionSwitchStatusRequest ¶ added in v0.1.105
type ShowTransactionSwitchStatusRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据库类型。仅支持MySQL DatastoreType ShowTransactionSwitchStatusRequestDatastoreType `json:"datastore_type"` // 语言 XLanguage *ShowTransactionSwitchStatusRequestXLanguage `json:"X-Language,omitempty"` }
ShowTransactionSwitchStatusRequest Request Object
func (ShowTransactionSwitchStatusRequest) String ¶ added in v0.1.105
func (o ShowTransactionSwitchStatusRequest) String() string
type ShowTransactionSwitchStatusRequestDatastoreType ¶ added in v0.1.105
type ShowTransactionSwitchStatusRequestDatastoreType struct {
// contains filtered or unexported fields
}
func (ShowTransactionSwitchStatusRequestDatastoreType) MarshalJSON ¶ added in v0.1.105
func (c ShowTransactionSwitchStatusRequestDatastoreType) MarshalJSON() ([]byte, error)
func (*ShowTransactionSwitchStatusRequestDatastoreType) UnmarshalJSON ¶ added in v0.1.105
func (c *ShowTransactionSwitchStatusRequestDatastoreType) UnmarshalJSON(b []byte) error
func (ShowTransactionSwitchStatusRequestDatastoreType) Value ¶ added in v0.1.105
func (c ShowTransactionSwitchStatusRequestDatastoreType) Value() string
type ShowTransactionSwitchStatusRequestDatastoreTypeEnum ¶ added in v0.1.105
type ShowTransactionSwitchStatusRequestDatastoreTypeEnum struct {
MY_SQL ShowTransactionSwitchStatusRequestDatastoreType
}
func GetShowTransactionSwitchStatusRequestDatastoreTypeEnum ¶ added in v0.1.105
func GetShowTransactionSwitchStatusRequestDatastoreTypeEnum() ShowTransactionSwitchStatusRequestDatastoreTypeEnum
type ShowTransactionSwitchStatusRequestXLanguage ¶ added in v0.1.105
type ShowTransactionSwitchStatusRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowTransactionSwitchStatusRequestXLanguage) MarshalJSON ¶ added in v0.1.105
func (c ShowTransactionSwitchStatusRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowTransactionSwitchStatusRequestXLanguage) UnmarshalJSON ¶ added in v0.1.105
func (c *ShowTransactionSwitchStatusRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowTransactionSwitchStatusRequestXLanguage) Value ¶ added in v0.1.105
func (c ShowTransactionSwitchStatusRequestXLanguage) Value() string
type ShowTransactionSwitchStatusRequestXLanguageEnum ¶ added in v0.1.105
type ShowTransactionSwitchStatusRequestXLanguageEnum struct { ZH_CN ShowTransactionSwitchStatusRequestXLanguage EN_US ShowTransactionSwitchStatusRequestXLanguage }
func GetShowTransactionSwitchStatusRequestXLanguageEnum ¶ added in v0.1.105
func GetShowTransactionSwitchStatusRequestXLanguageEnum() ShowTransactionSwitchStatusRequestXLanguageEnum
type ShowTransactionSwitchStatusResponse ¶ added in v0.1.105
type ShowTransactionSwitchStatusResponse struct { // 开关状态 SwitchStatus *ShowTransactionSwitchStatusResponseSwitchStatus `json:"switch_status,omitempty"` HttpStatusCode int `json:"-"` }
ShowTransactionSwitchStatusResponse Response Object
func (ShowTransactionSwitchStatusResponse) String ¶ added in v0.1.105
func (o ShowTransactionSwitchStatusResponse) String() string
type ShowTransactionSwitchStatusResponseSwitchStatus ¶ added in v0.1.105
type ShowTransactionSwitchStatusResponseSwitchStatus struct {
// contains filtered or unexported fields
}
func (ShowTransactionSwitchStatusResponseSwitchStatus) MarshalJSON ¶ added in v0.1.105
func (c ShowTransactionSwitchStatusResponseSwitchStatus) MarshalJSON() ([]byte, error)
func (*ShowTransactionSwitchStatusResponseSwitchStatus) UnmarshalJSON ¶ added in v0.1.105
func (c *ShowTransactionSwitchStatusResponseSwitchStatus) UnmarshalJSON(b []byte) error
func (ShowTransactionSwitchStatusResponseSwitchStatus) Value ¶ added in v0.1.105
func (c ShowTransactionSwitchStatusResponseSwitchStatus) Value() string
type ShowTransactionSwitchStatusResponseSwitchStatusEnum ¶ added in v0.1.105
type ShowTransactionSwitchStatusResponseSwitchStatusEnum struct { ENABLED ShowTransactionSwitchStatusResponseSwitchStatus DISABLED ShowTransactionSwitchStatusResponseSwitchStatus }
func GetShowTransactionSwitchStatusResponseSwitchStatusEnum ¶ added in v0.1.105
func GetShowTransactionSwitchStatusResponseSwitchStatusEnum() ShowTransactionSwitchStatusResponseSwitchStatusEnum
type ShowTuningRequest ¶ added in v0.1.57
type ShowTuningRequest struct { // 诊断messageId MessageId string `json:"message_id"` // 连接Id ConnectionId string `json:"connection_id"` // 语言 XLanguage *string `json:"X-Language,omitempty"` }
ShowTuningRequest Request Object
func (ShowTuningRequest) String ¶ added in v0.1.57
func (o ShowTuningRequest) String() string
type ShowTuningResponse ¶ added in v0.1.57
type ShowTuningResponse struct { TuneResult *AdviceResult `json:"tune_result,omitempty"` HttpStatusCode int `json:"-"` }
ShowTuningResponse Response Object
func (ShowTuningResponse) String ¶ added in v0.1.57
func (o ShowTuningResponse) String() string
type SlowLog ¶
type SlowLog struct { // SQL语句。 Sql string `json:"sql"` // 数据库名。 Database string `json:"database"` // 客户端。 Client string `json:"client"` // 用户。 User string `json:"user"` // 执行开始时间(Unix timestamp),单位:毫秒。 ExecuteAt int64 `json:"execute_at"` // 执行耗时(秒)。 QueryTime float64 `json:"query_time"` // 锁等待耗时(秒)。 LockTime float64 `json:"lock_time"` // 扫描行数。 RowsExamined int64 `json:"rows_examined"` // 返回行数。 RowsSent int64 `json:"rows_sent"` }
type SlowSqlStatistics ¶ added in v0.1.96
type SlowSqlStatistics struct { // 执行次数。 ExecuteCount int64 `json:"execute_count"` // 平均执行耗时(s)。 AvgExecuteTime float64 `json:"avg_execute_time"` // 最大执行耗时(s)。 MaxExecuteTime float64 `json:"max_execute_time"` // 平均锁等待时间(s)。 AvgLockWaitTime float64 `json:"avg_lock_wait_time"` // 最大锁等待时间(s)。 MaxLockWaitTime float64 `json:"max_lock_wait_time"` // 平均返回文档数。 AvgRowsSent float64 `json:"avg_rows_sent"` // 最大返回文档数。 MaxRowsSent float64 `json:"max_rows_sent"` // 平均扫描文档数。 AvgRowsExamined float64 `json:"avg_rows_examined"` // 最大扫描文档数。 MaxRowsExamined float64 `json:"max_rows_examined"` // 平均扫描索引数。 AvgKeyExamined float64 `json:"avg_key_examined"` // 最大扫描索引数。 MaxKeyExamined float64 `json:"max_key_examined"` // 节点ID,按node_id统计时赋值。 NodeId *string `json:"node_id,omitempty"` // 节点名称,按node_id统计时赋值。 NodeName *string `json:"node_name,omitempty"` // 语句类型,按sql_type统计时赋值。 SqlType *string `json:"sql_type,omitempty"` // 库名,按db_name、collection统计时赋值。 DbName *string `json:"db_name,omitempty"` // 数据库表,按collection统计时赋值。 Collection *string `json:"collection,omitempty"` // 用户名,按user统计时赋值。 User *string `json:"user,omitempty"` // 客户端,按client统计时赋值。 Client *string `json:"client,omitempty"` }
func (SlowSqlStatistics) String ¶ added in v0.1.96
func (o SlowSqlStatistics) String() string
type SlowSqlTemplate ¶ added in v0.1.12
type SlowSqlTemplate struct { // SQL模板。 SqlTemplate string `json:"sql_template"` // SQL样本。 SqlSample *string `json:"sql_sample,omitempty"` // SQL样本执行用户。 SqlSampleUser *string `json:"sql_sample_user,omitempty"` // 库名。 DbNames []string `json:"db_names"` // 执行次数。 ExecuteCount int64 `json:"execute_count"` // 平均执行耗时(ms)。 AvgExecuteTime float64 `json:"avg_execute_time"` // 最大执行耗时(ms)。 MaxExecuteTime float64 `json:"max_execute_time"` // 平均锁等待时间(ms)。 AvgLockWaitTime float64 `json:"avg_lock_wait_time"` // 最大锁等待时间(ms)。 MaxLockWaitTime float64 `json:"max_lock_wait_time"` // 平均扫描行数。 AvgRowsExamined float64 `json:"avg_rows_examined"` // 最大扫描行数。 MaxRowsExamined float64 `json:"max_rows_examined"` // 平均返回行数。 AvgRowsSent float64 `json:"avg_rows_sent"` // 最大返回行数。 MaxRowsSent float64 `json:"max_rows_sent"` }
func (SlowSqlTemplate) String ¶ added in v0.1.12
func (o SlowSqlTemplate) String() string
type SlowSqlTrendItem ¶ added in v0.1.104
type SlowSqlTrendItem struct { // 毫秒时间戳。表示统计数据的时间范围为timestamp到timestamp + interval_millis。 Timestamp int64 `json:"timestamp"` // 慢SQL数量。 SlowLogCount int64 `json:"slow_log_count"` }
func (SlowSqlTrendItem) String ¶ added in v0.1.104
func (o SlowSqlTrendItem) String() string
type SqlLimitRule ¶ added in v0.1.12
type SqlLimitRule struct { // SQL限流规则ID Id string `json:"id"` // SQL类型 SqlType string `json:"sql_type"` // 限流规则 Pattern string `json:"pattern"` // 最大并发数 MaxConcurrency int32 `json:"max_concurrency"` // 最大等待时间 MaxWaiting *int32 `json:"max_waiting,omitempty"` }
SqlLimitRule SQL限流规则
func (SqlLimitRule) String ¶ added in v0.1.12
func (o SqlLimitRule) String() string
type TbPosInfo ¶ added in v0.1.57
type TopRiskInfo ¶ added in v0.1.108
type TopRiskInfo struct { // 实例id。 InstanceId string `json:"instance_id"` // 实例名称。 InstanceName string `json:"instance_name"` // 节点ID。 NodeId string `json:"node_id"` // 指标名称。 MetricNames []string `json:"metric_names"` // 指标值,单位%。 MetricValues []float64 `json:"metric_values"` }
func (TopRiskInfo) String ¶ added in v0.1.108
func (o TopRiskInfo) String() string
type TopSqlTemplate ¶ added in v0.1.12
type TopSqlTemplate struct { // SQL模板。 SqlTemplate string `json:"sql_template"` // SQL样本。 SqlSampleString string `json:"sql_sample_string"` // SQL操作类型。 SqlType string `json:"sql_type"` // 数据库名称。 DbName string `json:"db_name"` // 总执行次数。 ExecuteNum int64 `json:"execute_num"` // 总耗时(ms)。 TotalCost float64 `json:"total_cost"` // 平均耗时(ms)。 AvgCost float64 `json:"avg_cost"` // 平均返回行数。 AvgRowsSent float64 `json:"avg_rows_sent"` // 平均影响行数。 AvgRowsAffected float64 `json:"avg_rows_affected"` // 平均锁等待耗时(ms)。 AvgLockTime float64 `json:"avg_lock_time"` // 总扫描行数。 TotalRowsExamined float64 `json:"total_rows_examined"` // 平均扫描行数。 AvgRowsExamined float64 `json:"avg_rows_examined"` // 总耗时占比。 TotalCostRatio string `json:"total_cost_ratio"` // 扫描行数占比。 TotalExaminedRatio string `json:"total_examined_ratio"` // 执行次数占比。 ExecuteNumRatio string `json:"execute_num_ratio"` }
func (TopSqlTemplate) String ¶ added in v0.1.12
func (o TopSqlTemplate) String() string
type TopSqlTrendItem ¶ added in v0.1.12
type TopSqlTrendItem struct { // 执行时间点,毫秒时间戳。表示统计数据的时间范围为execute_at到execute_at + interval_millis。 ExecuteAt int64 `json:"execute_at"` // 执行耗时小于100ms。 QueryTimeIn100ms int64 `json:"query_time_in_100ms"` // 执行耗时100ms-500ms。 QueryTimeIn500ms int64 `json:"query_time_in_500ms"` // 执行耗时500ms-1000ms QueryTimeIn1s int64 `json:"query_time_in_1s"` // 执行耗时大于1000ms。 QueryTimeOver1s int64 `json:"query_time_over_1s"` }
func (TopSqlTrendItem) String ¶ added in v0.1.12
func (o TopSqlTrendItem) String() string
type TransactionSwitchReq ¶ added in v0.1.105
type TransactionSwitchReq struct { // 开关状态 SwitchStatus TransactionSwitchReqSwitchStatus `json:"switch_status"` // 数据库类型。仅支持MySQL DatastoreType TransactionSwitchReqDatastoreType `json:"datastore_type"` }
func (TransactionSwitchReq) String ¶ added in v0.1.105
func (o TransactionSwitchReq) String() string
type TransactionSwitchReqDatastoreType ¶ added in v0.1.105
type TransactionSwitchReqDatastoreType struct {
// contains filtered or unexported fields
}
func (TransactionSwitchReqDatastoreType) MarshalJSON ¶ added in v0.1.105
func (c TransactionSwitchReqDatastoreType) MarshalJSON() ([]byte, error)
func (*TransactionSwitchReqDatastoreType) UnmarshalJSON ¶ added in v0.1.105
func (c *TransactionSwitchReqDatastoreType) UnmarshalJSON(b []byte) error
func (TransactionSwitchReqDatastoreType) Value ¶ added in v0.1.105
func (c TransactionSwitchReqDatastoreType) Value() string
type TransactionSwitchReqDatastoreTypeEnum ¶ added in v0.1.105
type TransactionSwitchReqDatastoreTypeEnum struct {
MY_SQL TransactionSwitchReqDatastoreType
}
func GetTransactionSwitchReqDatastoreTypeEnum ¶ added in v0.1.105
func GetTransactionSwitchReqDatastoreTypeEnum() TransactionSwitchReqDatastoreTypeEnum
type TransactionSwitchReqSwitchStatus ¶ added in v0.1.105
type TransactionSwitchReqSwitchStatus struct {
// contains filtered or unexported fields
}
func (TransactionSwitchReqSwitchStatus) MarshalJSON ¶ added in v0.1.105
func (c TransactionSwitchReqSwitchStatus) MarshalJSON() ([]byte, error)
func (*TransactionSwitchReqSwitchStatus) UnmarshalJSON ¶ added in v0.1.105
func (c *TransactionSwitchReqSwitchStatus) UnmarshalJSON(b []byte) error
func (TransactionSwitchReqSwitchStatus) Value ¶ added in v0.1.105
func (c TransactionSwitchReqSwitchStatus) Value() string
type TransactionSwitchReqSwitchStatusEnum ¶ added in v0.1.105
type TransactionSwitchReqSwitchStatusEnum struct { ENABLED TransactionSwitchReqSwitchStatus DISABLED TransactionSwitchReqSwitchStatus }
func GetTransactionSwitchReqSwitchStatusEnum ¶ added in v0.1.105
func GetTransactionSwitchReqSwitchStatusEnum() TransactionSwitchReqSwitchStatusEnum
type UpdateDbUserRequest ¶
type UpdateDbUserRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据库用户ID DbUserId string `json:"db_user_id"` // 语言 XLanguage *UpdateDbUserRequestXLanguage `json:"X-Language,omitempty"` Body *UpdateDbUserRequestBody `json:"body,omitempty"` }
UpdateDbUserRequest Request Object
func (UpdateDbUserRequest) String ¶
func (o UpdateDbUserRequest) String() string
type UpdateDbUserRequestBody ¶
type UpdateDbUserRequestBody struct { // 数据库用户名称 DbUsername string `json:"db_username"` // 数据库用户密码 DbUserPassword string `json:"db_user_password"` }
UpdateDbUserRequestBody 修改注册的数据库用户请求
func (UpdateDbUserRequestBody) String ¶
func (o UpdateDbUserRequestBody) String() string
type UpdateDbUserRequestXLanguage ¶
type UpdateDbUserRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdateDbUserRequestXLanguage) MarshalJSON ¶
func (c UpdateDbUserRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdateDbUserRequestXLanguage) UnmarshalJSON ¶
func (c *UpdateDbUserRequestXLanguage) UnmarshalJSON(b []byte) error
func (UpdateDbUserRequestXLanguage) Value ¶ added in v0.0.90
func (c UpdateDbUserRequestXLanguage) Value() string
type UpdateDbUserRequestXLanguageEnum ¶
type UpdateDbUserRequestXLanguageEnum struct { ZH_CN UpdateDbUserRequestXLanguage EN_US UpdateDbUserRequestXLanguage }
func GetUpdateDbUserRequestXLanguageEnum ¶
func GetUpdateDbUserRequestXLanguageEnum() UpdateDbUserRequestXLanguageEnum
type UpdateDbUserResponse ¶
type UpdateDbUserResponse struct { // 修改结果,修改成功返回OK Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
UpdateDbUserResponse Response Object
func (UpdateDbUserResponse) String ¶
func (o UpdateDbUserResponse) String() string
type UpdateSqlLimitRuleOption ¶ added in v0.1.96
type UpdateSqlLimitRuleOption struct { // 最大并发数 MaxConcurrency int32 `json:"max_concurrency"` // 最大等待时间 MaxWaiting *int32 `json:"max_waiting,omitempty"` }
func (UpdateSqlLimitRuleOption) String ¶ added in v0.1.96
func (o UpdateSqlLimitRuleOption) String() string
type UpdateSqlLimitRulesBody ¶ added in v0.1.96
type UpdateSqlLimitRulesBody struct { // 数据库类型 DatastoreType UpdateSqlLimitRulesBodyDatastoreType `json:"datastore_type"` // SQL限流规则ID SqlLimitRuleIds []string `json:"sql_limit_rule_ids"` // 数据库名(PostgreSQL必填) DatabaseName *string `json:"database_name,omitempty"` SqlLimitRule *UpdateSqlLimitRuleOption `json:"sql_limit_rule"` }
UpdateSqlLimitRulesBody 修改SQL限流规则请求体
func (UpdateSqlLimitRulesBody) String ¶ added in v0.1.96
func (o UpdateSqlLimitRulesBody) String() string
type UpdateSqlLimitRulesBodyDatastoreType ¶ added in v0.1.96
type UpdateSqlLimitRulesBodyDatastoreType struct {
// contains filtered or unexported fields
}
func (UpdateSqlLimitRulesBodyDatastoreType) MarshalJSON ¶ added in v0.1.96
func (c UpdateSqlLimitRulesBodyDatastoreType) MarshalJSON() ([]byte, error)
func (*UpdateSqlLimitRulesBodyDatastoreType) UnmarshalJSON ¶ added in v0.1.96
func (c *UpdateSqlLimitRulesBodyDatastoreType) UnmarshalJSON(b []byte) error
func (UpdateSqlLimitRulesBodyDatastoreType) Value ¶ added in v0.1.96
func (c UpdateSqlLimitRulesBodyDatastoreType) Value() string
type UpdateSqlLimitRulesBodyDatastoreTypeEnum ¶ added in v0.1.96
type UpdateSqlLimitRulesBodyDatastoreTypeEnum struct {
POSTGRE_SQL UpdateSqlLimitRulesBodyDatastoreType
}
func GetUpdateSqlLimitRulesBodyDatastoreTypeEnum ¶ added in v0.1.96
func GetUpdateSqlLimitRulesBodyDatastoreTypeEnum() UpdateSqlLimitRulesBodyDatastoreTypeEnum
type UpdateSqlLimitRulesRequest ¶ added in v0.1.96
type UpdateSqlLimitRulesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 语言 XLanguage *UpdateSqlLimitRulesRequestXLanguage `json:"X-Language,omitempty"` Body *UpdateSqlLimitRulesBody `json:"body,omitempty"` }
UpdateSqlLimitRulesRequest Request Object
func (UpdateSqlLimitRulesRequest) String ¶ added in v0.1.96
func (o UpdateSqlLimitRulesRequest) String() string
type UpdateSqlLimitRulesRequestXLanguage ¶ added in v0.1.96
type UpdateSqlLimitRulesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdateSqlLimitRulesRequestXLanguage) MarshalJSON ¶ added in v0.1.96
func (c UpdateSqlLimitRulesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdateSqlLimitRulesRequestXLanguage) UnmarshalJSON ¶ added in v0.1.96
func (c *UpdateSqlLimitRulesRequestXLanguage) UnmarshalJSON(b []byte) error
func (UpdateSqlLimitRulesRequestXLanguage) Value ¶ added in v0.1.96
func (c UpdateSqlLimitRulesRequestXLanguage) Value() string
type UpdateSqlLimitRulesRequestXLanguageEnum ¶ added in v0.1.96
type UpdateSqlLimitRulesRequestXLanguageEnum struct { ZH_CN UpdateSqlLimitRulesRequestXLanguage EN_US UpdateSqlLimitRulesRequestXLanguage }
func GetUpdateSqlLimitRulesRequestXLanguageEnum ¶ added in v0.1.96
func GetUpdateSqlLimitRulesRequestXLanguageEnum() UpdateSqlLimitRulesRequestXLanguageEnum
type UpdateSqlLimitRulesResponse ¶ added in v0.1.96
type UpdateSqlLimitRulesResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateSqlLimitRulesResponse Response Object
func (UpdateSqlLimitRulesResponse) String ¶ added in v0.1.96
func (o UpdateSqlLimitRulesResponse) String() string
Source Files ¶
- model_advice_result.go
- model_api_version.go
- model_cancel_share_connections_request.go
- model_cancel_share_connections_request_body.go
- model_cancel_share_connections_response.go
- model_change_sql_limit_switch_status_body.go
- model_change_sql_limit_switch_status_request.go
- model_change_sql_limit_switch_status_response.go
- model_change_sql_switch_body.go
- model_change_sql_switch_request.go
- model_change_sql_switch_response.go
- model_change_transaction_switch_status_request.go
- model_change_transaction_switch_status_response.go
- model_create_health_report_req.go
- model_create_health_report_task_request.go
- model_create_health_report_task_response.go
- model_create_share_connections_request.go
- model_create_share_connections_request_body.go
- model_create_share_connections_response.go
- model_create_space_analysis_task_body.go
- model_create_space_analysis_task_request.go
- model_create_space_analysis_task_response.go
- model_create_sql_limit_rule_option.go
- model_create_sql_limit_rules_body.go
- model_create_sql_limit_rules_request.go
- model_create_sql_limit_rules_response.go
- model_create_tuning_req.go
- model_create_tuning_request.go
- model_create_tuning_response.go
- model_das_instance_info.go
- model_db_object_space_info.go
- model_db_user.go
- model_delete_db_user_request.go
- model_delete_db_user_response.go
- model_delete_process_req_body.go
- model_delete_process_request.go
- model_delete_process_response.go
- model_delete_sql_limit_rules_body.go
- model_delete_sql_limit_rules_request.go
- model_delete_sql_limit_rules_response.go
- model_execution_plan.go
- model_explain.go
- model_export_slow_query_logs_request.go
- model_export_slow_query_logs_response.go
- model_export_slow_sql_statistics_request.go
- model_export_slow_sql_statistics_request_body.go
- model_export_slow_sql_statistics_response.go
- model_export_slow_sql_templates_details_request.go
- model_export_slow_sql_templates_details_response.go
- model_export_slow_sql_trend_details_request.go
- model_export_slow_sql_trend_details_response.go
- model_export_sql_statements_request.go
- model_export_sql_statements_response.go
- model_export_top_risk_instances_request.go
- model_export_top_risk_instances_response.go
- model_export_top_sql_templates_details_request.go
- model_export_top_sql_templates_details_response.go
- model_export_top_sql_trend_details_request.go
- model_export_top_sql_trend_details_response.go
- model_feedback_info.go
- model_full_sql.go
- model_get_transaction_list_resp_transaction_info_list.go
- model_health_report_analysis_result.go
- model_health_report_disk_stat.go
- model_health_report_full_sql_stat.go
- model_health_report_inspection_score.go
- model_health_report_inspection_stat.go
- model_health_report_instance_info.go
- model_health_report_lost_points_detail.go
- model_health_report_performance_stat.go
- model_health_report_ratio_stat.go
- model_health_report_risk_reason.go
- model_health_report_risk_suggestion.go
- model_health_report_single_value_stat.go
- model_health_report_slow_log_stat.go
- model_health_report_sql_template.go
- model_health_report_summary_info.go
- model_health_report_table_space_incr_info.go
- model_health_report_table_space_info.go
- model_health_report_table_space_stat.go
- model_health_report_task.go
- model_index_advice_info.go
- model_innodb_lock.go
- model_innodb_lock_waits.go
- model_innodb_trx.go
- model_instance_space_info.go
- model_list_api_versions_request.go
- model_list_api_versions_response.go
- model_list_cloud_dba_instances_request.go
- model_list_cloud_dba_instances_response.go
- model_list_db_users_request.go
- model_list_db_users_response.go
- model_list_health_report_task_request.go
- model_list_health_report_task_response.go
- model_list_innodb_locks_request.go
- model_list_innodb_locks_response.go
- model_list_metadata_locks_request.go
- model_list_metadata_locks_response.go
- model_list_processes_request.go
- model_list_processes_response.go
- model_list_space_analysis_request.go
- model_list_space_analysis_response.go
- model_list_sql_limit_rules_request.go
- model_list_sql_limit_rules_response.go
- model_list_transactions_request.go
- model_list_transactions_response.go
- model_metadata_lock.go
- model_parse_sql_limit_rules_req.go
- model_parse_sql_limit_rules_request.go
- model_parse_sql_limit_rules_response.go
- model_process.go
- model_query_sql_plan_body.go
- model_register_db_user_request.go
- model_register_db_user_request_body.go
- model_register_db_user_response.go
- model_share_conn_user_info.go
- model_show_api_version_request.go
- model_show_api_version_response.go
- model_show_db_user_request.go
- model_show_db_user_response.go
- model_show_instance_health_report_request.go
- model_show_instance_health_report_response.go
- model_show_quotas_request.go
- model_show_quotas_response.go
- model_show_sql_execution_plan_request.go
- model_show_sql_execution_plan_response.go
- model_show_sql_explain_request.go
- model_show_sql_explain_response.go
- model_show_sql_limit_job_info_request.go
- model_show_sql_limit_job_info_response.go
- model_show_sql_limit_switch_status_request.go
- model_show_sql_limit_switch_status_response.go
- model_show_sql_switch_status_request.go
- model_show_sql_switch_status_response.go
- model_show_transaction_switch_status_request.go
- model_show_transaction_switch_status_response.go
- model_show_tuning_request.go
- model_show_tuning_response.go
- model_slow_log.go
- model_slow_sql_statistics.go
- model_slow_sql_template.go
- model_slow_sql_trend_item.go
- model_sql_limit_rule.go
- model_tb_pos_info.go
- model_top_risk_info.go
- model_top_sql_template.go
- model_top_sql_trend_item.go
- model_transaction_switch_req.go
- model_update_db_user_request.go
- model_update_db_user_request_body.go
- model_update_db_user_response.go
- model_update_sql_limit_rule_option.go
- model_update_sql_limit_rules_body.go
- model_update_sql_limit_rules_request.go
- model_update_sql_limit_rules_response.go