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

#include <cluster_autoscaling.h>

Inheritance diagram for google_container_api::ClusterAutoscaling:

Public Member Functions

 ClusterAutoscaling (const Json::Value &storage)
 
 ClusterAutoscaling (Json::Value *storage)
 
virtual ~ClusterAutoscaling ()
 
const StringPiece GetTypeName () const
 
bool has_autoprovisioning_locations () const
 
void clear_autoprovisioning_locations ()
 
const client::JsonCppArray< string > get_autoprovisioning_locations () const
 
client::JsonCppArray< string > mutable_autoprovisioningLocations ()
 
bool has_autoprovisioning_node_pool_defaults () const
 
void clear_autoprovisioning_node_pool_defaults ()
 
const AutoprovisioningNodePoolDefaults get_autoprovisioning_node_pool_defaults () const
 
AutoprovisioningNodePoolDefaults mutable_autoprovisioningNodePoolDefaults ()
 
bool has_enable_node_autoprovisioning () const
 
void clear_enable_node_autoprovisioning ()
 
bool get_enable_node_autoprovisioning () const
 
void set_enable_node_autoprovisioning (bool value)
 
bool has_resource_limits () const
 
void clear_resource_limits ()
 
const client::JsonCppArray< ResourceLimitget_resource_limits () const
 
client::JsonCppArray< ResourceLimitmutable_resourceLimits ()
 

Static Public Member Functions

static ClusterAutoscalingNew ()
 

Detailed Description

ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.

Constructor & Destructor Documentation

◆ ClusterAutoscaling() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ClusterAutoscaling() [2/2]

google_container_api::ClusterAutoscaling::ClusterAutoscaling ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~ClusterAutoscaling()

google_container_api::ClusterAutoscaling::~ClusterAutoscaling ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_autoprovisioning_locations()

void google_container_api::ClusterAutoscaling::clear_autoprovisioning_locations ( )
inline

Clears the 'autoprovisioningLocations' attribute.

◆ clear_autoprovisioning_node_pool_defaults()

void google_container_api::ClusterAutoscaling::clear_autoprovisioning_node_pool_defaults ( )
inline

Clears the 'autoprovisioningNodePoolDefaults' attribute.

◆ clear_enable_node_autoprovisioning()

void google_container_api::ClusterAutoscaling::clear_enable_node_autoprovisioning ( )
inline

Clears the 'enableNodeAutoprovisioning' attribute.

◆ clear_resource_limits()

void google_container_api::ClusterAutoscaling::clear_resource_limits ( )
inline

Clears the 'resourceLimits' attribute.

◆ get_autoprovisioning_locations()

const client::JsonCppArray<string > google_container_api::ClusterAutoscaling::get_autoprovisioning_locations ( ) const
inline

Get a reference to the value of the 'autoprovisioningLocations' attribute.

◆ get_autoprovisioning_node_pool_defaults()

const AutoprovisioningNodePoolDefaults google_container_api::ClusterAutoscaling::get_autoprovisioning_node_pool_defaults ( ) const

Get a reference to the value of the 'autoprovisioningNodePoolDefaults' attribute.

◆ get_enable_node_autoprovisioning()

bool google_container_api::ClusterAutoscaling::get_enable_node_autoprovisioning ( ) const
inline

Get the value of the 'enableNodeAutoprovisioning' attribute.

◆ get_resource_limits()

const client::JsonCppArray<ResourceLimit > google_container_api::ClusterAutoscaling::get_resource_limits ( ) const

Get a reference to the value of the 'resourceLimits' attribute.

◆ GetTypeName()

const StringPiece google_container_api::ClusterAutoscaling::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_container_api::ClusterAutoscaling

◆ has_autoprovisioning_locations()

bool google_container_api::ClusterAutoscaling::has_autoprovisioning_locations ( ) const
inline

Determine if the 'autoprovisioningLocations' attribute was set.

Returns
true if the 'autoprovisioningLocations' attribute was set.

◆ has_autoprovisioning_node_pool_defaults()

bool google_container_api::ClusterAutoscaling::has_autoprovisioning_node_pool_defaults ( ) const
inline

Determine if the 'autoprovisioningNodePoolDefaults' attribute was set.

Returns
true if the 'autoprovisioningNodePoolDefaults' attribute was set.

◆ has_enable_node_autoprovisioning()

bool google_container_api::ClusterAutoscaling::has_enable_node_autoprovisioning ( ) const
inline

Determine if the 'enableNodeAutoprovisioning' attribute was set.

Returns
true if the 'enableNodeAutoprovisioning' attribute was set.

◆ has_resource_limits()

bool google_container_api::ClusterAutoscaling::has_resource_limits ( ) const
inline

Determine if the 'resourceLimits' attribute was set.

Returns
true if the 'resourceLimits' attribute was set.

◆ mutable_autoprovisioningLocations()

client::JsonCppArray<string > google_container_api::ClusterAutoscaling::mutable_autoprovisioningLocations ( )
inline

Gets a reference to a mutable value of the 'autoprovisioningLocations' property.

The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.

Returns
The result can be modified to change the attribute value.

◆ mutable_autoprovisioningNodePoolDefaults()

AutoprovisioningNodePoolDefaults google_container_api::ClusterAutoscaling::mutable_autoprovisioningNodePoolDefaults ( )

Gets a reference to a mutable value of the 'autoprovisioningNodePoolDefaults' property.

AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.

Returns
The result can be modified to change the attribute value.

◆ mutable_resourceLimits()

client::JsonCppArray<ResourceLimit > google_container_api::ClusterAutoscaling::mutable_resourceLimits ( )

Gets a reference to a mutable value of the 'resourceLimits' property.

Contains global constraints regarding minimum and maximum amount of resources in the cluster.

Returns
The result can be modified to change the attribute value.

◆ New()

ClusterAutoscaling * google_container_api::ClusterAutoscaling::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_enable_node_autoprovisioning()

void google_container_api::ClusterAutoscaling::set_enable_node_autoprovisioning ( bool  value)
inline

Change the 'enableNodeAutoprovisioning' attribute.

Enables automatic node pool creation and deletion.

Parameters
[in]valueThe new value.

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