az policy

Manage resource policies.

Commands

az policy assignment

Manage resource policy assignments.

az policy assignment create

Create a resource policy assignment.

az policy assignment delete

Delete a resource policy assignment.

az policy assignment identity

Manage a policy assignment's managed identity.

az policy assignment identity assign

Add a system assigned identity or a user assigned identity to a policy assignment.

az policy assignment identity remove

Remove a managed identity from a policy assignment.

az policy assignment identity show

Show a policy assignment's managed identity.

az policy assignment list

List resource policy assignments.

az policy assignment non-compliance-message

Manage a policy assignment's non-compliance messages.

az policy assignment non-compliance-message create

Add a non-compliance message to a policy assignment.

az policy assignment non-compliance-message delete

Remove one or more non-compliance messages from a policy assignment.

az policy assignment non-compliance-message list

List the non-compliance messages for a policy assignment.

az policy assignment show

Show a resource policy assignment.

az policy assignment update

Update a resource policy assignment.

az policy definition

Manage resource policy definitions.

az policy definition create

Create a policy definition.

az policy definition delete

Delete a policy definition.

az policy definition list

List policy definitions.

az policy definition show

Show a policy definition.

az policy definition update

Update a policy definition.

az policy event

Manage policy events.

az policy event list

List policy events.

az policy exemption

Manage resource policy exemptions.

az policy exemption create

Create a policy exemption.

az policy exemption delete

Delete a policy exemption.

az policy exemption list

List policy exemptions.

az policy exemption show

Show a policy exemption.

az policy exemption update

Update a policy exemption.

az policy metadata

Get policy metadata resources.

az policy metadata list

List policy metadata resources.

az policy metadata show

Get a single policy metadata resource.

az policy remediation

Manage resource policy remediations.

az policy remediation cancel

Cancel a resource policy remediation.

az policy remediation create

Create a resource policy remediation.

az policy remediation delete

Delete a resource policy remediation.

az policy remediation deployment

Manage resource policy remediation deployments.

az policy remediation deployment list

Lists deployments for a resource policy remediation.

az policy remediation list

List resource policy remediations.

az policy remediation show

Show a resource policy remediation.

az policy set-definition

Manage resource policy set definitions.

az policy set-definition create

Create a policy set definition.

az policy set-definition delete

Delete a policy set definition.

az policy set-definition list

List policy set definitions.

az policy set-definition show

Show a policy set definition.

az policy set-definition update

Update a policy set definition.

az policy state

Manage policy compliance states.

az policy state list

List policy compliance states.

az policy state summarize

Summarize policy compliance states.

az policy state trigger-scan

Trigger a policy compliance evaluation for a scope.