Class: OneviewSDK::ImageStreamer::API300::OSVolume
- Defined in:
- lib/oneview-sdk/image-streamer/resource/api300/os_volume.rb
Overview
OS Volume resource implementation for Image Streamer
Constant Summary collapse
- BASE_URI =
'/rest/os-volumes'.freeze
Constants inherited from Resource
Resource::DEFAULT_REQUEST_HEADER, Resource::UNIQUE_IDENTIFIERS
Instance Attribute Summary
Attributes inherited from Resource
#api_version, #client, #data, #logger
Instance Method Summary collapse
-
#create ⇒ Object
Method is not available.
-
#delete ⇒ Object
Method is not available.
-
#get_details_archive ⇒ Hash
Get the details of the archived OS volume with the specified attribute.
-
#update ⇒ Object
Method is not available.
Methods inherited from Resource
#==, #[], #[]=, build_query, #create!, #deep_merge!, #each, #eql?, #exists?, find_by, find_with_pagination, from_file, get_all, #initialize, #like?, #refresh, #retrieve!, schema, #schema, #set, #set_all, #to_file
Constructor Details
This class inherits a constructor from OneviewSDK::Resource
Instance Method Details
#create ⇒ Object
Method is not available
23 24 25 |
# File 'lib/oneview-sdk/image-streamer/resource/api300/os_volume.rb', line 23 def create(*) unavailable_method end |
#delete ⇒ Object
Method is not available
35 36 37 |
# File 'lib/oneview-sdk/image-streamer/resource/api300/os_volume.rb', line 35 def delete(*) unavailable_method end |
#get_details_archive ⇒ Hash
Get the details of the archived OS volume with the specified attribute.
41 42 43 44 45 |
# 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 ⇒ Object
Method is not available
29 30 31 |
# File 'lib/oneview-sdk/image-streamer/resource/api300/os_volume.rb', line 29 def update(*) unavailable_method end |