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-services/openai/how-to/quota.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,43 @@ curl -X PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-0
149
149
> [!NOTE]
150
150
> 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.
151
151
152
+
# [Azure CLI](#tab/cli)
153
+
154
+
Install the [Azure CLI](/cli/azure/install-azure-cli). Quota requires `Azure CLI version 2.51.0`. If you already have Azure CLI installed locally run `az upgrade` to update to the latest version.
155
+
156
+
To check which version of Azure CLI you are running use `az version`. Azure Cloud Shell is currently still running 2.50.0 so in the interim local installation of Azure CLI is required to take advantage of the latest Azure OpenAI features.
157
+
158
+
### Deployment
159
+
160
+
```azurecli
161
+
az cognitiveservices account deployment create --model-format
162
+
--model-name
163
+
--model-version
164
+
--name
165
+
--resource-group
166
+
[--capacity]
167
+
[--deployment-name]
168
+
[--scale-capacity]
169
+
[--scale-settings-scale-type {Manual, Standard}]
170
+
[--sku]
171
+
```
172
+
173
+
To sign into your local installation of the CLI, run the [az login](/cli/azure/reference-index#az-login) command:
174
+
175
+
```azurecli
176
+
az login
177
+
```
178
+
179
+
<!--TODO:You can also use the green **Try It** button to run these commands in your browser in the Azure Cloud Shell.-->
180
+
181
+
By setting sku-capacity to 10 in the command below this deployment will be set with a 10K TPM limit.
For more details, consult the [full Azure CLI reference documentation](https://learn.microsoft.com/en-us]/cli/azure/cognitiveservices/account/deployment?view=azure-cli-latest)
0 commit comments