az cognitiveservices account

Manage and update cognitive services accounts.

Commands

az cognitiveservices account create Create a cognitive services account.
az cognitiveservices account delete Remove a cognitive services account.
az cognitiveservices account keys Manage the keys of a cognitive services account.
az cognitiveservices account keys list List the keys of a cognitive services account.
az cognitiveservices account keys regenerate Regenerate the keys of a cognitive services account.
az cognitiveservices account list-skus List the avaiable skus of a cognitive services account.
az cognitiveservices account show Get the details of a cognitive services account.
az cognitiveservices account update Update the properties of a cognitive services account.

az cognitiveservices account create

Create a cognitive services account.

az cognitiveservices account create --kind
--location
--name
--resource-group
--sku
[--tags]
[--yes]

Examples

create a S0 face Api cognitive services account in West Europe without confirmation required

az cognitiveservices create -n myresource -g myResourceGroup --kind Face --sku S0 -l WestEurope --yes

Required Parameters

--kind

The API name of cognitive services account.

--location -l

Location. You can configure the default location using az configure --defaults location=.

--name -n

Cognitive service account name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--sku

The Sku of cognitive services account.

Optional Parameters

--tags

Space separated tags in 'key[=value]' format. Use "" to clear existing tags.

--yes

Do not prompt for terms confirmation.

az cognitiveservices account delete

Remove a cognitive services account.

az cognitiveservices account delete --name
--resource-group

Required Parameters

--name -n

Cognitive service account name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

az cognitiveservices account list-skus

List the avaiable skus of a cognitive services account.

az cognitiveservices account list-skus --name
--resource-group

Required Parameters

--name -n

Cognitive service account name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

az cognitiveservices account show

Get the details of a cognitive services account.

az cognitiveservices account show --name
--resource-group

Required Parameters

--name -n

Cognitive service account name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

az cognitiveservices account update

Update the properties of a cognitive services account.

az cognitiveservices account update --name
--resource-group
[--sku]
[--tags]

Required Parameters

--name -n

Cognitive service account name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

Optional Parameters

--sku

The Sku of cognitive services account.

--tags

Space separated tags in 'key[=value]' format. Use "" to clear existing tags.