Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::InstanceGroupManagerAutoHealingPolicy (v2.7.2)

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 initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.

#initial_delay_sec=

def initial_delay_sec=(value) -> ::Integer
Parameter
  • value (::Integer) — The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
Returns
  • (::Integer) — The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.