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
more...

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.

[View source]

4407
4408
4409
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4407

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)

4399
4400
4401
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4399

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)

4405
4406
4407
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4405

def control_plane_vip
  @control_plane_vip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

4412
4413
4414
4415
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4412

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