Class: OvirtSDK4::Host
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::Host
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) address
Returns the value of the
address
attribute. -
- (Object) address=(value)
Sets the value of the
address
attribute. -
- (Array<AffinityLabel>) affinity_labels
Returns the value of the
affinity_labels
attribute. -
- (Object) affinity_labels=(list)
Sets the value of the
affinity_labels
attribute. -
- (Array<Agent>) agents
Returns the value of the
agents
attribute. -
- (Object) agents=(list)
Sets the value of the
agents
attribute. -
- (AutoNumaStatus) auto_numa_status
Returns the value of the
auto_numa_status
attribute. -
- (Object) auto_numa_status=(value)
Sets the value of the
auto_numa_status
attribute. -
- (Certificate) certificate
Returns the value of the
certificate
attribute. -
- (Object) certificate=(value)
Sets the value of the
certificate
attribute. -
- (Cluster) cluster
Returns the value of the
cluster
attribute. -
- (Object) cluster=(value)
Sets the value of the
cluster
attribute. -
- (String) comment
Returns the value of the
comment
attribute. -
- (Object) comment=(value)
Sets the value of the
comment
attribute. -
- (Cpu) cpu
Returns the value of the
cpu
attribute. -
- (Object) cpu=(value)
Sets the value of the
cpu
attribute. -
- (String) description
Returns the value of the
description
attribute. -
- (Object) description=(value)
Sets the value of the
description
attribute. -
- (HostDevicePassthrough) device_passthrough
Returns the value of the
device_passthrough
attribute. -
- (Object) device_passthrough=(value)
Sets the value of the
device_passthrough
attribute. -
- (Array<Device>) devices
Returns the value of the
devices
attribute. -
- (Object) devices=(list)
Sets the value of the
devices
attribute. -
- (Display) display
Returns the value of the
display
attribute. -
- (Object) display=(value)
Sets the value of the
display
attribute. -
- (ExternalHostProvider) external_host_provider
Returns the value of the
external_host_provider
attribute. -
- (Object) external_host_provider=(value)
Sets the value of the
external_host_provider
attribute. -
- (ExternalStatus) external_status
Returns the value of the
external_status
attribute. -
- (Object) external_status=(value)
Sets the value of the
external_status
attribute. -
- (HardwareInformation) hardware_information
Returns the value of the
hardware_information
attribute. -
- (Object) hardware_information=(value)
Sets the value of the
hardware_information
attribute. -
- (Array<Hook>) hooks
Returns the value of the
hooks
attribute. -
- (Object) hooks=(list)
Sets the value of the
hooks
attribute. -
- (HostedEngine) hosted_engine
Returns the value of the
hosted_engine
attribute. -
- (Object) hosted_engine=(value)
Sets the value of the
hosted_engine
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (Host) initialize(opts = {})
constructor
Creates a new instance of the Host class.
-
- (IscsiDetails) iscsi
Returns the value of the
iscsi
attribute. -
- (Object) iscsi=(value)
Sets the value of the
iscsi
attribute. -
- (Array<KatelloErratum>) katello_errata
Returns the value of the
katello_errata
attribute. -
- (Object) katello_errata=(list)
Sets the value of the
katello_errata
attribute. -
- (KdumpStatus) kdump_status
Returns the value of the
kdump_status
attribute. -
- (Object) kdump_status=(value)
Sets the value of the
kdump_status
attribute. -
- (Ksm) ksm
Returns the value of the
ksm
attribute. -
- (Object) ksm=(value)
Sets the value of the
ksm
attribute. -
- (Version) libvirt_version
Returns the value of the
libvirt_version
attribute. -
- (Object) libvirt_version=(value)
Sets the value of the
libvirt_version
attribute. -
- (Integer) max_scheduling_memory
Returns the value of the
max_scheduling_memory
attribute. -
- (Object) max_scheduling_memory=(value)
Sets the value of the
max_scheduling_memory
attribute. -
- (Integer) memory
Returns the value of the
memory
attribute. -
- (Object) memory=(value)
Sets the value of the
memory
attribute. -
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (Array<NetworkAttachment>) network_attachments
Returns the value of the
network_attachments
attribute. -
- (Object) network_attachments=(list)
Sets the value of the
network_attachments
attribute. -
- (Array<Nic>) nics
Returns the value of the
nics
attribute. -
- (Object) nics=(list)
Sets the value of the
nics
attribute. -
- (Array<NumaNode>) numa_nodes
Returns the value of the
numa_nodes
attribute. -
- (Object) numa_nodes=(list)
Sets the value of the
numa_nodes
attribute. -
- (Boolean) numa_supported
Returns the value of the
numa_supported
attribute. -
- (Object) numa_supported=(value)
Sets the value of the
numa_supported
attribute. -
- (OperatingSystem) os
Returns the value of the
os
attribute. -
- (Object) os=(value)
Sets the value of the
os
attribute. -
- (Boolean) override_iptables
Returns the value of the
override_iptables
attribute. -
- (Object) override_iptables=(value)
Sets the value of the
override_iptables
attribute. -
- (Array<Permission>) permissions
Returns the value of the
permissions
attribute. -
- (Object) permissions=(list)
Sets the value of the
permissions
attribute. -
- (Integer) port
Returns the value of the
port
attribute. -
- (Object) port=(value)
Sets the value of the
port
attribute. -
- (PowerManagement) power_management
Returns the value of the
power_management
attribute. -
- (Object) power_management=(value)
Sets the value of the
power_management
attribute. -
- (HostProtocol) protocol
Returns the value of the
protocol
attribute. -
- (Object) protocol=(value)
Sets the value of the
protocol
attribute. -
- (String) root_password
Returns the value of the
root_password
attribute. -
- (Object) root_password=(value)
Sets the value of the
root_password
attribute. -
- (SeLinux) se_linux
Returns the value of the
se_linux
attribute. -
- (Object) se_linux=(value)
Sets the value of the
se_linux
attribute. -
- (Spm) spm
Returns the value of the
spm
attribute. -
- (Object) spm=(value)
Sets the value of the
spm
attribute. -
- (Ssh) ssh
Returns the value of the
ssh
attribute. -
- (Object) ssh=(value)
Sets the value of the
ssh
attribute. -
- (Array<Statistic>) statistics
Returns the value of the
statistics
attribute. -
- (Object) statistics=(list)
Sets the value of the
statistics
attribute. -
- (HostStatus) status
Returns the value of the
status
attribute. -
- (Object) status=(value)
Sets the value of the
status
attribute. -
- (String) status_detail
Returns the value of the
status_detail
attribute. -
- (Object) status_detail=(value)
Sets the value of the
status_detail
attribute. -
- (Array<StorageConnectionExtension>) storage_connection_extensions
Returns the value of the
storage_connection_extensions
attribute. -
- (Object) storage_connection_extensions=(list)
Sets the value of the
storage_connection_extensions
attribute. -
- (Array<HostStorage>) storages
Returns the value of the
storages
attribute. -
- (Object) storages=(list)
Sets the value of the
storages
attribute. -
- (VmSummary) summary
Returns the value of the
summary
attribute. -
- (Object) summary=(value)
Sets the value of the
summary
attribute. -
- (Array<Tag>) tags
Returns the value of the
tags
attribute. -
- (Object) tags=(list)
Sets the value of the
tags
attribute. -
- (TransparentHugePages) transparent_huge_pages
Returns the value of the
transparent_huge_pages
attribute. -
- (Object) transparent_huge_pages=(value)
Sets the value of the
transparent_huge_pages
attribute. -
- (HostType) type
Returns the value of the
type
attribute. -
- (Object) type=(value)
Sets the value of the
type
attribute. -
- (Array<UnmanagedNetwork>) unmanaged_networks
Returns the value of the
unmanaged_networks
attribute. -
- (Object) unmanaged_networks=(list)
Sets the value of the
unmanaged_networks
attribute. -
- (Boolean) update_available
Returns the value of the
update_available
attribute. -
- (Object) update_available=(value)
Sets the value of the
update_available
attribute. -
- (Version) version
Returns the value of the
version
attribute. -
- (Object) version=(value)
Sets the value of the
version
attribute.
Methods included from Type
Constructor Details
- (Host) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Host class.
33683 33684 33685 33686 33687 33688 33689 33690 33691 33692 33693 33694 33695 33696 33697 33698 33699 33700 33701 33702 33703 33704 33705 33706 33707 33708 33709 33710 33711 33712 33713 33714 33715 33716 33717 33718 33719 33720 33721 33722 33723 33724 33725 33726 33727 33728 33729 33730 33731 33732 33733 33734 33735 33736 33737 |
# File 'lib/ovirtsdk4/types.rb', line 33683 def initialize(opts = {}) super(opts) self.address = opts[:address] self.affinity_labels = opts[:affinity_labels] self.agents = opts[:agents] self.auto_numa_status = opts[:auto_numa_status] self.certificate = opts[:certificate] self.cluster = opts[:cluster] self.comment = opts[:comment] self.cpu = opts[:cpu] self.description = opts[:description] self.device_passthrough = opts[:device_passthrough] self.devices = opts[:devices] self.display = opts[:display] self.external_host_provider = opts[:external_host_provider] self.external_status = opts[:external_status] self.hardware_information = opts[:hardware_information] self.hooks = opts[:hooks] self.hosted_engine = opts[:hosted_engine] self.id = opts[:id] self.iscsi = opts[:iscsi] self.katello_errata = opts[:katello_errata] self.kdump_status = opts[:kdump_status] self.ksm = opts[:ksm] self.libvirt_version = opts[:libvirt_version] self.max_scheduling_memory = opts[:max_scheduling_memory] self.memory = opts[:memory] self.name = opts[:name] self. = opts[:network_attachments] self.nics = opts[:nics] self.numa_nodes = opts[:numa_nodes] self.numa_supported = opts[:numa_supported] self.os = opts[:os] self.override_iptables = opts[:override_iptables] self. = opts[:permissions] self.port = opts[:port] self.power_management = opts[:power_management] self.protocol = opts[:protocol] self.root_password = opts[:root_password] self.se_linux = opts[:se_linux] self.spm = opts[:spm] self.ssh = opts[:ssh] self.statistics = opts[:statistics] self.status = opts[:status] self.status_detail = opts[:status_detail] self.storage_connection_extensions = opts[:storage_connection_extensions] self.storages = opts[:storages] self.summary = opts[:summary] self. = opts[:tags] self.transparent_huge_pages = opts[:transparent_huge_pages] self.type = opts[:type] self.unmanaged_networks = opts[:unmanaged_networks] self.update_available = opts[:update_available] self.version = opts[:version] end |
Instance Method Details
- (String) address
Returns the value of the address
attribute.
32409 32410 32411 |
# File 'lib/ovirtsdk4/types.rb', line 32409 def address return @address end |
- (Object) address=(value)
Sets the value of the address
attribute.
32418 32419 32420 |
# File 'lib/ovirtsdk4/types.rb', line 32418 def address=(value) @address = value end |
- (Array<AffinityLabel>) affinity_labels
Returns the value of the affinity_labels
attribute.
32427 32428 32429 |
# File 'lib/ovirtsdk4/types.rb', line 32427 def affinity_labels return @affinity_labels end |
- (Object) affinity_labels=(list)
Sets the value of the affinity_labels
attribute.
32435 32436 32437 32438 32439 32440 32441 32442 32443 32444 32445 |
# File 'lib/ovirtsdk4/types.rb', line 32435 def affinity_labels=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = AffinityLabel.new(value) end end end @affinity_labels = list end |
- (Array<Agent>) agents
Returns the value of the agents
attribute.
32452 32453 32454 |
# File 'lib/ovirtsdk4/types.rb', line 32452 def agents return @agents end |
- (Object) agents=(list)
Sets the value of the agents
attribute.
32460 32461 32462 32463 32464 32465 32466 32467 32468 32469 32470 |
# File 'lib/ovirtsdk4/types.rb', line 32460 def agents=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Agent.new(value) end end end @agents = list end |
- (AutoNumaStatus) auto_numa_status
Returns the value of the auto_numa_status
attribute.
32477 32478 32479 |
# File 'lib/ovirtsdk4/types.rb', line 32477 def auto_numa_status return @auto_numa_status end |
- (Object) auto_numa_status=(value)
Sets the value of the auto_numa_status
attribute.
32486 32487 32488 |
# File 'lib/ovirtsdk4/types.rb', line 32486 def auto_numa_status=(value) @auto_numa_status = value end |
- (Certificate) certificate
Returns the value of the certificate
attribute.
32495 32496 32497 |
# File 'lib/ovirtsdk4/types.rb', line 32495 def certificate return @certificate end |
- (Object) certificate=(value)
Sets the value of the certificate
attribute.
The value
parameter can be an instance of Certificate or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
32508 32509 32510 32511 32512 32513 |
# File 'lib/ovirtsdk4/types.rb', line 32508 def certificate=(value) if value.is_a?(Hash) value = Certificate.new(value) end @certificate = value end |
- (Cluster) cluster
Returns the value of the cluster
attribute.
32520 32521 32522 |
# File 'lib/ovirtsdk4/types.rb', line 32520 def cluster return @cluster end |
- (Object) cluster=(value)
Sets the value of the cluster
attribute.
The value
parameter can be an instance of Cluster or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
32533 32534 32535 32536 32537 32538 |
# File 'lib/ovirtsdk4/types.rb', line 32533 def cluster=(value) if value.is_a?(Hash) value = Cluster.new(value) end @cluster = value end |
- (String) comment
Returns the value of the comment
attribute.
32545 32546 32547 |
# File 'lib/ovirtsdk4/types.rb', line 32545 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
32554 32555 32556 |
# File 'lib/ovirtsdk4/types.rb', line 32554 def comment=(value) @comment = value end |
- (Cpu) cpu
Returns the value of the cpu
attribute.
32563 32564 32565 |
# File 'lib/ovirtsdk4/types.rb', line 32563 def cpu return @cpu end |
- (Object) cpu=(value)
Sets the value of the cpu
attribute.
The value
parameter can be an instance of Cpu or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
32576 32577 32578 32579 32580 32581 |
# File 'lib/ovirtsdk4/types.rb', line 32576 def cpu=(value) if value.is_a?(Hash) value = Cpu.new(value) end @cpu = value end |
- (String) description
Returns the value of the description
attribute.
32588 32589 32590 |
# File 'lib/ovirtsdk4/types.rb', line 32588 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
32597 32598 32599 |
# File 'lib/ovirtsdk4/types.rb', line 32597 def description=(value) @description = value end |
- (HostDevicePassthrough) device_passthrough
Returns the value of the device_passthrough
attribute.
32606 32607 32608 |
# File 'lib/ovirtsdk4/types.rb', line 32606 def device_passthrough return @device_passthrough end |
- (Object) device_passthrough=(value)
Sets the value of the device_passthrough
attribute.
The value
parameter can be an instance of OvirtSDK4::HostDevicePassthrough or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
32619 32620 32621 32622 32623 32624 |
# File 'lib/ovirtsdk4/types.rb', line 32619 def device_passthrough=(value) if value.is_a?(Hash) value = HostDevicePassthrough.new(value) end @device_passthrough = value end |
- (Array<Device>) devices
Returns the value of the devices
attribute.
32631 32632 32633 |
# File 'lib/ovirtsdk4/types.rb', line 32631 def devices return @devices end |
- (Object) devices=(list)
Sets the value of the devices
attribute.
32639 32640 32641 32642 32643 32644 32645 32646 32647 32648 32649 |
# File 'lib/ovirtsdk4/types.rb', line 32639 def devices=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Device.new(value) end end end @devices = list end |
- (Display) display
Returns the value of the display
attribute.
32656 32657 32658 |
# File 'lib/ovirtsdk4/types.rb', line 32656 def display return @display end |
- (Object) display=(value)
Sets the value of the display
attribute.
The value
parameter can be an instance of Display or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
32669 32670 32671 32672 32673 32674 |
# File 'lib/ovirtsdk4/types.rb', line 32669 def display=(value) if value.is_a?(Hash) value = Display.new(value) end @display = value end |
- (ExternalHostProvider) external_host_provider
Returns the value of the external_host_provider
attribute.
32681 32682 32683 |
# File 'lib/ovirtsdk4/types.rb', line 32681 def external_host_provider return @external_host_provider end |
- (Object) external_host_provider=(value)
Sets the value of the external_host_provider
attribute.
The value
parameter can be an instance of ExternalHostProvider or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
32694 32695 32696 32697 32698 32699 |
# File 'lib/ovirtsdk4/types.rb', line 32694 def external_host_provider=(value) if value.is_a?(Hash) value = ExternalHostProvider.new(value) end @external_host_provider = value end |
- (ExternalStatus) external_status
Returns the value of the external_status
attribute.
32706 32707 32708 |
# File 'lib/ovirtsdk4/types.rb', line 32706 def external_status return @external_status end |
- (Object) external_status=(value)
Sets the value of the external_status
attribute.
32715 32716 32717 |
# File 'lib/ovirtsdk4/types.rb', line 32715 def external_status=(value) @external_status = value end |
- (HardwareInformation) hardware_information
Returns the value of the hardware_information
attribute.
32724 32725 32726 |
# File 'lib/ovirtsdk4/types.rb', line 32724 def hardware_information return @hardware_information end |
- (Object) hardware_information=(value)
Sets the value of the hardware_information
attribute.
The value
parameter can be an instance of OvirtSDK4::HardwareInformation or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
32737 32738 32739 32740 32741 32742 |
# File 'lib/ovirtsdk4/types.rb', line 32737 def hardware_information=(value) if value.is_a?(Hash) value = HardwareInformation.new(value) end @hardware_information = value end |
- (Array<Hook>) hooks
Returns the value of the hooks
attribute.
32749 32750 32751 |
# File 'lib/ovirtsdk4/types.rb', line 32749 def hooks return @hooks end |
- (Object) hooks=(list)
Sets the value of the hooks
attribute.
32757 32758 32759 32760 32761 32762 32763 32764 32765 32766 32767 |
# File 'lib/ovirtsdk4/types.rb', line 32757 def hooks=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Hook.new(value) end end end @hooks = list end |
- (HostedEngine) hosted_engine
Returns the value of the hosted_engine
attribute.
32774 32775 32776 |
# File 'lib/ovirtsdk4/types.rb', line 32774 def hosted_engine return @hosted_engine end |
- (Object) hosted_engine=(value)
Sets the value of the hosted_engine
attribute.
The value
parameter can be an instance of OvirtSDK4::HostedEngine or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
32787 32788 32789 32790 32791 32792 |
# File 'lib/ovirtsdk4/types.rb', line 32787 def hosted_engine=(value) if value.is_a?(Hash) value = HostedEngine.new(value) end @hosted_engine = value end |
- (String) id
Returns the value of the id
attribute.
32799 32800 32801 |
# File 'lib/ovirtsdk4/types.rb', line 32799 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
32808 32809 32810 |
# File 'lib/ovirtsdk4/types.rb', line 32808 def id=(value) @id = value end |
- (IscsiDetails) iscsi
Returns the value of the iscsi
attribute.
32817 32818 32819 |
# File 'lib/ovirtsdk4/types.rb', line 32817 def iscsi return @iscsi end |
- (Object) iscsi=(value)
Sets the value of the iscsi
attribute.
The value
parameter can be an instance of IscsiDetails or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
32830 32831 32832 32833 32834 32835 |
# File 'lib/ovirtsdk4/types.rb', line 32830 def iscsi=(value) if value.is_a?(Hash) value = IscsiDetails.new(value) end @iscsi = value end |
- (Array<KatelloErratum>) katello_errata
Returns the value of the katello_errata
attribute.
32842 32843 32844 |
# File 'lib/ovirtsdk4/types.rb', line 32842 def katello_errata return @katello_errata end |
- (Object) katello_errata=(list)
Sets the value of the katello_errata
attribute.
32850 32851 32852 32853 32854 32855 32856 32857 32858 32859 32860 |
# File 'lib/ovirtsdk4/types.rb', line 32850 def katello_errata=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = KatelloErratum.new(value) end end end @katello_errata = list end |
- (KdumpStatus) kdump_status
Returns the value of the kdump_status
attribute.
32867 32868 32869 |
# File 'lib/ovirtsdk4/types.rb', line 32867 def kdump_status return @kdump_status end |
- (Object) kdump_status=(value)
Sets the value of the kdump_status
attribute.
32876 32877 32878 |
# File 'lib/ovirtsdk4/types.rb', line 32876 def kdump_status=(value) @kdump_status = value end |
- (Ksm) ksm
Returns the value of the ksm
attribute.
32885 32886 32887 |
# File 'lib/ovirtsdk4/types.rb', line 32885 def ksm return @ksm end |
- (Object) ksm=(value)
Sets the value of the ksm
attribute.
The value
parameter can be an instance of Ksm or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
32898 32899 32900 32901 32902 32903 |
# File 'lib/ovirtsdk4/types.rb', line 32898 def ksm=(value) if value.is_a?(Hash) value = Ksm.new(value) end @ksm = value end |
- (Version) libvirt_version
Returns the value of the libvirt_version
attribute.
32910 32911 32912 |
# File 'lib/ovirtsdk4/types.rb', line 32910 def libvirt_version return @libvirt_version end |
- (Object) libvirt_version=(value)
Sets the value of the libvirt_version
attribute.
The value
parameter can be an instance of Version or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
32923 32924 32925 32926 32927 32928 |
# File 'lib/ovirtsdk4/types.rb', line 32923 def libvirt_version=(value) if value.is_a?(Hash) value = Version.new(value) end @libvirt_version = value end |
- (Integer) max_scheduling_memory
Returns the value of the max_scheduling_memory
attribute.
32935 32936 32937 |
# File 'lib/ovirtsdk4/types.rb', line 32935 def max_scheduling_memory return @max_scheduling_memory end |
- (Object) max_scheduling_memory=(value)
Sets the value of the max_scheduling_memory
attribute.
32944 32945 32946 |
# File 'lib/ovirtsdk4/types.rb', line 32944 def max_scheduling_memory=(value) @max_scheduling_memory = value end |
- (Integer) memory
Returns the value of the memory
attribute.
32953 32954 32955 |
# File 'lib/ovirtsdk4/types.rb', line 32953 def memory return @memory end |
- (Object) memory=(value)
Sets the value of the memory
attribute.
32962 32963 32964 |
# File 'lib/ovirtsdk4/types.rb', line 32962 def memory=(value) @memory = value end |
- (String) name
Returns the value of the name
attribute.
32971 32972 32973 |
# File 'lib/ovirtsdk4/types.rb', line 32971 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
32980 32981 32982 |
# File 'lib/ovirtsdk4/types.rb', line 32980 def name=(value) @name = value end |
- (Array<NetworkAttachment>) network_attachments
Returns the value of the network_attachments
attribute.
32989 32990 32991 |
# File 'lib/ovirtsdk4/types.rb', line 32989 def return @network_attachments end |
- (Object) network_attachments=(list)
Sets the value of the network_attachments
attribute.
32997 32998 32999 33000 33001 33002 33003 33004 33005 33006 33007 |
# File 'lib/ovirtsdk4/types.rb', line 32997 def (list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = NetworkAttachment.new(value) end end end @network_attachments = list end |
- (Array<Nic>) nics
Returns the value of the nics
attribute.
33014 33015 33016 |
# File 'lib/ovirtsdk4/types.rb', line 33014 def nics return @nics end |
- (Object) nics=(list)
Sets the value of the nics
attribute.
33022 33023 33024 33025 33026 33027 33028 33029 33030 33031 33032 |
# File 'lib/ovirtsdk4/types.rb', line 33022 def nics=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Nic.new(value) end end end @nics = list end |
- (Array<NumaNode>) numa_nodes
Returns the value of the numa_nodes
attribute.
33039 33040 33041 |
# File 'lib/ovirtsdk4/types.rb', line 33039 def numa_nodes return @numa_nodes end |
- (Object) numa_nodes=(list)
Sets the value of the numa_nodes
attribute.
33047 33048 33049 33050 33051 33052 33053 33054 33055 33056 33057 |
# File 'lib/ovirtsdk4/types.rb', line 33047 def numa_nodes=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = NumaNode.new(value) end end end @numa_nodes = list end |
- (Boolean) numa_supported
Returns the value of the numa_supported
attribute.
33064 33065 33066 |
# File 'lib/ovirtsdk4/types.rb', line 33064 def numa_supported return @numa_supported end |
- (Object) numa_supported=(value)
Sets the value of the numa_supported
attribute.
33073 33074 33075 |
# File 'lib/ovirtsdk4/types.rb', line 33073 def numa_supported=(value) @numa_supported = value end |
- (OperatingSystem) os
Returns the value of the os
attribute.
33082 33083 33084 |
# File 'lib/ovirtsdk4/types.rb', line 33082 def os return @os end |
- (Object) os=(value)
Sets the value of the os
attribute.
The value
parameter can be an instance of OperatingSystem or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
33095 33096 33097 33098 33099 33100 |
# File 'lib/ovirtsdk4/types.rb', line 33095 def os=(value) if value.is_a?(Hash) value = OperatingSystem.new(value) end @os = value end |
- (Boolean) override_iptables
Returns the value of the override_iptables
attribute.
33107 33108 33109 |
# File 'lib/ovirtsdk4/types.rb', line 33107 def override_iptables return @override_iptables end |
- (Object) override_iptables=(value)
Sets the value of the override_iptables
attribute.
33116 33117 33118 |
# File 'lib/ovirtsdk4/types.rb', line 33116 def override_iptables=(value) @override_iptables = value end |
- (Array<Permission>) permissions
Returns the value of the permissions
attribute.
33125 33126 33127 |
# File 'lib/ovirtsdk4/types.rb', line 33125 def return @permissions end |
- (Object) permissions=(list)
Sets the value of the permissions
attribute.
33133 33134 33135 33136 33137 33138 33139 33140 33141 33142 33143 |
# File 'lib/ovirtsdk4/types.rb', line 33133 def (list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Permission.new(value) end end end @permissions = list end |
- (Integer) port
Returns the value of the port
attribute.
33150 33151 33152 |
# File 'lib/ovirtsdk4/types.rb', line 33150 def port return @port end |
- (Object) port=(value)
Sets the value of the port
attribute.
33159 33160 33161 |
# File 'lib/ovirtsdk4/types.rb', line 33159 def port=(value) @port = value end |
- (PowerManagement) power_management
Returns the value of the power_management
attribute.
33168 33169 33170 |
# File 'lib/ovirtsdk4/types.rb', line 33168 def power_management return @power_management end |
- (Object) power_management=(value)
Sets the value of the power_management
attribute.
The value
parameter can be an instance of PowerManagement or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
33181 33182 33183 33184 33185 33186 |
# File 'lib/ovirtsdk4/types.rb', line 33181 def power_management=(value) if value.is_a?(Hash) value = PowerManagement.new(value) end @power_management = value end |
- (HostProtocol) protocol
Returns the value of the protocol
attribute.
33193 33194 33195 |
# File 'lib/ovirtsdk4/types.rb', line 33193 def protocol return @protocol end |
- (Object) protocol=(value)
Sets the value of the protocol
attribute.
33202 33203 33204 |
# File 'lib/ovirtsdk4/types.rb', line 33202 def protocol=(value) @protocol = value end |
- (String) root_password
Returns the value of the root_password
attribute.
33211 33212 33213 |
# File 'lib/ovirtsdk4/types.rb', line 33211 def root_password return @root_password end |
- (Object) root_password=(value)
Sets the value of the root_password
attribute.
33220 33221 33222 |
# File 'lib/ovirtsdk4/types.rb', line 33220 def root_password=(value) @root_password = value end |
- (SeLinux) se_linux
Returns the value of the se_linux
attribute.
33229 33230 33231 |
# File 'lib/ovirtsdk4/types.rb', line 33229 def se_linux return @se_linux end |
- (Object) se_linux=(value)
Sets the value of the se_linux
attribute.
The value
parameter can be an instance of SeLinux or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
33242 33243 33244 33245 33246 33247 |
# File 'lib/ovirtsdk4/types.rb', line 33242 def se_linux=(value) if value.is_a?(Hash) value = SeLinux.new(value) end @se_linux = value end |
- (Spm) spm
Returns the value of the spm
attribute.
33254 33255 33256 |
# File 'lib/ovirtsdk4/types.rb', line 33254 def spm return @spm end |
- (Object) spm=(value)
Sets the value of the spm
attribute.
The value
parameter can be an instance of Spm or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
33267 33268 33269 33270 33271 33272 |
# File 'lib/ovirtsdk4/types.rb', line 33267 def spm=(value) if value.is_a?(Hash) value = Spm.new(value) end @spm = value end |
- (Ssh) ssh
Returns the value of the ssh
attribute.
33279 33280 33281 |
# File 'lib/ovirtsdk4/types.rb', line 33279 def ssh return @ssh end |
- (Object) ssh=(value)
Sets the value of the ssh
attribute.
The value
parameter can be an instance of Ssh or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
33292 33293 33294 33295 33296 33297 |
# File 'lib/ovirtsdk4/types.rb', line 33292 def ssh=(value) if value.is_a?(Hash) value = Ssh.new(value) end @ssh = value end |
- (Array<Statistic>) statistics
Returns the value of the statistics
attribute.
33304 33305 33306 |
# File 'lib/ovirtsdk4/types.rb', line 33304 def statistics return @statistics end |
- (Object) statistics=(list)
Sets the value of the statistics
attribute.
33312 33313 33314 33315 33316 33317 33318 33319 33320 33321 33322 |
# File 'lib/ovirtsdk4/types.rb', line 33312 def statistics=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Statistic.new(value) end end end @statistics = list end |
- (HostStatus) status
Returns the value of the status
attribute.
33329 33330 33331 |
# File 'lib/ovirtsdk4/types.rb', line 33329 def status return @status end |
- (Object) status=(value)
Sets the value of the status
attribute.
33338 33339 33340 |
# File 'lib/ovirtsdk4/types.rb', line 33338 def status=(value) @status = value end |
- (String) status_detail
Returns the value of the status_detail
attribute.
33347 33348 33349 |
# File 'lib/ovirtsdk4/types.rb', line 33347 def status_detail return @status_detail end |
- (Object) status_detail=(value)
Sets the value of the status_detail
attribute.
33356 33357 33358 |
# File 'lib/ovirtsdk4/types.rb', line 33356 def status_detail=(value) @status_detail = value end |
- (Array<StorageConnectionExtension>) storage_connection_extensions
Returns the value of the storage_connection_extensions
attribute.
33365 33366 33367 |
# File 'lib/ovirtsdk4/types.rb', line 33365 def storage_connection_extensions return @storage_connection_extensions end |
- (Object) storage_connection_extensions=(list)
Sets the value of the storage_connection_extensions
attribute.
33373 33374 33375 33376 33377 33378 33379 33380 33381 33382 33383 |
# File 'lib/ovirtsdk4/types.rb', line 33373 def storage_connection_extensions=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = StorageConnectionExtension.new(value) end end end @storage_connection_extensions = list end |
- (Array<HostStorage>) storages
Returns the value of the storages
attribute.
33390 33391 33392 |
# File 'lib/ovirtsdk4/types.rb', line 33390 def storages return @storages end |
- (Object) storages=(list)
Sets the value of the storages
attribute.
33398 33399 33400 33401 33402 33403 33404 33405 33406 33407 33408 |
# File 'lib/ovirtsdk4/types.rb', line 33398 def storages=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = HostStorage.new(value) end end end @storages = list end |
- (VmSummary) summary
Returns the value of the summary
attribute.
33415 33416 33417 |
# File 'lib/ovirtsdk4/types.rb', line 33415 def summary return @summary end |
- (Object) summary=(value)
Sets the value of the summary
attribute.
The value
parameter can be an instance of VmSummary or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
33428 33429 33430 33431 33432 33433 |
# File 'lib/ovirtsdk4/types.rb', line 33428 def summary=(value) if value.is_a?(Hash) value = VmSummary.new(value) end @summary = value end |
- (Array<Tag>) tags
Returns the value of the tags
attribute.
33440 33441 33442 |
# File 'lib/ovirtsdk4/types.rb', line 33440 def return @tags end |
- (Object) tags=(list)
Sets the value of the tags
attribute.
33448 33449 33450 33451 33452 33453 33454 33455 33456 33457 33458 |
# File 'lib/ovirtsdk4/types.rb', line 33448 def (list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Tag.new(value) end end end @tags = list end |
- (TransparentHugePages) transparent_huge_pages
Returns the value of the transparent_huge_pages
attribute.
33465 33466 33467 |
# File 'lib/ovirtsdk4/types.rb', line 33465 def transparent_huge_pages return @transparent_huge_pages end |
- (Object) transparent_huge_pages=(value)
Sets the value of the transparent_huge_pages
attribute.
The value
parameter can be an instance of TransparentHugePages or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
33478 33479 33480 33481 33482 33483 |
# File 'lib/ovirtsdk4/types.rb', line 33478 def transparent_huge_pages=(value) if value.is_a?(Hash) value = TransparentHugePages.new(value) end @transparent_huge_pages = value end |
- (HostType) type
Returns the value of the type
attribute.
33490 33491 33492 |
# File 'lib/ovirtsdk4/types.rb', line 33490 def type return @type end |
- (Object) type=(value)
Sets the value of the type
attribute.
33499 33500 33501 |
# File 'lib/ovirtsdk4/types.rb', line 33499 def type=(value) @type = value end |
- (Array<UnmanagedNetwork>) unmanaged_networks
Returns the value of the unmanaged_networks
attribute.
33508 33509 33510 |
# File 'lib/ovirtsdk4/types.rb', line 33508 def unmanaged_networks return @unmanaged_networks end |
- (Object) unmanaged_networks=(list)
Sets the value of the unmanaged_networks
attribute.
33516 33517 33518 33519 33520 33521 33522 33523 33524 33525 33526 |
# File 'lib/ovirtsdk4/types.rb', line 33516 def unmanaged_networks=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = UnmanagedNetwork.new(value) end end end @unmanaged_networks = list end |
- (Boolean) update_available
Returns the value of the update_available
attribute.
33533 33534 33535 |
# File 'lib/ovirtsdk4/types.rb', line 33533 def update_available return @update_available end |
- (Object) update_available=(value)
Sets the value of the update_available
attribute.
33542 33543 33544 |
# File 'lib/ovirtsdk4/types.rb', line 33542 def update_available=(value) @update_available = value end |
- (Version) version
Returns the value of the version
attribute.
33551 33552 33553 |
# File 'lib/ovirtsdk4/types.rb', line 33551 def version return @version end |
- (Object) version=(value)
Sets the value of the version
attribute.
The value
parameter can be an instance of Version or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
33564 33565 33566 33567 33568 33569 |
# File 'lib/ovirtsdk4/types.rb', line 33564 def version=(value) if value.is_a?(Hash) value = Version.new(value) end @version = value end |