POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/{policyStatesSummaryResource}/summarize

Summarizes policy states for the resources under the resource group.

Request

  • Base URL
    https://management.azure.com
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

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.

subscriptionIdstring required

Microsoft Azure subscription ID.

resourceGroupNamestring required

Resource group name.

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.

@odata.contextstring

OData context string; used by OData clients to resolve type information based on metadata.

@odata.countinteger

OData entity count; represents the number of summaries returned; always set to 1.

Changes

No recorded changes to this operation across all 7 revisions of this API.