Class: Fog::Kubevirt::Compute::Volume
- Inherits:
-
Model
- Object
- Model
- Fog::Kubevirt::Compute::Volume
- Defined in:
- lib/fog/kubevirt/compute/models/volume.rb
Overview
Volumes represents volumes exist on kubevirt for vms: If volume is attached to a VM by disk, it will contain the attachment properties Disk Attachment properties are: boot_order and bus (when avaiable). If the volume isn’t attached to any VM, it will contain name, type and info. When the volume type is persistentVolumeClaim, it will contain also the claim entity In order to create a new volume, user have to create a Claim when wishes to use PVC by using the pvcs collection.
Instance Method Summary collapse
Instance Method Details
#persisted? ⇒ Boolean
50 51 52 |
# File 'lib/fog/kubevirt/compute/models/volume.rb', line 50 def persisted? !name.nil? end |