class Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy

Attributes

health_check[RW]

The URL for the health check that signals autohealing. Corresponds to the JSON property `healthCheck` @return [String]

initial_delay_sec[RW]

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]. Corresponds to the JSON property `initialDelaySec` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 13685
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 13690
def update!(**args)
  @health_check = args[:health_check] if args.key?(:health_check)
  @initial_delay_sec = args[:initial_delay_sec] if args.key?(:initial_delay_sec)
end