5
5
description : |
6
6
API for editing and managing haproxy instances. Provides process information, configuration management,
7
7
haproxy stats and logs.
8
- version : ' 1.0 '
8
+ version : ' 1.1 '
9
9
contact :
10
10
name : HAProxy Support
11
11
url : https://my.haproxy.com/portal/cust/login
@@ -234,6 +234,17 @@ definitions:
234
234
additionalProperties : false
235
235
description : HAProxy defaults configuration
236
236
properties :
237
+ adv_check :
238
+ enum :
239
+ - ssl-hello-chk
240
+ - smtpchk
241
+ - ldap-check
242
+ - mysql-check
243
+ - pgsql-check
244
+ - tcp-check
245
+ - redis-check
246
+ type : string
247
+ x-display-name : Advanced Check
237
248
balance :
238
249
$ref : ' #/definitions/balance'
239
250
check_timeout :
@@ -254,6 +265,14 @@ definitions:
254
265
connect_timeout :
255
266
type : integer
256
267
x-nullable : true
268
+ contstats :
269
+ enum :
270
+ - enabled
271
+ type : string
272
+ x-display-name : Continous Statistics
273
+ cookie :
274
+ pattern : ^[^\s]+$
275
+ type : string
257
276
default_backend :
258
277
pattern : ^[A-Za-z0-9-_.:]+$
259
278
type : string
@@ -304,12 +323,32 @@ definitions:
304
323
http_keep_alive_timeout :
305
324
type : integer
306
325
x-nullable : true
326
+ http_pretend_keepalive :
327
+ enum :
328
+ - enabled
329
+ - disabled
330
+ type : string
307
331
http_request_timeout :
308
332
type : integer
309
333
x-nullable : true
334
+ httpchk :
335
+ $ref : ' #/definitions/httpchk'
310
336
httplog :
311
337
type : boolean
312
338
x-display-name : HTTP Log
339
+ log_format :
340
+ type : string
341
+ log_format_sd :
342
+ type : string
343
+ x-display-name : Log Format SD
344
+ log_separate_errors :
345
+ enum :
346
+ - enabled
347
+ - disabled
348
+ type : string
349
+ log_tag :
350
+ pattern : ^[^\s]+$
351
+ type : string
313
352
maxconn :
314
353
type : integer
315
354
x-display-name : Max Connections
@@ -318,14 +357,21 @@ definitions:
318
357
enum :
319
358
- tcp
320
359
- http
321
- - health
322
360
type : string
323
361
queue_timeout :
324
362
type : integer
325
363
x-nullable : true
364
+ redispatch :
365
+ $ref : ' #/definitions/redispatch'
366
+ retries :
367
+ type : integer
368
+ x-nullable : true
326
369
server_timeout :
327
370
type : integer
328
371
x-nullable : true
372
+ tcplog :
373
+ type : boolean
374
+ x-display-name : TCP Log
329
375
title : Defaults
330
376
type : object
331
377
frontend :
@@ -359,7 +405,6 @@ definitions:
359
405
contstats :
360
406
enum :
361
407
- enabled
362
- - disabled
363
408
type : string
364
409
x-display-name : Continous Statistics
365
410
default_backend :
@@ -374,6 +419,11 @@ definitions:
374
419
- disabled
375
420
type : string
376
421
x-display-name : Don't Log Null
422
+ forwardfor :
423
+ $ref : ' #/definitions/forwardfor'
424
+ x-dependency :
425
+ mode :
426
+ value : http
377
427
http-use-htx :
378
428
enum :
379
429
- enabled
@@ -385,7 +435,6 @@ definitions:
385
435
x-display-name : HTTP Use HTX
386
436
http_connection_mode :
387
437
enum :
388
- - http-tunnel
389
438
- httpclose
390
439
- http-server-close
391
440
- http-keep-alive
@@ -399,14 +448,6 @@ definitions:
399
448
mode :
400
449
value : http
401
450
x-nullable : true
402
- http_pretend_keepalive :
403
- enum :
404
- - enabled
405
- - disabled
406
- type : string
407
- x-dependency :
408
- mode :
409
- value : http
410
451
http_request_timeout :
411
452
type : integer
412
453
x-dependency :
@@ -440,7 +481,6 @@ definitions:
440
481
enum :
441
482
- http
442
483
- tcp
443
- - health
444
484
type : string
445
485
name :
446
486
pattern : ^[A-Za-z0-9-_.:]+$
@@ -496,12 +536,6 @@ definitions:
496
536
connect_timeout :
497
537
type : integer
498
538
x-nullable : true
499
- contstats :
500
- enum :
501
- - enabled
502
- - disabled
503
- type : string
504
- x-display-name : Continous Statistics
505
539
cookie :
506
540
pattern : ^[^\s]+$
507
541
type : string
@@ -539,44 +573,45 @@ definitions:
539
573
value : http
540
574
http_connection_mode :
541
575
enum :
542
- - http-tunnel
543
576
- httpclose
544
577
- http-server-close
545
578
- http-keep-alive
546
579
type : string
547
580
x-dependency :
548
581
mode :
549
582
value : http
583
+ http_keep_alive_timeout :
584
+ type : integer
585
+ x-dependency :
586
+ mode :
587
+ value : http
588
+ x-nullable : true
589
+ http_pretend_keepalive :
590
+ enum :
591
+ - enabled
592
+ - disabled
593
+ type : string
594
+ x-dependency :
595
+ mode :
596
+ value : http
597
+ http_request_timeout :
598
+ type : integer
599
+ x-dependency :
600
+ mode :
601
+ value : http
602
+ x-nullable : true
550
603
httpchk :
551
- properties :
552
- method :
553
- enum :
554
- - HEAD
555
- - PUT
556
- - POST
557
- - GET
558
- - TRACE
559
- - PATCH
560
- type : string
561
- uri :
562
- pattern : ^[^\s]+$
563
- type : string
564
- version :
565
- pattern : ^[^\s]+$
566
- type : string
567
- type : object
604
+ $ref : ' #/definitions/httpchk'
568
605
x-dependency :
569
606
mode :
570
607
value : http
571
- x-display-name : HTTP Check
572
608
log_tag :
573
609
pattern : ^[^\s]+$
574
610
type : string
575
611
mode :
576
612
enum :
577
613
- http
578
614
- tcp
579
- - health
580
615
type : string
581
616
name :
582
617
pattern : ^[A-Za-z0-9-_.:]+$
@@ -586,18 +621,7 @@ definitions:
586
621
type : integer
587
622
x-nullable : true
588
623
redispatch :
589
- properties :
590
- enabled :
591
- enum :
592
- - enabled
593
- - disabled
594
- type : string
595
- interval :
596
- type : integer
597
- x-nullable : false
598
- required :
599
- - enabled
600
- type : object
624
+ $ref : ' #/definitions/redispatch'
601
625
retries :
602
626
type : integer
603
627
x-nullable : true
@@ -2469,6 +2493,38 @@ definitions:
2469
2493
type : integer
2470
2494
x-nullable : true
2471
2495
type : object
2496
+ httpchk :
2497
+ properties :
2498
+ method :
2499
+ enum :
2500
+ - HEAD
2501
+ - PUT
2502
+ - POST
2503
+ - GET
2504
+ - TRACE
2505
+ - PATCH
2506
+ type : string
2507
+ uri :
2508
+ pattern : ^[^\s]+$
2509
+ type : string
2510
+ version :
2511
+ pattern : ^[^\s]+$
2512
+ type : string
2513
+ type : object
2514
+ x-display-name : HTTP Check
2515
+ redispatch :
2516
+ properties :
2517
+ enabled :
2518
+ enum :
2519
+ - enabled
2520
+ - disabled
2521
+ type : string
2522
+ interval :
2523
+ type : integer
2524
+ x-nullable : false
2525
+ required :
2526
+ - enabled
2527
+ type : object
2472
2528
errorfile :
2473
2529
properties :
2474
2530
code :
0 commit comments