Class: Google::Apis::GkeonpremV1::BareMetalStorageConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalStorageConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb
Overview
BareMetalStorageConfig specifies the cluster storage configuration.
Instance Attribute Summary collapse
-
#lvp_node_mounts_config ⇒ Google::Apis::GkeonpremV1::BareMetalLvpConfig
Specifies the configs for local persistent volumes (PVs).
-
#lvp_share_config ⇒ Google::Apis::GkeonpremV1::BareMetalLvpShareConfig
Specifies the configs for local persistent volumes under a shared file system.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalStorageConfig
constructor
A new instance of BareMetalStorageConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalStorageConfig
Returns a new instance of BareMetalStorageConfig.
2005 2006 2007 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2005 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lvp_node_mounts_config ⇒ Google::Apis::GkeonpremV1::BareMetalLvpConfig
Specifies the configs for local persistent volumes (PVs).
Corresponds to the JSON property lvpNodeMountsConfig
1998 1999 2000 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1998 def lvp_node_mounts_config @lvp_node_mounts_config end |
#lvp_share_config ⇒ Google::Apis::GkeonpremV1::BareMetalLvpShareConfig
Specifies the configs for local persistent volumes under a shared file system.
Corresponds to the JSON property lvpShareConfig
2003 2004 2005 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2003 def lvp_share_config @lvp_share_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2010 2011 2012 2013 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2010 def update!(**args) @lvp_node_mounts_config = args[:lvp_node_mounts_config] if args.key?(:lvp_node_mounts_config) @lvp_share_config = args[:lvp_share_config] if args.key?(:lvp_share_config) end |