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
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.
1331 1332 1333 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1331 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
1309 1310 1311 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1309 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
1314 1315 1316 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1314 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
1319 1320 1321 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1319 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
1324 1325 1326 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1324 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
1329 1330 1331 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1329 def vip_config @vip_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1336 1337 1338 1339 1340 1341 1342 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1336 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 |