Class: Google::Apis::GkeonpremV1::VmwareAdminVipConfig

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

VmwareAdminVipConfig for VMware load balancer configurations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareAdminVipConfig

Returns a new instance of VmwareAdminVipConfig.



3959
3960
3961
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3959

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

Instance Attribute Details

#addons_vipString

The VIP to configure the load balancer for add-ons. Corresponds to the JSON property addonsVip

Returns:

  • (String)


3951
3952
3953
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3951

def addons_vip
  @addons_vip
end

#control_plane_vipString

The VIP which you previously set aside for the Kubernetes API of the admin cluster. Corresponds to the JSON property controlPlaneVip

Returns:

  • (String)


3957
3958
3959
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3957

def control_plane_vip
  @control_plane_vip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3964
3965
3966
3967
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3964

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