Skip to content

Commit a0507fb

Browse files
OAS Update
1 parent fe212a1 commit a0507fb

File tree

2 files changed

+69
-4
lines changed

2 files changed

+69
-4
lines changed

services/alb/v2/alb.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
"ActiveHealthCheck": {
55
"description": "Set this to customize active health checks for targets in this pool.",
66
"properties": {
7+
"altPort": {
8+
"description": "Overrides the default port used for health check probes.",
9+
"example": 8090,
10+
"format": "int32",
11+
"title": "Health Check Port",
12+
"type": "integer"
13+
},
714
"healthyThreshold": {
815
"description": "Healthy threshold of the health checking",
916
"format": "int32",
@@ -371,6 +378,9 @@
371378
"path": {
372379
"description": "Path to send the health check request to",
373380
"type": "string"
381+
},
382+
"tls": {
383+
"$ref": "#/components/schemas/TlsConfig"
374384
}
375385
},
376386
"type": "object"
@@ -899,13 +909,13 @@
899909
"type": "array"
900910
},
901911
"tlsConfig": {
902-
"$ref": "#/components/schemas/TargetPoolTlsConfig"
912+
"$ref": "#/components/schemas/TlsConfig"
903913
}
904914
},
905915
"type": "object"
906916
},
907-
"TargetPoolTlsConfig": {
908-
"description": "TLSConfig used for the target pool.",
917+
"TlsConfig": {
918+
"description": "Set this to configure TLS settings.",
909919
"properties": {
910920
"customCa": {
911921
"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.",
@@ -1098,7 +1108,7 @@
10981108
"type": "array"
10991109
},
11001110
"tlsConfig": {
1101-
"$ref": "#/components/schemas/TargetPoolTlsConfig"
1111+
"$ref": "#/components/schemas/TlsConfig"
11021112
}
11031113
},
11041114
"type": "object"

services/load-balancer/v2/load-balancer.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
"schemas": {
44
"ActiveHealthCheck": {
55
"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+
},
613
"healthyThreshold": {
714
"description": "Healthy threshold of the health checking",
815
"format": "int32",
@@ -11,6 +18,9 @@
1118
"title": "Healthy threshold",
1219
"type": "integer"
1320
},
21+
"httpHealthChecks": {
22+
"$ref": "#/components/schemas/HttpHealthChecks"
23+
},
1424
"interval": {
1525
"description": "Interval duration of health checking in seconds",
1626
"example": "3s",
@@ -293,6 +303,29 @@
293303
},
294304
"type": "object"
295305
},
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+
},
296329
"ListCredentialsResponse": {
297330
"properties": {
298331
"credentials": {
@@ -789,6 +822,28 @@
789822
},
790823
"type": "object"
791824
},
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+
},
792847
"UpdateCredentialsPayload": {
793848
"properties": {
794849
"displayName": {

0 commit comments

Comments
 (0)