#include <instance_group_manager_auto_healing_policy.h>
◆ InstanceGroupManagerAutoHealingPolicy() [1/2]
google_compute_api::InstanceGroupManagerAutoHealingPolicy::InstanceGroupManagerAutoHealingPolicy |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ InstanceGroupManagerAutoHealingPolicy() [2/2]
google_compute_api::InstanceGroupManagerAutoHealingPolicy::InstanceGroupManagerAutoHealingPolicy |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~InstanceGroupManagerAutoHealingPolicy()
google_compute_api::InstanceGroupManagerAutoHealingPolicy::~InstanceGroupManagerAutoHealingPolicy |
( |
| ) |
|
|
virtual |
◆ clear_health_check()
void google_compute_api::InstanceGroupManagerAutoHealingPolicy::clear_health_check |
( |
| ) |
|
|
inline |
Clears the 'healthCheck
' attribute.
◆ clear_initial_delay_sec()
void google_compute_api::InstanceGroupManagerAutoHealingPolicy::clear_initial_delay_sec |
( |
| ) |
|
|
inline |
Clears the 'initialDelaySec
' attribute.
◆ get_health_check()
const StringPiece google_compute_api::InstanceGroupManagerAutoHealingPolicy::get_health_check |
( |
| ) |
const |
|
inline |
Get the value of the 'healthCheck
' attribute.
◆ get_initial_delay_sec()
int32 google_compute_api::InstanceGroupManagerAutoHealingPolicy::get_initial_delay_sec |
( |
| ) |
const |
|
inline |
Get the value of the 'initialDelaySec
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::InstanceGroupManagerAutoHealingPolicy::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_health_check()
bool google_compute_api::InstanceGroupManagerAutoHealingPolicy::has_health_check |
( |
| ) |
const |
|
inline |
Determine if the 'healthCheck
' attribute was set.
- Returns
- true if the '
healthCheck
' attribute was set.
◆ has_initial_delay_sec()
bool google_compute_api::InstanceGroupManagerAutoHealingPolicy::has_initial_delay_sec |
( |
| ) |
const |
|
inline |
Determine if the 'initialDelaySec
' attribute was set.
- Returns
- true if the '
initialDelaySec
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_health_check()
void google_compute_api::InstanceGroupManagerAutoHealingPolicy::set_health_check |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'healthCheck
' attribute.
The URL for the health check that signals autohealing.
- Parameters
-
◆ set_initial_delay_sec()
void google_compute_api::InstanceGroupManagerAutoHealingPolicy::set_initial_delay_sec |
( |
int32 |
value | ) |
|
|
inline |
Change the 'initialDelaySec
' attribute.
The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
- Parameters
-
The documentation for this class was generated from the following files: