Documentation ¶
Index ¶
- func DdsClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForAddShardingNode() *def.HttpRequestDef
- func GenReqDefForAttachEip() *def.HttpRequestDef
- func GenReqDefForAttachInternalIp() *def.HttpRequestDef
- func GenReqDefForBatchTagAction() *def.HttpRequestDef
- func GenReqDefForCancelEip() *def.HttpRequestDef
- func GenReqDefForCheckPassword() *def.HttpRequestDef
- func GenReqDefForCreateDatabaseRole() *def.HttpRequestDef
- func GenReqDefForCreateDatabaseUser() *def.HttpRequestDef
- func GenReqDefForCreateInstance() *def.HttpRequestDef
- func GenReqDefForCreateIp() *def.HttpRequestDef
- func GenReqDefForCreateManualBackup() *def.HttpRequestDef
- func GenReqDefForDeleteInstance() *def.HttpRequestDef
- func GenReqDefForDeleteManualBackup() *def.HttpRequestDef
- func GenReqDefForDeleteSession() *def.HttpRequestDef
- func GenReqDefForDownloadErrorlog() *def.HttpRequestDef
- func GenReqDefForDownloadSlowlog() *def.HttpRequestDef
- func GenReqDefForListApiVersion() *def.HttpRequestDef
- func GenReqDefForListAuditlogLinks() *def.HttpRequestDef
- func GenReqDefForListAuditlogs() *def.HttpRequestDef
- func GenReqDefForListBackups() *def.HttpRequestDef
- func GenReqDefForListDatabaseRoles() *def.HttpRequestDef
- func GenReqDefForListDatabaseUsers() *def.HttpRequestDef
- func GenReqDefForListDatastoreVersions() *def.HttpRequestDef
- func GenReqDefForListErrorLogs() *def.HttpRequestDef
- func GenReqDefForListFlavors() *def.HttpRequestDef
- func GenReqDefForListInstanceTags() *def.HttpRequestDef
- func GenReqDefForListInstances() *def.HttpRequestDef
- func GenReqDefForListInstancesByTags() *def.HttpRequestDef
- func GenReqDefForListProjectTags() *def.HttpRequestDef
- func GenReqDefForListRestoreCollections() *def.HttpRequestDef
- func GenReqDefForListRestoreDatabases() *def.HttpRequestDef
- func GenReqDefForListRestoreTimes() *def.HttpRequestDef
- func GenReqDefForListSessions() *def.HttpRequestDef
- func GenReqDefForListSlowLogs() *def.HttpRequestDef
- func GenReqDefForListStorageType() *def.HttpRequestDef
- func GenReqDefForResetPassword() *def.HttpRequestDef
- func GenReqDefForResizeInstance() *def.HttpRequestDef
- func GenReqDefForResizeInstanceVolume() *def.HttpRequestDef
- func GenReqDefForRestartInstance() *def.HttpRequestDef
- func GenReqDefForRestoreInstance() *def.HttpRequestDef
- func GenReqDefForRestoreInstanceFromCollection() *def.HttpRequestDef
- func GenReqDefForRestoreNewInstance() *def.HttpRequestDef
- func GenReqDefForSetAuditlogPolicy() *def.HttpRequestDef
- func GenReqDefForSetBackupPolicy() *def.HttpRequestDef
- func GenReqDefForShowApiVersion() *def.HttpRequestDef
- func GenReqDefForShowAuditlogPolicy() *def.HttpRequestDef
- func GenReqDefForShowBackupDownloadLink() *def.HttpRequestDef
- func GenReqDefForShowBackupPolicy() *def.HttpRequestDef
- func GenReqDefForSwitchSsl() *def.HttpRequestDef
- func GenReqDefForSwitchoverReplicaSet() *def.HttpRequestDef
- func GenReqDefForUpdateInstanceName() *def.HttpRequestDef
- func GenReqDefForUpdateInstancePort() *def.HttpRequestDef
- func GenReqDefForUpdateSecurityGroup() *def.HttpRequestDef
- type DdsClient
- func (c *DdsClient) AddShardingNode(request *model.AddShardingNodeRequest) (*model.AddShardingNodeResponse, error)
- func (c *DdsClient) AttachEip(request *model.AttachEipRequest) (*model.AttachEipResponse, error)
- func (c *DdsClient) AttachInternalIp(request *model.AttachInternalIpRequest) (*model.AttachInternalIpResponse, error)
- func (c *DdsClient) BatchTagAction(request *model.BatchTagActionRequest) (*model.BatchTagActionResponse, error)
- func (c *DdsClient) CancelEip(request *model.CancelEipRequest) (*model.CancelEipResponse, error)
- func (c *DdsClient) CheckPassword(request *model.CheckPasswordRequest) (*model.CheckPasswordResponse, error)
- func (c *DdsClient) CreateDatabaseRole(request *model.CreateDatabaseRoleRequest) (*model.CreateDatabaseRoleResponse, error)
- func (c *DdsClient) CreateDatabaseUser(request *model.CreateDatabaseUserRequest) (*model.CreateDatabaseUserResponse, error)
- func (c *DdsClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
- func (c *DdsClient) CreateIp(request *model.CreateIpRequest) (*model.CreateIpResponse, error)
- func (c *DdsClient) CreateManualBackup(request *model.CreateManualBackupRequest) (*model.CreateManualBackupResponse, error)
- func (c *DdsClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
- func (c *DdsClient) DeleteManualBackup(request *model.DeleteManualBackupRequest) (*model.DeleteManualBackupResponse, error)
- func (c *DdsClient) DeleteSession(request *model.DeleteSessionRequest) (*model.DeleteSessionResponse, error)
- func (c *DdsClient) DownloadErrorlog(request *model.DownloadErrorlogRequest) (*model.DownloadErrorlogResponse, error)
- func (c *DdsClient) DownloadSlowlog(request *model.DownloadSlowlogRequest) (*model.DownloadSlowlogResponse, error)
- func (c *DdsClient) ListApiVersion(request *model.ListApiVersionRequest) (*model.ListApiVersionResponse, error)
- func (c *DdsClient) ListAuditlogLinks(request *model.ListAuditlogLinksRequest) (*model.ListAuditlogLinksResponse, error)
- func (c *DdsClient) ListAuditlogs(request *model.ListAuditlogsRequest) (*model.ListAuditlogsResponse, error)
- func (c *DdsClient) ListBackups(request *model.ListBackupsRequest) (*model.ListBackupsResponse, error)
- func (c *DdsClient) ListDatabaseRoles(request *model.ListDatabaseRolesRequest) (*model.ListDatabaseRolesResponse, error)
- func (c *DdsClient) ListDatabaseUsers(request *model.ListDatabaseUsersRequest) (*model.ListDatabaseUsersResponse, error)
- func (c *DdsClient) ListDatastoreVersions(request *model.ListDatastoreVersionsRequest) (*model.ListDatastoreVersionsResponse, error)
- func (c *DdsClient) ListErrorLogs(request *model.ListErrorLogsRequest) (*model.ListErrorLogsResponse, error)
- func (c *DdsClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)
- func (c *DdsClient) ListInstanceTags(request *model.ListInstanceTagsRequest) (*model.ListInstanceTagsResponse, error)
- func (c *DdsClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
- func (c *DdsClient) ListInstancesByTags(request *model.ListInstancesByTagsRequest) (*model.ListInstancesByTagsResponse, error)
- func (c *DdsClient) ListProjectTags(request *model.ListProjectTagsRequest) (*model.ListProjectTagsResponse, error)
- func (c *DdsClient) ListRestoreCollections(request *model.ListRestoreCollectionsRequest) (*model.ListRestoreCollectionsResponse, error)
- func (c *DdsClient) ListRestoreDatabases(request *model.ListRestoreDatabasesRequest) (*model.ListRestoreDatabasesResponse, error)
- func (c *DdsClient) ListRestoreTimes(request *model.ListRestoreTimesRequest) (*model.ListRestoreTimesResponse, error)
- func (c *DdsClient) ListSessions(request *model.ListSessionsRequest) (*model.ListSessionsResponse, error)
- func (c *DdsClient) ListSlowLogs(request *model.ListSlowLogsRequest) (*model.ListSlowLogsResponse, error)
- func (c *DdsClient) ListStorageType(request *model.ListStorageTypeRequest) (*model.ListStorageTypeResponse, error)
- func (c *DdsClient) ResetPassword(request *model.ResetPasswordRequest) (*model.ResetPasswordResponse, error)
- func (c *DdsClient) ResizeInstance(request *model.ResizeInstanceRequest) (*model.ResizeInstanceResponse, error)
- func (c *DdsClient) ResizeInstanceVolume(request *model.ResizeInstanceVolumeRequest) (*model.ResizeInstanceVolumeResponse, error)
- func (c *DdsClient) RestartInstance(request *model.RestartInstanceRequest) (*model.RestartInstanceResponse, error)
- func (c *DdsClient) RestoreInstance(request *model.RestoreInstanceRequest) (*model.RestoreInstanceResponse, error)
- func (c *DdsClient) RestoreInstanceFromCollection(request *model.RestoreInstanceFromCollectionRequest) (*model.RestoreInstanceFromCollectionResponse, error)
- func (c *DdsClient) RestoreNewInstance(request *model.RestoreNewInstanceRequest) (*model.RestoreNewInstanceResponse, error)
- func (c *DdsClient) SetAuditlogPolicy(request *model.SetAuditlogPolicyRequest) (*model.SetAuditlogPolicyResponse, error)
- func (c *DdsClient) SetBackupPolicy(request *model.SetBackupPolicyRequest) (*model.SetBackupPolicyResponse, error)
- func (c *DdsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
- func (c *DdsClient) ShowAuditlogPolicy(request *model.ShowAuditlogPolicyRequest) (*model.ShowAuditlogPolicyResponse, error)
- func (c *DdsClient) ShowBackupDownloadLink(request *model.ShowBackupDownloadLinkRequest) (*model.ShowBackupDownloadLinkResponse, error)
- func (c *DdsClient) ShowBackupPolicy(request *model.ShowBackupPolicyRequest) (*model.ShowBackupPolicyResponse, error)
- func (c *DdsClient) SwitchSsl(request *model.SwitchSslRequest) (*model.SwitchSslResponse, error)
- func (c *DdsClient) SwitchoverReplicaSet(request *model.SwitchoverReplicaSetRequest) (*model.SwitchoverReplicaSetResponse, error)
- func (c *DdsClient) UpdateInstanceName(request *model.UpdateInstanceNameRequest) (*model.UpdateInstanceNameResponse, error)
- func (c *DdsClient) UpdateInstancePort(request *model.UpdateInstancePortRequest) (*model.UpdateInstancePortResponse, error)
- func (c *DdsClient) UpdateSecurityGroup(request *model.UpdateSecurityGroupRequest) (*model.UpdateSecurityGroupResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DdsClientBuilder ¶
func DdsClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForAddShardingNode ¶
func GenReqDefForAddShardingNode() *def.HttpRequestDef
func GenReqDefForAttachEip ¶
func GenReqDefForAttachEip() *def.HttpRequestDef
func GenReqDefForAttachInternalIp ¶
func GenReqDefForAttachInternalIp() *def.HttpRequestDef
func GenReqDefForBatchTagAction ¶
func GenReqDefForBatchTagAction() *def.HttpRequestDef
func GenReqDefForCancelEip ¶
func GenReqDefForCancelEip() *def.HttpRequestDef
func GenReqDefForCheckPassword ¶
func GenReqDefForCheckPassword() *def.HttpRequestDef
func GenReqDefForCreateDatabaseRole ¶
func GenReqDefForCreateDatabaseRole() *def.HttpRequestDef
func GenReqDefForCreateDatabaseUser ¶
func GenReqDefForCreateDatabaseUser() *def.HttpRequestDef
func GenReqDefForCreateInstance ¶
func GenReqDefForCreateInstance() *def.HttpRequestDef
func GenReqDefForCreateIp ¶
func GenReqDefForCreateIp() *def.HttpRequestDef
func GenReqDefForCreateManualBackup ¶
func GenReqDefForCreateManualBackup() *def.HttpRequestDef
func GenReqDefForDeleteInstance ¶
func GenReqDefForDeleteInstance() *def.HttpRequestDef
func GenReqDefForDeleteManualBackup ¶
func GenReqDefForDeleteManualBackup() *def.HttpRequestDef
func GenReqDefForDeleteSession ¶
func GenReqDefForDeleteSession() *def.HttpRequestDef
func GenReqDefForDownloadErrorlog ¶
func GenReqDefForDownloadErrorlog() *def.HttpRequestDef
func GenReqDefForDownloadSlowlog ¶
func GenReqDefForDownloadSlowlog() *def.HttpRequestDef
func GenReqDefForListApiVersion ¶
func GenReqDefForListApiVersion() *def.HttpRequestDef
func GenReqDefForListAuditlogLinks ¶
func GenReqDefForListAuditlogLinks() *def.HttpRequestDef
func GenReqDefForListAuditlogs ¶
func GenReqDefForListAuditlogs() *def.HttpRequestDef
func GenReqDefForListBackups ¶
func GenReqDefForListBackups() *def.HttpRequestDef
func GenReqDefForListDatabaseRoles ¶
func GenReqDefForListDatabaseRoles() *def.HttpRequestDef
func GenReqDefForListDatabaseUsers ¶
func GenReqDefForListDatabaseUsers() *def.HttpRequestDef
func GenReqDefForListDatastoreVersions ¶
func GenReqDefForListDatastoreVersions() *def.HttpRequestDef
func GenReqDefForListErrorLogs ¶
func GenReqDefForListErrorLogs() *def.HttpRequestDef
func GenReqDefForListFlavors ¶
func GenReqDefForListFlavors() *def.HttpRequestDef
func GenReqDefForListInstanceTags ¶
func GenReqDefForListInstanceTags() *def.HttpRequestDef
func GenReqDefForListInstances ¶
func GenReqDefForListInstances() *def.HttpRequestDef
func GenReqDefForListInstancesByTags ¶
func GenReqDefForListInstancesByTags() *def.HttpRequestDef
func GenReqDefForListProjectTags ¶
func GenReqDefForListProjectTags() *def.HttpRequestDef
func GenReqDefForListRestoreCollections ¶
func GenReqDefForListRestoreCollections() *def.HttpRequestDef
func GenReqDefForListRestoreDatabases ¶
func GenReqDefForListRestoreDatabases() *def.HttpRequestDef
func GenReqDefForListRestoreTimes ¶
func GenReqDefForListRestoreTimes() *def.HttpRequestDef
func GenReqDefForListSessions ¶
func GenReqDefForListSessions() *def.HttpRequestDef
func GenReqDefForListSlowLogs ¶
func GenReqDefForListSlowLogs() *def.HttpRequestDef
func GenReqDefForListStorageType ¶
func GenReqDefForListStorageType() *def.HttpRequestDef
func GenReqDefForResetPassword ¶
func GenReqDefForResetPassword() *def.HttpRequestDef
func GenReqDefForResizeInstance ¶
func GenReqDefForResizeInstance() *def.HttpRequestDef
func GenReqDefForResizeInstanceVolume ¶
func GenReqDefForResizeInstanceVolume() *def.HttpRequestDef
func GenReqDefForRestartInstance ¶
func GenReqDefForRestartInstance() *def.HttpRequestDef
func GenReqDefForRestoreInstance ¶
func GenReqDefForRestoreInstance() *def.HttpRequestDef
func GenReqDefForRestoreInstanceFromCollection ¶
func GenReqDefForRestoreInstanceFromCollection() *def.HttpRequestDef
func GenReqDefForRestoreNewInstance ¶
func GenReqDefForRestoreNewInstance() *def.HttpRequestDef
func GenReqDefForSetAuditlogPolicy ¶
func GenReqDefForSetAuditlogPolicy() *def.HttpRequestDef
func GenReqDefForSetBackupPolicy ¶
func GenReqDefForSetBackupPolicy() *def.HttpRequestDef
func GenReqDefForShowApiVersion ¶
func GenReqDefForShowApiVersion() *def.HttpRequestDef
func GenReqDefForShowAuditlogPolicy ¶
func GenReqDefForShowAuditlogPolicy() *def.HttpRequestDef
func GenReqDefForShowBackupDownloadLink ¶
func GenReqDefForShowBackupDownloadLink() *def.HttpRequestDef
func GenReqDefForShowBackupPolicy ¶
func GenReqDefForShowBackupPolicy() *def.HttpRequestDef
func GenReqDefForSwitchSsl ¶
func GenReqDefForSwitchSsl() *def.HttpRequestDef
func GenReqDefForSwitchoverReplicaSet ¶
func GenReqDefForSwitchoverReplicaSet() *def.HttpRequestDef
func GenReqDefForUpdateInstanceName ¶
func GenReqDefForUpdateInstanceName() *def.HttpRequestDef
func GenReqDefForUpdateInstancePort ¶
func GenReqDefForUpdateInstancePort() *def.HttpRequestDef
func GenReqDefForUpdateSecurityGroup ¶
func GenReqDefForUpdateSecurityGroup() *def.HttpRequestDef
Types ¶
type DdsClient ¶
type DdsClient struct {
HcClient *http_client.HcHttpClient
}
func NewDdsClient ¶
func NewDdsClient(hcClient *http_client.HcHttpClient) *DdsClient
func (*DdsClient) AddShardingNode ¶
func (c *DdsClient) AddShardingNode(request *model.AddShardingNodeRequest) (*model.AddShardingNodeResponse, error)
扩容指定集群实例的节点数量。
func (*DdsClient) AttachEip ¶
func (c *DdsClient) AttachEip(request *model.AttachEipRequest) (*model.AttachEipResponse, error)
为实例下的节点绑定弹性公网IP。
func (*DdsClient) AttachInternalIp ¶
func (c *DdsClient) AttachInternalIp(request *model.AttachInternalIpRequest) (*model.AttachInternalIpResponse, error)
修改实例的内网地址
func (*DdsClient) BatchTagAction ¶
func (c *DdsClient) BatchTagAction(request *model.BatchTagActionRequest) (*model.BatchTagActionResponse, error)
批量添加或删除指定实例的标签。
func (*DdsClient) CancelEip ¶
func (c *DdsClient) CancelEip(request *model.CancelEipRequest) (*model.CancelEipResponse, error)
解绑实例下节点已经绑定的弹性公网IP。
func (*DdsClient) CheckPassword ¶
func (c *DdsClient) CheckPassword(request *model.CheckPasswordRequest) (*model.CheckPasswordResponse, error)
检查数据库密码。
func (*DdsClient) CreateDatabaseRole ¶
func (c *DdsClient) CreateDatabaseRole(request *model.CreateDatabaseRoleRequest) (*model.CreateDatabaseRoleResponse, error)
创建数据库角色。
func (*DdsClient) CreateDatabaseUser ¶
func (c *DdsClient) CreateDatabaseUser(request *model.CreateDatabaseUserRequest) (*model.CreateDatabaseUserResponse, error)
创建数据库用户。
func (*DdsClient) CreateInstance ¶
func (c *DdsClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
创建文档数据库实例,包括集群实例、副本集实例、以及单节点实例。
func (*DdsClient) CreateIp ¶
func (c *DdsClient) CreateIp(request *model.CreateIpRequest) (*model.CreateIpResponse, error)
打开集群的Shard/Config IP开关
func (*DdsClient) CreateManualBackup ¶
func (c *DdsClient) CreateManualBackup(request *model.CreateManualBackupRequest) (*model.CreateManualBackupResponse, error)
创建数据库实例的手动备份。
func (*DdsClient) DeleteInstance ¶
func (c *DdsClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
删除数据库实例。
func (*DdsClient) DeleteManualBackup ¶
func (c *DdsClient) DeleteManualBackup(request *model.DeleteManualBackupRequest) (*model.DeleteManualBackupResponse, error)
删除数据库实例的手动备份。
func (*DdsClient) DeleteSession ¶
func (c *DdsClient) DeleteSession(request *model.DeleteSessionRequest) (*model.DeleteSessionResponse, error)
终结实例节点会话。
func (*DdsClient) DownloadErrorlog ¶
func (c *DdsClient) DownloadErrorlog(request *model.DownloadErrorlogRequest) (*model.DownloadErrorlogResponse, error)
获取错误日志下载链接。
func (*DdsClient) DownloadSlowlog ¶
func (c *DdsClient) DownloadSlowlog(request *model.DownloadSlowlogRequest) (*model.DownloadSlowlogResponse, error)
获取慢日志下载链接。
func (*DdsClient) ListApiVersion ¶
func (c *DdsClient) ListApiVersion(request *model.ListApiVersionRequest) (*model.ListApiVersionResponse, error)
查询当前支持的API版本信息列表。
func (*DdsClient) ListAuditlogLinks ¶
func (c *DdsClient) ListAuditlogLinks(request *model.ListAuditlogLinksRequest) (*model.ListAuditlogLinksResponse, error)
获取审计日志下载链接。
func (*DdsClient) ListAuditlogs ¶
func (c *DdsClient) ListAuditlogs(request *model.ListAuditlogsRequest) (*model.ListAuditlogsResponse, error)
获取审计日志列表。
func (*DdsClient) ListBackups ¶
func (c *DdsClient) ListBackups(request *model.ListBackupsRequest) (*model.ListBackupsResponse, error)
根据指定条件查询备份列表。
func (*DdsClient) ListDatabaseRoles ¶
func (c *DdsClient) ListDatabaseRoles(request *model.ListDatabaseRolesRequest) (*model.ListDatabaseRolesResponse, error)
查询数据库角色列表。
func (*DdsClient) ListDatabaseUsers ¶
func (c *DdsClient) ListDatabaseUsers(request *model.ListDatabaseUsersRequest) (*model.ListDatabaseUsersResponse, error)
查询数据库用户列表。
func (*DdsClient) ListDatastoreVersions ¶
func (c *DdsClient) ListDatastoreVersions(request *model.ListDatastoreVersionsRequest) (*model.ListDatastoreVersionsResponse, error)
查询指定实例类型的数据库版本信息。
func (*DdsClient) ListErrorLogs ¶
func (c *DdsClient) ListErrorLogs(request *model.ListErrorLogsRequest) (*model.ListErrorLogsResponse, error)
查询数据库错误信息。
func (*DdsClient) ListFlavors ¶
func (c *DdsClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)
查询指定条件下的所有实例规格信息。
func (*DdsClient) ListInstanceTags ¶
func (c *DdsClient) ListInstanceTags(request *model.ListInstanceTagsRequest) (*model.ListInstanceTagsResponse, error)
查询指定实例的标签信息。
func (*DdsClient) ListInstances ¶
func (c *DdsClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
根据指定条件查询实例列表。
func (*DdsClient) ListInstancesByTags ¶
func (c *DdsClient) ListInstancesByTags(request *model.ListInstancesByTagsRequest) (*model.ListInstancesByTagsResponse, error)
根据标签查询指定的数据库实例。
func (*DdsClient) ListProjectTags ¶
func (c *DdsClient) ListProjectTags(request *model.ListProjectTagsRequest) (*model.ListProjectTagsResponse, error)
查询指定project ID下实例的所有标签集合。
func (*DdsClient) ListRestoreCollections ¶
func (c *DdsClient) ListRestoreCollections(request *model.ListRestoreCollectionsRequest) (*model.ListRestoreCollectionsResponse, error)
获取可恢复的数据库集合列表。
func (*DdsClient) ListRestoreDatabases ¶
func (c *DdsClient) ListRestoreDatabases(request *model.ListRestoreDatabasesRequest) (*model.ListRestoreDatabasesResponse, error)
获取可恢复的数据库列表。
func (*DdsClient) ListRestoreTimes ¶
func (c *DdsClient) ListRestoreTimes(request *model.ListRestoreTimesRequest) (*model.ListRestoreTimesResponse, error)
查询实例的可恢复时间段。
func (*DdsClient) ListSessions ¶
func (c *DdsClient) ListSessions(request *model.ListSessionsRequest) (*model.ListSessionsResponse, error)
查询实例节点会话。
func (*DdsClient) ListSlowLogs ¶
func (c *DdsClient) ListSlowLogs(request *model.ListSlowLogsRequest) (*model.ListSlowLogsResponse, error)
查询数据库慢日志信息。
func (*DdsClient) ListStorageType ¶
func (c *DdsClient) ListStorageType(request *model.ListStorageTypeRequest) (*model.ListStorageTypeResponse, error)
查询当前区域下的数据库磁盘类型。
func (*DdsClient) ResetPassword ¶
func (c *DdsClient) ResetPassword(request *model.ResetPasswordRequest) (*model.ResetPasswordResponse, error)
修改数据库用户密码。
func (*DdsClient) ResizeInstance ¶
func (c *DdsClient) ResizeInstance(request *model.ResizeInstanceRequest) (*model.ResizeInstanceResponse, error)
变更实例的规格。
func (*DdsClient) ResizeInstanceVolume ¶
func (c *DdsClient) ResizeInstanceVolume(request *model.ResizeInstanceVolumeRequest) (*model.ResizeInstanceVolumeResponse, error)
扩容实例相关的存储容量大小。
func (*DdsClient) RestartInstance ¶
func (c *DdsClient) RestartInstance(request *model.RestartInstanceRequest) (*model.RestartInstanceResponse, error)
重启实例的数据库服务。
func (*DdsClient) RestoreInstance ¶
func (c *DdsClient) RestoreInstance(request *model.RestoreInstanceRequest) (*model.RestoreInstanceResponse, error)
恢复到当前实例。
func (*DdsClient) RestoreInstanceFromCollection ¶
func (c *DdsClient) RestoreInstanceFromCollection(request *model.RestoreInstanceFromCollectionRequest) (*model.RestoreInstanceFromCollectionResponse, error)
库表级时间点恢复。
func (*DdsClient) RestoreNewInstance ¶
func (c *DdsClient) RestoreNewInstance(request *model.RestoreNewInstanceRequest) (*model.RestoreNewInstanceResponse, error)
根据备份恢复新实例。
func (*DdsClient) SetAuditlogPolicy ¶
func (c *DdsClient) SetAuditlogPolicy(request *model.SetAuditlogPolicyRequest) (*model.SetAuditlogPolicyResponse, error)
设置审计日志策略。
func (*DdsClient) SetBackupPolicy ¶
func (c *DdsClient) SetBackupPolicy(request *model.SetBackupPolicyRequest) (*model.SetBackupPolicyResponse, error)
设置自动备份策略。
func (*DdsClient) ShowApiVersion ¶
func (c *DdsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
查询指定API版本信息。
func (*DdsClient) ShowAuditlogPolicy ¶
func (c *DdsClient) ShowAuditlogPolicy(request *model.ShowAuditlogPolicyRequest) (*model.ShowAuditlogPolicyResponse, error)
查询审计日志策略。
func (*DdsClient) ShowBackupDownloadLink ¶
func (c *DdsClient) ShowBackupDownloadLink(request *model.ShowBackupDownloadLinkRequest) (*model.ShowBackupDownloadLinkResponse, error)
获取备份下载链接。
func (*DdsClient) ShowBackupPolicy ¶
func (c *DdsClient) ShowBackupPolicy(request *model.ShowBackupPolicyRequest) (*model.ShowBackupPolicyResponse, error)
查询自动备份策略。
func (*DdsClient) SwitchSsl ¶
func (c *DdsClient) SwitchSsl(request *model.SwitchSslRequest) (*model.SwitchSslResponse, error)
切换实例的SSL开关
func (*DdsClient) SwitchoverReplicaSet ¶
func (c *DdsClient) SwitchoverReplicaSet(request *model.SwitchoverReplicaSetRequest) (*model.SwitchoverReplicaSetResponse, error)
切换副本集实例下的主备节点
func (*DdsClient) UpdateInstanceName ¶
func (c *DdsClient) UpdateInstanceName(request *model.UpdateInstanceNameRequest) (*model.UpdateInstanceNameResponse, error)
修改实例名称
func (*DdsClient) UpdateInstancePort ¶
func (c *DdsClient) UpdateInstancePort(request *model.UpdateInstancePortRequest) (*model.UpdateInstancePortResponse, error)
修改数据库实例的端口。
func (*DdsClient) UpdateSecurityGroup ¶
func (c *DdsClient) UpdateSecurityGroup(request *model.UpdateSecurityGroupRequest) (*model.UpdateSecurityGroupResponse, error)
变更实例关联的安全组