Share via


EventType Class

Definition

Event Type for a subject under a topic

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.EventTypeTypeConverter))]
public class EventType : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IEventType, Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.EventTypeTypeConverter))>]
type EventType = class
    interface IEventType
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class EventType
Implements IEventType, IValidates
Inheritance
EventType
Attributes
Implements

Constructors

EventType()

Creates an new EventType instance.

Properties

Description

Description of the event type.

DisplayName

Display name of the event type.

Id

Fully qualified identifier of the resource.

IsInDefaultSet

IsInDefaultSet flag of the event type.

Name

Name of the resource.

SchemaUrl

Url of the schema for this event type.

Type

Type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventType.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventType.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IEventType.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventType into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to