Versions in this module Expand all Collapse all v1 v1.0.21 Mar 14, 2020 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListRdsBuilder) pagination.Pager + func ListErrorLog(client *gophercloud.ServiceClient, opts DbErrorlogBuilder, instanceID string) pagination.Pager + func ListSlowLog(client *gophercloud.ServiceClient, opts DbSlowLogBuilder, instanceID string) pagination.Pager + type BackupStrategy struct + KeepDays int + StartTime string + type ChargeInfo struct + ChargeMode string + IsAutoPay string + IsAutoRenew string + PeriodNum int + PeriodType string + type ChargeInfoMode struct + ChargeMode string + type CreateRds struct + Instance Instance + JobId string + OrderId string + type CreateRdsBuilder interface + ToInstancesCreateMap func() (map[string]interface{}, error) + type CreateRdsOpts struct + AvailabilityZone string + BackupStrategy *BackupStrategy + ChargeInfo *ChargeInfo + ConfigurationId string + DiskEncryptionId string + EnterpriseProjectId string + FlavorRef string + Ha *Ha + Name string + Password string + Port string + Region string + SecurityGroupId string + SubnetId string + TimeZone string + Volume *Volume + VpcId string + func (opts CreateRdsOpts) ToInstancesCreateMap() (map[string]interface{}, error) + type CreateReplicaBuilder interface + ToCreateReplicaMap func() (map[string]interface{}, error) + type CreateReplicaOpts struct + AvailabilityZone string + ChargeInfo *ChargeInfo + DiskEncryptionId string + EnterpriseProjectId string + FlavorRef string + Name string + Region string + ReplicaOfId string + Volume *Volume + func (opts CreateReplicaOpts) ToCreateReplicaMap() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateRdsBuilder) (r CreateResult) + func CreateReplica(client *gophercloud.ServiceClient, opts CreateReplicaBuilder) (r CreateResult) + func (r CreateResult) Extract() (*CreateRds, error) + type Datastore struct + Type string + Version string + type DbErrorlogBuilder interface + DbErrorlogQuery func() (string, error) + type DbErrorlogOpts struct + EndDate string + Level string + Limit string + Offset string + StartDate string + func (opts DbErrorlogOpts) DbErrorlogQuery() (string, error) + type DbSlowLogBuilder interface + ToDbSlowLogListQuery func() (string, error) + type DbSlowLogOpts struct + EndDate string + Limit string + Offset string + StartDate string + Type string + func (opts DbSlowLogOpts) ToDbSlowLogListQuery() (string, error) + type DeleteInstance struct + InstanceId string + func (opts DeleteInstance) ToInstancesDeleteMap() (map[string]interface{}, error) + type DeleteInstanceBuilder interface + ToInstancesDeleteMap func() (map[string]interface{}, error) + type DeleteInstanceRdsResponse struct + JobId string + type DeleteInstanceRdsResult struct + func Delete(client *gophercloud.ServiceClient, instanceId string) (r DeleteInstanceRdsResult) + func (r DeleteInstanceRdsResult) Extract() (*DeleteInstanceRdsResponse, error) + type EnlargeVolumeBuilder interface + ToEnlargeVolumeMap func() (map[string]interface{}, error) + type EnlargeVolumeRdsOpts struct + EnlargeVolume *EnlargeVolumeSize + func (opts EnlargeVolumeRdsOpts) ToEnlargeVolumeMap() (map[string]interface{}, error) + type EnlargeVolumeResp struct + JobId string + type EnlargeVolumeResult struct + func EnlargeVolume(client *gophercloud.ServiceClient, opts EnlargeVolumeBuilder, ...) (r EnlargeVolumeResult) + func (r EnlargeVolumeResult) Extract() (*EnlargeVolumeResp, error) + type EnlargeVolumeSize struct + Size int + type ErrorLogPage struct + func (r ErrorLogPage) IsEmpty() (bool, error) + type ErrorLogResp struct + ErrorLogList []Errorlog + TotalRecord int + func ExtractErrorLog(r pagination.Page) (ErrorLogResp, error) + type ErrorLogResult struct + type Errorlog struct + Content string + Level string + Time string + type Ha struct + Mode string + ReplicationMode string + type Instance struct + AvailabilityZone string + BackupStrategy BackupStrategy + ChargeInfo ChargeInfo + ConfigurationId string + Datastore Datastore + DiskEncryptionId string + EnterpriseProjectId string + FlavorRef string + Ha Ha + Id string + Name string + Port string + Region string + SecurityGroupId string + Status string + SubnetId string + Volume Volume + VpcId string + type ListRdsBuilder interface + ToRdsListDetailQuery func() (string, error) + type ListRdsInstanceOpts struct + DataStoreType string + Id string + Limit int + Name string + Offset int + SubnetId string + Type string + VpcId string + func (opts ListRdsInstanceOpts) ToRdsListDetailQuery() (string, error) + type ListRdsResponse struct + Instances []RdsInstanceResponse + TotalCount int + func ExtractRdsInstances(r pagination.Page) (ListRdsResponse, error) + type ListRdsResult struct + type Nodes struct + AvailabilityZone string + Id string + Name string + Role string + Status string + type RdsInstanceResponse struct + BackupStrategy BackupStrategy + ChargeInfo ChargeInfoMode + Created string + DataStore Datastore + DbUserName string + DiskEncryptionId string + EnterpriseProjectId string + FlavorRef string + Ha Ha + Id string + MaintenanceWindow string + Name string + Nodes []Nodes + Port int + PrivateIps []string + PublicIps []string + Region string + RelatedInstance []RelatedInstance + SecurityGroupId string + Status string + SubnetId string + SwitchStrategy string + TimeZone string + Type string + Updated string + Volume Volume + VpcId string + type RdsPage struct + func (r RdsPage) IsEmpty() (bool, error) + type RelatedInstance struct + Id string + Type string + type ResizeFlavor struct + JobId string + type ResizeFlavorBuilder interface + ResizeFlavorMap func() (map[string]interface{}, error) + type ResizeFlavorOpts struct + ResizeFlavor *SpecCode + func (opts ResizeFlavorOpts) ResizeFlavorMap() (map[string]interface{}, error) + type ResizeFlavorResult struct + func Resize(client *gophercloud.ServiceClient, opts ResizeFlavorBuilder, instanceId string) (r ResizeFlavorResult) + func (r ResizeFlavorResult) Extract() (*ResizeFlavor, error) + type RestartRdsInstanceBuilder interface + ToRestartRdsInstanceMap func() (map[string]interface{}, error) + type RestartRdsInstanceOpts struct + Restart string + func (opts RestartRdsInstanceOpts) ToRestartRdsInstanceMap() (map[string]interface{}, error) + type RestartRdsInstanceResult struct + func Restart(client *gophercloud.ServiceClient, opts RestartRdsInstanceBuilder, ...) (r RestartRdsInstanceResult) + func (r RestartRdsInstanceResult) Extract() (*RestartRdsResponse, error) + type RestartRdsResponse struct + JobId string + type SingleToHaRds struct + AzCodeNewNode string + Password string + type SingleToHaRdsInstanceResult struct + func SingleToHa(client *gophercloud.ServiceClient, opts SingleToRdsHaBuilder, ...) (r SingleToHaRdsInstanceResult) + func (r SingleToHaRdsInstanceResult) Extract() (*SingleToHaResponse, error) + type SingleToHaRdsOpts struct + SingleToHa *SingleToHaRds + func (opts SingleToHaRdsOpts) ToSingleToRdsHaMap() (map[string]interface{}, error) + type SingleToHaResponse struct + JobId string + type SingleToRdsHaBuilder interface + ToSingleToRdsHaMap func() (map[string]interface{}, error) + type SlowLogPage struct + func (r SlowLogPage) IsEmpty() (bool, error) + type SlowLogResp struct + Slowloglist []Slowloglist + TotalRecord int + func ExtractSlowLog(r pagination.Page) (SlowLogResp, error) + type Slowloglist struct + ClientIp string + Count string + Database string + Locktime string + QuerySample string + Rowsexamined string + Rowssent string + StartTime string + Time string + Type string + Users string + type SpecCode struct + Speccode string + type Volume struct + Size int + Type string