Interface HostMaintenancePolicy.OpportunisticMaintenanceStrategyOrBuilder (2.44.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the nodeIdleTimeWindow field is set.