Class: Google::Apis::GkeonpremV1::VmwareVipConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareVipConfig
- 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
Specifies the VIP config for the VMware user cluster load balancer.
Instance Attribute Summary collapse
-
#control_plane_vip ⇒ String
The VIP which you previously set aside for the Kubernetes API of this cluster.
-
#ingress_vip ⇒ String
The VIP which you previously set aside for ingress traffic into this cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareVipConfig
constructor
A new instance of VmwareVipConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareVipConfig
Returns a new instance of VmwareVipConfig.
5696 5697 5698 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5696 def initialize(**args) update!(**args) end |
Instance Attribute Details
#control_plane_vip ⇒ String
The VIP which you previously set aside for the Kubernetes API of this cluster.
Corresponds to the JSON property controlPlaneVip
5689 5690 5691 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5689 def control_plane_vip @control_plane_vip end |
#ingress_vip ⇒ String
The VIP which you previously set aside for ingress traffic into this cluster.
Corresponds to the JSON property ingressVip
5694 5695 5696 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5694 def ingress_vip @ingress_vip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5701 5702 5703 5704 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5701 def update!(**args) @control_plane_vip = args[:control_plane_vip] if args.key?(:control_plane_vip) @ingress_vip = args[:ingress_vip] if args.key?(:ingress_vip) end |