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.



4268
4269
4270
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4268

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)


4260
4261
4262
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4260

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)


4266
4267
4268
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4266

def control_plane_vip
  @control_plane_vip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4273
4274
4275
4276
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4273

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