How to add an object inside policySetDefinitions parameters #12717
bakharzy
started this conversation in
Authoring Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
Let's assume a policy have more than one parameter. We want to be able to set those parameters when deploying the policy (in Bicep).
Describe the solution you'd like
Here is an example:
The first built-in policy (id: fe83a0eb-a853-422d-aac2-1bffd182c5d0) can have two parameters (
minimumTlsVersion
andeffect
). The second and third policies also have parameters with common name ('effect
').Questions
Is it possible to have all the parameters of a policy in one object defined in the parameters property of
policySetDefinitions
? If it's possible, how do we later set this object parameter inpolicyDefinitions
? I would also like to set those parameters in the assignment (Microsoft.Authorization/policyAssignments)If the object type is not supported, how would you suggest to define the
effect
parameter for these three different policies?@anthony-c-martin
Beta Was this translation helpful? Give feedback.
All reactions