1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
package schema
// LoadBalancerType defines the schema of a LoadBalancer type.
type LoadBalancerType struct {
ID int64 `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
MaxConnections int `json:"max_connections"`
MaxServices int `json:"max_services"`
MaxTargets int `json:"max_targets"`
MaxAssignedCertificates int `json:"max_assigned_certificates"`
Prices []PricingLoadBalancerTypePrice `json:"prices"`
}
// LoadBalancerTypeListResponse defines the schema of the response when
// listing LoadBalancer types.
type LoadBalancerTypeListResponse struct {
LoadBalancerTypes []LoadBalancerType `json:"load_balancer_types"`
}
// LoadBalancerTypeGetResponse defines the schema of the response when
// retrieving a single LoadBalancer type.
type LoadBalancerTypeGetResponse struct {
LoadBalancerType LoadBalancerType `json:"load_balancer_type"`
}
|