InputSchemaMapping 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.
By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping is 'JsonInputSchemaMapping'.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.InputSchemaMappingTypeConverter))]
public class InputSchemaMapping : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IInputSchemaMapping
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.InputSchemaMappingTypeConverter))>]
type InputSchemaMapping = class
interface IInputSchemaMapping
interface IJsonSerializable
Public Class InputSchemaMapping
Implements IInputSchemaMapping
- Inheritance
-
InputSchemaMapping
- Attributes
- Implements
Constructors
InputSchemaMapping() |
Creates an new InputSchemaMapping instance. |
Properties
Type |
Type of the custom mapping |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of InputSchemaMapping. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of InputSchemaMapping. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IInputSchemaMapping. Note: the Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IInputSchemaMapping interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. |
FromJsonString(String) |
Creates a new instance of InputSchemaMapping, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of InputSchemaMapping into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |