OSPolicyAssignmentInstanceFilter class

Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.

Constructors

OSPolicyAssignmentInstanceFilter({Input<bool>? all, Input<List<OSPolicyAssignmentLabelSet>>? exclusionLabels, Input<List<OSPolicyAssignmentLabelSet>>? inclusionLabels, Input<List<OSPolicyAssignmentInstanceFilterInventory>>? inventories})
Creates a new OSPolicyAssignmentInstanceFilter. all Target all VMs in the project. If true, no other criteria is permitted. exclusionLabels List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM. inclusionLabels List of label sets used for VM inclusion. If the list has more than one LabelSet, the VM is included if any of the label sets are applicable for the VM. inventories List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
const
OSPolicyAssignmentInstanceFilter.fromMap(Map<String, dynamic> map)
factory

Properties

all → Input<bool>?
Target all VMs in the project. If true, no other criteria is permitted.
final
exclusionLabels → Input<List<OSPolicyAssignmentLabelSet>>?
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
final
hashCode → int
The hash code for this object.
no setterinherited
inclusionLabels → Input<List<OSPolicyAssignmentLabelSet>>?
List of label sets used for VM inclusion. If the list has more than one LabelSet, the VM is included if any of the label sets are applicable for the VM.
final
inventories → Input<List<OSPolicyAssignmentInstanceFilterInventory>>?
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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