Class: Google::Apis::NetappV1::StoragePool

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_directoryString

Optional. Specifies the Active Directory to be used for creating a SMB volume. Corresponds to the JSON property activeDirectory

Returns:

  • (String)


1979
1980
1981
# File 'lib/google/apis/netapp_v1/classes.rb', line 1979

def active_directory
  @active_directory
end

#allow_auto_tieringBoolean 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

Returns:

  • (Boolean)


1986
1987
1988
# File 'lib/google/apis/netapp_v1/classes.rb', line 1986

def allow_auto_tiering
  @allow_auto_tiering
end

#capacity_gibFixnum

Required. Capacity in GIB of the pool Corresponds to the JSON property capacityGib

Returns:

  • (Fixnum)


1992
1993
1994
# File 'lib/google/apis/netapp_v1/classes.rb', line 1992

def capacity_gib
  @capacity_gib
end

#create_timeString

Output only. Create time of the storage pool Corresponds to the JSON property createTime

Returns:

  • (String)


1997
1998
1999
# File 'lib/google/apis/netapp_v1/classes.rb', line 1997

def create_time
  @create_time
end

#descriptionString

Optional. Description of the storage pool Corresponds to the JSON property description

Returns:

  • (String)


2002
2003
2004
# File 'lib/google/apis/netapp_v1/classes.rb', line 2002

def description
  @description
end

#encryption_typeString

Output only. Specifies the current pool encryption key source. Corresponds to the JSON property encryptionType

Returns:

  • (String)


2007
2008
2009
# File 'lib/google/apis/netapp_v1/classes.rb', line 2007

def encryption_type
  @encryption_type
end

#global_access_allowedBoolean 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

Returns:

  • (Boolean)


2013
2014
2015
# File 'lib/google/apis/netapp_v1/classes.rb', line 2013

def global_access_allowed
  @global_access_allowed
end

#kms_configString

Optional. Specifies the KMS config to be used for volume encryption. Corresponds to the JSON property kmsConfig

Returns:

  • (String)


2019
2020
2021
# File 'lib/google/apis/netapp_v1/classes.rb', line 2019

def kms_config
  @kms_config
end

#labelsHash<String,String>

Optional. Labels as key value pairs Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


2024
2025
2026
# File 'lib/google/apis/netapp_v1/classes.rb', line 2024

def labels
  @labels
end

#ldap_enabledBoolean Also known as: ldap_enabled?

Optional. Flag indicating if the pool is NFS LDAP enabled or not. Corresponds to the JSON property ldapEnabled

Returns:

  • (Boolean)


2029
2030
2031
# File 'lib/google/apis/netapp_v1/classes.rb', line 2029

def ldap_enabled
  @ldap_enabled
end

#nameString

Identifier. Name of the storage pool Corresponds to the JSON property name

Returns:

  • (String)


2035
2036
2037
# File 'lib/google/apis/netapp_v1/classes.rb', line 2035

def name
  @name
end

#networkString

Required. VPC Network name. Format: projects/project/global/networks/ network Corresponds to the JSON property network

Returns:

  • (String)


2041
2042
2043
# File 'lib/google/apis/netapp_v1/classes.rb', line 2041

def network
  @network
end

#psa_rangeString

Optional. This field is not implemented. The values provided in this field are ignored. Corresponds to the JSON property psaRange

Returns:

  • (String)


2047
2048
2049
# File 'lib/google/apis/netapp_v1/classes.rb', line 2047

def psa_range
  @psa_range
end

#replica_zoneString

Optional. Specifies the replica zone for regional storagePool. Corresponds to the JSON property replicaZone

Returns:

  • (String)


2052
2053
2054
# File 'lib/google/apis/netapp_v1/classes.rb', line 2052

def replica_zone
  @replica_zone
end

#service_levelString

Required. Service level of the storage pool Corresponds to the JSON property serviceLevel

Returns:

  • (String)


2057
2058
2059
# File 'lib/google/apis/netapp_v1/classes.rb', line 2057

def service_level
  @service_level
end

#stateString

Output only. State of the storage pool Corresponds to the JSON property state

Returns:

  • (String)


2062
2063
2064
# File 'lib/google/apis/netapp_v1/classes.rb', line 2062

def state
  @state
end

#state_detailsString

Output only. State details of the storage pool Corresponds to the JSON property stateDetails

Returns:

  • (String)


2067
2068
2069
# File 'lib/google/apis/netapp_v1/classes.rb', line 2067

def state_details
  @state_details
end

#volume_capacity_gibFixnum

Output only. Allocated size of all volumes in GIB in the storage pool Corresponds to the JSON property volumeCapacityGib

Returns:

  • (Fixnum)


2072
2073
2074
# File 'lib/google/apis/netapp_v1/classes.rb', line 2072

def volume_capacity_gib
  @volume_capacity_gib
end

#volume_countFixnum

Output only. Volume count of the storage pool Corresponds to the JSON property volumeCount

Returns:

  • (Fixnum)


2077
2078
2079
# File 'lib/google/apis/netapp_v1/classes.rb', line 2077

def volume_count
  @volume_count
end

#zoneString

Optional. Specifies the active zone for regional storagePool. Corresponds to the JSON property zone

Returns:

  • (String)


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