ContainerProperties interface
容器实例属性。
属性
| command | 要以 exec 形式在容器实例中执行的命令。 |
| config |
配置映射。 |
| environment |
在容器实例中设置的环境变量。 |
| image | 用于创建容器实例的映像的名称。 |
| instance |
容器实例的实例视图。 仅在响应中有效。 |
| liveness |
生存度探测。 |
| ports | 容器实例上公开的端口。 |
| readiness |
就绪情况探测。 |
| resources | 容器实例的资源要求。 |
| security |
容器安全属性。 |
| volume |
卷装载可用于容器实例。 |
属性详细信息
command
要以 exec 形式在容器实例中执行的命令。
command?: string[]
属性值
string[]
configMap
environmentVariables
image
用于创建容器实例的映像的名称。
image?: string
属性值
string
instanceView
容器实例的实例视图。 仅在响应中有效。
instanceView?: ContainerPropertiesInstanceView