Class: Softlayer::Software::Component::AntivirusSpyware

Inherits:
Softlayer::Software::Component show all
Defined in:
lib/softlayer/software/component/antivirus_spyware.rb,
lib/softlayer/software/component/antivirus_spyware/mcafee.rb,
lib/softlayer/software/component/antivirus_spyware/mcafee/epo.rb,
lib/softlayer/software/component/antivirus_spyware/mcafee/epo/version36.rb,
lib/softlayer/software/component/antivirus_spyware/mcafee/epo/version45.rb

Direct Known Subclasses

Mcafee

Defined Under Namespace

Classes: Mcafee, Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Software_Component_AntivirusSpyware'

Instance Attribute Summary

Attributes inherited from Softlayer::Software::Component

#average_installation_duration, #billing_item, #hardware, #hardware_id, #id, #manufacturer_activation_code, #manufacturer_license_instance, #password_count, #password_history, #password_history_count, #passwords, #software_description, #software_license, #virtual_guest

Instance Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Method Details

#get_average_installation_durationObject



8
9
10
# File 'lib/softlayer/software/component/antivirus_spyware.rb', line 8

def get_average_installation_duration
  request(:get_average_installation_duration, BigDecimal)
end

#get_billing_itemObject



12
13
14
# File 'lib/softlayer/software/component/antivirus_spyware.rb', line 12

def get_billing_item
  request(:get_billing_item, Softlayer::Billing::Item)
end

#get_hardwareObject



16
17
18
# File 'lib/softlayer/software/component/antivirus_spyware.rb', line 16

def get_hardware
  request(:get_hardware, Softlayer::Hardware)
end

#get_license_fileObject



20
21
22
# File 'lib/softlayer/software/component/antivirus_spyware.rb', line 20

def get_license_file
  request(:get_license_file, String)
end

#get_objectObject



24
25
26
# File 'lib/softlayer/software/component/antivirus_spyware.rb', line 24

def get_object
  request(:get_object, Softlayer::Software::Component::AntivirusSpyware)
end

#get_password_historyObject



28
29
30
# File 'lib/softlayer/software/component/antivirus_spyware.rb', line 28

def get_password_history
  request(:get_password_history, Array[Softlayer::Software::Component::Password::History])
end

#get_passwordsObject



32
33
34
# File 'lib/softlayer/software/component/antivirus_spyware.rb', line 32

def get_passwords
  request(:get_passwords, Array[Softlayer::Software::Component::Password])
end

#get_software_descriptionObject



36
37
38
# File 'lib/softlayer/software/component/antivirus_spyware.rb', line 36

def get_software_description
  request(:get_software_description, Softlayer::Software::Description)
end

#get_software_licenseObject



40
41
42
# File 'lib/softlayer/software/component/antivirus_spyware.rb', line 40

def get_software_license
  request(:get_software_license, Softlayer::Software::License)
end

#get_vendor_set_up_configurationObject



44
45
46
# File 'lib/softlayer/software/component/antivirus_spyware.rb', line 44

def get_vendor_set_up_configuration
  request(:get_vendor_set_up_configuration, String)
end

#get_virtual_guestObject



48
49
50
# File 'lib/softlayer/software/component/antivirus_spyware.rb', line 48

def get_virtual_guest
  request(:get_virtual_guest, Softlayer::Virtual::Guest)
end

#update_antivirus_spyware_policy(message) ⇒ Object

new_policy enforce



54
55
56
# File 'lib/softlayer/software/component/antivirus_spyware.rb', line 54

def update_antivirus_spyware_policy(message)
  request(:update_antivirus_spyware_policy, Boolean, message)
end