class Hpe3parSdk::VirtualVolume

Attributes

additional_states[RW]
type - Number

Detailed state of the VV - Hpe3parSdk::VolumeDetailedState

admin_space[RW]
type - Space

Administrative space in MiB.

base_id[RW]
type - Number

The ID of the volume that is the base volume (at the root of the snapshot tree) for the volume.

capacity_efficiency[RW]
type - CapEfficiency

Capacity efficiency attributes.

comment[RW]
type - String

Comment associated with the volume.

compression_state[RW]
type - Number

Volume compression state - Hpe3parSdk::VolumeCompressionState

copy_of[RW]
type - String

If the volume is a physical copy or virtual copy of another volume, this field indicates the volume that this volume is a copy of.

copy_type[RW]
type - Number

Indicates the copy type of the volume. - Hpe3parSdk::VolumeCopyType

creation_time8601[RW]
type - String

Time of volume creation.

creation_time_sec[RW]
type - Number

Time of volume creation, measured in seconds since 12 AM on 01/01/1970.

deduplication_state[RW]
type - Number

Volume deduplication state. - Hpe3parSdk::VolumeDetailedState

degraded_states[RW]
type - Number

Volume detailed state. - Hpe3parSdk::VolumeDetailedState

domain[RW]
type - String

Volume domain.

expiration_time8601[RW]
type - String

Time of volume expiration.

expiration_time_sec[RW]
type - Number

Time of volume expiration.

failed_states[RW]
type - Number

Volume detailed state. - Hpe3parSdk::VolumeDetailedState

host_write_mib[RW]
type - Number

Total written to volume. For TDVVs this includes shared data that this volume references.

id[RW]
type - Number

Volume identifier.

name[RW]
type - String

Volume name.

parent_id[RW]
type - Number

ID of the parent in the snapshot tree (not necessarily the same as the CopyOf VV).

phys_parent_id[RW]
type - Number

ID of the physical parent. Valid for a physical copy only.

policies[RW]
type - Policy

Policies used for the volume.

provisioning_type[RW]
type - Number

Volume provisioning. - Hpe3parSdk::VolumeProvisioningType

read_only[RW]
type - Boolean

Enables (true) or disables (false) read/write.

retention_time8601[RW]
type - String

Time of volume retention time expiration.

retention_time_sec[RW]
type - Number

Time of volume retention expiration.

ro_child_id[RW]
type - Number

ID of the read-only child volume in the snapshot tree.

rw_child_id[RW]
type - Number

ID of the read/write child volume in the snapshot tree.

shared_parent_id[RW]
type - Number

The ID of the shared volume that this volume is associated with.

size_mib[RW]
type - Number

Detailed Virtual size of volume in MiB (10242 bytes).

snap_cpg[RW]
type - String

CPG name from which the snapshot (snap and admin) space is allocated.

snapshot_space[RW]
type - Space

Snapshot space in MiB.

ss_spc_alloc_limit_pct[RW]
type - Number

Sets a snapshot space allocation limit. Prevents the snapshot space of the volume from growing beyond the indicated percentage of the volume size.

ss_spc_alloc_warning_pct[RW]
type - Number

Enables a snapshot space allocation warning. Generates a warning alert when the reserved snapshot space of the virtual volume exceeds the indicated percentage of the virtual volume size. - Hpe3parSdk::VolumeDetailedState

state[RW]
type - Number

State of the volume. - Hpe3parSdk::CPGState

total_reserved_mib[RW]
type - Number

Total Reserved space.

total_used_mib[RW]
type - Number

Total used space. Sum of used UserSpace and used Snapshot space.

udid[RW]
type - Number

User-Defined identifier per VV for OpenVMS hosts.

user_cpg[RW]
type - String

CPG name from which the user space is allocated.

user_space[RW]
type - Space

User space in MiB.

usr_spc_alloc_limit_pct[RW]
type - Number

This field sets the user space allocation limit. The user space of the TPVV is prevented from growing beyond the specified percentage of the volume size. After the size is reached, any new writes to the volume will fail.

usr_spc_alloc_warning_pct[RW]
type - Number

This field enables a user space allocation warning. It specifies that a warning alert is generated when the reserved user space of the TPVV exceeds the specified percentage of the volume size.

uuid[RW]
type - String

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

wwn[RW]
type - String

Volume WWN.

Public Class Methods

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

  self.additional_states = object_hash['additionalStates']

  !object_hash['adminSpace'].nil? ? self.admin_space = Space.new(object_hash['adminSpace']) : self.admin_space = nil

  self.base_id = object_hash['baseId']

  self.comment = object_hash['comment']

  !object_hash['capacityEfficiency'].nil? ? self.capacity_efficiency = CapEfficiency.new(object_hash['capacityEfficiency']) : self.capacity_efficiency = nil

  self.copy_of = object_hash['copyOf']

  self.copy_type = object_hash['copyType']

  self.creation_time8601 = object_hash['creationTime8601']

  self.creation_time_sec = object_hash['creationTimeSec']

  self.degraded_states = object_hash['degradedStates']

  self.domain = object_hash['domain']

  self.expiration_time8601 = object_hash['expirationTime8601']

  self.expiration_time_sec = object_hash['expirationTimeSec']

  self.failed_states = object_hash['failedStates']

  self.compression_state = object_hash['compressionState']

  self.deduplication_state = object_hash['deduplicationState']

  self.id = object_hash['id']

  self.links = object_hash['links']

  self.name = object_hash['name']

  self.parent_id = object_hash['parentId']

  self.phys_parent_id = object_hash['physParentId']

  !object_hash['policies'].nil? ? self.policies = Policy.new(object_hash['policies']) : self.policies = nil

  self.provisioning_type = object_hash['provisioningType']

  self.read_only = object_hash['readOnly']

  self.retention_time8601 = object_hash['retentionTime8601']

  self.retention_time_sec = object_hash['retentionTimeSec']

  self.ro_child_id = object_hash['roChildId']

  self.rw_child_id = object_hash['rwChildId']

  self.host_write_mib = object_hash['hostWriteMiB']

  self.total_used_mib = object_hash['totalUsedMiB']

  self.total_reserved_mib = object_hash['totalReservedMiB']

  self.size_mib = object_hash['sizeMiB']

  self.snap_cpg = object_hash['snapCPG']

  !object_hash['snapshotSpace'].nil? ? self.snapshot_space = Space.new(object_hash['snapshotSpace']) : self.snapshot_space = nil

  self.ss_spc_alloc_limit_pct = object_hash['ssSpcAllocLimitPct']

  self.ss_spc_alloc_warning_pct = object_hash['ssSpcAllocWarningPct']

  self.state = object_hash['state']

  self.user_cpg = object_hash['userCPG']

  !object_hash['userSpace'].nil? ? self.user_space = Space.new(object_hash['userSpace']) : self.user_space = nil

  self.usr_spc_alloc_limit_pct = object_hash['usrSpcAllocLimitPct']

  self.usr_spc_alloc_warning_pct = object_hash['usrSpcAllocWarningPct']

  self.uuid = object_hash['uuid']

  self.shared_parent_id = object_hash['sharedParentID']

  self.udid = object_hash['udid']

  self.wwn = object_hash['wwn']
end