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.



4327
4328
4329
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4327

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)


4319
4320
4321
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4319

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)


4325
4326
4327
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4325

def control_plane_vip
  @control_plane_vip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4332
4333
4334
4335
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4332

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