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