다음을 통해 공유


ContainerEvent Class

Definition

A container group or container instance event.

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

Properties

Count

The count of the event.

EventType

The event type.

FirstTimestamp

The date-time of the earliest logged event.

LastTimestamp

The date-time of the latest logged event.

Message

The event message.

Name

The event name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerEvent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerEvent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerEvent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerEvent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerEvent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to