Class: Google::Apis::GkeonpremV1::VmwareMetalLbConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareMetalLbConfig
- 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
-
#initialize(**args) ⇒ VmwareMetalLbConfig
constructor
A new instance of VmwareMetalLbConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareMetalLbConfig
Returns a new instance of VmwareMetalLbConfig.
4726 4727 4728 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4726 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address_pools ⇒ Array<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
4724 4725 4726 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4724 def address_pools @address_pools end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4731 4732 4733 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4731 def update!(**args) @address_pools = args[:address_pools] if args.key?(:address_pools) end |