PatchDeploymentInstanceFilterArgs

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

Constructors

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

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. Structure is documented below.

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.googleapis.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.

Functions

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