class OneviewSDK::API300::C7000::LogicalEnclosure
Public Class Methods
new(client, params = {}, api_ver = nil)
click to toggle source
Calls superclass method
OneviewSDK::API200::LogicalEnclosure::new
# File lib/oneview-sdk/resource/api300/c7000/logical_enclosure.rb, line 22 def initialize(client, params = {}, api_ver = nil) super end
Public Instance Methods
update_firmware(attributes = {})
click to toggle source
Updates the firmware attributes of a given logical enclosure resource @param [Hash] attributes Hash with firmware attributes @option options [String] :firmwareUpdateOn Specifies the component types within the enclosure which has to be updated @option options [Boolean] :forceInstallFirmware Specifies whether the firmware operation to be carried forcefully or not @option options [String] :firmwareBaselineUri Firmware-drivers URI for the firmware bundle containing the baseline firmware
# File lib/oneview-sdk/resource/api300/c7000/logical_enclosure.rb, line 31 def update_firmware(attributes = {}) patch('replace', '/firmware', attributes) end