az cognitiveservices account
Manage Azure Cognitive Services accounts.
This article lists the Azure CLI commands for Azure Cognitive Services account and subscription management only. Refer to the documentation at https://docs.microsoft.com/azure/cognitive-services/ for individual services to learn how to use the APIs and supported SDKs.
Commands
az cognitiveservices account create |
Manage Azure Cognitive Services accounts. |
az cognitiveservices account delete |
Manage Azure Cognitive Services accounts. |
az cognitiveservices account identity |
Manage identity of Cognitive Services accounts. |
az cognitiveservices account identity assign |
Assign an identity of a Cognitive Services account. |
az cognitiveservices account identity remove |
Remove the identity from a Cognitive Services account. |
az cognitiveservices account identity show |
Show the identity of a Cognitive Services account. |
az cognitiveservices account keys |
Manage Azure Cognitive Services accounts. |
az cognitiveservices account keys list |
Manage Azure Cognitive Services accounts. |
az cognitiveservices account keys regenerate |
Manage Azure Cognitive Services accounts. |
az cognitiveservices account list |
Manage Azure Cognitive Services accounts. |
az cognitiveservices account list-kinds |
List all valid kinds for Azure Cognitive Services account. |
az cognitiveservices account list-skus |
Manage Azure Cognitive Services accounts. |
az cognitiveservices account list-usage |
List usages for Azure Cognitive Services account. |
az cognitiveservices account network-rule |
Manage network rules. |
az cognitiveservices account network-rule add |
Add a network rule. |
az cognitiveservices account network-rule list |
List network rules. |
az cognitiveservices account network-rule remove |
Remove a network rule. |
az cognitiveservices account show |
Manage Azure Cognitive Services accounts. |
az cognitiveservices account update |
Manage Azure Cognitive Services accounts. |
az cognitiveservices account create
Manage Azure Cognitive Services accounts.
This article lists the Azure CLI commands for Azure Cognitive Services account and subscription management only. Refer to the documentation at https://docs.microsoft.com/azure/cognitive-services/ for individual services to learn how to use the APIs and supported SDKs.
az cognitiveservices account create --kind
--location
--name
--resource-group
--sku
[--api-properties]
[--assign-identity]
[--custom-domain]
[--encryption]
[--storage]
[--subscription]
[--tags]
[--yes]
Examples
Create an S0 face API Cognitive Services account in West Europe without confirmation required.
az cognitiveservices account create -n myresource -g myResourceGroup --kind Face --sku S0 -l WestEurope --yes
Manage Azure Cognitive Services accounts. (autogenerated)
az cognitiveservices account create --kind Face --location WestEurope --name myresource --resource-group myResourceGroup --sku S0 --subscription MySubscription --yes
Required Parameters
The API name of cognitive services account.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Cognitive service account name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Sku of cognitive services account.
Optional Parameters
Api properties in JSON format or a=b c=d format. Some cognitive services (i.e. QnA Maker) require extra api properties to create the account.
Generate and assign an Azure Active Directory Identity for this account.
User domain assigned to the account. Name is the CNAME source.
The encryption properties for this resource, in JSON format.
The storage accounts for this resource, in JSON array format.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Do not prompt for terms confirmation.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az cognitiveservices account delete
Manage Azure Cognitive Services accounts.
This article lists the Azure CLI commands for Azure Cognitive Services account and subscription management only. Refer to the documentation at https://docs.microsoft.com/azure/cognitive-services/ for individual services to learn how to use the APIs and supported SDKs.
az cognitiveservices account delete --name
--resource-group
[--subscription]
Examples
Delete account.
az cognitiveservices account delete --name myresource-luis -g cognitive-services-resource-group
Required Parameters
Cognitive service account name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az cognitiveservices account list
Manage Azure Cognitive Services accounts.
This article lists the Azure CLI commands for Azure Cognitive Services account and subscription management only. Refer to the documentation at https://docs.microsoft.com/azure/cognitive-services/ for individual services to learn how to use the APIs and supported SDKs.
az cognitiveservices account list [--query-examples]
[--resource-group]
[--subscription]
Examples
List all the Cognitive Services accounts in a resource group.
az cognitiveservices account list -g MyResourceGroup
Optional Parameters
Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az cognitiveservices account list-kinds
List all valid kinds for Azure Cognitive Services account.
az cognitiveservices account list-kinds [--subscription]
Optional Parameters
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az cognitiveservices account list-skus
Manage Azure Cognitive Services accounts.
This article lists the Azure CLI commands for Azure Cognitive Services account and subscription management only. Refer to the documentation at https://docs.microsoft.com/azure/cognitive-services/ for individual services to learn how to use the APIs and supported SDKs.
az cognitiveservices account list-skus [--kind]
[--location]
[--name]
[--resource-group]
[--subscription]
Examples
Show SKUs.
az cognitiveservices account list-skus --kind Face --location westus
Optional Parameters
The API name of cognitive services account.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Cognitive service account name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az cognitiveservices account list-usage
List usages for Azure Cognitive Services account.
az cognitiveservices account list-usage --name
--resource-group
[--subscription]
Required Parameters
Cognitive service account name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az cognitiveservices account show
Manage Azure Cognitive Services accounts.
This article lists the Azure CLI commands for Azure Cognitive Services account and subscription management only. Refer to the documentation at https://docs.microsoft.com/azure/cognitive-services/ for individual services to learn how to use the APIs and supported SDKs.
az cognitiveservices account show --name
--resource-group
[--query-examples]
[--subscription]
Examples
Show account information.
az cognitiveservices account show --name myresource --resource-group cognitive-services-resource-group
Required Parameters
Cognitive service account name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az cognitiveservices account update
Manage Azure Cognitive Services accounts.
This article lists the Azure CLI commands for Azure Cognitive Services account and subscription management only. Refer to the documentation at https://docs.microsoft.com/azure/cognitive-services/ for individual services to learn how to use the APIs and supported SDKs.
az cognitiveservices account update --name
--resource-group
[--api-properties]
[--custom-domain]
[--encryption]
[--sku]
[--storage]
[--subscription]
[--tags]
Examples
Update sku and tags.
az cognitiveservices account update --name myresource -g cognitive-services-resource-group --sku S0 --tags external-app=chatbot-HR azure-web-app-bot=HR-external azure-app-service=HR-external-app-service
Required Parameters
Cognitive service account name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Api properties in JSON format or a=b c=d format. Some cognitive services (i.e. QnA Maker) require extra api properties to create the account.
User domain assigned to the account. Name is the CNAME source.
The encryption properties for this resource, in JSON format.
Name of the Sku of cognitive services account.
The storage accounts for this resource, in JSON array format.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.