Method: OneviewSDK::API200::StorageSystem#get_managed_ports
- Defined in:
- lib/oneview-sdk/resource/api200/storage_system.rb
#get_managed_ports(port = nil) ⇒ Object
Lists all managed target ports for the specified storage system, or only the one specified
139 140 141 142 143 |
# File 'lib/oneview-sdk/resource/api200/storage_system.rb', line 139 def get_managed_ports(port = nil) uri = @data['uri'] uri += port.nil? ? '/managedPorts' : "/managedPorts/#{port}" self.class.find_with_pagination(@client, uri) end |