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.



5206
5207
5208
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5206

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

Instance Attribute Details

#addressString

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

Returns:

  • (String)


5193
5194
5195
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5193

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)


5199
5200
5201
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5199

def partition
  @partition
end

#snat_poolString

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

Returns:

  • (String)


5204
5205
5206
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5204

def snat_pool
  @snat_pool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5211
5212
5213
5214
5215
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5211

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