CmdID / az / az policy / az policy assignment
az policy assignment update
Update a policy assignment. Azure CLI reference
Update the policy assignment with the given name and scope by applying the given property values.
1 example 4 options Its page in the Azure CLI reference
Examples
Update a resource policy assignment's description
az policy assignment update --name myPolicy --description 'My policy description'IdentifyOptions
--non-compliance-messages, -mThe messages that describe why a resource is non-compliant with the policy.--overridesThe policy property value override.--policy-set-definition, --definition-version, --resource-selectors, --enforcement-mode, --display-name, --description, --not-scopes, --metadata, --params, --scope, --name, -d, -e, -n, -p--self-serve-exemption-settings, --self-serveThe self-serve exemption settings for the policy assignment.