Module: XClarityClient::Mixins::ManagementServerMixin

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

Overview

Exposes ManagementServerManagement features

Instance Method Summary collapse

Instance Method Details

#apply_management_server_updates(fixids) ⇒ Object



23
24
25
26
27
# File 'lib/xclarity_client/mixins/management_server_mixin.rb', line 23

def apply_management_server_updates(fixids)
  return "parameter 'fixids' should be array" unless fixids.kind_of?(Array)
  obj = ManagementServerManagement.new(@config)
  obj.apply_management_server_updates(fixids)
end

#delete_management_server_updates(fixids) ⇒ Object



11
12
13
14
15
# File 'lib/xclarity_client/mixins/management_server_mixin.rb', line 11

def delete_management_server_updates(fixids)
  return "parameter 'fixids' should be array" unless fixids.kind_of?(Array)
  obj = ManagementServerManagement.new(@config)
  obj.delete_management_server_updates(fixids)
end

#download_management_server_updates(fixids) ⇒ Object



17
18
19
20
21
# File 'lib/xclarity_client/mixins/management_server_mixin.rb', line 17

def download_management_server_updates(fixids)
  return "parameter 'fixids' should be array" unless fixids.kind_of?(Array)
  obj = ManagementServerManagement.new(@config)
  obj.download_management_server_updates(fixids)
end

#get_management_server_updates_info(key = nil) ⇒ Object



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

def get_management_server_updates_info(key = nil)
  obj = ManagementServerManagement.new(@config)
  obj.get_management_server_updates_info(key)
end

#import_management_server_updates(files) ⇒ Object



34
35
36
37
38
# File 'lib/xclarity_client/mixins/management_server_mixin.rb', line 34

def import_management_server_updates(files)
  return "parameter 'files' should be array" unless files.kind_of?(Array)
  obj = ManagementServerManagement.new(@config)
  obj.import_management_server_updates(files)
end

#refresh_management_server_updates_catalogObject



29
30
31
32
# File 'lib/xclarity_client/mixins/management_server_mixin.rb', line 29

def refresh_management_server_updates_catalog
  obj = ManagementServerManagement.new(@config)
  obj.refresh_management_server_updates_catalog
end