az cognitiveservices account deployment
管理 Azure 认知服务帐户的部署。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az cognitiveservices account deployment create |
为 Azure 认知服务帐户创建部署。 |
Core | GA |
| az cognitiveservices account deployment delete |
从 Azure 认知服务帐户中删除部署。 |
Core | GA |
| az cognitiveservices account deployment list |
显示 Azure 认知服务帐户的所有部署。 |
Core | GA |
| az cognitiveservices account deployment show |
显示 Azure 认知服务帐户的部署。 |
Core | GA |
az cognitiveservices account deployment create
为 Azure 认知服务帐户创建部署。
本文仅列出了 Azure 认知服务帐户和订阅管理的 Azure CLI 命令。 请参阅各个服务的文档 https://free.blessedness.top/azure/cognitive-services/ ,了解如何使用 API 和支持的 SDK。
az cognitiveservices account deployment create --model-format
--model-name
--model-version
--name
--resource-group
[--capacity --sku-capacity]
[--deployment-name]
[--model-source]
[--scale-capacity --scale-settings-capacity]
[--scale-settings-scale-type --scale-type {Manual, Standard}]
[--sku --sku-name]
示例
为 Azure 认知服务帐户创建部署。
az cognitiveservices account deployment create -g yuanyang-test-sdk -n yytest-oai --deployment-name dpy --model-name ada --model-version "1" --model-format OpenAI --sku-capacity 1 --sku-name "Standard"
必需参数
认知服务帐户部署模型格式。
| 属性 | 值 |
|---|---|
| Parameter group: | DeploymentModel Arguments |
认知服务帐户部署模型名称。
| 属性 | 值 |
|---|---|
| Parameter group: | DeploymentModel Arguments |
认知服务帐户部署模型版本。
| 属性 | 值 |
|---|---|
| Parameter group: | DeploymentModel Arguments |
认知服务帐户名称。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
认知服务帐户/部署 SKU 的容量值。
认知服务帐户部署名称。
认知服务帐户部署模型源。
| 属性 | 值 |
|---|---|
| Parameter group: | DeploymentModel Arguments |
认知服务帐户部署缩放设置容量。
| 属性 | 值 |
|---|---|
| Parameter group: | DeploymentScaleSettings Arguments |
认知服务帐户部署缩放设置缩放类型。
| 属性 | 值 |
|---|---|
| Parameter group: | DeploymentScaleSettings Arguments |
| 接受的值: | Manual, Standard |
认知服务帐户/部署的 SKU 的名称。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az cognitiveservices account deployment delete
从 Azure 认知服务帐户中删除部署。
本文仅列出了 Azure 认知服务帐户和订阅管理的 Azure CLI 命令。 请参阅各个服务的文档 https://free.blessedness.top/azure/cognitive-services/ ,了解如何使用 API 和支持的 SDK。
az cognitiveservices account deployment delete --name
--resource-group
[--deployment-name]
示例
从 Azure 认知服务帐户中删除部署。
az cognitiveservices account deployment delete -g yuanyang-test-sdk -n yytest-oai --deployment-name dpy
必需参数
认知服务帐户名称。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
认知服务帐户部署名称。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az cognitiveservices account deployment list
显示 Azure 认知服务帐户的所有部署。
本文仅列出了 Azure 认知服务帐户和订阅管理的 Azure CLI 命令。 请参阅各个服务的文档 https://free.blessedness.top/azure/cognitive-services/ ,了解如何使用 API 和支持的 SDK。
az cognitiveservices account deployment list --name
--resource-group
示例
显示 Azure 认知服务帐户的所有部署。
az cognitiveservices account deployment list -g yuanyang-test-sdk -n yytest-oai
必需参数
认知服务帐户名称。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az cognitiveservices account deployment show
显示 Azure 认知服务帐户的部署。
本文仅列出了 Azure 认知服务帐户和订阅管理的 Azure CLI 命令。 请参阅各个服务的文档 https://free.blessedness.top/azure/cognitive-services/ ,了解如何使用 API 和支持的 SDK。
az cognitiveservices account deployment show --name
--resource-group
[--deployment-name]
示例
显示 Azure 认知服务帐户的部署。
az cognitiveservices account deployment show -g yuanyang-test-sdk -n yytest-oai --deployment-name dpy
必需参数
认知服务帐户名称。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
认知服务帐户部署名称。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |