From 599621a205ad7dbd4338523c42e3c5821f4514fc Mon Sep 17 00:00:00 2001 From: Brian Boucheron Date: Tue, 10 Dec 2024 12:48:38 -0500 Subject: [PATCH 1/2] add 'type' field to load balancers --- .../load_balancers/models/load_balancer_base.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/specification/resources/load_balancers/models/load_balancer_base.yml b/specification/resources/load_balancers/models/load_balancer_base.yml index 73265f81..a8a5ccb8 100644 --- a/specification/resources/load_balancers/models/load_balancer_base.yml +++ b/specification/resources/load_balancers/models/load_balancer_base.yml @@ -169,5 +169,16 @@ properties: to resources on the same VPC network. This property cannot be updated after creating the load balancer. + type: + type: string + example: REGIONAL + enum: + - REGIONAL + - REGIONAL_NETWORK + default: REGIONAL + description: A string indicating whether the load balancer should be a standard + regional load balancer or a regional network load balancer that routes traffic + at the TCP/UDP transport layer. + required: - forwarding_rules From d7b384bb0edecaa9c563eeae98a143638ca2ea97 Mon Sep 17 00:00:00 2001 From: Brian Boucheron Date: Tue, 10 Dec 2024 14:07:33 -0500 Subject: [PATCH 2/2] add GLOBAL to 'type' field --- .../resources/load_balancers/models/load_balancer_base.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/specification/resources/load_balancers/models/load_balancer_base.yml b/specification/resources/load_balancers/models/load_balancer_base.yml index a8a5ccb8..e5a6fb1b 100644 --- a/specification/resources/load_balancers/models/load_balancer_base.yml +++ b/specification/resources/load_balancers/models/load_balancer_base.yml @@ -175,10 +175,11 @@ properties: enum: - REGIONAL - REGIONAL_NETWORK + - GLOBAL default: REGIONAL description: A string indicating whether the load balancer should be a standard - regional load balancer or a regional network load balancer that routes traffic - at the TCP/UDP transport layer. + regional HTTP load balancer, a regional network load balancer that routes traffic + at the TCP/UDP transport layer, or a global load balancer. required: - forwarding_rules