OSPolicyAssignmentInstanceFilterOsconfigV1alpha 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

OSPolicyAssignmentInstanceFilterOsconfigV1alpha({Input<bool>? all, Input<List<OSPolicyAssignmentLabelSetOsconfigV1alpha>>? exclusionLabels, Input<List<OSPolicyAssignmentLabelSetOsconfigV1alpha>>? inclusionLabels, Input<List<OSPolicyAssignmentInstanceFilterInventoryOsconfigV1alpha>>? inventories, Input<List<String>>? osShortNames})
Creates a new OSPolicyAssignmentInstanceFilterOsconfigV1alpha. 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. osShortNames Deprecated. Use the inventories field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
const
OSPolicyAssignmentInstanceFilterOsconfigV1alpha.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<OSPolicyAssignmentLabelSetOsconfigV1alpha>>?
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<OSPolicyAssignmentLabelSetOsconfigV1alpha>>?
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<OSPolicyAssignmentInstanceFilterInventoryOsconfigV1alpha>>?
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
final
osShortNames → Input<List<String>>?
Deprecated. Use the inventories field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
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