Module: XClarityClient::Mixins::OsImageMixin

Included in:
Client
Defined in:
lib/xclarity_client/mixins/os_image_mixin.rb

Overview

Exposes OsImageManagement features

Instance Method Summary collapse

Instance Method Details

#get_osimagesObject



10
11
12
# File 'lib/xclarity_client/mixins/os_image_mixin.rb', line 10

def get_osimages
  OsImageManagement.new(@config).fetch_all
end

#import_osimage(server_id = '', path = '') ⇒ Object



6
7
8
# File 'lib/xclarity_client/mixins/os_image_mixin.rb', line 6

def import_osimage(server_id = '', path = '')
  OsImageManagement.new(@config).import_osimage(server_id, path)
end