diff --git a/openstack/rds/v3/instances/requests.go b/openstack/rds/v3/instances/requests.go index 97949f7e8..ca6cc025d 100644 --- a/openstack/rds/v3/instances/requests.go +++ b/openstack/rds/v3/instances/requests.go @@ -26,6 +26,7 @@ type CreateRdsOpts struct { SecurityGroupId string `json:"security_group_id" required:"true"` ChargeInfo *ChargeInfo `json:"charge_info,omitempty"` TimeZone string `json:"time_zone,omitempty"` + FixedIp string `json:"data_vip,omitempty"` } type CreateReplicaOpts struct { @@ -188,7 +189,7 @@ func (opts RenameRdsInstanceOpts) ToRenameRdsInstanceMap() (map[string]interface return b, nil } -func Rename(client *golangsdk.ServiceClient, opts RenameRdsInstanceBuilder, instanceId string) (r golangsdk.Result) { +func Rename(client *golangsdk.ServiceClient, opts RenameRdsInstanceBuilder, instanceId string) (r RenameResult) { b, err := opts.ToRenameRdsInstanceMap() if err != nil { r.Err = err diff --git a/openstack/rds/v3/instances/results.go b/openstack/rds/v3/instances/results.go index 34f51ab11..1159dda18 100644 --- a/openstack/rds/v3/instances/results.go +++ b/openstack/rds/v3/instances/results.go @@ -26,6 +26,10 @@ type ResizeFlavorResult struct { commonResult } +type RenameResult struct { + commonResult +} + type Instance struct { Id string `json:"id"` Name string `json:"name"`