---
title: "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/evaluateDeploymentPolicies"
method: POST
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/evaluateDeploymentPolicies"
tags: ["CognitiveServicesAccounts"]
---

# POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/evaluateDeploymentPolicies

`POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/evaluateDeploymentPolicies`

Evaluate Azure Policy compliance for a set of hypothetical deployments without creating them.

## Path parameters

- `accountName` string, required

## Parameters

- `../../../../../common-types/resource-management/v3/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v3/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v3/types.json#/components/parameters/ResourceGroupNameParameter` — unresolved $ref

## Request body

- EvaluateDeploymentPoliciesRequest — Request body for the evaluateDeploymentPolicies action.
  - `deployments` EvaluateDeploymentPoliciesDeployment[], required — The list of hypothetical deployments to evaluate against Azure Policy.
    - `name` string, required — The name of the hypothetical deployment.
    - `properties` EvaluateDeploymentPoliciesDeploymentProperties, required — Properties of a hypothetical deployment for policy evaluation.
      - `model` DeploymentModel, required — Properties of Cognitive Services account deployment model.
        - `publisher` string — Deployment model publisher.
        - `format` string — Deployment model format.
        - `name` string — Deployment model name.
        - `version` string — Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
        - `source` string — Optional. Deployment model source ARM resource ID.
        - `sourceAccount` string, arm-id — Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
        - `callRateLimit` CallRateLimit — The call rate limit Cognitive Services account.
          - `count` number, float — The count value of Call Rate Limit.
          - `renewalPeriod` number, float — The renewal period in seconds of Call Rate Limit.
          - `rules` ThrottlingRule[]
            - `key` string
            - `renewalPeriod` number, float
            - `count` number, float
            - `minCount` number, float
            - `dynamicThrottlingEnabled` boolean
            - `matchPatterns` RequestMatchPattern[]
              - …
      - `raiPolicyName` string — The name of the RAI policy to evaluate.

## Response `200`

Azure operation completed successfully.

- EvaluateDeploymentPoliciesResponse — Response body for the evaluateDeploymentPolicies action.
  - `results` object — Per-deployment policy evaluation results, keyed by deployment name.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-microsoft-cognitiveservices.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-microsoft-cognitiveservices/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-microsoft-cognitiveservices/revisions/691c4877e0b8/schema)
