mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
Merge pull request #14310 from ioito/hotfix/qx-eip-update
fix(region): eip update
This commit is contained in:
@@ -89,12 +89,12 @@ type SElasticip struct {
|
||||
Mode string `width:"32" charset:"ascii" get:"user" list:"user" create:"optional"`
|
||||
|
||||
// IP地址
|
||||
IpAddr string `width:"17" charset:"ascii" list:"user"`
|
||||
IpAddr string `width:"17" charset:"ascii" list:"user" update:"admin"`
|
||||
|
||||
// 绑定资源类型
|
||||
AssociateType string `width:"32" charset:"ascii" list:"user"`
|
||||
AssociateType string `width:"32" charset:"ascii" list:"user" update:"admin"`
|
||||
// 绑定资源Id
|
||||
AssociateId string `width:"256" charset:"ascii" list:"user"`
|
||||
AssociateId string `width:"256" charset:"ascii" list:"user" update:"admin"`
|
||||
|
||||
// 带宽大小
|
||||
Bandwidth int `list:"user" create:"optional" default:"0"`
|
||||
|
||||
@@ -53,6 +53,9 @@ type EipUpdateOptions struct {
|
||||
options.BaseUpdateOptions
|
||||
|
||||
AutoDellocate *string `help:"enable or disable automatically dellocate when dissociate from instance" choices:"true|false"`
|
||||
IpAddr string
|
||||
AssociateId string
|
||||
AssociateType string
|
||||
}
|
||||
|
||||
func (opts *EipUpdateOptions) Params() (jsonutils.JSONObject, error) {
|
||||
|
||||
Reference in New Issue
Block a user