mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix: update model api 20240424 (#20118)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
@@ -17,10 +17,10 @@ package compute
|
||||
import (
|
||||
time "time"
|
||||
|
||||
cloudprovider "yunion.io/x/cloudmux/pkg/cloudprovider"
|
||||
jsonutils "yunion.io/x/jsonutils"
|
||||
|
||||
"yunion.io/x/onecloud/pkg/apis"
|
||||
"yunion.io/x/onecloud/pkg/apis/cloudprovider"
|
||||
)
|
||||
|
||||
// SAccessGroup is an autogenerated struct via yunion.io/x/onecloud/pkg/compute/models.SAccessGroup.
|
||||
@@ -929,9 +929,9 @@ type SExternalProject struct {
|
||||
SManagedResourceBase
|
||||
// 优先级,同一个本地项目映射多个云上项目,优先级高的优先选择
|
||||
// 数值越高,优先级越大
|
||||
Priority int `json:"priority"`
|
||||
ExternalDomainId string `json:"external_domain_id"`
|
||||
// 归属云账号ID
|
||||
Priority int `json:"priority"`
|
||||
// swagger: ignore
|
||||
// 将在3.12之后版本移除
|
||||
CloudaccountId string `json:"cloudaccount_id"`
|
||||
}
|
||||
|
||||
@@ -1082,6 +1082,8 @@ type SGuest struct {
|
||||
PowerStates string `json:"power_states"`
|
||||
// Used for guest rescue
|
||||
RescueMode bool `json:"rescue_mode"`
|
||||
// 上次开机时间
|
||||
LastStartAt time.Time `json:"last_start_at"`
|
||||
}
|
||||
|
||||
// SGuestJointsBase is an autogenerated struct via yunion.io/x/onecloud/pkg/compute/models.SGuestJointsBase.
|
||||
@@ -1272,6 +1274,8 @@ type SHost struct {
|
||||
OvnMappedIpAddr string `json:"ovn_mapped_ip_addr"`
|
||||
// UEFI详情
|
||||
UefiInfo jsonutils.JSONObject `json:"uefi_info"`
|
||||
// 公网Ip地址
|
||||
PublicIp string `json:"public_ip"`
|
||||
}
|
||||
|
||||
// SHostBackupstorage is an autogenerated struct via yunion.io/x/onecloud/pkg/compute/models.SHostBackupstorage.
|
||||
|
||||
Reference in New Issue
Block a user