v3

package
v0.0.72 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 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 GenReqDefForAllowDbPrivilege

func GenReqDefForAllowDbPrivilege() *def.HttpRequestDef

func GenReqDefForAllowDbUserPrivilege

func GenReqDefForAllowDbUserPrivilege() *def.HttpRequestDef

func GenReqDefForAllowSqlserverDbUserPrivilege

func GenReqDefForAllowSqlserverDbUserPrivilege() *def.HttpRequestDef

func GenReqDefForAttachEip

func GenReqDefForAttachEip() *def.HttpRequestDef

func GenReqDefForBatchTagAddAction

func GenReqDefForBatchTagAddAction() *def.HttpRequestDef

func GenReqDefForBatchTagDelAction

func GenReqDefForBatchTagDelAction() *def.HttpRequestDef

func GenReqDefForChangeFailoverMode

func GenReqDefForChangeFailoverMode() *def.HttpRequestDef

func GenReqDefForChangeFailoverStrategy

func GenReqDefForChangeFailoverStrategy() *def.HttpRequestDef

func GenReqDefForChangeOpsWindow

func GenReqDefForChangeOpsWindow() *def.HttpRequestDef

func GenReqDefForChangeProxyScale added in v0.0.70

func GenReqDefForChangeProxyScale() *def.HttpRequestDef

func GenReqDefForChangeTheDelayThreshold added in v0.0.70

func GenReqDefForChangeTheDelayThreshold() *def.HttpRequestDef

func GenReqDefForCreateConfiguration

func GenReqDefForCreateConfiguration() *def.HttpRequestDef

func GenReqDefForCreateDatabase

func GenReqDefForCreateDatabase() *def.HttpRequestDef

func GenReqDefForCreateDbUser

func GenReqDefForCreateDbUser() *def.HttpRequestDef

func GenReqDefForCreateDnsName

func GenReqDefForCreateDnsName() *def.HttpRequestDef

func GenReqDefForCreateInstance

func GenReqDefForCreateInstance() *def.HttpRequestDef

func GenReqDefForCreateManualBackup

func GenReqDefForCreateManualBackup() *def.HttpRequestDef

func GenReqDefForCreatePostgresqlDatabase

func GenReqDefForCreatePostgresqlDatabase() *def.HttpRequestDef

func GenReqDefForCreatePostgresqlDatabaseSchema

func GenReqDefForCreatePostgresqlDatabaseSchema() *def.HttpRequestDef

func GenReqDefForCreatePostgresqlDbUser

func GenReqDefForCreatePostgresqlDbUser() *def.HttpRequestDef

func GenReqDefForCreateRestoreInstance

func GenReqDefForCreateRestoreInstance() *def.HttpRequestDef

func GenReqDefForCreateSqlserverDatabase

func GenReqDefForCreateSqlserverDatabase() *def.HttpRequestDef

func GenReqDefForCreateSqlserverDbUser

func GenReqDefForCreateSqlserverDbUser() *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 GenReqDefForDeleteSqlserverDatabase

func GenReqDefForDeleteSqlserverDatabase() *def.HttpRequestDef

func GenReqDefForDeleteSqlserverDbUser

func GenReqDefForDeleteSqlserverDbUser() *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 GenReqDefForListAuthorizedSqlserverDbUsers

func GenReqDefForListAuthorizedSqlserverDbUsers() *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 GenReqDefForListErrorLogsNew added in v0.0.68

func GenReqDefForListErrorLogsNew() *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 GenReqDefForListPostgresqlDatabaseSchemas

func GenReqDefForListPostgresqlDatabaseSchemas() *def.HttpRequestDef

func GenReqDefForListPostgresqlDatabases

func GenReqDefForListPostgresqlDatabases() *def.HttpRequestDef

func GenReqDefForListPostgresqlDbUserPaginated

func GenReqDefForListPostgresqlDbUserPaginated() *def.HttpRequestDef

func GenReqDefForListProjectTags

func GenReqDefForListProjectTags() *def.HttpRequestDef

func GenReqDefForListRestoreTimes

func GenReqDefForListRestoreTimes() *def.HttpRequestDef

func GenReqDefForListSlowLogs

func GenReqDefForListSlowLogs() *def.HttpRequestDef

func GenReqDefForListSlowLogsNew added in v0.0.68

func GenReqDefForListSlowLogsNew() *def.HttpRequestDef

func GenReqDefForListSlowlogStatistics

func GenReqDefForListSlowlogStatistics() *def.HttpRequestDef

func GenReqDefForListSqlserverDatabases

func GenReqDefForListSqlserverDatabases() *def.HttpRequestDef

func GenReqDefForListSqlserverDbUsers

func GenReqDefForListSqlserverDbUsers() *def.HttpRequestDef

func GenReqDefForListStorageTypes

func GenReqDefForListStorageTypes() *def.HttpRequestDef

func GenReqDefForMigrateFollower

func GenReqDefForMigrateFollower() *def.HttpRequestDef

func GenReqDefForResetPwd

func GenReqDefForResetPwd() *def.HttpRequestDef

func GenReqDefForRestoreExistInstance added in v0.0.71

func GenReqDefForRestoreExistInstance() *def.HttpRequestDef

func GenReqDefForRestoreTables

func GenReqDefForRestoreTables() *def.HttpRequestDef

func GenReqDefForRestoreToExistingInstance

func GenReqDefForRestoreToExistingInstance() *def.HttpRequestDef

func GenReqDefForRevoke

func GenReqDefForRevoke() *def.HttpRequestDef

func GenReqDefForRevokeSqlserverDbUserPrivilege

func GenReqDefForRevokeSqlserverDbUserPrivilege() *def.HttpRequestDef

func GenReqDefForSearchQueryScaleFlavors added in v0.0.70

func GenReqDefForSearchQueryScaleFlavors() *def.HttpRequestDef

func GenReqDefForSetAuditlogPolicy

func GenReqDefForSetAuditlogPolicy() *def.HttpRequestDef

func GenReqDefForSetBackupPolicy

func GenReqDefForSetBackupPolicy() *def.HttpRequestDef

func GenReqDefForSetBinlogClearPolicy added in v0.0.47

func GenReqDefForSetBinlogClearPolicy() *def.HttpRequestDef

func GenReqDefForSetDbUserPwd

func GenReqDefForSetDbUserPwd() *def.HttpRequestDef

func GenReqDefForSetOffSiteBackupPolicy

func GenReqDefForSetOffSiteBackupPolicy() *def.HttpRequestDef

func GenReqDefForSetPostgresqlDbUserPwd

func GenReqDefForSetPostgresqlDbUserPwd() *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 GenReqDefForShowBinlogClearPolicy added in v0.0.47

func GenReqDefForShowBinlogClearPolicy() *def.HttpRequestDef

func GenReqDefForShowConfiguration

func GenReqDefForShowConfiguration() *def.HttpRequestDef

func GenReqDefForShowDrReplicaStatus added in v0.0.70

func GenReqDefForShowDrReplicaStatus() *def.HttpRequestDef

func GenReqDefForShowInformationAboutDatabaseProxy added in v0.0.70

func GenReqDefForShowInformationAboutDatabaseProxy() *def.HttpRequestDef

func GenReqDefForShowInstanceConfiguration

func GenReqDefForShowInstanceConfiguration() *def.HttpRequestDef

func GenReqDefForShowOffSiteBackupPolicy

func GenReqDefForShowOffSiteBackupPolicy() *def.HttpRequestDef

func GenReqDefForShowQuotas added in v0.0.46

func GenReqDefForShowQuotas() *def.HttpRequestDef

func GenReqDefForStartDatabaseProxy added in v0.0.70

func GenReqDefForStartDatabaseProxy() *def.HttpRequestDef

func GenReqDefForStartFailover

func GenReqDefForStartFailover() *def.HttpRequestDef

func GenReqDefForStartInstanceEnlargeVolumeAction

func GenReqDefForStartInstanceEnlargeVolumeAction() *def.HttpRequestDef

func GenReqDefForStartInstanceRestartAction

func GenReqDefForStartInstanceRestartAction() *def.HttpRequestDef

func GenReqDefForStartInstanceSingleToHaAction

func GenReqDefForStartInstanceSingleToHaAction() *def.HttpRequestDef

func GenReqDefForStartRecyclePolicy

func GenReqDefForStartRecyclePolicy() *def.HttpRequestDef

func GenReqDefForStartResizeFlavorAction

func GenReqDefForStartResizeFlavorAction() *def.HttpRequestDef

func GenReqDefForStopDatabaseProxy added in v0.0.70

func GenReqDefForStopDatabaseProxy() *def.HttpRequestDef

func GenReqDefForSwitchSsl

func GenReqDefForSwitchSsl() *def.HttpRequestDef

func GenReqDefForUpdateConfiguration

func GenReqDefForUpdateConfiguration() *def.HttpRequestDef

func GenReqDefForUpdateDataIp

func GenReqDefForUpdateDataIp() *def.HttpRequestDef

func GenReqDefForUpdateDatabase added in v0.0.59

func GenReqDefForUpdateDatabase() *def.HttpRequestDef

func GenReqDefForUpdateDnsName

func GenReqDefForUpdateDnsName() *def.HttpRequestDef

func GenReqDefForUpdateInstanceConfiguration

func GenReqDefForUpdateInstanceConfiguration() *def.HttpRequestDef

func GenReqDefForUpdateInstanceName

func GenReqDefForUpdateInstanceName() *def.HttpRequestDef

func GenReqDefForUpdatePort

func GenReqDefForUpdatePort() *def.HttpRequestDef

func GenReqDefForUpdatePostgresqlInstanceAlias

func GenReqDefForUpdatePostgresqlInstanceAlias() *def.HttpRequestDef

func GenReqDefForUpdateReadWeight added in v0.0.70

func GenReqDefForUpdateReadWeight() *def.HttpRequestDef

func GenReqDefForUpgradeDbVersion added in v0.0.68

func GenReqDefForUpgradeDbVersion() *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) AllowDbPrivilege

func (c *RdsClient) AllowDbPrivilege(request *model.AllowDbPrivilegeRequest) (*model.AllowDbPrivilegeResponse, error)

在指定实例的数据库中, 设置帐号的权限。

func (*RdsClient) AllowDbUserPrivilege

授权数据库帐号。

func (*RdsClient) AllowSqlserverDbUserPrivilege

授权数据库帐号。

func (*RdsClient) AttachEip

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

绑定和解绑弹性公网IP。

func (*RdsClient) BatchTagAddAction

func (c *RdsClient) BatchTagAddAction(request *model.BatchTagAddActionRequest) (*model.BatchTagAddActionResponse, error)

批量添加标签。

func (*RdsClient) BatchTagDelAction

func (c *RdsClient) BatchTagDelAction(request *model.BatchTagDelActionRequest) (*model.BatchTagDelActionResponse, 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) ChangeProxyScale added in v0.0.70

func (c *RdsClient) ChangeProxyScale(request *model.ChangeProxyScaleRequest) (*model.ChangeProxyScaleResponse, error)

数据库代理实例进行规格变更。 - 调用接口前,您需要了解API 认证鉴权。

func (*RdsClient) ChangeTheDelayThreshold added in v0.0.70

修改指定实例的读写分离延时阈值。

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) CreateDnsName

func (c *RdsClient) CreateDnsName(request *model.CreateDnsNameRequest) (*model.CreateDnsNameResponse, error)

申请域名

func (*RdsClient) CreateInstance

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

创建数据库实例。

func (*RdsClient) CreateManualBackup

func (c *RdsClient) CreateManualBackup(request *model.CreateManualBackupRequest) (*model.CreateManualBackupResponse, error)

创建手动备份。

func (*RdsClient) CreatePostgresqlDatabase

在指定实例中创建数据库。

func (*RdsClient) CreatePostgresqlDatabaseSchema

在指定实例的数据库中, 创建数据库schema。

func (*RdsClient) CreatePostgresqlDbUser

在指定实例中创建数据库用户。

func (*RdsClient) CreateRestoreInstance

恢复到新实例。

func (*RdsClient) CreateSqlserverDatabase

创建数据库。

func (*RdsClient) CreateSqlserverDbUser

创建数据库用户。

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) DeleteSqlserverDatabase

删除数据库。

func (*RdsClient) DeleteSqlserverDbUser

删除数据库用户。

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) ListAuthorizedSqlserverDbUsers

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

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) ListErrorLogsNew added in v0.0.68

func (c *RdsClient) ListErrorLogsNew(request *model.ListErrorLogsNewRequest) (*model.ListErrorLogsNewResponse, error)

查询数据库错误日志。(与原v3接口相比修改offset,符合华为云服务开放 API遵从性规范3.0)

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)

获取指定ID的任务信息。

func (*RdsClient) ListJobInfoDetail

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

获取指定实例和时间范围的任务信息(SQL Server)。

func (*RdsClient) ListOffSiteBackups

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

查询跨区域备份列表。

func (*RdsClient) ListOffSiteInstances

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

func (*RdsClient) ListOffSiteRestoreTimes

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

func (*RdsClient) ListPostgresqlDatabaseSchemas

查询指定实例的数据库SCHEMA列表。

func (*RdsClient) ListPostgresqlDatabases

查询指定实例中的数据库列表。

func (*RdsClient) ListPostgresqlDbUserPaginated

在指定实例中查询数据库用户列表。

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) ListSlowLogsNew added in v0.0.68

func (c *RdsClient) ListSlowLogsNew(request *model.ListSlowLogsNewRequest) (*model.ListSlowLogsNewResponse, error)

查询数据库慢日志。(与原v3接口相比修改offset,符合华为云服务开放 API遵从性规范3.0)

func (*RdsClient) ListSlowlogStatistics

获取慢日志统计信息

func (*RdsClient) ListSqlserverDatabases

查询数据库列表。

func (*RdsClient) ListSqlserverDbUsers

查询数据库用户列表。

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) ResetPwd

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

重置数据库密码.

func (*RdsClient) RestoreExistInstance added in v0.0.71

恢复到已有实例。

func (*RdsClient) RestoreTables

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

表级时间点恢复(MySQL)。

func (*RdsClient) RestoreToExistingInstance

恢复到已有实例。

func (*RdsClient) Revoke

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

解除数据库帐号权限。

func (*RdsClient) RevokeSqlserverDbUserPrivilege

解除数据库帐号权限。

func (*RdsClient) SearchQueryScaleFlavors added in v0.0.70

查询数据库代理可变更的规格信息。 - 调用接口前,您需要了解API 认证鉴权。

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) SetBinlogClearPolicy added in v0.0.47

修改指定实例的binlog本地保留时长。

func (*RdsClient) SetDbUserPwd

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

设置数据库账号密码

func (*RdsClient) SetOffSiteBackupPolicy

设置跨区域备份策略。

func (*RdsClient) SetPostgresqlDbUserPwd

重置指定数据库帐号的密码。

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) ShowBinlogClearPolicy added in v0.0.47

查寻指定实例的binlog本地保留时长。

func (*RdsClient) ShowConfiguration

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

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

func (*RdsClient) ShowDrReplicaStatus added in v0.0.70

建立跨云容灾关系后,查询主实例和灾备实例间的复制状态及延迟。

func (*RdsClient) ShowInformationAboutDatabaseProxy added in v0.0.70

查询指定实例的数据库代理详细信息。

func (*RdsClient) ShowInstanceConfiguration

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

func (*RdsClient) ShowOffSiteBackupPolicy

查询跨区域备份策略。

func (*RdsClient) ShowQuotas added in v0.0.46

func (c *RdsClient) ShowQuotas(request *model.ShowQuotasRequest) (*model.ShowQuotasResponse, error)

查询当前项目下资源配额情况。

func (*RdsClient) StartDatabaseProxy added in v0.0.70

func (c *RdsClient) StartDatabaseProxy(request *model.StartDatabaseProxyRequest) (*model.StartDatabaseProxyResponse, error)

为指定实例开启数据库代理。

func (*RdsClient) StartFailover

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

手动倒换主备.

func (*RdsClient) StartInstanceEnlargeVolumeAction

扩容数据库实例的磁盘空间。

func (*RdsClient) StartInstanceRestartAction

重启数据库实例。

func (*RdsClient) StartInstanceSingleToHaAction

单机转主备实例。

func (*RdsClient) StartRecyclePolicy

func (c *RdsClient) StartRecyclePolicy(request *model.StartRecyclePolicyRequest) (*model.StartRecyclePolicyResponse, error)

设置回收站策略。

func (*RdsClient) StartResizeFlavorAction

变更数据库实例的规格。

func (*RdsClient) StopDatabaseProxy added in v0.0.70

func (c *RdsClient) StopDatabaseProxy(request *model.StopDatabaseProxyRequest) (*model.StopDatabaseProxyResponse, error)

为指定实例关闭数据库代理。

func (*RdsClient) SwitchSsl

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

设置SSL数据加密。

func (*RdsClient) UpdateConfiguration

修改参数模板参数。

func (*RdsClient) UpdateDataIp

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

修改内网地址

func (*RdsClient) UpdateDatabase added in v0.0.59

func (c *RdsClient) UpdateDatabase(request *model.UpdateDatabaseRequest) (*model.UpdateDatabaseResponse, error)

修改指定实例中的数据库备注。

func (*RdsClient) UpdateDnsName

func (c *RdsClient) UpdateDnsName(request *model.UpdateDnsNameRequest) (*model.UpdateDnsNameResponse, error)

修改域名

func (*RdsClient) UpdateInstanceConfiguration

修改指定实例的参数。

func (*RdsClient) UpdateInstanceName

func (c *RdsClient) UpdateInstanceName(request *model.UpdateInstanceNameRequest) (*model.UpdateInstanceNameResponse, error)

修改实例名称。

func (*RdsClient) UpdatePort

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

修改数据库端口

func (*RdsClient) UpdatePostgresqlInstanceAlias

修改指定数据库实例的备注信息。

func (*RdsClient) UpdateReadWeight added in v0.0.70

func (c *RdsClient) UpdateReadWeight(request *model.UpdateReadWeightRequest) (*model.UpdateReadWeightResponse, error)

修改指定实例的读写分离权重。

func (*RdsClient) UpgradeDbVersion added in v0.0.68

func (c *RdsClient) UpgradeDbVersion(request *model.UpgradeDbVersionRequest) (*model.UpgradeDbVersionResponse, error)

对实例进行小版本升级。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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