Skip to content

Commit c563a35

Browse files
blewisCyclemattoni
andauthored
lbinfo (#790)
Co-authored-by: Alexander Mattoni <5110855+mattoni@users.noreply.github.com>
1 parent a21add1 commit c563a35

2 files changed

Lines changed: 36 additions & 34 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
title: LoadBalancerInfo
2+
type: object
3+
description: Information about an environments load balancer configuration, state, and availability settings.
4+
required:
5+
- default_config
6+
- service
7+
- default_type
8+
- current_type
9+
properties:
10+
default_config:
11+
$ref: ../../../environments/services/loadbalancer/LoadBalancerConfig.yml
12+
default_type:
13+
type: string
14+
enum:
15+
- haproxy
16+
- v1
17+
current_type:
18+
type: string
19+
enum:
20+
- haproxy
21+
- v1
22+
base_configs:
23+
type: object
24+
required:
25+
- haproxy
26+
- v1
27+
properties:
28+
haproxy:
29+
$ref: ../../../environments/services/loadbalancer/config/types/haproxy/HaProxyConfig.yml
30+
v1:
31+
$ref: ../../../environments/services/loadbalancer/config/types/v1/V1LbConfig.yml
32+
service:
33+
anyOf:
34+
- $ref: ../../../environments/services/LoadBalancerEnvironmentService.yml
35+
- type: "null"

platform/paths/environments/services/loadbalancer/loadbalancer.yml

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -22,39 +22,6 @@ get:
2222
- data
2323
properties:
2424
data:
25-
type: object
26-
description: Information about an environments load balancer configuration, state, and availability settings.
27-
required:
28-
- default_config
29-
- service
30-
- default_type
31-
- current_type
32-
properties:
33-
default_config:
34-
$ref: ../../../../../components/schemas/environments/services/loadbalancer/LoadBalancerConfig.yml
35-
default_type:
36-
type: string
37-
enum:
38-
- haproxy
39-
- v1
40-
current_type:
41-
type: string
42-
enum:
43-
- haproxy
44-
- v1
45-
base_configs:
46-
type: object
47-
required:
48-
- haproxy
49-
- v1
50-
properties:
51-
haproxy:
52-
$ref: ../../../../../components/schemas/environments/services/loadbalancer/config/types/haproxy/HaProxyConfig.yml
53-
v1:
54-
$ref: ../../../../../components/schemas/environments/services/loadbalancer/config/types/v1/V1LbConfig.yml
55-
service:
56-
anyOf:
57-
- $ref: ../../../../../components/schemas/environments/services/LoadBalancerEnvironmentService.yml
58-
- type: "null"
25+
$ref: ../../../../../components/schemas/environments/services/loadbalancer/LoadBalancerInfo.yml
5926
default:
6027
$ref: ../../../../../components/responses/errors/DefaultError.yml

0 commit comments

Comments
 (0)