Google Cloud OsConfig V1 Client - Class Mode (1.1.1)

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

Type of the rollout.

Protobuf type google.cloud.osconfig.v1.PatchRollout.Mode

Namespace

Google \ Cloud \ OsConfig \ V1 \ PatchRollout

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

MODE_UNSPECIFIED

Value: 0

Mode must be specified.

Generated from protobuf enum MODE_UNSPECIFIED = 0;

ZONE_BY_ZONE

Value: 1

Patches are applied one zone at a time. The patch job begins in the region with the lowest number of targeted VMs. Within the region, patching begins in the zone with the lowest number of targeted VMs. If multiple regions (or zones within a region) have the same number of targeted VMs, a tie-breaker is achieved by sorting the regions or zones in alphabetical order.

Generated from protobuf enum ZONE_BY_ZONE = 1;

CONCURRENT_ZONES

Value: 2

Patches are applied to VMs in all zones at the same time.

Generated from protobuf enum CONCURRENT_ZONES = 2;