OSPolicyAssignmentInstanceFilter constructor

const OSPolicyAssignmentInstanceFilter({
  1. Input<bool>? all,
  2. Input<List<OSPolicyAssignmentLabelSet>>? exclusionLabels,
  3. Input<List<OSPolicyAssignmentLabelSet>>? inclusionLabels,
  4. 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.

Implementation

const OSPolicyAssignmentInstanceFilter({
  this.all,
  this.exclusionLabels,
  this.inclusionLabels,
  this.inventories,
});