OSPolicyAssignmentInstanceFilterArgs

data class OSPolicyAssignmentInstanceFilterArgs(val all: Output<Boolean>? = null, val exclusionLabels: Output<List<OSPolicyAssignmentLabelSetArgs>>? = null, val inclusionLabels: Output<List<OSPolicyAssignmentLabelSetArgs>>? = null, val inventories: Output<List<OSPolicyAssignmentInstanceFilterInventoryArgs>>? = null, val osShortNames: Output<List<String>>? = null) : ConvertibleToJava<OSPolicyAssignmentInstanceFilterArgs>

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

Link copied to clipboard
fun OSPolicyAssignmentInstanceFilterArgs(all: Output<Boolean>? = null, exclusionLabels: Output<List<OSPolicyAssignmentLabelSetArgs>>? = null, inclusionLabels: Output<List<OSPolicyAssignmentLabelSetArgs>>? = null, inventories: Output<List<OSPolicyAssignmentInstanceFilterInventoryArgs>>? = null, osShortNames: Output<List<String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): OSPolicyAssignmentInstanceFilterArgs

Properties

Link copied to clipboard
val all: Output<Boolean>? = null

Target all VMs in the project. If true, no other criteria is permitted.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.

Link copied to clipboard
val osShortNames: Output<List<String>>? = null

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.