az containerapp env premium-ingress
Note
此参考是 Azure CLI(版本 2.62.0 或更高版本)的 容器应用 扩展的一部分。 该扩展将在首次运行 az containerapp env premium-ingress 命令时自动安装。 了解更多关于扩展的信息。
此命令组处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
为环境配置高级入口设置。
高级入口设置适用于环境中的所有应用程序。 它们允许将入口实例移动到工作负荷配置文件,并将其扩展到系统默认值之外,以启用高流量工作负荷。 其他设置包括请求空闲超时、标头计数限制和终止宽限期。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az containerapp env premium-ingress add |
为环境启用高级入口设置。 |
Extension | Preview |
| az containerapp env premium-ingress remove |
删除入口设置并将系统还原为默认值。 |
Extension | Preview |
| az containerapp env premium-ingress show |
显示环境的高级入口设置。 |
Extension | Preview |
| az containerapp env premium-ingress update |
更新环境的高级入口设置。 |
Extension | Preview |
az containerapp env premium-ingress add
命令组“containerapp env premium-ingress”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
为环境启用高级入口设置。
将从任何现有配置中清除未指定的可选参数。
az containerapp env premium-ingress add --resource-group
--workload-profile-name
[--header-count-limit]
[--ids]
[--name]
[--request-idle-timeout]
[--subscription]
[--termination-grace-period]
示例
为环境添加高级入口设置。
az containerapp env premium-ingress add -g MyResourceGroup -n MyEnvironment -w WorkloadProfileName
必需参数
资源组的名称。 可以使用 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.
每个请求的 http 标头限制。 默认值 100,最低为 1。
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
托管环境的名称。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
空闲请求的超时(以分钟为单位)。 默认 4,最小 4,最大为 30。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
在入口关闭期间清空请求的时间(以秒为单位)。 默认为 500,最小为 0,最大为 3600。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az containerapp env premium-ingress remove
命令组“containerapp env premium-ingress”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
删除入口设置并将系统还原为默认值。
az containerapp env premium-ingress remove --resource-group
[--ids]
[--name]
[--subscription]
[--yes]
示例
将环境的入口设置重置为其默认值
az containerapp env premium-ingress remove -g MyResourceGroup -n MyEnvironment
必需参数
资源组的名称。 可以使用 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.
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
托管环境的名称。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
不要提示确认。
| 属性 | 值 |
|---|---|
| 默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az containerapp env premium-ingress show
命令组“containerapp env premium-ingress”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
显示环境的高级入口设置。
az containerapp env premium-ingress show --resource-group
[--ids]
[--name]
[--subscription]
示例
显示环境的高级入口设置。
az containerapp env premium-ingress show -g MyResourceGroup -n MyEnvironment
必需参数
资源组的名称。 可以使用 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.
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
托管环境的名称。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az containerapp env premium-ingress update
命令组“containerapp env premium-ingress”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
更新环境的高级入口设置。
az containerapp env premium-ingress update --resource-group
[--header-count-limit]
[--ids]
[--name]
[--request-idle-timeout]
[--subscription]
[--termination-grace-period]
[--workload-profile-name]
示例
更新用于高级入口的工作负荷配置文件。
az containerapp env premium-ingress update -g MyResourceGroup -n MyEnvironment -w WorkloadProfileName
必需参数
资源组的名称。 可以使用 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.
每个请求的 http 标头限制。 默认值 100,最低为 1。
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
托管环境的名称。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
空闲请求的超时(以分钟为单位)。 默认 4,最小 4,最大为 30。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| Parameter group: | Resource Id Arguments |
在入口关闭期间清空请求的时间(以秒为单位)。 默认为 500,最小为 0,最大为 3600。
要在其中运行入口副本的工作负荷配置文件。 此配置文件不得与任何容器应用或作业共享。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |