VimEnforcement
{
"name": "string",
"vimId": "string",
"vimSelector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"matchLabels": "string"
}
},
"enforcementActionOverrides": "string",
"matchSpecOverrides": {
"data": "string",
"type": "string"
},
"parametersOverrides": {
"data": "string",
"type": "string"
},
"deployOpaOverrides": false
}
The name of the enforcement in the specified Vim. defaults to some random string appended to the constraintTemplateName length <63
The subject VIM identifier.
VimSelector is the combination of two optional fields: matchLabels
and matchExpressions
. These two fieldsprovide different methods of selecting or excluding tca vim objects based on the tag/label keys and values included in vim object. All selection expressions from both sections are ANDed to determine if an object meets the cumulative requirements of the selector.
overrides of the enforcementActions specified in default. The supported enforcementActions are [deny, dryrun, warn]. Strategic merge patch.
Overrides (Strategic Merge Patch) of the Match selects which objects are in scope.
Overrides (Strategic Merge Patch) of the parameters which will be passed to the constraint template cr.
overrides of the deployOpa flag in default configuration