你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Container interface

容器应用容器定义

扩展

属性

probes

容器的探测列表。

继承属性

args

容器启动命令参数。

command

容器启动命令。

env

容器环境变量。

image

容器映像标记。

imageType

图像的类型。 设置为 CloudBuild 可让系统管理映像,用户将无法通过映像字段更新映像。 设置为用户提供的映像的 ContainerImage。

name

自定义容器名称。

resources

容器资源要求。

volumeMounts

容器卷装载。

属性详细信息

probes

容器的探测列表。

probes?: ContainerAppProbe[]

属性值

继承属性详细信息

args

容器启动命令参数。

args?: string[]

属性值

string[]

继承自BaseContainer.args

command

容器启动命令。

command?: string[]

属性值

string[]

继承自BaseContainer.command

env

容器环境变量。

env?: EnvironmentVar[]

属性值

继承自baseContainer.env

image

容器映像标记。

image?: string

属性值

string

继承自BaseContainer.image

imageType

图像的类型。 设置为 CloudBuild 可让系统管理映像,用户将无法通过映像字段更新映像。 设置为用户提供的映像的 ContainerImage。

imageType?: string

属性值

string

继承自BaseContainer.imageType

name

自定义容器名称。

name?: string

属性值

string

继承自BaseContainer.name

resources

容器资源要求。

resources?: ContainerResources

属性值

继承自 baseContainer.resources

volumeMounts

容器卷装载。

volumeMounts?: VolumeMount[]

属性值

继承自 baseContainer.volumeMounts