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.
2084 2085 2086 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2084 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
1979 1980 1981 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1979 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
1986 1987 1988 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1986 def allow_auto_tiering @allow_auto_tiering end |
#capacity_gib ⇒ Fixnum
Required. Capacity in GIB of the pool
Corresponds to the JSON property capacityGib
1992 1993 1994 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1992 def capacity_gib @capacity_gib end |
#create_time ⇒ String
Output only. Create time of the storage pool
Corresponds to the JSON property createTime
1997 1998 1999 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1997 def create_time @create_time end |
#description ⇒ String
Optional. Description of the storage pool
Corresponds to the JSON property description
2002 2003 2004 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2002 def description @description end |
#encryption_type ⇒ String
Output only. Specifies the current pool encryption key source.
Corresponds to the JSON property encryptionType
2007 2008 2009 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2007 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
2013 2014 2015 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2013 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
2019 2020 2021 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2019 def kms_config @kms_config end |
#labels ⇒ Hash<String,String>
Optional. Labels as key value pairs
Corresponds to the JSON property labels
2024 2025 2026 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2024 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
2029 2030 2031 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2029 def ldap_enabled @ldap_enabled end |
#name ⇒ String
Identifier. Name of the storage pool
Corresponds to the JSON property name
2035 2036 2037 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2035 def name @name end |
#network ⇒ String
Required. VPC Network name. Format: projects/project/global/networks/
network
Corresponds to the JSON property network
2041 2042 2043 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2041 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
2047 2048 2049 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2047 def psa_range @psa_range end |
#replica_zone ⇒ String
Optional. Specifies the replica zone for regional storagePool.
Corresponds to the JSON property replicaZone
2052 2053 2054 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2052 def replica_zone @replica_zone end |
#service_level ⇒ String
Required. Service level of the storage pool
Corresponds to the JSON property serviceLevel
2057 2058 2059 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2057 def service_level @service_level end |
#state ⇒ String
Output only. State of the storage pool
Corresponds to the JSON property state
2062 2063 2064 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2062 def state @state end |
#state_details ⇒ String
Output only. State details of the storage pool
Corresponds to the JSON property stateDetails
2067 2068 2069 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2067 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
2072 2073 2074 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2072 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
2077 2078 2079 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2077 def volume_count @volume_count end |
#zone ⇒ String
Optional. Specifies the active zone for regional storagePool.
Corresponds to the JSON property zone
2082 2083 2084 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2082 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2089 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 |