Κοινή χρήση μέσω


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

--name -n

Cognitive service account name.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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

--name -n

Cognitive service account name.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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

--name -n

Cognitive service account name.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.