Class: Google::Apis::GkeonpremV1::VmwareAdminF5BigIpConfig

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

VmwareAdminF5BigIpConfig represents configuration parameters for an F5 BIG-IP load balancer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareAdminF5BigIpConfig

Returns a new instance of VmwareAdminF5BigIpConfig.



3848
3849
3850
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3848

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

Instance Attribute Details

#addressString

The load balancer's IP address. Corresponds to the JSON property address

Returns:

  • (String)


3835
3836
3837
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3835

def address
  @address
end

#partitionString

The preexisting partition to be used by the load balancer. This partition is usually created for the admin cluster for example: 'my-f5-admin-partition'. Corresponds to the JSON property partition

Returns:

  • (String)


3841
3842
3843
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3841

def partition
  @partition
end

#snat_poolString

The pool name. Only necessary, if using SNAT. Corresponds to the JSON property snatPool

Returns:

  • (String)


3846
3847
3848
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3846

def snat_pool
  @snat_pool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3853
3854
3855
3856
3857
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3853

def update!(**args)
  @address = args[:address] if args.key?(:address)
  @partition = args[:partition] if args.key?(:partition)
  @snat_pool = args[:snat_pool] if args.key?(:snat_pool)
end