Share via


ContainerState Constructors

Definition

Overloads

ContainerState()

Initializes a new instance of the ContainerState class.

ContainerState(String, Nullable<DateTime>, Nullable<Int32>, Nullable<DateTime>, String)

Initializes a new instance of the ContainerState class.

ContainerState()

Initializes a new instance of the ContainerState class.

public ContainerState ();
Public Sub New ()

Applies to

ContainerState(String, Nullable<DateTime>, Nullable<Int32>, Nullable<DateTime>, String)

Initializes a new instance of the ContainerState class.

public ContainerState (string state = default, DateTime? startTime = default, int? exitCode = default, DateTime? finishTime = default, string detailStatus = default);
new Microsoft.Azure.Management.ContainerInstance.Models.ContainerState : string * Nullable<DateTime> * Nullable<int> * Nullable<DateTime> * string -> Microsoft.Azure.Management.ContainerInstance.Models.ContainerState
Public Sub New (Optional state As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional exitCode As Nullable(Of Integer) = Nothing, Optional finishTime As Nullable(Of DateTime) = Nothing, Optional detailStatus As String = Nothing)

Parameters

state
String

The state of the container instance.

startTime
Nullable<DateTime>

The date-time when the container instance state started.

exitCode
Nullable<Int32>

The container instance exit codes correspond to those from the docker run command.

finishTime
Nullable<DateTime>

The date-time when the container instance state finished.

detailStatus
String

The human-readable status of the container instance state.

Applies to