Class: IControl::LocalLB::SNAT::Translation

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/local_lb/snat.rb,
lib/icontrol/local_lb/snat.rb

Overview

A struct that describes a translation target.

Instance Attribute Summary collapse

Instance Attribute Details

#translation_objectString

Whether it’s a translation address or a SNAT pool name.

Returns:

  • (String)

    the current value of translation_object



291
292
293
# File 'lib/icontrol/local_lb/snat.rb', line 291

def translation_object
  @translation_object
end

#typeIControl::LocalLB::SnatType

The snat type. For SNAT_TYPE_AUTOMAP, the translation_object attribute should be empty.

Returns:



291
292
293
# File 'lib/icontrol/local_lb/snat.rb', line 291

def type
  @type
end