Compartir a través de


ContainerState Class

Definition

The container instance state.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerStateTypeConverter))]
public class ContainerState : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerState
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerStateTypeConverter))>]
type ContainerState = class
    interface IContainerState
    interface IJsonSerializable
Public Class ContainerState
Implements IContainerState
Inheritance
ContainerState
Attributes
Implements

Constructors

ContainerState()

Creates an new ContainerState instance.

Properties

DetailStatus

The human-readable status of the container instance state.

ExitCode

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

FinishTime

The date-time when the container instance state finished.

StartTime

The date-time when the container instance state started.

State

The state of the container instance.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ContainerState.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContainerState.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerState.

FromJsonString(String)

Creates a new instance of ContainerState, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContainerState into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to