Class: Hpe3parSdk::LDLayoutCapacity
- Inherits:
-
Object
- Object
- Hpe3parSdk::LDLayoutCapacity
- Defined in:
- lib/Hpe3parSdk/models.rb
Instance Attribute Summary collapse
-
#capacitefficiency ⇒ Object
- type - CapEfficiency
-
Capacity efficiency attributes.
-
#overprovisioned_allocated_in_mib ⇒ Object
- type - Number
-
System contains an over provisioned allocated MiB.
-
#overprovisioned_free_in_mib ⇒ Object
- type - Number
-
System contains an over provisioned free MiB.
-
#overprovisioned_used_in_mib ⇒ Object
- type - Number
-
System contains an over provisioned used MiB.
-
#overprovisioned_virtualsize_in_mib ⇒ Object
- type - Number
-
System contains an over provisioned Virtual Size MiB.
-
#rawfree_in_mib ⇒ Object
- type - Number
-
Raw free capacity in MiB.
-
#usable_free_in_mib ⇒ Object
- type - Number
-
LD free capacity in MiB.
Instance Method Summary collapse
-
#initialize(object_hash) ⇒ LDLayoutCapacity
constructor
A new instance of LDLayoutCapacity.
Constructor Details
#initialize(object_hash) ⇒ LDLayoutCapacity
Returns a new instance of LDLayoutCapacity.
1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 |
# File 'lib/Hpe3parSdk/models.rb', line 1170 def initialize(object_hash) if object_hash == nil return end self.rawfree_in_mib = object_hash['rawFreeMiB'] self.usable_free_in_mib = object_hash['usableFreeMiB'] self.overprovisioned_virtualsize_in_mib = object_hash['overProvisionedVirtualSizeMiB'] self.overprovisioned_used_in_mib= object_hash['overProvisionedUsedMiB'] self.overprovisioned_allocated_in_mib = object_hash['overProvisionedAllocatedMiB'] self.overprovisioned_free_in_mib = object_hash['overProvisionedFreeMiB'] self.capacitefficiency = CapEfficiency.new(object_hash['capacityEfficiency']) end |
Instance Attribute Details
#capacitefficiency ⇒ Object
- type - CapEfficiency
-
Capacity efficiency attributes.
1168 1169 1170 |
# File 'lib/Hpe3parSdk/models.rb', line 1168 def capacitefficiency @capacitefficiency end |
#overprovisioned_allocated_in_mib ⇒ Object
- type - Number
-
System contains an over provisioned allocated MiB.
1160 1161 1162 |
# File 'lib/Hpe3parSdk/models.rb', line 1160 def overprovisioned_allocated_in_mib @overprovisioned_allocated_in_mib end |
#overprovisioned_free_in_mib ⇒ Object
- type - Number
-
System contains an over provisioned free MiB.
1164 1165 1166 |
# File 'lib/Hpe3parSdk/models.rb', line 1164 def overprovisioned_free_in_mib @overprovisioned_free_in_mib end |
#overprovisioned_used_in_mib ⇒ Object
- type - Number
-
System contains an over provisioned used MiB.
1156 1157 1158 |
# File 'lib/Hpe3parSdk/models.rb', line 1156 def overprovisioned_used_in_mib @overprovisioned_used_in_mib end |
#overprovisioned_virtualsize_in_mib ⇒ Object
- type - Number
-
System contains an over provisioned Virtual Size MiB.
1152 1153 1154 |
# File 'lib/Hpe3parSdk/models.rb', line 1152 def overprovisioned_virtualsize_in_mib @overprovisioned_virtualsize_in_mib end |
#rawfree_in_mib ⇒ Object
- type - Number
-
Raw free capacity in MiB.
1144 1145 1146 |
# File 'lib/Hpe3parSdk/models.rb', line 1144 def rawfree_in_mib @rawfree_in_mib end |
#usable_free_in_mib ⇒ Object
- type - Number
-
LD free capacity in MiB.
1148 1149 1150 |
# File 'lib/Hpe3parSdk/models.rb', line 1148 def usable_free_in_mib @usable_free_in_mib end |