commands.sh

az cognitiveservices

all

Manage Azure Cognitive Services accounts. Part of `azure-cli` (also known as `az`).

More info →

Options (3)

-n, --nameboolean

Create an API Cognitive Services account in a specific location without confirmation required

Example: az cognitiveservices account create {{[-n|--name]}} {{account_name}} {{[-g|--resource-group]}} {{resource_group}} --kind {{API_name}} {{[-l|--location]}} {{location}} --sku {{sku_name}} --yes
-g, --resource-groupboolean

Create an API Cognitive Services account in a specific location without confirmation required

Example: az cognitiveservices account create {{[-n|--name]}} {{account_name}} {{[-g|--resource-group]}} {{resource_group}} --kind {{API_name}} {{[-l|--location]}} {{location}} --sku {{sku_name}} --yes
-l, --locationboolean

Create an API Cognitive Services account in a specific location without confirmation required

Example: az cognitiveservices account create {{[-n|--name]}} {{account_name}} {{[-g|--resource-group]}} {{resource_group}} --kind {{API_name}} {{[-l|--location]}} {{location}} --sku {{sku_name}} --yes

Examples (5)

Create an API Cognitive Services account in a specific location without confirmation required

az cognitiveservices account create [-n|--name] account_name [-g|--resource-group] resource_group --kind API_name [-l|--location] location --sku sku_name --yes

List usages for Azure Cognitive Services account

az cognitiveservices account list-usage [-n|--name] account_name [-g|--resource-group] resource_group

Create a deployment for Azure Cognitive Services account

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

Create a commitment plan for Azure Cognitive Services account

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

Delete a commitment plan from Azure Cognitive Services account

az cognitiveservices account commitment-plan delete [-g|--resource-group] resource_group [-n|--name] account_name --commitment-plan-name "plan_name"
made by @shridhargupta | data from tldr-pages