Method: OneviewSDK::SANManager#update

Defined in:
lib/oneview-sdk/resource/san_manager.rb

#update(options) ⇒ Object

Refreshes the san manager state or change connection information

Parameters:

  • options (Hash)


58
59
60
61
62
63
# File 'lib/oneview-sdk/resource/san_manager.rb', line 58

def update(options)
  ensure_client && ensure_uri
  response = @client.rest_put(@data['uri'], 'body' => options)
  new_data = @client.response_handler(response)
  set_all(new_data)
end