Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::InstanceGroupManagerAutoHealingPolicy (v1.10.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InstanceGroupManagerAutoHealingPolicy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#health_check

def health_check() -> ::String
Returns
  • (::String) — The URL for the health check that signals autohealing.

#health_check=

def health_check=(value) -> ::String
Parameter
  • value (::String) — The URL for the health check that signals autohealing.
Returns
  • (::String) — The URL for the health check that signals autohealing.

#initial_delay_sec

def initial_delay_sec() -> ::Integer
Returns
  • (::Integer) — 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].

#initial_delay_sec=

def initial_delay_sec=(value) -> ::Integer
Parameter
  • value (::Integer) — 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].
Returns
  • (::Integer) — 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].