Event Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A container group or container instance event.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.EventTypeConverter))]
public class Event : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IEvent
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.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) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IEvent. |
FromJsonString(String) |
Creates a new instance of Event, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |