Summarizes policy states for the resource.
post/{resourceId}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize
Path parameters
policyStatesSummaryResource'latest' required
The virtual resource under PolicyStates resource type for summarize action. In a given time range, 'latest' represents the latest policy state(s) and is the only allowed value.
resourceIdstring required
Resource ID.
Query parameters
api-versionstring required
Client Api Version.
$topinteger
Maximum number of records to return.
$fromstring date-time
ISO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day).
$tostring date-time
ISO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time.
$filterstring
OData filter expression.
Response
Summarize results.