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)

Method Summary

Methods inherited from Base::Struct

from_soap, icontrol_attribute, #to_soap

Instance Attribute Details

- (String) translation_object

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

- (IControl::LocalLB::SnatType) type

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