class OneviewSDK::API500::C7000::VolumeAttachment
Storage Volume
Attachment resource implementation for API500
C7000
Public Class Methods
new(client, params = {}, api_ver = nil)
click to toggle source
Create a resource object, associate it with a client, and set its properties. @param [OneviewSDK::Client] client The client object for the OneView appliance @param [Hash] params The options for this resource (key-value pairs) @param [Integer] api_ver The api version to use when interracting with this resource.
Calls superclass method
OneviewSDK::API200::VolumeAttachment::new
# File lib/oneview-sdk/resource/api500/c7000/volume_attachment.rb, line 24 def initialize(client, params = {}, api_ver = nil) # Default values: @data ||= {} @data['type'] ||= @data[:type] || 'StorageVolumeAttachmentV2' super end
Public Instance Methods
get_path(*)
click to toggle source
Method is not available @raise [OneviewSDK::MethodUnavailable] method is not available
# File lib/oneview-sdk/resource/api500/c7000/volume_attachment.rb, line 39 def get_path(*) unavailable_method end
get_paths()
click to toggle source
Method is not available @raise [OneviewSDK::MethodUnavailable] method is not available
# File lib/oneview-sdk/resource/api500/c7000/volume_attachment.rb, line 33 def get_paths unavailable_method end