Documentation ¶
Index ¶
- Constants
- type AddUserContactRequest
- type AddUserContactRequestParams
- type AddUserContactResponse
- type AddUserContactResponseParams
- type Client
- func (c *Client) AddUserContact(request *AddUserContactRequest) (response *AddUserContactResponse, err error)
- func (c *Client) AddUserContactWithContext(ctx context.Context, request *AddUserContactRequest) (response *AddUserContactResponse, err error)
- func (c *Client) CreateDBDiagReportTask(request *CreateDBDiagReportTaskRequest) (response *CreateDBDiagReportTaskResponse, err error)
- func (c *Client) CreateDBDiagReportTaskWithContext(ctx context.Context, request *CreateDBDiagReportTaskRequest) (response *CreateDBDiagReportTaskResponse, err error)
- func (c *Client) CreateDBDiagReportUrl(request *CreateDBDiagReportUrlRequest) (response *CreateDBDiagReportUrlResponse, err error)
- func (c *Client) CreateDBDiagReportUrlWithContext(ctx context.Context, request *CreateDBDiagReportUrlRequest) (response *CreateDBDiagReportUrlResponse, err error)
- func (c *Client) CreateKillTask(request *CreateKillTaskRequest) (response *CreateKillTaskResponse, err error)
- func (c *Client) CreateKillTaskWithContext(ctx context.Context, request *CreateKillTaskRequest) (response *CreateKillTaskResponse, err error)
- func (c *Client) CreateMailProfile(request *CreateMailProfileRequest) (response *CreateMailProfileResponse, err error)
- func (c *Client) CreateMailProfileWithContext(ctx context.Context, request *CreateMailProfileRequest) (response *CreateMailProfileResponse, err error)
- func (c *Client) CreateProxySessionKillTask(request *CreateProxySessionKillTaskRequest) (response *CreateProxySessionKillTaskResponse, err error)
- func (c *Client) CreateProxySessionKillTaskWithContext(ctx context.Context, request *CreateProxySessionKillTaskRequest) (response *CreateProxySessionKillTaskResponse, err error)
- func (c *Client) CreateSchedulerMailProfile(request *CreateSchedulerMailProfileRequest) (response *CreateSchedulerMailProfileResponse, err error)
- func (c *Client) CreateSchedulerMailProfileWithContext(ctx context.Context, request *CreateSchedulerMailProfileRequest) (response *CreateSchedulerMailProfileResponse, err error)
- func (c *Client) CreateSecurityAuditLogExportTask(request *CreateSecurityAuditLogExportTaskRequest) (response *CreateSecurityAuditLogExportTaskResponse, err error)
- func (c *Client) CreateSecurityAuditLogExportTaskWithContext(ctx context.Context, request *CreateSecurityAuditLogExportTaskRequest) (response *CreateSecurityAuditLogExportTaskResponse, err error)
- func (c *Client) DeleteDBDiagReportTasks(request *DeleteDBDiagReportTasksRequest) (response *DeleteDBDiagReportTasksResponse, err error)
- func (c *Client) DeleteDBDiagReportTasksWithContext(ctx context.Context, request *DeleteDBDiagReportTasksRequest) (response *DeleteDBDiagReportTasksResponse, err error)
- func (c *Client) DeleteSecurityAuditLogExportTasks(request *DeleteSecurityAuditLogExportTasksRequest) (response *DeleteSecurityAuditLogExportTasksResponse, err error)
- func (c *Client) DeleteSecurityAuditLogExportTasksWithContext(ctx context.Context, request *DeleteSecurityAuditLogExportTasksRequest) (response *DeleteSecurityAuditLogExportTasksResponse, err error)
- func (c *Client) DescribeAllUserContact(request *DescribeAllUserContactRequest) (response *DescribeAllUserContactResponse, err error)
- func (c *Client) DescribeAllUserContactWithContext(ctx context.Context, request *DescribeAllUserContactRequest) (response *DescribeAllUserContactResponse, err error)
- func (c *Client) DescribeAllUserGroup(request *DescribeAllUserGroupRequest) (response *DescribeAllUserGroupResponse, err error)
- func (c *Client) DescribeAllUserGroupWithContext(ctx context.Context, request *DescribeAllUserGroupRequest) (response *DescribeAllUserGroupResponse, err error)
- func (c *Client) DescribeDBDiagEvent(request *DescribeDBDiagEventRequest) (response *DescribeDBDiagEventResponse, err error)
- func (c *Client) DescribeDBDiagEventWithContext(ctx context.Context, request *DescribeDBDiagEventRequest) (response *DescribeDBDiagEventResponse, err error)
- func (c *Client) DescribeDBDiagEvents(request *DescribeDBDiagEventsRequest) (response *DescribeDBDiagEventsResponse, err error)
- func (c *Client) DescribeDBDiagEventsWithContext(ctx context.Context, request *DescribeDBDiagEventsRequest) (response *DescribeDBDiagEventsResponse, err error)
- func (c *Client) DescribeDBDiagHistory(request *DescribeDBDiagHistoryRequest) (response *DescribeDBDiagHistoryResponse, err error)
- func (c *Client) DescribeDBDiagHistoryWithContext(ctx context.Context, request *DescribeDBDiagHistoryRequest) (response *DescribeDBDiagHistoryResponse, err error)
- func (c *Client) DescribeDBDiagReportTasks(request *DescribeDBDiagReportTasksRequest) (response *DescribeDBDiagReportTasksResponse, err error)
- func (c *Client) DescribeDBDiagReportTasksWithContext(ctx context.Context, request *DescribeDBDiagReportTasksRequest) (response *DescribeDBDiagReportTasksResponse, err error)
- func (c *Client) DescribeDBSpaceStatus(request *DescribeDBSpaceStatusRequest) (response *DescribeDBSpaceStatusResponse, err error)
- func (c *Client) DescribeDBSpaceStatusWithContext(ctx context.Context, request *DescribeDBSpaceStatusRequest) (response *DescribeDBSpaceStatusResponse, err error)
- func (c *Client) DescribeDiagDBInstances(request *DescribeDiagDBInstancesRequest) (response *DescribeDiagDBInstancesResponse, err error)
- func (c *Client) DescribeDiagDBInstancesWithContext(ctx context.Context, request *DescribeDiagDBInstancesRequest) (response *DescribeDiagDBInstancesResponse, err error)
- func (c *Client) DescribeHealthScore(request *DescribeHealthScoreRequest) (response *DescribeHealthScoreResponse, err error)
- func (c *Client) DescribeHealthScoreWithContext(ctx context.Context, request *DescribeHealthScoreRequest) (response *DescribeHealthScoreResponse, err error)
- func (c *Client) DescribeMailProfile(request *DescribeMailProfileRequest) (response *DescribeMailProfileResponse, err error)
- func (c *Client) DescribeMailProfileWithContext(ctx context.Context, request *DescribeMailProfileRequest) (response *DescribeMailProfileResponse, err error)
- func (c *Client) DescribeMySqlProcessList(request *DescribeMySqlProcessListRequest) (response *DescribeMySqlProcessListResponse, err error)
- func (c *Client) DescribeMySqlProcessListWithContext(ctx context.Context, request *DescribeMySqlProcessListRequest) (response *DescribeMySqlProcessListResponse, err error)
- func (c *Client) DescribeProxyProcessStatistics(request *DescribeProxyProcessStatisticsRequest) (response *DescribeProxyProcessStatisticsResponse, err error)
- func (c *Client) DescribeProxyProcessStatisticsWithContext(ctx context.Context, request *DescribeProxyProcessStatisticsRequest) (response *DescribeProxyProcessStatisticsResponse, err error)
- func (c *Client) DescribeProxySessionKillTasks(request *DescribeProxySessionKillTasksRequest) (response *DescribeProxySessionKillTasksResponse, err error)
- func (c *Client) DescribeProxySessionKillTasksWithContext(ctx context.Context, request *DescribeProxySessionKillTasksRequest) (response *DescribeProxySessionKillTasksResponse, err error)
- func (c *Client) DescribeRedisTopKeyPrefixList(request *DescribeRedisTopKeyPrefixListRequest) (response *DescribeRedisTopKeyPrefixListResponse, err error)
- func (c *Client) DescribeRedisTopKeyPrefixListWithContext(ctx context.Context, request *DescribeRedisTopKeyPrefixListRequest) (response *DescribeRedisTopKeyPrefixListResponse, err error)
- func (c *Client) DescribeSecurityAuditLogDownloadUrls(request *DescribeSecurityAuditLogDownloadUrlsRequest) (response *DescribeSecurityAuditLogDownloadUrlsResponse, err error)
- func (c *Client) DescribeSecurityAuditLogDownloadUrlsWithContext(ctx context.Context, request *DescribeSecurityAuditLogDownloadUrlsRequest) (response *DescribeSecurityAuditLogDownloadUrlsResponse, err error)
- func (c *Client) DescribeSecurityAuditLogExportTasks(request *DescribeSecurityAuditLogExportTasksRequest) (response *DescribeSecurityAuditLogExportTasksResponse, err error)
- func (c *Client) DescribeSecurityAuditLogExportTasksWithContext(ctx context.Context, request *DescribeSecurityAuditLogExportTasksRequest) (response *DescribeSecurityAuditLogExportTasksResponse, err error)
- func (c *Client) DescribeSlowLogTimeSeriesStats(request *DescribeSlowLogTimeSeriesStatsRequest) (response *DescribeSlowLogTimeSeriesStatsResponse, err error)
- func (c *Client) DescribeSlowLogTimeSeriesStatsWithContext(ctx context.Context, request *DescribeSlowLogTimeSeriesStatsRequest) (response *DescribeSlowLogTimeSeriesStatsResponse, err error)
- func (c *Client) DescribeSlowLogTopSqls(request *DescribeSlowLogTopSqlsRequest) (response *DescribeSlowLogTopSqlsResponse, err error)
- func (c *Client) DescribeSlowLogTopSqlsWithContext(ctx context.Context, request *DescribeSlowLogTopSqlsRequest) (response *DescribeSlowLogTopSqlsResponse, err error)
- func (c *Client) DescribeSlowLogUserHostStats(request *DescribeSlowLogUserHostStatsRequest) (response *DescribeSlowLogUserHostStatsResponse, err error)
- func (c *Client) DescribeSlowLogUserHostStatsWithContext(ctx context.Context, request *DescribeSlowLogUserHostStatsRequest) (response *DescribeSlowLogUserHostStatsResponse, err error)
- func (c *Client) DescribeSlowLogs(request *DescribeSlowLogsRequest) (response *DescribeSlowLogsResponse, err error)
- func (c *Client) DescribeSlowLogsWithContext(ctx context.Context, request *DescribeSlowLogsRequest) (response *DescribeSlowLogsResponse, err error)
- func (c *Client) DescribeTopSpaceSchemaTimeSeries(request *DescribeTopSpaceSchemaTimeSeriesRequest) (response *DescribeTopSpaceSchemaTimeSeriesResponse, err error)
- func (c *Client) DescribeTopSpaceSchemaTimeSeriesWithContext(ctx context.Context, request *DescribeTopSpaceSchemaTimeSeriesRequest) (response *DescribeTopSpaceSchemaTimeSeriesResponse, err error)
- func (c *Client) DescribeTopSpaceSchemas(request *DescribeTopSpaceSchemasRequest) (response *DescribeTopSpaceSchemasResponse, err error)
- func (c *Client) DescribeTopSpaceSchemasWithContext(ctx context.Context, request *DescribeTopSpaceSchemasRequest) (response *DescribeTopSpaceSchemasResponse, err error)
- func (c *Client) DescribeTopSpaceTableTimeSeries(request *DescribeTopSpaceTableTimeSeriesRequest) (response *DescribeTopSpaceTableTimeSeriesResponse, err error)
- func (c *Client) DescribeTopSpaceTableTimeSeriesWithContext(ctx context.Context, request *DescribeTopSpaceTableTimeSeriesRequest) (response *DescribeTopSpaceTableTimeSeriesResponse, err error)
- func (c *Client) DescribeTopSpaceTables(request *DescribeTopSpaceTablesRequest) (response *DescribeTopSpaceTablesResponse, err error)
- func (c *Client) DescribeTopSpaceTablesWithContext(ctx context.Context, request *DescribeTopSpaceTablesRequest) (response *DescribeTopSpaceTablesResponse, err error)
- func (c *Client) DescribeUserSqlAdvice(request *DescribeUserSqlAdviceRequest) (response *DescribeUserSqlAdviceResponse, err error)
- func (c *Client) DescribeUserSqlAdviceWithContext(ctx context.Context, request *DescribeUserSqlAdviceRequest) (response *DescribeUserSqlAdviceResponse, err error)
- func (c *Client) KillMySqlThreads(request *KillMySqlThreadsRequest) (response *KillMySqlThreadsResponse, err error)
- func (c *Client) KillMySqlThreadsWithContext(ctx context.Context, request *KillMySqlThreadsRequest) (response *KillMySqlThreadsResponse, err error)
- func (c *Client) ModifyDiagDBInstanceConf(request *ModifyDiagDBInstanceConfRequest) (response *ModifyDiagDBInstanceConfResponse, err error)
- func (c *Client) ModifyDiagDBInstanceConfWithContext(ctx context.Context, request *ModifyDiagDBInstanceConfRequest) (response *ModifyDiagDBInstanceConfResponse, err error)
- type ContactItem
- type CreateDBDiagReportTaskRequest
- type CreateDBDiagReportTaskRequestParams
- type CreateDBDiagReportTaskResponse
- type CreateDBDiagReportTaskResponseParams
- type CreateDBDiagReportUrlRequest
- type CreateDBDiagReportUrlRequestParams
- type CreateDBDiagReportUrlResponse
- type CreateDBDiagReportUrlResponseParams
- type CreateKillTaskRequest
- type CreateKillTaskRequestParams
- type CreateKillTaskResponse
- type CreateKillTaskResponseParams
- type CreateMailProfileRequest
- type CreateMailProfileRequestParams
- type CreateMailProfileResponse
- type CreateMailProfileResponseParams
- type CreateProxySessionKillTaskRequest
- type CreateProxySessionKillTaskRequestParams
- type CreateProxySessionKillTaskResponse
- type CreateProxySessionKillTaskResponseParams
- type CreateSchedulerMailProfileRequest
- type CreateSchedulerMailProfileRequestParams
- type CreateSchedulerMailProfileResponse
- type CreateSchedulerMailProfileResponseParams
- type CreateSecurityAuditLogExportTaskRequest
- type CreateSecurityAuditLogExportTaskRequestParams
- type CreateSecurityAuditLogExportTaskResponse
- type CreateSecurityAuditLogExportTaskResponseParams
- type DeleteDBDiagReportTasksRequest
- type DeleteDBDiagReportTasksRequestParams
- type DeleteDBDiagReportTasksResponse
- type DeleteDBDiagReportTasksResponseParams
- type DeleteSecurityAuditLogExportTasksRequest
- type DeleteSecurityAuditLogExportTasksRequestParams
- type DeleteSecurityAuditLogExportTasksResponse
- type DeleteSecurityAuditLogExportTasksResponseParams
- type DescribeAllUserContactRequest
- type DescribeAllUserContactRequestParams
- type DescribeAllUserContactResponse
- type DescribeAllUserContactResponseParams
- type DescribeAllUserGroupRequest
- type DescribeAllUserGroupRequestParams
- type DescribeAllUserGroupResponse
- type DescribeAllUserGroupResponseParams
- type DescribeDBDiagEventRequest
- type DescribeDBDiagEventRequestParams
- type DescribeDBDiagEventResponse
- type DescribeDBDiagEventResponseParams
- type DescribeDBDiagEventsRequest
- type DescribeDBDiagEventsRequestParams
- type DescribeDBDiagEventsResponse
- type DescribeDBDiagEventsResponseParams
- type DescribeDBDiagHistoryRequest
- type DescribeDBDiagHistoryRequestParams
- type DescribeDBDiagHistoryResponse
- type DescribeDBDiagHistoryResponseParams
- type DescribeDBDiagReportTasksRequest
- type DescribeDBDiagReportTasksRequestParams
- type DescribeDBDiagReportTasksResponse
- type DescribeDBDiagReportTasksResponseParams
- type DescribeDBSpaceStatusRequest
- type DescribeDBSpaceStatusRequestParams
- type DescribeDBSpaceStatusResponse
- type DescribeDBSpaceStatusResponseParams
- type DescribeDiagDBInstancesRequest
- type DescribeDiagDBInstancesRequestParams
- type DescribeDiagDBInstancesResponse
- type DescribeDiagDBInstancesResponseParams
- type DescribeHealthScoreRequest
- type DescribeHealthScoreRequestParams
- type DescribeHealthScoreResponse
- type DescribeHealthScoreResponseParams
- type DescribeMailProfileRequest
- type DescribeMailProfileRequestParams
- type DescribeMailProfileResponse
- type DescribeMailProfileResponseParams
- type DescribeMySqlProcessListRequest
- type DescribeMySqlProcessListRequestParams
- type DescribeMySqlProcessListResponse
- type DescribeMySqlProcessListResponseParams
- type DescribeProxyProcessStatisticsRequest
- type DescribeProxyProcessStatisticsRequestParams
- type DescribeProxyProcessStatisticsResponse
- type DescribeProxyProcessStatisticsResponseParams
- type DescribeProxySessionKillTasksRequest
- type DescribeProxySessionKillTasksRequestParams
- type DescribeProxySessionKillTasksResponse
- type DescribeProxySessionKillTasksResponseParams
- type DescribeRedisTopKeyPrefixListRequest
- type DescribeRedisTopKeyPrefixListRequestParams
- type DescribeRedisTopKeyPrefixListResponse
- type DescribeRedisTopKeyPrefixListResponseParams
- type DescribeSecurityAuditLogDownloadUrlsRequest
- type DescribeSecurityAuditLogDownloadUrlsRequestParams
- type DescribeSecurityAuditLogDownloadUrlsResponse
- type DescribeSecurityAuditLogDownloadUrlsResponseParams
- type DescribeSecurityAuditLogExportTasksRequest
- type DescribeSecurityAuditLogExportTasksRequestParams
- type DescribeSecurityAuditLogExportTasksResponse
- type DescribeSecurityAuditLogExportTasksResponseParams
- type DescribeSlowLogTimeSeriesStatsRequest
- type DescribeSlowLogTimeSeriesStatsRequestParams
- type DescribeSlowLogTimeSeriesStatsResponse
- type DescribeSlowLogTimeSeriesStatsResponseParams
- type DescribeSlowLogTopSqlsRequest
- type DescribeSlowLogTopSqlsRequestParams
- type DescribeSlowLogTopSqlsResponse
- type DescribeSlowLogTopSqlsResponseParams
- type DescribeSlowLogUserHostStatsRequest
- type DescribeSlowLogUserHostStatsRequestParams
- type DescribeSlowLogUserHostStatsResponse
- type DescribeSlowLogUserHostStatsResponseParams
- type DescribeSlowLogsRequest
- type DescribeSlowLogsRequestParams
- type DescribeSlowLogsResponse
- type DescribeSlowLogsResponseParams
- type DescribeTopSpaceSchemaTimeSeriesRequest
- type DescribeTopSpaceSchemaTimeSeriesRequestParams
- type DescribeTopSpaceSchemaTimeSeriesResponse
- type DescribeTopSpaceSchemaTimeSeriesResponseParams
- type DescribeTopSpaceSchemasRequest
- type DescribeTopSpaceSchemasRequestParams
- type DescribeTopSpaceSchemasResponse
- type DescribeTopSpaceSchemasResponseParams
- type DescribeTopSpaceTableTimeSeriesRequest
- type DescribeTopSpaceTableTimeSeriesRequestParams
- type DescribeTopSpaceTableTimeSeriesResponse
- type DescribeTopSpaceTableTimeSeriesResponseParams
- type DescribeTopSpaceTablesRequest
- type DescribeTopSpaceTablesRequestParams
- type DescribeTopSpaceTablesResponse
- type DescribeTopSpaceTablesResponseParams
- type DescribeUserSqlAdviceRequest
- type DescribeUserSqlAdviceRequestParams
- type DescribeUserSqlAdviceResponse
- type DescribeUserSqlAdviceResponseParams
- type DiagHistoryEventItem
- type EventInfo
- type GroupItem
- type HealthReportTask
- type HealthScoreInfo
- type HealthStatus
- type InstanceBasicInfo
- type InstanceConfs
- type InstanceInfo
- type IssueTypeInfo
- type KillMySqlThreadsRequest
- type KillMySqlThreadsRequestParams
- type KillMySqlThreadsResponse
- type KillMySqlThreadsResponseParams
- type MailConfiguration
- type ModifyDiagDBInstanceConfRequest
- type ModifyDiagDBInstanceConfRequestParams
- type ModifyDiagDBInstanceConfResponse
- type ModifyDiagDBInstanceConfResponseParams
- type MonitorFloatMetric
- type MonitorFloatMetricSeriesData
- type MonitorMetric
- type MonitorMetricSeriesData
- type MySqlProcess
- type ProcessStatistic
- type ProfileInfo
- type RedisPreKeySpaceData
- type SchemaItem
- type SchemaSpaceData
- type SchemaSpaceTimeSeries
- type ScoreDetail
- type ScoreItem
- type SecLogExportTaskInfo
- type SessionItem
- type SlowLogHost
- type SlowLogInfoItem
- type SlowLogTopSqlItem
- type SlowLogUser
- type TableSpaceData
- type TableSpaceTimeSeries
- type TaskInfo
- type TimeSlice
- type UserProfile
Constants ¶
const ( // Error with CAM signature/authentication. AUTHFAILURE = "AuthFailure" // DryRun operation, which means the DryRun parameter is passed in yet the request will still be successful. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Internal error. INTERNALERROR = "InternalError" // Incorrect parameter. INVALIDPARAMETER = "InvalidParameter" // Incorrect parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The quota limit is exceeded. LIMITEXCEEDED = "LimitExceeded" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // Error with CAM authentication. OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" // The number of requests exceeds the frequency limit. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // The resource is occupied. RESOURCEINUSE = "ResourceInUse" // Insufficient resource. RESOURCEINSUFFICIENT = "ResourceInsufficient" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The resource is unavailable. RESOURCEUNAVAILABLE = "ResourceUnavailable" // The resources have been sold out. RESOURCESSOLDOUT = "ResourcesSoldOut" // The operation is unauthorized. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Unknown parameter. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2021-05-27"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddUserContactRequest ¶
type AddUserContactRequest struct { *tchttp.BaseRequest // Recipient name, which can contain up to 20 letters, digits, spaces, and symbols `!@#$%^&*()_+-=()` and cannot begin with an underscore. Name *string `json:"Name,omitnil" name:"Name"` // Email address, which can contain letters, digits, underscores, and the @ symbol, cannot begin with an underscore, and must be unique. ContactInfo *string `json:"ContactInfo,omitnil" name:"ContactInfo"` // Service type, which is fixed to `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewAddUserContactRequest ¶
func NewAddUserContactRequest() (request *AddUserContactRequest)
func (*AddUserContactRequest) FromJsonString ¶
func (r *AddUserContactRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddUserContactRequest) ToJsonString ¶
func (r *AddUserContactRequest) ToJsonString() string
type AddUserContactRequestParams ¶
type AddUserContactRequestParams struct { // Recipient name, which can contain up to 20 letters, digits, spaces, and symbols `!@#$%^&*()_+-=()` and cannot begin with an underscore. Name *string `json:"Name,omitnil" name:"Name"` // Email address, which can contain letters, digits, underscores, and the @ symbol, cannot begin with an underscore, and must be unique. ContactInfo *string `json:"ContactInfo,omitnil" name:"ContactInfo"` // Service type, which is fixed to `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type AddUserContactResponse ¶
type AddUserContactResponse struct { *tchttp.BaseResponse Response *AddUserContactResponseParams `json:"Response"` }
func NewAddUserContactResponse ¶
func NewAddUserContactResponse() (response *AddUserContactResponse)
func (*AddUserContactResponse) FromJsonString ¶
func (r *AddUserContactResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddUserContactResponse) ToJsonString ¶
func (r *AddUserContactResponse) ToJsonString() string
type AddUserContactResponseParams ¶
type AddUserContactResponseParams struct { // ID of the successfully added recipient. Id *int64 `json:"Id,omitnil" name:"Id"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddUserContact ¶
func (c *Client) AddUserContact(request *AddUserContactRequest) (response *AddUserContactResponse, err error)
AddUserContact This API is used to add the recipient name and email. The returned value is the ID of the successfully added recipient.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) AddUserContactWithContext ¶
func (c *Client) AddUserContactWithContext(ctx context.Context, request *AddUserContactRequest) (response *AddUserContactResponse, err error)
AddUserContact This API is used to add the recipient name and email. The returned value is the ID of the successfully added recipient.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateDBDiagReportTask ¶
func (c *Client) CreateDBDiagReportTask(request *CreateDBDiagReportTaskRequest) (response *CreateDBDiagReportTaskResponse, err error)
CreateDBDiagReportTask This API is used to create a health report and send it via email as configured.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateDBDiagReportTaskWithContext ¶
func (c *Client) CreateDBDiagReportTaskWithContext(ctx context.Context, request *CreateDBDiagReportTaskRequest) (response *CreateDBDiagReportTaskResponse, err error)
CreateDBDiagReportTask This API is used to create a health report and send it via email as configured.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateDBDiagReportUrl ¶
func (c *Client) CreateDBDiagReportUrl(request *CreateDBDiagReportUrlRequest) (response *CreateDBDiagReportUrlResponse, err error)
CreateDBDiagReportUrl This API is used to create a URL for a health report.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateDBDiagReportUrlWithContext ¶
func (c *Client) CreateDBDiagReportUrlWithContext(ctx context.Context, request *CreateDBDiagReportUrlRequest) (response *CreateDBDiagReportUrlResponse, err error)
CreateDBDiagReportUrl This API is used to create a URL for a health report.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateKillTask ¶
func (c *Client) CreateKillTask(request *CreateKillTaskRequest) (response *CreateKillTaskResponse, err error)
CreateKillTask This API is used to create a session killing task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateKillTaskWithContext ¶
func (c *Client) CreateKillTaskWithContext(ctx context.Context, request *CreateKillTaskRequest) (response *CreateKillTaskResponse, err error)
CreateKillTask This API is used to create a session killing task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateMailProfile ¶
func (c *Client) CreateMailProfile(request *CreateMailProfileRequest) (response *CreateMailProfileResponse, err error)
CreateMailProfile This API is used to create the email configuration. The input parameter `ProfileType` represents the type of the email configuration. Valid values: `dbScan_mail_configuration` (email configuration of database inspection report) and `scheduler_mail_configuration` (email sending configuration of scheduled task health report). Always select Guangzhou for `Region`, regardless of the region where the instance resides.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateMailProfileWithContext ¶
func (c *Client) CreateMailProfileWithContext(ctx context.Context, request *CreateMailProfileRequest) (response *CreateMailProfileResponse, err error)
CreateMailProfile This API is used to create the email configuration. The input parameter `ProfileType` represents the type of the email configuration. Valid values: `dbScan_mail_configuration` (email configuration of database inspection report) and `scheduler_mail_configuration` (email sending configuration of scheduled task health report). Always select Guangzhou for `Region`, regardless of the region where the instance resides.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateProxySessionKillTask ¶
func (c *Client) CreateProxySessionKillTask(request *CreateProxySessionKillTaskRequest) (response *CreateProxySessionKillTaskResponse, err error)
CreateProxySessionKillTask This API is used to create an async task of killing all proxy node connection sessions and is currently supported only for Redis. The async task ID is the returned value, which can be passed to the API `DescribeProxySessionKillTasks` as a parameter to query the execution status of the session killing task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) CreateProxySessionKillTaskWithContext ¶
func (c *Client) CreateProxySessionKillTaskWithContext(ctx context.Context, request *CreateProxySessionKillTaskRequest) (response *CreateProxySessionKillTaskResponse, err error)
CreateProxySessionKillTask This API is used to create an async task of killing all proxy node connection sessions and is currently supported only for Redis. The async task ID is the returned value, which can be passed to the API `DescribeProxySessionKillTasks` as a parameter to query the execution status of the session killing task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) CreateSchedulerMailProfile ¶
func (c *Client) CreateSchedulerMailProfile(request *CreateSchedulerMailProfileRequest) (response *CreateSchedulerMailProfileResponse, err error)
CreateSchedulerMailProfile This API is used to create the regular generation time of health reports and the regular email sending configuration. Pass in the regular generation time of health reports as a parameter (Monday to Sunday) to set the regular generation time, and save the corresponding regular email sending configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateSchedulerMailProfileWithContext ¶
func (c *Client) CreateSchedulerMailProfileWithContext(ctx context.Context, request *CreateSchedulerMailProfileRequest) (response *CreateSchedulerMailProfileResponse, err error)
CreateSchedulerMailProfile This API is used to create the regular generation time of health reports and the regular email sending configuration. Pass in the regular generation time of health reports as a parameter (Monday to Sunday) to set the regular generation time, and save the corresponding regular email sending configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateSecurityAuditLogExportTask ¶
func (c *Client) CreateSecurityAuditLogExportTask(request *CreateSecurityAuditLogExportTaskRequest) (response *CreateSecurityAuditLogExportTaskResponse, err error)
CreateSecurityAuditLogExportTask This API is used to create a security audit log export task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateSecurityAuditLogExportTaskWithContext ¶
func (c *Client) CreateSecurityAuditLogExportTaskWithContext(ctx context.Context, request *CreateSecurityAuditLogExportTaskRequest) (response *CreateSecurityAuditLogExportTaskResponse, err error)
CreateSecurityAuditLogExportTask This API is used to create a security audit log export task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteDBDiagReportTasks ¶
func (c *Client) DeleteDBDiagReportTasks(request *DeleteDBDiagReportTasksRequest) (response *DeleteDBDiagReportTasksResponse, err error)
DeleteDBDiagReportTasks This API is used to delete health report generation tasks by task ID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteDBDiagReportTasksWithContext ¶
func (c *Client) DeleteDBDiagReportTasksWithContext(ctx context.Context, request *DeleteDBDiagReportTasksRequest) (response *DeleteDBDiagReportTasksResponse, err error)
DeleteDBDiagReportTasks This API is used to delete health report generation tasks by task ID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteSecurityAuditLogExportTasks ¶
func (c *Client) DeleteSecurityAuditLogExportTasks(request *DeleteSecurityAuditLogExportTasksRequest) (response *DeleteSecurityAuditLogExportTasksResponse, err error)
DeleteSecurityAuditLogExportTasks This API is used to delete a security audit log export task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteSecurityAuditLogExportTasksWithContext ¶
func (c *Client) DeleteSecurityAuditLogExportTasksWithContext(ctx context.Context, request *DeleteSecurityAuditLogExportTasksRequest) (response *DeleteSecurityAuditLogExportTasksResponse, err error)
DeleteSecurityAuditLogExportTasks This API is used to delete a security audit log export task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAllUserContact ¶
func (c *Client) DescribeAllUserContact(request *DescribeAllUserContactRequest) (response *DescribeAllUserContactResponse, err error)
DescribeAllUserContact This API is used to get the information of the recipient in the email.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAllUserContactWithContext ¶
func (c *Client) DescribeAllUserContactWithContext(ctx context.Context, request *DescribeAllUserContactRequest) (response *DescribeAllUserContactResponse, err error)
DescribeAllUserContact This API is used to get the information of the recipient in the email.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAllUserGroup ¶
func (c *Client) DescribeAllUserGroup(request *DescribeAllUserGroupRequest) (response *DescribeAllUserGroupResponse, err error)
DescribeAllUserGroup This API is used to get the information of the recipient group in the email.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAllUserGroupWithContext ¶
func (c *Client) DescribeAllUserGroupWithContext(ctx context.Context, request *DescribeAllUserGroupRequest) (response *DescribeAllUserGroupResponse, err error)
DescribeAllUserGroup This API is used to get the information of the recipient group in the email.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBDiagEvent ¶
func (c *Client) DescribeDBDiagEvent(request *DescribeDBDiagEventRequest) (response *DescribeDBDiagEventResponse, err error)
DescribeDBDiagEvent This API is used to get the details of an instance exception diagnosis event.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBDiagEventWithContext ¶
func (c *Client) DescribeDBDiagEventWithContext(ctx context.Context, request *DescribeDBDiagEventRequest) (response *DescribeDBDiagEventResponse, err error)
DescribeDBDiagEvent This API is used to get the details of an instance exception diagnosis event.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBDiagEvents ¶
func (c *Client) DescribeDBDiagEvents(request *DescribeDBDiagEventsRequest) (response *DescribeDBDiagEventsResponse, err error)
DescribeDBDiagEvents This API is used to obtain the diagnosis event list in a specified time period by risk level, instance ID, etc.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBDiagEventsWithContext ¶
func (c *Client) DescribeDBDiagEventsWithContext(ctx context.Context, request *DescribeDBDiagEventsRequest) (response *DescribeDBDiagEventsResponse, err error)
DescribeDBDiagEvents This API is used to obtain the diagnosis event list in a specified time period by risk level, instance ID, etc.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBDiagHistory ¶
func (c *Client) DescribeDBDiagHistory(request *DescribeDBDiagHistoryRequest) (response *DescribeDBDiagHistoryResponse, err error)
DescribeDBDiagHistory This API is used to get the list of instance diagnosis events.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBDiagHistoryWithContext ¶
func (c *Client) DescribeDBDiagHistoryWithContext(ctx context.Context, request *DescribeDBDiagHistoryRequest) (response *DescribeDBDiagHistoryResponse, err error)
DescribeDBDiagHistory This API is used to get the list of instance diagnosis events.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBDiagReportTasks ¶
func (c *Client) DescribeDBDiagReportTasks(request *DescribeDBDiagReportTasksRequest) (response *DescribeDBDiagReportTasksResponse, err error)
DescribeDBDiagReportTasks This API is used to query the list of health report generation tasks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBDiagReportTasksWithContext ¶
func (c *Client) DescribeDBDiagReportTasksWithContext(ctx context.Context, request *DescribeDBDiagReportTasksRequest) (response *DescribeDBDiagReportTasksResponse, err error)
DescribeDBDiagReportTasks This API is used to query the list of health report generation tasks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBSpaceStatus ¶
func (c *Client) DescribeDBSpaceStatus(request *DescribeDBSpaceStatusRequest) (response *DescribeDBSpaceStatusResponse, err error)
DescribeDBSpaceStatus This API is used to query the overview of instance space usage during a specified time period, including disk usage growth (MB), available disk space (MB), total disk space (MB), and estimated number of available days.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBSpaceStatusWithContext ¶
func (c *Client) DescribeDBSpaceStatusWithContext(ctx context.Context, request *DescribeDBSpaceStatusRequest) (response *DescribeDBSpaceStatusResponse, err error)
DescribeDBSpaceStatus This API is used to query the overview of instance space usage during a specified time period, including disk usage growth (MB), available disk space (MB), total disk space (MB), and estimated number of available days.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDiagDBInstances ¶
func (c *Client) DescribeDiagDBInstances(request *DescribeDiagDBInstancesRequest) (response *DescribeDiagDBInstancesResponse, err error)
DescribeDiagDBInstances This API is used to get the instance information list. Please always select Guangzhou for `Region`.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDiagDBInstancesWithContext ¶
func (c *Client) DescribeDiagDBInstancesWithContext(ctx context.Context, request *DescribeDiagDBInstancesRequest) (response *DescribeDiagDBInstancesResponse, err error)
DescribeDiagDBInstances This API is used to get the instance information list. Please always select Guangzhou for `Region`.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeHealthScore ¶
func (c *Client) DescribeHealthScore(request *DescribeHealthScoreRequest) (response *DescribeHealthScoreResponse, err error)
DescribeHealthScore This API is used to get the health score and deduction for exceptions in the specified time period (30 minutes) based on the instance ID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeHealthScoreWithContext ¶
func (c *Client) DescribeHealthScoreWithContext(ctx context.Context, request *DescribeHealthScoreRequest) (response *DescribeHealthScoreResponse, err error)
DescribeHealthScore This API is used to get the health score and deduction for exceptions in the specified time period (30 minutes) based on the instance ID.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeMailProfile ¶
func (c *Client) DescribeMailProfile(request *DescribeMailProfileRequest) (response *DescribeMailProfileResponse, err error)
DescribeMailProfile This API is used to get the email sending configuration, including the email configuration for database inspection and the email sending configuration for scheduled task health reports.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeMailProfileWithContext ¶
func (c *Client) DescribeMailProfileWithContext(ctx context.Context, request *DescribeMailProfileRequest) (response *DescribeMailProfileResponse, err error)
DescribeMailProfile This API is used to get the email sending configuration, including the email configuration for database inspection and the email sending configuration for scheduled task health reports.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeMySqlProcessList ¶
func (c *Client) DescribeMySqlProcessList(request *DescribeMySqlProcessListRequest) (response *DescribeMySqlProcessListResponse, err error)
DescribeMySqlProcessList This API is used to query the real-time thread list of a relational database.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeMySqlProcessListWithContext ¶
func (c *Client) DescribeMySqlProcessListWithContext(ctx context.Context, request *DescribeMySqlProcessListRequest) (response *DescribeMySqlProcessListResponse, err error)
DescribeMySqlProcessList This API is used to query the real-time thread list of a relational database.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeProxyProcessStatistics ¶
func (c *Client) DescribeProxyProcessStatistics(request *DescribeProxyProcessStatisticsRequest) (response *DescribeProxyProcessStatisticsResponse, err error)
DescribeProxyProcessStatistics This API is used to get the session statistics of a single proxy under the current instance, and can only be called in particular environments.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeProxyProcessStatisticsWithContext ¶
func (c *Client) DescribeProxyProcessStatisticsWithContext(ctx context.Context, request *DescribeProxyProcessStatisticsRequest) (response *DescribeProxyProcessStatisticsResponse, err error)
DescribeProxyProcessStatistics This API is used to get the session statistics of a single proxy under the current instance, and can only be called in particular environments.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeProxySessionKillTasks ¶
func (c *Client) DescribeProxySessionKillTasks(request *DescribeProxySessionKillTasksRequest) (response *DescribeProxySessionKillTasksResponse, err error)
DescribeProxySessionKillTasks This API is used to query the result of the session killing task executed by the Redis proxy node. The async task ID (an input parameter) is obtained after the API `CreateProxySessionKillTask` is successfully called. Currently, the only valid value of `product` is `redis`.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeProxySessionKillTasksWithContext ¶
func (c *Client) DescribeProxySessionKillTasksWithContext(ctx context.Context, request *DescribeProxySessionKillTasksRequest) (response *DescribeProxySessionKillTasksResponse, err error)
DescribeProxySessionKillTasks This API is used to query the result of the session killing task executed by the Redis proxy node. The async task ID (an input parameter) is obtained after the API `CreateProxySessionKillTask` is successfully called. Currently, the only valid value of `product` is `redis`.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRedisTopKeyPrefixList ¶
func (c *Client) DescribeRedisTopKeyPrefixList(request *DescribeRedisTopKeyPrefixListRequest) (response *DescribeRedisTopKeyPrefixListResponse, err error)
DescribeRedisTopKeyPrefixList This API is used to query the list of top key prefixes for Redis instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRedisTopKeyPrefixListWithContext ¶
func (c *Client) DescribeRedisTopKeyPrefixListWithContext(ctx context.Context, request *DescribeRedisTopKeyPrefixListRequest) (response *DescribeRedisTopKeyPrefixListResponse, err error)
DescribeRedisTopKeyPrefixList This API is used to query the list of top key prefixes for Redis instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSecurityAuditLogDownloadUrls ¶
func (c *Client) DescribeSecurityAuditLogDownloadUrls(request *DescribeSecurityAuditLogDownloadUrlsRequest) (response *DescribeSecurityAuditLogDownloadUrlsResponse, err error)
DescribeSecurityAuditLogDownloadUrls This API is used to query the download link of a security audit log export file. Currently, log file download only provides a Tencent Cloud private network address. Download it by using a CVM instance in the Guangzhou region.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSecurityAuditLogDownloadUrlsWithContext ¶
func (c *Client) DescribeSecurityAuditLogDownloadUrlsWithContext(ctx context.Context, request *DescribeSecurityAuditLogDownloadUrlsRequest) (response *DescribeSecurityAuditLogDownloadUrlsResponse, err error)
DescribeSecurityAuditLogDownloadUrls This API is used to query the download link of a security audit log export file. Currently, log file download only provides a Tencent Cloud private network address. Download it by using a CVM instance in the Guangzhou region.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSecurityAuditLogExportTasks ¶
func (c *Client) DescribeSecurityAuditLogExportTasks(request *DescribeSecurityAuditLogExportTasksRequest) (response *DescribeSecurityAuditLogExportTasksResponse, err error)
DescribeSecurityAuditLogExportTasks This API is used to query the list of security audit log export tasks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSecurityAuditLogExportTasksWithContext ¶
func (c *Client) DescribeSecurityAuditLogExportTasksWithContext(ctx context.Context, request *DescribeSecurityAuditLogExportTasksRequest) (response *DescribeSecurityAuditLogExportTasksResponse, err error)
DescribeSecurityAuditLogExportTasks This API is used to query the list of security audit log export tasks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSlowLogTimeSeriesStats ¶
func (c *Client) DescribeSlowLogTimeSeriesStats(request *DescribeSlowLogTimeSeriesStatsRequest) (response *DescribeSlowLogTimeSeriesStatsResponse, err error)
DescribeSlowLogTimeSeriesStats This API is used to get the slow log statistics histogram.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSlowLogTimeSeriesStatsWithContext ¶
func (c *Client) DescribeSlowLogTimeSeriesStatsWithContext(ctx context.Context, request *DescribeSlowLogTimeSeriesStatsRequest) (response *DescribeSlowLogTimeSeriesStatsResponse, err error)
DescribeSlowLogTimeSeriesStats This API is used to get the slow log statistics histogram.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSlowLogTopSqls ¶
func (c *Client) DescribeSlowLogTopSqls(request *DescribeSlowLogTopSqlsRequest) (response *DescribeSlowLogTopSqlsResponse, err error)
DescribeSlowLogTopSqls This API is used to get and sort the top slow SQL statements in a specified time period by the aggregation mode of SQL template plus schema.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSlowLogTopSqlsWithContext ¶
func (c *Client) DescribeSlowLogTopSqlsWithContext(ctx context.Context, request *DescribeSlowLogTopSqlsRequest) (response *DescribeSlowLogTopSqlsResponse, err error)
DescribeSlowLogTopSqls This API is used to get and sort the top slow SQL statements in a specified time period by the aggregation mode of SQL template plus schema.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSlowLogUserHostStats ¶
func (c *Client) DescribeSlowLogUserHostStats(request *DescribeSlowLogUserHostStatsRequest) (response *DescribeSlowLogUserHostStatsResponse, err error)
DescribeSlowLogUserHostStats This API is used to get the statistical distribution chart of slow log source addresses.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSlowLogUserHostStatsWithContext ¶
func (c *Client) DescribeSlowLogUserHostStatsWithContext(ctx context.Context, request *DescribeSlowLogUserHostStatsRequest) (response *DescribeSlowLogUserHostStatsResponse, err error)
DescribeSlowLogUserHostStats This API is used to get the statistical distribution chart of slow log source addresses.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSlowLogs ¶
func (c *Client) DescribeSlowLogs(request *DescribeSlowLogsRequest) (response *DescribeSlowLogsResponse, err error)
DescribeSlowLogs This API is used to obtain the slow log details of a SQL template in a specified time period.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSlowLogsWithContext ¶
func (c *Client) DescribeSlowLogsWithContext(ctx context.Context, request *DescribeSlowLogsRequest) (response *DescribeSlowLogsResponse, err error)
DescribeSlowLogs This API is used to obtain the slow log details of a SQL template in a specified time period.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTopSpaceSchemaTimeSeries ¶
func (c *Client) DescribeTopSpaceSchemaTimeSeries(request *DescribeTopSpaceSchemaTimeSeriesRequest) (response *DescribeTopSpaceSchemaTimeSeriesResponse, err error)
DescribeTopSpaceSchemaTimeSeries This API is used to get the daily space data of top databases consuming the most instance space. The data is daily collected by DBbrain during a specified time period. The returned results are sorted by size by default.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTopSpaceSchemaTimeSeriesWithContext ¶
func (c *Client) DescribeTopSpaceSchemaTimeSeriesWithContext(ctx context.Context, request *DescribeTopSpaceSchemaTimeSeriesRequest) (response *DescribeTopSpaceSchemaTimeSeriesResponse, err error)
DescribeTopSpaceSchemaTimeSeries This API is used to get the daily space data of top databases consuming the most instance space. The data is daily collected by DBbrain during a specified time period. The returned results are sorted by size by default.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTopSpaceSchemas ¶
func (c *Client) DescribeTopSpaceSchemas(request *DescribeTopSpaceSchemasRequest) (response *DescribeTopSpaceSchemasResponse, err error)
DescribeTopSpaceSchemas This API is used to get the real-time space statistics of top databases of an instance. The returned results are sorted by size by default.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTopSpaceSchemasWithContext ¶
func (c *Client) DescribeTopSpaceSchemasWithContext(ctx context.Context, request *DescribeTopSpaceSchemasRequest) (response *DescribeTopSpaceSchemasResponse, err error)
DescribeTopSpaceSchemas This API is used to get the real-time space statistics of top databases of an instance. The returned results are sorted by size by default.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTopSpaceTableTimeSeries ¶
func (c *Client) DescribeTopSpaceTableTimeSeries(request *DescribeTopSpaceTableTimeSeriesRequest) (response *DescribeTopSpaceTableTimeSeriesResponse, err error)
DescribeTopSpaceTableTimeSeries This API is used to get the daily space data of top tables consuming the most instance space. The data is daily collected by DBbrain during a specified time period. The returned results are sorted by size by default.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTopSpaceTableTimeSeriesWithContext ¶
func (c *Client) DescribeTopSpaceTableTimeSeriesWithContext(ctx context.Context, request *DescribeTopSpaceTableTimeSeriesRequest) (response *DescribeTopSpaceTableTimeSeriesResponse, err error)
DescribeTopSpaceTableTimeSeries This API is used to get the daily space data of top tables consuming the most instance space. The data is daily collected by DBbrain during a specified time period. The returned results are sorted by size by default.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTopSpaceTables ¶
func (c *Client) DescribeTopSpaceTables(request *DescribeTopSpaceTablesRequest) (response *DescribeTopSpaceTablesResponse, err error)
DescribeTopSpaceTables This API is used to get the real-time space statistics of top tables of an instance. The returned results are sorted by size by default.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTopSpaceTablesWithContext ¶
func (c *Client) DescribeTopSpaceTablesWithContext(ctx context.Context, request *DescribeTopSpaceTablesRequest) (response *DescribeTopSpaceTablesResponse, err error)
DescribeTopSpaceTables This API is used to get the real-time space statistics of top tables of an instance. The returned results are sorted by size by default.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeUserSqlAdvice ¶
func (c *Client) DescribeUserSqlAdvice(request *DescribeUserSqlAdviceRequest) (response *DescribeUserSqlAdviceResponse, err error)
DescribeUserSqlAdvice This API is used to get SQL statement optimization suggestions. It is free of charge for a limited time and will be charged after DBbrain is commercialized.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeUserSqlAdviceWithContext ¶
func (c *Client) DescribeUserSqlAdviceWithContext(ctx context.Context, request *DescribeUserSqlAdviceRequest) (response *DescribeUserSqlAdviceResponse, err error)
DescribeUserSqlAdvice This API is used to get SQL statement optimization suggestions. It is free of charge for a limited time and will be charged after DBbrain is commercialized.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) KillMySqlThreads ¶
func (c *Client) KillMySqlThreads(request *KillMySqlThreadsRequest) (response *KillMySqlThreadsResponse, err error)
KillMySqlThreads This API is used to interrupt the current session by session ID. It needs to be called twice to commit the session interruption task in two stages. In the pre-commit stage, the stage value is `Prepare`, and the returned value is `SqlExecId`. In the commit stage, the stage value is `Commit`, and `SqlExecId` will be passed in as a parameter. Then, the session process will be terminated.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) KillMySqlThreadsWithContext ¶
func (c *Client) KillMySqlThreadsWithContext(ctx context.Context, request *KillMySqlThreadsRequest) (response *KillMySqlThreadsResponse, err error)
KillMySqlThreads This API is used to interrupt the current session by session ID. It needs to be called twice to commit the session interruption task in two stages. In the pre-commit stage, the stage value is `Prepare`, and the returned value is `SqlExecId`. In the commit stage, the stage value is `Commit`, and `SqlExecId` will be passed in as a parameter. Then, the session process will be terminated.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyDiagDBInstanceConf ¶
func (c *Client) ModifyDiagDBInstanceConf(request *ModifyDiagDBInstanceConfRequest) (response *ModifyDiagDBInstanceConfResponse, err error)
ModifyDiagDBInstanceConf This API is used to enable/disable instance inspection.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyDiagDBInstanceConfWithContext ¶
func (c *Client) ModifyDiagDBInstanceConfWithContext(ctx context.Context, request *ModifyDiagDBInstanceConfRequest) (response *ModifyDiagDBInstanceConfResponse, err error)
ModifyDiagDBInstanceConf This API is used to enable/disable instance inspection.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
type ContactItem ¶
type CreateDBDiagReportTaskRequest ¶
type CreateDBDiagReportTaskRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Start time, such as "2020-11-08T14:00:00+08:00". StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time, such as "2020-11-09T14:00:00+08:00". EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Whether to send an email. Valid values: `0` (yes), `1` (no). SendMailFlag *int64 `json:"SendMailFlag,omitnil" name:"SendMailFlag"` // Array of the IDs of recipients to receive email. ContactPerson []*int64 `json:"ContactPerson,omitnil" name:"ContactPerson"` // Array of IDs of recipient groups to receive email. ContactGroup []*int64 `json:"ContactGroup,omitnil" name:"ContactGroup"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewCreateDBDiagReportTaskRequest ¶
func NewCreateDBDiagReportTaskRequest() (request *CreateDBDiagReportTaskRequest)
func (*CreateDBDiagReportTaskRequest) FromJsonString ¶
func (r *CreateDBDiagReportTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDBDiagReportTaskRequest) ToJsonString ¶
func (r *CreateDBDiagReportTaskRequest) ToJsonString() string
type CreateDBDiagReportTaskRequestParams ¶
type CreateDBDiagReportTaskRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Start time, such as "2020-11-08T14:00:00+08:00". StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time, such as "2020-11-09T14:00:00+08:00". EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Whether to send an email. Valid values: `0` (yes), `1` (no). SendMailFlag *int64 `json:"SendMailFlag,omitnil" name:"SendMailFlag"` // Array of the IDs of recipients to receive email. ContactPerson []*int64 `json:"ContactPerson,omitnil" name:"ContactPerson"` // Array of IDs of recipient groups to receive email. ContactGroup []*int64 `json:"ContactGroup,omitnil" name:"ContactGroup"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type CreateDBDiagReportTaskResponse ¶
type CreateDBDiagReportTaskResponse struct { *tchttp.BaseResponse Response *CreateDBDiagReportTaskResponseParams `json:"Response"` }
func NewCreateDBDiagReportTaskResponse ¶
func NewCreateDBDiagReportTaskResponse() (response *CreateDBDiagReportTaskResponse)
func (*CreateDBDiagReportTaskResponse) FromJsonString ¶
func (r *CreateDBDiagReportTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDBDiagReportTaskResponse) ToJsonString ¶
func (r *CreateDBDiagReportTaskResponse) ToJsonString() string
type CreateDBDiagReportTaskResponseParams ¶
type CreateDBDiagReportTaskResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task. // Note: This field may return null, indicating that no valid values can be obtained. AsyncRequestId *int64 `json:"AsyncRequestId,omitnil" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateDBDiagReportUrlRequest ¶
type CreateDBDiagReportUrlRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Health report task ID, which can be queried through `DescribeDBDiagReportTasks`. AsyncRequestId *int64 `json:"AsyncRequestId,omitnil" name:"AsyncRequestId"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewCreateDBDiagReportUrlRequest ¶
func NewCreateDBDiagReportUrlRequest() (request *CreateDBDiagReportUrlRequest)
func (*CreateDBDiagReportUrlRequest) FromJsonString ¶
func (r *CreateDBDiagReportUrlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDBDiagReportUrlRequest) ToJsonString ¶
func (r *CreateDBDiagReportUrlRequest) ToJsonString() string
type CreateDBDiagReportUrlRequestParams ¶
type CreateDBDiagReportUrlRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Health report task ID, which can be queried through `DescribeDBDiagReportTasks`. AsyncRequestId *int64 `json:"AsyncRequestId,omitnil" name:"AsyncRequestId"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type CreateDBDiagReportUrlResponse ¶
type CreateDBDiagReportUrlResponse struct { *tchttp.BaseResponse Response *CreateDBDiagReportUrlResponseParams `json:"Response"` }
func NewCreateDBDiagReportUrlResponse ¶
func NewCreateDBDiagReportUrlResponse() (response *CreateDBDiagReportUrlResponse)
func (*CreateDBDiagReportUrlResponse) FromJsonString ¶
func (r *CreateDBDiagReportUrlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDBDiagReportUrlResponse) ToJsonString ¶
func (r *CreateDBDiagReportUrlResponse) ToJsonString() string
type CreateDBDiagReportUrlResponseParams ¶
type CreateDBDiagReportUrlResponseParams struct { // Health report URL. ReportUrl *string `json:"ReportUrl,omitnil" name:"ReportUrl"` // Expiration timestamp of the health report URL (in seconds). ExpireTime *int64 `json:"ExpireTime,omitnil" name:"ExpireTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateKillTaskRequest ¶
type CreateKillTaskRequest struct { *tchttp.BaseRequest // ID of the instance associated with the session killing task. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Task duration in seconds. Pass in `-1` to stop the task manually. Duration *int64 `json:"Duration,omitnil" name:"Duration"` // Client IP, which is a task filter. Host *string `json:"Host,omitnil" name:"Host"` // Database name, which is a task filter. Multiple database names are separated by comma. DB *string `json:"DB,omitnil" name:"DB"` // Related command, which is a task filter. Multiple commands are separated by comma. Command *string `json:"Command,omitnil" name:"Command"` // Task filter. Filtering by single filter prefix is supported. Info *string `json:"Info,omitnil" name:"Info"` // User type, which is a task filter. User *string `json:"User,omitnil" name:"User"` // Session duration in seconds, which is a task filter. Time *int64 `json:"Time,omitnil" name:"Time"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewCreateKillTaskRequest ¶
func NewCreateKillTaskRequest() (request *CreateKillTaskRequest)
func (*CreateKillTaskRequest) FromJsonString ¶
func (r *CreateKillTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateKillTaskRequest) ToJsonString ¶
func (r *CreateKillTaskRequest) ToJsonString() string
type CreateKillTaskRequestParams ¶
type CreateKillTaskRequestParams struct { // ID of the instance associated with the session killing task. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Task duration in seconds. Pass in `-1` to stop the task manually. Duration *int64 `json:"Duration,omitnil" name:"Duration"` // Client IP, which is a task filter. Host *string `json:"Host,omitnil" name:"Host"` // Database name, which is a task filter. Multiple database names are separated by comma. DB *string `json:"DB,omitnil" name:"DB"` // Related command, which is a task filter. Multiple commands are separated by comma. Command *string `json:"Command,omitnil" name:"Command"` // Task filter. Filtering by single filter prefix is supported. Info *string `json:"Info,omitnil" name:"Info"` // User type, which is a task filter. User *string `json:"User,omitnil" name:"User"` // Session duration in seconds, which is a task filter. Time *int64 `json:"Time,omitnil" name:"Time"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type CreateKillTaskResponse ¶
type CreateKillTaskResponse struct { *tchttp.BaseResponse Response *CreateKillTaskResponseParams `json:"Response"` }
func NewCreateKillTaskResponse ¶
func NewCreateKillTaskResponse() (response *CreateKillTaskResponse)
func (*CreateKillTaskResponse) FromJsonString ¶
func (r *CreateKillTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateKillTaskResponse) ToJsonString ¶
func (r *CreateKillTaskResponse) ToJsonString() string
type CreateKillTaskResponseParams ¶
type CreateKillTaskResponseParams struct { // Task status. `1` is returned if the session killing task is successfully created. Status *int64 `json:"Status,omitnil" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateMailProfileRequest ¶
type CreateMailProfileRequest struct { *tchttp.BaseRequest // Email configuration. ProfileInfo *ProfileInfo `json:"ProfileInfo,omitnil" name:"ProfileInfo"` // Configuration level. Valid values: `User` (user-level), `Instance` (instance-level). For database inspection emails, it should be `User`. For scheduled task emails, it should be `Instance`. ProfileLevel *string `json:"ProfileLevel,omitnil" name:"ProfileLevel"` // Configuration name, which needs to be unique. For database inspection emails, this name can be customized as needed. For scheduled task emails, the name should be in the format of "scheduler_" + {instanceId}, such as "schduler_cdb-test". ProfileName *string `json:"ProfileName,omitnil" name:"ProfileName"` // Configuration type. Valid values: `dbScan_mail_configuration` (email configuration of the database inspection report), `scheduler_mail_configuration` (email configuration of the scheduled task report). ProfileType *string `json:"ProfileType,omitnil" name:"ProfileType"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Product *string `json:"Product,omitnil" name:"Product"` // Instance ID bound with the configuration, which is set when the configuration level is `Instance`. Only one instance can be bound at a time. When the configuration level is `User`, leave this parameter empty. BindInstanceIds []*string `json:"BindInstanceIds,omitnil" name:"BindInstanceIds"` }
func NewCreateMailProfileRequest ¶
func NewCreateMailProfileRequest() (request *CreateMailProfileRequest)
func (*CreateMailProfileRequest) FromJsonString ¶
func (r *CreateMailProfileRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMailProfileRequest) ToJsonString ¶
func (r *CreateMailProfileRequest) ToJsonString() string
type CreateMailProfileRequestParams ¶
type CreateMailProfileRequestParams struct { // Email configuration. ProfileInfo *ProfileInfo `json:"ProfileInfo,omitnil" name:"ProfileInfo"` // Configuration level. Valid values: `User` (user-level), `Instance` (instance-level). For database inspection emails, it should be `User`. For scheduled task emails, it should be `Instance`. ProfileLevel *string `json:"ProfileLevel,omitnil" name:"ProfileLevel"` // Configuration name, which needs to be unique. For database inspection emails, this name can be customized as needed. For scheduled task emails, the name should be in the format of "scheduler_" + {instanceId}, such as "schduler_cdb-test". ProfileName *string `json:"ProfileName,omitnil" name:"ProfileName"` // Configuration type. Valid values: `dbScan_mail_configuration` (email configuration of the database inspection report), `scheduler_mail_configuration` (email configuration of the scheduled task report). ProfileType *string `json:"ProfileType,omitnil" name:"ProfileType"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Product *string `json:"Product,omitnil" name:"Product"` // Instance ID bound with the configuration, which is set when the configuration level is `Instance`. Only one instance can be bound at a time. When the configuration level is `User`, leave this parameter empty. BindInstanceIds []*string `json:"BindInstanceIds,omitnil" name:"BindInstanceIds"` }
Predefined struct for user
type CreateMailProfileResponse ¶
type CreateMailProfileResponse struct { *tchttp.BaseResponse Response *CreateMailProfileResponseParams `json:"Response"` }
func NewCreateMailProfileResponse ¶
func NewCreateMailProfileResponse() (response *CreateMailProfileResponse)
func (*CreateMailProfileResponse) FromJsonString ¶
func (r *CreateMailProfileResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMailProfileResponse) ToJsonString ¶
func (r *CreateMailProfileResponse) ToJsonString() string
type CreateMailProfileResponseParams ¶
type CreateMailProfileResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateProxySessionKillTaskRequest ¶
type CreateProxySessionKillTaskRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Service type. Valid value: `redis` (TencentDB for Redis). Product *string `json:"Product,omitnil" name:"Product"` }
func NewCreateProxySessionKillTaskRequest ¶
func NewCreateProxySessionKillTaskRequest() (request *CreateProxySessionKillTaskRequest)
func (*CreateProxySessionKillTaskRequest) FromJsonString ¶
func (r *CreateProxySessionKillTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProxySessionKillTaskRequest) ToJsonString ¶
func (r *CreateProxySessionKillTaskRequest) ToJsonString() string
type CreateProxySessionKillTaskRequestParams ¶
type CreateProxySessionKillTaskRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Service type. Valid value: `redis` (TencentDB for Redis). Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type CreateProxySessionKillTaskResponse ¶
type CreateProxySessionKillTaskResponse struct { *tchttp.BaseResponse Response *CreateProxySessionKillTaskResponseParams `json:"Response"` }
func NewCreateProxySessionKillTaskResponse ¶
func NewCreateProxySessionKillTaskResponse() (response *CreateProxySessionKillTaskResponse)
func (*CreateProxySessionKillTaskResponse) FromJsonString ¶
func (r *CreateProxySessionKillTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProxySessionKillTaskResponse) ToJsonString ¶
func (r *CreateProxySessionKillTaskResponse) ToJsonString() string
type CreateProxySessionKillTaskResponseParams ¶
type CreateProxySessionKillTaskResponseParams struct { // Async task ID that is returned after the session killing task is created. AsyncRequestId *int64 `json:"AsyncRequestId,omitnil" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateSchedulerMailProfileRequest ¶
type CreateSchedulerMailProfileRequest struct { *tchttp.BaseRequest // Value range: 1-7, representing Monday to Sunday respectively. WeekConfiguration []*int64 `json:"WeekConfiguration,omitnil" name:"WeekConfiguration"` // Email configuration. ProfileInfo *ProfileInfo `json:"ProfileInfo,omitnil" name:"ProfileInfo"` // Configuration name, which needs to be unique. For scheduled task emails, the name should be in the format of "scheduler_" + {instanceId}, such as "schduler_cdb-test". ProfileName *string `json:"ProfileName,omitnil" name:"ProfileName"` // ID of the instance for which to configure subscription. BindInstanceId *string `json:"BindInstanceId,omitnil" name:"BindInstanceId"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewCreateSchedulerMailProfileRequest ¶
func NewCreateSchedulerMailProfileRequest() (request *CreateSchedulerMailProfileRequest)
func (*CreateSchedulerMailProfileRequest) FromJsonString ¶
func (r *CreateSchedulerMailProfileRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSchedulerMailProfileRequest) ToJsonString ¶
func (r *CreateSchedulerMailProfileRequest) ToJsonString() string
type CreateSchedulerMailProfileRequestParams ¶
type CreateSchedulerMailProfileRequestParams struct { // Value range: 1-7, representing Monday to Sunday respectively. WeekConfiguration []*int64 `json:"WeekConfiguration,omitnil" name:"WeekConfiguration"` // Email configuration. ProfileInfo *ProfileInfo `json:"ProfileInfo,omitnil" name:"ProfileInfo"` // Configuration name, which needs to be unique. For scheduled task emails, the name should be in the format of "scheduler_" + {instanceId}, such as "schduler_cdb-test". ProfileName *string `json:"ProfileName,omitnil" name:"ProfileName"` // ID of the instance for which to configure subscription. BindInstanceId *string `json:"BindInstanceId,omitnil" name:"BindInstanceId"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type CreateSchedulerMailProfileResponse ¶
type CreateSchedulerMailProfileResponse struct { *tchttp.BaseResponse Response *CreateSchedulerMailProfileResponseParams `json:"Response"` }
func NewCreateSchedulerMailProfileResponse ¶
func NewCreateSchedulerMailProfileResponse() (response *CreateSchedulerMailProfileResponse)
func (*CreateSchedulerMailProfileResponse) FromJsonString ¶
func (r *CreateSchedulerMailProfileResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSchedulerMailProfileResponse) ToJsonString ¶
func (r *CreateSchedulerMailProfileResponse) ToJsonString() string
type CreateSchedulerMailProfileResponseParams ¶
type CreateSchedulerMailProfileResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateSecurityAuditLogExportTaskRequest ¶
type CreateSecurityAuditLogExportTaskRequest struct { *tchttp.BaseRequest // Security audit group ID. SecAuditGroupId *string `json:"SecAuditGroupId,omitnil" name:"SecAuditGroupId"` // Exported log start time, such as 2020-12-28 00:00:00. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Exported log end time, such as 2020-12-28 01:00:00. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Service type. Valid value: `mysql` (TencentDB for MySQL). Product *string `json:"Product,omitnil" name:"Product"` // List of log risk levels. Valid values: `0` (no risk), `1` (low risk), `2` (medium risk), `3` (high risk). DangerLevels []*int64 `json:"DangerLevels,omitnil" name:"DangerLevels"` }
func NewCreateSecurityAuditLogExportTaskRequest ¶
func NewCreateSecurityAuditLogExportTaskRequest() (request *CreateSecurityAuditLogExportTaskRequest)
func (*CreateSecurityAuditLogExportTaskRequest) FromJsonString ¶
func (r *CreateSecurityAuditLogExportTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityAuditLogExportTaskRequest) ToJsonString ¶
func (r *CreateSecurityAuditLogExportTaskRequest) ToJsonString() string
type CreateSecurityAuditLogExportTaskRequestParams ¶
type CreateSecurityAuditLogExportTaskRequestParams struct { // Security audit group ID. SecAuditGroupId *string `json:"SecAuditGroupId,omitnil" name:"SecAuditGroupId"` // Exported log start time, such as 2020-12-28 00:00:00. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Exported log end time, such as 2020-12-28 01:00:00. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Service type. Valid value: `mysql` (TencentDB for MySQL). Product *string `json:"Product,omitnil" name:"Product"` // List of log risk levels. Valid values: `0` (no risk), `1` (low risk), `2` (medium risk), `3` (high risk). DangerLevels []*int64 `json:"DangerLevels,omitnil" name:"DangerLevels"` }
Predefined struct for user
type CreateSecurityAuditLogExportTaskResponse ¶
type CreateSecurityAuditLogExportTaskResponse struct { *tchttp.BaseResponse Response *CreateSecurityAuditLogExportTaskResponseParams `json:"Response"` }
func NewCreateSecurityAuditLogExportTaskResponse ¶
func NewCreateSecurityAuditLogExportTaskResponse() (response *CreateSecurityAuditLogExportTaskResponse)
func (*CreateSecurityAuditLogExportTaskResponse) FromJsonString ¶
func (r *CreateSecurityAuditLogExportTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityAuditLogExportTaskResponse) ToJsonString ¶
func (r *CreateSecurityAuditLogExportTaskResponse) ToJsonString() string
type CreateSecurityAuditLogExportTaskResponseParams ¶
type CreateSecurityAuditLogExportTaskResponseParams struct { // Log export task Id. AsyncRequestId *uint64 `json:"AsyncRequestId,omitnil" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteDBDiagReportTasksRequest ¶
type DeleteDBDiagReportTasksRequest struct { *tchttp.BaseRequest // List of IDs of tasks to be deleted AsyncRequestIds []*int64 `json:"AsyncRequestIds,omitnil" name:"AsyncRequestIds"` // Instance ID InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDeleteDBDiagReportTasksRequest ¶
func NewDeleteDBDiagReportTasksRequest() (request *DeleteDBDiagReportTasksRequest)
func (*DeleteDBDiagReportTasksRequest) FromJsonString ¶
func (r *DeleteDBDiagReportTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDBDiagReportTasksRequest) ToJsonString ¶
func (r *DeleteDBDiagReportTasksRequest) ToJsonString() string
type DeleteDBDiagReportTasksRequestParams ¶
type DeleteDBDiagReportTasksRequestParams struct { // List of IDs of tasks to be deleted AsyncRequestIds []*int64 `json:"AsyncRequestIds,omitnil" name:"AsyncRequestIds"` // Instance ID InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DeleteDBDiagReportTasksResponse ¶
type DeleteDBDiagReportTasksResponse struct { *tchttp.BaseResponse Response *DeleteDBDiagReportTasksResponseParams `json:"Response"` }
func NewDeleteDBDiagReportTasksResponse ¶
func NewDeleteDBDiagReportTasksResponse() (response *DeleteDBDiagReportTasksResponse)
func (*DeleteDBDiagReportTasksResponse) FromJsonString ¶
func (r *DeleteDBDiagReportTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDBDiagReportTasksResponse) ToJsonString ¶
func (r *DeleteDBDiagReportTasksResponse) ToJsonString() string
type DeleteDBDiagReportTasksResponseParams ¶
type DeleteDBDiagReportTasksResponseParams struct { // Task deletion status (`0`: Successful) Status *int64 `json:"Status,omitnil" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteSecurityAuditLogExportTasksRequest ¶
type DeleteSecurityAuditLogExportTasksRequest struct { *tchttp.BaseRequest // Security audit group ID. SecAuditGroupId *string `json:"SecAuditGroupId,omitnil" name:"SecAuditGroupId"` // List of log export task IDs. This API will ignore task IDs that do not exist or have been deleted. AsyncRequestIds []*uint64 `json:"AsyncRequestIds,omitnil" name:"AsyncRequestIds"` // Service type. Valid value: `mysql` (TencentDB for MySQL). Product *string `json:"Product,omitnil" name:"Product"` }
func NewDeleteSecurityAuditLogExportTasksRequest ¶
func NewDeleteSecurityAuditLogExportTasksRequest() (request *DeleteSecurityAuditLogExportTasksRequest)
func (*DeleteSecurityAuditLogExportTasksRequest) FromJsonString ¶
func (r *DeleteSecurityAuditLogExportTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityAuditLogExportTasksRequest) ToJsonString ¶
func (r *DeleteSecurityAuditLogExportTasksRequest) ToJsonString() string
type DeleteSecurityAuditLogExportTasksRequestParams ¶
type DeleteSecurityAuditLogExportTasksRequestParams struct { // Security audit group ID. SecAuditGroupId *string `json:"SecAuditGroupId,omitnil" name:"SecAuditGroupId"` // List of log export task IDs. This API will ignore task IDs that do not exist or have been deleted. AsyncRequestIds []*uint64 `json:"AsyncRequestIds,omitnil" name:"AsyncRequestIds"` // Service type. Valid value: `mysql` (TencentDB for MySQL). Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DeleteSecurityAuditLogExportTasksResponse ¶
type DeleteSecurityAuditLogExportTasksResponse struct { *tchttp.BaseResponse Response *DeleteSecurityAuditLogExportTasksResponseParams `json:"Response"` }
func NewDeleteSecurityAuditLogExportTasksResponse ¶
func NewDeleteSecurityAuditLogExportTasksResponse() (response *DeleteSecurityAuditLogExportTasksResponse)
func (*DeleteSecurityAuditLogExportTasksResponse) FromJsonString ¶
func (r *DeleteSecurityAuditLogExportTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityAuditLogExportTasksResponse) ToJsonString ¶
func (r *DeleteSecurityAuditLogExportTasksResponse) ToJsonString() string
type DeleteSecurityAuditLogExportTasksResponseParams ¶
type DeleteSecurityAuditLogExportTasksResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeAllUserContactRequest ¶
type DescribeAllUserContactRequest struct { *tchttp.BaseRequest // Service type, which is fixed to `mysql`. Product *string `json:"Product,omitnil" name:"Product"` // Array of recipient names. Fuzzy search is supported. Names []*string `json:"Names,omitnil" name:"Names"` }
func NewDescribeAllUserContactRequest ¶
func NewDescribeAllUserContactRequest() (request *DescribeAllUserContactRequest)
func (*DescribeAllUserContactRequest) FromJsonString ¶
func (r *DescribeAllUserContactRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllUserContactRequest) ToJsonString ¶
func (r *DescribeAllUserContactRequest) ToJsonString() string
type DescribeAllUserContactRequestParams ¶
type DescribeAllUserContactRequestParams struct { // Service type, which is fixed to `mysql`. Product *string `json:"Product,omitnil" name:"Product"` // Array of recipient names. Fuzzy search is supported. Names []*string `json:"Names,omitnil" name:"Names"` }
Predefined struct for user
type DescribeAllUserContactResponse ¶
type DescribeAllUserContactResponse struct { *tchttp.BaseResponse Response *DescribeAllUserContactResponseParams `json:"Response"` }
func NewDescribeAllUserContactResponse ¶
func NewDescribeAllUserContactResponse() (response *DescribeAllUserContactResponse)
func (*DescribeAllUserContactResponse) FromJsonString ¶
func (r *DescribeAllUserContactResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllUserContactResponse) ToJsonString ¶
func (r *DescribeAllUserContactResponse) ToJsonString() string
type DescribeAllUserContactResponseParams ¶
type DescribeAllUserContactResponseParams struct { // Total number of recipients. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Recipient information. // Note: This field may return null, indicating that no valid values can be obtained. Contacts []*ContactItem `json:"Contacts,omitnil" name:"Contacts"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeAllUserGroupRequest ¶
type DescribeAllUserGroupRequest struct { *tchttp.BaseRequest // Service type, which is fixed to `mysql`. Product *string `json:"Product,omitnil" name:"Product"` // Array of recipient group names. Fuzzy search is supported. Names []*string `json:"Names,omitnil" name:"Names"` }
func NewDescribeAllUserGroupRequest ¶
func NewDescribeAllUserGroupRequest() (request *DescribeAllUserGroupRequest)
func (*DescribeAllUserGroupRequest) FromJsonString ¶
func (r *DescribeAllUserGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllUserGroupRequest) ToJsonString ¶
func (r *DescribeAllUserGroupRequest) ToJsonString() string
type DescribeAllUserGroupRequestParams ¶
type DescribeAllUserGroupRequestParams struct { // Service type, which is fixed to `mysql`. Product *string `json:"Product,omitnil" name:"Product"` // Array of recipient group names. Fuzzy search is supported. Names []*string `json:"Names,omitnil" name:"Names"` }
Predefined struct for user
type DescribeAllUserGroupResponse ¶
type DescribeAllUserGroupResponse struct { *tchttp.BaseResponse Response *DescribeAllUserGroupResponseParams `json:"Response"` }
func NewDescribeAllUserGroupResponse ¶
func NewDescribeAllUserGroupResponse() (response *DescribeAllUserGroupResponse)
func (*DescribeAllUserGroupResponse) FromJsonString ¶
func (r *DescribeAllUserGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllUserGroupResponse) ToJsonString ¶
func (r *DescribeAllUserGroupResponse) ToJsonString() string
type DescribeAllUserGroupResponseParams ¶
type DescribeAllUserGroupResponseParams struct { // Total number of groups. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Group information. // Note: This field may return null, indicating that no valid values can be obtained. Groups []*GroupItem `json:"Groups,omitnil" name:"Groups"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDBDiagEventRequest ¶
type DescribeDBDiagEventRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Event ID, which can be obtained through the `DescribeDBDiagHistory` API. EventId *int64 `json:"EventId,omitnil" name:"EventId"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeDBDiagEventRequest ¶
func NewDescribeDBDiagEventRequest() (request *DescribeDBDiagEventRequest)
func (*DescribeDBDiagEventRequest) FromJsonString ¶
func (r *DescribeDBDiagEventRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBDiagEventRequest) ToJsonString ¶
func (r *DescribeDBDiagEventRequest) ToJsonString() string
type DescribeDBDiagEventRequestParams ¶
type DescribeDBDiagEventRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Event ID, which can be obtained through the `DescribeDBDiagHistory` API. EventId *int64 `json:"EventId,omitnil" name:"EventId"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeDBDiagEventResponse ¶
type DescribeDBDiagEventResponse struct { *tchttp.BaseResponse Response *DescribeDBDiagEventResponseParams `json:"Response"` }
func NewDescribeDBDiagEventResponse ¶
func NewDescribeDBDiagEventResponse() (response *DescribeDBDiagEventResponse)
func (*DescribeDBDiagEventResponse) FromJsonString ¶
func (r *DescribeDBDiagEventResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBDiagEventResponse) ToJsonString ¶
func (r *DescribeDBDiagEventResponse) ToJsonString() string
type DescribeDBDiagEventResponseParams ¶
type DescribeDBDiagEventResponseParams struct { // Diagnosis item. DiagItem *string `json:"DiagItem,omitnil" name:"DiagItem"` // Diagnosis type. DiagType *string `json:"DiagType,omitnil" name:"DiagType"` // Event ID. EventId *int64 `json:"EventId,omitnil" name:"EventId"` // Diagnosis event details. If there is no additional explanation information, the output will be empty. Explanation *string `json:"Explanation,omitnil" name:"Explanation"` // Diagnosis summary. Outline *string `json:"Outline,omitnil" name:"Outline"` // Found problem. Problem *string `json:"Problem,omitnil" name:"Problem"` // Severity, which can be divided into 5 levels: `1` (Critical), `2` (Severe), `3` (Alarm), `4` (Reminder), `5` (healthy). Severity *int64 `json:"Severity,omitnil" name:"Severity"` // Start time StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Suggestions. If there are no suggestions, the output will be empty. Suggestions *string `json:"Suggestions,omitnil" name:"Suggestions"` // Reserved field. // Note: This field may return null, indicating that no valid values can be obtained. Metric *string `json:"Metric,omitnil" name:"Metric"` // End time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDBDiagEventsRequest ¶
type DescribeDBDiagEventsRequest struct { *tchttp.BaseRequest // Start time in the format of “2021-05-27 00:00:00”. The earliest time that can be queried is 30 days before the current time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time in the format of "2021-05-27 01:00:00". The interval between the end time and the start time can be up to 7 days. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Risk level list. Valid values in descending order of severity: `1` (critical), `2` (serious), `3` (alarm), `4` (warning), `5` (healthy). Severities []*int64 `json:"Severities,omitnil" name:"Severities"` // Instance ID list. InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 50. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeDBDiagEventsRequest ¶
func NewDescribeDBDiagEventsRequest() (request *DescribeDBDiagEventsRequest)
func (*DescribeDBDiagEventsRequest) FromJsonString ¶
func (r *DescribeDBDiagEventsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBDiagEventsRequest) ToJsonString ¶
func (r *DescribeDBDiagEventsRequest) ToJsonString() string
type DescribeDBDiagEventsRequestParams ¶
type DescribeDBDiagEventsRequestParams struct { // Start time in the format of “2021-05-27 00:00:00”. The earliest time that can be queried is 30 days before the current time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time in the format of "2021-05-27 01:00:00". The interval between the end time and the start time can be up to 7 days. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Risk level list. Valid values in descending order of severity: `1` (critical), `2` (serious), `3` (alarm), `4` (warning), `5` (healthy). Severities []*int64 `json:"Severities,omitnil" name:"Severities"` // Instance ID list. InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 50. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeDBDiagEventsResponse ¶
type DescribeDBDiagEventsResponse struct { *tchttp.BaseResponse Response *DescribeDBDiagEventsResponseParams `json:"Response"` }
func NewDescribeDBDiagEventsResponse ¶
func NewDescribeDBDiagEventsResponse() (response *DescribeDBDiagEventsResponse)
func (*DescribeDBDiagEventsResponse) FromJsonString ¶
func (r *DescribeDBDiagEventsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBDiagEventsResponse) ToJsonString ¶
func (r *DescribeDBDiagEventsResponse) ToJsonString() string
type DescribeDBDiagEventsResponseParams ¶
type DescribeDBDiagEventsResponseParams struct { // Total number of diagnosis events. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Diagnosis event list. Items []*DiagHistoryEventItem `json:"Items,omitnil" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDBDiagHistoryRequest ¶
type DescribeDBDiagHistoryRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Start time, such as "2019-09-10 12:13:14". StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time, such as "2019-09-11 12:13:14". The interval between the end time and the start time can be up to 2 days. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeDBDiagHistoryRequest ¶
func NewDescribeDBDiagHistoryRequest() (request *DescribeDBDiagHistoryRequest)
func (*DescribeDBDiagHistoryRequest) FromJsonString ¶
func (r *DescribeDBDiagHistoryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBDiagHistoryRequest) ToJsonString ¶
func (r *DescribeDBDiagHistoryRequest) ToJsonString() string
type DescribeDBDiagHistoryRequestParams ¶
type DescribeDBDiagHistoryRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Start time, such as "2019-09-10 12:13:14". StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time, such as "2019-09-11 12:13:14". The interval between the end time and the start time can be up to 2 days. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeDBDiagHistoryResponse ¶
type DescribeDBDiagHistoryResponse struct { *tchttp.BaseResponse Response *DescribeDBDiagHistoryResponseParams `json:"Response"` }
func NewDescribeDBDiagHistoryResponse ¶
func NewDescribeDBDiagHistoryResponse() (response *DescribeDBDiagHistoryResponse)
func (*DescribeDBDiagHistoryResponse) FromJsonString ¶
func (r *DescribeDBDiagHistoryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBDiagHistoryResponse) ToJsonString ¶
func (r *DescribeDBDiagHistoryResponse) ToJsonString() string
type DescribeDBDiagHistoryResponseParams ¶
type DescribeDBDiagHistoryResponseParams struct { // Event description. Events []*DiagHistoryEventItem `json:"Events,omitnil" name:"Events"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDBDiagReportTasksRequest ¶
type DescribeDBDiagReportTasksRequest struct { *tchttp.BaseRequest // Start time of the first task in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14. It is used for queries by time range. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time of the last task in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14. It is used for queries by time range. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Array of instance IDs, which is used to filter the task list of the specified instance. InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"` // Source that triggers the task. Valid values: `DAILY_INSPECTION` (instance inspection), `SCHEDULED` (scheduled task), and `MANUAL` (manual trigger). Sources []*string `json:"Sources,omitnil" name:"Sources"` // Health level. Valid values: `HEALTH` (healthy), `SUB_HEALTH` (suboptimal), `RISK` (risky), and `HIGH_RISK` (critical). HealthLevels *string `json:"HealthLevels,omitnil" name:"HealthLevels"` // Task status. Valid values: `created` (created), `chosen` (to be executed), `running` (being executed), `failed` (failed), and `finished` (completed). TaskStatuses *string `json:"TaskStatuses,omitnil" name:"TaskStatuses"` // Offset. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: `20`. Maximum value: `100`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeDBDiagReportTasksRequest ¶
func NewDescribeDBDiagReportTasksRequest() (request *DescribeDBDiagReportTasksRequest)
func (*DescribeDBDiagReportTasksRequest) FromJsonString ¶
func (r *DescribeDBDiagReportTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBDiagReportTasksRequest) ToJsonString ¶
func (r *DescribeDBDiagReportTasksRequest) ToJsonString() string
type DescribeDBDiagReportTasksRequestParams ¶
type DescribeDBDiagReportTasksRequestParams struct { // Start time of the first task in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14. It is used for queries by time range. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time of the last task in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14. It is used for queries by time range. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Array of instance IDs, which is used to filter the task list of the specified instance. InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"` // Source that triggers the task. Valid values: `DAILY_INSPECTION` (instance inspection), `SCHEDULED` (scheduled task), and `MANUAL` (manual trigger). Sources []*string `json:"Sources,omitnil" name:"Sources"` // Health level. Valid values: `HEALTH` (healthy), `SUB_HEALTH` (suboptimal), `RISK` (risky), and `HIGH_RISK` (critical). HealthLevels *string `json:"HealthLevels,omitnil" name:"HealthLevels"` // Task status. Valid values: `created` (created), `chosen` (to be executed), `running` (being executed), `failed` (failed), and `finished` (completed). TaskStatuses *string `json:"TaskStatuses,omitnil" name:"TaskStatuses"` // Offset. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: `20`. Maximum value: `100`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeDBDiagReportTasksResponse ¶
type DescribeDBDiagReportTasksResponse struct { *tchttp.BaseResponse Response *DescribeDBDiagReportTasksResponseParams `json:"Response"` }
func NewDescribeDBDiagReportTasksResponse ¶
func NewDescribeDBDiagReportTasksResponse() (response *DescribeDBDiagReportTasksResponse)
func (*DescribeDBDiagReportTasksResponse) FromJsonString ¶
func (r *DescribeDBDiagReportTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBDiagReportTasksResponse) ToJsonString ¶
func (r *DescribeDBDiagReportTasksResponse) ToJsonString() string
type DescribeDBDiagReportTasksResponseParams ¶
type DescribeDBDiagReportTasksResponseParams struct { // Total number of tasks. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of tasks. Tasks []*HealthReportTask `json:"Tasks,omitnil" name:"Tasks"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDBSpaceStatusRequest ¶
type DescribeDBSpaceStatusRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Query period in days. The end date is the current date, and the query period is 7 days by default. RangeDays *int64 `json:"RangeDays,omitnil" name:"RangeDays"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeDBSpaceStatusRequest ¶
func NewDescribeDBSpaceStatusRequest() (request *DescribeDBSpaceStatusRequest)
func (*DescribeDBSpaceStatusRequest) FromJsonString ¶
func (r *DescribeDBSpaceStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBSpaceStatusRequest) ToJsonString ¶
func (r *DescribeDBSpaceStatusRequest) ToJsonString() string
type DescribeDBSpaceStatusRequestParams ¶
type DescribeDBSpaceStatusRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Query period in days. The end date is the current date, and the query period is 7 days by default. RangeDays *int64 `json:"RangeDays,omitnil" name:"RangeDays"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeDBSpaceStatusResponse ¶
type DescribeDBSpaceStatusResponse struct { *tchttp.BaseResponse Response *DescribeDBSpaceStatusResponseParams `json:"Response"` }
func NewDescribeDBSpaceStatusResponse ¶
func NewDescribeDBSpaceStatusResponse() (response *DescribeDBSpaceStatusResponse)
func (*DescribeDBSpaceStatusResponse) FromJsonString ¶
func (r *DescribeDBSpaceStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDBSpaceStatusResponse) ToJsonString ¶
func (r *DescribeDBSpaceStatusResponse) ToJsonString() string
type DescribeDBSpaceStatusResponseParams ¶
type DescribeDBSpaceStatusResponseParams struct { // Disk usage growth in MB. Growth *int64 `json:"Growth,omitnil" name:"Growth"` // Available disk space in MB. Remain *int64 `json:"Remain,omitnil" name:"Remain"` // Total disk space in MB. Total *int64 `json:"Total,omitnil" name:"Total"` // Estimated number of available days. AvailableDays *int64 `json:"AvailableDays,omitnil" name:"AvailableDays"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDiagDBInstancesRequest ¶
type DescribeDiagDBInstancesRequest struct { *tchttp.BaseRequest // Whether it is an instance supported by DBbrain. It is fixed to `true`. IsSupported *bool `json:"IsSupported,omitnil" name:"IsSupported"` // Service type. Valid values: mysql (TencentDB for MySQL), cynosdb (TDSQL-C for MySQL). Default value: mysql. Product *string `json:"Product,omitnil" name:"Product"` // Pagination parameter indicating the offset. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Pagination parameter. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Query by instance name. InstanceNames []*string `json:"InstanceNames,omitnil" name:"InstanceNames"` // Query by instance ID. InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"` // Query by region. Regions []*string `json:"Regions,omitnil" name:"Regions"` }
func NewDescribeDiagDBInstancesRequest ¶
func NewDescribeDiagDBInstancesRequest() (request *DescribeDiagDBInstancesRequest)
func (*DescribeDiagDBInstancesRequest) FromJsonString ¶
func (r *DescribeDiagDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDiagDBInstancesRequest) ToJsonString ¶
func (r *DescribeDiagDBInstancesRequest) ToJsonString() string
type DescribeDiagDBInstancesRequestParams ¶
type DescribeDiagDBInstancesRequestParams struct { // Whether it is an instance supported by DBbrain. It is fixed to `true`. IsSupported *bool `json:"IsSupported,omitnil" name:"IsSupported"` // Service type. Valid values: mysql (TencentDB for MySQL), cynosdb (TDSQL-C for MySQL). Default value: mysql. Product *string `json:"Product,omitnil" name:"Product"` // Pagination parameter indicating the offset. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Pagination parameter. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Query by instance name. InstanceNames []*string `json:"InstanceNames,omitnil" name:"InstanceNames"` // Query by instance ID. InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"` // Query by region. Regions []*string `json:"Regions,omitnil" name:"Regions"` }
Predefined struct for user
type DescribeDiagDBInstancesResponse ¶
type DescribeDiagDBInstancesResponse struct { *tchttp.BaseResponse Response *DescribeDiagDBInstancesResponseParams `json:"Response"` }
func NewDescribeDiagDBInstancesResponse ¶
func NewDescribeDiagDBInstancesResponse() (response *DescribeDiagDBInstancesResponse)
func (*DescribeDiagDBInstancesResponse) FromJsonString ¶
func (r *DescribeDiagDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDiagDBInstancesResponse) ToJsonString ¶
func (r *DescribeDiagDBInstancesResponse) ToJsonString() string
type DescribeDiagDBInstancesResponseParams ¶
type DescribeDiagDBInstancesResponseParams struct { // Total number of instances. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Status of all instance inspection. 0: all instance inspection enabled, 1: all instance inspection disabled. DbScanStatus *int64 `json:"DbScanStatus,omitnil" name:"DbScanStatus"` // Instance information. Items []*InstanceInfo `json:"Items,omitnil" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeHealthScoreRequest ¶
type DescribeHealthScoreRequest struct { *tchttp.BaseRequest // Instance ID for which to get the health score. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Time to get the health score in the format of `2019-09-10 12:13:14`. Time *string `json:"Time,omitnil" name:"Time"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeHealthScoreRequest ¶
func NewDescribeHealthScoreRequest() (request *DescribeHealthScoreRequest)
func (*DescribeHealthScoreRequest) FromJsonString ¶
func (r *DescribeHealthScoreRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHealthScoreRequest) ToJsonString ¶
func (r *DescribeHealthScoreRequest) ToJsonString() string
type DescribeHealthScoreRequestParams ¶
type DescribeHealthScoreRequestParams struct { // Instance ID for which to get the health score. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Time to get the health score in the format of `2019-09-10 12:13:14`. Time *string `json:"Time,omitnil" name:"Time"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeHealthScoreResponse ¶
type DescribeHealthScoreResponse struct { *tchttp.BaseResponse Response *DescribeHealthScoreResponseParams `json:"Response"` }
func NewDescribeHealthScoreResponse ¶
func NewDescribeHealthScoreResponse() (response *DescribeHealthScoreResponse)
func (*DescribeHealthScoreResponse) FromJsonString ¶
func (r *DescribeHealthScoreResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHealthScoreResponse) ToJsonString ¶
func (r *DescribeHealthScoreResponse) ToJsonString() string
type DescribeHealthScoreResponseParams ¶
type DescribeHealthScoreResponseParams struct { // Health score and deduction for exceptions. Data *HealthScoreInfo `json:"Data,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeMailProfileRequest ¶
type DescribeMailProfileRequest struct { *tchttp.BaseRequest // Configuration type. Valid values: `dbScan_mail_configuration` (email configuration of the database inspection report), `scheduler_mail_configuration` (email configuration of the scheduled task report). ProfileType *string `json:"ProfileType,omitnil" name:"ProfileType"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` // Pagination offset. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of results per page in paginated queries. Maximum value: `50`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Query by email configuration name. The name of the scheduled task email configuration should be in the format of "scheduler_"+{instanceId}. ProfileName *string `json:"ProfileName,omitnil" name:"ProfileName"` }
func NewDescribeMailProfileRequest ¶
func NewDescribeMailProfileRequest() (request *DescribeMailProfileRequest)
func (*DescribeMailProfileRequest) FromJsonString ¶
func (r *DescribeMailProfileRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMailProfileRequest) ToJsonString ¶
func (r *DescribeMailProfileRequest) ToJsonString() string
type DescribeMailProfileRequestParams ¶
type DescribeMailProfileRequestParams struct { // Configuration type. Valid values: `dbScan_mail_configuration` (email configuration of the database inspection report), `scheduler_mail_configuration` (email configuration of the scheduled task report). ProfileType *string `json:"ProfileType,omitnil" name:"ProfileType"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` // Pagination offset. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Number of results per page in paginated queries. Maximum value: `50`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Query by email configuration name. The name of the scheduled task email configuration should be in the format of "scheduler_"+{instanceId}. ProfileName *string `json:"ProfileName,omitnil" name:"ProfileName"` }
Predefined struct for user
type DescribeMailProfileResponse ¶
type DescribeMailProfileResponse struct { *tchttp.BaseResponse Response *DescribeMailProfileResponseParams `json:"Response"` }
func NewDescribeMailProfileResponse ¶
func NewDescribeMailProfileResponse() (response *DescribeMailProfileResponse)
func (*DescribeMailProfileResponse) FromJsonString ¶
func (r *DescribeMailProfileResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMailProfileResponse) ToJsonString ¶
func (r *DescribeMailProfileResponse) ToJsonString() string
type DescribeMailProfileResponseParams ¶
type DescribeMailProfileResponseParams struct { // Email configuration details. // Note: This field may return null, indicating that no valid values can be obtained. ProfileList []*UserProfile `json:"ProfileList,omitnil" name:"ProfileList"` // Total number of the configured emails. // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeMySqlProcessListRequest ¶
type DescribeMySqlProcessListRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Thread ID, which is used to filter the thread list. ID *uint64 `json:"ID,omitnil" name:"ID"` // Thread operation account name, which is used to filter the thread list. User *string `json:"User,omitnil" name:"User"` // Thread operation host address, which is used to filter the thread list. Host *string `json:"Host,omitnil" name:"Host"` // Thread operation database, which is used to filter the thread list. DB *string `json:"DB,omitnil" name:"DB"` // Thread operation status, which is used to filter the thread list. State *string `json:"State,omitnil" name:"State"` // Thread execution type, which is used to filter the thread list. Command *string `json:"Command,omitnil" name:"Command"` // Minimum operation duration of the thread in seconds, which is used to filter the list of threads whose operation duration is greater than this value. Time *uint64 `json:"Time,omitnil" name:"Time"` // Thread operation statement, which is used to filter the thread list. Info *string `json:"Info,omitnil" name:"Info"` // Number of returned results. Default value: 20. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Service type. Valid values: mysql (TencentDB for MySQL), cynosdb (TDSQL-C for MySQL). Default value: mysql. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeMySqlProcessListRequest ¶
func NewDescribeMySqlProcessListRequest() (request *DescribeMySqlProcessListRequest)
func (*DescribeMySqlProcessListRequest) FromJsonString ¶
func (r *DescribeMySqlProcessListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMySqlProcessListRequest) ToJsonString ¶
func (r *DescribeMySqlProcessListRequest) ToJsonString() string
type DescribeMySqlProcessListRequestParams ¶
type DescribeMySqlProcessListRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Thread ID, which is used to filter the thread list. ID *uint64 `json:"ID,omitnil" name:"ID"` // Thread operation account name, which is used to filter the thread list. User *string `json:"User,omitnil" name:"User"` // Thread operation host address, which is used to filter the thread list. Host *string `json:"Host,omitnil" name:"Host"` // Thread operation database, which is used to filter the thread list. DB *string `json:"DB,omitnil" name:"DB"` // Thread operation status, which is used to filter the thread list. State *string `json:"State,omitnil" name:"State"` // Thread execution type, which is used to filter the thread list. Command *string `json:"Command,omitnil" name:"Command"` // Minimum operation duration of the thread in seconds, which is used to filter the list of threads whose operation duration is greater than this value. Time *uint64 `json:"Time,omitnil" name:"Time"` // Thread operation statement, which is used to filter the thread list. Info *string `json:"Info,omitnil" name:"Info"` // Number of returned results. Default value: 20. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Service type. Valid values: mysql (TencentDB for MySQL), cynosdb (TDSQL-C for MySQL). Default value: mysql. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeMySqlProcessListResponse ¶
type DescribeMySqlProcessListResponse struct { *tchttp.BaseResponse Response *DescribeMySqlProcessListResponseParams `json:"Response"` }
func NewDescribeMySqlProcessListResponse ¶
func NewDescribeMySqlProcessListResponse() (response *DescribeMySqlProcessListResponse)
func (*DescribeMySqlProcessListResponse) FromJsonString ¶
func (r *DescribeMySqlProcessListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMySqlProcessListResponse) ToJsonString ¶
func (r *DescribeMySqlProcessListResponse) ToJsonString() string
type DescribeMySqlProcessListResponseParams ¶
type DescribeMySqlProcessListResponseParams struct { // List of real-time threads. ProcessList []*MySqlProcess `json:"ProcessList,omitnil" name:"ProcessList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeProxyProcessStatisticsRequest ¶
type DescribeProxyProcessStatisticsRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // The proxy ID you want to query under the instance InstanceProxyId *string `json:"InstanceProxyId,omitnil" name:"InstanceProxyId"` // Number of returned results. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Service type. Valid value: `redis` (TencentDB for Redis). Product *string `json:"Product,omitnil" name:"Product"` // Offset. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Sort by field. Valid values: `AllConn`, `ActiveConn`, `Ip`. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` // Sorting order. Valid values: `DESC`, `ASC`. OrderDirection *string `json:"OrderDirection,omitnil" name:"OrderDirection"` }
func NewDescribeProxyProcessStatisticsRequest ¶
func NewDescribeProxyProcessStatisticsRequest() (request *DescribeProxyProcessStatisticsRequest)
func (*DescribeProxyProcessStatisticsRequest) FromJsonString ¶
func (r *DescribeProxyProcessStatisticsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyProcessStatisticsRequest) ToJsonString ¶
func (r *DescribeProxyProcessStatisticsRequest) ToJsonString() string
type DescribeProxyProcessStatisticsRequestParams ¶
type DescribeProxyProcessStatisticsRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // The proxy ID you want to query under the instance InstanceProxyId *string `json:"InstanceProxyId,omitnil" name:"InstanceProxyId"` // Number of returned results. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Service type. Valid value: `redis` (TencentDB for Redis). Product *string `json:"Product,omitnil" name:"Product"` // Offset. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Sort by field. Valid values: `AllConn`, `ActiveConn`, `Ip`. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` // Sorting order. Valid values: `DESC`, `ASC`. OrderDirection *string `json:"OrderDirection,omitnil" name:"OrderDirection"` }
Predefined struct for user
type DescribeProxyProcessStatisticsResponse ¶
type DescribeProxyProcessStatisticsResponse struct { *tchttp.BaseResponse Response *DescribeProxyProcessStatisticsResponseParams `json:"Response"` }
func NewDescribeProxyProcessStatisticsResponse ¶
func NewDescribeProxyProcessStatisticsResponse() (response *DescribeProxyProcessStatisticsResponse)
func (*DescribeProxyProcessStatisticsResponse) FromJsonString ¶
func (r *DescribeProxyProcessStatisticsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyProcessStatisticsResponse) ToJsonString ¶
func (r *DescribeProxyProcessStatisticsResponse) ToJsonString() string
type DescribeProxyProcessStatisticsResponseParams ¶
type DescribeProxyProcessStatisticsResponseParams struct { // Real-time session statistics. ProcessStatistics *ProcessStatistic `json:"ProcessStatistics,omitnil" name:"ProcessStatistics"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeProxySessionKillTasksRequest ¶
type DescribeProxySessionKillTasksRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // The async session killing task ID, which is obtained after the API `CreateProxySessionKillTask` is successfully called. AsyncRequestIds []*int64 `json:"AsyncRequestIds,omitnil" name:"AsyncRequestIds"` // Service type. Valid value: `redis` (TencentDB for Redis). Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeProxySessionKillTasksRequest ¶
func NewDescribeProxySessionKillTasksRequest() (request *DescribeProxySessionKillTasksRequest)
func (*DescribeProxySessionKillTasksRequest) FromJsonString ¶
func (r *DescribeProxySessionKillTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxySessionKillTasksRequest) ToJsonString ¶
func (r *DescribeProxySessionKillTasksRequest) ToJsonString() string
type DescribeProxySessionKillTasksRequestParams ¶
type DescribeProxySessionKillTasksRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // The async session killing task ID, which is obtained after the API `CreateProxySessionKillTask` is successfully called. AsyncRequestIds []*int64 `json:"AsyncRequestIds,omitnil" name:"AsyncRequestIds"` // Service type. Valid value: `redis` (TencentDB for Redis). Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeProxySessionKillTasksResponse ¶
type DescribeProxySessionKillTasksResponse struct { *tchttp.BaseResponse Response *DescribeProxySessionKillTasksResponseParams `json:"Response"` }
func NewDescribeProxySessionKillTasksResponse ¶
func NewDescribeProxySessionKillTasksResponse() (response *DescribeProxySessionKillTasksResponse)
func (*DescribeProxySessionKillTasksResponse) FromJsonString ¶
func (r *DescribeProxySessionKillTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxySessionKillTasksResponse) ToJsonString ¶
func (r *DescribeProxySessionKillTasksResponse) ToJsonString() string
type DescribeProxySessionKillTasksResponseParams ¶
type DescribeProxySessionKillTasksResponseParams struct { // Session killing task details. Tasks []*TaskInfo `json:"Tasks,omitnil" name:"Tasks"` // Total number of tasks. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeRedisTopKeyPrefixListRequest ¶
type DescribeRedisTopKeyPrefixListRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Date for query, such as `2021-05-27`. You can select a date as early as in the last 30 days for query. Date *string `json:"Date,omitnil" name:"Date"` // Service type. Valid value: `redis` (TencentDB for Redis). Product *string `json:"Product,omitnil" name:"Product"` // The number of queried items. Default value: `20`. Max value: `100`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeRedisTopKeyPrefixListRequest ¶
func NewDescribeRedisTopKeyPrefixListRequest() (request *DescribeRedisTopKeyPrefixListRequest)
func (*DescribeRedisTopKeyPrefixListRequest) FromJsonString ¶
func (r *DescribeRedisTopKeyPrefixListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRedisTopKeyPrefixListRequest) ToJsonString ¶
func (r *DescribeRedisTopKeyPrefixListRequest) ToJsonString() string
type DescribeRedisTopKeyPrefixListRequestParams ¶
type DescribeRedisTopKeyPrefixListRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Date for query, such as `2021-05-27`. You can select a date as early as in the last 30 days for query. Date *string `json:"Date,omitnil" name:"Date"` // Service type. Valid value: `redis` (TencentDB for Redis). Product *string `json:"Product,omitnil" name:"Product"` // The number of queried items. Default value: `20`. Max value: `100`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeRedisTopKeyPrefixListResponse ¶
type DescribeRedisTopKeyPrefixListResponse struct { *tchttp.BaseResponse Response *DescribeRedisTopKeyPrefixListResponseParams `json:"Response"` }
func NewDescribeRedisTopKeyPrefixListResponse ¶
func NewDescribeRedisTopKeyPrefixListResponse() (response *DescribeRedisTopKeyPrefixListResponse)
func (*DescribeRedisTopKeyPrefixListResponse) FromJsonString ¶
func (r *DescribeRedisTopKeyPrefixListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRedisTopKeyPrefixListResponse) ToJsonString ¶
func (r *DescribeRedisTopKeyPrefixListResponse) ToJsonString() string
type DescribeRedisTopKeyPrefixListResponseParams ¶
type DescribeRedisTopKeyPrefixListResponseParams struct { // List of top key prefixes Items []*RedisPreKeySpaceData `json:"Items,omitnil" name:"Items"` // Data collection timestamp in seconds Timestamp *int64 `json:"Timestamp,omitnil" name:"Timestamp"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityAuditLogDownloadUrlsRequest ¶
type DescribeSecurityAuditLogDownloadUrlsRequest struct { *tchttp.BaseRequest // Security audit group ID. SecAuditGroupId *string `json:"SecAuditGroupId,omitnil" name:"SecAuditGroupId"` // Async task Id. AsyncRequestId *uint64 `json:"AsyncRequestId,omitnil" name:"AsyncRequestId"` // Service type. Valid value: `mysql` (TencentDB for MySQL). Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeSecurityAuditLogDownloadUrlsRequest ¶
func NewDescribeSecurityAuditLogDownloadUrlsRequest() (request *DescribeSecurityAuditLogDownloadUrlsRequest)
func (*DescribeSecurityAuditLogDownloadUrlsRequest) FromJsonString ¶
func (r *DescribeSecurityAuditLogDownloadUrlsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityAuditLogDownloadUrlsRequest) ToJsonString ¶
func (r *DescribeSecurityAuditLogDownloadUrlsRequest) ToJsonString() string
type DescribeSecurityAuditLogDownloadUrlsRequestParams ¶
type DescribeSecurityAuditLogDownloadUrlsRequestParams struct { // Security audit group ID. SecAuditGroupId *string `json:"SecAuditGroupId,omitnil" name:"SecAuditGroupId"` // Async task Id. AsyncRequestId *uint64 `json:"AsyncRequestId,omitnil" name:"AsyncRequestId"` // Service type. Valid value: `mysql` (TencentDB for MySQL). Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeSecurityAuditLogDownloadUrlsResponse ¶
type DescribeSecurityAuditLogDownloadUrlsResponse struct { *tchttp.BaseResponse Response *DescribeSecurityAuditLogDownloadUrlsResponseParams `json:"Response"` }
func NewDescribeSecurityAuditLogDownloadUrlsResponse ¶
func NewDescribeSecurityAuditLogDownloadUrlsResponse() (response *DescribeSecurityAuditLogDownloadUrlsResponse)
func (*DescribeSecurityAuditLogDownloadUrlsResponse) FromJsonString ¶
func (r *DescribeSecurityAuditLogDownloadUrlsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityAuditLogDownloadUrlsResponse) ToJsonString ¶
func (r *DescribeSecurityAuditLogDownloadUrlsResponse) ToJsonString() string
type DescribeSecurityAuditLogDownloadUrlsResponseParams ¶
type DescribeSecurityAuditLogDownloadUrlsResponseParams struct { // List of COS URLs of the export results. If the result set is large, it may be divided into multiple URLs for download. Urls []*string `json:"Urls,omitnil" name:"Urls"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityAuditLogExportTasksRequest ¶
type DescribeSecurityAuditLogExportTasksRequest struct { *tchttp.BaseRequest // Security audit group ID. SecAuditGroupId *string `json:"SecAuditGroupId,omitnil" name:"SecAuditGroupId"` // Service type. Valid value: `mysql` (TencentDB for MySQL). Product *string `json:"Product,omitnil" name:"Product"` // List of log export task IDs. AsyncRequestIds []*uint64 `json:"AsyncRequestIds,omitnil" name:"AsyncRequestIds"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: `20`. Maximum value: `100`. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeSecurityAuditLogExportTasksRequest ¶
func NewDescribeSecurityAuditLogExportTasksRequest() (request *DescribeSecurityAuditLogExportTasksRequest)
func (*DescribeSecurityAuditLogExportTasksRequest) FromJsonString ¶
func (r *DescribeSecurityAuditLogExportTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityAuditLogExportTasksRequest) ToJsonString ¶
func (r *DescribeSecurityAuditLogExportTasksRequest) ToJsonString() string
type DescribeSecurityAuditLogExportTasksRequestParams ¶
type DescribeSecurityAuditLogExportTasksRequestParams struct { // Security audit group ID. SecAuditGroupId *string `json:"SecAuditGroupId,omitnil" name:"SecAuditGroupId"` // Service type. Valid value: `mysql` (TencentDB for MySQL). Product *string `json:"Product,omitnil" name:"Product"` // List of log export task IDs. AsyncRequestIds []*uint64 `json:"AsyncRequestIds,omitnil" name:"AsyncRequestIds"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of returned results. Default value: `20`. Maximum value: `100`. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeSecurityAuditLogExportTasksResponse ¶
type DescribeSecurityAuditLogExportTasksResponse struct { *tchttp.BaseResponse Response *DescribeSecurityAuditLogExportTasksResponseParams `json:"Response"` }
func NewDescribeSecurityAuditLogExportTasksResponse ¶
func NewDescribeSecurityAuditLogExportTasksResponse() (response *DescribeSecurityAuditLogExportTasksResponse)
func (*DescribeSecurityAuditLogExportTasksResponse) FromJsonString ¶
func (r *DescribeSecurityAuditLogExportTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityAuditLogExportTasksResponse) ToJsonString ¶
func (r *DescribeSecurityAuditLogExportTasksResponse) ToJsonString() string
type DescribeSecurityAuditLogExportTasksResponseParams ¶
type DescribeSecurityAuditLogExportTasksResponseParams struct { // List of security audit log export tasks. Tasks []*SecLogExportTaskInfo `json:"Tasks,omitnil" name:"Tasks"` // Total numbers of security audit log export tasks. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSlowLogTimeSeriesStatsRequest ¶
type DescribeSlowLogTimeSeriesStatsRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Start time, such as "2019-09-10 12:13:14". StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time, such as "2019-09-10 12:13:14". The interval between the end time and the start time can be up to 7 days. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeSlowLogTimeSeriesStatsRequest ¶
func NewDescribeSlowLogTimeSeriesStatsRequest() (request *DescribeSlowLogTimeSeriesStatsRequest)
func (*DescribeSlowLogTimeSeriesStatsRequest) FromJsonString ¶
func (r *DescribeSlowLogTimeSeriesStatsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowLogTimeSeriesStatsRequest) ToJsonString ¶
func (r *DescribeSlowLogTimeSeriesStatsRequest) ToJsonString() string
type DescribeSlowLogTimeSeriesStatsRequestParams ¶
type DescribeSlowLogTimeSeriesStatsRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Start time, such as "2019-09-10 12:13:14". StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time, such as "2019-09-10 12:13:14". The interval between the end time and the start time can be up to 7 days. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeSlowLogTimeSeriesStatsResponse ¶
type DescribeSlowLogTimeSeriesStatsResponse struct { *tchttp.BaseResponse Response *DescribeSlowLogTimeSeriesStatsResponseParams `json:"Response"` }
func NewDescribeSlowLogTimeSeriesStatsResponse ¶
func NewDescribeSlowLogTimeSeriesStatsResponse() (response *DescribeSlowLogTimeSeriesStatsResponse)
func (*DescribeSlowLogTimeSeriesStatsResponse) FromJsonString ¶
func (r *DescribeSlowLogTimeSeriesStatsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowLogTimeSeriesStatsResponse) ToJsonString ¶
func (r *DescribeSlowLogTimeSeriesStatsResponse) ToJsonString() string
type DescribeSlowLogTimeSeriesStatsResponseParams ¶
type DescribeSlowLogTimeSeriesStatsResponseParams struct { // Time range in seconds in histogram. Period *int64 `json:"Period,omitnil" name:"Period"` // Number of slow logs in the specified time range. TimeSeries []*TimeSlice `json:"TimeSeries,omitnil" name:"TimeSeries"` // Instance CPU utilization monitoring data in the specified time range. SeriesData *MonitorMetricSeriesData `json:"SeriesData,omitnil" name:"SeriesData"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSlowLogTopSqlsRequest ¶
type DescribeSlowLogTopSqlsRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Start time, such as "2019-09-10 12:13:14". StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time in the format of "2019-09-11 10:13:14". The interval between the end time and the start time can be up to 7 days. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Sorting key. Valid values: `QueryTime`, `ExecTimes`, `RowsSent`, `LockTime`, `RowsExamined`. Default value: `QueryTime`. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` // Sorting order. Valid values: `ASC` (ascending), `DESC` (descending). Default value: `DESC`. OrderBy *string `json:"OrderBy,omitnil" name:"OrderBy"` // Number of returned results. Default value: `20`. Maximum value: `100`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Offset. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Database name array. SchemaList []*SchemaItem `json:"SchemaList,omitnil" name:"SchemaList"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeSlowLogTopSqlsRequest ¶
func NewDescribeSlowLogTopSqlsRequest() (request *DescribeSlowLogTopSqlsRequest)
func (*DescribeSlowLogTopSqlsRequest) FromJsonString ¶
func (r *DescribeSlowLogTopSqlsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowLogTopSqlsRequest) ToJsonString ¶
func (r *DescribeSlowLogTopSqlsRequest) ToJsonString() string
type DescribeSlowLogTopSqlsRequestParams ¶
type DescribeSlowLogTopSqlsRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Start time, such as "2019-09-10 12:13:14". StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time in the format of "2019-09-11 10:13:14". The interval between the end time and the start time can be up to 7 days. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Sorting key. Valid values: `QueryTime`, `ExecTimes`, `RowsSent`, `LockTime`, `RowsExamined`. Default value: `QueryTime`. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` // Sorting order. Valid values: `ASC` (ascending), `DESC` (descending). Default value: `DESC`. OrderBy *string `json:"OrderBy,omitnil" name:"OrderBy"` // Number of returned results. Default value: `20`. Maximum value: `100`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Offset. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Database name array. SchemaList []*SchemaItem `json:"SchemaList,omitnil" name:"SchemaList"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeSlowLogTopSqlsResponse ¶
type DescribeSlowLogTopSqlsResponse struct { *tchttp.BaseResponse Response *DescribeSlowLogTopSqlsResponseParams `json:"Response"` }
func NewDescribeSlowLogTopSqlsResponse ¶
func NewDescribeSlowLogTopSqlsResponse() (response *DescribeSlowLogTopSqlsResponse)
func (*DescribeSlowLogTopSqlsResponse) FromJsonString ¶
func (r *DescribeSlowLogTopSqlsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowLogTopSqlsResponse) ToJsonString ¶
func (r *DescribeSlowLogTopSqlsResponse) ToJsonString() string
type DescribeSlowLogTopSqlsResponseParams ¶
type DescribeSlowLogTopSqlsResponseParams struct { // Number of eligible entries. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of top slow SQL statements Rows []*SlowLogTopSqlItem `json:"Rows,omitnil" name:"Rows"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSlowLogUserHostStatsRequest ¶
type DescribeSlowLogUserHostStatsRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Start time of the time range in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time of the time range in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Service type. Valid values: mysql (TencentDB for MySQL), cynosdb (TDSQL-C for MySQL). Default value: mysql. Product *string `json:"Product,omitnil" name:"Product"` // MD5 value of SOL template Md5 *string `json:"Md5,omitnil" name:"Md5"` }
func NewDescribeSlowLogUserHostStatsRequest ¶
func NewDescribeSlowLogUserHostStatsRequest() (request *DescribeSlowLogUserHostStatsRequest)
func (*DescribeSlowLogUserHostStatsRequest) FromJsonString ¶
func (r *DescribeSlowLogUserHostStatsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowLogUserHostStatsRequest) ToJsonString ¶
func (r *DescribeSlowLogUserHostStatsRequest) ToJsonString() string
type DescribeSlowLogUserHostStatsRequestParams ¶
type DescribeSlowLogUserHostStatsRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Start time of the time range in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time of the time range in the format of yyyy-MM-dd HH:mm:ss, such as 2019-09-10 12:13:14. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Service type. Valid values: mysql (TencentDB for MySQL), cynosdb (TDSQL-C for MySQL). Default value: mysql. Product *string `json:"Product,omitnil" name:"Product"` // MD5 value of SOL template Md5 *string `json:"Md5,omitnil" name:"Md5"` }
Predefined struct for user
type DescribeSlowLogUserHostStatsResponse ¶
type DescribeSlowLogUserHostStatsResponse struct { *tchttp.BaseResponse Response *DescribeSlowLogUserHostStatsResponseParams `json:"Response"` }
func NewDescribeSlowLogUserHostStatsResponse ¶
func NewDescribeSlowLogUserHostStatsResponse() (response *DescribeSlowLogUserHostStatsResponse)
func (*DescribeSlowLogUserHostStatsResponse) FromJsonString ¶
func (r *DescribeSlowLogUserHostStatsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowLogUserHostStatsResponse) ToJsonString ¶
func (r *DescribeSlowLogUserHostStatsResponse) ToJsonString() string
type DescribeSlowLogUserHostStatsResponseParams ¶
type DescribeSlowLogUserHostStatsResponseParams struct { // Total number of source addresses. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Detailed list of the proportion of slow logs from each source address. Items []*SlowLogHost `json:"Items,omitnil" name:"Items"` // Detailed list of the percentages of slow logs from different source usernames UserNameItems []*SlowLogUser `json:"UserNameItems,omitnil" name:"UserNameItems"` // The number of source users UserTotalCount *int64 `json:"UserTotalCount,omitnil" name:"UserTotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSlowLogsRequest ¶
type DescribeSlowLogsRequest struct { *tchttp.BaseRequest // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` // Instance ID InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // MD5 value of a SQL template Md5 *string `json:"Md5,omitnil" name:"Md5"` // Start time in the format of "2019-09-10 12:13:14". StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time in the format of "2019-09-11 10:13:14". The interval between the end time and the start time can be up to 7 days. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // The offset. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // The number of queried items. Default value: `20`. Max value: `100`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Database list DB []*string `json:"DB,omitnil" name:"DB"` // Keyword Key []*string `json:"Key,omitnil" name:"Key"` // User User []*string `json:"User,omitnil" name:"User"` // IP Ip []*string `json:"Ip,omitnil" name:"Ip"` // Duration range. The left and right borders of the range are the zeroth and first element of the array, respectively. Time []*int64 `json:"Time,omitnil" name:"Time"` }
func NewDescribeSlowLogsRequest ¶
func NewDescribeSlowLogsRequest() (request *DescribeSlowLogsRequest)
func (*DescribeSlowLogsRequest) FromJsonString ¶
func (r *DescribeSlowLogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowLogsRequest) ToJsonString ¶
func (r *DescribeSlowLogsRequest) ToJsonString() string
type DescribeSlowLogsRequestParams ¶
type DescribeSlowLogsRequestParams struct { // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` // Instance ID InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // MD5 value of a SQL template Md5 *string `json:"Md5,omitnil" name:"Md5"` // Start time in the format of "2019-09-10 12:13:14". StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time in the format of "2019-09-11 10:13:14". The interval between the end time and the start time can be up to 7 days. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // The offset. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // The number of queried items. Default value: `20`. Max value: `100`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Database list DB []*string `json:"DB,omitnil" name:"DB"` // Keyword Key []*string `json:"Key,omitnil" name:"Key"` // User User []*string `json:"User,omitnil" name:"User"` // IP Ip []*string `json:"Ip,omitnil" name:"Ip"` // Duration range. The left and right borders of the range are the zeroth and first element of the array, respectively. Time []*int64 `json:"Time,omitnil" name:"Time"` }
Predefined struct for user
type DescribeSlowLogsResponse ¶
type DescribeSlowLogsResponse struct { *tchttp.BaseResponse Response *DescribeSlowLogsResponseParams `json:"Response"` }
func NewDescribeSlowLogsResponse ¶
func NewDescribeSlowLogsResponse() (response *DescribeSlowLogsResponse)
func (*DescribeSlowLogsResponse) FromJsonString ¶
func (r *DescribeSlowLogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowLogsResponse) ToJsonString ¶
func (r *DescribeSlowLogsResponse) ToJsonString() string
type DescribeSlowLogsResponseParams ¶
type DescribeSlowLogsResponseParams struct { // Number of eligible entries. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Slow log details Rows []*SlowLogInfoItem `json:"Rows,omitnil" name:"Rows"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTopSpaceSchemaTimeSeriesRequest ¶
type DescribeTopSpaceSchemaTimeSeriesRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Number of returned top databases. Maximum value: `100`. Default value: `20`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Field used to sort top databases. Valid values: `DataLength`, `IndexLength`, `TotalLength`, `DataFree`, `FragRatio`, `TableRows`, `PhysicalFileSize` (supported only by TencentDB for MySQL instances). For TencentDB for MySQL instances, the default value is `PhysicalFileSize`. For other database instances, the default value is `TotalLength`. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` // Start date, such as "2021-01-01". It can be as early as 29 days before the current date and is 6 days before the end date by default. StartDate *string `json:"StartDate,omitnil" name:"StartDate"` // End date, such as "2021-01-01". It can be as early as 29 days before the current date and is the current date by default. EndDate *string `json:"EndDate,omitnil" name:"EndDate"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeTopSpaceSchemaTimeSeriesRequest ¶
func NewDescribeTopSpaceSchemaTimeSeriesRequest() (request *DescribeTopSpaceSchemaTimeSeriesRequest)
func (*DescribeTopSpaceSchemaTimeSeriesRequest) FromJsonString ¶
func (r *DescribeTopSpaceSchemaTimeSeriesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopSpaceSchemaTimeSeriesRequest) ToJsonString ¶
func (r *DescribeTopSpaceSchemaTimeSeriesRequest) ToJsonString() string
type DescribeTopSpaceSchemaTimeSeriesRequestParams ¶
type DescribeTopSpaceSchemaTimeSeriesRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Number of returned top databases. Maximum value: `100`. Default value: `20`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Field used to sort top databases. Valid values: `DataLength`, `IndexLength`, `TotalLength`, `DataFree`, `FragRatio`, `TableRows`, `PhysicalFileSize` (supported only by TencentDB for MySQL instances). For TencentDB for MySQL instances, the default value is `PhysicalFileSize`. For other database instances, the default value is `TotalLength`. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` // Start date, such as "2021-01-01". It can be as early as 29 days before the current date and is 6 days before the end date by default. StartDate *string `json:"StartDate,omitnil" name:"StartDate"` // End date, such as "2021-01-01". It can be as early as 29 days before the current date and is the current date by default. EndDate *string `json:"EndDate,omitnil" name:"EndDate"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeTopSpaceSchemaTimeSeriesResponse ¶
type DescribeTopSpaceSchemaTimeSeriesResponse struct { *tchttp.BaseResponse Response *DescribeTopSpaceSchemaTimeSeriesResponseParams `json:"Response"` }
func NewDescribeTopSpaceSchemaTimeSeriesResponse ¶
func NewDescribeTopSpaceSchemaTimeSeriesResponse() (response *DescribeTopSpaceSchemaTimeSeriesResponse)
func (*DescribeTopSpaceSchemaTimeSeriesResponse) FromJsonString ¶
func (r *DescribeTopSpaceSchemaTimeSeriesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopSpaceSchemaTimeSeriesResponse) ToJsonString ¶
func (r *DescribeTopSpaceSchemaTimeSeriesResponse) ToJsonString() string
type DescribeTopSpaceSchemaTimeSeriesResponseParams ¶
type DescribeTopSpaceSchemaTimeSeriesResponseParams struct { // Time series list of the returned space statistics of top databases. TopSpaceSchemaTimeSeries []*SchemaSpaceTimeSeries `json:"TopSpaceSchemaTimeSeries,omitnil" name:"TopSpaceSchemaTimeSeries"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTopSpaceSchemasRequest ¶
type DescribeTopSpaceSchemasRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Number of returned top databases. Maximum value: 100. Default value: 20. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Field used to sort top databases. Valid values: DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, PhysicalFileSize (supported only by TencentDB for MySQL instances). For TencentDB for MySQL instances, the default value is `PhysicalFileSize`. For other database instances, the default value is `TotalLength`. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` // Service type. Valid values: mysql (TencentDB for MySQL), cynosdb (TDSQL-C for MySQL). Default value: mysql. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeTopSpaceSchemasRequest ¶
func NewDescribeTopSpaceSchemasRequest() (request *DescribeTopSpaceSchemasRequest)
func (*DescribeTopSpaceSchemasRequest) FromJsonString ¶
func (r *DescribeTopSpaceSchemasRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopSpaceSchemasRequest) ToJsonString ¶
func (r *DescribeTopSpaceSchemasRequest) ToJsonString() string
type DescribeTopSpaceSchemasRequestParams ¶
type DescribeTopSpaceSchemasRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Number of returned top databases. Maximum value: 100. Default value: 20. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Field used to sort top databases. Valid values: DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, PhysicalFileSize (supported only by TencentDB for MySQL instances). For TencentDB for MySQL instances, the default value is `PhysicalFileSize`. For other database instances, the default value is `TotalLength`. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` // Service type. Valid values: mysql (TencentDB for MySQL), cynosdb (TDSQL-C for MySQL). Default value: mysql. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeTopSpaceSchemasResponse ¶
type DescribeTopSpaceSchemasResponse struct { *tchttp.BaseResponse Response *DescribeTopSpaceSchemasResponseParams `json:"Response"` }
func NewDescribeTopSpaceSchemasResponse ¶
func NewDescribeTopSpaceSchemasResponse() (response *DescribeTopSpaceSchemasResponse)
func (*DescribeTopSpaceSchemasResponse) FromJsonString ¶
func (r *DescribeTopSpaceSchemasResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopSpaceSchemasResponse) ToJsonString ¶
func (r *DescribeTopSpaceSchemasResponse) ToJsonString() string
type DescribeTopSpaceSchemasResponseParams ¶
type DescribeTopSpaceSchemasResponseParams struct { // List of the returned space statistics of top databases. TopSpaceSchemas []*SchemaSpaceData `json:"TopSpaceSchemas,omitnil" name:"TopSpaceSchemas"` // Timestamp (in seconds) of database space data collection points Timestamp *int64 `json:"Timestamp,omitnil" name:"Timestamp"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTopSpaceTableTimeSeriesRequest ¶
type DescribeTopSpaceTableTimeSeriesRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Number of returned top tables. Maximum value: `100`. Default value: `20`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Field used to sort top tables. Valid values: `DataLength`, `IndexLength`, `TotalLength`, `DataFree`, `FragRatio`, `TableRows`, `PhysicalFileSize`. Default value: `PhysicalFileSize`. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` // Start date, such as "2021-01-01". It can be as early as 29 days before the current date and is 6 days before the end date by default. StartDate *string `json:"StartDate,omitnil" name:"StartDate"` // End date, such as "2021-01-01". It can be as early as 29 days before the current date and is the current date by default. EndDate *string `json:"EndDate,omitnil" name:"EndDate"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeTopSpaceTableTimeSeriesRequest ¶
func NewDescribeTopSpaceTableTimeSeriesRequest() (request *DescribeTopSpaceTableTimeSeriesRequest)
func (*DescribeTopSpaceTableTimeSeriesRequest) FromJsonString ¶
func (r *DescribeTopSpaceTableTimeSeriesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopSpaceTableTimeSeriesRequest) ToJsonString ¶
func (r *DescribeTopSpaceTableTimeSeriesRequest) ToJsonString() string
type DescribeTopSpaceTableTimeSeriesRequestParams ¶
type DescribeTopSpaceTableTimeSeriesRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Number of returned top tables. Maximum value: `100`. Default value: `20`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Field used to sort top tables. Valid values: `DataLength`, `IndexLength`, `TotalLength`, `DataFree`, `FragRatio`, `TableRows`, `PhysicalFileSize`. Default value: `PhysicalFileSize`. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` // Start date, such as "2021-01-01". It can be as early as 29 days before the current date and is 6 days before the end date by default. StartDate *string `json:"StartDate,omitnil" name:"StartDate"` // End date, such as "2021-01-01". It can be as early as 29 days before the current date and is the current date by default. EndDate *string `json:"EndDate,omitnil" name:"EndDate"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeTopSpaceTableTimeSeriesResponse ¶
type DescribeTopSpaceTableTimeSeriesResponse struct { *tchttp.BaseResponse Response *DescribeTopSpaceTableTimeSeriesResponseParams `json:"Response"` }
func NewDescribeTopSpaceTableTimeSeriesResponse ¶
func NewDescribeTopSpaceTableTimeSeriesResponse() (response *DescribeTopSpaceTableTimeSeriesResponse)
func (*DescribeTopSpaceTableTimeSeriesResponse) FromJsonString ¶
func (r *DescribeTopSpaceTableTimeSeriesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopSpaceTableTimeSeriesResponse) ToJsonString ¶
func (r *DescribeTopSpaceTableTimeSeriesResponse) ToJsonString() string
type DescribeTopSpaceTableTimeSeriesResponseParams ¶
type DescribeTopSpaceTableTimeSeriesResponseParams struct { // Time series list of the returned space statistics of top tables. TopSpaceTableTimeSeries []*TableSpaceTimeSeries `json:"TopSpaceTableTimeSeries,omitnil" name:"TopSpaceTableTimeSeries"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTopSpaceTablesRequest ¶
type DescribeTopSpaceTablesRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Number of returned top tables. Maximum value: `100`. Default value: `20`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Field used to sort top tables. Valid values: `DataLength`, `IndexLength`, `TotalLength`, `DataFree`, `FragRatio`, `TableRows`, `PhysicalFileSize` (only supported for TencentDB for MySQL instances). For TencentDB for MySQL instances, the default value is `PhysicalFileSize`. For other database instances, the default value is `TotalLength`. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeTopSpaceTablesRequest ¶
func NewDescribeTopSpaceTablesRequest() (request *DescribeTopSpaceTablesRequest)
func (*DescribeTopSpaceTablesRequest) FromJsonString ¶
func (r *DescribeTopSpaceTablesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopSpaceTablesRequest) ToJsonString ¶
func (r *DescribeTopSpaceTablesRequest) ToJsonString() string
type DescribeTopSpaceTablesRequestParams ¶
type DescribeTopSpaceTablesRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Number of returned top tables. Maximum value: `100`. Default value: `20`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Field used to sort top tables. Valid values: `DataLength`, `IndexLength`, `TotalLength`, `DataFree`, `FragRatio`, `TableRows`, `PhysicalFileSize` (only supported for TencentDB for MySQL instances). For TencentDB for MySQL instances, the default value is `PhysicalFileSize`. For other database instances, the default value is `TotalLength`. SortBy *string `json:"SortBy,omitnil" name:"SortBy"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeTopSpaceTablesResponse ¶
type DescribeTopSpaceTablesResponse struct { *tchttp.BaseResponse Response *DescribeTopSpaceTablesResponseParams `json:"Response"` }
func NewDescribeTopSpaceTablesResponse ¶
func NewDescribeTopSpaceTablesResponse() (response *DescribeTopSpaceTablesResponse)
func (*DescribeTopSpaceTablesResponse) FromJsonString ¶
func (r *DescribeTopSpaceTablesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopSpaceTablesResponse) ToJsonString ¶
func (r *DescribeTopSpaceTablesResponse) ToJsonString() string
type DescribeTopSpaceTablesResponseParams ¶
type DescribeTopSpaceTablesResponseParams struct { // List of the returned space statistics of top tables. TopSpaceTables []*TableSpaceData `json:"TopSpaceTables,omitnil" name:"TopSpaceTables"` // Timestamp (in seconds) of tablespace data collection points Timestamp *int64 `json:"Timestamp,omitnil" name:"Timestamp"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeUserSqlAdviceRequest ¶
type DescribeUserSqlAdviceRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // SQL statement. SqlText *string `json:"SqlText,omitnil" name:"SqlText"` // Database name. Schema *string `json:"Schema,omitnil" name:"Schema"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL), `dbbrain-mysql` (self-built MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
func NewDescribeUserSqlAdviceRequest ¶
func NewDescribeUserSqlAdviceRequest() (request *DescribeUserSqlAdviceRequest)
func (*DescribeUserSqlAdviceRequest) FromJsonString ¶
func (r *DescribeUserSqlAdviceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserSqlAdviceRequest) ToJsonString ¶
func (r *DescribeUserSqlAdviceRequest) ToJsonString() string
type DescribeUserSqlAdviceRequestParams ¶
type DescribeUserSqlAdviceRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // SQL statement. SqlText *string `json:"SqlText,omitnil" name:"SqlText"` // Database name. Schema *string `json:"Schema,omitnil" name:"Schema"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL), `dbbrain-mysql` (self-built MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` }
Predefined struct for user
type DescribeUserSqlAdviceResponse ¶
type DescribeUserSqlAdviceResponse struct { *tchttp.BaseResponse Response *DescribeUserSqlAdviceResponseParams `json:"Response"` }
func NewDescribeUserSqlAdviceResponse ¶
func NewDescribeUserSqlAdviceResponse() (response *DescribeUserSqlAdviceResponse)
func (*DescribeUserSqlAdviceResponse) FromJsonString ¶
func (r *DescribeUserSqlAdviceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserSqlAdviceResponse) ToJsonString ¶
func (r *DescribeUserSqlAdviceResponse) ToJsonString() string
type DescribeUserSqlAdviceResponseParams ¶
type DescribeUserSqlAdviceResponseParams struct { // SQL statement optimization suggestions, which can be parsed into JSON arrays. If there is no need for optimization, the output will be empty. Advices *string `json:"Advices,omitnil" name:"Advices"` // Notes of SQL statement optimization suggestions, which can be parsed into String arrays. If there is no need for optimization, the output will be empty. Comments *string `json:"Comments,omitnil" name:"Comments"` // SQL statement. SqlText *string `json:"SqlText,omitnil" name:"SqlText"` // Database name. Schema *string `json:"Schema,omitnil" name:"Schema"` // DDL information of related tables, which can be parsed into JSON arrays. Tables *string `json:"Tables,omitnil" name:"Tables"` // SQL execution plan, which can be parsed into JSON arrays. If there is no need for optimization, the output will be empty. SqlPlan *string `json:"SqlPlan,omitnil" name:"SqlPlan"` // Cost saving details after SQL statement optimization, which can be parsed into JSON arrays. If there is no need for optimization, the output will be empty. Cost *string `json:"Cost,omitnil" name:"Cost"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DiagHistoryEventItem ¶
type DiagHistoryEventItem struct { // Diagnosis type. DiagType *string `json:"DiagType,omitnil" name:"DiagType"` // End time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Unique event ID. EventId *int64 `json:"EventId,omitnil" name:"EventId"` // Severity, which can be divided into 5 levels: 1: fatal, 2: severe, 3: warning, 4: notice, 5: healthy. Severity *int64 `json:"Severity,omitnil" name:"Severity"` // Diagnosis summary. Outline *string `json:"Outline,omitnil" name:"Outline"` // Diagnosis item description. DiagItem *string `json:"DiagItem,omitnil" name:"DiagItem"` // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Reserved field. // Note: this field may return null, indicating that no valid values can be obtained. Metric *string `json:"Metric,omitnil" name:"Metric"` // Region. Region *string `json:"Region,omitnil" name:"Region"` }
type EventInfo ¶
type EventInfo struct { // Event ID. EventId *int64 `json:"EventId,omitnil" name:"EventId"` // Diagnosis type. DiagType *string `json:"DiagType,omitnil" name:"DiagType"` // Start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Summary. Outline *string `json:"Outline,omitnil" name:"Outline"` // Severity, which can be divided into 5 levels: `1` (Critical), `2` (Severe), `3` (Alarm), `4` (Reminder), `5` (Healthy). Severity *int64 `json:"Severity,omitnil" name:"Severity"` // Deduction. ScoreLost *int64 `json:"ScoreLost,omitnil" name:"ScoreLost"` // Reserved field. Metric *string `json:"Metric,omitnil" name:"Metric"` // Number of alarms. Count *int64 `json:"Count,omitnil" name:"Count"` }
type HealthReportTask ¶
type HealthReportTask struct { // Async task request ID. AsyncRequestId *int64 `json:"AsyncRequestId,omitnil" name:"AsyncRequestId"` // Source that triggers the task. Valid values: `DAILY_INSPECTION` (instance inspection), `SCHEDULED` (scheduled task), and `MANUAL` (manual trigger). Source *string `json:"Source,omitnil" name:"Source"` // Task progress in %. Progress *int64 `json:"Progress,omitnil" name:"Progress"` // Task creation time. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Task start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Task end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Basic information of the instance to which the task belongs. InstanceInfo *InstanceBasicInfo `json:"InstanceInfo,omitnil" name:"InstanceInfo"` // Health information in health report. HealthStatus *HealthStatus `json:"HealthStatus,omitnil" name:"HealthStatus"` }
type HealthScoreInfo ¶
type HealthScoreInfo struct { // Exception details. IssueTypes []*IssueTypeInfo `json:"IssueTypes,omitnil" name:"IssueTypes"` // Total number of exceptions. EventsTotalCount *int64 `json:"EventsTotalCount,omitnil" name:"EventsTotalCount"` // Health score. HealthScore *int64 `json:"HealthScore,omitnil" name:"HealthScore"` // Health level, such as `HEALTH`, `SUB_HEALTH`, `RISK`, and `HIGH_RISK`. HealthLevel *string `json:"HealthLevel,omitnil" name:"HealthLevel"` }
type HealthStatus ¶
type HealthStatus struct { // Health score out of 100 points. HealthScore *int64 `json:"HealthScore,omitnil" name:"HealthScore"` // Health level. Valid values: `HEALTH` (healthy), `SUB_HEALTH` (sub-healthy), `RISK` (dangerous), and `HIGH_RISK` (high-risk). HealthLevel *string `json:"HealthLevel,omitnil" name:"HealthLevel"` // Total deducted scores. ScoreLost *int64 `json:"ScoreLost,omitnil" name:"ScoreLost"` // Deduction details. // Note: This field may return null, indicating that no valid values can be obtained. ScoreDetails []*ScoreDetail `json:"ScoreDetails,omitnil" name:"ScoreDetails"` }
type InstanceBasicInfo ¶
type InstanceBasicInfo struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Instance name. InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"` // Private IP of the instance. Vip *string `json:"Vip,omitnil" name:"Vip"` // Private port of the instance. Vport *int64 `json:"Vport,omitnil" name:"Vport"` // Instance service. Product *string `json:"Product,omitnil" name:"Product"` // Instance engine version. EngineVersion *string `json:"EngineVersion,omitnil" name:"EngineVersion"` }
type InstanceConfs ¶
type InstanceConfs struct { // Whether to enable database inspection. Valid values: Yes, No. DailyInspection *string `json:"DailyInspection,omitnil" name:"DailyInspection"` // Whether to enable instance overview. Valid values: Yes, No. OverviewDisplay *string `json:"OverviewDisplay,omitnil" name:"OverviewDisplay"` // Custom big key analysis separator for Redis only // Note: This field may return null, indicating that no valid values can be obtained. KeyDelimiters []*string `json:"KeyDelimiters,omitnil" name:"KeyDelimiters"` }
type InstanceInfo ¶
type InstanceInfo struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Instance name. InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"` // Instance region. Region *string `json:"Region,omitnil" name:"Region"` // Health score. HealthScore *int64 `json:"HealthScore,omitnil" name:"HealthScore"` // Service. Product *string `json:"Product,omitnil" name:"Product"` // Number of exceptions. EventCount *int64 `json:"EventCount,omitnil" name:"EventCount"` // Instance type. Valid values: 1 (MASTER), 2 (DR), 3 (RO), 4 (SDR) InstanceType *int64 `json:"InstanceType,omitnil" name:"InstanceType"` // Number of cores. Cpu *int64 `json:"Cpu,omitnil" name:"Cpu"` // Memory in MB. Memory *int64 `json:"Memory,omitnil" name:"Memory"` // Disk storage in GB. Volume *int64 `json:"Volume,omitnil" name:"Volume"` // Database version. EngineVersion *string `json:"EngineVersion,omitnil" name:"EngineVersion"` // Private network address. Vip *string `json:"Vip,omitnil" name:"Vip"` // Private network port. Vport *int64 `json:"Vport,omitnil" name:"Vport"` // Access source. Source *string `json:"Source,omitnil" name:"Source"` // Group ID. GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // Group name. GroupName *string `json:"GroupName,omitnil" name:"GroupName"` // Instance status. Valid values: 0 (delivering), 1 (running), 4 (terminating), 5 (isolated) Status *int64 `json:"Status,omitnil" name:"Status"` // Unified subnet ID. UniqSubnetId *string `json:"UniqSubnetId,omitnil" name:"UniqSubnetId"` // TencentDB instance type. DeployMode *string `json:"DeployMode,omitnil" name:"DeployMode"` // TencentDB instance initialization flag. Valid values: 0 (not initialized), 1 (initialized). InitFlag *int64 `json:"InitFlag,omitnil" name:"InitFlag"` // Task status. TaskStatus *int64 `json:"TaskStatus,omitnil" name:"TaskStatus"` // Unified VPC ID. UniqVpcId *string `json:"UniqVpcId,omitnil" name:"UniqVpcId"` // Instance inspection/overview status. InstanceConf *InstanceConfs `json:"InstanceConf,omitnil" name:"InstanceConf"` // Resource expiration time. DeadlineTime *string `json:"DeadlineTime,omitnil" name:"DeadlineTime"` // Whether it is an instance supported by DBbrain. IsSupported *bool `json:"IsSupported,omitnil" name:"IsSupported"` // Status of instance security audit log. Valid values: ON (enabled), OFF (disabled). SecAuditStatus *string `json:"SecAuditStatus,omitnil" name:"SecAuditStatus"` // Status of instance audit log. Valid values: ALL_AUDIT (full audit is enabled), RULE_AUDIT (rule audit is enabled), UNBOUND (audit is disabled). AuditPolicyStatus *string `json:"AuditPolicyStatus,omitnil" name:"AuditPolicyStatus"` // Running status of instance audit log. Valid values: normal (running), paused (suspension due to overdue payment). AuditRunningStatus *string `json:"AuditRunningStatus,omitnil" name:"AuditRunningStatus"` // Private VIP // Note: This field may return null, indicating that no valid values can be obtained. InternalVip *string `json:"InternalVip,omitnil" name:"InternalVip"` // Private network port // Note: This field may return null, indicating that no valid values can be obtained. InternalVport *int64 `json:"InternalVport,omitnil" name:"InternalVport"` // Creation time CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Cluster ID. This field is only required for cluster database products like TDSQL-C. // Note: This field may return null, indicating that no valid values can be obtained. ClusterId *string `json:"ClusterId,omitnil" name:"ClusterId"` // Cluster name. This field is only required for cluster database products like TDSQL-C. // Note: This field may return null, indicating that no valid values can be obtained. ClusterName *string `json:"ClusterName,omitnil" name:"ClusterName"` }
type IssueTypeInfo ¶
type IssueTypeInfo struct { // Metric categories. Valid values: `AVAILABILITY`, `MAINTAINABILITY`, `PERFORMANCE`, and `RELIABILITY`. IssueType *string `json:"IssueType,omitnil" name:"IssueType"` // Exception. Events []*EventInfo `json:"Events,omitnil" name:"Events"` // Total number of exceptions. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` }
type KillMySqlThreadsRequest ¶
type KillMySqlThreadsRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // The stage of a session killing task. Valid values: `Prepare` (preparation stage), `Commit` (commit stage). Stage *string `json:"Stage,omitnil" name:"Stage"` // List of IDs of the MySQL sessions to be killed. This parameter is used in the `Prepare` stage. Threads []*int64 `json:"Threads,omitnil" name:"Threads"` // Execution ID. This parameter is used in the `Commit` stage. SqlExecId *string `json:"SqlExecId,omitnil" name:"SqlExecId"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` // Whether to record the thread killing history. The default value is `true`, indicating “yes”. You can set it to `false` (“no”) to speed up the killing process. RecordHistory *bool `json:"RecordHistory,omitnil" name:"RecordHistory"` }
func NewKillMySqlThreadsRequest ¶
func NewKillMySqlThreadsRequest() (request *KillMySqlThreadsRequest)
func (*KillMySqlThreadsRequest) FromJsonString ¶
func (r *KillMySqlThreadsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*KillMySqlThreadsRequest) ToJsonString ¶
func (r *KillMySqlThreadsRequest) ToJsonString() string
type KillMySqlThreadsRequestParams ¶
type KillMySqlThreadsRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // The stage of a session killing task. Valid values: `Prepare` (preparation stage), `Commit` (commit stage). Stage *string `json:"Stage,omitnil" name:"Stage"` // List of IDs of the MySQL sessions to be killed. This parameter is used in the `Prepare` stage. Threads []*int64 `json:"Threads,omitnil" name:"Threads"` // Execution ID. This parameter is used in the `Commit` stage. SqlExecId *string `json:"SqlExecId,omitnil" name:"SqlExecId"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Default value: `mysql`. Product *string `json:"Product,omitnil" name:"Product"` // Whether to record the thread killing history. The default value is `true`, indicating “yes”. You can set it to `false` (“no”) to speed up the killing process. RecordHistory *bool `json:"RecordHistory,omitnil" name:"RecordHistory"` }
Predefined struct for user
type KillMySqlThreadsResponse ¶
type KillMySqlThreadsResponse struct { *tchttp.BaseResponse Response *KillMySqlThreadsResponseParams `json:"Response"` }
func NewKillMySqlThreadsResponse ¶
func NewKillMySqlThreadsResponse() (response *KillMySqlThreadsResponse)
func (*KillMySqlThreadsResponse) FromJsonString ¶
func (r *KillMySqlThreadsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*KillMySqlThreadsResponse) ToJsonString ¶
func (r *KillMySqlThreadsResponse) ToJsonString() string
type KillMySqlThreadsResponseParams ¶
type KillMySqlThreadsResponseParams struct { // List of IDs of the MySQL sessions that have been killed. Threads []*int64 `json:"Threads,omitnil" name:"Threads"` // Execution ID, which is output in the `Prepare` stage and used to specify the ID of the session to be killed in the `Commit` stage. // Note: This field may return null, indicating that no valid values can be obtained. SqlExecId *string `json:"SqlExecId,omitnil" name:"SqlExecId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type MailConfiguration ¶
type MailConfiguration struct { // Whether to enable email sending. Valid values: `0` (no), `1` (yes). SendMail *int64 `json:"SendMail,omitnil" name:"SendMail"` // Region configuration, such as "ap-guangzhou" and "ap-shanghai". For the inspection email sending template, configure the region where you need to send the inspection email. For the subscription email sending template, configure the region where the current subscribed instance resides. Region []*string `json:"Region,omitnil" name:"Region"` // Sends a report with the specified health level, such as `HEALTH`, `SUB_HEALTH`, `RISK`, and `HIGH_RISK`. HealthStatus []*string `json:"HealthStatus,omitnil" name:"HealthStatus"` // Recipient ID. Either `ContactPerson` or `ContactGroup` should be passed in. ContactPerson []*int64 `json:"ContactPerson,omitnil" name:"ContactPerson"` // Recipient group ID. Either `ContactPerson` or `ContactGroup` should be passed in. ContactGroup []*int64 `json:"ContactGroup,omitnil" name:"ContactGroup"` }
type ModifyDiagDBInstanceConfRequest ¶
type ModifyDiagDBInstanceConfRequest struct { *tchttp.BaseRequest // Instance configuration, including inspection and overview switch. InstanceConfs *InstanceConfs `json:"InstanceConfs,omitnil" name:"InstanceConfs"` // Target regions of the request. If the value is `All`, it is applied to all regions. Regions *string `json:"Regions,omitnil" name:"Regions"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Product *string `json:"Product,omitnil" name:"Product"` // ID of the instance to modify. InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"` }
func NewModifyDiagDBInstanceConfRequest ¶
func NewModifyDiagDBInstanceConfRequest() (request *ModifyDiagDBInstanceConfRequest)
func (*ModifyDiagDBInstanceConfRequest) FromJsonString ¶
func (r *ModifyDiagDBInstanceConfRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDiagDBInstanceConfRequest) ToJsonString ¶
func (r *ModifyDiagDBInstanceConfRequest) ToJsonString() string
type ModifyDiagDBInstanceConfRequestParams ¶
type ModifyDiagDBInstanceConfRequestParams struct { // Instance configuration, including inspection and overview switch. InstanceConfs *InstanceConfs `json:"InstanceConfs,omitnil" name:"InstanceConfs"` // Target regions of the request. If the value is `All`, it is applied to all regions. Regions *string `json:"Regions,omitnil" name:"Regions"` // Service type. Valid values: `mysql` (TencentDB for MySQL), `cynosdb` (TDSQL-C for MySQL). Product *string `json:"Product,omitnil" name:"Product"` // ID of the instance to modify. InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"` }
Predefined struct for user
type ModifyDiagDBInstanceConfResponse ¶
type ModifyDiagDBInstanceConfResponse struct { *tchttp.BaseResponse Response *ModifyDiagDBInstanceConfResponseParams `json:"Response"` }
func NewModifyDiagDBInstanceConfResponse ¶
func NewModifyDiagDBInstanceConfResponse() (response *ModifyDiagDBInstanceConfResponse)
func (*ModifyDiagDBInstanceConfResponse) FromJsonString ¶
func (r *ModifyDiagDBInstanceConfResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDiagDBInstanceConfResponse) ToJsonString ¶
func (r *ModifyDiagDBInstanceConfResponse) ToJsonString() string
type ModifyDiagDBInstanceConfResponseParams ¶
type ModifyDiagDBInstanceConfResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type MonitorFloatMetric ¶
type MonitorFloatMetric struct { // Metric name. Metric *string `json:"Metric,omitnil" name:"Metric"` // Metric unit. Unit *string `json:"Unit,omitnil" name:"Unit"` // Metric value. // Note: This field may return null, indicating that no valid values can be obtained. Values []*float64 `json:"Values,omitnil" name:"Values"` }
type MonitorFloatMetricSeriesData ¶
type MonitorFloatMetricSeriesData struct { // Monitoring metric. Series []*MonitorFloatMetric `json:"Series,omitnil" name:"Series"` // Timestamp corresponding to monitoring metric. Timestamp []*int64 `json:"Timestamp,omitnil" name:"Timestamp"` }
type MonitorMetric ¶
type MonitorMetric struct { // Metric name. Metric *string `json:"Metric,omitnil" name:"Metric"` // Metric unit. Unit *string `json:"Unit,omitnil" name:"Unit"` // Metric value. // Note: This field may return null, indicating that no valid values can be obtained. Values []*float64 `json:"Values,omitnil" name:"Values"` }
type MonitorMetricSeriesData ¶
type MonitorMetricSeriesData struct { // Monitoring metric. Series []*MonitorMetric `json:"Series,omitnil" name:"Series"` // Timestamp corresponding to monitoring metric. Timestamp []*int64 `json:"Timestamp,omitnil" name:"Timestamp"` }
type MySqlProcess ¶
type MySqlProcess struct { // Thread ID. ID *string `json:"ID,omitnil" name:"ID"` // Thread operation account name. User *string `json:"User,omitnil" name:"User"` // Thread operation host address. Host *string `json:"Host,omitnil" name:"Host"` // Thread operation database. DB *string `json:"DB,omitnil" name:"DB"` // Thread operation status. State *string `json:"State,omitnil" name:"State"` // Thread execution type. Command *string `json:"Command,omitnil" name:"Command"` // Thread operation duration in seconds. Time *string `json:"Time,omitnil" name:"Time"` // Thread operation statement. Info *string `json:"Info,omitnil" name:"Info"` }
type ProcessStatistic ¶
type ProcessStatistic struct { // Array of session details Items []*SessionItem `json:"Items,omitnil" name:"Items"` // The total number of connections AllConnSum *int64 `json:"AllConnSum,omitnil" name:"AllConnSum"` // The total number of active connections ActiveConnSum *int64 `json:"ActiveConnSum,omitnil" name:"ActiveConnSum"` }
type ProfileInfo ¶
type ProfileInfo struct { // Email language, such as `en`. Language *string `json:"Language,omitnil" name:"Language"` // Email template content. MailConfiguration *MailConfiguration `json:"MailConfiguration,omitnil" name:"MailConfiguration"` }
type RedisPreKeySpaceData ¶
type RedisPreKeySpaceData struct { // Average element length AveElementSize *int64 `json:"AveElementSize,omitnil" name:"AveElementSize"` // Total memory usage in bytes Length *int64 `json:"Length,omitnil" name:"Length"` // Key prefix KeyPreIndex *string `json:"KeyPreIndex,omitnil" name:"KeyPreIndex"` // The number of elements ItemCount *int64 `json:"ItemCount,omitnil" name:"ItemCount"` // The number of keys Count *int64 `json:"Count,omitnil" name:"Count"` // The max element length MaxElementSize *int64 `json:"MaxElementSize,omitnil" name:"MaxElementSize"` }
type SchemaItem ¶
type SchemaItem struct { // Database name Schema *string `json:"Schema,omitnil" name:"Schema"` }
type SchemaSpaceData ¶
type SchemaSpaceData struct { // Database name. TableSchema *string `json:"TableSchema,omitnil" name:"TableSchema"` // Data space in MB. DataLength *float64 `json:"DataLength,omitnil" name:"DataLength"` // Index space in MB. IndexLength *float64 `json:"IndexLength,omitnil" name:"IndexLength"` // Fragmented space in MB. DataFree *float64 `json:"DataFree,omitnil" name:"DataFree"` // Total space usage in MB. TotalLength *float64 `json:"TotalLength,omitnil" name:"TotalLength"` // Fragmentation rate in %. FragRatio *float64 `json:"FragRatio,omitnil" name:"FragRatio"` // Number of rows. TableRows *int64 `json:"TableRows,omitnil" name:"TableRows"` // Total size in MB of physical files exclusive to all tables in the database. // Note: this field may return null, indicating that no valid values can be obtained. PhysicalFileSize *float64 `json:"PhysicalFileSize,omitnil" name:"PhysicalFileSize"` }
type SchemaSpaceTimeSeries ¶
type SchemaSpaceTimeSeries struct { // Database name TableSchema *string `json:"TableSchema,omitnil" name:"TableSchema"` // Space metric value in a unit of time interval SeriesData *MonitorMetricSeriesData `json:"SeriesData,omitnil" name:"SeriesData"` }
type ScoreDetail ¶
type ScoreDetail struct { // Deduction item type. Valid values: `Availability`, `Maintainability`, `Performance`, `Reliability`. IssueType *string `json:"IssueType,omitnil" name:"IssueType"` // Total deducted scores. ScoreLost *int64 `json:"ScoreLost,omitnil" name:"ScoreLost"` // Upper limit of the deducted scores. ScoreLostMax *int64 `json:"ScoreLostMax,omitnil" name:"ScoreLostMax"` // List of deduction items. // Note: This field may return null, indicating that no valid values can be obtained. Items []*ScoreItem `json:"Items,omitnil" name:"Items"` }
type ScoreItem ¶
type ScoreItem struct { // Exception diagnosis item name. DiagItem *string `json:"DiagItem,omitnil" name:"DiagItem"` // Diagnosis item type. Valid values: `Availability`, `Maintainability`, `Performance`, `Reliability`. IssueType *string `json:"IssueType,omitnil" name:"IssueType"` // Health level. Valid values: `Healthy`, `Reminder`, `Alarm`, `Severe`, `Critical`. TopSeverity *string `json:"TopSeverity,omitnil" name:"TopSeverity"` // Number of occurrences of this exception diagnosis item. Count *int64 `json:"Count,omitnil" name:"Count"` // Deducted scores. ScoreLost *int64 `json:"ScoreLost,omitnil" name:"ScoreLost"` }
type SecLogExportTaskInfo ¶
type SecLogExportTaskInfo struct { // Async task Id. AsyncRequestId *uint64 `json:"AsyncRequestId,omitnil" name:"AsyncRequestId"` // Task start time. // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Task end time. // Note: This field may return null, indicating that no valid values can be obtained. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Task creation time. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Task status. Status *string `json:"Status,omitnil" name:"Status"` // Task progress. Progress *uint64 `json:"Progress,omitnil" name:"Progress"` // Exported log start time. // Note: This field may return null, indicating that no valid values can be obtained. LogStartTime *string `json:"LogStartTime,omitnil" name:"LogStartTime"` // Exported log end time. // Note: This field may return null, indicating that no valid values can be obtained. LogEndTime *string `json:"LogEndTime,omitnil" name:"LogEndTime"` // Total size of log files in KB. // Note: This field may return null, indicating that no valid values can be obtained. TotalSize *uint64 `json:"TotalSize,omitnil" name:"TotalSize"` // List of risk levels. Valid values: `0` (no risk), `1` (low risk), `2` (medium risk), `3` (high risk). // Note: This field may return null, indicating that no valid values can be obtained. DangerLevels []*uint64 `json:"DangerLevels,omitnil" name:"DangerLevels"` }
type SessionItem ¶
type SessionItem struct { // Access source Ip *string `json:"Ip,omitnil" name:"Ip"` // The number of active connections from the current access source ActiveConn *string `json:"ActiveConn,omitnil" name:"ActiveConn"` // The total number of connections from the current access source AllConn *int64 `json:"AllConn,omitnil" name:"AllConn"` }
type SlowLogHost ¶
type SlowLogHost struct { // Source addresses. UserHost *string `json:"UserHost,omitnil" name:"UserHost"` // Proportion (in %) of slow logs from this source address to the total number of slow logs. Ratio *float64 `json:"Ratio,omitnil" name:"Ratio"` // Number of slow logs from this source address. Count *int64 `json:"Count,omitnil" name:"Count"` }
type SlowLogInfoItem ¶
type SlowLogInfoItem struct { // Slow log start time Timestamp *string `json:"Timestamp,omitnil" name:"Timestamp"` // SQL statement SqlText *string `json:"SqlText,omitnil" name:"SqlText"` // Database Database *string `json:"Database,omitnil" name:"Database"` // User source // Note: This field may return null, indicating that no valid values can be obtained. UserName *string `json:"UserName,omitnil" name:"UserName"` // IP source // Note: This field may return null, indicating that no valid values can be obtained. UserHost *string `json:"UserHost,omitnil" name:"UserHost"` // Execution time in seconds QueryTime *int64 `json:"QueryTime,omitnil" name:"QueryTime"` // Lock time in seconds // Note: This field may return null, indicating that no valid values can be obtained. LockTime *int64 `json:"LockTime,omitnil" name:"LockTime"` // Number of scanned rows // Note: This field may return null, indicating that no valid values can be obtained. RowsExamined *int64 `json:"RowsExamined,omitnil" name:"RowsExamined"` // Number of returned rows // Note: This field may return null, indicating that no valid values can be obtained. RowsSent *int64 `json:"RowsSent,omitnil" name:"RowsSent"` }
type SlowLogTopSqlItem ¶
type SlowLogTopSqlItem struct { // Total SQL lock wait time in seconds. LockTime *float64 `json:"LockTime,omitnil" name:"LockTime"` // Maximum lock wait time in seconds LockTimeMax *float64 `json:"LockTimeMax,omitnil" name:"LockTimeMax"` // Minimum lock wait time in seconds LockTimeMin *float64 `json:"LockTimeMin,omitnil" name:"LockTimeMin"` // Total number of scanned rows RowsExamined *int64 `json:"RowsExamined,omitnil" name:"RowsExamined"` // Maximum number of scanned rows RowsExaminedMax *int64 `json:"RowsExaminedMax,omitnil" name:"RowsExaminedMax"` // Minimum number of scanned rows RowsExaminedMin *int64 `json:"RowsExaminedMin,omitnil" name:"RowsExaminedMin"` // Total duration in seconds QueryTime *float64 `json:"QueryTime,omitnil" name:"QueryTime"` // Maximum execution time in seconds QueryTimeMax *float64 `json:"QueryTimeMax,omitnil" name:"QueryTimeMax"` // Minimum execution time in seconds QueryTimeMin *float64 `json:"QueryTimeMin,omitnil" name:"QueryTimeMin"` // Total number of returned rows RowsSent *int64 `json:"RowsSent,omitnil" name:"RowsSent"` // Maximum number of returned rows RowsSentMax *int64 `json:"RowsSentMax,omitnil" name:"RowsSentMax"` // Minimum number of returned rows RowsSentMin *int64 `json:"RowsSentMin,omitnil" name:"RowsSentMin"` // Number of executions ExecTimes *int64 `json:"ExecTimes,omitnil" name:"ExecTimes"` // SQL template SqlTemplate *string `json:"SqlTemplate,omitnil" name:"SqlTemplate"` // SQL statements with parameter (random) SqlText *string `json:"SqlText,omitnil" name:"SqlText"` // Database name Schema *string `json:"Schema,omitnil" name:"Schema"` // Ratio of the total duration in % QueryTimeRatio *float64 `json:"QueryTimeRatio,omitnil" name:"QueryTimeRatio"` // Ratio of the total SQL lock wait time in % LockTimeRatio *float64 `json:"LockTimeRatio,omitnil" name:"LockTimeRatio"` // Ratio of total number of scanned rows in % RowsExaminedRatio *float64 `json:"RowsExaminedRatio,omitnil" name:"RowsExaminedRatio"` // Ratio of total number of returned rows in % RowsSentRatio *float64 `json:"RowsSentRatio,omitnil" name:"RowsSentRatio"` // Average execution time in seconds QueryTimeAvg *float64 `json:"QueryTimeAvg,omitnil" name:"QueryTimeAvg"` // Average number of returned rows RowsSentAvg *float64 `json:"RowsSentAvg,omitnil" name:"RowsSentAvg"` // Average lock wait time in seconds LockTimeAvg *float64 `json:"LockTimeAvg,omitnil" name:"LockTimeAvg"` // Average number of scanned rows RowsExaminedAvg *float64 `json:"RowsExaminedAvg,omitnil" name:"RowsExaminedAvg"` // MD5 value of the SQL template Md5 *string `json:"Md5,omitnil" name:"Md5"` }
type SlowLogUser ¶
type SlowLogUser struct { // Source username UserName *string `json:"UserName,omitnil" name:"UserName"` // Percentage of the number of slow logs from this source username to the total number of slow logs Ratio *float64 `json:"Ratio,omitnil" name:"Ratio"` // Number of slow logs from this source username Count *int64 `json:"Count,omitnil" name:"Count"` }
type TableSpaceData ¶
type TableSpaceData struct { // Table name. TableName *string `json:"TableName,omitnil" name:"TableName"` // Database name. TableSchema *string `json:"TableSchema,omitnil" name:"TableSchema"` // Database table storage engine. Engine *string `json:"Engine,omitnil" name:"Engine"` // Data space in MB. DataLength *float64 `json:"DataLength,omitnil" name:"DataLength"` // Index space in MB. IndexLength *float64 `json:"IndexLength,omitnil" name:"IndexLength"` // Fragmented space in MB. DataFree *float64 `json:"DataFree,omitnil" name:"DataFree"` // Total space usage in MB. TotalLength *float64 `json:"TotalLength,omitnil" name:"TotalLength"` // Fragmentation rate in %. FragRatio *float64 `json:"FragRatio,omitnil" name:"FragRatio"` // Number of rows. TableRows *int64 `json:"TableRows,omitnil" name:"TableRows"` // Size in MB of the physical file exclusive to a table. PhysicalFileSize *float64 `json:"PhysicalFileSize,omitnil" name:"PhysicalFileSize"` }
type TableSpaceTimeSeries ¶
type TableSpaceTimeSeries struct { // Table name. TableName *string `json:"TableName,omitnil" name:"TableName"` // Database name. TableSchema *string `json:"TableSchema,omitnil" name:"TableSchema"` // Database table storage engine. Engine *string `json:"Engine,omitnil" name:"Engine"` // Space metric value in a unit of time interval SeriesData *MonitorFloatMetricSeriesData `json:"SeriesData,omitnil" name:"SeriesData"` }
type TaskInfo ¶
type TaskInfo struct { // Async task ID. AsyncRequestId *int64 `json:"AsyncRequestId,omitnil" name:"AsyncRequestId"` // List of all proxies of the current instance. InstProxyList []*string `json:"InstProxyList,omitnil" name:"InstProxyList"` // Total number of proxies of the current instance. InstProxyCount *int64 `json:"InstProxyCount,omitnil" name:"InstProxyCount"` // Task creation time. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Task start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // Task status. Valid values: `created` (create), `chosen` (to be executed), `running` (being executed), `failed` (failed), and `finished` (completed). TaskStatus *string `json:"TaskStatus,omitnil" name:"TaskStatus"` // IDs of the proxies that have completed the session killing tasks. FinishedProxyList []*string `json:"FinishedProxyList,omitnil" name:"FinishedProxyList"` // IDs of the proxies that failed to execute the session killing tasks. FailedProxyList []*string `json:"FailedProxyList,omitnil" name:"FailedProxyList"` // Task end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Task progress. Progress *int64 `json:"Progress,omitnil" name:"Progress"` // Instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` }
type UserProfile ¶
type UserProfile struct { // Configured ID // Note: This field may return null, indicating that no valid values can be obtained. ProfileId *string `json:"ProfileId,omitnil" name:"ProfileId"` // Configuration type. Valid values: `dbScan_mail_configuration` (email configuration of the database inspection report), `scheduler_mail_configuration` (email configuration of the scheduled task report). // Note: This field may return null, indicating that no valid values can be obtained. ProfileType *string `json:"ProfileType,omitnil" name:"ProfileType"` // Configuration level. Valid values: `User` (user-level), `Instance` (instance-level). For database inspection emails, it should be `User`. For scheduled task emails, it should be `Instance`. // Note: This field may return null, indicating that no valid values can be obtained. ProfileLevel *string `json:"ProfileLevel,omitnil" name:"ProfileLevel"` // Configuration name. // Note: This field may return null, indicating that no valid values can be obtained. ProfileName *string `json:"ProfileName,omitnil" name:"ProfileName"` // Configuration details. ProfileInfo *ProfileInfo `json:"ProfileInfo,omitnil" name:"ProfileInfo"` }