WorkloadPolicyRule
WorkloadPolicyRule
A workload policy rule that defines the criteria for matching workloads. The workload policy rule is a composite rule that is used to match workloads based on the guest OS, guest OS family, and label selectors. All provided rules must match for the workload to be matched.
JSON Example
{
"guestOsRule": {
"operator": "string",
"value": "string"
},
"guestOsFamilyRule": {
"operator": "string",
"value": "string"
},
"labelSelectorRules": [
{
"operator": "string",
"ruleKey": "string",
"values": [
"string"
]
}
]
}
array of
LabelSelectorRule
labelSelectorRules
Optional
Constraints:
minItems: 0
maxItems: 128
The list of label selector rules for matching labels.