Class: OvirtSDK4::Action
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::Action
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary collapse
-
#==(other) ⇒ Object
Returns
true
ifself
andother
have the same attributes and values. -
#allow_partial_import ⇒ Boolean
Returns the value of the
allow_partial_import
attribute. -
#allow_partial_import=(value) ⇒ Object
Sets the value of the
allow_partial_import
attribute. -
#async ⇒ Boolean
Returns the value of the
async
attribute. -
#async=(value) ⇒ Object
Sets the value of the
async
attribute. -
#attachment ⇒ DiskAttachment
Returns the value of the
attachment
attribute. -
#attachment=(value) ⇒ Object
Sets the value of the
attachment
attribute. -
#authorized_key ⇒ AuthorizedKey
Returns the value of the
authorized_key
attribute. -
#authorized_key=(value) ⇒ Object
Sets the value of the
authorized_key
attribute. -
#bricks ⇒ Array<GlusterBrick>
Returns the value of the
bricks
attribute. -
#bricks=(list) ⇒ Object
Sets the value of the
bricks
attribute. -
#certificates ⇒ Array<Certificate>
Returns the value of the
certificates
attribute. -
#certificates=(list) ⇒ Object
Sets the value of the
certificates
attribute. -
#check_connectivity ⇒ Boolean
Returns the value of the
check_connectivity
attribute. -
#check_connectivity=(value) ⇒ Object
Sets the value of the
check_connectivity
attribute. -
#clone ⇒ Boolean
Returns the value of the
clone
attribute. -
#clone=(value) ⇒ Object
Sets the value of the
clone
attribute. -
#clone_permissions ⇒ Boolean
Returns the value of the
clone_permissions
attribute. -
#clone_permissions=(value) ⇒ Object
Sets the value of the
clone_permissions
attribute. -
#cluster ⇒ Cluster
Returns the value of the
cluster
attribute. -
#cluster=(value) ⇒ Object
Sets the value of the
cluster
attribute. -
#collapse_snapshots ⇒ Boolean
Returns the value of the
collapse_snapshots
attribute. -
#collapse_snapshots=(value) ⇒ Object
Sets the value of the
collapse_snapshots
attribute. -
#comment ⇒ String
Returns the value of the
comment
attribute. -
#comment=(value) ⇒ Object
Sets the value of the
comment
attribute. -
#connection ⇒ StorageConnection
Returns the value of the
connection
attribute. -
#connection=(value) ⇒ Object
Sets the value of the
connection
attribute. -
#connectivity_timeout ⇒ Integer
Returns the value of the
connectivity_timeout
attribute. -
#connectivity_timeout=(value) ⇒ Object
Sets the value of the
connectivity_timeout
attribute. -
#data_center ⇒ DataCenter
Returns the value of the
data_center
attribute. -
#data_center=(value) ⇒ Object
Sets the value of the
data_center
attribute. -
#deploy_hosted_engine ⇒ Boolean
Returns the value of the
deploy_hosted_engine
attribute. -
#deploy_hosted_engine=(value) ⇒ Object
Sets the value of the
deploy_hosted_engine
attribute. -
#description ⇒ String
Returns the value of the
description
attribute. -
#description=(value) ⇒ Object
Sets the value of the
description
attribute. -
#details ⇒ GlusterVolumeProfileDetails
Returns the value of the
details
attribute. -
#details=(value) ⇒ Object
Sets the value of the
details
attribute. -
#directory ⇒ String
Returns the value of the
directory
attribute. -
#directory=(value) ⇒ Object
Sets the value of the
directory
attribute. -
#discard_snapshots ⇒ Boolean
Returns the value of the
discard_snapshots
attribute. -
#discard_snapshots=(value) ⇒ Object
Sets the value of the
discard_snapshots
attribute. -
#discovered_targets ⇒ Array<IscsiDetails>
Returns the value of the
discovered_targets
attribute. -
#discovered_targets=(list) ⇒ Object
Sets the value of the
discovered_targets
attribute. -
#disk ⇒ Disk
Returns the value of the
disk
attribute. -
#disk=(value) ⇒ Object
Sets the value of the
disk
attribute. -
#disk_profile ⇒ DiskProfile
Returns the value of the
disk_profile
attribute. -
#disk_profile=(value) ⇒ Object
Sets the value of the
disk_profile
attribute. -
#disks ⇒ Array<Disk>
Returns the value of the
disks
attribute. -
#disks=(list) ⇒ Object
Sets the value of the
disks
attribute. -
#exclusive ⇒ Boolean
Returns the value of the
exclusive
attribute. -
#exclusive=(value) ⇒ Object
Sets the value of the
exclusive
attribute. -
#fault ⇒ Fault
Returns the value of the
fault
attribute. -
#fault=(value) ⇒ Object
Sets the value of the
fault
attribute. -
#fence_type ⇒ String
Returns the value of the
fence_type
attribute. -
#fence_type=(value) ⇒ Object
Sets the value of the
fence_type
attribute. -
#filename ⇒ String
Returns the value of the
filename
attribute. -
#filename=(value) ⇒ Object
Sets the value of the
filename
attribute. -
#filter ⇒ Boolean
Returns the value of the
filter
attribute. -
#filter=(value) ⇒ Object
Sets the value of the
filter
attribute. -
#fix_layout ⇒ Boolean
Returns the value of the
fix_layout
attribute. -
#fix_layout=(value) ⇒ Object
Sets the value of the
fix_layout
attribute. -
#force ⇒ Boolean
Returns the value of the
force
attribute. -
#force=(value) ⇒ Object
Sets the value of the
force
attribute. -
#grace_period ⇒ GracePeriod
Returns the value of the
grace_period
attribute. -
#grace_period=(value) ⇒ Object
Sets the value of the
grace_period
attribute. -
#hash ⇒ Object
Generates a hash value for this object.
-
#host ⇒ Host
Returns the value of the
host
attribute. -
#host=(value) ⇒ Object
Sets the value of the
host
attribute. -
#id ⇒ String
Returns the value of the
id
attribute. -
#id=(value) ⇒ Object
Sets the value of the
id
attribute. -
#image ⇒ String
Returns the value of the
image
attribute. -
#image=(value) ⇒ Object
Sets the value of the
image
attribute. -
#image_transfer ⇒ ImageTransfer
Returns the value of the
image_transfer
attribute. -
#image_transfer=(value) ⇒ Object
Sets the value of the
image_transfer
attribute. -
#import_as_template ⇒ Boolean
Returns the value of the
import_as_template
attribute. -
#import_as_template=(value) ⇒ Object
Sets the value of the
import_as_template
attribute. -
#initialize(opts = {}) ⇒ Action
constructor
Creates a new instance of the Action class.
-
#is_attached ⇒ Boolean
Returns the value of the
is_attached
attribute. -
#is_attached=(value) ⇒ Object
Sets the value of the
is_attached
attribute. -
#iscsi ⇒ IscsiDetails
Returns the value of the
iscsi
attribute. -
#iscsi=(value) ⇒ Object
Sets the value of the
iscsi
attribute. -
#iscsi_targets ⇒ Array<String>
Returns the value of the
iscsi_targets
attribute. -
#iscsi_targets=(list) ⇒ Object
Sets the value of the
iscsi_targets
attribute. -
#job ⇒ Job
Returns the value of the
job
attribute. -
#job=(value) ⇒ Object
Sets the value of the
job
attribute. -
#lease ⇒ StorageDomainLease
Returns the value of the
lease
attribute. -
#lease=(value) ⇒ Object
Sets the value of the
lease
attribute. -
#logical_units ⇒ Array<LogicalUnit>
Returns the value of the
logical_units
attribute. -
#logical_units=(list) ⇒ Object
Sets the value of the
logical_units
attribute. -
#maintenance_enabled ⇒ Boolean
Returns the value of the
maintenance_enabled
attribute. -
#maintenance_enabled=(value) ⇒ Object
Sets the value of the
maintenance_enabled
attribute. -
#modified_bonds ⇒ Array<HostNic>
Returns the value of the
modified_bonds
attribute. -
#modified_bonds=(list) ⇒ Object
Sets the value of the
modified_bonds
attribute. -
#modified_labels ⇒ Array<NetworkLabel>
Returns the value of the
modified_labels
attribute. -
#modified_labels=(list) ⇒ Object
Sets the value of the
modified_labels
attribute. -
#modified_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the
modified_network_attachments
attribute. -
#modified_network_attachments=(list) ⇒ Object
Sets the value of the
modified_network_attachments
attribute. -
#name ⇒ String
Returns the value of the
name
attribute. -
#name=(value) ⇒ Object
Sets the value of the
name
attribute. -
#option ⇒ Option
Returns the value of the
option
attribute. -
#option=(value) ⇒ Object
Sets the value of the
option
attribute. -
#pause ⇒ Boolean
Returns the value of the
pause
attribute. -
#pause=(value) ⇒ Object
Sets the value of the
pause
attribute. -
#permission ⇒ Permission
Returns the value of the
permission
attribute. -
#permission=(value) ⇒ Object
Sets the value of the
permission
attribute. -
#power_management ⇒ PowerManagement
Returns the value of the
power_management
attribute. -
#power_management=(value) ⇒ Object
Sets the value of the
power_management
attribute. -
#proxy_ticket ⇒ ProxyTicket
Returns the value of the
proxy_ticket
attribute. -
#proxy_ticket=(value) ⇒ Object
Sets the value of the
proxy_ticket
attribute. -
#quota ⇒ Quota
Returns the value of the
quota
attribute. -
#quota=(value) ⇒ Object
Sets the value of the
quota
attribute. -
#reason ⇒ String
Returns the value of the
reason
attribute. -
#reason=(value) ⇒ Object
Sets the value of the
reason
attribute. -
#reassign_bad_macs ⇒ Boolean
Returns the value of the
reassign_bad_macs
attribute. -
#reassign_bad_macs=(value) ⇒ Object
Sets the value of the
reassign_bad_macs
attribute. -
#reboot ⇒ Boolean
Returns the value of the
reboot
attribute. -
#reboot=(value) ⇒ Object
Sets the value of the
reboot
attribute. -
#registration_configuration ⇒ RegistrationConfiguration
Returns the value of the
registration_configuration
attribute. -
#registration_configuration=(value) ⇒ Object
Sets the value of the
registration_configuration
attribute. -
#remote_viewer_connection_file ⇒ String
Returns the value of the
remote_viewer_connection_file
attribute. -
#remote_viewer_connection_file=(value) ⇒ Object
Sets the value of the
remote_viewer_connection_file
attribute. -
#removed_bonds ⇒ Array<HostNic>
Returns the value of the
removed_bonds
attribute. -
#removed_bonds=(list) ⇒ Object
Sets the value of the
removed_bonds
attribute. -
#removed_labels ⇒ Array<NetworkLabel>
Returns the value of the
removed_labels
attribute. -
#removed_labels=(list) ⇒ Object
Sets the value of the
removed_labels
attribute. -
#removed_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the
removed_network_attachments
attribute. -
#removed_network_attachments=(list) ⇒ Object
Sets the value of the
removed_network_attachments
attribute. -
#resolution_type ⇒ String
Returns the value of the
resolution_type
attribute. -
#resolution_type=(value) ⇒ Object
Sets the value of the
resolution_type
attribute. -
#restore_memory ⇒ Boolean
Returns the value of the
restore_memory
attribute. -
#restore_memory=(value) ⇒ Object
Sets the value of the
restore_memory
attribute. -
#root_password ⇒ String
Returns the value of the
root_password
attribute. -
#root_password=(value) ⇒ Object
Sets the value of the
root_password
attribute. -
#seal ⇒ Boolean
Returns the value of the
seal
attribute. -
#seal=(value) ⇒ Object
Sets the value of the
seal
attribute. -
#snapshot ⇒ Snapshot
Returns the value of the
snapshot
attribute. -
#snapshot=(value) ⇒ Object
Sets the value of the
snapshot
attribute. -
#ssh ⇒ Ssh
Returns the value of the
ssh
attribute. -
#ssh=(value) ⇒ Object
Sets the value of the
ssh
attribute. -
#status ⇒ String
Returns the value of the
status
attribute. -
#status=(value) ⇒ Object
Sets the value of the
status
attribute. -
#stop_gluster_service ⇒ Boolean
Returns the value of the
stop_gluster_service
attribute. -
#stop_gluster_service=(value) ⇒ Object
Sets the value of the
stop_gluster_service
attribute. -
#storage_domain ⇒ StorageDomain
Returns the value of the
storage_domain
attribute. -
#storage_domain=(value) ⇒ Object
Sets the value of the
storage_domain
attribute. -
#storage_domains ⇒ Array<StorageDomain>
Returns the value of the
storage_domains
attribute. -
#storage_domains=(list) ⇒ Object
Sets the value of the
storage_domains
attribute. -
#succeeded ⇒ Boolean
Returns the value of the
succeeded
attribute. -
#succeeded=(value) ⇒ Object
Sets the value of the
succeeded
attribute. -
#synchronized_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the
synchronized_network_attachments
attribute. -
#synchronized_network_attachments=(list) ⇒ Object
Sets the value of the
synchronized_network_attachments
attribute. -
#template ⇒ Template
Returns the value of the
template
attribute. -
#template=(value) ⇒ Object
Sets the value of the
template
attribute. -
#ticket ⇒ Ticket
Returns the value of the
ticket
attribute. -
#ticket=(value) ⇒ Object
Sets the value of the
ticket
attribute. -
#undeploy_hosted_engine ⇒ Boolean
Returns the value of the
undeploy_hosted_engine
attribute. -
#undeploy_hosted_engine=(value) ⇒ Object
Sets the value of the
undeploy_hosted_engine
attribute. -
#use_cloud_init ⇒ Boolean
Returns the value of the
use_cloud_init
attribute. -
#use_cloud_init=(value) ⇒ Object
Sets the value of the
use_cloud_init
attribute. -
#use_sysprep ⇒ Boolean
Returns the value of the
use_sysprep
attribute. -
#use_sysprep=(value) ⇒ Object
Sets the value of the
use_sysprep
attribute. -
#virtual_functions_configuration ⇒ HostNicVirtualFunctionsConfiguration
Returns the value of the
virtual_functions_configuration
attribute. -
#virtual_functions_configuration=(value) ⇒ Object
Sets the value of the
virtual_functions_configuration
attribute. -
#vm ⇒ Vm
Returns the value of the
vm
attribute. -
#vm=(value) ⇒ Object
Sets the value of the
vm
attribute. -
#vnic_profile_mappings ⇒ Array<VnicProfileMapping>
Returns the value of the
vnic_profile_mappings
attribute. -
#vnic_profile_mappings=(list) ⇒ Object
Sets the value of the
vnic_profile_mappings
attribute. -
#volatile ⇒ Boolean
Returns the value of the
volatile
attribute. -
#volatile=(value) ⇒ Object
Sets the value of the
volatile
attribute.
Methods included from Type
Constructor Details
#initialize(opts = {}) ⇒ Action
Creates a new instance of the OvirtSDK4::Action class.
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 29185 29186 29187 29188 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 |
# File 'lib/ovirtsdk4/types.rb', line 29138 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.seal = opts[:seal] 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.
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 29270 29271 29272 29273 29274 29275 29276 29277 29278 29279 29280 29281 29282 29283 29284 29285 29286 29287 29288 29289 29290 29291 29292 29293 29294 29295 29296 29297 29298 29299 29300 29301 29302 29303 29304 29305 |
# File 'lib/ovirtsdk4/types.rb', line 29224 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 && @seal == other.seal && @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.
27167 27168 27169 |
# File 'lib/ovirtsdk4/types.rb', line 27167 def allow_partial_import @allow_partial_import end |
#allow_partial_import=(value) ⇒ Object
Sets the value of the allow_partial_import
attribute.
27176 27177 27178 |
# File 'lib/ovirtsdk4/types.rb', line 27176 def allow_partial_import=(value) @allow_partial_import = value end |
#async ⇒ Boolean
Returns the value of the async
attribute.
27185 27186 27187 |
# File 'lib/ovirtsdk4/types.rb', line 27185 def async @async end |
#async=(value) ⇒ Object
Sets the value of the async
attribute.
27194 27195 27196 |
# File 'lib/ovirtsdk4/types.rb', line 27194 def async=(value) @async = value end |
#attachment ⇒ DiskAttachment
Returns the value of the attachment
attribute.
27203 27204 27205 |
# File 'lib/ovirtsdk4/types.rb', line 27203 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.
27216 27217 27218 27219 27220 27221 |
# File 'lib/ovirtsdk4/types.rb', line 27216 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.
27228 27229 27230 |
# File 'lib/ovirtsdk4/types.rb', line 27228 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.
27241 27242 27243 27244 27245 27246 |
# File 'lib/ovirtsdk4/types.rb', line 27241 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.
27253 27254 27255 |
# File 'lib/ovirtsdk4/types.rb', line 27253 def bricks @bricks end |
#bricks=(list) ⇒ Object
Sets the value of the bricks
attribute.
27262 27263 27264 27265 27266 27267 27268 27269 27270 27271 27272 |
# File 'lib/ovirtsdk4/types.rb', line 27262 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.
27279 27280 27281 |
# File 'lib/ovirtsdk4/types.rb', line 27279 def certificates @certificates end |
#certificates=(list) ⇒ Object
Sets the value of the certificates
attribute.
27288 27289 27290 27291 27292 27293 27294 27295 27296 27297 27298 |
# File 'lib/ovirtsdk4/types.rb', line 27288 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.
27305 27306 27307 |
# File 'lib/ovirtsdk4/types.rb', line 27305 def check_connectivity @check_connectivity end |
#check_connectivity=(value) ⇒ Object
Sets the value of the check_connectivity
attribute.
27314 27315 27316 |
# File 'lib/ovirtsdk4/types.rb', line 27314 def check_connectivity=(value) @check_connectivity = value end |
#clone ⇒ Boolean
Returns the value of the clone
attribute.
27323 27324 27325 |
# File 'lib/ovirtsdk4/types.rb', line 27323 def clone @clone end |
#clone=(value) ⇒ Object
Sets the value of the clone
attribute.
27332 27333 27334 |
# File 'lib/ovirtsdk4/types.rb', line 27332 def clone=(value) @clone = value end |
#clone_permissions ⇒ Boolean
Returns the value of the clone_permissions
attribute.
27341 27342 27343 |
# File 'lib/ovirtsdk4/types.rb', line 27341 def @clone_permissions end |
#clone_permissions=(value) ⇒ Object
Sets the value of the clone_permissions
attribute.
27350 27351 27352 |
# File 'lib/ovirtsdk4/types.rb', line 27350 def (value) @clone_permissions = value end |
#cluster ⇒ Cluster
Returns the value of the cluster
attribute.
27359 27360 27361 |
# File 'lib/ovirtsdk4/types.rb', line 27359 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.
27372 27373 27374 27375 27376 27377 |
# File 'lib/ovirtsdk4/types.rb', line 27372 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.
27384 27385 27386 |
# File 'lib/ovirtsdk4/types.rb', line 27384 def collapse_snapshots @collapse_snapshots end |
#collapse_snapshots=(value) ⇒ Object
Sets the value of the collapse_snapshots
attribute.
27393 27394 27395 |
# File 'lib/ovirtsdk4/types.rb', line 27393 def collapse_snapshots=(value) @collapse_snapshots = value end |
#comment ⇒ String
Returns the value of the comment
attribute.
27402 27403 27404 |
# File 'lib/ovirtsdk4/types.rb', line 27402 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment
attribute.
27411 27412 27413 |
# File 'lib/ovirtsdk4/types.rb', line 27411 def comment=(value) @comment = value end |
#connection ⇒ StorageConnection
Returns the value of the connection
attribute.
27420 27421 27422 |
# File 'lib/ovirtsdk4/types.rb', line 27420 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.
27433 27434 27435 27436 27437 27438 |
# File 'lib/ovirtsdk4/types.rb', line 27433 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.
27445 27446 27447 |
# File 'lib/ovirtsdk4/types.rb', line 27445 def connectivity_timeout @connectivity_timeout end |
#connectivity_timeout=(value) ⇒ Object
Sets the value of the connectivity_timeout
attribute.
27454 27455 27456 |
# File 'lib/ovirtsdk4/types.rb', line 27454 def connectivity_timeout=(value) @connectivity_timeout = value end |
#data_center ⇒ DataCenter
Returns the value of the data_center
attribute.
27463 27464 27465 |
# File 'lib/ovirtsdk4/types.rb', line 27463 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.
27476 27477 27478 27479 27480 27481 |
# File 'lib/ovirtsdk4/types.rb', line 27476 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.
27488 27489 27490 |
# File 'lib/ovirtsdk4/types.rb', line 27488 def deploy_hosted_engine @deploy_hosted_engine end |
#deploy_hosted_engine=(value) ⇒ Object
Sets the value of the deploy_hosted_engine
attribute.
27497 27498 27499 |
# File 'lib/ovirtsdk4/types.rb', line 27497 def deploy_hosted_engine=(value) @deploy_hosted_engine = value end |
#description ⇒ String
Returns the value of the description
attribute.
27506 27507 27508 |
# File 'lib/ovirtsdk4/types.rb', line 27506 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description
attribute.
27515 27516 27517 |
# File 'lib/ovirtsdk4/types.rb', line 27515 def description=(value) @description = value end |
#details ⇒ GlusterVolumeProfileDetails
Returns the value of the details
attribute.
27524 27525 27526 |
# File 'lib/ovirtsdk4/types.rb', line 27524 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.
27537 27538 27539 27540 27541 27542 |
# File 'lib/ovirtsdk4/types.rb', line 27537 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.
27549 27550 27551 |
# File 'lib/ovirtsdk4/types.rb', line 27549 def directory @directory end |
#directory=(value) ⇒ Object
Sets the value of the directory
attribute.
27558 27559 27560 |
# File 'lib/ovirtsdk4/types.rb', line 27558 def directory=(value) @directory = value end |
#discard_snapshots ⇒ Boolean
Returns the value of the discard_snapshots
attribute.
27567 27568 27569 |
# File 'lib/ovirtsdk4/types.rb', line 27567 def discard_snapshots @discard_snapshots end |
#discard_snapshots=(value) ⇒ Object
Sets the value of the discard_snapshots
attribute.
27576 27577 27578 |
# File 'lib/ovirtsdk4/types.rb', line 27576 def discard_snapshots=(value) @discard_snapshots = value end |
#discovered_targets ⇒ Array<IscsiDetails>
Returns the value of the discovered_targets
attribute.
27585 27586 27587 |
# File 'lib/ovirtsdk4/types.rb', line 27585 def discovered_targets @discovered_targets end |
#discovered_targets=(list) ⇒ Object
Sets the value of the discovered_targets
attribute.
27594 27595 27596 27597 27598 27599 27600 27601 27602 27603 27604 |
# File 'lib/ovirtsdk4/types.rb', line 27594 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.
27611 27612 27613 |
# File 'lib/ovirtsdk4/types.rb', line 27611 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.
27624 27625 27626 27627 27628 27629 |
# File 'lib/ovirtsdk4/types.rb', line 27624 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.
27636 27637 27638 |
# File 'lib/ovirtsdk4/types.rb', line 27636 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.
27649 27650 27651 27652 27653 27654 |
# File 'lib/ovirtsdk4/types.rb', line 27649 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.
27661 27662 27663 |
# File 'lib/ovirtsdk4/types.rb', line 27661 def disks @disks end |
#disks=(list) ⇒ Object
Sets the value of the disks
attribute.
27670 27671 27672 27673 27674 27675 27676 27677 27678 27679 27680 |
# File 'lib/ovirtsdk4/types.rb', line 27670 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.
27687 27688 27689 |
# File 'lib/ovirtsdk4/types.rb', line 27687 def exclusive @exclusive end |
#exclusive=(value) ⇒ Object
Sets the value of the exclusive
attribute.
27696 27697 27698 |
# File 'lib/ovirtsdk4/types.rb', line 27696 def exclusive=(value) @exclusive = value end |
#fault ⇒ Fault
Returns the value of the fault
attribute.
27705 27706 27707 |
# File 'lib/ovirtsdk4/types.rb', line 27705 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.
27718 27719 27720 27721 27722 27723 |
# File 'lib/ovirtsdk4/types.rb', line 27718 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.
27730 27731 27732 |
# File 'lib/ovirtsdk4/types.rb', line 27730 def fence_type @fence_type end |
#fence_type=(value) ⇒ Object
Sets the value of the fence_type
attribute.
27739 27740 27741 |
# File 'lib/ovirtsdk4/types.rb', line 27739 def fence_type=(value) @fence_type = value end |
#filename ⇒ String
Returns the value of the filename
attribute.
27748 27749 27750 |
# File 'lib/ovirtsdk4/types.rb', line 27748 def filename @filename end |
#filename=(value) ⇒ Object
Sets the value of the filename
attribute.
27757 27758 27759 |
# File 'lib/ovirtsdk4/types.rb', line 27757 def filename=(value) @filename = value end |
#filter ⇒ Boolean
Returns the value of the filter
attribute.
27766 27767 27768 |
# File 'lib/ovirtsdk4/types.rb', line 27766 def filter @filter end |
#filter=(value) ⇒ Object
Sets the value of the filter
attribute.
27775 27776 27777 |
# File 'lib/ovirtsdk4/types.rb', line 27775 def filter=(value) @filter = value end |
#fix_layout ⇒ Boolean
Returns the value of the fix_layout
attribute.
27784 27785 27786 |
# File 'lib/ovirtsdk4/types.rb', line 27784 def fix_layout @fix_layout end |
#fix_layout=(value) ⇒ Object
Sets the value of the fix_layout
attribute.
27793 27794 27795 |
# File 'lib/ovirtsdk4/types.rb', line 27793 def fix_layout=(value) @fix_layout = value end |
#force ⇒ Boolean
Returns the value of the force
attribute.
27802 27803 27804 |
# File 'lib/ovirtsdk4/types.rb', line 27802 def force @force end |
#force=(value) ⇒ Object
Sets the value of the force
attribute.
27811 27812 27813 |
# File 'lib/ovirtsdk4/types.rb', line 27811 def force=(value) @force = value end |
#grace_period ⇒ GracePeriod
Returns the value of the grace_period
attribute.
27820 27821 27822 |
# File 'lib/ovirtsdk4/types.rb', line 27820 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.
27833 27834 27835 27836 27837 27838 |
# File 'lib/ovirtsdk4/types.rb', line 27833 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.
29310 29311 29312 29313 29314 29315 29316 29317 29318 29319 29320 29321 29322 29323 29324 29325 29326 29327 29328 29329 29330 29331 29332 29333 29334 29335 29336 29337 29338 29339 29340 29341 29342 29343 29344 29345 29346 29347 29348 29349 29350 29351 29352 29353 29354 29355 29356 29357 29358 29359 29360 29361 29362 29363 29364 29365 29366 29367 29368 29369 29370 29371 29372 29373 29374 29375 29376 29377 29378 29379 29380 29381 29382 29383 29384 29385 29386 29387 29388 29389 29390 29391 |
# File 'lib/ovirtsdk4/types.rb', line 29310 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 + @seal.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.
27845 27846 27847 |
# File 'lib/ovirtsdk4/types.rb', line 27845 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.
27858 27859 27860 27861 27862 27863 |
# File 'lib/ovirtsdk4/types.rb', line 27858 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.
27870 27871 27872 |
# File 'lib/ovirtsdk4/types.rb', line 27870 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id
attribute.
27879 27880 27881 |
# File 'lib/ovirtsdk4/types.rb', line 27879 def id=(value) @id = value end |
#image ⇒ String
Returns the value of the image
attribute.
27888 27889 27890 |
# File 'lib/ovirtsdk4/types.rb', line 27888 def image @image end |
#image=(value) ⇒ Object
Sets the value of the image
attribute.
27897 27898 27899 |
# File 'lib/ovirtsdk4/types.rb', line 27897 def image=(value) @image = value end |
#image_transfer ⇒ ImageTransfer
Returns the value of the image_transfer
attribute.
27906 27907 27908 |
# File 'lib/ovirtsdk4/types.rb', line 27906 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.
27919 27920 27921 27922 27923 27924 |
# File 'lib/ovirtsdk4/types.rb', line 27919 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.
27931 27932 27933 |
# File 'lib/ovirtsdk4/types.rb', line 27931 def import_as_template @import_as_template end |
#import_as_template=(value) ⇒ Object
Sets the value of the import_as_template
attribute.
27940 27941 27942 |
# File 'lib/ovirtsdk4/types.rb', line 27940 def import_as_template=(value) @import_as_template = value end |
#is_attached ⇒ Boolean
Returns the value of the is_attached
attribute.
27949 27950 27951 |
# File 'lib/ovirtsdk4/types.rb', line 27949 def is_attached @is_attached end |
#is_attached=(value) ⇒ Object
Sets the value of the is_attached
attribute.
27958 27959 27960 |
# File 'lib/ovirtsdk4/types.rb', line 27958 def is_attached=(value) @is_attached = value end |
#iscsi ⇒ IscsiDetails
Returns the value of the iscsi
attribute.
27967 27968 27969 |
# File 'lib/ovirtsdk4/types.rb', line 27967 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.
27980 27981 27982 27983 27984 27985 |
# File 'lib/ovirtsdk4/types.rb', line 27980 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.
27992 27993 27994 |
# File 'lib/ovirtsdk4/types.rb', line 27992 def iscsi_targets @iscsi_targets end |
#iscsi_targets=(list) ⇒ Object
Sets the value of the iscsi_targets
attribute.
28001 28002 28003 |
# File 'lib/ovirtsdk4/types.rb', line 28001 def iscsi_targets=(list) @iscsi_targets = list end |
#job ⇒ Job
Returns the value of the job
attribute.
28010 28011 28012 |
# File 'lib/ovirtsdk4/types.rb', line 28010 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.
28023 28024 28025 28026 28027 28028 |
# File 'lib/ovirtsdk4/types.rb', line 28023 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.
28035 28036 28037 |
# File 'lib/ovirtsdk4/types.rb', line 28035 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.
28048 28049 28050 28051 28052 28053 |
# File 'lib/ovirtsdk4/types.rb', line 28048 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.
28060 28061 28062 |
# File 'lib/ovirtsdk4/types.rb', line 28060 def logical_units @logical_units end |
#logical_units=(list) ⇒ Object
Sets the value of the logical_units
attribute.
28069 28070 28071 28072 28073 28074 28075 28076 28077 28078 28079 |
# File 'lib/ovirtsdk4/types.rb', line 28069 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.
28086 28087 28088 |
# File 'lib/ovirtsdk4/types.rb', line 28086 def maintenance_enabled @maintenance_enabled end |
#maintenance_enabled=(value) ⇒ Object
Sets the value of the maintenance_enabled
attribute.
28095 28096 28097 |
# File 'lib/ovirtsdk4/types.rb', line 28095 def maintenance_enabled=(value) @maintenance_enabled = value end |
#modified_bonds ⇒ Array<HostNic>
Returns the value of the modified_bonds
attribute.
28104 28105 28106 |
# File 'lib/ovirtsdk4/types.rb', line 28104 def modified_bonds @modified_bonds end |
#modified_bonds=(list) ⇒ Object
Sets the value of the modified_bonds
attribute.
28113 28114 28115 28116 28117 28118 28119 28120 28121 28122 28123 |
# File 'lib/ovirtsdk4/types.rb', line 28113 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.
28130 28131 28132 |
# File 'lib/ovirtsdk4/types.rb', line 28130 def modified_labels @modified_labels end |
#modified_labels=(list) ⇒ Object
Sets the value of the modified_labels
attribute.
28139 28140 28141 28142 28143 28144 28145 28146 28147 28148 28149 |
# File 'lib/ovirtsdk4/types.rb', line 28139 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.
28156 28157 28158 |
# File 'lib/ovirtsdk4/types.rb', line 28156 def @modified_network_attachments end |
#modified_network_attachments=(list) ⇒ Object
Sets the value of the modified_network_attachments
attribute.
28165 28166 28167 28168 28169 28170 28171 28172 28173 28174 28175 |
# File 'lib/ovirtsdk4/types.rb', line 28165 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.
28182 28183 28184 |
# File 'lib/ovirtsdk4/types.rb', line 28182 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name
attribute.
28191 28192 28193 |
# File 'lib/ovirtsdk4/types.rb', line 28191 def name=(value) @name = value end |
#option ⇒ Option
Returns the value of the option
attribute.
28200 28201 28202 |
# File 'lib/ovirtsdk4/types.rb', line 28200 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.
28213 28214 28215 28216 28217 28218 |
# File 'lib/ovirtsdk4/types.rb', line 28213 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.
28225 28226 28227 |
# File 'lib/ovirtsdk4/types.rb', line 28225 def pause @pause end |
#pause=(value) ⇒ Object
Sets the value of the pause
attribute.
28234 28235 28236 |
# File 'lib/ovirtsdk4/types.rb', line 28234 def pause=(value) @pause = value end |
#permission ⇒ Permission
Returns the value of the permission
attribute.
28243 28244 28245 |
# File 'lib/ovirtsdk4/types.rb', line 28243 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.
28256 28257 28258 28259 28260 28261 |
# File 'lib/ovirtsdk4/types.rb', line 28256 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.
28268 28269 28270 |
# File 'lib/ovirtsdk4/types.rb', line 28268 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.
28281 28282 28283 28284 28285 28286 |
# File 'lib/ovirtsdk4/types.rb', line 28281 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.
28293 28294 28295 |
# File 'lib/ovirtsdk4/types.rb', line 28293 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.
28306 28307 28308 28309 28310 28311 |
# File 'lib/ovirtsdk4/types.rb', line 28306 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.
28318 28319 28320 |
# File 'lib/ovirtsdk4/types.rb', line 28318 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.
28331 28332 28333 28334 28335 28336 |
# File 'lib/ovirtsdk4/types.rb', line 28331 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.
28343 28344 28345 |
# File 'lib/ovirtsdk4/types.rb', line 28343 def reason @reason end |
#reason=(value) ⇒ Object
Sets the value of the reason
attribute.
28352 28353 28354 |
# File 'lib/ovirtsdk4/types.rb', line 28352 def reason=(value) @reason = value end |
#reassign_bad_macs ⇒ Boolean
Returns the value of the reassign_bad_macs
attribute.
28361 28362 28363 |
# File 'lib/ovirtsdk4/types.rb', line 28361 def reassign_bad_macs @reassign_bad_macs end |
#reassign_bad_macs=(value) ⇒ Object
Sets the value of the reassign_bad_macs
attribute.
28370 28371 28372 |
# File 'lib/ovirtsdk4/types.rb', line 28370 def reassign_bad_macs=(value) @reassign_bad_macs = value end |
#reboot ⇒ Boolean
Returns the value of the reboot
attribute.
28379 28380 28381 |
# File 'lib/ovirtsdk4/types.rb', line 28379 def reboot @reboot end |
#reboot=(value) ⇒ Object
Sets the value of the reboot
attribute.
28388 28389 28390 |
# File 'lib/ovirtsdk4/types.rb', line 28388 def reboot=(value) @reboot = value end |
#registration_configuration ⇒ RegistrationConfiguration
Returns the value of the registration_configuration
attribute.
28397 28398 28399 |
# File 'lib/ovirtsdk4/types.rb', line 28397 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.
28410 28411 28412 28413 28414 28415 |
# File 'lib/ovirtsdk4/types.rb', line 28410 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.
28422 28423 28424 |
# File 'lib/ovirtsdk4/types.rb', line 28422 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.
28431 28432 28433 |
# File 'lib/ovirtsdk4/types.rb', line 28431 def remote_viewer_connection_file=(value) @remote_viewer_connection_file = value end |
#removed_bonds ⇒ Array<HostNic>
Returns the value of the removed_bonds
attribute.
28440 28441 28442 |
# File 'lib/ovirtsdk4/types.rb', line 28440 def removed_bonds @removed_bonds end |
#removed_bonds=(list) ⇒ Object
Sets the value of the removed_bonds
attribute.
28449 28450 28451 28452 28453 28454 28455 28456 28457 28458 28459 |
# File 'lib/ovirtsdk4/types.rb', line 28449 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.
28466 28467 28468 |
# File 'lib/ovirtsdk4/types.rb', line 28466 def removed_labels @removed_labels end |
#removed_labels=(list) ⇒ Object
Sets the value of the removed_labels
attribute.
28475 28476 28477 28478 28479 28480 28481 28482 28483 28484 28485 |
# File 'lib/ovirtsdk4/types.rb', line 28475 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.
28492 28493 28494 |
# File 'lib/ovirtsdk4/types.rb', line 28492 def @removed_network_attachments end |
#removed_network_attachments=(list) ⇒ Object
Sets the value of the removed_network_attachments
attribute.
28501 28502 28503 28504 28505 28506 28507 28508 28509 28510 28511 |
# File 'lib/ovirtsdk4/types.rb', line 28501 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.
28518 28519 28520 |
# File 'lib/ovirtsdk4/types.rb', line 28518 def resolution_type @resolution_type end |
#resolution_type=(value) ⇒ Object
Sets the value of the resolution_type
attribute.
28527 28528 28529 |
# File 'lib/ovirtsdk4/types.rb', line 28527 def resolution_type=(value) @resolution_type = value end |
#restore_memory ⇒ Boolean
Returns the value of the restore_memory
attribute.
28536 28537 28538 |
# File 'lib/ovirtsdk4/types.rb', line 28536 def restore_memory @restore_memory end |
#restore_memory=(value) ⇒ Object
Sets the value of the restore_memory
attribute.
28545 28546 28547 |
# File 'lib/ovirtsdk4/types.rb', line 28545 def restore_memory=(value) @restore_memory = value end |
#root_password ⇒ String
Returns the value of the root_password
attribute.
28554 28555 28556 |
# File 'lib/ovirtsdk4/types.rb', line 28554 def root_password @root_password end |
#root_password=(value) ⇒ Object
Sets the value of the root_password
attribute.
28563 28564 28565 |
# File 'lib/ovirtsdk4/types.rb', line 28563 def root_password=(value) @root_password = value end |
#seal ⇒ Boolean
Returns the value of the seal
attribute.
28572 28573 28574 |
# File 'lib/ovirtsdk4/types.rb', line 28572 def seal @seal end |
#seal=(value) ⇒ Object
Sets the value of the seal
attribute.
28581 28582 28583 |
# File 'lib/ovirtsdk4/types.rb', line 28581 def seal=(value) @seal = value end |
#snapshot ⇒ Snapshot
Returns the value of the snapshot
attribute.
28590 28591 28592 |
# File 'lib/ovirtsdk4/types.rb', line 28590 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.
28603 28604 28605 28606 28607 28608 |
# File 'lib/ovirtsdk4/types.rb', line 28603 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.
28615 28616 28617 |
# File 'lib/ovirtsdk4/types.rb', line 28615 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.
28628 28629 28630 28631 28632 28633 |
# File 'lib/ovirtsdk4/types.rb', line 28628 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.
28640 28641 28642 |
# File 'lib/ovirtsdk4/types.rb', line 28640 def status @status end |
#status=(value) ⇒ Object
Sets the value of the status
attribute.
28649 28650 28651 |
# File 'lib/ovirtsdk4/types.rb', line 28649 def status=(value) @status = value end |
#stop_gluster_service ⇒ Boolean
Returns the value of the stop_gluster_service
attribute.
28658 28659 28660 |
# File 'lib/ovirtsdk4/types.rb', line 28658 def stop_gluster_service @stop_gluster_service end |
#stop_gluster_service=(value) ⇒ Object
Sets the value of the stop_gluster_service
attribute.
28667 28668 28669 |
# File 'lib/ovirtsdk4/types.rb', line 28667 def stop_gluster_service=(value) @stop_gluster_service = value end |
#storage_domain ⇒ StorageDomain
Returns the value of the storage_domain
attribute.
28676 28677 28678 |
# File 'lib/ovirtsdk4/types.rb', line 28676 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.
28689 28690 28691 28692 28693 28694 |
# File 'lib/ovirtsdk4/types.rb', line 28689 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.
28701 28702 28703 |
# File 'lib/ovirtsdk4/types.rb', line 28701 def storage_domains @storage_domains end |
#storage_domains=(list) ⇒ Object
Sets the value of the storage_domains
attribute.
28710 28711 28712 28713 28714 28715 28716 28717 28718 28719 28720 |
# File 'lib/ovirtsdk4/types.rb', line 28710 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.
28727 28728 28729 |
# File 'lib/ovirtsdk4/types.rb', line 28727 def succeeded @succeeded end |
#succeeded=(value) ⇒ Object
Sets the value of the succeeded
attribute.
28736 28737 28738 |
# File 'lib/ovirtsdk4/types.rb', line 28736 def succeeded=(value) @succeeded = value end |
#synchronized_network_attachments ⇒ Array<NetworkAttachment>
Returns the value of the synchronized_network_attachments
attribute.
28745 28746 28747 |
# File 'lib/ovirtsdk4/types.rb', line 28745 def @synchronized_network_attachments end |
#synchronized_network_attachments=(list) ⇒ Object
Sets the value of the synchronized_network_attachments
attribute.
28754 28755 28756 28757 28758 28759 28760 28761 28762 28763 28764 |
# File 'lib/ovirtsdk4/types.rb', line 28754 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.
28771 28772 28773 |
# File 'lib/ovirtsdk4/types.rb', line 28771 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.
28784 28785 28786 28787 28788 28789 |
# File 'lib/ovirtsdk4/types.rb', line 28784 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.
28796 28797 28798 |
# File 'lib/ovirtsdk4/types.rb', line 28796 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.
28809 28810 28811 28812 28813 28814 |
# File 'lib/ovirtsdk4/types.rb', line 28809 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.
28821 28822 28823 |
# File 'lib/ovirtsdk4/types.rb', line 28821 def undeploy_hosted_engine @undeploy_hosted_engine end |
#undeploy_hosted_engine=(value) ⇒ Object
Sets the value of the undeploy_hosted_engine
attribute.
28830 28831 28832 |
# File 'lib/ovirtsdk4/types.rb', line 28830 def undeploy_hosted_engine=(value) @undeploy_hosted_engine = value end |
#use_cloud_init ⇒ Boolean
Returns the value of the use_cloud_init
attribute.
28839 28840 28841 |
# File 'lib/ovirtsdk4/types.rb', line 28839 def use_cloud_init @use_cloud_init end |
#use_cloud_init=(value) ⇒ Object
Sets the value of the use_cloud_init
attribute.
28848 28849 28850 |
# File 'lib/ovirtsdk4/types.rb', line 28848 def use_cloud_init=(value) @use_cloud_init = value end |
#use_sysprep ⇒ Boolean
Returns the value of the use_sysprep
attribute.
28857 28858 28859 |
# File 'lib/ovirtsdk4/types.rb', line 28857 def use_sysprep @use_sysprep end |
#use_sysprep=(value) ⇒ Object
Sets the value of the use_sysprep
attribute.
28866 28867 28868 |
# File 'lib/ovirtsdk4/types.rb', line 28866 def use_sysprep=(value) @use_sysprep = value end |
#virtual_functions_configuration ⇒ HostNicVirtualFunctionsConfiguration
Returns the value of the virtual_functions_configuration
attribute.
28875 28876 28877 |
# File 'lib/ovirtsdk4/types.rb', line 28875 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.
28888 28889 28890 28891 28892 28893 |
# File 'lib/ovirtsdk4/types.rb', line 28888 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.
28900 28901 28902 |
# File 'lib/ovirtsdk4/types.rb', line 28900 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.
28913 28914 28915 28916 28917 28918 |
# File 'lib/ovirtsdk4/types.rb', line 28913 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.
28925 28926 28927 |
# File 'lib/ovirtsdk4/types.rb', line 28925 def vnic_profile_mappings @vnic_profile_mappings end |
#vnic_profile_mappings=(list) ⇒ Object
Sets the value of the vnic_profile_mappings
attribute.
28934 28935 28936 28937 28938 28939 28940 28941 28942 28943 28944 |
# File 'lib/ovirtsdk4/types.rb', line 28934 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.
28951 28952 28953 |
# File 'lib/ovirtsdk4/types.rb', line 28951 def volatile @volatile end |
#volatile=(value) ⇒ Object
Sets the value of the volatile
attribute.
28960 28961 28962 |
# File 'lib/ovirtsdk4/types.rb', line 28960 def volatile=(value) @volatile = value end |