Class: OvirtSDK4::Action
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::Action
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary collapse
-
#==(other) ⇒ Object
Returns
true
ifself
andother
have the same attributes and values. -
#activate ⇒ Boolean
Returns the value of the
activate
attribute. -
#activate=(value) ⇒ Object
Sets the value of the
activate
attribute. -
#allow_partial_import ⇒ Boolean
Returns the value of the
allow_partial_import
attribute. -
#allow_partial_import=(value) ⇒ Object
Sets the value of the
allow_partial_import
attribute. -
#async ⇒ Boolean
Returns the value of the
async
attribute. -
#async=(value) ⇒ Object
Sets the value of the
async
attribute. -
#attachment ⇒ DiskAttachment
Returns the value of the
attachment
attribute. -
#attachment=(value) ⇒ Object
Sets the value of the
attachment
attribute. -
#authorized_key ⇒ AuthorizedKey
Returns the value of the
authorized_key
attribute. -
#authorized_key=(value) ⇒ Object
Sets the value of the
authorized_key
attribute. -
#auto_pinning_policy ⇒ AutoPinningPolicy
Returns the value of the
auto_pinning_policy
attribute. -
#auto_pinning_policy=(value) ⇒ Object
Sets the value of the
auto_pinning_policy
attribute. -
#bricks ⇒ Array<GlusterBrick>
Returns the value of the
bricks
attribute. -
#bricks=(list) ⇒ Object
Sets the value of the
bricks
attribute. -
#certificates ⇒ Array<Certificate>
Returns the value of the
certificates
attribute. -
#certificates=(list) ⇒ Object
Sets the value of the
certificates
attribute. -
#check_connectivity ⇒ Boolean
Returns the value of the
check_connectivity
attribute. -
#check_connectivity=(value) ⇒ Object
Sets the value of the
check_connectivity
attribute. -
#clone ⇒ Boolean
Returns the value of the
clone
attribute. -
#clone=(value) ⇒ Object
Sets the value of the
clone
attribute. -
#clone_permissions ⇒ Boolean
Returns the value of the
clone_permissions
attribute. -
#clone_permissions=(value) ⇒ Object
Sets the value of the
clone_permissions
attribute. -
#cluster ⇒ Cluster
Returns the value of the
cluster
attribute. -
#cluster=(value) ⇒ Object
Sets the value of the
cluster
attribute. -
#collapse_snapshots ⇒ Boolean
Returns the value of the
collapse_snapshots
attribute. -
#collapse_snapshots=(value) ⇒ Object
Sets the value of the
collapse_snapshots
attribute. -
#comment ⇒ String
Returns the value of the
comment
attribute. -
#comment=(value) ⇒ Object
Sets the value of the
comment
attribute. -
#commit_on_success ⇒ Boolean
Returns the value of the
commit_on_success
attribute. -
#commit_on_success=(value) ⇒ Object
Sets the value of the
commit_on_success
attribute. -
#connection ⇒ StorageConnection
Returns the value of the
connection
attribute. -
#connection=(value) ⇒ Object
Sets the value of the
connection
attribute. -
#connectivity_timeout ⇒ Integer
Returns the value of the
connectivity_timeout
attribute. -
#connectivity_timeout=(value) ⇒ Object
Sets the value of the
connectivity_timeout
attribute. -
#correlation_id ⇒ String
Returns the value of the
correlation_id
attribute. -
#correlation_id=(value) ⇒ Object
Sets the value of the
correlation_id
attribute. -
#data_center ⇒ DataCenter
Returns the value of the
data_center
attribute. -
#data_center=(value) ⇒ Object
Sets the value of the
data_center
attribute. -
#deploy_hosted_engine ⇒ Boolean
Returns the value of the
deploy_hosted_engine
attribute. -
#deploy_hosted_engine=(value) ⇒ Object
Sets the value of the
deploy_hosted_engine
attribute. -
#description ⇒ String
Returns the value of the
description
attribute. -
#description=(value) ⇒ Object
Sets the value of the
description
attribute. -
#details ⇒ GlusterVolumeProfileDetails
Returns the value of the
details
attribute. -
#details=(value) ⇒ Object
Sets the value of the
details
attribute. -
#directory ⇒ String
Returns the value of the
directory
attribute. -
#directory=(value) ⇒ Object
Sets the value of the
directory
attribute. -
#discard_snapshots ⇒ Boolean
Returns the value of the
discard_snapshots
attribute. -
#discard_snapshots=(value) ⇒ Object
Sets the value of the
discard_snapshots
attribute. -
#discovered_targets ⇒ Array<IscsiDetails>
Returns the value of the
discovered_targets
attribute. -
#discovered_targets=(list) ⇒ Object
Sets the value of the
discovered_targets
attribute. -
#disk ⇒ Disk
Returns the value of the
disk
attribute. -
#disk=(value) ⇒ Object
Sets the value of the
disk
attribute. -
#disk_profile ⇒ DiskProfile
Returns the value of the
disk_profile
attribute. -
#disk_profile=(value) ⇒ Object
Sets the value of the
disk_profile
attribute. -
#disks ⇒ Array<Disk>
Returns the value of the
disks
attribute. -
#disks=(list) ⇒ Object
Sets the value of the
disks
attribute. -
#exclusive ⇒ Boolean
Returns the value of the
exclusive
attribute. -
#exclusive=(value) ⇒ Object
Sets the value of the
exclusive
attribute. -
#fault ⇒ Fault
Returns the value of the
fault
attribute. -
#fault=(value) ⇒ Object
Sets the value of the
fault
attribute. -
#fence_type ⇒ String
Returns the value of the
fence_type
attribute. -
#fence_type=(value) ⇒ Object
Sets the value of the
fence_type
attribute. -
#filename ⇒ String
Returns the value of the
filename
attribute. -
#filename=(value) ⇒ Object
Sets the value of the
filename
attribute. -
#filter ⇒ Boolean
Returns the value of the
filter
attribute. -
#filter=(value) ⇒ Object
Sets the value of the
filter
attribute. -
#fix_layout ⇒ Boolean
Returns the value of the
fix_layout
attribute. -
#fix_layout=(value) ⇒ Object
Sets the value of the
fix_layout
attribute. -
#follow ⇒ String
Returns the value of the
follow
attribute. -
#follow=(value) ⇒ Object
Sets the value of the
follow
attribute. -
#force ⇒ Boolean
Returns the value of the
force
attribute. -
#force=(value) ⇒ Object
Sets the value of the
force
attribute. -
#grace_period ⇒ GracePeriod
Returns the value of the
grace_period
attribute. -
#grace_period=(value) ⇒ Object
Sets the value of the
grace_period
attribute. -
#hash ⇒ Object
Generates a hash value for this object.
-
#host ⇒ Host
Returns the value of the
host
attribute. -
#host=(value) ⇒ Object
Sets the value of the
host
attribute. -
#id ⇒ String
Returns the value of the
id
attribute. -
#id=(value) ⇒ Object
Sets the value of the
id
attribute. -
#image ⇒ String
Returns the value of the
image
attribute. -
#image=(value) ⇒ Object
Sets the value of the
image
attribute. -
#image_transfer ⇒ ImageTransfer
Returns the value of the
image_transfer
attribute. -
#image_transfer=(value) ⇒ Object
Sets the value of the
image_transfer
attribute. -
#import_as_template ⇒ Boolean
Returns the value of the
import_as_template
attribute. -
#import_as_template=(value) ⇒ Object
Sets the value of the
import_as_template
attribute. -
#initialize(opts = {}) ⇒ Action
constructor
Creates a new instance of the Action class.
-
#is_attached ⇒ Boolean
Returns the value of the
is_attached
attribute. -
#is_attached=(value) ⇒ Object
Sets the value of the
is_attached
attribute. -
#iscsi ⇒ IscsiDetails
Returns the value of the
iscsi
attribute. -
#iscsi=(value) ⇒ Object
Sets the value of the
iscsi
attribute. -
#iscsi_targets ⇒ Array<String>
Returns the value of the
iscsi_targets
attribute. -
#iscsi_targets=(list) ⇒ Object
Sets the value of the
iscsi_targets
attribute. -
#job ⇒ Job
Returns the value of the
job
attribute. -
#job=(value) ⇒ Object
Sets the value of the
job
attribute. -
#lease ⇒ StorageDomainLease
Returns the value of the
lease
attribute. -
#lease=(value) ⇒ Object
Sets the value of the
lease
attribute. -
#logical_units ⇒ Array<LogicalUnit>
Returns the value of the
logical_units
attribute. -
#logical_units=(list) ⇒ Object
Sets the value of the
logical_units
attribute. -
#maintenance_after_restart ⇒ Boolean
Returns the value of the
maintenance_after_restart
attribute. -
#maintenance_after_restart=(value) ⇒ Object
Sets the value of the
maintenance_after_restart
attribute. -
#maintenance_enabled ⇒ Boolean
Returns the value of the
maintenance_enabled
attribute. -
#maintenance_enabled=(value) ⇒ Object
Sets the value of the
maintenance_enabled
attribute. -
#migrate_vms_in_affinity_closure ⇒ Boolean
Returns the value of the
migrate_vms_in_affinity_closure
attribute. -
#migrate_vms_in_affinity_closure=(value) ⇒ Object
Sets the value of the
migrate_vms_in_affinity_closure
attribute. -
#modified_bonds ⇒ Array<HostNic>
Returns the value of the
modified_bonds
attribute. -
#modified_bonds=(list) ⇒ Object
Sets the value of the
modified_bonds
attribute. -
#modified_labels ⇒ Array<NetworkLabel>
Returns the value of the
modified_labels
attribute. -
#modified_labels=(list) ⇒ Object
Sets the value of the
modified_labels
attribute. -
#modified_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the
modified_network_attachments
attribute. -
#modified_network_attachments=(list) ⇒ Object
Sets the value of the
modified_network_attachments
attribute. -
#name ⇒ String
Returns the value of the
name
attribute. -
#name=(value) ⇒ Object
Sets the value of the
name
attribute. -
#optimize_cpu_settings ⇒ Boolean
Returns the value of the
optimize_cpu_settings
attribute. -
#optimize_cpu_settings=(value) ⇒ Object
Sets the value of the
optimize_cpu_settings
attribute. -
#option ⇒ Option
Returns the value of the
option
attribute. -
#option=(value) ⇒ Object
Sets the value of the
option
attribute. -
#pause ⇒ Boolean
Returns the value of the
pause
attribute. -
#pause=(value) ⇒ Object
Sets the value of the
pause
attribute. -
#permission ⇒ Permission
Returns the value of the
permission
attribute. -
#permission=(value) ⇒ Object
Sets the value of the
permission
attribute. -
#power_management ⇒ PowerManagement
Returns the value of the
power_management
attribute. -
#power_management=(value) ⇒ Object
Sets the value of the
power_management
attribute. -
#proxy_ticket ⇒ ProxyTicket
Returns the value of the
proxy_ticket
attribute. -
#proxy_ticket=(value) ⇒ Object
Sets the value of the
proxy_ticket
attribute. -
#quota ⇒ Quota
Returns the value of the
quota
attribute. -
#quota=(value) ⇒ Object
Sets the value of the
quota
attribute. -
#reason ⇒ String
Returns the value of the
reason
attribute. -
#reason=(value) ⇒ Object
Sets the value of the
reason
attribute. -
#reassign_bad_macs ⇒ Boolean
Returns the value of the
reassign_bad_macs
attribute. -
#reassign_bad_macs=(value) ⇒ Object
Sets the value of the
reassign_bad_macs
attribute. -
#reboot ⇒ Boolean
Returns the value of the
reboot
attribute. -
#reboot=(value) ⇒ Object
Sets the value of the
reboot
attribute. -
#registration_configuration ⇒ RegistrationConfiguration
Returns the value of the
registration_configuration
attribute. -
#registration_configuration=(value) ⇒ Object
Sets the value of the
registration_configuration
attribute. -
#remote_viewer_connection_file ⇒ String
Returns the value of the
remote_viewer_connection_file
attribute. -
#remote_viewer_connection_file=(value) ⇒ Object
Sets the value of the
remote_viewer_connection_file
attribute. -
#removed_bonds ⇒ Array<HostNic>
Returns the value of the
removed_bonds
attribute. -
#removed_bonds=(list) ⇒ Object
Sets the value of the
removed_bonds
attribute. -
#removed_labels ⇒ Array<NetworkLabel>
Returns the value of the
removed_labels
attribute. -
#removed_labels=(list) ⇒ Object
Sets the value of the
removed_labels
attribute. -
#removed_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the
removed_network_attachments
attribute. -
#removed_network_attachments=(list) ⇒ Object
Sets the value of the
removed_network_attachments
attribute. -
#resolution_type ⇒ String
Returns the value of the
resolution_type
attribute. -
#resolution_type=(value) ⇒ Object
Sets the value of the
resolution_type
attribute. -
#restore_memory ⇒ Boolean
Returns the value of the
restore_memory
attribute. -
#restore_memory=(value) ⇒ Object
Sets the value of the
restore_memory
attribute. -
#root_password ⇒ String
Returns the value of the
root_password
attribute. -
#root_password=(value) ⇒ Object
Sets the value of the
root_password
attribute. -
#seal ⇒ Boolean
Returns the value of the
seal
attribute. -
#seal=(value) ⇒ Object
Sets the value of the
seal
attribute. -
#snapshot ⇒ Snapshot
Returns the value of the
snapshot
attribute. -
#snapshot=(value) ⇒ Object
Sets the value of the
snapshot
attribute. -
#source_host ⇒ Host
Returns the value of the
source_host
attribute. -
#source_host=(value) ⇒ Object
Sets the value of the
source_host
attribute. -
#ssh ⇒ Ssh
Returns the value of the
ssh
attribute. -
#ssh=(value) ⇒ Object
Sets the value of the
ssh
attribute. -
#status ⇒ String
Returns the value of the
status
attribute. -
#status=(value) ⇒ Object
Sets the value of the
status
attribute. -
#stop_gluster_service ⇒ Boolean
Returns the value of the
stop_gluster_service
attribute. -
#stop_gluster_service=(value) ⇒ Object
Sets the value of the
stop_gluster_service
attribute. -
#storage_domain ⇒ StorageDomain
Returns the value of the
storage_domain
attribute. -
#storage_domain=(value) ⇒ Object
Sets the value of the
storage_domain
attribute. -
#storage_domains ⇒ Array<StorageDomain>
Returns the value of the
storage_domains
attribute. -
#storage_domains=(list) ⇒ Object
Sets the value of the
storage_domains
attribute. -
#succeeded ⇒ Boolean
Returns the value of the
succeeded
attribute. -
#succeeded=(value) ⇒ Object
Sets the value of the
succeeded
attribute. -
#synchronized_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the
synchronized_network_attachments
attribute. -
#synchronized_network_attachments=(list) ⇒ Object
Sets the value of the
synchronized_network_attachments
attribute. -
#template ⇒ Template
Returns the value of the
template
attribute. -
#template=(value) ⇒ Object
Sets the value of the
template
attribute. -
#ticket ⇒ Ticket
Returns the value of the
ticket
attribute. -
#ticket=(value) ⇒ Object
Sets the value of the
ticket
attribute. -
#timeout ⇒ Integer
Returns the value of the
timeout
attribute. -
#timeout=(value) ⇒ Object
Sets the value of the
timeout
attribute. -
#undeploy_hosted_engine ⇒ Boolean
Returns the value of the
undeploy_hosted_engine
attribute. -
#undeploy_hosted_engine=(value) ⇒ Object
Sets the value of the
undeploy_hosted_engine
attribute. -
#upgrade_action ⇒ ClusterUpgradeAction
Returns the value of the
upgrade_action
attribute. -
#upgrade_action=(value) ⇒ Object
Sets the value of the
upgrade_action
attribute. -
#upgrade_percent_complete ⇒ Integer
Returns the value of the
upgrade_percent_complete
attribute. -
#upgrade_percent_complete=(value) ⇒ Object
Sets the value of the
upgrade_percent_complete
attribute. -
#use_cloud_init ⇒ Boolean
Returns the value of the
use_cloud_init
attribute. -
#use_cloud_init=(value) ⇒ Object
Sets the value of the
use_cloud_init
attribute. -
#use_ignition ⇒ Boolean
Returns the value of the
use_ignition
attribute. -
#use_ignition=(value) ⇒ Object
Sets the value of the
use_ignition
attribute. -
#use_initialization ⇒ Boolean
Returns the value of the
use_initialization
attribute. -
#use_initialization=(value) ⇒ Object
Sets the value of the
use_initialization
attribute. -
#use_sysprep ⇒ Boolean
Returns the value of the
use_sysprep
attribute. -
#use_sysprep=(value) ⇒ Object
Sets the value of the
use_sysprep
attribute. -
#virtual_functions_configuration ⇒ HostNicVirtualFunctionsConfiguration
Returns the value of the
virtual_functions_configuration
attribute. -
#virtual_functions_configuration=(value) ⇒ Object
Sets the value of the
virtual_functions_configuration
attribute. -
#vm ⇒ Vm
Returns the value of the
vm
attribute. -
#vm=(value) ⇒ Object
Sets the value of the
vm
attribute. -
#vnic_profile_mappings ⇒ Array<VnicProfileMapping>
Returns the value of the
vnic_profile_mappings
attribute. -
#vnic_profile_mappings=(list) ⇒ Object
Sets the value of the
vnic_profile_mappings
attribute. -
#volatile ⇒ Boolean
Returns the value of the
volatile
attribute. -
#volatile=(value) ⇒ Object
Sets the value of the
volatile
attribute.
Methods included from Type
Constructor Details
#initialize(opts = {}) ⇒ Action
Creates a new instance of the OvirtSDK4::Action class.
30719 30720 30721 30722 30723 30724 30725 30726 30727 30728 30729 30730 30731 30732 30733 30734 30735 30736 30737 30738 30739 30740 30741 30742 30743 30744 30745 30746 30747 30748 30749 30750 30751 30752 30753 30754 30755 30756 30757 30758 30759 30760 30761 30762 30763 30764 30765 30766 30767 30768 30769 30770 30771 30772 30773 30774 30775 30776 30777 30778 30779 30780 30781 30782 30783 30784 30785 30786 30787 30788 30789 30790 30791 30792 30793 30794 30795 30796 30797 30798 30799 30800 30801 30802 30803 30804 30805 30806 30807 30808 30809 30810 30811 30812 30813 30814 |
# File 'lib/ovirtsdk4/types.rb', line 30719 def initialize(opts = {}) super(opts) self.activate = opts[:activate] self.allow_partial_import = opts[:allow_partial_import] self.async = opts[:async] self. = opts[:attachment] self. = opts[:authorized_key] self.auto_pinning_policy = opts[:auto_pinning_policy] self.bricks = opts[:bricks] self.certificates = opts[:certificates] self.check_connectivity = opts[:check_connectivity] self.clone = opts[:clone] self. = opts[:clone_permissions] self.cluster = opts[:cluster] self.collapse_snapshots = opts[:collapse_snapshots] self.commit_on_success = opts[:commit_on_success] self.connection = opts[:connection] self.connectivity_timeout = opts[:connectivity_timeout] self.correlation_id = opts[:correlation_id] self.data_center = opts[:data_center] self.deploy_hosted_engine = opts[:deploy_hosted_engine] self.details = opts[:details] self.directory = opts[:directory] self.discard_snapshots = opts[:discard_snapshots] self.discovered_targets = opts[:discovered_targets] self.disk = opts[:disk] self.disk_profile = opts[:disk_profile] self.disks = opts[:disks] self.exclusive = opts[:exclusive] self.fault = opts[:fault] self.fence_type = opts[:fence_type] self.filename = opts[:filename] self.filter = opts[:filter] self.fix_layout = opts[:fix_layout] self.follow = opts[:follow] self.force = opts[:force] self.grace_period = opts[:grace_period] self.host = opts[:host] self.image = opts[:image] self.image_transfer = opts[:image_transfer] self.import_as_template = opts[:import_as_template] self.is_attached = opts[:is_attached] self.iscsi = opts[:iscsi] self.iscsi_targets = opts[:iscsi_targets] self.job = opts[:job] self.lease = opts[:lease] self.logical_units = opts[:logical_units] self.maintenance_after_restart = opts[:maintenance_after_restart] self.maintenance_enabled = opts[:maintenance_enabled] self.migrate_vms_in_affinity_closure = opts[:migrate_vms_in_affinity_closure] self.modified_bonds = opts[:modified_bonds] self.modified_labels = opts[:modified_labels] self. = opts[:modified_network_attachments] self.optimize_cpu_settings = opts[:optimize_cpu_settings] self.option = opts[:option] self.pause = opts[:pause] self. = opts[:permission] self.power_management = opts[:power_management] self.proxy_ticket = opts[:proxy_ticket] self.quota = opts[:quota] self.reason = opts[:reason] self.reassign_bad_macs = opts[:reassign_bad_macs] self.reboot = opts[:reboot] self.registration_configuration = opts[:registration_configuration] self.remote_viewer_connection_file = opts[:remote_viewer_connection_file] self.removed_bonds = opts[:removed_bonds] self.removed_labels = opts[:removed_labels] self. = opts[:removed_network_attachments] self.resolution_type = opts[:resolution_type] self.restore_memory = opts[:restore_memory] self.root_password = opts[:root_password] self.seal = opts[:seal] self.snapshot = opts[:snapshot] self.source_host = opts[:source_host] self.ssh = opts[:ssh] self.status = opts[:status] self.stop_gluster_service = opts[:stop_gluster_service] self.storage_domain = opts[:storage_domain] self.storage_domains = opts[:storage_domains] self.succeeded = opts[:succeeded] self. = opts[:synchronized_network_attachments] self.template = opts[:template] self.ticket = opts[:ticket] self.timeout = opts[:timeout] self.undeploy_hosted_engine = opts[:undeploy_hosted_engine] self.upgrade_action = opts[:upgrade_action] self.upgrade_percent_complete = opts[:upgrade_percent_complete] self.use_cloud_init = opts[:use_cloud_init] self.use_ignition = opts[:use_ignition] self.use_initialization = opts[:use_initialization] self.use_sysprep = opts[:use_sysprep] self.virtual_functions_configuration = opts[:virtual_functions_configuration] self.vm = opts[:vm] self.vnic_profile_mappings = opts[:vnic_profile_mappings] self.volatile = opts[:volatile] end |
Instance Method Details
#==(other) ⇒ Object
Returns true
if self
and other
have the same attributes and values.
30819 30820 30821 30822 30823 30824 30825 30826 30827 30828 30829 30830 30831 30832 30833 30834 30835 30836 30837 30838 30839 30840 30841 30842 30843 30844 30845 30846 30847 30848 30849 30850 30851 30852 30853 30854 30855 30856 30857 30858 30859 30860 30861 30862 30863 30864 30865 30866 30867 30868 30869 30870 30871 30872 30873 30874 30875 30876 30877 30878 30879 30880 30881 30882 30883 30884 30885 30886 30887 30888 30889 30890 30891 30892 30893 30894 30895 30896 30897 30898 30899 30900 30901 30902 30903 30904 30905 30906 30907 30908 30909 30910 30911 30912 30913 30914 |
# File 'lib/ovirtsdk4/types.rb', line 30819 def ==(other) super && @activate == other.activate && @allow_partial_import == other.allow_partial_import && @async == other.async && @attachment == other. && @authorized_key == other. && @auto_pinning_policy == other.auto_pinning_policy && @bricks == other.bricks && @certificates == other.certificates && @check_connectivity == other.check_connectivity && @clone == other.clone && @clone_permissions == other. && @cluster == other.cluster && @collapse_snapshots == other.collapse_snapshots && @commit_on_success == other.commit_on_success && @connection == other.connection && @connectivity_timeout == other.connectivity_timeout && @correlation_id == other.correlation_id && @data_center == other.data_center && @deploy_hosted_engine == other.deploy_hosted_engine && @details == other.details && @directory == other.directory && @discard_snapshots == other.discard_snapshots && @discovered_targets == other.discovered_targets && @disk == other.disk && @disk_profile == other.disk_profile && @disks == other.disks && @exclusive == other.exclusive && @fault == other.fault && @fence_type == other.fence_type && @filename == other.filename && @filter == other.filter && @fix_layout == other.fix_layout && @follow == other.follow && @force == other.force && @grace_period == other.grace_period && @host == other.host && @image == other.image && @image_transfer == other.image_transfer && @import_as_template == other.import_as_template && @is_attached == other.is_attached && @iscsi == other.iscsi && @iscsi_targets == other.iscsi_targets && @job == other.job && @lease == other.lease && @logical_units == other.logical_units && @maintenance_after_restart == other.maintenance_after_restart && @maintenance_enabled == other.maintenance_enabled && @migrate_vms_in_affinity_closure == other.migrate_vms_in_affinity_closure && @modified_bonds == other.modified_bonds && @modified_labels == other.modified_labels && @modified_network_attachments == other. && @optimize_cpu_settings == other.optimize_cpu_settings && @option == other.option && @pause == other.pause && @permission == other. && @power_management == other.power_management && @proxy_ticket == other.proxy_ticket && @quota == other.quota && @reason == other.reason && @reassign_bad_macs == other.reassign_bad_macs && @reboot == other.reboot && @registration_configuration == other.registration_configuration && @remote_viewer_connection_file == other.remote_viewer_connection_file && @removed_bonds == other.removed_bonds && @removed_labels == other.removed_labels && @removed_network_attachments == other. && @resolution_type == other.resolution_type && @restore_memory == other.restore_memory && @root_password == other.root_password && @seal == other.seal && @snapshot == other.snapshot && @source_host == other.source_host && @ssh == other.ssh && @status == other.status && @stop_gluster_service == other.stop_gluster_service && @storage_domain == other.storage_domain && @storage_domains == other.storage_domains && @succeeded == other.succeeded && @synchronized_network_attachments == other. && @template == other.template && @ticket == other.ticket && @timeout == other.timeout && @undeploy_hosted_engine == other.undeploy_hosted_engine && @upgrade_action == other.upgrade_action && @upgrade_percent_complete == other.upgrade_percent_complete && @use_cloud_init == other.use_cloud_init && @use_ignition == other.use_ignition && @use_initialization == other.use_initialization && @use_sysprep == other.use_sysprep && @virtual_functions_configuration == other.virtual_functions_configuration && @vm == other.vm && @vnic_profile_mappings == other.vnic_profile_mappings && @volatile == other.volatile end |
#activate ⇒ Boolean
Returns the value of the activate
attribute.
28461 28462 28463 |
# File 'lib/ovirtsdk4/types.rb', line 28461 def activate @activate end |
#activate=(value) ⇒ Object
Sets the value of the activate
attribute.
28470 28471 28472 |
# File 'lib/ovirtsdk4/types.rb', line 28470 def activate=(value) @activate = value end |
#allow_partial_import ⇒ Boolean
Returns the value of the allow_partial_import
attribute.
28479 28480 28481 |
# File 'lib/ovirtsdk4/types.rb', line 28479 def allow_partial_import @allow_partial_import end |
#allow_partial_import=(value) ⇒ Object
Sets the value of the allow_partial_import
attribute.
28488 28489 28490 |
# File 'lib/ovirtsdk4/types.rb', line 28488 def allow_partial_import=(value) @allow_partial_import = value end |
#async ⇒ Boolean
Returns the value of the async
attribute.
28497 28498 28499 |
# File 'lib/ovirtsdk4/types.rb', line 28497 def async @async end |
#async=(value) ⇒ Object
Sets the value of the async
attribute.
28506 28507 28508 |
# File 'lib/ovirtsdk4/types.rb', line 28506 def async=(value) @async = value end |
#attachment ⇒ DiskAttachment
Returns the value of the attachment
attribute.
28515 28516 28517 |
# File 'lib/ovirtsdk4/types.rb', line 28515 def @attachment end |
#attachment=(value) ⇒ Object
Sets the value of the attachment
attribute.
The value
parameter can be an instance of DiskAttachment 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.
28528 28529 28530 28531 28532 28533 |
# File 'lib/ovirtsdk4/types.rb', line 28528 def (value) if value.is_a?(Hash) value = DiskAttachment.new(value) end @attachment = value end |
#authorized_key ⇒ AuthorizedKey
Returns the value of the authorized_key
attribute.
28540 28541 28542 |
# File 'lib/ovirtsdk4/types.rb', line 28540 def @authorized_key end |
#authorized_key=(value) ⇒ Object
Sets the value of the authorized_key
attribute.
The value
parameter can be an instance of OvirtSDK4::AuthorizedKey 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.
28553 28554 28555 28556 28557 28558 |
# File 'lib/ovirtsdk4/types.rb', line 28553 def (value) if value.is_a?(Hash) value = AuthorizedKey.new(value) end @authorized_key = value end |
#auto_pinning_policy ⇒ AutoPinningPolicy
Returns the value of the auto_pinning_policy
attribute.
28565 28566 28567 |
# File 'lib/ovirtsdk4/types.rb', line 28565 def auto_pinning_policy @auto_pinning_policy end |
#auto_pinning_policy=(value) ⇒ Object
Sets the value of the auto_pinning_policy
attribute.
28574 28575 28576 |
# File 'lib/ovirtsdk4/types.rb', line 28574 def auto_pinning_policy=(value) @auto_pinning_policy = value end |
#bricks ⇒ Array<GlusterBrick>
Returns the value of the bricks
attribute.
28583 28584 28585 |
# File 'lib/ovirtsdk4/types.rb', line 28583 def bricks @bricks end |
#bricks=(list) ⇒ Object
Sets the value of the bricks
attribute.
28592 28593 28594 28595 28596 28597 28598 28599 28600 28601 28602 |
# File 'lib/ovirtsdk4/types.rb', line 28592 def bricks=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = GlusterBrick.new(value) end end end @bricks = list end |
#certificates ⇒ Array<Certificate>
Returns the value of the certificates
attribute.
28609 28610 28611 |
# File 'lib/ovirtsdk4/types.rb', line 28609 def certificates @certificates end |
#certificates=(list) ⇒ Object
Sets the value of the certificates
attribute.
28618 28619 28620 28621 28622 28623 28624 28625 28626 28627 28628 |
# File 'lib/ovirtsdk4/types.rb', line 28618 def certificates=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Certificate.new(value) end end end @certificates = list end |
#check_connectivity ⇒ Boolean
Returns the value of the check_connectivity
attribute.
28635 28636 28637 |
# File 'lib/ovirtsdk4/types.rb', line 28635 def check_connectivity @check_connectivity end |
#check_connectivity=(value) ⇒ Object
Sets the value of the check_connectivity
attribute.
28644 28645 28646 |
# File 'lib/ovirtsdk4/types.rb', line 28644 def check_connectivity=(value) @check_connectivity = value end |
#clone ⇒ Boolean
Returns the value of the clone
attribute.
28653 28654 28655 |
# File 'lib/ovirtsdk4/types.rb', line 28653 def clone @clone end |
#clone=(value) ⇒ Object
Sets the value of the clone
attribute.
28662 28663 28664 |
# File 'lib/ovirtsdk4/types.rb', line 28662 def clone=(value) @clone = value end |
#clone_permissions ⇒ Boolean
Returns the value of the clone_permissions
attribute.
28671 28672 28673 |
# File 'lib/ovirtsdk4/types.rb', line 28671 def @clone_permissions end |
#clone_permissions=(value) ⇒ Object
Sets the value of the clone_permissions
attribute.
28680 28681 28682 |
# File 'lib/ovirtsdk4/types.rb', line 28680 def (value) @clone_permissions = value end |
#cluster ⇒ Cluster
Returns the value of the cluster
attribute.
28689 28690 28691 |
# File 'lib/ovirtsdk4/types.rb', line 28689 def cluster @cluster end |
#cluster=(value) ⇒ Object
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.
28702 28703 28704 28705 28706 28707 |
# File 'lib/ovirtsdk4/types.rb', line 28702 def cluster=(value) if value.is_a?(Hash) value = Cluster.new(value) end @cluster = value end |
#collapse_snapshots ⇒ Boolean
Returns the value of the collapse_snapshots
attribute.
28714 28715 28716 |
# File 'lib/ovirtsdk4/types.rb', line 28714 def collapse_snapshots @collapse_snapshots end |
#collapse_snapshots=(value) ⇒ Object
Sets the value of the collapse_snapshots
attribute.
28723 28724 28725 |
# File 'lib/ovirtsdk4/types.rb', line 28723 def collapse_snapshots=(value) @collapse_snapshots = value end |
#comment ⇒ String
Returns the value of the comment
attribute.
28732 28733 28734 |
# File 'lib/ovirtsdk4/types.rb', line 28732 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment
attribute.
28741 28742 28743 |
# File 'lib/ovirtsdk4/types.rb', line 28741 def comment=(value) @comment = value end |
#commit_on_success ⇒ Boolean
Returns the value of the commit_on_success
attribute.
28750 28751 28752 |
# File 'lib/ovirtsdk4/types.rb', line 28750 def commit_on_success @commit_on_success end |
#commit_on_success=(value) ⇒ Object
Sets the value of the commit_on_success
attribute.
28759 28760 28761 |
# File 'lib/ovirtsdk4/types.rb', line 28759 def commit_on_success=(value) @commit_on_success = value end |
#connection ⇒ StorageConnection
Returns the value of the connection
attribute.
28768 28769 28770 |
# File 'lib/ovirtsdk4/types.rb', line 28768 def connection @connection end |
#connection=(value) ⇒ Object
Sets the value of the connection
attribute.
The value
parameter can be an instance of StorageConnection 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.
28781 28782 28783 28784 28785 28786 |
# File 'lib/ovirtsdk4/types.rb', line 28781 def connection=(value) if value.is_a?(Hash) value = StorageConnection.new(value) end @connection = value end |
#connectivity_timeout ⇒ Integer
Returns the value of the connectivity_timeout
attribute.
28793 28794 28795 |
# File 'lib/ovirtsdk4/types.rb', line 28793 def connectivity_timeout @connectivity_timeout end |
#connectivity_timeout=(value) ⇒ Object
Sets the value of the connectivity_timeout
attribute.
28802 28803 28804 |
# File 'lib/ovirtsdk4/types.rb', line 28802 def connectivity_timeout=(value) @connectivity_timeout = value end |
#correlation_id ⇒ String
Returns the value of the correlation_id
attribute.
28811 28812 28813 |
# File 'lib/ovirtsdk4/types.rb', line 28811 def correlation_id @correlation_id end |
#correlation_id=(value) ⇒ Object
Sets the value of the correlation_id
attribute.
28820 28821 28822 |
# File 'lib/ovirtsdk4/types.rb', line 28820 def correlation_id=(value) @correlation_id = value end |
#data_center ⇒ DataCenter
Returns the value of the data_center
attribute.
28829 28830 28831 |
# File 'lib/ovirtsdk4/types.rb', line 28829 def data_center @data_center end |
#data_center=(value) ⇒ Object
Sets the value of the data_center
attribute.
The value
parameter can be an instance of DataCenter 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.
28842 28843 28844 28845 28846 28847 |
# File 'lib/ovirtsdk4/types.rb', line 28842 def data_center=(value) if value.is_a?(Hash) value = DataCenter.new(value) end @data_center = value end |
#deploy_hosted_engine ⇒ Boolean
Returns the value of the deploy_hosted_engine
attribute.
28854 28855 28856 |
# File 'lib/ovirtsdk4/types.rb', line 28854 def deploy_hosted_engine @deploy_hosted_engine end |
#deploy_hosted_engine=(value) ⇒ Object
Sets the value of the deploy_hosted_engine
attribute.
28863 28864 28865 |
# File 'lib/ovirtsdk4/types.rb', line 28863 def deploy_hosted_engine=(value) @deploy_hosted_engine = value end |
#description ⇒ String
Returns the value of the description
attribute.
28872 28873 28874 |
# File 'lib/ovirtsdk4/types.rb', line 28872 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description
attribute.
28881 28882 28883 |
# File 'lib/ovirtsdk4/types.rb', line 28881 def description=(value) @description = value end |
#details ⇒ GlusterVolumeProfileDetails
Returns the value of the details
attribute.
28890 28891 28892 |
# File 'lib/ovirtsdk4/types.rb', line 28890 def details @details end |
#details=(value) ⇒ Object
Sets the value of the details
attribute.
The value
parameter can be an instance of GlusterVolumeProfileDetails 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.
28903 28904 28905 28906 28907 28908 |
# File 'lib/ovirtsdk4/types.rb', line 28903 def details=(value) if value.is_a?(Hash) value = GlusterVolumeProfileDetails.new(value) end @details = value end |
#directory ⇒ String
Returns the value of the directory
attribute.
28915 28916 28917 |
# File 'lib/ovirtsdk4/types.rb', line 28915 def directory @directory end |
#directory=(value) ⇒ Object
Sets the value of the directory
attribute.
28924 28925 28926 |
# File 'lib/ovirtsdk4/types.rb', line 28924 def directory=(value) @directory = value end |
#discard_snapshots ⇒ Boolean
Returns the value of the discard_snapshots
attribute.
28933 28934 28935 |
# File 'lib/ovirtsdk4/types.rb', line 28933 def discard_snapshots @discard_snapshots end |
#discard_snapshots=(value) ⇒ Object
Sets the value of the discard_snapshots
attribute.
28942 28943 28944 |
# File 'lib/ovirtsdk4/types.rb', line 28942 def discard_snapshots=(value) @discard_snapshots = value end |
#discovered_targets ⇒ Array<IscsiDetails>
Returns the value of the discovered_targets
attribute.
28951 28952 28953 |
# File 'lib/ovirtsdk4/types.rb', line 28951 def discovered_targets @discovered_targets end |
#discovered_targets=(list) ⇒ Object
Sets the value of the discovered_targets
attribute.
28960 28961 28962 28963 28964 28965 28966 28967 28968 28969 28970 |
# File 'lib/ovirtsdk4/types.rb', line 28960 def discovered_targets=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = IscsiDetails.new(value) end end end @discovered_targets = list end |
#disk ⇒ Disk
Returns the value of the disk
attribute.
28977 28978 28979 |
# File 'lib/ovirtsdk4/types.rb', line 28977 def disk @disk end |
#disk=(value) ⇒ Object
Sets the value of the disk
attribute.
The value
parameter can be an instance of Disk 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.
28990 28991 28992 28993 28994 28995 |
# File 'lib/ovirtsdk4/types.rb', line 28990 def disk=(value) if value.is_a?(Hash) value = Disk.new(value) end @disk = value end |
#disk_profile ⇒ DiskProfile
Returns the value of the disk_profile
attribute.
29002 29003 29004 |
# File 'lib/ovirtsdk4/types.rb', line 29002 def disk_profile @disk_profile end |
#disk_profile=(value) ⇒ Object
Sets the value of the disk_profile
attribute.
The value
parameter can be an instance of DiskProfile 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.
29015 29016 29017 29018 29019 29020 |
# File 'lib/ovirtsdk4/types.rb', line 29015 def disk_profile=(value) if value.is_a?(Hash) value = DiskProfile.new(value) end @disk_profile = value end |
#disks ⇒ Array<Disk>
Returns the value of the disks
attribute.
29027 29028 29029 |
# File 'lib/ovirtsdk4/types.rb', line 29027 def disks @disks end |
#disks=(list) ⇒ Object
Sets the value of the disks
attribute.
29036 29037 29038 29039 29040 29041 29042 29043 29044 29045 29046 |
# File 'lib/ovirtsdk4/types.rb', line 29036 def disks=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = Disk.new(value) end end end @disks = list end |
#exclusive ⇒ Boolean
Returns the value of the exclusive
attribute.
29053 29054 29055 |
# File 'lib/ovirtsdk4/types.rb', line 29053 def exclusive @exclusive end |
#exclusive=(value) ⇒ Object
Sets the value of the exclusive
attribute.
29062 29063 29064 |
# File 'lib/ovirtsdk4/types.rb', line 29062 def exclusive=(value) @exclusive = value end |
#fault ⇒ Fault
Returns the value of the fault
attribute.
29071 29072 29073 |
# File 'lib/ovirtsdk4/types.rb', line 29071 def fault @fault end |
#fault=(value) ⇒ Object
Sets the value of the fault
attribute.
The value
parameter can be an instance of Fault 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.
29084 29085 29086 29087 29088 29089 |
# File 'lib/ovirtsdk4/types.rb', line 29084 def fault=(value) if value.is_a?(Hash) value = Fault.new(value) end @fault = value end |
#fence_type ⇒ String
Returns the value of the fence_type
attribute.
29096 29097 29098 |
# File 'lib/ovirtsdk4/types.rb', line 29096 def fence_type @fence_type end |
#fence_type=(value) ⇒ Object
Sets the value of the fence_type
attribute.
29105 29106 29107 |
# File 'lib/ovirtsdk4/types.rb', line 29105 def fence_type=(value) @fence_type = value end |
#filename ⇒ String
Returns the value of the filename
attribute.
29114 29115 29116 |
# File 'lib/ovirtsdk4/types.rb', line 29114 def filename @filename end |
#filename=(value) ⇒ Object
Sets the value of the filename
attribute.
29123 29124 29125 |
# File 'lib/ovirtsdk4/types.rb', line 29123 def filename=(value) @filename = value end |
#filter ⇒ Boolean
Returns the value of the filter
attribute.
29132 29133 29134 |
# File 'lib/ovirtsdk4/types.rb', line 29132 def filter @filter end |
#filter=(value) ⇒ Object
Sets the value of the filter
attribute.
29141 29142 29143 |
# File 'lib/ovirtsdk4/types.rb', line 29141 def filter=(value) @filter = value end |
#fix_layout ⇒ Boolean
Returns the value of the fix_layout
attribute.
29150 29151 29152 |
# File 'lib/ovirtsdk4/types.rb', line 29150 def fix_layout @fix_layout end |
#fix_layout=(value) ⇒ Object
Sets the value of the fix_layout
attribute.
29159 29160 29161 |
# File 'lib/ovirtsdk4/types.rb', line 29159 def fix_layout=(value) @fix_layout = value end |
#follow ⇒ String
Returns the value of the follow
attribute.
29168 29169 29170 |
# File 'lib/ovirtsdk4/types.rb', line 29168 def follow @follow end |
#follow=(value) ⇒ Object
Sets the value of the follow
attribute.
29177 29178 29179 |
# File 'lib/ovirtsdk4/types.rb', line 29177 def follow=(value) @follow = value end |
#force ⇒ Boolean
Returns the value of the force
attribute.
29186 29187 29188 |
# File 'lib/ovirtsdk4/types.rb', line 29186 def force @force end |
#force=(value) ⇒ Object
Sets the value of the force
attribute.
29195 29196 29197 |
# File 'lib/ovirtsdk4/types.rb', line 29195 def force=(value) @force = value end |
#grace_period ⇒ GracePeriod
Returns the value of the grace_period
attribute.
29204 29205 29206 |
# File 'lib/ovirtsdk4/types.rb', line 29204 def grace_period @grace_period end |
#grace_period=(value) ⇒ Object
Sets the value of the grace_period
attribute.
The value
parameter can be an instance of GracePeriod 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.
29217 29218 29219 29220 29221 29222 |
# File 'lib/ovirtsdk4/types.rb', line 29217 def grace_period=(value) if value.is_a?(Hash) value = GracePeriod.new(value) end @grace_period = value end |
#hash ⇒ Object
Generates a hash value for this object.
30919 30920 30921 30922 30923 30924 30925 30926 30927 30928 30929 30930 30931 30932 30933 30934 30935 30936 30937 30938 30939 30940 30941 30942 30943 30944 30945 30946 30947 30948 30949 30950 30951 30952 30953 30954 30955 30956 30957 30958 30959 30960 30961 30962 30963 30964 30965 30966 30967 30968 30969 30970 30971 30972 30973 30974 30975 30976 30977 30978 30979 30980 30981 30982 30983 30984 30985 30986 30987 30988 30989 30990 30991 30992 30993 30994 30995 30996 30997 30998 30999 31000 31001 31002 31003 31004 31005 31006 31007 31008 31009 31010 31011 31012 31013 31014 |
# File 'lib/ovirtsdk4/types.rb', line 30919 def hash super + @activate.hash + @allow_partial_import.hash + @async.hash + @attachment.hash + @authorized_key.hash + @auto_pinning_policy.hash + @bricks.hash + @certificates.hash + @check_connectivity.hash + @clone.hash + @clone_permissions.hash + @cluster.hash + @collapse_snapshots.hash + @commit_on_success.hash + @connection.hash + @connectivity_timeout.hash + @correlation_id.hash + @data_center.hash + @deploy_hosted_engine.hash + @details.hash + @directory.hash + @discard_snapshots.hash + @discovered_targets.hash + @disk.hash + @disk_profile.hash + @disks.hash + @exclusive.hash + @fault.hash + @fence_type.hash + @filename.hash + @filter.hash + @fix_layout.hash + @follow.hash + @force.hash + @grace_period.hash + @host.hash + @image.hash + @image_transfer.hash + @import_as_template.hash + @is_attached.hash + @iscsi.hash + @iscsi_targets.hash + @job.hash + @lease.hash + @logical_units.hash + @maintenance_after_restart.hash + @maintenance_enabled.hash + @migrate_vms_in_affinity_closure.hash + @modified_bonds.hash + @modified_labels.hash + @modified_network_attachments.hash + @optimize_cpu_settings.hash + @option.hash + @pause.hash + @permission.hash + @power_management.hash + @proxy_ticket.hash + @quota.hash + @reason.hash + @reassign_bad_macs.hash + @reboot.hash + @registration_configuration.hash + @remote_viewer_connection_file.hash + @removed_bonds.hash + @removed_labels.hash + @removed_network_attachments.hash + @resolution_type.hash + @restore_memory.hash + @root_password.hash + @seal.hash + @snapshot.hash + @source_host.hash + @ssh.hash + @status.hash + @stop_gluster_service.hash + @storage_domain.hash + @storage_domains.hash + @succeeded.hash + @synchronized_network_attachments.hash + @template.hash + @ticket.hash + @timeout.hash + @undeploy_hosted_engine.hash + @upgrade_action.hash + @upgrade_percent_complete.hash + @use_cloud_init.hash + @use_ignition.hash + @use_initialization.hash + @use_sysprep.hash + @virtual_functions_configuration.hash + @vm.hash + @vnic_profile_mappings.hash + @volatile.hash end |
#host ⇒ Host
Returns the value of the host
attribute.
29229 29230 29231 |
# File 'lib/ovirtsdk4/types.rb', line 29229 def host @host end |
#host=(value) ⇒ Object
Sets the value of the host
attribute.
The value
parameter can be an instance of Host 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.
29242 29243 29244 29245 29246 29247 |
# File 'lib/ovirtsdk4/types.rb', line 29242 def host=(value) if value.is_a?(Hash) value = Host.new(value) end @host = value end |
#id ⇒ String
Returns the value of the id
attribute.
29254 29255 29256 |
# File 'lib/ovirtsdk4/types.rb', line 29254 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id
attribute.
29263 29264 29265 |
# File 'lib/ovirtsdk4/types.rb', line 29263 def id=(value) @id = value end |
#image ⇒ String
Returns the value of the image
attribute.
29272 29273 29274 |
# File 'lib/ovirtsdk4/types.rb', line 29272 def image @image end |
#image=(value) ⇒ Object
Sets the value of the image
attribute.
29281 29282 29283 |
# File 'lib/ovirtsdk4/types.rb', line 29281 def image=(value) @image = value end |
#image_transfer ⇒ ImageTransfer
Returns the value of the image_transfer
attribute.
29290 29291 29292 |
# File 'lib/ovirtsdk4/types.rb', line 29290 def image_transfer @image_transfer end |
#image_transfer=(value) ⇒ Object
Sets the value of the image_transfer
attribute.
The value
parameter can be an instance of ImageTransfer 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.
29303 29304 29305 29306 29307 29308 |
# File 'lib/ovirtsdk4/types.rb', line 29303 def image_transfer=(value) if value.is_a?(Hash) value = ImageTransfer.new(value) end @image_transfer = value end |
#import_as_template ⇒ Boolean
Returns the value of the import_as_template
attribute.
29315 29316 29317 |
# File 'lib/ovirtsdk4/types.rb', line 29315 def import_as_template @import_as_template end |
#import_as_template=(value) ⇒ Object
Sets the value of the import_as_template
attribute.
29324 29325 29326 |
# File 'lib/ovirtsdk4/types.rb', line 29324 def import_as_template=(value) @import_as_template = value end |
#is_attached ⇒ Boolean
Returns the value of the is_attached
attribute.
29333 29334 29335 |
# File 'lib/ovirtsdk4/types.rb', line 29333 def is_attached @is_attached end |
#is_attached=(value) ⇒ Object
Sets the value of the is_attached
attribute.
29342 29343 29344 |
# File 'lib/ovirtsdk4/types.rb', line 29342 def is_attached=(value) @is_attached = value end |
#iscsi ⇒ IscsiDetails
Returns the value of the iscsi
attribute.
29351 29352 29353 |
# File 'lib/ovirtsdk4/types.rb', line 29351 def iscsi @iscsi end |
#iscsi=(value) ⇒ Object
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.
29364 29365 29366 29367 29368 29369 |
# File 'lib/ovirtsdk4/types.rb', line 29364 def iscsi=(value) if value.is_a?(Hash) value = IscsiDetails.new(value) end @iscsi = value end |
#iscsi_targets ⇒ Array<String>
Returns the value of the iscsi_targets
attribute.
29376 29377 29378 |
# File 'lib/ovirtsdk4/types.rb', line 29376 def iscsi_targets @iscsi_targets end |
#iscsi_targets=(list) ⇒ Object
Sets the value of the iscsi_targets
attribute.
29385 29386 29387 |
# File 'lib/ovirtsdk4/types.rb', line 29385 def iscsi_targets=(list) @iscsi_targets = list end |
#job ⇒ Job
Returns the value of the job
attribute.
29394 29395 29396 |
# File 'lib/ovirtsdk4/types.rb', line 29394 def job @job end |
#job=(value) ⇒ Object
Sets the value of the job
attribute.
The value
parameter can be an instance of Job 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.
29407 29408 29409 29410 29411 29412 |
# File 'lib/ovirtsdk4/types.rb', line 29407 def job=(value) if value.is_a?(Hash) value = Job.new(value) end @job = value end |
#lease ⇒ StorageDomainLease
Returns the value of the lease
attribute.
29419 29420 29421 |
# File 'lib/ovirtsdk4/types.rb', line 29419 def lease @lease end |
#lease=(value) ⇒ Object
Sets the value of the lease
attribute.
The value
parameter can be an instance of StorageDomainLease 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.
29432 29433 29434 29435 29436 29437 |
# File 'lib/ovirtsdk4/types.rb', line 29432 def lease=(value) if value.is_a?(Hash) value = StorageDomainLease.new(value) end @lease = value end |
#logical_units ⇒ Array<LogicalUnit>
Returns the value of the logical_units
attribute.
29444 29445 29446 |
# File 'lib/ovirtsdk4/types.rb', line 29444 def logical_units @logical_units end |
#logical_units=(list) ⇒ Object
Sets the value of the logical_units
attribute.
29453 29454 29455 29456 29457 29458 29459 29460 29461 29462 29463 |
# File 'lib/ovirtsdk4/types.rb', line 29453 def logical_units=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = LogicalUnit.new(value) end end end @logical_units = list end |
#maintenance_after_restart ⇒ Boolean
Returns the value of the maintenance_after_restart
attribute.
29470 29471 29472 |
# File 'lib/ovirtsdk4/types.rb', line 29470 def maintenance_after_restart @maintenance_after_restart end |
#maintenance_after_restart=(value) ⇒ Object
Sets the value of the maintenance_after_restart
attribute.
29479 29480 29481 |
# File 'lib/ovirtsdk4/types.rb', line 29479 def maintenance_after_restart=(value) @maintenance_after_restart = value end |
#maintenance_enabled ⇒ Boolean
Returns the value of the maintenance_enabled
attribute.
29488 29489 29490 |
# File 'lib/ovirtsdk4/types.rb', line 29488 def maintenance_enabled @maintenance_enabled end |
#maintenance_enabled=(value) ⇒ Object
Sets the value of the maintenance_enabled
attribute.
29497 29498 29499 |
# File 'lib/ovirtsdk4/types.rb', line 29497 def maintenance_enabled=(value) @maintenance_enabled = value end |
#migrate_vms_in_affinity_closure ⇒ Boolean
Returns the value of the migrate_vms_in_affinity_closure
attribute.
29506 29507 29508 |
# File 'lib/ovirtsdk4/types.rb', line 29506 def migrate_vms_in_affinity_closure @migrate_vms_in_affinity_closure end |
#migrate_vms_in_affinity_closure=(value) ⇒ Object
Sets the value of the migrate_vms_in_affinity_closure
attribute.
29515 29516 29517 |
# File 'lib/ovirtsdk4/types.rb', line 29515 def migrate_vms_in_affinity_closure=(value) @migrate_vms_in_affinity_closure = value end |
#modified_bonds ⇒ Array<HostNic>
Returns the value of the modified_bonds
attribute.
29524 29525 29526 |
# File 'lib/ovirtsdk4/types.rb', line 29524 def modified_bonds @modified_bonds end |
#modified_bonds=(list) ⇒ Object
Sets the value of the modified_bonds
attribute.
29533 29534 29535 29536 29537 29538 29539 29540 29541 29542 29543 |
# File 'lib/ovirtsdk4/types.rb', line 29533 def modified_bonds=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = HostNic.new(value) end end end @modified_bonds = list end |
#modified_labels ⇒ Array<NetworkLabel>
Returns the value of the modified_labels
attribute.
29550 29551 29552 |
# File 'lib/ovirtsdk4/types.rb', line 29550 def modified_labels @modified_labels end |
#modified_labels=(list) ⇒ Object
Sets the value of the modified_labels
attribute.
29559 29560 29561 29562 29563 29564 29565 29566 29567 29568 29569 |
# File 'lib/ovirtsdk4/types.rb', line 29559 def modified_labels=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = NetworkLabel.new(value) end end end @modified_labels = list end |
#modified_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the modified_network_attachments
attribute.
29576 29577 29578 |
# File 'lib/ovirtsdk4/types.rb', line 29576 def @modified_network_attachments end |
#modified_network_attachments=(list) ⇒ Object
Sets the value of the modified_network_attachments
attribute.
29585 29586 29587 29588 29589 29590 29591 29592 29593 29594 29595 |
# File 'lib/ovirtsdk4/types.rb', line 29585 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 @modified_network_attachments = list end |
#name ⇒ String
Returns the value of the name
attribute.
29602 29603 29604 |
# File 'lib/ovirtsdk4/types.rb', line 29602 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name
attribute.
29611 29612 29613 |
# File 'lib/ovirtsdk4/types.rb', line 29611 def name=(value) @name = value end |
#optimize_cpu_settings ⇒ Boolean
Returns the value of the optimize_cpu_settings
attribute.
29620 29621 29622 |
# File 'lib/ovirtsdk4/types.rb', line 29620 def optimize_cpu_settings @optimize_cpu_settings end |
#optimize_cpu_settings=(value) ⇒ Object
Sets the value of the optimize_cpu_settings
attribute.
29629 29630 29631 |
# File 'lib/ovirtsdk4/types.rb', line 29629 def optimize_cpu_settings=(value) @optimize_cpu_settings = value end |
#option ⇒ Option
Returns the value of the option
attribute.
29638 29639 29640 |
# File 'lib/ovirtsdk4/types.rb', line 29638 def option @option end |
#option=(value) ⇒ Object
Sets the value of the option
attribute.
The value
parameter can be an instance of Option 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.
29651 29652 29653 29654 29655 29656 |
# File 'lib/ovirtsdk4/types.rb', line 29651 def option=(value) if value.is_a?(Hash) value = Option.new(value) end @option = value end |
#pause ⇒ Boolean
Returns the value of the pause
attribute.
29663 29664 29665 |
# File 'lib/ovirtsdk4/types.rb', line 29663 def pause @pause end |
#pause=(value) ⇒ Object
Sets the value of the pause
attribute.
29672 29673 29674 |
# File 'lib/ovirtsdk4/types.rb', line 29672 def pause=(value) @pause = value end |
#permission ⇒ Permission
Returns the value of the permission
attribute.
29681 29682 29683 |
# File 'lib/ovirtsdk4/types.rb', line 29681 def @permission end |
#permission=(value) ⇒ Object
Sets the value of the permission
attribute.
The value
parameter can be an instance of Permission 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.
29694 29695 29696 29697 29698 29699 |
# File 'lib/ovirtsdk4/types.rb', line 29694 def (value) if value.is_a?(Hash) value = Permission.new(value) end @permission = value end |
#power_management ⇒ PowerManagement
Returns the value of the power_management
attribute.
29706 29707 29708 |
# File 'lib/ovirtsdk4/types.rb', line 29706 def power_management @power_management end |
#power_management=(value) ⇒ Object
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.
29719 29720 29721 29722 29723 29724 |
# File 'lib/ovirtsdk4/types.rb', line 29719 def power_management=(value) if value.is_a?(Hash) value = PowerManagement.new(value) end @power_management = value end |
#proxy_ticket ⇒ ProxyTicket
Returns the value of the proxy_ticket
attribute.
29731 29732 29733 |
# File 'lib/ovirtsdk4/types.rb', line 29731 def proxy_ticket @proxy_ticket end |
#proxy_ticket=(value) ⇒ Object
Sets the value of the proxy_ticket
attribute.
The value
parameter can be an instance of ProxyTicket 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.
29744 29745 29746 29747 29748 29749 |
# File 'lib/ovirtsdk4/types.rb', line 29744 def proxy_ticket=(value) if value.is_a?(Hash) value = ProxyTicket.new(value) end @proxy_ticket = value end |
#quota ⇒ Quota
Returns the value of the quota
attribute.
29756 29757 29758 |
# File 'lib/ovirtsdk4/types.rb', line 29756 def quota @quota end |
#quota=(value) ⇒ Object
Sets the value of the quota
attribute.
The value
parameter can be an instance of Quota 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.
29769 29770 29771 29772 29773 29774 |
# File 'lib/ovirtsdk4/types.rb', line 29769 def quota=(value) if value.is_a?(Hash) value = Quota.new(value) end @quota = value end |
#reason ⇒ String
Returns the value of the reason
attribute.
29781 29782 29783 |
# File 'lib/ovirtsdk4/types.rb', line 29781 def reason @reason end |
#reason=(value) ⇒ Object
Sets the value of the reason
attribute.
29790 29791 29792 |
# File 'lib/ovirtsdk4/types.rb', line 29790 def reason=(value) @reason = value end |
#reassign_bad_macs ⇒ Boolean
Returns the value of the reassign_bad_macs
attribute.
29799 29800 29801 |
# File 'lib/ovirtsdk4/types.rb', line 29799 def reassign_bad_macs @reassign_bad_macs end |
#reassign_bad_macs=(value) ⇒ Object
Sets the value of the reassign_bad_macs
attribute.
29808 29809 29810 |
# File 'lib/ovirtsdk4/types.rb', line 29808 def reassign_bad_macs=(value) @reassign_bad_macs = value end |
#reboot ⇒ Boolean
Returns the value of the reboot
attribute.
29817 29818 29819 |
# File 'lib/ovirtsdk4/types.rb', line 29817 def reboot @reboot end |
#reboot=(value) ⇒ Object
Sets the value of the reboot
attribute.
29826 29827 29828 |
# File 'lib/ovirtsdk4/types.rb', line 29826 def reboot=(value) @reboot = value end |
#registration_configuration ⇒ RegistrationConfiguration
Returns the value of the registration_configuration
attribute.
29835 29836 29837 |
# File 'lib/ovirtsdk4/types.rb', line 29835 def registration_configuration @registration_configuration end |
#registration_configuration=(value) ⇒ Object
Sets the value of the registration_configuration
attribute.
The value
parameter can be an instance of RegistrationConfiguration 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.
29848 29849 29850 29851 29852 29853 |
# File 'lib/ovirtsdk4/types.rb', line 29848 def registration_configuration=(value) if value.is_a?(Hash) value = RegistrationConfiguration.new(value) end @registration_configuration = value end |
#remote_viewer_connection_file ⇒ String
Returns the value of the remote_viewer_connection_file
attribute.
29860 29861 29862 |
# File 'lib/ovirtsdk4/types.rb', line 29860 def remote_viewer_connection_file @remote_viewer_connection_file end |
#remote_viewer_connection_file=(value) ⇒ Object
Sets the value of the remote_viewer_connection_file
attribute.
29869 29870 29871 |
# File 'lib/ovirtsdk4/types.rb', line 29869 def remote_viewer_connection_file=(value) @remote_viewer_connection_file = value end |
#removed_bonds ⇒ Array<HostNic>
Returns the value of the removed_bonds
attribute.
29878 29879 29880 |
# File 'lib/ovirtsdk4/types.rb', line 29878 def removed_bonds @removed_bonds end |
#removed_bonds=(list) ⇒ Object
Sets the value of the removed_bonds
attribute.
29887 29888 29889 29890 29891 29892 29893 29894 29895 29896 29897 |
# File 'lib/ovirtsdk4/types.rb', line 29887 def removed_bonds=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = HostNic.new(value) end end end @removed_bonds = list end |
#removed_labels ⇒ Array<NetworkLabel>
Returns the value of the removed_labels
attribute.
29904 29905 29906 |
# File 'lib/ovirtsdk4/types.rb', line 29904 def removed_labels @removed_labels end |
#removed_labels=(list) ⇒ Object
Sets the value of the removed_labels
attribute.
29913 29914 29915 29916 29917 29918 29919 29920 29921 29922 29923 |
# File 'lib/ovirtsdk4/types.rb', line 29913 def removed_labels=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = NetworkLabel.new(value) end end end @removed_labels = list end |
#removed_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the removed_network_attachments
attribute.
29930 29931 29932 |
# File 'lib/ovirtsdk4/types.rb', line 29930 def @removed_network_attachments end |
#removed_network_attachments=(list) ⇒ Object
Sets the value of the removed_network_attachments
attribute.
29939 29940 29941 29942 29943 29944 29945 29946 29947 29948 29949 |
# File 'lib/ovirtsdk4/types.rb', line 29939 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 @removed_network_attachments = list end |
#resolution_type ⇒ String
Returns the value of the resolution_type
attribute.
29956 29957 29958 |
# File 'lib/ovirtsdk4/types.rb', line 29956 def resolution_type @resolution_type end |
#resolution_type=(value) ⇒ Object
Sets the value of the resolution_type
attribute.
29965 29966 29967 |
# File 'lib/ovirtsdk4/types.rb', line 29965 def resolution_type=(value) @resolution_type = value end |
#restore_memory ⇒ Boolean
Returns the value of the restore_memory
attribute.
29974 29975 29976 |
# File 'lib/ovirtsdk4/types.rb', line 29974 def restore_memory @restore_memory end |
#restore_memory=(value) ⇒ Object
Sets the value of the restore_memory
attribute.
29983 29984 29985 |
# File 'lib/ovirtsdk4/types.rb', line 29983 def restore_memory=(value) @restore_memory = value end |
#root_password ⇒ String
Returns the value of the root_password
attribute.
29992 29993 29994 |
# File 'lib/ovirtsdk4/types.rb', line 29992 def root_password @root_password end |
#root_password=(value) ⇒ Object
Sets the value of the root_password
attribute.
30001 30002 30003 |
# File 'lib/ovirtsdk4/types.rb', line 30001 def root_password=(value) @root_password = value end |
#seal ⇒ Boolean
Returns the value of the seal
attribute.
30010 30011 30012 |
# File 'lib/ovirtsdk4/types.rb', line 30010 def seal @seal end |
#seal=(value) ⇒ Object
Sets the value of the seal
attribute.
30019 30020 30021 |
# File 'lib/ovirtsdk4/types.rb', line 30019 def seal=(value) @seal = value end |
#snapshot ⇒ Snapshot
Returns the value of the snapshot
attribute.
30028 30029 30030 |
# File 'lib/ovirtsdk4/types.rb', line 30028 def snapshot @snapshot end |
#snapshot=(value) ⇒ Object
Sets the value of the snapshot
attribute.
The value
parameter can be an instance of Snapshot 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.
30041 30042 30043 30044 30045 30046 |
# File 'lib/ovirtsdk4/types.rb', line 30041 def snapshot=(value) if value.is_a?(Hash) value = Snapshot.new(value) end @snapshot = value end |
#source_host ⇒ Host
Returns the value of the source_host
attribute.
30053 30054 30055 |
# File 'lib/ovirtsdk4/types.rb', line 30053 def source_host @source_host end |
#source_host=(value) ⇒ Object
Sets the value of the source_host
attribute.
The value
parameter can be an instance of Host 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.
30066 30067 30068 30069 30070 30071 |
# File 'lib/ovirtsdk4/types.rb', line 30066 def source_host=(value) if value.is_a?(Hash) value = Host.new(value) end @source_host = value end |
#ssh ⇒ Ssh
Returns the value of the ssh
attribute.
30078 30079 30080 |
# File 'lib/ovirtsdk4/types.rb', line 30078 def ssh @ssh end |
#ssh=(value) ⇒ Object
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.
30091 30092 30093 30094 30095 30096 |
# File 'lib/ovirtsdk4/types.rb', line 30091 def ssh=(value) if value.is_a?(Hash) value = Ssh.new(value) end @ssh = value end |
#status ⇒ String
Returns the value of the status
attribute.
30103 30104 30105 |
# File 'lib/ovirtsdk4/types.rb', line 30103 def status @status end |
#status=(value) ⇒ Object
Sets the value of the status
attribute.
30112 30113 30114 |
# File 'lib/ovirtsdk4/types.rb', line 30112 def status=(value) @status = value end |
#stop_gluster_service ⇒ Boolean
Returns the value of the stop_gluster_service
attribute.
30121 30122 30123 |
# File 'lib/ovirtsdk4/types.rb', line 30121 def stop_gluster_service @stop_gluster_service end |
#stop_gluster_service=(value) ⇒ Object
Sets the value of the stop_gluster_service
attribute.
30130 30131 30132 |
# File 'lib/ovirtsdk4/types.rb', line 30130 def stop_gluster_service=(value) @stop_gluster_service = value end |
#storage_domain ⇒ StorageDomain
Returns the value of the storage_domain
attribute.
30139 30140 30141 |
# File 'lib/ovirtsdk4/types.rb', line 30139 def storage_domain @storage_domain end |
#storage_domain=(value) ⇒ Object
Sets the value of the storage_domain
attribute.
The value
parameter can be an instance of StorageDomain 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.
30152 30153 30154 30155 30156 30157 |
# File 'lib/ovirtsdk4/types.rb', line 30152 def storage_domain=(value) if value.is_a?(Hash) value = StorageDomain.new(value) end @storage_domain = value end |
#storage_domains ⇒ Array<StorageDomain>
Returns the value of the storage_domains
attribute.
30164 30165 30166 |
# File 'lib/ovirtsdk4/types.rb', line 30164 def storage_domains @storage_domains end |
#storage_domains=(list) ⇒ Object
Sets the value of the storage_domains
attribute.
30173 30174 30175 30176 30177 30178 30179 30180 30181 30182 30183 |
# File 'lib/ovirtsdk4/types.rb', line 30173 def storage_domains=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = StorageDomain.new(value) end end end @storage_domains = list end |
#succeeded ⇒ Boolean
Returns the value of the succeeded
attribute.
30190 30191 30192 |
# File 'lib/ovirtsdk4/types.rb', line 30190 def succeeded @succeeded end |
#succeeded=(value) ⇒ Object
Sets the value of the succeeded
attribute.
30199 30200 30201 |
# File 'lib/ovirtsdk4/types.rb', line 30199 def succeeded=(value) @succeeded = value end |
#synchronized_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the synchronized_network_attachments
attribute.
30208 30209 30210 |
# File 'lib/ovirtsdk4/types.rb', line 30208 def @synchronized_network_attachments end |
#synchronized_network_attachments=(list) ⇒ Object
Sets the value of the synchronized_network_attachments
attribute.
30217 30218 30219 30220 30221 30222 30223 30224 30225 30226 30227 |
# File 'lib/ovirtsdk4/types.rb', line 30217 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 @synchronized_network_attachments = list end |
#template ⇒ Template
Returns the value of the template
attribute.
30234 30235 30236 |
# File 'lib/ovirtsdk4/types.rb', line 30234 def template @template end |
#template=(value) ⇒ Object
Sets the value of the template
attribute.
The value
parameter can be an instance of Template 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.
30247 30248 30249 30250 30251 30252 |
# File 'lib/ovirtsdk4/types.rb', line 30247 def template=(value) if value.is_a?(Hash) value = Template.new(value) end @template = value end |
#ticket ⇒ Ticket
Returns the value of the ticket
attribute.
30259 30260 30261 |
# File 'lib/ovirtsdk4/types.rb', line 30259 def ticket @ticket end |
#ticket=(value) ⇒ Object
Sets the value of the ticket
attribute.
The value
parameter can be an instance of Ticket 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.
30272 30273 30274 30275 30276 30277 |
# File 'lib/ovirtsdk4/types.rb', line 30272 def ticket=(value) if value.is_a?(Hash) value = Ticket.new(value) end @ticket = value end |
#timeout ⇒ Integer
Returns the value of the timeout
attribute.
30284 30285 30286 |
# File 'lib/ovirtsdk4/types.rb', line 30284 def timeout @timeout end |
#timeout=(value) ⇒ Object
Sets the value of the timeout
attribute.
30293 30294 30295 |
# File 'lib/ovirtsdk4/types.rb', line 30293 def timeout=(value) @timeout = value end |
#undeploy_hosted_engine ⇒ Boolean
Returns the value of the undeploy_hosted_engine
attribute.
30302 30303 30304 |
# File 'lib/ovirtsdk4/types.rb', line 30302 def undeploy_hosted_engine @undeploy_hosted_engine end |
#undeploy_hosted_engine=(value) ⇒ Object
Sets the value of the undeploy_hosted_engine
attribute.
30311 30312 30313 |
# File 'lib/ovirtsdk4/types.rb', line 30311 def undeploy_hosted_engine=(value) @undeploy_hosted_engine = value end |
#upgrade_action ⇒ ClusterUpgradeAction
Returns the value of the upgrade_action
attribute.
30320 30321 30322 |
# File 'lib/ovirtsdk4/types.rb', line 30320 def upgrade_action @upgrade_action end |
#upgrade_action=(value) ⇒ Object
Sets the value of the upgrade_action
attribute.
30329 30330 30331 |
# File 'lib/ovirtsdk4/types.rb', line 30329 def upgrade_action=(value) @upgrade_action = value end |
#upgrade_percent_complete ⇒ Integer
Returns the value of the upgrade_percent_complete
attribute.
30338 30339 30340 |
# File 'lib/ovirtsdk4/types.rb', line 30338 def upgrade_percent_complete @upgrade_percent_complete end |
#upgrade_percent_complete=(value) ⇒ Object
Sets the value of the upgrade_percent_complete
attribute.
30347 30348 30349 |
# File 'lib/ovirtsdk4/types.rb', line 30347 def upgrade_percent_complete=(value) @upgrade_percent_complete = value end |
#use_cloud_init ⇒ Boolean
Returns the value of the use_cloud_init
attribute.
30356 30357 30358 |
# File 'lib/ovirtsdk4/types.rb', line 30356 def use_cloud_init @use_cloud_init end |
#use_cloud_init=(value) ⇒ Object
Sets the value of the use_cloud_init
attribute.
30365 30366 30367 |
# File 'lib/ovirtsdk4/types.rb', line 30365 def use_cloud_init=(value) @use_cloud_init = value end |
#use_ignition ⇒ Boolean
Returns the value of the use_ignition
attribute.
30374 30375 30376 |
# File 'lib/ovirtsdk4/types.rb', line 30374 def use_ignition @use_ignition end |
#use_ignition=(value) ⇒ Object
Sets the value of the use_ignition
attribute.
30383 30384 30385 |
# File 'lib/ovirtsdk4/types.rb', line 30383 def use_ignition=(value) @use_ignition = value end |
#use_initialization ⇒ Boolean
Returns the value of the use_initialization
attribute.
30392 30393 30394 |
# File 'lib/ovirtsdk4/types.rb', line 30392 def use_initialization @use_initialization end |
#use_initialization=(value) ⇒ Object
Sets the value of the use_initialization
attribute.
30401 30402 30403 |
# File 'lib/ovirtsdk4/types.rb', line 30401 def use_initialization=(value) @use_initialization = value end |
#use_sysprep ⇒ Boolean
Returns the value of the use_sysprep
attribute.
30410 30411 30412 |
# File 'lib/ovirtsdk4/types.rb', line 30410 def use_sysprep @use_sysprep end |
#use_sysprep=(value) ⇒ Object
Sets the value of the use_sysprep
attribute.
30419 30420 30421 |
# File 'lib/ovirtsdk4/types.rb', line 30419 def use_sysprep=(value) @use_sysprep = value end |
#virtual_functions_configuration ⇒ HostNicVirtualFunctionsConfiguration
Returns the value of the virtual_functions_configuration
attribute.
30428 30429 30430 |
# File 'lib/ovirtsdk4/types.rb', line 30428 def virtual_functions_configuration @virtual_functions_configuration end |
#virtual_functions_configuration=(value) ⇒ Object
Sets the value of the virtual_functions_configuration
attribute.
The value
parameter can be an instance of HostNicVirtualFunctionsConfiguration 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.
30441 30442 30443 30444 30445 30446 |
# File 'lib/ovirtsdk4/types.rb', line 30441 def virtual_functions_configuration=(value) if value.is_a?(Hash) value = HostNicVirtualFunctionsConfiguration.new(value) end @virtual_functions_configuration = value end |
#vm ⇒ Vm
Returns the value of the vm
attribute.
30453 30454 30455 |
# File 'lib/ovirtsdk4/types.rb', line 30453 def vm @vm end |
#vm=(value) ⇒ Object
Sets the value of the vm
attribute.
The value
parameter can be an instance of Vm 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.
30466 30467 30468 30469 30470 30471 |
# File 'lib/ovirtsdk4/types.rb', line 30466 def vm=(value) if value.is_a?(Hash) value = Vm.new(value) end @vm = value end |
#vnic_profile_mappings ⇒ Array<VnicProfileMapping>
Returns the value of the vnic_profile_mappings
attribute.
30478 30479 30480 |
# File 'lib/ovirtsdk4/types.rb', line 30478 def vnic_profile_mappings @vnic_profile_mappings end |
#vnic_profile_mappings=(list) ⇒ Object
Sets the value of the vnic_profile_mappings
attribute.
30487 30488 30489 30490 30491 30492 30493 30494 30495 30496 30497 |
# File 'lib/ovirtsdk4/types.rb', line 30487 def vnic_profile_mappings=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = VnicProfileMapping.new(value) end end end @vnic_profile_mappings = list end |
#volatile ⇒ Boolean
Returns the value of the volatile
attribute.
30504 30505 30506 |
# File 'lib/ovirtsdk4/types.rb', line 30504 def volatile @volatile end |
#volatile=(value) ⇒ Object
Sets the value of the volatile
attribute.
30513 30514 30515 |
# File 'lib/ovirtsdk4/types.rb', line 30513 def volatile=(value) @volatile = value end |