Class: Google::Apis::GkeonpremV1::VmwareLoadBalancerConfig

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

Specifies the locad balancer config for the VMware user cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareLoadBalancerConfig

Returns a new instance of VmwareLoadBalancerConfig.



4462
4463
4464
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4462

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

Instance Attribute Details

#f5_configGoogle::Apis::GkeonpremV1::VmwareF5BigIpConfig

Represents configuration parameters for an F5 BIG-IP load balancer. Corresponds to the JSON property f5Config



4445
4446
4447
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4445

def f5_config
  @f5_config
end

#manual_lb_configGoogle::Apis::GkeonpremV1::VmwareManualLbConfig

Manually configured load balancers. Corresponds to the JSON property manualLbConfig



4450
4451
4452
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4450

def manual_lb_config
  @manual_lb_config
end

#metal_lb_configGoogle::Apis::GkeonpremV1::VmwareMetalLbConfig

Represents configuration parameters for the MetalLB load balancer. Corresponds to the JSON property metalLbConfig



4455
4456
4457
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4455

def metal_lb_config
  @metal_lb_config
end

#vip_configGoogle::Apis::GkeonpremV1::VmwareVipConfig

Specifies the VIP config for the VMware user cluster load balancer. Corresponds to the JSON property vipConfig



4460
4461
4462
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4460

def vip_config
  @vip_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4467
4468
4469
4470
4471
4472
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4467

def update!(**args)
  @f5_config = args[:f5_config] if args.key?(:f5_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)
  @vip_config = args[:vip_config] if args.key?(:vip_config)
end