ContainerState Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The container instance exit codes correspond
to those from the docker run
command.
- detailStatus
- String
The human-readable status of the container instance state.
Applies to
Azure SDK for .NET