PatchInstanceFilterArgs

data class PatchInstanceFilterArgs(val all: Output<Boolean>? = null, val groupLabels: Output<List<PatchInstanceFilterGroupLabelArgs>>? = null, val instanceNamePrefixes: Output<List<String>>? = null, val instances: Output<List<String>>? = null, val zones: Output<List<String>>? = null) : ConvertibleToJava<PatchInstanceFilterArgs>

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

Link copied to clipboard
fun PatchInstanceFilterArgs(all: Output<Boolean>? = null, groupLabels: Output<List<PatchInstanceFilterGroupLabelArgs>>? = null, instanceNamePrefixes: Output<List<String>>? = null, instances: Output<List<String>>? = null, zones: Output<List<String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): PatchInstanceFilterArgs

Properties

Link copied to clipboard
val all: Output<Boolean>? = null

Target all VM instances in the project. If true, no other criteria is permitted.

Link copied to clipboard

Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.

Link copied to clipboard
val instanceNamePrefixes: Output<List<String>>? = null

Targets VMs whose name starts with one of these prefixes. Similar to labels, this is another way to group VMs when targeting configs, for example prefix="prod-".

Link copied to clipboard
val instances: Output<List<String>>? = null

Targets any of the VM instances specified. Instances are specified by their URI in the form zones/[ZONE]/instances/[INSTANCE_NAME], projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME], or https://www&#46;googleapis&#46;com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]

Link copied to clipboard
val zones: Output<List<String>>? = null

Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone.