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. -
#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. -
#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. -
#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. -
#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. -
#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. -
#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_enabled ⇒ Boolean
Returns the value of the
maintenance_enabledattribute. -
#maintenance_enabled=(value) ⇒ Object
Sets the value of the
maintenance_enabledattribute. -
#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. -
#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. -
#snapshot ⇒ Snapshot
Returns the value of the
snapshotattribute. -
#snapshot=(value) ⇒ Object
Sets the value of the
snapshotattribute. -
#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. -
#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. -
#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_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.
29019 29020 29021 29022 29023 29024 29025 29026 29027 29028 29029 29030 29031 29032 29033 29034 29035 29036 29037 29038 29039 29040 29041 29042 29043 29044 29045 29046 29047 29048 29049 29050 29051 29052 29053 29054 29055 29056 29057 29058 29059 29060 29061 29062 29063 29064 29065 29066 29067 29068 29069 29070 29071 29072 29073 29074 29075 29076 29077 29078 29079 29080 29081 29082 29083 29084 29085 29086 29087 29088 29089 29090 29091 29092 29093 29094 29095 29096 29097 29098 29099 |
# File 'lib/ovirtsdk4/types.rb', line 29019 def initialize(opts = {}) super(opts) self.allow_partial_import = opts[:allow_partial_import] self.async = opts[:async] self. = opts[:attachment] self. = opts[:authorized_key] 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.connection = opts[:connection] self.connectivity_timeout = opts[:connectivity_timeout] 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.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_enabled = opts[:maintenance_enabled] self.modified_bonds = opts[:modified_bonds] self.modified_labels = opts[:modified_labels] self. = opts[:modified_network_attachments] 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.snapshot = opts[:snapshot] 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.undeploy_hosted_engine = opts[:undeploy_hosted_engine] self.use_cloud_init = opts[:use_cloud_init] 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.
29104 29105 29106 29107 29108 29109 29110 29111 29112 29113 29114 29115 29116 29117 29118 29119 29120 29121 29122 29123 29124 29125 29126 29127 29128 29129 29130 29131 29132 29133 29134 29135 29136 29137 29138 29139 29140 29141 29142 29143 29144 29145 29146 29147 29148 29149 29150 29151 29152 29153 29154 29155 29156 29157 29158 29159 29160 29161 29162 29163 29164 29165 29166 29167 29168 29169 29170 29171 29172 29173 29174 29175 29176 29177 29178 29179 29180 29181 29182 29183 29184 |
# File 'lib/ovirtsdk4/types.rb', line 29104 def ==(other) super && @allow_partial_import == other.allow_partial_import && @async == other.async && @attachment == other. && @authorized_key == other. && @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 && @connection == other.connection && @connectivity_timeout == other.connectivity_timeout && @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 && @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_enabled == other.maintenance_enabled && @modified_bonds == other.modified_bonds && @modified_labels == other.modified_labels && @modified_network_attachments == other. && @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 && @snapshot == other.snapshot && @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 && @undeploy_hosted_engine == other.undeploy_hosted_engine && @use_cloud_init == other.use_cloud_init && @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 |
#allow_partial_import ⇒ Boolean
Returns the value of the allow_partial_import attribute.
27068 27069 27070 |
# File 'lib/ovirtsdk4/types.rb', line 27068 def allow_partial_import @allow_partial_import end |
#allow_partial_import=(value) ⇒ Object
Sets the value of the allow_partial_import attribute.
27077 27078 27079 |
# File 'lib/ovirtsdk4/types.rb', line 27077 def allow_partial_import=(value) @allow_partial_import = value end |
#async ⇒ Boolean
Returns the value of the async attribute.
27086 27087 27088 |
# File 'lib/ovirtsdk4/types.rb', line 27086 def async @async end |
#async=(value) ⇒ Object
Sets the value of the async attribute.
27095 27096 27097 |
# File 'lib/ovirtsdk4/types.rb', line 27095 def async=(value) @async = value end |
#attachment ⇒ DiskAttachment
Returns the value of the attachment attribute.
27104 27105 27106 |
# File 'lib/ovirtsdk4/types.rb', line 27104 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.
27117 27118 27119 27120 27121 27122 |
# File 'lib/ovirtsdk4/types.rb', line 27117 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.
27129 27130 27131 |
# File 'lib/ovirtsdk4/types.rb', line 27129 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.
27142 27143 27144 27145 27146 27147 |
# File 'lib/ovirtsdk4/types.rb', line 27142 def (value) if value.is_a?(Hash) value = AuthorizedKey.new(value) end @authorized_key = value end |
#bricks ⇒ Array<GlusterBrick>
Returns the value of the bricks attribute.
27154 27155 27156 |
# File 'lib/ovirtsdk4/types.rb', line 27154 def bricks @bricks end |
#bricks=(list) ⇒ Object
Sets the value of the bricks attribute.
27163 27164 27165 27166 27167 27168 27169 27170 27171 27172 27173 |
# File 'lib/ovirtsdk4/types.rb', line 27163 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.
27180 27181 27182 |
# File 'lib/ovirtsdk4/types.rb', line 27180 def certificates @certificates end |
#certificates=(list) ⇒ Object
Sets the value of the certificates attribute.
27189 27190 27191 27192 27193 27194 27195 27196 27197 27198 27199 |
# File 'lib/ovirtsdk4/types.rb', line 27189 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.
27206 27207 27208 |
# File 'lib/ovirtsdk4/types.rb', line 27206 def check_connectivity @check_connectivity end |
#check_connectivity=(value) ⇒ Object
Sets the value of the check_connectivity attribute.
27215 27216 27217 |
# File 'lib/ovirtsdk4/types.rb', line 27215 def check_connectivity=(value) @check_connectivity = value end |
#clone ⇒ Boolean
Returns the value of the clone attribute.
27224 27225 27226 |
# File 'lib/ovirtsdk4/types.rb', line 27224 def clone @clone end |
#clone=(value) ⇒ Object
Sets the value of the clone attribute.
27233 27234 27235 |
# File 'lib/ovirtsdk4/types.rb', line 27233 def clone=(value) @clone = value end |
#clone_permissions ⇒ Boolean
Returns the value of the clone_permissions attribute.
27242 27243 27244 |
# File 'lib/ovirtsdk4/types.rb', line 27242 def @clone_permissions end |
#clone_permissions=(value) ⇒ Object
Sets the value of the clone_permissions attribute.
27251 27252 27253 |
# File 'lib/ovirtsdk4/types.rb', line 27251 def (value) @clone_permissions = value end |
#cluster ⇒ Cluster
Returns the value of the cluster attribute.
27260 27261 27262 |
# File 'lib/ovirtsdk4/types.rb', line 27260 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.
27273 27274 27275 27276 27277 27278 |
# File 'lib/ovirtsdk4/types.rb', line 27273 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.
27285 27286 27287 |
# File 'lib/ovirtsdk4/types.rb', line 27285 def collapse_snapshots @collapse_snapshots end |
#collapse_snapshots=(value) ⇒ Object
Sets the value of the collapse_snapshots attribute.
27294 27295 27296 |
# File 'lib/ovirtsdk4/types.rb', line 27294 def collapse_snapshots=(value) @collapse_snapshots = value end |
#comment ⇒ String
Returns the value of the comment attribute.
27303 27304 27305 |
# File 'lib/ovirtsdk4/types.rb', line 27303 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment attribute.
27312 27313 27314 |
# File 'lib/ovirtsdk4/types.rb', line 27312 def comment=(value) @comment = value end |
#connection ⇒ StorageConnection
Returns the value of the connection attribute.
27321 27322 27323 |
# File 'lib/ovirtsdk4/types.rb', line 27321 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.
27334 27335 27336 27337 27338 27339 |
# File 'lib/ovirtsdk4/types.rb', line 27334 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.
27346 27347 27348 |
# File 'lib/ovirtsdk4/types.rb', line 27346 def connectivity_timeout @connectivity_timeout end |
#connectivity_timeout=(value) ⇒ Object
Sets the value of the connectivity_timeout attribute.
27355 27356 27357 |
# File 'lib/ovirtsdk4/types.rb', line 27355 def connectivity_timeout=(value) @connectivity_timeout = value end |
#data_center ⇒ DataCenter
Returns the value of the data_center attribute.
27364 27365 27366 |
# File 'lib/ovirtsdk4/types.rb', line 27364 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.
27377 27378 27379 27380 27381 27382 |
# File 'lib/ovirtsdk4/types.rb', line 27377 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.
27389 27390 27391 |
# File 'lib/ovirtsdk4/types.rb', line 27389 def deploy_hosted_engine @deploy_hosted_engine end |
#deploy_hosted_engine=(value) ⇒ Object
Sets the value of the deploy_hosted_engine attribute.
27398 27399 27400 |
# File 'lib/ovirtsdk4/types.rb', line 27398 def deploy_hosted_engine=(value) @deploy_hosted_engine = value end |
#description ⇒ String
Returns the value of the description attribute.
27407 27408 27409 |
# File 'lib/ovirtsdk4/types.rb', line 27407 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description attribute.
27416 27417 27418 |
# File 'lib/ovirtsdk4/types.rb', line 27416 def description=(value) @description = value end |
#details ⇒ GlusterVolumeProfileDetails
Returns the value of the details attribute.
27425 27426 27427 |
# File 'lib/ovirtsdk4/types.rb', line 27425 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.
27438 27439 27440 27441 27442 27443 |
# File 'lib/ovirtsdk4/types.rb', line 27438 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.
27450 27451 27452 |
# File 'lib/ovirtsdk4/types.rb', line 27450 def directory @directory end |
#directory=(value) ⇒ Object
Sets the value of the directory attribute.
27459 27460 27461 |
# File 'lib/ovirtsdk4/types.rb', line 27459 def directory=(value) @directory = value end |
#discard_snapshots ⇒ Boolean
Returns the value of the discard_snapshots attribute.
27468 27469 27470 |
# File 'lib/ovirtsdk4/types.rb', line 27468 def discard_snapshots @discard_snapshots end |
#discard_snapshots=(value) ⇒ Object
Sets the value of the discard_snapshots attribute.
27477 27478 27479 |
# File 'lib/ovirtsdk4/types.rb', line 27477 def discard_snapshots=(value) @discard_snapshots = value end |
#discovered_targets ⇒ Array<IscsiDetails>
Returns the value of the discovered_targets attribute.
27486 27487 27488 |
# File 'lib/ovirtsdk4/types.rb', line 27486 def discovered_targets @discovered_targets end |
#discovered_targets=(list) ⇒ Object
Sets the value of the discovered_targets attribute.
27495 27496 27497 27498 27499 27500 27501 27502 27503 27504 27505 |
# File 'lib/ovirtsdk4/types.rb', line 27495 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.
27512 27513 27514 |
# File 'lib/ovirtsdk4/types.rb', line 27512 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.
27525 27526 27527 27528 27529 27530 |
# File 'lib/ovirtsdk4/types.rb', line 27525 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.
27537 27538 27539 |
# File 'lib/ovirtsdk4/types.rb', line 27537 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.
27550 27551 27552 27553 27554 27555 |
# File 'lib/ovirtsdk4/types.rb', line 27550 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.
27562 27563 27564 |
# File 'lib/ovirtsdk4/types.rb', line 27562 def disks @disks end |
#disks=(list) ⇒ Object
Sets the value of the disks attribute.
27571 27572 27573 27574 27575 27576 27577 27578 27579 27580 27581 |
# File 'lib/ovirtsdk4/types.rb', line 27571 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.
27588 27589 27590 |
# File 'lib/ovirtsdk4/types.rb', line 27588 def exclusive @exclusive end |
#exclusive=(value) ⇒ Object
Sets the value of the exclusive attribute.
27597 27598 27599 |
# File 'lib/ovirtsdk4/types.rb', line 27597 def exclusive=(value) @exclusive = value end |
#fault ⇒ Fault
Returns the value of the fault attribute.
27606 27607 27608 |
# File 'lib/ovirtsdk4/types.rb', line 27606 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.
27619 27620 27621 27622 27623 27624 |
# File 'lib/ovirtsdk4/types.rb', line 27619 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.
27631 27632 27633 |
# File 'lib/ovirtsdk4/types.rb', line 27631 def fence_type @fence_type end |
#fence_type=(value) ⇒ Object
Sets the value of the fence_type attribute.
27640 27641 27642 |
# File 'lib/ovirtsdk4/types.rb', line 27640 def fence_type=(value) @fence_type = value end |
#filename ⇒ String
Returns the value of the filename attribute.
27649 27650 27651 |
# File 'lib/ovirtsdk4/types.rb', line 27649 def filename @filename end |
#filename=(value) ⇒ Object
Sets the value of the filename attribute.
27658 27659 27660 |
# File 'lib/ovirtsdk4/types.rb', line 27658 def filename=(value) @filename = value end |
#filter ⇒ Boolean
Returns the value of the filter attribute.
27667 27668 27669 |
# File 'lib/ovirtsdk4/types.rb', line 27667 def filter @filter end |
#filter=(value) ⇒ Object
Sets the value of the filter attribute.
27676 27677 27678 |
# File 'lib/ovirtsdk4/types.rb', line 27676 def filter=(value) @filter = value end |
#fix_layout ⇒ Boolean
Returns the value of the fix_layout attribute.
27685 27686 27687 |
# File 'lib/ovirtsdk4/types.rb', line 27685 def fix_layout @fix_layout end |
#fix_layout=(value) ⇒ Object
Sets the value of the fix_layout attribute.
27694 27695 27696 |
# File 'lib/ovirtsdk4/types.rb', line 27694 def fix_layout=(value) @fix_layout = value end |
#force ⇒ Boolean
Returns the value of the force attribute.
27703 27704 27705 |
# File 'lib/ovirtsdk4/types.rb', line 27703 def force @force end |
#force=(value) ⇒ Object
Sets the value of the force attribute.
27712 27713 27714 |
# File 'lib/ovirtsdk4/types.rb', line 27712 def force=(value) @force = value end |
#grace_period ⇒ GracePeriod
Returns the value of the grace_period attribute.
27721 27722 27723 |
# File 'lib/ovirtsdk4/types.rb', line 27721 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.
27734 27735 27736 27737 27738 27739 |
# File 'lib/ovirtsdk4/types.rb', line 27734 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.
29189 29190 29191 29192 29193 29194 29195 29196 29197 29198 29199 29200 29201 29202 29203 29204 29205 29206 29207 29208 29209 29210 29211 29212 29213 29214 29215 29216 29217 29218 29219 29220 29221 29222 29223 29224 29225 29226 29227 29228 29229 29230 29231 29232 29233 29234 29235 29236 29237 29238 29239 29240 29241 29242 29243 29244 29245 29246 29247 29248 29249 29250 29251 29252 29253 29254 29255 29256 29257 29258 29259 29260 29261 29262 29263 29264 29265 29266 29267 29268 29269 |
# File 'lib/ovirtsdk4/types.rb', line 29189 def hash super + @allow_partial_import.hash + @async.hash + @attachment.hash + @authorized_key.hash + @bricks.hash + @certificates.hash + @check_connectivity.hash + @clone.hash + @clone_permissions.hash + @cluster.hash + @collapse_snapshots.hash + @connection.hash + @connectivity_timeout.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 + @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_enabled.hash + @modified_bonds.hash + @modified_labels.hash + @modified_network_attachments.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 + @snapshot.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 + @undeploy_hosted_engine.hash + @use_cloud_init.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.
27746 27747 27748 |
# File 'lib/ovirtsdk4/types.rb', line 27746 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.
27759 27760 27761 27762 27763 27764 |
# File 'lib/ovirtsdk4/types.rb', line 27759 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.
27771 27772 27773 |
# File 'lib/ovirtsdk4/types.rb', line 27771 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id attribute.
27780 27781 27782 |
# File 'lib/ovirtsdk4/types.rb', line 27780 def id=(value) @id = value end |
#image ⇒ String
Returns the value of the image attribute.
27789 27790 27791 |
# File 'lib/ovirtsdk4/types.rb', line 27789 def image @image end |
#image=(value) ⇒ Object
Sets the value of the image attribute.
27798 27799 27800 |
# File 'lib/ovirtsdk4/types.rb', line 27798 def image=(value) @image = value end |
#image_transfer ⇒ ImageTransfer
Returns the value of the image_transfer attribute.
27807 27808 27809 |
# File 'lib/ovirtsdk4/types.rb', line 27807 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.
27820 27821 27822 27823 27824 27825 |
# File 'lib/ovirtsdk4/types.rb', line 27820 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.
27832 27833 27834 |
# File 'lib/ovirtsdk4/types.rb', line 27832 def import_as_template @import_as_template end |
#import_as_template=(value) ⇒ Object
Sets the value of the import_as_template attribute.
27841 27842 27843 |
# File 'lib/ovirtsdk4/types.rb', line 27841 def import_as_template=(value) @import_as_template = value end |
#is_attached ⇒ Boolean
Returns the value of the is_attached attribute.
27850 27851 27852 |
# File 'lib/ovirtsdk4/types.rb', line 27850 def is_attached @is_attached end |
#is_attached=(value) ⇒ Object
Sets the value of the is_attached attribute.
27859 27860 27861 |
# File 'lib/ovirtsdk4/types.rb', line 27859 def is_attached=(value) @is_attached = value end |
#iscsi ⇒ IscsiDetails
Returns the value of the iscsi attribute.
27868 27869 27870 |
# File 'lib/ovirtsdk4/types.rb', line 27868 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.
27881 27882 27883 27884 27885 27886 |
# File 'lib/ovirtsdk4/types.rb', line 27881 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.
27893 27894 27895 |
# File 'lib/ovirtsdk4/types.rb', line 27893 def iscsi_targets @iscsi_targets end |
#iscsi_targets=(list) ⇒ Object
Sets the value of the iscsi_targets attribute.
27902 27903 27904 |
# File 'lib/ovirtsdk4/types.rb', line 27902 def iscsi_targets=(list) @iscsi_targets = list end |
#job ⇒ Job
Returns the value of the job attribute.
27911 27912 27913 |
# File 'lib/ovirtsdk4/types.rb', line 27911 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.
27924 27925 27926 27927 27928 27929 |
# File 'lib/ovirtsdk4/types.rb', line 27924 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.
27936 27937 27938 |
# File 'lib/ovirtsdk4/types.rb', line 27936 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.
27949 27950 27951 27952 27953 27954 |
# File 'lib/ovirtsdk4/types.rb', line 27949 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.
27961 27962 27963 |
# File 'lib/ovirtsdk4/types.rb', line 27961 def logical_units @logical_units end |
#logical_units=(list) ⇒ Object
Sets the value of the logical_units attribute.
27970 27971 27972 27973 27974 27975 27976 27977 27978 27979 27980 |
# File 'lib/ovirtsdk4/types.rb', line 27970 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_enabled ⇒ Boolean
Returns the value of the maintenance_enabled attribute.
27987 27988 27989 |
# File 'lib/ovirtsdk4/types.rb', line 27987 def maintenance_enabled @maintenance_enabled end |
#maintenance_enabled=(value) ⇒ Object
Sets the value of the maintenance_enabled attribute.
27996 27997 27998 |
# File 'lib/ovirtsdk4/types.rb', line 27996 def maintenance_enabled=(value) @maintenance_enabled = value end |
#modified_bonds ⇒ Array<HostNic>
Returns the value of the modified_bonds attribute.
28005 28006 28007 |
# File 'lib/ovirtsdk4/types.rb', line 28005 def modified_bonds @modified_bonds end |
#modified_bonds=(list) ⇒ Object
Sets the value of the modified_bonds attribute.
28014 28015 28016 28017 28018 28019 28020 28021 28022 28023 28024 |
# File 'lib/ovirtsdk4/types.rb', line 28014 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.
28031 28032 28033 |
# File 'lib/ovirtsdk4/types.rb', line 28031 def modified_labels @modified_labels end |
#modified_labels=(list) ⇒ Object
Sets the value of the modified_labels attribute.
28040 28041 28042 28043 28044 28045 28046 28047 28048 28049 28050 |
# File 'lib/ovirtsdk4/types.rb', line 28040 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.
28057 28058 28059 |
# File 'lib/ovirtsdk4/types.rb', line 28057 def @modified_network_attachments end |
#modified_network_attachments=(list) ⇒ Object
Sets the value of the modified_network_attachments attribute.
28066 28067 28068 28069 28070 28071 28072 28073 28074 28075 28076 |
# File 'lib/ovirtsdk4/types.rb', line 28066 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.
28083 28084 28085 |
# File 'lib/ovirtsdk4/types.rb', line 28083 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name attribute.
28092 28093 28094 |
# File 'lib/ovirtsdk4/types.rb', line 28092 def name=(value) @name = value end |
#option ⇒ Option
Returns the value of the option attribute.
28101 28102 28103 |
# File 'lib/ovirtsdk4/types.rb', line 28101 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.
28114 28115 28116 28117 28118 28119 |
# File 'lib/ovirtsdk4/types.rb', line 28114 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.
28126 28127 28128 |
# File 'lib/ovirtsdk4/types.rb', line 28126 def pause @pause end |
#pause=(value) ⇒ Object
Sets the value of the pause attribute.
28135 28136 28137 |
# File 'lib/ovirtsdk4/types.rb', line 28135 def pause=(value) @pause = value end |
#permission ⇒ Permission
Returns the value of the permission attribute.
28144 28145 28146 |
# File 'lib/ovirtsdk4/types.rb', line 28144 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.
28157 28158 28159 28160 28161 28162 |
# File 'lib/ovirtsdk4/types.rb', line 28157 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.
28169 28170 28171 |
# File 'lib/ovirtsdk4/types.rb', line 28169 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.
28182 28183 28184 28185 28186 28187 |
# File 'lib/ovirtsdk4/types.rb', line 28182 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.
28194 28195 28196 |
# File 'lib/ovirtsdk4/types.rb', line 28194 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.
28207 28208 28209 28210 28211 28212 |
# File 'lib/ovirtsdk4/types.rb', line 28207 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.
28219 28220 28221 |
# File 'lib/ovirtsdk4/types.rb', line 28219 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.
28232 28233 28234 28235 28236 28237 |
# File 'lib/ovirtsdk4/types.rb', line 28232 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.
28244 28245 28246 |
# File 'lib/ovirtsdk4/types.rb', line 28244 def reason @reason end |
#reason=(value) ⇒ Object
Sets the value of the reason attribute.
28253 28254 28255 |
# File 'lib/ovirtsdk4/types.rb', line 28253 def reason=(value) @reason = value end |
#reassign_bad_macs ⇒ Boolean
Returns the value of the reassign_bad_macs attribute.
28262 28263 28264 |
# File 'lib/ovirtsdk4/types.rb', line 28262 def reassign_bad_macs @reassign_bad_macs end |
#reassign_bad_macs=(value) ⇒ Object
Sets the value of the reassign_bad_macs attribute.
28271 28272 28273 |
# File 'lib/ovirtsdk4/types.rb', line 28271 def reassign_bad_macs=(value) @reassign_bad_macs = value end |
#reboot ⇒ Boolean
Returns the value of the reboot attribute.
28280 28281 28282 |
# File 'lib/ovirtsdk4/types.rb', line 28280 def reboot @reboot end |
#reboot=(value) ⇒ Object
Sets the value of the reboot attribute.
28289 28290 28291 |
# File 'lib/ovirtsdk4/types.rb', line 28289 def reboot=(value) @reboot = value end |
#registration_configuration ⇒ RegistrationConfiguration
Returns the value of the registration_configuration attribute.
28298 28299 28300 |
# File 'lib/ovirtsdk4/types.rb', line 28298 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.
28311 28312 28313 28314 28315 28316 |
# File 'lib/ovirtsdk4/types.rb', line 28311 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.
28323 28324 28325 |
# File 'lib/ovirtsdk4/types.rb', line 28323 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.
28332 28333 28334 |
# File 'lib/ovirtsdk4/types.rb', line 28332 def remote_viewer_connection_file=(value) @remote_viewer_connection_file = value end |
#removed_bonds ⇒ Array<HostNic>
Returns the value of the removed_bonds attribute.
28341 28342 28343 |
# File 'lib/ovirtsdk4/types.rb', line 28341 def removed_bonds @removed_bonds end |
#removed_bonds=(list) ⇒ Object
Sets the value of the removed_bonds attribute.
28350 28351 28352 28353 28354 28355 28356 28357 28358 28359 28360 |
# File 'lib/ovirtsdk4/types.rb', line 28350 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.
28367 28368 28369 |
# File 'lib/ovirtsdk4/types.rb', line 28367 def removed_labels @removed_labels end |
#removed_labels=(list) ⇒ Object
Sets the value of the removed_labels attribute.
28376 28377 28378 28379 28380 28381 28382 28383 28384 28385 28386 |
# File 'lib/ovirtsdk4/types.rb', line 28376 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.
28393 28394 28395 |
# File 'lib/ovirtsdk4/types.rb', line 28393 def @removed_network_attachments end |
#removed_network_attachments=(list) ⇒ Object
Sets the value of the removed_network_attachments attribute.
28402 28403 28404 28405 28406 28407 28408 28409 28410 28411 28412 |
# File 'lib/ovirtsdk4/types.rb', line 28402 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.
28419 28420 28421 |
# File 'lib/ovirtsdk4/types.rb', line 28419 def resolution_type @resolution_type end |
#resolution_type=(value) ⇒ Object
Sets the value of the resolution_type attribute.
28428 28429 28430 |
# File 'lib/ovirtsdk4/types.rb', line 28428 def resolution_type=(value) @resolution_type = value end |
#restore_memory ⇒ Boolean
Returns the value of the restore_memory attribute.
28437 28438 28439 |
# File 'lib/ovirtsdk4/types.rb', line 28437 def restore_memory @restore_memory end |
#restore_memory=(value) ⇒ Object
Sets the value of the restore_memory attribute.
28446 28447 28448 |
# File 'lib/ovirtsdk4/types.rb', line 28446 def restore_memory=(value) @restore_memory = value end |
#root_password ⇒ String
Returns the value of the root_password attribute.
28455 28456 28457 |
# File 'lib/ovirtsdk4/types.rb', line 28455 def root_password @root_password end |
#root_password=(value) ⇒ Object
Sets the value of the root_password attribute.
28464 28465 28466 |
# File 'lib/ovirtsdk4/types.rb', line 28464 def root_password=(value) @root_password = value end |
#snapshot ⇒ Snapshot
Returns the value of the snapshot attribute.
28473 28474 28475 |
# File 'lib/ovirtsdk4/types.rb', line 28473 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.
28486 28487 28488 28489 28490 28491 |
# File 'lib/ovirtsdk4/types.rb', line 28486 def snapshot=(value) if value.is_a?(Hash) value = Snapshot.new(value) end @snapshot = value end |
#ssh ⇒ Ssh
Returns the value of the ssh attribute.
28498 28499 28500 |
# File 'lib/ovirtsdk4/types.rb', line 28498 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.
28511 28512 28513 28514 28515 28516 |
# File 'lib/ovirtsdk4/types.rb', line 28511 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.
28523 28524 28525 |
# File 'lib/ovirtsdk4/types.rb', line 28523 def status @status end |
#status=(value) ⇒ Object
Sets the value of the status attribute.
28532 28533 28534 |
# File 'lib/ovirtsdk4/types.rb', line 28532 def status=(value) @status = value end |
#stop_gluster_service ⇒ Boolean
Returns the value of the stop_gluster_service attribute.
28541 28542 28543 |
# File 'lib/ovirtsdk4/types.rb', line 28541 def stop_gluster_service @stop_gluster_service end |
#stop_gluster_service=(value) ⇒ Object
Sets the value of the stop_gluster_service attribute.
28550 28551 28552 |
# File 'lib/ovirtsdk4/types.rb', line 28550 def stop_gluster_service=(value) @stop_gluster_service = value end |
#storage_domain ⇒ StorageDomain
Returns the value of the storage_domain attribute.
28559 28560 28561 |
# File 'lib/ovirtsdk4/types.rb', line 28559 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.
28572 28573 28574 28575 28576 28577 |
# File 'lib/ovirtsdk4/types.rb', line 28572 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.
28584 28585 28586 |
# File 'lib/ovirtsdk4/types.rb', line 28584 def storage_domains @storage_domains end |
#storage_domains=(list) ⇒ Object
Sets the value of the storage_domains attribute.
28593 28594 28595 28596 28597 28598 28599 28600 28601 28602 28603 |
# File 'lib/ovirtsdk4/types.rb', line 28593 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.
28610 28611 28612 |
# File 'lib/ovirtsdk4/types.rb', line 28610 def succeeded @succeeded end |
#succeeded=(value) ⇒ Object
Sets the value of the succeeded attribute.
28619 28620 28621 |
# File 'lib/ovirtsdk4/types.rb', line 28619 def succeeded=(value) @succeeded = value end |
#synchronized_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the synchronized_network_attachments attribute.
28628 28629 28630 |
# File 'lib/ovirtsdk4/types.rb', line 28628 def @synchronized_network_attachments end |
#synchronized_network_attachments=(list) ⇒ Object
Sets the value of the synchronized_network_attachments attribute.
28637 28638 28639 28640 28641 28642 28643 28644 28645 28646 28647 |
# File 'lib/ovirtsdk4/types.rb', line 28637 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.
28654 28655 28656 |
# File 'lib/ovirtsdk4/types.rb', line 28654 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.
28667 28668 28669 28670 28671 28672 |
# File 'lib/ovirtsdk4/types.rb', line 28667 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.
28679 28680 28681 |
# File 'lib/ovirtsdk4/types.rb', line 28679 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.
28692 28693 28694 28695 28696 28697 |
# File 'lib/ovirtsdk4/types.rb', line 28692 def ticket=(value) if value.is_a?(Hash) value = Ticket.new(value) end @ticket = value end |
#undeploy_hosted_engine ⇒ Boolean
Returns the value of the undeploy_hosted_engine attribute.
28704 28705 28706 |
# File 'lib/ovirtsdk4/types.rb', line 28704 def undeploy_hosted_engine @undeploy_hosted_engine end |
#undeploy_hosted_engine=(value) ⇒ Object
Sets the value of the undeploy_hosted_engine attribute.
28713 28714 28715 |
# File 'lib/ovirtsdk4/types.rb', line 28713 def undeploy_hosted_engine=(value) @undeploy_hosted_engine = value end |
#use_cloud_init ⇒ Boolean
Returns the value of the use_cloud_init attribute.
28722 28723 28724 |
# File 'lib/ovirtsdk4/types.rb', line 28722 def use_cloud_init @use_cloud_init end |
#use_cloud_init=(value) ⇒ Object
Sets the value of the use_cloud_init attribute.
28731 28732 28733 |
# File 'lib/ovirtsdk4/types.rb', line 28731 def use_cloud_init=(value) @use_cloud_init = value end |
#use_sysprep ⇒ Boolean
Returns the value of the use_sysprep attribute.
28740 28741 28742 |
# File 'lib/ovirtsdk4/types.rb', line 28740 def use_sysprep @use_sysprep end |
#use_sysprep=(value) ⇒ Object
Sets the value of the use_sysprep attribute.
28749 28750 28751 |
# File 'lib/ovirtsdk4/types.rb', line 28749 def use_sysprep=(value) @use_sysprep = value end |
#virtual_functions_configuration ⇒ HostNicVirtualFunctionsConfiguration
Returns the value of the virtual_functions_configuration attribute.
28758 28759 28760 |
# File 'lib/ovirtsdk4/types.rb', line 28758 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.
28771 28772 28773 28774 28775 28776 |
# File 'lib/ovirtsdk4/types.rb', line 28771 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.
28783 28784 28785 |
# File 'lib/ovirtsdk4/types.rb', line 28783 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.
28796 28797 28798 28799 28800 28801 |
# File 'lib/ovirtsdk4/types.rb', line 28796 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.
28808 28809 28810 |
# File 'lib/ovirtsdk4/types.rb', line 28808 def vnic_profile_mappings @vnic_profile_mappings end |
#vnic_profile_mappings=(list) ⇒ Object
Sets the value of the vnic_profile_mappings attribute.
28817 28818 28819 28820 28821 28822 28823 28824 28825 28826 28827 |
# File 'lib/ovirtsdk4/types.rb', line 28817 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.
28834 28835 28836 |
# File 'lib/ovirtsdk4/types.rb', line 28834 def volatile @volatile end |
#volatile=(value) ⇒ Object
Sets the value of the volatile attribute.
28843 28844 28845 |
# File 'lib/ovirtsdk4/types.rb', line 28843 def volatile=(value) @volatile = value end |