v3

package
v0.0.86 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 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 GenReqDefForApplyConfigurationAsync added in v0.0.83

func GenReqDefForApplyConfigurationAsync() *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 GenReqDefForDeleteSqlserverDatabaseEx added in v0.0.83

func GenReqDefForDeleteSqlserverDatabaseEx() *def.HttpRequestDef

func GenReqDefForDeleteSqlserverDbUser

func GenReqDefForDeleteSqlserverDbUser() *def.HttpRequestDef

func GenReqDefForDownloadSlowlog

func GenReqDefForDownloadSlowlog() *def.HttpRequestDef

func GenReqDefForEnableConfiguration

func GenReqDefForEnableConfiguration() *def.HttpRequestDef

func GenReqDefForListApiVersion added in v0.0.73

func GenReqDefForListApiVersion() *def.HttpRequestDef

func GenReqDefForListApiVersionNew added in v0.0.75

func GenReqDefForListApiVersionNew() *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 GenReqDefForListSlowLogFile added in v0.0.78

func GenReqDefForListSlowLogFile() *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 GenReqDefForSearchQueryScaleComputeFlavors added in v0.0.73

func GenReqDefForSearchQueryScaleComputeFlavors() *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 GenReqDefForShowApiVersion added in v0.0.73

func GenReqDefForShowApiVersion() *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 GenReqDefForStartupInstance added in v0.0.78

func GenReqDefForStartupInstance() *def.HttpRequestDef

func GenReqDefForStopDatabaseProxy added in v0.0.70

func GenReqDefForStopDatabaseProxy() *def.HttpRequestDef

func GenReqDefForStopInstance added in v0.0.78

func GenReqDefForStopInstance() *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 GenReqDefForUpdateInstanceConfigurationAsync added in v0.0.83

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

授权数据库帐号

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) AllowDbUserPrivilege

授权数据库帐号

授权数据库帐号。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) AllowSqlserverDbUserPrivilege

授权数据库帐号

授权数据库帐号。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ApplyConfigurationAsync added in v0.0.83

应用参数模板

应用参数模板。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) AttachEip

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

绑定和解绑弹性公网IP

绑定和解绑弹性公网IP。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) BatchTagAddAction

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

批量添加标签

批量添加标签。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) BatchTagDelAction

func (c *RdsClient) BatchTagDelAction(request *model.BatchTagDelActionRequest) (*model.BatchTagDelActionResponse, error)

批量删除标签

批量删除标签。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ChangeFailoverMode

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

更改主备实例的数据同步方式

更改主备实例的数据同步方式。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ChangeFailoverStrategy

切换主备实例的倒换策略

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ChangeOpsWindow

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

设置可维护时间段

设置可维护时间段

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ChangeProxyScale added in v0.0.70

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

数据库代理规格变更

数据库代理实例进行规格变更。

- 调用接口前,您需要了解API 认证鉴权。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ChangeTheDelayThreshold added in v0.0.70

修改读写分离阈值

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) CreateConfiguration

创建参数模板

创建参数模板。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) CreateDatabase

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

创建数据库

创建数据库。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) CreateDbUser

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

创建数据库用户

创建数据库用户。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) CreateDnsName

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

申请域名

申请域名

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) CreateInstance

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

创建数据库实例

创建数据库实例。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) CreateManualBackup

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

创建手动备份

创建手动备份。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) CreatePostgresqlDatabase

创建数据库

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) CreatePostgresqlDatabaseSchema

创建数据库SCHEMA

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) CreatePostgresqlDbUser

创建数据库用户

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) CreateRestoreInstance

恢复到新实例

恢复到新实例。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) CreateSqlserverDatabase

创建数据库

创建数据库。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) CreateSqlserverDbUser

创建数据库用户

创建数据库用户。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) DeleteConfiguration

删除参数模板

删除参数模板。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) DeleteDatabase

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

删除数据库

删除数据库。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) DeleteDbUser

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

删除数据库用户

删除数据库用户。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) DeleteInstance

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

删除数据库实例

删除数据库实例。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) DeleteManualBackup

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

删除手动备份

删除手动备份。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) DeleteSqlserverDatabase

删除数据库

删除数据库。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) DeleteSqlserverDatabaseEx added in v0.0.83

删除数据库

删除数据库。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) DeleteSqlserverDbUser

删除数据库用户

删除数据库用户。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) DownloadSlowlog

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

获取慢日志下载链接

获取慢日志下载链接。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) EnableConfiguration

应用参数模板

应用参数模板。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListApiVersion added in v0.0.73

func (c *RdsClient) ListApiVersion(request *model.ListApiVersionRequest) (*model.ListApiVersionResponse, error)

查询API版本列表

查询API版本列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListApiVersionNew added in v0.0.75

func (c *RdsClient) ListApiVersionNew(request *model.ListApiVersionNewRequest) (*model.ListApiVersionNewResponse, error)

查询API版本列表

查询API版本列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListAuditlogs

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

获取审计日志列表

获取审计日志列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListAuthorizedDatabases

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

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListAuthorizedDbUsers

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

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListAuthorizedSqlserverDbUsers

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

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListBackups

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

获取备份列表

获取备份列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListCollations

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

查询SQLServer可用字符集

查询SQLServer可用字符集

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListConfigurations

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

获取参数模板列表

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListDatabases

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

查询数据库列表

查询数据库列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListDatastores

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

查询数据库引擎的版本

查询数据库引擎的版本。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListDbUsers

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

查询数据库用户列表

查询数据库用户列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListErrorLogs

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

查询数据库错误日志

查询数据库错误日志。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListErrorLogsNew added in v0.0.68

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

查询数据库错误日志

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListFlavors

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

查询数据库规格

查询数据库规格。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListInstances

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

查询数据库实例列表

查询数据库实例列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListJobInfo

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

获取指定ID的任务信息

获取指定ID的任务信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListJobInfoDetail

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

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

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListOffSiteBackups

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

查询跨区域备份列表

查询跨区域备份列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListOffSiteInstances

查询跨区域备份实例列表

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListOffSiteRestoreTimes

查询跨区域备份可恢复时间段

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListPostgresqlDatabaseSchemas

查询数据库SCHEMA列表

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListPostgresqlDatabases

查询数据库列表

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListPostgresqlDbUserPaginated

查询数据库用户列表

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListProjectTags

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

查询项目标签

查询项目标签。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListRestoreTimes

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

查询可恢复时间段

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListSlowLogFile added in v0.0.78

func (c *RdsClient) ListSlowLogFile(request *model.ListSlowLogFileRequest) (*model.ListSlowLogFileResponse, error)

查询慢日志文件列表

查询慢日志文件列表。 调用该接口取到慢日志文件名后,可以调用接口/v3/{project_id}/instances/{instance_id}/slowlog-download 获取慢日志文件下载链接

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListSlowLogs

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

查询数据库慢日志

查询数据库慢日志。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListSlowLogsNew added in v0.0.68

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

查询数据库慢日志

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListSlowlogStatistics

获取慢日志统计信息

获取慢日志统计信息

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListSqlserverDatabases

查询数据库列表

查询数据库列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListSqlserverDbUsers

查询数据库用户列表

查询数据库用户列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ListStorageTypes

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

查询数据库磁盘类型

查询数据库磁盘类型。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) MigrateFollower

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

迁移主备实例的备机

迁移主备实例的备机

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ResetPwd

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

重置数据库密码

重置数据库密码.

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) RestoreExistInstance added in v0.0.71

恢复到已有实例

恢复到已有实例。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) RestoreTables

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

表级时间点恢复(MySQL)

表级时间点恢复(MySQL)。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) RestoreToExistingInstance

恢复到已有实例

恢复到已有实例。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) Revoke

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

解除数据库帐号权限

解除数据库帐号权限。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) RevokeSqlserverDbUserPrivilege

解除数据库帐号权限

解除数据库帐号权限。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) SearchQueryScaleComputeFlavors added in v0.0.73

查询数据库代理可变更的规格

查询数据库代理可变更的规格信息。

- 调用接口前,您需要了解API 认证鉴权。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) SearchQueryScaleFlavors added in v0.0.70

查询数据库代理可变更的规格

查询数据库代理可变更的规格信息。

- 调用接口前,您需要了解API 认证鉴权。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) SetAuditlogPolicy

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

设置审计日志策略

设置审计日志策略。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) SetBackupPolicy

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

设置自动备份策略

设置自动备份策略。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) SetBinlogClearPolicy added in v0.0.47

设置binlog本地保留时长

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) SetDbUserPwd

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

设置数据库账号密码

设置数据库账号密码

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) SetOffSiteBackupPolicy

设置跨区域备份策略

设置跨区域备份策略。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) SetPostgresqlDbUserPwd

重置数据库帐号密码

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) SetSecurityGroup

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

修改安全组

修改安全组

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ShowApiVersion added in v0.0.73

func (c *RdsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)

查询指定的API版本信息

查询指定的API版本信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

生成审计日志下载链接

生成审计日志下载链接。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ShowAuditlogPolicy

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

查询审计日志策略

查询审计日志策略。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

获取备份下载链接

获取备份下载链接。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ShowBackupPolicy

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

查询自动备份策略

查询自动备份策略。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ShowBinlogClearPolicy added in v0.0.47

获取binlog本地保留时长

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ShowConfiguration

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

获取指定参数模板的参数

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ShowDrReplicaStatus added in v0.0.70

查询跨云容灾复制状态

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ShowInformationAboutDatabaseProxy added in v0.0.70

查询数据库代理信息

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ShowInstanceConfiguration

获取指定实例的参数模板

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ShowOffSiteBackupPolicy

查询跨区域备份策略

查询跨区域备份策略。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) ShowQuotas added in v0.0.46

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

查询配额

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) StartDatabaseProxy added in v0.0.70

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

开启数据库代理

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) StartFailover

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

手动倒换主备

手动倒换主备.

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) StartInstanceEnlargeVolumeAction

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

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) StartInstanceRestartAction

重启数据库实例

重启数据库实例。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) StartInstanceSingleToHaAction

单机转主备实例

单机转主备实例。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) StartRecyclePolicy

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

设置回收站策略

设置回收站策略。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) StartResizeFlavorAction

变更数据库实例的规格

变更数据库实例的规格。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) StartupInstance added in v0.0.78

func (c *RdsClient) StartupInstance(request *model.StartupInstanceRequest) (*model.StartupInstanceResponse, error)

开启实例

停止实例以节省费用,在停止数据库实例后,支持手动重新开启实例。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) StopDatabaseProxy added in v0.0.70

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

关闭数据库代理

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) StopInstance added in v0.0.78

func (c *RdsClient) StopInstance(request *model.StopInstanceRequest) (*model.StopInstanceResponse, error)

停止实例

实例进行关机,通过暂时停止按需实例以节省费用,实例默认停止七天。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) SwitchSsl

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

设置SSL数据加密

设置SSL数据加密。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) UpdateConfiguration

修改参数模板参数

修改参数模板参数。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) UpdateDataIp

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

修改内网地址

修改内网地址

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) UpdateDatabase added in v0.0.59

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

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

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) UpdateDnsName

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

修改域名

修改域名

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) UpdateInstanceConfiguration

修改指定实例的参数

修改指定实例的参数。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) UpdateInstanceConfigurationAsync added in v0.0.83

修改指定实例的参数

修改指定实例的参数。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) UpdateInstanceName

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

修改实例名称

修改实例名称。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) UpdatePort

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

修改数据库端口

修改数据库端口

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) UpdatePostgresqlInstanceAlias

修改实例备注信息

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) UpdateReadWeight added in v0.0.70

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

修改读写分离权重

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RdsClient) UpgradeDbVersion added in v0.0.68

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

升级内核小版本

对实例进行小版本升级。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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