Class: Fog::Compute::Ovirt::AffinityGroup
- Inherits:
-
Model
- Object
- Model
- Fog::Compute::Ovirt::AffinityGroup
- Defined in:
- lib/fog/ovirt/models/compute/affinity_group.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
15 16 17 |
# File 'lib/fog/ovirt/models/compute/affinity_group.rb', line 15 def destroy service.destroy_affinity_group(id) end |
#to_s ⇒ Object
19 20 21 |
# File 'lib/fog/ovirt/models/compute/affinity_group.rb', line 19 def to_s name end |
#vms ⇒ Object
11 12 13 |
# File 'lib/fog/ovirt/models/compute/affinity_group.rb', line 11 def vms id.nil? ? [] : service.list_affinity_group_vms(id) end |