Documentation ¶
Index ¶
- func GenReqDefForAllowDbPrivilege() *def.HttpRequestDef
- func GenReqDefForAllowDbUserPrivilege() *def.HttpRequestDef
- func GenReqDefForAllowSqlserverDbUserPrivilege() *def.HttpRequestDef
- func GenReqDefForApplyConfigurationAsync() *def.HttpRequestDef
- func GenReqDefForAttachEip() *def.HttpRequestDef
- func GenReqDefForBatchTagAddAction() *def.HttpRequestDef
- func GenReqDefForBatchTagDelAction() *def.HttpRequestDef
- func GenReqDefForChangeFailoverMode() *def.HttpRequestDef
- func GenReqDefForChangeFailoverStrategy() *def.HttpRequestDef
- func GenReqDefForChangeOpsWindow() *def.HttpRequestDef
- func GenReqDefForChangeProxyScale() *def.HttpRequestDef
- func GenReqDefForChangeTheDelayThreshold() *def.HttpRequestDef
- func GenReqDefForCreateConfiguration() *def.HttpRequestDef
- func GenReqDefForCreateDatabase() *def.HttpRequestDef
- func GenReqDefForCreateDbUser() *def.HttpRequestDef
- func GenReqDefForCreateDnsName() *def.HttpRequestDef
- func GenReqDefForCreateInstance() *def.HttpRequestDef
- func GenReqDefForCreateManualBackup() *def.HttpRequestDef
- func GenReqDefForCreatePostgresqlDatabase() *def.HttpRequestDef
- func GenReqDefForCreatePostgresqlDatabaseSchema() *def.HttpRequestDef
- func GenReqDefForCreatePostgresqlDbUser() *def.HttpRequestDef
- func GenReqDefForCreateRestoreInstance() *def.HttpRequestDef
- func GenReqDefForCreateSqlserverDatabase() *def.HttpRequestDef
- func GenReqDefForCreateSqlserverDbUser() *def.HttpRequestDef
- func GenReqDefForDeleteConfiguration() *def.HttpRequestDef
- func GenReqDefForDeleteDatabase() *def.HttpRequestDef
- func GenReqDefForDeleteDbUser() *def.HttpRequestDef
- func GenReqDefForDeleteInstance() *def.HttpRequestDef
- func GenReqDefForDeleteManualBackup() *def.HttpRequestDef
- func GenReqDefForDeleteSqlserverDatabase() *def.HttpRequestDef
- func GenReqDefForDeleteSqlserverDatabaseEx() *def.HttpRequestDef
- func GenReqDefForDeleteSqlserverDbUser() *def.HttpRequestDef
- func GenReqDefForDownloadSlowlog() *def.HttpRequestDef
- func GenReqDefForEnableConfiguration() *def.HttpRequestDef
- func GenReqDefForListApiVersion() *def.HttpRequestDef
- func GenReqDefForListApiVersionNew() *def.HttpRequestDef
- func GenReqDefForListAuditlogs() *def.HttpRequestDef
- func GenReqDefForListAuthorizedDatabases() *def.HttpRequestDef
- func GenReqDefForListAuthorizedDbUsers() *def.HttpRequestDef
- func GenReqDefForListAuthorizedSqlserverDbUsers() *def.HttpRequestDef
- func GenReqDefForListBackups() *def.HttpRequestDef
- func GenReqDefForListCollations() *def.HttpRequestDef
- func GenReqDefForListConfigurations() *def.HttpRequestDef
- func GenReqDefForListDatabases() *def.HttpRequestDef
- func GenReqDefForListDatastores() *def.HttpRequestDef
- func GenReqDefForListDbUsers() *def.HttpRequestDef
- func GenReqDefForListErrorLogs() *def.HttpRequestDef
- func GenReqDefForListErrorLogsNew() *def.HttpRequestDef
- func GenReqDefForListFlavors() *def.HttpRequestDef
- func GenReqDefForListInstances() *def.HttpRequestDef
- func GenReqDefForListJobInfo() *def.HttpRequestDef
- func GenReqDefForListJobInfoDetail() *def.HttpRequestDef
- func GenReqDefForListOffSiteBackups() *def.HttpRequestDef
- func GenReqDefForListOffSiteInstances() *def.HttpRequestDef
- func GenReqDefForListOffSiteRestoreTimes() *def.HttpRequestDef
- func GenReqDefForListPostgresqlDatabaseSchemas() *def.HttpRequestDef
- func GenReqDefForListPostgresqlDatabases() *def.HttpRequestDef
- func GenReqDefForListPostgresqlDbUserPaginated() *def.HttpRequestDef
- func GenReqDefForListProjectTags() *def.HttpRequestDef
- func GenReqDefForListRestoreTimes() *def.HttpRequestDef
- func GenReqDefForListSlowLogFile() *def.HttpRequestDef
- func GenReqDefForListSlowLogs() *def.HttpRequestDef
- func GenReqDefForListSlowLogsNew() *def.HttpRequestDef
- func GenReqDefForListSlowlogStatistics() *def.HttpRequestDef
- func GenReqDefForListSqlserverDatabases() *def.HttpRequestDef
- func GenReqDefForListSqlserverDbUsers() *def.HttpRequestDef
- func GenReqDefForListStorageTypes() *def.HttpRequestDef
- func GenReqDefForMigrateFollower() *def.HttpRequestDef
- func GenReqDefForResetPwd() *def.HttpRequestDef
- func GenReqDefForRestoreExistInstance() *def.HttpRequestDef
- func GenReqDefForRestoreTables() *def.HttpRequestDef
- func GenReqDefForRestoreToExistingInstance() *def.HttpRequestDef
- func GenReqDefForRevoke() *def.HttpRequestDef
- func GenReqDefForRevokeSqlserverDbUserPrivilege() *def.HttpRequestDef
- func GenReqDefForSearchQueryScaleComputeFlavors() *def.HttpRequestDef
- func GenReqDefForSearchQueryScaleFlavors() *def.HttpRequestDef
- func GenReqDefForSetAuditlogPolicy() *def.HttpRequestDef
- func GenReqDefForSetBackupPolicy() *def.HttpRequestDef
- func GenReqDefForSetBinlogClearPolicy() *def.HttpRequestDef
- func GenReqDefForSetDbUserPwd() *def.HttpRequestDef
- func GenReqDefForSetOffSiteBackupPolicy() *def.HttpRequestDef
- func GenReqDefForSetPostgresqlDbUserPwd() *def.HttpRequestDef
- func GenReqDefForSetSecurityGroup() *def.HttpRequestDef
- func GenReqDefForShowApiVersion() *def.HttpRequestDef
- func GenReqDefForShowAuditlogDownloadLink() *def.HttpRequestDef
- func GenReqDefForShowAuditlogPolicy() *def.HttpRequestDef
- func GenReqDefForShowBackupDownloadLink() *def.HttpRequestDef
- func GenReqDefForShowBackupPolicy() *def.HttpRequestDef
- func GenReqDefForShowBinlogClearPolicy() *def.HttpRequestDef
- func GenReqDefForShowConfiguration() *def.HttpRequestDef
- func GenReqDefForShowDrReplicaStatus() *def.HttpRequestDef
- func GenReqDefForShowInformationAboutDatabaseProxy() *def.HttpRequestDef
- func GenReqDefForShowInstanceConfiguration() *def.HttpRequestDef
- func GenReqDefForShowOffSiteBackupPolicy() *def.HttpRequestDef
- func GenReqDefForShowQuotas() *def.HttpRequestDef
- func GenReqDefForStartDatabaseProxy() *def.HttpRequestDef
- func GenReqDefForStartFailover() *def.HttpRequestDef
- func GenReqDefForStartInstanceEnlargeVolumeAction() *def.HttpRequestDef
- func GenReqDefForStartInstanceRestartAction() *def.HttpRequestDef
- func GenReqDefForStartInstanceSingleToHaAction() *def.HttpRequestDef
- func GenReqDefForStartRecyclePolicy() *def.HttpRequestDef
- func GenReqDefForStartResizeFlavorAction() *def.HttpRequestDef
- func GenReqDefForStartupInstance() *def.HttpRequestDef
- func GenReqDefForStopDatabaseProxy() *def.HttpRequestDef
- func GenReqDefForStopInstance() *def.HttpRequestDef
- func GenReqDefForSwitchSsl() *def.HttpRequestDef
- func GenReqDefForUpdateConfiguration() *def.HttpRequestDef
- func GenReqDefForUpdateDataIp() *def.HttpRequestDef
- func GenReqDefForUpdateDatabase() *def.HttpRequestDef
- func GenReqDefForUpdateDnsName() *def.HttpRequestDef
- func GenReqDefForUpdateInstanceConfiguration() *def.HttpRequestDef
- func GenReqDefForUpdateInstanceConfigurationAsync() *def.HttpRequestDef
- func GenReqDefForUpdateInstanceName() *def.HttpRequestDef
- func GenReqDefForUpdatePort() *def.HttpRequestDef
- func GenReqDefForUpdatePostgresqlInstanceAlias() *def.HttpRequestDef
- func GenReqDefForUpdateReadWeight() *def.HttpRequestDef
- func GenReqDefForUpgradeDbVersion() *def.HttpRequestDef
- func RdsClientBuilder() *http_client.HcHttpClientBuilder
- type RdsClient
- func (c *RdsClient) AllowDbPrivilege(request *model.AllowDbPrivilegeRequest) (*model.AllowDbPrivilegeResponse, error)
- func (c *RdsClient) AllowDbUserPrivilege(request *model.AllowDbUserPrivilegeRequest) (*model.AllowDbUserPrivilegeResponse, error)
- func (c *RdsClient) AllowSqlserverDbUserPrivilege(request *model.AllowSqlserverDbUserPrivilegeRequest) (*model.AllowSqlserverDbUserPrivilegeResponse, error)
- func (c *RdsClient) ApplyConfigurationAsync(request *model.ApplyConfigurationAsyncRequest) (*model.ApplyConfigurationAsyncResponse, error)
- func (c *RdsClient) AttachEip(request *model.AttachEipRequest) (*model.AttachEipResponse, error)
- func (c *RdsClient) BatchTagAddAction(request *model.BatchTagAddActionRequest) (*model.BatchTagAddActionResponse, error)
- func (c *RdsClient) BatchTagDelAction(request *model.BatchTagDelActionRequest) (*model.BatchTagDelActionResponse, error)
- func (c *RdsClient) ChangeFailoverMode(request *model.ChangeFailoverModeRequest) (*model.ChangeFailoverModeResponse, error)
- func (c *RdsClient) ChangeFailoverStrategy(request *model.ChangeFailoverStrategyRequest) (*model.ChangeFailoverStrategyResponse, error)
- func (c *RdsClient) ChangeOpsWindow(request *model.ChangeOpsWindowRequest) (*model.ChangeOpsWindowResponse, error)
- func (c *RdsClient) ChangeProxyScale(request *model.ChangeProxyScaleRequest) (*model.ChangeProxyScaleResponse, error)
- func (c *RdsClient) ChangeTheDelayThreshold(request *model.ChangeTheDelayThresholdRequest) (*model.ChangeTheDelayThresholdResponse, error)
- func (c *RdsClient) CreateConfiguration(request *model.CreateConfigurationRequest) (*model.CreateConfigurationResponse, error)
- func (c *RdsClient) CreateDatabase(request *model.CreateDatabaseRequest) (*model.CreateDatabaseResponse, error)
- func (c *RdsClient) CreateDbUser(request *model.CreateDbUserRequest) (*model.CreateDbUserResponse, error)
- func (c *RdsClient) CreateDnsName(request *model.CreateDnsNameRequest) (*model.CreateDnsNameResponse, error)
- func (c *RdsClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
- func (c *RdsClient) CreateManualBackup(request *model.CreateManualBackupRequest) (*model.CreateManualBackupResponse, error)
- func (c *RdsClient) CreatePostgresqlDatabase(request *model.CreatePostgresqlDatabaseRequest) (*model.CreatePostgresqlDatabaseResponse, error)
- func (c *RdsClient) CreatePostgresqlDatabaseSchema(request *model.CreatePostgresqlDatabaseSchemaRequest) (*model.CreatePostgresqlDatabaseSchemaResponse, error)
- func (c *RdsClient) CreatePostgresqlDbUser(request *model.CreatePostgresqlDbUserRequest) (*model.CreatePostgresqlDbUserResponse, error)
- func (c *RdsClient) CreateRestoreInstance(request *model.CreateRestoreInstanceRequest) (*model.CreateRestoreInstanceResponse, error)
- func (c *RdsClient) CreateSqlserverDatabase(request *model.CreateSqlserverDatabaseRequest) (*model.CreateSqlserverDatabaseResponse, error)
- func (c *RdsClient) CreateSqlserverDbUser(request *model.CreateSqlserverDbUserRequest) (*model.CreateSqlserverDbUserResponse, error)
- func (c *RdsClient) DeleteConfiguration(request *model.DeleteConfigurationRequest) (*model.DeleteConfigurationResponse, error)
- func (c *RdsClient) DeleteDatabase(request *model.DeleteDatabaseRequest) (*model.DeleteDatabaseResponse, error)
- func (c *RdsClient) DeleteDbUser(request *model.DeleteDbUserRequest) (*model.DeleteDbUserResponse, error)
- func (c *RdsClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
- func (c *RdsClient) DeleteManualBackup(request *model.DeleteManualBackupRequest) (*model.DeleteManualBackupResponse, error)
- func (c *RdsClient) DeleteSqlserverDatabase(request *model.DeleteSqlserverDatabaseRequest) (*model.DeleteSqlserverDatabaseResponse, error)
- func (c *RdsClient) DeleteSqlserverDatabaseEx(request *model.DeleteSqlserverDatabaseExRequest) (*model.DeleteSqlserverDatabaseExResponse, error)
- func (c *RdsClient) DeleteSqlserverDbUser(request *model.DeleteSqlserverDbUserRequest) (*model.DeleteSqlserverDbUserResponse, error)
- func (c *RdsClient) DownloadSlowlog(request *model.DownloadSlowlogRequest) (*model.DownloadSlowlogResponse, error)
- func (c *RdsClient) EnableConfiguration(request *model.EnableConfigurationRequest) (*model.EnableConfigurationResponse, error)
- func (c *RdsClient) ListApiVersion(request *model.ListApiVersionRequest) (*model.ListApiVersionResponse, error)
- func (c *RdsClient) ListApiVersionNew(request *model.ListApiVersionNewRequest) (*model.ListApiVersionNewResponse, error)
- func (c *RdsClient) ListAuditlogs(request *model.ListAuditlogsRequest) (*model.ListAuditlogsResponse, error)
- func (c *RdsClient) ListAuthorizedDatabases(request *model.ListAuthorizedDatabasesRequest) (*model.ListAuthorizedDatabasesResponse, error)
- func (c *RdsClient) ListAuthorizedDbUsers(request *model.ListAuthorizedDbUsersRequest) (*model.ListAuthorizedDbUsersResponse, error)
- func (c *RdsClient) ListAuthorizedSqlserverDbUsers(request *model.ListAuthorizedSqlserverDbUsersRequest) (*model.ListAuthorizedSqlserverDbUsersResponse, error)
- func (c *RdsClient) ListBackups(request *model.ListBackupsRequest) (*model.ListBackupsResponse, error)
- func (c *RdsClient) ListCollations(request *model.ListCollationsRequest) (*model.ListCollationsResponse, error)
- func (c *RdsClient) ListConfigurations(request *model.ListConfigurationsRequest) (*model.ListConfigurationsResponse, error)
- func (c *RdsClient) ListDatabases(request *model.ListDatabasesRequest) (*model.ListDatabasesResponse, error)
- func (c *RdsClient) ListDatastores(request *model.ListDatastoresRequest) (*model.ListDatastoresResponse, error)
- func (c *RdsClient) ListDbUsers(request *model.ListDbUsersRequest) (*model.ListDbUsersResponse, error)
- func (c *RdsClient) ListErrorLogs(request *model.ListErrorLogsRequest) (*model.ListErrorLogsResponse, error)
- func (c *RdsClient) ListErrorLogsNew(request *model.ListErrorLogsNewRequest) (*model.ListErrorLogsNewResponse, error)
- func (c *RdsClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)
- func (c *RdsClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
- func (c *RdsClient) ListJobInfo(request *model.ListJobInfoRequest) (*model.ListJobInfoResponse, error)
- func (c *RdsClient) ListJobInfoDetail(request *model.ListJobInfoDetailRequest) (*model.ListJobInfoDetailResponse, error)
- func (c *RdsClient) ListOffSiteBackups(request *model.ListOffSiteBackupsRequest) (*model.ListOffSiteBackupsResponse, error)
- func (c *RdsClient) ListOffSiteInstances(request *model.ListOffSiteInstancesRequest) (*model.ListOffSiteInstancesResponse, error)
- func (c *RdsClient) ListOffSiteRestoreTimes(request *model.ListOffSiteRestoreTimesRequest) (*model.ListOffSiteRestoreTimesResponse, error)
- func (c *RdsClient) ListPostgresqlDatabaseSchemas(request *model.ListPostgresqlDatabaseSchemasRequest) (*model.ListPostgresqlDatabaseSchemasResponse, error)
- func (c *RdsClient) ListPostgresqlDatabases(request *model.ListPostgresqlDatabasesRequest) (*model.ListPostgresqlDatabasesResponse, error)
- func (c *RdsClient) ListPostgresqlDbUserPaginated(request *model.ListPostgresqlDbUserPaginatedRequest) (*model.ListPostgresqlDbUserPaginatedResponse, error)
- func (c *RdsClient) ListProjectTags(request *model.ListProjectTagsRequest) (*model.ListProjectTagsResponse, error)
- func (c *RdsClient) ListRestoreTimes(request *model.ListRestoreTimesRequest) (*model.ListRestoreTimesResponse, error)
- func (c *RdsClient) ListSlowLogFile(request *model.ListSlowLogFileRequest) (*model.ListSlowLogFileResponse, error)
- func (c *RdsClient) ListSlowLogs(request *model.ListSlowLogsRequest) (*model.ListSlowLogsResponse, error)
- func (c *RdsClient) ListSlowLogsNew(request *model.ListSlowLogsNewRequest) (*model.ListSlowLogsNewResponse, error)
- func (c *RdsClient) ListSlowlogStatistics(request *model.ListSlowlogStatisticsRequest) (*model.ListSlowlogStatisticsResponse, error)
- func (c *RdsClient) ListSqlserverDatabases(request *model.ListSqlserverDatabasesRequest) (*model.ListSqlserverDatabasesResponse, error)
- func (c *RdsClient) ListSqlserverDbUsers(request *model.ListSqlserverDbUsersRequest) (*model.ListSqlserverDbUsersResponse, error)
- func (c *RdsClient) ListStorageTypes(request *model.ListStorageTypesRequest) (*model.ListStorageTypesResponse, error)
- func (c *RdsClient) MigrateFollower(request *model.MigrateFollowerRequest) (*model.MigrateFollowerResponse, error)
- func (c *RdsClient) ResetPwd(request *model.ResetPwdRequest) (*model.ResetPwdResponse, error)
- func (c *RdsClient) RestoreExistInstance(request *model.RestoreExistInstanceRequest) (*model.RestoreExistInstanceResponse, error)
- func (c *RdsClient) RestoreTables(request *model.RestoreTablesRequest) (*model.RestoreTablesResponse, error)
- func (c *RdsClient) RestoreToExistingInstance(request *model.RestoreToExistingInstanceRequest) (*model.RestoreToExistingInstanceResponse, error)
- func (c *RdsClient) Revoke(request *model.RevokeRequest) (*model.RevokeResponse, error)
- func (c *RdsClient) RevokeSqlserverDbUserPrivilege(request *model.RevokeSqlserverDbUserPrivilegeRequest) (*model.RevokeSqlserverDbUserPrivilegeResponse, error)
- func (c *RdsClient) SearchQueryScaleComputeFlavors(request *model.SearchQueryScaleComputeFlavorsRequest) (*model.SearchQueryScaleComputeFlavorsResponse, error)
- func (c *RdsClient) SearchQueryScaleFlavors(request *model.SearchQueryScaleFlavorsRequest) (*model.SearchQueryScaleFlavorsResponse, error)
- func (c *RdsClient) SetAuditlogPolicy(request *model.SetAuditlogPolicyRequest) (*model.SetAuditlogPolicyResponse, error)
- func (c *RdsClient) SetBackupPolicy(request *model.SetBackupPolicyRequest) (*model.SetBackupPolicyResponse, error)
- func (c *RdsClient) SetBinlogClearPolicy(request *model.SetBinlogClearPolicyRequest) (*model.SetBinlogClearPolicyResponse, error)
- func (c *RdsClient) SetDbUserPwd(request *model.SetDbUserPwdRequest) (*model.SetDbUserPwdResponse, error)
- func (c *RdsClient) SetOffSiteBackupPolicy(request *model.SetOffSiteBackupPolicyRequest) (*model.SetOffSiteBackupPolicyResponse, error)
- func (c *RdsClient) SetPostgresqlDbUserPwd(request *model.SetPostgresqlDbUserPwdRequest) (*model.SetPostgresqlDbUserPwdResponse, error)
- func (c *RdsClient) SetSecurityGroup(request *model.SetSecurityGroupRequest) (*model.SetSecurityGroupResponse, error)
- func (c *RdsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
- func (c *RdsClient) ShowAuditlogDownloadLink(request *model.ShowAuditlogDownloadLinkRequest) (*model.ShowAuditlogDownloadLinkResponse, error)
- func (c *RdsClient) ShowAuditlogPolicy(request *model.ShowAuditlogPolicyRequest) (*model.ShowAuditlogPolicyResponse, error)
- func (c *RdsClient) ShowBackupDownloadLink(request *model.ShowBackupDownloadLinkRequest) (*model.ShowBackupDownloadLinkResponse, error)
- func (c *RdsClient) ShowBackupPolicy(request *model.ShowBackupPolicyRequest) (*model.ShowBackupPolicyResponse, error)
- func (c *RdsClient) ShowBinlogClearPolicy(request *model.ShowBinlogClearPolicyRequest) (*model.ShowBinlogClearPolicyResponse, error)
- func (c *RdsClient) ShowConfiguration(request *model.ShowConfigurationRequest) (*model.ShowConfigurationResponse, error)
- func (c *RdsClient) ShowDrReplicaStatus(request *model.ShowDrReplicaStatusRequest) (*model.ShowDrReplicaStatusResponse, error)
- func (c *RdsClient) ShowInformationAboutDatabaseProxy(request *model.ShowInformationAboutDatabaseProxyRequest) (*model.ShowInformationAboutDatabaseProxyResponse, error)
- func (c *RdsClient) ShowInstanceConfiguration(request *model.ShowInstanceConfigurationRequest) (*model.ShowInstanceConfigurationResponse, error)
- func (c *RdsClient) ShowOffSiteBackupPolicy(request *model.ShowOffSiteBackupPolicyRequest) (*model.ShowOffSiteBackupPolicyResponse, error)
- func (c *RdsClient) ShowQuotas(request *model.ShowQuotasRequest) (*model.ShowQuotasResponse, error)
- func (c *RdsClient) StartDatabaseProxy(request *model.StartDatabaseProxyRequest) (*model.StartDatabaseProxyResponse, error)
- func (c *RdsClient) StartFailover(request *model.StartFailoverRequest) (*model.StartFailoverResponse, error)
- func (c *RdsClient) StartInstanceEnlargeVolumeAction(request *model.StartInstanceEnlargeVolumeActionRequest) (*model.StartInstanceEnlargeVolumeActionResponse, error)
- func (c *RdsClient) StartInstanceRestartAction(request *model.StartInstanceRestartActionRequest) (*model.StartInstanceRestartActionResponse, error)
- func (c *RdsClient) StartInstanceSingleToHaAction(request *model.StartInstanceSingleToHaActionRequest) (*model.StartInstanceSingleToHaActionResponse, error)
- func (c *RdsClient) StartRecyclePolicy(request *model.StartRecyclePolicyRequest) (*model.StartRecyclePolicyResponse, error)
- func (c *RdsClient) StartResizeFlavorAction(request *model.StartResizeFlavorActionRequest) (*model.StartResizeFlavorActionResponse, error)
- func (c *RdsClient) StartupInstance(request *model.StartupInstanceRequest) (*model.StartupInstanceResponse, error)
- func (c *RdsClient) StopDatabaseProxy(request *model.StopDatabaseProxyRequest) (*model.StopDatabaseProxyResponse, error)
- func (c *RdsClient) StopInstance(request *model.StopInstanceRequest) (*model.StopInstanceResponse, error)
- func (c *RdsClient) SwitchSsl(request *model.SwitchSslRequest) (*model.SwitchSslResponse, error)
- func (c *RdsClient) UpdateConfiguration(request *model.UpdateConfigurationRequest) (*model.UpdateConfigurationResponse, error)
- func (c *RdsClient) UpdateDataIp(request *model.UpdateDataIpRequest) (*model.UpdateDataIpResponse, error)
- func (c *RdsClient) UpdateDatabase(request *model.UpdateDatabaseRequest) (*model.UpdateDatabaseResponse, error)
- func (c *RdsClient) UpdateDnsName(request *model.UpdateDnsNameRequest) (*model.UpdateDnsNameResponse, error)
- func (c *RdsClient) UpdateInstanceConfiguration(request *model.UpdateInstanceConfigurationRequest) (*model.UpdateInstanceConfigurationResponse, error)
- func (c *RdsClient) UpdateInstanceConfigurationAsync(request *model.UpdateInstanceConfigurationAsyncRequest) (*model.UpdateInstanceConfigurationAsyncResponse, error)
- func (c *RdsClient) UpdateInstanceName(request *model.UpdateInstanceNameRequest) (*model.UpdateInstanceNameResponse, error)
- func (c *RdsClient) UpdatePort(request *model.UpdatePortRequest) (*model.UpdatePortResponse, error)
- func (c *RdsClient) UpdatePostgresqlInstanceAlias(request *model.UpdatePostgresqlInstanceAliasRequest) (*model.UpdatePostgresqlInstanceAliasResponse, error)
- func (c *RdsClient) UpdateReadWeight(request *model.UpdateReadWeightRequest) (*model.UpdateReadWeightResponse, error)
- func (c *RdsClient) UpgradeDbVersion(request *model.UpgradeDbVersionRequest) (*model.UpgradeDbVersionResponse, error)
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 ¶
func GenReqDefForShowAuditlogDownloadLink() *def.HttpRequestDef
func GenReqDefForShowAuditlogPolicy ¶
func GenReqDefForShowAuditlogPolicy() *def.HttpRequestDef
func GenReqDefForShowBackupDownloadLink ¶
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 ¶
func (c *RdsClient) AllowDbUserPrivilege(request *model.AllowDbUserPrivilegeRequest) (*model.AllowDbUserPrivilegeResponse, error)
授权数据库帐号
授权数据库帐号。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) AllowSqlserverDbUserPrivilege ¶
func (c *RdsClient) AllowSqlserverDbUserPrivilege(request *model.AllowSqlserverDbUserPrivilegeRequest) (*model.AllowSqlserverDbUserPrivilegeResponse, error)
授权数据库帐号
授权数据库帐号。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) ApplyConfigurationAsync ¶ added in v0.0.83
func (c *RdsClient) ApplyConfigurationAsync(request *model.ApplyConfigurationAsyncRequest) (*model.ApplyConfigurationAsyncResponse, error)
应用参数模板
应用参数模板。
详细说明请参考华为云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 ¶
func (c *RdsClient) ChangeFailoverStrategy(request *model.ChangeFailoverStrategyRequest) (*model.ChangeFailoverStrategyResponse, error)
切换主备实例的倒换策略
切换主备实例的倒换策略.
详细说明请参考华为云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
func (c *RdsClient) ChangeTheDelayThreshold(request *model.ChangeTheDelayThresholdRequest) (*model.ChangeTheDelayThresholdResponse, error)
修改读写分离阈值
修改指定实例的读写分离延时阈值。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) CreateConfiguration ¶
func (c *RdsClient) CreateConfiguration(request *model.CreateConfigurationRequest) (*model.CreateConfigurationResponse, error)
创建参数模板
创建参数模板。
详细说明请参考华为云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 ¶
func (c *RdsClient) CreatePostgresqlDatabase(request *model.CreatePostgresqlDatabaseRequest) (*model.CreatePostgresqlDatabaseResponse, error)
创建数据库
在指定实例中创建数据库。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) CreatePostgresqlDatabaseSchema ¶
func (c *RdsClient) CreatePostgresqlDatabaseSchema(request *model.CreatePostgresqlDatabaseSchemaRequest) (*model.CreatePostgresqlDatabaseSchemaResponse, error)
创建数据库SCHEMA
在指定实例的数据库中, 创建数据库schema。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) CreatePostgresqlDbUser ¶
func (c *RdsClient) CreatePostgresqlDbUser(request *model.CreatePostgresqlDbUserRequest) (*model.CreatePostgresqlDbUserResponse, error)
创建数据库用户
在指定实例中创建数据库用户。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) CreateRestoreInstance ¶
func (c *RdsClient) CreateRestoreInstance(request *model.CreateRestoreInstanceRequest) (*model.CreateRestoreInstanceResponse, error)
恢复到新实例
恢复到新实例。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) CreateSqlserverDatabase ¶
func (c *RdsClient) CreateSqlserverDatabase(request *model.CreateSqlserverDatabaseRequest) (*model.CreateSqlserverDatabaseResponse, error)
创建数据库
创建数据库。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) CreateSqlserverDbUser ¶
func (c *RdsClient) CreateSqlserverDbUser(request *model.CreateSqlserverDbUserRequest) (*model.CreateSqlserverDbUserResponse, error)
创建数据库用户
创建数据库用户。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) DeleteConfiguration ¶
func (c *RdsClient) DeleteConfiguration(request *model.DeleteConfigurationRequest) (*model.DeleteConfigurationResponse, error)
删除参数模板
删除参数模板。
详细说明请参考华为云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 ¶
func (c *RdsClient) DeleteSqlserverDatabase(request *model.DeleteSqlserverDatabaseRequest) (*model.DeleteSqlserverDatabaseResponse, error)
删除数据库
删除数据库。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) DeleteSqlserverDatabaseEx ¶ added in v0.0.83
func (c *RdsClient) DeleteSqlserverDatabaseEx(request *model.DeleteSqlserverDatabaseExRequest) (*model.DeleteSqlserverDatabaseExResponse, error)
删除数据库
删除数据库。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) DeleteSqlserverDbUser ¶
func (c *RdsClient) DeleteSqlserverDbUser(request *model.DeleteSqlserverDbUserRequest) (*model.DeleteSqlserverDbUserResponse, error)
删除数据库用户
删除数据库用户。
详细说明请参考华为云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 ¶
func (c *RdsClient) EnableConfiguration(request *model.EnableConfigurationRequest) (*model.EnableConfigurationResponse, error)
应用参数模板
应用参数模板。
详细说明请参考华为云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 ¶
func (c *RdsClient) ListAuthorizedDatabases(request *model.ListAuthorizedDatabasesRequest) (*model.ListAuthorizedDatabasesResponse, error)
查询指定用户的已授权数据库
查询指定用户的已授权数据库。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) ListAuthorizedDbUsers ¶
func (c *RdsClient) ListAuthorizedDbUsers(request *model.ListAuthorizedDbUsersRequest) (*model.ListAuthorizedDbUsersResponse, error)
查询指定数据库的已授权用户
查询指定数据库的已授权用户。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) ListAuthorizedSqlserverDbUsers ¶
func (c *RdsClient) ListAuthorizedSqlserverDbUsers(request *model.ListAuthorizedSqlserverDbUsersRequest) (*model.ListAuthorizedSqlserverDbUsersResponse, error)
查询指定数据库的已授权用户
查询指定数据库的已授权用户。
详细说明请参考华为云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 ¶
func (c *RdsClient) ListOffSiteInstances(request *model.ListOffSiteInstancesRequest) (*model.ListOffSiteInstancesResponse, error)
查询跨区域备份实例列表
查询跨区域备份实例列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) ListOffSiteRestoreTimes ¶
func (c *RdsClient) ListOffSiteRestoreTimes(request *model.ListOffSiteRestoreTimesRequest) (*model.ListOffSiteRestoreTimesResponse, error)
查询跨区域备份可恢复时间段
查询跨区域备份可恢复时间段。 如果您备份策略中的保存天数设置较长,建议您传入查询日期“date”。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) ListPostgresqlDatabaseSchemas ¶
func (c *RdsClient) ListPostgresqlDatabaseSchemas(request *model.ListPostgresqlDatabaseSchemasRequest) (*model.ListPostgresqlDatabaseSchemasResponse, error)
查询数据库SCHEMA列表
查询指定实例的数据库SCHEMA列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) ListPostgresqlDatabases ¶
func (c *RdsClient) ListPostgresqlDatabases(request *model.ListPostgresqlDatabasesRequest) (*model.ListPostgresqlDatabasesResponse, error)
查询数据库列表
查询指定实例中的数据库列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) ListPostgresqlDbUserPaginated ¶
func (c *RdsClient) ListPostgresqlDbUserPaginated(request *model.ListPostgresqlDbUserPaginatedRequest) (*model.ListPostgresqlDbUserPaginatedResponse, error)
查询数据库用户列表
在指定实例中查询数据库用户列表。
详细说明请参考华为云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 ¶
func (c *RdsClient) ListSlowlogStatistics(request *model.ListSlowlogStatisticsRequest) (*model.ListSlowlogStatisticsResponse, error)
获取慢日志统计信息
获取慢日志统计信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) ListSqlserverDatabases ¶
func (c *RdsClient) ListSqlserverDatabases(request *model.ListSqlserverDatabasesRequest) (*model.ListSqlserverDatabasesResponse, error)
查询数据库列表
查询数据库列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) ListSqlserverDbUsers ¶
func (c *RdsClient) ListSqlserverDbUsers(request *model.ListSqlserverDbUsersRequest) (*model.ListSqlserverDbUsersResponse, error)
查询数据库用户列表
查询数据库用户列表。
详细说明请参考华为云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
func (c *RdsClient) RestoreExistInstance(request *model.RestoreExistInstanceRequest) (*model.RestoreExistInstanceResponse, error)
恢复到已有实例
恢复到已有实例。
详细说明请参考华为云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 ¶
func (c *RdsClient) RestoreToExistingInstance(request *model.RestoreToExistingInstanceRequest) (*model.RestoreToExistingInstanceResponse, error)
恢复到已有实例
恢复到已有实例。
详细说明请参考华为云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 ¶
func (c *RdsClient) RevokeSqlserverDbUserPrivilege(request *model.RevokeSqlserverDbUserPrivilegeRequest) (*model.RevokeSqlserverDbUserPrivilegeResponse, error)
解除数据库帐号权限
解除数据库帐号权限。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) SearchQueryScaleComputeFlavors ¶ added in v0.0.73
func (c *RdsClient) SearchQueryScaleComputeFlavors(request *model.SearchQueryScaleComputeFlavorsRequest) (*model.SearchQueryScaleComputeFlavorsResponse, error)
查询数据库代理可变更的规格
查询数据库代理可变更的规格信息。
- 调用接口前,您需要了解API 认证鉴权。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) SearchQueryScaleFlavors ¶ added in v0.0.70
func (c *RdsClient) SearchQueryScaleFlavors(request *model.SearchQueryScaleFlavorsRequest) (*model.SearchQueryScaleFlavorsResponse, error)
查询数据库代理可变更的规格
查询数据库代理可变更的规格信息。
- 调用接口前,您需要了解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
func (c *RdsClient) SetBinlogClearPolicy(request *model.SetBinlogClearPolicyRequest) (*model.SetBinlogClearPolicyResponse, error)
设置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 ¶
func (c *RdsClient) SetOffSiteBackupPolicy(request *model.SetOffSiteBackupPolicyRequest) (*model.SetOffSiteBackupPolicyResponse, error)
设置跨区域备份策略
设置跨区域备份策略。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) SetPostgresqlDbUserPwd ¶
func (c *RdsClient) SetPostgresqlDbUserPwd(request *model.SetPostgresqlDbUserPwdRequest) (*model.SetPostgresqlDbUserPwdResponse, error)
重置数据库帐号密码
重置指定数据库帐号的密码。
详细说明请参考华为云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.
func (*RdsClient) ShowAuditlogDownloadLink ¶
func (c *RdsClient) ShowAuditlogDownloadLink(request *model.ShowAuditlogDownloadLinkRequest) (*model.ShowAuditlogDownloadLinkResponse, error)
生成审计日志下载链接
生成审计日志下载链接。
详细说明请参考华为云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.
func (*RdsClient) ShowBackupDownloadLink ¶
func (c *RdsClient) ShowBackupDownloadLink(request *model.ShowBackupDownloadLinkRequest) (*model.ShowBackupDownloadLinkResponse, error)
获取备份下载链接
获取备份下载链接。
详细说明请参考华为云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
func (c *RdsClient) ShowBinlogClearPolicy(request *model.ShowBinlogClearPolicyRequest) (*model.ShowBinlogClearPolicyResponse, error)
获取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
func (c *RdsClient) ShowDrReplicaStatus(request *model.ShowDrReplicaStatusRequest) (*model.ShowDrReplicaStatusResponse, error)
查询跨云容灾复制状态
建立跨云容灾关系后,查询主实例和灾备实例间的复制状态及延迟。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) ShowInformationAboutDatabaseProxy ¶ added in v0.0.70
func (c *RdsClient) ShowInformationAboutDatabaseProxy(request *model.ShowInformationAboutDatabaseProxyRequest) (*model.ShowInformationAboutDatabaseProxyResponse, error)
查询数据库代理信息
查询指定实例的数据库代理详细信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) ShowInstanceConfiguration ¶
func (c *RdsClient) ShowInstanceConfiguration(request *model.ShowInstanceConfigurationRequest) (*model.ShowInstanceConfigurationResponse, error)
获取指定实例的参数模板
获取指定实例的参数模板。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) ShowOffSiteBackupPolicy ¶
func (c *RdsClient) ShowOffSiteBackupPolicy(request *model.ShowOffSiteBackupPolicyRequest) (*model.ShowOffSiteBackupPolicyResponse, error)
查询跨区域备份策略
查询跨区域备份策略。
详细说明请参考华为云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 ¶
func (c *RdsClient) StartInstanceEnlargeVolumeAction(request *model.StartInstanceEnlargeVolumeActionRequest) (*model.StartInstanceEnlargeVolumeActionResponse, error)
扩容数据库实例的磁盘空间
扩容数据库实例的磁盘空间。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) StartInstanceRestartAction ¶
func (c *RdsClient) StartInstanceRestartAction(request *model.StartInstanceRestartActionRequest) (*model.StartInstanceRestartActionResponse, error)
重启数据库实例
重启数据库实例。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) StartInstanceSingleToHaAction ¶
func (c *RdsClient) StartInstanceSingleToHaAction(request *model.StartInstanceSingleToHaActionRequest) (*model.StartInstanceSingleToHaActionResponse, error)
单机转主备实例
单机转主备实例。
详细说明请参考华为云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 ¶
func (c *RdsClient) StartResizeFlavorAction(request *model.StartResizeFlavorActionRequest) (*model.StartResizeFlavorActionResponse, error)
变更数据库实例的规格
变更数据库实例的规格。
详细说明请参考华为云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 ¶
func (c *RdsClient) UpdateConfiguration(request *model.UpdateConfigurationRequest) (*model.UpdateConfigurationResponse, error)
修改参数模板参数
修改参数模板参数。
详细说明请参考华为云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 ¶
func (c *RdsClient) UpdateInstanceConfiguration(request *model.UpdateInstanceConfigurationRequest) (*model.UpdateInstanceConfigurationResponse, error)
修改指定实例的参数
修改指定实例的参数。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*RdsClient) UpdateInstanceConfigurationAsync ¶ added in v0.0.83
func (c *RdsClient) UpdateInstanceConfigurationAsync(request *model.UpdateInstanceConfigurationAsyncRequest) (*model.UpdateInstanceConfigurationAsyncResponse, error)
修改指定实例的参数
修改指定实例的参数。
详细说明请参考华为云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 ¶
func (c *RdsClient) UpdatePostgresqlInstanceAlias(request *model.UpdatePostgresqlInstanceAliasRequest) (*model.UpdatePostgresqlInstanceAliasResponse, error)
修改实例备注信息
修改指定数据库实例的备注信息。
详细说明请参考华为云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.