v3

package
v0.0.32-rc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForAllowDbUserPrivilege

func GenReqDefForAllowDbUserPrivilege() *def.HttpRequestDef

func GenReqDefForAttachEip

func GenReqDefForAttachEip() *def.HttpRequestDef

func GenReqDefForBatchTagAction

func GenReqDefForBatchTagAction() *def.HttpRequestDef

func GenReqDefForChangeFailoverMode

func GenReqDefForChangeFailoverMode() *def.HttpRequestDef

func GenReqDefForChangeFailoverStrategy

func GenReqDefForChangeFailoverStrategy() *def.HttpRequestDef

func GenReqDefForChangeOpsWindow

func GenReqDefForChangeOpsWindow() *def.HttpRequestDef

func GenReqDefForCreateConfiguration

func GenReqDefForCreateConfiguration() *def.HttpRequestDef

func GenReqDefForCreateDatabase

func GenReqDefForCreateDatabase() *def.HttpRequestDef

func GenReqDefForCreateDbUser

func GenReqDefForCreateDbUser() *def.HttpRequestDef

func GenReqDefForCreateInstance

func GenReqDefForCreateInstance() *def.HttpRequestDef

func GenReqDefForDeleteConfiguration

func GenReqDefForDeleteConfiguration() *def.HttpRequestDef

func GenReqDefForDeleteDatabase

func GenReqDefForDeleteDatabase() *def.HttpRequestDef

func GenReqDefForDeleteDbUser

func GenReqDefForDeleteDbUser() *def.HttpRequestDef

func GenReqDefForDeleteInstance

func GenReqDefForDeleteInstance() *def.HttpRequestDef

func GenReqDefForDeleteManualBackup

func GenReqDefForDeleteManualBackup() *def.HttpRequestDef

func GenReqDefForDoManualBackup

func GenReqDefForDoManualBackup() *def.HttpRequestDef

func GenReqDefForDownloadSlowlog

func GenReqDefForDownloadSlowlog() *def.HttpRequestDef

func GenReqDefForEnableConfiguration

func GenReqDefForEnableConfiguration() *def.HttpRequestDef

func GenReqDefForListAuditlogs

func GenReqDefForListAuditlogs() *def.HttpRequestDef

func GenReqDefForListAuthorizedDatabases

func GenReqDefForListAuthorizedDatabases() *def.HttpRequestDef

func GenReqDefForListAuthorizedDbUsers

func GenReqDefForListAuthorizedDbUsers() *def.HttpRequestDef

func GenReqDefForListBackups

func GenReqDefForListBackups() *def.HttpRequestDef

func GenReqDefForListCollations

func GenReqDefForListCollations() *def.HttpRequestDef

func GenReqDefForListConfigurations

func GenReqDefForListConfigurations() *def.HttpRequestDef

func GenReqDefForListDatabases

func GenReqDefForListDatabases() *def.HttpRequestDef

func GenReqDefForListDatastores

func GenReqDefForListDatastores() *def.HttpRequestDef

func GenReqDefForListDbUsers

func GenReqDefForListDbUsers() *def.HttpRequestDef

func GenReqDefForListErrorLogs

func GenReqDefForListErrorLogs() *def.HttpRequestDef

func GenReqDefForListFlavors

func GenReqDefForListFlavors() *def.HttpRequestDef

func GenReqDefForListInstances

func GenReqDefForListInstances() *def.HttpRequestDef

func GenReqDefForListJobInfo

func GenReqDefForListJobInfo() *def.HttpRequestDef

func GenReqDefForListJobInfoDetail

func GenReqDefForListJobInfoDetail() *def.HttpRequestDef

func GenReqDefForListOffSiteBackups

func GenReqDefForListOffSiteBackups() *def.HttpRequestDef

func GenReqDefForListOffSiteInstances

func GenReqDefForListOffSiteInstances() *def.HttpRequestDef

func GenReqDefForListOffSiteRestoreTimes

func GenReqDefForListOffSiteRestoreTimes() *def.HttpRequestDef

func GenReqDefForListProjectTags

func GenReqDefForListProjectTags() *def.HttpRequestDef

func GenReqDefForListRestoreTimes

func GenReqDefForListRestoreTimes() *def.HttpRequestDef

func GenReqDefForListSlowLogs

func GenReqDefForListSlowLogs() *def.HttpRequestDef

func GenReqDefForListSlowlogStatistics

func GenReqDefForListSlowlogStatistics() *def.HttpRequestDef

func GenReqDefForListStorageTypes

func GenReqDefForListStorageTypes() *def.HttpRequestDef

func GenReqDefForMigrateFollower

func GenReqDefForMigrateFollower() *def.HttpRequestDef

func GenReqDefForModifyConfiguration

func GenReqDefForModifyConfiguration() *def.HttpRequestDef

func GenReqDefForModifyInstanceConfiguration

func GenReqDefForModifyInstanceConfiguration() *def.HttpRequestDef

func GenReqDefForResetPwd

func GenReqDefForResetPwd() *def.HttpRequestDef

func GenReqDefForRestoreTables

func GenReqDefForRestoreTables() *def.HttpRequestDef

func GenReqDefForRestoreToExistingInstance

func GenReqDefForRestoreToExistingInstance() *def.HttpRequestDef

func GenReqDefForRevoke

func GenReqDefForRevoke() *def.HttpRequestDef

func GenReqDefForSetAuditlogPolicy

func GenReqDefForSetAuditlogPolicy() *def.HttpRequestDef

func GenReqDefForSetBackupPolicy

func GenReqDefForSetBackupPolicy() *def.HttpRequestDef

func GenReqDefForSetDbUserPwd

func GenReqDefForSetDbUserPwd() *def.HttpRequestDef

func GenReqDefForSetOffSiteBackupPolicy

func GenReqDefForSetOffSiteBackupPolicy() *def.HttpRequestDef

func GenReqDefForSetSecurityGroup

func GenReqDefForSetSecurityGroup() *def.HttpRequestDef
func GenReqDefForShowAuditlogDownloadLink() *def.HttpRequestDef

func GenReqDefForShowAuditlogPolicy

func GenReqDefForShowAuditlogPolicy() *def.HttpRequestDef
func GenReqDefForShowBackupDownloadLink() *def.HttpRequestDef

func GenReqDefForShowBackupPolicy

func GenReqDefForShowBackupPolicy() *def.HttpRequestDef

func GenReqDefForShowConfiguration

func GenReqDefForShowConfiguration() *def.HttpRequestDef

func GenReqDefForShowInstanceConfiguration

func GenReqDefForShowInstanceConfiguration() *def.HttpRequestDef

func GenReqDefForShowOffSiteBackupPolicy

func GenReqDefForShowOffSiteBackupPolicy() *def.HttpRequestDef

func GenReqDefForStartFailover

func GenReqDefForStartFailover() *def.HttpRequestDef

func GenReqDefForStartInstanceAction

func GenReqDefForStartInstanceAction() *def.HttpRequestDef

func GenReqDefForSwitchSsl

func GenReqDefForSwitchSsl() *def.HttpRequestDef

func GenReqDefForUpdateDataIp

func GenReqDefForUpdateDataIp() *def.HttpRequestDef

func GenReqDefForUpdatePort

func GenReqDefForUpdatePort() *def.HttpRequestDef

func RdsClientBuilder

func RdsClientBuilder() *http_client.HcHttpClientBuilder

Types

type RdsClient

type RdsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewRdsClient

func NewRdsClient(hcClient *http_client.HcHttpClient) *RdsClient

func (*RdsClient) AllowDbUserPrivilege

授权数据库帐号。

func (*RdsClient) AttachEip

func (c *RdsClient) AttachEip(request *model.AttachEipRequest) (*model.AttachEipResponse, error)

绑定和解绑弹性公网IP。

func (*RdsClient) BatchTagAction

func (c *RdsClient) BatchTagAction(request *model.BatchTagActionRequest) (*model.BatchTagActionResponse, error)

批量添加删除标签。

func (*RdsClient) ChangeFailoverMode

func (c *RdsClient) ChangeFailoverMode(request *model.ChangeFailoverModeRequest) (*model.ChangeFailoverModeResponse, error)

更改主备实例的同步模式.

func (*RdsClient) ChangeFailoverStrategy

切换主备实例的倒换策略.

func (*RdsClient) ChangeOpsWindow

func (c *RdsClient) ChangeOpsWindow(request *model.ChangeOpsWindowRequest) (*model.ChangeOpsWindowResponse, error)

设置可维护时间段

func (*RdsClient) CreateConfiguration

创建参数模板。

func (*RdsClient) CreateDatabase

func (c *RdsClient) CreateDatabase(request *model.CreateDatabaseRequest) (*model.CreateDatabaseResponse, error)

创建数据库。

func (*RdsClient) CreateDbUser

func (c *RdsClient) CreateDbUser(request *model.CreateDbUserRequest) (*model.CreateDbUserResponse, error)

创建数据库用户。

func (*RdsClient) CreateInstance

func (c *RdsClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)

创建数据库实例/恢复到新实例。

func (*RdsClient) DeleteConfiguration

删除参数模板。

func (*RdsClient) DeleteDatabase

func (c *RdsClient) DeleteDatabase(request *model.DeleteDatabaseRequest) (*model.DeleteDatabaseResponse, error)

删除数据库。

func (*RdsClient) DeleteDbUser

func (c *RdsClient) DeleteDbUser(request *model.DeleteDbUserRequest) (*model.DeleteDbUserResponse, error)

删除数据库用户。

func (*RdsClient) DeleteInstance

func (c *RdsClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)

删除实例。

func (*RdsClient) DeleteManualBackup

func (c *RdsClient) DeleteManualBackup(request *model.DeleteManualBackupRequest) (*model.DeleteManualBackupResponse, error)

删除手动备份。

func (*RdsClient) DoManualBackup

func (c *RdsClient) DoManualBackup(request *model.DoManualBackupRequest) (*model.DoManualBackupResponse, error)

创建手动备份。

func (*RdsClient) DownloadSlowlog

func (c *RdsClient) DownloadSlowlog(request *model.DownloadSlowlogRequest) (*model.DownloadSlowlogResponse, error)

获取日志信息

func (*RdsClient) EnableConfiguration

应用参数模板。

func (*RdsClient) ListAuditlogs

func (c *RdsClient) ListAuditlogs(request *model.ListAuditlogsRequest) (*model.ListAuditlogsResponse, error)

获取审计日志列表。

func (*RdsClient) ListAuthorizedDatabases

查询指定用户的已授权数据库。

func (*RdsClient) ListAuthorizedDbUsers

查询指定数据库的已授权用户。

func (*RdsClient) ListBackups

func (c *RdsClient) ListBackups(request *model.ListBackupsRequest) (*model.ListBackupsResponse, error)

获取备份列表。

func (*RdsClient) ListCollations

func (c *RdsClient) ListCollations(request *model.ListCollationsRequest) (*model.ListCollationsResponse, error)

查询SQLServer可用字符集

func (*RdsClient) ListConfigurations

func (c *RdsClient) ListConfigurations(request *model.ListConfigurationsRequest) (*model.ListConfigurationsResponse, error)

获取参数模板列表,包括所有数据库的默认参数模板和用户创建的参数模板。

func (*RdsClient) ListDatabases

func (c *RdsClient) ListDatabases(request *model.ListDatabasesRequest) (*model.ListDatabasesResponse, error)

查询数据库列表。

func (*RdsClient) ListDatastores

func (c *RdsClient) ListDatastores(request *model.ListDatastoresRequest) (*model.ListDatastoresResponse, error)

查询数据库引擎的版本。

func (*RdsClient) ListDbUsers

func (c *RdsClient) ListDbUsers(request *model.ListDbUsersRequest) (*model.ListDbUsersResponse, error)

查询数据库用户列表。

func (*RdsClient) ListErrorLogs

func (c *RdsClient) ListErrorLogs(request *model.ListErrorLogsRequest) (*model.ListErrorLogsResponse, error)

查询数据库错误日志。

func (*RdsClient) ListFlavors

func (c *RdsClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)

查询数据库规格。

func (*RdsClient) ListInstances

func (c *RdsClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)

查询数据库实例列表。

func (*RdsClient) ListJobInfo

func (c *RdsClient) ListJobInfo(request *model.ListJobInfoRequest) (*model.ListJobInfoResponse, error)

获取任务信息。

func (*RdsClient) ListJobInfoDetail

func (c *RdsClient) ListJobInfoDetail(request *model.ListJobInfoDetailRequest) (*model.ListJobInfoDetailResponse, error)

获取所有任务详细信息。

func (*RdsClient) ListOffSiteBackups

func (c *RdsClient) ListOffSiteBackups(request *model.ListOffSiteBackupsRequest) (*model.ListOffSiteBackupsResponse, error)

获取跨区域备份列表。

func (*RdsClient) ListOffSiteInstances

查询跨区域备份实例列表。

func (*RdsClient) ListOffSiteRestoreTimes

查询跨区域可恢复时间段。 如果您备份策略中的保存天数设置较长,建议您传入查询日期“date”。

func (*RdsClient) ListProjectTags

func (c *RdsClient) ListProjectTags(request *model.ListProjectTagsRequest) (*model.ListProjectTagsResponse, error)

查询项目标签。

func (*RdsClient) ListRestoreTimes

func (c *RdsClient) ListRestoreTimes(request *model.ListRestoreTimesRequest) (*model.ListRestoreTimesResponse, error)

查询可恢复时间段。 如果您备份策略中的保存天数设置较长,建议您传入查询日期“date”。

func (*RdsClient) ListSlowLogs

func (c *RdsClient) ListSlowLogs(request *model.ListSlowLogsRequest) (*model.ListSlowLogsResponse, error)

查询数据库慢日志。

func (*RdsClient) ListSlowlogStatistics

获取慢日志统计信息

func (*RdsClient) ListStorageTypes

func (c *RdsClient) ListStorageTypes(request *model.ListStorageTypesRequest) (*model.ListStorageTypesResponse, error)

查询数据库磁盘类型。

func (*RdsClient) MigrateFollower

func (c *RdsClient) MigrateFollower(request *model.MigrateFollowerRequest) (*model.MigrateFollowerResponse, error)

迁移主备实例的备机

func (*RdsClient) ModifyConfiguration

修改参数模板参数。

func (*RdsClient) ModifyInstanceConfiguration

修改指定实例的参数。

func (*RdsClient) ResetPwd

func (c *RdsClient) ResetPwd(request *model.ResetPwdRequest) (*model.ResetPwdResponse, error)

重置数据库密码.

func (*RdsClient) RestoreTables

func (c *RdsClient) RestoreTables(request *model.RestoreTablesRequest) (*model.RestoreTablesResponse, error)

表级时间点恢复。

func (*RdsClient) RestoreToExistingInstance

恢复到已有实例。

func (*RdsClient) Revoke

func (c *RdsClient) Revoke(request *model.RevokeRequest) (*model.RevokeResponse, error)

解除数据库帐号权限。

func (*RdsClient) SetAuditlogPolicy

func (c *RdsClient) SetAuditlogPolicy(request *model.SetAuditlogPolicyRequest) (*model.SetAuditlogPolicyResponse, error)

设置审计日志策略。

func (*RdsClient) SetBackupPolicy

func (c *RdsClient) SetBackupPolicy(request *model.SetBackupPolicyRequest) (*model.SetBackupPolicyResponse, error)

设置自动备份策略。

func (*RdsClient) SetDbUserPwd

func (c *RdsClient) SetDbUserPwd(request *model.SetDbUserPwdRequest) (*model.SetDbUserPwdResponse, error)

设置数据库账号密码

func (*RdsClient) SetOffSiteBackupPolicy

设置跨区域备份策略。

func (*RdsClient) SetSecurityGroup

func (c *RdsClient) SetSecurityGroup(request *model.SetSecurityGroupRequest) (*model.SetSecurityGroupResponse, error)

修改安全组

生成审计日志下载链接。

func (*RdsClient) ShowAuditlogPolicy

func (c *RdsClient) ShowAuditlogPolicy(request *model.ShowAuditlogPolicyRequest) (*model.ShowAuditlogPolicyResponse, error)

查询审计日志策略。

获取备份下载链接。

func (*RdsClient) ShowBackupPolicy

func (c *RdsClient) ShowBackupPolicy(request *model.ShowBackupPolicyRequest) (*model.ShowBackupPolicyResponse, error)

查询自动备份策略。

func (*RdsClient) ShowConfiguration

func (c *RdsClient) ShowConfiguration(request *model.ShowConfigurationRequest) (*model.ShowConfigurationResponse, error)

获取指定参数模板的参数。

func (*RdsClient) ShowInstanceConfiguration

获取指定实例的参数模板。

func (*RdsClient) ShowOffSiteBackupPolicy

查询跨区域备份策略。

func (*RdsClient) StartFailover

func (c *RdsClient) StartFailover(request *model.StartFailoverRequest) (*model.StartFailoverResponse, error)

手动倒换主备.

func (*RdsClient) StartInstanceAction

变更实例规格/扩容实例磁盘/重启实例/单机转主备。

func (*RdsClient) SwitchSsl

func (c *RdsClient) SwitchSsl(request *model.SwitchSslRequest) (*model.SwitchSslResponse, error)

SSL开关

func (*RdsClient) UpdateDataIp

func (c *RdsClient) UpdateDataIp(request *model.UpdateDataIpRequest) (*model.UpdateDataIpResponse, error)

修改内网地址

func (*RdsClient) UpdatePort

func (c *RdsClient) UpdatePort(request *model.UpdatePortRequest) (*model.UpdatePortResponse, error)

修改数据库端口

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL