Method: OneviewSDK::API200::Interconnect.get_type
- Defined in:
- lib/oneview-sdk/resource/api200/interconnect.rb
.get_type(client, name) ⇒ Array
Retrieves the interconnect type with name
62 63 64 65 |
# File 'lib/oneview-sdk/resource/api200/interconnect.rb', line 62 def self.get_type(client, name) results = get_types(client) results.find { |interconnect_type| interconnect_type['name'] == name } end |