v14.8.0
This commit is contained in:
@@ -96,6 +96,9 @@ type RecordGrid struct {
|
||||
|
||||
// SDN support
|
||||
SDNSupport bool `json:"sdn_support"`
|
||||
|
||||
// Is BRO enabled
|
||||
BROEnabled bool `json:"bro_enabled"`
|
||||
}
|
||||
|
||||
// Information about grid
|
||||
@@ -132,6 +135,9 @@ type ItemGridList struct {
|
||||
|
||||
// Is Zero Access enabled
|
||||
ZeroAccessEnabled bool `json:"zeroaccess_enabled"`
|
||||
|
||||
// Is BRO enabled
|
||||
BROEnabled bool `json:"bro_enabled"`
|
||||
}
|
||||
|
||||
// List Grids
|
||||
|
||||
@@ -14,6 +14,11 @@ type DRSCreateRequest struct {
|
||||
// Required: true
|
||||
ZoneID uint64 `url:"zone_id" json:"zone_id" validate:"required"`
|
||||
|
||||
// SSO provider type
|
||||
// Available values: bvs, decs3o
|
||||
// Required: true
|
||||
SSOType string `url:"sso_type" json:"sso_type" validate:"required,oneof=bvs decs3o"`
|
||||
|
||||
// Application ID
|
||||
// Required: true
|
||||
AppID string `url:"app_id" json:"app_id" validate:"required"`
|
||||
@@ -33,6 +38,30 @@ type DRSCreateRequest struct {
|
||||
// DRS name
|
||||
// Required: true
|
||||
DRSName string `url:"drs_name" json:"drs_name" validate:"required"`
|
||||
|
||||
// Username
|
||||
// Required: false
|
||||
Username string `url:"username,omitempty" json:"username,omitempty"`
|
||||
|
||||
// Password
|
||||
// Required: false
|
||||
Password string `url:"password,omitempty" json:"password,omitempty"`
|
||||
|
||||
// Broadcast address
|
||||
// Required: false
|
||||
BroadcastAddr string `url:"broadcast_addr,omitempty" json:"broadcast_addr,omitempty"`
|
||||
|
||||
// Ping address
|
||||
// Required: false
|
||||
PingAddr string `url:"ping_addr,omitempty" json:"ping_addr,omitempty"`
|
||||
|
||||
// Skip SSL certificate verification
|
||||
// Required: false
|
||||
SSLSkipVerify interface{} `url:"ssl_skip_verify,omitempty" json:"ssl_skip_verify,omitempty"`
|
||||
|
||||
// Domain
|
||||
// Required: false
|
||||
Domain string `url:"domain,omitempty" json:"domain,omitempty"`
|
||||
}
|
||||
|
||||
// DRSCreate creates a new DRS in the specified zone
|
||||
|
||||
@@ -14,6 +14,11 @@ type DRSUpdateRequest struct {
|
||||
// Required: true
|
||||
ZoneID uint64 `url:"zone_id" json:"zone_id" validate:"required"`
|
||||
|
||||
// SSO provider type
|
||||
// Available values: bvs, decs3o
|
||||
// Required: true
|
||||
SSOType string `url:"sso_type" json:"sso_type" validate:"required,oneof=bvs decs3o"`
|
||||
|
||||
// Application ID
|
||||
// Required: false
|
||||
AppID string `url:"app_id,omitempty" json:"app_id,omitempty"`
|
||||
@@ -33,6 +38,30 @@ type DRSUpdateRequest struct {
|
||||
// DRS name
|
||||
// Required: false
|
||||
DRSName string `url:"drs_name,omitempty" json:"drs_name,omitempty"`
|
||||
|
||||
// Username
|
||||
// Required: false
|
||||
Username string `url:"username,omitempty" json:"username,omitempty"`
|
||||
|
||||
// Password
|
||||
// Required: false
|
||||
Password string `url:"password,omitempty" json:"password,omitempty"`
|
||||
|
||||
// Broadcast address
|
||||
// Required: false
|
||||
BroadcastAddr string `url:"broadcast_addr,omitempty" json:"broadcast_addr,omitempty"`
|
||||
|
||||
// Ping address
|
||||
// Required: false
|
||||
PingAddr string `url:"ping_addr,omitempty" json:"ping_addr,omitempty"`
|
||||
|
||||
// Skip SSL certificate verification
|
||||
// Required: false
|
||||
SSLSkipVerify interface{} `url:"ssl_skip_verify,omitempty" json:"ssl_skip_verify,omitempty"`
|
||||
|
||||
// Domain
|
||||
// Required: false
|
||||
Domain string `url:"domain,omitempty" json:"domain,omitempty"`
|
||||
}
|
||||
|
||||
// DRSUpdate updates DRS configuration in the specified zone
|
||||
|
||||
@@ -81,6 +81,21 @@ type RecordZone struct {
|
||||
|
||||
// SSO URL
|
||||
SSOURL string `json:"sso_url"`
|
||||
|
||||
// SSO type
|
||||
SSOType string `json:"sso_type"`
|
||||
|
||||
// Ping address
|
||||
PingAddr string `json:"ping_addr"`
|
||||
|
||||
// Broadcast address
|
||||
BroadcastAddr string `json:"broadcast_addr"`
|
||||
|
||||
// Skip ssl verify
|
||||
SSLSkipVerify bool `json:"ssl_skip_verify"`
|
||||
|
||||
// Domain
|
||||
Domain string `json:"domain"`
|
||||
}
|
||||
|
||||
// A zone item from a list
|
||||
@@ -130,9 +145,24 @@ type ItemZone struct {
|
||||
// SSO URL
|
||||
SSOURL string `json:"sso_url"`
|
||||
|
||||
// SSO type
|
||||
SSOType string `json:"sso_type"`
|
||||
|
||||
// Status
|
||||
Status string `json:"status"`
|
||||
|
||||
// Updated timestamp
|
||||
UpdatedTime uint64 `json:"updatedTime"`
|
||||
|
||||
// Ping address
|
||||
PingAddr string `json:"ping_addr"`
|
||||
|
||||
// Broadcast address
|
||||
BroadcastAddr string `json:"broadcast_addr"`
|
||||
|
||||
// Skip ssl verify
|
||||
SSLSkipVerify bool `json:"ssl_skip_verify"`
|
||||
|
||||
// Domain
|
||||
Domain string `json:"domain"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user