Interface InstanceGroupManagerStandbyPolicyOrBuilder (1.65.0)

public interface InstanceGroupManagerStandbyPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInitialDelaySec()

public abstract int getInitialDelaySec()

Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created. The initial delay gives the initialization script the time to prepare your VM for a quick scale out. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.

optional int32 initial_delay_sec = 263207002;

Returns
Type Description
int

The initialDelaySec.

getMode()

public abstract String getMode()

Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is MANUAL. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
Type Description
String

The mode.

getModeBytes()

public abstract ByteString getModeBytes()

Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is MANUAL. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
Type Description
ByteString

The bytes for mode.

hasInitialDelaySec()

public abstract boolean hasInitialDelaySec()

Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created. The initial delay gives the initialization script the time to prepare your VM for a quick scale out. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.

optional int32 initial_delay_sec = 263207002;

Returns
Type Description
boolean

Whether the initialDelaySec field is set.

hasMode()

public abstract boolean hasMode()

Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is MANUAL. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
Type Description
boolean

Whether the mode field is set.