#include <node_pool_autoscaling.h>
NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.
◆ NodePoolAutoscaling() [1/2]
google_container_api::NodePoolAutoscaling::NodePoolAutoscaling |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ NodePoolAutoscaling() [2/2]
google_container_api::NodePoolAutoscaling::NodePoolAutoscaling |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~NodePoolAutoscaling()
google_container_api::NodePoolAutoscaling::~NodePoolAutoscaling |
( |
| ) |
|
|
virtual |
◆ clear_autoprovisioned()
void google_container_api::NodePoolAutoscaling::clear_autoprovisioned |
( |
| ) |
|
|
inline |
Clears the 'autoprovisioned
' attribute.
◆ clear_enabled()
void google_container_api::NodePoolAutoscaling::clear_enabled |
( |
| ) |
|
|
inline |
Clears the 'enabled
' attribute.
◆ clear_max_node_count()
void google_container_api::NodePoolAutoscaling::clear_max_node_count |
( |
| ) |
|
|
inline |
Clears the 'maxNodeCount
' attribute.
◆ clear_min_node_count()
void google_container_api::NodePoolAutoscaling::clear_min_node_count |
( |
| ) |
|
|
inline |
Clears the 'minNodeCount
' attribute.
◆ get_autoprovisioned()
bool google_container_api::NodePoolAutoscaling::get_autoprovisioned |
( |
| ) |
const |
|
inline |
Get the value of the 'autoprovisioned
' attribute.
◆ get_enabled()
bool google_container_api::NodePoolAutoscaling::get_enabled |
( |
| ) |
const |
|
inline |
Get the value of the 'enabled
' attribute.
◆ get_max_node_count()
int32 google_container_api::NodePoolAutoscaling::get_max_node_count |
( |
| ) |
const |
|
inline |
Get the value of the 'maxNodeCount
' attribute.
◆ get_min_node_count()
int32 google_container_api::NodePoolAutoscaling::get_min_node_count |
( |
| ) |
const |
|
inline |
Get the value of the 'minNodeCount
' attribute.
◆ GetTypeName()
const StringPiece google_container_api::NodePoolAutoscaling::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_autoprovisioned()
bool google_container_api::NodePoolAutoscaling::has_autoprovisioned |
( |
| ) |
const |
|
inline |
Determine if the 'autoprovisioned
' attribute was set.
- Returns
- true if the '
autoprovisioned
' attribute was set.
◆ has_enabled()
bool google_container_api::NodePoolAutoscaling::has_enabled |
( |
| ) |
const |
|
inline |
Determine if the 'enabled
' attribute was set.
- Returns
- true if the '
enabled
' attribute was set.
◆ has_max_node_count()
bool google_container_api::NodePoolAutoscaling::has_max_node_count |
( |
| ) |
const |
|
inline |
Determine if the 'maxNodeCount
' attribute was set.
- Returns
- true if the '
maxNodeCount
' attribute was set.
◆ has_min_node_count()
bool google_container_api::NodePoolAutoscaling::has_min_node_count |
( |
| ) |
const |
|
inline |
Determine if the 'minNodeCount
' attribute was set.
- Returns
- true if the '
minNodeCount
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_autoprovisioned()
void google_container_api::NodePoolAutoscaling::set_autoprovisioned |
( |
bool |
value | ) |
|
|
inline |
Change the 'autoprovisioned
' attribute.
Can this node pool be deleted automatically.
- Parameters
-
◆ set_enabled()
void google_container_api::NodePoolAutoscaling::set_enabled |
( |
bool |
value | ) |
|
|
inline |
Change the 'enabled
' attribute.
Is autoscaling enabled for this node pool.
- Parameters
-
◆ set_max_node_count()
void google_container_api::NodePoolAutoscaling::set_max_node_count |
( |
int32 |
value | ) |
|
|
inline |
Change the 'maxNodeCount
' attribute.
Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to enough quota to scale up the cluster.
- Parameters
-
◆ set_min_node_count()
void google_container_api::NodePoolAutoscaling::set_min_node_count |
( |
int32 |
value | ) |
|
|
inline |
Change the 'minNodeCount
' attribute.
Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
- Parameters
-
The documentation for this class was generated from the following files: