Class: IbmPowerHmc::SharedStoragePool
- Inherits:
-
AbstractRest
- Object
- AbstractNonRest
- AbstractRest
- IbmPowerHmc::SharedStoragePool
- Defined in:
- lib/ibm_power_hmc/schema/uom.rb
Overview
SSP information
Constant Summary collapse
- ATTRS =
{ :id => "SharedStoragePoolID", :name => "StoragePoolName", :udid => "UniqueDeviceID", :capacity => "Capacity", :free_space => "FreeSpace", :overcommit => "OverCommitSpace", :total_lu_size => "TotalLogicalUnitSize", :alert_threshold => "AlertThreshold" }.freeze
Instance Attribute Summary
Attributes inherited from AbstractRest
#content_type, #etag, #href, #published, #uuid
Attributes inherited from AbstractNonRest
Instance Method Summary collapse
Methods inherited from AbstractRest
Methods inherited from AbstractNonRest
#collection_of, #create_element, #initialize, marshal, #marshal, #singleton, #timestamp, #to_s, #uuid_from_href, #uuids_from_links
Constructor Details
This class inherits a constructor from IbmPowerHmc::AbstractRest
Instance Method Details
#cluster_uuid ⇒ Object
940 941 942 943 |
# File 'lib/ibm_power_hmc/schema/uom.rb', line 940 def cluster_uuid href = singleton("AssociatedCluster", "href") uuid_from_href(href) unless href.nil? end |
#lus ⇒ Object
953 954 955 |
# File 'lib/ibm_power_hmc/schema/uom.rb', line 953 def lus collection_of("LogicalUnits", "LogicalUnit") end |
#pvs ⇒ Object
945 946 947 |
# File 'lib/ibm_power_hmc/schema/uom.rb', line 945 def pvs collection_of("PhysicalVolumes", "PhysicalVolume") end |
#tiers_uuids ⇒ Object
949 950 951 |
# File 'lib/ibm_power_hmc/schema/uom.rb', line 949 def tiers_uuids uuids_from_links("AssociatedTiers") end |