次の方法で共有


az cognitiveservices account identity

Cognitive Services アカウントの ID を管理します。

コマンド

名前 説明 状態
az cognitiveservices account identity assign

Cognitive Services アカウントの ID を割り当てます。

コア GA
az cognitiveservices account identity remove

Cognitive Services アカウントから ID を削除します。

コア GA
az cognitiveservices account identity show

Cognitive Services アカウントの ID を表示します。

コア GA

az cognitiveservices account identity assign

Cognitive Services アカウントの ID を割り当てます。

Cognitive Services アカウントの ID オブジェクトを割り当てます。 システム割り当て ID が生成され、アカウントに割り当てられます。

az cognitiveservices account identity assign --name
                                             --resource-group

Cognitive Services アカウントの ID を割り当てます。

az cognitiveservices account identity assign --name myresource --resource-group cognitive-services-resource-group

必須のパラメーター

--name -n

Cognitive Service アカウント名。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

--output -o

出力フォーマット。

指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
規定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

az cognitiveservices account identity remove

Cognitive Services アカウントから ID を削除します。

Cognitive Services アカウントから ID (存在する場合) を削除します。

az cognitiveservices account identity remove --name
                                             --resource-group

Cognitive Services アカウントから ID を削除します。

az cognitiveservices account identity remove --name myresource --resource-group cognitive-services-resource-group

必須のパラメーター

--name -n

Cognitive Service アカウント名。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

--output -o

出力フォーマット。

指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
規定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

az cognitiveservices account identity show

Cognitive Services アカウントの ID を表示します。

Cognitive Services アカウントの ID オブジェクトを表示します。アカウントに ID が割り当てられていない場合は、空のオブジェクトが返されることがあります。

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

Cognitive Services アカウントの ID を表示します。

az cognitiveservices account identity show --name myresource --resource-group cognitive-services-resource-group

必須のパラメーター

--name -n

Cognitive Service アカウント名。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

--output -o

出力フォーマット。

指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
規定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。