Google Cloud OsConfig V1 Client - Class Rollout (1.1.1)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class Rollout.

Message to configure the rollout at the zonal level for the OS policy assignment.

Generated from protobuf message google.cloud.osconfig.v1.OSPolicyAssignment.Rollout

Namespace

Google \ Cloud \ OsConfig \ V1 \ OSPolicyAssignment

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ disruption_budget Google\Cloud\OsConfig\V1\FixedOrPercent

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

↳ min_wait_duration Google\Protobuf\Duration

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.

getDisruptionBudget

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

Returns
TypeDescription
Google\Cloud\OsConfig\V1\FixedOrPercent|null

hasDisruptionBudget

clearDisruptionBudget

setDisruptionBudget

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

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\FixedOrPercent
Returns
TypeDescription
$this

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.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasMinWaitDuration

clearMinWaitDuration

setMinWaitDuration

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.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this