Compartir a través de


Event Class

Definition

A container group or container instance event.

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

Constructors

Event()

Creates an new Event instance.

Properties

Count

The count of the event.

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.

Type

The event type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Event.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Event.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Event into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to