az cognitiveservices account identity
Manage identity of Cognitive Services accounts.
Commands
Name | Description | Type | Status |
---|---|---|---|
az cognitiveservices account identity assign |
Assign an identity of a Cognitive Services account. |
Core | GA |
az cognitiveservices account identity remove |
Remove the identity from a Cognitive Services account. |
Core | GA |
az cognitiveservices account identity show |
Show the identity of a Cognitive Services account. |
Core | GA |
az cognitiveservices account identity assign
Assign an identity of a Cognitive Services account.
Assign an identity object of a Cognitive Services account. An system assigned identity will be generate and assigned to the account.
az cognitiveservices account identity assign --name
--resource-group
Examples
Assign an identity of Cognitive Services accounts.
az cognitiveservices account identity assign --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>
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az cognitiveservices account identity remove
Remove the identity from a Cognitive Services account.
Remove the identity (if exists) from a Cognitive Services account.
az cognitiveservices account identity remove --name
--resource-group
Examples
Remove the identity from a Cognitive Services account.
az cognitiveservices account identity remove --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>
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az cognitiveservices account identity show
Show the identity of a Cognitive Services account.
Show the identity object of a Cognitive Services account, empty object might be returned if the account has no assigned identity.
az cognitiveservices account identity show --name
--resource-group
Examples
Show the identity of Cognitive Services accounts.
az cognitiveservices account identity 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>
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.