az containerapp connected-env
Note
This reference is part of the containerapp extension for the Azure CLI (version 2.62.0 or higher). 该扩展会在首次运行 az containerapp connected-env 命令时自动安装。 Learn more about extensions.
此命令组处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
用于管理用于已启用 Arc 的容器应用的连接环境的命令。
命令
az containerapp connected-env create
命令组“containerapp connected-env”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
创建容器应用连接环境。
创建用于已启用 Arc 的容器应用的连接容器环境。 环境是围绕容器应用的集合的隔离边界。
az containerapp connected-env create --custom-location
--name
--resource-group
[--dapr-ai-connection-string]
[--location]
[--no-wait]
[--static-ip]
[--tags]
示例
创建连接的环境
az containerapp connected-env create -n MyContainerappConnectedEnv -g MyResourceGroup \
--location eastus --custom-location MyCustomLocationResourceID
必需参数
自定义位置的资源 ID。 使用“az customlocation list”列出。
容器应用连接环境的名称。
资源组的名称。 可以使用 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.
Dapr 用于将服务导出到服务通信遥测的 Application Insights 连接字符串。
Location.
az account list-locations
中的值。 可以使用 az configure --defaults location=<location>
配置默认位置。
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
connectedEnvironment 的静态 IP。
空格分隔标记:key[=value] [key[=value] ...]。使用“”清除现有标记。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az containerapp connected-env delete
命令组“containerapp connected-env”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
删除容器应用连接环境。
az containerapp connected-env delete [--ids]
[--name]
[--no-wait]
[--resource-group]
[--subscription]
[--yes]
示例
删除连接的环境。
az containerapp connected-env delete -n MyContainerappConnectedEnv -g MyResourceGroup
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
容器应用连接环境的名称。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
不要提示确认。
属性 | 值 |
---|---|
默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az containerapp connected-env list
命令组“containerapp connected-env”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
按订阅或资源组列出容器应用连接环境。
az containerapp connected-env list [--custom-location]
[--resource-group]
示例
列出当前订阅中的已连接环境。
az containerapp connected-env list
按资源组列出连接的环境。
az containerapp connected-env list -g MyResourceGroup
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
自定义位置的资源 ID。 使用“az customlocation list”列出。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az containerapp connected-env show
命令组“containerapp connected-env”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
显示容器应用连接环境的详细信息。
az containerapp connected-env show [--ids]
[--name]
[--resource-group]
[--subscription]
示例
显示已连接环境的详细信息。
az containerapp connected-env show -n MyContainerappConnectedEnv -g MyResourceGroup
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
容器应用连接环境的名称。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |