Interface HostMaintenancePolicy.OpportunisticMaintenanceStrategyOrBuilder (2.50.0)

public static interface HostMaintenancePolicy.OpportunisticMaintenanceStrategyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaintenanceAvailabilityWindow()

public abstract Duration getMaintenanceAvailabilityWindow()

The window of time that opportunistic maintenance can run. Example: A setting of 14 days implies that opportunistic maintenance can only be ran in the 2 weeks leading up to the scheduled maintenance date. Setting 28 days allows opportunistic maintenance to run at any time in the scheduled maintenance window (all PERIODIC maintenance is set 28 days in advance).

optional .google.protobuf.Duration maintenance_availability_window = 2;

Returns
Type Description
Duration

The maintenanceAvailabilityWindow.

getMaintenanceAvailabilityWindowOrBuilder()

public abstract DurationOrBuilder getMaintenanceAvailabilityWindowOrBuilder()

The window of time that opportunistic maintenance can run. Example: A setting of 14 days implies that opportunistic maintenance can only be ran in the 2 weeks leading up to the scheduled maintenance date. Setting 28 days allows opportunistic maintenance to run at any time in the scheduled maintenance window (all PERIODIC maintenance is set 28 days in advance).

optional .google.protobuf.Duration maintenance_availability_window = 2;

Returns
Type Description
DurationOrBuilder

getMinNodesPerPool()

public abstract long getMinNodesPerPool()

The minimum nodes required to be available in a pool. Blocks maintenance if it would cause the number of running nodes to dip below this value.

optional int64 min_nodes_per_pool = 3;

Returns
Type Description
long

The minNodesPerPool.

getNodeIdleTimeWindow()

public abstract Duration getNodeIdleTimeWindow()

The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance.

optional .google.protobuf.Duration node_idle_time_window = 1;

Returns
Type Description
Duration

The nodeIdleTimeWindow.

getNodeIdleTimeWindowOrBuilder()

public abstract DurationOrBuilder getNodeIdleTimeWindowOrBuilder()

The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance.

optional .google.protobuf.Duration node_idle_time_window = 1;

Returns
Type Description
DurationOrBuilder

hasMaintenanceAvailabilityWindow()

public abstract boolean hasMaintenanceAvailabilityWindow()

The window of time that opportunistic maintenance can run. Example: A setting of 14 days implies that opportunistic maintenance can only be ran in the 2 weeks leading up to the scheduled maintenance date. Setting 28 days allows opportunistic maintenance to run at any time in the scheduled maintenance window (all PERIODIC maintenance is set 28 days in advance).

optional .google.protobuf.Duration maintenance_availability_window = 2;

Returns
Type Description
boolean

Whether the maintenanceAvailabilityWindow field is set.

hasMinNodesPerPool()

public abstract boolean hasMinNodesPerPool()

The minimum nodes required to be available in a pool. Blocks maintenance if it would cause the number of running nodes to dip below this value.

optional int64 min_nodes_per_pool = 3;

Returns
Type Description
boolean

Whether the minNodesPerPool field is set.

hasNodeIdleTimeWindow()

public abstract boolean hasNodeIdleTimeWindow()

The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance.

optional .google.protobuf.Duration node_idle_time_window = 1;

Returns
Type Description
boolean

Whether the nodeIdleTimeWindow field is set.