Class: NSXDriver::NSXTtz
- Inherits:
-
TransportZone
- Object
- NSXComponent
- TransportZone
- NSXDriver::NSXTtz
- Defined in:
- lib/nsxt_tz.rb
Overview
Class Transport Zone
Instance Attribute Summary collapse
-
#tz_id ⇒ Object
readonly
ATTRIBUTES.
Instance Method Summary collapse
-
#initialize(nsx_client) ⇒ NSXTtz
constructor
CONSTRUCTOR.
-
#tzs ⇒ Object
METHODS.
Methods inherited from TransportZone
Constructor Details
#initialize(nsx_client) ⇒ NSXTtz
CONSTRUCTOR
25 26 27 28 29 |
# File 'lib/nsxt_tz.rb', line 25 def initialize(nsx_client) super(nsx_client) # Construct base URLs @url_tzs_nsxt = NSXConstants::NSXT_TZS end |
Instance Attribute Details
#tz_id ⇒ Object (readonly)
ATTRIBUTES
22 23 24 |
# File 'lib/nsxt_tz.rb', line 22 def tz_id @tz_id end |
Instance Method Details
#tzs ⇒ Object
METHODS
32 33 34 |
# File 'lib/nsxt_tz.rb', line 32 def tzs @nsx_client.get(@url_tzs_nsxt) end |