Queries policy states for the resources under the subscription.
Supports noop? false
Parameters
to(Optional[String[1]])
— ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.
odatacontext(Optional[String[1]])
— OData context string; used by OData clients to resolve type information based on metadata.
policy_states_resource(Optional[String[1]])
— The virtual resource under PolicyStates resource type. In a given time range, 'latest' represents the latest policy state(s), whereas 'default' represents all policy state(s).
top(Optional[String[1]])
— Maximum number of records to return.
from(Optional[String[1]])
— ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).
select(Optional[String[1]])
— Select expression using OData notation. Limits the columns on each record to just those requested, e.g. '$select=PolicyAssignmentId, ResourceId'.
apply(Optional[String[1]])
— OData apply expression for aggregations.
value(Optional[String[1]])
— Query results.
odatacount(Optional[String[1]])
— OData entity count; represents the number of policy state records returned.
subscription_id(Optional[String[1]])
— Microsoft Azure subscription ID.
api_version(Optional[String[1]])
— API version to use with the client requests.
orderby(Optional[String[1]])
— Ordering expression using OData notation. One or more comma-separated column names with an optional 'desc' (the default) or 'asc', e.g. '$orderby=PolicyAssignmentId, ResourceId asc'.