|
3 | 3 | "schemas": { |
4 | 4 | "ActiveHealthCheck": { |
5 | 5 | "properties": { |
| 6 | + "altPort": { |
| 7 | + "description": "Overrides the default port used for health check probes.", |
| 8 | + "example": 8090, |
| 9 | + "format": "int32", |
| 10 | + "title": "Health Check Port", |
| 11 | + "type": "integer" |
| 12 | + }, |
6 | 13 | "healthyThreshold": { |
7 | 14 | "description": "Healthy threshold of the health checking", |
8 | 15 | "format": "int32", |
|
11 | 18 | "title": "Healthy threshold", |
12 | 19 | "type": "integer" |
13 | 20 | }, |
| 21 | + "httpHealthChecks": { |
| 22 | + "$ref": "#/components/schemas/HttpHealthChecks" |
| 23 | + }, |
14 | 24 | "interval": { |
15 | 25 | "description": "Interval duration of health checking in seconds", |
16 | 26 | "example": "3s", |
|
293 | 303 | }, |
294 | 304 | "type": "object" |
295 | 305 | }, |
| 306 | + "HttpHealthChecks": { |
| 307 | + "description": "Options for the HTTP health checking.", |
| 308 | + "properties": { |
| 309 | + "okStatuses": { |
| 310 | + "description": "List of HTTP status codes that indicate a healthy response", |
| 311 | + "items": { |
| 312 | + "type": "string" |
| 313 | + }, |
| 314 | + "maximum": 299, |
| 315 | + "minimum": 200, |
| 316 | + "title": "HTTP Health Checks' status code", |
| 317 | + "type": "array" |
| 318 | + }, |
| 319 | + "path": { |
| 320 | + "description": "Path to send the health check request to", |
| 321 | + "type": "string" |
| 322 | + }, |
| 323 | + "tls": { |
| 324 | + "$ref": "#/components/schemas/TlsConfig" |
| 325 | + } |
| 326 | + }, |
| 327 | + "type": "object" |
| 328 | + }, |
296 | 329 | "ListCredentialsResponse": { |
297 | 330 | "properties": { |
298 | 331 | "credentials": { |
|
789 | 822 | }, |
790 | 823 | "type": "object" |
791 | 824 | }, |
| 825 | + "TlsConfig": { |
| 826 | + "description": "Set this to configure TLS settings.", |
| 827 | + "properties": { |
| 828 | + "customCa": { |
| 829 | + "description": "Specifies a custom Certificate Authority (CA). When provided, the target pool will trust certificates signed by this CA, in addition to any system-trusted CAs. This is useful for scenarios where the target pool needs to communicate with servers using self-signed or internally-issued certificates. Enabled needs to be set to true and skip validation to false for this option.", |
| 830 | + "format": "bytes", |
| 831 | + "title": "Custom Certificate Authority", |
| 832 | + "type": "string" |
| 833 | + }, |
| 834 | + "enabled": { |
| 835 | + "description": "Enable TLS (Transport Layer Security) bridging for the connection between Application Load Balancer and targets in this pool. When enabled, public CAs are trusted. Can be used in tandem with the options either custom CA or skip validation or alone.", |
| 836 | + "title": "Enabled", |
| 837 | + "type": "boolean" |
| 838 | + }, |
| 839 | + "skipCertificateValidation": { |
| 840 | + "description": "Bypass certificate validation for TLS bridging in this target pool. This option is insecure and can only be used with public CAs by setting enabled true. Meant to be used for testing purposes only!", |
| 841 | + "title": "Skip Certificate Validation", |
| 842 | + "type": "boolean" |
| 843 | + } |
| 844 | + }, |
| 845 | + "type": "object" |
| 846 | + }, |
792 | 847 | "UpdateCredentialsPayload": { |
793 | 848 | "properties": { |
794 | 849 | "displayName": { |
|
0 commit comments