Class: Google::Apis::GkeonpremV1::BareMetalLoadBalancerConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalLoadBalancerConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb more...
Overview
Specifies the load balancer configuration.
Instance Attribute Summary collapse
-
#bgp_lb_config ⇒ Google::Apis::GkeonpremV1::BareMetalBgpLbConfig
BareMetalBgpLbConfig represents configuration parameters for a Border Gateway Protocol (BGP) load balancer.
-
#manual_lb_config ⇒ Google::Apis::GkeonpremV1::BareMetalManualLbConfig
Represents configuration parameters for a manual load balancer.
-
#metal_lb_config ⇒ Google::Apis::GkeonpremV1::BareMetalMetalLbConfig
Represents configuration parameters for a MetalLB load balancer.
-
#port_config ⇒ Google::Apis::GkeonpremV1::BareMetalPortConfig
Specifies load balancer ports for the bare metal user cluster.
-
#vip_config ⇒ Google::Apis::GkeonpremV1::BareMetalVipConfig
Specifies the VIP config for the bare metal load balancer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalLoadBalancerConfig
constructor
A new instance of BareMetalLoadBalancerConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalLoadBalancerConfig
Returns a new instance of BareMetalLoadBalancerConfig.
1376 1377 1378 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1376 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bgp_lb_config ⇒ Google::Apis::GkeonpremV1::BareMetalBgpLbConfig
BareMetalBgpLbConfig represents configuration parameters for a Border Gateway
Protocol (BGP) load balancer.
Corresponds to the JSON property bgpLbConfig
1354 1355 1356 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1354 def bgp_lb_config @bgp_lb_config end |
#manual_lb_config ⇒ Google::Apis::GkeonpremV1::BareMetalManualLbConfig
Represents configuration parameters for a manual load balancer.
Corresponds to the JSON property manualLbConfig
1359 1360 1361 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1359 def manual_lb_config @manual_lb_config end |
#metal_lb_config ⇒ Google::Apis::GkeonpremV1::BareMetalMetalLbConfig
Represents configuration parameters for a MetalLB load balancer.
Corresponds to the JSON property metalLbConfig
1364 1365 1366 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1364 def @metal_lb_config end |
#port_config ⇒ Google::Apis::GkeonpremV1::BareMetalPortConfig
Specifies load balancer ports for the bare metal user cluster.
Corresponds to the JSON property portConfig
1369 1370 1371 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1369 def port_config @port_config end |
#vip_config ⇒ Google::Apis::GkeonpremV1::BareMetalVipConfig
Specifies the VIP config for the bare metal load balancer.
Corresponds to the JSON property vipConfig
1374 1375 1376 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1374 def vip_config @vip_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1381 1382 1383 1384 1385 1386 1387 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1381 def update!(**args) @bgp_lb_config = args[:bgp_lb_config] if args.key?(:bgp_lb_config) @manual_lb_config = args[:manual_lb_config] if args.key?(:manual_lb_config) @metal_lb_config = args[:metal_lb_config] if args.key?(:metal_lb_config) @port_config = args[:port_config] if args.key?(:port_config) @vip_config = args[:vip_config] if args.key?(:vip_config) end |