Skip to content

Commit 89add94

Browse files
authored
az-cognitiveservices: add page (#19269)
1 parent 47d7b58 commit 89add94

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# az cognitiveservices
2+
3+
> Manage Azure Cognitive Services accounts.
4+
> Part of `azure-cli` (also known as `az`).
5+
> More information: <https://learn.microsoft.com/cli/azure/cognitiveservices>.
6+
7+
- Create an API Cognitive Services account in a specific location without confirmation required:
8+
9+
`az cognitiveservices account create {{[-n|--name]}} {{account_name}} {{[-g|--resource-group]}} {{resource_group}} --kind {{API_name}} {{[-l|--location]}} {{location}} --sku {{sku_name}} --yes`
10+
11+
- List usages for Azure Cognitive Services account:
12+
13+
`az cognitiveservices account list-usage {{[-n|--name]}} {{account_name}} {{[-g|--resource-group]}} {{resource_group}}`
14+
15+
- Create a deployment for Azure Cognitive Services account:
16+
17+
`az cognitiveservices account deployment create {{[-n|--name]}} {{account_name}} {{[-g|--resource-group]}} {{resource_group}} --deployment-name {{deploy_name}} --model-name {{model_name}} --model-version "{{model_version}}" --model-format {{format_name}}`
18+
19+
- Create a commitment plan for Azure Cognitive Services account:
20+
21+
`az cognitiveservices account commitment-plan create {{[-n|--name]}} {{account_name}} {{[-g|--resource-group]}} {{resource_group}} --commitment-plan-name "{{plan_name}}" --hosting-model "{{hosting_model}}" --plan-type "{{plan_type}}" --auto-renew {{false|true}}`
22+
23+
- Delete a commitment plan from Azure Cognitive Services account:
24+
25+
`az cognitiveservices account commitment-plan delete {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{account_name}} --commitment-plan-name "{{plan_name}}"`

0 commit comments

Comments
 (0)