Validate infrastructure as code (IaC) and objects using PowerShell rules.
Use the AnyOf<TFirst, TSecond, ...> type to handle multiple defined types as input parameters or return values for methods.