Interface OSPolicyAssignment.RolloutOrBuilder (2.17.0)

public static interface OSPolicyAssignment.RolloutOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisruptionBudget()

public abstract Common.FixedOrPercent getDisruptionBudget()

Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.

.google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Common.FixedOrPercent

The disruptionBudget.

getDisruptionBudgetOrBuilder()

public abstract Common.FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder()

Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.

.google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Common.FixedOrPercentOrBuilder

getMinWaitDuration()

public abstract Duration getMinWaitDuration()

Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the disruption_budget at least until this duration of time has passed after configuration changes are applied.

.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Duration

The minWaitDuration.

getMinWaitDurationOrBuilder()

public abstract DurationOrBuilder getMinWaitDurationOrBuilder()

Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the disruption_budget at least until this duration of time has passed after configuration changes are applied.

.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DurationOrBuilder

hasDisruptionBudget()

public abstract boolean hasDisruptionBudget()

Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment.

.google.cloud.osconfig.v1.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the disruptionBudget field is set.

hasMinWaitDuration()

public abstract boolean hasMinWaitDuration()

Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the disruption_budget at least until this duration of time has passed after configuration changes are applied.

.google.protobuf.Duration min_wait_duration = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the minWaitDuration field is set.