Class: Google::Apis::GkeonpremV1::BareMetalAdminControlPlaneConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalAdminControlPlaneConfig
- 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
BareMetalAdminControlPlaneConfig specifies the control plane configuration.
Instance Attribute Summary collapse
-
#api_server_args ⇒ Array<Google::Apis::GkeonpremV1::BareMetalAdminApiServerArgument>
Customizes the default API server args.
-
#control_plane_node_pool_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminControlPlaneNodePoolConfig
BareMetalAdminControlPlaneNodePoolConfig specifies the control plane node pool configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalAdminControlPlaneConfig
constructor
A new instance of BareMetalAdminControlPlaneConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalAdminControlPlaneConfig
Returns a new instance of BareMetalAdminControlPlaneConfig.
413 414 415 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 413 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_server_args ⇒ Array<Google::Apis::GkeonpremV1::BareMetalAdminApiServerArgument>
Customizes the default API server args. Only a subset of customized flags are
supported. Please refer to the API server documentation below to know the
exact format: https://kubernetes.io/docs/reference/command-line-tools-
reference/kube-apiserver/
Corresponds to the JSON property apiServerArgs
404 405 406 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 404 def api_server_args @api_server_args end |
#control_plane_node_pool_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminControlPlaneNodePoolConfig
BareMetalAdminControlPlaneNodePoolConfig specifies the control plane node pool
configuration. We have a control plane specific node pool config so that we
can flexible about supporting control plane specific fields in the future.
Corresponds to the JSON property controlPlaneNodePoolConfig
411 412 413 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 411 def control_plane_node_pool_config @control_plane_node_pool_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
418 419 420 421 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 418 def update!(**args) @api_server_args = args[:api_server_args] if args.key?(:api_server_args) @control_plane_node_pool_config = args[:control_plane_node_pool_config] if args.key?(:control_plane_node_pool_config) end |