PatchDeploymentInstanceFilter

data class PatchDeploymentInstanceFilter(val all: Boolean? = null, val groupLabels: List<PatchDeploymentInstanceFilterGroupLabel>? = null, val instanceNamePrefixes: List<String>? = null, val instances: List<String>? = null, val zones: List<String>? = null)

Constructors

Link copied to clipboard
constructor(all: Boolean? = null, groupLabels: List<PatchDeploymentInstanceFilterGroupLabel>? = null, instanceNamePrefixes: List<String>? = null, instances: List<String>? = null, zones: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val all: 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. Structure is documented below.

Link copied to clipboard

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: 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.googleapis.com/compute/v1/projects/{{project_id}}/zones/{{zone}}/instances/{{instance_name}}

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

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