ContainerInstanceView Class

Definition

The instance view of the container instance. Only valid in response.

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

Properties

CurrentState

Current container instance state.

Events

The events of the container instance.

PreviousState

Previous container instance state.

RestartCount

The number of times that the container instance has been restarted.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerInstanceView>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerInstanceView>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerInstanceView>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerInstanceView>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerInstanceView>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to