PatchInstanceFilter class

A filter to target VM instances for patching.

The targeted VMs must meet all criteria specified. So if both labels and zones are specified, the patch job targets only VMs with those labels and in those zones.

Constructors

PatchInstanceFilter({bool? all, List<PatchInstanceFilterGroupLabel>? groupLabels, List<String>? instanceNamePrefixes, List<String>? instances, List<String>? zones})
PatchInstanceFilter.fromJson(Map json_)

Properties

all bool?
Target all VM instances in the project.
getter/setter pair
groupLabels List<PatchInstanceFilterGroupLabel>?
Targets VM instances matching ANY of these GroupLabels.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
instanceNamePrefixes List<String>?
Targets VMs whose name starts with one of these prefixes.
getter/setter pair
instances List<String>?
Targets any of the VM instances specified.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zones List<String>?
Targets VM instances in ANY of these zones.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited