mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-05-31 13:00:41 +08:00
feat(region): support oracle cloud (#18676)
This commit is contained in:
@@ -88,10 +88,10 @@ type SCloudaccount struct {
|
||||
ProjectId string `name:"tenant_id" width:"128" charset:"ascii" list:"user" create:"domain_optional"`
|
||||
|
||||
// 云环境连接地址
|
||||
AccessUrl string `width:"64" charset:"ascii" nullable:"true" list:"domain" update:"domain" create:"domain_optional"`
|
||||
AccessUrl string `width:"128" charset:"ascii" nullable:"true" list:"domain" update:"domain" create:"domain_optional"`
|
||||
|
||||
// 云账号
|
||||
Account string `width:"128" charset:"ascii" nullable:"false" list:"domain" create:"domain_required"`
|
||||
Account string `width:"256" charset:"ascii" nullable:"false" list:"domain" create:"domain_required"`
|
||||
|
||||
// 云账号密码
|
||||
Secret string `length:"0" charset:"ascii" nullable:"false" list:"domain" create:"domain_required"`
|
||||
|
||||
@@ -98,9 +98,9 @@ type SCloudprovider struct {
|
||||
// Version string `width:"32" charset:"ascii" nullable:"true" list:"domain"` // Column(VARCHAR(32, charset='ascii'), nullable=True)
|
||||
// Sysinfo jsonutils.JSONObject `get:"domain"` // Column(JSONEncodedDict, nullable=True)
|
||||
|
||||
AccessUrl string `width:"64" charset:"ascii" nullable:"true" list:"domain" update:"domain" create:"domain_optional"`
|
||||
AccessUrl string `width:"128" charset:"ascii" nullable:"true" list:"domain" update:"domain" create:"domain_optional"`
|
||||
// 云账号的用户信息,例如用户名,access key等
|
||||
Account string `width:"128" charset:"ascii" nullable:"false" list:"domain" create:"domain_required"`
|
||||
Account string `width:"256" charset:"ascii" nullable:"false" list:"domain" create:"domain_required"`
|
||||
// 云账号的密码信息,例如密码,access key secret等。该字段在数据库加密存储。Google需要存储秘钥证书,需要此字段比较长
|
||||
Secret string `length:"0" charset:"ascii" nullable:"false" list:"domain" create:"domain_required"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user