#include <cluster_autoscaling.h>
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.
◆ ClusterAutoscaling() [1/2]
google_container_api::ClusterAutoscaling::ClusterAutoscaling |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~ClusterAutoscaling()
google_container_api::ClusterAutoscaling::~ClusterAutoscaling |
( |
| ) |
|
|
virtual |
◆ 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()
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 |
◆ 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()
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()
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
-
The documentation for this class was generated from the following files: