Class: Google::Apis::GkeonpremV1::BareMetalAdminStorageConfig

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

Overview

BareMetalAdminStorageConfig specifies the cluster storage configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalAdminStorageConfig

Returns a new instance of BareMetalAdminStorageConfig.

[View source]

702
703
704
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 702

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#lvp_node_mounts_configGoogle::Apis::GkeonpremV1::BareMetalLvpConfig

Specifies the configs for local persistent volumes (PVs). Corresponds to the JSON property lvpNodeMountsConfig


695
696
697
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 695

def lvp_node_mounts_config
  @lvp_node_mounts_config
end

#lvp_share_configGoogle::Apis::GkeonpremV1::BareMetalLvpShareConfig

Specifies the configs for local persistent volumes under a shared file system. Corresponds to the JSON property lvpShareConfig


700
701
702
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 700

def lvp_share_config
  @lvp_share_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

707
708
709
710
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 707

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