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< ? exclusionLabels, Input<OSPolicyAssignmentLabelSetOsconfigV1alpha> >List< ? inclusionLabels, Input<OSPolicyAssignmentLabelSetOsconfigV1alpha> >List< ? inventories, Input<OSPolicyAssignmentInstanceFilterInventoryOsconfigV1alpha> >List< ? osShortNames})String> > -
Creates a new OSPolicyAssignmentInstanceFilterOsconfigV1alpha.
allTarget all VMs in the project. If true, no other criteria is permitted.exclusionLabelsList 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.inclusionLabelsList of label sets used for VM inclusion. If the list has more than oneLabelSet, the VM is included if any of the label sets are applicable for the VM.inventoriesList of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.osShortNamesDeprecated. Use theinventoriesfield 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
inventoriesfield 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