class Hpe3parSdk::CPG

Attributes

additional_states[RW]
type - Number

Detailed state of the Cpg. - Hpe3parSdk::CPGState

dds_rsvd_MiB[RW]
type - Number

Maximum size of the deduplication store Volume in the Cpg.

dedup_capable[RW]
type - Boolean

Enables (true) or disables (false) Cpg deduplication capability.

degraded_states[RW]
type - Number

Detailed state of the Cpg. - Hpe3parSdk::CPGState

domain[RW]
type - String

Domain to which the Cpg belongs.

failed_states[RW]
type - Number

Detailed state of the Cpg. - Hpe3parSdk::CPGState

free_space_MiB[RW]
type - Number

Free Cpg space in MiB

id[RW]
type - Number

Cpg ID.

name[RW]
type - String

Cpg name.

num_fpvvs[RW]
type - Number

Number of FPVVs allocated in the Cpg.

num_tdvvs[RW]
type - Number

Number of TDVVs created in the Cpg.

num_tpvvs[RW]
type - Number

Number of TPVVs allocated in the Cpg.

private_space_MiB[RW]
type - PrivateSpace

Private Cpg space in MiB

raw_free_space_MiB[RW]
type - Number

Raw free space in MiB

raw_shared_space_MiB[RW]
type - Number

Raw shared space in MiB

raw_total_space_MiB[RW]
type - Number

Raw total space in MiB

sagrowth[RW]
type - GrowthParams

Snap-shot administration space autogrowth parameters.

sausage[RW]
type - Usage

Snap-shot administration usage.

sdgrowth[RW]
type - GrowthParams

Snap-shot data space auto-growth parameters.

sdusage[RW]
type - Usage

Snap-shot data space usage.

shared_space_MiB[RW]
type - Number

Shared Cpg space in MiB

state[RW]
type - Number

Overall state of the Cpg.- Hpe3parSdk::CPGState

tdvv_version[RW]
type - Number

Deduplication version used by volumes in the Cpg.

total_space_MiB[RW]
type - Number

Total Cpg space in MiB

usr_usage[RW]
type - Usage

User data space usage.

uuid[RW]
type - String

The UUID that was automatically assigned to the Cpg at creation.

warning_pct[RW]
type - Number

Percentage usage at which to issue an alert.

Public Class Methods

new(object_hash) click to toggle source
# File lib/Hpe3parSdk/models.rb, line 714
def initialize(object_hash)
  if object_hash == nil
    return
  end

  self.id = object_hash['id']

  self.uuid = object_hash['uuid']

  self.name = object_hash['name']

  self.domain = object_hash['domain']

  self.warning_pct = object_hash['warningPct']

  self.num_tpvvs = object_hash['numTPVVs']

  self.num_fpvvs = object_hash['numFPVVs']

  self.num_tdvvs = object_hash['numTDVVs']

  !object_hash['UsrUsage'].nil? ? self.usr_usage = Usage.new(object_hash['UsrUsage']) : self.usr_usage = nil

  !object_hash['SAUsage'].nil? ? self.sausage = Usage.new(object_hash['SAUsage']) : self.sausage = nil

  !object_hash['SDUsage'].nil? ? self.sdusage = Usage.new(object_hash['SDUsage']) : self.sdusage = nil

  !object_hash['SAGrowth'].nil? ? self.sagrowth = GrowthParams.new(object_hash['SAGrowth']) : self.sagrowth = nil

  !object_hash['SDGrowth'].nil? ? self.sdgrowth = GrowthParams.new(object_hash['SDGrowth']) : self.sdgrowth = nil

  self.state = object_hash['state']

  self.failed_states = object_hash['failedStates']

  self.degraded_states = object_hash['degradedStates']

  self.additional_states = object_hash['additionalStates']

  self.dedup_capable = object_hash['dedupCapable']

  self.shared_space_MiB = object_hash['sharedSpaceMiB']

  self.free_space_MiB = object_hash['freeSpaceMiB']

  self.total_space_MiB = object_hash['totalSpaceMiB']

  self.raw_shared_space_MiB = object_hash['rawSharedSpaceMiB']

  self.raw_free_space_MiB = object_hash['rawFreeSpaceMiB']

  self.raw_total_space_MiB = object_hash['rawTotalSpaceMiB']

  self.tdvv_version = object_hash['tdvvVersion']

  self.dds_rsvd_MiB = object_hash['ddsRsvdMiB']

  !object_hash['privateSpaceMiB'].nil? ? self.private_space_MiB = PrivateSpace.new(object_hash['privateSpaceMiB']) : self.private_space_MiB = nil

end