CmdID

CmdID / az / az policy

az policy state

Manage policy compliance states. Azure CLI reference

3 commands 18 options Its page in the Azure CLI reference

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

Commands

3, each with its page

Options

18 in the Azure CLI reference
--allWithin the specified time interval, get all policy states instead of the latest only.
--applyApply expression for aggregations using OData notation.
--expandExpand expression using OData notation.
--filterFilter expression using OData notation.
--fromISO 8601 formatted timestamp specifying the start time of the interval to query.
--management-group, -mName of management group.
--namespaceProvider namespace (Ex: Microsoft.Provider).
--order-byOrdering expression using OData notation.
--parentThe parent path (Ex: resourceTypeA/nameA/resourceTypeB/nameB).
--policy-assignment, -aName of policy assignment.
--policy-definition, -dName of policy definition.
--policy-set-definition, -sName of policy set definition.
--resource-group, -gName of resource group.
--resource-typeResource type (Ex: resourceTypeC).
--resourceResource ID or resource name.
--selectSelect expression using OData notation.
--toISO 8601 formatted timestamp specifying the end time of the interval to query.
--topMaximum number of records to return.