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
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
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;