Class: Google::Apis::GkeonpremV1::VmwareF5BigIpConfig

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

Represents configuration parameters for an F5 BIG-IP load balancer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareF5BigIpConfig

Returns a new instance of VmwareF5BigIpConfig.



4910
4911
4912
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4910

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

Instance Attribute Details

#addressString

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

Returns:

  • (String)


4897
4898
4899
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4897

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)


4903
4904
4905
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4903

def partition
  @partition
end

#snat_poolString

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

Returns:

  • (String)


4908
4909
4910
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4908

def snat_pool
  @snat_pool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4915
4916
4917
4918
4919
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4915

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