DockerSdk
the .NET SDK for Docker
All Classes Namespaces Functions Variables Enumerations Enumerator Properties
List of all members
DockerSdk.Containers.Events.ContainerRestartCompletedEvent Class Reference

More...

Inheritance diagram for DockerSdk.Containers.Events.ContainerRestartCompletedEvent:
DockerSdk.Containers.Events.ContainerEvent DockerSdk.Events.Event DockerSdk.Events.IEventLowLevel

Additional Inherited Members

- Properties inherited from DockerSdk.Containers.Events.ContainerEvent
ContainerFullId ContainerId [get]
 Gets the container's ID. More...
 
ContainerName? ContainerName [get]
 Gets the container's name, if it was included in the event details. More...
 
ContainerEventType EventType [get]
 Gets the type of event that this is. More...
 
ImageReference? ImageReference [get]
 Gets a reference to the container's image, if it was included in the event details. More...
 
- Properties inherited from DockerSdk.Events.Event
EventSubjectType SubjectType [get]
 
DateTimeOffset Timestamp [get]
 Gets the date and time at which the event occurred, in UTC, per the daemon's clock. More...
 
- Properties inherited from DockerSdk.Events.IEventLowLevel
EventSubjectType SubjectType [get]
 Gets a value indicating what type of thing the event is about. More...
 
string ActorId [get]
 Gets the full ID of the event's subject. More...
 
string Action [get]
 Gets a value indicating the type of event this is. More...
 
IReadOnlyDictionary< string, string > ActorDetails [get]
 Gets a dictionary of supplementary information provided by the daemon about the event's subject. The keys that appear here vary by subject type, event type, and the specifics of the subject. More...
 
DateTimeOffset Timestamp [get]
 Gets the date and time at which the event occurred, in UTC, per the daemon's clock. More...
 

Detailed Description

Indicates that Docker has finished restarting the container, as though by a docker container restart CLI command, and has transitioned from the ContainerStatus.Restarting state to the ContainerStatus.Running state. The container might previously been running, stopped, paused, or even in the ContainerStatus.Created state.

If you're only interested in state changes, and not which specific command caused them, it may be best to simply ignore this event type, since it's always preceded by ContainerStartedEvent anyway.


The documentation for this class was generated from the following file: