Class: Google::Apis::NetappV1::StoragePool
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::StoragePool
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/netapp_v1/classes.rb,
lib/google/apis/netapp_v1/representations.rb,
lib/google/apis/netapp_v1/representations.rb
Overview
StoragePool is a container for volumes with a service level and capacity. Volumes can be created in a pool of sufficient available capacity. StoragePool capacity is what you are billed for.
Instance Attribute Summary collapse
-
#active_directory ⇒ String
Optional.
-
#allow_auto_tiering ⇒ Boolean
(also: #allow_auto_tiering?)
Optional.
-
#capacity_gib ⇒ Fixnum
Required.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#encryption_type ⇒ String
Output only.
-
#global_access_allowed ⇒ Boolean
(also: #global_access_allowed?)
Deprecated.
-
#kms_config ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#ldap_enabled ⇒ Boolean
(also: #ldap_enabled?)
Optional.
-
#name ⇒ String
Identifier.
-
#network ⇒ String
Required.
-
#psa_range ⇒ String
Optional.
-
#replica_zone ⇒ String
Optional.
-
#service_level ⇒ String
Required.
-
#state ⇒ String
Output only.
-
#state_details ⇒ String
Output only.
-
#volume_capacity_gib ⇒ Fixnum
Output only.
-
#volume_count ⇒ Fixnum
Output only.
-
#zone ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StoragePool
constructor
A new instance of StoragePool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StoragePool
Returns a new instance of StoragePool.
1820 1821 1822 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1820 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_directory ⇒ String
Optional. Specifies the Active Directory to be used for creating a SMB volume.
Corresponds to the JSON property activeDirectory
1715 1716 1717 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1715 def active_directory @active_directory end |
#allow_auto_tiering ⇒ Boolean Also known as: allow_auto_tiering?
Optional. True if the storage pool supports Auto Tiering enabled volumes.
Default is false. Auto-tiering can be enabled after storage pool creation but
it can't be disabled once enabled.
Corresponds to the JSON property allowAutoTiering
1722 1723 1724 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1722 def allow_auto_tiering @allow_auto_tiering end |
#capacity_gib ⇒ Fixnum
Required. Capacity in GIB of the pool
Corresponds to the JSON property capacityGib
1728 1729 1730 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1728 def capacity_gib @capacity_gib end |
#create_time ⇒ String
Output only. Create time of the storage pool
Corresponds to the JSON property createTime
1733 1734 1735 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1733 def create_time @create_time end |
#description ⇒ String
Optional. Description of the storage pool
Corresponds to the JSON property description
1738 1739 1740 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1738 def description @description end |
#encryption_type ⇒ String
Output only. Specifies the current pool encryption key source.
Corresponds to the JSON property encryptionType
1743 1744 1745 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1743 def encryption_type @encryption_type end |
#global_access_allowed ⇒ Boolean Also known as: global_access_allowed?
Deprecated. Used to allow SO pool to access AD or DNS server from other
regions.
Corresponds to the JSON property globalAccessAllowed
1749 1750 1751 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1749 def global_access_allowed @global_access_allowed end |
#kms_config ⇒ String
Optional. Specifies the KMS config to be used for volume encryption.
Corresponds to the JSON property kmsConfig
1755 1756 1757 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1755 def kms_config @kms_config end |
#labels ⇒ Hash<String,String>
Optional. Labels as key value pairs
Corresponds to the JSON property labels
1760 1761 1762 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1760 def labels @labels end |
#ldap_enabled ⇒ Boolean Also known as: ldap_enabled?
Optional. Flag indicating if the pool is NFS LDAP enabled or not.
Corresponds to the JSON property ldapEnabled
1765 1766 1767 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1765 def ldap_enabled @ldap_enabled end |
#name ⇒ String
Identifier. Name of the storage pool
Corresponds to the JSON property name
1771 1772 1773 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1771 def name @name end |
#network ⇒ String
Required. VPC Network name. Format: projects/project
/global/networks/
network
Corresponds to the JSON property network
1777 1778 1779 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1777 def network @network end |
#psa_range ⇒ String
Optional. This field is not implemented. The values provided in this field are
ignored.
Corresponds to the JSON property psaRange
1783 1784 1785 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1783 def psa_range @psa_range end |
#replica_zone ⇒ String
Optional. Specifies the replica zone for regional storagePool.
Corresponds to the JSON property replicaZone
1788 1789 1790 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1788 def replica_zone @replica_zone end |
#service_level ⇒ String
Required. Service level of the storage pool
Corresponds to the JSON property serviceLevel
1793 1794 1795 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1793 def service_level @service_level end |
#state ⇒ String
Output only. State of the storage pool
Corresponds to the JSON property state
1798 1799 1800 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1798 def state @state end |
#state_details ⇒ String
Output only. State details of the storage pool
Corresponds to the JSON property stateDetails
1803 1804 1805 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1803 def state_details @state_details end |
#volume_capacity_gib ⇒ Fixnum
Output only. Allocated size of all volumes in GIB in the storage pool
Corresponds to the JSON property volumeCapacityGib
1808 1809 1810 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1808 def volume_capacity_gib @volume_capacity_gib end |
#volume_count ⇒ Fixnum
Output only. Volume count of the storage pool
Corresponds to the JSON property volumeCount
1813 1814 1815 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1813 def volume_count @volume_count end |
#zone ⇒ String
Optional. Specifies the active zone for regional storagePool.
Corresponds to the JSON property zone
1818 1819 1820 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1818 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1825 def update!(**args) @active_directory = args[:active_directory] if args.key?(:active_directory) @allow_auto_tiering = args[:allow_auto_tiering] if args.key?(:allow_auto_tiering) @capacity_gib = args[:capacity_gib] if args.key?(:capacity_gib) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @encryption_type = args[:encryption_type] if args.key?(:encryption_type) @global_access_allowed = args[:global_access_allowed] if args.key?(:global_access_allowed) @kms_config = args[:kms_config] if args.key?(:kms_config) @labels = args[:labels] if args.key?(:labels) @ldap_enabled = args[:ldap_enabled] if args.key?(:ldap_enabled) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @psa_range = args[:psa_range] if args.key?(:psa_range) @replica_zone = args[:replica_zone] if args.key?(:replica_zone) @service_level = args[:service_level] if args.key?(:service_level) @state = args[:state] if args.key?(:state) @state_details = args[:state_details] if args.key?(:state_details) @volume_capacity_gib = args[:volume_capacity_gib] if args.key?(:volume_capacity_gib) @volume_count = args[:volume_count] if args.key?(:volume_count) @zone = args[:zone] if args.key?(:zone) end |