Class: Hpe3parSdk::GrowthParams

Inherits:
Object
  • Object
show all
Defined in:
lib/Hpe3parSdk/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object_hash) ⇒ GrowthParams

Returns a new instance of GrowthParams.



1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
# File 'lib/Hpe3parSdk/models.rb', line 1630

def initialize(object_hash)
  if object_hash == nil
    return
  end

  self.warning_MiB = object_hash['warningMiB']

  self.limit_MiB = object_hash['limitMiB']

  self.increment_MiB = object_hash['incrementMiB']

  self.ld_layout = LDLayout.new(object_hash['LDLayout'])

end

Instance Attribute Details

#increment_MiBObject

type - Number

The growth increment, the amount of logical disk storage created on each auto-grow operation.



1616
1617
1618
# File 'lib/Hpe3parSdk/models.rb', line 1616

def increment_MiB
  @increment_MiB
end

#ld_layoutObject

type - LDLayout

Logical disk types for this CPG.



1620
1621
1622
# File 'lib/Hpe3parSdk/models.rb', line 1620

def ld_layout
  @ld_layout
end

#limit_MiBObject

type - Number

The auto-grow operation is limited to the specified storage amount that sets the growth limit.



1628
1629
1630
# File 'lib/Hpe3parSdk/models.rb', line 1628

def limit_MiB
  @limit_MiB
end

#warning_MiBObject

type - Number

Threshold of used logical disk space, when exceeded, results in a warning alert.



1624
1625
1626
# File 'lib/Hpe3parSdk/models.rb', line 1624

def warning_MiB
  @warning_MiB
end