mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-29 17:58:36 +08:00
ucloud eip default charge type Dynamic
This commit is contained in:
@@ -228,6 +228,7 @@ func (self *SRegion) CreateEIP(name string, bwMbps int, chargeType string, bgpTy
|
||||
payMode = "Bandwidth"
|
||||
}
|
||||
params.Set("PayMode", payMode)
|
||||
params.Set("ChargeType", "Dynamic") // 按需付费
|
||||
|
||||
eips := make([]SEip, 0)
|
||||
err := self.DoAction("AllocateEIP", params, &eips)
|
||||
|
||||
Reference in New Issue
Block a user