PatchInstanceFilterResponse constructor

const PatchInstanceFilterResponse({
  1. required Input<bool> all,
  2. required Input<List<PatchInstanceFilterGroupLabelResponse>> groupLabels,
  3. required Input<List<String>> instanceNamePrefixes,
  4. required Input<List<String>> instances,
  5. required Input<List<String>> zones,
})

Creates a new PatchInstanceFilterResponse. all Target all VM instances in the project. If true, no other criteria is permitted. groupLabels Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances. instanceNamePrefixes 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-". instances 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] zones Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone.

Implementation

const PatchInstanceFilterResponse({
  required this.all,
  required this.groupLabels,
  required this.instanceNamePrefixes,
  required this.instances,
  required this.zones,
});