ContainerState Class

Definition

The container instance state.

public class ContainerState : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerInstance.Models.ContainerState>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerInstance.Models.ContainerState>
type ContainerState = class
    interface IJsonModel<ContainerState>
    interface IPersistableModel<ContainerState>
Public Class ContainerState
Implements IJsonModel(Of ContainerState), IPersistableModel(Of ContainerState)
Inheritance
ContainerState
Implements

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.

FinishOn

The date-time when the container instance state finished.

StartOn

The date-time when the container instance state started.

State

The state of the container instance.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerState>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerState>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerState>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerState>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerState>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to