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