Method: OneviewSDK::LogicalInterconnect#update_settings
- Defined in:
- lib/oneview-sdk/resource/logical_interconnect.rb
#update_settings(options = {}) ⇒ Object
Updates settings of the logical interconnect
100 101 102 103 104 105 106 107 108 109 110 111 112 |
# File 'lib/oneview-sdk/resource/logical_interconnect.rb', line 100 def update_settings( = {}) ensure_client && ensure_uri ['type'] ||= 'InterconnectSettingsV3' ['ethernetSettings'] ||= {} ['ethernetSettings']['type'] ||= 'EthernetInterconnectSettingsV3' = { 'If-Match' => @data['eTag'], 'body' => } response = @client.rest_put(@data['uri'] + '/settings', , @api_version) body = @client.response_handler(response) set_all(body) end |