Documentation ¶
Index ¶
- Constants
- type Account
- type AddTimeWindowRequest
- type AddTimeWindowRequestParams
- type AddTimeWindowResponse
- type AddTimeWindowResponseParams
- type Address
- type ApplyCDBProxyRequest
- type ApplyCDBProxyRequestParams
- type ApplyCDBProxyResponse
- type ApplyCDBProxyResponseParams
- type AssociateSecurityGroupsRequest
- type AssociateSecurityGroupsRequestParams
- type AssociateSecurityGroupsResponse
- type AssociateSecurityGroupsResponseParams
- type AuditFilter
- type AuditPolicy
- type AuditRule
- type BackupConfig
- type BackupInfo
- type BackupItem
- type BackupLimitVpcItem
- type BackupSummaryItem
- type BalanceRoGroupLoadRequest
- type BalanceRoGroupLoadRequestParams
- type BalanceRoGroupLoadResponse
- type BalanceRoGroupLoadResponseParams
- type BaseGroupInfo
- type BinlogInfo
- type Client
- func (c *Client) AddTimeWindow(request *AddTimeWindowRequest) (response *AddTimeWindowResponse, err error)
- func (c *Client) AddTimeWindowWithContext(ctx context.Context, request *AddTimeWindowRequest) (response *AddTimeWindowResponse, err error)
- func (c *Client) ApplyCDBProxy(request *ApplyCDBProxyRequest) (response *ApplyCDBProxyResponse, err error)
- func (c *Client) ApplyCDBProxyWithContext(ctx context.Context, request *ApplyCDBProxyRequest) (response *ApplyCDBProxyResponse, err error)
- func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
- func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
- func (c *Client) BalanceRoGroupLoad(request *BalanceRoGroupLoadRequest) (response *BalanceRoGroupLoadResponse, err error)
- func (c *Client) BalanceRoGroupLoadWithContext(ctx context.Context, request *BalanceRoGroupLoadRequest) (response *BalanceRoGroupLoadResponse, err error)
- func (c *Client) CloseCDBProxy(request *CloseCDBProxyRequest) (response *CloseCDBProxyResponse, err error)
- func (c *Client) CloseCDBProxyWithContext(ctx context.Context, request *CloseCDBProxyRequest) (response *CloseCDBProxyResponse, err error)
- func (c *Client) CloseWanService(request *CloseWanServiceRequest) (response *CloseWanServiceResponse, err error)
- func (c *Client) CloseWanServiceWithContext(ctx context.Context, request *CloseWanServiceRequest) (response *CloseWanServiceResponse, err error)
- func (c *Client) CreateAuditPolicy(request *CreateAuditPolicyRequest) (response *CreateAuditPolicyResponse, err error)
- func (c *Client) CreateAuditPolicyWithContext(ctx context.Context, request *CreateAuditPolicyRequest) (response *CreateAuditPolicyResponse, err error)
- func (c *Client) CreateBackup(request *CreateBackupRequest) (response *CreateBackupResponse, err error)
- func (c *Client) CreateBackupWithContext(ctx context.Context, request *CreateBackupRequest) (response *CreateBackupResponse, err error)
- func (c *Client) CreateCloneInstance(request *CreateCloneInstanceRequest) (response *CreateCloneInstanceResponse, err error)
- func (c *Client) CreateCloneInstanceWithContext(ctx context.Context, request *CreateCloneInstanceRequest) (response *CreateCloneInstanceResponse, err error)
- func (c *Client) CreateDBImportJob(request *CreateDBImportJobRequest) (response *CreateDBImportJobResponse, err error)
- func (c *Client) CreateDBImportJobWithContext(ctx context.Context, request *CreateDBImportJobRequest) (response *CreateDBImportJobResponse, err error)
- func (c *Client) CreateDBInstanceHour(request *CreateDBInstanceHourRequest) (response *CreateDBInstanceHourResponse, err error)
- func (c *Client) CreateDBInstanceHourWithContext(ctx context.Context, request *CreateDBInstanceHourRequest) (response *CreateDBInstanceHourResponse, err error)
- func (c *Client) CreateParamTemplate(request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)
- func (c *Client) CreateParamTemplateWithContext(ctx context.Context, request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)
- func (c *Client) CreateRoInstanceIp(request *CreateRoInstanceIpRequest) (response *CreateRoInstanceIpResponse, err error)
- func (c *Client) CreateRoInstanceIpWithContext(ctx context.Context, request *CreateRoInstanceIpRequest) (response *CreateRoInstanceIpResponse, err error)
- func (c *Client) DeleteAccounts(request *DeleteAccountsRequest) (response *DeleteAccountsResponse, err error)
- func (c *Client) DeleteAccountsWithContext(ctx context.Context, request *DeleteAccountsRequest) (response *DeleteAccountsResponse, err error)
- func (c *Client) DeleteBackup(request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)
- func (c *Client) DeleteBackupWithContext(ctx context.Context, request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)
- func (c *Client) DeleteParamTemplate(request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)
- func (c *Client) DeleteParamTemplateWithContext(ctx context.Context, request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)
- func (c *Client) DeleteTimeWindow(request *DeleteTimeWindowRequest) (response *DeleteTimeWindowResponse, err error)
- func (c *Client) DeleteTimeWindowWithContext(ctx context.Context, request *DeleteTimeWindowRequest) (response *DeleteTimeWindowResponse, err error)
- func (c *Client) DescribeAccountPrivileges(request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)
- func (c *Client) DescribeAccountPrivilegesWithContext(ctx context.Context, request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)
- func (c *Client) DescribeAsyncRequestInfo(request *DescribeAsyncRequestInfoRequest) (response *DescribeAsyncRequestInfoResponse, err error)
- func (c *Client) DescribeAsyncRequestInfoWithContext(ctx context.Context, request *DescribeAsyncRequestInfoRequest) (response *DescribeAsyncRequestInfoResponse, err error)
- func (c *Client) DescribeAuditPolicies(request *DescribeAuditPoliciesRequest) (response *DescribeAuditPoliciesResponse, err error)
- func (c *Client) DescribeAuditPoliciesWithContext(ctx context.Context, request *DescribeAuditPoliciesRequest) (response *DescribeAuditPoliciesResponse, err error)
- func (c *Client) DescribeAuditRules(request *DescribeAuditRulesRequest) (response *DescribeAuditRulesResponse, err error)
- func (c *Client) DescribeAuditRulesWithContext(ctx context.Context, request *DescribeAuditRulesRequest) (response *DescribeAuditRulesResponse, err error)
- func (c *Client) DescribeBackupConfig(request *DescribeBackupConfigRequest) (response *DescribeBackupConfigResponse, err error)
- func (c *Client) DescribeBackupConfigWithContext(ctx context.Context, request *DescribeBackupConfigRequest) (response *DescribeBackupConfigResponse, err error)
- func (c *Client) DescribeBackupDownloadRestriction(request *DescribeBackupDownloadRestrictionRequest) (response *DescribeBackupDownloadRestrictionResponse, err error)
- func (c *Client) DescribeBackupDownloadRestrictionWithContext(ctx context.Context, request *DescribeBackupDownloadRestrictionRequest) (response *DescribeBackupDownloadRestrictionResponse, err error)
- func (c *Client) DescribeBackupOverview(request *DescribeBackupOverviewRequest) (response *DescribeBackupOverviewResponse, err error)
- func (c *Client) DescribeBackupOverviewWithContext(ctx context.Context, request *DescribeBackupOverviewRequest) (response *DescribeBackupOverviewResponse, err error)
- func (c *Client) DescribeBackupSummaries(request *DescribeBackupSummariesRequest) (response *DescribeBackupSummariesResponse, err error)
- func (c *Client) DescribeBackupSummariesWithContext(ctx context.Context, request *DescribeBackupSummariesRequest) (response *DescribeBackupSummariesResponse, err error)
- func (c *Client) DescribeBackups(request *DescribeBackupsRequest) (response *DescribeBackupsResponse, err error)
- func (c *Client) DescribeBackupsWithContext(ctx context.Context, request *DescribeBackupsRequest) (response *DescribeBackupsResponse, err error)
- func (c *Client) DescribeBinlogBackupOverview(request *DescribeBinlogBackupOverviewRequest) (response *DescribeBinlogBackupOverviewResponse, err error)
- func (c *Client) DescribeBinlogBackupOverviewWithContext(ctx context.Context, request *DescribeBinlogBackupOverviewRequest) (response *DescribeBinlogBackupOverviewResponse, err error)
- func (c *Client) DescribeBinlogs(request *DescribeBinlogsRequest) (response *DescribeBinlogsResponse, err error)
- func (c *Client) DescribeBinlogsWithContext(ctx context.Context, request *DescribeBinlogsRequest) (response *DescribeBinlogsResponse, err error)
- func (c *Client) DescribeCDBProxy(request *DescribeCDBProxyRequest) (response *DescribeCDBProxyResponse, err error)
- func (c *Client) DescribeCDBProxyWithContext(ctx context.Context, request *DescribeCDBProxyRequest) (response *DescribeCDBProxyResponse, err error)
- func (c *Client) DescribeCloneList(request *DescribeCloneListRequest) (response *DescribeCloneListResponse, err error)
- func (c *Client) DescribeCloneListWithContext(ctx context.Context, request *DescribeCloneListRequest) (response *DescribeCloneListResponse, err error)
- func (c *Client) DescribeDBImportRecords(request *DescribeDBImportRecordsRequest) (response *DescribeDBImportRecordsResponse, err error)
- func (c *Client) DescribeDBImportRecordsWithContext(ctx context.Context, request *DescribeDBImportRecordsRequest) (response *DescribeDBImportRecordsResponse, err error)
- func (c *Client) DescribeDBInstanceCharset(request *DescribeDBInstanceCharsetRequest) (response *DescribeDBInstanceCharsetResponse, err error)
- func (c *Client) DescribeDBInstanceCharsetWithContext(ctx context.Context, request *DescribeDBInstanceCharsetRequest) (response *DescribeDBInstanceCharsetResponse, err error)
- func (c *Client) DescribeDBInstanceConfig(request *DescribeDBInstanceConfigRequest) (response *DescribeDBInstanceConfigResponse, err error)
- func (c *Client) DescribeDBInstanceConfigWithContext(ctx context.Context, request *DescribeDBInstanceConfigRequest) (response *DescribeDBInstanceConfigResponse, err error)
- func (c *Client) DescribeDBInstanceGTID(request *DescribeDBInstanceGTIDRequest) (response *DescribeDBInstanceGTIDResponse, err error)
- func (c *Client) DescribeDBInstanceGTIDWithContext(ctx context.Context, request *DescribeDBInstanceGTIDRequest) (response *DescribeDBInstanceGTIDResponse, err error)
- func (c *Client) DescribeDBInstanceInfo(request *DescribeDBInstanceInfoRequest) (response *DescribeDBInstanceInfoResponse, err error)
- func (c *Client) DescribeDBInstanceInfoWithContext(ctx context.Context, request *DescribeDBInstanceInfoRequest) (response *DescribeDBInstanceInfoResponse, err error)
- func (c *Client) DescribeDBInstanceRebootTime(request *DescribeDBInstanceRebootTimeRequest) (response *DescribeDBInstanceRebootTimeResponse, err error)
- func (c *Client) DescribeDBInstanceRebootTimeWithContext(ctx context.Context, request *DescribeDBInstanceRebootTimeRequest) (response *DescribeDBInstanceRebootTimeResponse, err error)
- func (c *Client) DescribeDBInstances(request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
- func (c *Client) DescribeDBInstancesWithContext(ctx context.Context, request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
- func (c *Client) DescribeDBSecurityGroups(request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)
- func (c *Client) DescribeDBSecurityGroupsWithContext(ctx context.Context, request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)
- func (c *Client) DescribeDBSwitchRecords(request *DescribeDBSwitchRecordsRequest) (response *DescribeDBSwitchRecordsResponse, err error)
- func (c *Client) DescribeDBSwitchRecordsWithContext(ctx context.Context, request *DescribeDBSwitchRecordsRequest) (response *DescribeDBSwitchRecordsResponse, err error)
- func (c *Client) DescribeDBZoneConfig(request *DescribeDBZoneConfigRequest) (response *DescribeDBZoneConfigResponse, err error)
- func (c *Client) DescribeDBZoneConfigWithContext(ctx context.Context, request *DescribeDBZoneConfigRequest) (response *DescribeDBZoneConfigResponse, err error)
- func (c *Client) DescribeDataBackupOverview(request *DescribeDataBackupOverviewRequest) (response *DescribeDataBackupOverviewResponse, err error)
- func (c *Client) DescribeDataBackupOverviewWithContext(ctx context.Context, request *DescribeDataBackupOverviewRequest) (response *DescribeDataBackupOverviewResponse, err error)
- func (c *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
- func (c *Client) DescribeDatabasesWithContext(ctx context.Context, request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
- func (c *Client) DescribeDefaultParams(request *DescribeDefaultParamsRequest) (response *DescribeDefaultParamsResponse, err error)
- func (c *Client) DescribeDefaultParamsWithContext(ctx context.Context, request *DescribeDefaultParamsRequest) (response *DescribeDefaultParamsResponse, err error)
- func (c *Client) DescribeDeviceMonitorInfo(request *DescribeDeviceMonitorInfoRequest) (response *DescribeDeviceMonitorInfoResponse, err error)
- func (c *Client) DescribeDeviceMonitorInfoWithContext(ctx context.Context, request *DescribeDeviceMonitorInfoRequest) (response *DescribeDeviceMonitorInfoResponse, err error)
- func (c *Client) DescribeErrorLogData(request *DescribeErrorLogDataRequest) (response *DescribeErrorLogDataResponse, err error)
- func (c *Client) DescribeErrorLogDataWithContext(ctx context.Context, request *DescribeErrorLogDataRequest) (response *DescribeErrorLogDataResponse, err error)
- func (c *Client) DescribeInstanceParamRecords(request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)
- func (c *Client) DescribeInstanceParamRecordsWithContext(ctx context.Context, request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)
- func (c *Client) DescribeInstanceParams(request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
- func (c *Client) DescribeInstanceParamsWithContext(ctx context.Context, request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
- func (c *Client) DescribeLocalBinlogConfig(request *DescribeLocalBinlogConfigRequest) (response *DescribeLocalBinlogConfigResponse, err error)
- func (c *Client) DescribeLocalBinlogConfigWithContext(ctx context.Context, request *DescribeLocalBinlogConfigRequest) (response *DescribeLocalBinlogConfigResponse, err error)
- func (c *Client) DescribeParamTemplateInfo(request *DescribeParamTemplateInfoRequest) (response *DescribeParamTemplateInfoResponse, err error)
- func (c *Client) DescribeParamTemplateInfoWithContext(ctx context.Context, request *DescribeParamTemplateInfoRequest) (response *DescribeParamTemplateInfoResponse, err error)
- func (c *Client) DescribeParamTemplates(request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)
- func (c *Client) DescribeParamTemplatesWithContext(ctx context.Context, request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)
- func (c *Client) DescribeProjectSecurityGroups(request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
- func (c *Client) DescribeProjectSecurityGroupsWithContext(ctx context.Context, request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
- func (c *Client) DescribeProxyConnectionPoolConf(request *DescribeProxyConnectionPoolConfRequest) (response *DescribeProxyConnectionPoolConfResponse, err error)
- func (c *Client) DescribeProxyConnectionPoolConfWithContext(ctx context.Context, request *DescribeProxyConnectionPoolConfRequest) (response *DescribeProxyConnectionPoolConfResponse, err error)
- func (c *Client) DescribeProxyCustomConf(request *DescribeProxyCustomConfRequest) (response *DescribeProxyCustomConfResponse, err error)
- func (c *Client) DescribeProxyCustomConfWithContext(ctx context.Context, request *DescribeProxyCustomConfRequest) (response *DescribeProxyCustomConfResponse, err error)
- func (c *Client) DescribeRoGroups(request *DescribeRoGroupsRequest) (response *DescribeRoGroupsResponse, err error)
- func (c *Client) DescribeRoGroupsWithContext(ctx context.Context, request *DescribeRoGroupsRequest) (response *DescribeRoGroupsResponse, err error)
- func (c *Client) DescribeRoMinScale(request *DescribeRoMinScaleRequest) (response *DescribeRoMinScaleResponse, err error)
- func (c *Client) DescribeRoMinScaleWithContext(ctx context.Context, request *DescribeRoMinScaleRequest) (response *DescribeRoMinScaleResponse, err error)
- func (c *Client) DescribeRollbackRangeTime(request *DescribeRollbackRangeTimeRequest) (response *DescribeRollbackRangeTimeResponse, err error)
- func (c *Client) DescribeRollbackRangeTimeWithContext(ctx context.Context, request *DescribeRollbackRangeTimeRequest) (response *DescribeRollbackRangeTimeResponse, err error)
- func (c *Client) DescribeRollbackTaskDetail(request *DescribeRollbackTaskDetailRequest) (response *DescribeRollbackTaskDetailResponse, err error)
- func (c *Client) DescribeRollbackTaskDetailWithContext(ctx context.Context, request *DescribeRollbackTaskDetailRequest) (response *DescribeRollbackTaskDetailResponse, err error)
- func (c *Client) DescribeSlowLogData(request *DescribeSlowLogDataRequest) (response *DescribeSlowLogDataResponse, err error)
- func (c *Client) DescribeSlowLogDataWithContext(ctx context.Context, request *DescribeSlowLogDataRequest) (response *DescribeSlowLogDataResponse, 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) DescribeSupportedPrivileges(request *DescribeSupportedPrivilegesRequest) (response *DescribeSupportedPrivilegesResponse, err error)
- func (c *Client) DescribeSupportedPrivilegesWithContext(ctx context.Context, request *DescribeSupportedPrivilegesRequest) (response *DescribeSupportedPrivilegesResponse, err error)
- func (c *Client) DescribeTables(request *DescribeTablesRequest) (response *DescribeTablesResponse, err error)
- func (c *Client) DescribeTablesWithContext(ctx context.Context, request *DescribeTablesRequest) (response *DescribeTablesResponse, err error)
- func (c *Client) DescribeTagsOfInstanceIds(request *DescribeTagsOfInstanceIdsRequest) (response *DescribeTagsOfInstanceIdsResponse, err error)
- func (c *Client) DescribeTagsOfInstanceIdsWithContext(ctx context.Context, request *DescribeTagsOfInstanceIdsRequest) (response *DescribeTagsOfInstanceIdsResponse, err error)
- func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeTimeWindow(request *DescribeTimeWindowRequest) (response *DescribeTimeWindowResponse, err error)
- func (c *Client) DescribeTimeWindowWithContext(ctx context.Context, request *DescribeTimeWindowRequest) (response *DescribeTimeWindowResponse, err error)
- func (c *Client) DescribeUploadedFiles(request *DescribeUploadedFilesRequest) (response *DescribeUploadedFilesResponse, err error)
- func (c *Client) DescribeUploadedFilesWithContext(ctx context.Context, request *DescribeUploadedFilesRequest) (response *DescribeUploadedFilesResponse, err error)
- func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
- func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
- func (c *Client) InitDBInstances(request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
- func (c *Client) InitDBInstancesWithContext(ctx context.Context, request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
- func (c *Client) IsolateDBInstance(request *IsolateDBInstanceRequest) (response *IsolateDBInstanceResponse, err error)
- func (c *Client) IsolateDBInstanceWithContext(ctx context.Context, request *IsolateDBInstanceRequest) (response *IsolateDBInstanceResponse, err error)
- func (c *Client) ModifyAccountDescription(request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)
- func (c *Client) ModifyAccountDescriptionWithContext(ctx context.Context, request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)
- func (c *Client) ModifyAccountMaxUserConnections(request *ModifyAccountMaxUserConnectionsRequest) (response *ModifyAccountMaxUserConnectionsResponse, err error)
- func (c *Client) ModifyAccountMaxUserConnectionsWithContext(ctx context.Context, request *ModifyAccountMaxUserConnectionsRequest) (response *ModifyAccountMaxUserConnectionsResponse, err error)
- func (c *Client) ModifyAccountPassword(request *ModifyAccountPasswordRequest) (response *ModifyAccountPasswordResponse, err error)
- func (c *Client) ModifyAccountPasswordWithContext(ctx context.Context, request *ModifyAccountPasswordRequest) (response *ModifyAccountPasswordResponse, err error)
- func (c *Client) ModifyAccountPrivileges(request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, err error)
- func (c *Client) ModifyAccountPrivilegesWithContext(ctx context.Context, request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, err error)
- func (c *Client) ModifyAutoRenewFlag(request *ModifyAutoRenewFlagRequest) (response *ModifyAutoRenewFlagResponse, err error)
- func (c *Client) ModifyAutoRenewFlagWithContext(ctx context.Context, request *ModifyAutoRenewFlagRequest) (response *ModifyAutoRenewFlagResponse, err error)
- func (c *Client) ModifyBackupConfig(request *ModifyBackupConfigRequest) (response *ModifyBackupConfigResponse, err error)
- func (c *Client) ModifyBackupConfigWithContext(ctx context.Context, request *ModifyBackupConfigRequest) (response *ModifyBackupConfigResponse, err error)
- func (c *Client) ModifyBackupDownloadRestriction(request *ModifyBackupDownloadRestrictionRequest) (response *ModifyBackupDownloadRestrictionResponse, err error)
- func (c *Client) ModifyBackupDownloadRestrictionWithContext(ctx context.Context, request *ModifyBackupDownloadRestrictionRequest) (response *ModifyBackupDownloadRestrictionResponse, err error)
- func (c *Client) ModifyCDBProxy(request *ModifyCDBProxyRequest) (response *ModifyCDBProxyResponse, err error)
- func (c *Client) ModifyCDBProxyConnectionPool(request *ModifyCDBProxyConnectionPoolRequest) (response *ModifyCDBProxyConnectionPoolResponse, err error)
- func (c *Client) ModifyCDBProxyConnectionPoolWithContext(ctx context.Context, request *ModifyCDBProxyConnectionPoolRequest) (response *ModifyCDBProxyConnectionPoolResponse, err error)
- func (c *Client) ModifyCDBProxyDesc(request *ModifyCDBProxyDescRequest) (response *ModifyCDBProxyDescResponse, err error)
- func (c *Client) ModifyCDBProxyDescWithContext(ctx context.Context, request *ModifyCDBProxyDescRequest) (response *ModifyCDBProxyDescResponse, err error)
- func (c *Client) ModifyCDBProxyVipVPort(request *ModifyCDBProxyVipVPortRequest) (response *ModifyCDBProxyVipVPortResponse, err error)
- func (c *Client) ModifyCDBProxyVipVPortWithContext(ctx context.Context, request *ModifyCDBProxyVipVPortRequest) (response *ModifyCDBProxyVipVPortResponse, err error)
- func (c *Client) ModifyCDBProxyWithContext(ctx context.Context, request *ModifyCDBProxyRequest) (response *ModifyCDBProxyResponse, err error)
- func (c *Client) ModifyDBInstanceName(request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
- func (c *Client) ModifyDBInstanceNameWithContext(ctx context.Context, request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
- func (c *Client) ModifyDBInstanceProject(request *ModifyDBInstanceProjectRequest) (response *ModifyDBInstanceProjectResponse, err error)
- func (c *Client) ModifyDBInstanceProjectWithContext(ctx context.Context, request *ModifyDBInstanceProjectRequest) (response *ModifyDBInstanceProjectResponse, err error)
- func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
- func (c *Client) ModifyDBInstanceSecurityGroupsWithContext(ctx context.Context, request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
- func (c *Client) ModifyInstanceParam(request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)
- func (c *Client) ModifyInstanceParamWithContext(ctx context.Context, request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)
- func (c *Client) ModifyInstanceTag(request *ModifyInstanceTagRequest) (response *ModifyInstanceTagResponse, err error)
- func (c *Client) ModifyInstanceTagWithContext(ctx context.Context, request *ModifyInstanceTagRequest) (response *ModifyInstanceTagResponse, err error)
- func (c *Client) ModifyLocalBinlogConfig(request *ModifyLocalBinlogConfigRequest) (response *ModifyLocalBinlogConfigResponse, err error)
- func (c *Client) ModifyLocalBinlogConfigWithContext(ctx context.Context, request *ModifyLocalBinlogConfigRequest) (response *ModifyLocalBinlogConfigResponse, err error)
- func (c *Client) ModifyParamTemplate(request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)
- func (c *Client) ModifyParamTemplateWithContext(ctx context.Context, request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)
- func (c *Client) ModifyRoGroupInfo(request *ModifyRoGroupInfoRequest) (response *ModifyRoGroupInfoResponse, err error)
- func (c *Client) ModifyRoGroupInfoWithContext(ctx context.Context, request *ModifyRoGroupInfoRequest) (response *ModifyRoGroupInfoResponse, err error)
- func (c *Client) ModifyTimeWindow(request *ModifyTimeWindowRequest) (response *ModifyTimeWindowResponse, err error)
- func (c *Client) ModifyTimeWindowWithContext(ctx context.Context, request *ModifyTimeWindowRequest) (response *ModifyTimeWindowResponse, err error)
- func (c *Client) OfflineIsolatedInstances(request *OfflineIsolatedInstancesRequest) (response *OfflineIsolatedInstancesResponse, err error)
- func (c *Client) OfflineIsolatedInstancesWithContext(ctx context.Context, request *OfflineIsolatedInstancesRequest) (response *OfflineIsolatedInstancesResponse, err error)
- func (c *Client) OpenDBInstanceGTID(request *OpenDBInstanceGTIDRequest) (response *OpenDBInstanceGTIDResponse, err error)
- func (c *Client) OpenDBInstanceGTIDWithContext(ctx context.Context, request *OpenDBInstanceGTIDRequest) (response *OpenDBInstanceGTIDResponse, err error)
- func (c *Client) OpenWanService(request *OpenWanServiceRequest) (response *OpenWanServiceResponse, err error)
- func (c *Client) OpenWanServiceWithContext(ctx context.Context, request *OpenWanServiceRequest) (response *OpenWanServiceResponse, err error)
- func (c *Client) QueryCDBProxy(request *QueryCDBProxyRequest) (response *QueryCDBProxyResponse, err error)
- func (c *Client) QueryCDBProxyWithContext(ctx context.Context, request *QueryCDBProxyRequest) (response *QueryCDBProxyResponse, err error)
- func (c *Client) ReleaseIsolatedDBInstances(request *ReleaseIsolatedDBInstancesRequest) (response *ReleaseIsolatedDBInstancesResponse, err error)
- func (c *Client) ReleaseIsolatedDBInstancesWithContext(ctx context.Context, request *ReleaseIsolatedDBInstancesRequest) (response *ReleaseIsolatedDBInstancesResponse, err error)
- func (c *Client) ReloadBalanceProxyNode(request *ReloadBalanceProxyNodeRequest) (response *ReloadBalanceProxyNodeResponse, err error)
- func (c *Client) ReloadBalanceProxyNodeWithContext(ctx context.Context, request *ReloadBalanceProxyNodeRequest) (response *ReloadBalanceProxyNodeResponse, err error)
- func (c *Client) ResetRootAccount(request *ResetRootAccountRequest) (response *ResetRootAccountResponse, err error)
- func (c *Client) ResetRootAccountWithContext(ctx context.Context, request *ResetRootAccountRequest) (response *ResetRootAccountResponse, err error)
- func (c *Client) RestartDBInstances(request *RestartDBInstancesRequest) (response *RestartDBInstancesResponse, err error)
- func (c *Client) RestartDBInstancesWithContext(ctx context.Context, request *RestartDBInstancesRequest) (response *RestartDBInstancesResponse, err error)
- func (c *Client) StartBatchRollback(request *StartBatchRollbackRequest) (response *StartBatchRollbackResponse, err error)
- func (c *Client) StartBatchRollbackWithContext(ctx context.Context, request *StartBatchRollbackRequest) (response *StartBatchRollbackResponse, err error)
- func (c *Client) StartReplication(request *StartReplicationRequest) (response *StartReplicationResponse, err error)
- func (c *Client) StartReplicationWithContext(ctx context.Context, request *StartReplicationRequest) (response *StartReplicationResponse, err error)
- func (c *Client) StopDBImportJob(request *StopDBImportJobRequest) (response *StopDBImportJobResponse, err error)
- func (c *Client) StopDBImportJobWithContext(ctx context.Context, request *StopDBImportJobRequest) (response *StopDBImportJobResponse, err error)
- func (c *Client) StopReplication(request *StopReplicationRequest) (response *StopReplicationResponse, err error)
- func (c *Client) StopReplicationWithContext(ctx context.Context, request *StopReplicationRequest) (response *StopReplicationResponse, err error)
- func (c *Client) StopRollback(request *StopRollbackRequest) (response *StopRollbackResponse, err error)
- func (c *Client) StopRollbackWithContext(ctx context.Context, request *StopRollbackRequest) (response *StopRollbackResponse, err error)
- func (c *Client) SwitchCDBProxy(request *SwitchCDBProxyRequest) (response *SwitchCDBProxyResponse, err error)
- func (c *Client) SwitchCDBProxyWithContext(ctx context.Context, request *SwitchCDBProxyRequest) (response *SwitchCDBProxyResponse, err error)
- func (c *Client) SwitchDBInstanceMasterSlave(request *SwitchDBInstanceMasterSlaveRequest) (response *SwitchDBInstanceMasterSlaveResponse, err error)
- func (c *Client) SwitchDBInstanceMasterSlaveWithContext(ctx context.Context, request *SwitchDBInstanceMasterSlaveRequest) (response *SwitchDBInstanceMasterSlaveResponse, err error)
- func (c *Client) SwitchDrInstanceToMaster(request *SwitchDrInstanceToMasterRequest) (response *SwitchDrInstanceToMasterResponse, err error)
- func (c *Client) SwitchDrInstanceToMasterWithContext(ctx context.Context, request *SwitchDrInstanceToMasterRequest) (response *SwitchDrInstanceToMasterResponse, err error)
- func (c *Client) SwitchForUpgrade(request *SwitchForUpgradeRequest) (response *SwitchForUpgradeResponse, err error)
- func (c *Client) SwitchForUpgradeWithContext(ctx context.Context, request *SwitchForUpgradeRequest) (response *SwitchForUpgradeResponse, err error)
- func (c *Client) UpgradeCDBProxy(request *UpgradeCDBProxyRequest) (response *UpgradeCDBProxyResponse, err error)
- func (c *Client) UpgradeCDBProxyVersion(request *UpgradeCDBProxyVersionRequest) (response *UpgradeCDBProxyVersionResponse, err error)
- func (c *Client) UpgradeCDBProxyVersionWithContext(ctx context.Context, request *UpgradeCDBProxyVersionRequest) (response *UpgradeCDBProxyVersionResponse, err error)
- func (c *Client) UpgradeCDBProxyWithContext(ctx context.Context, request *UpgradeCDBProxyRequest) (response *UpgradeCDBProxyResponse, err error)
- func (c *Client) UpgradeDBInstance(request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
- func (c *Client) UpgradeDBInstanceEngineVersion(request *UpgradeDBInstanceEngineVersionRequest) (response *UpgradeDBInstanceEngineVersionResponse, err error)
- func (c *Client) UpgradeDBInstanceEngineVersionWithContext(ctx context.Context, request *UpgradeDBInstanceEngineVersionRequest) (response *UpgradeDBInstanceEngineVersionResponse, err error)
- func (c *Client) UpgradeDBInstanceWithContext(ctx context.Context, request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
- type CloneItem
- type CloseCDBProxyRequest
- type CloseCDBProxyRequestParams
- type CloseCDBProxyResponse
- type CloseCDBProxyResponseParams
- type CloseWanServiceRequest
- type CloseWanServiceRequestParams
- type CloseWanServiceResponse
- type CloseWanServiceResponseParams
- type ColumnPrivilege
- type CommonTimeWindow
- type ConnectionPoolInfo
- type CreateAuditPolicyRequest
- type CreateAuditPolicyRequestParams
- type CreateAuditPolicyResponse
- type CreateAuditPolicyResponseParams
- type CreateBackupRequest
- type CreateBackupRequestParams
- type CreateBackupResponse
- type CreateBackupResponseParams
- type CreateCloneInstanceRequest
- type CreateCloneInstanceRequestParams
- type CreateCloneInstanceResponse
- type CreateCloneInstanceResponseParams
- type CreateDBImportJobRequest
- type CreateDBImportJobRequestParams
- type CreateDBImportJobResponse
- type CreateDBImportJobResponseParams
- type CreateDBInstanceHourRequest
- type CreateDBInstanceHourRequestParams
- type CreateDBInstanceHourResponse
- type CreateDBInstanceHourResponseParams
- type CreateParamTemplateRequest
- type CreateParamTemplateRequestParams
- type CreateParamTemplateResponse
- type CreateParamTemplateResponseParams
- type CreateRoInstanceIpRequest
- type CreateRoInstanceIpRequestParams
- type CreateRoInstanceIpResponse
- type CreateRoInstanceIpResponseParams
- type CustomConfig
- type DBSwitchInfo
- type DatabasePrivilege
- type DatabasesWithCharacterLists
- type DeleteAccountsRequest
- type DeleteAccountsRequestParams
- type DeleteAccountsResponse
- type DeleteAccountsResponseParams
- type DeleteBackupRequest
- type DeleteBackupRequestParams
- type DeleteBackupResponse
- type DeleteBackupResponseParams
- type DeleteParamTemplateRequest
- type DeleteParamTemplateRequestParams
- type DeleteParamTemplateResponse
- type DeleteParamTemplateResponseParams
- type DeleteTimeWindowRequest
- type DeleteTimeWindowRequestParams
- type DeleteTimeWindowResponse
- type DeleteTimeWindowResponseParams
- type DescribeAccountPrivilegesRequest
- type DescribeAccountPrivilegesRequestParams
- type DescribeAccountPrivilegesResponse
- type DescribeAccountPrivilegesResponseParams
- type DescribeAsyncRequestInfoRequest
- type DescribeAsyncRequestInfoRequestParams
- type DescribeAsyncRequestInfoResponse
- type DescribeAsyncRequestInfoResponseParams
- type DescribeAuditPoliciesRequest
- type DescribeAuditPoliciesRequestParams
- type DescribeAuditPoliciesResponse
- type DescribeAuditPoliciesResponseParams
- type DescribeAuditRulesRequest
- type DescribeAuditRulesRequestParams
- type DescribeAuditRulesResponse
- type DescribeAuditRulesResponseParams
- type DescribeBackupConfigRequest
- type DescribeBackupConfigRequestParams
- type DescribeBackupConfigResponse
- type DescribeBackupConfigResponseParams
- type DescribeBackupDownloadRestrictionRequest
- type DescribeBackupDownloadRestrictionRequestParams
- type DescribeBackupDownloadRestrictionResponse
- type DescribeBackupDownloadRestrictionResponseParams
- type DescribeBackupOverviewRequest
- type DescribeBackupOverviewRequestParams
- type DescribeBackupOverviewResponse
- type DescribeBackupOverviewResponseParams
- type DescribeBackupSummariesRequest
- type DescribeBackupSummariesRequestParams
- type DescribeBackupSummariesResponse
- type DescribeBackupSummariesResponseParams
- type DescribeBackupsRequest
- type DescribeBackupsRequestParams
- type DescribeBackupsResponse
- type DescribeBackupsResponseParams
- type DescribeBinlogBackupOverviewRequest
- type DescribeBinlogBackupOverviewRequestParams
- type DescribeBinlogBackupOverviewResponse
- type DescribeBinlogBackupOverviewResponseParams
- type DescribeBinlogsRequest
- type DescribeBinlogsRequestParams
- type DescribeBinlogsResponse
- type DescribeBinlogsResponseParams
- type DescribeCDBProxyRequest
- type DescribeCDBProxyRequestParams
- type DescribeCDBProxyResponse
- type DescribeCDBProxyResponseParams
- type DescribeCloneListRequest
- type DescribeCloneListRequestParams
- type DescribeCloneListResponse
- type DescribeCloneListResponseParams
- type DescribeDBImportRecordsRequest
- type DescribeDBImportRecordsRequestParams
- type DescribeDBImportRecordsResponse
- type DescribeDBImportRecordsResponseParams
- type DescribeDBInstanceCharsetRequest
- type DescribeDBInstanceCharsetRequestParams
- type DescribeDBInstanceCharsetResponse
- type DescribeDBInstanceCharsetResponseParams
- type DescribeDBInstanceConfigRequest
- type DescribeDBInstanceConfigRequestParams
- type DescribeDBInstanceConfigResponse
- type DescribeDBInstanceConfigResponseParams
- type DescribeDBInstanceGTIDRequest
- type DescribeDBInstanceGTIDRequestParams
- type DescribeDBInstanceGTIDResponse
- type DescribeDBInstanceGTIDResponseParams
- type DescribeDBInstanceInfoRequest
- type DescribeDBInstanceInfoRequestParams
- type DescribeDBInstanceInfoResponse
- type DescribeDBInstanceInfoResponseParams
- type DescribeDBInstanceRebootTimeRequest
- type DescribeDBInstanceRebootTimeRequestParams
- type DescribeDBInstanceRebootTimeResponse
- type DescribeDBInstanceRebootTimeResponseParams
- type DescribeDBInstancesRequest
- type DescribeDBInstancesRequestParams
- type DescribeDBInstancesResponse
- type DescribeDBInstancesResponseParams
- type DescribeDBSecurityGroupsRequest
- type DescribeDBSecurityGroupsRequestParams
- type DescribeDBSecurityGroupsResponse
- type DescribeDBSecurityGroupsResponseParams
- type DescribeDBSwitchRecordsRequest
- type DescribeDBSwitchRecordsRequestParams
- type DescribeDBSwitchRecordsResponse
- type DescribeDBSwitchRecordsResponseParams
- type DescribeDBZoneConfigRequest
- type DescribeDBZoneConfigRequestParams
- type DescribeDBZoneConfigResponse
- type DescribeDBZoneConfigResponseParams
- type DescribeDataBackupOverviewRequest
- type DescribeDataBackupOverviewRequestParams
- type DescribeDataBackupOverviewResponse
- type DescribeDataBackupOverviewResponseParams
- type DescribeDatabasesRequest
- type DescribeDatabasesRequestParams
- type DescribeDatabasesResponse
- type DescribeDatabasesResponseParams
- type DescribeDefaultParamsRequest
- type DescribeDefaultParamsRequestParams
- type DescribeDefaultParamsResponse
- type DescribeDefaultParamsResponseParams
- type DescribeDeviceMonitorInfoRequest
- type DescribeDeviceMonitorInfoRequestParams
- type DescribeDeviceMonitorInfoResponse
- type DescribeDeviceMonitorInfoResponseParams
- type DescribeErrorLogDataRequest
- type DescribeErrorLogDataRequestParams
- type DescribeErrorLogDataResponse
- type DescribeErrorLogDataResponseParams
- type DescribeInstanceParamRecordsRequest
- type DescribeInstanceParamRecordsRequestParams
- type DescribeInstanceParamRecordsResponse
- type DescribeInstanceParamRecordsResponseParams
- type DescribeInstanceParamsRequest
- type DescribeInstanceParamsRequestParams
- type DescribeInstanceParamsResponse
- type DescribeInstanceParamsResponseParams
- type DescribeLocalBinlogConfigRequest
- type DescribeLocalBinlogConfigRequestParams
- type DescribeLocalBinlogConfigResponse
- type DescribeLocalBinlogConfigResponseParams
- type DescribeParamTemplateInfoRequest
- type DescribeParamTemplateInfoRequestParams
- type DescribeParamTemplateInfoResponse
- type DescribeParamTemplateInfoResponseParams
- type DescribeParamTemplatesRequest
- type DescribeParamTemplatesRequestParams
- type DescribeParamTemplatesResponse
- type DescribeParamTemplatesResponseParams
- type DescribeProjectSecurityGroupsRequest
- type DescribeProjectSecurityGroupsRequestParams
- type DescribeProjectSecurityGroupsResponse
- type DescribeProjectSecurityGroupsResponseParams
- type DescribeProxyConnectionPoolConfRequest
- type DescribeProxyConnectionPoolConfRequestParams
- type DescribeProxyConnectionPoolConfResponse
- type DescribeProxyConnectionPoolConfResponseParams
- type DescribeProxyCustomConfRequest
- type DescribeProxyCustomConfRequestParams
- type DescribeProxyCustomConfResponse
- type DescribeProxyCustomConfResponseParams
- type DescribeRoGroupsRequest
- type DescribeRoGroupsRequestParams
- type DescribeRoGroupsResponse
- type DescribeRoGroupsResponseParams
- type DescribeRoMinScaleRequest
- type DescribeRoMinScaleRequestParams
- type DescribeRoMinScaleResponse
- type DescribeRoMinScaleResponseParams
- type DescribeRollbackRangeTimeRequest
- type DescribeRollbackRangeTimeRequestParams
- type DescribeRollbackRangeTimeResponse
- type DescribeRollbackRangeTimeResponseParams
- type DescribeRollbackTaskDetailRequest
- type DescribeRollbackTaskDetailRequestParams
- type DescribeRollbackTaskDetailResponse
- type DescribeRollbackTaskDetailResponseParams
- type DescribeSlowLogDataRequest
- type DescribeSlowLogDataRequestParams
- type DescribeSlowLogDataResponse
- type DescribeSlowLogDataResponseParams
- type DescribeSlowLogsRequest
- type DescribeSlowLogsRequestParams
- type DescribeSlowLogsResponse
- type DescribeSlowLogsResponseParams
- type DescribeSupportedPrivilegesRequest
- type DescribeSupportedPrivilegesRequestParams
- type DescribeSupportedPrivilegesResponse
- type DescribeSupportedPrivilegesResponseParams
- type DescribeTablesRequest
- type DescribeTablesRequestParams
- type DescribeTablesResponse
- type DescribeTablesResponseParams
- type DescribeTagsOfInstanceIdsRequest
- type DescribeTagsOfInstanceIdsRequestParams
- type DescribeTagsOfInstanceIdsResponse
- type DescribeTagsOfInstanceIdsResponseParams
- type DescribeTasksRequest
- type DescribeTasksRequestParams
- type DescribeTasksResponse
- type DescribeTasksResponseParams
- type DescribeTimeWindowRequest
- type DescribeTimeWindowRequestParams
- type DescribeTimeWindowResponse
- type DescribeTimeWindowResponseParams
- type DescribeUploadedFilesRequest
- type DescribeUploadedFilesRequestParams
- type DescribeUploadedFilesResponse
- type DescribeUploadedFilesResponseParams
- type DeviceCpuInfo
- type DeviceCpuRateInfo
- type DeviceDiskInfo
- type DeviceMemInfo
- type DeviceNetInfo
- type DisassociateSecurityGroupsRequest
- type DisassociateSecurityGroupsRequestParams
- type DisassociateSecurityGroupsResponse
- type DisassociateSecurityGroupsResponseParams
- type DrInfo
- type ErrlogItem
- type ImportRecord
- type Inbound
- type InitDBInstancesRequest
- type InitDBInstancesRequestParams
- type InitDBInstancesResponse
- type InitDBInstancesResponseParams
- type InstanceInfo
- type InstanceRebootTime
- type InstanceRollbackRangeTime
- type IsolateDBInstanceRequest
- type IsolateDBInstanceRequestParams
- type IsolateDBInstanceResponse
- type IsolateDBInstanceResponseParams
- type LocalBinlogConfig
- type LocalBinlogConfigDefault
- type MasterInfo
- type ModifyAccountDescriptionRequest
- type ModifyAccountDescriptionRequestParams
- type ModifyAccountDescriptionResponse
- type ModifyAccountDescriptionResponseParams
- type ModifyAccountMaxUserConnectionsRequest
- type ModifyAccountMaxUserConnectionsRequestParams
- type ModifyAccountMaxUserConnectionsResponse
- type ModifyAccountMaxUserConnectionsResponseParams
- type ModifyAccountPasswordRequest
- type ModifyAccountPasswordRequestParams
- type ModifyAccountPasswordResponse
- type ModifyAccountPasswordResponseParams
- type ModifyAccountPrivilegesRequest
- type ModifyAccountPrivilegesRequestParams
- type ModifyAccountPrivilegesResponse
- type ModifyAccountPrivilegesResponseParams
- type ModifyAutoRenewFlagRequest
- type ModifyAutoRenewFlagRequestParams
- type ModifyAutoRenewFlagResponse
- type ModifyAutoRenewFlagResponseParams
- type ModifyBackupConfigRequest
- type ModifyBackupConfigRequestParams
- type ModifyBackupConfigResponse
- type ModifyBackupConfigResponseParams
- type ModifyBackupDownloadRestrictionRequest
- type ModifyBackupDownloadRestrictionRequestParams
- type ModifyBackupDownloadRestrictionResponse
- type ModifyBackupDownloadRestrictionResponseParams
- type ModifyCDBProxyConnectionPoolRequest
- type ModifyCDBProxyConnectionPoolRequestParams
- type ModifyCDBProxyConnectionPoolResponse
- type ModifyCDBProxyConnectionPoolResponseParams
- type ModifyCDBProxyDescRequest
- type ModifyCDBProxyDescRequestParams
- type ModifyCDBProxyDescResponse
- type ModifyCDBProxyDescResponseParams
- type ModifyCDBProxyRequest
- type ModifyCDBProxyRequestParams
- type ModifyCDBProxyResponse
- type ModifyCDBProxyResponseParams
- type ModifyCDBProxyVipVPortRequest
- type ModifyCDBProxyVipVPortRequestParams
- type ModifyCDBProxyVipVPortResponse
- type ModifyCDBProxyVipVPortResponseParams
- type ModifyDBInstanceNameRequest
- type ModifyDBInstanceNameRequestParams
- type ModifyDBInstanceNameResponse
- type ModifyDBInstanceNameResponseParams
- type ModifyDBInstanceProjectRequest
- type ModifyDBInstanceProjectRequestParams
- type ModifyDBInstanceProjectResponse
- type ModifyDBInstanceProjectResponseParams
- type ModifyDBInstanceSecurityGroupsRequest
- type ModifyDBInstanceSecurityGroupsRequestParams
- type ModifyDBInstanceSecurityGroupsResponse
- type ModifyDBInstanceSecurityGroupsResponseParams
- type ModifyInstanceParamRequest
- type ModifyInstanceParamRequestParams
- type ModifyInstanceParamResponse
- type ModifyInstanceParamResponseParams
- type ModifyInstanceTagRequest
- type ModifyInstanceTagRequestParams
- type ModifyInstanceTagResponse
- type ModifyInstanceTagResponseParams
- type ModifyLocalBinlogConfigRequest
- type ModifyLocalBinlogConfigRequestParams
- type ModifyLocalBinlogConfigResponse
- type ModifyLocalBinlogConfigResponseParams
- type ModifyParamTemplateRequest
- type ModifyParamTemplateRequestParams
- type ModifyParamTemplateResponse
- type ModifyParamTemplateResponseParams
- type ModifyRoGroupInfoRequest
- type ModifyRoGroupInfoRequestParams
- type ModifyRoGroupInfoResponse
- type ModifyRoGroupInfoResponseParams
- type ModifyTimeWindowRequest
- type ModifyTimeWindowRequestParams
- type ModifyTimeWindowResponse
- type ModifyTimeWindowResponseParams
- type OfflineIsolatedInstancesRequest
- type OfflineIsolatedInstancesRequestParams
- type OfflineIsolatedInstancesResponse
- type OfflineIsolatedInstancesResponseParams
- type OpenDBInstanceGTIDRequest
- type OpenDBInstanceGTIDRequestParams
- type OpenDBInstanceGTIDResponse
- type OpenDBInstanceGTIDResponseParams
- type OpenWanServiceRequest
- type OpenWanServiceRequestParams
- type OpenWanServiceResponse
- type OpenWanServiceResponseParams
- type Outbound
- type ParamInfo
- type ParamRecord
- type ParamTemplateInfo
- type Parameter
- type ParameterDetail
- type PoolConf
- type ProxyGroup
- type ProxyGroups
- type ProxyNodeInfo
- type QueryCDBProxyRequest
- type QueryCDBProxyRequestParams
- type QueryCDBProxyResponse
- type QueryCDBProxyResponseParams
- type RWInfo
- type RWInfos
- type RWInstanceInfo
- type RegionSellConf
- type ReleaseIsolatedDBInstancesRequest
- type ReleaseIsolatedDBInstancesRequestParams
- type ReleaseIsolatedDBInstancesResponse
- type ReleaseIsolatedDBInstancesResponseParams
- type ReleaseResult
- type ReloadBalanceProxyNodeRequest
- type ReloadBalanceProxyNodeRequestParams
- type ReloadBalanceProxyNodeResponse
- type ReloadBalanceProxyNodeResponseParams
- type ResetRootAccountRequest
- type ResetRootAccountRequestParams
- type ResetRootAccountResponse
- type ResetRootAccountResponseParams
- type RestartDBInstancesRequest
- type RestartDBInstancesRequestParams
- type RestartDBInstancesResponse
- type RestartDBInstancesResponseParams
- type RoGroup
- type RoGroupAttr
- type RoInstanceInfo
- type RoVipInfo
- type RoWeight
- type RoWeightValue
- type RollbackDBName
- type RollbackInstancesInfo
- type RollbackTableName
- type RollbackTables
- type RollbackTask
- type RollbackTimeRange
- type Rule
- type SecurityGroup
- type SellConfig
- type SellType
- type SlaveConfig
- type SlaveInfo
- type SlaveInstanceInfo
- type SlowLogInfo
- type SlowLogItem
- type SqlFileInfo
- type StartBatchRollbackRequest
- type StartBatchRollbackRequestParams
- type StartBatchRollbackResponse
- type StartBatchRollbackResponseParams
- type StartReplicationRequest
- type StartReplicationRequestParams
- type StartReplicationResponse
- type StartReplicationResponseParams
- type StopDBImportJobRequest
- type StopDBImportJobRequestParams
- type StopDBImportJobResponse
- type StopDBImportJobResponseParams
- type StopReplicationRequest
- type StopReplicationRequestParams
- type StopReplicationResponse
- type StopReplicationResponseParams
- type StopRollbackRequest
- type StopRollbackRequestParams
- type StopRollbackResponse
- type StopRollbackResponseParams
- type SwitchCDBProxyRequest
- type SwitchCDBProxyRequestParams
- type SwitchCDBProxyResponse
- type SwitchCDBProxyResponseParams
- type SwitchDBInstanceMasterSlaveRequest
- type SwitchDBInstanceMasterSlaveRequestParams
- type SwitchDBInstanceMasterSlaveResponse
- type SwitchDBInstanceMasterSlaveResponseParams
- type SwitchDrInstanceToMasterRequest
- type SwitchDrInstanceToMasterRequestParams
- type SwitchDrInstanceToMasterResponse
- type SwitchDrInstanceToMasterResponseParams
- type SwitchForUpgradeRequest
- type SwitchForUpgradeRequestParams
- type SwitchForUpgradeResponse
- type SwitchForUpgradeResponseParams
- type TablePrivilege
- type Tag
- type TagInfo
- type TagInfoItem
- type TagInfoUnit
- type TagsInfoOfInstance
- type TaskDetail
- type UpgradeCDBProxyRequest
- type UpgradeCDBProxyRequestParams
- type UpgradeCDBProxyResponse
- type UpgradeCDBProxyResponseParams
- type UpgradeCDBProxyVersionRequest
- type UpgradeCDBProxyVersionRequestParams
- type UpgradeCDBProxyVersionResponse
- type UpgradeCDBProxyVersionResponseParams
- type UpgradeDBInstanceEngineVersionRequest
- type UpgradeDBInstanceEngineVersionRequestParams
- type UpgradeDBInstanceEngineVersionResponse
- type UpgradeDBInstanceEngineVersionResponseParams
- type UpgradeDBInstanceRequest
- type UpgradeDBInstanceRequestParams
- type UpgradeDBInstanceResponse
- type UpgradeDBInstanceResponseParams
- type UploadInfo
- type ZoneConf
- type ZoneSellConf
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // The sub-account has no permissions. AUTHFAILURE_SUBACCOUNTDENIED = "AuthFailure.SubAccountDenied" // Backend or process error. CDBERROR = "CdbError" // Backup error. CDBERROR_BACKUPERROR = "CdbError.BackupError" // Backend database error. CDBERROR_DATABASEERROR = "CdbError.DatabaseError" // Import task error. CDBERROR_IMPORTERROR = "CdbError.ImportError" // Backend task error. CDBERROR_TASKERROR = "CdbError.TaskError" // Operation failed. FAILEDOPERATION = "FailedOperation" // Async task exception. FAILEDOPERATION_ASYNCTASKSTATUSERROR = "FailedOperation.AsyncTaskStatusError" // Failed to lock the instance while performing exclusive operations. Please try again later. FAILEDOPERATION_CDBINSTANCELOCKFAILERROR = "FailedOperation.CdbInstanceLockFailError" // Creation failed. Please check whether the user already exists. FAILEDOPERATION_CREATEACCOUNTERROR = "FailedOperation.CreateAccountError" // Failed to create the audit rule. FAILEDOPERATION_CREATEAUDITFAILERROR = "FailedOperation.CreateAuditFailError" // Failed to assign an exclusive VIP to the read-only replica. FAILEDOPERATION_CREATEROVIPERROR = "FailedOperation.CreateRoVipError" // Failed to query database proxy. FAILEDOPERATION_DESCRIBEPROXYGROUPERROR = "FailedOperation.DescribeProxyGroupError" // An error occurred while obtaining permissions. FAILEDOPERATION_GETPRIVILEGEERROR = "FailedOperation.GetPrivilegeError" // Failed to deserialize JSON. FAILEDOPERATION_JSONUNMARSHALERROR = "FailedOperation.JsonUnmarshalError" // It is not a read-only instance with delayed replication enabled. FAILEDOPERATION_NOTDELAYRO = "FailedOperation.NotDelayRo" // The executed operation to modify permissions is invalid. You can refer to product documentation for more information about permissions that can be modified for this instance. If you have any questions, please contact customer service. FAILEDOPERATION_PRIVILEGEDATAILLEGAL = "FailedOperation.PrivilegeDataIllegal" // Database proxy in an exceptional status. FAILEDOPERATION_PROXYGROUPSTATUSERROR = "FailedOperation.ProxyGroupStatusError" // Log query failed. FAILEDOPERATION_QUERYLOGERROR = "FailedOperation.QueryLogError" // The proxy is being created or already exists. You cannot create it again. FAILEDOPERATION_REPEATCREATEPROXYERROR = "FailedOperation.RepeatCreateProxyError" // Exception with the backend request for the service. Please contact customer service. FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" // Failed to initiate the operation. Please try again later. If the operation remains unsuccessful, please contact customer service. FAILEDOPERATION_STARTFLOWERROR = "FailedOperation.StartFlowError" // Task status conflict. FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" // Failed to submit the task. Please try again later. If the submission remains unsuccessful, please contact customer service. FAILEDOPERATION_SUBMITASYNCTASKERROR = "FailedOperation.SubmitAsyncTaskError" // The query timed out. FAILEDOPERATION_TIMEOUTERROR = "FailedOperation.TimeoutError" // This type of operations cannot be performed. FAILEDOPERATION_TYPEINCONFLICT = "FailedOperation.TypeInConflict" // An internal error occurred. INTERNALERROR = "InternalError" // An error occurred while querying async tasks. INTERNALERROR_ASYNCREQUESTERROR = "InternalError.AsyncRequestError" // An error occurred in the internal service of the audit service. INTERNALERROR_AUDITERROR = "InternalError.AuditError" // Internal exception of the audit service. INTERNALERROR_AUDITOSSLOGICERROR = "InternalError.AuditOssLogicError" // Authentication failed. INTERNALERROR_AUTHERROR = "InternalError.AuthError" // Authentication failed. INTERNALERROR_CAUTHERROR = "InternalError.CauthError" // Internal system error. INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" // System error. INTERNALERROR_CDBERROR = "InternalError.CdbError" // Failed to obtain file information. INTERNALERROR_COSERROR = "InternalError.CosError" // Database exception INTERNALERROR_DBERROR = "InternalError.DBError" // Database operation failed. INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" // The database record does not exist. INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" // Internal database error. INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" // Internal system error. INTERNALERROR_DESERROR = "InternalError.DesError" // Security group operation error. INTERNALERROR_DFWERROR = "InternalError.DfwError" // SQL statement error INTERNALERROR_EXESQLERROR = "InternalError.ExeSqlError" // File transfer exception INTERNALERROR_FTPERROR = "InternalError.FtpError" // Exceptional HTTP request INTERNALERROR_HTTPERROR = "InternalError.HttpError" // Internal service error INTERNALERROR_INNERCOMMONERROR = "InternalError.InnerCommonError" // Internal service error. Please contact customer service. INTERNALERROR_INTERNALASSERTERROR = "InternalError.InternalAssertError" // An exception occurred while executing the request. INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" // The backend failed to request the service. Please contact customer service. INTERNALERROR_INTERNALREQUESTERROR = "InternalError.InternalRequestError" // An error occurred while accessing internal service. INTERNALERROR_INTERNALSERVICEERRORERR = "InternalError.InternalServiceErrorErr" // Failed to parse JSON. INTERNALERROR_JSONERROR = "InternalError.JSONError" // Network error INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" // An error occurred in TencentDB for MySQL High-Availability Edition database service. INTERNALERROR_OSSERROR = "InternalError.OssError" // Parameter error INTERNALERROR_PARAMERROR = "InternalError.ParamError" // Regular expression compilation error. INTERNALERROR_REGEXPCOMPILEERROR = "InternalError.RegexpCompileError" // The resource does not match. INTERNALERROR_RESOURCENOTMATCH = "InternalError.ResourceNotMatch" // The resource is not unique. INTERNALERROR_RESOURCENOTUNIQUE = "InternalError.ResourceNotUnique" // Security group error INTERNALERROR_SECURITYGROUPERROR = "InternalError.SecurityGroupError" // Internal error of the system. INTERNALERROR_SERVERERROR = "InternalError.ServerError" // An exception occurred in the internal service. INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" // Failed to modify the tag. Please try again later. INTERNALERROR_TAGERROR = "InternalError.TagError" // Task exception INTERNALERROR_TASKERROR = "InternalError.TaskError" // Async task error. INTERNALERROR_TASKFRAMEERROR = "InternalError.TaskFrameError" // Time window error INTERNALERROR_TIMEWINDOWERROR = "InternalError.TimeWindowError" // Transaction system error. INTERNALERROR_TRADEERROR = "InternalError.TradeError" // Operation failed INTERNALERROR_TRANSACTIONBEGINERROR = "InternalError.TransactionBeginError" // Unknown error INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" // Unknown error INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" // VPC or subnet error. INTERNALERROR_VPCERROR = "InternalError.VpcError" // Parameter error. INVALIDPARAMETER = "InvalidParameter" // This API was not found. INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" // Parameter exception. INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" // The instance is not found. INVALIDPARAMETER_INSTANCENAMENOTFOUND = "InvalidParameter.InstanceNameNotFound" // The instance does not exist. INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" // The async task does not exist. INVALIDPARAMETER_INVALIDASYNCREQUESTID = "InvalidParameter.InvalidAsyncRequestId" // Invalid name. INVALIDPARAMETER_INVALIDNAME = "InvalidParameter.InvalidName" // Invalid parameter value INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" // Failed to deserialize JSON. INVALIDPARAMETER_JSONUNMARSHALERROR = "InvalidParameter.JsonUnmarshalError" // The resource already exists. INVALIDPARAMETER_RESOURCEEXISTS = "InvalidParameter.ResourceExists" // The resource does not exist. INVALIDPARAMETER_RESOURCENOTEXISTS = "InvalidParameter.ResourceNotExists" // The resource is not found. INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" // The account description contains special characters. INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONCHARACTERERROR = "InvalidParameterValue.AccountDescriptionCharacterError" // The account description should not exceed 255 characters. INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONLENGTHERROR = "InvalidParameterValue.AccountDescriptionLengthError" // Incorrect format of the `host` parameter in the account. INVALIDPARAMETERVALUE_ACCOUNTHOSTRULEERROR = "InvalidParameterValue.AccountHostRuleError" // The account password contains invalid characters. INVALIDPARAMETERVALUE_ACCOUNTPASSWORDCHARACTERERROR = "InvalidParameterValue.AccountPasswordCharacterError" // The account password is too long or too short. INVALIDPARAMETERVALUE_ACCOUNTPASSWORDLENGTHERROR = "InvalidParameterValue.AccountPasswordLengthError" // The password format is incorrect. It should contain 8 to 64 characters and must contain at least two character sets of the following: letters, digits, and special symbols (_+-&=!@#$%^*()). INVALIDPARAMETERVALUE_ACCOUNTPASSWORDRULEERROR = "InvalidParameterValue.AccountPasswordRuleError" // Data conversion failed. INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" // Invalid parameter value INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" // Incorrect format of the account username. INVALIDPARAMETERVALUE_USERNAMERULEERROR = "InvalidParameterValue.UserNameRuleError" // The account does not exist. INVALIDPARAMETERVALUE_USERNOTEXISTERROR = "InvalidParameterValue.UserNotExistError" // No root account found. INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" // Invalid account password. INVALIDPARAMETERVALUE_VERIFYACCOUNTPASSWORDERROR = "InvalidParameterValue.VerifyAccountPasswordError" // The account does not have the GRANT permission. INVALIDPARAMETERVALUE_VERIFYACCOUNTPRIVERROR = "InvalidParameterValue.VerifyAccountPrivError" // The quota limit has been reached. LIMITEXCEEDED = "LimitExceeded" // Missing parameter MISSINGPARAMETER = "MissingParameter" // Account-related parameters are missing. MISSINGPARAMETER_ACCOUNTMISSINGPARAMETERERROR = "MissingParameter.AccountMissingParameterError" // Required parameters are missing. MISSINGPARAMETER_MISSINGPARAMERROR = "MissingParameter.MissingParamError" // Operation denied. OPERATIONDENIED = "OperationDenied" // The instance is performing another task. OPERATIONDENIED_ACTIONINPROCESS = "OperationDenied.ActionInProcess" // Unsupported operation. OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" // The audit policies conflict. OPERATIONDENIED_AUDITPOLICYCONFLICTERROR = "OperationDenied.AuditPolicyConflictError" // The audit policy already exists. OPERATIONDENIED_AUDITPOLICYEXISTERROR = "OperationDenied.AuditPolicyExistError" // The number of audit policies exceeds the limit. OPERATIONDENIED_AUDITPOLICYOVERQUOTAERROR = "OperationDenied.AuditPolicyOverQuotaError" // The audit rule has been associated. OPERATIONDENIED_AUDITRULEHASBIND = "OperationDenied.AuditRuleHasBind" // The audit rule does not exist. OPERATIONDENIED_AUDITRULENOTEXISTERROR = "OperationDenied.AuditRuleNotExistError" // Exceptional audit status. OPERATIONDENIED_AUDITSTATUSERROR = "OperationDenied.AuditStatusError" // The audit tasks conflict. OPERATIONDENIED_AUDITTASKCONFLICTERROR = "OperationDenied.AuditTaskConflictError" // The operation is not allowed as the RO group contains an invalid read-only instance. OPERATIONDENIED_CONFLICTROSTATUS = "OperationDenied.ConflictRoStatus" // The configuration of read-only group is being modified. Please do not make repeated requests. OPERATIONDENIED_CONFLICTSTATUS = "OperationDenied.ConflictStatus" // You have enabled the compliance audit feature of DBbrain, so you cannot enable the rule-based audit. OPERATIONDENIED_DBBRAINPOLICYCONFLICT = "OperationDenied.DBBrainPolicyConflict" // The operation is not allowed during the delayed replication. OPERATIONDENIED_DELAYREPLICATIONRUNNING = "OperationDenied.DelayReplicationRunning" // The root account cannot be deleted. OPERATIONDENIED_DELETEROOTACCOUNTERROR = "OperationDenied.DeleteRootAccountError" // This instance needs permissions to use this feature. OPERATIONDENIED_FUNCTIONDENIED = "OperationDenied.FunctionDenied" // Instance locks are in conflict. Please try again later. OPERATIONDENIED_INSTANCELOCKERCONFLICT = "OperationDenied.InstanceLockerConflict" // Exceptional instance status OPERATIONDENIED_INSTANCESTATUSERROR = "OperationDenied.InstanceStatusError" // Delayed replication is not allowed because the instance is executing another task. OPERATIONDENIED_INSTANCETASKRUNNING = "OperationDenied.InstanceTaskRunning" // The instance does not support this operation. OPERATIONDENIED_INSTANCEUNSUPPORTEDOPERATEERROR = "OperationDenied.InstanceUnsupportedOperateError" // Basic instances do not support this operation (feature). OPERATIONDENIED_NOTSUPPORTBASIC = "OperationDenied.NotSupportBasic" // The host information of the local root account cannot be modified. OPERATIONDENIED_NOTSUPPORTMODIFYLOCALROOTHOSTERROR = "OperationDenied.NotSupportModifyLocalRootHostError" // There are other orders being submitted. Please try again later. OPERATIONDENIED_OTHERODERINPROCESS = "OperationDenied.OtherOderInProcess" // This operation is not allowed during database proxy upgrade task. OPERATIONDENIED_PROXYUPGRADETASKSTATUSERROR = "OperationDenied.ProxyUpgradeTaskStatusError" // The maximum number of results has been reached. Please narrow down your query. OPERATIONDENIED_RESULTOVERLIMIT = "OperationDenied.ResultOverLimit" // The Tencent Cloud sub-account is not allowed to perform the operation due to insufficient permissions. OPERATIONDENIED_SUBACCOUNTOPERATIONDENIED = "OperationDenied.SubAccountOperationDenied" // This instance is not refundable. OPERATIONDENIED_UNSUPPORTREFUNDERROR = "OperationDenied.UnSupportRefundError" // The audit feature cannot be enabled. OPERATIONDENIED_UNSUPPORTOPENAUDITERROR = "OperationDenied.UnsupportOpenAuditError" // This account is not authorized to access the requested resource. OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" // Incorrect password or verification failed. OPERATIONDENIED_WRONGPASSWORD = "OperationDenied.WrongPassword" // The backend task status is invalid. OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus" // Limit exceeded. OVERQUOTA = "OverQuota" // The resource is occupied. RESOURCEINUSE = "ResourceInUse" // Insufficient resource. RESOURCEINSUFFICIENT = "ResourceInsufficient" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The instance cannot be found. Please check whether your instance status is normal. RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError" // The instance does not exist. RESOURCENOTFOUND_INSTANCENOTFUNDERROR = "ResourceNotFound.InstanceNotFundError" // The resource is unavailable. RESOURCEUNAVAILABLE = "ResourceUnavailable" // Verification failed. Insufficient permissions. UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" // Unsupported permission. UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = "UnsupportedOperation.PrivilegesUnsupportedError" )
const APIVersion = "2017-03-20"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTimeWindowRequest ¶
type AddTimeWindowRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Maintenance window on Monday. The format should be 10:00-12:00. You can set multiple time windows on a day. Each time window lasts from half an hour to three hours, and must start and end on the hour or half hour. At least one time window is required in a week. The same rule applies to the following parameters. Monday []*string `json:"Monday,omitempty" name:"Monday"` // Maintenance window on Tuesday. At least one time window is required in a week. Tuesday []*string `json:"Tuesday,omitempty" name:"Tuesday"` // Maintenance window on Wednesday. At least one time window is required in a week. Wednesday []*string `json:"Wednesday,omitempty" name:"Wednesday"` // Maintenance window on Thursday. At least one time window is required in a week. Thursday []*string `json:"Thursday,omitempty" name:"Thursday"` // Maintenance window on Friday. At least one time window is required in a week. Friday []*string `json:"Friday,omitempty" name:"Friday"` // Maintenance window on Saturday. At least one time window is required in a week. Saturday []*string `json:"Saturday,omitempty" name:"Saturday"` // Maintenance window on Sunday. At least one time window is required in a week. Sunday []*string `json:"Sunday,omitempty" name:"Sunday"` // Maximum delay threshold, which takes effect only for source instances and disaster recovery instances. MaxDelayTime *uint64 `json:"MaxDelayTime,omitempty" name:"MaxDelayTime"` }
func NewAddTimeWindowRequest ¶
func NewAddTimeWindowRequest() (request *AddTimeWindowRequest)
func (*AddTimeWindowRequest) FromJsonString ¶
func (r *AddTimeWindowRequest) 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 (*AddTimeWindowRequest) ToJsonString ¶
func (r *AddTimeWindowRequest) ToJsonString() string
type AddTimeWindowRequestParams ¶
type AddTimeWindowRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Maintenance window on Monday. The format should be 10:00-12:00. You can set multiple time windows on a day. Each time window lasts from half an hour to three hours, and must start and end on the hour or half hour. At least one time window is required in a week. The same rule applies to the following parameters. Monday []*string `json:"Monday,omitempty" name:"Monday"` // Maintenance window on Tuesday. At least one time window is required in a week. Tuesday []*string `json:"Tuesday,omitempty" name:"Tuesday"` // Maintenance window on Wednesday. At least one time window is required in a week. Wednesday []*string `json:"Wednesday,omitempty" name:"Wednesday"` // Maintenance window on Thursday. At least one time window is required in a week. Thursday []*string `json:"Thursday,omitempty" name:"Thursday"` // Maintenance window on Friday. At least one time window is required in a week. Friday []*string `json:"Friday,omitempty" name:"Friday"` // Maintenance window on Saturday. At least one time window is required in a week. Saturday []*string `json:"Saturday,omitempty" name:"Saturday"` // Maintenance window on Sunday. At least one time window is required in a week. Sunday []*string `json:"Sunday,omitempty" name:"Sunday"` // Maximum delay threshold, which takes effect only for source instances and disaster recovery instances. MaxDelayTime *uint64 `json:"MaxDelayTime,omitempty" name:"MaxDelayTime"` }
Predefined struct for user
type AddTimeWindowResponse ¶
type AddTimeWindowResponse struct { *tchttp.BaseResponse Response *AddTimeWindowResponseParams `json:"Response"` }
func NewAddTimeWindowResponse ¶
func NewAddTimeWindowResponse() (response *AddTimeWindowResponse)
func (*AddTimeWindowResponse) FromJsonString ¶
func (r *AddTimeWindowResponse) 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 (*AddTimeWindowResponse) ToJsonString ¶
func (r *AddTimeWindowResponse) ToJsonString() string
type AddTimeWindowResponseParams ¶
type AddTimeWindowResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Address ¶
type Address struct { // Address // Note: this field may return `null`, indicating that no valid value can be found. Vip *string `json:"Vip,omitempty" name:"Vip"` // Port // Note: this field may return `null`, indicating that no valid value can be found. VPort *uint64 `json:"VPort,omitempty" name:"VPort"` // VPC ID // Note: this field may return `null`, indicating that no valid value can be found. UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // VPC subnet ID // Note: this field may return `null`, indicating that no valid value can be found. UniqSubnet *string `json:"UniqSubnet,omitempty" name:"UniqSubnet"` // Description // Note: this field may return `null`, indicating that no valid value can be found. Desc *string `json:"Desc,omitempty" name:"Desc"` }
type ApplyCDBProxyRequest ¶
type ApplyCDBProxyRequest struct { *tchttp.BaseRequest // Unique ID of the source instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // VPC ID UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // VPC subnet ID UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // Number of nodes in the proxy group ProxyCount *uint64 `json:"ProxyCount,omitempty" name:"ProxyCount"` // Number of CPU cores Cpu *uint64 `json:"Cpu,omitempty" name:"Cpu"` // Memory Mem *uint64 `json:"Mem,omitempty" name:"Mem"` // Security group SecurityGroup []*string `json:"SecurityGroup,omitempty" name:"SecurityGroup"` // Description (up to 256 characters) Desc *string `json:"Desc,omitempty" name:"Desc"` }
func NewApplyCDBProxyRequest ¶
func NewApplyCDBProxyRequest() (request *ApplyCDBProxyRequest)
func (*ApplyCDBProxyRequest) FromJsonString ¶
func (r *ApplyCDBProxyRequest) 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 (*ApplyCDBProxyRequest) ToJsonString ¶
func (r *ApplyCDBProxyRequest) ToJsonString() string
type ApplyCDBProxyRequestParams ¶
type ApplyCDBProxyRequestParams struct { // Unique ID of the source instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // VPC ID UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // VPC subnet ID UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // Number of nodes in the proxy group ProxyCount *uint64 `json:"ProxyCount,omitempty" name:"ProxyCount"` // Number of CPU cores Cpu *uint64 `json:"Cpu,omitempty" name:"Cpu"` // Memory Mem *uint64 `json:"Mem,omitempty" name:"Mem"` // Security group SecurityGroup []*string `json:"SecurityGroup,omitempty" name:"SecurityGroup"` // Description (up to 256 characters) Desc *string `json:"Desc,omitempty" name:"Desc"` }
Predefined struct for user
type ApplyCDBProxyResponse ¶
type ApplyCDBProxyResponse struct { *tchttp.BaseResponse Response *ApplyCDBProxyResponseParams `json:"Response"` }
func NewApplyCDBProxyResponse ¶
func NewApplyCDBProxyResponse() (response *ApplyCDBProxyResponse)
func (*ApplyCDBProxyResponse) FromJsonString ¶
func (r *ApplyCDBProxyResponse) 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 (*ApplyCDBProxyResponse) ToJsonString ¶
func (r *ApplyCDBProxyResponse) ToJsonString() string
type ApplyCDBProxyResponseParams ¶
type ApplyCDBProxyResponseParams struct { // Async request ID // Note: this field may return `null`, indicating that no valid value can be found. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AssociateSecurityGroupsRequest ¶
type AssociateSecurityGroupsRequest struct { *tchttp.BaseRequest // Security group ID. SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // List of instance IDs, which is an array of one or more instance IDs. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // This parameter takes effect only when the IDs of read-only replicas are passed in. If this parameter is set to `False` or left empty, the security group will be bound to the RO groups of these read-only replicas. If this parameter is set to `True`, the security group will be bound to the read-only replicas themselves. ForReadonlyInstance *bool `json:"ForReadonlyInstance,omitempty" name:"ForReadonlyInstance"` }
func NewAssociateSecurityGroupsRequest ¶
func NewAssociateSecurityGroupsRequest() (request *AssociateSecurityGroupsRequest)
func (*AssociateSecurityGroupsRequest) FromJsonString ¶
func (r *AssociateSecurityGroupsRequest) 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 (*AssociateSecurityGroupsRequest) ToJsonString ¶
func (r *AssociateSecurityGroupsRequest) ToJsonString() string
type AssociateSecurityGroupsRequestParams ¶
type AssociateSecurityGroupsRequestParams struct { // Security group ID. SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // List of instance IDs, which is an array of one or more instance IDs. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // This parameter takes effect only when the IDs of read-only replicas are passed in. If this parameter is set to `False` or left empty, the security group will be bound to the RO groups of these read-only replicas. If this parameter is set to `True`, the security group will be bound to the read-only replicas themselves. ForReadonlyInstance *bool `json:"ForReadonlyInstance,omitempty" name:"ForReadonlyInstance"` }
Predefined struct for user
type AssociateSecurityGroupsResponse ¶
type AssociateSecurityGroupsResponse struct { *tchttp.BaseResponse Response *AssociateSecurityGroupsResponseParams `json:"Response"` }
func NewAssociateSecurityGroupsResponse ¶
func NewAssociateSecurityGroupsResponse() (response *AssociateSecurityGroupsResponse)
func (*AssociateSecurityGroupsResponse) FromJsonString ¶
func (r *AssociateSecurityGroupsResponse) 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 (*AssociateSecurityGroupsResponse) ToJsonString ¶
func (r *AssociateSecurityGroupsResponse) ToJsonString() string
type AssociateSecurityGroupsResponseParams ¶
type AssociateSecurityGroupsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AuditFilter ¶
type AuditFilter struct { // Filter parameter names. Valid values: // SrcIp: Client IP; // User: Database account; // DB: Database name. Type *string `json:"Type,omitempty" name:"Type"` // Filter match type. Valid value: // `INC`: Include; // `EXC`: Exclude; // `EQ`: Equal to; // `NEQ`: Not equal to. Compare *string `json:"Compare,omitempty" name:"Compare"` // Filter match value Value *string `json:"Value,omitempty" name:"Value"` }
type AuditPolicy ¶
type AuditPolicy struct { // Audit policy ID. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Audit policy status. Valid values: // `creating`; // `running`, // `paused`; // `failed`. Status *string `json:"Status,omitempty" name:"Status"` // Database instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Creation time of audit policy in the format of 2019-03-20 17:09:13 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of audit policy in the format of 2019-03-20 17:09:13 ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` // Audit policy name PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // Audit rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Audit rule name // Note: This field may return `null`, indicating that no valid value was found. RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Database instance name // Note: This field may return `null`, indicating that no valid value was found. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` }
type AuditRule ¶
type AuditRule struct { // Audit rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Creation time of audit rule in the format of 2019-03-20 17:09:13 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Last modified time of audit rule in the format of 2019-03-20 17:09:13 ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` // Audit rule name // Note: This field may return `null`, indicating that no valid value was found. RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Audit rule description // Note: This field may return `null`, indicating that no valid value was found. Description *string `json:"Description,omitempty" name:"Description"` // Audit rule filters // Note: This field may return `null`, indicating that no valid value was found. RuleFilters []*AuditFilter `json:"RuleFilters,omitempty" name:"RuleFilters"` // Whether to enable full audit AuditAll *bool `json:"AuditAll,omitempty" name:"AuditAll"` }
type BackupConfig ¶
type BackupConfig struct { // Replication mode of secondary database 2. Value range: async, semi-sync ReplicationMode *string `json:"ReplicationMode,omitempty" name:"ReplicationMode"` // Name of the AZ of secondary database 2, such as ap-shanghai-1 Zone *string `json:"Zone,omitempty" name:"Zone"` // Private IP address of secondary database 2 Vip *string `json:"Vip,omitempty" name:"Vip"` // Access port of secondary database 2 Vport *uint64 `json:"Vport,omitempty" name:"Vport"` }
type BackupInfo ¶
type BackupInfo struct { // Backup filename Name *string `json:"Name,omitempty" name:"Name"` // Backup file size in bytes Size *int64 `json:"Size,omitempty" name:"Size"` // Backup snapshot time in the format of yyyy-MM-dd HH:mm:ss, such as 2016-03-17 02:10:37 Date *string `json:"Date,omitempty" name:"Date"` // Download address IntranetUrl *string `json:"IntranetUrl,omitempty" name:"IntranetUrl"` // Download address InternetUrl *string `json:"InternetUrl,omitempty" name:"InternetUrl"` // Log type. Valid values: `logical` (logical cold backup), `physical` (physical cold backup). Type *string `json:"Type,omitempty" name:"Type"` // Backup subtask ID, which is used when backup files are deleted BackupId *int64 `json:"BackupId,omitempty" name:"BackupId"` // Backup task status. Valid values: `SUCCESS` (backup succeeded), `FAILED` (backup failed), `RUNNING` (backup is in progress). Status *string `json:"Status,omitempty" name:"Status"` // Backup task completion time FinishTime *string `json:"FinishTime,omitempty" name:"FinishTime"` // (This field will be disused and is thus not recommended) backup creator. Valid values: `SYSTEM` (created by system), `Uin` (initiator's `Uin` value). Creator *string `json:"Creator,omitempty" name:"Creator"` // Backup task start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Backup method. Valid values: `full` (full backup), `partial` (partial backup). Method *string `json:"Method,omitempty" name:"Method"` // Backup mode. Valid values: `manual` (manual backup), `automatic` (automatic backup). Way *string `json:"Way,omitempty" name:"Way"` // Manual backup alias ManualBackupName *string `json:"ManualBackupName,omitempty" name:"ManualBackupName"` // Backup retention type. Valid values: `save_mode_regular` (non-archive backup), save_mode_period`(archive backup). SaveMode *string `json:"SaveMode,omitempty" name:"SaveMode"` }
type BackupItem ¶
type BackupItem struct { // Name of the database to be backed up Db *string `json:"Db,omitempty" name:"Db"` // Name of the table to be backed up. If this parameter is passed in, the specified table in the database will be backed up; otherwise, the database will be backed up. Table *string `json:"Table,omitempty" name:"Table"` }
type BackupLimitVpcItem ¶
type BackupLimitVpcItem struct { // The region where the backup download restrictions take effect. It must be the same as the common request parameter `Region` of the API. Region *string `json:"Region,omitempty" name:"Region"` // The list of VPCs used to restrict backup download VpcList []*string `json:"VpcList,omitempty" name:"VpcList"` }
type BackupSummaryItem ¶
type BackupSummaryItem struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Number of automatic data backups of an instance. AutoBackupCount *int64 `json:"AutoBackupCount,omitempty" name:"AutoBackupCount"` // Capacity of automatic data backups of an instance. AutoBackupVolume *int64 `json:"AutoBackupVolume,omitempty" name:"AutoBackupVolume"` // Number of manual data backups of an instance. ManualBackupCount *int64 `json:"ManualBackupCount,omitempty" name:"ManualBackupCount"` // Capacity of manual data backups of an instance. ManualBackupVolume *int64 `json:"ManualBackupVolume,omitempty" name:"ManualBackupVolume"` // Total number of data backups of an instance (including automatic backups and manual backups). DataBackupCount *int64 `json:"DataBackupCount,omitempty" name:"DataBackupCount"` // Total capacity of data backups of an instance. DataBackupVolume *int64 `json:"DataBackupVolume,omitempty" name:"DataBackupVolume"` // Number of log backups of an instance. BinlogBackupCount *int64 `json:"BinlogBackupCount,omitempty" name:"BinlogBackupCount"` // Capacity of log backups of an instance. BinlogBackupVolume *int64 `json:"BinlogBackupVolume,omitempty" name:"BinlogBackupVolume"` // Total capacity of backups of an instance (including data backups and log backups). BackupVolume *int64 `json:"BackupVolume,omitempty" name:"BackupVolume"` }
type BalanceRoGroupLoadRequest ¶
type BalanceRoGroupLoadRequest struct { *tchttp.BaseRequest // RO group ID in the format of `cdbrg-c1nl9rpv`. RoGroupId *string `json:"RoGroupId,omitempty" name:"RoGroupId"` }
func NewBalanceRoGroupLoadRequest ¶
func NewBalanceRoGroupLoadRequest() (request *BalanceRoGroupLoadRequest)
func (*BalanceRoGroupLoadRequest) FromJsonString ¶
func (r *BalanceRoGroupLoadRequest) 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 (*BalanceRoGroupLoadRequest) ToJsonString ¶
func (r *BalanceRoGroupLoadRequest) ToJsonString() string
type BalanceRoGroupLoadRequestParams ¶
type BalanceRoGroupLoadRequestParams struct { // RO group ID in the format of `cdbrg-c1nl9rpv`. RoGroupId *string `json:"RoGroupId,omitempty" name:"RoGroupId"` }
Predefined struct for user
type BalanceRoGroupLoadResponse ¶
type BalanceRoGroupLoadResponse struct { *tchttp.BaseResponse Response *BalanceRoGroupLoadResponseParams `json:"Response"` }
func NewBalanceRoGroupLoadResponse ¶
func NewBalanceRoGroupLoadResponse() (response *BalanceRoGroupLoadResponse)
func (*BalanceRoGroupLoadResponse) FromJsonString ¶
func (r *BalanceRoGroupLoadResponse) 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 (*BalanceRoGroupLoadResponse) ToJsonString ¶
func (r *BalanceRoGroupLoadResponse) ToJsonString() string
type BalanceRoGroupLoadResponseParams ¶
type BalanceRoGroupLoadResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BaseGroupInfo ¶
type BaseGroupInfo struct { // Proxy group ID // Note: this field may return `null`, indicating that no valid value can be found. ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // Number of proxy nodes // Note: this field may return `null`, indicating that no valid value can be found. NodeCount *uint64 `json:"NodeCount,omitempty" name:"NodeCount"` // Proxy group status. Valid values: `init` (delivering), `online` (active), `offline` (inactive), `destroy` (destoryed) // Note: this field may return `null`, indicating that no valid value can be found. Status *string `json:"Status,omitempty" name:"Status"` // Region // Note: this field may return `null`, indicating that no valid value can be found. Region *string `json:"Region,omitempty" name:"Region"` // Availability zone // Note: this field may return `null`, indicating that no valid value can be found. Zone *string `json:"Zone,omitempty" name:"Zone"` // Whether read/write separation is enabled // Note: this field may return `null`, indicating that no valid value can be found. OpenRW *bool `json:"OpenRW,omitempty" name:"OpenRW"` // Current proxy version // Note: this field may return `null`, indicating that no valid value can be found. CurrentProxyVersion *string `json:"CurrentProxyVersion,omitempty" name:"CurrentProxyVersion"` // Target version to which the proxy can be upgraded // Note: this field may return `null`, indicating that no valid value can be found. SupportUpgradeProxyVersion *string `json:"SupportUpgradeProxyVersion,omitempty" name:"SupportUpgradeProxyVersion"` }
type BinlogInfo ¶
type BinlogInfo struct { // Binlog backup filename Name *string `json:"Name,omitempty" name:"Name"` // Backup file size in bytes Size *int64 `json:"Size,omitempty" name:"Size"` // File stored time in the format of 2016-03-17 02:10:37 Date *string `json:"Date,omitempty" name:"Date"` // Download address IntranetUrl *string `json:"IntranetUrl,omitempty" name:"IntranetUrl"` // Download address InternetUrl *string `json:"InternetUrl,omitempty" name:"InternetUrl"` // Log type. Value range: binlog Type *string `json:"Type,omitempty" name:"Type"` // Binlog file start file BinlogStartTime *string `json:"BinlogStartTime,omitempty" name:"BinlogStartTime"` // Binlog file end time BinlogFinishTime *string `json:"BinlogFinishTime,omitempty" name:"BinlogFinishTime"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddTimeWindow ¶
func (c *Client) AddTimeWindow(request *AddTimeWindowRequest) (response *AddTimeWindowResponse, err error)
AddTimeWindow This API (AddTimeWindow) is used to add a maintenance time window for a TencentDB instance, so as to specify when the instance can automatically perform access switch operations.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_RESOURCEEXISTS = "InvalidParameter.ResourceExists"
func (*Client) AddTimeWindowWithContext ¶
func (c *Client) AddTimeWindowWithContext(ctx context.Context, request *AddTimeWindowRequest) (response *AddTimeWindowResponse, err error)
AddTimeWindow This API (AddTimeWindow) is used to add a maintenance time window for a TencentDB instance, so as to specify when the instance can automatically perform access switch operations.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_RESOURCEEXISTS = "InvalidParameter.ResourceExists"
func (*Client) ApplyCDBProxy ¶
func (c *Client) ApplyCDBProxy(request *ApplyCDBProxyRequest) (response *ApplyCDBProxyResponse, err error)
ApplyCDBProxy This API is used to create a database proxy group for a source instance.
error code that may be returned:
FAILEDOPERATION_REPEATCREATEPROXYERROR = "FailedOperation.RepeatCreateProxyError"
func (*Client) ApplyCDBProxyWithContext ¶
func (c *Client) ApplyCDBProxyWithContext(ctx context.Context, request *ApplyCDBProxyRequest) (response *ApplyCDBProxyResponse, err error)
ApplyCDBProxy This API is used to create a database proxy group for a source instance.
error code that may be returned:
FAILEDOPERATION_REPEATCREATEPROXYERROR = "FailedOperation.RepeatCreateProxyError"
func (*Client) AssociateSecurityGroups ¶
func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
AssociateSecurityGroups This API (AssociateSecurityGroups) is used to bind security groups to instances in batches.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_RESOURCENOTMATCH = "InternalError.ResourceNotMatch" INTERNALERROR_SECURITYGROUPERROR = "InternalError.SecurityGroupError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) AssociateSecurityGroupsWithContext ¶
func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
AssociateSecurityGroups This API (AssociateSecurityGroups) is used to bind security groups to instances in batches.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_RESOURCENOTMATCH = "InternalError.ResourceNotMatch" INTERNALERROR_SECURITYGROUPERROR = "InternalError.SecurityGroupError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) BalanceRoGroupLoad ¶
func (c *Client) BalanceRoGroupLoad(request *BalanceRoGroupLoadRequest) (response *BalanceRoGroupLoadResponse, err error)
BalanceRoGroupLoad This API is used to rebalance the loads of instances in an RO group. Please note that the database connections to those instances will be interrupted transiently; therefore, you should ensure that your application can reconnect to the databases. This operation should be performed with caution.
error code that may be returned:
FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound"
func (*Client) BalanceRoGroupLoadWithContext ¶
func (c *Client) BalanceRoGroupLoadWithContext(ctx context.Context, request *BalanceRoGroupLoadRequest) (response *BalanceRoGroupLoadResponse, err error)
BalanceRoGroupLoad This API is used to rebalance the loads of instances in an RO group. Please note that the database connections to those instances will be interrupted transiently; therefore, you should ensure that your application can reconnect to the databases. This operation should be performed with caution.
error code that may be returned:
FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound"
func (*Client) CloseCDBProxy ¶
func (c *Client) CloseCDBProxy(request *CloseCDBProxyRequest) (response *CloseCDBProxyResponse, err error)
CloseCDBProxy This API is used to disable database proxy.
error code that may be returned:
FAILEDOPERATION_DESCRIBEPROXYGROUPERROR = "FailedOperation.DescribeProxyGroupError" FAILEDOPERATION_PROXYGROUPSTATUSERROR = "FailedOperation.ProxyGroupStatusError" OPERATIONDENIED_PROXYUPGRADETASKSTATUSERROR = "OperationDenied.ProxyUpgradeTaskStatusError"
func (*Client) CloseCDBProxyWithContext ¶
func (c *Client) CloseCDBProxyWithContext(ctx context.Context, request *CloseCDBProxyRequest) (response *CloseCDBProxyResponse, err error)
CloseCDBProxy This API is used to disable database proxy.
error code that may be returned:
FAILEDOPERATION_DESCRIBEPROXYGROUPERROR = "FailedOperation.DescribeProxyGroupError" FAILEDOPERATION_PROXYGROUPSTATUSERROR = "FailedOperation.ProxyGroupStatusError" OPERATIONDENIED_PROXYUPGRADETASKSTATUSERROR = "OperationDenied.ProxyUpgradeTaskStatusError"
func (*Client) CloseWanService ¶
func (c *Client) CloseWanService(request *CloseWanServiceRequest) (response *CloseWanServiceResponse, err error)
CloseWanService This API (CloseWanService) is used to disable public network access for TencentDB instance, which will make public IP addresses inaccessible.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) CloseWanServiceWithContext ¶
func (c *Client) CloseWanServiceWithContext(ctx context.Context, request *CloseWanServiceRequest) (response *CloseWanServiceResponse, err error)
CloseWanService This API (CloseWanService) is used to disable public network access for TencentDB instance, which will make public IP addresses inaccessible.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) CreateAuditPolicy ¶
func (c *Client) CreateAuditPolicy(request *CreateAuditPolicyRequest) (response *CreateAuditPolicyResponse, err error)
CreateAuditPolicy This API is used to create an audit policy for a TencentDB instance by associating an audit rule with the TencentDB instance.
error code that may be returned:
FAILEDOPERATION_CREATEAUDITFAILERROR = "FailedOperation.CreateAuditFailError" FAILEDOPERATION_TYPEINCONFLICT = "FailedOperation.TypeInConflict" INTERNALERROR_AUDITERROR = "InternalError.AuditError" INTERNALERROR_AUDITOSSLOGICERROR = "InternalError.AuditOssLogicError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SERVERERROR = "InternalError.ServerError" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_TRANSACTIONBEGINERROR = "InternalError.TransactionBeginError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_AUDITPOLICYCONFLICTERROR = "OperationDenied.AuditPolicyConflictError" OPERATIONDENIED_AUDITPOLICYEXISTERROR = "OperationDenied.AuditPolicyExistError" OPERATIONDENIED_AUDITPOLICYOVERQUOTAERROR = "OperationDenied.AuditPolicyOverQuotaError" OPERATIONDENIED_AUDITRULEHASBIND = "OperationDenied.AuditRuleHasBind" OPERATIONDENIED_AUDITRULENOTEXISTERROR = "OperationDenied.AuditRuleNotExistError" OPERATIONDENIED_AUDITSTATUSERROR = "OperationDenied.AuditStatusError" OPERATIONDENIED_AUDITTASKCONFLICTERROR = "OperationDenied.AuditTaskConflictError" OPERATIONDENIED_DBBRAINPOLICYCONFLICT = "OperationDenied.DBBrainPolicyConflict" OPERATIONDENIED_INSTANCESTATUSERROR = "OperationDenied.InstanceStatusError" OPERATIONDENIED_UNSUPPORTOPENAUDITERROR = "OperationDenied.UnsupportOpenAuditError" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_INSTANCENOTFUNDERROR = "ResourceNotFound.InstanceNotFundError" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateAuditPolicyWithContext ¶
func (c *Client) CreateAuditPolicyWithContext(ctx context.Context, request *CreateAuditPolicyRequest) (response *CreateAuditPolicyResponse, err error)
CreateAuditPolicy This API is used to create an audit policy for a TencentDB instance by associating an audit rule with the TencentDB instance.
error code that may be returned:
FAILEDOPERATION_CREATEAUDITFAILERROR = "FailedOperation.CreateAuditFailError" FAILEDOPERATION_TYPEINCONFLICT = "FailedOperation.TypeInConflict" INTERNALERROR_AUDITERROR = "InternalError.AuditError" INTERNALERROR_AUDITOSSLOGICERROR = "InternalError.AuditOssLogicError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_SERVERERROR = "InternalError.ServerError" INTERNALERROR_SERVICEERROR = "InternalError.ServiceError" INTERNALERROR_TRANSACTIONBEGINERROR = "InternalError.TransactionBeginError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_AUDITPOLICYCONFLICTERROR = "OperationDenied.AuditPolicyConflictError" OPERATIONDENIED_AUDITPOLICYEXISTERROR = "OperationDenied.AuditPolicyExistError" OPERATIONDENIED_AUDITPOLICYOVERQUOTAERROR = "OperationDenied.AuditPolicyOverQuotaError" OPERATIONDENIED_AUDITRULEHASBIND = "OperationDenied.AuditRuleHasBind" OPERATIONDENIED_AUDITRULENOTEXISTERROR = "OperationDenied.AuditRuleNotExistError" OPERATIONDENIED_AUDITSTATUSERROR = "OperationDenied.AuditStatusError" OPERATIONDENIED_AUDITTASKCONFLICTERROR = "OperationDenied.AuditTaskConflictError" OPERATIONDENIED_DBBRAINPOLICYCONFLICT = "OperationDenied.DBBrainPolicyConflict" OPERATIONDENIED_INSTANCESTATUSERROR = "OperationDenied.InstanceStatusError" OPERATIONDENIED_UNSUPPORTOPENAUDITERROR = "OperationDenied.UnsupportOpenAuditError" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_INSTANCENOTFUNDERROR = "ResourceNotFound.InstanceNotFundError" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateBackup ¶
func (c *Client) CreateBackup(request *CreateBackupRequest) (response *CreateBackupResponse, err error)
CreateBackup This API (CreateBackup) is used to create a TencentDB instance backup.
error code that may be returned:
CDBERROR = "CdbError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DESERROR = "InternalError.DesError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_ACTIONINPROCESS = "OperationDenied.ActionInProcess" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" OVERQUOTA = "OverQuota"
func (*Client) CreateBackupWithContext ¶
func (c *Client) CreateBackupWithContext(ctx context.Context, request *CreateBackupRequest) (response *CreateBackupResponse, err error)
CreateBackup This API (CreateBackup) is used to create a TencentDB instance backup.
error code that may be returned:
CDBERROR = "CdbError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DESERROR = "InternalError.DesError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_ACTIONINPROCESS = "OperationDenied.ActionInProcess" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" OVERQUOTA = "OverQuota"
func (*Client) CreateCloneInstance ¶
func (c *Client) CreateCloneInstance(request *CreateCloneInstanceRequest) (response *CreateCloneInstanceResponse, err error)
CreateCloneInstance This API is used to create a clone of a specific instance, and roll back the clone by using a physical backup file of the instance or roll back the clone to a point in time.
error code that may be returned:
CDBERROR = "CdbError" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_TRADEERROR = "InternalError.TradeError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OTHERODERINPROCESS = "OperationDenied.OtherOderInProcess" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) CreateCloneInstanceWithContext ¶
func (c *Client) CreateCloneInstanceWithContext(ctx context.Context, request *CreateCloneInstanceRequest) (response *CreateCloneInstanceResponse, err error)
CreateCloneInstance This API is used to create a clone of a specific instance, and roll back the clone by using a physical backup file of the instance or roll back the clone to a point in time.
error code that may be returned:
CDBERROR = "CdbError" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_TRADEERROR = "InternalError.TradeError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OTHERODERINPROCESS = "OperationDenied.OtherOderInProcess" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) CreateDBImportJob ¶
func (c *Client) CreateDBImportJob(request *CreateDBImportJobRequest) (response *CreateDBImportJobResponse, err error)
CreateDBImportJob This API (CreateDBImportJob) is used to create a data import task for a TencentDB instance.
Note that the files for a data import task must be uploaded to Tencent Cloud in advance. You need to do so in the console.
error code that may be returned:
CDBERROR = "CdbError" CDBERROR_IMPORTERROR = "CdbError.ImportError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_WRONGPASSWORD = "OperationDenied.WrongPassword" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) CreateDBImportJobWithContext ¶
func (c *Client) CreateDBImportJobWithContext(ctx context.Context, request *CreateDBImportJobRequest) (response *CreateDBImportJobResponse, err error)
CreateDBImportJob This API (CreateDBImportJob) is used to create a data import task for a TencentDB instance.
Note that the files for a data import task must be uploaded to Tencent Cloud in advance. You need to do so in the console.
error code that may be returned:
CDBERROR = "CdbError" CDBERROR_IMPORTERROR = "CdbError.ImportError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_WRONGPASSWORD = "OperationDenied.WrongPassword" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) CreateDBInstanceHour ¶
func (c *Client) CreateDBInstanceHour(request *CreateDBInstanceHourRequest) (response *CreateDBInstanceHourResponse, err error)
CreateDBInstanceHour This API is used to create pay-as-you-go TencentDB instances (which can be source instances, disaster recovery instances, or read-only replicas) by passing in information such as instance specifications, MySQL version number, and instance quantity.
This is an asynchronous API. You can also use the [DescribeDBInstances](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) API to query instance details. If the output parameter `Status` is `1` and the output parameter `TaskStatus` is `0`, the instances have been successfully delivered.
1. Use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/api/236/17229?from_cn_redirect=1) API to query the purchasable instance specifications, and then use the [DescribeDBPrice](https://intl.cloud.tencent.com/document/api/236/18566?from_cn_redirect=1) API to query the prices of the purchasable instances;
2. You can create up to 100 instances at a time, with an instance validity period of up to 36 months;
3. MySQL v5.5, v5.6, v5.7, and v8.0 are supported;
4. Source instances, disaster recovery instances, and read-only replicas can be created;
5. If `Port`, `ParamList`, or `Password` is specified in the input parameters, the instance (excluding basic instances) will be initialized.
error code that may be returned:
CDBERROR = "CdbError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_TRADEERROR = "InternalError.TradeError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_OTHERODERINPROCESS = "OperationDenied.OtherOderInProcess" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" OPERATIONDENIED_WRONGPASSWORD = "OperationDenied.WrongPassword"
func (*Client) CreateDBInstanceHourWithContext ¶
func (c *Client) CreateDBInstanceHourWithContext(ctx context.Context, request *CreateDBInstanceHourRequest) (response *CreateDBInstanceHourResponse, err error)
CreateDBInstanceHour This API is used to create pay-as-you-go TencentDB instances (which can be source instances, disaster recovery instances, or read-only replicas) by passing in information such as instance specifications, MySQL version number, and instance quantity.
This is an asynchronous API. You can also use the [DescribeDBInstances](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) API to query instance details. If the output parameter `Status` is `1` and the output parameter `TaskStatus` is `0`, the instances have been successfully delivered.
1. Use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/api/236/17229?from_cn_redirect=1) API to query the purchasable instance specifications, and then use the [DescribeDBPrice](https://intl.cloud.tencent.com/document/api/236/18566?from_cn_redirect=1) API to query the prices of the purchasable instances;
2. You can create up to 100 instances at a time, with an instance validity period of up to 36 months;
3. MySQL v5.5, v5.6, v5.7, and v8.0 are supported;
4. Source instances, disaster recovery instances, and read-only replicas can be created;
5. If `Port`, `ParamList`, or `Password` is specified in the input parameters, the instance (excluding basic instances) will be initialized.
error code that may be returned:
CDBERROR = "CdbError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_TRADEERROR = "InternalError.TradeError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_OTHERODERINPROCESS = "OperationDenied.OtherOderInProcess" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" OPERATIONDENIED_WRONGPASSWORD = "OperationDenied.WrongPassword"
func (*Client) CreateParamTemplate ¶
func (c *Client) CreateParamTemplate(request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)
CreateParamTemplate This API is used to create a parameter template. The common request parameter `Region` can only be set to `ap-guangzhou`.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDNAME = "InvalidParameter.InvalidName" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) CreateParamTemplateWithContext ¶
func (c *Client) CreateParamTemplateWithContext(ctx context.Context, request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)
CreateParamTemplate This API is used to create a parameter template. The common request parameter `Region` can only be set to `ap-guangzhou`.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDNAME = "InvalidParameter.InvalidName" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) CreateRoInstanceIp ¶
func (c *Client) CreateRoInstanceIp(request *CreateRoInstanceIpRequest) (response *CreateRoInstanceIpResponse, err error)
CreateRoInstanceIp This API is used to create a VIP exclusive to a TencentDB read-only instance.
error code that may be returned:
CDBERROR = "CdbError" FAILEDOPERATION_CREATEROVIPERROR = "FailedOperation.CreateRoVipError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DESERROR = "InternalError.DesError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACTIONINPROCESS = "OperationDenied.ActionInProcess" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) CreateRoInstanceIpWithContext ¶
func (c *Client) CreateRoInstanceIpWithContext(ctx context.Context, request *CreateRoInstanceIpRequest) (response *CreateRoInstanceIpResponse, err error)
CreateRoInstanceIp This API is used to create a VIP exclusive to a TencentDB read-only instance.
error code that may be returned:
CDBERROR = "CdbError" FAILEDOPERATION_CREATEROVIPERROR = "FailedOperation.CreateRoVipError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DESERROR = "InternalError.DesError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACTIONINPROCESS = "OperationDenied.ActionInProcess" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) DeleteAccounts ¶
func (c *Client) DeleteAccounts(request *DeleteAccountsRequest) (response *DeleteAccountsResponse, err error)
DeleteAccounts This API (DeleteAccounts) is used to delete TencentDB accounts.
error code that may be returned:
FAILEDOPERATION_CREATEACCOUNTERROR = "FailedOperation.CreateAccountError" FAILEDOPERATION_GETPRIVILEGEERROR = "FailedOperation.GetPrivilegeError" FAILEDOPERATION_PRIVILEGEDATAILLEGAL = "FailedOperation.PrivilegeDataIllegal" FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" FAILEDOPERATION_STARTFLOWERROR = "FailedOperation.StartFlowError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" FAILEDOPERATION_SUBMITASYNCTASKERROR = "FailedOperation.SubmitAsyncTaskError" INTERNALERROR_INTERNALASSERTERROR = "InternalError.InternalAssertError" INTERNALERROR_INTERNALREQUESTERROR = "InternalError.InternalRequestError" INTERNALERROR_REGEXPCOMPILEERROR = "InternalError.RegexpCompileError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONCHARACTERERROR = "InvalidParameterValue.AccountDescriptionCharacterError" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONLENGTHERROR = "InvalidParameterValue.AccountDescriptionLengthError" INVALIDPARAMETERVALUE_ACCOUNTHOSTRULEERROR = "InvalidParameterValue.AccountHostRuleError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDCHARACTERERROR = "InvalidParameterValue.AccountPasswordCharacterError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDLENGTHERROR = "InvalidParameterValue.AccountPasswordLengthError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDRULEERROR = "InvalidParameterValue.AccountPasswordRuleError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_USERNAMERULEERROR = "InvalidParameterValue.UserNameRuleError" INVALIDPARAMETERVALUE_USERNOTEXISTERROR = "InvalidParameterValue.UserNotExistError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPASSWORDERROR = "InvalidParameterValue.VerifyAccountPasswordError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPRIVERROR = "InvalidParameterValue.VerifyAccountPrivError" MISSINGPARAMETER_ACCOUNTMISSINGPARAMETERERROR = "MissingParameter.AccountMissingParameterError" OPERATIONDENIED_DELETEROOTACCOUNTERROR = "OperationDenied.DeleteRootAccountError" OPERATIONDENIED_NOTSUPPORTMODIFYLOCALROOTHOSTERROR = "OperationDenied.NotSupportModifyLocalRootHostError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError" UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = "UnsupportedOperation.PrivilegesUnsupportedError"
func (*Client) DeleteAccountsWithContext ¶
func (c *Client) DeleteAccountsWithContext(ctx context.Context, request *DeleteAccountsRequest) (response *DeleteAccountsResponse, err error)
DeleteAccounts This API (DeleteAccounts) is used to delete TencentDB accounts.
error code that may be returned:
FAILEDOPERATION_CREATEACCOUNTERROR = "FailedOperation.CreateAccountError" FAILEDOPERATION_GETPRIVILEGEERROR = "FailedOperation.GetPrivilegeError" FAILEDOPERATION_PRIVILEGEDATAILLEGAL = "FailedOperation.PrivilegeDataIllegal" FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" FAILEDOPERATION_STARTFLOWERROR = "FailedOperation.StartFlowError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" FAILEDOPERATION_SUBMITASYNCTASKERROR = "FailedOperation.SubmitAsyncTaskError" INTERNALERROR_INTERNALASSERTERROR = "InternalError.InternalAssertError" INTERNALERROR_INTERNALREQUESTERROR = "InternalError.InternalRequestError" INTERNALERROR_REGEXPCOMPILEERROR = "InternalError.RegexpCompileError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONCHARACTERERROR = "InvalidParameterValue.AccountDescriptionCharacterError" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONLENGTHERROR = "InvalidParameterValue.AccountDescriptionLengthError" INVALIDPARAMETERVALUE_ACCOUNTHOSTRULEERROR = "InvalidParameterValue.AccountHostRuleError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDCHARACTERERROR = "InvalidParameterValue.AccountPasswordCharacterError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDLENGTHERROR = "InvalidParameterValue.AccountPasswordLengthError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDRULEERROR = "InvalidParameterValue.AccountPasswordRuleError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_USERNAMERULEERROR = "InvalidParameterValue.UserNameRuleError" INVALIDPARAMETERVALUE_USERNOTEXISTERROR = "InvalidParameterValue.UserNotExistError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPASSWORDERROR = "InvalidParameterValue.VerifyAccountPasswordError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPRIVERROR = "InvalidParameterValue.VerifyAccountPrivError" MISSINGPARAMETER_ACCOUNTMISSINGPARAMETERERROR = "MissingParameter.AccountMissingParameterError" OPERATIONDENIED_DELETEROOTACCOUNTERROR = "OperationDenied.DeleteRootAccountError" OPERATIONDENIED_NOTSUPPORTMODIFYLOCALROOTHOSTERROR = "OperationDenied.NotSupportModifyLocalRootHostError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError" UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = "UnsupportedOperation.PrivilegesUnsupportedError"
func (*Client) DeleteBackup ¶
func (c *Client) DeleteBackup(request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)
DeleteBackup This API is used to delete a database backup. It can only delete manually initiated backups.
error code that may be returned:
CDBERROR_BACKUPERROR = "CdbError.BackupError" INTERNALERROR_DESERROR = "InternalError.DesError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) DeleteBackupWithContext ¶
func (c *Client) DeleteBackupWithContext(ctx context.Context, request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)
DeleteBackup This API is used to delete a database backup. It can only delete manually initiated backups.
error code that may be returned:
CDBERROR_BACKUPERROR = "CdbError.BackupError" INTERNALERROR_DESERROR = "InternalError.DesError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) DeleteParamTemplate ¶
func (c *Client) DeleteParamTemplate(request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)
DeleteParamTemplate This API is used to delete a parameter template. The common request parameter `Region` can only be set to `ap-guangzhou`.
error code that may be returned:
INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteParamTemplateWithContext ¶
func (c *Client) DeleteParamTemplateWithContext(ctx context.Context, request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)
DeleteParamTemplate This API is used to delete a parameter template. The common request parameter `Region` can only be set to `ap-guangzhou`.
error code that may be returned:
INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteTimeWindow ¶
func (c *Client) DeleteTimeWindow(request *DeleteTimeWindowRequest) (response *DeleteTimeWindowResponse, err error)
DeleteTimeWindow This API (DeleteTimeWindow) is used to delete a maintenance time window for a TencentDB instance. After it is deleted, the default maintenance time window will be 03:00-04:00, i.e., switch to a new instance will be performed during 03:00-04:00 by default.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound"
func (*Client) DeleteTimeWindowWithContext ¶
func (c *Client) DeleteTimeWindowWithContext(ctx context.Context, request *DeleteTimeWindowRequest) (response *DeleteTimeWindowResponse, err error)
DeleteTimeWindow This API (DeleteTimeWindow) is used to delete a maintenance time window for a TencentDB instance. After it is deleted, the default maintenance time window will be 03:00-04:00, i.e., switch to a new instance will be performed during 03:00-04:00 by default.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound"
func (*Client) DescribeAccountPrivileges ¶
func (c *Client) DescribeAccountPrivileges(request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)
DescribeAccountPrivileges This API (DescribeAccountPrivileges) is used to query the information of TencentDB account permissions.
error code that may be returned:
CDBERROR = "CdbError" FAILEDOPERATION_CREATEACCOUNTERROR = "FailedOperation.CreateAccountError" FAILEDOPERATION_GETPRIVILEGEERROR = "FailedOperation.GetPrivilegeError" FAILEDOPERATION_PRIVILEGEDATAILLEGAL = "FailedOperation.PrivilegeDataIllegal" FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" FAILEDOPERATION_STARTFLOWERROR = "FailedOperation.StartFlowError" FAILEDOPERATION_SUBMITASYNCTASKERROR = "FailedOperation.SubmitAsyncTaskError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_INTERNALASSERTERROR = "InternalError.InternalAssertError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_INTERNALREQUESTERROR = "InternalError.InternalRequestError" INTERNALERROR_REGEXPCOMPILEERROR = "InternalError.RegexpCompileError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONCHARACTERERROR = "InvalidParameterValue.AccountDescriptionCharacterError" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONLENGTHERROR = "InvalidParameterValue.AccountDescriptionLengthError" INVALIDPARAMETERVALUE_ACCOUNTHOSTRULEERROR = "InvalidParameterValue.AccountHostRuleError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDCHARACTERERROR = "InvalidParameterValue.AccountPasswordCharacterError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDLENGTHERROR = "InvalidParameterValue.AccountPasswordLengthError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDRULEERROR = "InvalidParameterValue.AccountPasswordRuleError" INVALIDPARAMETERVALUE_USERNAMERULEERROR = "InvalidParameterValue.UserNameRuleError" INVALIDPARAMETERVALUE_USERNOTEXISTERROR = "InvalidParameterValue.UserNotExistError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPASSWORDERROR = "InvalidParameterValue.VerifyAccountPasswordError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPRIVERROR = "InvalidParameterValue.VerifyAccountPrivError" MISSINGPARAMETER_ACCOUNTMISSINGPARAMETERERROR = "MissingParameter.AccountMissingParameterError" OPERATIONDENIED_DELETEROOTACCOUNTERROR = "OperationDenied.DeleteRootAccountError" OPERATIONDENIED_NOTSUPPORTMODIFYLOCALROOTHOSTERROR = "OperationDenied.NotSupportModifyLocalRootHostError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError" RESOURCENOTFOUND_INSTANCENOTFUNDERROR = "ResourceNotFound.InstanceNotFundError" UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = "UnsupportedOperation.PrivilegesUnsupportedError"
func (*Client) DescribeAccountPrivilegesWithContext ¶
func (c *Client) DescribeAccountPrivilegesWithContext(ctx context.Context, request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)
DescribeAccountPrivileges This API (DescribeAccountPrivileges) is used to query the information of TencentDB account permissions.
error code that may be returned:
CDBERROR = "CdbError" FAILEDOPERATION_CREATEACCOUNTERROR = "FailedOperation.CreateAccountError" FAILEDOPERATION_GETPRIVILEGEERROR = "FailedOperation.GetPrivilegeError" FAILEDOPERATION_PRIVILEGEDATAILLEGAL = "FailedOperation.PrivilegeDataIllegal" FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" FAILEDOPERATION_STARTFLOWERROR = "FailedOperation.StartFlowError" FAILEDOPERATION_SUBMITASYNCTASKERROR = "FailedOperation.SubmitAsyncTaskError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_INTERNALASSERTERROR = "InternalError.InternalAssertError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_INTERNALREQUESTERROR = "InternalError.InternalRequestError" INTERNALERROR_REGEXPCOMPILEERROR = "InternalError.RegexpCompileError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONCHARACTERERROR = "InvalidParameterValue.AccountDescriptionCharacterError" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONLENGTHERROR = "InvalidParameterValue.AccountDescriptionLengthError" INVALIDPARAMETERVALUE_ACCOUNTHOSTRULEERROR = "InvalidParameterValue.AccountHostRuleError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDCHARACTERERROR = "InvalidParameterValue.AccountPasswordCharacterError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDLENGTHERROR = "InvalidParameterValue.AccountPasswordLengthError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDRULEERROR = "InvalidParameterValue.AccountPasswordRuleError" INVALIDPARAMETERVALUE_USERNAMERULEERROR = "InvalidParameterValue.UserNameRuleError" INVALIDPARAMETERVALUE_USERNOTEXISTERROR = "InvalidParameterValue.UserNotExistError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPASSWORDERROR = "InvalidParameterValue.VerifyAccountPasswordError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPRIVERROR = "InvalidParameterValue.VerifyAccountPrivError" MISSINGPARAMETER_ACCOUNTMISSINGPARAMETERERROR = "MissingParameter.AccountMissingParameterError" OPERATIONDENIED_DELETEROOTACCOUNTERROR = "OperationDenied.DeleteRootAccountError" OPERATIONDENIED_NOTSUPPORTMODIFYLOCALROOTHOSTERROR = "OperationDenied.NotSupportModifyLocalRootHostError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError" RESOURCENOTFOUND_INSTANCENOTFUNDERROR = "ResourceNotFound.InstanceNotFundError" UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = "UnsupportedOperation.PrivilegesUnsupportedError"
func (*Client) DescribeAsyncRequestInfo ¶
func (c *Client) DescribeAsyncRequestInfo(request *DescribeAsyncRequestInfoRequest) (response *DescribeAsyncRequestInfoResponse, err error)
DescribeAsyncRequestInfo This API (DescribeAsyncRequestInfo) is used to query the async task execution result of a TencentDB instance.
error code that may be returned:
CDBERROR_TASKERROR = "CdbError.TaskError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDASYNCREQUESTID = "InvalidParameter.InvalidAsyncRequestId" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) DescribeAsyncRequestInfoWithContext ¶
func (c *Client) DescribeAsyncRequestInfoWithContext(ctx context.Context, request *DescribeAsyncRequestInfoRequest) (response *DescribeAsyncRequestInfoResponse, err error)
DescribeAsyncRequestInfo This API (DescribeAsyncRequestInfo) is used to query the async task execution result of a TencentDB instance.
error code that may be returned:
CDBERROR_TASKERROR = "CdbError.TaskError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDASYNCREQUESTID = "InvalidParameter.InvalidAsyncRequestId" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) DescribeAuditPolicies ¶
func (c *Client) DescribeAuditPolicies(request *DescribeAuditPoliciesRequest) (response *DescribeAuditPoliciesResponse, err error)
DescribeAuditPolicies This API is used to query the audit policies of a TencentDB instance.
error code that may be returned:
INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_INNERCOMMONERROR = "InternalError.InnerCommonError" INTERNALERROR_SERVERERROR = "InternalError.ServerError" INTERNALERROR_TRANSACTIONBEGINERROR = "InternalError.TransactionBeginError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAMERROR = "MissingParameter.MissingParamError"
func (*Client) DescribeAuditPoliciesWithContext ¶
func (c *Client) DescribeAuditPoliciesWithContext(ctx context.Context, request *DescribeAuditPoliciesRequest) (response *DescribeAuditPoliciesResponse, err error)
DescribeAuditPolicies This API is used to query the audit policies of a TencentDB instance.
error code that may be returned:
INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_INNERCOMMONERROR = "InternalError.InnerCommonError" INTERNALERROR_SERVERERROR = "InternalError.ServerError" INTERNALERROR_TRANSACTIONBEGINERROR = "InternalError.TransactionBeginError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAMERROR = "MissingParameter.MissingParamError"
func (*Client) DescribeAuditRules ¶
func (c *Client) DescribeAuditRules(request *DescribeAuditRulesRequest) (response *DescribeAuditRulesResponse, err error)
DescribeAuditRules This API is used to query the audit rules in the current region.
error code that may be returned:
INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_INNERCOMMONERROR = "InternalError.InnerCommonError" INTERNALERROR_SERVERERROR = "InternalError.ServerError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_AUDITRULENOTEXISTERROR = "OperationDenied.AuditRuleNotExistError"
func (*Client) DescribeAuditRulesWithContext ¶
func (c *Client) DescribeAuditRulesWithContext(ctx context.Context, request *DescribeAuditRulesRequest) (response *DescribeAuditRulesResponse, err error)
DescribeAuditRules This API is used to query the audit rules in the current region.
error code that may be returned:
INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_INNERCOMMONERROR = "InternalError.InnerCommonError" INTERNALERROR_SERVERERROR = "InternalError.ServerError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_AUDITRULENOTEXISTERROR = "OperationDenied.AuditRuleNotExistError"
func (*Client) DescribeBackupConfig ¶
func (c *Client) DescribeBackupConfig(request *DescribeBackupConfigRequest) (response *DescribeBackupConfigResponse, err error)
DescribeBackupConfig This API (DescribeBackupConfig) is used to query the configuration information of a TencentDB instance backup.
error code that may be returned:
INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) DescribeBackupConfigWithContext ¶
func (c *Client) DescribeBackupConfigWithContext(ctx context.Context, request *DescribeBackupConfigRequest) (response *DescribeBackupConfigResponse, err error)
DescribeBackupConfig This API (DescribeBackupConfig) is used to query the configuration information of a TencentDB instance backup.
error code that may be returned:
INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) DescribeBackupDownloadRestriction ¶
func (c *Client) DescribeBackupDownloadRestriction(request *DescribeBackupDownloadRestrictionRequest) (response *DescribeBackupDownloadRestrictionResponse, err error)
DescribeBackupDownloadRestriction This API is used to query the restrictions of downloading backups in a region.
error code that may be returned:
INTERNALERROR_AUTHERROR = "InternalError.AuthError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) DescribeBackupDownloadRestrictionWithContext ¶
func (c *Client) DescribeBackupDownloadRestrictionWithContext(ctx context.Context, request *DescribeBackupDownloadRestrictionRequest) (response *DescribeBackupDownloadRestrictionResponse, err error)
DescribeBackupDownloadRestriction This API is used to query the restrictions of downloading backups in a region.
error code that may be returned:
INTERNALERROR_AUTHERROR = "InternalError.AuthError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) DescribeBackupOverview ¶
func (c *Client) DescribeBackupOverview(request *DescribeBackupOverviewRequest) (response *DescribeBackupOverviewResponse, err error)
DescribeBackupOverview This API is used to query the backup overview of a user. It will return the user's current total number of backups, total capacity used by backups, capacity in the free tier, and paid capacity (all capacity values are in bytes).
error code that may be returned:
INTERNALERROR_CDBERROR = "InternalError.CdbError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeBackupOverviewWithContext ¶
func (c *Client) DescribeBackupOverviewWithContext(ctx context.Context, request *DescribeBackupOverviewRequest) (response *DescribeBackupOverviewResponse, err error)
DescribeBackupOverview This API is used to query the backup overview of a user. It will return the user's current total number of backups, total capacity used by backups, capacity in the free tier, and paid capacity (all capacity values are in bytes).
error code that may be returned:
INTERNALERROR_CDBERROR = "InternalError.CdbError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeBackupSummaries ¶
func (c *Client) DescribeBackupSummaries(request *DescribeBackupSummariesRequest) (response *DescribeBackupSummariesResponse, err error)
DescribeBackupSummaries This API is used to query the statistics of backups. It will return the capacity used by backups at the instance level and the number and used capacity of data backups and log backups of each instance (all capacity values are in bytes).
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_SUBACCOUNTDENIED = "AuthFailure.SubAccountDenied" INTERNALERROR_CDBERROR = "InternalError.CdbError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SUBACCOUNTOPERATIONDENIED = "OperationDenied.SubAccountOperationDenied"
func (*Client) DescribeBackupSummariesWithContext ¶
func (c *Client) DescribeBackupSummariesWithContext(ctx context.Context, request *DescribeBackupSummariesRequest) (response *DescribeBackupSummariesResponse, err error)
DescribeBackupSummaries This API is used to query the statistics of backups. It will return the capacity used by backups at the instance level and the number and used capacity of data backups and log backups of each instance (all capacity values are in bytes).
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_SUBACCOUNTDENIED = "AuthFailure.SubAccountDenied" INTERNALERROR_CDBERROR = "InternalError.CdbError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SUBACCOUNTOPERATIONDENIED = "OperationDenied.SubAccountOperationDenied"
func (*Client) DescribeBackups ¶
func (c *Client) DescribeBackups(request *DescribeBackupsRequest) (response *DescribeBackupsResponse, err error)
DescribeBackups This API (DescribeBackups) is used to query the backups of a TencentDB instance.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DESERROR = "InternalError.DesError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBackupsWithContext ¶
func (c *Client) DescribeBackupsWithContext(ctx context.Context, request *DescribeBackupsRequest) (response *DescribeBackupsResponse, err error)
DescribeBackups This API (DescribeBackups) is used to query the backups of a TencentDB instance.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DESERROR = "InternalError.DesError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBinlogBackupOverview ¶
func (c *Client) DescribeBinlogBackupOverview(request *DescribeBinlogBackupOverviewRequest) (response *DescribeBinlogBackupOverviewResponse, err error)
DescribeBinlogBackupOverview This API is used to query the log backup overview of a user in the current region.
error code that may be returned:
INTERNALERROR_CDBERROR = "InternalError.CdbError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SUBACCOUNTOPERATIONDENIED = "OperationDenied.SubAccountOperationDenied"
func (*Client) DescribeBinlogBackupOverviewWithContext ¶
func (c *Client) DescribeBinlogBackupOverviewWithContext(ctx context.Context, request *DescribeBinlogBackupOverviewRequest) (response *DescribeBinlogBackupOverviewResponse, err error)
DescribeBinlogBackupOverview This API is used to query the log backup overview of a user in the current region.
error code that may be returned:
INTERNALERROR_CDBERROR = "InternalError.CdbError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_SUBACCOUNTOPERATIONDENIED = "OperationDenied.SubAccountOperationDenied"
func (*Client) DescribeBinlogs ¶
func (c *Client) DescribeBinlogs(request *DescribeBinlogsRequest) (response *DescribeBinlogsResponse, err error)
DescribeBinlogs This API is used to query the list of binlog files of a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeBinlogsWithContext ¶
func (c *Client) DescribeBinlogsWithContext(ctx context.Context, request *DescribeBinlogsRequest) (response *DescribeBinlogsResponse, err error)
DescribeBinlogs This API is used to query the list of binlog files of a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeCDBProxy ¶
func (c *Client) DescribeCDBProxy(request *DescribeCDBProxyRequest) (response *DescribeCDBProxyResponse, err error)
DescribeCDBProxy This API is used to query database proxy. It will be deprecated and replaced by the `QueryCDBProxy` API.
error code that may be returned:
INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError"
func (*Client) DescribeCDBProxyWithContext ¶
func (c *Client) DescribeCDBProxyWithContext(ctx context.Context, request *DescribeCDBProxyRequest) (response *DescribeCDBProxyResponse, err error)
DescribeCDBProxy This API is used to query database proxy. It will be deprecated and replaced by the `QueryCDBProxy` API.
error code that may be returned:
INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError"
func (*Client) DescribeCloneList ¶
func (c *Client) DescribeCloneList(request *DescribeCloneListRequest) (response *DescribeCloneListResponse, err error)
DescribeCloneList This API is used to query the clone task list of an instance.
error code that may be returned:
CDBERROR = "CdbError" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) DescribeCloneListWithContext ¶
func (c *Client) DescribeCloneListWithContext(ctx context.Context, request *DescribeCloneListRequest) (response *DescribeCloneListResponse, err error)
DescribeCloneList This API is used to query the clone task list of an instance.
error code that may be returned:
CDBERROR = "CdbError" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) DescribeDBImportRecords ¶
func (c *Client) DescribeDBImportRecords(request *DescribeDBImportRecordsRequest) (response *DescribeDBImportRecordsResponse, err error)
DescribeDBImportRecords This API (DescribeDBImportRecords) is used to query the records of import tasks in a TencentDB instance.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_INVALIDASYNCREQUESTID = "InvalidParameter.InvalidAsyncRequestId" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) DescribeDBImportRecordsWithContext ¶
func (c *Client) DescribeDBImportRecordsWithContext(ctx context.Context, request *DescribeDBImportRecordsRequest) (response *DescribeDBImportRecordsResponse, err error)
DescribeDBImportRecords This API (DescribeDBImportRecords) is used to query the records of import tasks in a TencentDB instance.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_INVALIDASYNCREQUESTID = "InvalidParameter.InvalidAsyncRequestId" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) DescribeDBInstanceCharset ¶
func (c *Client) DescribeDBInstanceCharset(request *DescribeDBInstanceCharsetRequest) (response *DescribeDBInstanceCharsetResponse, err error)
DescribeDBInstanceCharset This API (DescribeDBInstanceCharset) is used to query the character set and its name of a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_EXESQLERROR = "InternalError.ExeSqlError" INTERNALERROR_OSSERROR = "InternalError.OssError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDBInstanceCharsetWithContext ¶
func (c *Client) DescribeDBInstanceCharsetWithContext(ctx context.Context, request *DescribeDBInstanceCharsetRequest) (response *DescribeDBInstanceCharsetResponse, err error)
DescribeDBInstanceCharset This API (DescribeDBInstanceCharset) is used to query the character set and its name of a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_EXESQLERROR = "InternalError.ExeSqlError" INTERNALERROR_OSSERROR = "InternalError.OssError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDBInstanceConfig ¶
func (c *Client) DescribeDBInstanceConfig(request *DescribeDBInstanceConfigRequest) (response *DescribeDBInstanceConfigResponse, err error)
DescribeDBInstanceConfig This API (DescribeDBInstanceConfig) is used to query the configuration information of a TencentDB instance, such as its synchronization mode and deployment mode.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_JSONERROR = "InternalError.JSONError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDBInstanceConfigWithContext ¶
func (c *Client) DescribeDBInstanceConfigWithContext(ctx context.Context, request *DescribeDBInstanceConfigRequest) (response *DescribeDBInstanceConfigResponse, err error)
DescribeDBInstanceConfig This API (DescribeDBInstanceConfig) is used to query the configuration information of a TencentDB instance, such as its synchronization mode and deployment mode.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_JSONERROR = "InternalError.JSONError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDBInstanceGTID ¶
func (c *Client) DescribeDBInstanceGTID(request *DescribeDBInstanceGTIDRequest) (response *DescribeDBInstanceGTIDResponse, err error)
DescribeDBInstanceGTID This API (DescribeDBInstanceGTID) is used to query whether GTID is activated for a TencentDB instance. Instances on or below version 5.5 are not supported.
error code that may be returned:
INTERNALERROR_OSSERROR = "InternalError.OssError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDBInstanceGTIDWithContext ¶
func (c *Client) DescribeDBInstanceGTIDWithContext(ctx context.Context, request *DescribeDBInstanceGTIDRequest) (response *DescribeDBInstanceGTIDResponse, err error)
DescribeDBInstanceGTID This API (DescribeDBInstanceGTID) is used to query whether GTID is activated for a TencentDB instance. Instances on or below version 5.5 are not supported.
error code that may be returned:
INTERNALERROR_OSSERROR = "InternalError.OssError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDBInstanceInfo ¶
func (c *Client) DescribeDBInstanceInfo(request *DescribeDBInstanceInfoRequest) (response *DescribeDBInstanceInfoResponse, err error)
DescribeDBInstanceInfo This API is used to query the basic information of an instance (instance ID, instance name, and whether encryption is enabled).
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESOURCENOTEXISTS = "InvalidParameter.ResourceNotExists"
func (*Client) DescribeDBInstanceInfoWithContext ¶
func (c *Client) DescribeDBInstanceInfoWithContext(ctx context.Context, request *DescribeDBInstanceInfoRequest) (response *DescribeDBInstanceInfoResponse, err error)
DescribeDBInstanceInfo This API is used to query the basic information of an instance (instance ID, instance name, and whether encryption is enabled).
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESOURCENOTEXISTS = "InvalidParameter.ResourceNotExists"
func (*Client) DescribeDBInstanceRebootTime ¶
func (c *Client) DescribeDBInstanceRebootTime(request *DescribeDBInstanceRebootTimeRequest) (response *DescribeDBInstanceRebootTimeResponse, err error)
DescribeDBInstanceRebootTime This API (DescribeDBInstanceRebootTime) is used to query the estimated time needed for a TencentDB instance to restart.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeDBInstanceRebootTimeWithContext ¶
func (c *Client) DescribeDBInstanceRebootTimeWithContext(ctx context.Context, request *DescribeDBInstanceRebootTimeRequest) (response *DescribeDBInstanceRebootTimeResponse, err error)
DescribeDBInstanceRebootTime This API (DescribeDBInstanceRebootTime) is used to query the estimated time needed for a TencentDB instance to restart.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeDBInstances ¶
func (c *Client) DescribeDBInstances(request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
DescribeDBInstances This API (DescribeDBInstances) is used to query the list of TencentDB instances (which can be primary, disaster recovery, or read-only instances). It supports filtering instances by project ID, instance ID, access address, and instance status.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DESERROR = "InternalError.DesError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_INTERNALSERVICEERRORERR = "InternalError.InternalServiceErrorErr" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBInstancesWithContext ¶
func (c *Client) DescribeDBInstancesWithContext(ctx context.Context, request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
DescribeDBInstances This API (DescribeDBInstances) is used to query the list of TencentDB instances (which can be primary, disaster recovery, or read-only instances). It supports filtering instances by project ID, instance ID, access address, and instance status.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DESERROR = "InternalError.DesError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_INTERNALSERVICEERRORERR = "InternalError.InternalServiceErrorErr" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDBSecurityGroups ¶
func (c *Client) DescribeDBSecurityGroups(request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)
DescribeDBSecurityGroups This API (DescribeDBSecurityGroups) is used to query the security group details of an instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_INTERNALSERVICEERRORERR = "InternalError.InternalServiceErrorErr" INTERNALERROR_RESOURCENOTUNIQUE = "InternalError.ResourceNotUnique" INTERNALERROR_SECURITYGROUPERROR = "InternalError.SecurityGroupError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDBSecurityGroupsWithContext ¶
func (c *Client) DescribeDBSecurityGroupsWithContext(ctx context.Context, request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)
DescribeDBSecurityGroups This API (DescribeDBSecurityGroups) is used to query the security group details of an instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_INTERNALSERVICEERRORERR = "InternalError.InternalServiceErrorErr" INTERNALERROR_RESOURCENOTUNIQUE = "InternalError.ResourceNotUnique" INTERNALERROR_SECURITYGROUPERROR = "InternalError.SecurityGroupError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDBSwitchRecords ¶
func (c *Client) DescribeDBSwitchRecords(request *DescribeDBSwitchRecordsRequest) (response *DescribeDBSwitchRecordsResponse, err error)
DescribeDBSwitchRecords This API (DescribeDBSwitchRecords) is used to query the instance switch records.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeDBSwitchRecordsWithContext ¶
func (c *Client) DescribeDBSwitchRecordsWithContext(ctx context.Context, request *DescribeDBSwitchRecordsRequest) (response *DescribeDBSwitchRecordsResponse, err error)
DescribeDBSwitchRecords This API (DescribeDBSwitchRecords) is used to query the instance switch records.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeDBZoneConfig ¶
func (c *Client) DescribeDBZoneConfig(request *DescribeDBZoneConfigRequest) (response *DescribeDBZoneConfigResponse, err error)
DescribeDBZoneConfig This API (DescribeDBZoneConfig) is used to query the specifications of TencentDB instances purchasable in a region.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_CAUTHERROR = "InternalError.CauthError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeDBZoneConfigWithContext ¶
func (c *Client) DescribeDBZoneConfigWithContext(ctx context.Context, request *DescribeDBZoneConfigRequest) (response *DescribeDBZoneConfigResponse, err error)
DescribeDBZoneConfig This API (DescribeDBZoneConfig) is used to query the specifications of TencentDB instances purchasable in a region.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_CAUTHERROR = "InternalError.CauthError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeDataBackupOverview ¶
func (c *Client) DescribeDataBackupOverview(request *DescribeDataBackupOverviewRequest) (response *DescribeDataBackupOverviewResponse, err error)
DescribeDataBackupOverview This API is used to query the data backup overview of a user in the current region.
error code that may be returned:
INTERNALERROR_CDBERROR = "InternalError.CdbError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeDataBackupOverviewWithContext ¶
func (c *Client) DescribeDataBackupOverviewWithContext(ctx context.Context, request *DescribeDataBackupOverviewRequest) (response *DescribeDataBackupOverviewResponse, err error)
DescribeDataBackupOverview This API is used to query the data backup overview of a user in the current region.
error code that may be returned:
INTERNALERROR_CDBERROR = "InternalError.CdbError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeDatabases ¶
func (c *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
DescribeDatabases This API is used to query the information of databases in a TencentDB instance which must be a source or disaster recovery instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_EXESQLERROR = "InternalError.ExeSqlError" INTERNALERROR_INTERNALSERVICEERRORERR = "InternalError.InternalServiceErrorErr" INTERNALERROR_JSONERROR = "InternalError.JSONError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDatabasesWithContext ¶
func (c *Client) DescribeDatabasesWithContext(ctx context.Context, request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
DescribeDatabases This API is used to query the information of databases in a TencentDB instance which must be a source or disaster recovery instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_EXESQLERROR = "InternalError.ExeSqlError" INTERNALERROR_INTERNALSERVICEERRORERR = "InternalError.InternalServiceErrorErr" INTERNALERROR_JSONERROR = "InternalError.JSONError" INTERNALERROR_NETWORKERROR = "InternalError.NetworkError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeDefaultParams ¶
func (c *Client) DescribeDefaultParams(request *DescribeDefaultParamsRequest) (response *DescribeDefaultParamsResponse, err error)
DescribeDefaultParams This API (DescribeDefaultParams) is used to query the list of default configurable parameters.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeDefaultParamsWithContext ¶
func (c *Client) DescribeDefaultParamsWithContext(ctx context.Context, request *DescribeDefaultParamsRequest) (response *DescribeDefaultParamsResponse, err error)
DescribeDefaultParams This API (DescribeDefaultParams) is used to query the list of default configurable parameters.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeDeviceMonitorInfo ¶
func (c *Client) DescribeDeviceMonitorInfo(request *DescribeDeviceMonitorInfoRequest) (response *DescribeDeviceMonitorInfoResponse, err error)
DescribeDeviceMonitorInfo This API (DescribeDeviceMonitorInfo) is used to query the monitoring information of a TencentDB physical machine on the day. Currently, it only supports instances with 488 GB memory and 6 TB disk.
error code that may be returned:
CDBERROR = "CdbError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_FUNCTIONDENIED = "OperationDenied.FunctionDenied" OPERATIONDENIED_INSTANCESTATUSERROR = "OperationDenied.InstanceStatusError" RESOURCENOTFOUND_INSTANCENOTFUNDERROR = "ResourceNotFound.InstanceNotFundError"
func (*Client) DescribeDeviceMonitorInfoWithContext ¶
func (c *Client) DescribeDeviceMonitorInfoWithContext(ctx context.Context, request *DescribeDeviceMonitorInfoRequest) (response *DescribeDeviceMonitorInfoResponse, err error)
DescribeDeviceMonitorInfo This API (DescribeDeviceMonitorInfo) is used to query the monitoring information of a TencentDB physical machine on the day. Currently, it only supports instances with 488 GB memory and 6 TB disk.
error code that may be returned:
CDBERROR = "CdbError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_FUNCTIONDENIED = "OperationDenied.FunctionDenied" OPERATIONDENIED_INSTANCESTATUSERROR = "OperationDenied.InstanceStatusError" RESOURCENOTFOUND_INSTANCENOTFUNDERROR = "ResourceNotFound.InstanceNotFundError"
func (*Client) DescribeErrorLogData ¶
func (c *Client) DescribeErrorLogData(request *DescribeErrorLogDataRequest) (response *DescribeErrorLogDataResponse, err error)
DescribeErrorLogData This API is used to query the error logs of an instance over the past month by search criteria.
Note: the HTTP response packet will be very large if it contain a single large error log, which causes the API call to time out. If this happens, we recommend you lower the value of the input parameter `Limit` to reduce the packet size so that the API can respond timely.
error code that may be returned:
FAILEDOPERATION_QUERYLOGERROR = "FailedOperation.QueryLogError" FAILEDOPERATION_TIMEOUTERROR = "FailedOperation.TimeoutError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_RESULTOVERLIMIT = "OperationDenied.ResultOverLimit" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) DescribeErrorLogDataWithContext ¶
func (c *Client) DescribeErrorLogDataWithContext(ctx context.Context, request *DescribeErrorLogDataRequest) (response *DescribeErrorLogDataResponse, err error)
DescribeErrorLogData This API is used to query the error logs of an instance over the past month by search criteria.
Note: the HTTP response packet will be very large if it contain a single large error log, which causes the API call to time out. If this happens, we recommend you lower the value of the input parameter `Limit` to reduce the packet size so that the API can respond timely.
error code that may be returned:
FAILEDOPERATION_QUERYLOGERROR = "FailedOperation.QueryLogError" FAILEDOPERATION_TIMEOUTERROR = "FailedOperation.TimeoutError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_RESULTOVERLIMIT = "OperationDenied.ResultOverLimit" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) DescribeInstanceParamRecords ¶
func (c *Client) DescribeInstanceParamRecords(request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)
DescribeInstanceParamRecords This API (DescribeInstanceParamRecords) is used to query the parameter modification records of an instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENAMENOTFOUND = "InvalidParameter.InstanceNameNotFound"
func (*Client) DescribeInstanceParamRecordsWithContext ¶
func (c *Client) DescribeInstanceParamRecordsWithContext(ctx context.Context, request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)
DescribeInstanceParamRecords This API (DescribeInstanceParamRecords) is used to query the parameter modification records of an instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENAMENOTFOUND = "InvalidParameter.InstanceNameNotFound"
func (*Client) DescribeInstanceParams ¶
func (c *Client) DescribeInstanceParams(request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
DescribeInstanceParams This API (DescribeInstanceParams) is used to query the list of parameters for an instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeInstanceParamsWithContext ¶
func (c *Client) DescribeInstanceParamsWithContext(ctx context.Context, request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
DescribeInstanceParams This API (DescribeInstanceParams) is used to query the list of parameters for an instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeLocalBinlogConfig ¶
func (c *Client) DescribeLocalBinlogConfig(request *DescribeLocalBinlogConfigRequest) (response *DescribeLocalBinlogConfigResponse, err error)
DescribeLocalBinlogConfig This API is used to query the retention policy of local binlog of an instance.
error code that may be returned:
INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError"
func (*Client) DescribeLocalBinlogConfigWithContext ¶
func (c *Client) DescribeLocalBinlogConfigWithContext(ctx context.Context, request *DescribeLocalBinlogConfigRequest) (response *DescribeLocalBinlogConfigResponse, err error)
DescribeLocalBinlogConfig This API is used to query the retention policy of local binlog of an instance.
error code that may be returned:
INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError"
func (*Client) DescribeParamTemplateInfo ¶
func (c *Client) DescribeParamTemplateInfo(request *DescribeParamTemplateInfoRequest) (response *DescribeParamTemplateInfoResponse, err error)
DescribeParamTemplateInfo This API is used to query parameter template details. The common request parameter `Region` can only be set to `ap-guangzhou`.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeParamTemplateInfoWithContext ¶
func (c *Client) DescribeParamTemplateInfoWithContext(ctx context.Context, request *DescribeParamTemplateInfoRequest) (response *DescribeParamTemplateInfoResponse, err error)
DescribeParamTemplateInfo This API is used to query parameter template details. The common request parameter `Region` can only be set to `ap-guangzhou`.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeParamTemplates ¶
func (c *Client) DescribeParamTemplates(request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)
DescribeParamTemplates This API is used to query the parameter template list. The common request parameter `Region` can only be set to `ap-guangzhou`.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeParamTemplatesWithContext ¶
func (c *Client) DescribeParamTemplatesWithContext(ctx context.Context, request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)
DescribeParamTemplates This API is used to query the parameter template list. The common request parameter `Region` can only be set to `ap-guangzhou`.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeProjectSecurityGroups ¶
func (c *Client) DescribeProjectSecurityGroups(request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
DescribeProjectSecurityGroups This API (DescribeProjectSecurityGroups) is used to query the security group details of a project.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_RESOURCENOTUNIQUE = "InternalError.ResourceNotUnique" INTERNALERROR_SECURITYGROUPERROR = "InternalError.SecurityGroupError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeProjectSecurityGroupsWithContext ¶
func (c *Client) DescribeProjectSecurityGroupsWithContext(ctx context.Context, request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
DescribeProjectSecurityGroups This API (DescribeProjectSecurityGroups) is used to query the security group details of a project.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_RESOURCENOTUNIQUE = "InternalError.ResourceNotUnique" INTERNALERROR_SECURITYGROUPERROR = "InternalError.SecurityGroupError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeProxyConnectionPoolConf ¶
func (c *Client) DescribeProxyConnectionPoolConf(request *DescribeProxyConnectionPoolConfRequest) (response *DescribeProxyConnectionPoolConfResponse, err error)
DescribeProxyConnectionPoolConf This API is used to query the connection pool configuration of database proxy.
error code that may be returned:
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
func (*Client) DescribeProxyConnectionPoolConfWithContext ¶
func (c *Client) DescribeProxyConnectionPoolConfWithContext(ctx context.Context, request *DescribeProxyConnectionPoolConfRequest) (response *DescribeProxyConnectionPoolConfResponse, err error)
DescribeProxyConnectionPoolConf This API is used to query the connection pool configuration of database proxy.
error code that may be returned:
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError"
func (*Client) DescribeProxyCustomConf ¶
func (c *Client) DescribeProxyCustomConf(request *DescribeProxyCustomConfRequest) (response *DescribeProxyCustomConfResponse, err error)
DescribeProxyCustomConf This API is used to query the proxy configuration.
error code that may be returned:
RESOURCENOTFOUND_INSTANCENOTFUNDERROR = "ResourceNotFound.InstanceNotFundError"
func (*Client) DescribeProxyCustomConfWithContext ¶
func (c *Client) DescribeProxyCustomConfWithContext(ctx context.Context, request *DescribeProxyCustomConfRequest) (response *DescribeProxyCustomConfResponse, err error)
DescribeProxyCustomConf This API is used to query the proxy configuration.
error code that may be returned:
RESOURCENOTFOUND_INSTANCENOTFUNDERROR = "ResourceNotFound.InstanceNotFundError"
func (*Client) DescribeRoGroups ¶
func (c *Client) DescribeRoGroups(request *DescribeRoGroupsRequest) (response *DescribeRoGroupsResponse, err error)
DescribeRoGroups This API is used to query the information of all RO groups of a TencentDB instance.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport"
func (*Client) DescribeRoGroupsWithContext ¶
func (c *Client) DescribeRoGroupsWithContext(ctx context.Context, request *DescribeRoGroupsRequest) (response *DescribeRoGroupsResponse, err error)
DescribeRoGroups This API is used to query the information of all RO groups of a TencentDB instance.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport"
func (*Client) DescribeRoMinScale ¶
func (c *Client) DescribeRoMinScale(request *DescribeRoMinScaleRequest) (response *DescribeRoMinScaleResponse, err error)
DescribeRoMinScale This API is used to query the minimum specification of a read-only instance that can be purchased or upgraded to.
error code that may be returned:
INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" MISSINGPARAMETER_MISSINGPARAMERROR = "MissingParameter.MissingParamError"
func (*Client) DescribeRoMinScaleWithContext ¶
func (c *Client) DescribeRoMinScaleWithContext(ctx context.Context, request *DescribeRoMinScaleRequest) (response *DescribeRoMinScaleResponse, err error)
DescribeRoMinScale This API is used to query the minimum specification of a read-only instance that can be purchased or upgraded to.
error code that may be returned:
INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" MISSINGPARAMETER_MISSINGPARAMERROR = "MissingParameter.MissingParamError"
func (*Client) DescribeRollbackRangeTime ¶
func (c *Client) DescribeRollbackRangeTime(request *DescribeRollbackRangeTimeRequest) (response *DescribeRollbackRangeTimeResponse, err error)
DescribeRollbackRangeTime This API (DescribeRollbackRangeTime) is used to query the time range available for instance rollback.
error code that may be returned:
INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeRollbackRangeTimeWithContext ¶
func (c *Client) DescribeRollbackRangeTimeWithContext(ctx context.Context, request *DescribeRollbackRangeTimeRequest) (response *DescribeRollbackRangeTimeResponse, err error)
DescribeRollbackRangeTime This API (DescribeRollbackRangeTime) is used to query the time range available for instance rollback.
error code that may be returned:
INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeRollbackTaskDetail ¶
func (c *Client) DescribeRollbackTaskDetail(request *DescribeRollbackTaskDetailRequest) (response *DescribeRollbackTaskDetailResponse, err error)
DescribeRollbackTaskDetail This API is used to query the details of a TencentDB instance rollback task.
error code that may be returned:
CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INVALIDPARAMETER_RESOURCENOTEXISTS = "InvalidParameter.ResourceNotExists" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) DescribeRollbackTaskDetailWithContext ¶
func (c *Client) DescribeRollbackTaskDetailWithContext(ctx context.Context, request *DescribeRollbackTaskDetailRequest) (response *DescribeRollbackTaskDetailResponse, err error)
DescribeRollbackTaskDetail This API is used to query the details of a TencentDB instance rollback task.
error code that may be returned:
CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INVALIDPARAMETER_RESOURCENOTEXISTS = "InvalidParameter.ResourceNotExists" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) DescribeSlowLogData ¶
func (c *Client) DescribeSlowLogData(request *DescribeSlowLogDataRequest) (response *DescribeSlowLogDataResponse, err error)
DescribeSlowLogData This API is used to query the slow logs of an instance over the past month by search criteria.
Note: the HTTP response packet will be very large if it contain a single large slow log, which causes the API call to time out. If this happens, we recommend you lower the value of the input parameter `Limit` to reduce the packet size so that the API can respond timely.
error code that may be returned:
FAILEDOPERATION_QUERYLOGERROR = "FailedOperation.QueryLogError" FAILEDOPERATION_TIMEOUTERROR = "FailedOperation.TimeoutError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_NOTSUPPORTBASIC = "OperationDenied.NotSupportBasic" OPERATIONDENIED_RESULTOVERLIMIT = "OperationDenied.ResultOverLimit" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) DescribeSlowLogDataWithContext ¶
func (c *Client) DescribeSlowLogDataWithContext(ctx context.Context, request *DescribeSlowLogDataRequest) (response *DescribeSlowLogDataResponse, err error)
DescribeSlowLogData This API is used to query the slow logs of an instance over the past month by search criteria.
Note: the HTTP response packet will be very large if it contain a single large slow log, which causes the API call to time out. If this happens, we recommend you lower the value of the input parameter `Limit` to reduce the packet size so that the API can respond timely.
error code that may be returned:
FAILEDOPERATION_QUERYLOGERROR = "FailedOperation.QueryLogError" FAILEDOPERATION_TIMEOUTERROR = "FailedOperation.TimeoutError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_NOTSUPPORTBASIC = "OperationDenied.NotSupportBasic" OPERATIONDENIED_RESULTOVERLIMIT = "OperationDenied.ResultOverLimit" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) DescribeSlowLogs ¶
func (c *Client) DescribeSlowLogs(request *DescribeSlowLogsRequest) (response *DescribeSlowLogsResponse, err error)
DescribeSlowLogs This API (DescribeSlowLogs) is used to query the slow logs of a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" CDBERROR_TASKERROR = "CdbError.TaskError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_INTERNALSERVICEERRORERR = "InternalError.InternalServiceErrorErr" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) DescribeSlowLogsWithContext ¶
func (c *Client) DescribeSlowLogsWithContext(ctx context.Context, request *DescribeSlowLogsRequest) (response *DescribeSlowLogsResponse, err error)
DescribeSlowLogs This API (DescribeSlowLogs) is used to query the slow logs of a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" CDBERROR_TASKERROR = "CdbError.TaskError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_INTERNALSERVICEERRORERR = "InternalError.InternalServiceErrorErr" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) DescribeSupportedPrivileges ¶
func (c *Client) DescribeSupportedPrivileges(request *DescribeSupportedPrivilegesRequest) (response *DescribeSupportedPrivilegesResponse, err error)
DescribeSupportedPrivileges This API (DescribeSupportedPrivileges) is used to query the information of TencentDB account permissions, including global permissions, database permissions, table permissions, and column permissions.
error code that may be returned:
FAILEDOPERATION_CREATEACCOUNTERROR = "FailedOperation.CreateAccountError" FAILEDOPERATION_GETPRIVILEGEERROR = "FailedOperation.GetPrivilegeError" FAILEDOPERATION_PRIVILEGEDATAILLEGAL = "FailedOperation.PrivilegeDataIllegal" FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" FAILEDOPERATION_STARTFLOWERROR = "FailedOperation.StartFlowError" FAILEDOPERATION_SUBMITASYNCTASKERROR = "FailedOperation.SubmitAsyncTaskError" INTERNALERROR_INTERNALASSERTERROR = "InternalError.InternalAssertError" INTERNALERROR_INTERNALREQUESTERROR = "InternalError.InternalRequestError" INTERNALERROR_REGEXPCOMPILEERROR = "InternalError.RegexpCompileError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONCHARACTERERROR = "InvalidParameterValue.AccountDescriptionCharacterError" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONLENGTHERROR = "InvalidParameterValue.AccountDescriptionLengthError" INVALIDPARAMETERVALUE_ACCOUNTHOSTRULEERROR = "InvalidParameterValue.AccountHostRuleError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDCHARACTERERROR = "InvalidParameterValue.AccountPasswordCharacterError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDLENGTHERROR = "InvalidParameterValue.AccountPasswordLengthError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDRULEERROR = "InvalidParameterValue.AccountPasswordRuleError" INVALIDPARAMETERVALUE_USERNAMERULEERROR = "InvalidParameterValue.UserNameRuleError" INVALIDPARAMETERVALUE_USERNOTEXISTERROR = "InvalidParameterValue.UserNotExistError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPASSWORDERROR = "InvalidParameterValue.VerifyAccountPasswordError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPRIVERROR = "InvalidParameterValue.VerifyAccountPrivError" MISSINGPARAMETER_ACCOUNTMISSINGPARAMETERERROR = "MissingParameter.AccountMissingParameterError" OPERATIONDENIED_DELETEROOTACCOUNTERROR = "OperationDenied.DeleteRootAccountError" OPERATIONDENIED_NOTSUPPORTMODIFYLOCALROOTHOSTERROR = "OperationDenied.NotSupportModifyLocalRootHostError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError" UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = "UnsupportedOperation.PrivilegesUnsupportedError"
func (*Client) DescribeSupportedPrivilegesWithContext ¶
func (c *Client) DescribeSupportedPrivilegesWithContext(ctx context.Context, request *DescribeSupportedPrivilegesRequest) (response *DescribeSupportedPrivilegesResponse, err error)
DescribeSupportedPrivileges This API (DescribeSupportedPrivileges) is used to query the information of TencentDB account permissions, including global permissions, database permissions, table permissions, and column permissions.
error code that may be returned:
FAILEDOPERATION_CREATEACCOUNTERROR = "FailedOperation.CreateAccountError" FAILEDOPERATION_GETPRIVILEGEERROR = "FailedOperation.GetPrivilegeError" FAILEDOPERATION_PRIVILEGEDATAILLEGAL = "FailedOperation.PrivilegeDataIllegal" FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" FAILEDOPERATION_STARTFLOWERROR = "FailedOperation.StartFlowError" FAILEDOPERATION_SUBMITASYNCTASKERROR = "FailedOperation.SubmitAsyncTaskError" INTERNALERROR_INTERNALASSERTERROR = "InternalError.InternalAssertError" INTERNALERROR_INTERNALREQUESTERROR = "InternalError.InternalRequestError" INTERNALERROR_REGEXPCOMPILEERROR = "InternalError.RegexpCompileError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONCHARACTERERROR = "InvalidParameterValue.AccountDescriptionCharacterError" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONLENGTHERROR = "InvalidParameterValue.AccountDescriptionLengthError" INVALIDPARAMETERVALUE_ACCOUNTHOSTRULEERROR = "InvalidParameterValue.AccountHostRuleError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDCHARACTERERROR = "InvalidParameterValue.AccountPasswordCharacterError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDLENGTHERROR = "InvalidParameterValue.AccountPasswordLengthError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDRULEERROR = "InvalidParameterValue.AccountPasswordRuleError" INVALIDPARAMETERVALUE_USERNAMERULEERROR = "InvalidParameterValue.UserNameRuleError" INVALIDPARAMETERVALUE_USERNOTEXISTERROR = "InvalidParameterValue.UserNotExistError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPASSWORDERROR = "InvalidParameterValue.VerifyAccountPasswordError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPRIVERROR = "InvalidParameterValue.VerifyAccountPrivError" MISSINGPARAMETER_ACCOUNTMISSINGPARAMETERERROR = "MissingParameter.AccountMissingParameterError" OPERATIONDENIED_DELETEROOTACCOUNTERROR = "OperationDenied.DeleteRootAccountError" OPERATIONDENIED_NOTSUPPORTMODIFYLOCALROOTHOSTERROR = "OperationDenied.NotSupportModifyLocalRootHostError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError" UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = "UnsupportedOperation.PrivilegesUnsupportedError"
func (*Client) DescribeTables ¶
func (c *Client) DescribeTables(request *DescribeTablesRequest) (response *DescribeTablesResponse, err error)
DescribeTables This API is used to query the information of database tables in a TencentDB instance. It only supports source or disaster recovery instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_EXESQLERROR = "InternalError.ExeSqlError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeTablesWithContext ¶
func (c *Client) DescribeTablesWithContext(ctx context.Context, request *DescribeTablesRequest) (response *DescribeTablesResponse, err error)
DescribeTables This API is used to query the information of database tables in a TencentDB instance. It only supports source or disaster recovery instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_EXESQLERROR = "InternalError.ExeSqlError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeTagsOfInstanceIds ¶
func (c *Client) DescribeTagsOfInstanceIds(request *DescribeTagsOfInstanceIdsRequest) (response *DescribeTagsOfInstanceIdsResponse, err error)
DescribeTagsOfInstanceIds This API (DescribeTagsOfInstanceIds) is used to query the tag information of a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_AUTHERROR = "InternalError.AuthError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_TASKERROR = "InternalError.TaskError" INTERNALERROR_TIMEWINDOWERROR = "InternalError.TimeWindowError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeTagsOfInstanceIdsWithContext ¶
func (c *Client) DescribeTagsOfInstanceIdsWithContext(ctx context.Context, request *DescribeTagsOfInstanceIdsRequest) (response *DescribeTagsOfInstanceIdsResponse, err error)
DescribeTagsOfInstanceIds This API (DescribeTagsOfInstanceIds) is used to query the tag information of a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" INTERNALERROR_AUTHERROR = "InternalError.AuthError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_TASKERROR = "InternalError.TaskError" INTERNALERROR_TIMEWINDOWERROR = "InternalError.TimeWindowError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeTasks ¶
func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks This API (DescribeTasks) is used to query the list of tasks for a TencentDB instance.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DESERROR = "InternalError.DesError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) DescribeTasksWithContext ¶
func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks This API (DescribeTasks) is used to query the list of tasks for a TencentDB instance.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DESERROR = "InternalError.DesError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) DescribeTimeWindow ¶
func (c *Client) DescribeTimeWindow(request *DescribeTimeWindowRequest) (response *DescribeTimeWindowResponse, err error)
DescribeTimeWindow This API (DescribeTimeWindow) is used to query the maintenance time window of a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound"
func (*Client) DescribeTimeWindowWithContext ¶
func (c *Client) DescribeTimeWindowWithContext(ctx context.Context, request *DescribeTimeWindowRequest) (response *DescribeTimeWindowResponse, err error)
DescribeTimeWindow This API (DescribeTimeWindow) is used to query the maintenance time window of a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound"
func (*Client) DescribeUploadedFiles ¶
func (c *Client) DescribeUploadedFiles(request *DescribeUploadedFilesRequest) (response *DescribeUploadedFilesResponse, err error)
DescribeUploadedFiles This API is used to query the list of SQL files imported by users. The common request parameter `Region` must be `ap-shanghai`.
error code that may be returned:
INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeUploadedFilesWithContext ¶
func (c *Client) DescribeUploadedFilesWithContext(ctx context.Context, request *DescribeUploadedFilesRequest) (response *DescribeUploadedFilesResponse, err error)
DescribeUploadedFiles This API is used to query the list of SQL files imported by users. The common request parameter `Region` must be `ap-shanghai`.
error code that may be returned:
INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DisassociateSecurityGroups ¶
func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
DisassociateSecurityGroups This API (DisassociateSecurityGroups) is used to unbind security groups from instances in batches.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_RESOURCENOTMATCH = "InternalError.ResourceNotMatch" INTERNALERROR_SECURITYGROUPERROR = "InternalError.SecurityGroupError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DisassociateSecurityGroupsWithContext ¶
func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
DisassociateSecurityGroups This API (DisassociateSecurityGroups) is used to unbind security groups from instances in batches.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_RESOURCENOTMATCH = "InternalError.ResourceNotMatch" INTERNALERROR_SECURITYGROUPERROR = "InternalError.SecurityGroupError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) InitDBInstances ¶
func (c *Client) InitDBInstances(request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
InitDBInstances This API (InitDBInstances) is used to initialize instances, including their password, default character set, and instance port number.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_WRONGPASSWORD = "OperationDenied.WrongPassword"
func (*Client) InitDBInstancesWithContext ¶
func (c *Client) InitDBInstancesWithContext(ctx context.Context, request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
InitDBInstances This API (InitDBInstances) is used to initialize instances, including their password, default character set, and instance port number.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_WRONGPASSWORD = "OperationDenied.WrongPassword"
func (*Client) IsolateDBInstance ¶
func (c *Client) IsolateDBInstance(request *IsolateDBInstanceRequest) (response *IsolateDBInstanceResponse, err error)
IsolateDBInstance This API is used to isolate a TencentDB instance, which will no longer be accessible via IP and port. The isolated instance can be started up in the recycle bin. If it is isolated due to arrears, please top up your account as soon as possible.
error code that may be returned:
FAILEDOPERATION_CDBINSTANCELOCKFAILERROR = "FailedOperation.CdbInstanceLockFailError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_TRADEERROR = "InternalError.TradeError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_JSONUNMARSHALERROR = "InvalidParameter.JsonUnmarshalError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_INSTANCELOCKERCONFLICT = "OperationDenied.InstanceLockerConflict" OPERATIONDENIED_INSTANCESTATUSERROR = "OperationDenied.InstanceStatusError" OPERATIONDENIED_UNSUPPORTREFUNDERROR = "OperationDenied.UnSupportRefundError" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) IsolateDBInstanceWithContext ¶
func (c *Client) IsolateDBInstanceWithContext(ctx context.Context, request *IsolateDBInstanceRequest) (response *IsolateDBInstanceResponse, err error)
IsolateDBInstance This API is used to isolate a TencentDB instance, which will no longer be accessible via IP and port. The isolated instance can be started up in the recycle bin. If it is isolated due to arrears, please top up your account as soon as possible.
error code that may be returned:
FAILEDOPERATION_CDBINSTANCELOCKFAILERROR = "FailedOperation.CdbInstanceLockFailError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_TRADEERROR = "InternalError.TradeError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_JSONUNMARSHALERROR = "InvalidParameter.JsonUnmarshalError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_INSTANCELOCKERCONFLICT = "OperationDenied.InstanceLockerConflict" OPERATIONDENIED_INSTANCESTATUSERROR = "OperationDenied.InstanceStatusError" OPERATIONDENIED_UNSUPPORTREFUNDERROR = "OperationDenied.UnSupportRefundError" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) ModifyAccountDescription ¶
func (c *Client) ModifyAccountDescription(request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)
ModifyAccountDescription This API (ModifyAccountDescription) is used to modify the remarks of a TencentDB instance account.
error code that may be returned:
FAILEDOPERATION_CREATEACCOUNTERROR = "FailedOperation.CreateAccountError" FAILEDOPERATION_GETPRIVILEGEERROR = "FailedOperation.GetPrivilegeError" FAILEDOPERATION_PRIVILEGEDATAILLEGAL = "FailedOperation.PrivilegeDataIllegal" FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" FAILEDOPERATION_STARTFLOWERROR = "FailedOperation.StartFlowError" FAILEDOPERATION_SUBMITASYNCTASKERROR = "FailedOperation.SubmitAsyncTaskError" INTERNALERROR_INTERNALASSERTERROR = "InternalError.InternalAssertError" INTERNALERROR_INTERNALREQUESTERROR = "InternalError.InternalRequestError" INTERNALERROR_REGEXPCOMPILEERROR = "InternalError.RegexpCompileError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONCHARACTERERROR = "InvalidParameterValue.AccountDescriptionCharacterError" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONLENGTHERROR = "InvalidParameterValue.AccountDescriptionLengthError" INVALIDPARAMETERVALUE_ACCOUNTHOSTRULEERROR = "InvalidParameterValue.AccountHostRuleError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDCHARACTERERROR = "InvalidParameterValue.AccountPasswordCharacterError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDLENGTHERROR = "InvalidParameterValue.AccountPasswordLengthError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDRULEERROR = "InvalidParameterValue.AccountPasswordRuleError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_USERNAMERULEERROR = "InvalidParameterValue.UserNameRuleError" INVALIDPARAMETERVALUE_USERNOTEXISTERROR = "InvalidParameterValue.UserNotExistError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPASSWORDERROR = "InvalidParameterValue.VerifyAccountPasswordError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPRIVERROR = "InvalidParameterValue.VerifyAccountPrivError" MISSINGPARAMETER_ACCOUNTMISSINGPARAMETERERROR = "MissingParameter.AccountMissingParameterError" OPERATIONDENIED_DELETEROOTACCOUNTERROR = "OperationDenied.DeleteRootAccountError" OPERATIONDENIED_NOTSUPPORTMODIFYLOCALROOTHOSTERROR = "OperationDenied.NotSupportModifyLocalRootHostError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError" UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = "UnsupportedOperation.PrivilegesUnsupportedError"
func (*Client) ModifyAccountDescriptionWithContext ¶
func (c *Client) ModifyAccountDescriptionWithContext(ctx context.Context, request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)
ModifyAccountDescription This API (ModifyAccountDescription) is used to modify the remarks of a TencentDB instance account.
error code that may be returned:
FAILEDOPERATION_CREATEACCOUNTERROR = "FailedOperation.CreateAccountError" FAILEDOPERATION_GETPRIVILEGEERROR = "FailedOperation.GetPrivilegeError" FAILEDOPERATION_PRIVILEGEDATAILLEGAL = "FailedOperation.PrivilegeDataIllegal" FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" FAILEDOPERATION_STARTFLOWERROR = "FailedOperation.StartFlowError" FAILEDOPERATION_SUBMITASYNCTASKERROR = "FailedOperation.SubmitAsyncTaskError" INTERNALERROR_INTERNALASSERTERROR = "InternalError.InternalAssertError" INTERNALERROR_INTERNALREQUESTERROR = "InternalError.InternalRequestError" INTERNALERROR_REGEXPCOMPILEERROR = "InternalError.RegexpCompileError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONCHARACTERERROR = "InvalidParameterValue.AccountDescriptionCharacterError" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONLENGTHERROR = "InvalidParameterValue.AccountDescriptionLengthError" INVALIDPARAMETERVALUE_ACCOUNTHOSTRULEERROR = "InvalidParameterValue.AccountHostRuleError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDCHARACTERERROR = "InvalidParameterValue.AccountPasswordCharacterError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDLENGTHERROR = "InvalidParameterValue.AccountPasswordLengthError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDRULEERROR = "InvalidParameterValue.AccountPasswordRuleError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" INVALIDPARAMETERVALUE_USERNAMERULEERROR = "InvalidParameterValue.UserNameRuleError" INVALIDPARAMETERVALUE_USERNOTEXISTERROR = "InvalidParameterValue.UserNotExistError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPASSWORDERROR = "InvalidParameterValue.VerifyAccountPasswordError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPRIVERROR = "InvalidParameterValue.VerifyAccountPrivError" MISSINGPARAMETER_ACCOUNTMISSINGPARAMETERERROR = "MissingParameter.AccountMissingParameterError" OPERATIONDENIED_DELETEROOTACCOUNTERROR = "OperationDenied.DeleteRootAccountError" OPERATIONDENIED_NOTSUPPORTMODIFYLOCALROOTHOSTERROR = "OperationDenied.NotSupportModifyLocalRootHostError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError" UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = "UnsupportedOperation.PrivilegesUnsupportedError"
func (*Client) ModifyAccountMaxUserConnections ¶
func (c *Client) ModifyAccountMaxUserConnections(request *ModifyAccountMaxUserConnectionsRequest) (response *ModifyAccountMaxUserConnectionsResponse, err error)
ModifyAccountMaxUserConnections This API is used to modify the maximum connections of one or more TencentDB instance accounts.
error code that may be returned:
FAILEDOPERATION_ASYNCTASKSTATUSERROR = "FailedOperation.AsyncTaskStatusError" FAILEDOPERATION_JSONUNMARSHALERROR = "FailedOperation.JsonUnmarshalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) ModifyAccountMaxUserConnectionsWithContext ¶
func (c *Client) ModifyAccountMaxUserConnectionsWithContext(ctx context.Context, request *ModifyAccountMaxUserConnectionsRequest) (response *ModifyAccountMaxUserConnectionsResponse, err error)
ModifyAccountMaxUserConnections This API is used to modify the maximum connections of one or more TencentDB instance accounts.
error code that may be returned:
FAILEDOPERATION_ASYNCTASKSTATUSERROR = "FailedOperation.AsyncTaskStatusError" FAILEDOPERATION_JSONUNMARSHALERROR = "FailedOperation.JsonUnmarshalError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) ModifyAccountPassword ¶
func (c *Client) ModifyAccountPassword(request *ModifyAccountPasswordRequest) (response *ModifyAccountPasswordResponse, err error)
ModifyAccountPassword This API (ModifyAccountPassword) is used to modify the password of a TencentDB instance account.
error code that may be returned:
FAILEDOPERATION_CREATEACCOUNTERROR = "FailedOperation.CreateAccountError" FAILEDOPERATION_GETPRIVILEGEERROR = "FailedOperation.GetPrivilegeError" FAILEDOPERATION_PRIVILEGEDATAILLEGAL = "FailedOperation.PrivilegeDataIllegal" FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" FAILEDOPERATION_STARTFLOWERROR = "FailedOperation.StartFlowError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" FAILEDOPERATION_SUBMITASYNCTASKERROR = "FailedOperation.SubmitAsyncTaskError" INTERNALERROR_INTERNALASSERTERROR = "InternalError.InternalAssertError" INTERNALERROR_INTERNALREQUESTERROR = "InternalError.InternalRequestError" INTERNALERROR_REGEXPCOMPILEERROR = "InternalError.RegexpCompileError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONCHARACTERERROR = "InvalidParameterValue.AccountDescriptionCharacterError" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONLENGTHERROR = "InvalidParameterValue.AccountDescriptionLengthError" INVALIDPARAMETERVALUE_ACCOUNTHOSTRULEERROR = "InvalidParameterValue.AccountHostRuleError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDCHARACTERERROR = "InvalidParameterValue.AccountPasswordCharacterError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDLENGTHERROR = "InvalidParameterValue.AccountPasswordLengthError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDRULEERROR = "InvalidParameterValue.AccountPasswordRuleError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_USERNAMERULEERROR = "InvalidParameterValue.UserNameRuleError" INVALIDPARAMETERVALUE_USERNOTEXISTERROR = "InvalidParameterValue.UserNotExistError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPASSWORDERROR = "InvalidParameterValue.VerifyAccountPasswordError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPRIVERROR = "InvalidParameterValue.VerifyAccountPrivError" MISSINGPARAMETER_ACCOUNTMISSINGPARAMETERERROR = "MissingParameter.AccountMissingParameterError" OPERATIONDENIED_DELETEROOTACCOUNTERROR = "OperationDenied.DeleteRootAccountError" OPERATIONDENIED_NOTSUPPORTMODIFYLOCALROOTHOSTERROR = "OperationDenied.NotSupportModifyLocalRootHostError" OPERATIONDENIED_WRONGPASSWORD = "OperationDenied.WrongPassword" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError" UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = "UnsupportedOperation.PrivilegesUnsupportedError"
func (*Client) ModifyAccountPasswordWithContext ¶
func (c *Client) ModifyAccountPasswordWithContext(ctx context.Context, request *ModifyAccountPasswordRequest) (response *ModifyAccountPasswordResponse, err error)
ModifyAccountPassword This API (ModifyAccountPassword) is used to modify the password of a TencentDB instance account.
error code that may be returned:
FAILEDOPERATION_CREATEACCOUNTERROR = "FailedOperation.CreateAccountError" FAILEDOPERATION_GETPRIVILEGEERROR = "FailedOperation.GetPrivilegeError" FAILEDOPERATION_PRIVILEGEDATAILLEGAL = "FailedOperation.PrivilegeDataIllegal" FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" FAILEDOPERATION_STARTFLOWERROR = "FailedOperation.StartFlowError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" FAILEDOPERATION_SUBMITASYNCTASKERROR = "FailedOperation.SubmitAsyncTaskError" INTERNALERROR_INTERNALASSERTERROR = "InternalError.InternalAssertError" INTERNALERROR_INTERNALREQUESTERROR = "InternalError.InternalRequestError" INTERNALERROR_REGEXPCOMPILEERROR = "InternalError.RegexpCompileError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONCHARACTERERROR = "InvalidParameterValue.AccountDescriptionCharacterError" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONLENGTHERROR = "InvalidParameterValue.AccountDescriptionLengthError" INVALIDPARAMETERVALUE_ACCOUNTHOSTRULEERROR = "InvalidParameterValue.AccountHostRuleError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDCHARACTERERROR = "InvalidParameterValue.AccountPasswordCharacterError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDLENGTHERROR = "InvalidParameterValue.AccountPasswordLengthError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDRULEERROR = "InvalidParameterValue.AccountPasswordRuleError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_USERNAMERULEERROR = "InvalidParameterValue.UserNameRuleError" INVALIDPARAMETERVALUE_USERNOTEXISTERROR = "InvalidParameterValue.UserNotExistError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPASSWORDERROR = "InvalidParameterValue.VerifyAccountPasswordError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPRIVERROR = "InvalidParameterValue.VerifyAccountPrivError" MISSINGPARAMETER_ACCOUNTMISSINGPARAMETERERROR = "MissingParameter.AccountMissingParameterError" OPERATIONDENIED_DELETEROOTACCOUNTERROR = "OperationDenied.DeleteRootAccountError" OPERATIONDENIED_NOTSUPPORTMODIFYLOCALROOTHOSTERROR = "OperationDenied.NotSupportModifyLocalRootHostError" OPERATIONDENIED_WRONGPASSWORD = "OperationDenied.WrongPassword" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError" UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = "UnsupportedOperation.PrivilegesUnsupportedError"
func (*Client) ModifyAccountPrivileges ¶
func (c *Client) ModifyAccountPrivileges(request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, err error)
ModifyAccountPrivileges This API is used to modify the permissions of a TencentDB instance account.
Note that when modifying account permissions, you need to pass in the full permission information of the account. You can [query the account permission information
](https://intl.cloud.tencent.com/document/api/236/17500?from_cn_redirect=1) first before modifying permissions.
error code that may be returned:
FAILEDOPERATION_CREATEACCOUNTERROR = "FailedOperation.CreateAccountError" FAILEDOPERATION_GETPRIVILEGEERROR = "FailedOperation.GetPrivilegeError" FAILEDOPERATION_PRIVILEGEDATAILLEGAL = "FailedOperation.PrivilegeDataIllegal" FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" FAILEDOPERATION_STARTFLOWERROR = "FailedOperation.StartFlowError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" FAILEDOPERATION_SUBMITASYNCTASKERROR = "FailedOperation.SubmitAsyncTaskError" INTERNALERROR_INTERNALASSERTERROR = "InternalError.InternalAssertError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_INTERNALREQUESTERROR = "InternalError.InternalRequestError" INTERNALERROR_REGEXPCOMPILEERROR = "InternalError.RegexpCompileError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONCHARACTERERROR = "InvalidParameterValue.AccountDescriptionCharacterError" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONLENGTHERROR = "InvalidParameterValue.AccountDescriptionLengthError" INVALIDPARAMETERVALUE_ACCOUNTHOSTRULEERROR = "InvalidParameterValue.AccountHostRuleError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDCHARACTERERROR = "InvalidParameterValue.AccountPasswordCharacterError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDLENGTHERROR = "InvalidParameterValue.AccountPasswordLengthError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDRULEERROR = "InvalidParameterValue.AccountPasswordRuleError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_USERNAMERULEERROR = "InvalidParameterValue.UserNameRuleError" INVALIDPARAMETERVALUE_USERNOTEXISTERROR = "InvalidParameterValue.UserNotExistError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPASSWORDERROR = "InvalidParameterValue.VerifyAccountPasswordError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPRIVERROR = "InvalidParameterValue.VerifyAccountPrivError" MISSINGPARAMETER_ACCOUNTMISSINGPARAMETERERROR = "MissingParameter.AccountMissingParameterError" OPERATIONDENIED_DELETEROOTACCOUNTERROR = "OperationDenied.DeleteRootAccountError" OPERATIONDENIED_NOTSUPPORTMODIFYLOCALROOTHOSTERROR = "OperationDenied.NotSupportModifyLocalRootHostError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError" UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = "UnsupportedOperation.PrivilegesUnsupportedError"
func (*Client) ModifyAccountPrivilegesWithContext ¶
func (c *Client) ModifyAccountPrivilegesWithContext(ctx context.Context, request *ModifyAccountPrivilegesRequest) (response *ModifyAccountPrivilegesResponse, err error)
ModifyAccountPrivileges This API is used to modify the permissions of a TencentDB instance account.
Note that when modifying account permissions, you need to pass in the full permission information of the account. You can [query the account permission information
](https://intl.cloud.tencent.com/document/api/236/17500?from_cn_redirect=1) first before modifying permissions.
error code that may be returned:
FAILEDOPERATION_CREATEACCOUNTERROR = "FailedOperation.CreateAccountError" FAILEDOPERATION_GETPRIVILEGEERROR = "FailedOperation.GetPrivilegeError" FAILEDOPERATION_PRIVILEGEDATAILLEGAL = "FailedOperation.PrivilegeDataIllegal" FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" FAILEDOPERATION_STARTFLOWERROR = "FailedOperation.StartFlowError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" FAILEDOPERATION_SUBMITASYNCTASKERROR = "FailedOperation.SubmitAsyncTaskError" INTERNALERROR_INTERNALASSERTERROR = "InternalError.InternalAssertError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_INTERNALREQUESTERROR = "InternalError.InternalRequestError" INTERNALERROR_REGEXPCOMPILEERROR = "InternalError.RegexpCompileError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONCHARACTERERROR = "InvalidParameterValue.AccountDescriptionCharacterError" INVALIDPARAMETERVALUE_ACCOUNTDESCRIPTIONLENGTHERROR = "InvalidParameterValue.AccountDescriptionLengthError" INVALIDPARAMETERVALUE_ACCOUNTHOSTRULEERROR = "InvalidParameterValue.AccountHostRuleError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDCHARACTERERROR = "InvalidParameterValue.AccountPasswordCharacterError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDLENGTHERROR = "InvalidParameterValue.AccountPasswordLengthError" INVALIDPARAMETERVALUE_ACCOUNTPASSWORDRULEERROR = "InvalidParameterValue.AccountPasswordRuleError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_USERNAMERULEERROR = "InvalidParameterValue.UserNameRuleError" INVALIDPARAMETERVALUE_USERNOTEXISTERROR = "InvalidParameterValue.UserNotExistError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPASSWORDERROR = "InvalidParameterValue.VerifyAccountPasswordError" INVALIDPARAMETERVALUE_VERIFYACCOUNTPRIVERROR = "InvalidParameterValue.VerifyAccountPrivError" MISSINGPARAMETER_ACCOUNTMISSINGPARAMETERERROR = "MissingParameter.AccountMissingParameterError" OPERATIONDENIED_DELETEROOTACCOUNTERROR = "OperationDenied.DeleteRootAccountError" OPERATIONDENIED_NOTSUPPORTMODIFYLOCALROOTHOSTERROR = "OperationDenied.NotSupportModifyLocalRootHostError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError" UNSUPPORTEDOPERATION_PRIVILEGESUNSUPPORTEDERROR = "UnsupportedOperation.PrivilegesUnsupportedError"
func (*Client) ModifyAutoRenewFlag ¶
func (c *Client) ModifyAutoRenewFlag(request *ModifyAutoRenewFlagRequest) (response *ModifyAutoRenewFlagResponse, err error)
ModifyAutoRenewFlag This API is used to modify the auto-renewal flag of a TencentDB instance.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyAutoRenewFlagWithContext ¶
func (c *Client) ModifyAutoRenewFlagWithContext(ctx context.Context, request *ModifyAutoRenewFlagRequest) (response *ModifyAutoRenewFlagResponse, err error)
ModifyAutoRenewFlag This API is used to modify the auto-renewal flag of a TencentDB instance.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyBackupConfig ¶
func (c *Client) ModifyBackupConfig(request *ModifyBackupConfigRequest) (response *ModifyBackupConfigResponse, err error)
ModifyBackupConfig This API (ModifyBackupConfig) is used to modify the database backup configuration.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) ModifyBackupConfigWithContext ¶
func (c *Client) ModifyBackupConfigWithContext(ctx context.Context, request *ModifyBackupConfigRequest) (response *ModifyBackupConfigResponse, err error)
ModifyBackupConfig This API (ModifyBackupConfig) is used to modify the database backup configuration.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) ModifyBackupDownloadRestriction ¶
func (c *Client) ModifyBackupDownloadRestriction(request *ModifyBackupDownloadRestrictionRequest) (response *ModifyBackupDownloadRestrictionResponse, err error)
ModifyBackupDownloadRestriction This API is used to modify the restrictions of downloading backups in a region. You can specify which types of networks (private, or both private and public), VPCs, and IPs to download backups.
error code that may be returned:
INTERNALERROR_AUTHERROR = "InternalError.AuthError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) ModifyBackupDownloadRestrictionWithContext ¶
func (c *Client) ModifyBackupDownloadRestrictionWithContext(ctx context.Context, request *ModifyBackupDownloadRestrictionRequest) (response *ModifyBackupDownloadRestrictionResponse, err error)
ModifyBackupDownloadRestriction This API is used to modify the restrictions of downloading backups in a region. You can specify which types of networks (private, or both private and public), VPCs, and IPs to download backups.
error code that may be returned:
INTERNALERROR_AUTHERROR = "InternalError.AuthError" INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) ModifyCDBProxy ¶
func (c *Client) ModifyCDBProxy(request *ModifyCDBProxyRequest) (response *ModifyCDBProxyResponse, err error)
ModifyCDBProxy This API is used to configure read/write separation of database proxy.
error code that may be returned:
FAILEDOPERATION_PROXYGROUPSTATUSERROR = "FailedOperation.ProxyGroupStatusError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) ModifyCDBProxyConnectionPool ¶
func (c *Client) ModifyCDBProxyConnectionPool(request *ModifyCDBProxyConnectionPoolRequest) (response *ModifyCDBProxyConnectionPoolResponse, err error)
ModifyCDBProxyConnectionPool This API is used to configure the connection pool of database proxy. You can use the `DescribeProxyConnectionPoolConf` API to query the supported connection pool configurations.
error code that may be returned:
INTERNALERROR_HTTPERROR = "InternalError.HttpError"
func (*Client) ModifyCDBProxyConnectionPoolWithContext ¶
func (c *Client) ModifyCDBProxyConnectionPoolWithContext(ctx context.Context, request *ModifyCDBProxyConnectionPoolRequest) (response *ModifyCDBProxyConnectionPoolResponse, err error)
ModifyCDBProxyConnectionPool This API is used to configure the connection pool of database proxy. You can use the `DescribeProxyConnectionPoolConf` API to query the supported connection pool configurations.
error code that may be returned:
INTERNALERROR_HTTPERROR = "InternalError.HttpError"
func (*Client) ModifyCDBProxyDesc ¶
func (c *Client) ModifyCDBProxyDesc(request *ModifyCDBProxyDescRequest) (response *ModifyCDBProxyDescResponse, err error)
ModifyCDBProxyDesc This API is used to modify the description of database proxy.
error code that may be returned:
INTERNALERROR_HTTPERROR = "InternalError.HttpError"
func (*Client) ModifyCDBProxyDescWithContext ¶
func (c *Client) ModifyCDBProxyDescWithContext(ctx context.Context, request *ModifyCDBProxyDescRequest) (response *ModifyCDBProxyDescResponse, err error)
ModifyCDBProxyDesc This API is used to modify the description of database proxy.
error code that may be returned:
INTERNALERROR_HTTPERROR = "InternalError.HttpError"
func (*Client) ModifyCDBProxyVipVPort ¶
func (c *Client) ModifyCDBProxyVipVPort(request *ModifyCDBProxyVipVPortRequest) (response *ModifyCDBProxyVipVPortResponse, err error)
ModifyCDBProxyVipVPort This API is used to modify the VIP or port of database proxy.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) ModifyCDBProxyVipVPortWithContext ¶
func (c *Client) ModifyCDBProxyVipVPortWithContext(ctx context.Context, request *ModifyCDBProxyVipVPortRequest) (response *ModifyCDBProxyVipVPortResponse, err error)
ModifyCDBProxyVipVPort This API is used to modify the VIP or port of database proxy.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) ModifyCDBProxyWithContext ¶
func (c *Client) ModifyCDBProxyWithContext(ctx context.Context, request *ModifyCDBProxyRequest) (response *ModifyCDBProxyResponse, err error)
ModifyCDBProxy This API is used to configure read/write separation of database proxy.
error code that may be returned:
FAILEDOPERATION_PROXYGROUPSTATUSERROR = "FailedOperation.ProxyGroupStatusError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) ModifyDBInstanceName ¶
func (c *Client) ModifyDBInstanceName(request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
ModifyDBInstanceName This API (ModifyDBInstanceName) is used to rename a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) ModifyDBInstanceNameWithContext ¶
func (c *Client) ModifyDBInstanceNameWithContext(ctx context.Context, request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
ModifyDBInstanceName This API (ModifyDBInstanceName) is used to rename a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) ModifyDBInstanceProject ¶
func (c *Client) ModifyDBInstanceProject(request *ModifyDBInstanceProjectRequest) (response *ModifyDBInstanceProjectResponse, err error)
ModifyDBInstanceProject This API (ModifyDBInstanceProject) is used to modify the project to which a TencentDB instance belongs.
error code that may be returned:
INTERNALERROR_TAGERROR = "InternalError.TagError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) ModifyDBInstanceProjectWithContext ¶
func (c *Client) ModifyDBInstanceProjectWithContext(ctx context.Context, request *ModifyDBInstanceProjectRequest) (response *ModifyDBInstanceProjectResponse, err error)
ModifyDBInstanceProject This API (ModifyDBInstanceProject) is used to modify the project to which a TencentDB instance belongs.
error code that may be returned:
INTERNALERROR_TAGERROR = "InternalError.TagError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) ModifyDBInstanceSecurityGroups ¶
func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
ModifyDBInstanceSecurityGroups This API (ModifyDBInstanceSecurityGroups) is used to modify the security groups bound to a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_RESOURCENOTUNIQUE = "InternalError.ResourceNotUnique" INTERNALERROR_SECURITYGROUPERROR = "InternalError.SecurityGroupError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound"
func (*Client) ModifyDBInstanceSecurityGroupsWithContext ¶
func (c *Client) ModifyDBInstanceSecurityGroupsWithContext(ctx context.Context, request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
ModifyDBInstanceSecurityGroups This API (ModifyDBInstanceSecurityGroups) is used to modify the security groups bound to a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DFWERROR = "InternalError.DfwError" INTERNALERROR_RESOURCENOTUNIQUE = "InternalError.ResourceNotUnique" INTERNALERROR_SECURITYGROUPERROR = "InternalError.SecurityGroupError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound"
func (*Client) ModifyInstanceParam ¶
func (c *Client) ModifyInstanceParam(request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)
ModifyInstanceParam This API (ModifyInstanceParam) is used to modify instance parameters.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" CDBERROR_TASKERROR = "CdbError.TaskError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INTERNALERROR_TASKFRAMEERROR = "InternalError.TaskFrameError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
func (*Client) ModifyInstanceParamWithContext ¶
func (c *Client) ModifyInstanceParamWithContext(ctx context.Context, request *ModifyInstanceParamRequest) (response *ModifyInstanceParamResponse, err error)
ModifyInstanceParam This API (ModifyInstanceParam) is used to modify instance parameters.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" CDBERROR_TASKERROR = "CdbError.TaskError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INTERNALERROR_TASKFRAMEERROR = "InternalError.TaskFrameError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError"
func (*Client) ModifyInstanceTag ¶
func (c *Client) ModifyInstanceTag(request *ModifyInstanceTagRequest) (response *ModifyInstanceTagResponse, err error)
ModifyInstanceTag This API (ModifyInstanceTag) is used to add, modify, or delete an instance tag.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" CDBERROR_BACKUPERROR = "CdbError.BackupError" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" CDBERROR_IMPORTERROR = "CdbError.ImportError" CDBERROR_TASKERROR = "CdbError.TaskError" INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_TAGERROR = "InternalError.TagError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges"
func (*Client) ModifyInstanceTagWithContext ¶
func (c *Client) ModifyInstanceTagWithContext(ctx context.Context, request *ModifyInstanceTagRequest) (response *ModifyInstanceTagResponse, err error)
ModifyInstanceTag This API (ModifyInstanceTag) is used to add, modify, or delete an instance tag.
error code that may be returned:
AUTHFAILURE = "AuthFailure" CDBERROR = "CdbError" CDBERROR_BACKUPERROR = "CdbError.BackupError" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" CDBERROR_IMPORTERROR = "CdbError.ImportError" CDBERROR_TASKERROR = "CdbError.TaskError" INTERNALERROR_COSERROR = "InternalError.CosError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_TAGERROR = "InternalError.TagError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges"
func (*Client) ModifyLocalBinlogConfig ¶
func (c *Client) ModifyLocalBinlogConfig(request *ModifyLocalBinlogConfigRequest) (response *ModifyLocalBinlogConfigResponse, err error)
ModifyLocalBinlogConfig This API is used to modify the retention policy of local binlog of an instance.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) ModifyLocalBinlogConfigWithContext ¶
func (c *Client) ModifyLocalBinlogConfigWithContext(ctx context.Context, request *ModifyLocalBinlogConfigRequest) (response *ModifyLocalBinlogConfigResponse, err error)
ModifyLocalBinlogConfig This API is used to modify the retention policy of local binlog of an instance.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) ModifyParamTemplate ¶
func (c *Client) ModifyParamTemplate(request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)
ModifyParamTemplate This API is used to modify a parameter template. The common request parameter `Region` can only be set to `ap-guangzhou`.
error code that may be returned:
CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESOURCEEXISTS = "InvalidParameter.ResourceExists"
func (*Client) ModifyParamTemplateWithContext ¶
func (c *Client) ModifyParamTemplateWithContext(ctx context.Context, request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)
ModifyParamTemplate This API is used to modify a parameter template. The common request parameter `Region` can only be set to `ap-guangzhou`.
error code that may be returned:
CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_PARAMERROR = "InternalError.ParamError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RESOURCEEXISTS = "InvalidParameter.ResourceExists"
func (*Client) ModifyRoGroupInfo ¶
func (c *Client) ModifyRoGroupInfo(request *ModifyRoGroupInfoRequest) (response *ModifyRoGroupInfoResponse, err error)
ModifyRoGroupInfo This API is used to update the information of a TencentDB RO group, such as configuring a read-only instance removal policy in case of excessive delay, setting read weights of read-only instances, and setting the replication delay.
error code that may be returned:
FAILEDOPERATION_DESCRIBEPROXYGROUPERROR = "FailedOperation.DescribeProxyGroupError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_TASKFRAMEERROR = "InternalError.TaskFrameError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" MISSINGPARAMETER_MISSINGPARAMERROR = "MissingParameter.MissingParamError" OPERATIONDENIED_CONFLICTROSTATUS = "OperationDenied.ConflictRoStatus" OPERATIONDENIED_CONFLICTSTATUS = "OperationDenied.ConflictStatus" OPERATIONDENIED_DELAYREPLICATIONRUNNING = "OperationDenied.DelayReplicationRunning"
func (*Client) ModifyRoGroupInfoWithContext ¶
func (c *Client) ModifyRoGroupInfoWithContext(ctx context.Context, request *ModifyRoGroupInfoRequest) (response *ModifyRoGroupInfoResponse, err error)
ModifyRoGroupInfo This API is used to update the information of a TencentDB RO group, such as configuring a read-only instance removal policy in case of excessive delay, setting read weights of read-only instances, and setting the replication delay.
error code that may be returned:
FAILEDOPERATION_DESCRIBEPROXYGROUPERROR = "FailedOperation.DescribeProxyGroupError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_TASKFRAMEERROR = "InternalError.TaskFrameError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" MISSINGPARAMETER_MISSINGPARAMERROR = "MissingParameter.MissingParamError" OPERATIONDENIED_CONFLICTROSTATUS = "OperationDenied.ConflictRoStatus" OPERATIONDENIED_CONFLICTSTATUS = "OperationDenied.ConflictStatus" OPERATIONDENIED_DELAYREPLICATIONRUNNING = "OperationDenied.DelayReplicationRunning"
func (*Client) ModifyTimeWindow ¶
func (c *Client) ModifyTimeWindow(request *ModifyTimeWindowRequest) (response *ModifyTimeWindowResponse, err error)
ModifyTimeWindow This API (ModifyTimeWindow) is used to update the maintenance time window of a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyTimeWindowWithContext ¶
func (c *Client) ModifyTimeWindowWithContext(ctx context.Context, request *ModifyTimeWindowRequest) (response *ModifyTimeWindowResponse, err error)
ModifyTimeWindow This API (ModifyTimeWindow) is used to update the maintenance time window of a TencentDB instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied"
func (*Client) OfflineIsolatedInstances ¶
func (c *Client) OfflineIsolatedInstances(request *OfflineIsolatedInstancesRequest) (response *OfflineIsolatedInstancesResponse, err error)
OfflineIsolatedInstances This API (OfflineIsolatedInstances) is used to deactivate isolated TencentDB instances immediately. The instances must be in isolated status, i.e., their `Status` value is 5 in the return of the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1).
This is an asynchronous API. There may be a delay in repossessing some resources. You can query the details by using the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) and specifying the InstanceId and the `Status` value as [5, 6, 7]. If the returned instance is empty, then all its resources have been released.
Note that once an instance is deactivated, its resources and data will not be recoverable. Please do so with caution.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) OfflineIsolatedInstancesWithContext ¶
func (c *Client) OfflineIsolatedInstancesWithContext(ctx context.Context, request *OfflineIsolatedInstancesRequest) (response *OfflineIsolatedInstancesResponse, err error)
OfflineIsolatedInstances This API (OfflineIsolatedInstances) is used to deactivate isolated TencentDB instances immediately. The instances must be in isolated status, i.e., their `Status` value is 5 in the return of the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1).
This is an asynchronous API. There may be a delay in repossessing some resources. You can query the details by using the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) and specifying the InstanceId and the `Status` value as [5, 6, 7]. If the returned instance is empty, then all its resources have been released.
Note that once an instance is deactivated, its resources and data will not be recoverable. Please do so with caution.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) OpenDBInstanceGTID ¶
func (c *Client) OpenDBInstanceGTID(request *OpenDBInstanceGTIDRequest) (response *OpenDBInstanceGTIDResponse, err error)
OpenDBInstanceGTID This API (OpenDBInstanceGTID) is used to enable GTID for a TencentDB instance. Only instances on or above version 5.6 are supported.
error code that may be returned:
FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound"
func (*Client) OpenDBInstanceGTIDWithContext ¶
func (c *Client) OpenDBInstanceGTIDWithContext(ctx context.Context, request *OpenDBInstanceGTIDRequest) (response *OpenDBInstanceGTIDResponse, err error)
OpenDBInstanceGTID This API (OpenDBInstanceGTID) is used to enable GTID for a TencentDB instance. Only instances on or above version 5.6 are supported.
error code that may be returned:
FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound"
func (*Client) OpenWanService ¶
func (c *Client) OpenWanService(request *OpenWanServiceRequest) (response *OpenWanServiceResponse, err error)
OpenWanService This API (OpenWanService) is used to enable public network access for an instance.
Note that before enabling public network access, you need to first [initialize the instance](https://intl.cloud.tencent.com/document/api/236/15873?from_cn_redirect=1).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) OpenWanServiceWithContext ¶
func (c *Client) OpenWanServiceWithContext(ctx context.Context, request *OpenWanServiceRequest) (response *OpenWanServiceResponse, err error)
OpenWanService This API (OpenWanService) is used to enable public network access for an instance.
Note that before enabling public network access, you need to first [initialize the instance](https://intl.cloud.tencent.com/document/api/236/15873?from_cn_redirect=1).
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACTIONNOTSUPPORT = "OperationDenied.ActionNotSupport" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) QueryCDBProxy ¶
func (c *Client) QueryCDBProxy(request *QueryCDBProxyRequest) (response *QueryCDBProxyResponse, err error)
QueryCDBProxy This API is used to query the proxy details.
error code that may be returned:
INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
func (*Client) QueryCDBProxyWithContext ¶
func (c *Client) QueryCDBProxyWithContext(ctx context.Context, request *QueryCDBProxyRequest) (response *QueryCDBProxyResponse, err error)
QueryCDBProxy This API is used to query the proxy details.
error code that may be returned:
INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" INTERNALERROR_HTTPERROR = "InternalError.HttpError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_EXCEPTIONPARAM = "InvalidParameter.ExceptionParam"
func (*Client) ReleaseIsolatedDBInstances ¶
func (c *Client) ReleaseIsolatedDBInstances(request *ReleaseIsolatedDBInstancesRequest) (response *ReleaseIsolatedDBInstancesResponse, err error)
ReleaseIsolatedDBInstances This API is used to deisolate an isolated TencentDB instance.
error code that may be returned:
INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) ReleaseIsolatedDBInstancesWithContext ¶
func (c *Client) ReleaseIsolatedDBInstancesWithContext(ctx context.Context, request *ReleaseIsolatedDBInstancesRequest) (response *ReleaseIsolatedDBInstancesResponse, err error)
ReleaseIsolatedDBInstances This API is used to deisolate an isolated TencentDB instance.
error code that may be returned:
INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) ReloadBalanceProxyNode ¶
func (c *Client) ReloadBalanceProxyNode(request *ReloadBalanceProxyNodeRequest) (response *ReloadBalanceProxyNodeResponse, err error)
ReloadBalanceProxyNode This API is used to rebalance the load on database proxy.
error code that may be returned:
FAILEDOPERATION_DESCRIBEPROXYGROUPERROR = "FailedOperation.DescribeProxyGroupError"
func (*Client) ReloadBalanceProxyNodeWithContext ¶
func (c *Client) ReloadBalanceProxyNodeWithContext(ctx context.Context, request *ReloadBalanceProxyNodeRequest) (response *ReloadBalanceProxyNodeResponse, err error)
ReloadBalanceProxyNode This API is used to rebalance the load on database proxy.
error code that may be returned:
FAILEDOPERATION_DESCRIBEPROXYGROUPERROR = "FailedOperation.DescribeProxyGroupError"
func (*Client) ResetRootAccount ¶
func (c *Client) ResetRootAccount(request *ResetRootAccountRequest) (response *ResetRootAccountResponse, err error)
ResetRootAccount This API is used to reset the root account and initialize the account permissions.
error code that may be returned:
FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) ResetRootAccountWithContext ¶
func (c *Client) ResetRootAccountWithContext(ctx context.Context, request *ResetRootAccountRequest) (response *ResetRootAccountResponse, err error)
ResetRootAccount This API is used to reset the root account and initialize the account permissions.
error code that may be returned:
FAILEDOPERATION_RESPONSEVALUEERROR = "FailedOperation.ResponseValueError" INVALIDPARAMETERVALUE_VERIFYACCOUNTNOROOTERROR = "InvalidParameterValue.VerifyAccountNoRootError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) RestartDBInstances ¶
func (c *Client) RestartDBInstances(request *RestartDBInstancesRequest) (response *RestartDBInstancesResponse, err error)
RestartDBInstances This API (RestartDBInstances) is used to restart TencentDB instances.
Note:
1. This API only supports restarting primary instances.
2. The instance status must be normal, and no other async tasks are in progress.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_TASKFRAMEERROR = "InternalError.TaskFrameError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) RestartDBInstancesWithContext ¶
func (c *Client) RestartDBInstancesWithContext(ctx context.Context, request *RestartDBInstancesRequest) (response *RestartDBInstancesResponse, err error)
RestartDBInstances This API (RestartDBInstances) is used to restart TencentDB instances.
Note:
1. This API only supports restarting primary instances.
2. The instance status must be normal, and no other async tasks are in progress.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_TASKFRAMEERROR = "InternalError.TaskFrameError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) StartBatchRollback ¶
func (c *Client) StartBatchRollback(request *StartBatchRollbackRequest) (response *StartBatchRollbackResponse, err error)
StartBatchRollback This API (StartBatchRollback) is used to roll back the tables of a TencentDB instance in batches.
error code that may be returned:
CDBERROR_TASKERROR = "CdbError.TaskError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus" OVERQUOTA = "OverQuota"
func (*Client) StartBatchRollbackWithContext ¶
func (c *Client) StartBatchRollbackWithContext(ctx context.Context, request *StartBatchRollbackRequest) (response *StartBatchRollbackResponse, err error)
StartBatchRollback This API (StartBatchRollback) is used to roll back the tables of a TencentDB instance in batches.
error code that may be returned:
CDBERROR_TASKERROR = "CdbError.TaskError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus" OVERQUOTA = "OverQuota"
func (*Client) StartReplication ¶
func (c *Client) StartReplication(request *StartReplicationRequest) (response *StartReplicationResponse, err error)
StartReplication This API is used to start the data replication from the source instance to the read-only instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" OPERATIONDENIED_INSTANCETASKRUNNING = "OperationDenied.InstanceTaskRunning" RESOURCENOTFOUND_INSTANCENOTFUNDERROR = "ResourceNotFound.InstanceNotFundError"
func (*Client) StartReplicationWithContext ¶
func (c *Client) StartReplicationWithContext(ctx context.Context, request *StartReplicationRequest) (response *StartReplicationResponse, err error)
StartReplication This API is used to start the data replication from the source instance to the read-only instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" OPERATIONDENIED_INSTANCETASKRUNNING = "OperationDenied.InstanceTaskRunning" RESOURCENOTFOUND_INSTANCENOTFUNDERROR = "ResourceNotFound.InstanceNotFundError"
func (*Client) StopDBImportJob ¶
func (c *Client) StopDBImportJob(request *StopDBImportJobRequest) (response *StopDBImportJobResponse, err error)
StopDBImportJob This API (StopDBImportJob) is used to stop a data import task.
error code that may be returned:
CDBERROR_IMPORTERROR = "CdbError.ImportError" INTERNALERROR_TASKFRAMEERROR = "InternalError.TaskFrameError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDASYNCREQUESTID = "InvalidParameter.InvalidAsyncRequestId"
func (*Client) StopDBImportJobWithContext ¶
func (c *Client) StopDBImportJobWithContext(ctx context.Context, request *StopDBImportJobRequest) (response *StopDBImportJobResponse, err error)
StopDBImportJob This API (StopDBImportJob) is used to stop a data import task.
error code that may be returned:
CDBERROR_IMPORTERROR = "CdbError.ImportError" INTERNALERROR_TASKFRAMEERROR = "InternalError.TaskFrameError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDASYNCREQUESTID = "InvalidParameter.InvalidAsyncRequestId"
func (*Client) StopReplication ¶
func (c *Client) StopReplication(request *StopReplicationRequest) (response *StopReplicationResponse, err error)
StopReplication This API is used to stop the data replication from the source instance to the read-only instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTDELAYRO = "FailedOperation.NotDelayRo" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" OPERATIONDENIED_INSTANCETASKRUNNING = "OperationDenied.InstanceTaskRunning" RESOURCENOTFOUND_INSTANCENOTFUNDERROR = "ResourceNotFound.InstanceNotFundError"
func (*Client) StopReplicationWithContext ¶
func (c *Client) StopReplicationWithContext(ctx context.Context, request *StopReplicationRequest) (response *StopReplicationResponse, err error)
StopReplication This API is used to stop the data replication from the source instance to the read-only instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTDELAYRO = "FailedOperation.NotDelayRo" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" OPERATIONDENIED_INSTANCETASKRUNNING = "OperationDenied.InstanceTaskRunning" RESOURCENOTFOUND_INSTANCENOTFUNDERROR = "ResourceNotFound.InstanceNotFundError"
func (*Client) StopRollback ¶
func (c *Client) StopRollback(request *StopRollbackRequest) (response *StopRollbackResponse, err error)
StopRollback This API is used to cancel a rollback task in progress, and returns an async task ID. You can use the `DescribeAsyncRequestInfo` API to query the result of cancellation.
error code that may be returned:
CDBERROR = "CdbError" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" CDBERROR_TASKERROR = "CdbError.TaskError" INTERNALERROR_ASYNCREQUESTERROR = "InternalError.AsyncRequestError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DESERROR = "InternalError.DesError" OPERATIONDENIED = "OperationDenied"
func (*Client) StopRollbackWithContext ¶
func (c *Client) StopRollbackWithContext(ctx context.Context, request *StopRollbackRequest) (response *StopRollbackResponse, err error)
StopRollback This API is used to cancel a rollback task in progress, and returns an async task ID. You can use the `DescribeAsyncRequestInfo` API to query the result of cancellation.
error code that may be returned:
CDBERROR = "CdbError" CDBERROR_DATABASEERROR = "CdbError.DatabaseError" CDBERROR_TASKERROR = "CdbError.TaskError" INTERNALERROR_ASYNCREQUESTERROR = "InternalError.AsyncRequestError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DESERROR = "InternalError.DesError" OPERATIONDENIED = "OperationDenied"
func (*Client) SwitchCDBProxy ¶
func (c *Client) SwitchCDBProxy(request *SwitchCDBProxyRequest) (response *SwitchCDBProxyResponse, err error)
SwitchCDBProxy This API is used to switch database proxy after the proxy configuration is modified or the proxy version is upgraded.
error code that may be returned:
INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" OPERATIONDENIED_PROXYUPGRADETASKSTATUSERROR = "OperationDenied.ProxyUpgradeTaskStatusError"
func (*Client) SwitchCDBProxyWithContext ¶
func (c *Client) SwitchCDBProxyWithContext(ctx context.Context, request *SwitchCDBProxyRequest) (response *SwitchCDBProxyResponse, err error)
SwitchCDBProxy This API is used to switch database proxy after the proxy configuration is modified or the proxy version is upgraded.
error code that may be returned:
INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError" OPERATIONDENIED_PROXYUPGRADETASKSTATUSERROR = "OperationDenied.ProxyUpgradeTaskStatusError"
func (*Client) SwitchDBInstanceMasterSlave ¶
func (c *Client) SwitchDBInstanceMasterSlave(request *SwitchDBInstanceMasterSlaveRequest) (response *SwitchDBInstanceMasterSlaveResponse, err error)
SwitchDBInstanceMasterSlave This API is used for source-to-replica switch.
error code that may be returned:
CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_INSTANCESTATUSERROR = "OperationDenied.InstanceStatusError" OPERATIONDENIED_INSTANCEUNSUPPORTEDOPERATEERROR = "OperationDenied.InstanceUnsupportedOperateError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) SwitchDBInstanceMasterSlaveWithContext ¶
func (c *Client) SwitchDBInstanceMasterSlaveWithContext(ctx context.Context, request *SwitchDBInstanceMasterSlaveRequest) (response *SwitchDBInstanceMasterSlaveResponse, err error)
SwitchDBInstanceMasterSlave This API is used for source-to-replica switch.
error code that may be returned:
CDBERROR_DATABASEERROR = "CdbError.DatabaseError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_INSTANCESTATUSERROR = "OperationDenied.InstanceStatusError" OPERATIONDENIED_INSTANCEUNSUPPORTEDOPERATEERROR = "OperationDenied.InstanceUnsupportedOperateError" RESOURCENOTFOUND_CDBINSTANCENOTFOUNDERROR = "ResourceNotFound.CdbInstanceNotFoundError"
func (*Client) SwitchDrInstanceToMaster ¶
func (c *Client) SwitchDrInstanceToMaster(request *SwitchDrInstanceToMasterRequest) (response *SwitchDrInstanceToMasterResponse, err error)
SwitchDrInstanceToMaster This API is used to promote a disaster recovery instance to source instance. The request parameter `Region` must be the region of the disaster recovery instance.
error code that may be returned:
FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) SwitchDrInstanceToMasterWithContext ¶
func (c *Client) SwitchDrInstanceToMasterWithContext(ctx context.Context, request *SwitchDrInstanceToMasterRequest) (response *SwitchDrInstanceToMasterResponse, err error)
SwitchDrInstanceToMaster This API is used to promote a disaster recovery instance to source instance. The request parameter `Region` must be the region of the disaster recovery instance.
error code that may be returned:
FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED_WRONGSTATUS = "OperationDenied.WrongStatus"
func (*Client) SwitchForUpgrade ¶
func (c *Client) SwitchForUpgrade(request *SwitchForUpgradeRequest) (response *SwitchForUpgradeResponse, err error)
SwitchForUpgrade This API (SwitchForUpgrade) is used to switch to a new instance. You can initiate this process when the primary instance being upgraded is pending switch.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) SwitchForUpgradeWithContext ¶
func (c *Client) SwitchForUpgradeWithContext(ctx context.Context, request *SwitchForUpgradeRequest) (response *SwitchForUpgradeResponse, err error)
SwitchForUpgrade This API (SwitchForUpgrade) is used to switch to a new instance. You can initiate this process when the primary instance being upgraded is pending switch.
error code that may be returned:
CDBERROR = "CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) UpgradeCDBProxy ¶
func (c *Client) UpgradeCDBProxy(request *UpgradeCDBProxyRequest) (response *UpgradeCDBProxyResponse, err error)
UpgradeCDBProxy This API is used to upgrade the configuration of database proxy.
error code that may be returned:
OPERATIONDENIED_PROXYUPGRADETASKSTATUSERROR = "OperationDenied.ProxyUpgradeTaskStatusError"
func (*Client) UpgradeCDBProxyVersion ¶
func (c *Client) UpgradeCDBProxyVersion(request *UpgradeCDBProxyVersionRequest) (response *UpgradeCDBProxyVersionResponse, err error)
UpgradeCDBProxyVersion This API is used to upgrade the version of database proxy.
error code that may be returned:
INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError"
func (*Client) UpgradeCDBProxyVersionWithContext ¶
func (c *Client) UpgradeCDBProxyVersionWithContext(ctx context.Context, request *UpgradeCDBProxyVersionRequest) (response *UpgradeCDBProxyVersionResponse, err error)
UpgradeCDBProxyVersion This API is used to upgrade the version of database proxy.
error code that may be returned:
INTERNALERROR_DBRECORDNOTEXISTERROR = "InternalError.DBRecordNotExistError"
func (*Client) UpgradeCDBProxyWithContext ¶
func (c *Client) UpgradeCDBProxyWithContext(ctx context.Context, request *UpgradeCDBProxyRequest) (response *UpgradeCDBProxyResponse, err error)
UpgradeCDBProxy This API is used to upgrade the configuration of database proxy.
error code that may be returned:
OPERATIONDENIED_PROXYUPGRADETASKSTATUSERROR = "OperationDenied.ProxyUpgradeTaskStatusError"
func (*Client) UpgradeDBInstance ¶
func (c *Client) UpgradeDBInstance(request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
UpgradeDBInstance This API is used to upgrade or downgrade a TencentDB instance, which can be a primary instance, disaster recovery instance, or read-only instance.
error code that may be returned:
CDBERROR = "CdbError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_CAUTHERROR = "InternalError.CauthError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_TRADEERROR = "InternalError.TradeError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) UpgradeDBInstanceEngineVersion ¶
func (c *Client) UpgradeDBInstanceEngineVersion(request *UpgradeDBInstanceEngineVersionRequest) (response *UpgradeDBInstanceEngineVersionResponse, err error)
UpgradeDBInstanceEngineVersion This API (UpgradeDBInstanceEngineVersion) is used to upgrade the version of a TencentDB instance, which can be a primary instance, disaster recovery instance, or read-only instance.
error code that may be returned:
FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_TRADEERROR = "InternalError.TradeError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) UpgradeDBInstanceEngineVersionWithContext ¶
func (c *Client) UpgradeDBInstanceEngineVersionWithContext(ctx context.Context, request *UpgradeDBInstanceEngineVersionRequest) (response *UpgradeDBInstanceEngineVersionResponse, err error)
UpgradeDBInstanceEngineVersion This API (UpgradeDBInstanceEngineVersion) is used to upgrade the version of a TencentDB instance, which can be a primary instance, disaster recovery instance, or read-only instance.
error code that may be returned:
FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_TRADEERROR = "InternalError.TradeError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
func (*Client) UpgradeDBInstanceWithContext ¶
func (c *Client) UpgradeDBInstanceWithContext(ctx context.Context, request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
UpgradeDBInstance This API is used to upgrade or downgrade a TencentDB instance, which can be a primary instance, disaster recovery instance, or read-only instance.
error code that may be returned:
CDBERROR = "CdbError" FAILEDOPERATION_STATUSCONFLICT = "FailedOperation.StatusConflict" INTERNALERROR_CAUTHERROR = "InternalError.CauthError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" INTERNALERROR_FTPERROR = "InternalError.FtpError" INTERNALERROR_TRADEERROR = "InternalError.TradeError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy"
type CloneItem ¶
type CloneItem struct { // ID of the original instance in a clone task SrcInstanceId *string `json:"SrcInstanceId,omitempty" name:"SrcInstanceId"` // ID of the cloned instance in a clone task DstInstanceId *string `json:"DstInstanceId,omitempty" name:"DstInstanceId"` // Clone task ID CloneJobId *int64 `json:"CloneJobId,omitempty" name:"CloneJobId"` // The policy used in a clone task. Valid values: `timepoint` (roll back to a specific point in time), `backupset` (roll back by using a specific backup file). RollbackStrategy *string `json:"RollbackStrategy,omitempty" name:"RollbackStrategy"` // The point in time to which the cloned instance will be rolled back RollbackTargetTime *string `json:"RollbackTargetTime,omitempty" name:"RollbackTargetTime"` // Task start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Task end time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Task status. Valid values: `initial`, `running`, `wait_complete`, `success`, `failed`. TaskStatus *string `json:"TaskStatus,omitempty" name:"TaskStatus"` }
type CloseCDBProxyRequest ¶
type CloseCDBProxyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Proxy group ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // Whether only to disable read/write separation. Valid values: `true`, `false`. Default value: `false`. OnlyCloseRW *bool `json:"OnlyCloseRW,omitempty" name:"OnlyCloseRW"` }
func NewCloseCDBProxyRequest ¶
func NewCloseCDBProxyRequest() (request *CloseCDBProxyRequest)
func (*CloseCDBProxyRequest) FromJsonString ¶
func (r *CloseCDBProxyRequest) 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 (*CloseCDBProxyRequest) ToJsonString ¶
func (r *CloseCDBProxyRequest) ToJsonString() string
type CloseCDBProxyRequestParams ¶
type CloseCDBProxyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Proxy group ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // Whether only to disable read/write separation. Valid values: `true`, `false`. Default value: `false`. OnlyCloseRW *bool `json:"OnlyCloseRW,omitempty" name:"OnlyCloseRW"` }
Predefined struct for user
type CloseCDBProxyResponse ¶
type CloseCDBProxyResponse struct { *tchttp.BaseResponse Response *CloseCDBProxyResponseParams `json:"Response"` }
func NewCloseCDBProxyResponse ¶
func NewCloseCDBProxyResponse() (response *CloseCDBProxyResponse)
func (*CloseCDBProxyResponse) FromJsonString ¶
func (r *CloseCDBProxyResponse) 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 (*CloseCDBProxyResponse) ToJsonString ¶
func (r *CloseCDBProxyResponse) ToJsonString() string
type CloseCDBProxyResponseParams ¶
type CloseCDBProxyResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CloseWanServiceRequest ¶
type CloseWanServiceRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewCloseWanServiceRequest ¶
func NewCloseWanServiceRequest() (request *CloseWanServiceRequest)
func (*CloseWanServiceRequest) FromJsonString ¶
func (r *CloseWanServiceRequest) 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 (*CloseWanServiceRequest) ToJsonString ¶
func (r *CloseWanServiceRequest) ToJsonString() string
type CloseWanServiceRequestParams ¶
type CloseWanServiceRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type CloseWanServiceResponse ¶
type CloseWanServiceResponse struct { *tchttp.BaseResponse Response *CloseWanServiceResponseParams `json:"Response"` }
func NewCloseWanServiceResponse ¶
func NewCloseWanServiceResponse() (response *CloseWanServiceResponse)
func (*CloseWanServiceResponse) FromJsonString ¶
func (r *CloseWanServiceResponse) 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 (*CloseWanServiceResponse) ToJsonString ¶
func (r *CloseWanServiceResponse) ToJsonString() string
type CloseWanServiceResponseParams ¶
type CloseWanServiceResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ColumnPrivilege ¶
type ColumnPrivilege struct { // Database name Database *string `json:"Database,omitempty" name:"Database"` // Table name Table *string `json:"Table,omitempty" name:"Table"` // Column name Column *string `json:"Column,omitempty" name:"Column"` // Permission information Privileges []*string `json:"Privileges,omitempty" name:"Privileges"` }
type CommonTimeWindow ¶
type CommonTimeWindow struct { // Time window on Monday in the format of 02:00-06:00 Monday *string `json:"Monday,omitempty" name:"Monday"` // Time window on Tuesday in the format of 02:00-06:00 Tuesday *string `json:"Tuesday,omitempty" name:"Tuesday"` // Time window on Wednesday in the format of 02:00-06:00 Wednesday *string `json:"Wednesday,omitempty" name:"Wednesday"` // Time window on Thursday in the format of 02:00-06:00 Thursday *string `json:"Thursday,omitempty" name:"Thursday"` // Time window on Friday in the format of 02:00-06:00 Friday *string `json:"Friday,omitempty" name:"Friday"` // Time window on Saturday in the format of 02:00-06:00 Saturday *string `json:"Saturday,omitempty" name:"Saturday"` // Time window on Sunday in the format of 02:00-06:00 Sunday *string `json:"Sunday,omitempty" name:"Sunday"` }
type ConnectionPoolInfo ¶
type ConnectionPoolInfo struct { // Whether the connection pool is enabled // Note: this field may return `null`, indicating that no valid value can be found. ConnectionPool *bool `json:"ConnectionPool,omitempty" name:"ConnectionPool"` // Connection pool type. Valid value: `SessionConnectionPool` (session-level connection pool) // Note: this field may return `null`, indicating that no valid value can be found. ConnectionPoolType *string `json:"ConnectionPoolType,omitempty" name:"ConnectionPoolType"` // Connection persistence timeout in seconds // Note: this field may return `null`, indicating that no valid value can be found. PoolConnectionTimeOut *int64 `json:"PoolConnectionTimeOut,omitempty" name:"PoolConnectionTimeOut"` }
type CreateAuditPolicyRequest ¶
type CreateAuditPolicyRequest struct { *tchttp.BaseRequest // Audit policy name. Name *string `json:"Name,omitempty" name:"Name"` // Audit rule ID. RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Retention period of audit logs. Valid values: // 7: seven days (a week); // 30: 30 days (a month); // 180: 180 days (six months); // 365: 365 days (a year); // 1095: 1095 days (three years); // 1825: 1825 days (five years). // This parameter specifies the retention period (30 days by default) of audit logs, which is valid when you create the first audit policy for an instance. If the instance already has audit policies, this parameter is invalid, but you can use the `ModifyAuditConfig` API to modify the retention period. LogExpireDay *int64 `json:"LogExpireDay,omitempty" name:"LogExpireDay"` }
func NewCreateAuditPolicyRequest ¶
func NewCreateAuditPolicyRequest() (request *CreateAuditPolicyRequest)
func (*CreateAuditPolicyRequest) FromJsonString ¶
func (r *CreateAuditPolicyRequest) 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 (*CreateAuditPolicyRequest) ToJsonString ¶
func (r *CreateAuditPolicyRequest) ToJsonString() string
type CreateAuditPolicyRequestParams ¶
type CreateAuditPolicyRequestParams struct { // Audit policy name. Name *string `json:"Name,omitempty" name:"Name"` // Audit rule ID. RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Retention period of audit logs. Valid values: // 7: seven days (a week); // 30: 30 days (a month); // 180: 180 days (six months); // 365: 365 days (a year); // 1095: 1095 days (three years); // 1825: 1825 days (five years). // This parameter specifies the retention period (30 days by default) of audit logs, which is valid when you create the first audit policy for an instance. If the instance already has audit policies, this parameter is invalid, but you can use the `ModifyAuditConfig` API to modify the retention period. LogExpireDay *int64 `json:"LogExpireDay,omitempty" name:"LogExpireDay"` }
Predefined struct for user
type CreateAuditPolicyResponse ¶
type CreateAuditPolicyResponse struct { *tchttp.BaseResponse Response *CreateAuditPolicyResponseParams `json:"Response"` }
func NewCreateAuditPolicyResponse ¶
func NewCreateAuditPolicyResponse() (response *CreateAuditPolicyResponse)
func (*CreateAuditPolicyResponse) FromJsonString ¶
func (r *CreateAuditPolicyResponse) 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 (*CreateAuditPolicyResponse) ToJsonString ¶
func (r *CreateAuditPolicyResponse) ToJsonString() string
type CreateAuditPolicyResponseParams ¶
type CreateAuditPolicyResponseParams struct { // Audit policy ID. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateBackupRequest ¶
type CreateBackupRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup method of target instance. Value range: logical (logical cold backup), physical (physical cold backup). BackupMethod *string `json:"BackupMethod,omitempty" name:"BackupMethod"` // Information of the table to be backed up. If this parameter is not set, the entire instance will be backed up by default. It can be set only in logical backup (i.e., BackupMethod = logical). The specified table must exist; otherwise, backup may fail. // For example, if you want to backup tb1 and tb2 in db1 and the entire db2, you should set the parameter as [{"Db": "db1", "Table": "tb1"}, {"Db": "db1", "Table": "tb2"}, {"Db": "db2"} ]. BackupDBTableList []*BackupItem `json:"BackupDBTableList,omitempty" name:"BackupDBTableList"` // Manual backup alias ManualBackupName *string `json:"ManualBackupName,omitempty" name:"ManualBackupName"` }
func NewCreateBackupRequest ¶
func NewCreateBackupRequest() (request *CreateBackupRequest)
func (*CreateBackupRequest) FromJsonString ¶
func (r *CreateBackupRequest) 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 (*CreateBackupRequest) ToJsonString ¶
func (r *CreateBackupRequest) ToJsonString() string
type CreateBackupRequestParams ¶
type CreateBackupRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup method of target instance. Value range: logical (logical cold backup), physical (physical cold backup). BackupMethod *string `json:"BackupMethod,omitempty" name:"BackupMethod"` // Information of the table to be backed up. If this parameter is not set, the entire instance will be backed up by default. It can be set only in logical backup (i.e., BackupMethod = logical). The specified table must exist; otherwise, backup may fail. // For example, if you want to backup tb1 and tb2 in db1 and the entire db2, you should set the parameter as [{"Db": "db1", "Table": "tb1"}, {"Db": "db1", "Table": "tb2"}, {"Db": "db2"} ]. BackupDBTableList []*BackupItem `json:"BackupDBTableList,omitempty" name:"BackupDBTableList"` // Manual backup alias ManualBackupName *string `json:"ManualBackupName,omitempty" name:"ManualBackupName"` }
Predefined struct for user
type CreateBackupResponse ¶
type CreateBackupResponse struct { *tchttp.BaseResponse Response *CreateBackupResponseParams `json:"Response"` }
func NewCreateBackupResponse ¶
func NewCreateBackupResponse() (response *CreateBackupResponse)
func (*CreateBackupResponse) FromJsonString ¶
func (r *CreateBackupResponse) 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 (*CreateBackupResponse) ToJsonString ¶
func (r *CreateBackupResponse) ToJsonString() string
type CreateBackupResponseParams ¶
type CreateBackupResponseParams struct { // Backup task ID BackupId *uint64 `json:"BackupId,omitempty" name:"BackupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCloneInstanceRequest ¶
type CreateCloneInstanceRequest struct { *tchttp.BaseRequest // ID of the instance to be cloned from InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // To roll back the cloned instance to a specific point in time, set this parameter to a value in the format of "yyyy-mm-dd hh:mm:ss". SpecifiedRollbackTime *string `json:"SpecifiedRollbackTime,omitempty" name:"SpecifiedRollbackTime"` // To roll back the cloned instance to a specific physical backup file, set this parameter to the ID of the physical backup file. The ID can be obtained by the [DescribeBackups](https://intl.cloud.tencent.com/document/api/236/15842?from_cn_redirect=1) API. SpecifiedBackupId *int64 `json:"SpecifiedBackupId,omitempty" name:"SpecifiedBackupId"` // VPC ID, which can be obtained by the [DescribeVpcs](https://intl.cloud.tencent.com/document/api/215/15778?from_cn_redirect=1) API. If this parameter is left empty, the classic network will be used by default. UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // VPC subnet ID, which can be obtained by the [DescribeSubnets](https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) API. If `UniqVpcId` is set, `UniqSubnetId` will be required. UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // Memory of the cloned instance in MB, which should be equal to (by default) or larger than that of the original instance Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Disk capacity of the cloned instance in GB, which should be equal to (by default) or larger than that of the original instance Volume *int64 `json:"Volume,omitempty" name:"Volume"` // Name of the cloned instance InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Security group parameter, which can be obtained by the [DescribeProjectSecurityGroups](https://intl.cloud.tencent.com/document/api/236/15850?from_cn_redirect=1) API SecurityGroup []*string `json:"SecurityGroup,omitempty" name:"SecurityGroup"` // Information of the cloned instance tag ResourceTags []*TagInfo `json:"ResourceTags,omitempty" name:"ResourceTags"` // The number of CPU cores of the cloned instance. It should be equal to (by default) or larger than that of the original instance. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Data replication mode. Valid values: 0 (async), 1 (semi-sync), 2 (strong sync). Default value: 0. ProtectMode *int64 `json:"ProtectMode,omitempty" name:"ProtectMode"` // Multi-AZ or single-AZ. Valid values: 0 (single-AZ), 1 (multi-AZ). Default value: 0. DeployMode *int64 `json:"DeployMode,omitempty" name:"DeployMode"` // Availability zone information of replica 1 of the cloned instance, which is the same as the value of `Zone` of the original instance by default SlaveZone *string `json:"SlaveZone,omitempty" name:"SlaveZone"` // Availability zone information of replica 2 of the cloned instance, // which is left empty by default. Specify this parameter when cloning a strong sync source instance. BackupZone *string `json:"BackupZone,omitempty" name:"BackupZone"` // Resource isolation type of the clone. Valid values: `UNIVERSAL` (general instance), `EXCLUSIVE` (dedicated instance). Default value: `UNIVERSAL`. DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // The number of nodes of the clone. If this parameter is set to `3` or the `BackupZone` parameter is specified, the clone will have three nodes. If this parameter is set to `2` or left empty, the clone will have two nodes. InstanceNodes *int64 `json:"InstanceNodes,omitempty" name:"InstanceNodes"` // Placement group ID. DeployGroupId *string `json:"DeployGroupId,omitempty" name:"DeployGroupId"` // Whether to check the request without creating any instance. Valid values: `true`, `false` (default). After being submitted, the request will be checked to see if it is in correct format and has all required parameters with valid values. An error code is returned if the check failed, and `RequestId` is returned if the check succeeded. After a successful check, no instance will be created if this parameter is set to `true`, whereas an instance will be created and if it is set to `false`. DryRun *bool `json:"DryRun,omitempty" name:"DryRun"` // Financial cage ID. CageId *string `json:"CageId,omitempty" name:"CageId"` // Project ID. Default value: 0. ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewCreateCloneInstanceRequest ¶
func NewCreateCloneInstanceRequest() (request *CreateCloneInstanceRequest)
func (*CreateCloneInstanceRequest) FromJsonString ¶
func (r *CreateCloneInstanceRequest) 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 (*CreateCloneInstanceRequest) ToJsonString ¶
func (r *CreateCloneInstanceRequest) ToJsonString() string
type CreateCloneInstanceRequestParams ¶
type CreateCloneInstanceRequestParams struct { // ID of the instance to be cloned from InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // To roll back the cloned instance to a specific point in time, set this parameter to a value in the format of "yyyy-mm-dd hh:mm:ss". SpecifiedRollbackTime *string `json:"SpecifiedRollbackTime,omitempty" name:"SpecifiedRollbackTime"` // To roll back the cloned instance to a specific physical backup file, set this parameter to the ID of the physical backup file. The ID can be obtained by the [DescribeBackups](https://intl.cloud.tencent.com/document/api/236/15842?from_cn_redirect=1) API. SpecifiedBackupId *int64 `json:"SpecifiedBackupId,omitempty" name:"SpecifiedBackupId"` // VPC ID, which can be obtained by the [DescribeVpcs](https://intl.cloud.tencent.com/document/api/215/15778?from_cn_redirect=1) API. If this parameter is left empty, the classic network will be used by default. UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // VPC subnet ID, which can be obtained by the [DescribeSubnets](https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) API. If `UniqVpcId` is set, `UniqSubnetId` will be required. UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // Memory of the cloned instance in MB, which should be equal to (by default) or larger than that of the original instance Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Disk capacity of the cloned instance in GB, which should be equal to (by default) or larger than that of the original instance Volume *int64 `json:"Volume,omitempty" name:"Volume"` // Name of the cloned instance InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Security group parameter, which can be obtained by the [DescribeProjectSecurityGroups](https://intl.cloud.tencent.com/document/api/236/15850?from_cn_redirect=1) API SecurityGroup []*string `json:"SecurityGroup,omitempty" name:"SecurityGroup"` // Information of the cloned instance tag ResourceTags []*TagInfo `json:"ResourceTags,omitempty" name:"ResourceTags"` // The number of CPU cores of the cloned instance. It should be equal to (by default) or larger than that of the original instance. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Data replication mode. Valid values: 0 (async), 1 (semi-sync), 2 (strong sync). Default value: 0. ProtectMode *int64 `json:"ProtectMode,omitempty" name:"ProtectMode"` // Multi-AZ or single-AZ. Valid values: 0 (single-AZ), 1 (multi-AZ). Default value: 0. DeployMode *int64 `json:"DeployMode,omitempty" name:"DeployMode"` // Availability zone information of replica 1 of the cloned instance, which is the same as the value of `Zone` of the original instance by default SlaveZone *string `json:"SlaveZone,omitempty" name:"SlaveZone"` // Availability zone information of replica 2 of the cloned instance, // which is left empty by default. Specify this parameter when cloning a strong sync source instance. BackupZone *string `json:"BackupZone,omitempty" name:"BackupZone"` // Resource isolation type of the clone. Valid values: `UNIVERSAL` (general instance), `EXCLUSIVE` (dedicated instance). Default value: `UNIVERSAL`. DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // The number of nodes of the clone. If this parameter is set to `3` or the `BackupZone` parameter is specified, the clone will have three nodes. If this parameter is set to `2` or left empty, the clone will have two nodes. InstanceNodes *int64 `json:"InstanceNodes,omitempty" name:"InstanceNodes"` // Placement group ID. DeployGroupId *string `json:"DeployGroupId,omitempty" name:"DeployGroupId"` // Whether to check the request without creating any instance. Valid values: `true`, `false` (default). After being submitted, the request will be checked to see if it is in correct format and has all required parameters with valid values. An error code is returned if the check failed, and `RequestId` is returned if the check succeeded. After a successful check, no instance will be created if this parameter is set to `true`, whereas an instance will be created and if it is set to `false`. DryRun *bool `json:"DryRun,omitempty" name:"DryRun"` // Financial cage ID. CageId *string `json:"CageId,omitempty" name:"CageId"` // Project ID. Default value: 0. ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` }
Predefined struct for user
type CreateCloneInstanceResponse ¶
type CreateCloneInstanceResponse struct { *tchttp.BaseResponse Response *CreateCloneInstanceResponseParams `json:"Response"` }
func NewCreateCloneInstanceResponse ¶
func NewCreateCloneInstanceResponse() (response *CreateCloneInstanceResponse)
func (*CreateCloneInstanceResponse) FromJsonString ¶
func (r *CreateCloneInstanceResponse) 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 (*CreateCloneInstanceResponse) ToJsonString ¶
func (r *CreateCloneInstanceResponse) ToJsonString() string
type CreateCloneInstanceResponseParams ¶
type CreateCloneInstanceResponseParams struct { // LimitAsync task request ID, which can be used to query the execution result of an async task AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDBImportJobRequest ¶
type CreateDBImportJobRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // TencentDB username User *string `json:"User,omitempty" name:"User"` // Filename. The file must be a .sql file uploaded to Tencent Cloud. FileName *string `json:"FileName,omitempty" name:"FileName"` // Password of a TencentDB instance user account Password *string `json:"Password,omitempty" name:"Password"` // Name of the target database. If this parameter is not passed in, no database is specified. DbName *string `json:"DbName,omitempty" name:"DbName"` // URL of a .sql file stored in COS. Either `FileName` or `CosUrl` must be specified. CosUrl *string `json:"CosUrl,omitempty" name:"CosUrl"` }
func NewCreateDBImportJobRequest ¶
func NewCreateDBImportJobRequest() (request *CreateDBImportJobRequest)
func (*CreateDBImportJobRequest) FromJsonString ¶
func (r *CreateDBImportJobRequest) 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 (*CreateDBImportJobRequest) ToJsonString ¶
func (r *CreateDBImportJobRequest) ToJsonString() string
type CreateDBImportJobRequestParams ¶
type CreateDBImportJobRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // TencentDB username User *string `json:"User,omitempty" name:"User"` // Filename. The file must be a .sql file uploaded to Tencent Cloud. FileName *string `json:"FileName,omitempty" name:"FileName"` // Password of a TencentDB instance user account Password *string `json:"Password,omitempty" name:"Password"` // Name of the target database. If this parameter is not passed in, no database is specified. DbName *string `json:"DbName,omitempty" name:"DbName"` // URL of a .sql file stored in COS. Either `FileName` or `CosUrl` must be specified. CosUrl *string `json:"CosUrl,omitempty" name:"CosUrl"` }
Predefined struct for user
type CreateDBImportJobResponse ¶
type CreateDBImportJobResponse struct { *tchttp.BaseResponse Response *CreateDBImportJobResponseParams `json:"Response"` }
func NewCreateDBImportJobResponse ¶
func NewCreateDBImportJobResponse() (response *CreateDBImportJobResponse)
func (*CreateDBImportJobResponse) FromJsonString ¶
func (r *CreateDBImportJobResponse) 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 (*CreateDBImportJobResponse) ToJsonString ¶
func (r *CreateDBImportJobResponse) ToJsonString() string
type CreateDBImportJobResponseParams ¶
type CreateDBImportJobResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDBInstanceHourRequest ¶
type CreateDBInstanceHourRequest struct { *tchttp.BaseRequest // Number of instances. Value range: 1-100. Default value: 1. GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"` // Instance memory size in MB. Please use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/api/236/17229?from_cn_redirect=1) API to query the supported memory specifications. Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Instance disk size in GB. Please use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/api/236/17229?from_cn_redirect=1) API to query the supported disk specifications. Volume *int64 `json:"Volume,omitempty" name:"Volume"` // MySQL version. Valid values: `5.5`, `5.6`, `5.7`, `8.0`. You can use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/api/236/17229?from_cn_redirect=1) API to query the supported versions. EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // VPC ID. If this parameter is not passed in, the basic network will be selected by default. Please use the [DescribeVpcs](https://intl.cloud.tencent.com/document/api/215/15778?from_cn_redirect=1) API to query the VPCs. UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // VPC subnet ID. If `UniqVpcId` is set, then `UniqSubnetId` will be required. Please use the [DescribeSubnets](https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) API to query the subnet lists. UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // Project ID. If this is left empty, the default project will be used. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // AZ information. By default, the system will automatically select an AZ. Please use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/api/236/17229?from_cn_redirect=1) API to query the supported AZs. Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance ID, which is required and the same as the primary instance ID when purchasing read-only or disaster recovery instances. Please use the [DescribeDBInstances](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) API to query the instance IDs. MasterInstanceId *string `json:"MasterInstanceId,omitempty" name:"MasterInstanceId"` // Instance type. Valid values: master (primary instance), dr (disaster recovery instance), ro (read-only instance). Default value: master. InstanceRole *string `json:"InstanceRole,omitempty" name:"InstanceRole"` // AZ information of the primary instance, which is required for purchasing disaster recovery instances. MasterRegion *string `json:"MasterRegion,omitempty" name:"MasterRegion"` // Custom port. Value range: [1024-65535]. Port *int64 `json:"Port,omitempty" name:"Port"` // Sets the root account password. Rule: the password can contain 8-64 characters and must contain at least two of the following types of characters: letters, digits, and special symbols (_+-&=!@#$%^*()). This parameter can be specified when purchasing primary instances and is meaningless for read-only or disaster recovery instances. Password *string `json:"Password,omitempty" name:"Password"` // List of parameters in the format of `ParamList.0.Name=auto_increment&ParamList.0.Value=1`. You can use the [DescribeDefaultParams](https://intl.cloud.tencent.com/document/api/236/32662?from_cn_redirect=1) API to query the configurable parameters. ParamList []*ParamInfo `json:"ParamList,omitempty" name:"ParamList"` // Data replication mode. Valid values: 0 (async), 1 (semi-sync), 2 (strong sync). Default value: 0. This parameter can be specified when purchasing primary instances and is meaningless for read-only or disaster recovery instances. ProtectMode *int64 `json:"ProtectMode,omitempty" name:"ProtectMode"` // Multi-AZ. Valid value: 0 (single-AZ), 1 (multi-AZ). Default value: 0. This parameter can be specified when purchasing primary instances and is meaningless for read-only or disaster recovery instances. DeployMode *int64 `json:"DeployMode,omitempty" name:"DeployMode"` // AZ information of secondary database 1, which is the `Zone` value by default. This parameter can be specified when purchasing primary instances and is meaningless for read-only or disaster recovery instances. SlaveZone *string `json:"SlaveZone,omitempty" name:"SlaveZone"` // The availability zone information of Replica 2, which is left empty by default. Specify this parameter when purchasing a source instance in the one-source-two-replica architecture. BackupZone *string `json:"BackupZone,omitempty" name:"BackupZone"` // Security group parameter. You can use the [DescribeProjectSecurityGroups](https://intl.cloud.tencent.com/document/api/236/15850?from_cn_redirect=1) API to query the security group details of a project. SecurityGroup []*string `json:"SecurityGroup,omitempty" name:"SecurityGroup"` // Read-only instance information. This parameter must be passed in when purchasing read-only instances. RoGroup *RoGroup `json:"RoGroup,omitempty" name:"RoGroup"` // This field is meaningless when purchasing pay-as-you-go instances. AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // Instance name. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance tag information. ResourceTags []*TagInfo `json:"ResourceTags,omitempty" name:"ResourceTags"` // Placement group ID. DeployGroupId *string `json:"DeployGroupId,omitempty" name:"DeployGroupId"` // A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed. ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` // Instance resource isolation type. Valid values: `UNIVERSAL` (general instance), `EXCLUSIVE` (dedicated instance), `BASIC` (basic instance). Default value: `UNIVERSAL`. DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // Parameter template ID. ParamTemplateId *int64 `json:"ParamTemplateId,omitempty" name:"ParamTemplateId"` // The array of alarm policy IDs. AlarmPolicyList []*int64 `json:"AlarmPolicyList,omitempty" name:"AlarmPolicyList"` // The number of nodes of the instance. To purchase a read-only replica or a basic instance, set this parameter to `1` or leave it empty. To purchase a three-node instance, set this parameter to `3` or specify the `BackupZone` parameter. If the instance to be purchased is a source instance and both `BackupZone` and this parameter are left empty, the value `2` will be used, which indicates the source instance will have two nodes. InstanceNodes *int64 `json:"InstanceNodes,omitempty" name:"InstanceNodes"` // The number of CPU cores of the instance. If this parameter is left empty, the number of CPU cores depends on the `Memory` value. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Whether to automatically start disaster recovery synchronization. This parameter takes effect only for disaster recovery instances. Valid values: `0` (no), `1` (yes). Default value: `0`. AutoSyncFlag *int64 `json:"AutoSyncFlag,omitempty" name:"AutoSyncFlag"` // Financial cage ID. CageId *string `json:"CageId,omitempty" name:"CageId"` // Type of the default parameter template. Valid values: `HIGH_STABILITY` (high-stability template), `HIGH_PERFORMANCE` (high-performance template). Default value: `HIGH_STABILITY`. ParamTemplateType *string `json:"ParamTemplateType,omitempty" name:"ParamTemplateType"` // The array of alarm policy names, such as ["policy-uyoee9wg"]. If the `AlarmPolicyList` parameter is specified, this parameter is invalid. AlarmPolicyIdList []*string `json:"AlarmPolicyIdList,omitempty" name:"AlarmPolicyIdList"` // Whether to check the request without creating any instance. Valid values: `true`, `false` (default). After being submitted, the request will be checked to see if it is in correct format and has all required parameters with valid values. An error code is returned if the check failed, and `RequestId` is returned if the check succeeded. After a successful check, no instance will be created if this parameter is set to `true`, whereas an instance will be created and if it is set to `false`. DryRun *bool `json:"DryRun,omitempty" name:"DryRun"` // Instance engine type. Valid values: `InnoDB` (default); `RocksDB`. EngineType *string `json:"EngineType,omitempty" name:"EngineType"` // The list of IPs for sources instances. Only one IP address can be assigned to a single source instance. If all IPs are used up, the system will automatically assign IPs to the remaining source instances that do not have one. Vips []*string `json:"Vips,omitempty" name:"Vips"` }
func NewCreateDBInstanceHourRequest ¶
func NewCreateDBInstanceHourRequest() (request *CreateDBInstanceHourRequest)
func (*CreateDBInstanceHourRequest) FromJsonString ¶
func (r *CreateDBInstanceHourRequest) 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 (*CreateDBInstanceHourRequest) ToJsonString ¶
func (r *CreateDBInstanceHourRequest) ToJsonString() string
type CreateDBInstanceHourRequestParams ¶
type CreateDBInstanceHourRequestParams struct { // Number of instances. Value range: 1-100. Default value: 1. GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"` // Instance memory size in MB. Please use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/api/236/17229?from_cn_redirect=1) API to query the supported memory specifications. Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Instance disk size in GB. Please use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/api/236/17229?from_cn_redirect=1) API to query the supported disk specifications. Volume *int64 `json:"Volume,omitempty" name:"Volume"` // MySQL version. Valid values: `5.5`, `5.6`, `5.7`, `8.0`. You can use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/api/236/17229?from_cn_redirect=1) API to query the supported versions. EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // VPC ID. If this parameter is not passed in, the basic network will be selected by default. Please use the [DescribeVpcs](https://intl.cloud.tencent.com/document/api/215/15778?from_cn_redirect=1) API to query the VPCs. UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // VPC subnet ID. If `UniqVpcId` is set, then `UniqSubnetId` will be required. Please use the [DescribeSubnets](https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) API to query the subnet lists. UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // Project ID. If this is left empty, the default project will be used. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // AZ information. By default, the system will automatically select an AZ. Please use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/api/236/17229?from_cn_redirect=1) API to query the supported AZs. Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance ID, which is required and the same as the primary instance ID when purchasing read-only or disaster recovery instances. Please use the [DescribeDBInstances](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) API to query the instance IDs. MasterInstanceId *string `json:"MasterInstanceId,omitempty" name:"MasterInstanceId"` // Instance type. Valid values: master (primary instance), dr (disaster recovery instance), ro (read-only instance). Default value: master. InstanceRole *string `json:"InstanceRole,omitempty" name:"InstanceRole"` // AZ information of the primary instance, which is required for purchasing disaster recovery instances. MasterRegion *string `json:"MasterRegion,omitempty" name:"MasterRegion"` // Custom port. Value range: [1024-65535]. Port *int64 `json:"Port,omitempty" name:"Port"` // Sets the root account password. Rule: the password can contain 8-64 characters and must contain at least two of the following types of characters: letters, digits, and special symbols (_+-&=!@#$%^*()). This parameter can be specified when purchasing primary instances and is meaningless for read-only or disaster recovery instances. Password *string `json:"Password,omitempty" name:"Password"` // List of parameters in the format of `ParamList.0.Name=auto_increment&ParamList.0.Value=1`. You can use the [DescribeDefaultParams](https://intl.cloud.tencent.com/document/api/236/32662?from_cn_redirect=1) API to query the configurable parameters. ParamList []*ParamInfo `json:"ParamList,omitempty" name:"ParamList"` // Data replication mode. Valid values: 0 (async), 1 (semi-sync), 2 (strong sync). Default value: 0. This parameter can be specified when purchasing primary instances and is meaningless for read-only or disaster recovery instances. ProtectMode *int64 `json:"ProtectMode,omitempty" name:"ProtectMode"` // Multi-AZ. Valid value: 0 (single-AZ), 1 (multi-AZ). Default value: 0. This parameter can be specified when purchasing primary instances and is meaningless for read-only or disaster recovery instances. DeployMode *int64 `json:"DeployMode,omitempty" name:"DeployMode"` // AZ information of secondary database 1, which is the `Zone` value by default. This parameter can be specified when purchasing primary instances and is meaningless for read-only or disaster recovery instances. SlaveZone *string `json:"SlaveZone,omitempty" name:"SlaveZone"` // The availability zone information of Replica 2, which is left empty by default. Specify this parameter when purchasing a source instance in the one-source-two-replica architecture. BackupZone *string `json:"BackupZone,omitempty" name:"BackupZone"` // Security group parameter. You can use the [DescribeProjectSecurityGroups](https://intl.cloud.tencent.com/document/api/236/15850?from_cn_redirect=1) API to query the security group details of a project. SecurityGroup []*string `json:"SecurityGroup,omitempty" name:"SecurityGroup"` // Read-only instance information. This parameter must be passed in when purchasing read-only instances. RoGroup *RoGroup `json:"RoGroup,omitempty" name:"RoGroup"` // This field is meaningless when purchasing pay-as-you-go instances. AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // Instance name. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance tag information. ResourceTags []*TagInfo `json:"ResourceTags,omitempty" name:"ResourceTags"` // Placement group ID. DeployGroupId *string `json:"DeployGroupId,omitempty" name:"DeployGroupId"` // A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed. ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` // Instance resource isolation type. Valid values: `UNIVERSAL` (general instance), `EXCLUSIVE` (dedicated instance), `BASIC` (basic instance). Default value: `UNIVERSAL`. DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // Parameter template ID. ParamTemplateId *int64 `json:"ParamTemplateId,omitempty" name:"ParamTemplateId"` // The array of alarm policy IDs. AlarmPolicyList []*int64 `json:"AlarmPolicyList,omitempty" name:"AlarmPolicyList"` // The number of nodes of the instance. To purchase a read-only replica or a basic instance, set this parameter to `1` or leave it empty. To purchase a three-node instance, set this parameter to `3` or specify the `BackupZone` parameter. If the instance to be purchased is a source instance and both `BackupZone` and this parameter are left empty, the value `2` will be used, which indicates the source instance will have two nodes. InstanceNodes *int64 `json:"InstanceNodes,omitempty" name:"InstanceNodes"` // The number of CPU cores of the instance. If this parameter is left empty, the number of CPU cores depends on the `Memory` value. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Whether to automatically start disaster recovery synchronization. This parameter takes effect only for disaster recovery instances. Valid values: `0` (no), `1` (yes). Default value: `0`. AutoSyncFlag *int64 `json:"AutoSyncFlag,omitempty" name:"AutoSyncFlag"` // Financial cage ID. CageId *string `json:"CageId,omitempty" name:"CageId"` // Type of the default parameter template. Valid values: `HIGH_STABILITY` (high-stability template), `HIGH_PERFORMANCE` (high-performance template). Default value: `HIGH_STABILITY`. ParamTemplateType *string `json:"ParamTemplateType,omitempty" name:"ParamTemplateType"` // The array of alarm policy names, such as ["policy-uyoee9wg"]. If the `AlarmPolicyList` parameter is specified, this parameter is invalid. AlarmPolicyIdList []*string `json:"AlarmPolicyIdList,omitempty" name:"AlarmPolicyIdList"` // Whether to check the request without creating any instance. Valid values: `true`, `false` (default). After being submitted, the request will be checked to see if it is in correct format and has all required parameters with valid values. An error code is returned if the check failed, and `RequestId` is returned if the check succeeded. After a successful check, no instance will be created if this parameter is set to `true`, whereas an instance will be created and if it is set to `false`. DryRun *bool `json:"DryRun,omitempty" name:"DryRun"` // Instance engine type. Valid values: `InnoDB` (default); `RocksDB`. EngineType *string `json:"EngineType,omitempty" name:"EngineType"` // The list of IPs for sources instances. Only one IP address can be assigned to a single source instance. If all IPs are used up, the system will automatically assign IPs to the remaining source instances that do not have one. Vips []*string `json:"Vips,omitempty" name:"Vips"` }
Predefined struct for user
type CreateDBInstanceHourResponse ¶
type CreateDBInstanceHourResponse struct { *tchttp.BaseResponse Response *CreateDBInstanceHourResponseParams `json:"Response"` }
func NewCreateDBInstanceHourResponse ¶
func NewCreateDBInstanceHourResponse() (response *CreateDBInstanceHourResponse)
func (*CreateDBInstanceHourResponse) FromJsonString ¶
func (r *CreateDBInstanceHourResponse) 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 (*CreateDBInstanceHourResponse) ToJsonString ¶
func (r *CreateDBInstanceHourResponse) ToJsonString() string
type CreateDBInstanceHourResponseParams ¶
type CreateDBInstanceHourResponseParams struct { // Short order ID. DealIds []*string `json:"DealIds,omitempty" name:"DealIds"` // Instance ID list InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateParamTemplateRequest ¶
type CreateParamTemplateRequest struct { *tchttp.BaseRequest // Parameter template name. Name *string `json:"Name,omitempty" name:"Name"` // Parameter template description. Description *string `json:"Description,omitempty" name:"Description"` // MySQL version number. EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // Source parameter template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // List of parameters. ParamList []*Parameter `json:"ParamList,omitempty" name:"ParamList"` // Type of the default parameter template. Valid values: `HIGH_STABILITY` (high-stability template), `HIGH_PERFORMANCE` (high-performance template). TemplateType *string `json:"TemplateType,omitempty" name:"TemplateType"` }
func NewCreateParamTemplateRequest ¶
func NewCreateParamTemplateRequest() (request *CreateParamTemplateRequest)
func (*CreateParamTemplateRequest) FromJsonString ¶
func (r *CreateParamTemplateRequest) 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 (*CreateParamTemplateRequest) ToJsonString ¶
func (r *CreateParamTemplateRequest) ToJsonString() string
type CreateParamTemplateRequestParams ¶
type CreateParamTemplateRequestParams struct { // Parameter template name. Name *string `json:"Name,omitempty" name:"Name"` // Parameter template description. Description *string `json:"Description,omitempty" name:"Description"` // MySQL version number. EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // Source parameter template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // List of parameters. ParamList []*Parameter `json:"ParamList,omitempty" name:"ParamList"` // Type of the default parameter template. Valid values: `HIGH_STABILITY` (high-stability template), `HIGH_PERFORMANCE` (high-performance template). TemplateType *string `json:"TemplateType,omitempty" name:"TemplateType"` }
Predefined struct for user
type CreateParamTemplateResponse ¶
type CreateParamTemplateResponse struct { *tchttp.BaseResponse Response *CreateParamTemplateResponseParams `json:"Response"` }
func NewCreateParamTemplateResponse ¶
func NewCreateParamTemplateResponse() (response *CreateParamTemplateResponse)
func (*CreateParamTemplateResponse) FromJsonString ¶
func (r *CreateParamTemplateResponse) 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 (*CreateParamTemplateResponse) ToJsonString ¶
func (r *CreateParamTemplateResponse) ToJsonString() string
type CreateParamTemplateResponseParams ¶
type CreateParamTemplateResponseParams struct { // Parameter template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRoInstanceIpRequest ¶
type CreateRoInstanceIpRequest struct { *tchttp.BaseRequest // Read-only instance ID in the format of "cdbro-3i70uj0k". Its value is the same as the read-only instance ID in the TencentDB Console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Subnet descriptor, such as "subnet-1typ0s7d". UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // VPC descriptor, such as "vpc-a23yt67j". If this field is passed in, `UniqSubnetId` will be required. UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` }
func NewCreateRoInstanceIpRequest ¶
func NewCreateRoInstanceIpRequest() (request *CreateRoInstanceIpRequest)
func (*CreateRoInstanceIpRequest) FromJsonString ¶
func (r *CreateRoInstanceIpRequest) 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 (*CreateRoInstanceIpRequest) ToJsonString ¶
func (r *CreateRoInstanceIpRequest) ToJsonString() string
type CreateRoInstanceIpRequestParams ¶
type CreateRoInstanceIpRequestParams struct { // Read-only instance ID in the format of "cdbro-3i70uj0k". Its value is the same as the read-only instance ID in the TencentDB Console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Subnet descriptor, such as "subnet-1typ0s7d". UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // VPC descriptor, such as "vpc-a23yt67j". If this field is passed in, `UniqSubnetId` will be required. UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` }
Predefined struct for user
type CreateRoInstanceIpResponse ¶
type CreateRoInstanceIpResponse struct { *tchttp.BaseResponse Response *CreateRoInstanceIpResponseParams `json:"Response"` }
func NewCreateRoInstanceIpResponse ¶
func NewCreateRoInstanceIpResponse() (response *CreateRoInstanceIpResponse)
func (*CreateRoInstanceIpResponse) FromJsonString ¶
func (r *CreateRoInstanceIpResponse) 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 (*CreateRoInstanceIpResponse) ToJsonString ¶
func (r *CreateRoInstanceIpResponse) ToJsonString() string
type CreateRoInstanceIpResponseParams ¶
type CreateRoInstanceIpResponseParams struct { // VPC ID of the read-only instance. RoVpcId *int64 `json:"RoVpcId,omitempty" name:"RoVpcId"` // Subnet ID of the read-only instance. RoSubnetId *int64 `json:"RoSubnetId,omitempty" name:"RoSubnetId"` // Private IP address of the read-only instance. RoVip *string `json:"RoVip,omitempty" name:"RoVip"` // Private port number of the read-only instance. RoVport *int64 `json:"RoVport,omitempty" name:"RoVport"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CustomConfig ¶
type CustomConfig struct { // Device // Note: this field may return `null`, indicating that no valid value can be found. Device *string `json:"Device,omitempty" name:"Device"` // Type // Note: this field may return `null`, indicating that no valid value can be found. Type *string `json:"Type,omitempty" name:"Type"` // Device type // Note: this field may return `null`, indicating that no valid value can be found. DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // Memory // Note: this field may return `null`, indicating that no valid value can be found. Memory *uint64 `json:"Memory,omitempty" name:"Memory"` // Number of CPU cores // Note: this field may return `null`, indicating that no valid value can be found. Cpu *uint64 `json:"Cpu,omitempty" name:"Cpu"` }
type DBSwitchInfo ¶
type DBSwitchInfo struct { // Switch time in the format of yyyy-MM-dd HH:mm:ss, such as 2017-09-03 01:34:31 SwitchTime *string `json:"SwitchTime,omitempty" name:"SwitchTime"` // Switch type. Value range: TRANSFER (data migration), MASTER2SLAVE (primary/secondary switch), RECOVERY (primary/secondary recovery) SwitchType *string `json:"SwitchType,omitempty" name:"SwitchType"` }
type DatabasePrivilege ¶
type DeleteAccountsRequest ¶
type DeleteAccountsRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // TencentDB account. Accounts []*Account `json:"Accounts,omitempty" name:"Accounts"` }
func NewDeleteAccountsRequest ¶
func NewDeleteAccountsRequest() (request *DeleteAccountsRequest)
func (*DeleteAccountsRequest) FromJsonString ¶
func (r *DeleteAccountsRequest) 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 (*DeleteAccountsRequest) ToJsonString ¶
func (r *DeleteAccountsRequest) ToJsonString() string
type DeleteAccountsRequestParams ¶
type DeleteAccountsRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // TencentDB account. Accounts []*Account `json:"Accounts,omitempty" name:"Accounts"` }
Predefined struct for user
type DeleteAccountsResponse ¶
type DeleteAccountsResponse struct { *tchttp.BaseResponse Response *DeleteAccountsResponseParams `json:"Response"` }
func NewDeleteAccountsResponse ¶
func NewDeleteAccountsResponse() (response *DeleteAccountsResponse)
func (*DeleteAccountsResponse) FromJsonString ¶
func (r *DeleteAccountsResponse) 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 (*DeleteAccountsResponse) ToJsonString ¶
func (r *DeleteAccountsResponse) ToJsonString() string
type DeleteAccountsResponseParams ¶
type DeleteAccountsResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteBackupRequest ¶
type DeleteBackupRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup task ID, which is the task ID returned by the [TencentDB instance backup creating API](https://intl.cloud.tencent.com/document/api/236/15844?from_cn_redirect=1). BackupId *int64 `json:"BackupId,omitempty" name:"BackupId"` }
func NewDeleteBackupRequest ¶
func NewDeleteBackupRequest() (request *DeleteBackupRequest)
func (*DeleteBackupRequest) FromJsonString ¶
func (r *DeleteBackupRequest) 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 (*DeleteBackupRequest) ToJsonString ¶
func (r *DeleteBackupRequest) ToJsonString() string
type DeleteBackupRequestParams ¶
type DeleteBackupRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup task ID, which is the task ID returned by the [TencentDB instance backup creating API](https://intl.cloud.tencent.com/document/api/236/15844?from_cn_redirect=1). BackupId *int64 `json:"BackupId,omitempty" name:"BackupId"` }
Predefined struct for user
type DeleteBackupResponse ¶
type DeleteBackupResponse struct { *tchttp.BaseResponse Response *DeleteBackupResponseParams `json:"Response"` }
func NewDeleteBackupResponse ¶
func NewDeleteBackupResponse() (response *DeleteBackupResponse)
func (*DeleteBackupResponse) FromJsonString ¶
func (r *DeleteBackupResponse) 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 (*DeleteBackupResponse) ToJsonString ¶
func (r *DeleteBackupResponse) ToJsonString() string
type DeleteBackupResponseParams ¶
type DeleteBackupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteParamTemplateRequest ¶
type DeleteParamTemplateRequest struct { *tchttp.BaseRequest // Parameter template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDeleteParamTemplateRequest ¶
func NewDeleteParamTemplateRequest() (request *DeleteParamTemplateRequest)
func (*DeleteParamTemplateRequest) FromJsonString ¶
func (r *DeleteParamTemplateRequest) 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 (*DeleteParamTemplateRequest) ToJsonString ¶
func (r *DeleteParamTemplateRequest) ToJsonString() string
type DeleteParamTemplateRequestParams ¶
type DeleteParamTemplateRequestParams struct { // Parameter template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type DeleteParamTemplateResponse ¶
type DeleteParamTemplateResponse struct { *tchttp.BaseResponse Response *DeleteParamTemplateResponseParams `json:"Response"` }
func NewDeleteParamTemplateResponse ¶
func NewDeleteParamTemplateResponse() (response *DeleteParamTemplateResponse)
func (*DeleteParamTemplateResponse) FromJsonString ¶
func (r *DeleteParamTemplateResponse) 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 (*DeleteParamTemplateResponse) ToJsonString ¶
func (r *DeleteParamTemplateResponse) ToJsonString() string
type DeleteParamTemplateResponseParams ¶
type DeleteParamTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteTimeWindowRequest ¶
type DeleteTimeWindowRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDeleteTimeWindowRequest ¶
func NewDeleteTimeWindowRequest() (request *DeleteTimeWindowRequest)
func (*DeleteTimeWindowRequest) FromJsonString ¶
func (r *DeleteTimeWindowRequest) 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 (*DeleteTimeWindowRequest) ToJsonString ¶
func (r *DeleteTimeWindowRequest) ToJsonString() string
type DeleteTimeWindowRequestParams ¶
type DeleteTimeWindowRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DeleteTimeWindowResponse ¶
type DeleteTimeWindowResponse struct { *tchttp.BaseResponse Response *DeleteTimeWindowResponseParams `json:"Response"` }
func NewDeleteTimeWindowResponse ¶
func NewDeleteTimeWindowResponse() (response *DeleteTimeWindowResponse)
func (*DeleteTimeWindowResponse) FromJsonString ¶
func (r *DeleteTimeWindowResponse) 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 (*DeleteTimeWindowResponse) ToJsonString ¶
func (r *DeleteTimeWindowResponse) ToJsonString() string
type DeleteTimeWindowResponseParams ¶
type DeleteTimeWindowResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccountPrivilegesRequest ¶
type DescribeAccountPrivilegesRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database user account. User *string `json:"User,omitempty" name:"User"` // Database account domain name. Host *string `json:"Host,omitempty" name:"Host"` }
func NewDescribeAccountPrivilegesRequest ¶
func NewDescribeAccountPrivilegesRequest() (request *DescribeAccountPrivilegesRequest)
func (*DescribeAccountPrivilegesRequest) FromJsonString ¶
func (r *DescribeAccountPrivilegesRequest) 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 (*DescribeAccountPrivilegesRequest) ToJsonString ¶
func (r *DescribeAccountPrivilegesRequest) ToJsonString() string
type DescribeAccountPrivilegesRequestParams ¶
type DescribeAccountPrivilegesRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database user account. User *string `json:"User,omitempty" name:"User"` // Database account domain name. Host *string `json:"Host,omitempty" name:"Host"` }
Predefined struct for user
type DescribeAccountPrivilegesResponse ¶
type DescribeAccountPrivilegesResponse struct { *tchttp.BaseResponse Response *DescribeAccountPrivilegesResponseParams `json:"Response"` }
func NewDescribeAccountPrivilegesResponse ¶
func NewDescribeAccountPrivilegesResponse() (response *DescribeAccountPrivilegesResponse)
func (*DescribeAccountPrivilegesResponse) FromJsonString ¶
func (r *DescribeAccountPrivilegesResponse) 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 (*DescribeAccountPrivilegesResponse) ToJsonString ¶
func (r *DescribeAccountPrivilegesResponse) ToJsonString() string
type DescribeAccountPrivilegesResponseParams ¶
type DescribeAccountPrivilegesResponseParams struct { // Array of global permissions. GlobalPrivileges []*string `json:"GlobalPrivileges,omitempty" name:"GlobalPrivileges"` // Array of database permissions. DatabasePrivileges []*DatabasePrivilege `json:"DatabasePrivileges,omitempty" name:"DatabasePrivileges"` // Array of table permissions in the database. TablePrivileges []*TablePrivilege `json:"TablePrivileges,omitempty" name:"TablePrivileges"` // Array of column permissions in the table. ColumnPrivileges []*ColumnPrivilege `json:"ColumnPrivileges,omitempty" name:"ColumnPrivileges"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAsyncRequestInfoRequest ¶
type DescribeAsyncRequestInfoRequest struct { *tchttp.BaseRequest // Async task request ID. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` }
func NewDescribeAsyncRequestInfoRequest ¶
func NewDescribeAsyncRequestInfoRequest() (request *DescribeAsyncRequestInfoRequest)
func (*DescribeAsyncRequestInfoRequest) FromJsonString ¶
func (r *DescribeAsyncRequestInfoRequest) 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 (*DescribeAsyncRequestInfoRequest) ToJsonString ¶
func (r *DescribeAsyncRequestInfoRequest) ToJsonString() string
type DescribeAsyncRequestInfoRequestParams ¶
type DescribeAsyncRequestInfoRequestParams struct { // Async task request ID. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` }
Predefined struct for user
type DescribeAsyncRequestInfoResponse ¶
type DescribeAsyncRequestInfoResponse struct { *tchttp.BaseResponse Response *DescribeAsyncRequestInfoResponseParams `json:"Response"` }
func NewDescribeAsyncRequestInfoResponse ¶
func NewDescribeAsyncRequestInfoResponse() (response *DescribeAsyncRequestInfoResponse)
func (*DescribeAsyncRequestInfoResponse) FromJsonString ¶
func (r *DescribeAsyncRequestInfoResponse) 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 (*DescribeAsyncRequestInfoResponse) ToJsonString ¶
func (r *DescribeAsyncRequestInfoResponse) ToJsonString() string
type DescribeAsyncRequestInfoResponseParams ¶
type DescribeAsyncRequestInfoResponseParams struct { // Task execution result. Valid values: INITIAL, RUNNING, SUCCESS, FAILED, KILLED, REMOVED, PAUSED. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Task execution information. // Note: This field may return null, indicating that no valid values can be obtained. Info *string `json:"Info,omitempty" name:"Info"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAuditPoliciesRequest ¶
type DescribeAuditPoliciesRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Audit policy ID. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Audit policy name. Fuzzy match query is supported. PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // Number of entries per page. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Audit rule ID, which can be used to query its associated audit policies. // Note: At least one of the parameters (“RuleId”, “PolicyId”, PolicyId”, or “PolicyName”) must be passed in. RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` }
func NewDescribeAuditPoliciesRequest ¶
func NewDescribeAuditPoliciesRequest() (request *DescribeAuditPoliciesRequest)
func (*DescribeAuditPoliciesRequest) FromJsonString ¶
func (r *DescribeAuditPoliciesRequest) 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 (*DescribeAuditPoliciesRequest) ToJsonString ¶
func (r *DescribeAuditPoliciesRequest) ToJsonString() string
type DescribeAuditPoliciesRequestParams ¶
type DescribeAuditPoliciesRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Audit policy ID. PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` // Audit policy name. Fuzzy match query is supported. PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // Number of entries per page. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Audit rule ID, which can be used to query its associated audit policies. // Note: At least one of the parameters (“RuleId”, “PolicyId”, PolicyId”, or “PolicyName”) must be passed in. RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` }
Predefined struct for user
type DescribeAuditPoliciesResponse ¶
type DescribeAuditPoliciesResponse struct { *tchttp.BaseResponse Response *DescribeAuditPoliciesResponseParams `json:"Response"` }
func NewDescribeAuditPoliciesResponse ¶
func NewDescribeAuditPoliciesResponse() (response *DescribeAuditPoliciesResponse)
func (*DescribeAuditPoliciesResponse) FromJsonString ¶
func (r *DescribeAuditPoliciesResponse) 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 (*DescribeAuditPoliciesResponse) ToJsonString ¶
func (r *DescribeAuditPoliciesResponse) ToJsonString() string
type DescribeAuditPoliciesResponseParams ¶
type DescribeAuditPoliciesResponseParams struct { // Number of eligible audit policies TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Audit policy details // Note: This field may return `null`, indicating that no valid value was found. Items []*AuditPolicy `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAuditRulesRequest ¶
type DescribeAuditRulesRequest struct { *tchttp.BaseRequest // Audit rule ID. RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Audit rule name. Fuzzy match query is supported. RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Number of entries per page. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeAuditRulesRequest ¶
func NewDescribeAuditRulesRequest() (request *DescribeAuditRulesRequest)
func (*DescribeAuditRulesRequest) FromJsonString ¶
func (r *DescribeAuditRulesRequest) 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 (*DescribeAuditRulesRequest) ToJsonString ¶
func (r *DescribeAuditRulesRequest) ToJsonString() string
type DescribeAuditRulesRequestParams ¶
type DescribeAuditRulesRequestParams struct { // Audit rule ID. RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Audit rule name. Fuzzy match query is supported. RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Number of entries per page. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeAuditRulesResponse ¶
type DescribeAuditRulesResponse struct { *tchttp.BaseResponse Response *DescribeAuditRulesResponseParams `json:"Response"` }
func NewDescribeAuditRulesResponse ¶
func NewDescribeAuditRulesResponse() (response *DescribeAuditRulesResponse)
func (*DescribeAuditRulesResponse) FromJsonString ¶
func (r *DescribeAuditRulesResponse) 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 (*DescribeAuditRulesResponse) ToJsonString ¶
func (r *DescribeAuditRulesResponse) ToJsonString() string
type DescribeAuditRulesResponseParams ¶
type DescribeAuditRulesResponseParams struct { // Number of eligible audit rules TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Audit rule details // Note: This field may return `null`, indicating that no valid value was found. Items []*AuditRule `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupConfigRequest ¶
type DescribeBackupConfigRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeBackupConfigRequest ¶
func NewDescribeBackupConfigRequest() (request *DescribeBackupConfigRequest)
func (*DescribeBackupConfigRequest) FromJsonString ¶
func (r *DescribeBackupConfigRequest) 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 (*DescribeBackupConfigRequest) ToJsonString ¶
func (r *DescribeBackupConfigRequest) ToJsonString() string
type DescribeBackupConfigRequestParams ¶
type DescribeBackupConfigRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeBackupConfigResponse ¶
type DescribeBackupConfigResponse struct { *tchttp.BaseResponse Response *DescribeBackupConfigResponseParams `json:"Response"` }
func NewDescribeBackupConfigResponse ¶
func NewDescribeBackupConfigResponse() (response *DescribeBackupConfigResponse)
func (*DescribeBackupConfigResponse) FromJsonString ¶
func (r *DescribeBackupConfigResponse) 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 (*DescribeBackupConfigResponse) ToJsonString ¶
func (r *DescribeBackupConfigResponse) ToJsonString() string
type DescribeBackupConfigResponseParams ¶
type DescribeBackupConfigResponseParams struct { // Earliest start time point of automatic backup, such as 2 (for 2:00 AM). (This field has been disused. You are recommended to use the `BackupTimeWindow` field) StartTimeMin *int64 `json:"StartTimeMin,omitempty" name:"StartTimeMin"` // Latest start time point of automatic backup, such as 6 (for 6:00 AM). (This field has been disused. You are recommended to use the `BackupTimeWindow` field) StartTimeMax *int64 `json:"StartTimeMax,omitempty" name:"StartTimeMax"` // Backup file retention period in days. BackupExpireDays *int64 `json:"BackupExpireDays,omitempty" name:"BackupExpireDays"` // Backup mode. Value range: physical, logical BackupMethod *string `json:"BackupMethod,omitempty" name:"BackupMethod"` // Binlog file retention period in days. BinlogExpireDays *int64 `json:"BinlogExpireDays,omitempty" name:"BinlogExpireDays"` // Time window for automatic instance backup. BackupTimeWindow *CommonTimeWindow `json:"BackupTimeWindow,omitempty" name:"BackupTimeWindow"` // Switch for archive backup retention. Valid values: `off` (disable), `on` (enable). Default value:`off`. EnableBackupPeriodSave *string `json:"EnableBackupPeriodSave,omitempty" name:"EnableBackupPeriodSave"` // Maximum days of archive backup retention. Valid range: 90-3650. Default value: 1080. BackupPeriodSaveDays *int64 `json:"BackupPeriodSaveDays,omitempty" name:"BackupPeriodSaveDays"` // Archive backup retention period. Valid values: `weekly` (a week), `monthly` (a month), `quarterly` (a quarter), `yearly` (a year). Default value: `monthly`. BackupPeriodSaveInterval *string `json:"BackupPeriodSaveInterval,omitempty" name:"BackupPeriodSaveInterval"` // Number of archive backups. Minimum value: `1`, Maximum value: Number of non-archive backups in archive backup retention period. Default value: `1`. BackupPeriodSaveCount *int64 `json:"BackupPeriodSaveCount,omitempty" name:"BackupPeriodSaveCount"` // The start time in the format: yyyy-mm-dd HH:MM:SS, which is used to enable archive backup retention policy. StartBackupPeriodSaveDate *string `json:"StartBackupPeriodSaveDate,omitempty" name:"StartBackupPeriodSaveDate"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupDownloadRestrictionRequest ¶
type DescribeBackupDownloadRestrictionRequest struct {
*tchttp.BaseRequest
}
func NewDescribeBackupDownloadRestrictionRequest ¶
func NewDescribeBackupDownloadRestrictionRequest() (request *DescribeBackupDownloadRestrictionRequest)
func (*DescribeBackupDownloadRestrictionRequest) FromJsonString ¶
func (r *DescribeBackupDownloadRestrictionRequest) 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 (*DescribeBackupDownloadRestrictionRequest) ToJsonString ¶
func (r *DescribeBackupDownloadRestrictionRequest) ToJsonString() string
type DescribeBackupDownloadRestrictionRequestParams ¶
type DescribeBackupDownloadRestrictionRequestParams struct { }
Predefined struct for user
type DescribeBackupDownloadRestrictionResponse ¶
type DescribeBackupDownloadRestrictionResponse struct { *tchttp.BaseResponse Response *DescribeBackupDownloadRestrictionResponseParams `json:"Response"` }
func NewDescribeBackupDownloadRestrictionResponse ¶
func NewDescribeBackupDownloadRestrictionResponse() (response *DescribeBackupDownloadRestrictionResponse)
func (*DescribeBackupDownloadRestrictionResponse) FromJsonString ¶
func (r *DescribeBackupDownloadRestrictionResponse) 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 (*DescribeBackupDownloadRestrictionResponse) ToJsonString ¶
func (r *DescribeBackupDownloadRestrictionResponse) ToJsonString() string
type DescribeBackupDownloadRestrictionResponseParams ¶
type DescribeBackupDownloadRestrictionResponseParams struct { // Valid values: `NoLimit` (backups can be downloaded over both private and public networks with any IPs), `LimitOnlyIntranet` (backups can be downloaded over the private network with any private IPs), `Customize` (backups can be downloaded over specified VPCs with specified IPs). The `LimitVpc` and `LimitIp` parameters are valid only when this parameter is set to `Customize`. LimitType *string `json:"LimitType,omitempty" name:"LimitType"` // Valid value: `In` (backups can only be downloaded over the VPCs specified in `LimitVpc`). VpcComparisonSymbol *string `json:"VpcComparisonSymbol,omitempty" name:"VpcComparisonSymbol"` // Valid values: `In` (backups can only be downloaded with the IPs specified in `LimitIp`), `NotIn` (backups cannot be downloaded with the IPs specified in `LimitIp`). IpComparisonSymbol *string `json:"IpComparisonSymbol,omitempty" name:"IpComparisonSymbol"` // VPCs used to restrict backup download. LimitVpc []*BackupLimitVpcItem `json:"LimitVpc,omitempty" name:"LimitVpc"` // IPs used to restrict backup download. LimitIp []*string `json:"LimitIp,omitempty" name:"LimitIp"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupOverviewRequest ¶
type DescribeBackupOverviewRequest struct { *tchttp.BaseRequest // TencentDB product type to be queried. Currently, only `mysql` is supported. Product *string `json:"Product,omitempty" name:"Product"` }
func NewDescribeBackupOverviewRequest ¶
func NewDescribeBackupOverviewRequest() (request *DescribeBackupOverviewRequest)
func (*DescribeBackupOverviewRequest) FromJsonString ¶
func (r *DescribeBackupOverviewRequest) 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 (*DescribeBackupOverviewRequest) ToJsonString ¶
func (r *DescribeBackupOverviewRequest) ToJsonString() string
type DescribeBackupOverviewRequestParams ¶
type DescribeBackupOverviewRequestParams struct { // TencentDB product type to be queried. Currently, only `mysql` is supported. Product *string `json:"Product,omitempty" name:"Product"` }
Predefined struct for user
type DescribeBackupOverviewResponse ¶
type DescribeBackupOverviewResponse struct { *tchttp.BaseResponse Response *DescribeBackupOverviewResponseParams `json:"Response"` }
func NewDescribeBackupOverviewResponse ¶
func NewDescribeBackupOverviewResponse() (response *DescribeBackupOverviewResponse)
func (*DescribeBackupOverviewResponse) FromJsonString ¶
func (r *DescribeBackupOverviewResponse) 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 (*DescribeBackupOverviewResponse) ToJsonString ¶
func (r *DescribeBackupOverviewResponse) ToJsonString() string
type DescribeBackupOverviewResponseParams ¶
type DescribeBackupOverviewResponseParams struct { // Total number of backups of a user in the current region (including data backups and log backups). BackupCount *int64 `json:"BackupCount,omitempty" name:"BackupCount"` // Total capacity of backups of a user in the current region. BackupVolume *int64 `json:"BackupVolume,omitempty" name:"BackupVolume"` // Paid capacity of backups of a user in the current region, i.e., capacity that exceeds the free tier. BillingVolume *int64 `json:"BillingVolume,omitempty" name:"BillingVolume"` // Backup capacity in the free tier of a user in the current region. FreeVolume *int64 `json:"FreeVolume,omitempty" name:"FreeVolume"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupSummariesRequest ¶
type DescribeBackupSummariesRequest struct { *tchttp.BaseRequest // TencentDB product type to be queried. Currently, only `mysql` is supported. Product *string `json:"Product,omitempty" name:"Product"` // Paginated query offset. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum entries returned per page, which ranges from 1 to 100. Default value: `20`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Sorting criterion. Valid values: `BackupVolume` (backup capacity), `DataBackupVolume` (data backup capacity), `BinlogBackupVolume` (log backup capacity), `AutoBackupVolume` (automatic backup capacity), `ManualBackupVolume` (manual backup capacity). Default value: `BackupVolume`. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: `ASC` (ascending), `DESC` (descending). Default value: `ASC`. OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"` }
func NewDescribeBackupSummariesRequest ¶
func NewDescribeBackupSummariesRequest() (request *DescribeBackupSummariesRequest)
func (*DescribeBackupSummariesRequest) FromJsonString ¶
func (r *DescribeBackupSummariesRequest) 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 (*DescribeBackupSummariesRequest) ToJsonString ¶
func (r *DescribeBackupSummariesRequest) ToJsonString() string
type DescribeBackupSummariesRequestParams ¶
type DescribeBackupSummariesRequestParams struct { // TencentDB product type to be queried. Currently, only `mysql` is supported. Product *string `json:"Product,omitempty" name:"Product"` // Paginated query offset. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum entries returned per page, which ranges from 1 to 100. Default value: `20`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Sorting criterion. Valid values: `BackupVolume` (backup capacity), `DataBackupVolume` (data backup capacity), `BinlogBackupVolume` (log backup capacity), `AutoBackupVolume` (automatic backup capacity), `ManualBackupVolume` (manual backup capacity). Default value: `BackupVolume`. OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting order. Valid values: `ASC` (ascending), `DESC` (descending). Default value: `ASC`. OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"` }
Predefined struct for user
type DescribeBackupSummariesResponse ¶
type DescribeBackupSummariesResponse struct { *tchttp.BaseResponse Response *DescribeBackupSummariesResponseParams `json:"Response"` }
func NewDescribeBackupSummariesResponse ¶
func NewDescribeBackupSummariesResponse() (response *DescribeBackupSummariesResponse)
func (*DescribeBackupSummariesResponse) FromJsonString ¶
func (r *DescribeBackupSummariesResponse) 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 (*DescribeBackupSummariesResponse) ToJsonString ¶
func (r *DescribeBackupSummariesResponse) ToJsonString() string
type DescribeBackupSummariesResponseParams ¶
type DescribeBackupSummariesResponseParams struct { // Statistical items of instance backup. Items []*BackupSummaryItem `json:"Items,omitempty" name:"Items"` // Total number of instance backups. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupsRequest ¶
type DescribeBackupsRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Offset. Minimum value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeBackupsRequest ¶
func NewDescribeBackupsRequest() (request *DescribeBackupsRequest)
func (*DescribeBackupsRequest) FromJsonString ¶
func (r *DescribeBackupsRequest) 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 (*DescribeBackupsRequest) ToJsonString ¶
func (r *DescribeBackupsRequest) ToJsonString() string
type DescribeBackupsRequestParams ¶
type DescribeBackupsRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Offset. Minimum value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeBackupsResponse ¶
type DescribeBackupsResponse struct { *tchttp.BaseResponse Response *DescribeBackupsResponseParams `json:"Response"` }
func NewDescribeBackupsResponse ¶
func NewDescribeBackupsResponse() (response *DescribeBackupsResponse)
func (*DescribeBackupsResponse) FromJsonString ¶
func (r *DescribeBackupsResponse) 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 (*DescribeBackupsResponse) ToJsonString ¶
func (r *DescribeBackupsResponse) ToJsonString() string
type DescribeBackupsResponseParams ¶
type DescribeBackupsResponseParams struct { // Number of eligible instances. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Details of eligible backups. Items []*BackupInfo `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBinlogBackupOverviewRequest ¶
type DescribeBinlogBackupOverviewRequest struct { *tchttp.BaseRequest // TencentDB product type to be queried. Currently, only `mysql` is supported. Product *string `json:"Product,omitempty" name:"Product"` }
func NewDescribeBinlogBackupOverviewRequest ¶
func NewDescribeBinlogBackupOverviewRequest() (request *DescribeBinlogBackupOverviewRequest)
func (*DescribeBinlogBackupOverviewRequest) FromJsonString ¶
func (r *DescribeBinlogBackupOverviewRequest) 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 (*DescribeBinlogBackupOverviewRequest) ToJsonString ¶
func (r *DescribeBinlogBackupOverviewRequest) ToJsonString() string
type DescribeBinlogBackupOverviewRequestParams ¶
type DescribeBinlogBackupOverviewRequestParams struct { // TencentDB product type to be queried. Currently, only `mysql` is supported. Product *string `json:"Product,omitempty" name:"Product"` }
Predefined struct for user
type DescribeBinlogBackupOverviewResponse ¶
type DescribeBinlogBackupOverviewResponse struct { *tchttp.BaseResponse Response *DescribeBinlogBackupOverviewResponseParams `json:"Response"` }
func NewDescribeBinlogBackupOverviewResponse ¶
func NewDescribeBinlogBackupOverviewResponse() (response *DescribeBinlogBackupOverviewResponse)
func (*DescribeBinlogBackupOverviewResponse) FromJsonString ¶
func (r *DescribeBinlogBackupOverviewResponse) 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 (*DescribeBinlogBackupOverviewResponse) ToJsonString ¶
func (r *DescribeBinlogBackupOverviewResponse) ToJsonString() string
type DescribeBinlogBackupOverviewResponseParams ¶
type DescribeBinlogBackupOverviewResponseParams struct { // Total capacity of log backups in bytes. BinlogBackupVolume *int64 `json:"BinlogBackupVolume,omitempty" name:"BinlogBackupVolume"` // Total number of log backups. BinlogBackupCount *int64 `json:"BinlogBackupCount,omitempty" name:"BinlogBackupCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBinlogsRequest ¶
type DescribeBinlogsRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Offset. Minimum value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeBinlogsRequest ¶
func NewDescribeBinlogsRequest() (request *DescribeBinlogsRequest)
func (*DescribeBinlogsRequest) FromJsonString ¶
func (r *DescribeBinlogsRequest) 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 (*DescribeBinlogsRequest) ToJsonString ¶
func (r *DescribeBinlogsRequest) ToJsonString() string
type DescribeBinlogsRequestParams ¶
type DescribeBinlogsRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Offset. Minimum value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeBinlogsResponse ¶
type DescribeBinlogsResponse struct { *tchttp.BaseResponse Response *DescribeBinlogsResponseParams `json:"Response"` }
func NewDescribeBinlogsResponse ¶
func NewDescribeBinlogsResponse() (response *DescribeBinlogsResponse)
func (*DescribeBinlogsResponse) FromJsonString ¶
func (r *DescribeBinlogsResponse) 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 (*DescribeBinlogsResponse) ToJsonString ¶
func (r *DescribeBinlogsResponse) ToJsonString() string
type DescribeBinlogsResponseParams ¶
type DescribeBinlogsResponseParams struct { // Number of eligible log files. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Number of eligible binlog files. Items []*BinlogInfo `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCDBProxyRequest ¶
type DescribeCDBProxyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Proxy group ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` }
func NewDescribeCDBProxyRequest ¶
func NewDescribeCDBProxyRequest() (request *DescribeCDBProxyRequest)
func (*DescribeCDBProxyRequest) FromJsonString ¶
func (r *DescribeCDBProxyRequest) 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 (*DescribeCDBProxyRequest) ToJsonString ¶
func (r *DescribeCDBProxyRequest) ToJsonString() string
type DescribeCDBProxyRequestParams ¶
type DescribeCDBProxyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Proxy group ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` }
Predefined struct for user
type DescribeCDBProxyResponse ¶
type DescribeCDBProxyResponse struct { *tchttp.BaseResponse Response *DescribeCDBProxyResponseParams `json:"Response"` }
func NewDescribeCDBProxyResponse ¶
func NewDescribeCDBProxyResponse() (response *DescribeCDBProxyResponse)
func (*DescribeCDBProxyResponse) FromJsonString ¶
func (r *DescribeCDBProxyResponse) 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 (*DescribeCDBProxyResponse) ToJsonString ¶
func (r *DescribeCDBProxyResponse) ToJsonString() string
type DescribeCDBProxyResponseParams ¶
type DescribeCDBProxyResponseParams struct { // Basic information of the proxy group // Note: this field may return `null`, indicating that no valid value can be found. BaseGroup *BaseGroupInfo `json:"BaseGroup,omitempty" name:"BaseGroup"` // Address information of the proxy group // Note: this field may return `null`, indicating that no valid value can be found. Address *Address `json:"Address,omitempty" name:"Address"` // Node information of the proxy group // Note: this field may return `null`, indicating that no valid value can be found. ProxyNode *ProxyNodeInfo `json:"ProxyNode,omitempty" name:"ProxyNode"` // Read/Write separation information // Note: this field may return `null`, indicating that no valid value can be found. RWInstInfo *RWInfo `json:"RWInstInfo,omitempty" name:"RWInstInfo"` // Connection pool information // Note: this field may return `null`, indicating that no valid value can be found. ConnectionPoolInfo *ConnectionPoolInfo `json:"ConnectionPoolInfo,omitempty" name:"ConnectionPoolInfo"` // Number of instances in the proxy group // Note: this field may return `null`, indicating that no valid value can be found. Count *uint64 `json:"Count,omitempty" name:"Count"` // Proxy information // Note: this field may return `null`, indicating that no valid value can be found. ProxyGroup []*ProxyGroup `json:"ProxyGroup,omitempty" name:"ProxyGroup"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCloneListRequest ¶
type DescribeCloneListRequest struct { *tchttp.BaseRequest // ID of the original instance. This parameter is used to query the clone task list of a specific original instance. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Paginated query offset. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results per page. Default value: `20`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeCloneListRequest ¶
func NewDescribeCloneListRequest() (request *DescribeCloneListRequest)
func (*DescribeCloneListRequest) FromJsonString ¶
func (r *DescribeCloneListRequest) 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 (*DescribeCloneListRequest) ToJsonString ¶
func (r *DescribeCloneListRequest) ToJsonString() string
type DescribeCloneListRequestParams ¶
type DescribeCloneListRequestParams struct { // ID of the original instance. This parameter is used to query the clone task list of a specific original instance. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Paginated query offset. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results per page. Default value: `20`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeCloneListResponse ¶
type DescribeCloneListResponse struct { *tchttp.BaseResponse Response *DescribeCloneListResponseParams `json:"Response"` }
func NewDescribeCloneListResponse ¶
func NewDescribeCloneListResponse() (response *DescribeCloneListResponse)
func (*DescribeCloneListResponse) FromJsonString ¶
func (r *DescribeCloneListResponse) 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 (*DescribeCloneListResponse) ToJsonString ¶
func (r *DescribeCloneListResponse) ToJsonString() string
type DescribeCloneListResponseParams ¶
type DescribeCloneListResponseParams struct { // The number of results which meet the conditions TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Clone task list Items []*CloneItem `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBImportRecordsRequest ¶
type DescribeDBImportRecordsRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Start time in the format of yyyy-MM-dd HH:mm:ss, such as 2016-01-01 00:00:01. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in the format of yyyy-MM-dd HH:mm:ss, such as 2016-01-01 23:59:59. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Pagination parameter indicating the offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Pagination parameter indicating the number of results to be returned for a single request. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeDBImportRecordsRequest ¶
func NewDescribeDBImportRecordsRequest() (request *DescribeDBImportRecordsRequest)
func (*DescribeDBImportRecordsRequest) FromJsonString ¶
func (r *DescribeDBImportRecordsRequest) 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 (*DescribeDBImportRecordsRequest) ToJsonString ¶
func (r *DescribeDBImportRecordsRequest) ToJsonString() string
type DescribeDBImportRecordsRequestParams ¶
type DescribeDBImportRecordsRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Start time in the format of yyyy-MM-dd HH:mm:ss, such as 2016-01-01 00:00:01. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time in the format of yyyy-MM-dd HH:mm:ss, such as 2016-01-01 23:59:59. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Pagination parameter indicating the offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Pagination parameter indicating the number of results to be returned for a single request. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeDBImportRecordsResponse ¶
type DescribeDBImportRecordsResponse struct { *tchttp.BaseResponse Response *DescribeDBImportRecordsResponseParams `json:"Response"` }
func NewDescribeDBImportRecordsResponse ¶
func NewDescribeDBImportRecordsResponse() (response *DescribeDBImportRecordsResponse)
func (*DescribeDBImportRecordsResponse) FromJsonString ¶
func (r *DescribeDBImportRecordsResponse) 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 (*DescribeDBImportRecordsResponse) ToJsonString ¶
func (r *DescribeDBImportRecordsResponse) ToJsonString() string
type DescribeDBImportRecordsResponseParams ¶
type DescribeDBImportRecordsResponseParams struct { // Number of eligible import task operation logs. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of import operation records. Items []*ImportRecord `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBInstanceCharsetRequest ¶
type DescribeDBInstanceCharsetRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeDBInstanceCharsetRequest ¶
func NewDescribeDBInstanceCharsetRequest() (request *DescribeDBInstanceCharsetRequest)
func (*DescribeDBInstanceCharsetRequest) FromJsonString ¶
func (r *DescribeDBInstanceCharsetRequest) 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 (*DescribeDBInstanceCharsetRequest) ToJsonString ¶
func (r *DescribeDBInstanceCharsetRequest) ToJsonString() string
type DescribeDBInstanceCharsetRequestParams ¶
type DescribeDBInstanceCharsetRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeDBInstanceCharsetResponse ¶
type DescribeDBInstanceCharsetResponse struct { *tchttp.BaseResponse Response *DescribeDBInstanceCharsetResponseParams `json:"Response"` }
func NewDescribeDBInstanceCharsetResponse ¶
func NewDescribeDBInstanceCharsetResponse() (response *DescribeDBInstanceCharsetResponse)
func (*DescribeDBInstanceCharsetResponse) FromJsonString ¶
func (r *DescribeDBInstanceCharsetResponse) 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 (*DescribeDBInstanceCharsetResponse) ToJsonString ¶
func (r *DescribeDBInstanceCharsetResponse) ToJsonString() string
type DescribeDBInstanceCharsetResponseParams ¶
type DescribeDBInstanceCharsetResponseParams struct { // Default character set of the instance, such as "latin1" and "utf8". Charset *string `json:"Charset,omitempty" name:"Charset"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBInstanceConfigRequest ¶
type DescribeDBInstanceConfigRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeDBInstanceConfigRequest ¶
func NewDescribeDBInstanceConfigRequest() (request *DescribeDBInstanceConfigRequest)
func (*DescribeDBInstanceConfigRequest) FromJsonString ¶
func (r *DescribeDBInstanceConfigRequest) 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 (*DescribeDBInstanceConfigRequest) ToJsonString ¶
func (r *DescribeDBInstanceConfigRequest) ToJsonString() string
type DescribeDBInstanceConfigRequestParams ¶
type DescribeDBInstanceConfigRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeDBInstanceConfigResponse ¶
type DescribeDBInstanceConfigResponse struct { *tchttp.BaseResponse Response *DescribeDBInstanceConfigResponseParams `json:"Response"` }
func NewDescribeDBInstanceConfigResponse ¶
func NewDescribeDBInstanceConfigResponse() (response *DescribeDBInstanceConfigResponse)
func (*DescribeDBInstanceConfigResponse) FromJsonString ¶
func (r *DescribeDBInstanceConfigResponse) 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 (*DescribeDBInstanceConfigResponse) ToJsonString ¶
func (r *DescribeDBInstanceConfigResponse) ToJsonString() string
type DescribeDBInstanceConfigResponseParams ¶
type DescribeDBInstanceConfigResponseParams struct { // Data protection mode of the primary instance. Value range: 0 (async replication), 1 (semi-sync replication), 2 (strong sync replication). ProtectMode *int64 `json:"ProtectMode,omitempty" name:"ProtectMode"` // Master instance deployment mode. Value range: 0 (single-AZ), 1 (multi-AZ) DeployMode *int64 `json:"DeployMode,omitempty" name:"DeployMode"` // Instance AZ information in the format of "ap-shanghai-1". Zone *string `json:"Zone,omitempty" name:"Zone"` // Configurations of the replica node // Note: `null` may be returned for this field, indicating that no valid values can be obtained. SlaveConfig *SlaveConfig `json:"SlaveConfig,omitempty" name:"SlaveConfig"` // Configurations of the second replica node of a strong-sync instance // Note: `null` may be returned for this field, indicating that no valid values can be obtained. BackupConfig *BackupConfig `json:"BackupConfig,omitempty" name:"BackupConfig"` // This parameter is only available for multi-AZ instances. It indicates whether the source AZ is the same as the one specified upon purchase. `true`: not the same, `false`: the same. Switched *bool `json:"Switched,omitempty" name:"Switched"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBInstanceGTIDRequest ¶
type DescribeDBInstanceGTIDRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeDBInstanceGTIDRequest ¶
func NewDescribeDBInstanceGTIDRequest() (request *DescribeDBInstanceGTIDRequest)
func (*DescribeDBInstanceGTIDRequest) FromJsonString ¶
func (r *DescribeDBInstanceGTIDRequest) 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 (*DescribeDBInstanceGTIDRequest) ToJsonString ¶
func (r *DescribeDBInstanceGTIDRequest) ToJsonString() string
type DescribeDBInstanceGTIDRequestParams ¶
type DescribeDBInstanceGTIDRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeDBInstanceGTIDResponse ¶
type DescribeDBInstanceGTIDResponse struct { *tchttp.BaseResponse Response *DescribeDBInstanceGTIDResponseParams `json:"Response"` }
func NewDescribeDBInstanceGTIDResponse ¶
func NewDescribeDBInstanceGTIDResponse() (response *DescribeDBInstanceGTIDResponse)
func (*DescribeDBInstanceGTIDResponse) FromJsonString ¶
func (r *DescribeDBInstanceGTIDResponse) 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 (*DescribeDBInstanceGTIDResponse) ToJsonString ¶
func (r *DescribeDBInstanceGTIDResponse) ToJsonString() string
type DescribeDBInstanceGTIDResponseParams ¶
type DescribeDBInstanceGTIDResponseParams struct { // GTID enablement flag. Value range: 0 (not enabled), 1 (enabled). IsGTIDOpen *int64 `json:"IsGTIDOpen,omitempty" name:"IsGTIDOpen"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBInstanceInfoRequest ¶
type DescribeDBInstanceInfoRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeDBInstanceInfoRequest ¶
func NewDescribeDBInstanceInfoRequest() (request *DescribeDBInstanceInfoRequest)
func (*DescribeDBInstanceInfoRequest) FromJsonString ¶
func (r *DescribeDBInstanceInfoRequest) 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 (*DescribeDBInstanceInfoRequest) ToJsonString ¶
func (r *DescribeDBInstanceInfoRequest) ToJsonString() string
type DescribeDBInstanceInfoRequestParams ¶
type DescribeDBInstanceInfoRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeDBInstanceInfoResponse ¶
type DescribeDBInstanceInfoResponse struct { *tchttp.BaseResponse Response *DescribeDBInstanceInfoResponseParams `json:"Response"` }
func NewDescribeDBInstanceInfoResponse ¶
func NewDescribeDBInstanceInfoResponse() (response *DescribeDBInstanceInfoResponse)
func (*DescribeDBInstanceInfoResponse) FromJsonString ¶
func (r *DescribeDBInstanceInfoResponse) 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 (*DescribeDBInstanceInfoResponse) ToJsonString ¶
func (r *DescribeDBInstanceInfoResponse) ToJsonString() string
type DescribeDBInstanceInfoResponseParams ¶
type DescribeDBInstanceInfoResponseParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Whether encryption is enabled. YES: enabled, NO: not enabled. Encryption *string `json:"Encryption,omitempty" name:"Encryption"` // Encryption key ID. // Note: this field may return null, indicating that no valid values can be obtained. KeyId *string `json:"KeyId,omitempty" name:"KeyId"` // Key region. // Note: this field may return null, indicating that no valid values can be obtained. KeyRegion *string `json:"KeyRegion,omitempty" name:"KeyRegion"` // The default region of the KMS service currently used by the TencentDB backend service. // Note: this field may return `null`, indicating that no valid value can be found. DefaultKmsRegion *string `json:"DefaultKmsRegion,omitempty" name:"DefaultKmsRegion"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBInstanceRebootTimeRequest ¶
type DescribeDBInstanceRebootTimeRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
func NewDescribeDBInstanceRebootTimeRequest ¶
func NewDescribeDBInstanceRebootTimeRequest() (request *DescribeDBInstanceRebootTimeRequest)
func (*DescribeDBInstanceRebootTimeRequest) FromJsonString ¶
func (r *DescribeDBInstanceRebootTimeRequest) 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 (*DescribeDBInstanceRebootTimeRequest) ToJsonString ¶
func (r *DescribeDBInstanceRebootTimeRequest) ToJsonString() string
type DescribeDBInstanceRebootTimeRequestParams ¶
type DescribeDBInstanceRebootTimeRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DescribeDBInstanceRebootTimeResponse ¶
type DescribeDBInstanceRebootTimeResponse struct { *tchttp.BaseResponse Response *DescribeDBInstanceRebootTimeResponseParams `json:"Response"` }
func NewDescribeDBInstanceRebootTimeResponse ¶
func NewDescribeDBInstanceRebootTimeResponse() (response *DescribeDBInstanceRebootTimeResponse)
func (*DescribeDBInstanceRebootTimeResponse) FromJsonString ¶
func (r *DescribeDBInstanceRebootTimeResponse) 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 (*DescribeDBInstanceRebootTimeResponse) ToJsonString ¶
func (r *DescribeDBInstanceRebootTimeResponse) ToJsonString() string
type DescribeDBInstanceRebootTimeResponseParams ¶
type DescribeDBInstanceRebootTimeResponseParams struct { // Number of eligible instances. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Returned parameter information. Items []*InstanceRebootTime `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBInstancesRequest ¶
type DescribeDBInstancesRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Instance type. Value range: 1 (primary), 2 (disaster recovery), 3 (read-only). InstanceTypes []*uint64 `json:"InstanceTypes,omitempty" name:"InstanceTypes"` // Private IP address of the instance. Vips []*string `json:"Vips,omitempty" name:"Vips"` // Instance status. Value range: <br>0 - creating <br>1 - running <br>4 - isolating <br>5 - isolated (the instance can be restored and started in the recycle bin) Status []*uint64 `json:"Status,omitempty" name:"Status"` // Offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of results to be returned for a single request. Default value: 20. Maximum value: 2,000. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Security group ID. When it is used as a filter, the `WithSecurityGroup` parameter should be set to 1. SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // Billing method. Value range: 0 (monthly subscribed), 1 (hourly). PayTypes []*uint64 `json:"PayTypes,omitempty" name:"PayTypes"` // Instance name. InstanceNames []*string `json:"InstanceNames,omitempty" name:"InstanceNames"` // Instance task status. Valid values: <br>0 - no task <br>1 - upgrading <br>2 - importing data <br>3 - enabling secondary instance access <br>4 - enabling public network access <br>5 - batch operation in progress <br>6 - rolling back <br>7 - disabling public network access <br>8 - modifying password <br>9 - renaming instance <br>10 - restarting <br>12 - migrating self-built database <br>13 - dropping tables <br>14 - Disaster recovery instance creating sync task <br>15 - waiting for switch <br>16 - switching <br>17 - upgrade and switch completed <br>19 - parameter settings to be executed TaskStatus []*uint64 `json:"TaskStatus,omitempty" name:"TaskStatus"` // Version of the instance database engine. Value range: 5.1, 5.5, 5.6, 5.7. EngineVersions []*string `json:"EngineVersions,omitempty" name:"EngineVersions"` // VPC ID. VpcIds []*uint64 `json:"VpcIds,omitempty" name:"VpcIds"` // AZ ID. ZoneIds []*uint64 `json:"ZoneIds,omitempty" name:"ZoneIds"` // Subnet ID. SubnetIds []*uint64 `json:"SubnetIds,omitempty" name:"SubnetIds"` // Whether to lock disk write. Valid values: `0`(unlock), `1`(lock). Default value: 0. CdbErrors []*int64 `json:"CdbErrors,omitempty" name:"CdbErrors"` // Sort by field of the returned result set. Currently, supported values include "InstanceId", "InstanceName", "CreateTime", and "DeadlineTime". OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting method of the returned result set. Currently, "ASC" or "DESC" is supported. OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"` // Whether security group ID is used as a filter WithSecurityGroup *int64 `json:"WithSecurityGroup,omitempty" name:"WithSecurityGroup"` // Whether dedicated cluster details are included. Value range: 0 (not included), 1 (included) WithExCluster *int64 `json:"WithExCluster,omitempty" name:"WithExCluster"` // Exclusive cluster ID. ExClusterId *string `json:"ExClusterId,omitempty" name:"ExClusterId"` // Instance ID. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Initialization flag. Value range: 0 (not initialized), 1 (initialized). InitFlag *int64 `json:"InitFlag,omitempty" name:"InitFlag"` // Whether instances corresponding to the disaster recovery relationship are included. Valid values: 0 (not included), 1 (included). Default value: 1. If a primary instance is pulled, the data of the disaster recovery relationship will be in the `DrInfo` field. If a disaster recovery instance is pulled, the data of the disaster recovery relationship will be in the `MasterInfo` field. The disaster recovery relationship contains only partial basic data. To get the detailed data, you need to call an API to pull it. WithDr *int64 `json:"WithDr,omitempty" name:"WithDr"` // Whether read-only instances are included. Valid values: 0 (not included), 1 (included). Default value: 1. WithRo *int64 `json:"WithRo,omitempty" name:"WithRo"` // Whether primary instances are included. Valid values: 0 (not included), 1 (included). Default value: 1. WithMaster *int64 `json:"WithMaster,omitempty" name:"WithMaster"` // Placement group ID list. DeployGroupIds []*string `json:"DeployGroupIds,omitempty" name:"DeployGroupIds"` // Whether to use the tag key as a filter condition TagKeysForSearch []*string `json:"TagKeysForSearch,omitempty" name:"TagKeysForSearch"` // Financial cage IDs. CageIds []*string `json:"CageIds,omitempty" name:"CageIds"` // Tag value TagValues []*string `json:"TagValues,omitempty" name:"TagValues"` // VPC character vpcId UniqueVpcIds []*string `json:"UniqueVpcIds,omitempty" name:"UniqueVpcIds"` // VPC character subnetId UniqSubnetIds []*string `json:"UniqSubnetIds,omitempty" name:"UniqSubnetIds"` // Tag key value Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
func NewDescribeDBInstancesRequest ¶
func NewDescribeDBInstancesRequest() (request *DescribeDBInstancesRequest)
func (*DescribeDBInstancesRequest) FromJsonString ¶
func (r *DescribeDBInstancesRequest) 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 (*DescribeDBInstancesRequest) ToJsonString ¶
func (r *DescribeDBInstancesRequest) ToJsonString() string
type DescribeDBInstancesRequestParams ¶
type DescribeDBInstancesRequestParams struct { // Project ID. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Instance type. Value range: 1 (primary), 2 (disaster recovery), 3 (read-only). InstanceTypes []*uint64 `json:"InstanceTypes,omitempty" name:"InstanceTypes"` // Private IP address of the instance. Vips []*string `json:"Vips,omitempty" name:"Vips"` // Instance status. Value range: <br>0 - creating <br>1 - running <br>4 - isolating <br>5 - isolated (the instance can be restored and started in the recycle bin) Status []*uint64 `json:"Status,omitempty" name:"Status"` // Offset. Default value: 0. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of results to be returned for a single request. Default value: 20. Maximum value: 2,000. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Security group ID. When it is used as a filter, the `WithSecurityGroup` parameter should be set to 1. SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // Billing method. Value range: 0 (monthly subscribed), 1 (hourly). PayTypes []*uint64 `json:"PayTypes,omitempty" name:"PayTypes"` // Instance name. InstanceNames []*string `json:"InstanceNames,omitempty" name:"InstanceNames"` // Instance task status. Valid values: <br>0 - no task <br>1 - upgrading <br>2 - importing data <br>3 - enabling secondary instance access <br>4 - enabling public network access <br>5 - batch operation in progress <br>6 - rolling back <br>7 - disabling public network access <br>8 - modifying password <br>9 - renaming instance <br>10 - restarting <br>12 - migrating self-built database <br>13 - dropping tables <br>14 - Disaster recovery instance creating sync task <br>15 - waiting for switch <br>16 - switching <br>17 - upgrade and switch completed <br>19 - parameter settings to be executed TaskStatus []*uint64 `json:"TaskStatus,omitempty" name:"TaskStatus"` // Version of the instance database engine. Value range: 5.1, 5.5, 5.6, 5.7. EngineVersions []*string `json:"EngineVersions,omitempty" name:"EngineVersions"` // VPC ID. VpcIds []*uint64 `json:"VpcIds,omitempty" name:"VpcIds"` // AZ ID. ZoneIds []*uint64 `json:"ZoneIds,omitempty" name:"ZoneIds"` // Subnet ID. SubnetIds []*uint64 `json:"SubnetIds,omitempty" name:"SubnetIds"` // Whether to lock disk write. Valid values: `0`(unlock), `1`(lock). Default value: 0. CdbErrors []*int64 `json:"CdbErrors,omitempty" name:"CdbErrors"` // Sort by field of the returned result set. Currently, supported values include "InstanceId", "InstanceName", "CreateTime", and "DeadlineTime". OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sorting method of the returned result set. Currently, "ASC" or "DESC" is supported. OrderDirection *string `json:"OrderDirection,omitempty" name:"OrderDirection"` // Whether security group ID is used as a filter WithSecurityGroup *int64 `json:"WithSecurityGroup,omitempty" name:"WithSecurityGroup"` // Whether dedicated cluster details are included. Value range: 0 (not included), 1 (included) WithExCluster *int64 `json:"WithExCluster,omitempty" name:"WithExCluster"` // Exclusive cluster ID. ExClusterId *string `json:"ExClusterId,omitempty" name:"ExClusterId"` // Instance ID. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Initialization flag. Value range: 0 (not initialized), 1 (initialized). InitFlag *int64 `json:"InitFlag,omitempty" name:"InitFlag"` // Whether instances corresponding to the disaster recovery relationship are included. Valid values: 0 (not included), 1 (included). Default value: 1. If a primary instance is pulled, the data of the disaster recovery relationship will be in the `DrInfo` field. If a disaster recovery instance is pulled, the data of the disaster recovery relationship will be in the `MasterInfo` field. The disaster recovery relationship contains only partial basic data. To get the detailed data, you need to call an API to pull it. WithDr *int64 `json:"WithDr,omitempty" name:"WithDr"` // Whether read-only instances are included. Valid values: 0 (not included), 1 (included). Default value: 1. WithRo *int64 `json:"WithRo,omitempty" name:"WithRo"` // Whether primary instances are included. Valid values: 0 (not included), 1 (included). Default value: 1. WithMaster *int64 `json:"WithMaster,omitempty" name:"WithMaster"` // Placement group ID list. DeployGroupIds []*string `json:"DeployGroupIds,omitempty" name:"DeployGroupIds"` // Whether to use the tag key as a filter condition TagKeysForSearch []*string `json:"TagKeysForSearch,omitempty" name:"TagKeysForSearch"` // Financial cage IDs. CageIds []*string `json:"CageIds,omitempty" name:"CageIds"` // Tag value TagValues []*string `json:"TagValues,omitempty" name:"TagValues"` // VPC character vpcId UniqueVpcIds []*string `json:"UniqueVpcIds,omitempty" name:"UniqueVpcIds"` // VPC character subnetId UniqSubnetIds []*string `json:"UniqSubnetIds,omitempty" name:"UniqSubnetIds"` // Tag key value Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeDBInstancesResponse ¶
type DescribeDBInstancesResponse struct { *tchttp.BaseResponse Response *DescribeDBInstancesResponseParams `json:"Response"` }
func NewDescribeDBInstancesResponse ¶
func NewDescribeDBInstancesResponse() (response *DescribeDBInstancesResponse)
func (*DescribeDBInstancesResponse) FromJsonString ¶
func (r *DescribeDBInstancesResponse) 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 (*DescribeDBInstancesResponse) ToJsonString ¶
func (r *DescribeDBInstancesResponse) ToJsonString() string
type DescribeDBInstancesResponseParams ¶
type DescribeDBInstancesResponseParams struct { // Number of eligible instances. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Instance details. Items []*InstanceInfo `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBSecurityGroupsRequest ¶
type DescribeDBSecurityGroupsRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // This parameter takes effect only when the ID of a read-only instance is passed in. If the parameter is set to `False` or left empty, the security groups bound with the RO groups of the read-only instance can only be queried. If it is set to `True`, the security groups can be modified. ForReadonlyInstance *bool `json:"ForReadonlyInstance,omitempty" name:"ForReadonlyInstance"` }
func NewDescribeDBSecurityGroupsRequest ¶
func NewDescribeDBSecurityGroupsRequest() (request *DescribeDBSecurityGroupsRequest)
func (*DescribeDBSecurityGroupsRequest) FromJsonString ¶
func (r *DescribeDBSecurityGroupsRequest) 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 (*DescribeDBSecurityGroupsRequest) ToJsonString ¶
func (r *DescribeDBSecurityGroupsRequest) ToJsonString() string
type DescribeDBSecurityGroupsRequestParams ¶
type DescribeDBSecurityGroupsRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // This parameter takes effect only when the ID of a read-only instance is passed in. If the parameter is set to `False` or left empty, the security groups bound with the RO groups of the read-only instance can only be queried. If it is set to `True`, the security groups can be modified. ForReadonlyInstance *bool `json:"ForReadonlyInstance,omitempty" name:"ForReadonlyInstance"` }
Predefined struct for user
type DescribeDBSecurityGroupsResponse ¶
type DescribeDBSecurityGroupsResponse struct { *tchttp.BaseResponse Response *DescribeDBSecurityGroupsResponseParams `json:"Response"` }
func NewDescribeDBSecurityGroupsResponse ¶
func NewDescribeDBSecurityGroupsResponse() (response *DescribeDBSecurityGroupsResponse)
func (*DescribeDBSecurityGroupsResponse) FromJsonString ¶
func (r *DescribeDBSecurityGroupsResponse) 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 (*DescribeDBSecurityGroupsResponse) ToJsonString ¶
func (r *DescribeDBSecurityGroupsResponse) ToJsonString() string
type DescribeDBSecurityGroupsResponseParams ¶
type DescribeDBSecurityGroupsResponseParams struct { // Security group details. Groups []*SecurityGroup `json:"Groups,omitempty" name:"Groups"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBSwitchRecordsRequest ¶
type DescribeDBSwitchRecordsRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Pagination offset. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Value range: 1-2,000. Default value: 50. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeDBSwitchRecordsRequest ¶
func NewDescribeDBSwitchRecordsRequest() (request *DescribeDBSwitchRecordsRequest)
func (*DescribeDBSwitchRecordsRequest) FromJsonString ¶
func (r *DescribeDBSwitchRecordsRequest) 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 (*DescribeDBSwitchRecordsRequest) ToJsonString ¶
func (r *DescribeDBSwitchRecordsRequest) ToJsonString() string
type DescribeDBSwitchRecordsRequestParams ¶
type DescribeDBSwitchRecordsRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Pagination offset. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Value range: 1-2,000. Default value: 50. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeDBSwitchRecordsResponse ¶
type DescribeDBSwitchRecordsResponse struct { *tchttp.BaseResponse Response *DescribeDBSwitchRecordsResponseParams `json:"Response"` }
func NewDescribeDBSwitchRecordsResponse ¶
func NewDescribeDBSwitchRecordsResponse() (response *DescribeDBSwitchRecordsResponse)
func (*DescribeDBSwitchRecordsResponse) FromJsonString ¶
func (r *DescribeDBSwitchRecordsResponse) 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 (*DescribeDBSwitchRecordsResponse) ToJsonString ¶
func (r *DescribeDBSwitchRecordsResponse) ToJsonString() string
type DescribeDBSwitchRecordsResponseParams ¶
type DescribeDBSwitchRecordsResponseParams struct { // Number of instance switches. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Details of instance switches. Items []*DBSwitchInfo `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDBZoneConfigRequest ¶
type DescribeDBZoneConfigRequest struct {
*tchttp.BaseRequest
}
func NewDescribeDBZoneConfigRequest ¶
func NewDescribeDBZoneConfigRequest() (request *DescribeDBZoneConfigRequest)
func (*DescribeDBZoneConfigRequest) FromJsonString ¶
func (r *DescribeDBZoneConfigRequest) 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 (*DescribeDBZoneConfigRequest) ToJsonString ¶
func (r *DescribeDBZoneConfigRequest) ToJsonString() string
type DescribeDBZoneConfigRequestParams ¶
type DescribeDBZoneConfigRequestParams struct { }
Predefined struct for user
type DescribeDBZoneConfigResponse ¶
type DescribeDBZoneConfigResponse struct { *tchttp.BaseResponse Response *DescribeDBZoneConfigResponseParams `json:"Response"` }
func NewDescribeDBZoneConfigResponse ¶
func NewDescribeDBZoneConfigResponse() (response *DescribeDBZoneConfigResponse)
func (*DescribeDBZoneConfigResponse) FromJsonString ¶
func (r *DescribeDBZoneConfigResponse) 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 (*DescribeDBZoneConfigResponse) ToJsonString ¶
func (r *DescribeDBZoneConfigResponse) ToJsonString() string
type DescribeDBZoneConfigResponseParams ¶
type DescribeDBZoneConfigResponseParams struct { // Number of configurations in purchasable regions TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Details of configurations in purchasable regions Items []*RegionSellConf `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDataBackupOverviewRequest ¶
type DescribeDataBackupOverviewRequest struct { *tchttp.BaseRequest // TencentDB product type to be queried. Currently, only `mysql` is supported. Product *string `json:"Product,omitempty" name:"Product"` }
func NewDescribeDataBackupOverviewRequest ¶
func NewDescribeDataBackupOverviewRequest() (request *DescribeDataBackupOverviewRequest)
func (*DescribeDataBackupOverviewRequest) FromJsonString ¶
func (r *DescribeDataBackupOverviewRequest) 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 (*DescribeDataBackupOverviewRequest) ToJsonString ¶
func (r *DescribeDataBackupOverviewRequest) ToJsonString() string
type DescribeDataBackupOverviewRequestParams ¶
type DescribeDataBackupOverviewRequestParams struct { // TencentDB product type to be queried. Currently, only `mysql` is supported. Product *string `json:"Product,omitempty" name:"Product"` }
Predefined struct for user
type DescribeDataBackupOverviewResponse ¶
type DescribeDataBackupOverviewResponse struct { *tchttp.BaseResponse Response *DescribeDataBackupOverviewResponseParams `json:"Response"` }
func NewDescribeDataBackupOverviewResponse ¶
func NewDescribeDataBackupOverviewResponse() (response *DescribeDataBackupOverviewResponse)
func (*DescribeDataBackupOverviewResponse) FromJsonString ¶
func (r *DescribeDataBackupOverviewResponse) 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 (*DescribeDataBackupOverviewResponse) ToJsonString ¶
func (r *DescribeDataBackupOverviewResponse) ToJsonString() string
type DescribeDataBackupOverviewResponseParams ¶
type DescribeDataBackupOverviewResponseParams struct { // Total capacity of data backups in bytes in the current region (including automatic backups and manual backups). DataBackupVolume *int64 `json:"DataBackupVolume,omitempty" name:"DataBackupVolume"` // Total number of data backups in the current region. DataBackupCount *int64 `json:"DataBackupCount,omitempty" name:"DataBackupCount"` // Total capacity of automatic backups in the current region. AutoBackupVolume *int64 `json:"AutoBackupVolume,omitempty" name:"AutoBackupVolume"` // Total number of automatic backups in the current region. AutoBackupCount *int64 `json:"AutoBackupCount,omitempty" name:"AutoBackupCount"` // Total capacity of manual backups in the current region. ManualBackupVolume *int64 `json:"ManualBackupVolume,omitempty" name:"ManualBackupVolume"` // Total number of manual backups in the current region. ManualBackupCount *int64 `json:"ManualBackupCount,omitempty" name:"ManualBackupCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDatabasesRequest ¶
type DescribeDatabasesRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Offset. Minimum value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results to be returned for a single request. Value range: 1-100. Maximum value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Regular expression for matching database names. DatabaseRegexp *string `json:"DatabaseRegexp,omitempty" name:"DatabaseRegexp"` }
func NewDescribeDatabasesRequest ¶
func NewDescribeDatabasesRequest() (request *DescribeDatabasesRequest)
func (*DescribeDatabasesRequest) FromJsonString ¶
func (r *DescribeDatabasesRequest) 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 (*DescribeDatabasesRequest) ToJsonString ¶
func (r *DescribeDatabasesRequest) ToJsonString() string
type DescribeDatabasesRequestParams ¶
type DescribeDatabasesRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Offset. Minimum value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results to be returned for a single request. Value range: 1-100. Maximum value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Regular expression for matching database names. DatabaseRegexp *string `json:"DatabaseRegexp,omitempty" name:"DatabaseRegexp"` }
Predefined struct for user
type DescribeDatabasesResponse ¶
type DescribeDatabasesResponse struct { *tchttp.BaseResponse Response *DescribeDatabasesResponseParams `json:"Response"` }
func NewDescribeDatabasesResponse ¶
func NewDescribeDatabasesResponse() (response *DescribeDatabasesResponse)
func (*DescribeDatabasesResponse) FromJsonString ¶
func (r *DescribeDatabasesResponse) 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 (*DescribeDatabasesResponse) ToJsonString ¶
func (r *DescribeDatabasesResponse) ToJsonString() string
type DescribeDatabasesResponseParams ¶
type DescribeDatabasesResponseParams struct { // Number of eligible instances. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Information of an instance. Items []*string `json:"Items,omitempty" name:"Items"` // Database name and character set DatabaseList []*DatabasesWithCharacterLists `json:"DatabaseList,omitempty" name:"DatabaseList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDefaultParamsRequest ¶
type DescribeDefaultParamsRequest struct { *tchttp.BaseRequest // MySQL version. Currently, the supported versions are ["5.1", "5.5", "5.6", "5.7"]. EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // Type of the default parameter template. Valid values: `HIGH_STABILITY` (high-stability template), `HIGH_PERFORMANCE` (high-performance template). TemplateType *string `json:"TemplateType,omitempty" name:"TemplateType"` }
func NewDescribeDefaultParamsRequest ¶
func NewDescribeDefaultParamsRequest() (request *DescribeDefaultParamsRequest)
func (*DescribeDefaultParamsRequest) FromJsonString ¶
func (r *DescribeDefaultParamsRequest) 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 (*DescribeDefaultParamsRequest) ToJsonString ¶
func (r *DescribeDefaultParamsRequest) ToJsonString() string
type DescribeDefaultParamsRequestParams ¶
type DescribeDefaultParamsRequestParams struct { // MySQL version. Currently, the supported versions are ["5.1", "5.5", "5.6", "5.7"]. EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // Type of the default parameter template. Valid values: `HIGH_STABILITY` (high-stability template), `HIGH_PERFORMANCE` (high-performance template). TemplateType *string `json:"TemplateType,omitempty" name:"TemplateType"` }
Predefined struct for user
type DescribeDefaultParamsResponse ¶
type DescribeDefaultParamsResponse struct { *tchttp.BaseResponse Response *DescribeDefaultParamsResponseParams `json:"Response"` }
func NewDescribeDefaultParamsResponse ¶
func NewDescribeDefaultParamsResponse() (response *DescribeDefaultParamsResponse)
func (*DescribeDefaultParamsResponse) FromJsonString ¶
func (r *DescribeDefaultParamsResponse) 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 (*DescribeDefaultParamsResponse) ToJsonString ¶
func (r *DescribeDefaultParamsResponse) ToJsonString() string
type DescribeDefaultParamsResponseParams ¶
type DescribeDefaultParamsResponseParams struct { // Number of parameters TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Parameter details. Items []*ParameterDetail `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDeviceMonitorInfoRequest ¶
type DescribeDeviceMonitorInfoRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // This parameter is used to return the monitoring data of Count 5-minute time periods on the day. Value range: 1-288. If this parameter is not passed in, all monitoring data in a 5-minute granularity on the day will be returned by default. Count *uint64 `json:"Count,omitempty" name:"Count"` }
func NewDescribeDeviceMonitorInfoRequest ¶
func NewDescribeDeviceMonitorInfoRequest() (request *DescribeDeviceMonitorInfoRequest)
func (*DescribeDeviceMonitorInfoRequest) FromJsonString ¶
func (r *DescribeDeviceMonitorInfoRequest) 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 (*DescribeDeviceMonitorInfoRequest) ToJsonString ¶
func (r *DescribeDeviceMonitorInfoRequest) ToJsonString() string
type DescribeDeviceMonitorInfoRequestParams ¶
type DescribeDeviceMonitorInfoRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // This parameter is used to return the monitoring data of Count 5-minute time periods on the day. Value range: 1-288. If this parameter is not passed in, all monitoring data in a 5-minute granularity on the day will be returned by default. Count *uint64 `json:"Count,omitempty" name:"Count"` }
Predefined struct for user
type DescribeDeviceMonitorInfoResponse ¶
type DescribeDeviceMonitorInfoResponse struct { *tchttp.BaseResponse Response *DescribeDeviceMonitorInfoResponseParams `json:"Response"` }
func NewDescribeDeviceMonitorInfoResponse ¶
func NewDescribeDeviceMonitorInfoResponse() (response *DescribeDeviceMonitorInfoResponse)
func (*DescribeDeviceMonitorInfoResponse) FromJsonString ¶
func (r *DescribeDeviceMonitorInfoResponse) 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 (*DescribeDeviceMonitorInfoResponse) ToJsonString ¶
func (r *DescribeDeviceMonitorInfoResponse) ToJsonString() string
type DescribeDeviceMonitorInfoResponseParams ¶
type DescribeDeviceMonitorInfoResponseParams struct { // CPU monitoring data of the instance Cpu *DeviceCpuInfo `json:"Cpu,omitempty" name:"Cpu"` // Memory monitoring data of the instance Mem *DeviceMemInfo `json:"Mem,omitempty" name:"Mem"` // Network monitoring data of the instance Net *DeviceNetInfo `json:"Net,omitempty" name:"Net"` // Disk monitoring data of the instance Disk *DeviceDiskInfo `json:"Disk,omitempty" name:"Disk"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeErrorLogDataRequest ¶
type DescribeErrorLogDataRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Start timestamp. StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // End timestamp. EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // List of keywords to match. Up to 15 keywords are supported. KeyWords []*string `json:"KeyWords,omitempty" name:"KeyWords"` // The number of results per page in paginated queries. Default value: 100. Maximum value: 400. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // This parameter is valid only for source or disaster recovery instances. Valid value: `slave`, which indicates pulling logs from the replica. InstType *string `json:"InstType,omitempty" name:"InstType"` }
func NewDescribeErrorLogDataRequest ¶
func NewDescribeErrorLogDataRequest() (request *DescribeErrorLogDataRequest)
func (*DescribeErrorLogDataRequest) FromJsonString ¶
func (r *DescribeErrorLogDataRequest) 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 (*DescribeErrorLogDataRequest) ToJsonString ¶
func (r *DescribeErrorLogDataRequest) ToJsonString() string
type DescribeErrorLogDataRequestParams ¶
type DescribeErrorLogDataRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Start timestamp. StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // End timestamp. EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // List of keywords to match. Up to 15 keywords are supported. KeyWords []*string `json:"KeyWords,omitempty" name:"KeyWords"` // The number of results per page in paginated queries. Default value: 100. Maximum value: 400. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // This parameter is valid only for source or disaster recovery instances. Valid value: `slave`, which indicates pulling logs from the replica. InstType *string `json:"InstType,omitempty" name:"InstType"` }
Predefined struct for user
type DescribeErrorLogDataResponse ¶
type DescribeErrorLogDataResponse struct { *tchttp.BaseResponse Response *DescribeErrorLogDataResponseParams `json:"Response"` }
func NewDescribeErrorLogDataResponse ¶
func NewDescribeErrorLogDataResponse() (response *DescribeErrorLogDataResponse)
func (*DescribeErrorLogDataResponse) FromJsonString ¶
func (r *DescribeErrorLogDataResponse) 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 (*DescribeErrorLogDataResponse) ToJsonString ¶
func (r *DescribeErrorLogDataResponse) ToJsonString() string
type DescribeErrorLogDataResponseParams ¶
type DescribeErrorLogDataResponseParams struct { // Number of eligible entries. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Returned result. // Note: this field may return null, indicating that no valid values can be obtained. Items []*ErrlogItem `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceParamRecordsRequest ¶
type DescribeInstanceParamRecordsRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Pagination offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeInstanceParamRecordsRequest ¶
func NewDescribeInstanceParamRecordsRequest() (request *DescribeInstanceParamRecordsRequest)
func (*DescribeInstanceParamRecordsRequest) FromJsonString ¶
func (r *DescribeInstanceParamRecordsRequest) 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 (*DescribeInstanceParamRecordsRequest) ToJsonString ¶
func (r *DescribeInstanceParamRecordsRequest) ToJsonString() string
type DescribeInstanceParamRecordsRequestParams ¶
type DescribeInstanceParamRecordsRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Pagination offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeInstanceParamRecordsResponse ¶
type DescribeInstanceParamRecordsResponse struct { *tchttp.BaseResponse Response *DescribeInstanceParamRecordsResponseParams `json:"Response"` }
func NewDescribeInstanceParamRecordsResponse ¶
func NewDescribeInstanceParamRecordsResponse() (response *DescribeInstanceParamRecordsResponse)
func (*DescribeInstanceParamRecordsResponse) FromJsonString ¶
func (r *DescribeInstanceParamRecordsResponse) 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 (*DescribeInstanceParamRecordsResponse) ToJsonString ¶
func (r *DescribeInstanceParamRecordsResponse) ToJsonString() string
type DescribeInstanceParamRecordsResponseParams ¶
type DescribeInstanceParamRecordsResponseParams struct { // Number of eligible records. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Parameter modification records. Items []*ParamRecord `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstanceParamsRequest ¶
type DescribeInstanceParamsRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeInstanceParamsRequest ¶
func NewDescribeInstanceParamsRequest() (request *DescribeInstanceParamsRequest)
func (*DescribeInstanceParamsRequest) FromJsonString ¶
func (r *DescribeInstanceParamsRequest) 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 (*DescribeInstanceParamsRequest) ToJsonString ¶
func (r *DescribeInstanceParamsRequest) ToJsonString() string
type DescribeInstanceParamsRequestParams ¶
type DescribeInstanceParamsRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeInstanceParamsResponse ¶
type DescribeInstanceParamsResponse struct { *tchttp.BaseResponse Response *DescribeInstanceParamsResponseParams `json:"Response"` }
func NewDescribeInstanceParamsResponse ¶
func NewDescribeInstanceParamsResponse() (response *DescribeInstanceParamsResponse)
func (*DescribeInstanceParamsResponse) FromJsonString ¶
func (r *DescribeInstanceParamsResponse) 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 (*DescribeInstanceParamsResponse) ToJsonString ¶
func (r *DescribeInstanceParamsResponse) ToJsonString() string
type DescribeInstanceParamsResponseParams ¶
type DescribeInstanceParamsResponseParams struct { // Number of instance parameters. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Parameter details. Items []*ParameterDetail `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLocalBinlogConfigRequest ¶
type DescribeLocalBinlogConfigRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeLocalBinlogConfigRequest ¶
func NewDescribeLocalBinlogConfigRequest() (request *DescribeLocalBinlogConfigRequest)
func (*DescribeLocalBinlogConfigRequest) FromJsonString ¶
func (r *DescribeLocalBinlogConfigRequest) 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 (*DescribeLocalBinlogConfigRequest) ToJsonString ¶
func (r *DescribeLocalBinlogConfigRequest) ToJsonString() string
type DescribeLocalBinlogConfigRequestParams ¶
type DescribeLocalBinlogConfigRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeLocalBinlogConfigResponse ¶
type DescribeLocalBinlogConfigResponse struct { *tchttp.BaseResponse Response *DescribeLocalBinlogConfigResponseParams `json:"Response"` }
func NewDescribeLocalBinlogConfigResponse ¶
func NewDescribeLocalBinlogConfigResponse() (response *DescribeLocalBinlogConfigResponse)
func (*DescribeLocalBinlogConfigResponse) FromJsonString ¶
func (r *DescribeLocalBinlogConfigResponse) 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 (*DescribeLocalBinlogConfigResponse) ToJsonString ¶
func (r *DescribeLocalBinlogConfigResponse) ToJsonString() string
type DescribeLocalBinlogConfigResponseParams ¶
type DescribeLocalBinlogConfigResponseParams struct { // Binlog retention policy of the instance. LocalBinlogConfig *LocalBinlogConfig `json:"LocalBinlogConfig,omitempty" name:"LocalBinlogConfig"` // Default binlog retention policy in the region. LocalBinlogConfigDefault *LocalBinlogConfigDefault `json:"LocalBinlogConfigDefault,omitempty" name:"LocalBinlogConfigDefault"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeParamTemplateInfoRequest ¶
type DescribeParamTemplateInfoRequest struct { *tchttp.BaseRequest // Parameter template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
func NewDescribeParamTemplateInfoRequest ¶
func NewDescribeParamTemplateInfoRequest() (request *DescribeParamTemplateInfoRequest)
func (*DescribeParamTemplateInfoRequest) FromJsonString ¶
func (r *DescribeParamTemplateInfoRequest) 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 (*DescribeParamTemplateInfoRequest) ToJsonString ¶
func (r *DescribeParamTemplateInfoRequest) ToJsonString() string
type DescribeParamTemplateInfoRequestParams ¶
type DescribeParamTemplateInfoRequestParams struct { // Parameter template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` }
Predefined struct for user
type DescribeParamTemplateInfoResponse ¶
type DescribeParamTemplateInfoResponse struct { *tchttp.BaseResponse Response *DescribeParamTemplateInfoResponseParams `json:"Response"` }
func NewDescribeParamTemplateInfoResponse ¶
func NewDescribeParamTemplateInfoResponse() (response *DescribeParamTemplateInfoResponse)
func (*DescribeParamTemplateInfoResponse) FromJsonString ¶
func (r *DescribeParamTemplateInfoResponse) 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 (*DescribeParamTemplateInfoResponse) ToJsonString ¶
func (r *DescribeParamTemplateInfoResponse) ToJsonString() string
type DescribeParamTemplateInfoResponseParams ¶
type DescribeParamTemplateInfoResponseParams struct { // Parameter template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Parameter template name. Name *string `json:"Name,omitempty" name:"Name"` // Database engine version specified in the parameter template EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // Number of parameters in the parameter template TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Parameter details Items []*ParameterDetail `json:"Items,omitempty" name:"Items"` // Parameter template description Description *string `json:"Description,omitempty" name:"Description"` // Type of the parameter template. Valid values: `HIGH_STABILITY` (high-stability template), `HIGH_PERFORMANCE` (high-performance template). TemplateType *string `json:"TemplateType,omitempty" name:"TemplateType"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeParamTemplatesRequest ¶
type DescribeParamTemplatesRequest struct { *tchttp.BaseRequest // Engine version. If it is left empty, all parameter templates will be queried. EngineVersions []*string `json:"EngineVersions,omitempty" name:"EngineVersions"` }
func NewDescribeParamTemplatesRequest ¶
func NewDescribeParamTemplatesRequest() (request *DescribeParamTemplatesRequest)
func (*DescribeParamTemplatesRequest) FromJsonString ¶
func (r *DescribeParamTemplatesRequest) 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 (*DescribeParamTemplatesRequest) ToJsonString ¶
func (r *DescribeParamTemplatesRequest) ToJsonString() string
type DescribeParamTemplatesRequestParams ¶
type DescribeParamTemplatesRequestParams struct { // Engine version. If it is left empty, all parameter templates will be queried. EngineVersions []*string `json:"EngineVersions,omitempty" name:"EngineVersions"` }
Predefined struct for user
type DescribeParamTemplatesResponse ¶
type DescribeParamTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeParamTemplatesResponseParams `json:"Response"` }
func NewDescribeParamTemplatesResponse ¶
func NewDescribeParamTemplatesResponse() (response *DescribeParamTemplatesResponse)
func (*DescribeParamTemplatesResponse) FromJsonString ¶
func (r *DescribeParamTemplatesResponse) 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 (*DescribeParamTemplatesResponse) ToJsonString ¶
func (r *DescribeParamTemplatesResponse) ToJsonString() string
type DescribeParamTemplatesResponseParams ¶
type DescribeParamTemplatesResponseParams struct { // Number of parameter templates of the user. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Parameter template details. Items []*ParamTemplateInfo `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProjectSecurityGroupsRequest ¶
type DescribeProjectSecurityGroupsRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewDescribeProjectSecurityGroupsRequest ¶
func NewDescribeProjectSecurityGroupsRequest() (request *DescribeProjectSecurityGroupsRequest)
func (*DescribeProjectSecurityGroupsRequest) FromJsonString ¶
func (r *DescribeProjectSecurityGroupsRequest) 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 (*DescribeProjectSecurityGroupsRequest) ToJsonString ¶
func (r *DescribeProjectSecurityGroupsRequest) ToJsonString() string
type DescribeProjectSecurityGroupsRequestParams ¶
type DescribeProjectSecurityGroupsRequestParams struct { // Project ID. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` }
Predefined struct for user
type DescribeProjectSecurityGroupsResponse ¶
type DescribeProjectSecurityGroupsResponse struct { *tchttp.BaseResponse Response *DescribeProjectSecurityGroupsResponseParams `json:"Response"` }
func NewDescribeProjectSecurityGroupsResponse ¶
func NewDescribeProjectSecurityGroupsResponse() (response *DescribeProjectSecurityGroupsResponse)
func (*DescribeProjectSecurityGroupsResponse) FromJsonString ¶
func (r *DescribeProjectSecurityGroupsResponse) 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 (*DescribeProjectSecurityGroupsResponse) ToJsonString ¶
func (r *DescribeProjectSecurityGroupsResponse) ToJsonString() string
type DescribeProjectSecurityGroupsResponseParams ¶
type DescribeProjectSecurityGroupsResponseParams struct { // Security group details. Groups []*SecurityGroup `json:"Groups,omitempty" name:"Groups"` // Number of security group rules TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProxyConnectionPoolConfRequest ¶
type DescribeProxyConnectionPoolConfRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Paginated query offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum entries returned per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeProxyConnectionPoolConfRequest ¶
func NewDescribeProxyConnectionPoolConfRequest() (request *DescribeProxyConnectionPoolConfRequest)
func (*DescribeProxyConnectionPoolConfRequest) FromJsonString ¶
func (r *DescribeProxyConnectionPoolConfRequest) 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 (*DescribeProxyConnectionPoolConfRequest) ToJsonString ¶
func (r *DescribeProxyConnectionPoolConfRequest) ToJsonString() string
type DescribeProxyConnectionPoolConfRequestParams ¶
type DescribeProxyConnectionPoolConfRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Paginated query offset Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum entries returned per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeProxyConnectionPoolConfResponse ¶
type DescribeProxyConnectionPoolConfResponse struct { *tchttp.BaseResponse Response *DescribeProxyConnectionPoolConfResponseParams `json:"Response"` }
func NewDescribeProxyConnectionPoolConfResponse ¶
func NewDescribeProxyConnectionPoolConfResponse() (response *DescribeProxyConnectionPoolConfResponse)
func (*DescribeProxyConnectionPoolConfResponse) FromJsonString ¶
func (r *DescribeProxyConnectionPoolConfResponse) 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 (*DescribeProxyConnectionPoolConfResponse) ToJsonString ¶
func (r *DescribeProxyConnectionPoolConfResponse) ToJsonString() string
type DescribeProxyConnectionPoolConfResponseParams ¶
type DescribeProxyConnectionPoolConfResponseParams struct { // Number of queried configurations // Note: this field may return `null`, indicating that no valid value can be found. Count *int64 `json:"Count,omitempty" name:"Count"` // Connection pool configuration details // Note: this field may return `null`, indicating that no valid value can be found. PoolConf *PoolConf `json:"PoolConf,omitempty" name:"PoolConf"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProxyCustomConfRequest ¶
type DescribeProxyCustomConfRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Paginated query offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Maximum entries returned per page Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeProxyCustomConfRequest ¶
func NewDescribeProxyCustomConfRequest() (request *DescribeProxyCustomConfRequest)
func (*DescribeProxyCustomConfRequest) FromJsonString ¶
func (r *DescribeProxyCustomConfRequest) 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 (*DescribeProxyCustomConfRequest) ToJsonString ¶
func (r *DescribeProxyCustomConfRequest) ToJsonString() string
type DescribeProxyCustomConfRequestParams ¶
type DescribeProxyCustomConfRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Paginated query offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Maximum entries returned per page Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeProxyCustomConfResponse ¶
type DescribeProxyCustomConfResponse struct { *tchttp.BaseResponse Response *DescribeProxyCustomConfResponseParams `json:"Response"` }
func NewDescribeProxyCustomConfResponse ¶
func NewDescribeProxyCustomConfResponse() (response *DescribeProxyCustomConfResponse)
func (*DescribeProxyCustomConfResponse) FromJsonString ¶
func (r *DescribeProxyCustomConfResponse) 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 (*DescribeProxyCustomConfResponse) ToJsonString ¶
func (r *DescribeProxyCustomConfResponse) ToJsonString() string
type DescribeProxyCustomConfResponseParams ¶
type DescribeProxyCustomConfResponseParams struct { // Number of queried proxy configurations // Note: this field may return `null`, indicating that no valid value can be found. Count *uint64 `json:"Count,omitempty" name:"Count"` // Proxy configuration details // Note: this field may return `null`, indicating that no valid value can be found. CustomConf *CustomConfig `json:"CustomConf,omitempty" name:"CustomConf"` // Weight rule // Note: this field may return `null`, indicating that no valid value can be found. WeightRule *Rule `json:"WeightRule,omitempty" name:"WeightRule"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRoGroupsRequest ¶
type DescribeRoGroupsRequest struct { *tchttp.BaseRequest // Instance ID in the format of `cdb-c1nl9rpv` or `cdb-c1nl9rpv`. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeRoGroupsRequest ¶
func NewDescribeRoGroupsRequest() (request *DescribeRoGroupsRequest)
func (*DescribeRoGroupsRequest) FromJsonString ¶
func (r *DescribeRoGroupsRequest) 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 (*DescribeRoGroupsRequest) ToJsonString ¶
func (r *DescribeRoGroupsRequest) ToJsonString() string
type DescribeRoGroupsRequestParams ¶
type DescribeRoGroupsRequestParams struct { // Instance ID in the format of `cdb-c1nl9rpv` or `cdb-c1nl9rpv`. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeRoGroupsResponse ¶
type DescribeRoGroupsResponse struct { *tchttp.BaseResponse Response *DescribeRoGroupsResponseParams `json:"Response"` }
func NewDescribeRoGroupsResponse ¶
func NewDescribeRoGroupsResponse() (response *DescribeRoGroupsResponse)
func (*DescribeRoGroupsResponse) FromJsonString ¶
func (r *DescribeRoGroupsResponse) 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 (*DescribeRoGroupsResponse) ToJsonString ¶
func (r *DescribeRoGroupsResponse) ToJsonString() string
type DescribeRoGroupsResponseParams ¶
type DescribeRoGroupsResponseParams struct { // RO group information array. An instance can be associated with multiple RO groups. RoGroups []*RoGroup `json:"RoGroups,omitempty" name:"RoGroups"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRoMinScaleRequest ¶
type DescribeRoMinScaleRequest struct { *tchttp.BaseRequest // Read-only instance ID in the format of "cdbro-c1nl9rpv". Its value is the same as the instance ID in the TencentDB Console. This parameter and the `MasterInstanceId` parameter cannot both be empty. RoInstanceId *string `json:"RoInstanceId,omitempty" name:"RoInstanceId"` // Primary instance ID in the format of "cdbro-c1nl9rpv". Its value is the same as the instance ID in the TencentDB Console. This parameter and the `RoInstanceId` parameter cannot both be empty. Note: when the parameters are passed in with `RoInstanceId`, the return value refers to the minimum specification to which a read-only instance can be upgraded; when the parameters are passed in with `MasterInstanceId` but without `RoInstanceId`, the return value refers to the minimum purchasable specification for a read-only instance. MasterInstanceId *string `json:"MasterInstanceId,omitempty" name:"MasterInstanceId"` }
func NewDescribeRoMinScaleRequest ¶
func NewDescribeRoMinScaleRequest() (request *DescribeRoMinScaleRequest)
func (*DescribeRoMinScaleRequest) FromJsonString ¶
func (r *DescribeRoMinScaleRequest) 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 (*DescribeRoMinScaleRequest) ToJsonString ¶
func (r *DescribeRoMinScaleRequest) ToJsonString() string
type DescribeRoMinScaleRequestParams ¶
type DescribeRoMinScaleRequestParams struct { // Read-only instance ID in the format of "cdbro-c1nl9rpv". Its value is the same as the instance ID in the TencentDB Console. This parameter and the `MasterInstanceId` parameter cannot both be empty. RoInstanceId *string `json:"RoInstanceId,omitempty" name:"RoInstanceId"` // Primary instance ID in the format of "cdbro-c1nl9rpv". Its value is the same as the instance ID in the TencentDB Console. This parameter and the `RoInstanceId` parameter cannot both be empty. Note: when the parameters are passed in with `RoInstanceId`, the return value refers to the minimum specification to which a read-only instance can be upgraded; when the parameters are passed in with `MasterInstanceId` but without `RoInstanceId`, the return value refers to the minimum purchasable specification for a read-only instance. MasterInstanceId *string `json:"MasterInstanceId,omitempty" name:"MasterInstanceId"` }
Predefined struct for user
type DescribeRoMinScaleResponse ¶
type DescribeRoMinScaleResponse struct { *tchttp.BaseResponse Response *DescribeRoMinScaleResponseParams `json:"Response"` }
func NewDescribeRoMinScaleResponse ¶
func NewDescribeRoMinScaleResponse() (response *DescribeRoMinScaleResponse)
func (*DescribeRoMinScaleResponse) FromJsonString ¶
func (r *DescribeRoMinScaleResponse) 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 (*DescribeRoMinScaleResponse) ToJsonString ¶
func (r *DescribeRoMinScaleResponse) ToJsonString() string
type DescribeRoMinScaleResponseParams ¶
type DescribeRoMinScaleResponseParams struct { // Memory size in MB. Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Disk size in GB. Volume *int64 `json:"Volume,omitempty" name:"Volume"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRollbackRangeTimeRequest ¶
type DescribeRollbackRangeTimeRequest struct { *tchttp.BaseRequest // Instance ID list. An instance ID is in the format of cdb-c1nl9rpv, which is the same as the instance ID displayed on the TencentDB Console page. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
func NewDescribeRollbackRangeTimeRequest ¶
func NewDescribeRollbackRangeTimeRequest() (request *DescribeRollbackRangeTimeRequest)
func (*DescribeRollbackRangeTimeRequest) FromJsonString ¶
func (r *DescribeRollbackRangeTimeRequest) 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 (*DescribeRollbackRangeTimeRequest) ToJsonString ¶
func (r *DescribeRollbackRangeTimeRequest) ToJsonString() string
type DescribeRollbackRangeTimeRequestParams ¶
type DescribeRollbackRangeTimeRequestParams struct { // Instance ID list. An instance ID is in the format of cdb-c1nl9rpv, which is the same as the instance ID displayed on the TencentDB Console page. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DescribeRollbackRangeTimeResponse ¶
type DescribeRollbackRangeTimeResponse struct { *tchttp.BaseResponse Response *DescribeRollbackRangeTimeResponseParams `json:"Response"` }
func NewDescribeRollbackRangeTimeResponse ¶
func NewDescribeRollbackRangeTimeResponse() (response *DescribeRollbackRangeTimeResponse)
func (*DescribeRollbackRangeTimeResponse) FromJsonString ¶
func (r *DescribeRollbackRangeTimeResponse) 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 (*DescribeRollbackRangeTimeResponse) ToJsonString ¶
func (r *DescribeRollbackRangeTimeResponse) ToJsonString() string
type DescribeRollbackRangeTimeResponseParams ¶
type DescribeRollbackRangeTimeResponseParams struct { // Number of eligible instances. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Returned parameter information. Items []*InstanceRollbackRangeTime `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRollbackTaskDetailRequest ¶
type DescribeRollbackTaskDetailRequest struct { *tchttp.BaseRequest // Instance ID, which is the same as the instance ID displayed in the TencentDB Console. You can use the [DescribeDBInstances API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Async task ID. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // Pagination parameter, i.e., the number of entries to be returned for a single request. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeRollbackTaskDetailRequest ¶
func NewDescribeRollbackTaskDetailRequest() (request *DescribeRollbackTaskDetailRequest)
func (*DescribeRollbackTaskDetailRequest) FromJsonString ¶
func (r *DescribeRollbackTaskDetailRequest) 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 (*DescribeRollbackTaskDetailRequest) ToJsonString ¶
func (r *DescribeRollbackTaskDetailRequest) ToJsonString() string
type DescribeRollbackTaskDetailRequestParams ¶
type DescribeRollbackTaskDetailRequestParams struct { // Instance ID, which is the same as the instance ID displayed in the TencentDB Console. You can use the [DescribeDBInstances API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Async task ID. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // Pagination parameter, i.e., the number of entries to be returned for a single request. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeRollbackTaskDetailResponse ¶
type DescribeRollbackTaskDetailResponse struct { *tchttp.BaseResponse Response *DescribeRollbackTaskDetailResponseParams `json:"Response"` }
func NewDescribeRollbackTaskDetailResponse ¶
func NewDescribeRollbackTaskDetailResponse() (response *DescribeRollbackTaskDetailResponse)
func (*DescribeRollbackTaskDetailResponse) FromJsonString ¶
func (r *DescribeRollbackTaskDetailResponse) 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 (*DescribeRollbackTaskDetailResponse) ToJsonString ¶
func (r *DescribeRollbackTaskDetailResponse) ToJsonString() string
type DescribeRollbackTaskDetailResponseParams ¶
type DescribeRollbackTaskDetailResponseParams struct { // Number of eligible entries. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Rollback task details. // Note: this field may return null, indicating that no valid values can be obtained. Items []*RollbackTask `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSlowLogDataRequest ¶
type DescribeSlowLogDataRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Start timestamp. StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // End timestamp. EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // Client `Host` list. UserHosts []*string `json:"UserHosts,omitempty" name:"UserHosts"` // Client username list. UserNames []*string `json:"UserNames,omitempty" name:"UserNames"` // Accessed database list. DataBases []*string `json:"DataBases,omitempty" name:"DataBases"` // Sort by field. Valid values: Timestamp, QueryTime, LockTime, RowsExamined, RowsSent. SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // Sorting order. Valid values: ASC (ascending), DESC (descending). OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // The number of results per page in paginated queries. Default value: 100. Maximum value: 400. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // This parameter is valid only for source or disaster recovery instances. Valid value: `slave`, which indicates pulling logs from the replica. InstType *string `json:"InstType,omitempty" name:"InstType"` }
func NewDescribeSlowLogDataRequest ¶
func NewDescribeSlowLogDataRequest() (request *DescribeSlowLogDataRequest)
func (*DescribeSlowLogDataRequest) FromJsonString ¶
func (r *DescribeSlowLogDataRequest) 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 (*DescribeSlowLogDataRequest) ToJsonString ¶
func (r *DescribeSlowLogDataRequest) ToJsonString() string
type DescribeSlowLogDataRequestParams ¶
type DescribeSlowLogDataRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Start timestamp. StartTime *uint64 `json:"StartTime,omitempty" name:"StartTime"` // End timestamp. EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // Client `Host` list. UserHosts []*string `json:"UserHosts,omitempty" name:"UserHosts"` // Client username list. UserNames []*string `json:"UserNames,omitempty" name:"UserNames"` // Accessed database list. DataBases []*string `json:"DataBases,omitempty" name:"DataBases"` // Sort by field. Valid values: Timestamp, QueryTime, LockTime, RowsExamined, RowsSent. SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // Sorting order. Valid values: ASC (ascending), DESC (descending). OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // The number of results per page in paginated queries. Default value: 100. Maximum value: 400. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // This parameter is valid only for source or disaster recovery instances. Valid value: `slave`, which indicates pulling logs from the replica. InstType *string `json:"InstType,omitempty" name:"InstType"` }
Predefined struct for user
type DescribeSlowLogDataResponse ¶
type DescribeSlowLogDataResponse struct { *tchttp.BaseResponse Response *DescribeSlowLogDataResponseParams `json:"Response"` }
func NewDescribeSlowLogDataResponse ¶
func NewDescribeSlowLogDataResponse() (response *DescribeSlowLogDataResponse)
func (*DescribeSlowLogDataResponse) FromJsonString ¶
func (r *DescribeSlowLogDataResponse) 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 (*DescribeSlowLogDataResponse) ToJsonString ¶
func (r *DescribeSlowLogDataResponse) ToJsonString() string
type DescribeSlowLogDataResponseParams ¶
type DescribeSlowLogDataResponseParams struct { // Number of eligible entries. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Queried results. // Note: this field may return null, indicating that no valid values can be obtained. Items []*SlowLogItem `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSlowLogsRequest ¶
type DescribeSlowLogsRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Pagination offset, starting from `0`. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
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 { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Pagination offset, starting from `0`. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Value range: 1-100. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
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 slow logs. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Details of eligible slow logs. Items []*SlowLogInfo `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSupportedPrivilegesRequest ¶
type DescribeSupportedPrivilegesRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeSupportedPrivilegesRequest ¶
func NewDescribeSupportedPrivilegesRequest() (request *DescribeSupportedPrivilegesRequest)
func (*DescribeSupportedPrivilegesRequest) FromJsonString ¶
func (r *DescribeSupportedPrivilegesRequest) 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 (*DescribeSupportedPrivilegesRequest) ToJsonString ¶
func (r *DescribeSupportedPrivilegesRequest) ToJsonString() string
type DescribeSupportedPrivilegesRequestParams ¶
type DescribeSupportedPrivilegesRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeSupportedPrivilegesResponse ¶
type DescribeSupportedPrivilegesResponse struct { *tchttp.BaseResponse Response *DescribeSupportedPrivilegesResponseParams `json:"Response"` }
func NewDescribeSupportedPrivilegesResponse ¶
func NewDescribeSupportedPrivilegesResponse() (response *DescribeSupportedPrivilegesResponse)
func (*DescribeSupportedPrivilegesResponse) FromJsonString ¶
func (r *DescribeSupportedPrivilegesResponse) 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 (*DescribeSupportedPrivilegesResponse) ToJsonString ¶
func (r *DescribeSupportedPrivilegesResponse) ToJsonString() string
type DescribeSupportedPrivilegesResponseParams ¶
type DescribeSupportedPrivilegesResponseParams struct { // Global permissions supported by the instance GlobalSupportedPrivileges []*string `json:"GlobalSupportedPrivileges,omitempty" name:"GlobalSupportedPrivileges"` // Database permissions supported by the instance. DatabaseSupportedPrivileges []*string `json:"DatabaseSupportedPrivileges,omitempty" name:"DatabaseSupportedPrivileges"` // Table permissions supported by the instance. TableSupportedPrivileges []*string `json:"TableSupportedPrivileges,omitempty" name:"TableSupportedPrivileges"` // Column permissions supported by the instance. ColumnSupportedPrivileges []*string `json:"ColumnSupportedPrivileges,omitempty" name:"ColumnSupportedPrivileges"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTablesRequest ¶
type DescribeTablesRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database name. Database *string `json:"Database,omitempty" name:"Database"` // Record offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results to be returned for a single request. Default value: 20. Maximum value: 2,000. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Regular expression for matching table names, which complies with the rules at MySQL's official website TableRegexp *string `json:"TableRegexp,omitempty" name:"TableRegexp"` }
func NewDescribeTablesRequest ¶
func NewDescribeTablesRequest() (request *DescribeTablesRequest)
func (*DescribeTablesRequest) FromJsonString ¶
func (r *DescribeTablesRequest) 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 (*DescribeTablesRequest) ToJsonString ¶
func (r *DescribeTablesRequest) ToJsonString() string
type DescribeTablesRequestParams ¶
type DescribeTablesRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database name. Database *string `json:"Database,omitempty" name:"Database"` // Record offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results to be returned for a single request. Default value: 20. Maximum value: 2,000. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Regular expression for matching table names, which complies with the rules at MySQL's official website TableRegexp *string `json:"TableRegexp,omitempty" name:"TableRegexp"` }
Predefined struct for user
type DescribeTablesResponse ¶
type DescribeTablesResponse struct { *tchttp.BaseResponse Response *DescribeTablesResponseParams `json:"Response"` }
func NewDescribeTablesResponse ¶
func NewDescribeTablesResponse() (response *DescribeTablesResponse)
func (*DescribeTablesResponse) FromJsonString ¶
func (r *DescribeTablesResponse) 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 (*DescribeTablesResponse) ToJsonString ¶
func (r *DescribeTablesResponse) ToJsonString() string
type DescribeTablesResponseParams ¶
type DescribeTablesResponseParams struct { // Number of eligible tables. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Information of a table. Items []*string `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTagsOfInstanceIdsRequest ¶
type DescribeTagsOfInstanceIdsRequest struct { *tchttp.BaseRequest // List of instances. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Pagination offset. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeTagsOfInstanceIdsRequest ¶
func NewDescribeTagsOfInstanceIdsRequest() (request *DescribeTagsOfInstanceIdsRequest)
func (*DescribeTagsOfInstanceIdsRequest) FromJsonString ¶
func (r *DescribeTagsOfInstanceIdsRequest) 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 (*DescribeTagsOfInstanceIdsRequest) ToJsonString ¶
func (r *DescribeTagsOfInstanceIdsRequest) ToJsonString() string
type DescribeTagsOfInstanceIdsRequestParams ¶
type DescribeTagsOfInstanceIdsRequestParams struct { // List of instances. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Pagination offset. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeTagsOfInstanceIdsResponse ¶
type DescribeTagsOfInstanceIdsResponse struct { *tchttp.BaseResponse Response *DescribeTagsOfInstanceIdsResponseParams `json:"Response"` }
func NewDescribeTagsOfInstanceIdsResponse ¶
func NewDescribeTagsOfInstanceIdsResponse() (response *DescribeTagsOfInstanceIdsResponse)
func (*DescribeTagsOfInstanceIdsResponse) FromJsonString ¶
func (r *DescribeTagsOfInstanceIdsResponse) 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 (*DescribeTagsOfInstanceIdsResponse) ToJsonString ¶
func (r *DescribeTagsOfInstanceIdsResponse) ToJsonString() string
type DescribeTagsOfInstanceIdsResponseParams ¶
type DescribeTagsOfInstanceIdsResponseParams struct { // Pagination offset. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Instance tag information. Rows []*TagsInfoOfInstance `json:"Rows,omitempty" name:"Rows"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTasksRequest ¶
type DescribeTasksRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // ID of an async task request, i.e., `AsyncRequestId` returned by relevant TencentDB operations. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // Task type. If no value is passed in, all task types will be queried. Valid values: // 1 - rolling back a database; // 2 - performing an SQL operation; // 3 - importing data; // 5 - setting a parameter; // 6 - initializing a TencentDB instance; // 7 - restarting a TencentDB instance; // 8 - enabling GTID of a TencentDB instance; // 9 - upgrading a read-only instance; // 10 - rolling back databases in batches; // 11 - upgrading a primary instance; // 12 - deleting a TencentDB table; // 13 - promoting a disaster recovery instance. TaskTypes []*int64 `json:"TaskTypes,omitempty" name:"TaskTypes"` // Task status. If no value is passed in, all task statuses will be queried. Valid values: // -1 - undefined; // 0 - initializing; // 1 - running; // 2 - succeeded; // 3 - failed; // 4 - terminated; // 5 - deleted; // 6 - paused. TaskStatus []*int64 `json:"TaskStatus,omitempty" name:"TaskStatus"` // Start time of the first task in the format of yyyy-MM-dd HH:mm:ss, such as 2017-12-31 10:40:01. It is used for queries by time range. StartTimeBegin *string `json:"StartTimeBegin,omitempty" name:"StartTimeBegin"` // End time of the last task in the format of yyyy-MM-dd HH:mm:ss, such as 2017-12-31 10:40:01. It is used for queries by time range. StartTimeEnd *string `json:"StartTimeEnd,omitempty" name:"StartTimeEnd"` // Record offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results to be returned for a single request. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeTasksRequest ¶
func NewDescribeTasksRequest() (request *DescribeTasksRequest)
func (*DescribeTasksRequest) FromJsonString ¶
func (r *DescribeTasksRequest) 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 (*DescribeTasksRequest) ToJsonString ¶
func (r *DescribeTasksRequest) ToJsonString() string
type DescribeTasksRequestParams ¶
type DescribeTasksRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // ID of an async task request, i.e., `AsyncRequestId` returned by relevant TencentDB operations. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // Task type. If no value is passed in, all task types will be queried. Valid values: // 1 - rolling back a database; // 2 - performing an SQL operation; // 3 - importing data; // 5 - setting a parameter; // 6 - initializing a TencentDB instance; // 7 - restarting a TencentDB instance; // 8 - enabling GTID of a TencentDB instance; // 9 - upgrading a read-only instance; // 10 - rolling back databases in batches; // 11 - upgrading a primary instance; // 12 - deleting a TencentDB table; // 13 - promoting a disaster recovery instance. TaskTypes []*int64 `json:"TaskTypes,omitempty" name:"TaskTypes"` // Task status. If no value is passed in, all task statuses will be queried. Valid values: // -1 - undefined; // 0 - initializing; // 1 - running; // 2 - succeeded; // 3 - failed; // 4 - terminated; // 5 - deleted; // 6 - paused. TaskStatus []*int64 `json:"TaskStatus,omitempty" name:"TaskStatus"` // Start time of the first task in the format of yyyy-MM-dd HH:mm:ss, such as 2017-12-31 10:40:01. It is used for queries by time range. StartTimeBegin *string `json:"StartTimeBegin,omitempty" name:"StartTimeBegin"` // End time of the last task in the format of yyyy-MM-dd HH:mm:ss, such as 2017-12-31 10:40:01. It is used for queries by time range. StartTimeEnd *string `json:"StartTimeEnd,omitempty" name:"StartTimeEnd"` // Record offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results to be returned for a single request. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeTasksResponse ¶
type DescribeTasksResponse struct { *tchttp.BaseResponse Response *DescribeTasksResponseParams `json:"Response"` }
func NewDescribeTasksResponse ¶
func NewDescribeTasksResponse() (response *DescribeTasksResponse)
func (*DescribeTasksResponse) FromJsonString ¶
func (r *DescribeTasksResponse) 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 (*DescribeTasksResponse) ToJsonString ¶
func (r *DescribeTasksResponse) ToJsonString() string
type DescribeTasksResponseParams ¶
type DescribeTasksResponseParams struct { // Number of eligible instances. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Information of an instance task. Items []*TaskDetail `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTimeWindowRequest ¶
type DescribeTimeWindowRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeTimeWindowRequest ¶
func NewDescribeTimeWindowRequest() (request *DescribeTimeWindowRequest)
func (*DescribeTimeWindowRequest) FromJsonString ¶
func (r *DescribeTimeWindowRequest) 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 (*DescribeTimeWindowRequest) ToJsonString ¶
func (r *DescribeTimeWindowRequest) ToJsonString() string
type DescribeTimeWindowRequestParams ¶
type DescribeTimeWindowRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeTimeWindowResponse ¶
type DescribeTimeWindowResponse struct { *tchttp.BaseResponse Response *DescribeTimeWindowResponseParams `json:"Response"` }
func NewDescribeTimeWindowResponse ¶
func NewDescribeTimeWindowResponse() (response *DescribeTimeWindowResponse)
func (*DescribeTimeWindowResponse) FromJsonString ¶
func (r *DescribeTimeWindowResponse) 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 (*DescribeTimeWindowResponse) ToJsonString ¶
func (r *DescribeTimeWindowResponse) ToJsonString() string
type DescribeTimeWindowResponseParams ¶
type DescribeTimeWindowResponseParams struct { // List of maintenance time windows on Monday. Monday []*string `json:"Monday,omitempty" name:"Monday"` // List of maintenance time windows on Tuesday. Tuesday []*string `json:"Tuesday,omitempty" name:"Tuesday"` // List of maintenance time windows on Wednesday. Wednesday []*string `json:"Wednesday,omitempty" name:"Wednesday"` // List of maintenance time windows on Thursday. Thursday []*string `json:"Thursday,omitempty" name:"Thursday"` // List of maintenance time windows on Friday. Friday []*string `json:"Friday,omitempty" name:"Friday"` // List of maintenance time windows on Saturday. Saturday []*string `json:"Saturday,omitempty" name:"Saturday"` // List of maintenance time windows on Sunday. Sunday []*string `json:"Sunday,omitempty" name:"Sunday"` // Maximum data delay threshold MaxDelayTime *uint64 `json:"MaxDelayTime,omitempty" name:"MaxDelayTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUploadedFilesRequest ¶
type DescribeUploadedFilesRequest struct { *tchttp.BaseRequest // File path. `OwnerUin` information of the root account should be entered in this field. Path *string `json:"Path,omitempty" name:"Path"` // Record offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results to be returned for a single request. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeUploadedFilesRequest ¶
func NewDescribeUploadedFilesRequest() (request *DescribeUploadedFilesRequest)
func (*DescribeUploadedFilesRequest) FromJsonString ¶
func (r *DescribeUploadedFilesRequest) 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 (*DescribeUploadedFilesRequest) ToJsonString ¶
func (r *DescribeUploadedFilesRequest) ToJsonString() string
type DescribeUploadedFilesRequestParams ¶
type DescribeUploadedFilesRequestParams struct { // File path. `OwnerUin` information of the root account should be entered in this field. Path *string `json:"Path,omitempty" name:"Path"` // Record offset. Default value: 0. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of results to be returned for a single request. Default value: 20. Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeUploadedFilesResponse ¶
type DescribeUploadedFilesResponse struct { *tchttp.BaseResponse Response *DescribeUploadedFilesResponseParams `json:"Response"` }
func NewDescribeUploadedFilesResponse ¶
func NewDescribeUploadedFilesResponse() (response *DescribeUploadedFilesResponse)
func (*DescribeUploadedFilesResponse) FromJsonString ¶
func (r *DescribeUploadedFilesResponse) 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 (*DescribeUploadedFilesResponse) ToJsonString ¶
func (r *DescribeUploadedFilesResponse) ToJsonString() string
type DescribeUploadedFilesResponseParams ¶
type DescribeUploadedFilesResponseParams struct { // Number of eligible SQL files. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of returned SQL files. Items []*SqlFileInfo `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeviceCpuInfo ¶
type DeviceCpuInfo struct { // Average instance CPU utilization Rate []*DeviceCpuRateInfo `json:"Rate,omitempty" name:"Rate"` // CPU monitoring data of the instance Load []*int64 `json:"Load,omitempty" name:"Load"` }
type DeviceCpuRateInfo ¶
type DeviceDiskInfo ¶
type DeviceDiskInfo struct { // Time percentage of IO operations per second IoRatioPerSec []*int64 `json:"IoRatioPerSec,omitempty" name:"IoRatioPerSec"` // Average wait time of device I/O operations * 100 in milliseconds. For example, if the value is 201, the average wait time of I/O operations is 201/100 = 2.1 milliseconds. IoWaitTime []*int64 `json:"IoWaitTime,omitempty" name:"IoWaitTime"` // Average number of read operations completed by the disk per second * 100. For example, if the value is 2,002, the average number of read operations completed by the disk per second is 2,002/100=20.2. Read []*int64 `json:"Read,omitempty" name:"Read"` // Average number of write operations completed by the disk per second * 100. For example, if the value is 30,001, the average number of write operations completed by the disk per second is 30,001/100=300.01. Write []*int64 `json:"Write,omitempty" name:"Write"` // Disk capacity. Each value is comprised of two data, with the first data representing the used capacity and the second one representing the total disk capacity. CapacityRatio []*int64 `json:"CapacityRatio,omitempty" name:"CapacityRatio"` }
type DeviceMemInfo ¶
type DeviceMemInfo struct { // Total memory size in KB, which is the value of `total` in the `Mem:` in the `free` command Total []*int64 `json:"Total,omitempty" name:"Total"` // Used memory size in KB, which is the value of `used` in the `Mem:` row in the `free` command Used []*int64 `json:"Used,omitempty" name:"Used"` }
type DeviceNetInfo ¶
type DeviceNetInfo struct { // Number of TCP connections Conn []*int64 `json:"Conn,omitempty" name:"Conn"` // ENI inbound packets per second PackageIn []*int64 `json:"PackageIn,omitempty" name:"PackageIn"` // ENI outbound packets per second PackageOut []*int64 `json:"PackageOut,omitempty" name:"PackageOut"` // Inbound traffic in Kbps FlowIn []*int64 `json:"FlowIn,omitempty" name:"FlowIn"` // Outbound traffic in Kbps FlowOut []*int64 `json:"FlowOut,omitempty" name:"FlowOut"` }
type DisassociateSecurityGroupsRequest ¶
type DisassociateSecurityGroupsRequest struct { *tchttp.BaseRequest // Security group ID. SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // List of instance IDs, which is an array of one or more instance IDs. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // This parameter takes effect only when the IDs of read-only replicas are passed in. If this parameter is set to `False` or left empty, the security group will be unbound from the RO groups of these read-only replicas. If this parameter is set to `True`, the security group will be unbound from the read-only replicas themselves. ForReadonlyInstance *bool `json:"ForReadonlyInstance,omitempty" name:"ForReadonlyInstance"` }
func NewDisassociateSecurityGroupsRequest ¶
func NewDisassociateSecurityGroupsRequest() (request *DisassociateSecurityGroupsRequest)
func (*DisassociateSecurityGroupsRequest) FromJsonString ¶
func (r *DisassociateSecurityGroupsRequest) 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 (*DisassociateSecurityGroupsRequest) ToJsonString ¶
func (r *DisassociateSecurityGroupsRequest) ToJsonString() string
type DisassociateSecurityGroupsRequestParams ¶
type DisassociateSecurityGroupsRequestParams struct { // Security group ID. SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // List of instance IDs, which is an array of one or more instance IDs. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // This parameter takes effect only when the IDs of read-only replicas are passed in. If this parameter is set to `False` or left empty, the security group will be unbound from the RO groups of these read-only replicas. If this parameter is set to `True`, the security group will be unbound from the read-only replicas themselves. ForReadonlyInstance *bool `json:"ForReadonlyInstance,omitempty" name:"ForReadonlyInstance"` }
Predefined struct for user
type DisassociateSecurityGroupsResponse ¶
type DisassociateSecurityGroupsResponse struct { *tchttp.BaseResponse Response *DisassociateSecurityGroupsResponseParams `json:"Response"` }
func NewDisassociateSecurityGroupsResponse ¶
func NewDisassociateSecurityGroupsResponse() (response *DisassociateSecurityGroupsResponse)
func (*DisassociateSecurityGroupsResponse) FromJsonString ¶
func (r *DisassociateSecurityGroupsResponse) 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 (*DisassociateSecurityGroupsResponse) ToJsonString ¶
func (r *DisassociateSecurityGroupsResponse) ToJsonString() string
type DisassociateSecurityGroupsResponseParams ¶
type DisassociateSecurityGroupsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DrInfo ¶
type DrInfo struct { // Disaster recovery instance status Status *int64 `json:"Status,omitempty" name:"Status"` // AZ information Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Region information Region *string `json:"Region,omitempty" name:"Region"` // Instance sync status. Possible returned values include: // 0 - disaster recovery not synced; // 1 - disaster recovery syncing; // 2 - disaster recovery synced successfully; // 3 - disaster recovery sync failed; // 4 - repairing disaster recovery sync; SyncStatus *int64 `json:"SyncStatus,omitempty" name:"SyncStatus"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance type InstanceType *int64 `json:"InstanceType,omitempty" name:"InstanceType"` }
type ErrlogItem ¶
type ErrlogItem struct { // Error occurrence time. // Note: this field may return null, indicating that no valid values can be obtained. Timestamp *uint64 `json:"Timestamp,omitempty" name:"Timestamp"` // Error details // Note: this field may return null, indicating that no valid values can be obtained. Content *string `json:"Content,omitempty" name:"Content"` }
type ImportRecord ¶
type ImportRecord struct { // Status value Status *int64 `json:"Status,omitempty" name:"Status"` // Status value Code *int64 `json:"Code,omitempty" name:"Code"` // Execution duration CostTime *int64 `json:"CostTime,omitempty" name:"CostTime"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backend task ID WorkId *string `json:"WorkId,omitempty" name:"WorkId"` // Name of the file to be imported FileName *string `json:"FileName,omitempty" name:"FileName"` // Execution progress Process *int64 `json:"Process,omitempty" name:"Process"` // Task creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // File size FileSize *string `json:"FileSize,omitempty" name:"FileSize"` // Task execution information Message *string `json:"Message,omitempty" name:"Message"` // Task ID JobId *int64 `json:"JobId,omitempty" name:"JobId"` // Name of the table to be imported DbName *string `json:"DbName,omitempty" name:"DbName"` // Async task request ID AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` }
type Inbound ¶
type Inbound struct { // Policy, which can be ACCEPT or DROP Action *string `json:"Action,omitempty" name:"Action"` // Source IP or IP range, such as 192.168.0.0/16 CidrIp *string `json:"CidrIp,omitempty" name:"CidrIp"` // Port PortRange *string `json:"PortRange,omitempty" name:"PortRange"` // Network protocol. UDP and TCP are supported. IpProtocol *string `json:"IpProtocol,omitempty" name:"IpProtocol"` // The direction of the rule, which is INPUT for inbound rules Dir *string `json:"Dir,omitempty" name:"Dir"` // Rule description Desc *string `json:"Desc,omitempty" name:"Desc"` }
type InitDBInstancesRequest ¶
type InitDBInstancesRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // New password of the instance. Rule: It can only contain 8-64 characters and must contain at least two of the following types of characters: letters, digits, and special characters (!@#$%^*()). NewPassword *string `json:"NewPassword,omitempty" name:"NewPassword"` // List of instance parameters. Currently, "character_set_server" and "lower_case_table_names" are supported, whose value ranges are ["utf8","latin1","gbk","utf8mb4"] and ["0","1"], respectively. Parameters []*ParamInfo `json:"Parameters,omitempty" name:"Parameters"` // Instance port. Value range: [1024, 65535]. Vport *int64 `json:"Vport,omitempty" name:"Vport"` }
func NewInitDBInstancesRequest ¶
func NewInitDBInstancesRequest() (request *InitDBInstancesRequest)
func (*InitDBInstancesRequest) FromJsonString ¶
func (r *InitDBInstancesRequest) 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 (*InitDBInstancesRequest) ToJsonString ¶
func (r *InitDBInstancesRequest) ToJsonString() string
type InitDBInstancesRequestParams ¶
type InitDBInstancesRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // New password of the instance. Rule: It can only contain 8-64 characters and must contain at least two of the following types of characters: letters, digits, and special characters (!@#$%^*()). NewPassword *string `json:"NewPassword,omitempty" name:"NewPassword"` // List of instance parameters. Currently, "character_set_server" and "lower_case_table_names" are supported, whose value ranges are ["utf8","latin1","gbk","utf8mb4"] and ["0","1"], respectively. Parameters []*ParamInfo `json:"Parameters,omitempty" name:"Parameters"` // Instance port. Value range: [1024, 65535]. Vport *int64 `json:"Vport,omitempty" name:"Vport"` }
Predefined struct for user
type InitDBInstancesResponse ¶
type InitDBInstancesResponse struct { *tchttp.BaseResponse Response *InitDBInstancesResponseParams `json:"Response"` }
func NewInitDBInstancesResponse ¶
func NewInitDBInstancesResponse() (response *InitDBInstancesResponse)
func (*InitDBInstancesResponse) FromJsonString ¶
func (r *InitDBInstancesResponse) 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 (*InitDBInstancesResponse) ToJsonString ¶
func (r *InitDBInstancesResponse) ToJsonString() string
type InitDBInstancesResponseParams ¶
type InitDBInstancesResponseParams struct { // Array of async task request IDs, which can be used to query the execution results of async tasks. AsyncRequestIds []*string `json:"AsyncRequestIds,omitempty" name:"AsyncRequestIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type InstanceInfo ¶
type InstanceInfo struct { // Public network access status. Value range: 0 (not enabled), 1 (enabled), 2 (disabled) WanStatus *int64 `json:"WanStatus,omitempty" name:"WanStatus"` // AZ information Zone *string `json:"Zone,omitempty" name:"Zone"` // Initialization flag. Value range: 0 (not initialized), 1 (initialized) InitFlag *int64 `json:"InitFlag,omitempty" name:"InitFlag"` // VIP information of a read-only instance. This field is exclusive to read-only instances where read-only access is enabled separately // Note: This field may return null, indicating that no valid values can be obtained. RoVipInfo *RoVipInfo `json:"RoVipInfo,omitempty" name:"RoVipInfo"` // Memory capacity in MB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Instance status. Value range: 0 (creating), 1 (running), 4 (isolating), 5 (isolated) Status *int64 `json:"Status,omitempty" name:"Status"` // VPC ID, such as 51102 VpcId *int64 `json:"VpcId,omitempty" name:"VpcId"` // Information of a secondary server // Note: This field may return null, indicating that no valid values can be obtained. SlaveInfo *SlaveInfo `json:"SlaveInfo,omitempty" name:"SlaveInfo"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Disk capacity in GB Volume *int64 `json:"Volume,omitempty" name:"Volume"` // Auto-renewal flag. Value range: 0 (auto-renewal not enabled), 1 (auto-renewal enabled), 2 (auto-renewal disabled) AutoRenew *int64 `json:"AutoRenew,omitempty" name:"AutoRenew"` // Data replication mode. Valid values: 0 (async), 1 (semi-sync), 2 (strong sync) ProtectMode *int64 `json:"ProtectMode,omitempty" name:"ProtectMode"` // Details of a read-only group // Note: This field may return null, indicating that no valid values can be obtained. RoGroups []*RoGroup `json:"RoGroups,omitempty" name:"RoGroups"` // Subnet ID, such as 2333 SubnetId *int64 `json:"SubnetId,omitempty" name:"SubnetId"` // Instance type. Value range: 1 (primary), 2 (disaster recovery), 3 (read-only) InstanceType *int64 `json:"InstanceType,omitempty" name:"InstanceType"` // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Region information Region *string `json:"Region,omitempty" name:"Region"` // Instance expiration time DeadlineTime *string `json:"DeadlineTime,omitempty" name:"DeadlineTime"` // AZ deployment mode. Valid values: 0 (single-AZ), 1 (multi-AZ) DeployMode *int64 `json:"DeployMode,omitempty" name:"DeployMode"` // Instance task status. 0 - no task; 1 - upgrading; 2 - importing data; 3 - activating secondary; 4 - enabling public network access; 5 - batch operation in progress; 6 - rolling back; 7 - disabling public network access; 8 - changing password; 9 - renaming instance; 10 - restarting; 12 - migrating self-built instance; 13 - dropping table; 14 - creating and syncing disaster recovery instance; 15 - pending upgrade and switch; 16 - upgrade and switch in progress; 17 - upgrade and switch completed TaskStatus *int64 `json:"TaskStatus,omitempty" name:"TaskStatus"` // Details of a primary instance // Note: This field may return null, indicating that no valid values can be obtained. MasterInfo *MasterInfo `json:"MasterInfo,omitempty" name:"MasterInfo"` // Instance type DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // Kernel version EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Details of a disaster recovery instance // Note: This field may return null, indicating that no valid values can be obtained. DrInfo []*DrInfo `json:"DrInfo,omitempty" name:"DrInfo"` // Public domain name WanDomain *string `json:"WanDomain,omitempty" name:"WanDomain"` // Public network port number WanPort *int64 `json:"WanPort,omitempty" name:"WanPort"` // Billing type PayType *int64 `json:"PayType,omitempty" name:"PayType"` // Instance creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Instance IP Vip *string `json:"Vip,omitempty" name:"Vip"` // Port number Vport *int64 `json:"Vport,omitempty" name:"Vport"` // Whether the disk write is locked (It depends on whether the instance data in disk exceeds its quota). Valid values: `0` (unlocked), `1` (locked). CdbError *int64 `json:"CdbError,omitempty" name:"CdbError"` // VPC descriptor, such as "vpc-5v8wn9mg" UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // Subnet descriptor, such as "subnet-1typ0s7d" UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // Physical ID PhysicalId *string `json:"PhysicalId,omitempty" name:"PhysicalId"` // Number of cores Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Queries per second Qps *int64 `json:"Qps,omitempty" name:"Qps"` // AZ name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // Physical machine model // Note: This field may return null, indicating that no valid values can be obtained. DeviceClass *string `json:"DeviceClass,omitempty" name:"DeviceClass"` // Placement group ID // Note: this field may return null, indicating that no valid values can be obtained. DeployGroupId *string `json:"DeployGroupId,omitempty" name:"DeployGroupId"` // AZ ID // Note: this field may return null, indicating that no valid values can be obtained. ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"` // Number of nodes InstanceNodes *int64 `json:"InstanceNodes,omitempty" name:"InstanceNodes"` // List of tags // Note: this field may return `null`, indicating that no valid values can be obtained. TagList []*TagInfoItem `json:"TagList,omitempty" name:"TagList"` }
type InstanceRebootTime ¶
type InstanceRebootTime struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Estimated restart time TimeInSeconds *int64 `json:"TimeInSeconds,omitempty" name:"TimeInSeconds"` }
type InstanceRollbackRangeTime ¶
type InstanceRollbackRangeTime struct { // Queries database error code Code *int64 `json:"Code,omitempty" name:"Code"` // Queries database error message Message *string `json:"Message,omitempty" name:"Message"` // List of instance IDs. An instance ID is in the format of cdb-c1nl9rpv, which is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Time range available for rollback Times []*RollbackTimeRange `json:"Times,omitempty" name:"Times"` }
type IsolateDBInstanceRequest ¶
type IsolateDBInstanceRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewIsolateDBInstanceRequest ¶
func NewIsolateDBInstanceRequest() (request *IsolateDBInstanceRequest)
func (*IsolateDBInstanceRequest) FromJsonString ¶
func (r *IsolateDBInstanceRequest) 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 (*IsolateDBInstanceRequest) ToJsonString ¶
func (r *IsolateDBInstanceRequest) ToJsonString() string
type IsolateDBInstanceRequestParams ¶
type IsolateDBInstanceRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type IsolateDBInstanceResponse ¶
type IsolateDBInstanceResponse struct { *tchttp.BaseResponse Response *IsolateDBInstanceResponseParams `json:"Response"` }
func NewIsolateDBInstanceResponse ¶
func NewIsolateDBInstanceResponse() (response *IsolateDBInstanceResponse)
func (*IsolateDBInstanceResponse) FromJsonString ¶
func (r *IsolateDBInstanceResponse) 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 (*IsolateDBInstanceResponse) ToJsonString ¶
func (r *IsolateDBInstanceResponse) ToJsonString() string
type IsolateDBInstanceResponseParams ¶
type IsolateDBInstanceResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task. (This returned field has been disused. You can query the isolation status of an instance through the `DescribeDBInstances` API.) // Note: this field may return null, indicating that no valid values can be obtained. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type LocalBinlogConfig ¶
type MasterInfo ¶
type MasterInfo struct { // Region information Region *string `json:"Region,omitempty" name:"Region"` // Region ID RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // AZ ID ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"` // AZ information Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Long instance ID ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"` // Instance status Status *int64 `json:"Status,omitempty" name:"Status"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance type InstanceType *int64 `json:"InstanceType,omitempty" name:"InstanceType"` // Task status TaskStatus *int64 `json:"TaskStatus,omitempty" name:"TaskStatus"` // Memory capacity Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Disk capacity Volume *int64 `json:"Volume,omitempty" name:"Volume"` // Instance model DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // Queries per second Qps *int64 `json:"Qps,omitempty" name:"Qps"` // VPC ID VpcId *int64 `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *int64 `json:"SubnetId,omitempty" name:"SubnetId"` // Dedicated cluster ID ExClusterId *string `json:"ExClusterId,omitempty" name:"ExClusterId"` // Dedicated cluster name ExClusterName *string `json:"ExClusterName,omitempty" name:"ExClusterName"` }
type ModifyAccountDescriptionRequest ¶
type ModifyAccountDescriptionRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // TencentDB account Accounts []*Account `json:"Accounts,omitempty" name:"Accounts"` // Database account remarks Description *string `json:"Description,omitempty" name:"Description"` }
func NewModifyAccountDescriptionRequest ¶
func NewModifyAccountDescriptionRequest() (request *ModifyAccountDescriptionRequest)
func (*ModifyAccountDescriptionRequest) FromJsonString ¶
func (r *ModifyAccountDescriptionRequest) 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 (*ModifyAccountDescriptionRequest) ToJsonString ¶
func (r *ModifyAccountDescriptionRequest) ToJsonString() string
type ModifyAccountDescriptionRequestParams ¶
type ModifyAccountDescriptionRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // TencentDB account Accounts []*Account `json:"Accounts,omitempty" name:"Accounts"` // Database account remarks Description *string `json:"Description,omitempty" name:"Description"` }
Predefined struct for user
type ModifyAccountDescriptionResponse ¶
type ModifyAccountDescriptionResponse struct { *tchttp.BaseResponse Response *ModifyAccountDescriptionResponseParams `json:"Response"` }
func NewModifyAccountDescriptionResponse ¶
func NewModifyAccountDescriptionResponse() (response *ModifyAccountDescriptionResponse)
func (*ModifyAccountDescriptionResponse) FromJsonString ¶
func (r *ModifyAccountDescriptionResponse) 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 (*ModifyAccountDescriptionResponse) ToJsonString ¶
func (r *ModifyAccountDescriptionResponse) ToJsonString() string
type ModifyAccountDescriptionResponseParams ¶
type ModifyAccountDescriptionResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAccountMaxUserConnectionsRequest ¶
type ModifyAccountMaxUserConnectionsRequest struct { *tchttp.BaseRequest // List of TencentDB accounts Accounts []*Account `json:"Accounts,omitempty" name:"Accounts"` // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Maximum connections of the account. Maximum value: `10240`. MaxUserConnections *int64 `json:"MaxUserConnections,omitempty" name:"MaxUserConnections"` }
func NewModifyAccountMaxUserConnectionsRequest ¶
func NewModifyAccountMaxUserConnectionsRequest() (request *ModifyAccountMaxUserConnectionsRequest)
func (*ModifyAccountMaxUserConnectionsRequest) FromJsonString ¶
func (r *ModifyAccountMaxUserConnectionsRequest) 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 (*ModifyAccountMaxUserConnectionsRequest) ToJsonString ¶
func (r *ModifyAccountMaxUserConnectionsRequest) ToJsonString() string
type ModifyAccountMaxUserConnectionsRequestParams ¶
type ModifyAccountMaxUserConnectionsRequestParams struct { // List of TencentDB accounts Accounts []*Account `json:"Accounts,omitempty" name:"Accounts"` // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Maximum connections of the account. Maximum value: `10240`. MaxUserConnections *int64 `json:"MaxUserConnections,omitempty" name:"MaxUserConnections"` }
Predefined struct for user
type ModifyAccountMaxUserConnectionsResponse ¶
type ModifyAccountMaxUserConnectionsResponse struct { *tchttp.BaseResponse Response *ModifyAccountMaxUserConnectionsResponseParams `json:"Response"` }
func NewModifyAccountMaxUserConnectionsResponse ¶
func NewModifyAccountMaxUserConnectionsResponse() (response *ModifyAccountMaxUserConnectionsResponse)
func (*ModifyAccountMaxUserConnectionsResponse) FromJsonString ¶
func (r *ModifyAccountMaxUserConnectionsResponse) 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 (*ModifyAccountMaxUserConnectionsResponse) ToJsonString ¶
func (r *ModifyAccountMaxUserConnectionsResponse) ToJsonString() string
type ModifyAccountMaxUserConnectionsResponseParams ¶
type ModifyAccountMaxUserConnectionsResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAccountPasswordRequest ¶
type ModifyAccountPasswordRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // New password of the database account. It can only contain 8-64 characters and must contain at least two of the following types of characters: letters, digits, and special characters (_+-&=!@#$%^*()). NewPassword *string `json:"NewPassword,omitempty" name:"NewPassword"` // TencentDB account Accounts []*Account `json:"Accounts,omitempty" name:"Accounts"` }
func NewModifyAccountPasswordRequest ¶
func NewModifyAccountPasswordRequest() (request *ModifyAccountPasswordRequest)
func (*ModifyAccountPasswordRequest) FromJsonString ¶
func (r *ModifyAccountPasswordRequest) 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 (*ModifyAccountPasswordRequest) ToJsonString ¶
func (r *ModifyAccountPasswordRequest) ToJsonString() string
type ModifyAccountPasswordRequestParams ¶
type ModifyAccountPasswordRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // New password of the database account. It can only contain 8-64 characters and must contain at least two of the following types of characters: letters, digits, and special characters (_+-&=!@#$%^*()). NewPassword *string `json:"NewPassword,omitempty" name:"NewPassword"` // TencentDB account Accounts []*Account `json:"Accounts,omitempty" name:"Accounts"` }
Predefined struct for user
type ModifyAccountPasswordResponse ¶
type ModifyAccountPasswordResponse struct { *tchttp.BaseResponse Response *ModifyAccountPasswordResponseParams `json:"Response"` }
func NewModifyAccountPasswordResponse ¶
func NewModifyAccountPasswordResponse() (response *ModifyAccountPasswordResponse)
func (*ModifyAccountPasswordResponse) FromJsonString ¶
func (r *ModifyAccountPasswordResponse) 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 (*ModifyAccountPasswordResponse) ToJsonString ¶
func (r *ModifyAccountPasswordResponse) ToJsonString() string
type ModifyAccountPasswordResponseParams ¶
type ModifyAccountPasswordResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAccountPrivilegesRequest ¶
type ModifyAccountPrivilegesRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database account, including username and domain name. Accounts []*Account `json:"Accounts,omitempty" name:"Accounts"` // Global permission. Valid values: "SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "PROCESS", "DROP", "REFERENCES", "INDEX", "ALTER", "SHOW DATABASES", "CREATE TEMPORARY TABLES", "LOCK TABLES", "EXECUTE", "CREATE VIEW", "SHOW VIEW", "CREATE ROUTINE", "ALTER ROUTINE", "EVENT", "TRIGGER", "CREATE USER", "RELOAD", "REPLICATION CLIENT", "REPLICATION SLAVE". // Note: When “ModifyAction” is empty, if `GlobalPrivileges` is not passed in, it indicates the global permission will become ineffective. GlobalPrivileges []*string `json:"GlobalPrivileges,omitempty" name:"GlobalPrivileges"` // Database permission. Valid values: "SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "REFERENCES", "INDEX", "ALTER", "CREATE TEMPORARY TABLES", "LOCK TABLES", "EXECUTE", "CREATE VIEW", "SHOW VIEW", "CREATE ROUTINE", "ALTER ROUTINE", "EVENT", "TRIGGER". // Note: When “ModifyAction” is empty, if `DatabasePrivileges` is not passed in, it indicates the permission of the database will become ineffective. DatabasePrivileges []*DatabasePrivilege `json:"DatabasePrivileges,omitempty" name:"DatabasePrivileges"` // Table permission in the database. Valid values: "SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "REFERENCES", "INDEX", "ALTER", "CREATE VIEW", "SHOW VIEW", "TRIGGER". // Note: When “ModifyAction” is empty, if `TablePrivileges` is not passed in, it indicates the permission of the table will become ineffective. TablePrivileges []*TablePrivilege `json:"TablePrivileges,omitempty" name:"TablePrivileges"` // Column permission in the table. Valid values: "SELECT", "INSERT", "UPDATE", "REFERENCES". // Note: When “ModifyAction” is empty, if `ColumnPrivileges` is not passed in, it indicates the permission of the column will become ineffective. ColumnPrivileges []*ColumnPrivilege `json:"ColumnPrivileges,omitempty" name:"ColumnPrivileges"` // When this parameter is not empty, it indicates that the permission will be modified. Valid values: `grant` (grant permission), `revoke` (revoke permission) ModifyAction *string `json:"ModifyAction,omitempty" name:"ModifyAction"` }
func NewModifyAccountPrivilegesRequest ¶
func NewModifyAccountPrivilegesRequest() (request *ModifyAccountPrivilegesRequest)
func (*ModifyAccountPrivilegesRequest) FromJsonString ¶
func (r *ModifyAccountPrivilegesRequest) 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 (*ModifyAccountPrivilegesRequest) ToJsonString ¶
func (r *ModifyAccountPrivilegesRequest) ToJsonString() string
type ModifyAccountPrivilegesRequestParams ¶
type ModifyAccountPrivilegesRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database account, including username and domain name. Accounts []*Account `json:"Accounts,omitempty" name:"Accounts"` // Global permission. Valid values: "SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "PROCESS", "DROP", "REFERENCES", "INDEX", "ALTER", "SHOW DATABASES", "CREATE TEMPORARY TABLES", "LOCK TABLES", "EXECUTE", "CREATE VIEW", "SHOW VIEW", "CREATE ROUTINE", "ALTER ROUTINE", "EVENT", "TRIGGER", "CREATE USER", "RELOAD", "REPLICATION CLIENT", "REPLICATION SLAVE". // Note: When “ModifyAction” is empty, if `GlobalPrivileges` is not passed in, it indicates the global permission will become ineffective. GlobalPrivileges []*string `json:"GlobalPrivileges,omitempty" name:"GlobalPrivileges"` // Database permission. Valid values: "SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "REFERENCES", "INDEX", "ALTER", "CREATE TEMPORARY TABLES", "LOCK TABLES", "EXECUTE", "CREATE VIEW", "SHOW VIEW", "CREATE ROUTINE", "ALTER ROUTINE", "EVENT", "TRIGGER". // Note: When “ModifyAction” is empty, if `DatabasePrivileges` is not passed in, it indicates the permission of the database will become ineffective. DatabasePrivileges []*DatabasePrivilege `json:"DatabasePrivileges,omitempty" name:"DatabasePrivileges"` // Table permission in the database. Valid values: "SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "REFERENCES", "INDEX", "ALTER", "CREATE VIEW", "SHOW VIEW", "TRIGGER". // Note: When “ModifyAction” is empty, if `TablePrivileges` is not passed in, it indicates the permission of the table will become ineffective. TablePrivileges []*TablePrivilege `json:"TablePrivileges,omitempty" name:"TablePrivileges"` // Column permission in the table. Valid values: "SELECT", "INSERT", "UPDATE", "REFERENCES". // Note: When “ModifyAction” is empty, if `ColumnPrivileges` is not passed in, it indicates the permission of the column will become ineffective. ColumnPrivileges []*ColumnPrivilege `json:"ColumnPrivileges,omitempty" name:"ColumnPrivileges"` // When this parameter is not empty, it indicates that the permission will be modified. Valid values: `grant` (grant permission), `revoke` (revoke permission) ModifyAction *string `json:"ModifyAction,omitempty" name:"ModifyAction"` }
Predefined struct for user
type ModifyAccountPrivilegesResponse ¶
type ModifyAccountPrivilegesResponse struct { *tchttp.BaseResponse Response *ModifyAccountPrivilegesResponseParams `json:"Response"` }
func NewModifyAccountPrivilegesResponse ¶
func NewModifyAccountPrivilegesResponse() (response *ModifyAccountPrivilegesResponse)
func (*ModifyAccountPrivilegesResponse) FromJsonString ¶
func (r *ModifyAccountPrivilegesResponse) 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 (*ModifyAccountPrivilegesResponse) ToJsonString ¶
func (r *ModifyAccountPrivilegesResponse) ToJsonString() string
type ModifyAccountPrivilegesResponseParams ¶
type ModifyAccountPrivilegesResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAutoRenewFlagRequest ¶
type ModifyAutoRenewFlagRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Auto-renewal flag. Value range: 0 (auto-renewal not enabled), 1 (auto-renewal enabled). AutoRenew *int64 `json:"AutoRenew,omitempty" name:"AutoRenew"` }
func NewModifyAutoRenewFlagRequest ¶
func NewModifyAutoRenewFlagRequest() (request *ModifyAutoRenewFlagRequest)
func (*ModifyAutoRenewFlagRequest) FromJsonString ¶
func (r *ModifyAutoRenewFlagRequest) 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 (*ModifyAutoRenewFlagRequest) ToJsonString ¶
func (r *ModifyAutoRenewFlagRequest) ToJsonString() string
type ModifyAutoRenewFlagRequestParams ¶
type ModifyAutoRenewFlagRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Auto-renewal flag. Value range: 0 (auto-renewal not enabled), 1 (auto-renewal enabled). AutoRenew *int64 `json:"AutoRenew,omitempty" name:"AutoRenew"` }
Predefined struct for user
type ModifyAutoRenewFlagResponse ¶
type ModifyAutoRenewFlagResponse struct { *tchttp.BaseResponse Response *ModifyAutoRenewFlagResponseParams `json:"Response"` }
func NewModifyAutoRenewFlagResponse ¶
func NewModifyAutoRenewFlagResponse() (response *ModifyAutoRenewFlagResponse)
func (*ModifyAutoRenewFlagResponse) FromJsonString ¶
func (r *ModifyAutoRenewFlagResponse) 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 (*ModifyAutoRenewFlagResponse) ToJsonString ¶
func (r *ModifyAutoRenewFlagResponse) ToJsonString() string
type ModifyAutoRenewFlagResponseParams ¶
type ModifyAutoRenewFlagResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBackupConfigRequest ¶
type ModifyBackupConfigRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup file retention period in days. Value range: 7-1830. ExpireDays *int64 `json:"ExpireDays,omitempty" name:"ExpireDays"` // (This parameter will be disused. The `BackupTimeWindow` parameter is recommended.) Backup time range in the format of 02:00-06:00, with the start time and end time on the hour. Valid values: 00:00-12:00, 02:00-06:00, 06:00-10:00, 10:00-14:00, 14:00-18:00, 18:00-22:00, 22:00-02:00. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Automatic backup mode. Only `physical` (physical cold backup) is supported BackupMethod *string `json:"BackupMethod,omitempty" name:"BackupMethod"` // Binlog retention period in days. Value range: 7-1830. It can’t be greater than the retention period of backup files. BinlogExpireDays *int64 `json:"BinlogExpireDays,omitempty" name:"BinlogExpireDays"` // Backup time window; for example, to set up backup between 10:00 and 14:00 on every Tuesday and Sunday, you should set this parameter as follows: {"Monday": "", "Tuesday": "10:00-14:00", "Wednesday": "", "Thursday": "", "Friday": "", "Saturday": "", "Sunday": "10:00-14:00"} (Note: You can set up backup on different days, but the backup time windows need to be the same. If this field is set, the `StartTime` field will be ignored) BackupTimeWindow *CommonTimeWindow `json:"BackupTimeWindow,omitempty" name:"BackupTimeWindow"` // Switch for archive backup retention. Valid values: `off` (disable), `on` (enable). Default value:`off`. EnableBackupPeriodSave *string `json:"EnableBackupPeriodSave,omitempty" name:"EnableBackupPeriodSave"` // Switch for long-term backup retention (This field can be ignored, for its feature hasn’t been launched). Valid values: `off` (disable), `on` (enable). Default value: `off`. Once enabled, the parameters (BackupPeriodSaveDays, BackupPeriodSaveInterval, and BackupPeriodSaveCount) will be invalid. EnableBackupPeriodLongTermSave *string `json:"EnableBackupPeriodLongTermSave,omitempty" name:"EnableBackupPeriodLongTermSave"` // Maximum days of archive backup retention. Valid range: 90-3650. Default value: 1080. BackupPeriodSaveDays *int64 `json:"BackupPeriodSaveDays,omitempty" name:"BackupPeriodSaveDays"` // Archive backup retention period. Valid values: `weekly` (a week), `monthly` (a month), `quarterly` (a quarter), `yearly` (a year). Default value: `monthly`. BackupPeriodSaveInterval *string `json:"BackupPeriodSaveInterval,omitempty" name:"BackupPeriodSaveInterval"` // Number of archive backups. Minimum value: `1`, Maximum value: Number of non-archive backups in archive backup retention period. Default value: `1`. BackupPeriodSaveCount *int64 `json:"BackupPeriodSaveCount,omitempty" name:"BackupPeriodSaveCount"` // The start time in the format of yyyy-mm-dd HH:MM:SS, which is used to enable archive backup retention policy. StartBackupPeriodSaveDate *string `json:"StartBackupPeriodSaveDate,omitempty" name:"StartBackupPeriodSaveDate"` }
func NewModifyBackupConfigRequest ¶
func NewModifyBackupConfigRequest() (request *ModifyBackupConfigRequest)
func (*ModifyBackupConfigRequest) FromJsonString ¶
func (r *ModifyBackupConfigRequest) 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 (*ModifyBackupConfigRequest) ToJsonString ¶
func (r *ModifyBackupConfigRequest) ToJsonString() string
type ModifyBackupConfigRequestParams ¶
type ModifyBackupConfigRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup file retention period in days. Value range: 7-1830. ExpireDays *int64 `json:"ExpireDays,omitempty" name:"ExpireDays"` // (This parameter will be disused. The `BackupTimeWindow` parameter is recommended.) Backup time range in the format of 02:00-06:00, with the start time and end time on the hour. Valid values: 00:00-12:00, 02:00-06:00, 06:00-10:00, 10:00-14:00, 14:00-18:00, 18:00-22:00, 22:00-02:00. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Automatic backup mode. Only `physical` (physical cold backup) is supported BackupMethod *string `json:"BackupMethod,omitempty" name:"BackupMethod"` // Binlog retention period in days. Value range: 7-1830. It can’t be greater than the retention period of backup files. BinlogExpireDays *int64 `json:"BinlogExpireDays,omitempty" name:"BinlogExpireDays"` // Backup time window; for example, to set up backup between 10:00 and 14:00 on every Tuesday and Sunday, you should set this parameter as follows: {"Monday": "", "Tuesday": "10:00-14:00", "Wednesday": "", "Thursday": "", "Friday": "", "Saturday": "", "Sunday": "10:00-14:00"} (Note: You can set up backup on different days, but the backup time windows need to be the same. If this field is set, the `StartTime` field will be ignored) BackupTimeWindow *CommonTimeWindow `json:"BackupTimeWindow,omitempty" name:"BackupTimeWindow"` // Switch for archive backup retention. Valid values: `off` (disable), `on` (enable). Default value:`off`. EnableBackupPeriodSave *string `json:"EnableBackupPeriodSave,omitempty" name:"EnableBackupPeriodSave"` // Switch for long-term backup retention (This field can be ignored, for its feature hasn’t been launched). Valid values: `off` (disable), `on` (enable). Default value: `off`. Once enabled, the parameters (BackupPeriodSaveDays, BackupPeriodSaveInterval, and BackupPeriodSaveCount) will be invalid. EnableBackupPeriodLongTermSave *string `json:"EnableBackupPeriodLongTermSave,omitempty" name:"EnableBackupPeriodLongTermSave"` // Maximum days of archive backup retention. Valid range: 90-3650. Default value: 1080. BackupPeriodSaveDays *int64 `json:"BackupPeriodSaveDays,omitempty" name:"BackupPeriodSaveDays"` // Archive backup retention period. Valid values: `weekly` (a week), `monthly` (a month), `quarterly` (a quarter), `yearly` (a year). Default value: `monthly`. BackupPeriodSaveInterval *string `json:"BackupPeriodSaveInterval,omitempty" name:"BackupPeriodSaveInterval"` // Number of archive backups. Minimum value: `1`, Maximum value: Number of non-archive backups in archive backup retention period. Default value: `1`. BackupPeriodSaveCount *int64 `json:"BackupPeriodSaveCount,omitempty" name:"BackupPeriodSaveCount"` // The start time in the format of yyyy-mm-dd HH:MM:SS, which is used to enable archive backup retention policy. StartBackupPeriodSaveDate *string `json:"StartBackupPeriodSaveDate,omitempty" name:"StartBackupPeriodSaveDate"` }
Predefined struct for user
type ModifyBackupConfigResponse ¶
type ModifyBackupConfigResponse struct { *tchttp.BaseResponse Response *ModifyBackupConfigResponseParams `json:"Response"` }
func NewModifyBackupConfigResponse ¶
func NewModifyBackupConfigResponse() (response *ModifyBackupConfigResponse)
func (*ModifyBackupConfigResponse) FromJsonString ¶
func (r *ModifyBackupConfigResponse) 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 (*ModifyBackupConfigResponse) ToJsonString ¶
func (r *ModifyBackupConfigResponse) ToJsonString() string
type ModifyBackupConfigResponseParams ¶
type ModifyBackupConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBackupDownloadRestrictionRequest ¶
type ModifyBackupDownloadRestrictionRequest struct { *tchttp.BaseRequest // Valid values: `NoLimit` (backups can be downloaded over both private and public networks with any IPs), `LimitOnlyIntranet` (backups can be downloaded over the private network with any private IPs), `Customize` (backups can be downloaded over specified VPCs with specified IPs). The `LimitVpc` and `LimitIp` parameters are valid only when this parameter is set to `Customize`. LimitType *string `json:"LimitType,omitempty" name:"LimitType"` // Valid value: `In` (backups can only be downloaded over the VPCs specified in `LimitVpc`). Default value: `In`. VpcComparisonSymbol *string `json:"VpcComparisonSymbol,omitempty" name:"VpcComparisonSymbol"` // Valid values: `In` (backups can only be downloaded with the IPs specified in `LimitIp`), `NotIn` (backups cannot be downloaded with the IPs specified in `LimitIp`). Default value: `In`. IpComparisonSymbol *string `json:"IpComparisonSymbol,omitempty" name:"IpComparisonSymbol"` // VPCs used to restrict backup download. LimitVpc []*BackupLimitVpcItem `json:"LimitVpc,omitempty" name:"LimitVpc"` // IPs used to restrict backup download. LimitIp []*string `json:"LimitIp,omitempty" name:"LimitIp"` }
func NewModifyBackupDownloadRestrictionRequest ¶
func NewModifyBackupDownloadRestrictionRequest() (request *ModifyBackupDownloadRestrictionRequest)
func (*ModifyBackupDownloadRestrictionRequest) FromJsonString ¶
func (r *ModifyBackupDownloadRestrictionRequest) 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 (*ModifyBackupDownloadRestrictionRequest) ToJsonString ¶
func (r *ModifyBackupDownloadRestrictionRequest) ToJsonString() string
type ModifyBackupDownloadRestrictionRequestParams ¶
type ModifyBackupDownloadRestrictionRequestParams struct { // Valid values: `NoLimit` (backups can be downloaded over both private and public networks with any IPs), `LimitOnlyIntranet` (backups can be downloaded over the private network with any private IPs), `Customize` (backups can be downloaded over specified VPCs with specified IPs). The `LimitVpc` and `LimitIp` parameters are valid only when this parameter is set to `Customize`. LimitType *string `json:"LimitType,omitempty" name:"LimitType"` // Valid value: `In` (backups can only be downloaded over the VPCs specified in `LimitVpc`). Default value: `In`. VpcComparisonSymbol *string `json:"VpcComparisonSymbol,omitempty" name:"VpcComparisonSymbol"` // Valid values: `In` (backups can only be downloaded with the IPs specified in `LimitIp`), `NotIn` (backups cannot be downloaded with the IPs specified in `LimitIp`). Default value: `In`. IpComparisonSymbol *string `json:"IpComparisonSymbol,omitempty" name:"IpComparisonSymbol"` // VPCs used to restrict backup download. LimitVpc []*BackupLimitVpcItem `json:"LimitVpc,omitempty" name:"LimitVpc"` // IPs used to restrict backup download. LimitIp []*string `json:"LimitIp,omitempty" name:"LimitIp"` }
Predefined struct for user
type ModifyBackupDownloadRestrictionResponse ¶
type ModifyBackupDownloadRestrictionResponse struct { *tchttp.BaseResponse Response *ModifyBackupDownloadRestrictionResponseParams `json:"Response"` }
func NewModifyBackupDownloadRestrictionResponse ¶
func NewModifyBackupDownloadRestrictionResponse() (response *ModifyBackupDownloadRestrictionResponse)
func (*ModifyBackupDownloadRestrictionResponse) FromJsonString ¶
func (r *ModifyBackupDownloadRestrictionResponse) 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 (*ModifyBackupDownloadRestrictionResponse) ToJsonString ¶
func (r *ModifyBackupDownloadRestrictionResponse) ToJsonString() string
type ModifyBackupDownloadRestrictionResponseParams ¶
type ModifyBackupDownloadRestrictionResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCDBProxyConnectionPoolRequest ¶
type ModifyCDBProxyConnectionPoolRequest struct { *tchttp.BaseRequest // Database proxy ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // Whether to enable the connection pool. Valid values: `true` (enable); // `false` (disable). OpenConnectionPool *bool `json:"OpenConnectionPool,omitempty" name:"OpenConnectionPool"` // Connection pool type. // You can use the `DescribeProxyConnectionPoolConf` API to query the connection pool type. ConnectionPoolType *string `json:"ConnectionPoolType,omitempty" name:"ConnectionPoolType"` // Connection persistence timeout in seconds PoolConnectionTimeOut *int64 `json:"PoolConnectionTimeOut,omitempty" name:"PoolConnectionTimeOut"` }
func NewModifyCDBProxyConnectionPoolRequest ¶
func NewModifyCDBProxyConnectionPoolRequest() (request *ModifyCDBProxyConnectionPoolRequest)
func (*ModifyCDBProxyConnectionPoolRequest) FromJsonString ¶
func (r *ModifyCDBProxyConnectionPoolRequest) 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 (*ModifyCDBProxyConnectionPoolRequest) ToJsonString ¶
func (r *ModifyCDBProxyConnectionPoolRequest) ToJsonString() string
type ModifyCDBProxyConnectionPoolRequestParams ¶
type ModifyCDBProxyConnectionPoolRequestParams struct { // Database proxy ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // Whether to enable the connection pool. Valid values: `true` (enable); // `false` (disable). OpenConnectionPool *bool `json:"OpenConnectionPool,omitempty" name:"OpenConnectionPool"` // Connection pool type. // You can use the `DescribeProxyConnectionPoolConf` API to query the connection pool type. ConnectionPoolType *string `json:"ConnectionPoolType,omitempty" name:"ConnectionPoolType"` // Connection persistence timeout in seconds PoolConnectionTimeOut *int64 `json:"PoolConnectionTimeOut,omitempty" name:"PoolConnectionTimeOut"` }
Predefined struct for user
type ModifyCDBProxyConnectionPoolResponse ¶
type ModifyCDBProxyConnectionPoolResponse struct { *tchttp.BaseResponse Response *ModifyCDBProxyConnectionPoolResponseParams `json:"Response"` }
func NewModifyCDBProxyConnectionPoolResponse ¶
func NewModifyCDBProxyConnectionPoolResponse() (response *ModifyCDBProxyConnectionPoolResponse)
func (*ModifyCDBProxyConnectionPoolResponse) FromJsonString ¶
func (r *ModifyCDBProxyConnectionPoolResponse) 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 (*ModifyCDBProxyConnectionPoolResponse) ToJsonString ¶
func (r *ModifyCDBProxyConnectionPoolResponse) ToJsonString() string
type ModifyCDBProxyConnectionPoolResponseParams ¶
type ModifyCDBProxyConnectionPoolResponseParams struct { // Async request ID // Note: this field may return `null`, indicating that no valid value can be found. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCDBProxyDescRequest ¶
type ModifyCDBProxyDescRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database proxy ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // Database proxy description Desc *string `json:"Desc,omitempty" name:"Desc"` }
func NewModifyCDBProxyDescRequest ¶
func NewModifyCDBProxyDescRequest() (request *ModifyCDBProxyDescRequest)
func (*ModifyCDBProxyDescRequest) FromJsonString ¶
func (r *ModifyCDBProxyDescRequest) 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 (*ModifyCDBProxyDescRequest) ToJsonString ¶
func (r *ModifyCDBProxyDescRequest) ToJsonString() string
type ModifyCDBProxyDescRequestParams ¶
type ModifyCDBProxyDescRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database proxy ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // Database proxy description Desc *string `json:"Desc,omitempty" name:"Desc"` }
Predefined struct for user
type ModifyCDBProxyDescResponse ¶
type ModifyCDBProxyDescResponse struct { *tchttp.BaseResponse Response *ModifyCDBProxyDescResponseParams `json:"Response"` }
func NewModifyCDBProxyDescResponse ¶
func NewModifyCDBProxyDescResponse() (response *ModifyCDBProxyDescResponse)
func (*ModifyCDBProxyDescResponse) FromJsonString ¶
func (r *ModifyCDBProxyDescResponse) 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 (*ModifyCDBProxyDescResponse) ToJsonString ¶
func (r *ModifyCDBProxyDescResponse) ToJsonString() string
type ModifyCDBProxyDescResponseParams ¶
type ModifyCDBProxyDescResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCDBProxyRequest ¶
type ModifyCDBProxyRequest struct { *tchttp.BaseRequest // Unique ID of the database proxy group ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // Whether to remove delayed read-only instances from the proxy group. Valid values: `true`, `false`. Default value: `false`. IsKickout *bool `json:"IsKickout,omitempty" name:"IsKickout"` // The minimum number of read-only instances allowed by the proxy group. Minimum value: 1; maximum value: The number of instances. MinCount *uint64 `json:"MinCount,omitempty" name:"MinCount"` // Delay threshold. If `IsKickOut` is set to `true`, this parameter is required. MaxDelay *uint64 `json:"MaxDelay,omitempty" name:"MaxDelay"` // Assignment mode of read/write weights. Valid values: `system` (auto-assigned), `custom` WeightMode *string `json:"WeightMode,omitempty" name:"WeightMode"` // Read-Only weight of an instance RoWeightValues *RoWeight `json:"RoWeightValues,omitempty" name:"RoWeightValues"` // Whether to enable failover. If it is enabled, the connection address will route requests to the source instance in case of proxy failure. Valid values: `true`, `false`. Default value: `false`. FailOver *bool `json:"FailOver,omitempty" name:"FailOver"` // Whether to automatically add newly created read-only instances to the proxy group. Valid values: `true`, `false` Default value: `false`. AutoAddRo *bool `json:"AutoAddRo,omitempty" name:"AutoAddRo"` }
func NewModifyCDBProxyRequest ¶
func NewModifyCDBProxyRequest() (request *ModifyCDBProxyRequest)
func (*ModifyCDBProxyRequest) FromJsonString ¶
func (r *ModifyCDBProxyRequest) 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 (*ModifyCDBProxyRequest) ToJsonString ¶
func (r *ModifyCDBProxyRequest) ToJsonString() string
type ModifyCDBProxyRequestParams ¶
type ModifyCDBProxyRequestParams struct { // Unique ID of the database proxy group ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // Whether to remove delayed read-only instances from the proxy group. Valid values: `true`, `false`. Default value: `false`. IsKickout *bool `json:"IsKickout,omitempty" name:"IsKickout"` // The minimum number of read-only instances allowed by the proxy group. Minimum value: 1; maximum value: The number of instances. MinCount *uint64 `json:"MinCount,omitempty" name:"MinCount"` // Delay threshold. If `IsKickOut` is set to `true`, this parameter is required. MaxDelay *uint64 `json:"MaxDelay,omitempty" name:"MaxDelay"` // Assignment mode of read/write weights. Valid values: `system` (auto-assigned), `custom` WeightMode *string `json:"WeightMode,omitempty" name:"WeightMode"` // Read-Only weight of an instance RoWeightValues *RoWeight `json:"RoWeightValues,omitempty" name:"RoWeightValues"` // Whether to enable failover. If it is enabled, the connection address will route requests to the source instance in case of proxy failure. Valid values: `true`, `false`. Default value: `false`. FailOver *bool `json:"FailOver,omitempty" name:"FailOver"` // Whether to automatically add newly created read-only instances to the proxy group. Valid values: `true`, `false` Default value: `false`. AutoAddRo *bool `json:"AutoAddRo,omitempty" name:"AutoAddRo"` }
Predefined struct for user
type ModifyCDBProxyResponse ¶
type ModifyCDBProxyResponse struct { *tchttp.BaseResponse Response *ModifyCDBProxyResponseParams `json:"Response"` }
func NewModifyCDBProxyResponse ¶
func NewModifyCDBProxyResponse() (response *ModifyCDBProxyResponse)
func (*ModifyCDBProxyResponse) FromJsonString ¶
func (r *ModifyCDBProxyResponse) 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 (*ModifyCDBProxyResponse) ToJsonString ¶
func (r *ModifyCDBProxyResponse) ToJsonString() string
type ModifyCDBProxyResponseParams ¶
type ModifyCDBProxyResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCDBProxyVipVPortRequest ¶
type ModifyCDBProxyVipVPortRequest struct { *tchttp.BaseRequest // Proxy group ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // VPC ID UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // VPC subnet ID UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // New IP DstIp *string `json:"DstIp,omitempty" name:"DstIp"` // New port DstPort *uint64 `json:"DstPort,omitempty" name:"DstPort"` // Valid hours of the old IP ReleaseDuration *uint64 `json:"ReleaseDuration,omitempty" name:"ReleaseDuration"` }
func NewModifyCDBProxyVipVPortRequest ¶
func NewModifyCDBProxyVipVPortRequest() (request *ModifyCDBProxyVipVPortRequest)
func (*ModifyCDBProxyVipVPortRequest) FromJsonString ¶
func (r *ModifyCDBProxyVipVPortRequest) 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 (*ModifyCDBProxyVipVPortRequest) ToJsonString ¶
func (r *ModifyCDBProxyVipVPortRequest) ToJsonString() string
type ModifyCDBProxyVipVPortRequestParams ¶
type ModifyCDBProxyVipVPortRequestParams struct { // Proxy group ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // VPC ID UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // VPC subnet ID UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // New IP DstIp *string `json:"DstIp,omitempty" name:"DstIp"` // New port DstPort *uint64 `json:"DstPort,omitempty" name:"DstPort"` // Valid hours of the old IP ReleaseDuration *uint64 `json:"ReleaseDuration,omitempty" name:"ReleaseDuration"` }
Predefined struct for user
type ModifyCDBProxyVipVPortResponse ¶
type ModifyCDBProxyVipVPortResponse struct { *tchttp.BaseResponse Response *ModifyCDBProxyVipVPortResponseParams `json:"Response"` }
func NewModifyCDBProxyVipVPortResponse ¶
func NewModifyCDBProxyVipVPortResponse() (response *ModifyCDBProxyVipVPortResponse)
func (*ModifyCDBProxyVipVPortResponse) FromJsonString ¶
func (r *ModifyCDBProxyVipVPortResponse) 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 (*ModifyCDBProxyVipVPortResponse) ToJsonString ¶
func (r *ModifyCDBProxyVipVPortResponse) ToJsonString() string
type ModifyCDBProxyVipVPortResponseParams ¶
type ModifyCDBProxyVipVPortResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceNameRequest ¶
type ModifyDBInstanceNameRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // The modified instance name. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` }
func NewModifyDBInstanceNameRequest ¶
func NewModifyDBInstanceNameRequest() (request *ModifyDBInstanceNameRequest)
func (*ModifyDBInstanceNameRequest) FromJsonString ¶
func (r *ModifyDBInstanceNameRequest) 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 (*ModifyDBInstanceNameRequest) ToJsonString ¶
func (r *ModifyDBInstanceNameRequest) ToJsonString() string
type ModifyDBInstanceNameRequestParams ¶
type ModifyDBInstanceNameRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // The modified instance name. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` }
Predefined struct for user
type ModifyDBInstanceNameResponse ¶
type ModifyDBInstanceNameResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceNameResponseParams `json:"Response"` }
func NewModifyDBInstanceNameResponse ¶
func NewModifyDBInstanceNameResponse() (response *ModifyDBInstanceNameResponse)
func (*ModifyDBInstanceNameResponse) FromJsonString ¶
func (r *ModifyDBInstanceNameResponse) 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 (*ModifyDBInstanceNameResponse) ToJsonString ¶
func (r *ModifyDBInstanceNameResponse) ToJsonString() string
type ModifyDBInstanceNameResponseParams ¶
type ModifyDBInstanceNameResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceProjectRequest ¶
type ModifyDBInstanceProjectRequest struct { *tchttp.BaseRequest // Array of instance IDs in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Project ID. NewProjectId *int64 `json:"NewProjectId,omitempty" name:"NewProjectId"` }
func NewModifyDBInstanceProjectRequest ¶
func NewModifyDBInstanceProjectRequest() (request *ModifyDBInstanceProjectRequest)
func (*ModifyDBInstanceProjectRequest) FromJsonString ¶
func (r *ModifyDBInstanceProjectRequest) 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 (*ModifyDBInstanceProjectRequest) ToJsonString ¶
func (r *ModifyDBInstanceProjectRequest) ToJsonString() string
type ModifyDBInstanceProjectRequestParams ¶
type ModifyDBInstanceProjectRequestParams struct { // Array of instance IDs in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Project ID. NewProjectId *int64 `json:"NewProjectId,omitempty" name:"NewProjectId"` }
Predefined struct for user
type ModifyDBInstanceProjectResponse ¶
type ModifyDBInstanceProjectResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceProjectResponseParams `json:"Response"` }
func NewModifyDBInstanceProjectResponse ¶
func NewModifyDBInstanceProjectResponse() (response *ModifyDBInstanceProjectResponse)
func (*ModifyDBInstanceProjectResponse) FromJsonString ¶
func (r *ModifyDBInstanceProjectResponse) 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 (*ModifyDBInstanceProjectResponse) ToJsonString ¶
func (r *ModifyDBInstanceProjectResponse) ToJsonString() string
type ModifyDBInstanceProjectResponseParams ¶
type ModifyDBInstanceProjectResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDBInstanceSecurityGroupsRequest ¶
type ModifyDBInstanceSecurityGroupsRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // List of IDs of security groups to be modified, which is an array of one or more security group IDs. SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // This parameter takes effect only when the ID of read-only replica is passed in. If this parameter is set to `False` or left empty, the security groups bound with the RO group of the read-only replicas will be modified. If this parameter is set to `True`, the security groups bound with the read-only replica itself will be modified. ForReadonlyInstance *bool `json:"ForReadonlyInstance,omitempty" name:"ForReadonlyInstance"` }
func NewModifyDBInstanceSecurityGroupsRequest ¶
func NewModifyDBInstanceSecurityGroupsRequest() (request *ModifyDBInstanceSecurityGroupsRequest)
func (*ModifyDBInstanceSecurityGroupsRequest) FromJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsRequest) 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 (*ModifyDBInstanceSecurityGroupsRequest) ToJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsRequest) ToJsonString() string
type ModifyDBInstanceSecurityGroupsRequestParams ¶
type ModifyDBInstanceSecurityGroupsRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // List of IDs of security groups to be modified, which is an array of one or more security group IDs. SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // This parameter takes effect only when the ID of read-only replica is passed in. If this parameter is set to `False` or left empty, the security groups bound with the RO group of the read-only replicas will be modified. If this parameter is set to `True`, the security groups bound with the read-only replica itself will be modified. ForReadonlyInstance *bool `json:"ForReadonlyInstance,omitempty" name:"ForReadonlyInstance"` }
Predefined struct for user
type ModifyDBInstanceSecurityGroupsResponse ¶
type ModifyDBInstanceSecurityGroupsResponse struct { *tchttp.BaseResponse Response *ModifyDBInstanceSecurityGroupsResponseParams `json:"Response"` }
func NewModifyDBInstanceSecurityGroupsResponse ¶
func NewModifyDBInstanceSecurityGroupsResponse() (response *ModifyDBInstanceSecurityGroupsResponse)
func (*ModifyDBInstanceSecurityGroupsResponse) FromJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsResponse) 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 (*ModifyDBInstanceSecurityGroupsResponse) ToJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsResponse) ToJsonString() string
type ModifyDBInstanceSecurityGroupsResponseParams ¶
type ModifyDBInstanceSecurityGroupsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstanceParamRequest ¶
type ModifyInstanceParamRequest struct { *tchttp.BaseRequest // List of short instance IDs. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // List of parameters to be modified. Every element is a combination of `Name` (parameter name) and `CurrentValue` (new value). ParamList []*Parameter `json:"ParamList,omitempty" name:"ParamList"` // Template ID. At least one of `ParamList` and `TemplateId` must be passed in. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // When to perform the parameter adjustment task. Default value: 0. Valid values: 0 - execute immediately, 1 - execute during window. When its value is 1, only one instance ID can be passed in (i.e., only one `InstanceIds` can be passed in). WaitSwitch *int64 `json:"WaitSwitch,omitempty" name:"WaitSwitch"` }
func NewModifyInstanceParamRequest ¶
func NewModifyInstanceParamRequest() (request *ModifyInstanceParamRequest)
func (*ModifyInstanceParamRequest) FromJsonString ¶
func (r *ModifyInstanceParamRequest) 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 (*ModifyInstanceParamRequest) ToJsonString ¶
func (r *ModifyInstanceParamRequest) ToJsonString() string
type ModifyInstanceParamRequestParams ¶
type ModifyInstanceParamRequestParams struct { // List of short instance IDs. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // List of parameters to be modified. Every element is a combination of `Name` (parameter name) and `CurrentValue` (new value). ParamList []*Parameter `json:"ParamList,omitempty" name:"ParamList"` // Template ID. At least one of `ParamList` and `TemplateId` must be passed in. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // When to perform the parameter adjustment task. Default value: 0. Valid values: 0 - execute immediately, 1 - execute during window. When its value is 1, only one instance ID can be passed in (i.e., only one `InstanceIds` can be passed in). WaitSwitch *int64 `json:"WaitSwitch,omitempty" name:"WaitSwitch"` }
Predefined struct for user
type ModifyInstanceParamResponse ¶
type ModifyInstanceParamResponse struct { *tchttp.BaseResponse Response *ModifyInstanceParamResponseParams `json:"Response"` }
func NewModifyInstanceParamResponse ¶
func NewModifyInstanceParamResponse() (response *ModifyInstanceParamResponse)
func (*ModifyInstanceParamResponse) FromJsonString ¶
func (r *ModifyInstanceParamResponse) 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 (*ModifyInstanceParamResponse) ToJsonString ¶
func (r *ModifyInstanceParamResponse) ToJsonString() string
type ModifyInstanceParamResponseParams ¶
type ModifyInstanceParamResponseParams struct { // Async task ID, which can be used to query task progress. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstanceTagRequest ¶
type ModifyInstanceTagRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Tag to be added or modified. ReplaceTags []*TagInfo `json:"ReplaceTags,omitempty" name:"ReplaceTags"` // Tag to be deleted. DeleteTags []*TagInfo `json:"DeleteTags,omitempty" name:"DeleteTags"` }
func NewModifyInstanceTagRequest ¶
func NewModifyInstanceTagRequest() (request *ModifyInstanceTagRequest)
func (*ModifyInstanceTagRequest) FromJsonString ¶
func (r *ModifyInstanceTagRequest) 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 (*ModifyInstanceTagRequest) ToJsonString ¶
func (r *ModifyInstanceTagRequest) ToJsonString() string
type ModifyInstanceTagRequestParams ¶
type ModifyInstanceTagRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Tag to be added or modified. ReplaceTags []*TagInfo `json:"ReplaceTags,omitempty" name:"ReplaceTags"` // Tag to be deleted. DeleteTags []*TagInfo `json:"DeleteTags,omitempty" name:"DeleteTags"` }
Predefined struct for user
type ModifyInstanceTagResponse ¶
type ModifyInstanceTagResponse struct { *tchttp.BaseResponse Response *ModifyInstanceTagResponseParams `json:"Response"` }
func NewModifyInstanceTagResponse ¶
func NewModifyInstanceTagResponse() (response *ModifyInstanceTagResponse)
func (*ModifyInstanceTagResponse) FromJsonString ¶
func (r *ModifyInstanceTagResponse) 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 (*ModifyInstanceTagResponse) ToJsonString ¶
func (r *ModifyInstanceTagResponse) ToJsonString() string
type ModifyInstanceTagResponseParams ¶
type ModifyInstanceTagResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLocalBinlogConfigRequest ¶
type ModifyLocalBinlogConfigRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Retention period of local binlog. Value range: [72,168]. SaveHours *int64 `json:"SaveHours,omitempty" name:"SaveHours"` // Space utilization of local binlog. Value range: [30,50]. MaxUsage *int64 `json:"MaxUsage,omitempty" name:"MaxUsage"` }
func NewModifyLocalBinlogConfigRequest ¶
func NewModifyLocalBinlogConfigRequest() (request *ModifyLocalBinlogConfigRequest)
func (*ModifyLocalBinlogConfigRequest) FromJsonString ¶
func (r *ModifyLocalBinlogConfigRequest) 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 (*ModifyLocalBinlogConfigRequest) ToJsonString ¶
func (r *ModifyLocalBinlogConfigRequest) ToJsonString() string
type ModifyLocalBinlogConfigRequestParams ¶
type ModifyLocalBinlogConfigRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Retention period of local binlog. Value range: [72,168]. SaveHours *int64 `json:"SaveHours,omitempty" name:"SaveHours"` // Space utilization of local binlog. Value range: [30,50]. MaxUsage *int64 `json:"MaxUsage,omitempty" name:"MaxUsage"` }
Predefined struct for user
type ModifyLocalBinlogConfigResponse ¶
type ModifyLocalBinlogConfigResponse struct { *tchttp.BaseResponse Response *ModifyLocalBinlogConfigResponseParams `json:"Response"` }
func NewModifyLocalBinlogConfigResponse ¶
func NewModifyLocalBinlogConfigResponse() (response *ModifyLocalBinlogConfigResponse)
func (*ModifyLocalBinlogConfigResponse) FromJsonString ¶
func (r *ModifyLocalBinlogConfigResponse) 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 (*ModifyLocalBinlogConfigResponse) ToJsonString ¶
func (r *ModifyLocalBinlogConfigResponse) ToJsonString() string
type ModifyLocalBinlogConfigResponseParams ¶
type ModifyLocalBinlogConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyParamTemplateRequest ¶
type ModifyParamTemplateRequest struct { *tchttp.BaseRequest // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Template name (up to 64 characters) Name *string `json:"Name,omitempty" name:"Name"` // Template description (up to 255 characters) Description *string `json:"Description,omitempty" name:"Description"` // List of parameters. ParamList []*Parameter `json:"ParamList,omitempty" name:"ParamList"` }
func NewModifyParamTemplateRequest ¶
func NewModifyParamTemplateRequest() (request *ModifyParamTemplateRequest)
func (*ModifyParamTemplateRequest) FromJsonString ¶
func (r *ModifyParamTemplateRequest) 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 (*ModifyParamTemplateRequest) ToJsonString ¶
func (r *ModifyParamTemplateRequest) ToJsonString() string
type ModifyParamTemplateRequestParams ¶
type ModifyParamTemplateRequestParams struct { // Template ID. TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Template name (up to 64 characters) Name *string `json:"Name,omitempty" name:"Name"` // Template description (up to 255 characters) Description *string `json:"Description,omitempty" name:"Description"` // List of parameters. ParamList []*Parameter `json:"ParamList,omitempty" name:"ParamList"` }
Predefined struct for user
type ModifyParamTemplateResponse ¶
type ModifyParamTemplateResponse struct { *tchttp.BaseResponse Response *ModifyParamTemplateResponseParams `json:"Response"` }
func NewModifyParamTemplateResponse ¶
func NewModifyParamTemplateResponse() (response *ModifyParamTemplateResponse)
func (*ModifyParamTemplateResponse) FromJsonString ¶
func (r *ModifyParamTemplateResponse) 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 (*ModifyParamTemplateResponse) ToJsonString ¶
func (r *ModifyParamTemplateResponse) ToJsonString() string
type ModifyParamTemplateResponseParams ¶
type ModifyParamTemplateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRoGroupInfoRequest ¶
type ModifyRoGroupInfoRequest struct { *tchttp.BaseRequest // RO group ID. RoGroupId *string `json:"RoGroupId,omitempty" name:"RoGroupId"` // RO group details. RoGroupInfo *RoGroupAttr `json:"RoGroupInfo,omitempty" name:"RoGroupInfo"` // Weights of instances in RO group. If the weighting mode of an RO group is changed to custom mode, this parameter must be set, and a weight value needs to be set for each RO instance. RoWeightValues []*RoWeightValue `json:"RoWeightValues,omitempty" name:"RoWeightValues"` // Whether to rebalance the loads of read-only replicas in the RO group. Valid values: `1` (yes), `0` (no). Default value: `0`. If this parameter is set to `1`, connections to the read-only replicas in the RO group will be interrupted transiently. Please ensure that your application has a reconnection mechanism. IsBalanceRoLoad *int64 `json:"IsBalanceRoLoad,omitempty" name:"IsBalanceRoLoad"` // This field has been deprecated. ReplicationDelayTime *int64 `json:"ReplicationDelayTime,omitempty" name:"ReplicationDelayTime"` }
func NewModifyRoGroupInfoRequest ¶
func NewModifyRoGroupInfoRequest() (request *ModifyRoGroupInfoRequest)
func (*ModifyRoGroupInfoRequest) FromJsonString ¶
func (r *ModifyRoGroupInfoRequest) 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 (*ModifyRoGroupInfoRequest) ToJsonString ¶
func (r *ModifyRoGroupInfoRequest) ToJsonString() string
type ModifyRoGroupInfoRequestParams ¶
type ModifyRoGroupInfoRequestParams struct { // RO group ID. RoGroupId *string `json:"RoGroupId,omitempty" name:"RoGroupId"` // RO group details. RoGroupInfo *RoGroupAttr `json:"RoGroupInfo,omitempty" name:"RoGroupInfo"` // Weights of instances in RO group. If the weighting mode of an RO group is changed to custom mode, this parameter must be set, and a weight value needs to be set for each RO instance. RoWeightValues []*RoWeightValue `json:"RoWeightValues,omitempty" name:"RoWeightValues"` // Whether to rebalance the loads of read-only replicas in the RO group. Valid values: `1` (yes), `0` (no). Default value: `0`. If this parameter is set to `1`, connections to the read-only replicas in the RO group will be interrupted transiently. Please ensure that your application has a reconnection mechanism. IsBalanceRoLoad *int64 `json:"IsBalanceRoLoad,omitempty" name:"IsBalanceRoLoad"` // This field has been deprecated. ReplicationDelayTime *int64 `json:"ReplicationDelayTime,omitempty" name:"ReplicationDelayTime"` }
Predefined struct for user
type ModifyRoGroupInfoResponse ¶
type ModifyRoGroupInfoResponse struct { *tchttp.BaseResponse Response *ModifyRoGroupInfoResponseParams `json:"Response"` }
func NewModifyRoGroupInfoResponse ¶
func NewModifyRoGroupInfoResponse() (response *ModifyRoGroupInfoResponse)
func (*ModifyRoGroupInfoResponse) FromJsonString ¶
func (r *ModifyRoGroupInfoResponse) 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 (*ModifyRoGroupInfoResponse) ToJsonString ¶
func (r *ModifyRoGroupInfoResponse) ToJsonString() string
type ModifyRoGroupInfoResponseParams ¶
type ModifyRoGroupInfoResponseParams struct { // Async task ID. // Note: this field may return `null`, indicating that no valid values can be obtained. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTimeWindowRequest ¶
type ModifyTimeWindowRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Time period available for maintenance after modification in the format of 10:00-12:00. Each period lasts from half an hour to three hours, with the start time and end time aligned by half-hour. Up to two time periods can be set. Start and end time range: [00:00, 24:00]. TimeRanges []*string `json:"TimeRanges,omitempty" name:"TimeRanges"` // Specifies for which day to modify the time period. Value range: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. If it is not specified or is left blank, the time period will be modified for every day by default. Weekdays []*string `json:"Weekdays,omitempty" name:"Weekdays"` // Data delay threshold. It takes effect only for source instance and disaster recovery instance. Default value: 10. MaxDelayTime *uint64 `json:"MaxDelayTime,omitempty" name:"MaxDelayTime"` }
func NewModifyTimeWindowRequest ¶
func NewModifyTimeWindowRequest() (request *ModifyTimeWindowRequest)
func (*ModifyTimeWindowRequest) FromJsonString ¶
func (r *ModifyTimeWindowRequest) 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 (*ModifyTimeWindowRequest) ToJsonString ¶
func (r *ModifyTimeWindowRequest) ToJsonString() string
type ModifyTimeWindowRequestParams ¶
type ModifyTimeWindowRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Time period available for maintenance after modification in the format of 10:00-12:00. Each period lasts from half an hour to three hours, with the start time and end time aligned by half-hour. Up to two time periods can be set. Start and end time range: [00:00, 24:00]. TimeRanges []*string `json:"TimeRanges,omitempty" name:"TimeRanges"` // Specifies for which day to modify the time period. Value range: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. If it is not specified or is left blank, the time period will be modified for every day by default. Weekdays []*string `json:"Weekdays,omitempty" name:"Weekdays"` // Data delay threshold. It takes effect only for source instance and disaster recovery instance. Default value: 10. MaxDelayTime *uint64 `json:"MaxDelayTime,omitempty" name:"MaxDelayTime"` }
Predefined struct for user
type ModifyTimeWindowResponse ¶
type ModifyTimeWindowResponse struct { *tchttp.BaseResponse Response *ModifyTimeWindowResponseParams `json:"Response"` }
func NewModifyTimeWindowResponse ¶
func NewModifyTimeWindowResponse() (response *ModifyTimeWindowResponse)
func (*ModifyTimeWindowResponse) FromJsonString ¶
func (r *ModifyTimeWindowResponse) 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 (*ModifyTimeWindowResponse) ToJsonString ¶
func (r *ModifyTimeWindowResponse) ToJsonString() string
type ModifyTimeWindowResponseParams ¶
type ModifyTimeWindowResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type OfflineIsolatedInstancesRequest ¶
type OfflineIsolatedInstancesRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
func NewOfflineIsolatedInstancesRequest ¶
func NewOfflineIsolatedInstancesRequest() (request *OfflineIsolatedInstancesRequest)
func (*OfflineIsolatedInstancesRequest) FromJsonString ¶
func (r *OfflineIsolatedInstancesRequest) 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 (*OfflineIsolatedInstancesRequest) ToJsonString ¶
func (r *OfflineIsolatedInstancesRequest) ToJsonString() string
type OfflineIsolatedInstancesRequestParams ¶
type OfflineIsolatedInstancesRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
Predefined struct for user
type OfflineIsolatedInstancesResponse ¶
type OfflineIsolatedInstancesResponse struct { *tchttp.BaseResponse Response *OfflineIsolatedInstancesResponseParams `json:"Response"` }
func NewOfflineIsolatedInstancesResponse ¶
func NewOfflineIsolatedInstancesResponse() (response *OfflineIsolatedInstancesResponse)
func (*OfflineIsolatedInstancesResponse) FromJsonString ¶
func (r *OfflineIsolatedInstancesResponse) 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 (*OfflineIsolatedInstancesResponse) ToJsonString ¶
func (r *OfflineIsolatedInstancesResponse) ToJsonString() string
type OfflineIsolatedInstancesResponseParams ¶
type OfflineIsolatedInstancesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type OpenDBInstanceGTIDRequest ¶
type OpenDBInstanceGTIDRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewOpenDBInstanceGTIDRequest ¶
func NewOpenDBInstanceGTIDRequest() (request *OpenDBInstanceGTIDRequest)
func (*OpenDBInstanceGTIDRequest) FromJsonString ¶
func (r *OpenDBInstanceGTIDRequest) 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 (*OpenDBInstanceGTIDRequest) ToJsonString ¶
func (r *OpenDBInstanceGTIDRequest) ToJsonString() string
type OpenDBInstanceGTIDRequestParams ¶
type OpenDBInstanceGTIDRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type OpenDBInstanceGTIDResponse ¶
type OpenDBInstanceGTIDResponse struct { *tchttp.BaseResponse Response *OpenDBInstanceGTIDResponseParams `json:"Response"` }
func NewOpenDBInstanceGTIDResponse ¶
func NewOpenDBInstanceGTIDResponse() (response *OpenDBInstanceGTIDResponse)
func (*OpenDBInstanceGTIDResponse) FromJsonString ¶
func (r *OpenDBInstanceGTIDResponse) 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 (*OpenDBInstanceGTIDResponse) ToJsonString ¶
func (r *OpenDBInstanceGTIDResponse) ToJsonString() string
type OpenDBInstanceGTIDResponseParams ¶
type OpenDBInstanceGTIDResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type OpenWanServiceRequest ¶
type OpenWanServiceRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewOpenWanServiceRequest ¶
func NewOpenWanServiceRequest() (request *OpenWanServiceRequest)
func (*OpenWanServiceRequest) FromJsonString ¶
func (r *OpenWanServiceRequest) 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 (*OpenWanServiceRequest) ToJsonString ¶
func (r *OpenWanServiceRequest) ToJsonString() string
type OpenWanServiceRequestParams ¶
type OpenWanServiceRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type OpenWanServiceResponse ¶
type OpenWanServiceResponse struct { *tchttp.BaseResponse Response *OpenWanServiceResponseParams `json:"Response"` }
func NewOpenWanServiceResponse ¶
func NewOpenWanServiceResponse() (response *OpenWanServiceResponse)
func (*OpenWanServiceResponse) FromJsonString ¶
func (r *OpenWanServiceResponse) 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 (*OpenWanServiceResponse) ToJsonString ¶
func (r *OpenWanServiceResponse) ToJsonString() string
type OpenWanServiceResponseParams ¶
type OpenWanServiceResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Outbound ¶
type Outbound struct { // Policy, which can be ACCEPT or DROP Action *string `json:"Action,omitempty" name:"Action"` // Destination IP or IP range, such as 172.16.0.0/12 CidrIp *string `json:"CidrIp,omitempty" name:"CidrIp"` // Port or port range PortRange *string `json:"PortRange,omitempty" name:"PortRange"` // Network protocol. UDP and TCP are supported IpProtocol *string `json:"IpProtocol,omitempty" name:"IpProtocol"` // The direction of the rule, which is OUTPUT for inbound rules Dir *string `json:"Dir,omitempty" name:"Dir"` // Rule description Desc *string `json:"Desc,omitempty" name:"Desc"` }
type ParamRecord ¶
type ParamRecord struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Parameter name ParamName *string `json:"ParamName,omitempty" name:"ParamName"` // Parameter value before modification OldValue *string `json:"OldValue,omitempty" name:"OldValue"` // Parameter value after modification NewValue *string `json:"NewValue,omitempty" name:"NewValue"` // Whether the parameter is modified successfully IsSucess *bool `json:"IsSucess,omitempty" name:"IsSucess"` // Modification time ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` }
type ParamTemplateInfo ¶
type ParamTemplateInfo struct { // Parameter template ID TemplateId *int64 `json:"TemplateId,omitempty" name:"TemplateId"` // Parameter template name Name *string `json:"Name,omitempty" name:"Name"` // Parameter template description Description *string `json:"Description,omitempty" name:"Description"` // Instance engine version EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // Parameter template type TemplateType *string `json:"TemplateType,omitempty" name:"TemplateType"` }
type ParameterDetail ¶
type ParameterDetail struct { // Parameter name Name *string `json:"Name,omitempty" name:"Name"` // Parameter type. Valid values: `integer`, `enum`, `float`, `string`, `func` ParamType *string `json:"ParamType,omitempty" name:"ParamType"` // Default value of the parameter Default *string `json:"Default,omitempty" name:"Default"` // Parameter description Description *string `json:"Description,omitempty" name:"Description"` // Current value of the parameter CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"` // Whether the database needs to be restarted for the modified parameter to take effect. Value range: 0 (no); 1 (yes) NeedReboot *int64 `json:"NeedReboot,omitempty" name:"NeedReboot"` // Maximum value of the parameter Max *int64 `json:"Max,omitempty" name:"Max"` // Minimum value of the parameter Min *int64 `json:"Min,omitempty" name:"Min"` // Enumerated values of the parameter. It is null if the parameter is non-enumerated EnumValue []*string `json:"EnumValue,omitempty" name:"EnumValue"` // Maximum parameter value, which is valid only when `ParamType` is set to `func` MaxFunc *string `json:"MaxFunc,omitempty" name:"MaxFunc"` // Minimum parameter value, which is valid only when `ParamType` is set to `func` MinFunc *string `json:"MinFunc,omitempty" name:"MinFunc"` }
type PoolConf ¶
type PoolConf struct { // Connection pool type. Valid value: `SessionConnectionPool` (session-level connection pool) // Note: this field may return `null`, indicating that no valid value can be found. ConnectionPoolType *string `json:"ConnectionPoolType,omitempty" name:"ConnectionPoolType"` // Maximum value of connection persistence timeout in seconds // Note: this field may return `null`, indicating that no valid value can be found. MaxPoolConnectionTimeOut *int64 `json:"MaxPoolConnectionTimeOut,omitempty" name:"MaxPoolConnectionTimeOut"` // Minimum value of connection persistence timeout in seconds // Note: this field may return `null`, indicating that no valid value can be found. MinPoolConnectionTimeOut *int64 `json:"MinPoolConnectionTimeOut,omitempty" name:"MinPoolConnectionTimeOut"` }
type ProxyGroup ¶
type ProxyGroup struct { // Basic information of the proxy // Note: this field may return `null`, indicating that no valid value can be found. BaseGroup *BaseGroupInfo `json:"BaseGroup,omitempty" name:"BaseGroup"` // Address information of the proxy // Note: this field may return `null`, indicating that no valid value can be found. Address []*Address `json:"Address,omitempty" name:"Address"` // Connection pool information of the proxy // Note: this field may return `null`, indicating that no valid value can be found. ConnectionPoolInfo *ConnectionPoolInfo `json:"ConnectionPoolInfo,omitempty" name:"ConnectionPoolInfo"` // Node information of the proxy // Note: this field may return `null`, indicating that no valid value can be found. ProxyNode []*ProxyNodeInfo `json:"ProxyNode,omitempty" name:"ProxyNode"` // Routing information of the proxy // Note: this field may return `null`, indicating that no valid value can be found. RWInstInfo *RWInfo `json:"RWInstInfo,omitempty" name:"RWInstInfo"` }
type ProxyGroups ¶
type ProxyGroups struct { // Basic information of the proxy // Note: this field may return `null`, indicating that no valid value can be found. BaseGroup *BaseGroupInfo `json:"BaseGroup,omitempty" name:"BaseGroup"` // Address information of the proxy // Note: this field may return `null`, indicating that no valid value can be found. Address []*Address `json:"Address,omitempty" name:"Address"` // Connection pool information of the proxy // Note: this field may return `null`, indicating that no valid value can be found. ConnectionPoolInfo *ConnectionPoolInfo `json:"ConnectionPoolInfo,omitempty" name:"ConnectionPoolInfo"` // Node information of the proxy // Note: this field may return `null`, indicating that no valid value can be found. ProxyNode []*ProxyNodeInfo `json:"ProxyNode,omitempty" name:"ProxyNode"` // Routing information of the proxy // Note: this field may return `null`, indicating that no valid value can be found. RWInstInfo *RWInfos `json:"RWInstInfo,omitempty" name:"RWInstInfo"` }
type ProxyNodeInfo ¶
type ProxyNodeInfo struct { // Proxy node ID // Note: this field may return `null`, indicating that no valid value can be found. ProxyNodeId *string `json:"ProxyNodeId,omitempty" name:"ProxyNodeId"` // Current number of connections to the node // Note: this field may return `null`, indicating that no valid value can be found. ProxyNodeConnections *uint64 `json:"ProxyNodeConnections,omitempty" name:"ProxyNodeConnections"` // CPU // Note: this field may return `null`, indicating that no valid value can be found. ProxyNodeCpu *uint64 `json:"ProxyNodeCpu,omitempty" name:"ProxyNodeCpu"` // Memory // Note: this field may return `null`, indicating that no valid value can be found. ProxyNodeMem *uint64 `json:"ProxyNodeMem,omitempty" name:"ProxyNodeMem"` // Node status: // init (applying) // online (active) // offline (inactive) // destroy (destroyed) // recovering (recovering from fault) // error (failed) // Note: this field may return `null`, indicating that no valid value can be found. ProxyStatus *string `json:"ProxyStatus,omitempty" name:"ProxyStatus"` }
type QueryCDBProxyRequest ¶
type QueryCDBProxyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Proxy ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` }
func NewQueryCDBProxyRequest ¶
func NewQueryCDBProxyRequest() (request *QueryCDBProxyRequest)
func (*QueryCDBProxyRequest) FromJsonString ¶
func (r *QueryCDBProxyRequest) 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 (*QueryCDBProxyRequest) ToJsonString ¶
func (r *QueryCDBProxyRequest) ToJsonString() string
type QueryCDBProxyRequestParams ¶
type QueryCDBProxyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Proxy ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` }
Predefined struct for user
type QueryCDBProxyResponse ¶
type QueryCDBProxyResponse struct { *tchttp.BaseResponse Response *QueryCDBProxyResponseParams `json:"Response"` }
func NewQueryCDBProxyResponse ¶
func NewQueryCDBProxyResponse() (response *QueryCDBProxyResponse)
func (*QueryCDBProxyResponse) FromJsonString ¶
func (r *QueryCDBProxyResponse) 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 (*QueryCDBProxyResponse) ToJsonString ¶
func (r *QueryCDBProxyResponse) ToJsonString() string
type QueryCDBProxyResponseParams ¶
type QueryCDBProxyResponseParams struct { // Number of instances in the proxy group // Note: this field may return `null`, indicating that no valid value can be found. Count *uint64 `json:"Count,omitempty" name:"Count"` // Proxy information // Note: this field may return `null`, indicating that no valid value can be found. ProxyGroup []*ProxyGroups `json:"ProxyGroup,omitempty" name:"ProxyGroup"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RWInfo ¶
type RWInfo struct { // Number of instances in the proxy group // Note: this field may return `null`, indicating that no valid value can be found. InstCount *uint64 `json:"InstCount,omitempty" name:"InstCount"` // Assignment mode of read/write weights // Valid values: `system` (auto-assigned), `custom` // Note: this field may return `null`, indicating that no valid value can be found. WeightMode *string `json:"WeightMode,omitempty" name:"WeightMode"` // Whether to remove delayed read-only instances from the proxy group // Note: this field may return `null`, indicating that no valid value can be found. IsKickOut *bool `json:"IsKickOut,omitempty" name:"IsKickOut"` // The minimum number of read-only instances allowed by the proxy group // Note: this field may return `null`, indicating that no valid value can be found. MinCount *uint64 `json:"MinCount,omitempty" name:"MinCount"` // Delay threshold // Note: this field may return `null`, indicating that no valid value can be found. MaxDelay *uint64 `json:"MaxDelay,omitempty" name:"MaxDelay"` // Whether to enable failover // Note: this field may return `null`, indicating that no valid value can be found. FailOver *bool `json:"FailOver,omitempty" name:"FailOver"` // Whether to automatically add newly created read-only instances to the proxy group // Note: this field may return `null`, indicating that no valid value can be found. AutoAddRo *bool `json:"AutoAddRo,omitempty" name:"AutoAddRo"` // Information of instances in the proxy group // Note: this field may return `null`, indicating that no valid value can be found. RWInstInfo *RWInstanceInfo `json:"RWInstInfo,omitempty" name:"RWInstInfo"` }
type RWInfos ¶
type RWInfos struct { // Number of instances in the proxy group // Note: this field may return `null`, indicating that no valid value can be found. InstCount *uint64 `json:"InstCount,omitempty" name:"InstCount"` // Assignment mode of read/write weights // Valid values: `system` (auto-assigned), `custom` // Note: this field may return `null`, indicating that no valid value can be found. WeightMode *string `json:"WeightMode,omitempty" name:"WeightMode"` // Whether to remove delayed read-only instances from the proxy group // Note: this field may return `null`, indicating that no valid value can be found. IsKickOut *bool `json:"IsKickOut,omitempty" name:"IsKickOut"` // The minimum number of read-only instances allowed by the proxy group // Note: this field may return `null`, indicating that no valid value can be found. MinCount *uint64 `json:"MinCount,omitempty" name:"MinCount"` // Delay threshold // Note: this field may return `null`, indicating that no valid value can be found. MaxDelay *uint64 `json:"MaxDelay,omitempty" name:"MaxDelay"` // Whether to enable failover // Note: this field may return `null`, indicating that no valid value can be found. FailOver *bool `json:"FailOver,omitempty" name:"FailOver"` // Whether to automatically add newly created read-only instances to the proxy group // Note: this field may return `null`, indicating that no valid value can be found. AutoAddRo *bool `json:"AutoAddRo,omitempty" name:"AutoAddRo"` // Information of instances in the proxy group // Note: this field may return `null`, indicating that no valid value can be found. RWInstInfo []*RWInstanceInfo `json:"RWInstInfo,omitempty" name:"RWInstInfo"` }
type RWInstanceInfo ¶
type RWInstanceInfo struct { }
type RegionSellConf ¶
type RegionSellConf struct { // Region name RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // Area Area *string `json:"Area,omitempty" name:"Area"` // Whether it is a default region IsDefaultRegion *int64 `json:"IsDefaultRegion,omitempty" name:"IsDefaultRegion"` // Region name Region *string `json:"Region,omitempty" name:"Region"` // Sale configuration of the AZ ZonesConf []*ZoneSellConf `json:"ZonesConf,omitempty" name:"ZonesConf"` }
type ReleaseIsolatedDBInstancesRequest ¶
type ReleaseIsolatedDBInstancesRequest struct { *tchttp.BaseRequest // Array of instance IDs in the format of `cdb-c1nl9rpv`. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [DescribeDBInstances](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) API to query the ID, whose value is the `InstanceId` value in the output parameters. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
func NewReleaseIsolatedDBInstancesRequest ¶
func NewReleaseIsolatedDBInstancesRequest() (request *ReleaseIsolatedDBInstancesRequest)
func (*ReleaseIsolatedDBInstancesRequest) FromJsonString ¶
func (r *ReleaseIsolatedDBInstancesRequest) 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 (*ReleaseIsolatedDBInstancesRequest) ToJsonString ¶
func (r *ReleaseIsolatedDBInstancesRequest) ToJsonString() string
type ReleaseIsolatedDBInstancesRequestParams ¶
type ReleaseIsolatedDBInstancesRequestParams struct { // Array of instance IDs in the format of `cdb-c1nl9rpv`. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [DescribeDBInstances](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) API to query the ID, whose value is the `InstanceId` value in the output parameters. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
Predefined struct for user
type ReleaseIsolatedDBInstancesResponse ¶
type ReleaseIsolatedDBInstancesResponse struct { *tchttp.BaseResponse Response *ReleaseIsolatedDBInstancesResponseParams `json:"Response"` }
func NewReleaseIsolatedDBInstancesResponse ¶
func NewReleaseIsolatedDBInstancesResponse() (response *ReleaseIsolatedDBInstancesResponse)
func (*ReleaseIsolatedDBInstancesResponse) FromJsonString ¶
func (r *ReleaseIsolatedDBInstancesResponse) 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 (*ReleaseIsolatedDBInstancesResponse) ToJsonString ¶
func (r *ReleaseIsolatedDBInstancesResponse) ToJsonString() string
type ReleaseIsolatedDBInstancesResponseParams ¶
type ReleaseIsolatedDBInstancesResponseParams struct { // Deisolation result set. Items []*ReleaseResult `json:"Items,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ReleaseResult ¶
type ReleaseResult struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Result value of instance deisolation. A returned value of 0 indicates success. Code *int64 `json:"Code,omitempty" name:"Code"` // Error message for instance deisolation. Message *string `json:"Message,omitempty" name:"Message"` }
type ReloadBalanceProxyNodeRequest ¶
type ReloadBalanceProxyNodeRequest struct { *tchttp.BaseRequest // Proxy group ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` }
func NewReloadBalanceProxyNodeRequest ¶
func NewReloadBalanceProxyNodeRequest() (request *ReloadBalanceProxyNodeRequest)
func (*ReloadBalanceProxyNodeRequest) FromJsonString ¶
func (r *ReloadBalanceProxyNodeRequest) 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 (*ReloadBalanceProxyNodeRequest) ToJsonString ¶
func (r *ReloadBalanceProxyNodeRequest) ToJsonString() string
type ReloadBalanceProxyNodeRequestParams ¶
type ReloadBalanceProxyNodeRequestParams struct { // Proxy group ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` }
Predefined struct for user
type ReloadBalanceProxyNodeResponse ¶
type ReloadBalanceProxyNodeResponse struct { *tchttp.BaseResponse Response *ReloadBalanceProxyNodeResponseParams `json:"Response"` }
func NewReloadBalanceProxyNodeResponse ¶
func NewReloadBalanceProxyNodeResponse() (response *ReloadBalanceProxyNodeResponse)
func (*ReloadBalanceProxyNodeResponse) FromJsonString ¶
func (r *ReloadBalanceProxyNodeResponse) 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 (*ReloadBalanceProxyNodeResponse) ToJsonString ¶
func (r *ReloadBalanceProxyNodeResponse) ToJsonString() string
type ReloadBalanceProxyNodeResponseParams ¶
type ReloadBalanceProxyNodeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetRootAccountRequest ¶
type ResetRootAccountRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewResetRootAccountRequest ¶
func NewResetRootAccountRequest() (request *ResetRootAccountRequest)
func (*ResetRootAccountRequest) FromJsonString ¶
func (r *ResetRootAccountRequest) 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 (*ResetRootAccountRequest) ToJsonString ¶
func (r *ResetRootAccountRequest) ToJsonString() string
type ResetRootAccountRequestParams ¶
type ResetRootAccountRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type ResetRootAccountResponse ¶
type ResetRootAccountResponse struct { *tchttp.BaseResponse Response *ResetRootAccountResponseParams `json:"Response"` }
func NewResetRootAccountResponse ¶
func NewResetRootAccountResponse() (response *ResetRootAccountResponse)
func (*ResetRootAccountResponse) FromJsonString ¶
func (r *ResetRootAccountResponse) 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 (*ResetRootAccountResponse) ToJsonString ¶
func (r *ResetRootAccountResponse) ToJsonString() string
type ResetRootAccountResponseParams ¶
type ResetRootAccountResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RestartDBInstancesRequest ¶
type RestartDBInstancesRequest struct { *tchttp.BaseRequest // Array of instance IDs in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
func NewRestartDBInstancesRequest ¶
func NewRestartDBInstancesRequest() (request *RestartDBInstancesRequest)
func (*RestartDBInstancesRequest) FromJsonString ¶
func (r *RestartDBInstancesRequest) 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 (*RestartDBInstancesRequest) ToJsonString ¶
func (r *RestartDBInstancesRequest) ToJsonString() string
type RestartDBInstancesRequestParams ¶
type RestartDBInstancesRequestParams struct { // Array of instance IDs in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
Predefined struct for user
type RestartDBInstancesResponse ¶
type RestartDBInstancesResponse struct { *tchttp.BaseResponse Response *RestartDBInstancesResponseParams `json:"Response"` }
func NewRestartDBInstancesResponse ¶
func NewRestartDBInstancesResponse() (response *RestartDBInstancesResponse)
func (*RestartDBInstancesResponse) FromJsonString ¶
func (r *RestartDBInstancesResponse) 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 (*RestartDBInstancesResponse) ToJsonString ¶
func (r *RestartDBInstancesResponse) ToJsonString() string
type RestartDBInstancesResponseParams ¶
type RestartDBInstancesResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RoGroup ¶
type RoGroup struct { // Read-only group mode. Valid values: `alone` (the system assigns a read-only group automatically), `allinone` (a new read-only group will be created), `join` (an existing read-only group will be used). RoGroupMode *string `json:"RoGroupMode,omitempty" name:"RoGroupMode"` // Read-only group ID. RoGroupId *string `json:"RoGroupId,omitempty" name:"RoGroupId"` // Read-only group name. RoGroupName *string `json:"RoGroupName,omitempty" name:"RoGroupName"` // Whether to enable the function of isolating an instance that exceeds the latency threshold. If it is enabled, when the latency between the read-only instance and the primary instance exceeds the latency threshold, the read-only instance will be isolated. Valid values: 1 (enabled), 0 (not enabled) RoOfflineDelay *int64 `json:"RoOfflineDelay,omitempty" name:"RoOfflineDelay"` // Latency threshold RoMaxDelayTime *int64 `json:"RoMaxDelayTime,omitempty" name:"RoMaxDelayTime"` // Minimum number of instances to be retained. If the number of the purchased read-only instances is smaller than the set value, they will not be removed. MinRoInGroup *int64 `json:"MinRoInGroup,omitempty" name:"MinRoInGroup"` // Read/write weight distribution mode. Valid values: `system` (weights are assigned by the system automatically), `custom` (weights are customized) WeightMode *string `json:"WeightMode,omitempty" name:"WeightMode"` // Weight value. Weight *int64 `json:"Weight,omitempty" name:"Weight"` // Details of read-only instances in read-only group RoInstances []*RoInstanceInfo `json:"RoInstances,omitempty" name:"RoInstances"` // Private IP of read-only group. Vip *string `json:"Vip,omitempty" name:"Vip"` // Private network port number of read-only group. Vport *int64 `json:"Vport,omitempty" name:"Vport"` // VPC ID. // Note: this field may return null, indicating that no valid values can be obtained. UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // Subnet ID. // Note: this field may return null, indicating that no valid values can be obtained. UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // Read-only group region. // Note: this field may return null, indicating that no valid values can be obtained. RoGroupRegion *string `json:"RoGroupRegion,omitempty" name:"RoGroupRegion"` // Read-only group AZ. // Note: this field may return null, indicating that no valid values can be obtained. RoGroupZone *string `json:"RoGroupZone,omitempty" name:"RoGroupZone"` // Replication delay. // Note: this field may return `null`, indicating that no valid values can be obtained. DelayReplicationTime *int64 `json:"DelayReplicationTime,omitempty" name:"DelayReplicationTime"` }
type RoGroupAttr ¶
type RoGroupAttr struct { // RO group name. RoGroupName *string `json:"RoGroupName,omitempty" name:"RoGroupName"` // Maximum delay threshold for RO instances in seconds. Minimum value: 1. Please note that this value will take effect only if an instance removal policy is enabled in the RO group. RoMaxDelayTime *int64 `json:"RoMaxDelayTime,omitempty" name:"RoMaxDelayTime"` // Whether to enable instance removal. Valid values: 1 (enabled), 0 (not enabled). Please note that if instance removal is enabled, the delay threshold parameter (`RoMaxDelayTime`) must be set. RoOfflineDelay *int64 `json:"RoOfflineDelay,omitempty" name:"RoOfflineDelay"` // Minimum number of instances to be retained, which can be set to any value less than or equal to the number of RO instances in the RO group. Please note that if this value is set to be greater than the number of RO instances, no removal will be performed, and if it is set to 0, all instances with an excessive delay will be removed. MinRoInGroup *int64 `json:"MinRoInGroup,omitempty" name:"MinRoInGroup"` // Weighting mode. Supported values include `system` (automatically assigned by the system) and `custom` (defined by user). Please note that if the `custom` mode is selected, the RO instance weight configuration parameter (RoWeightValues) must be set. WeightMode *string `json:"WeightMode,omitempty" name:"WeightMode"` // Replication delay. ReplicationDelayTime *int64 `json:"ReplicationDelayTime,omitempty" name:"ReplicationDelayTime"` }
type RoInstanceInfo ¶
type RoInstanceInfo struct { // Master instance ID corresponding to the RO group MasterInstanceId *string `json:"MasterInstanceId,omitempty" name:"MasterInstanceId"` // RO instance status in the RO group. Value range: online, offline RoStatus *string `json:"RoStatus,omitempty" name:"RoStatus"` // Last deactivation time of a RO instance in the RO group OfflineTime *string `json:"OfflineTime,omitempty" name:"OfflineTime"` // RO instance weight in the RO group Weight *int64 `json:"Weight,omitempty" name:"Weight"` // RO instance region name, such as ap-shanghai Region *string `json:"Region,omitempty" name:"Region"` // Name of RO AZ, such as ap-shanghai-1 Zone *string `json:"Zone,omitempty" name:"Zone"` // RO instance ID in the format of cdbro-c1nl9rpv InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // RO instance status. Valid values: `0` (creating), `1` (running), `3` (remote RO), `4` (deleting). When the `DescribeDBInstances` API is used to query the information of the source instance, if the source instance is associated with a remote read-only instance, the returned status value of the remote read-only instance always shows 3. Status *int64 `json:"Status,omitempty" name:"Status"` // Instance type. Value range: 1 (primary), 2 (disaster recovery), 3 (read-only) InstanceType *int64 `json:"InstanceType,omitempty" name:"InstanceType"` // RO instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Pay-as-you-go billing status. Value range: 1 (normal), 2 (in arrears) HourFeeStatus *int64 `json:"HourFeeStatus,omitempty" name:"HourFeeStatus"` // RO instance task status. Value range: <br>0 - no task <br>1 - upgrading <br>2 - importing data <br>3 - activating secondary <br>4 - public network access enabled <br>5 - batch operation in progress <br>6 - rolling back <br>7 - public network access not enabled <br>8 - modifying password <br>9 - renaming instance <br>10 - restarting <br>12 - migrating self-built instance <br>13 - dropping table <br>14 - creating and syncing disaster recovery instance TaskStatus *int64 `json:"TaskStatus,omitempty" name:"TaskStatus"` // RO instance memory size in MB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // RO instance disk size in GB Volume *int64 `json:"Volume,omitempty" name:"Volume"` // Queries per second Qps *int64 `json:"Qps,omitempty" name:"Qps"` // Private IP address of the RO instance Vip *string `json:"Vip,omitempty" name:"Vip"` // Access port of the RO instance Vport *int64 `json:"Vport,omitempty" name:"Vport"` // VPC ID of the RO instance VpcId *int64 `json:"VpcId,omitempty" name:"VpcId"` // VPC subnet ID of the RO instance SubnetId *int64 `json:"SubnetId,omitempty" name:"SubnetId"` // RO instance specification description. Value range: CUSTOM DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // Database engine version of the read-only replica. Valid values: `5.1`, `5.5`, `5.6`, `5.7`, `8.0` EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // RO instance expiration time in the format of yyyy-mm-dd hh:mm:ss. If it is a pay-as-you-go instance, the value of this field is 0000-00-00 00:00:00 DeadlineTime *string `json:"DeadlineTime,omitempty" name:"DeadlineTime"` // RO instance billing method. Value range: 0 (monthly subscribed), 1 (pay-as-you-go), 2 (monthly postpaid) PayType *int64 `json:"PayType,omitempty" name:"PayType"` }
type RoVipInfo ¶
type RoVipInfo struct { // VIP status of the read-only instance RoVipStatus *int64 `json:"RoVipStatus,omitempty" name:"RoVipStatus"` // VPC subnet of the read-only instance RoSubnetId *int64 `json:"RoSubnetId,omitempty" name:"RoSubnetId"` // VPC of the read-only instance RoVpcId *int64 `json:"RoVpcId,omitempty" name:"RoVpcId"` // VIP port number of the read-only instance RoVport *int64 `json:"RoVport,omitempty" name:"RoVport"` // VIP of the read-only instance RoVip *string `json:"RoVip,omitempty" name:"RoVip"` }
type RoWeightValue ¶
type RollbackDBName ¶
type RollbackDBName struct { // Original database name before rollback // Note: this field may return null, indicating that no valid values can be obtained. DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // New database name after rollback // Note: this field may return null, indicating that no valid values can be obtained. NewDatabaseName *string `json:"NewDatabaseName,omitempty" name:"NewDatabaseName"` }
type RollbackInstancesInfo ¶
type RollbackInstancesInfo struct { // TencentDB instance ID // Note: this field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Rollback policy. Valid values: `table` (ultrafast mode), `db` (faster mode), and `full` (fast mode). Default value: `full`. In the ultrafast mode, only backups and binlogs of the tables specified by the `Tables` parameter are imported; if `Tables` does not include all of the tables involved in cross-table operations, the rollback may fail; and the `Database` parameter must be left empty. In the faster mode, only backups and binlogs of the databases specified by the `Databases` parameter are imported, and if `Databases` does not include all of the databases involved in cross-database operations, the rollback may fail. In the fast mode, backups and binlogs of the entire instance will be imported in a speed slower than the other modes. Strategy *string `json:"Strategy,omitempty" name:"Strategy"` // Database rollback time in the format of yyyy-mm-dd hh:mm:ss RollbackTime *string `json:"RollbackTime,omitempty" name:"RollbackTime"` // Information of the databases to be rolled back, which means rollback at the database level // Note: this field may return null, indicating that no valid values can be obtained. Databases []*RollbackDBName `json:"Databases,omitempty" name:"Databases"` // Information of the tables to be rolled back, which means rollback at the table level // Note: this field may return null, indicating that no valid values can be obtained. Tables []*RollbackTables `json:"Tables,omitempty" name:"Tables"` }
type RollbackTableName ¶
type RollbackTableName struct { // Original table name before rollback // Note: this field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,omitempty" name:"TableName"` // New table name after rollback // Note: this field may return null, indicating that no valid values can be obtained. NewTableName *string `json:"NewTableName,omitempty" name:"NewTableName"` }
type RollbackTables ¶
type RollbackTables struct { // Database name // Note: this field may return null, indicating that no valid values can be obtained. Database *string `json:"Database,omitempty" name:"Database"` // Table details // Note: this field may return null, indicating that no valid values can be obtained. Table []*RollbackTableName `json:"Table,omitempty" name:"Table"` }
type RollbackTask ¶
type RollbackTask struct { // Task execution information. Info *string `json:"Info,omitempty" name:"Info"` // Task execution result. Valid values: INITIAL: initializing, RUNNING: running, SUCCESS: succeeded, FAILED: failed, KILLED: terminated, REMOVED: deleted, PAUSED: paused. Status *string `json:"Status,omitempty" name:"Status"` // Task execution progress. Value range: [0,100]. Progress *int64 `json:"Progress,omitempty" name:"Progress"` // Task start time. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Task end time. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Rollback task details. // Note: this field may return null, indicating that no valid values can be obtained. Detail []*RollbackInstancesInfo `json:"Detail,omitempty" name:"Detail"` }
type RollbackTimeRange ¶
type RollbackTimeRange struct { // Start time available for rollback in the format of yyyy-MM-dd HH:mm:ss, such as 2016-10-29 01:06:04 Begin *string `json:"Begin,omitempty" name:"Begin"` // End time available for rollback in the format of yyyy-MM-dd HH:mm:ss, such as 2016-11-02 11:44:47 End *string `json:"End,omitempty" name:"End"` }
type Rule ¶
type Rule struct { // The maximum weight // Note: this field may return `null`, indicating that no valid value can be found. LessThan *uint64 `json:"LessThan,omitempty" name:"LessThan"` // Weight // Note: this field may return `null`, indicating that no valid value can be found. Weight *uint64 `json:"Weight,omitempty" name:"Weight"` }
type SecurityGroup ¶
type SecurityGroup struct { // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Creation time in the format of yyyy-mm-dd hh:mm:ss CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Inbound rule Inbound []*Inbound `json:"Inbound,omitempty" name:"Inbound"` // Outbound rule Outbound []*Outbound `json:"Outbound,omitempty" name:"Outbound"` // Security group ID SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // Security group name SecurityGroupName *string `json:"SecurityGroupName,omitempty" name:"SecurityGroupName"` // Security group remarks SecurityGroupRemark *string `json:"SecurityGroupRemark,omitempty" name:"SecurityGroupRemark"` }
type SellConfig ¶
type SellConfig struct { // (Disused) Device type Device *string `json:"Device,omitempty" name:"Device"` // (Disused) Purchasable specification description Type *string `json:"Type,omitempty" name:"Type"` // (Disused) Instance type CdbType *string `json:"CdbType,omitempty" name:"CdbType"` // Memory size in MB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // CPU core count Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Minimum disk size in GB VolumeMin *int64 `json:"VolumeMin,omitempty" name:"VolumeMin"` // Maximum disk size in GB VolumeMax *int64 `json:"VolumeMax,omitempty" name:"VolumeMax"` // Disk increment in GB VolumeStep *int64 `json:"VolumeStep,omitempty" name:"VolumeStep"` // Number of connections Connection *int64 `json:"Connection,omitempty" name:"Connection"` // Queries per second Qps *int64 `json:"Qps,omitempty" name:"Qps"` // IOs per second Iops *int64 `json:"Iops,omitempty" name:"Iops"` // Application scenario description Info *string `json:"Info,omitempty" name:"Info"` // Status. Value `0` indicates that this specification is purchasable. Status *int64 `json:"Status,omitempty" name:"Status"` // (Disused) Tag value Tag *int64 `json:"Tag,omitempty" name:"Tag"` // Instance resource isolation type. Valid values: `UNIVERSAL` (general instance), `EXCLUSIVE` (dedicated instance), `BASIC` (basic instance). // Note: `null` may be returned for this field, indicating that no valid values can be obtained. DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // Instance resource isolation type. Valid values: `UNIVERSAL` (general instance), `EXCLUSIVE` (dedicated instance), `BASIC` (basic instance). // Note: `null` may be returned for this field, indicating that no valid values can be obtained. DeviceTypeName *string `json:"DeviceTypeName,omitempty" name:"DeviceTypeName"` // Engine type. Valid values: `Innodb`,`RocksDB`. // Note: This field may return null, indicating that no valid value can be obtained. EngineType *string `json:"EngineType,omitempty" name:"EngineType"` }
type SellType ¶
type SellType struct { // Name of the purchasable instance TypeName *string `json:"TypeName,omitempty" name:"TypeName"` // Kernel version number EngineVersion []*string `json:"EngineVersion,omitempty" name:"EngineVersion"` // Configuration details of a purchasable specification Configs []*SellConfig `json:"Configs,omitempty" name:"Configs"` }
type SlaveConfig ¶
type SlaveInfo ¶
type SlaveInfo struct { // Information of secondary server 1 First *SlaveInstanceInfo `json:"First,omitempty" name:"First"` // Information of secondary server 2 // Note: This field may return null, indicating that no valid values can be obtained. Second *SlaveInstanceInfo `json:"Second,omitempty" name:"Second"` }
type SlaveInstanceInfo ¶
type SlaveInstanceInfo struct { // Port number Vport *int64 `json:"Vport,omitempty" name:"Vport"` // Region information Region *string `json:"Region,omitempty" name:"Region"` // Virtual IP information Vip *string `json:"Vip,omitempty" name:"Vip"` // AZ information Zone *string `json:"Zone,omitempty" name:"Zone"` }
type SlowLogInfo ¶
type SlowLogInfo struct { // Backup filename Name *string `json:"Name,omitempty" name:"Name"` // Backup file size in bytes Size *int64 `json:"Size,omitempty" name:"Size"` // Backup snapshot time in the format of yyyy-MM-dd HH:mm:ss, such as 2016-03-17 02:10:37 Date *string `json:"Date,omitempty" name:"Date"` // Download address on the private network IntranetUrl *string `json:"IntranetUrl,omitempty" name:"IntranetUrl"` // Download address on the public network InternetUrl *string `json:"InternetUrl,omitempty" name:"InternetUrl"` // Log type. Value range: slowlog (slow log) Type *string `json:"Type,omitempty" name:"Type"` }
type SlowLogItem ¶
type SlowLogItem struct { // SQL execution time. // Note: this field may return null, indicating that no valid values can be obtained. Timestamp *uint64 `json:"Timestamp,omitempty" name:"Timestamp"` // SQL execution duration in seconds. // Note: this field may return `null`, indicating that no valid values can be obtained. QueryTime *float64 `json:"QueryTime,omitempty" name:"QueryTime"` // SQL statement. // Note: this field may return null, indicating that no valid values can be obtained. SqlText *string `json:"SqlText,omitempty" name:"SqlText"` // Client address. // Note: this field may return null, indicating that no valid values can be obtained. UserHost *string `json:"UserHost,omitempty" name:"UserHost"` // Username. // Note: this field may return null, indicating that no valid values can be obtained. UserName *string `json:"UserName,omitempty" name:"UserName"` // Database name. // Note: this field may return null, indicating that no valid values can be obtained. Database *string `json:"Database,omitempty" name:"Database"` // Lock duration in seconds. // Note: this field may return `null`, indicating that no valid values can be obtained. LockTime *float64 `json:"LockTime,omitempty" name:"LockTime"` // Number of scanned rows. // Note: this field may return null, indicating that no valid values can be obtained. RowsExamined *int64 `json:"RowsExamined,omitempty" name:"RowsExamined"` // Number of rows in result set. // Note: this field may return null, indicating that no valid values can be obtained. RowsSent *int64 `json:"RowsSent,omitempty" name:"RowsSent"` // SQL template. // Note: this field may return null, indicating that no valid values can be obtained. SqlTemplate *string `json:"SqlTemplate,omitempty" name:"SqlTemplate"` // SQL statement MD5. // Note: this field may return null, indicating that no valid values can be obtained. Md5 *string `json:"Md5,omitempty" name:"Md5"` }
type SqlFileInfo ¶
type SqlFileInfo struct { // Upload time UploadTime *string `json:"UploadTime,omitempty" name:"UploadTime"` // Upload progress UploadInfo *UploadInfo `json:"UploadInfo,omitempty" name:"UploadInfo"` // Filename FileName *string `json:"FileName,omitempty" name:"FileName"` // File size in bytes FileSize *int64 `json:"FileSize,omitempty" name:"FileSize"` // Whether upload is finished. Valid values: 0 (not completed), 1 (completed) IsUploadFinished *int64 `json:"IsUploadFinished,omitempty" name:"IsUploadFinished"` // File ID FileId *string `json:"FileId,omitempty" name:"FileId"` }
type StartBatchRollbackRequest ¶
type StartBatchRollbackRequest struct { *tchttp.BaseRequest // Details of the instance for rollback Instances []*RollbackInstancesInfo `json:"Instances,omitempty" name:"Instances"` }
func NewStartBatchRollbackRequest ¶
func NewStartBatchRollbackRequest() (request *StartBatchRollbackRequest)
func (*StartBatchRollbackRequest) FromJsonString ¶
func (r *StartBatchRollbackRequest) 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 (*StartBatchRollbackRequest) ToJsonString ¶
func (r *StartBatchRollbackRequest) ToJsonString() string
type StartBatchRollbackRequestParams ¶
type StartBatchRollbackRequestParams struct { // Details of the instance for rollback Instances []*RollbackInstancesInfo `json:"Instances,omitempty" name:"Instances"` }
Predefined struct for user
type StartBatchRollbackResponse ¶
type StartBatchRollbackResponse struct { *tchttp.BaseResponse Response *StartBatchRollbackResponseParams `json:"Response"` }
func NewStartBatchRollbackResponse ¶
func NewStartBatchRollbackResponse() (response *StartBatchRollbackResponse)
func (*StartBatchRollbackResponse) FromJsonString ¶
func (r *StartBatchRollbackResponse) 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 (*StartBatchRollbackResponse) ToJsonString ¶
func (r *StartBatchRollbackResponse) ToJsonString() string
type StartBatchRollbackResponseParams ¶
type StartBatchRollbackResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type StartReplicationRequest ¶
type StartReplicationRequest struct { *tchttp.BaseRequest // Read-Only instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewStartReplicationRequest ¶
func NewStartReplicationRequest() (request *StartReplicationRequest)
func (*StartReplicationRequest) FromJsonString ¶
func (r *StartReplicationRequest) 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 (*StartReplicationRequest) ToJsonString ¶
func (r *StartReplicationRequest) ToJsonString() string
type StartReplicationRequestParams ¶
type StartReplicationRequestParams struct { // Read-Only instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type StartReplicationResponse ¶
type StartReplicationResponse struct { *tchttp.BaseResponse Response *StartReplicationResponseParams `json:"Response"` }
func NewStartReplicationResponse ¶
func NewStartReplicationResponse() (response *StartReplicationResponse)
func (*StartReplicationResponse) FromJsonString ¶
func (r *StartReplicationResponse) 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 (*StartReplicationResponse) ToJsonString ¶
func (r *StartReplicationResponse) ToJsonString() string
type StartReplicationResponseParams ¶
type StartReplicationResponseParams struct { // Async task ID. // Note: this field may return `null`, indicating that no valid values can be obtained. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type StopDBImportJobRequest ¶
type StopDBImportJobRequest struct { *tchttp.BaseRequest // Async task request ID. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` }
func NewStopDBImportJobRequest ¶
func NewStopDBImportJobRequest() (request *StopDBImportJobRequest)
func (*StopDBImportJobRequest) FromJsonString ¶
func (r *StopDBImportJobRequest) 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 (*StopDBImportJobRequest) ToJsonString ¶
func (r *StopDBImportJobRequest) ToJsonString() string
type StopDBImportJobRequestParams ¶
type StopDBImportJobRequestParams struct { // Async task request ID. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` }
Predefined struct for user
type StopDBImportJobResponse ¶
type StopDBImportJobResponse struct { *tchttp.BaseResponse Response *StopDBImportJobResponseParams `json:"Response"` }
func NewStopDBImportJobResponse ¶
func NewStopDBImportJobResponse() (response *StopDBImportJobResponse)
func (*StopDBImportJobResponse) FromJsonString ¶
func (r *StopDBImportJobResponse) 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 (*StopDBImportJobResponse) ToJsonString ¶
func (r *StopDBImportJobResponse) ToJsonString() string
type StopDBImportJobResponseParams ¶
type StopDBImportJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type StopReplicationRequest ¶
type StopReplicationRequest struct { *tchttp.BaseRequest // Read-Only instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewStopReplicationRequest ¶
func NewStopReplicationRequest() (request *StopReplicationRequest)
func (*StopReplicationRequest) FromJsonString ¶
func (r *StopReplicationRequest) 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 (*StopReplicationRequest) ToJsonString ¶
func (r *StopReplicationRequest) ToJsonString() string
type StopReplicationRequestParams ¶
type StopReplicationRequestParams struct { // Read-Only instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type StopReplicationResponse ¶
type StopReplicationResponse struct { *tchttp.BaseResponse Response *StopReplicationResponseParams `json:"Response"` }
func NewStopReplicationResponse ¶
func NewStopReplicationResponse() (response *StopReplicationResponse)
func (*StopReplicationResponse) FromJsonString ¶
func (r *StopReplicationResponse) 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 (*StopReplicationResponse) ToJsonString ¶
func (r *StopReplicationResponse) ToJsonString() string
type StopReplicationResponseParams ¶
type StopReplicationResponseParams struct { // Async task ID. // Note: this field may return `null`, indicating that no valid values can be obtained. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type StopRollbackRequest ¶
type StopRollbackRequest struct { *tchttp.BaseRequest // ID of the instance whose rollback task is canceled InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewStopRollbackRequest ¶
func NewStopRollbackRequest() (request *StopRollbackRequest)
func (*StopRollbackRequest) FromJsonString ¶
func (r *StopRollbackRequest) 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 (*StopRollbackRequest) ToJsonString ¶
func (r *StopRollbackRequest) ToJsonString() string
type StopRollbackRequestParams ¶
type StopRollbackRequestParams struct { // ID of the instance whose rollback task is canceled InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type StopRollbackResponse ¶
type StopRollbackResponse struct { *tchttp.BaseResponse Response *StopRollbackResponseParams `json:"Response"` }
func NewStopRollbackResponse ¶
func NewStopRollbackResponse() (response *StopRollbackResponse)
func (*StopRollbackResponse) FromJsonString ¶
func (r *StopRollbackResponse) 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 (*StopRollbackResponse) ToJsonString ¶
func (r *StopRollbackResponse) ToJsonString() string
type StopRollbackResponseParams ¶
type StopRollbackResponseParams struct { // Async task request ID AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SwitchCDBProxyRequest ¶
type SwitchCDBProxyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database proxy ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` }
func NewSwitchCDBProxyRequest ¶
func NewSwitchCDBProxyRequest() (request *SwitchCDBProxyRequest)
func (*SwitchCDBProxyRequest) FromJsonString ¶
func (r *SwitchCDBProxyRequest) 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 (*SwitchCDBProxyRequest) ToJsonString ¶
func (r *SwitchCDBProxyRequest) ToJsonString() string
type SwitchCDBProxyRequestParams ¶
type SwitchCDBProxyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database proxy ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` }
Predefined struct for user
type SwitchCDBProxyResponse ¶
type SwitchCDBProxyResponse struct { *tchttp.BaseResponse Response *SwitchCDBProxyResponseParams `json:"Response"` }
func NewSwitchCDBProxyResponse ¶
func NewSwitchCDBProxyResponse() (response *SwitchCDBProxyResponse)
func (*SwitchCDBProxyResponse) FromJsonString ¶
func (r *SwitchCDBProxyResponse) 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 (*SwitchCDBProxyResponse) ToJsonString ¶
func (r *SwitchCDBProxyResponse) ToJsonString() string
type SwitchCDBProxyResponseParams ¶
type SwitchCDBProxyResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SwitchDBInstanceMasterSlaveRequest ¶
type SwitchDBInstanceMasterSlaveRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Specifies the replica server to switched to. Valid values: `first` (the first replica server), `second` (the second replica server). Default value: `first`. `second` is valid only for a multi-AZ instance. DstSlave *string `json:"DstSlave,omitempty" name:"DstSlave"` // Whether to force the switch. Valid values: `True`, `False` (default). If this parameter is set to `True`, instance data may be lost during the switch. ForceSwitch *bool `json:"ForceSwitch,omitempty" name:"ForceSwitch"` // Whether to perform the switch during a time window. Valid values: `True`, `False` (default). If `ForceSwitch` is set to `True`, this parameter is invalid. WaitSwitch *bool `json:"WaitSwitch,omitempty" name:"WaitSwitch"` }
func NewSwitchDBInstanceMasterSlaveRequest ¶
func NewSwitchDBInstanceMasterSlaveRequest() (request *SwitchDBInstanceMasterSlaveRequest)
func (*SwitchDBInstanceMasterSlaveRequest) FromJsonString ¶
func (r *SwitchDBInstanceMasterSlaveRequest) 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 (*SwitchDBInstanceMasterSlaveRequest) ToJsonString ¶
func (r *SwitchDBInstanceMasterSlaveRequest) ToJsonString() string
type SwitchDBInstanceMasterSlaveRequestParams ¶
type SwitchDBInstanceMasterSlaveRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Specifies the replica server to switched to. Valid values: `first` (the first replica server), `second` (the second replica server). Default value: `first`. `second` is valid only for a multi-AZ instance. DstSlave *string `json:"DstSlave,omitempty" name:"DstSlave"` // Whether to force the switch. Valid values: `True`, `False` (default). If this parameter is set to `True`, instance data may be lost during the switch. ForceSwitch *bool `json:"ForceSwitch,omitempty" name:"ForceSwitch"` // Whether to perform the switch during a time window. Valid values: `True`, `False` (default). If `ForceSwitch` is set to `True`, this parameter is invalid. WaitSwitch *bool `json:"WaitSwitch,omitempty" name:"WaitSwitch"` }
Predefined struct for user
type SwitchDBInstanceMasterSlaveResponse ¶
type SwitchDBInstanceMasterSlaveResponse struct { *tchttp.BaseResponse Response *SwitchDBInstanceMasterSlaveResponseParams `json:"Response"` }
func NewSwitchDBInstanceMasterSlaveResponse ¶
func NewSwitchDBInstanceMasterSlaveResponse() (response *SwitchDBInstanceMasterSlaveResponse)
func (*SwitchDBInstanceMasterSlaveResponse) FromJsonString ¶
func (r *SwitchDBInstanceMasterSlaveResponse) 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 (*SwitchDBInstanceMasterSlaveResponse) ToJsonString ¶
func (r *SwitchDBInstanceMasterSlaveResponse) ToJsonString() string
type SwitchDBInstanceMasterSlaveResponseParams ¶
type SwitchDBInstanceMasterSlaveResponseParams struct { // Async task ID AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SwitchDrInstanceToMasterRequest ¶
type SwitchDrInstanceToMasterRequest struct { *tchttp.BaseRequest // Disaster recovery instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewSwitchDrInstanceToMasterRequest ¶
func NewSwitchDrInstanceToMasterRequest() (request *SwitchDrInstanceToMasterRequest)
func (*SwitchDrInstanceToMasterRequest) FromJsonString ¶
func (r *SwitchDrInstanceToMasterRequest) 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 (*SwitchDrInstanceToMasterRequest) ToJsonString ¶
func (r *SwitchDrInstanceToMasterRequest) ToJsonString() string
type SwitchDrInstanceToMasterRequestParams ¶
type SwitchDrInstanceToMasterRequestParams struct { // Disaster recovery instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type SwitchDrInstanceToMasterResponse ¶
type SwitchDrInstanceToMasterResponse struct { *tchttp.BaseResponse Response *SwitchDrInstanceToMasterResponseParams `json:"Response"` }
func NewSwitchDrInstanceToMasterResponse ¶
func NewSwitchDrInstanceToMasterResponse() (response *SwitchDrInstanceToMasterResponse)
func (*SwitchDrInstanceToMasterResponse) FromJsonString ¶
func (r *SwitchDrInstanceToMasterResponse) 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 (*SwitchDrInstanceToMasterResponse) ToJsonString ¶
func (r *SwitchDrInstanceToMasterResponse) ToJsonString() string
type SwitchDrInstanceToMasterResponseParams ¶
type SwitchDrInstanceToMasterResponseParams struct { // Async task request ID, which can be used to query the execution result of an async task AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SwitchForUpgradeRequest ¶
type SwitchForUpgradeRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewSwitchForUpgradeRequest ¶
func NewSwitchForUpgradeRequest() (request *SwitchForUpgradeRequest)
func (*SwitchForUpgradeRequest) FromJsonString ¶
func (r *SwitchForUpgradeRequest) 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 (*SwitchForUpgradeRequest) ToJsonString ¶
func (r *SwitchForUpgradeRequest) ToJsonString() string
type SwitchForUpgradeRequestParams ¶
type SwitchForUpgradeRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type SwitchForUpgradeResponse ¶
type SwitchForUpgradeResponse struct { *tchttp.BaseResponse Response *SwitchForUpgradeResponseParams `json:"Response"` }
func NewSwitchForUpgradeResponse ¶
func NewSwitchForUpgradeResponse() (response *SwitchForUpgradeResponse)
func (*SwitchForUpgradeResponse) FromJsonString ¶
func (r *SwitchForUpgradeResponse) 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 (*SwitchForUpgradeResponse) ToJsonString ¶
func (r *SwitchForUpgradeResponse) ToJsonString() string
type SwitchForUpgradeResponseParams ¶
type SwitchForUpgradeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type TablePrivilege ¶
type TagInfoItem ¶
type TagInfoItem struct { // Tag key // Note: this field may return `null`, indicating that no valid values can be obtained. TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // Tag value // Note: this field may return `null`, indicating that no valid values can be obtained. TagValue *string `json:"TagValue,omitempty" name:"TagValue"` }
type TagInfoUnit ¶
type TagsInfoOfInstance ¶
type TagsInfoOfInstance struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Tag information Tags []*TagInfoUnit `json:"Tags,omitempty" name:"Tags"` }
type TaskDetail ¶
type TaskDetail struct { // Error code. Code *int64 `json:"Code,omitempty" name:"Code"` // Error message. Message *string `json:"Message,omitempty" name:"Message"` // ID of an instance task. JobId *int64 `json:"JobId,omitempty" name:"JobId"` // Instance task progress. Progress *int64 `json:"Progress,omitempty" name:"Progress"` // Instance task status. Valid values: // "UNDEFINED" - undefined; // "INITIAL" - initializing; // "RUNNING" - running; // "SUCCEED" - succeeded; // "FAILED" - failed; // "KILLED" - terminated; // "REMOVED" - deleted; // "PAUSED" - paused. // "WAITING" - waiting (which can be canceled) TaskStatus *string `json:"TaskStatus,omitempty" name:"TaskStatus"` // Instance task type. Valid values: // "ROLLBACK" - rolling back a database; // "SQL OPERATION" - performing an SQL operation; // "IMPORT DATA" - importing data; // "MODIFY PARAM" - setting a parameter; // "INITIAL" - initializing a TencentDB instance; // "REBOOT" - restarting a TencentDB instance; // "OPEN GTID" - enabling GTID of a TencentDB instance; // "UPGRADE RO" - upgrading a read-only instance; // "BATCH ROLLBACK" - rolling back databases in batches; // "UPGRADE MASTER" - upgrading a primary instance; // "DROP TABLES" - dropping a TencentDB table; // "SWITCH DR TO MASTER" - promoting a disaster recovery instance. TaskType *string `json:"TaskType,omitempty" name:"TaskType"` // Instance task start time. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Instance task end time. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // ID of an instance associated with a task. // Note: This field may return null, indicating that no valid values can be obtained. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // Async task request ID. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` }
type UpgradeCDBProxyRequest ¶
type UpgradeCDBProxyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database proxy ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // Number of proxy nodes ProxyCount *int64 `json:"ProxyCount,omitempty" name:"ProxyCount"` // Number of CPU cores per proxy node Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Memory per proxy node Mem *int64 `json:"Mem,omitempty" name:"Mem"` // Load rebalance mode. Valid values: `auto`, `manual` ReloadBalance *string `json:"ReloadBalance,omitempty" name:"ReloadBalance"` // Upgrade time. Valid values: `nowTime` (upgrade immediately), `timeWindow` (upgrade during instance maintenance time) UpgradeTime *string `json:"UpgradeTime,omitempty" name:"UpgradeTime"` }
func NewUpgradeCDBProxyRequest ¶
func NewUpgradeCDBProxyRequest() (request *UpgradeCDBProxyRequest)
func (*UpgradeCDBProxyRequest) FromJsonString ¶
func (r *UpgradeCDBProxyRequest) 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 (*UpgradeCDBProxyRequest) ToJsonString ¶
func (r *UpgradeCDBProxyRequest) ToJsonString() string
type UpgradeCDBProxyRequestParams ¶
type UpgradeCDBProxyRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database proxy ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // Number of proxy nodes ProxyCount *int64 `json:"ProxyCount,omitempty" name:"ProxyCount"` // Number of CPU cores per proxy node Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Memory per proxy node Mem *int64 `json:"Mem,omitempty" name:"Mem"` // Load rebalance mode. Valid values: `auto`, `manual` ReloadBalance *string `json:"ReloadBalance,omitempty" name:"ReloadBalance"` // Upgrade time. Valid values: `nowTime` (upgrade immediately), `timeWindow` (upgrade during instance maintenance time) UpgradeTime *string `json:"UpgradeTime,omitempty" name:"UpgradeTime"` }
Predefined struct for user
type UpgradeCDBProxyResponse ¶
type UpgradeCDBProxyResponse struct { *tchttp.BaseResponse Response *UpgradeCDBProxyResponseParams `json:"Response"` }
func NewUpgradeCDBProxyResponse ¶
func NewUpgradeCDBProxyResponse() (response *UpgradeCDBProxyResponse)
func (*UpgradeCDBProxyResponse) FromJsonString ¶
func (r *UpgradeCDBProxyResponse) 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 (*UpgradeCDBProxyResponse) ToJsonString ¶
func (r *UpgradeCDBProxyResponse) ToJsonString() string
type UpgradeCDBProxyResponseParams ¶
type UpgradeCDBProxyResponseParams struct { // Async request ID // Note: this field may return `null`, indicating that no valid value can be found. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeCDBProxyVersionRequest ¶
type UpgradeCDBProxyVersionRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database proxy ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // Current version of database proxy SrcProxyVersion *string `json:"SrcProxyVersion,omitempty" name:"SrcProxyVersion"` // Target version of database proxy DstProxyVersion *string `json:"DstProxyVersion,omitempty" name:"DstProxyVersion"` // Upgrade time. Valid values: `nowTime` (upgrade immediately), `timeWindow` (upgrade during instance maintenance time) UpgradeTime *string `json:"UpgradeTime,omitempty" name:"UpgradeTime"` }
func NewUpgradeCDBProxyVersionRequest ¶
func NewUpgradeCDBProxyVersionRequest() (request *UpgradeCDBProxyVersionRequest)
func (*UpgradeCDBProxyVersionRequest) FromJsonString ¶
func (r *UpgradeCDBProxyVersionRequest) 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 (*UpgradeCDBProxyVersionRequest) ToJsonString ¶
func (r *UpgradeCDBProxyVersionRequest) ToJsonString() string
type UpgradeCDBProxyVersionRequestParams ¶
type UpgradeCDBProxyVersionRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database proxy ID ProxyGroupId *string `json:"ProxyGroupId,omitempty" name:"ProxyGroupId"` // Current version of database proxy SrcProxyVersion *string `json:"SrcProxyVersion,omitempty" name:"SrcProxyVersion"` // Target version of database proxy DstProxyVersion *string `json:"DstProxyVersion,omitempty" name:"DstProxyVersion"` // Upgrade time. Valid values: `nowTime` (upgrade immediately), `timeWindow` (upgrade during instance maintenance time) UpgradeTime *string `json:"UpgradeTime,omitempty" name:"UpgradeTime"` }
Predefined struct for user
type UpgradeCDBProxyVersionResponse ¶
type UpgradeCDBProxyVersionResponse struct { *tchttp.BaseResponse Response *UpgradeCDBProxyVersionResponseParams `json:"Response"` }
func NewUpgradeCDBProxyVersionResponse ¶
func NewUpgradeCDBProxyVersionResponse() (response *UpgradeCDBProxyVersionResponse)
func (*UpgradeCDBProxyVersionResponse) FromJsonString ¶
func (r *UpgradeCDBProxyVersionResponse) 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 (*UpgradeCDBProxyVersionResponse) ToJsonString ¶
func (r *UpgradeCDBProxyVersionResponse) ToJsonString() string
type UpgradeCDBProxyVersionResponseParams ¶
type UpgradeCDBProxyVersionResponseParams struct { // Async request ID // Note: this field may return `null`, indicating that no valid value can be found. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeDBInstanceEngineVersionRequest ¶
type UpgradeDBInstanceEngineVersionRequest struct { *tchttp.BaseRequest // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Version of primary instance database engine. Value range: 5.6, 5.7 EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // Mode of switch to a new instance. Value range: 0 (switch immediately), 1 (switch within a time window). Default value: 0. If the value is 1, the switch process will be performed within a time window. Or, you can call the [switching to new instance API](https://intl.cloud.tencent.com/document/product/236/15864?from_cn_redirect=1) to trigger the process. WaitSwitch *int64 `json:"WaitSwitch,omitempty" name:"WaitSwitch"` // Whether to upgrade kernel minor version. Valid values: 1 (upgrade kernel minor version), 0 (upgrade database engine). UpgradeSubversion *int64 `json:"UpgradeSubversion,omitempty" name:"UpgradeSubversion"` // Delay threshold. Value range: 1-10 MaxDelayTime *int64 `json:"MaxDelayTime,omitempty" name:"MaxDelayTime"` }
func NewUpgradeDBInstanceEngineVersionRequest ¶
func NewUpgradeDBInstanceEngineVersionRequest() (request *UpgradeDBInstanceEngineVersionRequest)
func (*UpgradeDBInstanceEngineVersionRequest) FromJsonString ¶
func (r *UpgradeDBInstanceEngineVersionRequest) 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 (*UpgradeDBInstanceEngineVersionRequest) ToJsonString ¶
func (r *UpgradeDBInstanceEngineVersionRequest) ToJsonString() string
type UpgradeDBInstanceEngineVersionRequestParams ¶
type UpgradeDBInstanceEngineVersionRequestParams struct { // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Version of primary instance database engine. Value range: 5.6, 5.7 EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // Mode of switch to a new instance. Value range: 0 (switch immediately), 1 (switch within a time window). Default value: 0. If the value is 1, the switch process will be performed within a time window. Or, you can call the [switching to new instance API](https://intl.cloud.tencent.com/document/product/236/15864?from_cn_redirect=1) to trigger the process. WaitSwitch *int64 `json:"WaitSwitch,omitempty" name:"WaitSwitch"` // Whether to upgrade kernel minor version. Valid values: 1 (upgrade kernel minor version), 0 (upgrade database engine). UpgradeSubversion *int64 `json:"UpgradeSubversion,omitempty" name:"UpgradeSubversion"` // Delay threshold. Value range: 1-10 MaxDelayTime *int64 `json:"MaxDelayTime,omitempty" name:"MaxDelayTime"` }
Predefined struct for user
type UpgradeDBInstanceEngineVersionResponse ¶
type UpgradeDBInstanceEngineVersionResponse struct { *tchttp.BaseResponse Response *UpgradeDBInstanceEngineVersionResponseParams `json:"Response"` }
func NewUpgradeDBInstanceEngineVersionResponse ¶
func NewUpgradeDBInstanceEngineVersionResponse() (response *UpgradeDBInstanceEngineVersionResponse)
func (*UpgradeDBInstanceEngineVersionResponse) FromJsonString ¶
func (r *UpgradeDBInstanceEngineVersionResponse) 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 (*UpgradeDBInstanceEngineVersionResponse) ToJsonString ¶
func (r *UpgradeDBInstanceEngineVersionResponse) ToJsonString() string
type UpgradeDBInstanceEngineVersionResponseParams ¶
type UpgradeDBInstanceEngineVersionResponseParams struct { // Async task ID. The task execution result can be queried using the [async task execution result querying API](https://intl.cloud.tencent.com/document/api/236/20410?from_cn_redirect=1). AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeDBInstanceRequest ¶
type UpgradeDBInstanceRequest struct { *tchttp.BaseRequest // Instance ID in the format of `cdb-c1nl9rpv` or `cdbro-c1nl9rpv`. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [DescribeDBInstances](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) API to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Memory size in MB after upgrade. To ensure that the `Memory` value to be passed in is valid, please use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/product/236/17229?from_cn_redirect=1) API to query the specifications of the memory that can be upgraded to. Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Disk size in GB after upgrade. To ensure that the `Volume` value to be passed in is valid, please use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/product/236/17229?from_cn_redirect=1) API to query the specifications of the disk that can be upgraded to. Volume *int64 `json:"Volume,omitempty" name:"Volume"` // Data replication mode. Valid values: 0 (async), 1 (semi-sync), 2 (strong sync). This parameter can be specified when upgrading primary instances and is meaningless for read-only or disaster recovery instances. ProtectMode *int64 `json:"ProtectMode,omitempty" name:"ProtectMode"` // Deployment mode. Valid values: 0 (single-AZ), 1 (multi-AZ). Default value: 0. This parameter can be specified when upgrading primary instances and is meaningless for read-only or disaster recovery instances. DeployMode *int64 `json:"DeployMode,omitempty" name:"DeployMode"` // AZ information of secondary database 1, which is the `Zone` value of the instance by default. This parameter can be specified when upgrading primary instances in multi-AZ mode and is meaningless for read-only or disaster recovery instances. You can use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/product/236/17229?from_cn_redirect=1) API to query the supported AZs. SlaveZone *string `json:"SlaveZone,omitempty" name:"SlaveZone"` // Version of primary instance database engine. Valid values: 5.5, 5.6, 5.7. EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // Mode of switch to new instance. Valid values: 0 (switch immediately), 1 (switch within a time window). Default value: 0. If the value is 1, the switch process will be performed within a time window. Or, you can call the [SwitchForUpgrade](https://intl.cloud.tencent.com/document/product/236/15864?from_cn_redirect=1) API to trigger the process. WaitSwitch *int64 `json:"WaitSwitch,omitempty" name:"WaitSwitch"` // AZ information of secondary database 2, which is empty by default. This parameter can be specified when upgrading primary instances and is meaningless for read-only or disaster recovery instances. BackupZone *string `json:"BackupZone,omitempty" name:"BackupZone"` // Instance type. Valid values: master (primary instance), dr (disaster recovery instance), ro (read-only instance). Default value: master. InstanceRole *string `json:"InstanceRole,omitempty" name:"InstanceRole"` // The resource isolation type after the instance is upgraded. Valid values: `UNIVERSAL` (general instance), `EXCLUSIVE` (dedicated instance), `BASIC` (basic instance). If this parameter is left empty, the resource isolation type will be the same as the original one. DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // The number of CPU cores after the instance is upgraded. If this parameter is left empty, the number of CPU cores will be automatically filled in according to the `Memory` value. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Whether to enable QuickChange. Valid values: `0` (no), `1` (yes). After QuickChange is enabled, the required resources will be checked. QuickChange is performed only when the required resources support the feature; otherwise, an error message will be returned. FastUpgrade *int64 `json:"FastUpgrade,omitempty" name:"FastUpgrade"` // Delay threshold. Value range: 1-10. Default value: `10`. MaxDelayTime *int64 `json:"MaxDelayTime,omitempty" name:"MaxDelayTime"` // Whether to migrate the source node across AZs. Valid values: `0` (no), `1`(yes). Default value: `0`. If it is `1`, you can modify the source node AZ. CrossCluster *int64 `json:"CrossCluster,omitempty" name:"CrossCluster"` // New AZ of the source node. This field is only valid when `CrossCluster` is `1`. Only migration across AZs in the same region is supported. ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
func NewUpgradeDBInstanceRequest ¶
func NewUpgradeDBInstanceRequest() (request *UpgradeDBInstanceRequest)
func (*UpgradeDBInstanceRequest) FromJsonString ¶
func (r *UpgradeDBInstanceRequest) 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 (*UpgradeDBInstanceRequest) ToJsonString ¶
func (r *UpgradeDBInstanceRequest) ToJsonString() string
type UpgradeDBInstanceRequestParams ¶
type UpgradeDBInstanceRequestParams struct { // Instance ID in the format of `cdb-c1nl9rpv` or `cdbro-c1nl9rpv`. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [DescribeDBInstances](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) API to query the ID, whose value is the `InstanceId` value in output parameters. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Memory size in MB after upgrade. To ensure that the `Memory` value to be passed in is valid, please use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/product/236/17229?from_cn_redirect=1) API to query the specifications of the memory that can be upgraded to. Memory *int64 `json:"Memory,omitempty" name:"Memory"` // Disk size in GB after upgrade. To ensure that the `Volume` value to be passed in is valid, please use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/product/236/17229?from_cn_redirect=1) API to query the specifications of the disk that can be upgraded to. Volume *int64 `json:"Volume,omitempty" name:"Volume"` // Data replication mode. Valid values: 0 (async), 1 (semi-sync), 2 (strong sync). This parameter can be specified when upgrading primary instances and is meaningless for read-only or disaster recovery instances. ProtectMode *int64 `json:"ProtectMode,omitempty" name:"ProtectMode"` // Deployment mode. Valid values: 0 (single-AZ), 1 (multi-AZ). Default value: 0. This parameter can be specified when upgrading primary instances and is meaningless for read-only or disaster recovery instances. DeployMode *int64 `json:"DeployMode,omitempty" name:"DeployMode"` // AZ information of secondary database 1, which is the `Zone` value of the instance by default. This parameter can be specified when upgrading primary instances in multi-AZ mode and is meaningless for read-only or disaster recovery instances. You can use the [DescribeDBZoneConfig](https://intl.cloud.tencent.com/document/product/236/17229?from_cn_redirect=1) API to query the supported AZs. SlaveZone *string `json:"SlaveZone,omitempty" name:"SlaveZone"` // Version of primary instance database engine. Valid values: 5.5, 5.6, 5.7. EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // Mode of switch to new instance. Valid values: 0 (switch immediately), 1 (switch within a time window). Default value: 0. If the value is 1, the switch process will be performed within a time window. Or, you can call the [SwitchForUpgrade](https://intl.cloud.tencent.com/document/product/236/15864?from_cn_redirect=1) API to trigger the process. WaitSwitch *int64 `json:"WaitSwitch,omitempty" name:"WaitSwitch"` // AZ information of secondary database 2, which is empty by default. This parameter can be specified when upgrading primary instances and is meaningless for read-only or disaster recovery instances. BackupZone *string `json:"BackupZone,omitempty" name:"BackupZone"` // Instance type. Valid values: master (primary instance), dr (disaster recovery instance), ro (read-only instance). Default value: master. InstanceRole *string `json:"InstanceRole,omitempty" name:"InstanceRole"` // The resource isolation type after the instance is upgraded. Valid values: `UNIVERSAL` (general instance), `EXCLUSIVE` (dedicated instance), `BASIC` (basic instance). If this parameter is left empty, the resource isolation type will be the same as the original one. DeviceType *string `json:"DeviceType,omitempty" name:"DeviceType"` // The number of CPU cores after the instance is upgraded. If this parameter is left empty, the number of CPU cores will be automatically filled in according to the `Memory` value. Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` // Whether to enable QuickChange. Valid values: `0` (no), `1` (yes). After QuickChange is enabled, the required resources will be checked. QuickChange is performed only when the required resources support the feature; otherwise, an error message will be returned. FastUpgrade *int64 `json:"FastUpgrade,omitempty" name:"FastUpgrade"` // Delay threshold. Value range: 1-10. Default value: `10`. MaxDelayTime *int64 `json:"MaxDelayTime,omitempty" name:"MaxDelayTime"` // Whether to migrate the source node across AZs. Valid values: `0` (no), `1`(yes). Default value: `0`. If it is `1`, you can modify the source node AZ. CrossCluster *int64 `json:"CrossCluster,omitempty" name:"CrossCluster"` // New AZ of the source node. This field is only valid when `CrossCluster` is `1`. Only migration across AZs in the same region is supported. ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
Predefined struct for user
type UpgradeDBInstanceResponse ¶
type UpgradeDBInstanceResponse struct { *tchttp.BaseResponse Response *UpgradeDBInstanceResponseParams `json:"Response"` }
func NewUpgradeDBInstanceResponse ¶
func NewUpgradeDBInstanceResponse() (response *UpgradeDBInstanceResponse)
func (*UpgradeDBInstanceResponse) FromJsonString ¶
func (r *UpgradeDBInstanceResponse) 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 (*UpgradeDBInstanceResponse) ToJsonString ¶
func (r *UpgradeDBInstanceResponse) ToJsonString() string
type UpgradeDBInstanceResponseParams ¶
type UpgradeDBInstanceResponseParams struct { // Order ID. DealIds []*string `json:"DealIds,omitempty" name:"DealIds"` // Async task request ID, which can be used to query the execution result of an async task. AsyncRequestId *string `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UploadInfo ¶
type ZoneConf ¶
type ZoneConf struct { // AZ deployment mode. Value range: 0 (single-AZ), 1 (multi-AZ) DeployMode []*int64 `json:"DeployMode,omitempty" name:"DeployMode"` // AZ where the primary instance is located MasterZone []*string `json:"MasterZone,omitempty" name:"MasterZone"` // AZ where salve database 1 is located when the instance is deployed in multi-AZ mode SlaveZone []*string `json:"SlaveZone,omitempty" name:"SlaveZone"` // AZ where salve database 2 is located when the instance is deployed in multi-AZ mode BackupZone []*string `json:"BackupZone,omitempty" name:"BackupZone"` }
type ZoneSellConf ¶
type ZoneSellConf struct { // AZ status used to indicate whether instances are purchasable. Value range: `1` (purchasable), `3` (not purchasable), `4` (AZ not displayed) Status *int64 `json:"Status,omitempty" name:"Status"` // AZ name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // Whether it is a custom instance type IsCustom *bool `json:"IsCustom,omitempty" name:"IsCustom"` // Whether disaster recovery is supported IsSupportDr *bool `json:"IsSupportDr,omitempty" name:"IsSupportDr"` // Whether VPC is supported IsSupportVpc *bool `json:"IsSupportVpc,omitempty" name:"IsSupportVpc"` // Maximum purchasable quantity of hourly billed instances HourInstanceSaleMaxNum *int64 `json:"HourInstanceSaleMaxNum,omitempty" name:"HourInstanceSaleMaxNum"` // Whether it is a default AZ IsDefaultZone *bool `json:"IsDefaultZone,omitempty" name:"IsDefaultZone"` // Whether it is a BM zone IsBm *bool `json:"IsBm,omitempty" name:"IsBm"` // Supported billing method. Value range: 0 (monthly subscribed), 1 (hourly), 2 (postpaid) PayType []*string `json:"PayType,omitempty" name:"PayType"` // Data replication type. Value range: 0 (async), 1 (semi-sync), 2 (strong sync) ProtectMode []*string `json:"ProtectMode,omitempty" name:"ProtectMode"` // AZ name Zone *string `json:"Zone,omitempty" name:"Zone"` // Array of purchasable instance types SellType []*SellType `json:"SellType,omitempty" name:"SellType"` // Multi-AZ information ZoneConf *ZoneConf `json:"ZoneConf,omitempty" name:"ZoneConf"` // Information of the supported disaster recovery AZ DrZone []*string `json:"DrZone,omitempty" name:"DrZone"` // Whether cross-AZ read-only access is supported IsSupportRemoteRo *bool `json:"IsSupportRemoteRo,omitempty" name:"IsSupportRemoteRo"` // Information of supported cross-AZ read-only zone // Note: this field may return null, indicating that no valid values can be obtained. RemoteRoZone []*string `json:"RemoteRoZone,omitempty" name:"RemoteRoZone"` // AZ status used to indicate whether dedicated instances are purchasable. Valid values: `1 (purchasable), `3` (not purchasable), `4` (AZ not displayed) ExClusterStatus *int64 `json:"ExClusterStatus,omitempty" name:"ExClusterStatus"` // AZ information of the cross-AZ deployed read-only instances which are associated with a dedicated instance // Note: This field may return `null`, indicating that no valid values can be obtained. ExClusterRemoteRoZone []*string `json:"ExClusterRemoteRoZone,omitempty" name:"ExClusterRemoteRoZone"` // AZ information of a multi-AZ deployed dedicated instance. // Note: This field may return `null`, indicating that no valid values can be obtained. ExClusterZoneConf *ZoneConf `json:"ExClusterZoneConf,omitempty" name:"ExClusterZoneConf"` }