class OneviewSDK::ImageStreamer::API300::OSVolume

OS Volume resource implementation for Image Streamer

Constants

BASE_URI

Public Instance Methods

create(*) click to toggle source

Method is not available @raise [OneviewSDK::MethodUnavailable] method is not available

# File lib/oneview-sdk/image-streamer/resource/api300/os_volume.rb, line 23
def create(*)
  unavailable_method
end
delete(*) click to toggle source

Method is not available @raise [OneviewSDK::MethodUnavailable] method is not available

# File lib/oneview-sdk/image-streamer/resource/api300/os_volume.rb, line 35
def delete(*)
  unavailable_method
end
get_details_archive() click to toggle source

Get the details of the archived OS volume with the specified attribute. @return [Hash] The details of the archived OS volume with the specified attribute

# File lib/oneview-sdk/image-streamer/resource/api300/os_volume.rb, line 41
def get_details_archive
  ensure_client && ensure_uri
  response = @client.rest_get("#{BASE_URI}/archive/#{data['uri'].split('/').last}")
  @client.response_handler(response)
end
update(*) click to toggle source

Method is not available @raise [OneviewSDK::MethodUnavailable] method is not available

# File lib/oneview-sdk/image-streamer/resource/api300/os_volume.rb, line 29
def update(*)
  unavailable_method
end