Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
title: LoadBalancerInfo
type: object
description: Information about an environments load balancer configuration, state, and availability settings.
required:
- default_config
- service
- default_type
- current_type
properties:
default_config:
$ref: ../../../environments/services/loadbalancer/LoadBalancerConfig.yml
default_type:
type: string
enum:
- haproxy
- v1
current_type:
type: string
enum:
- haproxy
- v1
base_configs:
type: object
required:
- haproxy
- v1
properties:
haproxy:
$ref: ../../../environments/services/loadbalancer/config/types/haproxy/HaProxyConfig.yml
v1:
$ref: ../../../environments/services/loadbalancer/config/types/v1/V1LbConfig.yml
service:
anyOf:
- $ref: ../../../environments/services/LoadBalancerEnvironmentService.yml
- type: "null"
Original file line number Diff line number Diff line change
Expand Up @@ -22,39 +22,6 @@ get:
- data
properties:
data:
type: object
description: Information about an environments load balancer configuration, state, and availability settings.
required:
- default_config
- service
- default_type
- current_type
properties:
default_config:
$ref: ../../../../../components/schemas/environments/services/loadbalancer/LoadBalancerConfig.yml
default_type:
type: string
enum:
- haproxy
- v1
current_type:
type: string
enum:
- haproxy
- v1
base_configs:
type: object
required:
- haproxy
- v1
properties:
haproxy:
$ref: ../../../../../components/schemas/environments/services/loadbalancer/config/types/haproxy/HaProxyConfig.yml
v1:
$ref: ../../../../../components/schemas/environments/services/loadbalancer/config/types/v1/V1LbConfig.yml
service:
anyOf:
- $ref: ../../../../../components/schemas/environments/services/LoadBalancerEnvironmentService.yml
- type: "null"
$ref: ../../../../../components/schemas/environments/services/loadbalancer/LoadBalancerInfo.yml
default:
$ref: ../../../../../components/responses/errors/DefaultError.yml