Module: OneviewSDK::API500::C7000::FirmwareHelper
- Includes:
- ResourceHelper
- Included in:
- LogicalEnclosure, Synergy::LogicalEnclosure
- Defined in:
- lib/oneview-sdk/resource/api500/c7000/logical_enclosure.rb
Overview
Contains helper methods to include operation with firmware of a given logical enclosure resource
Instance Method Summary collapse
-
#update_firmware(attributes = {}) ⇒ OneviewSDK::API500::C7000::LogicalEnclosure
Updates the firmware attributes of a given logical enclosure resource.
Methods included from ResourceHelper
Instance Method Details
#update_firmware(attributes = {}) ⇒ OneviewSDK::API500::C7000::LogicalEnclosure
Updates the firmware attributes of a given logical enclosure resource
28 29 30 31 32 |
# File 'lib/oneview-sdk/resource/api500/c7000/logical_enclosure.rb', line 28 def update_firmware(attributes = {}) patch('replace', '/firmware', attributes, 'If-Match' => @data['eTag']) retrieve! self end |