Partager via


ContainerState interface

The container instance state.

Properties

detailStatus

The human-readable status of the container instance state. NOTE: This property will not be serialized. It can only be populated by the server.

exitCode

The container instance exit codes correspond to those from the docker run command. NOTE: This property will not be serialized. It can only be populated by the server.

finishTime

The date-time when the container instance state finished. NOTE: This property will not be serialized. It can only be populated by the server.

startTime

The date-time when the container instance state started. NOTE: This property will not be serialized. It can only be populated by the server.

state

The state of the container instance. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

detailStatus

The human-readable status of the container instance state. NOTE: This property will not be serialized. It can only be populated by the server.

detailStatus?: string

Property Value

string

exitCode

The container instance exit codes correspond to those from the docker run command. NOTE: This property will not be serialized. It can only be populated by the server.

exitCode?: number

Property Value

number

finishTime

The date-time when the container instance state finished. NOTE: This property will not be serialized. It can only be populated by the server.

finishTime?: Date

Property Value

Date

startTime

The date-time when the container instance state started. NOTE: This property will not be serialized. It can only be populated by the server.

startTime?: Date

Property Value

Date

state

The state of the container instance. NOTE: This property will not be serialized. It can only be populated by the server.

state?: string

Property Value

string