Reference documentation and code samples for the Compute V1 Client class InstanceGroupManagerAutoHealingPolicy.
Generated from protobuf message google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ health_check |
string
The URL for the health check that signals autohealing. |
↳ initial_delay_sec |
int
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]. |
getHealthCheck
The URL for the health check that signals autohealing.
Generated from protobuf field optional string health_check = 308876645;
Returns | |
---|---|
Type | Description |
string |
hasHealthCheck
clearHealthCheck
setHealthCheck
The URL for the health check that signals autohealing.
Generated from protobuf field optional string health_check = 308876645;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getInitialDelaySec
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].
Generated from protobuf field optional int32 initial_delay_sec = 263207002;
Returns | |
---|---|
Type | Description |
int |
hasInitialDelaySec
clearInitialDelaySec
setInitialDelaySec
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].
Generated from protobuf field optional int32 initial_delay_sec = 263207002;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |