CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Update a resource policy assignment's description

az policy assignment update --name myPolicy --description 'My policy description'Identify

Options

4 in the Azure CLI reference
--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.