Class: OvirtSDK4::Action
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::Action
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Boolean) async
Returns the value of the
async
attribute. -
- (Object) async=(value)
Sets the value of the
async
attribute. -
- (Array<GlusterBrick>) bricks
Returns the value of the
bricks
attribute. -
- (Object) bricks=(list)
Sets the value of the
bricks
attribute. -
- (Array<Certificate>) certificates
Returns the value of the
certificates
attribute. -
- (Object) certificates=(list)
Sets the value of the
certificates
attribute. -
- (Boolean) check_connectivity
Returns the value of the
check_connectivity
attribute. -
- (Object) check_connectivity=(value)
Sets the value of the
check_connectivity
attribute. -
- (Boolean) clone
Returns the value of the
clone
attribute. -
- (Object) clone=(value)
Sets the value of the
clone
attribute. -
- (Cluster) cluster
Returns the value of the
cluster
attribute. -
- (Object) cluster=(value)
Sets the value of the
cluster
attribute. -
- (Boolean) collapse_snapshots
Returns the value of the
collapse_snapshots
attribute. -
- (Object) collapse_snapshots=(value)
Sets the value of the
collapse_snapshots
attribute. -
- (String) comment
Returns the value of the
comment
attribute. -
- (Object) comment=(value)
Sets the value of the
comment
attribute. -
- (Integer) connectivity_timeout
Returns the value of the
connectivity_timeout
attribute. -
- (Object) connectivity_timeout=(value)
Sets the value of the
connectivity_timeout
attribute. -
- (DataCenter) data_center
Returns the value of the
data_center
attribute. -
- (Object) data_center=(value)
Sets the value of the
data_center
attribute. -
- (Boolean) deploy_hosted_engine
Returns the value of the
deploy_hosted_engine
attribute. -
- (Object) deploy_hosted_engine=(value)
Sets the value of the
deploy_hosted_engine
attribute. -
- (String) description
Returns the value of the
description
attribute. -
- (Object) description=(value)
Sets the value of the
description
attribute. -
- (GlusterVolumeProfileDetails) details
Returns the value of the
details
attribute. -
- (Object) details=(value)
Sets the value of the
details
attribute. -
- (Boolean) discard_snapshots
Returns the value of the
discard_snapshots
attribute. -
- (Object) discard_snapshots=(value)
Sets the value of the
discard_snapshots
attribute. -
- (Disk) disk
Returns the value of the
disk
attribute. -
- (Object) disk=(value)
Sets the value of the
disk
attribute. -
- (Array<Disk>) disks
Returns the value of the
disks
attribute. -
- (Object) disks=(list)
Sets the value of the
disks
attribute. -
- (Boolean) exclusive
Returns the value of the
exclusive
attribute. -
- (Object) exclusive=(value)
Sets the value of the
exclusive
attribute. -
- (Boolean) exclussive
Returns the value of the
exclussive
attribute. -
- (Object) exclussive=(value)
Sets the value of the
exclussive
attribute. -
- (Fault) fault
Returns the value of the
fault
attribute. -
- (Object) fault=(value)
Sets the value of the
fault
attribute. -
- (String) fence_type
Returns the value of the
fence_type
attribute. -
- (Object) fence_type=(value)
Sets the value of the
fence_type
attribute. -
- (Boolean) filter
Returns the value of the
filter
attribute. -
- (Object) filter=(value)
Sets the value of the
filter
attribute. -
- (Boolean) fix_layout
Returns the value of the
fix_layout
attribute. -
- (Object) fix_layout=(value)
Sets the value of the
fix_layout
attribute. -
- (Boolean) force
Returns the value of the
force
attribute. -
- (Object) force=(value)
Sets the value of the
force
attribute. -
- (GracePeriod) grace_period
Returns the value of the
grace_period
attribute. -
- (Object) grace_period=(value)
Sets the value of the
grace_period
attribute. -
- (Host) host
Returns the value of the
host
attribute. -
- (Object) host=(value)
Sets the value of the
host
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (String) image
Returns the value of the
image
attribute. -
- (Object) image=(value)
Sets the value of the
image
attribute. -
- (Boolean) import_as_template
Returns the value of the
import_as_template
attribute. -
- (Object) import_as_template=(value)
Sets the value of the
import_as_template
attribute. -
- (Action) initialize(opts = {})
constructor
Creates a new instance of the Action class.
-
- (Boolean) is_attached
Returns the value of the
is_attached
attribute. -
- (Object) is_attached=(value)
Sets the value of the
is_attached
attribute. -
- (IscsiDetails) iscsi
Returns the value of the
iscsi
attribute. -
- (Object) iscsi=(value)
Sets the value of the
iscsi
attribute. -
- (Array<String>) iscsi_targets
Returns the value of the
iscsi_targets
attribute. -
- (Object) iscsi_targets=(list)
Sets the value of the
iscsi_targets
attribute. -
- (Job) job
Returns the value of the
job
attribute. -
- (Object) job=(value)
Sets the value of the
job
attribute. -
- (Array<LogicalUnit>) logical_units
Returns the value of the
logical_units
attribute. -
- (Object) logical_units=(list)
Sets the value of the
logical_units
attribute. -
- (Boolean) maintenance_enabled
Returns the value of the
maintenance_enabled
attribute. -
- (Object) maintenance_enabled=(value)
Sets the value of the
maintenance_enabled
attribute. -
- (Array<HostNic>) modified_bonds
Returns the value of the
modified_bonds
attribute. -
- (Object) modified_bonds=(list)
Sets the value of the
modified_bonds
attribute. -
- (Array<NetworkLabel>) modified_labels
Returns the value of the
modified_labels
attribute. -
- (Object) modified_labels=(list)
Sets the value of the
modified_labels
attribute. -
- (Array<NetworkAttachment>) modified_network_attachments
Returns the value of the
modified_network_attachments
attribute. -
- (Object) modified_network_attachments=(list)
Sets the value of the
modified_network_attachments
attribute. -
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (Option) option
Returns the value of the
option
attribute. -
- (Object) option=(value)
Sets the value of the
option
attribute. -
- (Boolean) pause
Returns the value of the
pause
attribute. -
- (Object) pause=(value)
Sets the value of the
pause
attribute. -
- (PowerManagement) power_management
Returns the value of the
power_management
attribute. -
- (Object) power_management=(value)
Sets the value of the
power_management
attribute. -
- (ProxyTicket) proxy_ticket
Returns the value of the
proxy_ticket
attribute. -
- (Object) proxy_ticket=(value)
Sets the value of the
proxy_ticket
attribute. -
- (String) reason
Returns the value of the
reason
attribute. -
- (Object) reason=(value)
Sets the value of the
reason
attribute. -
- (Array<HostNic>) removed_bonds
Returns the value of the
removed_bonds
attribute. -
- (Object) removed_bonds=(list)
Sets the value of the
removed_bonds
attribute. -
- (Array<NetworkLabel>) removed_labels
Returns the value of the
removed_labels
attribute. -
- (Object) removed_labels=(list)
Sets the value of the
removed_labels
attribute. -
- (Array<NetworkAttachment>) removed_network_attachments
Returns the value of the
removed_network_attachments
attribute. -
- (Object) removed_network_attachments=(list)
Sets the value of the
removed_network_attachments
attribute. -
- (String) resolution_type
Returns the value of the
resolution_type
attribute. -
- (Object) resolution_type=(value)
Sets the value of the
resolution_type
attribute. -
- (Boolean) restore_memory
Returns the value of the
restore_memory
attribute. -
- (Object) restore_memory=(value)
Sets the value of the
restore_memory
attribute. -
- (String) root_password
Returns the value of the
root_password
attribute. -
- (Object) root_password=(value)
Sets the value of the
root_password
attribute. -
- (Snapshot) snapshot
Returns the value of the
snapshot
attribute. -
- (Object) snapshot=(value)
Sets the value of the
snapshot
attribute. -
- (Ssh) ssh
Returns the value of the
ssh
attribute. -
- (Object) ssh=(value)
Sets the value of the
ssh
attribute. -
- (String) status
Returns the value of the
status
attribute. -
- (Object) status=(value)
Sets the value of the
status
attribute. -
- (Boolean) stop_gluster_service
Returns the value of the
stop_gluster_service
attribute. -
- (Object) stop_gluster_service=(value)
Sets the value of the
stop_gluster_service
attribute. -
- (StorageDomain) storage_domain
Returns the value of the
storage_domain
attribute. -
- (Object) storage_domain=(value)
Sets the value of the
storage_domain
attribute. -
- (Array<StorageDomain>) storage_domains
Returns the value of the
storage_domains
attribute. -
- (Object) storage_domains=(list)
Sets the value of the
storage_domains
attribute. -
- (Boolean) succeeded
Returns the value of the
succeeded
attribute. -
- (Object) succeeded=(value)
Sets the value of the
succeeded
attribute. -
- (Array<NetworkAttachment>) synchronized_network_attachments
Returns the value of the
synchronized_network_attachments
attribute. -
- (Object) synchronized_network_attachments=(list)
Sets the value of the
synchronized_network_attachments
attribute. -
- (Template) template
Returns the value of the
template
attribute. -
- (Object) template=(value)
Sets the value of the
template
attribute. -
- (Ticket) ticket
Returns the value of the
ticket
attribute. -
- (Object) ticket=(value)
Sets the value of the
ticket
attribute. -
- (Boolean) undeploy_hosted_engine
Returns the value of the
undeploy_hosted_engine
attribute. -
- (Object) undeploy_hosted_engine=(value)
Sets the value of the
undeploy_hosted_engine
attribute. -
- (Boolean) use_cloud_init
Returns the value of the
use_cloud_init
attribute. -
- (Object) use_cloud_init=(value)
Sets the value of the
use_cloud_init
attribute. -
- (Boolean) use_sysprep
Returns the value of the
use_sysprep
attribute. -
- (Object) use_sysprep=(value)
Sets the value of the
use_sysprep
attribute. -
- (HostNicVirtualFunctionsConfiguration) virtual_functions_configuration
Returns the value of the
virtual_functions_configuration
attribute. -
- (Object) virtual_functions_configuration=(value)
Sets the value of the
virtual_functions_configuration
attribute. -
- (Vm) vm
Returns the value of the
vm
attribute. -
- (Object) vm=(value)
Sets the value of the
vm
attribute.
Methods included from Type
Constructor Details
- (Action) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Action class.
22299 22300 22301 22302 22303 22304 22305 22306 22307 22308 22309 22310 22311 22312 22313 22314 22315 22316 22317 22318 22319 22320 22321 22322 22323 22324 22325 22326 22327 22328 22329 22330 22331 22332 22333 22334 22335 22336 22337 22338 22339 22340 22341 22342 22343 22344 22345 22346 22347 22348 22349 22350 22351 22352 22353 22354 22355 22356 22357 22358 22359 22360 22361 22362 22363 22364 22365 |
# File 'lib/ovirtsdk4/types.rb', line 22299 def initialize(opts = {}) super(opts) self.async = opts[:async] self.bricks = opts[:bricks] self.certificates = opts[:certificates] self.check_connectivity = opts[:check_connectivity] self.clone = opts[:clone] self.cluster = opts[:cluster] self.collapse_snapshots = opts[:collapse_snapshots] self.comment = opts[:comment] self.connectivity_timeout = opts[:connectivity_timeout] self.data_center = opts[:data_center] self.deploy_hosted_engine = opts[:deploy_hosted_engine] self.description = opts[:description] self.details = opts[:details] self.discard_snapshots = opts[:discard_snapshots] self.disk = opts[:disk] self.disks = opts[:disks] self.exclusive = opts[:exclusive] self.exclussive = opts[:exclussive] self.fault = opts[:fault] self.fence_type = opts[:fence_type] 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.id = opts[:id] self.image = opts[:image] 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.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.name = opts[:name] self.option = opts[:option] self.pause = opts[:pause] self.power_management = opts[:power_management] self.proxy_ticket = opts[:proxy_ticket] self.reason = opts[:reason] 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] end |
Instance Method Details
- (Boolean) async
Returns the value of the async
attribute.
20800 20801 20802 |
# File 'lib/ovirtsdk4/types.rb', line 20800 def async return @async end |
- (Object) async=(value)
Sets the value of the async
attribute.
20809 20810 20811 |
# File 'lib/ovirtsdk4/types.rb', line 20809 def async=(value) @async = value end |
- (Array<GlusterBrick>) bricks
Returns the value of the bricks
attribute.
20818 20819 20820 |
# File 'lib/ovirtsdk4/types.rb', line 20818 def bricks return @bricks end |
- (Object) bricks=(list)
Sets the value of the bricks
attribute.
20826 20827 20828 20829 20830 20831 20832 20833 20834 20835 20836 |
# File 'lib/ovirtsdk4/types.rb', line 20826 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 |
- (Array<Certificate>) certificates
Returns the value of the certificates
attribute.
20843 20844 20845 |
# File 'lib/ovirtsdk4/types.rb', line 20843 def certificates return @certificates end |
- (Object) certificates=(list)
Sets the value of the certificates
attribute.
20851 20852 20853 20854 20855 20856 20857 20858 20859 20860 20861 |
# File 'lib/ovirtsdk4/types.rb', line 20851 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 |
- (Boolean) check_connectivity
Returns the value of the check_connectivity
attribute.
20868 20869 20870 |
# File 'lib/ovirtsdk4/types.rb', line 20868 def check_connectivity return @check_connectivity end |
- (Object) check_connectivity=(value)
Sets the value of the check_connectivity
attribute.
20877 20878 20879 |
# File 'lib/ovirtsdk4/types.rb', line 20877 def check_connectivity=(value) @check_connectivity = value end |
- (Boolean) clone
Returns the value of the clone
attribute.
20886 20887 20888 |
# File 'lib/ovirtsdk4/types.rb', line 20886 def clone return @clone end |
- (Object) clone=(value)
Sets the value of the clone
attribute.
20895 20896 20897 |
# File 'lib/ovirtsdk4/types.rb', line 20895 def clone=(value) @clone = value end |
- (Cluster) cluster
Returns the value of the cluster
attribute.
20904 20905 20906 |
# File 'lib/ovirtsdk4/types.rb', line 20904 def cluster return @cluster end |
- (Object) cluster=(value)
Sets the value of the cluster
attribute.
The value
parameter can be an instance of Cluster or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
20917 20918 20919 20920 20921 20922 |
# File 'lib/ovirtsdk4/types.rb', line 20917 def cluster=(value) if value.is_a?(Hash) value = Cluster.new(value) end @cluster = value end |
- (Boolean) collapse_snapshots
Returns the value of the collapse_snapshots
attribute.
20929 20930 20931 |
# File 'lib/ovirtsdk4/types.rb', line 20929 def collapse_snapshots return @collapse_snapshots end |
- (Object) collapse_snapshots=(value)
Sets the value of the collapse_snapshots
attribute.
20938 20939 20940 |
# File 'lib/ovirtsdk4/types.rb', line 20938 def collapse_snapshots=(value) @collapse_snapshots = value end |
- (String) comment
Returns the value of the comment
attribute.
20947 20948 20949 |
# File 'lib/ovirtsdk4/types.rb', line 20947 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
20956 20957 20958 |
# File 'lib/ovirtsdk4/types.rb', line 20956 def comment=(value) @comment = value end |
- (Integer) connectivity_timeout
Returns the value of the connectivity_timeout
attribute.
20965 20966 20967 |
# File 'lib/ovirtsdk4/types.rb', line 20965 def connectivity_timeout return @connectivity_timeout end |
- (Object) connectivity_timeout=(value)
Sets the value of the connectivity_timeout
attribute.
20974 20975 20976 |
# File 'lib/ovirtsdk4/types.rb', line 20974 def connectivity_timeout=(value) @connectivity_timeout = value end |
- (DataCenter) data_center
Returns the value of the data_center
attribute.
20983 20984 20985 |
# File 'lib/ovirtsdk4/types.rb', line 20983 def data_center return @data_center end |
- (Object) data_center=(value)
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.
20996 20997 20998 20999 21000 21001 |
# File 'lib/ovirtsdk4/types.rb', line 20996 def data_center=(value) if value.is_a?(Hash) value = DataCenter.new(value) end @data_center = value end |
- (Boolean) deploy_hosted_engine
Returns the value of the deploy_hosted_engine
attribute.
21008 21009 21010 |
# File 'lib/ovirtsdk4/types.rb', line 21008 def deploy_hosted_engine return @deploy_hosted_engine end |
- (Object) deploy_hosted_engine=(value)
Sets the value of the deploy_hosted_engine
attribute.
21017 21018 21019 |
# File 'lib/ovirtsdk4/types.rb', line 21017 def deploy_hosted_engine=(value) @deploy_hosted_engine = value end |
- (String) description
Returns the value of the description
attribute.
21026 21027 21028 |
# File 'lib/ovirtsdk4/types.rb', line 21026 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
21035 21036 21037 |
# File 'lib/ovirtsdk4/types.rb', line 21035 def description=(value) @description = value end |
- (GlusterVolumeProfileDetails) details
Returns the value of the details
attribute.
21044 21045 21046 |
# File 'lib/ovirtsdk4/types.rb', line 21044 def details return @details end |
- (Object) details=(value)
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.
21057 21058 21059 21060 21061 21062 |
# File 'lib/ovirtsdk4/types.rb', line 21057 def details=(value) if value.is_a?(Hash) value = GlusterVolumeProfileDetails.new(value) end @details = value end |
- (Boolean) discard_snapshots
Returns the value of the discard_snapshots
attribute.
21069 21070 21071 |
# File 'lib/ovirtsdk4/types.rb', line 21069 def discard_snapshots return @discard_snapshots end |
- (Object) discard_snapshots=(value)
Sets the value of the discard_snapshots
attribute.
21078 21079 21080 |
# File 'lib/ovirtsdk4/types.rb', line 21078 def discard_snapshots=(value) @discard_snapshots = value end |
- (Disk) disk
Returns the value of the disk
attribute.
21087 21088 21089 |
# File 'lib/ovirtsdk4/types.rb', line 21087 def disk return @disk end |
- (Object) disk=(value)
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.
21100 21101 21102 21103 21104 21105 |
# File 'lib/ovirtsdk4/types.rb', line 21100 def disk=(value) if value.is_a?(Hash) value = Disk.new(value) end @disk = value end |
- (Array<Disk>) disks
Returns the value of the disks
attribute.
21112 21113 21114 |
# File 'lib/ovirtsdk4/types.rb', line 21112 def disks return @disks end |
- (Object) disks=(list)
Sets the value of the disks
attribute.
21120 21121 21122 21123 21124 21125 21126 21127 21128 21129 21130 |
# File 'lib/ovirtsdk4/types.rb', line 21120 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 |
- (Boolean) exclusive
Returns the value of the exclusive
attribute.
21137 21138 21139 |
# File 'lib/ovirtsdk4/types.rb', line 21137 def exclusive return @exclusive end |
- (Object) exclusive=(value)
Sets the value of the exclusive
attribute.
21146 21147 21148 |
# File 'lib/ovirtsdk4/types.rb', line 21146 def exclusive=(value) @exclusive = value end |
- (Boolean) exclussive
Returns the value of the exclussive
attribute.
21155 21156 21157 |
# File 'lib/ovirtsdk4/types.rb', line 21155 def exclussive return @exclussive end |
- (Object) exclussive=(value)
Sets the value of the exclussive
attribute.
21164 21165 21166 |
# File 'lib/ovirtsdk4/types.rb', line 21164 def exclussive=(value) @exclussive = value end |
- (Fault) fault
Returns the value of the fault
attribute.
21173 21174 21175 |
# File 'lib/ovirtsdk4/types.rb', line 21173 def fault return @fault end |
- (Object) fault=(value)
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.
21186 21187 21188 21189 21190 21191 |
# File 'lib/ovirtsdk4/types.rb', line 21186 def fault=(value) if value.is_a?(Hash) value = Fault.new(value) end @fault = value end |
- (String) fence_type
Returns the value of the fence_type
attribute.
21198 21199 21200 |
# File 'lib/ovirtsdk4/types.rb', line 21198 def fence_type return @fence_type end |
- (Object) fence_type=(value)
Sets the value of the fence_type
attribute.
21207 21208 21209 |
# File 'lib/ovirtsdk4/types.rb', line 21207 def fence_type=(value) @fence_type = value end |
- (Boolean) filter
Returns the value of the filter
attribute.
21216 21217 21218 |
# File 'lib/ovirtsdk4/types.rb', line 21216 def filter return @filter end |
- (Object) filter=(value)
Sets the value of the filter
attribute.
21225 21226 21227 |
# File 'lib/ovirtsdk4/types.rb', line 21225 def filter=(value) @filter = value end |
- (Boolean) fix_layout
Returns the value of the fix_layout
attribute.
21234 21235 21236 |
# File 'lib/ovirtsdk4/types.rb', line 21234 def fix_layout return @fix_layout end |
- (Object) fix_layout=(value)
Sets the value of the fix_layout
attribute.
21243 21244 21245 |
# File 'lib/ovirtsdk4/types.rb', line 21243 def fix_layout=(value) @fix_layout = value end |
- (Boolean) force
Returns the value of the force
attribute.
21252 21253 21254 |
# File 'lib/ovirtsdk4/types.rb', line 21252 def force return @force end |
- (Object) force=(value)
Sets the value of the force
attribute.
21261 21262 21263 |
# File 'lib/ovirtsdk4/types.rb', line 21261 def force=(value) @force = value end |
- (GracePeriod) grace_period
Returns the value of the grace_period
attribute.
21270 21271 21272 |
# File 'lib/ovirtsdk4/types.rb', line 21270 def grace_period return @grace_period end |
- (Object) grace_period=(value)
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.
21283 21284 21285 21286 21287 21288 |
# File 'lib/ovirtsdk4/types.rb', line 21283 def grace_period=(value) if value.is_a?(Hash) value = GracePeriod.new(value) end @grace_period = value end |
- (Host) host
Returns the value of the host
attribute.
21295 21296 21297 |
# File 'lib/ovirtsdk4/types.rb', line 21295 def host return @host end |
- (Object) host=(value)
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.
21308 21309 21310 21311 21312 21313 |
# File 'lib/ovirtsdk4/types.rb', line 21308 def host=(value) if value.is_a?(Hash) value = Host.new(value) end @host = value end |
- (String) id
Returns the value of the id
attribute.
21320 21321 21322 |
# File 'lib/ovirtsdk4/types.rb', line 21320 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
21329 21330 21331 |
# File 'lib/ovirtsdk4/types.rb', line 21329 def id=(value) @id = value end |
- (String) image
Returns the value of the image
attribute.
21338 21339 21340 |
# File 'lib/ovirtsdk4/types.rb', line 21338 def image return @image end |
- (Object) image=(value)
Sets the value of the image
attribute.
21347 21348 21349 |
# File 'lib/ovirtsdk4/types.rb', line 21347 def image=(value) @image = value end |
- (Boolean) import_as_template
Returns the value of the import_as_template
attribute.
21356 21357 21358 |
# File 'lib/ovirtsdk4/types.rb', line 21356 def import_as_template return @import_as_template end |
- (Object) import_as_template=(value)
Sets the value of the import_as_template
attribute.
21365 21366 21367 |
# File 'lib/ovirtsdk4/types.rb', line 21365 def import_as_template=(value) @import_as_template = value end |
- (Boolean) is_attached
Returns the value of the is_attached
attribute.
21374 21375 21376 |
# File 'lib/ovirtsdk4/types.rb', line 21374 def is_attached return @is_attached end |
- (Object) is_attached=(value)
Sets the value of the is_attached
attribute.
21383 21384 21385 |
# File 'lib/ovirtsdk4/types.rb', line 21383 def is_attached=(value) @is_attached = value end |
- (IscsiDetails) iscsi
Returns the value of the iscsi
attribute.
21392 21393 21394 |
# File 'lib/ovirtsdk4/types.rb', line 21392 def iscsi return @iscsi end |
- (Object) iscsi=(value)
Sets the value of the iscsi
attribute.
The value
parameter can be an instance of IscsiDetails or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
21405 21406 21407 21408 21409 21410 |
# File 'lib/ovirtsdk4/types.rb', line 21405 def iscsi=(value) if value.is_a?(Hash) value = IscsiDetails.new(value) end @iscsi = value end |
- (Array<String>) iscsi_targets
Returns the value of the iscsi_targets
attribute.
21417 21418 21419 |
# File 'lib/ovirtsdk4/types.rb', line 21417 def iscsi_targets return @iscsi_targets end |
- (Object) iscsi_targets=(list)
Sets the value of the iscsi_targets
attribute.
21425 21426 21427 |
# File 'lib/ovirtsdk4/types.rb', line 21425 def iscsi_targets=(list) @iscsi_targets = list end |
- (Job) job
Returns the value of the job
attribute.
21434 21435 21436 |
# File 'lib/ovirtsdk4/types.rb', line 21434 def job return @job end |
- (Object) job=(value)
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.
21447 21448 21449 21450 21451 21452 |
# File 'lib/ovirtsdk4/types.rb', line 21447 def job=(value) if value.is_a?(Hash) value = Job.new(value) end @job = value end |
- (Array<LogicalUnit>) logical_units
Returns the value of the logical_units
attribute.
21459 21460 21461 |
# File 'lib/ovirtsdk4/types.rb', line 21459 def logical_units return @logical_units end |
- (Object) logical_units=(list)
Sets the value of the logical_units
attribute.
21467 21468 21469 21470 21471 21472 21473 21474 21475 21476 21477 |
# File 'lib/ovirtsdk4/types.rb', line 21467 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 |
- (Boolean) maintenance_enabled
Returns the value of the maintenance_enabled
attribute.
21484 21485 21486 |
# File 'lib/ovirtsdk4/types.rb', line 21484 def maintenance_enabled return @maintenance_enabled end |
- (Object) maintenance_enabled=(value)
Sets the value of the maintenance_enabled
attribute.
21493 21494 21495 |
# File 'lib/ovirtsdk4/types.rb', line 21493 def maintenance_enabled=(value) @maintenance_enabled = value end |
- (Array<HostNic>) modified_bonds
Returns the value of the modified_bonds
attribute.
21502 21503 21504 |
# File 'lib/ovirtsdk4/types.rb', line 21502 def modified_bonds return @modified_bonds end |
- (Object) modified_bonds=(list)
Sets the value of the modified_bonds
attribute.
21510 21511 21512 21513 21514 21515 21516 21517 21518 21519 21520 |
# File 'lib/ovirtsdk4/types.rb', line 21510 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 |
- (Array<NetworkLabel>) modified_labels
Returns the value of the modified_labels
attribute.
21527 21528 21529 |
# File 'lib/ovirtsdk4/types.rb', line 21527 def modified_labels return @modified_labels end |
- (Object) modified_labels=(list)
Sets the value of the modified_labels
attribute.
21535 21536 21537 21538 21539 21540 21541 21542 21543 21544 21545 |
# File 'lib/ovirtsdk4/types.rb', line 21535 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 |
- (Array<NetworkAttachment>) modified_network_attachments
Returns the value of the modified_network_attachments
attribute.
21552 21553 21554 |
# File 'lib/ovirtsdk4/types.rb', line 21552 def return @modified_network_attachments end |
- (Object) modified_network_attachments=(list)
Sets the value of the modified_network_attachments
attribute.
21560 21561 21562 21563 21564 21565 21566 21567 21568 21569 21570 |
# File 'lib/ovirtsdk4/types.rb', line 21560 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 |
- (String) name
Returns the value of the name
attribute.
21577 21578 21579 |
# File 'lib/ovirtsdk4/types.rb', line 21577 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
21586 21587 21588 |
# File 'lib/ovirtsdk4/types.rb', line 21586 def name=(value) @name = value end |
- (Option) option
Returns the value of the option
attribute.
21595 21596 21597 |
# File 'lib/ovirtsdk4/types.rb', line 21595 def option return @option end |
- (Object) option=(value)
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.
21608 21609 21610 21611 21612 21613 |
# File 'lib/ovirtsdk4/types.rb', line 21608 def option=(value) if value.is_a?(Hash) value = Option.new(value) end @option = value end |
- (Boolean) pause
Returns the value of the pause
attribute.
21620 21621 21622 |
# File 'lib/ovirtsdk4/types.rb', line 21620 def pause return @pause end |
- (Object) pause=(value)
Sets the value of the pause
attribute.
21629 21630 21631 |
# File 'lib/ovirtsdk4/types.rb', line 21629 def pause=(value) @pause = value end |
- (PowerManagement) power_management
Returns the value of the power_management
attribute.
21638 21639 21640 |
# File 'lib/ovirtsdk4/types.rb', line 21638 def power_management return @power_management end |
- (Object) power_management=(value)
Sets the value of the power_management
attribute.
The value
parameter can be an instance of PowerManagement or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
21651 21652 21653 21654 21655 21656 |
# File 'lib/ovirtsdk4/types.rb', line 21651 def power_management=(value) if value.is_a?(Hash) value = PowerManagement.new(value) end @power_management = value end |
- (ProxyTicket) proxy_ticket
Returns the value of the proxy_ticket
attribute.
21663 21664 21665 |
# File 'lib/ovirtsdk4/types.rb', line 21663 def proxy_ticket return @proxy_ticket end |
- (Object) proxy_ticket=(value)
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.
21676 21677 21678 21679 21680 21681 |
# File 'lib/ovirtsdk4/types.rb', line 21676 def proxy_ticket=(value) if value.is_a?(Hash) value = ProxyTicket.new(value) end @proxy_ticket = value end |
- (String) reason
Returns the value of the reason
attribute.
21688 21689 21690 |
# File 'lib/ovirtsdk4/types.rb', line 21688 def reason return @reason end |
- (Object) reason=(value)
Sets the value of the reason
attribute.
21697 21698 21699 |
# File 'lib/ovirtsdk4/types.rb', line 21697 def reason=(value) @reason = value end |
- (Array<HostNic>) removed_bonds
Returns the value of the removed_bonds
attribute.
21706 21707 21708 |
# File 'lib/ovirtsdk4/types.rb', line 21706 def removed_bonds return @removed_bonds end |
- (Object) removed_bonds=(list)
Sets the value of the removed_bonds
attribute.
21714 21715 21716 21717 21718 21719 21720 21721 21722 21723 21724 |
# File 'lib/ovirtsdk4/types.rb', line 21714 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 |
- (Array<NetworkLabel>) removed_labels
Returns the value of the removed_labels
attribute.
21731 21732 21733 |
# File 'lib/ovirtsdk4/types.rb', line 21731 def removed_labels return @removed_labels end |
- (Object) removed_labels=(list)
Sets the value of the removed_labels
attribute.
21739 21740 21741 21742 21743 21744 21745 21746 21747 21748 21749 |
# File 'lib/ovirtsdk4/types.rb', line 21739 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 |
- (Array<NetworkAttachment>) removed_network_attachments
Returns the value of the removed_network_attachments
attribute.
21756 21757 21758 |
# File 'lib/ovirtsdk4/types.rb', line 21756 def return @removed_network_attachments end |
- (Object) removed_network_attachments=(list)
Sets the value of the removed_network_attachments
attribute.
21764 21765 21766 21767 21768 21769 21770 21771 21772 21773 21774 |
# File 'lib/ovirtsdk4/types.rb', line 21764 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 |
- (String) resolution_type
Returns the value of the resolution_type
attribute.
21781 21782 21783 |
# File 'lib/ovirtsdk4/types.rb', line 21781 def resolution_type return @resolution_type end |
- (Object) resolution_type=(value)
Sets the value of the resolution_type
attribute.
21790 21791 21792 |
# File 'lib/ovirtsdk4/types.rb', line 21790 def resolution_type=(value) @resolution_type = value end |
- (Boolean) restore_memory
Returns the value of the restore_memory
attribute.
21799 21800 21801 |
# File 'lib/ovirtsdk4/types.rb', line 21799 def restore_memory return @restore_memory end |
- (Object) restore_memory=(value)
Sets the value of the restore_memory
attribute.
21808 21809 21810 |
# File 'lib/ovirtsdk4/types.rb', line 21808 def restore_memory=(value) @restore_memory = value end |
- (String) root_password
Returns the value of the root_password
attribute.
21817 21818 21819 |
# File 'lib/ovirtsdk4/types.rb', line 21817 def root_password return @root_password end |
- (Object) root_password=(value)
Sets the value of the root_password
attribute.
21826 21827 21828 |
# File 'lib/ovirtsdk4/types.rb', line 21826 def root_password=(value) @root_password = value end |
- (Snapshot) snapshot
Returns the value of the snapshot
attribute.
21835 21836 21837 |
# File 'lib/ovirtsdk4/types.rb', line 21835 def snapshot return @snapshot end |
- (Object) snapshot=(value)
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.
21848 21849 21850 21851 21852 21853 |
# File 'lib/ovirtsdk4/types.rb', line 21848 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.
21860 21861 21862 |
# File 'lib/ovirtsdk4/types.rb', line 21860 def ssh return @ssh end |
- (Object) ssh=(value)
Sets the value of the ssh
attribute.
The value
parameter can be an instance of Ssh or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
21873 21874 21875 21876 21877 21878 |
# File 'lib/ovirtsdk4/types.rb', line 21873 def ssh=(value) if value.is_a?(Hash) value = Ssh.new(value) end @ssh = value end |
- (String) status
Returns the value of the status
attribute.
21885 21886 21887 |
# File 'lib/ovirtsdk4/types.rb', line 21885 def status return @status end |
- (Object) status=(value)
Sets the value of the status
attribute.
21894 21895 21896 |
# File 'lib/ovirtsdk4/types.rb', line 21894 def status=(value) @status = value end |
- (Boolean) stop_gluster_service
Returns the value of the stop_gluster_service
attribute.
21903 21904 21905 |
# File 'lib/ovirtsdk4/types.rb', line 21903 def stop_gluster_service return @stop_gluster_service end |
- (Object) stop_gluster_service=(value)
Sets the value of the stop_gluster_service
attribute.
21912 21913 21914 |
# File 'lib/ovirtsdk4/types.rb', line 21912 def stop_gluster_service=(value) @stop_gluster_service = value end |
- (StorageDomain) storage_domain
Returns the value of the storage_domain
attribute.
21921 21922 21923 |
# File 'lib/ovirtsdk4/types.rb', line 21921 def storage_domain return @storage_domain end |
- (Object) storage_domain=(value)
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.
21934 21935 21936 21937 21938 21939 |
# File 'lib/ovirtsdk4/types.rb', line 21934 def storage_domain=(value) if value.is_a?(Hash) value = StorageDomain.new(value) end @storage_domain = value end |
- (Array<StorageDomain>) storage_domains
Returns the value of the storage_domains
attribute.
21946 21947 21948 |
# File 'lib/ovirtsdk4/types.rb', line 21946 def storage_domains return @storage_domains end |
- (Object) storage_domains=(list)
Sets the value of the storage_domains
attribute.
21954 21955 21956 21957 21958 21959 21960 21961 21962 21963 21964 |
# File 'lib/ovirtsdk4/types.rb', line 21954 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 |
- (Boolean) succeeded
Returns the value of the succeeded
attribute.
21971 21972 21973 |
# File 'lib/ovirtsdk4/types.rb', line 21971 def succeeded return @succeeded end |
- (Object) succeeded=(value)
Sets the value of the succeeded
attribute.
21980 21981 21982 |
# File 'lib/ovirtsdk4/types.rb', line 21980 def succeeded=(value) @succeeded = value end |
- (Array<NetworkAttachment>) synchronized_network_attachments
Returns the value of the synchronized_network_attachments
attribute.
21989 21990 21991 |
# File 'lib/ovirtsdk4/types.rb', line 21989 def return @synchronized_network_attachments end |
- (Object) synchronized_network_attachments=(list)
Sets the value of the synchronized_network_attachments
attribute.
21997 21998 21999 22000 22001 22002 22003 22004 22005 22006 22007 |
# File 'lib/ovirtsdk4/types.rb', line 21997 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.
22014 22015 22016 |
# File 'lib/ovirtsdk4/types.rb', line 22014 def template return @template end |
- (Object) template=(value)
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.
22027 22028 22029 22030 22031 22032 |
# File 'lib/ovirtsdk4/types.rb', line 22027 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.
22039 22040 22041 |
# File 'lib/ovirtsdk4/types.rb', line 22039 def ticket return @ticket end |
- (Object) ticket=(value)
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.
22052 22053 22054 22055 22056 22057 |
# File 'lib/ovirtsdk4/types.rb', line 22052 def ticket=(value) if value.is_a?(Hash) value = Ticket.new(value) end @ticket = value end |
- (Boolean) undeploy_hosted_engine
Returns the value of the undeploy_hosted_engine
attribute.
22064 22065 22066 |
# File 'lib/ovirtsdk4/types.rb', line 22064 def undeploy_hosted_engine return @undeploy_hosted_engine end |
- (Object) undeploy_hosted_engine=(value)
Sets the value of the undeploy_hosted_engine
attribute.
22073 22074 22075 |
# File 'lib/ovirtsdk4/types.rb', line 22073 def undeploy_hosted_engine=(value) @undeploy_hosted_engine = value end |
- (Boolean) use_cloud_init
Returns the value of the use_cloud_init
attribute.
22082 22083 22084 |
# File 'lib/ovirtsdk4/types.rb', line 22082 def use_cloud_init return @use_cloud_init end |
- (Object) use_cloud_init=(value)
Sets the value of the use_cloud_init
attribute.
22091 22092 22093 |
# File 'lib/ovirtsdk4/types.rb', line 22091 def use_cloud_init=(value) @use_cloud_init = value end |
- (Boolean) use_sysprep
Returns the value of the use_sysprep
attribute.
22100 22101 22102 |
# File 'lib/ovirtsdk4/types.rb', line 22100 def use_sysprep return @use_sysprep end |
- (Object) use_sysprep=(value)
Sets the value of the use_sysprep
attribute.
22109 22110 22111 |
# File 'lib/ovirtsdk4/types.rb', line 22109 def use_sysprep=(value) @use_sysprep = value end |
- (HostNicVirtualFunctionsConfiguration) virtual_functions_configuration
Returns the value of the virtual_functions_configuration
attribute.
22118 22119 22120 |
# File 'lib/ovirtsdk4/types.rb', line 22118 def virtual_functions_configuration return @virtual_functions_configuration end |
- (Object) virtual_functions_configuration=(value)
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.
22131 22132 22133 22134 22135 22136 |
# File 'lib/ovirtsdk4/types.rb', line 22131 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.
22143 22144 22145 |
# File 'lib/ovirtsdk4/types.rb', line 22143 def vm return @vm end |
- (Object) vm=(value)
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.
22156 22157 22158 22159 22160 22161 |
# File 'lib/ovirtsdk4/types.rb', line 22156 def vm=(value) if value.is_a?(Hash) value = Vm.new(value) end @vm = value end |