container  v1
Public Member Functions | Static Public Member Functions | List of all members
google_container_api::NodePoolAutoscaling Class Reference

#include <node_pool_autoscaling.h>

Inheritance diagram for google_container_api::NodePoolAutoscaling:

Public Member Functions

 NodePoolAutoscaling (const Json::Value &storage)
 
 NodePoolAutoscaling (Json::Value *storage)
 
virtual ~NodePoolAutoscaling ()
 
const StringPiece GetTypeName () const
 
bool has_autoprovisioned () const
 
void clear_autoprovisioned ()
 
bool get_autoprovisioned () const
 
void set_autoprovisioned (bool value)
 
bool has_enabled () const
 
void clear_enabled ()
 
bool get_enabled () const
 
void set_enabled (bool value)
 
bool has_max_node_count () const
 
void clear_max_node_count ()
 
int32 get_max_node_count () const
 
void set_max_node_count (int32 value)
 
bool has_min_node_count () const
 
void clear_min_node_count ()
 
int32 get_min_node_count () const
 
void set_min_node_count (int32 value)
 

Static Public Member Functions

static NodePoolAutoscalingNew ()
 

Detailed Description

NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.

Constructor & Destructor Documentation

◆ NodePoolAutoscaling() [1/2]

google_container_api::NodePoolAutoscaling::NodePoolAutoscaling ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~NodePoolAutoscaling()

google_container_api::NodePoolAutoscaling::~NodePoolAutoscaling ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_container_api::NodePoolAutoscaling

◆ 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()

NodePoolAutoscaling * google_container_api::NodePoolAutoscaling::New ( )
static

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
[in]valueThe new value.

◆ set_enabled()

void google_container_api::NodePoolAutoscaling::set_enabled ( bool  value)
inline

Change the 'enabled' attribute.

Is autoscaling enabled for this node pool.

Parameters
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: