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
trueifselfandotherhave the same attributes and values. -
#activate ⇒ Boolean
Returns the value of the
activateattribute. -
#activate=(value) ⇒ Object
Sets the value of the
activateattribute. -
#allow_partial_import ⇒ Boolean
Returns the value of the
allow_partial_importattribute. -
#allow_partial_import=(value) ⇒ Object
Sets the value of the
allow_partial_importattribute. -
#async ⇒ Boolean
Returns the value of the
asyncattribute. -
#async=(value) ⇒ Object
Sets the value of the
asyncattribute. -
#attach_wgt ⇒ Boolean
Returns the value of the
attach_wgtattribute. -
#attach_wgt=(value) ⇒ Object
Sets the value of the
attach_wgtattribute. -
#attachment ⇒ DiskAttachment
Returns the value of the
attachmentattribute. -
#attachment=(value) ⇒ Object
Sets the value of the
attachmentattribute. -
#authorized_key ⇒ AuthorizedKey
Returns the value of the
authorized_keyattribute. -
#authorized_key=(value) ⇒ Object
Sets the value of the
authorized_keyattribute. -
#auto_pinning_policy ⇒ AutoPinningPolicy
Returns the value of the
auto_pinning_policyattribute. -
#auto_pinning_policy=(value) ⇒ Object
Sets the value of the
auto_pinning_policyattribute. -
#bricks ⇒ Array<GlusterBrick>
Returns the value of the
bricksattribute. -
#bricks=(list) ⇒ Object
Sets the value of the
bricksattribute. -
#certificates ⇒ Array<Certificate>
Returns the value of the
certificatesattribute. -
#certificates=(list) ⇒ Object
Sets the value of the
certificatesattribute. -
#check_connectivity ⇒ Boolean
Returns the value of the
check_connectivityattribute. -
#check_connectivity=(value) ⇒ Object
Sets the value of the
check_connectivityattribute. -
#clone ⇒ Boolean
Returns the value of the
cloneattribute. -
#clone=(value) ⇒ Object
Sets the value of the
cloneattribute. -
#clone_permissions ⇒ Boolean
Returns the value of the
clone_permissionsattribute. -
#clone_permissions=(value) ⇒ Object
Sets the value of the
clone_permissionsattribute. -
#cluster ⇒ Cluster
Returns the value of the
clusterattribute. -
#cluster=(value) ⇒ Object
Sets the value of the
clusterattribute. -
#collapse_snapshots ⇒ Boolean
Returns the value of the
collapse_snapshotsattribute. -
#collapse_snapshots=(value) ⇒ Object
Sets the value of the
collapse_snapshotsattribute. -
#comment ⇒ String
Returns the value of the
commentattribute. -
#comment=(value) ⇒ Object
Sets the value of the
commentattribute. -
#commit_on_success ⇒ Boolean
Returns the value of the
commit_on_successattribute. -
#commit_on_success=(value) ⇒ Object
Sets the value of the
commit_on_successattribute. -
#connection ⇒ StorageConnection
Returns the value of the
connectionattribute. -
#connection=(value) ⇒ Object
Sets the value of the
connectionattribute. -
#connectivity_timeout ⇒ Integer
Returns the value of the
connectivity_timeoutattribute. -
#connectivity_timeout=(value) ⇒ Object
Sets the value of the
connectivity_timeoutattribute. -
#correlation_id ⇒ String
Returns the value of the
correlation_idattribute. -
#correlation_id=(value) ⇒ Object
Sets the value of the
correlation_idattribute. -
#data_center ⇒ DataCenter
Returns the value of the
data_centerattribute. -
#data_center=(value) ⇒ Object
Sets the value of the
data_centerattribute. -
#deploy_hosted_engine ⇒ Boolean
Returns the value of the
deploy_hosted_engineattribute. -
#deploy_hosted_engine=(value) ⇒ Object
Sets the value of the
deploy_hosted_engineattribute. -
#description ⇒ String
Returns the value of the
descriptionattribute. -
#description=(value) ⇒ Object
Sets the value of the
descriptionattribute. -
#details ⇒ GlusterVolumeProfileDetails
Returns the value of the
detailsattribute. -
#details=(value) ⇒ Object
Sets the value of the
detailsattribute. -
#directory ⇒ String
Returns the value of the
directoryattribute. -
#directory=(value) ⇒ Object
Sets the value of the
directoryattribute. -
#discard_snapshots ⇒ Boolean
Returns the value of the
discard_snapshotsattribute. -
#discard_snapshots=(value) ⇒ Object
Sets the value of the
discard_snapshotsattribute. -
#discovered_targets ⇒ Array<IscsiDetails>
Returns the value of the
discovered_targetsattribute. -
#discovered_targets=(list) ⇒ Object
Sets the value of the
discovered_targetsattribute. -
#disk ⇒ Disk
Returns the value of the
diskattribute. -
#disk=(value) ⇒ Object
Sets the value of the
diskattribute. -
#disk_profile ⇒ DiskProfile
Returns the value of the
disk_profileattribute. -
#disk_profile=(value) ⇒ Object
Sets the value of the
disk_profileattribute. -
#disks ⇒ Array<Disk>
Returns the value of the
disksattribute. -
#disks=(list) ⇒ Object
Sets the value of the
disksattribute. -
#exclusive ⇒ Boolean
Returns the value of the
exclusiveattribute. -
#exclusive=(value) ⇒ Object
Sets the value of the
exclusiveattribute. -
#fault ⇒ Fault
Returns the value of the
faultattribute. -
#fault=(value) ⇒ Object
Sets the value of the
faultattribute. -
#fence_type ⇒ String
Returns the value of the
fence_typeattribute. -
#fence_type=(value) ⇒ Object
Sets the value of the
fence_typeattribute. -
#filename ⇒ String
Returns the value of the
filenameattribute. -
#filename=(value) ⇒ Object
Sets the value of the
filenameattribute. -
#filter ⇒ Boolean
Returns the value of the
filterattribute. -
#filter=(value) ⇒ Object
Sets the value of the
filterattribute. -
#fix_layout ⇒ Boolean
Returns the value of the
fix_layoutattribute. -
#fix_layout=(value) ⇒ Object
Sets the value of the
fix_layoutattribute. -
#follow ⇒ String
Returns the value of the
followattribute. -
#follow=(value) ⇒ Object
Sets the value of the
followattribute. -
#force ⇒ Boolean
Returns the value of the
forceattribute. -
#force=(value) ⇒ Object
Sets the value of the
forceattribute. -
#grace_period ⇒ GracePeriod
Returns the value of the
grace_periodattribute. -
#grace_period=(value) ⇒ Object
Sets the value of the
grace_periodattribute. -
#hash ⇒ Object
Generates a hash value for this object.
-
#host ⇒ Host
Returns the value of the
hostattribute. -
#host=(value) ⇒ Object
Sets the value of the
hostattribute. -
#id ⇒ String
Returns the value of the
idattribute. -
#id=(value) ⇒ Object
Sets the value of the
idattribute. -
#image ⇒ String
Returns the value of the
imageattribute. -
#image=(value) ⇒ Object
Sets the value of the
imageattribute. -
#image_transfer ⇒ ImageTransfer
Returns the value of the
image_transferattribute. -
#image_transfer=(value) ⇒ Object
Sets the value of the
image_transferattribute. -
#import_as_template ⇒ Boolean
Returns the value of the
import_as_templateattribute. -
#import_as_template=(value) ⇒ Object
Sets the value of the
import_as_templateattribute. -
#initialize(opts = {}) ⇒ Action
constructor
Creates a new instance of the Action class.
-
#is_attached ⇒ Boolean
Returns the value of the
is_attachedattribute. -
#is_attached=(value) ⇒ Object
Sets the value of the
is_attachedattribute. -
#iscsi ⇒ IscsiDetails
Returns the value of the
iscsiattribute. -
#iscsi=(value) ⇒ Object
Sets the value of the
iscsiattribute. -
#iscsi_targets ⇒ Array<String>
Returns the value of the
iscsi_targetsattribute. -
#iscsi_targets=(list) ⇒ Object
Sets the value of the
iscsi_targetsattribute. -
#job ⇒ Job
Returns the value of the
jobattribute. -
#job=(value) ⇒ Object
Sets the value of the
jobattribute. -
#lease ⇒ StorageDomainLease
Returns the value of the
leaseattribute. -
#lease=(value) ⇒ Object
Sets the value of the
leaseattribute. -
#logical_units ⇒ Array<LogicalUnit>
Returns the value of the
logical_unitsattribute. -
#logical_units=(list) ⇒ Object
Sets the value of the
logical_unitsattribute. -
#maintenance_after_restart ⇒ Boolean
Returns the value of the
maintenance_after_restartattribute. -
#maintenance_after_restart=(value) ⇒ Object
Sets the value of the
maintenance_after_restartattribute. -
#maintenance_enabled ⇒ Boolean
Returns the value of the
maintenance_enabledattribute. -
#maintenance_enabled=(value) ⇒ Object
Sets the value of the
maintenance_enabledattribute. -
#migrate_vms_in_affinity_closure ⇒ Boolean
Returns the value of the
migrate_vms_in_affinity_closureattribute. -
#migrate_vms_in_affinity_closure=(value) ⇒ Object
Sets the value of the
migrate_vms_in_affinity_closureattribute. -
#modified_bonds ⇒ Array<HostNic>
Returns the value of the
modified_bondsattribute. -
#modified_bonds=(list) ⇒ Object
Sets the value of the
modified_bondsattribute. -
#modified_labels ⇒ Array<NetworkLabel>
Returns the value of the
modified_labelsattribute. -
#modified_labels=(list) ⇒ Object
Sets the value of the
modified_labelsattribute. -
#modified_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the
modified_network_attachmentsattribute. -
#modified_network_attachments=(list) ⇒ Object
Sets the value of the
modified_network_attachmentsattribute. -
#name ⇒ String
Returns the value of the
nameattribute. -
#name=(value) ⇒ Object
Sets the value of the
nameattribute. -
#optimize_cpu_settings ⇒ Boolean
Returns the value of the
optimize_cpu_settingsattribute. -
#optimize_cpu_settings=(value) ⇒ Object
Sets the value of the
optimize_cpu_settingsattribute. -
#option ⇒ Option
Returns the value of the
optionattribute. -
#option=(value) ⇒ Object
Sets the value of the
optionattribute. -
#pause ⇒ Boolean
Returns the value of the
pauseattribute. -
#pause=(value) ⇒ Object
Sets the value of the
pauseattribute. -
#permission ⇒ Permission
Returns the value of the
permissionattribute. -
#permission=(value) ⇒ Object
Sets the value of the
permissionattribute. -
#power_management ⇒ PowerManagement
Returns the value of the
power_managementattribute. -
#power_management=(value) ⇒ Object
Sets the value of the
power_managementattribute. -
#proxy_ticket ⇒ ProxyTicket
Returns the value of the
proxy_ticketattribute. -
#proxy_ticket=(value) ⇒ Object
Sets the value of the
proxy_ticketattribute. -
#quota ⇒ Quota
Returns the value of the
quotaattribute. -
#quota=(value) ⇒ Object
Sets the value of the
quotaattribute. -
#reason ⇒ String
Returns the value of the
reasonattribute. -
#reason=(value) ⇒ Object
Sets the value of the
reasonattribute. -
#reassign_bad_macs ⇒ Boolean
Returns the value of the
reassign_bad_macsattribute. -
#reassign_bad_macs=(value) ⇒ Object
Sets the value of the
reassign_bad_macsattribute. -
#reboot ⇒ Boolean
Returns the value of the
rebootattribute. -
#reboot=(value) ⇒ Object
Sets the value of the
rebootattribute. -
#registration_configuration ⇒ RegistrationConfiguration
Returns the value of the
registration_configurationattribute. -
#registration_configuration=(value) ⇒ Object
Sets the value of the
registration_configurationattribute. -
#remote_viewer_connection_file ⇒ String
Returns the value of the
remote_viewer_connection_fileattribute. -
#remote_viewer_connection_file=(value) ⇒ Object
Sets the value of the
remote_viewer_connection_fileattribute. -
#removed_bonds ⇒ Array<HostNic>
Returns the value of the
removed_bondsattribute. -
#removed_bonds=(list) ⇒ Object
Sets the value of the
removed_bondsattribute. -
#removed_labels ⇒ Array<NetworkLabel>
Returns the value of the
removed_labelsattribute. -
#removed_labels=(list) ⇒ Object
Sets the value of the
removed_labelsattribute. -
#removed_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the
removed_network_attachmentsattribute. -
#removed_network_attachments=(list) ⇒ Object
Sets the value of the
removed_network_attachmentsattribute. -
#resolution_type ⇒ String
Returns the value of the
resolution_typeattribute. -
#resolution_type=(value) ⇒ Object
Sets the value of the
resolution_typeattribute. -
#restore_memory ⇒ Boolean
Returns the value of the
restore_memoryattribute. -
#restore_memory=(value) ⇒ Object
Sets the value of the
restore_memoryattribute. -
#root_password ⇒ String
Returns the value of the
root_passwordattribute. -
#root_password=(value) ⇒ Object
Sets the value of the
root_passwordattribute. -
#seal ⇒ Boolean
Returns the value of the
sealattribute. -
#seal=(value) ⇒ Object
Sets the value of the
sealattribute. -
#snapshot ⇒ Snapshot
Returns the value of the
snapshotattribute. -
#snapshot=(value) ⇒ Object
Sets the value of the
snapshotattribute. -
#source_host ⇒ Host
Returns the value of the
source_hostattribute. -
#source_host=(value) ⇒ Object
Sets the value of the
source_hostattribute. -
#ssh ⇒ Ssh
Returns the value of the
sshattribute. -
#ssh=(value) ⇒ Object
Sets the value of the
sshattribute. -
#status ⇒ String
Returns the value of the
statusattribute. -
#status=(value) ⇒ Object
Sets the value of the
statusattribute. -
#stop_gluster_service ⇒ Boolean
Returns the value of the
stop_gluster_serviceattribute. -
#stop_gluster_service=(value) ⇒ Object
Sets the value of the
stop_gluster_serviceattribute. -
#storage_domain ⇒ StorageDomain
Returns the value of the
storage_domainattribute. -
#storage_domain=(value) ⇒ Object
Sets the value of the
storage_domainattribute. -
#storage_domains ⇒ Array<StorageDomain>
Returns the value of the
storage_domainsattribute. -
#storage_domains=(list) ⇒ Object
Sets the value of the
storage_domainsattribute. -
#succeeded ⇒ Boolean
Returns the value of the
succeededattribute. -
#succeeded=(value) ⇒ Object
Sets the value of the
succeededattribute. -
#synchronized_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the
synchronized_network_attachmentsattribute. -
#synchronized_network_attachments=(list) ⇒ Object
Sets the value of the
synchronized_network_attachmentsattribute. -
#template ⇒ Template
Returns the value of the
templateattribute. -
#template=(value) ⇒ Object
Sets the value of the
templateattribute. -
#ticket ⇒ Ticket
Returns the value of the
ticketattribute. -
#ticket=(value) ⇒ Object
Sets the value of the
ticketattribute. -
#timeout ⇒ Integer
Returns the value of the
timeoutattribute. -
#timeout=(value) ⇒ Object
Sets the value of the
timeoutattribute. -
#undeploy_hosted_engine ⇒ Boolean
Returns the value of the
undeploy_hosted_engineattribute. -
#undeploy_hosted_engine=(value) ⇒ Object
Sets the value of the
undeploy_hosted_engineattribute. -
#upgrade_action ⇒ ClusterUpgradeAction
Returns the value of the
upgrade_actionattribute. -
#upgrade_action=(value) ⇒ Object
Sets the value of the
upgrade_actionattribute. -
#upgrade_percent_complete ⇒ Integer
Returns the value of the
upgrade_percent_completeattribute. -
#upgrade_percent_complete=(value) ⇒ Object
Sets the value of the
upgrade_percent_completeattribute. -
#use_cloud_init ⇒ Boolean
Returns the value of the
use_cloud_initattribute. -
#use_cloud_init=(value) ⇒ Object
Sets the value of the
use_cloud_initattribute. -
#use_ignition ⇒ Boolean
Returns the value of the
use_ignitionattribute. -
#use_ignition=(value) ⇒ Object
Sets the value of the
use_ignitionattribute. -
#use_initialization ⇒ Boolean
Returns the value of the
use_initializationattribute. -
#use_initialization=(value) ⇒ Object
Sets the value of the
use_initializationattribute. -
#use_sysprep ⇒ Boolean
Returns the value of the
use_sysprepattribute. -
#use_sysprep=(value) ⇒ Object
Sets the value of the
use_sysprepattribute. -
#virtual_functions_configuration ⇒ HostNicVirtualFunctionsConfiguration
Returns the value of the
virtual_functions_configurationattribute. -
#virtual_functions_configuration=(value) ⇒ Object
Sets the value of the
virtual_functions_configurationattribute. -
#vm ⇒ Vm
Returns the value of the
vmattribute. -
#vm=(value) ⇒ Object
Sets the value of the
vmattribute. -
#vnic_profile_mappings ⇒ Array<VnicProfileMapping>
Returns the value of the
vnic_profile_mappingsattribute. -
#vnic_profile_mappings=(list) ⇒ Object
Sets the value of the
vnic_profile_mappingsattribute. -
#volatile ⇒ Boolean
Returns the value of the
volatileattribute. -
#volatile=(value) ⇒ Object
Sets the value of the
volatileattribute.
Methods included from Type
Constructor Details
#initialize(opts = {}) ⇒ Action
Creates a new instance of the OvirtSDK4::Action class.
31009 31010 31011 31012 31013 31014 31015 31016 31017 31018 31019 31020 31021 31022 31023 31024 31025 31026 31027 31028 31029 31030 31031 31032 31033 31034 31035 31036 31037 31038 31039 31040 31041 31042 31043 31044 31045 31046 31047 31048 31049 31050 31051 31052 31053 31054 31055 31056 31057 31058 31059 31060 31061 31062 31063 31064 31065 31066 31067 31068 31069 31070 31071 31072 31073 31074 31075 31076 31077 31078 31079 31080 31081 31082 31083 31084 31085 31086 31087 31088 31089 31090 31091 31092 31093 31094 31095 31096 31097 31098 31099 31100 31101 31102 31103 31104 31105 |
# File 'lib/ovirtsdk4/types.rb', line 31009 def initialize(opts = {}) super(opts) self.activate = opts[:activate] self.allow_partial_import = opts[:allow_partial_import] self.async = opts[:async] self.attach_wgt = opts[:attach_wgt] 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.
31110 31111 31112 31113 31114 31115 31116 31117 31118 31119 31120 31121 31122 31123 31124 31125 31126 31127 31128 31129 31130 31131 31132 31133 31134 31135 31136 31137 31138 31139 31140 31141 31142 31143 31144 31145 31146 31147 31148 31149 31150 31151 31152 31153 31154 31155 31156 31157 31158 31159 31160 31161 31162 31163 31164 31165 31166 31167 31168 31169 31170 31171 31172 31173 31174 31175 31176 31177 31178 31179 31180 31181 31182 31183 31184 31185 31186 31187 31188 31189 31190 31191 31192 31193 31194 31195 31196 31197 31198 31199 31200 31201 31202 31203 31204 31205 31206 |
# File 'lib/ovirtsdk4/types.rb', line 31110 def ==(other) super && @activate == other.activate && @allow_partial_import == other.allow_partial_import && @async == other.async && @attach_wgt == other.attach_wgt && == other. && == other. && @auto_pinning_policy == other.auto_pinning_policy && @bricks == other.bricks && @certificates == other.certificates && @check_connectivity == other.check_connectivity && @clone == other.clone && == 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 && == other. && @optimize_cpu_settings == other.optimize_cpu_settings && @option == other.option && @pause == other.pause && == 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 && == 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 && == 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.
28731 28732 28733 |
# File 'lib/ovirtsdk4/types.rb', line 28731 def activate @activate end |
#activate=(value) ⇒ Object
Sets the value of the activate attribute.
28740 28741 28742 |
# File 'lib/ovirtsdk4/types.rb', line 28740 def activate=(value) @activate = value end |
#allow_partial_import ⇒ Boolean
Returns the value of the allow_partial_import attribute.
28749 28750 28751 |
# File 'lib/ovirtsdk4/types.rb', line 28749 def allow_partial_import @allow_partial_import end |
#allow_partial_import=(value) ⇒ Object
Sets the value of the allow_partial_import attribute.
28758 28759 28760 |
# File 'lib/ovirtsdk4/types.rb', line 28758 def allow_partial_import=(value) @allow_partial_import = value end |
#async ⇒ Boolean
Returns the value of the async attribute.
28767 28768 28769 |
# File 'lib/ovirtsdk4/types.rb', line 28767 def async @async end |
#async=(value) ⇒ Object
Sets the value of the async attribute.
28776 28777 28778 |
# File 'lib/ovirtsdk4/types.rb', line 28776 def async=(value) @async = value end |
#attach_wgt ⇒ Boolean
Returns the value of the attach_wgt attribute.
28785 28786 28787 |
# File 'lib/ovirtsdk4/types.rb', line 28785 def attach_wgt @attach_wgt end |
#attach_wgt=(value) ⇒ Object
Sets the value of the attach_wgt attribute.
28794 28795 28796 |
# File 'lib/ovirtsdk4/types.rb', line 28794 def attach_wgt=(value) @attach_wgt = value end |
#attachment ⇒ DiskAttachment
Returns the value of the attachment attribute.
28803 28804 28805 |
# File 'lib/ovirtsdk4/types.rb', line 28803 def 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.
28816 28817 28818 28819 28820 28821 |
# File 'lib/ovirtsdk4/types.rb', line 28816 def (value) if value.is_a?(Hash) value = DiskAttachment.new(value) end = value end |
#authorized_key ⇒ AuthorizedKey
Returns the value of the authorized_key attribute.
28828 28829 28830 |
# File 'lib/ovirtsdk4/types.rb', line 28828 def 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.
28841 28842 28843 28844 28845 28846 |
# File 'lib/ovirtsdk4/types.rb', line 28841 def (value) if value.is_a?(Hash) value = AuthorizedKey.new(value) end = value end |
#auto_pinning_policy ⇒ AutoPinningPolicy
Returns the value of the auto_pinning_policy attribute.
28853 28854 28855 |
# File 'lib/ovirtsdk4/types.rb', line 28853 def auto_pinning_policy @auto_pinning_policy end |
#auto_pinning_policy=(value) ⇒ Object
Sets the value of the auto_pinning_policy attribute.
28862 28863 28864 |
# File 'lib/ovirtsdk4/types.rb', line 28862 def auto_pinning_policy=(value) @auto_pinning_policy = value end |
#bricks ⇒ Array<GlusterBrick>
Returns the value of the bricks attribute.
28871 28872 28873 |
# File 'lib/ovirtsdk4/types.rb', line 28871 def bricks @bricks end |
#bricks=(list) ⇒ Object
Sets the value of the bricks attribute.
28880 28881 28882 28883 28884 28885 28886 28887 28888 28889 28890 |
# File 'lib/ovirtsdk4/types.rb', line 28880 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.
28897 28898 28899 |
# File 'lib/ovirtsdk4/types.rb', line 28897 def certificates @certificates end |
#certificates=(list) ⇒ Object
Sets the value of the certificates attribute.
28906 28907 28908 28909 28910 28911 28912 28913 28914 28915 28916 |
# File 'lib/ovirtsdk4/types.rb', line 28906 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.
28923 28924 28925 |
# File 'lib/ovirtsdk4/types.rb', line 28923 def check_connectivity @check_connectivity end |
#check_connectivity=(value) ⇒ Object
Sets the value of the check_connectivity attribute.
28932 28933 28934 |
# File 'lib/ovirtsdk4/types.rb', line 28932 def check_connectivity=(value) @check_connectivity = value end |
#clone ⇒ Boolean
Returns the value of the clone attribute.
28941 28942 28943 |
# File 'lib/ovirtsdk4/types.rb', line 28941 def clone @clone end |
#clone=(value) ⇒ Object
Sets the value of the clone attribute.
28950 28951 28952 |
# File 'lib/ovirtsdk4/types.rb', line 28950 def clone=(value) @clone = value end |
#clone_permissions ⇒ Boolean
Returns the value of the clone_permissions attribute.
28959 28960 28961 |
# File 'lib/ovirtsdk4/types.rb', line 28959 def end |
#clone_permissions=(value) ⇒ Object
Sets the value of the clone_permissions attribute.
28968 28969 28970 |
# File 'lib/ovirtsdk4/types.rb', line 28968 def (value) = value end |
#cluster ⇒ Cluster
Returns the value of the cluster attribute.
28977 28978 28979 |
# File 'lib/ovirtsdk4/types.rb', line 28977 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.
28990 28991 28992 28993 28994 28995 |
# File 'lib/ovirtsdk4/types.rb', line 28990 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.
29002 29003 29004 |
# File 'lib/ovirtsdk4/types.rb', line 29002 def collapse_snapshots @collapse_snapshots end |
#collapse_snapshots=(value) ⇒ Object
Sets the value of the collapse_snapshots attribute.
29011 29012 29013 |
# File 'lib/ovirtsdk4/types.rb', line 29011 def collapse_snapshots=(value) @collapse_snapshots = value end |
#comment ⇒ String
Returns the value of the comment attribute.
29020 29021 29022 |
# File 'lib/ovirtsdk4/types.rb', line 29020 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment attribute.
29029 29030 29031 |
# File 'lib/ovirtsdk4/types.rb', line 29029 def comment=(value) @comment = value end |
#commit_on_success ⇒ Boolean
Returns the value of the commit_on_success attribute.
29038 29039 29040 |
# File 'lib/ovirtsdk4/types.rb', line 29038 def commit_on_success @commit_on_success end |
#commit_on_success=(value) ⇒ Object
Sets the value of the commit_on_success attribute.
29047 29048 29049 |
# File 'lib/ovirtsdk4/types.rb', line 29047 def commit_on_success=(value) @commit_on_success = value end |
#connection ⇒ StorageConnection
Returns the value of the connection attribute.
29056 29057 29058 |
# File 'lib/ovirtsdk4/types.rb', line 29056 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.
29069 29070 29071 29072 29073 29074 |
# File 'lib/ovirtsdk4/types.rb', line 29069 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.
29081 29082 29083 |
# File 'lib/ovirtsdk4/types.rb', line 29081 def connectivity_timeout @connectivity_timeout end |
#connectivity_timeout=(value) ⇒ Object
Sets the value of the connectivity_timeout attribute.
29090 29091 29092 |
# File 'lib/ovirtsdk4/types.rb', line 29090 def connectivity_timeout=(value) @connectivity_timeout = value end |
#correlation_id ⇒ String
Returns the value of the correlation_id attribute.
29099 29100 29101 |
# File 'lib/ovirtsdk4/types.rb', line 29099 def correlation_id @correlation_id end |
#correlation_id=(value) ⇒ Object
Sets the value of the correlation_id attribute.
29108 29109 29110 |
# File 'lib/ovirtsdk4/types.rb', line 29108 def correlation_id=(value) @correlation_id = value end |
#data_center ⇒ DataCenter
Returns the value of the data_center attribute.
29117 29118 29119 |
# File 'lib/ovirtsdk4/types.rb', line 29117 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.
29130 29131 29132 29133 29134 29135 |
# File 'lib/ovirtsdk4/types.rb', line 29130 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.
29142 29143 29144 |
# File 'lib/ovirtsdk4/types.rb', line 29142 def deploy_hosted_engine @deploy_hosted_engine end |
#deploy_hosted_engine=(value) ⇒ Object
Sets the value of the deploy_hosted_engine attribute.
29151 29152 29153 |
# File 'lib/ovirtsdk4/types.rb', line 29151 def deploy_hosted_engine=(value) @deploy_hosted_engine = value end |
#description ⇒ String
Returns the value of the description attribute.
29160 29161 29162 |
# File 'lib/ovirtsdk4/types.rb', line 29160 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description attribute.
29169 29170 29171 |
# File 'lib/ovirtsdk4/types.rb', line 29169 def description=(value) @description = value end |
#details ⇒ GlusterVolumeProfileDetails
Returns the value of the details attribute.
29178 29179 29180 |
# File 'lib/ovirtsdk4/types.rb', line 29178 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.
29191 29192 29193 29194 29195 29196 |
# File 'lib/ovirtsdk4/types.rb', line 29191 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.
29203 29204 29205 |
# File 'lib/ovirtsdk4/types.rb', line 29203 def directory @directory end |
#directory=(value) ⇒ Object
Sets the value of the directory attribute.
29212 29213 29214 |
# File 'lib/ovirtsdk4/types.rb', line 29212 def directory=(value) @directory = value end |
#discard_snapshots ⇒ Boolean
Returns the value of the discard_snapshots attribute.
29221 29222 29223 |
# File 'lib/ovirtsdk4/types.rb', line 29221 def discard_snapshots @discard_snapshots end |
#discard_snapshots=(value) ⇒ Object
Sets the value of the discard_snapshots attribute.
29230 29231 29232 |
# File 'lib/ovirtsdk4/types.rb', line 29230 def discard_snapshots=(value) @discard_snapshots = value end |
#discovered_targets ⇒ Array<IscsiDetails>
Returns the value of the discovered_targets attribute.
29239 29240 29241 |
# File 'lib/ovirtsdk4/types.rb', line 29239 def discovered_targets @discovered_targets end |
#discovered_targets=(list) ⇒ Object
Sets the value of the discovered_targets attribute.
29248 29249 29250 29251 29252 29253 29254 29255 29256 29257 29258 |
# File 'lib/ovirtsdk4/types.rb', line 29248 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.
29265 29266 29267 |
# File 'lib/ovirtsdk4/types.rb', line 29265 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.
29278 29279 29280 29281 29282 29283 |
# File 'lib/ovirtsdk4/types.rb', line 29278 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.
29290 29291 29292 |
# File 'lib/ovirtsdk4/types.rb', line 29290 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.
29303 29304 29305 29306 29307 29308 |
# File 'lib/ovirtsdk4/types.rb', line 29303 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.
29315 29316 29317 |
# File 'lib/ovirtsdk4/types.rb', line 29315 def disks @disks end |
#disks=(list) ⇒ Object
Sets the value of the disks attribute.
29324 29325 29326 29327 29328 29329 29330 29331 29332 29333 29334 |
# File 'lib/ovirtsdk4/types.rb', line 29324 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.
29341 29342 29343 |
# File 'lib/ovirtsdk4/types.rb', line 29341 def exclusive @exclusive end |
#exclusive=(value) ⇒ Object
Sets the value of the exclusive attribute.
29350 29351 29352 |
# File 'lib/ovirtsdk4/types.rb', line 29350 def exclusive=(value) @exclusive = value end |
#fault ⇒ Fault
Returns the value of the fault attribute.
29359 29360 29361 |
# File 'lib/ovirtsdk4/types.rb', line 29359 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.
29372 29373 29374 29375 29376 29377 |
# File 'lib/ovirtsdk4/types.rb', line 29372 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.
29384 29385 29386 |
# File 'lib/ovirtsdk4/types.rb', line 29384 def fence_type @fence_type end |
#fence_type=(value) ⇒ Object
Sets the value of the fence_type attribute.
29393 29394 29395 |
# File 'lib/ovirtsdk4/types.rb', line 29393 def fence_type=(value) @fence_type = value end |
#filename ⇒ String
Returns the value of the filename attribute.
29402 29403 29404 |
# File 'lib/ovirtsdk4/types.rb', line 29402 def filename @filename end |
#filename=(value) ⇒ Object
Sets the value of the filename attribute.
29411 29412 29413 |
# File 'lib/ovirtsdk4/types.rb', line 29411 def filename=(value) @filename = value end |
#filter ⇒ Boolean
Returns the value of the filter attribute.
29420 29421 29422 |
# File 'lib/ovirtsdk4/types.rb', line 29420 def filter @filter end |
#filter=(value) ⇒ Object
Sets the value of the filter attribute.
29429 29430 29431 |
# File 'lib/ovirtsdk4/types.rb', line 29429 def filter=(value) @filter = value end |
#fix_layout ⇒ Boolean
Returns the value of the fix_layout attribute.
29438 29439 29440 |
# File 'lib/ovirtsdk4/types.rb', line 29438 def fix_layout @fix_layout end |
#fix_layout=(value) ⇒ Object
Sets the value of the fix_layout attribute.
29447 29448 29449 |
# File 'lib/ovirtsdk4/types.rb', line 29447 def fix_layout=(value) @fix_layout = value end |
#follow ⇒ String
Returns the value of the follow attribute.
29456 29457 29458 |
# File 'lib/ovirtsdk4/types.rb', line 29456 def follow @follow end |
#follow=(value) ⇒ Object
Sets the value of the follow attribute.
29465 29466 29467 |
# File 'lib/ovirtsdk4/types.rb', line 29465 def follow=(value) @follow = value end |
#force ⇒ Boolean
Returns the value of the force attribute.
29474 29475 29476 |
# File 'lib/ovirtsdk4/types.rb', line 29474 def force @force end |
#force=(value) ⇒ Object
Sets the value of the force attribute.
29483 29484 29485 |
# File 'lib/ovirtsdk4/types.rb', line 29483 def force=(value) @force = value end |
#grace_period ⇒ GracePeriod
Returns the value of the grace_period attribute.
29492 29493 29494 |
# File 'lib/ovirtsdk4/types.rb', line 29492 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.
29505 29506 29507 29508 29509 29510 |
# File 'lib/ovirtsdk4/types.rb', line 29505 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.
31211 31212 31213 31214 31215 31216 31217 31218 31219 31220 31221 31222 31223 31224 31225 31226 31227 31228 31229 31230 31231 31232 31233 31234 31235 31236 31237 31238 31239 31240 31241 31242 31243 31244 31245 31246 31247 31248 31249 31250 31251 31252 31253 31254 31255 31256 31257 31258 31259 31260 31261 31262 31263 31264 31265 31266 31267 31268 31269 31270 31271 31272 31273 31274 31275 31276 31277 31278 31279 31280 31281 31282 31283 31284 31285 31286 31287 31288 31289 31290 31291 31292 31293 31294 31295 31296 31297 31298 31299 31300 31301 31302 31303 31304 31305 31306 31307 |
# File 'lib/ovirtsdk4/types.rb', line 31211 def hash super + @activate.hash + @allow_partial_import.hash + @async.hash + @attach_wgt.hash + .hash + .hash + @auto_pinning_policy.hash + @bricks.hash + @certificates.hash + @check_connectivity.hash + @clone.hash + .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 + .hash + @optimize_cpu_settings.hash + @option.hash + @pause.hash + .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 + .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 + .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.
29517 29518 29519 |
# File 'lib/ovirtsdk4/types.rb', line 29517 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.
29530 29531 29532 29533 29534 29535 |
# File 'lib/ovirtsdk4/types.rb', line 29530 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.
29542 29543 29544 |
# File 'lib/ovirtsdk4/types.rb', line 29542 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id attribute.
29551 29552 29553 |
# File 'lib/ovirtsdk4/types.rb', line 29551 def id=(value) @id = value end |
#image ⇒ String
Returns the value of the image attribute.
29560 29561 29562 |
# File 'lib/ovirtsdk4/types.rb', line 29560 def image @image end |
#image=(value) ⇒ Object
Sets the value of the image attribute.
29569 29570 29571 |
# File 'lib/ovirtsdk4/types.rb', line 29569 def image=(value) @image = value end |
#image_transfer ⇒ ImageTransfer
Returns the value of the image_transfer attribute.
29578 29579 29580 |
# File 'lib/ovirtsdk4/types.rb', line 29578 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.
29591 29592 29593 29594 29595 29596 |
# File 'lib/ovirtsdk4/types.rb', line 29591 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.
29603 29604 29605 |
# File 'lib/ovirtsdk4/types.rb', line 29603 def import_as_template @import_as_template end |
#import_as_template=(value) ⇒ Object
Sets the value of the import_as_template attribute.
29612 29613 29614 |
# File 'lib/ovirtsdk4/types.rb', line 29612 def import_as_template=(value) @import_as_template = value end |
#is_attached ⇒ Boolean
Returns the value of the is_attached attribute.
29621 29622 29623 |
# File 'lib/ovirtsdk4/types.rb', line 29621 def is_attached @is_attached end |
#is_attached=(value) ⇒ Object
Sets the value of the is_attached attribute.
29630 29631 29632 |
# File 'lib/ovirtsdk4/types.rb', line 29630 def is_attached=(value) @is_attached = value end |
#iscsi ⇒ IscsiDetails
Returns the value of the iscsi attribute.
29639 29640 29641 |
# File 'lib/ovirtsdk4/types.rb', line 29639 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.
29652 29653 29654 29655 29656 29657 |
# File 'lib/ovirtsdk4/types.rb', line 29652 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.
29664 29665 29666 |
# File 'lib/ovirtsdk4/types.rb', line 29664 def iscsi_targets @iscsi_targets end |
#iscsi_targets=(list) ⇒ Object
Sets the value of the iscsi_targets attribute.
29673 29674 29675 |
# File 'lib/ovirtsdk4/types.rb', line 29673 def iscsi_targets=(list) @iscsi_targets = list end |
#job ⇒ Job
Returns the value of the job attribute.
29682 29683 29684 |
# File 'lib/ovirtsdk4/types.rb', line 29682 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.
29695 29696 29697 29698 29699 29700 |
# File 'lib/ovirtsdk4/types.rb', line 29695 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.
29707 29708 29709 |
# File 'lib/ovirtsdk4/types.rb', line 29707 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.
29720 29721 29722 29723 29724 29725 |
# File 'lib/ovirtsdk4/types.rb', line 29720 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.
29732 29733 29734 |
# File 'lib/ovirtsdk4/types.rb', line 29732 def logical_units @logical_units end |
#logical_units=(list) ⇒ Object
Sets the value of the logical_units attribute.
29741 29742 29743 29744 29745 29746 29747 29748 29749 29750 29751 |
# File 'lib/ovirtsdk4/types.rb', line 29741 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.
29758 29759 29760 |
# File 'lib/ovirtsdk4/types.rb', line 29758 def maintenance_after_restart @maintenance_after_restart end |
#maintenance_after_restart=(value) ⇒ Object
Sets the value of the maintenance_after_restart attribute.
29767 29768 29769 |
# File 'lib/ovirtsdk4/types.rb', line 29767 def maintenance_after_restart=(value) @maintenance_after_restart = value end |
#maintenance_enabled ⇒ Boolean
Returns the value of the maintenance_enabled attribute.
29776 29777 29778 |
# File 'lib/ovirtsdk4/types.rb', line 29776 def maintenance_enabled @maintenance_enabled end |
#maintenance_enabled=(value) ⇒ Object
Sets the value of the maintenance_enabled attribute.
29785 29786 29787 |
# File 'lib/ovirtsdk4/types.rb', line 29785 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.
29794 29795 29796 |
# File 'lib/ovirtsdk4/types.rb', line 29794 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.
29803 29804 29805 |
# File 'lib/ovirtsdk4/types.rb', line 29803 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.
29812 29813 29814 |
# File 'lib/ovirtsdk4/types.rb', line 29812 def modified_bonds @modified_bonds end |
#modified_bonds=(list) ⇒ Object
Sets the value of the modified_bonds attribute.
29821 29822 29823 29824 29825 29826 29827 29828 29829 29830 29831 |
# File 'lib/ovirtsdk4/types.rb', line 29821 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.
29838 29839 29840 |
# File 'lib/ovirtsdk4/types.rb', line 29838 def modified_labels @modified_labels end |
#modified_labels=(list) ⇒ Object
Sets the value of the modified_labels attribute.
29847 29848 29849 29850 29851 29852 29853 29854 29855 29856 29857 |
# File 'lib/ovirtsdk4/types.rb', line 29847 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.
29864 29865 29866 |
# File 'lib/ovirtsdk4/types.rb', line 29864 def end |
#modified_network_attachments=(list) ⇒ Object
Sets the value of the modified_network_attachments attribute.
29873 29874 29875 29876 29877 29878 29879 29880 29881 29882 29883 |
# File 'lib/ovirtsdk4/types.rb', line 29873 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 = list end |
#name ⇒ String
Returns the value of the name attribute.
29890 29891 29892 |
# File 'lib/ovirtsdk4/types.rb', line 29890 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name attribute.
29899 29900 29901 |
# File 'lib/ovirtsdk4/types.rb', line 29899 def name=(value) @name = value end |
#optimize_cpu_settings ⇒ Boolean
Returns the value of the optimize_cpu_settings attribute.
29908 29909 29910 |
# File 'lib/ovirtsdk4/types.rb', line 29908 def optimize_cpu_settings @optimize_cpu_settings end |
#optimize_cpu_settings=(value) ⇒ Object
Sets the value of the optimize_cpu_settings attribute.
29917 29918 29919 |
# File 'lib/ovirtsdk4/types.rb', line 29917 def optimize_cpu_settings=(value) @optimize_cpu_settings = value end |
#option ⇒ Option
Returns the value of the option attribute.
29926 29927 29928 |
# File 'lib/ovirtsdk4/types.rb', line 29926 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.
29939 29940 29941 29942 29943 29944 |
# File 'lib/ovirtsdk4/types.rb', line 29939 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.
29951 29952 29953 |
# File 'lib/ovirtsdk4/types.rb', line 29951 def pause @pause end |
#pause=(value) ⇒ Object
Sets the value of the pause attribute.
29960 29961 29962 |
# File 'lib/ovirtsdk4/types.rb', line 29960 def pause=(value) @pause = value end |
#permission ⇒ Permission
Returns the value of the permission attribute.
29969 29970 29971 |
# File 'lib/ovirtsdk4/types.rb', line 29969 def 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.
29982 29983 29984 29985 29986 29987 |
# File 'lib/ovirtsdk4/types.rb', line 29982 def (value) if value.is_a?(Hash) value = Permission.new(value) end = value end |
#power_management ⇒ PowerManagement
Returns the value of the power_management attribute.
29994 29995 29996 |
# File 'lib/ovirtsdk4/types.rb', line 29994 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.
30007 30008 30009 30010 30011 30012 |
# File 'lib/ovirtsdk4/types.rb', line 30007 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.
30019 30020 30021 |
# File 'lib/ovirtsdk4/types.rb', line 30019 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.
30032 30033 30034 30035 30036 30037 |
# File 'lib/ovirtsdk4/types.rb', line 30032 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.
30044 30045 30046 |
# File 'lib/ovirtsdk4/types.rb', line 30044 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.
30057 30058 30059 30060 30061 30062 |
# File 'lib/ovirtsdk4/types.rb', line 30057 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.
30069 30070 30071 |
# File 'lib/ovirtsdk4/types.rb', line 30069 def reason @reason end |
#reason=(value) ⇒ Object
Sets the value of the reason attribute.
30078 30079 30080 |
# File 'lib/ovirtsdk4/types.rb', line 30078 def reason=(value) @reason = value end |
#reassign_bad_macs ⇒ Boolean
Returns the value of the reassign_bad_macs attribute.
30087 30088 30089 |
# File 'lib/ovirtsdk4/types.rb', line 30087 def reassign_bad_macs @reassign_bad_macs end |
#reassign_bad_macs=(value) ⇒ Object
Sets the value of the reassign_bad_macs attribute.
30096 30097 30098 |
# File 'lib/ovirtsdk4/types.rb', line 30096 def reassign_bad_macs=(value) @reassign_bad_macs = value end |
#reboot ⇒ Boolean
Returns the value of the reboot attribute.
30105 30106 30107 |
# File 'lib/ovirtsdk4/types.rb', line 30105 def reboot @reboot end |
#reboot=(value) ⇒ Object
Sets the value of the reboot attribute.
30114 30115 30116 |
# File 'lib/ovirtsdk4/types.rb', line 30114 def reboot=(value) @reboot = value end |
#registration_configuration ⇒ RegistrationConfiguration
Returns the value of the registration_configuration attribute.
30123 30124 30125 |
# File 'lib/ovirtsdk4/types.rb', line 30123 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.
30136 30137 30138 30139 30140 30141 |
# File 'lib/ovirtsdk4/types.rb', line 30136 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.
30148 30149 30150 |
# File 'lib/ovirtsdk4/types.rb', line 30148 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.
30157 30158 30159 |
# File 'lib/ovirtsdk4/types.rb', line 30157 def remote_viewer_connection_file=(value) @remote_viewer_connection_file = value end |
#removed_bonds ⇒ Array<HostNic>
Returns the value of the removed_bonds attribute.
30166 30167 30168 |
# File 'lib/ovirtsdk4/types.rb', line 30166 def removed_bonds @removed_bonds end |
#removed_bonds=(list) ⇒ Object
Sets the value of the removed_bonds attribute.
30175 30176 30177 30178 30179 30180 30181 30182 30183 30184 30185 |
# File 'lib/ovirtsdk4/types.rb', line 30175 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.
30192 30193 30194 |
# File 'lib/ovirtsdk4/types.rb', line 30192 def removed_labels @removed_labels end |
#removed_labels=(list) ⇒ Object
Sets the value of the removed_labels attribute.
30201 30202 30203 30204 30205 30206 30207 30208 30209 30210 30211 |
# File 'lib/ovirtsdk4/types.rb', line 30201 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.
30218 30219 30220 |
# File 'lib/ovirtsdk4/types.rb', line 30218 def end |
#removed_network_attachments=(list) ⇒ Object
Sets the value of the removed_network_attachments attribute.
30227 30228 30229 30230 30231 30232 30233 30234 30235 30236 30237 |
# File 'lib/ovirtsdk4/types.rb', line 30227 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 = list end |
#resolution_type ⇒ String
Returns the value of the resolution_type attribute.
30244 30245 30246 |
# File 'lib/ovirtsdk4/types.rb', line 30244 def resolution_type @resolution_type end |
#resolution_type=(value) ⇒ Object
Sets the value of the resolution_type attribute.
30253 30254 30255 |
# File 'lib/ovirtsdk4/types.rb', line 30253 def resolution_type=(value) @resolution_type = value end |
#restore_memory ⇒ Boolean
Returns the value of the restore_memory attribute.
30262 30263 30264 |
# File 'lib/ovirtsdk4/types.rb', line 30262 def restore_memory @restore_memory end |
#restore_memory=(value) ⇒ Object
Sets the value of the restore_memory attribute.
30271 30272 30273 |
# File 'lib/ovirtsdk4/types.rb', line 30271 def restore_memory=(value) @restore_memory = value end |
#root_password ⇒ String
Returns the value of the root_password attribute.
30280 30281 30282 |
# File 'lib/ovirtsdk4/types.rb', line 30280 def root_password @root_password end |
#root_password=(value) ⇒ Object
Sets the value of the root_password attribute.
30289 30290 30291 |
# File 'lib/ovirtsdk4/types.rb', line 30289 def root_password=(value) @root_password = value end |
#seal ⇒ Boolean
Returns the value of the seal attribute.
30298 30299 30300 |
# File 'lib/ovirtsdk4/types.rb', line 30298 def seal @seal end |
#seal=(value) ⇒ Object
Sets the value of the seal attribute.
30307 30308 30309 |
# File 'lib/ovirtsdk4/types.rb', line 30307 def seal=(value) @seal = value end |
#snapshot ⇒ Snapshot
Returns the value of the snapshot attribute.
30316 30317 30318 |
# File 'lib/ovirtsdk4/types.rb', line 30316 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.
30329 30330 30331 30332 30333 30334 |
# File 'lib/ovirtsdk4/types.rb', line 30329 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.
30341 30342 30343 |
# File 'lib/ovirtsdk4/types.rb', line 30341 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.
30354 30355 30356 30357 30358 30359 |
# File 'lib/ovirtsdk4/types.rb', line 30354 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.
30366 30367 30368 |
# File 'lib/ovirtsdk4/types.rb', line 30366 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.
30379 30380 30381 30382 30383 30384 |
# File 'lib/ovirtsdk4/types.rb', line 30379 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.
30391 30392 30393 |
# File 'lib/ovirtsdk4/types.rb', line 30391 def status @status end |
#status=(value) ⇒ Object
Sets the value of the status attribute.
30400 30401 30402 |
# File 'lib/ovirtsdk4/types.rb', line 30400 def status=(value) @status = value end |
#stop_gluster_service ⇒ Boolean
Returns the value of the stop_gluster_service attribute.
30409 30410 30411 |
# File 'lib/ovirtsdk4/types.rb', line 30409 def stop_gluster_service @stop_gluster_service end |
#stop_gluster_service=(value) ⇒ Object
Sets the value of the stop_gluster_service attribute.
30418 30419 30420 |
# File 'lib/ovirtsdk4/types.rb', line 30418 def stop_gluster_service=(value) @stop_gluster_service = value end |
#storage_domain ⇒ StorageDomain
Returns the value of the storage_domain attribute.
30427 30428 30429 |
# File 'lib/ovirtsdk4/types.rb', line 30427 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.
30440 30441 30442 30443 30444 30445 |
# File 'lib/ovirtsdk4/types.rb', line 30440 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.
30452 30453 30454 |
# File 'lib/ovirtsdk4/types.rb', line 30452 def storage_domains @storage_domains end |
#storage_domains=(list) ⇒ Object
Sets the value of the storage_domains attribute.
30461 30462 30463 30464 30465 30466 30467 30468 30469 30470 30471 |
# File 'lib/ovirtsdk4/types.rb', line 30461 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.
30478 30479 30480 |
# File 'lib/ovirtsdk4/types.rb', line 30478 def succeeded @succeeded end |
#succeeded=(value) ⇒ Object
Sets the value of the succeeded attribute.
30487 30488 30489 |
# File 'lib/ovirtsdk4/types.rb', line 30487 def succeeded=(value) @succeeded = value end |
#synchronized_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the synchronized_network_attachments attribute.
30496 30497 30498 |
# File 'lib/ovirtsdk4/types.rb', line 30496 def end |
#synchronized_network_attachments=(list) ⇒ Object
Sets the value of the synchronized_network_attachments attribute.
30505 30506 30507 30508 30509 30510 30511 30512 30513 30514 30515 |
# File 'lib/ovirtsdk4/types.rb', line 30505 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 = list end |
#template ⇒ Template
Returns the value of the template attribute.
30522 30523 30524 |
# File 'lib/ovirtsdk4/types.rb', line 30522 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.
30535 30536 30537 30538 30539 30540 |
# File 'lib/ovirtsdk4/types.rb', line 30535 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.
30547 30548 30549 |
# File 'lib/ovirtsdk4/types.rb', line 30547 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.
30560 30561 30562 30563 30564 30565 |
# File 'lib/ovirtsdk4/types.rb', line 30560 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.
30572 30573 30574 |
# File 'lib/ovirtsdk4/types.rb', line 30572 def timeout @timeout end |
#timeout=(value) ⇒ Object
Sets the value of the timeout attribute.
30581 30582 30583 |
# File 'lib/ovirtsdk4/types.rb', line 30581 def timeout=(value) @timeout = value end |
#undeploy_hosted_engine ⇒ Boolean
Returns the value of the undeploy_hosted_engine attribute.
30590 30591 30592 |
# File 'lib/ovirtsdk4/types.rb', line 30590 def undeploy_hosted_engine @undeploy_hosted_engine end |
#undeploy_hosted_engine=(value) ⇒ Object
Sets the value of the undeploy_hosted_engine attribute.
30599 30600 30601 |
# File 'lib/ovirtsdk4/types.rb', line 30599 def undeploy_hosted_engine=(value) @undeploy_hosted_engine = value end |
#upgrade_action ⇒ ClusterUpgradeAction
Returns the value of the upgrade_action attribute.
30608 30609 30610 |
# File 'lib/ovirtsdk4/types.rb', line 30608 def upgrade_action @upgrade_action end |
#upgrade_action=(value) ⇒ Object
Sets the value of the upgrade_action attribute.
30617 30618 30619 |
# File 'lib/ovirtsdk4/types.rb', line 30617 def upgrade_action=(value) @upgrade_action = value end |
#upgrade_percent_complete ⇒ Integer
Returns the value of the upgrade_percent_complete attribute.
30626 30627 30628 |
# File 'lib/ovirtsdk4/types.rb', line 30626 def upgrade_percent_complete @upgrade_percent_complete end |
#upgrade_percent_complete=(value) ⇒ Object
Sets the value of the upgrade_percent_complete attribute.
30635 30636 30637 |
# File 'lib/ovirtsdk4/types.rb', line 30635 def upgrade_percent_complete=(value) @upgrade_percent_complete = value end |
#use_cloud_init ⇒ Boolean
Returns the value of the use_cloud_init attribute.
30644 30645 30646 |
# File 'lib/ovirtsdk4/types.rb', line 30644 def use_cloud_init @use_cloud_init end |
#use_cloud_init=(value) ⇒ Object
Sets the value of the use_cloud_init attribute.
30653 30654 30655 |
# File 'lib/ovirtsdk4/types.rb', line 30653 def use_cloud_init=(value) @use_cloud_init = value end |
#use_ignition ⇒ Boolean
Returns the value of the use_ignition attribute.
30662 30663 30664 |
# File 'lib/ovirtsdk4/types.rb', line 30662 def use_ignition @use_ignition end |
#use_ignition=(value) ⇒ Object
Sets the value of the use_ignition attribute.
30671 30672 30673 |
# File 'lib/ovirtsdk4/types.rb', line 30671 def use_ignition=(value) @use_ignition = value end |
#use_initialization ⇒ Boolean
Returns the value of the use_initialization attribute.
30680 30681 30682 |
# File 'lib/ovirtsdk4/types.rb', line 30680 def use_initialization @use_initialization end |
#use_initialization=(value) ⇒ Object
Sets the value of the use_initialization attribute.
30689 30690 30691 |
# File 'lib/ovirtsdk4/types.rb', line 30689 def use_initialization=(value) @use_initialization = value end |
#use_sysprep ⇒ Boolean
Returns the value of the use_sysprep attribute.
30698 30699 30700 |
# File 'lib/ovirtsdk4/types.rb', line 30698 def use_sysprep @use_sysprep end |
#use_sysprep=(value) ⇒ Object
Sets the value of the use_sysprep attribute.
30707 30708 30709 |
# File 'lib/ovirtsdk4/types.rb', line 30707 def use_sysprep=(value) @use_sysprep = value end |
#virtual_functions_configuration ⇒ HostNicVirtualFunctionsConfiguration
Returns the value of the virtual_functions_configuration attribute.
30716 30717 30718 |
# File 'lib/ovirtsdk4/types.rb', line 30716 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.
30729 30730 30731 30732 30733 30734 |
# File 'lib/ovirtsdk4/types.rb', line 30729 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.
30741 30742 30743 |
# File 'lib/ovirtsdk4/types.rb', line 30741 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.
30754 30755 30756 30757 30758 30759 |
# File 'lib/ovirtsdk4/types.rb', line 30754 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.
30766 30767 30768 |
# File 'lib/ovirtsdk4/types.rb', line 30766 def vnic_profile_mappings @vnic_profile_mappings end |
#vnic_profile_mappings=(list) ⇒ Object
Sets the value of the vnic_profile_mappings attribute.
30775 30776 30777 30778 30779 30780 30781 30782 30783 30784 30785 |
# File 'lib/ovirtsdk4/types.rb', line 30775 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.
30792 30793 30794 |
# File 'lib/ovirtsdk4/types.rb', line 30792 def volatile @volatile end |
#volatile=(value) ⇒ Object
Sets the value of the volatile attribute.
30801 30802 30803 |
# File 'lib/ovirtsdk4/types.rb', line 30801 def volatile=(value) @volatile = value end |