Skip to content

Commit d8ba73d

Browse files
committed
update
1 parent f52124f commit d8ba73d

File tree

1 file changed

+6
-2
lines changed
  • articles/ai-services/openai/how-to

1 file changed

+6
-2
lines changed

articles/ai-services/openai/how-to/quota.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ Quota provides the flexibility to actively manage the allocation of rate limits
1919
## Prerequisites
2020

2121
> [!IMPORTANT]
22-
> Viewing quota and deploying models requires the **Cognitive Services Usages Reader** role. This role provides the minimal access necessary to view quota usage across an Azure subscription. This role can be found in the Azure portal under **Subscriptions** > **Access control (IAM)** > **Add role assignment** > search for **Cognitive Services Usages Reader**.This role **must be applied at the subscription level**, it does not exist at the resource level.
22+
> Viewing quota and deploying models requires the **Cognitive Services Usages Reader** role. This role provides the minimal access necessary to view quota usage across an Azure subscription.
2323
>
24-
> If you do not wish to use this role alternatively the Subscription **Reader** role will provide equivalent access, but it will also grant read access beyond the scope of what is needed for quota and model deployment.
24+
> This role can be found in the Azure portal under **Subscriptions** > **Access control (IAM)** > **Add role assignment** > search for **Cognitive Services Usages Reader**.This role **must be applied at the subscription level**, it does not exist at the resource level.
25+
>
26+
> If you do not wish to use this role, the subscription **Reader** role will provide equivalent access, but it will also grant read access beyond the scope of what is needed for viewing quota and model deployment.
2527
2628
## Introduction to quota
2729

@@ -153,6 +155,8 @@ curl -X PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-0
153155
> [!NOTE]
154156
> There are multiple ways to generate an authorization token. The easiest method for initial testing is to launch the Cloud Shell from the [Azure portal](https://portal.azure.com). Then run [`az account get-access-token`](/cli/azure/account?view=azure-cli-latest#az-account-get-access-token&preserve-view=true). You can use this token as your temporary authorization token for API testing.
155157
158+
For more information, refer to the REST API reference documentation for [usages](/rest/api/cognitiveservices/accountmanagement/usages/list?branch=main&tabs=HTTP) and [deployment](/rest/api/cognitiveservices/accountmanagement/deployments/create-or-update).
159+
156160
### Usage
157161

158162
To query your quota usage in a given region, for a specific subscription

0 commit comments

Comments
 (0)