Class: Google::Apis::GkeonpremV1::VmwareMetalLbConfig

Inherits:
Object
  • Object
show all
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

Represents configuration parameters for the MetalLB load balancer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareMetalLbConfig

Returns a new instance of VmwareMetalLbConfig.



5425
5426
5427
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5425

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#address_poolsArray<Google::Apis::GkeonpremV1::VmwareAddressPool>

Required. AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools. Corresponds to the JSON property addressPools



5423
5424
5425
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5423

def address_pools
  @address_pools
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5430
5431
5432
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5430

def update!(**args)
  @address_pools = args[:address_pools] if args.key?(:address_pools)
end