Interface OSPolicyAssignment.RolloutOrBuilder (2.45.0)

public static interface OSPolicyAssignment.RolloutOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisruptionBudget()

public abstract FixedOrPercent getDisruptionBudget()

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

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

Returns
Type Description
FixedOrPercent

The disruptionBudget.

getDisruptionBudgetOrBuilder()

public abstract FixedOrPercentOrBuilder getDisruptionBudgetOrBuilder()

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

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

Returns
Type Description
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
Type Description
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
Type Description
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.v1alpha.FixedOrPercent disruption_budget = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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
Type Description
boolean

Whether the minWaitDuration field is set.