Class: Hpe3parSdk::CPG
- Inherits:
-
Object
- Object
- Hpe3parSdk::CPG
- Defined in:
- lib/Hpe3parSdk/models.rb
Instance Attribute Summary collapse
-
#additional_states ⇒ Object
- type - Number
-
Detailed state of the Cpg.
-
#dds_rsvd_MiB ⇒ Object
- type - Number
-
Maximum size of the deduplication store Volume in the Cpg.
-
#dedup_capable ⇒ Object
- type - Boolean
-
Enables (true) or disables (false) Cpg deduplication capability.
-
#degraded_states ⇒ Object
- type - Number
-
Detailed state of the Cpg.
-
#domain ⇒ Object
- type - String
-
Domain to which the Cpg belongs.
-
#failed_states ⇒ Object
- type - Number
-
Detailed state of the Cpg.
-
#free_space_MiB ⇒ Object
- type - Number
-
Free Cpg space in MiB.
-
#id ⇒ Object
- type - Number
-
Cpg ID.
-
#name ⇒ Object
- type - String
-
Cpg name.
-
#num_fpvvs ⇒ Object
- type - Number
-
Number of FPVVs allocated in the Cpg.
-
#num_tdvvs ⇒ Object
- type - Number
-
Number of TDVVs created in the Cpg.
-
#num_tpvvs ⇒ Object
- type - Number
-
Number of TPVVs allocated in the Cpg.
-
#private_space_MiB ⇒ Object
- type - PrivateSpace
-
Private Cpg space in MiB.
-
#raw_free_space_MiB ⇒ Object
- type - Number
-
Raw free space in MiB.
-
#raw_shared_space_MiB ⇒ Object
- type - Number
-
Raw shared space in MiB.
-
#raw_total_space_MiB ⇒ Object
- type - Number
-
Raw total space in MiB.
-
#sagrowth ⇒ Object
- type - GrowthParams
-
Snap-shot administration space autogrowth parameters.
-
#sausage ⇒ Object
- type - Usage
-
Snap-shot administration usage.
-
#sdgrowth ⇒ Object
- type - GrowthParams
-
Snap-shot data space auto-growth parameters.
-
#sdusage ⇒ Object
- type - Usage
-
Snap-shot data space usage.
-
#shared_space_MiB ⇒ Object
- type - Number
-
Shared Cpg space in MiB.
-
#state ⇒ Object
- type - Number
-
Overall state of the Cpg.- Hpe3parSdk::CPGState.
-
#tdvv_version ⇒ Object
- type - Number
-
Deduplication version used by volumes in the Cpg.
-
#total_space_MiB ⇒ Object
- type - Number
-
Total Cpg space in MiB.
-
#usr_usage ⇒ Object
- type - Usage
-
User data space usage.
-
#uuid ⇒ Object
- type - String
-
The UUID that was automatically assigned to the Cpg at creation.
-
#warning_pct ⇒ Object
- type - Number
-
Percentage usage at which to issue an alert.
Instance Method Summary collapse
-
#initialize(object_hash) ⇒ CPG
constructor
A new instance of CPG.
Constructor Details
#initialize(object_hash) ⇒ CPG
Returns a new instance of CPG.
714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 |
# 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 |
Instance Attribute Details
#additional_states ⇒ Object
- type - Number
-
Detailed state of the Cpg. - Hpe3parSdk::CPGState
672 673 674 |
# File 'lib/Hpe3parSdk/models.rb', line 672 def additional_states @additional_states end |
#dds_rsvd_MiB ⇒ Object
- type - Number
-
Maximum size of the deduplication store Volume in the Cpg.
708 709 710 |
# File 'lib/Hpe3parSdk/models.rb', line 708 def dds_rsvd_MiB @dds_rsvd_MiB end |
#dedup_capable ⇒ Object
- type - Boolean
-
Enables (true) or disables (false) Cpg deduplication capability.
676 677 678 |
# File 'lib/Hpe3parSdk/models.rb', line 676 def dedup_capable @dedup_capable end |
#degraded_states ⇒ Object
- type - Number
-
Detailed state of the Cpg. - Hpe3parSdk::CPGState
668 669 670 |
# File 'lib/Hpe3parSdk/models.rb', line 668 def degraded_states @degraded_states end |
#domain ⇒ Object
- type - String
-
Domain to which the Cpg belongs.
620 621 622 |
# File 'lib/Hpe3parSdk/models.rb', line 620 def domain @domain end |
#failed_states ⇒ Object
- type - Number
-
Detailed state of the Cpg. - Hpe3parSdk::CPGState
664 665 666 |
# File 'lib/Hpe3parSdk/models.rb', line 664 def failed_states @failed_states end |
#free_space_MiB ⇒ Object
- type - Number
-
Free Cpg space in MiB
684 685 686 |
# File 'lib/Hpe3parSdk/models.rb', line 684 def free_space_MiB @free_space_MiB end |
#id ⇒ Object
- type - Number
-
Cpg ID.
608 609 610 |
# File 'lib/Hpe3parSdk/models.rb', line 608 def id @id end |
#name ⇒ Object
- type - String
-
Cpg name.
616 617 618 |
# File 'lib/Hpe3parSdk/models.rb', line 616 def name @name end |
#num_fpvvs ⇒ Object
- type - Number
-
Number of FPVVs allocated in the Cpg.
632 633 634 |
# File 'lib/Hpe3parSdk/models.rb', line 632 def num_fpvvs @num_fpvvs end |
#num_tdvvs ⇒ Object
- type - Number
-
Number of TDVVs created in the Cpg.
636 637 638 |
# File 'lib/Hpe3parSdk/models.rb', line 636 def num_tdvvs @num_tdvvs end |
#num_tpvvs ⇒ Object
- type - Number
-
Number of TPVVs allocated in the Cpg.
628 629 630 |
# File 'lib/Hpe3parSdk/models.rb', line 628 def num_tpvvs @num_tpvvs end |
#private_space_MiB ⇒ Object
- type - PrivateSpace
-
Private Cpg space in MiB
712 713 714 |
# File 'lib/Hpe3parSdk/models.rb', line 712 def private_space_MiB @private_space_MiB end |
#raw_free_space_MiB ⇒ Object
- type - Number
-
Raw free space in MiB
696 697 698 |
# File 'lib/Hpe3parSdk/models.rb', line 696 def raw_free_space_MiB @raw_free_space_MiB end |
#raw_shared_space_MiB ⇒ Object
- type - Number
-
Raw shared space in MiB
692 693 694 |
# File 'lib/Hpe3parSdk/models.rb', line 692 def raw_shared_space_MiB @raw_shared_space_MiB end |
#raw_total_space_MiB ⇒ Object
- type - Number
-
Raw total space in MiB
700 701 702 |
# File 'lib/Hpe3parSdk/models.rb', line 700 def raw_total_space_MiB @raw_total_space_MiB end |
#sagrowth ⇒ Object
- type - GrowthParams
-
Snap-shot administration space autogrowth parameters.
652 653 654 |
# File 'lib/Hpe3parSdk/models.rb', line 652 def sagrowth @sagrowth end |
#sausage ⇒ Object
- type - Usage
-
Snap-shot administration usage.
644 645 646 |
# File 'lib/Hpe3parSdk/models.rb', line 644 def sausage @sausage end |
#sdgrowth ⇒ Object
- type - GrowthParams
-
Snap-shot data space auto-growth parameters.
656 657 658 |
# File 'lib/Hpe3parSdk/models.rb', line 656 def sdgrowth @sdgrowth end |
#sdusage ⇒ Object
- type - Usage
-
Snap-shot data space usage.
648 649 650 |
# File 'lib/Hpe3parSdk/models.rb', line 648 def sdusage @sdusage end |
#shared_space_MiB ⇒ Object
- type - Number
-
Shared Cpg space in MiB
680 681 682 |
# File 'lib/Hpe3parSdk/models.rb', line 680 def shared_space_MiB @shared_space_MiB end |
#state ⇒ Object
- type - Number
-
Overall state of the Cpg.- Hpe3parSdk::CPGState
660 661 662 |
# File 'lib/Hpe3parSdk/models.rb', line 660 def state @state end |
#tdvv_version ⇒ Object
- type - Number
-
Deduplication version used by volumes in the Cpg.
704 705 706 |
# File 'lib/Hpe3parSdk/models.rb', line 704 def tdvv_version @tdvv_version end |
#total_space_MiB ⇒ Object
- type - Number
-
Total Cpg space in MiB
688 689 690 |
# File 'lib/Hpe3parSdk/models.rb', line 688 def total_space_MiB @total_space_MiB end |
#usr_usage ⇒ Object
- type - Usage
-
User data space usage.
640 641 642 |
# File 'lib/Hpe3parSdk/models.rb', line 640 def usr_usage @usr_usage end |
#uuid ⇒ Object
- type - String
-
The UUID that was automatically assigned to the Cpg at creation.
612 613 614 |
# File 'lib/Hpe3parSdk/models.rb', line 612 def uuid @uuid end |
#warning_pct ⇒ Object
- type - Number
-
Percentage usage at which to issue an alert.
624 625 626 |
# File 'lib/Hpe3parSdk/models.rb', line 624 def warning_pct @warning_pct end |