You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-foundry/model-inference/how-to/configure-deployment-policies.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,20 @@
2
2
title: Control model deployment with custom policies
3
3
titleSuffix: Azure AI Foundry
4
4
description: "Learn how to use custom Azure Policies to control Azure AI services and Azure OpenAI model deployment with Azure AI Foundry."
5
-
manager: nitinme
6
-
author: santiagxf
7
-
ms.author: fasantia
5
+
manager: scottpolly
8
6
ms.service: azure-ai-foundry
9
7
ms.topic: how-to #Don't change
10
-
ms.date: 2/05/2025
8
+
ms.date: 02/11/2025
9
+
author: Blackmist
10
+
ms.author: larryfr
11
+
reviewer: santiagxf
12
+
ms.reviewer: fasantia
13
+
11
14
---
12
15
13
16
# Control model deployment with custom policies
14
17
15
-
When using models from Azure AI Services and Azure OpenAI with Azure AI Foundry, you might need to use custom policies to control which [type of deployment](../concepts/deployment-types.md) options are available to them or which specific models users can deploy. This article guides you on how to create policies to control model deployments using Azure Policies.
18
+
When using models from Azure AI Services and Azure OpenAI with Azure AI Foundry, you might need to use custom policies to control which [type of deployment](../concepts/deployment-types.md) options are available to users or which specific models users can deploy. This article guides you on how to create policies to control model deployments using Azure Policies.
16
19
17
20
## Prerequisites
18
21
@@ -22,7 +25,7 @@ When using models from Azure AI Services and Azure OpenAI with Azure AI Foundry,
22
25
23
26
## Create a custom policy
24
27
25
-
Select the scenario better applies to your case:
28
+
Select the scenario that applies to your case better:
26
29
27
30
# [Enforce specific models](#tab/models)
28
31
@@ -106,7 +109,7 @@ Follow these steps to create and assign an example custom policy to allow specif
106
109
107
110
# [Enforce specific deployment types](#tab/deployments)
108
111
109
-
The following policy allows you to control which types of deployments are allowed in the Azure AI Services or Azure OpenAI Resources. For example, you may want to prevent them from creating deployments that result in data processed in a different region. Follow these steps to create a policy that denies creating Global processing deployment types.
112
+
The following policy allows you to control which types of deployments are allowed in the Azure AI Services or Azure OpenAI Resources. For example, you might want to prevent developers from creating deployments that result in data processed in a different region. Follow these steps to create a policy that denies creating global processing deployment types.
110
113
111
114
1. From the [Azure portal](https://portal.azure.com), select **Policy** from the left side of the page. You can also search for **Policy** in the search bar at the top of the page.
112
115
@@ -162,7 +165,7 @@ The following policy allows you to control which types of deployments are allowe
162
165
163
166
8. Optionally, select the **Non-compliance messages** tab at the top of the page and set a custom message for noncompliance.
164
167
165
-
9. Select **Review + create** tab and verify that the policy assignment is correct. When ready, select **Create** to assign the policy.
168
+
8. Select the **Review + create** tab and verify that the policy assignment is correct. When ready, select **Create** to assign the policy.
166
169
167
170
10. Notify your developers that the policy is in place. They receive an error message if they try to deploy a model that isn't in the list of allowed models.
0 commit comments